![Question :?:](./images/smilies/icon_question.gif)
Squid/2.3.STABLE4, red hat 7.1, rejik 3.2.0
squid.conf
http_port 3128
icp_port 3130
cache_peer 212.3.х.х parent 3128 0 no-query
emulate_httpd_log on
dns_nameservers 212.3.х.х
redirect_program /usr/local/squid/bin/rredir
authenticate_program /usr/local/squid/bin/ncsa_auth /usr/local/squid/users/passwd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_min 16 KB
quick_abort_max 128 KB
acl users proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl tnu src 192.168.0.0/24 192.168.2.10
acl tnu_dst1 dst 192.168.0.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 81 21 443 563 70 210 1025-65535
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 CONNECT method CONNECT
acl Banners url_regex "/usr/local/squid/etc/ads/banners"
acl Banners url_regex "/usr/local/squid/etc/ads/hosts"
acl Banners url_regex "/usr/local/squid/etc/ads/mybanners"
acl Porno url_regex "/usr/local/squid/etc/ads/porno"
acl NoBanners url_regex "/usr/local/squid/etc/ads/nobanners"
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny Banners
http_access allow users !Banners !Porno
deny_info ERR_ACCESS_DENIED1 Banners
http_access deny Porno
deny_info ERR_ACCESS_DENIED2 Porno
http_access allow NoBanners
http_access deny all
icp_access allow all
miss_access allow all
cache_effective_user squid
cache_effective_group squid
hostname_aliases resys.dvl.im.net.ua
always_direct deny tnu
never_direct allow tnu