Showing posts with label tcpdump. Show all posts
Showing posts with label tcpdump. Show all posts

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 10.94.242.73 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)