Skip to contentSkip to conversation

conntrack for multiple interfaces

DISCUSSION Kovesdi Gyorgy 4 participants 6 messages Jan 16, 2006 – Jan 17, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

Is there any special mailing list for libnetfiler_conntrack?

My machine has assigned the same IP range for multiple interfaces. Is the conntrack able to handle this?

Regards
Gyorgy Kovesdi

#1 lore raw

Hi,

Quoted 1 line · Kovesdi Gyorgy

Is there any special mailing list for libnetfiler_conntrack?

I don't think so, you should use netfilter-devel for that purpose.

Quoted 2 lines

My machine has assigned the same IP range for multiple interfaces. Is the conntrack able to handle this?

Conntrack does not care about interfaces at all, so from conntrack's point
of view having multiple interfaces with the same IP range assigned makes no difference.

Signature · 2 lines
 Regards,
  Krisztian Kovacs
#2 lore raw
In reply to Kovesdi Gyorgy
Quoted 3 lines · Kovesdi Gyorgy

Hi,

Is there any special mailing list for libnetfiler_conntrack?

I don't know of any, I think you can post here.

Quoted 3 lines

My machine has assigned the same IP range for multiple interfaces. Is the conntrack able to handle this?

Conntrack is interface independent, however it does not handle when tuples collide, it assumes they are part of the same connection. (ie. it does not work, unless your IP space is actually divided between interfaces and connections never collide)

Signature · 1 line
Bazsi
#3 lore raw
Quoted 9 lines · Balazs Scheidler
Quoted 2 lines · Kovesdi Gyorgy

My machine has assigned the same IP range for multiple interfaces. Is the conntrack able to handle this?

Conntrack is interface independent, however it does not handle when tuples collide, it assumes they are part of the same connection. (ie. it does not work, unless your IP space is actually divided between interfaces and connections never collide)

That's unfortunate. IIRC someone posted a patch to netfilter-devel half a year ago (sorry, no exact date) to address that issue. Was there some reason not to include it back then?
The only problem with that patch I can think of right now would be load balancing over multiple links.

Regards,
Carl-Daniel

#4 lore raw

Hi,

Quoted 4 lines · Carl-Daniel Hailfinger
Quoted 4 lines

Conntrack is interface independent, however it does not handle when tuples collide, it assumes they are part of the same connection. (ie. it does not work, unless your IP space is actually divided between interfaces and connections never collide)

Yes, but current mode of operation does work in most cases.

Quoted 5 lines

That's unfortunate. IIRC someone posted a patch to netfilter-devel half a year ago (sorry, no exact date) to address that issue. Was there some reason not to include it back then?
The only problem with that patch I can think of right now would be load balancing over multiple links.

Apart from breaking a couple of scenarios, what would be the advantage of
differentiating connections per interface?

Signature · 2 lines
 Regards,
  Krisztian Kovacs
#5 lore raw
Quoted 20 lines · KOVACS Krisztian

Hi,

Quoted 4 lines · Carl-Daniel Hailfinger
Quoted 4 lines

Conntrack is interface independent, however it does not handle when tuples collide, it assumes they are part of the same connection. (ie. it does not work, unless your IP space is actually divided between interfaces and connections never collide)

Yes, but current mode of operation does work in most cases.

Quoted 5 lines

That's unfortunate. IIRC someone posted a patch to netfilter-devel half a year ago (sorry, no exact date) to address that issue. Was there some reason not to include it back then?
The only problem with that patch I can think of right now would be load balancing over multiple links.

Quoted 2 lines

Apart from breaking a couple of scenarios, what would be the advantage of
differentiating connections per interface?

The scenario of the OP (multiple interfaces with the same IP range) would work without tuple collisions. And double NAT would be possible as well with only one machine.

Regards,
Carl-Daniel