marlonfm
(usa Debian)
Enviado em 10/09/2015 - 06:46h
# Galera não consigo liberar via grupos do ad wbinfo -t retorna ok
# se alguém puder dar uma luz agradeço !
visible_hostname FW-NOVO
hierarchy_stoplist cgi-bin ?
cache_mem 512 MB
maximum_object_size_in_memory 10 KB
maximum_object_size 10 MB
minimum_object_size 1 KB
pipeline_prefetch on
detect_broken_pconn on
shutdown_lifetime 1 second
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
half_closed_clients off
ipcache_size 4096
fqdncache_size 8192
cache_swap_low 80
cache_swap_high 90
cache_store_log none
check_hostnames on
cache_access_log /var/log/squid3/access.log
acl sites_federal dstdomain gov.br
acl sites_governo dstdomain .ba.gov.br
http_access allow sites_governo
http_access allow sites_federal
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 30
auth_param ntlm keep_alive on
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
external_acl_type grupo_ad %LOGIN /usr/lib/squid3/wbinfo_group.pl
acl grp-decom external grupo_ad decom
acl grp-deplam external grupo_ad deplam
acl grp-liberados external grupo_ad liberados
acl negados dstdomain -i "/etc/squid3/negados.txt"
acl liberados dstdomain -i "/etc/squid3/liberados"
acl sitebloqueio url_regex -i "/etc/squid3/sitebloqueio.txt"
# acl streaming req_mime_type ^video/x-ms-asf
# acl videomusic urlpath_regex -i \.aif$ \.aifc$ \.aiff$ \.asf$ \.asx$ \.avi$ \.au$ \.m3u$ \.med$ \.m1v$ \.mp2$ \.mp2v$ \.mpa$ \.mov$ \.mpe$ \.mpg$ \.mpeg$ \.ogg$ \.pls$ \.ram$ \.ra$ \.ram$ \.snd$ \.wma$ \.wmv$ \.wvx$ \.mid$ \.midi$ \.rmi$ \.flv$
# http_access deny videomusic
http_reply_access allow liberados
#http_reply_access deny streaming
http_reply_access deny sitebloqueio
acl Autenticados proxy_auth REQUIRED
http_access allow grp-decom
http_access allow grp-deplam
http_access allow grp-liberados
http_access allow liberados
http_access deny negados
http_access allow Autenticados !negados
dns_nameservers 10.73.0.7
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl ip_liberado src 10.73.0.38 10.73.0.49 10.73.0.50 10.73.0.51 10.73.0.52 10.73.0.53 10.73.0.54 10.73.0.55 10.73.0.56 10.73.0.57 10.73.0.61 10.73.1.180 10.73.1.181 10.73.1.182 10.73.1.183 10.73.1.184 10.73.1.185 10.73.1.186
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 407 # solicitacao luiz
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access allow ip_liberado
http_access deny CONNECT !SSL_ports
http_access deny sitebloqueio
http_access allow localhost
acl libjava url_regex javadl-esd.sun.com/*
http_access allow libjava
acl libjava2 url_regex javadl-esd-secure.oracle.com
http_access allow libjava2
http_access deny all
http_port 3128 transparent
#err_html_text geti@
#deny_info proxy.html bloqueio
coredump_dir /var/spool/squid3
refresh_pattern -i \.jpg$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.gif$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.png$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.jpeg$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.bmp$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.tif$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.tiff$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.swf$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.html$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.htm$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.shtml$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.shtm$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.mov$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.avi$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.mpg$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.mpeg$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.qtm$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.flv$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.wav$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.au$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.mid$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.mp3$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.zip$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.gz$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.arj$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.lha$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.lzh$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.rar$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.tgz$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.tar$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.Z$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.sit$ 1440 100% 43200 reload-into-ims
refresh_pattern -i \.pdf$ 1440 100% 43200 reload-into-ims
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user proxy
cache_effective_group proxy