Date: Tue, 25 Jul 2006 20:22:05 +0400 From: "Alexey Karguine" <alexey.karguine@gmail.com> To: "Steel City Phantom" <scphantm@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: dumping net traffic to log file Message-ID: <4b1f66630607250922g130cd343u930c774176b43c18@mail.gmail.com> In-Reply-To: <44C63BBE.90102@yahoo.com> References: <44C51D80.8060306@yahoo.com> <20060725011022.GD27489@jeeves.stilyagin.local> <44C63BBE.90102@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Do you have string `device bpf ` in youe kernel config? 2006/7/25, Steel City Phantom <scphantm@yahoo.com>: > > im trying the command > tcpdump -i em0 > traffic.log > and i get the response > tcpdump: (no devices found) /dev/bpf0: No such file or directory > im doing it as root. this is a dell poweredge 2850 and we are using > the standard gigabit network cards that came onboard. here are the > details on the nic > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=b<RXCSUM,TXCSUM,VLAN_MTU> > inet 192.168.245.246 netmask 0xffffff00 broadcast > 192.168.245.255 > ether 00:13:72:56:aa:ca > media: Ethernet autoselect (100baseTX <half-duplex>) > status: active > in my dev directory em0 is mapped to net1. when i try the same > command with net1, i get the same thing. > Darrin Chandler wrote: > > On Mon, Jul 24, 2006 at 03:20:32PM -0400, Steel City Phantom wrote: > > > i am troubleshooting an application and am having a hell of a time with > it. with bsd 6.1 is there a way where i can dump all traffic coming > over the nic to a log file so i can see exactly what is coming in? > > > tcpdump works nicely for this. :) > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Alexey Karguine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b1f66630607250922g130cd343u930c774176b43c18>