* Associating connection tracking with a physical device.
@ 2007-04-20 22:50 Ben Greear
0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2007-04-20 22:50 UTC (permalink / raw)
To: NetDev
I am trying to NAT routed connections between pairs of devices very
much like the etun patch recently posted.
As far as I can tell, this is failing because the connection tracking
does not take the interface into account. The result is that if you
send on etun1a, receive on etun1b, and then route internally to
etun2a for transmit, the packet uses the same nfct (printk shows
the 'id' of the ct is the same even though the skb->dev has changed.)
This appears to make it impossible to NAT on etun2a in this scenario.
I believe what is needed to make this work is the addition of some
extra fields in the conn-tracking tuple, or perhaps some explicit test
for the outgoing netdev.
Does that sound like the right approach for enabling NAT in this case?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-20 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 22:50 Associating connection tracking with a physical device Ben Greear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).