|
lug-bg: iptables MAC
- Subject: lug-bg: iptables MAC
- From: mano@email.domain.hidden (Marian Popov)
- Date: Thu, 13 Mar 2003 15:04:40 +0200
Zdraveite pak :)
Opitvam se da filtriram po MAC address s iptables
no niakak si ne se poluchava tova koeto triabva.
Naprimer:
iptables -A INPUT -s 192.168.0.40 -m mac -mac-source 00:04:c0:76:70:80 -j
DROP
Spored men tozi red triabva da spre vsichko
idvashto ot IP 192.168.0.40 s mac address 00:04:c0:76:70:80
kym mashinata.
Sled izpylnenieto na reda obache idva syobshtenie za greshka
koeto se izraziava v slednoto:
iptables v1.2.6a: Couldn't load match
`ac-source':/lib/iptables/libipt_ac-source.so: cannot open shared object
file: No such file or directory
Tova e na Debian 3.0 no syshtia uspeh postigam
i na Slackware 8.1 iavno ima neshto deto ne go znam.
Iskam i oshte neshto da pitam. Vyzmojno li e
s iptables da se spre vsichko idvashto ot MAC adres
edikoi si bez da se ukazva IP adres.
T.e. da rechem da se zabrani pristiganeto na kakvito
i da bilo paketi ot MAC 00:04:c0:76:70:80 kym localnata mashina
ili pyk da se spre FORWARD-a za tozi MAC adres.
<p>
--
Marian Popov
Siterm Engeneering Ltd.
mano_at_pazardjik.com.NOSPAM
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|