Search code examples
httpnetwork-programmingtcpwiresharkethernet

Simple Http alternative for Wireshark


In web development, I usually use Firebug. But now I have to use Wireshark to monitor Http requests sent by an Android simulator. Wireshark is a fantastic tool, however it is too fat for what I'm doing, and quite painful to copy/paste the request.

So I'm looking for a simpler alternative on Linux Ubuntu.


Solution

  • Wireshark is mostly bloated due to the GUI front-end; however it has a text-version called tshark that uses substantially less memory... the syntax is very similar to tcpdump...

    To capture packets sent to and from a webserver on 192.168.12.14, use this...

    tshark -n -i eth0 tcp and host 192.168.12.14 and port 80