All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] masquerading/conntrack
@ 2008-05-21  8:33 NICOLAS BOULIANE
  2008-05-21  8:48 ` Henrik Nordstrom
  2008-05-21  9:53 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 9+ messages in thread
From: NICOLAS BOULIANE @ 2008-05-21  8:33 UTC (permalink / raw)
  To: Netfilter Developer Mailing List

Hi,

Here is a problem which I used to have with MASQUERADE,

When the machine boots - naturally there are some connections which

begin to flow as soon as the first ppp interface comes up...
Some of these connections remain open for days - for example - openvpn
and iax2 trunks...


Since ppp0 always come up first, then these connections begin to flow
via ppp0 and with the MASQ IP of ppp0...

Later, when the mangle-rules kick-in, these connections are being
router via ppp4 (which is what I want)...
So far no problem..


The only problem is that these packets now exit via ppp4 but they
continue to keep the source IP of ppp0


Ok, I tried to use the userspace conntrack-tool to search and remove
these entries, but this tool doesn't allow me to do something like this

$> conntrack -L conntrack -d IP

...without asking me the complete tuple-information. I can't delete every

entry with a specific IP either without providing a complete tuple.


Maybe we could add a parameter to the target masquerade, which could add
a flag in the conntrack that would mean "don't use the conntrack entry, we

want to go through the MASQUERADING code again".

What you guys think it should be wise to do ?

thank you
Nick

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

end of thread, other threads:[~2008-05-22 13:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21  8:33 [RFC] masquerading/conntrack NICOLAS BOULIANE
2008-05-21  8:48 ` Henrik Nordstrom
2008-05-21  9:53 ` Pablo Neira Ayuso
2008-05-21 13:23   ` NICOLAS BOULIANE
2008-05-21 14:04     ` Pablo Neira Ayuso
2008-05-21 14:25       ` NICOLAS BOULIANE
2008-05-21 15:10         ` Pablo Neira Ayuso
2008-05-21 16:13           ` NICOLAS BOULIANE
2008-05-22 13:00             ` Pablo Neira Ayuso

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.