Linux Netfilter discussions
 help / color / mirror / Atom feed
* Reject on a Bridge
@ 2008-09-03 22:41 Gilad Benjamini
  2008-09-04 16:18 ` Grant Taylor
  2008-09-15  8:03 ` Gilad Benjamini
  0 siblings, 2 replies; 4+ messages in thread
From: Gilad Benjamini @ 2008-09-03 22:41 UTC (permalink / raw)
  To: netfilter

I am using iptables to run a firewall on a bridge.
The bridge consists of eth1 and eth2. Neither interface, nor the
bridge itself, have an IP address.
eth0, which is not on the bridge, does have an IP address.

Trying to use the REJECT target with --tcp-reset doesn't work.
If I understand the code correctly, the route for the RST packet is
determined through ip_route_me_harder in the send_reset function,
implying in my case that the RST packet will leave through eth0, which
is not the desired behavior. Theoretically, eth0 might be even
physically disconnected from the bridged network.

Am I missing something, or is this a real problem ?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-15  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 22:41 Reject on a Bridge Gilad Benjamini
2008-09-04 16:18 ` Grant Taylor
2008-09-04 16:44   ` billycrook
2008-09-15  8:03 ` Gilad Benjamini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox