Monthly Archives: March 2014

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 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Making an SSH tunnel to a third machine behind the middle one

ssh -L 8080:host3:80 -N user@host2 Then you can use localhost:8080 to open host2:80

Posted in Uncategorized | Tagged | Leave a comment