Rule optimization

Andrey V. Elsukov bu7cher at yandex.ru
Tue Mar 24 12:41:21 UTC 2020


On 20.03.2020 21:12, driesm.michiels at gmail.com wrote:
> What would be more efficient, theoretically? Below the two cases I'm
> thinking about.
> 
> Note that the first 4 commands of case 2 are not really action rules and 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.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20200324/2e2426f7/attachment.sig>


More information about the freebsd-ipfw mailing list