Hexdump traffic over interface I to and from TCP server on port P of host H
tcpdump -p -i I -lttttX 'tcp and ((dst port P and dst host H) or (src port P and src host H))'
in which
Iis interface namePis port numberHis host name or address
Hexdump traffic over interface I to and from TCP server on port P of host H
tcpdump -p -i I -lttttX 'tcp and ((dst port P and dst host H) or (src port P and src host H))'
in which
I is interface nameP is port numberH is host name or address