Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate qlog files ? #2

Open
ninjahyper19 opened this issue Jan 30, 2021 · 1 comment
Open

How to generate qlog files ? #2

ninjahyper19 opened this issue Jan 30, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ninjahyper19
Copy link

In the 06_multipath_quic, client and server log files are generated. How do we generate qlog files for the same?
We tried to convert pcap to qlog but its not possible due to tls security key error.
Is there any other way to generate qlog files for the same?

@qdeconinck
Copy link
Owner

You need two things.

First you have to include in the plugins loaded two additional files: the generic plugins/qlog/qlog.plugin and the multipath-specific plugins/multipath/multipath_qlog.plugin. You can provide several plugins separated by a comma in a single description file, like

pquicPlugins:~/pquic/plugins/multipath/multipath_rtt_cond.plugin,~/pquic/plugins/qlog/qlog.plugin,~/pquic/plugins/multipath/multipath_qlog.plugin

Second, you need to slightly change the minitopo project on which this Vagrant box relies on. In particular, you need to provide the -q output_file.qlog flag to pquic. To do this, this is likely you need to change the pquic.py file of minitopo. Specifically, you need to define a new parameter in the PQUICParameter class with a default empty value, and then modify the get_pquic_client_cmd and get_pquic_server_cmd to include this flag in the command when the name (let's say useQlog) is set to a given name. Note that you will need to provide different output names for the client and the server, otherwise they would write to the same file and possibly corrupt it.

Please feel free to submit such a PR to the minitopo repository and I would take a look to include this.

@qdeconinck qdeconinck added enhancement New feature or request good first issue Good for newcomers labels Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants