tea shark

Inspecting HTTP headers with tshark

Redirecting traffic from an nginx reverse proxy to a docker container I needed to add some forwarding information to the http headers. And so I figured I had better start wrapping my head around what http headers actually were, how they looked and how my nginx settings were impacting them. Enter tshark, the command line version of Wireshark.

Wire-/tshark are general purpose packet analyzers so the challenge here is to avoid casting a too wide net: I don’t want all the network traffic on my host, just the http headers and just those coming in and out of one particular virtual box.

(more…)