[squid-users] need help configuring squid please

From: phillip lucs <philucs@dont-contact.us>
Date: Tue, 14 Oct 2003 23:02:31 +0000

Hi to the Squid user group,

I've been having difficultly get Squid running over the last few weeks and
am getting desperate for help. I feel like I have exhausted the related
configuration on the net related to Squid and have made some educated
assumptions and not-so-educated hacks (i was getting frustrated and
desperate) to get Squid running. The configuration file I am using at the
moment is:

----------------begin squid.conf-------------------------------------

cache_mgr david.macalpine@compuware.com

# I. Network
#
# listen to HTTP client request targetting 172.28.18.22 on port 3128
http_port 172.28.18.22:3128

# listen to HTTP client requests from the localhost on port 3128
http_port 127.0.0.1:3128

# disable ICP queries
icp_port 0

# II. Peer cache servers and Squid hierarchy
#
# this is the parent cache I want to send all http queries to originating
from the localhost
# (this computer).
cache_peer 172.28.30.87 parent 80 0 default no-query
cache_peer 172.28.30.87 parent 3128 3130 default no-query

# III. Cache size
#
cache_dir ufs /usr/local/squid/var/cache 100 16 256

# IV. Log file path names and cache directories
#
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

# VIII. Access controls
#
# access list
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 local_net src 172.28.0.0/255.255.0.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT

http_access allow manager localhost
http_access allow localhost
http_access allow local_net
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all

-------------------- end squid.conf----------------------------------

Some notes about the squid.conf file:
n1. 172.28.30.87 is the IP address of the Squid proxy cache I want to
forward all requests to.

The cache.log i am getting is:

---------------- begin cache.log --------------------------
2003/10/15 07:57:34| Starting Squid Cache version 2.5.STABLE2 for
i686-pc-linux-gnu...
2003/10/15 07:57:34| Process ID 13894
2003/10/15 07:57:34| With 1024 file descriptors available
2003/10/15 07:57:34| Performing DNS Tests...
----------------- end cache.log -----------------------------

When I run the squidclient program however I get the following error
message:
client: ERROR: Cannot connect to localhost:3128: Connection refused.

I don't understand why I am getting this error. From what I have seen on the
net, the squid-user message archives, and the configuration manual I am
still stumped.

Any insight would be really appreciated.

Regards,
Phillip Lucs

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp
Received on Tue Oct 14 2003 - 17:02:32 MDT

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