Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http_port 3128
- acl QUERY urlpath_regex cgi-bin \?
- no_cache deny QUERY
- acl apache rep_header Server ^Apache
- cache_mem 256 MB
- maximum_object_size 4Mb
- cache_replacement_policy lru
- cache_dir aufs /Storage/squid-cache 8129 16 256
- access_log /Storage/system-logs/squid/squid.log squid
- cache_log /dev/null
- mime_table /etc/squid/mime.conf
- client_netmask 255.255.255.255
- hosts_file /etc/hosts
- refresh_pattern ^ftp: 1440 20% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern . 0 20% 4320
- connect_timeout 20 second
- half_closed_clients on
- shutdown_lifetime 3 second
- acl manager_ip src 127.0.0.1/32
- acl sqstat proto cache_object
- acl purge method PURGE
- http_access allow sqstat manager_ip
- http_access allow manager manager_ip
- http_access allow purge manager_ip
- auth_param basic program /usr/libexec/squid/basic_ncsa_auth /etc/squid/passwd
- auth_param basic children 9
- auth_param basic realm Squid
- auth_param basic credentialsttl 2 hours
- auth_param basic casesensitive off
- acl p_users proxy_auth REQUIRED
- http_access allow p_users
- http_access deny !p_users
- acl admin_acl proxy_auth admin
- acl student_acl proxy_auth student
- acl pdd_acl proxy_auth pdd308 pdd414
- acl other_acl proxy_auth polyakova makarovskaya lemara kafedra414 dmitry406cab prep406user prep406user2 sanov gorlenko urist405 ohrena archive metod_cab sekretar akinshina sharaya
- delay_pools 4
- delay_class 1 1
- delay_parameters 1 6291456/6291456
- delay_access 1 allow admin_acl
- delay_class 2 1
- delay_parameters 2 524288/524288
- delay_access 2 allow student_acl
- delay_class 3 1
- delay_parameters 3 716800/716800
- delay_access 3 allow pdd_acl
- delay_class 4 1
- delay_parameters 4 524288/524288
- delay_access 4 allow other_acl
- acl webserver src satt.local
- acl SSL_ports port 443 # https
- acl Safe_ports port 80 # http
- acl Safe_ports port 21 # ftp
- acl Safe_ports port 443 # https
- acl CONNECT method CONNECT
- acl satt_network src 192.168.0.0/16
- http_access allow satt_network
- cache deny QUERY
- http_access deny purge
- http_access allow manager webserver
- http_access allow localhost
- http_access deny manager
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access deny all
- url_rewrite_program /usr/bin/squidGuard -c /etc/squidGuard/squidGuard.conf -d
- url_rewrite_children 64 startup=16 idle=8 concurrency=2
- url_rewrite_access deny webserver
- http_reply_access allow all
- icp_access allow all
- cache_mgr root
- cache_effective_user squid
- cache_effective_group squid
- visible_hostname satt.local
- cachemgr_passwd pass all
- coredump_dir /tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement