tcpdump

dsr at tao.merseine.nu dsr at tao.merseine.nu
Thu Sep 22 11:02:48 EDT 2005


On Thu, Sep 22, 2005 at 07:51:31AM -0700, Dave Peters wrote:
> I am looking for tcpdump syntax. I am plan to use to
> show all source ip address, destination ip address and
> port to use.
> I try few with no luck. 
> tcpdump net 192.168.1
> tcpdump -l | tee dat
> tcpdump -vv 'tcp[0] !=8 and tcp[0] !=0'

Did you read the man page?

# tcpdump -i eth0 -c 100

Needs to be run as root. Will print the next 100 packets
received by eth0.

-dsr-



More information about the Discuss mailing list