Live dump of HTTP request/response headers

Run on the machine in question:

live HTTP response headers
tcpdump -v -n -S -s 0 -A 'tcp src port 80'

live HTTP request headers
tcpdump -v -n -S -s 0 -A 'tcp dst port 80'

In case of nginx being the proxy use ‘lo’ interface:
tcpdump -v -n -S -s 0 -A 'tcp src port 80' -i lo

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CAPTCHA image
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">