[squid-users] (111) Connection refused

From: Kashif Ali <aol@dont-contact.us>
Date: Mon, 5 Jul 2004 03:12:35 +0600 (PKST)

salam,
      my squid.conf is

http_port 8080
# icp_port 3130

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
#
-----------------------------------------------------------------------------
cache_peer 10.1.1.1 parent 8181 3128 no-query
cache_peer 193.251.135.100 parent 8080 0 no-query
# icp_query_timeout 0
# maximum_icp_query_timeout 2000
# mcast_icp_query_timeout 2000
#dead_peer_timeout 1 seconds
#hierarchy_stoplist cgi-bin ?
#acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY
#acl google dstdomain .google.com
#always_direct allow google

# OPTIONS WHICH AFFECT THE CACHE SIZE
#
-----------------------------------------------------------------------------

# cache_mem 8 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

# LOGFILE PATHNAMES AND CACHE DIRECTORIES
#
-----------------------------------------------------------------------------
cache_dir ufs /usr/local/squid/var/cache 100 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log
mime_table /usr/local/squid/etc/mime.conf
pid_filename /usr/local/squid/var/logs/squid.pid
client_netmask 255.255.255.0

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
#
-----------------------------------------------------------------------------
# ftp_user Squid@
# ftp_list_width 32
# ftp_passive on
# ftp_sanitycheck on
# ftp_telnet_protocol on
# redirect_rewrites_host_header on
#Recommended minimum configuration:
#auth_param digest program <uncomment and complete this line>
#auth_param digest children 5
#auth_param digest realm Squid proxy-caching web server
#auth_param digest nonce_garbage_interval 5 minutes
#auth_param digest nonce_max_duration 30 minutes
#auth_param digest nonce_max_count 50
#auth_param ntlm program <uncomment and complete this line to activate>
#auth_param ntlm children 5
#auth_param ntlm max_challenge_reuses 0
#auth_param ntlm max_challenge_lifetime 2 minutes
#auth_param ntlm use_ntlm_negotiate off
#auth_param basic program <uncomment and complete this line>
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
# authenticate_cache_garbage_interval 1 hour
# authenticate_ttl 1 hour
# authenticate_ip_ttl 0 seconds

# OPTIONS FOR TUNING THE CACHE
#
-----------------------------------------------------------------------------
# wais_relay_port 0
# request_header_max_size 10 KB
# request_body_max_size 0 KB
refresh_pattern ^http://.*\.cnn\.com 360 50% 4320 override-lastmod
refresh_pattern ^http://news\.bbc\.co\.uk 360 50% 4320 override-lastmod
refresh_pattern microsoft 1080 150% 10080 override-expire override-lastmod
refresh_pattern msn\.com 4320 150% 10080 override-expire override-lastmod
refresh_pattern ^http://.*\.doubleclick\.net 10080 300% 40320
refresh_pattern ^http://.*FIDO 360 1000% 480
refresh_pattern \.r[0-9][0-0]$ 10080 150% 40320
refresh_pattern ^http://.*\.gif$ 1440 50% 20160
refresh_pattern ^http://.*\.asis$ 1440 50% 20160
refresh_pattern \.pdf$ 10080 90% 43200
refresh_pattern \.art$ 10080 150% 43200
refresh_pattern \.swf$ 10080 150% 43200
refresh_pattern \.phtml$ 240 200% 10080
refresh_pattern \.avi$ 10080 150% 40320
refresh_pattern \.mov$ 10080 150% 40320
refresh_pattern \.wav$ 10080 150% 40320
refresh_pattern \.mp3$ 10080 150% 40320
refresh_pattern \.qtm$ 10080 150% 40320
refresh_pattern \.mid$ 10080 150% 40320
refresh_pattern \.viv$ 10080 150% 40320
refresh_pattern \.mpg$ 10080 150% 40320
refresh_pattern \.jpg$ 10080 150% 40320
refresh_pattern \.rar$ 10080 150% 40320
refresh_pattern \.ram$ 10080 150% 40320
refresh_pattern \.gif$ 10080 300% 40320
refresh_pattern \.txt$ 1440 100% 20160 override-lastmod
refresh_pattern \.zip$ 2880 200% 40320
refresh_pattern \.arj$ 2880 200% 40320
refresh_pattern \.exe$ 2880 200% 40320
refresh_pattern \.tgz$ 10080 200% 40320
refresh_pattern \.gz$ 10080 200% 40320
refresh_pattern \.tgz$ 10080 200% 40320
refresh_pattern \.tar$ 10080 200% 40320
refresh_pattern \.Z$ 10080 200% 40320
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 1 minute
# range_offset_limit 0 KB

# TIMEOUTS
#
-----------------------------------------------------------------------------
# forward_timeout 4 minutes
connect_timeout 10 seconds
peer_connect_timeout 30 seconds
# read_timeout 15 minutes
# request_timeout 5 minutes
# persistent_request_timeout 1 minute
# client_lifetime 1 day
# half_closed_clients on
# pconn_timeout 120 seconds
# ident_timeout 10 seconds
# shutdown_lifetime 30 seconds

# ACCESS CONTROLS
#
-----------------------------------------------------------------------------
#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 SSL_ports port 443 563
acl Safe_ports port 80 8080 8181 # 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 mylan src 10.1.1.1-10.1.1.150/255.255.255.255
acl mylanblocked src 10.1.1.151-10.1.1.254/255.255.255.255
acl dla time S-A 3:00-17:00
acl dlb urlpath_regex -i \.exe$ \.mp3$ \.mov$ \.mpg$ \.mp?$ \.avi$ \.rm$
\.wma$ \.mpeg$ \.wmv$
acl vfilter url_regex -i root.exe kmd.exe kazaa.exe imesh.exe msblast.exe
mslaugh.exe
# http_access deny all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT SSL_ports
http_access deny dlb !dla
http_access deny vfilter
http_access allow mylan
http_access allow all !mylanblocked
http_reply_access allow all
# icp_access deny all
icp_access allow all
# miss_access allow all
# ident_lookup_access deny all
# reply_body_max_size 0 allow all

# ADMINISTRATIVE PARAMETERS
#
-----------------------------------------------------------------------------
cache_mgr kbukhari@msn.com
visible_hostname cache.aol.com.pk.-.contact.-.03004295604

# OPTIONS FOR THE CACHE REGISTRATION SERVICE
#
-----------------------------------------------------------------------------
# announce_period 0
#announce_period 1 day
# announce_host tracker.ircache.net
# announce_port 3131

# HTTPD-ACCELERATOR OPTIONS
#
-----------------------------------------------------------------------------
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_single_host on
httpd_accel_with_proxy on
# httpd_accel_uses_host_header off

# MISCELLANEOUS
#
-----------------------------------------------------------------------------
logfile_rotate 10
# tcp_recv_bufsize 0 bytes
# memory_pools on
#forwarded_for off
# log_icp_queries on
# icp_hit_stale off
# minimum_direct_rtt 400
# store_avg_object_size 13 KB
# store_objects_per_bucket 20
# client_db on
# netdb_low 900
# netdb_high 1000
# netdb_ping_period 5 minutes
# query_icmp off
# test_reachability off
# buffered_logs off
# reload_into_ims off
# icon_directory c:/squid/share/icons
# short_icon_urls off
# error_directory c:/squid/share/errors/English
# maximum_single_addr_tries 1
# snmp_port 3401
# snmp_access deny all
# snmp_incoming_address 0.0.0.0
# snmp_outgoing_address 255.255.255.255
# TAG: as_whois_server
# as_whois_server whois.ra.net
# as_whois_server whois.ra.net
# wccp_router 0.0.0.0
# wccp_incoming_address 0.0.0.0
# wccp_outgoing_address 255.255.255.255

# DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)
#
-----------------------------------------------------------------------------
# delay_initial_bucket_level 50
# max_open_disk_fds 0
# uri_whitespace strip
# mcast_miss_addr 255.255.255.255
# mcast_miss_ttl 16
# mcast_miss_port 3135
# mcast_miss_encode_key XXXXXXXXXXXXXXXX
# nonhierarchical_direct on
# prefer_direct off
# strip_query_terms on
# coredump_dir none
# redirector_bypass off
# ignore_unknown_nameservers on

How ever i try to open hotmail.com i get this error

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://login.passport.net/uilogin.srf?

The following error was encountered:

    * Connection Failed

The system returned:

    (111) Connection refused

The remote host or network may be down. Please try the request again.

Your cache administrator is kbukhari@msn.com.
Generated Sun, 04 Jul 2004 19:10:43 GMT by
cache.aol.com.pk.-.contact.-.03004295604 (squid/2.5.STABLE5)

tell me wht should i do
THNX
kashif ali bukhari
Received on Sun Jul 04 2004 - 16:25:15 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT