tcpdump - Show only http headers

Only the headers
tcpdump -A -l -s 0 'tcp port 8088 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep ': '
If you want the request listed as well:
tcpdump -A -l -s 0 'tcp port 8088 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | egrep '(GET|: )'

Popular posts from this blog

Ansible - Task executed multiple times due to a Broken Pipe

Vyatta -- SIP Connection Tracking for VOIP

mysql -- Error reading master configuration