На ваш СУД )
http_port 192.168.2.3:3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_mem 220 MB
no_cache deny QUERY
cache_dir ufs /usr/local/spool/squid 220 16 256
debug_options ALL, 5
#/////////////////////////////////////////////////Authentification///////////////////////////////////////////////////////
auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -R -D test@or.local -W /usr/local/etc/squid/adpw.txt -b "dc=or,dc=local" -f "sAMAccountName=%s" 192.168.2.9
auth_param basic children 100
auth_param basic credentialsttl 3 hours
external_acl_type ldap_users %LOGIN /usr/local/libexec/squid/squid_ldap_group -R -b "dc=or,dc=local" -f "(&(sAMAccountName=%v)(memberOf=cn=%a,cn=Users,dc=or,dc=local))" -D test@eor.local -w test -h 192.168.2.9
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 2083 563 6669 6668 6667 9091 993
acl Safe_ports port 80 # http
acl Safe_ports port 8080 # 8080
acl Safe_ports port 21 20 17 58 65 # ftp
squid.conf [B---] 0 L:[ 54+17 71/142] *(3623/5708b) 10 0x00A
acl Safe_ports port 8080 # 8080
acl Safe_ports port 21 20 17 58 65 # ftp
acl Safe_ports port 2121 # froxserver
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 5222 # jabber
acl Safe_ports port 5300 # qui
acl Safe_ports port 119 # news
acl Safe_ports port 5190 # icq
acl irc port 6667-6669 #irc
acl CONNECT method CONNECT
acl eor_internet external ldap_users internet
acl eor_itc external ldap_users itc
acl local_eor dstdom_regex eor eor.samara.ru
acl all src 0.0.0.0/0.0.0.0
acl windowsupdate dstdomain -i "/usr/local/etc/squid/windowsupdate"
no_cache deny windowsupdate
http_access allow windowsupdate
acl micro_act dstdom_regex microsoft\.com$
http_access allow micro_act
acl contakt dstdomain -i "/usr/local/etc/squid/contakt"
no_cache deny contakt
http_access allow eor_internet
delay_pools 3
delay_class 1 2
delay_class 2 2
delay_class 3 1
delay_access 3 allow eor_internet
delay_access 3 deny all
delay_parameters 1 -1/-1 1000/500000
delay_parameters 2 -1/-1 10000/1000000
delay_parameters 3 -1/-1 100000/10000000
delay_access 1 deny all
delay_access 2 deny all
delay_access 3 deny all
error_directory /usr/local/etc/squid/errors/ru
#/////////////////////////////LOG///////////////////////////////////////////////
coredump_dir /var/log/squid
access_log /var/log/squid/access.log