kern/152887: [ipfw] Can not set more then 1024 buckets with buckets flag

ae at FreeBSD.org ae at FreeBSD.org
Thu Mar 31 17:11:20 UTC 2011


Synopsis: [ipfw] Can not set more then 1024 buckets with buckets flag

State-Changed-From-To: open->analyzed
State-Changed-By: ae
State-Changed-When: Thu Mar 31 16:51:11 UTC 2011
State-Changed-Why: 
There is a bug in ipdn_bound_var() function. It is designed
to bound variables between minimum and maximum values. But
it does not work as expected and user can set value bigger
than maximum allowed.

So, i can fix this function and you will not be able to
set 8k value for buckets. The hardcoded maximum for 
buckets is 1024. Are you agree with this change?


http://www.freebsd.org/cgi/query-pr.cgi?pr=152887


More information about the freebsd-ipfw mailing list