[Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant
non private]
Luigi Rizzo
rizzo at iet.unipi.it
Sat Aug 23 21:42:17 UTC 2008
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 couple of tools that need to know this value.
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,
so they do not need to include the header.
cheers
luigi
More information about the freebsd-net
mailing list