From owner-freebsd-ipfw Thu Oct 26 23:49:29 2000 Delivered-To: freebsd-ipfw@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 1867B37B479 for ; Thu, 26 Oct 2000 23:49:28 -0700 (PDT) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id B36DF1C41; Fri, 27 Oct 2000 02:49:27 -0400 (EDT) Date: Fri, 27 Oct 2000 02:49:27 -0400 From: Bill Fumerola To: Greg Skafte Cc: freebsd-ipfw@freebsd.org Subject: Re: could this be a sysctl? Message-ID: <20001027024927.I37870@jade.chc-chimes.com> References: <39F8CA7B.F409457@worldgate.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <39F8CA7B.F409457@worldgate.ca>; from skafte@worldgate.ca on Thu, Oct 26, 2000 at 06:21:15PM -0600 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 26, 2000 at 06:21:15PM -0600, Greg Skafte wrote: > I was contemplating could the rule autoincrement number be changed to > a sysctl? ..... instead of using shell script math, or having to edit > ip_fw.c to change the default from 100 to somethingelse. > > in my firewall scripts it would be nice to just do a > > sysctl -w net.inet.ip.fw.countincrement = number > > to change the increment value from the 100 default .... There already is a PR (assigned to me) that does this. It works and all I need to do is give it a onceover and commit it. -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message