Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Mar 2004 05:33:58 -0500
From:      Ender <ender@tog.net>
To:        "Devon H. O'Dell" <dodell@sitetronics.com>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: bad syntax in ipfw casues kernel panic.
Message-ID:  <404AFA96.5070507@tog.net>
In-Reply-To: <404AF34B.7000506@sitetronics.com>
References:  <404AEF20.7090506@tog.net> <404AF34B.7000506@sitetronics.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Devon H. O'Dell wrote:

> Ender wrote:
>
>> ipfw queue 1 config pipe 1 weight 140 queue 1024Kbytes
>>
>> using the above command to make a weighted queue using a number 
>> higher than 100 causes a kernel panic.
>>
>> effect: freebsd 5.2.1 maybe more
>> _______________________________________________
>> freebsd-bugs@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
>> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
>>
> root@freebsd0 :~# ipfw queue 1 config pipe 1 weight 140 queue 1024Kbytes
> ipfw: weight must be <= 100
>
> I cannot reproduce this bug.
>
> --Devon
> _______________________________________________
> freebsd-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
>
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

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.
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404AFA96.5070507>