Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 17:11:19 GMT
From:      ae@FreeBSD.org
To:        boris@tagnet.ru, ae@FreeBSD.org, freebsd-ipfw@FreeBSD.org
Subject:   Re: kern/152887: [ipfw] Can not set more then 1024 buckets with buckets flag
Message-ID:  <201103311711.p2VHBJ8n000300@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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