[FUG-BR] Squid: "No forward-proxy ports configured" E "Forwarding loop detected for"
Helizonaldo .
helizonaldo em hotmail.com
Quinta Setembro 13 09:15:02 BRT 2012
Olá
Instalei o FreeBSD 9.0-RELEASE amd64, com o Squid 3.2.1, e ele apresentando 2 problemas:
--------------------------------------------------------------------------------------------------------------------------------------------------------------
1º não esta funcionando modo transparente. No cache.log ele mostra esse erro: No forward-proxy ports configured.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
2 o cache.log esta crescendo absurdamente quando tento acessar qualquer pagina mostrando essa msg repedidamente:
2012/09/13 09:03:18 kid1| WARNING: Forwarding loop detected for:GET /update/idx/master.idx HTTP/1.1Pragma: no-cacheHost: 89.105.213.18
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Meu squid foi configurado com a opção:
--enable-ipfw-transparent
--------------------------------------------------------------------------------------------------------------------------------------------------------------
e meu squid.conf esta assim:
## Recommended minimum configuration:#
# Example rule allowing access from your local networks.# Adapt to list your (internal) IP networks from where browsing# should be allowedacl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.0.0/16 # RFC1918 possible internal networkacl localnet src fc00::/7 # RFC 4193 local private network rangeacl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT
## Recommended minimum Access Permission configuration:## Only allow cachemgr access from localhosthttp_access allow localhost managerhttp_access deny manager
# Deny requests to certain unsafe portshttp_access deny !Safe_ports
# Deny CONNECT to other than secure SSL portshttp_access deny CONNECT !SSL_ports
# We strongly recommend the following be uncommented to protect innocent# web applications running on the proxy server who think the only# one who can access services on "localhost" is a local user#http_access deny to_localhost
## INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS#
# Example rule allowing access from your local networks.# Adapt localnet in the ACL section to list your (internal) IP networks# from where browsing should be allowedhttp_access allow localnethttp_access allow localhost
# And finally deny all other access to this proxyhttp_access deny all
# Squid normally listens to port 3128#http_port 3128#http_port 3128 transparenthttp_port 3128 intercept
# Uncomment and adjust the following to add a disk cache directory.#cache_dir ufs /var/cache/squid 100 16 256cache_dir diskd /squid 40000 16 256 Q1=72 Q2=64
# Leave coredumps in the first cache dircoredump_dir /var/cache/squid
# Add any of your own refresh_pattern entries above these.refresh_pattern ^ftp: 1440 20% 10080refresh_pattern ^gopher: 1440 0% 1440refresh_pattern -i (/cgi-bin/|\?) 0 0% 0refresh_pattern . 0 20% 4320
cache_log /var/log/squid/cache.logaccess_log /var/log/squid/access.log squidpid_filename /var/log/squid/squid.pid
cache_effective_user proxycache_effective_group proxy
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Helizonaldo Alves de Morais
Teresina-PI Brasil.
Mais detalhes sobre a lista de discussão freebsd