From owner-freebsd-ipfw@FreeBSD.ORG Tue Jul 15 10:15:23 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08ACF37B401 for ; Tue, 15 Jul 2003 10:15:23 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7668243F93 for ; Tue, 15 Jul 2003 10:15:22 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h6FHFGkN088021; Tue, 15 Jul 2003 10:15:16 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h6FHFGQi088020; Tue, 15 Jul 2003 10:15:16 -0700 (PDT) (envelope-from rizzo) Date: Tue, 15 Jul 2003 10:15:16 -0700 From: Luigi Rizzo To: Diego Linke - GAMK Message-ID: <20030715101516.A87982@xorpc.icir.org> References: <3F132237.4010604@freebsdbrasil.com.br> <20030715004113.A99565@xorpc.icir.org> <20030715120646.03f26167.linke@calnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030715120646.03f26167.linke@calnet.com.br>; from linke@calnet.com.br on Tue, Jul 15, 2003 at 12:06:46PM -0300 cc: freebsd-ipfw@freebsd.org Subject: Re: I have four ideia for IPFW2 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 17:15:23 -0000 On Tue, Jul 15, 2003 at 12:06:46PM -0300, Diego Linke - GAMK wrote: > 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. you can use spare fields in ipfw_insn o; for that cheers luigi > 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 > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"