All of lore.kernel.org
 help / color / mirror / Atom feed
* filtering based on MAC address prefix
@ 2010-01-15 19:44 Daniel Drake
  2010-01-16  9:55 ` Eray Aslan
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Drake @ 2010-01-15 19:44 UTC (permalink / raw)
  To: netfilter

Hi,

I'm interested in setting up iptables filtering rules based on the OUI
(i.e. first 3 bytes) of the source MAC address. Is this possible?

I see that there is a "mac" match extension but it only seems to
operate with full 6-byte addresses. I also looked at the u32 extension
but that only seems to operate on the TCP header, not on the ethernet
header.

Any ideas/suggestions?

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-16 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 19:44 filtering based on MAC address prefix Daniel Drake
2010-01-16  9:55 ` Eray Aslan
2010-01-16 15:43   ` Pascal Hambourg
2010-01-16 16:37   ` Daniel Drake
2010-01-16 17:10     ` Eray Aslan
2010-01-16 20:46       ` Maximilian Wilhelm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.