Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Roman Kurakin
Max Laier wrote: On Sunday 24 August 2008 01:18:37 Roman Kurakin wrote: Luigi Rizzo wrote: On Sun, Aug 24, 2008 at 02:03:50AM +0400, Roman Kurakin wrote: ... unless the tools you have in mind already include ip_fw.h (in which case the change is harmless and I have no objection)

Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Max Laier
On Sunday 24 August 2008 01:18:37 Roman Kurakin wrote: > Luigi Rizzo wrote: > > On Sun, Aug 24, 2008 at 02:03:50AM +0400, Roman Kurakin wrote: > > ... > > > >>> unless the tools you have in mind already include ip_fw.h (in which > >>> case the change is harmless and I have no objection), i think it

Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Roman Kurakin
Luigi Rizzo wrote: On Sun, Aug 24, 2008 at 02:03:50AM +0400, Roman Kurakin wrote: ... unless the tools you have in mind already include ip_fw.h (in which case the change is harmless and I have no objection), i think it would be better to export the value in a sysctl and let the tools fetch it

Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Luigi Rizzo
On Sun, Aug 24, 2008 at 02:03:50AM +0400, Roman Kurakin wrote: ... > >unless the tools you have in mind already include ip_fw.h (in which case > >the change is harmless and I have no objection), i think it would be better > >to export the value in a sysctl and let the tools fetch it from there, > >

Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Roman Kurakin
Luigi Rizzo wrote: On Sun, Aug 24, 2008 at 01:14:45AM +0400, Roman Kurakin wrote: Hi, The IPFW_DEFAULT_RULE is also the max allowed rule number. This value should be definitely public, so here is the patch, if there is no objections I'll commit it within a couple of days. After that, I plan

Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Luigi Rizzo
On Sun, Aug 24, 2008 at 01:14:45AM +0400, Roman Kurakin wrote: > Hi, > > The IPFW_DEFAULT_RULE is also the max allowed rule number. > This value should be definitely public, so here is the patch, if there is > no objections I'll commit it within a couple of days. > After that, I plan to fix a coup

[Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]

2008-08-23 Thread Roman Kurakin
Hi, The IPFW_DEFAULT_RULE is also the max allowed rule number. This value should be definitely public, so here is the patch, if there is no objections I'll commit it within a couple of days. After that, I plan to fix a couple of tools that need to know this value. Best regards, rik Index: ip