Executando o Squid com uma configuração acl aleatória de ip, temos 745 ip's no pool e somos cerca de 10 usuários que o usam com ferramentas que executam vários threads, verifique rankings no Google, etc.
Problema: Começamos a experimentar alguns problemas com um número de IP que aparecia mais frequentemente do que todos os outros. Fiz um teste simples onde eu usei um plugin de proxy no chrome e apenas visitei um site "Whats my ip", toda vez que eu atualizo a pagina eu recebo um novo ip mas depois de 2-5 pedidos eu coloco o ip principal do servidor, não o fallback ip.
Pense que um dos principais problemas é que 1 conexão bloqueia 1 ip, Como faço para obtê-los compartilhados? Esta é minha configuração
http_port 3128
visible_hostname mydomain.com
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl CONNECT method CONNECT
auth_param basic program /lib/squid/basic_db_auth --user squid
--password x420WVNgm2D226v --plaintext --persist
auth_param basic children 5
auth_param basic realm mydomain.com
auth_param basic credentialsttl 1 minute
auth_param basic casesensitive off
acl db-auth proxy_auth REQUIRED
http_access allow db-auth
http_access allow localhost
http_access deny all
# Limit to 1 connection per user
# OR NAT
client_ip_max_connections 100
authenticate_ttl 1 hour
authenticate_ip_ttl 5 seconds
acl ip_unico max_user_ip -s 1
http_access deny ip_unico
server_persistent_connections off
acl RandomIP random 1/754
#anonymizer paranoid
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access All deny all
header_replace User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4 AlexaToolbar/alxg-3.1
# RandomIP Pool
tcp_outgoing_address xx.xxx.68.10 RandomIP
tcp_outgoing_address xx.xxx.68.11 RandomIP
tcp_outgoing_address xx.xxx.68.12 RandomIP
tcp_outgoing_address xx.xxx.68.13 RandomIP
tcp_outgoing_address xx.xxx.68.14 RandomIP
tcp_outgoing_address xx.xxx.68.15 RandomIP
tcp_outgoing_address xx.xxx.68.16 RandomIP
tcp_outgoing_address xx.xxx.68.17 RandomIP
.... 745 tot
# Fallback IP
tcp_outgoing_address xx.xxx.67.255
Alguém pode me ajudar aqui?