Guest User

Untitled

a guest
Nov 17th, 2015
115
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. auth_param basic program /usr/lib/squid3/basic_ncsa_auth /sap/squid/passwd
  2. auth_param basic children 4
  3. auth_param basic utf8 on
  4. auth_param basic realm Bitte geben Sie Ihren Benutzernamen und Passwort fuer die Internetberechtigung ein!
  5. auth_param basic credentialsttl 60 minutes
  6. auth_param basic casesensitive on
  7.  
  8. #cache_peer debian.fritz.box sibling 3128 0 max-conn=128 default connection-auth=off proxy-only
  9.  
  10. acl ncsa_users proxy_auth REQUIRED
  11. external_acl_type blockscript ttl=60 children-startup=5 children-max=10 children-idle=1 %LOGIN %DST /sap/squid/block.sh
  12.  
  13. acl ncsa_users proxy_auth REQUIRED
  14. acl mysql_block external blockscript
  15.  
  16. acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
  17. acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
  18. acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
  19. acl localnet src fc00::/7 # RFC 4193 local private network range
  20. acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
  21.  
  22. acl SSL_ports port 443
  23. acl Safe_ports port 80 # http
  24. acl Safe_ports port 21 # ftp
  25. acl Safe_ports port 443 # https
  26. acl Safe_ports port 70 # gopher
  27. acl Safe_ports port 210 # wais
  28. acl Safe_ports port 1025-65535 # unregistered ports
  29. acl Safe_ports port 280 # http-mgmt
  30. acl Safe_ports port 488 # gss-http
  31. acl Safe_ports port 591 # filemaker
  32. acl Safe_ports port 777 # multiling http
  33. acl CONNECT method CONNECT
  34.  
  35. http_access deny !Safe_ports
  36. http_access deny CONNECT !SSL_ports
  37.  
  38. http_access allow ncsa_users
  39. http_access allow !mysql_block
  40. http_access allow localnet
  41. http_access allow localhost
  42.  
  43. http_access deny all
  44.  
  45. http_port 3128
  46.  
  47. cache_mgr jkallup@web.de
  48. cache_mem 8 MB
  49.  
  50. cache_effective_user squid
  51. cache_effective_group squid
  52.  
  53. hierarchy_stoplist cgi-bin ?
  54.  
  55. cache_dir ufs /sap/var/spool/squid 64 16 128
  56. cache_access_log /sap/squid/log/access.log
  57. cache_log /sap/squid/log/cache.log
  58. cache_store_log none
  59.  
  60. # Leave coredumps in the first cache dir
  61. coredump_dir /sap/var/spool/squid
  62.  
  63. pid_filename /sap/squid/squid3.pid
  64.  
  65. # Add any of your own refresh_pattern entries above these.
  66. refresh_pattern ^ftp: 1440 20% 10080
  67. refresh_pattern ^gopher: 1440 0% 1440
  68. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  69. refresh_pattern . 0 20% 4320
  70.  
  71. logformat squid %tl.%03tu %6tr %>a %un %Ss/%03>Hs %<st %rm %ru %Sh/%<A %mt
RAW Paste Data