Re: arptables FORWARD chain not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Alexis Salinas a écrit :
> I tried using arptables  on a linux internet gateway to filter out
> packets that have the source MAC address of the internet connected
> interface but not its IP address (see below).  
> I didn't get any hits, although I now there were packets matching the
> rule. 

How do you know ?

> The same rule in the OUTPUT chain works as expected (by me at least).
> Is there something else I need to do to use the FORWARD chain? 

ARP packets generated by the host go through the OUTPUT chain.
The FORWARD chain sees only bridged ARP packets, which are received but
not generated by the host. Is your gateway acting as a bridge ?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux