|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Oleg Balychev 2:5020/400 22 Dec 2002 18:38:35 To : All Subject : iptables&mac --------------------------------------------------------------------------------
Hello, All!
Бррр... Hичего не понимаю. :( Пытаюсь сделать фильтрацию на
основе mac адреса. Делаю так:
iptables -A INPUT -p tcp --mac-source 00:02:A5:18:54:47 -j ACCEPT
Получаем вот это:
iptables v1.2.2: Unknown arg `--mac-source'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `ACCEPT'
Try `iptables -h' or 'iptables --help' for more information.
Смотрим в книгу, (man iptables) видим ...
--mac-source [!] address
Match source MAC address. It must be of the form
XX:XX:XX:XX:XX:XX. Note that this
only makes sense for packets entering
the PREROUTING, FORWARD or INPUT chains
for packets coming from an ethernet device.
модуль ipt_mac загружен.
Кто-то из нас гонит, или я или iptables. :)
--
Best regards.
Oleg mailto: castroy@ezmail.ru
--- ifmail v.2.15dev5
* Origin: MTU-Intel ISP (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/91046197d1b2.html, оценка из 5, голосов 10
|