Skip to content
New issue

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

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

Already on GitHub? # to your account

Add SSLKEYLOGFILE support #25

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Add SSLKEYLOGFILE support #25

merged 1 commit into from
Mar 4, 2024

Conversation

g2p
Copy link
Contributor

@g2p g2p commented Mar 4, 2024

This is useful to debug the exact message contents (rather than the bits rust-cast knows to deserialize) with Wireshark.

Usage:

  • Run Wireshark with a capture filter like 'host ip-of-chromecast'
  • Run a program using rust-cast with SSLKEYLOGFILE=$HOME/tls.keylog in the environment
  • Instruct the Wireshark TLS dissector to find tls.keylog
  • Use Wireshark Decode-As to dissect TCP port 8009 as TLS, TLS port 8009 as data, follow the data stream and show it as ASCII.

Copy link
Owner

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@azasypkin azasypkin merged commit 8d57d22 into azasypkin:main Mar 4, 2024
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants