Date: Mon, 30 Nov 2015 17:09:28 +0100 (CET) From: elof2@sentor.se To: freebsd-net <freebsd-net@freebsd.org> Subject: Re: ngrep/ixgbe bpf bug Message-ID: <alpine.BSF.2.00.1511301707450.54839@farmermaggot.shire.sentor.se> In-Reply-To: <alpine.BSF.2.00.1511051551350.49057@farmermaggot.shire.sentor.se> References: <alpine.BSF.2.00.1511051551350.49057@farmermaggot.shire.sentor.se>
next in thread | previous in thread | raw e-mail | index | archive | help
No one has a theory? /Elof On Thu, 5 Nov 2015, elof2@sentor.se wrote: > > Hi all! > > Why don't ngrep work on ix interfaces? > > > It shows nice values if I sniff on other interfaces, e.g. igb0 and > bridge0: > > # ngrep -d igb0 "q" ip > I see some matching packets. Everything looks good. > > # netstat -B > Pid Netif Flags Recv Drop Match Sblen Hblen Command > 1800 igb0 p--s--- 135 0 129 380 0 ngrep > The BPF stats show Recv and Match values. Good. > > > # ngrep -d bridge0 "q" ip > I see some matching packets. Good. > > # netstat -B > Pid Netif Flags Recv Drop Match Sblen Hblen Command > 1901 bridge0 p--s--- 661897 0 659170 425606 0 ngrep > Again, the BPF stats show Recv and Match values. Good. > > > > However, if I sniff on an ix interface: > > # ngrep -d ix1 "q" ip > I get no matching packets! > > # netstat -B > Pid Netif Flags Recv Drop Match Sblen Hblen Command > 1816 ix1 p--s--- 45340 0 0 0 0 ngrep > ^^^ > ...and the BPF stats always show zero Matches. > > > Bug in the ixgbe driver or in ngrep? > > /Elof > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1511301707450.54839>