Guest User

Untitled

a guest
Jun 20th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. http_port 3128
  2. 2 cache_effective_user proxy
  3. 3 #cache_effective_group proxy
  4. 4 cache_log /var/log/squid3/cache.log
  5. 5 cache_access_log /var/log/squid3/access.log
  6. 6 cache_store_log /var/log/squid3/store.log
  7. 7 hierarchy_stoplist cgi-bin ?
  8. 8 acl QUERY urlpath_regex cgi-bin \?
  9. 9 no_cache deny QUERY
  10. 10
  11. 11 refresh_pattern ^ftp: 1440 20% 10080
  12. 12 refresh_pattern ^gopher: 1440 0% 1440
  13. 13 refresh_pattern . 0 20% 4320
  14. 14 acl all src 192.168.1.0/255.255.255.0
  15. 15 acl manager proto cache_object
  16. 16 acl localhost src 127.0.0.1/255.255.255.255
  17. 17 acl to_localhost dst 127.0.0.0/8
  18. 18 acl SSL_ports port 443 563
  19. 19 acl Safe_ports port 80 # http
  20. 20 acl Safe_ports port 21 # ftp
  21. 21 acl Safe_ports port 443 563 # https, snews
  22. 22 acl Safe_ports port 70 # gopher
  23. 23 acl Safe_ports port 210 # wais
  24. 24 acl Safe_ports port 1025-65535 # unregistered ports
  25. 25 acl Safe_ports port 280 # http-mgmt
  26. 26 acl Safe_ports port 488 # gss-http
  27. 27 acl Safe_ports port 591 # filemaker
  28. 28 acl Safe_ports port 777 # multiling http
  29. 29 acl CONNECT method CONNECT
  30. 30
  31. 31
  32. 32 auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
  33. 33 auth_param ntlm children 30
  34. 34 auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
  35. 35 auth_param basic children 5
  36. 36 auth_param basic realm Squid proxy-caching web server
  37. 37 auth_param basic credentialsttl 2 hours
  38.  
  39. 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. 40
  41. 41
  42. 42 #auth_param basic casesensitive off
  43. 43 #authenticate_cache_garbage_interval 10 seconds
  44. 44 authenticate_ttl 0 seconds
  45. 45 acl AuthorizedUsers proxy_auth REQUIRED
  46. 46 http_access allow all AuthorizedUsers
  47. 47 http_access allow manager localhost
  48. 48 http_access deny manager
  49. 49 http_access deny !Safe_ports
  50. 50 http_access deny CONNECT !SSL_ports
  51. 51 http_access allow all
  52. 52 http_reply_access allow all
  53. 53 icp_access allow all
  54. 54 coredump_dir /var/log/squid3/cache
Add Comment
Please, Sign In to add comment