Last Updated: September 09, 2019
·
1.968K
· ninjascribble

Watch HTTP requests on any port with tcpflow

It's like magic!

$ sudo tcpflow -p -c -i eth0 port 8010

000.000.000.000.00000-000.000.000.000.08010: POST /v2/oauth/token HTTP/1.1
Host: 0.0.0.0:8010
Accept: */*
Content-Type: application/json
Connection: keep-alive
Cookie: SessionId=gdfcthlbmiugbappkmdfnagf84
Accept-Language: en-us
Content-Length: 385
Accept-Encoding: gzip, deflate
User-Agent: Foobar/1 Baz/0.0.0 Darwin/14.4.0