mac address filtering

Hello all,

I have an Apache server running on linux machine( Suse) at my
workplace. Its only for internal use, and the company firewall does
not allow any access from outside world.
- What would be the easiest way to filter http requests based on mac
addresses? I do not wish to filter them based on IP address, since IP
address keep on changing for the employees.
- I could probably use 'Iptables' for this, but that would block all
requests to the linux machine( e.g. ssh). That's why I would like to
do it in Apache, so that unauthorized employees may not read the web
pages, but they may ssh if they have user permissions on this machine.
iptables -A INPUT -m mac --mac-source <mac add to be filtered> -j
DROP

thanks in advance,

Cheers,
Mukul.
Mukul [ Mi, 12 September 2007 17:12 ] [ ID #1818502 ]

Re: mac address filtering

Post removed (X-No-Archive: yes)
Notifier Deamon [ Mi, 12 September 2007 17:57 ] [ ID #1818503 ]

Re: mac address filtering

"Mukul" <m.dhankhar [at] gmail.com> wrote in message
news:1189609956.130163.289080 [at] y42g2000hsy.googlegroups.com.. .

> - I could probably use 'Iptables' for this, but that would block all
> requests to the linux machine( e.g. ssh).

you can specify rules to only apply to specific ports -

iptables -I INPUT -m mac --mac-source <mac address> -p tcp --dport 80 -j
REJECT
phantom [ Mi, 12 September 2007 18:02 ] [ ID #1818504 ]

Re: mac address filtering

Mukul:

> - What would be the easiest way to filter http requests based on mac
> addresses? I do not wish to filter them based on IP address, since IP
> address keep on changing for the employees.

besides filterin on IP adress would be better, a MAC adress can be faked.
Floor
Floor [ Sa, 17 November 2007 16:48 ] [ ID #1873144 ]
Webserver » alt.apache.configuration » mac address filtering

Vorheriges Thema: how to force use of HTTP
Nächstes Thema: Subdomains