Last Updated: February 25, 2016
·
16.59K
· ottbot

View HTTP request headers with tcpdump

This is useful to the headers of incoming HTTP requests to a particular path. You might need to adjust the grep parameters.

tcpdump -n -S -s 0 -A 'tcp dst port 80' | grep -B3 -A10 "GET /some-path"