Re: tcpdump how to? (darwin newbie)
Re: tcpdump how to? (darwin newbie)
- Subject: Re: tcpdump how to? (darwin newbie)
- From: Vincent Lubet <email@hidden>
- Date: Tue, 5 Mar 2002 18:37:03 -0800
Try:
tcpdump -n -i en0 -s 0 -x tcp
"-n" means to do convert address to domain nanes
"-i en0" tells to capture packets on the built-in ethernet (need to
select one, no default)
"-s 0" means to display the full packet
"-x" means to diplays the packet in hex
"tcp" means to capture only TCP
Vincent
On Tuesday, March 5, 2002, at 06:02 PM, Joe Kelly wrote:
I need to use tcpdump to look at packets sent from the gateway to my
machine. The man page is rather long -- I just want to see tcp
packets, --
any packets -- that are getting sent on my network (consisting of a
gateway
and my Mac).
Simply typing in 'tcpdump -e' responds with 'no suitable device found',
running as root (or sudo) doesn't change it. There's something about
needing
BSD protocol filter (/dev/bpf*) files in the man, but these are all
empty
files (0-3).
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.