quiclog / qvis

QUIC and HTTP/3 visualization tools
https://qvis.edm.uhasselt.be
MIT License
176 stars 23 forks source link

Download fixed/changed qlogs #3

Open rmarx opened 4 years ago

rmarx commented 4 years ago

qvis often fixes/changes qlogs (e.g., remove duplicates, order timestamps, etc.).

It would be nice to allow people to download the "fixed" qlog afterwards. Similarly, downloading qlogs with the tool parameters embedded is also needed if we want people to share the same viewpoints on files.

Maybe show a list of "currently loaded files" in the filemanager with a download button next to them?

cc @LPardue

LPardue commented 3 years ago

A variant of this is to support exporting a qlog subset. For example, wireshark allows filtering of a pcap and then export of only visible or exported packets. This can aid distributed troubleshooting or analysis because it helps cut out noise.

rmarx commented 3 years ago

I've added a first POC of this in the latest commits. On the bottom of the filemanager, you can now download a (mostly) draft-02 formatted qlog that is internally generated from whatever you uploaded. Intent is to have easy examples of "correct" draft-02 qlogs and to prevent people from having to go through the pcap/netlog conversions for large files they frequently re-use.

This now also contains some "custom" fields injected by the code though, which isn't super-clean. It also doesn't support exporting a subset or tooling parameters etc. but early feedback is welcome.