######################## http_port 3128 icp_port 3130 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_mem 256 MB cache_dir ufs /cache 2000 16 256 cache_log /var/log/squid/cache.log cache_access_log /var/log/squid/access.log cache_store_log /var/log/squid/store.log cache_swap_log /var/log/squid/swap.log logfile_rotate 10 # User authentication not activated 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 redirect_rewrites_host_header off cache_replacement_policy GDSF acl slow1 src 192.168.0.11-192.168.0.45 acl slow2 src 192.168.0.46-192.168.0.80 acl localnet src 192.168.0.11-192.168.0.80 192.168.0.100 192.168.0.101 acl localnet1 src 192.168.90.1 192.168.90.2 acl localhost src 127.0.0.1/255.255.255.255 acl badport port 1214 acl CONNECT method CONNECT acl all src 0.0.0.0/0.0.0.0 http_access allow localnet http_access allow localnet1 http_access allow localhost http_access deny badport http_access deny CONNECT http_access deny all maximum_object_size 3000 KB store_avg_object_size 50 KB httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on cache_effective_user adssquid cache_effective_group adssquid visible_hostname adssquid ########################## Follwoing is cache.log : 2003/11/28 13:12:37| Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu... 2003/11/28 13:12:37| Process ID 18828 2003/11/28 13:12:37| With 1024 file descriptors available 2003/11/28 13:12:37| Performing DNS Tests... 2003/11/28 13:12:37| Successful DNS name lookup tests... 2003/11/28 13:12:37| DNS Socket created at 0.0.0.0, port 32845, FD 4 2003/11/28 13:12:37| Adding nameserver 202.63.164.17 from /etc/resolv.conf 2003/11/28 13:12:37| Adding nameserver 202.63.164.18 from /etc/resolv.conf 2003/11/28 13:12:37| Unlinkd pipe opened on FD 9 2003/11/28 13:12:37| Swap maxSize 2048000 KB, estimated 40960 objects 2003/11/28 13:12:37| Target number of buckets: 2048 2003/11/28 13:12:37| Using 8192 Store buckets 2003/11/28 13:12:37| Max Mem size: 262144 KB 2003/11/28 13:12:37| Max Swap size: 2048000 KB 2003/11/28 13:12:37| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2003/11/28 13:12:37| Rebuilding storage in /cache (CLEAN) 2003/11/28 13:12:37| Using Least Load store dir selection 2003/11/28 13:12:37| Current Directory is /root 2003/11/28 13:12:37| Loaded Icons. 2003/11/28 13:12:53| Accepting HTTP connections at 0.0.0.0, port 3128, FD 11. 2003/11/28 13:12:53| Accepting ICP messages at 0.0.0.0, port 3130, FD 12. 2003/11/28 13:12:53| WCCP Disabled. 2003/11/28 13:12:53| Ready to serve requests. 2003/11/28 13:12:53| Done reading /cache swaplog (1430 entries) 2003/11/28 13:12:53| Finished rebuilding storage from disk. 2003/11/28 13:12:53| 1430 Entries scanned 2003/11/28 13:12:53| 0 Invalid entries. 2003/11/28 13:12:53| 0 With invalid flags. 2003/11/28 13:12:53| 1430 Objects loaded. 2003/11/28 13:12:53| 0 Objects expired. 2003/11/28 13:12:53| 0 Objects cancelled. 2003/11/28 13:12:53| 0 Duplicate URLs purged. 2003/11/28 13:12:53| 0 Swapfile clashes avoided. Access.log gives proper logs.