schock_cyb
(usa Kurumin)
Enviado em 17/06/2008 - 22:27h
Fla ai pessoal, sou meio lego,,,to apredendo..
to usando o squid no windows..ate q funciona bem..mas não consigo usar delay pool nele ...será q podem me da uma ideia do que fazer..
segue o config
___
http_port 3128
visible_hostname SchockCyber
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 100 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 50 MB
minimum_object_size 0 MB
maximum_object_size_in_memory 1 MB
cache_dir aufs /squid/var/cache 20000 32 256
access_log /squid/var/logs/acess.log squid
cache_log /squid/var/logs/cache.log
cache_store_log /squid/var/logs/store.log
mime_table /squid/etc/mime.conf
pid_filename /squid/var/logs/squid.pid
unlinkd_program /squid/libexec/unlinkd.exe
icon_directory /squid/share/icons
error_directory /squid/share/errors/Portuguese
coredump_dir /squid/var
emulate_httpd_log on
refresh_pattern ^ftp: 15 20% 1440
refresh_pattern ^gopher: 15 20% 1440
refresh_pattern . 15 20% 1449
acl sitesblokeados url_regex -i "/squid/acessos/block.txt"
acl lan url_regex -i "/squid/acessos/iplan.txt"
acl clientes url_regex -i "/squid/acessos/ipclientes.txt"
acl eu src 192.168.254.1
acl server src 192.168.254.100
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
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 #https
acl Safe_ports port 70 #gopher
acl Safe_ports port 210 #wais
acl Safe_ports port 1025-65535 #portas não-registradas (>1024)
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 443 563 #https,snews
acl purge method PURGE
acl CONNECT method CONNECT
acl hora time 09:00-23:59
acl arquivos url_regex -i ftp .mov .mpeg .wav .tar .mp3 .zip .kgb .mp4 .flv .avi .exe .midi .doc .xls .ppt .7zip
icp_access allow all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny sitesblokeados
http_access allow lan
http_access allow server
http_access allow eu
http_access deny all
http_access deny purge
pid_filename /var/run/squid.pid
cache_effective_user squid
dns_testnames google.com.br netscape.com yahoo.com
#delay_initial_bucket_level 50
#delay_pools 2
#delay_class 1 2
#delay_parameters 1 -1/-1 -1/-1
#delay_access 1 allow eu
#delay_access 1 allow server
#delay_class 2 2
#delay_parameters 2 1500/1500 1500/1500
#delay_access 2 allow dia
#delay_access 2 deny !dia
#delay_access 2 allow arquivos
#delay_access 2 allow lan
#delay_access 2 allow clientes