[squid-users] ephemeral port selection

Alex Rousskov rousskov at measurement-factory.com
Tue May 7 16:34:14 UTC 2019


On 5/7/19 9:37 AM, Marc wrote:

> I think squid relies on the OS to select the ephemeral source port,

Correct.


> Is it possible to disable ephemeral port randomization within squid?

Not yet.


> If it is impossible, can this be considered as a new feature ?

Yes, it is a valid feature request, and I have seen similar requests in
the past. The default ephemeral port management on Linux (and probably
other OSes) does not satisfy the needs of some busy proxies. Moreover,
we have implemented an explicit source port manager algorithm in Web
Polygraph, for similar high-performance reasons, so we know how to do it
and that it actually works/helps.

https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F


Alex.


More information about the squid-users mailing list