Date: Fri, 06 Oct 2006 15:46:59 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Alvin Oga <aoga@mail.Linux-Consulting.com> Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw versions - /usr/src/sbin Message-ID: <45264233.3050406@yandex.ru> In-Reply-To: <200610060938.k969cCiO020772@Maggie.Linux-Consulting.com> References: <200610060938.k969cCiO020772@Maggie.Linux-Consulting.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alvin Oga wrote: > i'm curious why i do not have /usr/src/sbin You can install another sources from the official cd. >> And why you want to use another version of ipfw? > > i need to change the lines: > # > # line 3484 in ipfw2.c v1.99 > # > if ( p.fs.qsize > 100 ) > errx ( EX_DATAERR, "2 <= queue size <= 100 ) > > the 100 need to be changed to 10,000 to allow for a bigger queue > according to the customer that wants to use ipfw + dummynet for > testing gigE thruput I think this is not good idea. This limit will be checked later in kernel, and if you'll set qsize value greater that 100 - kernel will correct this to 50. (if i correctly understood a kernel sources..) > /usr/src/sbin/ipfw/ipfw2.c: > $FreeBSD: /repoman/r/ncvs/src/sbin/ipfw/ipfw2.c,v 1.99 2006/09/29 08:00:40 maxim Exp $ This is HEAD branch, you should use RELENG_6_1 for your system. > cd /usr/src/sbin > setenv CVSROOT freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs > setenv CVS_RSH ssh To get a RELENG_6_1 sources try this command: cvs co -r RELENG_6_1 src/sbin/ipfw -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45264233.3050406>