All of lore.kernel.org
 help / color / mirror / Atom feed
* MAC Filtering
@ 2004-01-14 23:58 Gopal Chandavarapu
  0 siblings, 0 replies; 15+ messages in thread
From: Gopal Chandavarapu @ 2004-01-14 23:58 UTC (permalink / raw)
  To: netfilter

Hi All,

A specific hardware and its cross compiler need 2.4.14 version of the 
linux kernel. I have to do MAC filtering for these devices, so I found that

http://ebtables.sourceforge.net/documentation.html#whatdo

  does MAC filtering. -----------   Good till now.



Problem : The problem is ebtables works only with linux kernel 2.4.22/23 
and version 2.6.x

Question 1: Is there any other module like ebtables which does MAC 
filtering and works with 2.4.14 kernel.


Question 2: The MAC filter module should be capable of filtering the 
packets at run time.
That means that the filter should be able to ACCEPT all packets from MAC 
address A for some time and upon users request at run time, it should be 
able to take a new MAC address B and ACCEPT only from B and DROP/ACCEPT 
packets from A.

Please let me know.

Thanks
Gopal.



^ permalink raw reply	[flat|nested] 15+ messages in thread
* mac filtering
@ 2010-04-21  3:55 ratheesh k
  2010-04-21  5:54 ` Marek Kierdelewicz
  2010-04-21  7:49 ` Lars Nooden
  0 siblings, 2 replies; 15+ messages in thread
From: ratheesh k @ 2010-04-21  3:55 UTC (permalink / raw)
  To: netfilter

I have a client machine (say A ) connectected to a linux router . I
can browse internet without any problem .

In router , i can configure  MAC address filters . If i configure A's
mac address should be disabled , A cannot access Router itself ? .

Question : What exactly mac address filter mean ?  disabling router
access or disabling internet access ?


Thanks,
Ratheesh

^ permalink raw reply	[flat|nested] 15+ messages in thread
* MAC filtering
@ 2005-06-29 11:56 varun_saa
  2005-06-29 15:58 ` Gustavo Castro Puig
  2005-06-29 20:30 ` /dev/rob0
  0 siblings, 2 replies; 15+ messages in thread
From: varun_saa @ 2005-06-29 11:56 UTC (permalink / raw)
  To: netfilter

Hello,
      To allow a particular MAC, I plan use the rule 
as sugested in my previous post :

iptables -A FORWARD -m mac --mac-source ff:ff:ff:ff:ff:ff -j ACCEPT.

Now how do you block all other MAC addresses in the first place.
How to write a rule for that ?

Thanks

Varun



^ permalink raw reply	[flat|nested] 15+ messages in thread
* MAC Filtering
@ 2005-06-14 20:55 Claude Biron
  2005-06-16 16:22 ` Charlie Brady
  0 siblings, 1 reply; 15+ messages in thread
From: Claude Biron @ 2005-06-14 20:55 UTC (permalink / raw)
  To: netfilter-devel

I hope you don't mind asking you a question re: ebtables.   I'm looking to
use ebtables to do MAC filtering in a wireless router in AP mode (default).

The object is to do the following:

 

1.	on router startup, prevent all but the host PC from connecting.
2.	allow a specified MAC to make a connection.
3.	drop/block the MAC at some point in time.  Their current connection
is dropped.

 

The following ebtables commands do not work.  Is there a simple solution?
Many thanks in advance!   Using the linkyss WRT54GS router with SVEASOFT.

 

1.  (on startup block all MACs except one)

ebtables -N check_mac

ebtables -A check_mac -s 00:11:11:B6:A9:21 -j ACCEPT

ebtables -t filter -F INPUT

ebtables -t filter -F FORWARD

ebtables -P INPUT DROP

ebtables -P FORWARD DROP

ebtables -A INPUT --logical-in br0 -j check_mac

ebtables -A FORWARD --logical-in br0 -j check_mac

 

2. (allow a MAC access)

ebtables -A check_mac -s xx:xx:xx:xx:xx:xx -j ACCEPT

 

3. (drop or prevent access)

ebtables -D check_mac -s xx:xx:xx:xx:xx:xx -j ACCEPT


 

 

 

^ permalink raw reply	[flat|nested] 15+ messages in thread
* MAC Filtering
@ 2005-01-05 13:25 Erwin Van de Velde
       [not found] ` <17648.213.236.112.75.1104937880.squirrel@213.236.112.75>
  0 siblings, 1 reply; 15+ messages in thread
From: Erwin Van de Velde @ 2005-01-05 13:25 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I'm designing software for a testlab for testing mobility protocols. I use 
wireless-over-wired links and link down events should be simulated by a 
blocking firewall on both ends. The nodes only have the source and 
destination MAC addresses for each link (it is possible that multiple 
interfaces have the same IP address and that different 'wireless' interfaces 
have different transmit ranges). 
Is it possible to filter on both the source and destination MAC address? I 
only found the option with source MAC address...
Ebtables is not an option as bridges are needed there.

If not possible with the normal netfilter, is there a patch that can do it? Is 
it even possible to do such a thing?

Thanks in adv,

Erwin Van de Velde
University of Antwerp
Belgium

^ permalink raw reply	[flat|nested] 15+ messages in thread
* MAC Filtering
@ 2004-01-14 23:52 Gopal Chandavarapu
  2004-01-21 13:55 ` Harald Welte
  0 siblings, 1 reply; 15+ messages in thread
From: Gopal Chandavarapu @ 2004-01-14 23:52 UTC (permalink / raw)
  To: netfilter-devel

Hi All,

A specific hardware and its cross compiler need 2.4.14 version of the 
linux kernel. I have to do MAC filtering for these devices, so I found that

http://ebtables.sourceforge.net/documentation.html#whatdo

  does MAC filtering. -----------   Good till now.



Problem : The problem is ebtables works only with linux kernel 2.4.22/23 
and version 2.6.x

Question 1: Is there any other module like ebtables which does MAC 
filtering and works with 2.4.14 kernel.


Question 2: The MAC filter module should be capable of filtering the 
packets at run time.
That means that the filter should be able to ACCEPT all packets from MAC 
address A for some time and upon users request at run time, it should be 
able to take a new MAC address B and ACCEPT only from B and DROP/ACCEPT 
packets from A.

Please let me know.

Thanks
Gopal.

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

end of thread, other threads:[~2010-04-21  7:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 23:58 MAC Filtering Gopal Chandavarapu
  -- strict thread matches above, loose matches on Subject: below --
2010-04-21  3:55 mac filtering ratheesh k
2010-04-21  5:54 ` Marek Kierdelewicz
2010-04-21  7:49 ` Lars Nooden
2005-06-29 11:56 MAC filtering varun_saa
2005-06-29 15:58 ` Gustavo Castro Puig
2005-06-29 20:30 ` /dev/rob0
2005-06-14 20:55 MAC Filtering Claude Biron
2005-06-16 16:22 ` Charlie Brady
2005-01-05 13:25 Erwin Van de Velde
     [not found] ` <17648.213.236.112.75.1104937880.squirrel@213.236.112.75>
2005-01-05 16:12   ` Erwin Van de Velde
2005-01-05 16:22     ` Patrick Schaaf
2005-01-05 18:16     ` Bart De Schuymer
2004-01-14 23:52 Gopal Chandavarapu
2004-01-21 13:55 ` Harald Welte

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.