Guest User

Untitled

a guest
Feb 22nd, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd
  2. auth_param basic realm Private
  3. auth_param basic credentialsttl 2 hours
  4. auth_param basic casesensitive off
  5.  
  6. acl localhost src 127.0.0.1/32 ::1
  7. acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
  8.  
  9. acl SSL_ports port 443
  10. acl SSL_ports port 80
  11. acl Safe_ports port 80 # http
  12. acl Safe_ports port 21 # ftp
  13. acl Safe_ports port 443 # https
  14. acl LAN src 192.168.0.0/24
  15. acl CONNECT method CONNECT
  16.  
  17. acl ncsa_users proxy_auth REQUIRED
  18.  
  19. http_port 21422
  20. dns_v4_first on
  21. cache_dir ufs /var/spool/squid3 400 16 256
  22. cache deny LAN
  23. visible_hostname godmode.ca
  24. via off
  25. forwarded_for off
  26. follow_x_forwarded_for deny all
  27.  
  28. http_access allow LAN
  29. http_access allow ncsa_users
  30. http_access allow localhost
  31. http_access deny !Safe_ports
  32. http_access deny CONNECT !SSL_ports
  33. http_access allow localhost
  34. http_access deny all
  35.  
  36. header_replace User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/534.48.3 (KHTML, like Gecko) Version/5.1 Safari/534.48.3
  37.  
  38. request_header_access Allow allow all
  39. request_header_access Authorization allow all
  40. request_header_access WWW-Authenticate allow all
  41. request_header_access Proxy-Authorization allow all
  42. request_header_access Proxy-Authenticate allow all
  43. request_header_access Content-Encoding allow all
  44. request_header_access Content-Length allow all
  45. request_header_access Content-Type allow all
  46. request_header_access Date allow all
  47. request_header_access Expires allow all
  48. request_header_access Host allow all
  49. request_header_access If-Modified-Since allow all
  50. request_header_access Last-Modified allow all
  51. request_header_access Location allow all
  52. request_header_access Pragma allow all
  53. request_header_access Accept allow all
  54. request_header_access Accept-Charset allow all
  55. request_header_access Accept-Encoding allow all
  56. request_header_access Accept-Language allow all
  57. request_header_access Content-Language allow all
  58. request_header_access Mime-Version allow all
  59. request_header_access Retry-After allow all
  60. request_header_access Title allow all
  61. request_header_access Connection allow all
  62. request_header_access Proxy-Connection allow all
  63. request_header_access User-Agent allow all
  64. request_header_access Cookie allow all
  65. request_header_access Referer deny all
  66. request_header_access X-Forwarded-For deny all
  67. request_header_access Via deny all
  68. request_header_access All deny all
  69. request_header_access Cache-Control deny all
  70. httpd_suppress_version_string on
Advertisement
Add Comment
Please, Sign In to add comment