> The problem of converting the sniffer/spoofer to dump on stdout
> directly

...but I wasn't suggesting that you do that.

I was just suggesting that what it send over the TCP connection be a
byte stream in tcpdump format.

This would probably also require that a "pcap_dump_fdopen()" call be
added, to cause the pcap dumper code to write to a specified file
descriptor (i.e., the file descriptor for the socket to which you're
writing), unless you decided to write your own code to write in tcpdump
format (that's what we did for Ethereal, for example; it has a library
that reads and writes a number of different capture file formats,
including libpcap format).
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to