tcpdump mailing list archives
Problems with 'any' device
From: "Lidwa, Eric (GSFC-582.0)[SGT]" <Eric.Lidwa-1 () nasa gov>
Date: Thu, 12 Feb 2009 12:19:56 -0600
This bug was introduced in the latest release of libpcap. I checked the version before 0.9.8 and the bug was not
present.
It seems that in pcap-linux.c in activate_new the wrong socket is being created. Before the socket is created I set
device variable to null if it is set to 'any' and that fixed the problem.
/* device should be set to NULL if 'any' */
if (strcmp(device, "any") == 0)
device = NULL;
I cannot submit the patch, could somebody please put the fix in.
Regards,
Eric
From: Lidwa, Eric (GSFC-582.0)[SGT]
Sent: Thu 2/12/2009 7:54 AM
To: tcpdump-workers () lists tcpdump org
Subject: Problems with 'any' device
I have downlowaded the tar.gz files for libpcap version 1.0.0 and tcpdump version 4.0.0
After building it I have noticed that '-i any' no longer works. I get the following error when running it:
./tcpdump -i any
tcpdump: any: No such device exists
(SIOCGIFHWADDR: No such device)
The version which is installed on my fedora8 box
tcpdump version 3.9.7
libpcap version 0.9.7
works just fine with '-i any'
Has this been removed for some reason? Is it broken or am I missing something?
Eric
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Problems with 'any' device Lidwa, Eric (GSFC-582.0)[SGT] (Feb 12)
- Re: Problems with 'any' device Guy Harris (Feb 14)
