Skip to content

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