Ethereal-dev: Re: [Ethereal-dev] Replay/Simulation Capability...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 10 Nov 2004 11:03:44 -0800
Martijn Schipper wrote:
Packetyzer (www.packetyzer.com) has made something.

...which probably relies on the pcap library having "pcap_sendpacket()".

Packetyzer runs only on Windows, so it can rely on that, as WinPcap has "pcap_sendpacket()".

On UN*X, you can't rely on that; only the current CVS version of libpcap has "pcap_sendpacket()" (tested on some platforms, written based on code that works, so that the resulting code *should* work, but that did have a now-fixed bug on at least one platform, on other platforms), so if somebody were to do something such as that for Ethereal (note that it's not on my TODO list; I already have too many things I want to do to allow it on my TODO list), they would have to make the configure script check for "pcap_sendpacket()" or OpenBSD's "pcap_inject()" (both of which the current CVS version of libpcap has) and use whichever one of those exists if it finds one and either leave the feature out or fall back on libnet if it doesn't find one (if it falls back on libnet, the feature should be omitted if libnet isn't found).