bad syntax in ipfw casues kernel panic.
Ender
ender at tog.net
Sun Mar 7 02:28:34 PST 2004
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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
>> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
>>
> root at freebsd0 :~# ipfw queue 1 config pipe 1 weight 140 queue 1024Kbytes
> ipfw: weight must be <= 100
>
> I cannot reproduce this bug.
>
> --Devon
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at 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
More information about the freebsd-bugs
mailing list