Skip to content

varunlakkur/mbuf2pcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

mbuf2pcap

A simple native GDB script to dump an mbuf chain into hex dump. The hex dump can be directly imported into Wireshark to see the packet. Particularly useful to developers who deal with network packets in their code.

Dependencies

Installation

This is a standalone script. Just source this script into your ~/.gdbinit

source <path-to-the-script>

See the packet on Wireshark

  • Copy the output into a file.
  • Import the file in Wireshark with File>Import from Hex Dump...

About

GDB script to dump mbuf into a hex dump for easy import into Wireshark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages