tcpdump mailing list archives
Using the decoders in other applications?
From: Aaron Turner <aturner () pobox com>
Date: Tue, 13 Jan 2004 11:29:18 -0800
Hey everyone, I'm sure many of you are somewhat familar with tcpreplay which I currently maintain (http://tcpreplay.sf.net for those of you not). Lately I've recieved a few requests to add support for decoding of packets to STDOUT as they are sent on the wire. Obviously, I have no wish to reinvent the wheel, and I immediately started looking at figuring out a way to optionally link, include, etc the tcpdump code. Turns out that this appears to be a lot more complicated then I had hoped. So I figured I'd email the list and try to find out: 1) If anyone has done something like this before and had some suggestions? 2) If any plans have been made to modularize/librarize the code so that the decoders could be used in other applications without declaring a bunch of global variables? 3) If someone has a better idea of how to accomplish the above goal. Thanks, Aaron -- Aaron Turner <aturner at pobox.com|synfin.net> http://synfin.net/ They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin All emails are PGP signed; a lack of a signature indicates a forgery.
Attachment:
_bin
Description:
Current thread:
- Using the decoders in other applications? Aaron Turner (Jan 13)
- Re: Using the decoders in other applications? Neil Spring (Jan 13)
- Re: Using the decoders in other applications? Michael Richardson (Jan 13)
- Re: Using the decoders in other applications? Christian Kreibich (Jan 14)