Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 10:08:54 -0400
From:      Dan Pelleg <daniel+bsd@pelleg.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        ipfw@freebsd.org
Subject:   Re: ipfw2 patches for -stable available
Message-ID:  <15660.16374.50102.170751@gs166.sp.cs.cmu.edu>
In-Reply-To: <20020710062146.A93900@iguana.icir.org>
References:  <20020709023203.A83270@iguana.icir.org> <u2sy9ckpbo1.fsf@gs166.sp.cs.cmu.edu> <20020709221347.A91104@iguana.icir.org> <15660.2959.142937.827544@gargle.gargle.HOWL> <20020710062146.A93900@iguana.icir.org>

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

Luigi Rizzo writes:
 > On Wed, Jul 10, 2002 at 06:25:19AM -0400, Dan Pelleg wrote:
 > ...
 > > That's easy:
 > > 
 > > sh /etc/rc.firewall closed
 > > 
 > > ipfw add 500 pass tcp from me to any keep-state limit src-addr dst-port 40
 > 
 > ah, that is a bug in your ruleset:
 > "keep-state" and "limit" are incompatible, if you use one you should
 > not use the latter. For the old code the overloading of several fields
 > in the rule descriper masked the bug.
 > 

 Huh. I always thought of limit as "a keep-state rule with some additional
restrictions".

 > I will add some checks in /sbin/ipfw to flag this incorrect usage.
 > 
 > In the meantime could you check if removing "keep-state" from
 > the limit rules still causes the problem ?
 > 

Removing keep-state seems to solve the problem. Thanks!

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