Catch all HTTP GET / POST requests on a Linux server…

GETs

ngrep -q '^GET .* HTTP/1.[01]'

POSTs

ngrep -q '^POST .* HTTP/1.[01]'

 

Other solutions

ngrep -d eth0 -W byline port 80

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.