Главная страница


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)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 iptables&mac   Oleg Balychev   22 Dec 2002 18:38:35 
 Re: iptables&mac   Sergey Shibeko   23 Dec 2002 15:48:52 
 Re: iptables&mac   Igor S.Kozhukhov   31 Dec 2002 02:39:23 
 Re: iptables&mac   Aleksey Barabanov   31 Dec 2002 02:55:27 
 Re: iptables&mac   Igor S.Kozhukhov   31 Dec 2002 18:50:33 
 Re: iptables&mac   Aleksey Barabanov   31 Dec 2002 20:19:09 
Архивное /ru.linux/91046197d1b2.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional