tcpdump mailing list archives
pcap_findalldevs() failing on FreeBSD 7.2
From: Aaron Turner <synfinatic () gmail com>
Date: Thu, 24 Sep 2009 22:18:04 -0700
I've got a user of tcpreplay having issues where his interfaces are
not being returned via pcap_findalldevs() under FreeBSD 7.2 using
libpcap 0.9.7. I don't have much more information unfortunately, but
I do know he has an "nVIDIA nForce 10/100/1000 Ethernet" NIC as well
as the obvious loopback.
I've confirmed he is running as root and the interface is up:
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:1e:8c:b1:de:91
inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
status: active
Actually, none of his interfaces are being returned (nfe0, nfe1 and
lo0). I looked in the change log and don't see any mention of any
improvements/fixes in pcap_finalldevs() since 0.9.7 so I figured I'd
mention it.
User has since switched to Linux which works fine, so more of a FYI
then anything.
--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- pcap_findalldevs() failing on FreeBSD 7.2 Aaron Turner (Sep 24)
