You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
935 B

  1. acl localnet src 10.0.0.0/8
  2. acl localnet src 172.16.0.0/12
  3. acl localnet src 192.168.0.0/16
  4. acl localnet src fc00::/7
  5. acl localnet src fe80::/10
  6. acl ssl_ports port 443
  7. acl safe_ports port 80
  8. acl safe_ports port 21
  9. acl safe_ports port 443
  10. acl safe_ports port 70
  11. acl safe_ports port 210
  12. acl safe_ports port 1025-65535
  13. acl safe_ports port 280
  14. acl safe_ports port 488
  15. acl safe_ports port 591
  16. acl safe_ports port 777
  17. acl connect method connect
  18. http_access deny !safe_ports
  19. http_access deny connect !ssl_ports
  20. http_access allow localhost manager
  21. http_access deny manager
  22. http_access deny to_localhost
  23. http_access allow localnet
  24. http_access allow localhost
  25. http_access deny all
  26. refresh_pattern ^ftp: 1440 20% 10080
  27. refresh_pattern ^gopher: 1440 0% 1440
  28. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  29. refresh_pattern . 0 20% 4320
  30. access_log none
  31. cache_log /dev/null
  32. cache_store_log stdio:/dev/null
  33. logfile_rotate 0
  34. logfile_daemon /dev/null