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

Nikos Vassiliadis nvass at teledomenet.gr
Fri Apr 7 12:01:26 UTC 2006


On Friday 07 April 2006 14:27, Igor Robul wrote:
> On Fri, Apr 07, 2006 at 11:32:04AM +0300, Nikos Vassiliadis wrote:
> > Hi,
> >
> > I am searching for program similar to net/redir. It's
> > a simple program that listens to a tcp port and redirects
> > all input to another address:port. I want to debug http
> > and I need something that does what redir does plus
> > dumping all input & output to my terminal. Is there some-
> > thing like that in ports? Or somewhere else?
>
> 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

> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list