Enviado em 05/07/2013 - 13:29h
Obrigado pelas ajudas prestadas. O squid -k parse não RETORNA NADA.
http_port 3128
#
#Recommended minimum configuration per scheme:
#auth_param negotiate program <uncomment and complete this line to activate>
#auth_param negotiate children 5
#auth_param negotiate keep_alive on
#*#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 digest program <uncomment and complete this line>
#auth_param digest children 5
#auth_param digest realm Squid proxy-caching web server
#auth_param digest nonce_garbage_interval 5 minutes
#auth_param digest nonce_max_duration 30 minutes
#auth_param digest nonce_max_count 50
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm AUTENTICACAO
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#
#Default:
#external_acl_type ldap_group %LOGIN /usr/lib/squid/squid_ldap_group -R -b "dc=network,dc=local" -D cn=mimeweb,ou=Usuarios_de_sistemas_e_correio_RJ,ou=RJ,ou=Organizacao,dc=network,dc=local -w mi88kx2 -f "(|(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=Grupos_RJ,ou=RJ,ou=Organizacao,dc=network,dc=local)(memberof=cn=%a,ou=Grupos_DQX,ou=DQX,ou=Organizacao,dc=network,dc=local))" -h vulcano.network.local
external_acl_type ldap_group %LOGIN /usr/lib/squid/squid_ldap_group -R -b "dc=network,dc=local" -D cn=mimeweb,ou=Usuarios_de_sistemas_e_correio_RJ,ou=RJ,ou=Organizacao,dc=network,dc=local -w mi88kx2 -f "(&(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=Grupos_RJ,ou=RJ,ou=Organizacao,dc=network,dc=local))" -h vulcano.network.local
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localdomain dstdomain network.local
#
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 10.1.0.0/16 # RFC1918 possible internal network
acl localnet src 10.21.0.0/16
#
# ACL Personalizadas
acl autentication proxy_auth REQUIRED
acl internet external ldap_group internetrj
#*#acl dqx external ldap_group internetdqx
#*#acl donwload external ldap_group downloadrj
#*#acl libera_webmail external ldap_group libera_webmail
#*#acl executaveis external ldap_group libera_download_executaveis
acl extension url_regex -i .exe .msi
acl blacklist_webmail dstdomain "/etc/squid/ACLs/blacklist_webmail"
#
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
acl QUERY urlpath_regex cgi-bin \?
no_cache deny localdomain
no_cache deny QUERY
#Default:
# http_access deny all
#
#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Only allow purge requests from localhost
http_access allow purge localhost
http_access deny purge
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
#http_access deny extension !executaveis
#http_access deny blacklist_webmail !libera_webmail
http_access allow autentication internet
#http_access allow autentication dqx
#*#LIBERADO TEMPORARIAMENTE
http_access allow localnet
http_access allow localhost
icp_access allow localnet
icp_access deny all
hierarchy_stoplist cgi-bin ?
#Default:
cache_mem 512 MB
#Default:
maximum_object_size_in_memory 64 KB
#Default:
memory_replacement_policy heap GDSF
#Default:
cache_replacement_policy heap LFUDA
#Default:
cache_dir diskd /var/spool/squid 65536 64 256 Q1=64 Q2=72
#Default:
minimum_object_size 0 KB
#Default:
maximum_object_size 128 MB
#Default:
cache_swap_low 50
cache_swap_high 90
access_log /var/log/squid/access.log squid
#Default:
pid_filename /var/run/squid.pid
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
# example line deb packages
#refresh_pattern (\.deb|\.udeb)$ 129600 100% 129600
refresh_pattern . 0 20% 4320
#Default:
# request_header_max_size 20 KB
request_header_max_size 128 KB
#Default:
# reply_header_max_size 20 KB
reply_header_max_size 128 KB
#Default:
cache_effective_user squid
#Default:
cache_effective_group squid
#visible_hostname "set"
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid
cache_effective_group root
hosts_file /etc/hosts