All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] ebtables/iptables ambiguity
@ 2009-12-22 21:08 Jonathan Thibault
  2009-12-22 21:32 ` richardvoigt
  2009-12-22 21:43 ` Nicolas de Pesloüan
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Thibault @ 2009-12-22 21:08 UTC (permalink / raw)
  To: bridge

I am trying to use connmark based on the bridge output port.

Normally, I would:

...
iptables -t mangle -A VMARK -i out -m physdev --physdev-out in.15 -j MARK --or-mark 0x00F
...
iptables -t mangle -A VMARK -j CONNMARK --save-mark

(VMARK is called in -t mangle POSTROUTING)

But since this traffic is routed and not bridged, I get the expected:

"physdev match: using --physdev-out in the OUTPUT, FORWARD and POSTROUTING chains for non-bridged traffic is not supported anymore."

Now I could use ebtables to perform the mark in, say, filter FORWARD, but would it know which member interface the packets are going if the traffic is not being bridged?  And if so, would the mark appear in time for me to -j CONNMARK --save-mark in POSTROUTING/VMARK?

I obviously could try it to see if it works, but I'd rather *understand* what I'm doing first ;)

Jonathan

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

end of thread, other threads:[~2009-12-22 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22 21:08 [Bridge] ebtables/iptables ambiguity Jonathan Thibault
2009-12-22 21:32 ` richardvoigt
2009-12-22 21:43 ` Nicolas de Pesloüan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.