OT: tcp redictor with dump-(in|out)put-to-stdout capability

Karl Pielorz kpielorz at tdx.co.uk
Fri Apr 7 12:09:24 UTC 2006


>>
>> 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


More information about the freebsd-questions mailing list