This is a discussion on Help needed with delay pools within the Squid Users forums, part of the Web Server and Related Forums category; Hi all, I'm trying to get 2 pools created each with different bucket sizes and fill rates for 2 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I'm trying to get 2 pools created each with different bucket sizes and fill rates for 2 different acls. However after changing the acl file and restarting squid no users have any web access via their browser. Can anyone tell me what I've done wrong. The acl file is below, and thanks in advance. Greg cache_mem 8 MB maximum_object_size_in_memory 32 KB cache_replacement_policy heap GDSF memory_replacement_policy heap GDSF half_closed_clients off cache_swap_high 100% cache_swap_low 80% shutdown_lifetime 3 seconds icp_port 0 acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_effective_user squid cache_effective_group squid pid_filename /var/run/squid.pid cache_access_log /var/log/squid/access.log cache_log /var/log/squid/cache.log cache_store_log none error_directory /usr/local/squid/etc/smootherrors emulate_httpd_log on log_mime_hdrs off forwarded_for off acl all src 0.0.0.0/0.0.0.0 acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 445 443 441 563 acl Safe_ports port 80 # http acl Safe_ports port 81 # smoothwall http acl Safe_ports port 21 # ftp acl Safe_ports port 445 443 441 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 localhost http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localnet http_access deny all ########################################## # delay_pools config ########################################## # Create a privileged class. delay_pools 2 delay_class 1 1 delay_class 1 2 delay_parameters 1 64000/128000 delay_parameters 2 2048/64000 acl myFriend src 192.168.0.103/32 delay_access 1 allow myFriend delay_access 2 allow all |