[squid-users] Problems connecting to SQUID

From: Florian Lindner <mailinglists@dont-contact.us>
Date: Sat, 18 Sep 2004 21:14:33 +0400

Hello,
I've just downloaded and installed the lates SQUID Version, using Gentoo
emerge.
My command line show this output

squid -NCd1
2004/09/18 19:00:36| Starting Squid Cache version 2.5.STABLE6 for
i686-pc-linux-gnu...
2004/09/18 19:00:36| Process ID 31748
2004/09/18 19:00:36| With 1024 file descriptors available
2004/09/18 19:00:36| Performing DNS Tests...
2004/09/18 19:00:36| Successful DNS name lookup tests...
2004/09/18 19:00:36| DNS Socket created at 0.0.0.0, port 47518, FD 4
2004/09/18 19:00:36| Adding nameserver 81.169.148.164 from /etc/resolv.conf
2004/09/18 19:00:36| Adding nameserver 81.169.148.34 from /etc/resolv.conf
2004/09/18 19:00:36| helperOpenServers: Starting 2 'pam_auth' processes
2004/09/18 19:00:36| User-Agent logging is disabled.
2004/09/18 19:00:36| Referer logging is disabled.
2004/09/18 19:00:36| Unlinkd pipe opened on FD 10
2004/09/18 19:00:36| Swap maxSize 102400 KB, estimated 7876 objects
2004/09/18 19:00:36| Target number of buckets: 393
2004/09/18 19:00:36| Using 8192 Store buckets
2004/09/18 19:00:36| Max Mem size: 4096 KB
2004/09/18 19:00:36| Max Swap size: 102400 KB
2004/09/18 19:00:36| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2004/09/18 19:00:36| Store logging disabled
2004/09/18 19:00:36| Rebuilding storage in /var/cache/squid (CLEAN)
2004/09/18 19:00:36| Using Least Load store dir selection
2004/09/18 19:00:36| Current Directory is /etc/squid
2004/09/18 19:00:36| Loaded Icons.
2004/09/18 19:00:37| Accepting HTTP connections at 0.0.0.0, port 65000,
FD 9.
2004/09/18 19:00:37| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2004/09/18 19:00:37| HTCP Disabled.
2004/09/18 19:00:37| WCCP Disabled.
2004/09/18 19:00:37| Ready to serve requests.
2004/09/18 19:00:37| Done scanning /var/cache/squid swaplog (0 entries)
2004/09/18 19:00:37| Finished rebuilding storage from disk.
2004/09/18 19:00:37| 0 Entries scanned
2004/09/18 19:00:37| 0 Invalid entries.
2004/09/18 19:00:37| 0 With invalid flags.
2004/09/18 19:00:37| 0 Objects loaded.
2004/09/18 19:00:37| 0 Objects expired.
2004/09/18 19:00:37| 0 Objects cancelled.
2004/09/18 19:00:37| 0 Duplicate URLs purged.
2004/09/18 19:00:37| 0 Swapfile clashes avoided.
2004/09/18 19:00:37| Took 0.8 seconds ( 0.0 objects/sec).
2004/09/18 19:00:37| Beginning Validation Procedure
2004/09/18 19:00:37| Completed Validation Procedure
2004/09/18 19:00:37| Validated 0 Entries
2004/09/18 19:00:37| store_swap_size = 0k
2004/09/18 19:00:38| storeLateRelease: released 0 objects

But trying to connect (also trying to use just plain telnet) on port
65000 fails.

My squid.conf: (prototype)

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 # 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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

http_port 65000

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 4 MB

cache_access_log none

cache_store_log none

auth_param basic children 2
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic program /usr/lib/squid/pam_auth

http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access allow all

Since windows and also Firefox/Thunderbird do dnot support proxy
authentication (or am I wrong?) I have to allow access from all. Is
that squid.conf so far doing what I want? Improvements? But why can I
not connect?

Thanks,
Florian
Received on Sat Sep 18 2004 - 11:14:41 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT