# NETWORK OPTIONS # ----------------------------------------------------------------------------- http_port 192.168.1.1:3128 icp_port 0 htcp_port 0 #forwarded_for off # OPTIONS WHICH AFFECT THE CACHE SIZE # ----------------------------------------------------------------------------- cache_mem 128 MB maximum_object_size 160 MB minimum_object_size 20 KB maximum_object_size_in_memory 1024 KB # LOGFILE PATHNAMES AND CACHE DIRECTORIES # ----------------------------------------------------------------------------- cache_dir ufs /var/cache/squid 5900 16 256 cache_access_log none cache_log /var/log/squid/cache.log cache_store_log none client_netmask 255.255.255.0 # OPTIONS FOR EXTERNAL SUPPORT PROGRAMS # ----------------------------------------------------------------------------- dns_nameservers 127.0.0.1 193.110.120.5 194.204.152.34 194.204.159.1 # TIMEOUTS # ----------------------------------------------------------------------------- client_lifetime 1 hour # ACCESS CONTROLS # ----------------------------------------------------------------------------- acl lan src 192.168.1.0/255.255.255.0 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_access allow manager localhost 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 allow localhost http_access allow lan http_access deny all http_reply_access allow all icp_access deny all tcp_outgoing_address 80.xx.166.xxx visible_hostname saxxxxxnet.pl # OPTIONS FOR THE CACHE REGISTRATION SERVICE # ----------------------------------------------------------------------------- httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on # MISCELLANEOUS # ----------------------------------------------------------------------------- logfile_rotate 2 acl FTP proto FTP always_direct allow FTP hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY # LMS MESSANGER # ----------------------------------------------------------------------------- redirector_bypass on redirect_rewrites_host_header on redirect_program /usr/local/bin/lms-squid-warnings