Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 17:09:18 +0530
From:      Hardeep Parmar <hardeep.parmar@tatainfotech.com>
To:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>, "'Leonard C.'" <leonardc9@usa.net>
Subject:   RE: BPF not working?
Message-ID:  <01BE722B.39BFBDA0@sybco046>

next in thread | raw e-mail | index | archive | help
Pls check wether the command tcpdump shows card in promiscious mode.
If it does show itself,then check if you are hooked on to switched =
network.Switch allows only the packet destined for your box to reach you =
along with broadcast packets. I am reasonnably convinced that it is =
'The' problem with your box. Let me know if it is the same problem.
Bye

----------
From: 	Leonard C.
Sent: 	Friday, March 19, 1999 4:53 PM
To: 	questions@FreeBSD.ORG
Subject: 	BPF not working?

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

--=20
Support the Blue Ribbon Campaign for free speech online
http://www.eff.org/blueribbon.html
"Those who will not reason perish in the act.=20
Those who will not act, perish for that reason." - W. H. Auden=20


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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?01BE722B.39BFBDA0>