Skip to contentSkip to conversation

Is 64k bind patch making bad assumption?

DISCUSSION Stephen Hemminger 2 participants 2 messages Feb 2, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The patch to allow more that 64k connections is assuming that all IP addresses on a machine have the same connectivity and policy. I can think of several cases where this is not true:
1. Server machine with public IP's for connections and private IP's for backend database connection
2. Applications where certain IP's are required for security protocols
3. Machines doing policy based routing

Doesn't this patch change/break this?

#1 lore raw

Hi Stephen.

Quoted 10 lines · Stephen Hemminger

The patch to allow more that 64k connections is assuming that all IP addresses on a machine have the same connectivity and policy. I can think of several cases where this is not true:
1. Server machine with public IP's for connections and private IP's for backend database connection
2. Applications where certain IP's are required for security protocols
3. Machines doing policy based routing

Doesn't this patch change/break this?

I do not think this is related. Patch itself just allows to do what users ask for. He can do the same with explicit port selection and reuse option, but bind(0) with the reuse option (i.e. automatic kernel port selection) was limited.

Signature · 1 line
	Evgeniy Polyakov