Hi
I use squid 2.5 stable5.
Without squid my internet 512 kb/s
With squid only 60-80 kb/s.
This is my squid.conf:
isible_hostname xy.dddd.com
http_port 3128
icp_port 3130
cache_mem 64 MB
maximum_object_size 32000 KB
maximum_object_size_in_memory 16000 KB
cache_replacement_policy lru
memory_replacement_policy lru
#cache_peer 10.1.12.3 parent 3128 0 no-query default
#peer_connect_timeout 4000
udp_incoming_address 0.0.0.0
udp_outgoing_address 255.255.255.255
#hierarchy_stoplist cgi-bin ?=20
cache_dir ufs /var/spool/squid 4000 32 1024
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
log_ip_on_direct on
pid_filename /var/run/squid.pid
log_fqdn on
ftp_list_width 32
ftp_passive on
#dns_nameservers 213.134.20.2 212.40.96.52
dns_nameservers /etc/resolv.conf
#diskd_program /usr/libexec/diskd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
ie_refresh on
cache_effective_user proxy
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_single_host off
############################### ACCESS CONTROLS=20 hierarchy_stoplist
cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY
acl all src 0.0.0.0/0.0.0.0
#acl password proxy_auth REQUIRED
acl purge method PURGE
acl src_local src 127.0.0.0/8
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 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
acl our_networks src "/etc/squid/ipcimek"
acl admin_url src 192.168.100.2 192.168.100.153
acl tilos_oldalak url_regex "/etc/squid/acl/oldalak"
acl szavak url_regex -i "/etc/squid/acl/szavak"
acl bad url_regex -i \.exe* \.scr* \.zip* \.rar*=20
acl szavak_jo url_regex -i "/etc/squid/acl/szavak_jo"
http_access allow szavak_jo
http_access deny tilos_oldalak
http_access deny szavak
http_access deny bad !admin_url
#never_direct allow our_networks
http_access allow our_networks
http_access allow purge src_local
http_access allow manager localhost
#http_access allow password
http_access deny purge
http_access deny !Safe_ports
http_access deny manager
http_access deny all
http_access deny CONNECT !SSL_ports
############################### BANDWIDTH SETTINGS=20
delay_pools 2
delay_class 1 3
delay_class 2 3
#acl vip src "/etc/squid/vip"
acl common src "/etc/squid/ipcimek"
#delay_access 1 allow vip
delay_access 1 deny all
delay_access 2 allow common
delay_access 2 deny all
delay_parameters 1 -1/-1 -1/-1 -1/-1
delay_parameters 2 -1/-1 -1/-1 5000/5000
delay_initial_bucket_level 500
Received on Wed Jul 07 2004 - 07:17:21 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT