Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 22:48:22 +0100
From:      Alarig Le Lay <alarig@swordarmor.fr>
To:        freebsd-net@freebsd.org
Subject:   Re: tcpdump filter not functioning correctly with igb on FreeBSD 11.1
Message-ID:  <20180206214822.szvxjuassxzvs6sd@mew.swordarmor.fr>
In-Reply-To: <E149211C-9207-4162-950D-1BA788AA3A5F@truespeed.com>
References:  <95AA0EAB-B3D6-4E68-83B2-914894D6FB90@truespeed.com> <5A7A1657.4050706@grosbein.net> <E149211C-9207-4162-950D-1BA788AA3A5F@truespeed.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On mar.  6 févr. 21:03:12 2018, David Athay wrote:
> 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@s5.pkfm.banes:/usr/obj/usr/src/sys/TRUESPEED  amd64 1101509 1101509

On an older tcpdump version (from pkg), I have the expected behaviour
here.
root@budic:~ # tcpdump -c 4 -i igb2 host conan.grif        
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on igb2, link-type EN10MB (Ethernet), capture size 262144 bytes
22:45:06.889186 IP conan.grif.37865 > budic.grif.snmp:  GetBulk(29)  N=0 M=10 interfaces.ifTable.ifEntry.ifOutErrors
22:45:06.890378 IP budic.grif.snmp > conan.grif.37865:  GetResponse(185)  interfaces.ifTable.ifEntry.ifOutErrors.1=0 interfaces.ifTable.ifEntry.ifOutErrors.2=0 interfaces.ifTable.ifEntry.ifOutErrors.3=0 interfaces.ifTable.ifEntry.ifOutErrors.4=0 interfaces.ifTable.ifEntry.ifOutErrors.5=3 interfaces.ifTable.ifEntry.ifOutErrors.6=3 interfaces.ifTable.ifEntry.ifOutErrors.7=2 interfaces.ifTable.ifEntry.ifOutErrors.8=7 interfaces.ifTable.ifEntry.ifOutErrors.9=5 interfaces.ifTable.ifEntry.ifOutErrors.10=5
22:45:06.892503 IP conan.grif.37865 > budic.grif.snmp:  GetBulk(30)  N=0 M=10 interfaces.ifTable.ifEntry.ifOutErrors.10
22:45:06.893577 IP budic.grif.snmp > conan.grif.37865:  GetResponse(185)  interfaces.ifTable.ifEntry.ifOutErrors.11=3 interfaces.ifTable.ifEntry.ifOutErrors.12=2 interfaces.ifTable.ifEntry.ifOutErrors.13=2 interfaces.ifTable.ifEntry.ifOutErrors.14=3 interfaces.ifTable.ifEntry.ifOutErrors.15=1 interfaces.ifTable.ifEntry.ifOutErrors.16=0 interfaces.ifTable.ifEntry.ifOutQLen.1=0 interfaces.ifTable.ifEntry.ifOutQLen.2=0 interfaces.ifTable.ifEntry.ifOutQLen.3=0 interfaces.ifTable.ifEntry.ifOutQLen.4=0
4 packets captured                                         
5 packets received by filter                               
0 packets dropped by kernel                                
root@budic:~ # tcpdump -c 4 -i igb2 not host conan.grif    
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on igb2, link-type EN10MB (Ethernet), capture size 262144 bytes
22:45:15.139058 IP guerech.grif.5404 > 239.192.26.70.5405: UDP, length 136
22:45:15.442807 IP guerech.grif.5404 > 239.192.26.70.5405: UDP, length 136
22:45:15.506901 ARP, Request who-has 172.17.0.28 tell berthe.grif, length 46
22:45:15.746589 IP guerech.grif.5404 > 239.192.26.70.5405: UDP, length 136
4 packets captured                                         
16 packets received by filter
0 packets dropped by kernel       
root@budic:~ # tcpdump --version
tcpdump version 4.9.0
libpcap version 1.8.1
OpenSSL 1.0.2k-freebsd  26 Jan 2017
root@budic:~ # uname -aUK
FreeBSD budic.cogent-rns.grifon.fr 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 1101001 1101001

-- 
alarig

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE+2yGwT0H0n57WkRbrzhKwWsgK4gFAlp6IqAACgkQrzhKwWsg
K4g5Gwf/VuVS2T5LE/sZc9vR1DjO2fm4Y8rn2OtScq15aA3tF/B0Giww4//MjUR3
pg9xQUJys/wGFd0Klo+0yrBBAVmzplQ33FWx8csY+F7CPktZCGN8G74i+uZJ6VFT
GG2rLqWYTJtgcW5ZGybi86HGi2VMge13nwePYEJavLQbMNKgIN2AnihviSk7wpDk
Leziaj8E1PvqBVTBBwdGSxewxtV7MKFnoOjlL1OJZTi9rdr7SpUSfl/ibWHcJGtD
oWcKYRbdGNtk4Ba+ew+8q63smXX7BJ/Ybnv1yqt9NR7pgyEeVc85JCu2YRD5wbYF
DmvCF+zeiMjcPSRgNXrZU5kGEYkapg==
=y+Fo
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180206214822.szvxjuassxzvs6sd>