Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2006 13:10:37 +0100
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
Message-ID:  <62E5CE298B1A036558020135@unsupported>
In-Reply-To: <200604071500.27465.nvass@teledomenet.gr>
References:  <200604071132.05193.nvass@teledomenet.gr> <20060407112710.GF11253@sysadm.stc> <200604071500.27465.nvass@teledomenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

>>
>> Why dont you wish use tcpdump?
>
> Cause I want to debug http, which is ASCII. Having every
> tcp segment in hex and/or ASCII won't help much.
> 'GET / HTTP/1.1' is much easier to read than the hexdump.
> 0x4174206c6561737420666f72206d653a29
>

Have you tried tcpflow? That can either dump the actual flows to files - or 
you can dump them to the console...

If you're sending it to the console, and it might be gifs / other binary, 
piping it through 'strings' is usually a good idea :)

-Kp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62E5CE298B1A036558020135>