Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2001 11:26:20 -0600 (MDT)
From:      Nate Williams <nate@yogotech.com>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        current@FreeBSD.ORG
Subject:   Re: ipfw: several equal rules under same number bug
Message-ID:  <15084.20156.785173.734583@nomad.yogotech.com>
In-Reply-To: <20010429063345.A48717@nagual.pp.ru>
References:  <20010429063345.A48717@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> How it can be possible? ipfw -a l:
> 
> 07001       40        1680 deny tcp from any to any 7006
> 07001        0           0 deny tcp from any to any 7006
> 07001        0           0 deny tcp from any to any 7006
> 
> I use equal "ipfw add" several times from the script, but the rule number
> was the same all times. I expect that rule is replaced, not added with
> same number several times.
> 
> Who is our ipfw guru at this moment?

This is the way it's been since day one in ipfw.  A rule is not an
atomic entity, so you can have every rule in your entire list with the
same number if you so desire.



Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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