Date: Fri, 25 Feb 2000 18:56:46 +0100 (CET) From: Luigi Rizzo <luigi@info.iet.unipi.it> To: jsegovia@cnc.una.py Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: keep-state and fwd Message-ID: <200002251756.SAA13170@info.iet.unipi.it> In-Reply-To: <200002251834.OAA26064@alpha.cnc.una.py> from "jsegovia@cnc.una.py" at "Feb 25, 2000 02:35:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I'd like to know if anyone is using ipfw with keep-state > and fwd (forwarding). I'm having trouble getting it > to work. will look at it. can you compile a kernel with "options DDB" and show a trace when it fails ? cheers luigi > For example, if I have the following: > > ipfw add 10 check-state > ipfw add 20 deny tcp from any to any established > ipfw add 30 fwd 127.0.0.1,2525 tcp from _my_net_ to any 25 setup \ > keep-state > ipfw add 40 allow tcp from _my_net_ to any setup keep-state > ipfw add 50 deny tcp from any to any > > And then > $ telnet 127.0.0.1 25 > > I get an instant panic (double fault) > > If I telnet to another machine > $ telnet some_other_machine 25 > > the connection is never established but an error is also > never returned. > > If keep-state is not used (that is, fwd without keep-state) > everything works fine but unfortunately I need ipfw to be > stateful. > > I'm using -current and cvsup'd yesterday. > > Any help greatly appreciated. > > Juan > -- > Centro Nacional de Computacion > Universidad Nacional de Asuncion > Tel. +595 (21) 585 550 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002251756.SAA13170>