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

2016-08-29 Thread Alex Rousskov
On 08/29/2016 12:14 AM, --Ahmad-- wrote: > but can you confirm me about the list below if its correct ??? Sorry, I do not have the time to validate your math. > should it be like 1/9987 or .088787 formatting ? According to squid.conf.documented, both should work. However, I recommend the latt

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

2016-08-28 Thread --Ahmad--
Ok but can you confirm me about the list below if its correct ??? should it be like 1/9987 or .088787 formatting ? acl half10001 random 0.000998001000 acl half10006 random 0.0009930209650350 acl half10011 random 0.0009880657804942 acl half10020 random 0.0009792086759647 acl half10037

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

2016-08-28 Thread Alex Rousskov
On 08/28/2016 03:56 AM, --Ahmad-- wrote: > the rotation is very bad and the outgoing ip now is the ip that is > on my eth0 ipv6 address only . > i mean the lists above not working at all and all request go with 1 > ipv6 which is the ip that is on my eth0 address . > > > what wrong did i do ?

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

2016-08-28 Thread Alex Rousskov
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 pars

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

2016-08-28 Thread --Ahmad--
just to tell you i updated the acl as below : acl half10001 random 0.000998001000 acl half10006 random 0.0009930209650350 acl half10011 random 0.0009880657804942 acl half10020 random 0.0009792086759647 acl half10037 random 0.0009626946373158 acl half10043 random 0.0009569328906720 acl half1005

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

2016-08-28 Thread --Ahmad--
thanks for reply how about the length of the number? 1/1000 to which digits should i round ?? 4 or 5 6 digits ? AS AN EXAMPLE the 1/1000 probabilities will have the acls as below : 0.001 0.000999 0.000998001 0.000997002999 0.000996005996001 the question is how many digits should i round

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

2016-08-27 Thread Alex Rousskov
On 08/27/2016 04:34 PM, --Ahmad-- wrote: > i guess i need to create probability 1/1000 for each ip. Yes, but that is _not_ the same as 1/1000 probability for each tcp_outgoing_address rule, unfortunately. tcp_outgoing_address rules are evaluated top to bottom until the first matches. If you have

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

2016-08-27 Thread --Ahmad--
hi folks i have like 1000 ips on a sever and ips inserted on the ip of the server . i want to do like random outgoing address per request . say i opened website http://whatismyipaddress.com/ it should have randomized ip address form the 1000 pools on my server