emerson2703
(usa CentOS)
Enviado em 31/05/2017 - 15:33h
Boa tarde
Meu squid esta deixando a internet lenta em toda rede quando eu limpo cache e reinicio o servido do squid volta normal depois em menos de 30 minutos volta a ficar lento, quanto eu retiro o redirecionamento do iptables para o squid funciona normalmente.
http_port 192.168.10.1:3128
visible_hostname Firewall-Handy
cache_mem 512 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 16 MB
minimum_object_size 0 KB
cache_log dev/null
max_filedescriptors 1024
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 512 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
maximum_object_size 102400 KB
error_directory /usr/share/squid/errors/Personalizado
dns_nameservers 8.8.8.8 8.8.4.4
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 Safe_ports port 81
acl localhost src 127.0.0.1
acl IP_Liberado src "/etc/squid/IP_Liberado.txt"
acl IP_Bloqueados src "/etc/squid/IP_Bloqueados.txt"
acl IP_Full src "/etc/squid/IP_Full.txt"
acl IP_Master src "/etc/squid/IP_Master.txt"
acl Sites_Bloqueados url_regex -i "/etc/squid/Sites_Bloqueados.txt"
acl Sites_Liberados url_regex -i "/etc/squid/Sites_Liberados.txt"
acl Libera_Sites url_regex -i "/etc/squid/Libera_Sites.txt"
acl url_ign url_regex -i "/etc/squid/url_liberados.txt"
always_direct allow url_ign
http_access allow url_ign
always_direct allow all
http_access deny IP_Bloqueados
http_access allow IP_Full
http_access allow IP_Master
http_access allow Libera_Sites
http_access deny Sites_Bloqueados
http_access allow IP_Liberado
http_access allow Sites_Liberados
http_access deny all