[squid-users] squid with random outgoing ip from pool of 1000 ips

Alex Rousskov rousskov at measurement-factory.com
Sun Aug 28 23:28:05 UTC 2016


On 08/28/2016 02:04 AM, --Ahmad-- wrote:

> how about the length of the number?
> 
> 1/1000 to which digits should i round ??
> 
> 4 or 5 6 digits ?

I would start with 10 digits or the maximum precision that your
ACL-calculation program allows and decrease the number of digits if
Squid cannot parse the generated probability.

> will squid understand the long digits ?

Yes, but probably up to an [unknown to me] point.

HTH,

Alex.



>> To compensate for the cumulative effect of rules evaluation, you need
>> rule i to have p/(q^i) probability of a match



More information about the squid-users mailing list