One more thing I've noticed... Sorry i didn't mention that in the previous mail. I 
tried experimenting in to different network. Please see below

Setup - I
---------

        Client computer --> Linux gateway --> Internet

In this case the iptables -m mac --mac-source.... works. I'm able to match the client 
computer but in the next setup I'm not able to. pls see below.

Setup - II
----------

        Client computer --> Router --> Linux gateway --> Internet

In this case am not able to match the MAC address. When i tried to see the full 
iptables logs then I found the it's providing the MAC of router instead of Client 
computer. Is there any way I can match the client MAC at the linux gateway ? Please 
help

regards

Vinoos.


On Thu, 01 Jul 2004 16:13:19 +0530
Rohan Almeida <[EMAIL PROTECTED]> wrote:

> Vinu Chandran wrote:
> > iptables -t filter -A FORWARD -i eth1 -m mac --mac-source 00:50:BA:8C:79:F1 -m 
> > limit --limit \
> > 5/minute -j LOG --log-prefix "Local Lan system"
> > 
> 
> Seems OK.
> Tried changing the chain to INPUT?
> i.e. iptables -t filter -A INPUT ........
> 
> --
> Rohan
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
> 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to