dumping net traffic to log file

Chuck Swiger cswiger at mac.com
Tue Jul 25 16:19:31 UTC 2006


Steel City Phantom wrote:
[ ...top posting is confusing... ]
>    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

You'll need to recompile your kernel with "device bpf", although it is 
normally enabled in the GENERIC kernel by default.

-- 
-Chuck


More information about the freebsd-questions mailing list