Date: Tue, 15 Jul 2003 12:06:46 -0300 From: Diego Linke - GAMK <linke@calnet.com.br> To: freebsd-ipfw@freebsd.org Subject: Re: I have four ideia for IPFW2 Message-ID: <20030715120646.03f26167.linke@calnet.com.br> In-Reply-To: <20030715004113.A99565@xorpc.icir.org> References: <3F132237.4010604@freebsdbrasil.com.br> <20030715004113.A99565@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > There is already room in the O_LOG command header so we do not need > to modify ip_fw[2].h to add a field in the structure (helps with > binary compatibility). In fact, this would allow different levels of > verbosity in the logs. I am sorry Luigi, but i not understand! We have that to modify struct ipfw_insn_log, to pass one flag saying that one determined rule has log extended. We add an variable for indentify extended logs per rule. See: typedef struct _ipfw_insn_log { ipfw_insn o; u_int32_t max_log; /* how many do we log -- 0 = all */ u_int32_t log_left; /* how many left to log */ u_int32_t extended; /* Extended logs */ } ipfw_insn_log; I do not understand how make this without modify ip_fw.h file. Do you have some idea ? Thanks -- [ Diego Linke - GAMK ] System/Network/Security Administrator E-Mail/Site: gamk@gamk.com.br - http://www.gamk.com.br Public Key: http://www.gamk.com.br/gamk.asc Phone Number: (+5541) 9967-3464
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030715120646.03f26167.linke>