Hi...

Here's a minor variation of the MAC matching target,
mac_mask which lets you specify a "netmask" to apply when matching a
MAC address. This could be useful for several reasons, eg. you want to
match based on NIC manufacturer. In our case, we want to match a
large (say 10000 or so) list of MAC addresses for the purpose of
access control and want to avoid a linear scan through the list for
every packet (you can split the list into buckets based on the low
order bits of the MAC address, or build a binary tree structure of
rules).

Tarball:
http://www.trinity.unimelb.edu.au/~phawkins/mac_mask.tar.gz

I'm not subscribed to this list, so please cc replies to me directly.

=)
Peter Hawkins
[EMAIL PROTECTED]

Reply via email to