Tcpdump

From My Notepad
Jump to: navigation, search

The following will print the entire packet in hex and ascii:

tcpdump -i [interface] -s 0 -X

A great alternative to tcpdump is ngrep.