I need to get full description of the HTTP requests with TShark sniffer. I mean something like Wireshark's GUI where you can get:
- raw request data (zipped/unzipped);
- pretty printed extracted HTTP fields: (Host, Accepted-Encoding, Cookies, etc).
For now I'm able to dissect HTTP with:
tshark -i eth0 -f 'dst host xxx.xxx.xxx.xxx' -d tcp.port=80,http
it prints something like this:
139389.228821 x.x.x.x -> y.y.y.y HTTP GET /test.html HTTP/1.1
or I can print cookie (or all cookies?) for example with:
tshark -i eth0 -f 'dst host xxx.xxx.xxx.xxx' -T fields -e http.cookie
But I want complete HTTP request description with raw data. Is it possible?