RE: arptables FORWARD chain not working

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

 



Hello,
I know because I see no increment in the counters and I have a packet capture running.
I think your explanation, about what the FORWARD chain can see, answers  my question. In my case the gateway is not a bridge, so it is normal that I don't see hits there. 

Thanks,
Alexis. 
________________________________________
From: Pascal Hambourg <pascal@xxxxxxxxxxxxxxx>
Sent: December-24-13 13:24
To: Alexis Salinas
Cc: netfilter@xxxxxxxxxxxxxxx
Subject: Re: arptables FORWARD chain not working

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