hi andrey

- solved ...

Forwarded message:
> 
> > Andrey V. Elsukov wrote:
> 
...

> > > Which FreeBSD version you use?
> 
> > i'm using a generic freebsd-6.1 ( from its official cd )
> > 
> > i have done portupgrades -arR but nothing more to the system
> > 
> > i have modified the default GENERIC kernel to DUMMYNET.nn 
> > that includes IPFIREWALL
> > 
 
...

> > > 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
 
yes ... hopefully, we'll be changing the related/affected values

> > Please, provide output of these commands:
> > # uname -a
> 
> FreeBSD FreeBSD2.BSD-Consulting.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu 
> Oct  5 00:43:06 PDT 2006     [EMAIL 
> PROTECTED]:/usr/src/sys/i386/compile/DUMMYNET.nn  i386
> 
> > # sysctl kern | grep osrel
> 
> ysctl kern | grep osrel
> kern.osrelease: 6.1-RELEASE
> kern.osreldate: 601000
> 
> > # grep ^REV /usr/src/sys/conf/newvers.sh
> 
> REVISION="6.1"
> 
> > # ident /usr/src/sbin/ipfw/ipfw2.c
> 
>       #
>       # remember that i did a cvs checkout for this version
>       # in /usr/src/sbin where i created /usr/src/sbin that didn't exist
>       #
> /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 $
> 
> > # ident /usr/src/sys/netinet/ip_fw.h
>  
> /usr/src/sys/netinet/ip_fw.h:
>      $FreeBSD: src/sys/netinet/ip_fw.h,v 1.100.2.3 2006/02/17 16:46:47 ru Exp 
> $
 
....

> #
> # my cvs checkout of ipfw
> #
> cd /usr/src/sbin
> setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs 
> setenv CVS_RSH ssh
> cvs co ipfw

per your online reply, that i didnt see, looks like the proper cvs command is:

        cvs co -r RELENG_6_1 ipfw

now it compiles under freebsd-6.1
and i've made the changes to p.fs.qsize

> #       cvs checkout: Updating ipfw
> #       U ipfw/Makefile
> #       U ipfw/ipfw.8
> #       U ipfw/ipfw2.c
> #
> # End of stuff
> 
thanx
alvin

_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to