Re: ipfw: several equal rules under same number bug

2001-04-30 Thread Lyndon Nerenberg
> "Andrey" == Andrey A Chernov <[EMAIL PROTECTED]> writes: Andrey> I think it is very contr-intuitive way, better action will Andrey> be "replace" if number is the same. Nonsense. This is what 'add' and 'delete' are for. Andrey> For example "ipfw delete" takes number as an argum

Re: ipfw: several equal rules under same number bug

2001-04-29 Thread Nate Williams
> How it can be possible? ipfw -a l: > > 07001 401680 deny tcp from any to any 7006 > 070010 0 deny tcp from any to any 7006 > 070010 0 deny tcp from any to any 7006 > > I use equal "ipfw add" several times from the script, but the rule number >

Re: ipfw: several equal rules under same number bug

2001-04-28 Thread David Wolfskill
>Date: Sun, 29 Apr 2001 08:42:20 +0400 >From: "Andrey A. Chernov" <[EMAIL PROTECTED]> >On Sat, Apr 28, 2001 at 21:22:59 -0700, David Wolfskill wrote: >> I have at least one application where I generate ipfw rules in a script, >> for a set of subnets which I read from a file at execution time. I

Re: ipfw: several equal rules under same number bug

2001-04-28 Thread Andrey A. Chernov
On Sat, Apr 28, 2001 at 21:22:59 -0700, David Wolfskill wrote: > I have at least one application where I generate ipfw rules in a script, > for a set of subnets which I read from a file at execution time. I am > able to use the numbers to group the firewall rules , so that for any > given subnet,

Re: ipfw: several equal rules under same number bug

2001-04-28 Thread David Wolfskill
>Date: Sun, 29 Apr 2001 08:11:32 +0400 >From: "Andrey A. Chernov" <[EMAIL PROTECTED]> >I think it is very contr-intuitive way, better action will be "replace" if >number is the same. We have _enough_ numbers to not compact rules in such >bad manner. >For example "ipfw delete" takes number as an

Re: ipfw: several equal rules under same number bug

2001-04-28 Thread Andrey A. Chernov
On Sat, Apr 28, 2001 at 20:21:36 -0700, Rich Wales wrote: > Andrey A. Chernov wrote: > > > 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. > > No. Ther

Re: ipfw: several equal rules under same number bug

2001-04-28 Thread Rich Wales
Andrey A. Chernov wrote: > 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. No. There can be multiple rules with the same number. If you run multiple "ipfw

ipfw: several equal rules under same number bug

2001-04-28 Thread Andrey A. Chernov
How it can be possible? ipfw -a l: 07001 401680 deny tcp from any to any 7006 070010 0 deny tcp from any to any 7006 070010 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