dumping net traffic to log file

Steel City Phantom scphantm at yahoo.com
Tue Jul 25 17:47:24 UTC 2006


Great, im making good progress here.  it seems like tcpdump only 
captures the headers, is there a way to capture the entire packet, data 
and all?

thanks guys


Chuck Swiger wrote:
> 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.
>



More information about the freebsd-questions mailing list