carlosrfjunior
(usa Debian)
Enviado em 04/04/2008 - 13:13h
Boa tarde, Galera!!
Estou a um tempão quebrando cabeça com squid3 e nada!
Minha Configuração arquivo squid.conf
###############################################
visible_hostname
www.consorcio.br
http_port 192.168.1.3:3128 transparent
icp_port 3130
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
cache_peer 127.0.0.1 parent 8118 7 no-query default
never_direct allow all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl rconsorcio src 192.168.1.0/24
http_access allow rconsorcio
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid3
cache_dir ufs /var/spool/squid3 100 16 256
cache_mgr carlos@consorciominasmaquinas.com.br
cache_effective_group squid3
cache_mem 8 MB
#################################################
Criei o spool
$squid3 -z
$invoke-rc.d squid3 restart
Ns hora de testar
$squid3 -NCd1
Apresenta a seguinte mensagem:
Apr 4 13:11:42 srv1 squid3: comm_select_init: epoll_create(): (38) Function not implemented
Olhei se a porta estava disponível 3128
$netstat -nltp
Nem aparece! Somente a porta 80 e 8080 do apache
que está funcionado certinho
o que estou fazendo de errado?
Já direcionei a porta 80 para 3128!