Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http_port 3128
- 2 cache_effective_user proxy
- 3 #cache_effective_group proxy
- 4 cache_log /var/log/squid3/cache.log
- 5 cache_access_log /var/log/squid3/access.log
- 6 cache_store_log /var/log/squid3/store.log
- 7 hierarchy_stoplist cgi-bin ?
- 8 acl QUERY urlpath_regex cgi-bin \?
- 9 no_cache deny QUERY
- 10
- 11 refresh_pattern ^ftp: 1440 20% 10080
- 12 refresh_pattern ^gopher: 1440 0% 1440
- 13 refresh_pattern . 0 20% 4320
- 14 acl all src 192.168.1.0/255.255.255.0
- 15 acl manager proto cache_object
- 16 acl localhost src 127.0.0.1/255.255.255.255
- 17 acl to_localhost dst 127.0.0.0/8
- 18 acl SSL_ports port 443 563
- 19 acl Safe_ports port 80 # http
- 20 acl Safe_ports port 21 # ftp
- 21 acl Safe_ports port 443 563 # https, snews
- 22 acl Safe_ports port 70 # gopher
- 23 acl Safe_ports port 210 # wais
- 24 acl Safe_ports port 1025-65535 # unregistered ports
- 25 acl Safe_ports port 280 # http-mgmt
- 26 acl Safe_ports port 488 # gss-http
- 27 acl Safe_ports port 591 # filemaker
- 28 acl Safe_ports port 777 # multiling http
- 29 acl CONNECT method CONNECT
- 30
- 31
- 32 auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
- 33 auth_param ntlm children 30
- 34 auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
- 35 auth_param basic children 5
- 36 auth_param basic realm Squid proxy-caching web server
- 37 auth_param basic credentialsttl 2 hours
- external_acl_type ldap_group %LOGIN /usr/lib/squid3/squid_ldap_group -R -b "dc=enge,dc=br" -D "cn=Administrator,cn=Users,dc=enge,dc=br" -w "a12345*" -f "(&(objectcl ass=person)(sAMAccountName=%v)(memberof=cn=%a,cn=users,dc=enge,dc=br))" -h 192.168.1.71
- 40
- 41
- 42 #auth_param basic casesensitive off
- 43 #authenticate_cache_garbage_interval 10 seconds
- 44 authenticate_ttl 0 seconds
- 45 acl AuthorizedUsers proxy_auth REQUIRED
- 46 http_access allow all AuthorizedUsers
- 47 http_access allow manager localhost
- 48 http_access deny manager
- 49 http_access deny !Safe_ports
- 50 http_access deny CONNECT !SSL_ports
- 51 http_access allow all
- 52 http_reply_access allow all
- 53 icp_access allow all
- 54 coredump_dir /var/log/squid3/cache
Add Comment
Please, Sign In to add comment