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

Add functions to write TLS key-logs to PcapNG files #1151

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

9072997
Copy link

@9072997 9072997 commented Jan 4, 2024

This PR adds 2 functions to support writing additional block types in PcapNG files.

  • WriteTLSKeyLog, which allows embedding TLS secrets into a PcapNG file. This is especially handy if you have an application which is monitoring itself. It makes it possible to generate self-contained capture files which can be easily viewed in Wireshark.
  • WriteCustomBlock, which makes it easier for users of the library to add support for block types not supported by the library.

No support is added for reading additional block types.

@wolveix
Copy link

wolveix commented Apr 4, 2024

Hey @9072997, would you mind opening this PR on https://github.com/gopacket/gopacket? It's an actively maintained community fork :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants