Date: Fri, 19 Mar 1999 03:23:09 -0800 From: "Leonard C." <leonardc9@usa.net> To: questions@FreeBSD.ORG Subject: BPF not working? Message-ID: <4.1.19990319031531.009f0920@icarus.reshall.berkeley.edu>
next in thread | raw e-mail | index | archive | help
I'm trying to get trafshow and tcpdump working on my system, but I'm finding that all the traffic that I can view is data going to and from my box along with stuff to the broadcast address. Any ideas why this is happening? I've compiled BPF support into the kernel and the devices are there, and both trafshow and tcpdump both run fine, so I'm a bit puzzled as to why the thing isn't working. The funny thing is that I see a lot of packets showing up as input errors, which I think might have something to do with it. The machine runs NATd with ipfw in open mode, and has two ethernet cards. ed1 is the external network, and ed0 is the internal. Thanks in advance, Leonard ___________________________________ bash-2.02$ netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 <Link> 00.80.c8.0a.2f.c3 12886876 16639 12438084 2 11875 ed0 1500 10 sandbox 12886876 16639 12438084 2 11875 ed1 1500 <Link> 00.80.ad.73.eb.fe 1114866805 825543847 16066312 816 12 63938 ed1 1500 xx.xx.xx/24 icarus 1114866805 825543847 16066312 816 12 63938 ed1 1500 atalk:4183 4183.139 1114866805 825543847 16066312 816 12 63938 tun0* 1500 <Link> 0 0 0 0 0 sl0* 552 <Link> 0 0 0 0 0 ppp0* 1500 <Link> 0 0 0 0 0 lo0 16384 <Link> 87060 0 87060 0 0 lo0 16384 your-net localhost 87060 0 87060 0 0 lo0 16384 atalk:0 0.0 87060 0 87060 0 0 bash-2.02$ uname -a FreeBSD icarus.reshall.berkeley.edu 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Fri Sep 11 00:44:21 PDT 1998 root@foobar.com:/usr/src/sys/compi le/SMALLFASTBPFKERNEL i386 -- Support the Blue Ribbon Campaign for free speech online http://www.eff.org/blueribbon.html "Those who will not reason perish in the act. Those who will not act, perish for that reason." - W. H. Auden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990319031531.009f0920>