[squid-users] squid 2.1 and squid 2.5 stable2

From: Andi Hari Cahyono <andi@dont-contact.us>
Date: Sun, 6 Apr 2003 03:03:40 -0400

Hello all,

I've two connections to ISP. The first connection is dial-up and the second one is adsl.
For the first connection i'm using squid 2.1 ( FreeBSD 4.3)
and bandwidth is 64 Kbps. for adsl i'm using squid 2.5 stable2 ( Suse 8.1 ) and bandwidth is 256 Kbps
I'm using the same ISP's proxy as a parent both in FBSD and Suse.
Unfortunately when i opened msn.com and click sign-in button squid 2.5
take a long time to process , i can't open my yahoo mail with squid 2.5 but i can open my yahoo mail with squid 2.1
It looks so strange for me..^_^

here is my squid.conf in squid 2.5
 
proxy:/data/log # more /etc/squid/etc/squid.conf

http_port 3128
icp_port 3130
cache_peer proxy.awalnet.net.sa parent 8080 0
icp_query_timeout 300
maximum_icp_query_timeout 1800
mcast_icp_query_timeout 1800
dead_peer_timeout 90 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /data/cache/squid 1200 256 256
cache_access_log /data/log/access.log
cache_log /data/log/cache.log
cache_store_log /data/log/store.log
emulate_httpd_log off
log_ip_on_direct on
pid_filename /data/log/squid.pid
dns_nameservers 212.93.192.4 212.93.192.5
hosts_file /etc/hosts
redirect_children 5
auth_param basic program /etc/squid/sbin/ncsa_auth /etc/squid/squid.passwd
auth_param basic children 5
auth_param basic realm Al-Tuwairqi proxy-caching web server
auth_param basic credentialsttl 2 hours
request_header_max_size 10 KB
request_body_max_size 0 KB
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 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
range_offset_limit 0 KB
connect_timeout 5 minutes
peer_connect_timeout 60 seconds
read_timeout 15 minutes
request_timeout 5 minutes
client_lifetime 1 day
half_closed_clients on
shutdown_lifetime 30 seconds
#Recommended minimum configuration:
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 local dst 10.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
always_direct allow local
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl password proxy_auth REQUIRED
http_access allow password
http_access deny all
http_reply_access allow all
icp_access allow all
miss_access allow all
cache_mgr it@altuwairqi.com.sa
cache_effective_user squid
visible_hostname proxy.altuwairqi.com.sa
unique_hostname proxy.altuwairqi.com.sa
query_icmp off

and here is my access.log

proxy:/etc/squid/etc # tail -f /data/log/access.log

1049639773.051 127187 10.10.16.27 TCP_MISS/000 0 GET http://c.msn.com/c.gif? andi NONE/- -
1049639774.741 1472 10.10.16.27 TCP_MISS/000 0 GET http://login.passport.com/login.srf? andi NONE/- -
1049639918.314 601727 10.10.16.27 TCP_MISS/504 1451 GET http://us.update.companion.yahoo.com/slv/v4/not? andi NONE/- text/html
1049639948.242 302399 10.10.16.27 TCP_MISS/504 1457 GET http://us.update.companion.yahoo.com/slv/v4/1.html? andi NONE/- text/html
1049640057.701 993 10.10.16.27 TCP_MISS/000 0 GET http://c.msn.com/c.gif? andi NONE/- -
1049640359.253 302558 10.10.16.27TCP_MISS/504 1457 GET http://us.update.companion.yahoo.com/slv/v4/1.html? andi NONE/- text/html
1049640359.253 301108 10.10.16.27 TCP_MISS/504 1427 GET http://login.passport.com/login.srf? andi NONE/- text/html
1049640661.432 302147 10.10.16.27 TCP_MISS/504 1457 GET http://us.update.companion.yahoo.com/slv/v4/1.html? andi NONE/- text/html
1049640878.902 602259 10.10.16.27 TCP_MISS/504 1451 GET http://us.update.companion.yahoo.com/slv/v4/not? andi NONE/- text/html

And my here is from /var/log/messages

proxy:/etc/squid/etc # tail -f /var/log/messages
Apr 6 09:40:54 proxy squid[14728]: 0 Swapfile clashes avoided.
Apr 6 09:40:54 proxy squid[14728]: Took 0.4 seconds (2796.7 objects/sec).
Apr 6 09:40:54 proxy squid[14728]: Beginning Validation Procedure
Apr 6 09:40:54 proxy squid[14728]: Completed Validation Procedure
Apr 6 09:40:54 proxy squid[14728]: Validated 1235 Entries
Apr 6 09:40:54 proxy squid[14728]: store_swap_size = 12068k
Apr 6 09:40:55 proxy squid[14728]: storeLateRelease: released 0 objects
Apr 6 09:40:56 proxy squid[14728]: Configuring Parent proxy.awalnet.net.sa/8080/0
Apr 6 09:54:08 proxy -- MARK --
Apr 6 09:59:00 proxy /USR/SBIN/CRON[14766]: (root) CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)

I'm waiting for your help.
best regards

andihari
Received on Sun Apr 06 2003 - 00:05:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:42 MST