Monday, April 20, 2009

check tcp traffic between servers

Here's the troubleshooting command for tcpdump:

tcpdump -A -s 0 -l 'dst host hostname'

Another example:
tcpdump -nnvvXSs 1024 src and dst port 80 and greater 512

It'll capture 1024 bytes for the request with the size bigger than 512 bytes, and from a specific source server to the http port (80)

No comments: