quiclog / pcap2qlog

A tool to convert .pcap and .pcapng files into qlog files
MIT License
26 stars 7 forks source link

Emit Stream frame length correctly #8

Open Matthias247 opened 3 years ago

Matthias247 commented 3 years ago

The property quic.stream.length that the tool uses doesn't seem to be emitted by wireshark for frames that carry no explicit length information (stream frame is at the end of the packet). In that case the generated qlog will not have a length field.

To fix this, we calculate the length based on the data in the frame (which is correctly emitted).

Fixes #7