Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2006 13:57:22 +0300
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        freebsd-questions@freebsd.org, Matthias.Apitz@sisis.de
Subject:   Re: OT: tcp redictor with dump-(in|out)put-to-stdout capability
Message-ID:  <200604071357.22975.nvass@teledomenet.gr>
In-Reply-To: <20060407095332.GA6559@rebelion.Sisis.de>
References:  <200604071132.05193.nvass@teledomenet.gr> <200604071243.09611.nvass@teledomenet.gr> <20060407095332.GA6559@rebelion.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 April 2006 12:53, guru@sisis.de wrote:
> El día Friday, April 07, 2006 a las 12:43:09PM +0300, Nikos Vassiliadis 
escribió:
> > > There is one of the oldest firewall toolkits, the TIS' FWTK,
> > >
> > > http://www.fwtk.org/main.html
> > >
> > > it has some so called 'plug-gw', writte in C, which does exactly what
> > > you want, excepting TCP on one address:port and directing it
> > > transparently to some other address:port (like the woman in the old
> > > POTS did with the cable); you can (and I did it for testing purposes
> > > as well) easy expand it to collect the data to some file, for example.
> >
> > It doesn't build on >=5.x :(
>
> The fwtk2.1 stops building in 'auth' on 6.0-REL with:
>
> $ make
> 	...
> cc -g -o authsrv authsrv.o proto.o db.o pass.o srvio.o      ../libauth.a
> ../libfwall.a pass.o(.text+0x64): In function `passverify':
> /usr/home/guru/sysSrc/fwtk/fwtk/auth/pass.c:39: undefined reference to
> `crypt' pass.o(.text+0x129): In function `passset':
> /usr/home/guru/sysSrc/fwtk/fwtk/auth/pass.c:70: undefined reference to
> `crypt' *** Error code 1
>
> but you don't need the 'authsrv'; just go over to
>
> $ cd plug-gw
> $ make
> cc -I.. -g  -c plug-gw.c
> cc -g -o plug-gw plug-gw.o ../libfwall.a
> chmod 755 plug-gw
> $
>
> or fix the problem with 'crypt' :-)

I installed 15 ports or so and finally I have found net/balance.
It does the job nicely. I guess doing it in Perl (without knowing
Perl) would be much faster...

Thanks matthias

Nikos



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