tcpdump filter not functioning correctly with igb on FreeBSD 11.1

David Athay davida at truespeed.com
Tue Feb 6 21:33:28 UTC 2018


Same issue with tcpdump from ports, looks like its at the same version.

$ which tcpdump
/usr/sbin/tcpdump

$ /usr/sbin/tcpdump --version
tcpdump version 4.9.2
libpcap version 1.8.1
OpenSSL 1.0.2n-freebsd  7 Dec 2017

$ /usr/local/sbin/tcpdump --version
tcpdump version 4.9.2
libpcap version 1.8.1
OpenSSL 1.0.2n-freebsd  7 Dec 2017

Ports version is using libpcap from ports too.

$ ldd /usr/sbin/tcpdump
/usr/sbin/tcpdump:
	libpcap.so.8 => /lib/libpcap.so.8 (0x800908000)
	libcasper.so.0 => /lib/libcasper.so.0 (0x800b65000)
	libcap_dns.so.0 => /lib/casper/libcap_dns.so.0 (0x800d6a000)
	libcrypto.so.8 => /lib/libcrypto.so.8 (0x801000000)
	libc.so.7 => /lib/libc.so.7 (0x80146e000)
	libnv.so.0 => /lib/libnv.so.0 (0x801827000)
$ ldd /usr/local/sbin/tcpdump
/usr/local/sbin/tcpdump:
	libcrypto.so.8 => /lib/libcrypto.so.8 (0x800a00000)
	libpcap.so.1 => /usr/local/lib/libpcap.so.1 (0x800e6e000)
	libc.so.7 => /lib/libc.so.7 (0x8010ba000)

—
David Athay
Senior DevOps Engineer
TrueSpeed Communications Ltd. 

> On 6 Feb 2018, at 21:10, Eugene Grosbein <eugen at grosbein.net> wrote:
> 
> 07.02.2018 4:03, David Athay пишет:
>> I was originally using 11.1-RELEASE but I have since updated to 11-STABLE. Weirdness still persists
>> 
>> $ tcpdump --version
>> tcpdump version 4.9.2
>> libpcap version 1.8.1
>> OpenSSL 1.0.2n-freebsd  7 Dec 2017
>> 
>> $ uname -aUK
>> FreeBSD s5.pkfm.banes 11.1-STABLE FreeBSD 11.1-STABLE #2 r328930: Tue Feb  6 16:05:59 GMT 2018     root at s5.pkfm.banes <mailto:root at s5.pkfm.banes>:/usr/obj/usr/src/sys/TRUESPEED  amd64 1101509 1101509
> 
> Do you have both of port/package version of libpcap and tcpdump installed?
> If yes, make sure you use /usr/sbin/tcpdump.
> 
> If not, could install net/tcpdump an re-do the test using /usr/local/sbin/tcpdump?
> 
> 
> 



More information about the freebsd-net mailing list