kixelated / moq-rs

Rust library for Media over QUIC
Apache License 2.0
405 stars 60 forks source link

Add sslkeylogfile envvar for debugging #173

Closed 1majom closed 3 months ago

1majom commented 3 months ago

While trying to inspect the traffic more closely I have found out that with these two lines we can use the SSLKEYLOGFILE environment variable to later decrypt pcap files and see more of the QUIC and WebTransport traffic. It might not be useful.

About envvar from the quinn repo:

If the SSLKEYLOGFILE environment variable is set, the tests will emit UDP packets for inspection using external protocol analyzers like Wireshark, and NSS-compatible key logs for the client side of each connection will be written to the path specified in the variable.