• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tcpdump how to? (darwin newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >tcpdump how to? (darwin newbie) (From: Joe Kelly <email@hidden>)

  • Prev by Date: tcpdump how to? (darwin newbie)
  • Next by Date: Re: tcpdump how to? (darwin newbie)
  • Previous by thread: tcpdump how to? (darwin newbie)
  • Next by thread: Re: tcpdump how to? (darwin newbie)
  • Index(es):
    • Date
    • Thread