For debugging purposes I want to monitor the http requests on a network interface.
Using a naive tcpdump
command line I get too much low-level information and the information I need is not very clearly represented.
Dumping the traffic via tcpdump
to a file and then using wireshark
has the disadvantage that it is not on-the-fly.
I imagine a tool usage like this:
$ monitorhttp -ieth0 --only-get --just-urls
2011-01-23 20:00:01 GET http://foo.example.org/blah.js
2011-01-23 20:03:01 GET http://foo.example.org/bar.html
...
I am using Linux.