Date: Tue, 24 Mar 2020 15:31:29 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: driesm.michiels@gmail.com, freebsd-ipfw@freebsd.org Subject: Re: Rule optimization Message-ID: <766ab445-eacd-03b7-f225-68f67a8c85b7@yandex.ru> In-Reply-To: <005401d5fee3$247d7250$6d7856f0$@gmail.com> References: <005401d5fee3$247d7250$6d7856f0$@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4YTUAgN61asPoScuFqmp9RTs99nSeHO3r Content-Type: multipart/mixed; boundary="lGhRUd9bbOCCrr5VrfS1jPBoIxRCQ74BT"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: driesm.michiels@gmail.com, freebsd-ipfw@freebsd.org Message-ID: <766ab445-eacd-03b7-f225-68f67a8c85b7@yandex.ru> Subject: Re: Rule optimization References: <005401d5fee3$247d7250$6d7856f0$@gmail.com> In-Reply-To: <005401d5fee3$247d7250$6d7856f0$@gmail.com> --lGhRUd9bbOCCrr5VrfS1jPBoIxRCQ74BT Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 20.03.2020 21:12, driesm.michiels@gmail.com wrote: > What would be more efficient, theoretically? Below the two cases I'm > thinking about. >=20 > Note that the first 4 commands of case 2 are not really action rules an= d are > just setting up the table which for the sake of example I included. Hi, I think for 3 interfaces you will not see some noticeable difference, but when number of interfaces in the table will grow to tens or hundreds, it will work much better than the plain list of the rules. --=20 WBR, Andrey V. Elsukov --lGhRUd9bbOCCrr5VrfS1jPBoIxRCQ74BT-- --4YTUAgN61asPoScuFqmp9RTs99nSeHO3r Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl55/aEACgkQAcXqBBDI oXrxaAgAuqdTH8YYgqyR4GLq8JAy46Z4igUZUCQ7e04sK9OonXEZgW+EXCZjra1H VG9Eun7HJ8z4p5bTj5YkqwoQUOHRNPtv63eToC2Yy2IVaHU5Wi8/3d/tb8X6e0Dd SYzKQqbpqbjHEWBgzV4dDnMyUML2N6v4HoWW76S7l2TNle9lIoM5wLxFer9aitDv ZWcmPdFM8PnKQSY3EYozH2F3ewk1Pc/0MkDcSHD492WBjRV9BVjtrlKWnlmAe0T5 +YN95eGfHNukX1oFTUcXFv748ql+737f1EgBU7Ui7B3Ju8XTFP5c+/KQA/oT+QH3 Q+61EblTvBbGW/ZnlflB28gTL19akQ== =rLzW -----END PGP SIGNATURE----- --4YTUAgN61asPoScuFqmp9RTs99nSeHO3r--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?766ab445-eacd-03b7-f225-68f67a8c85b7>