Ethereal-dev: Re: [ethereal-dev] Ethereal Win32 libpcap patch.

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 9 Feb 2000 13:29:56 -0600
On Tue, Feb 01, 2000 at 01:54:44PM -0600, Meaney, Ed wrote:
> 
> 
> All,
> I've finally had some time to clean up the win32 libpcap support.
> I use the WinDump libpcap from http://netgroup-serv.polito.it/windump/ 
> under
> NT 4.0 SP4.
> There may be a problem in get_interface_list in util.c for Win98/95. NT
> returns Driver names in WCHARs.
> 98/95 should return the names in standard char * format but I don't have
> access to 95/98 right now.
> Attached is my patch. let me know if there are any problems.


Thanks. I've finally commited the changes to our CVS tree. Thanks for
the Makefile.nmake changes, too. I didn't realize I could get nmake
to recurse into a subdirectory.

That said, Ethereal-win32 with pcap won't work for me. I've installed
the packet capture driver and WinDump works fine for me. However,
when I try to start a capture with Ethereal-win32, I get:

Can't use filter: Couldn't obtain netmask info (Unknown host name).

Now, this *might* be because I'm running this on an NT machine using
DHCP (and it's running inside a VMware session on my Linux box). *But*,
windump works just fine.

So, I went ahead a committed the changes so that other developers can
help, and I uploaded my binaries to:

http://ethereal.zing.org/distribution/win32/ethereal-20000209.zip

It contains the capturing version of Ethereal, but lets the user
download his/her own pcap NDIS driver from the WinDump site.

--gilbert