Showing posts with label tcpdump and snoop example. Show all posts
Showing posts with label tcpdump and snoop example. Show all posts

Tuesday, August 24, 2010

How to get tcp dump & snoop

Snoop to file
# snoop -xv -o snoopfilename port portNo


Read from file with Snoop
# snoop -xv -i snoopfilename port portNo

TcpDump
# tcpdump -i eth0 -s 0 -w snoopfilename port portNo