All of lore.kernel.org
 help / color / mirror / Atom feed
* mac dest match
@ 2005-01-05 19:18 Vivek raghunathan
  2005-01-05 21:18 ` Peter Surda
  0 siblings, 1 reply; 3+ messages in thread
From: Vivek raghunathan @ 2005-01-05 19:18 UTC (permalink / raw)
  To: netfilter-devel

Hi all.

I am a graduate student doing wireless networking research. I am doing
some performance analysis for a testbed implementation of a new
routing scheme for such networks. The biggest problem in doing testing
is that it is very difficult to create reliable network topologies
using commercially available 802.11 cards. While I could go on about
the problem at length, here's why I write this email.

I have 3 nodes A, B, C on the same subnet and I would like to create a
line topology:

A -> B -> C

To do this, I need to prevent any MAC packet from A to C from getting
across and vice versa.

I am currently using iptables mac-source matching to do this. At C, I
filter out all packets from mac address of A and vice versa. However,
with mac-source matching, packets from A to C still cross over the
wireless to C before being dropped at the INPUT hook at C.

I plan to write a mac-dest match for iptables that lets me filter out
packets based on destination MAC address. This will let me drop the
packets from A to C at A before they cross the wireless rather than at
C after they cross the wireless.

I wonder if somebody else has written such a mac-dest match already ...

-Vivek

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

end of thread, other threads:[~2005-01-06  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05 19:18 mac dest match Vivek raghunathan
2005-01-05 21:18 ` Peter Surda
2005-01-06  3:24   ` Jon Webb

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.