I have four ideia for IPFW2
Luigi Rizzo
rizzo at icir.org
Tue Jul 15 12:11:53 PDT 2003
On Tue, Jul 15, 2003 at 03:10:42PM -0300, Diego Linke - GAMK wrote:
> Hi,
>
> > you can use spare fields in ipfw_insn o; for that
>
> You dont want us to change ip_fw.h, or you only mean that ipfw_insn_log struct should not be modified?
>
> Maybe a new struct could be created, say, ipfw_insn_log_ext, or touching the .h would brake the POLA?
There is spare storage in ipfw_insn (the arg1 field) which can be
used by individual instructions to store flags and other data if
they fit. The 'extended' flag for log instructions would certainly fit there,
and would make the change completely backward compatible, which is
a big advantage from every point of view.
cheers
luigi
More information about the freebsd-ipfw
mailing list