Skip to contentSkip to conversation

NAT reservations

DISCUSSION Patrick McHardy 2 participants 3 messages Jun 8, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hi Krisztian,

I'm currently working on the H.323 connection tracking helper and need to NAT addresses that are later used in an expectation, but I don't want to create the expectation immediately. This can't be done currently because the final port number is unknown before the expectation is created. Your NAT reservations patch looks like it solves exactly this problem. Is there a version for current kernels?

Regards
Patrick

#1 lore raw

Hi,

Quoted 7 lines · Patrick McHardy

I'm currently working on the H.323 connection tracking helper and need to NAT addresses that are later used in an expectation, but I don't want to create the expectation immediately. This can't be done currently because the final port number is unknown before the expectation is created. Your NAT reservations patch looks like it solves exactly this problem. Is there a version for current kernels?

Unfortunately I did not have time to port the patch for new NAT code
of 2.6.11, but a 2.6.10 version can be found in the latest tproxy release tarball:

http://www.balabit.com/downloads/tproxy/linux-2.6/

That's the most up-to-date version available.

Plus, I think the whole patch would require a thorough refresh, I
don't really like the idea of that extra hash table, etc. (And even that hash table is poorly implemented, obsolete hash function, etc.)

--
Regards,
Krisztian Kovacs

#2 lore raw
Quoted 7 lines · KOVACS Krisztian

Unfortunately I did not have time to port the patch for new NAT code
of 2.6.11, but a 2.6.10 version can be found in the latest tproxy release tarball:

http://www.balabit.com/downloads/tproxy/linux-2.6/

That's the most up-to-date version available.

Thanks.

Quoted 3 lines

Plus, I think the whole patch would require a thorough refresh, I
don't really like the idea of that extra hash table, etc. (And even that hash table is poorly implemented, obsolete hash function, etc.)

I haven't looked closer at it yet, but I'll probably port it to 2.6.12-rc in the next couple of days, perhaps a good idea will hit me :)

Regards
Patrick