Simple method to capture HTTP input
Corey Edwards
tensai at zmonkey.org
Wed Jan 18 11:00:37 MST 2006
On Wed, 2006-01-18 at 10:55 -0700, Al Byers wrote:
> I would like to grab the raw http input stream content coming into my
> server from various requests. Is there an easy way to do this? I would
> like to avoid socket programming if I can. The server is running ubuntu
> (breezy). I am comfortable with java and perl. I am generating the
> requests, so I can direct them to any port.
I would use tcpdump.
# tcpdump -s 1500 -w port-80.dump -Unp port 80
I like to then wade through it using ethereal. Generally I don't use
ethereal for the capture since I'm often working on a remote server, but
can do live captures as well.
Corey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://plug.org/pipermail/plug/attachments/20060118/89cd096a/attachment.bin
More information about the PLUG
mailing list