Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 23:44:52 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Roman Kurakin <rik@inse.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [Fwd: IPFW PATCH: make the IPFW_DEFUALT_RULE number constant non private]
Message-ID:  <20080823214452.GA75815@onelab2.iet.unipi.it>
In-Reply-To: <48B07DC5.2030203@localhost.inse.ru>
References:  <48B07DC5.2030203@localhost.inse.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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