Tuesday, March 9, 2010

tcpdump example

Between uses, I generally forget how to do this.

tcpdump -i vr0 udp port 500 and host foo.example.com

-i to select the network interface
udp port 500 is kinda self-explanatory
host foo.example.com - just traffic where foo.example.com is dst or src

No comments:

Post a Comment