Why did bind() ephemeral port selection change from monotonically increasing to randomization?
Issue
- Why did bind() ephemeral port selection change from monotonically increasing to randomization? Possible ephemeral(or local) ports depend on the values of ip_local_port_range and ip_local_reserved_ports. But the method of selection is fixed in kernel code.
Environment
- Red Hat Enterprise Linux 4, 5, 6, 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.