Filtrovani MACADRESS
Michal Weinfurtner
weinfurt na karneval.cz
Středa Červenec 7 10:24:11 CEST 2004
Filip Matoušek wrote:
>Zdravím, chtěl jsem se optat jak filtrovat uživatele podle MAC adres na
>určité zařízení třeba eth0, zda to použít v IPTABLES a jak.
>Koukal jsem na internetu a nic jsem nenašel.
>
>
Kde jste koukal na tom internetu ?
Google s vyhledavanim "MAC address filtering and site:www.netfilter.org
Druhej odkaz a mate toto :
Other Match Extensions
The other extensions in the netfilter package are demonstration
extensions, which (if installed) can be invoked with the `-m' option.
mac This module must be explicitly specified with `-m mac' or
`--match mac'. It is used for matching incoming packet's source Ethernet
(MAC) address, and thus only useful for packets traversing the
PREROUTING and INPUT chains. It provides only one option:
--mac-source followed by an optional `!', then an ethernet
address in colon-separated hexbyte notation, eg `--mac-source
00:60:08:91:CC:B7'.
Stejneho vysledku dosahnete pri hledani retezce MAC v man iptables.
M.
Další informace o konferenci Linux