diego.tisc
(usa FreeBSD)
Enviado em 09/02/2012 - 15:46h
Tenho um servidor de internet rodando perfeito com o squid proxy transparente e PF... (Free BSD 8.2 Release)
Hoje começo de tarde meu cliente me liga dizendo que todos os computadores estão sem internet... Verifiquei os logs de squid e não obtive resultado...
Quando dou um squid -k reconfigure aparece o seguinte erro
==== "
ERRO
squid: ERROR: Could not send signal 1 to process 1667: (3) No such process
==== "
Sou novato ainda nessa experiencia! Gostaria de uma possível ajuda...
Arquivo -> SQUID.CONF
http_port 127.0.0.1:3128 transparent
cache_mem 128 MB #2000 MB # Usar um terco da memoria RAM
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/squid/cache 45000 16 256
maximum_object_size 1024 MB #30000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 128 KB #40 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
error_directory /usr/local/etc/squid/errors/pt-br
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/log/squid/squid.pid
memory_pools off
half_closed_clients off
diskd_program /usr/local/squid/diskd
unlinkd_program /usr/local/libexec/squid/unlinkd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
#quick_abort_max 16 KB
#quick_abort_pct 95
#quick_abort_min 16 KB
request_header_max_size 20 KB
reply_header_max_size 20 KB
request_body_max_size 0 KB
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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
acl minharede src 10.1.1.0/24
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl antivirus url_regex "/usr/local/etc/squid/antivirus.txt"
acl aceip src "/usr/local/etc/squid/aceip.txt"
acl acemac arp "/usr/local/etc/squid/acemac.txt"
acl acerestrito url_regex -i "/usr/local/etc/squid/acerestrito.
#acl acerestritoip src "/usr/local/etc/squid/acerestritoip.txt"
acl acerestritomac arp "/usr/local/etc/squid/acerestritomac.txt
http_access allow antivirus
http_access allow acemac aceip
#http_access deny all
http_access allow acerestrito
http_access deny acerestritomac
http_access deny minharede
http_access deny all
cache_mgr diego.tisc@gmail.com
cache_effective_user squid
cache_effective_group squid
visible_hostname Filtro_de_Acessos