Date: Thu, 1 Jul 2004 11:22:50 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: James <haesu@towardex.com> Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw add allow ip from @access_list1 to any in Message-ID: <20040701082250.GA42696@ip.net.ua> In-Reply-To: <20040701043628.GA96007@scylla.towardex.com> References: <841905563.20040629185504@merlin.com.ua> <20040701043628.GA96007@scylla.towardex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 01, 2004 at 12:36:28AM -0400, James wrote: [...] > I am not sure how your @accesslist element is checked, but if it is searc= hed in > a linear order, it's probably not going to be any different than matching= using > { a or b or c } braces, in terms of performance/efficiency. >=20 It actually uses two linear searches, first to find a block by ID, and then a matching row in this block. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA48naqRfpzJluFF4RAlhHAJ9oAt9Ii5whywEsr5gP513F36QZCACgiaus Unlf2ZA6nhfLHVR62WyoDsI= =+aUF -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701082250.GA42696>