Wireshark: Editing A Packet

In this video, Tony Fortunato shows how a new feature in the Wireshark network analysis tool allows you to sanitize the information in a trace file before sharing it.

Tony Fortunato

October 27, 2015

1 Min Read
NetworkComputing logo in a gray background | NetworkComputing

There are many situations where you wish you could share a trace file with a vendor, but you can’t because the packets may contain sensitive data such as corporate identifying information, IP addresses, and passwords.

But now, Wireshark, the open source network analysis tool, has an experimental feature under Edit->Preferences called Enable Packet Editor which does exactly what is says. You can edit anything in the packet at any layer. In this video, I change a CDP device ID and CDP’s checksum.

This editing technique doesn’t scale well or isn’t practical if you need to modify 1,000 packets, but I still find it helpful and hope the Wireshark development team continues to build on this cool feature. I am surprised that Wireshark doesn’t have a more comprehensive packet edit tool, but happy it's making headway.

As I mention in the video, there are some tools out there that will change the MAC address or IP address in all your packets like TraceWrangler, which I have used for a while.

Please keep in mind that you should only share real corporate packets that you are familiar with and with vendors you trust.  In my network troubleshooting work, I’ve received many trace files that contained more information than the customer was aware of and wouldn't be too happy about them being shared.

About the Author

Tony Fortunato

Sr Network Performance Specialist

Tony Fortunato is a network performance expert who has been designing, implementing and troubleshooting networks since 1989. His company, The Technology Firm, provides clients of all sizes with services ranging from project management, network design, consulting, troubleshooting, designing custom-designed training courses, and assisting with equipment installation. Tony's experience in networking started with financial trading floor networks and ISPs, where he learned to integrate and support equipment from various vendors. Tony has taught and presented at numerous colleges and universities, public forums and private classes. He blogs frequently at NetworkDataPediaand has a popular YouTube channel.

SUBSCRIBE TO OUR NEWSLETTER
Stay informed! Sign up to get expert advice and insight delivered direct to your inbox

You May Also Like


More Insights