mac address filtering

mac address filtering

am 12.09.2007 17:12:36 von Mukul

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 -j
DROP

thanks in advance,

Cheers,
Mukul.

Re: mac address filtering

am 12.09.2007 17:57:34 von unknown

Post removed (X-No-Archive: yes)

Re: mac address filtering

am 12.09.2007 18:02:14 von phantom

"Mukul" wrote in message
news:1189609956.130163.289080@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 -p tcp --dport 80 -j
REJECT

Re: mac address filtering

am 17.11.2007 16:48:26 von Floor

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