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
[-- Attachment #1 --]
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 searched 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.
>
It actually uses two linear searches, first to find a block by ID,
and then a matching row in this block.
Cheers,
--
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA48naqRfpzJluFF4RAlhHAJ9oAt9Ii5whywEsr5gP513F36QZCACgiaus
Unlf2ZA6nhfLHVR62WyoDsI=
=+aUF
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701082250.GA42696>
