Ed Ravin wrote:
On Fri, Jan 14, 2005 at 03:43:06PM -0500, Sorrell, Al wrote:
Unfortunately, I have the packet in hexdump (text) format... Series of
hex words such as might be output from tcpdump/etehreal (it's actually
being reported in a HP NNM error log as having bad data - as such it
gives the packet info in hex/ASCII, but not a translation)
If you have the entire packet in hex data, write a short program
to parse the hex, stuff it into a datagram, and send it back out on
a network interface, like a loopback or to a non-routable destination
IP. Sniff the interface with tcpdump/Ethereal, and now you can get it
parsed.
Ethereal ships with a text2pcap utility which was designed exactly for that:
"Generate a capture file from an ASCII hexdump of packets".
HTH,
Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users