Why did bind() ephemeral port selection change from monotonically increasing to randomization?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content