denisromanholi
(usa Debian)
Enviado em 07/05/2014 - 11:04h
Bom dia, meu squid foi implantado pelo antigo responsável do T.I., está funcionando corretamente, bloqueando TUDO que está inserido nos arquivos squid e squiguard, porém aqueles que estou adicionando atualmente não está.
Podem me ajudar com o log?
cat: squid.conf: No such file or directory
root@PLUTAO:~# cd /etc
root@PLUTAO:/etc# cd squid
root@PLUTAO:/etc/squid# cat squid.conf
http_port 10.10.10.2:3128 transparent
visible_hostname PLUTAO
cache_mem 128 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /db/squid 2048 16 256
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
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 901 # swat
acl Safe_ports port 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT
acl MAC_LIBERADO arp "/etc/squid/macliberado"
acl MAC_NAO_LIBERADO arp "/etc/squid/macnaoliberado"
http_access deny manager
http_access allow manager localhost
http_access deny purge
http_access deny !Safe_ports
http_access allow purge localhost
http_access deny CONNECT !SSL_ports
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
http_access deny MAC_NAO_LIBERADO
http_access allow MAC_LIBERADO
acl bloqueados url_regex -i "/etc/squid/bloqueados"
http_access deny bloqueados
acl palavrasproibidas dstdom_regex "/etc/squid/palavrasproibidas"
http_access deny palavrasproibidas
acl redelocal src 10.10.10.0/24
http_access allow localhost
http_access allow redelocal
http_access deny all