Hi to all.
----- Original Message -----
From: "Jens Hektor" <hektor@xxxxxxxxxxxxxxxxx>
To: "Loris Degioanni" <loris@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: "Guy Harris" <guy@xxxxxxxxxx>; <ethereal-users@xxxxxxxxxxxx>;
<winpcap@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, February 13, 2002 1:33 PM
Subject: [WinPcap] Re: [Ethereal-users] Re: ethereal on Win XP
> Hi Loris,
>
> Loris Degioanni wrote:
> > Note that not only Ethereal, but also windump and all the applications
that
> > rely on winpcap actually try to open every available device when
performing
> > a pcap_lookupdev(). This function uses the PacketGetAdapterNames()
function
> > of packet.dll, which tries to open every adapter it detects to get the
> > description of the device. In practice, only valid and openable adapters
are
> > returned by pcap_lookupdev() under Win32.
>
> thanks for the details. Still the question remains: why does windump
> has no problem or why does ethereal has this problem.
>
> Guy Harris has capitulated.
>
> Could it be a "locale" problem (German XP Version) with ethereal ?
> Note to say, that "tethereal -D" gives an empty list.
> Is there any debugging option or version availabe.
> Unfortunenately I cannot compile on this machine ...
I had a look at the sources of Ethereal 0.9.0.
I think the bug is somewhere in file pcap_util.c
#LINE 436
GList *get_interface_list(....)
It is advisable to substitute part of this code with the one provided with
windump, in particular that one present in windump/win32/src/w32-fzs.c.
If I have time, this evening I will try to create a patch.
Gianluca Varenni
> Bet regards, Jens Hektor
>
> --
> Jens Hektor, RWTH Aachen, Rechenzentrum, Seffenter Weg 23, 52074 Aachen
> Computing Center Technical University Aachen, network operation & security
> mailto:hektor@xxxxxxxxxxxxxxxxx, Tel.: +49 241 80 29206, Raum: 2.35
>