Friday, September 12, 2014

TCPDump Primer

I can never remember all the options for tcpdump, the always impressive blog from Daniel Miessler has this excellent primer.


For example, -s is the "snaplength" which determines the number of bytes per packet to capture. By default tcpdump only gets like 96 bytes. Using -s0 will cause it to capture all packets and -X will output hex and ASCII.

# tcpdump -s0 -X

No comments:

Post a Comment