Hi,
Now Squid is running on port 3128. I've confirmed with netstat.
The problem is when I configure client browsers to access my proxy on port
3128. It seems that it's waiting to oppen the page, but it waits infinitly.
Here is my configuration file:
http_port 3128
icp_port 3130
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/lib/squid/cache 10 16 256
cache_access_log /var/lib/squid/logs/access.log
cache_log /var/lib/squid/logs/cache.log
cache_store_log /var/lib/squid/logs/store.lo
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
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 my_network src 192.168.1.0/255.255.255.0
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow my_network
http_access deny all
http_reply_access allow all
icp_access allow all
miss_access allow all
cache_effective_user nobody
cache_effective_group nogroup
coredump_dir /var/lib/squid/cache
Here is my logs (/var/lib/squid/logs/cache.log):
2004/10/01 12:23:01| Starting Squid Cache version 2.5.STABLE6 for
i586-pc-linux-gnu...
2004/10/01 12:23:01| Process ID 23613
2004/10/01 12:23:01| With 1024 file descriptors available
2004/10/01 12:23:01| Performing DNS Tests...
2004/10/01 12:23:01| Successful DNS name lookup tests...
2004/10/01 12:23:01| DNS Socket created at 0.0.0.0, port 32822, FD 4
2004/10/01 12:23:01| Adding nameserver 212.113.164.58 from /etc/resolv.conf
2004/10/01 12:23:01| Adding nameserver 212.113.164.50 from /etc/resolv.conf
2004/10/01 12:23:01| Adding nameserver 212.113.164.59 from /etc/resolv.conf
2004/10/01 12:23:01| Adding nameserver 212.113.164.51 from /etc/resolv.conf
2004/10/01 12:23:01| Unlinkd pipe opened on FD 9
2004/10/01 12:23:01| Swap maxSize 10240 KB, estimated 787 objects
2004/10/01 12:23:01| Target number of buckets: 39
2004/10/01 12:23:01| Using 8192 Store buckets
2004/10/01 12:23:01| Max Mem size: 8192 KB
2004/10/01 12:23:01| Max Swap size: 10240 KB
2004/10/01 12:23:01| Rebuilding storage in /var/lib/squid/cache (DIRTY)
2004/10/01 12:23:01| Using Least Load store dir selection
2004/10/01 12:23:01| Set Current Directory to /var/lib/squid/cache
2004/10/01 12:23:01| Loaded Icons.
2004/10/01 12:23:02| Accepting HTTP connections at 0.0.0.0, port 3128, FD
10.
2004/10/01 12:23:02| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2004/10/01 12:23:02| Accepting SNMP messages on port 3401, FD 12.
2004/10/01 12:23:02| WCCP Disabled.
I hope someone can help me.
Thanks in advance,
Nuno Paquete
|