Прошу сильно не пинать - только начал разбираться со сквидом
есть канал 64к, сквид на FreeBSD
попробовал строить - получилось вот так
Код: http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
redirect_program /usr/local/bin/squidGuard
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl v_all src 195.55.5.0/255.255.255.0
acl comp1 src 195.55.5.220/255.255.255.255
acl comp2 src 195.55.5.203/255.255.255.255
acl sergey src 195.55.5.232/255.255.255.255
acl sacha src 195.55.5.235/255.255.255.255
acl fedija src 195.55.5.248/255.255.255.255
acl mobile src 195.55.55.11/255.255.255.255
#acl unlimited src comp1 comp3
#acl traffic src comp2
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
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 CONNECT method CONNECT
http_access allow manager localhost
http_access allow comp1 comp2 sacha sergey fedija mobile
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_reply_access allow all
icp_access allow all
acl SitesWarez dstdomain .nnm.ru .kpnemo.ru .poxe.ru .realmusic.ru publ.lib.ru .xakep.ru uk.nzone.com proklondike.com
acl media urlpath_regex -i \.mp3$ \.asf$ \.wma$ \.avi$ \.mpg$
acl ispoln urlpath_regex -i \.exe$ \.cab$ \.msi$ \.zip$ \.rar$
delay_pools 2
delay_class 1 1
delay_class 2 1
delay_parameters 1 -1/-1
delay_access 1 allow comp1
delay_access 1 deny all
delay_parameters 2 1000/500
http_access deny SitesWarez
delay_access 2 allow comp2 sergey fedija mobile
delay_access 2 deny all
coredump_dir /usr/local/squid/cache