> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# HOW TO : Capture HTTP Headers using tcpdump
- URL: https://kudithipudi.org/how-to-capture-http-headers-using-tcpdump/
- Published: 2011-02-07T16:09:03.000Z
- Updated: 2011-02-07T16:09:03.000Z
- Description: Quick how to on capturing HTTP headers using tcpdump on a web server (running Linux). On the web server, issue the following command [bash] tcpdump -s...
- Author: admin
- Tags: HOWTO, Linux, Networking, Technology, Uncategorized, Web, #wp, #wp-post, #Import 2026-08-23 02:32

Quick how to on capturing [HTTP headers](http://en.wikipedia.org/wiki/List%5Fof%5FHTTP%5Fheader%5Ffields?ref=kudithipudi.org) using [tcpdump](http://www.tcpdump.org/?ref=kudithipudi.org) on a web server (running Linux).

- On the web server, issue the following command

\[bash\] tcpdump -s 1024 -C 1024000 -w /tmp/httpcapture dst port 80 \[/bash\]

- Stop the capture by issuing the break command (ctrl + c)
- Open the capture file (httpcapture in this example) in [wireshark](http://www.wireshark.org/?ref=kudithipudi.org) and check out the headers under the the HTTP protocol