Date: Sun, 07 Mar 2004 11:31:59 +0100 From: "Devon H. O'Dell" <dodell@sitetronics.com> To: Ender <ender@tog.net>, freebsd-bugs@freebsd.org Subject: Re: bad syntax in ipfw casues kernel panic. Message-ID: <404AFA1F.20307@sitetronics.com> In-Reply-To: <404AFA96.5070507@tog.net> References: <404AEF20.7090506@tog.net> <404AF34B.7000506@sitetronics.com> <404AFA96.5070507@tog.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Ender wrote: > try these rules > > ipfw pipe 1 config bw 800Kbyte/s queue 1024Kbytes ; > ipfw queue 1 config pipe 1 weight 100 queue 1024Kbytes ; > ipfw queue 2 config pipe 1 weight 90 queue 1024Kbytes ; > ipfw queue 3 config pipe 1 weight 2 queue 1024Kbytes ; > ipfw queue 4 config pipe 1 weight 1 queue 1024Kbytes ; > ipfw add 1 queue 1 udp from 216.89.228.18 27015 to any out ; > ipfw add 2 queue 2 tcp from 216.89.228.18 6112 to 216.89.228.60 out ; > ipfw add 3 queue 3 ip from 216.89.228.18 6112 to any out ; > ipfw add 4 queue 4 ip from 216.89.228.18 to any out ; > > then remove : ipfw del 1 > then remove ipfw queue del 1 > then add ipfw queue 1 config pipe 1 weight 140 queue 1024Kbytes When I add these rules, and hit the final one, I receive: root@freebsd0 :~# ipfw queue 1 config pipe 1 weight 140 queue 1024Kbytes ipfw: weight must be <= 100 Before you question my system: FreeBSD freebsd0.sitetronics.com 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #2: Wed Mar 3 09:25:48 PST 2004 root@freebsd0.sitetronics.com:/usr/obj/usr/src/sys/SITETRONICS i386 > > i also have ALOT of traffic when i do this, i repeated it. If there is > any other configs i have that could be relevent let me know. What's ``A LOT'' of traffic? The system I'm on is pushing approximately 10Mbit at this time. > kern.ipc.somaxconn=16384 > kern.ipc.nmbclusters=131072 > net.inet.tcp.tcbhashsize=4096 > > > #firewall > options HZ=1000 > options IPFIREWALL > options IPFIREWALL_DEFAULT_TO_ACCEPT > options DUMMYNET These all look decent to me. --Devon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404AFA1F.20307>