ipfw versions - /usr/src/sbin
Andrey V. Elsukov
bu7cher at yandex.ru
Fri Oct 6 04:47:17 PDT 2006
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 at 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
More information about the freebsd-ipfw
mailing list