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

No comments:

Post a Comment