Re: mac/ip match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeu 18/09/2003 à 20:26, M. Ziya Ozudogru a écrit :
> Here comes the problem.. How can i define in iptables to use these arp
> rules and give access only the one addresses that match the rules and
> should block all the others ( well i want to block the others [unused ip
> addresses by using iptables mac macth module ] ) . ? Any hints ?

See mac match :

cbr@elendil:~$ iptables -m mac --help
[...]
MAC v1.2.8 options:
 --mac-source [!] XX:XX:XX:XX:XX:XX
                                Match source MAC address

Now, you just have to implement rules matching source mac address and
source IP address.

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux