Sunteți pe pagina 1din 9

# ---------------------------------------------------------------------# WARNING - do not edit this template unless you know what you are doing # ---------------------------------------------------------------------# the

parent cache cache_peer %PARENTPROXY% parent %PARENTPORT% 7 no-query no-digest no-netdb-exchange default

# disk and memory cache settings cache_dir ufs %CACHEDIR% %CACHESIZE% 16 256 maximum_object_size %MAXOBJECTSIZE%

# store coredumps in the first cache dir coredump_dir %CACHEDIR%

# the hostname squid displays in error messages visible_hostname %VISIBLEHOSTNAME%

# log & process ID file details cache_access_log %ACCESSLOG% cache_log %CACHELOG% cache_store_log %STORELOG% pid_filename %PIDFILE%

# Squid listening port http_port %PORT%

# Access Control lists acl localhost src 127.0.0.1/32 acl localNet src 192.168.0.0/24, 192.168.1.0/24, 192.168.10.0/24, 192.168.100.0/24 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 acl manager proto cache_object acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https 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 purge method PURGE acl CONNECT method CONNECT %ALLOWEDHOSTS% %DIRECTHOSTS%

# Only allow cachemgr access from localhost http_access allow manager localhost http_access deny manager

# Deny requests to certain unsafe ports http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports http_access deny CONNECT !SSL_ports

# protect web apps running on the proxy host from external users http_access deny to_localhost

# rules for client access go here http_access allow localhost %HTTPACCESSALLOWED%

# after allowed hosts, deny all other access to this proxy # don't list any other access settings below this point http_access deny all

# specify which hosts have direct access (bypassing the parent proxy) %ALWAYSDIRECT% always_direct deny all

# hierarchy stop list (squid-recommended) hierarchy_stoplist cgi-bin ? # Yahoo! Messenger acl ym dstdomain .messenger.yahoo.com .psq.yahoo.com acl ym dstdomain .us.il.yimg.com .msg.yahoo.com .pager.yahoo.com acl ym dstdomain .rareedge.com .ytunnelpro.com .chat.yahoo.com acl ym dstdomain .voice.yahoo.com

acl ymregex url_regex yupdater.yim ymsgr myspaceim # Other protocols Yahoo!Messenger uses ?? acl ym dstdomain .skype.com .imvu.com # my refresh_patern refresh_pattern ^http\:\/\/*\.facebook\.com\/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.kaskus\.co*\.*/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.google\.co\*.*/ 10080 90% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.yahoo\.co*\.*/ 10080 90% 43200 reload-into-ims refresh_pattern ^http\:\/\/.*\.windowsupdate\.microsoft\.com\/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/office\.microsoft\.com\/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/windowsupdate\.microsoft\.com\/ 10080 80% 43200 reloadinto-ims refresh_pattern ^http\:\/\/w?xpsp[0-9]\.microsoft\.com\/ 10080 80% 43200 reload-intoims refresh_pattern ^http\:\/\/w2ksp[0-9]\.microsoft\.com\/ 10080 80% 43200 reload-intoims refresh_pattern ^http\:\/\/download\.microsoft\.com\/ 10080 80% 43200 reload-intoims refresh_pattern ^http\:\/\/download\.macromedia\.com\/ 10080 80% 43200 reloadinto-ims refresh_pattern ^ftp\:\/\/ftp\.nai\.com/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/ftp\.software\.ibm\.com\/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.friendster\.com\/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.detik\.com\/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.kaskus\.co*\.*/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.xhamster\.co*\.*/ 10080 80% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.google\.co\*.*/ 10080 90% 43200 reload-into-ims refresh_pattern ^http\:\/\/*\.yahoo\.co*\.*/ 10080 90% 43200 reload-into-ims refresh_pattern ^http://*.apps.facebook.*/.* 720 80% 4320 refresh_pattern ^http://*.profile.ak.fbcdn.net/.* 720 80% 4320 refresh_pattern ^http://*.creative.ak.fbcdn.net/.* 720 80% 4320 refresh_pattern ^http://*.static.ak.fbcdn.net/.* 720 80% 4320 refresh_pattern ^http://*.facebook.poker.zynga.com/.* 720 80% 4320 refresh_pattern ^http://*.statics.poker.static.zynga.com/.* 720 80% 4320 refresh_pattern ^http://*.zynga.*/.* 720 80% 4320 refresh_pattern ^http://*.texas_holdem.*/.* 720 80% 4320 refresh_pattern ^http://*.google.*/.* 720 80% 4320 refresh_pattern ^http://*.indowebster.*/.* 720 80% 4320 refresh_pattern ^http://*.4shared.*/.* 720 80% 4320 refresh_pattern ^http://*.yahoo.com/.* 720 80% 4320 refresh_pattern ^http://*.yimg.*/.* 720 80% 4320 refresh_pattern ^http://*.plasa.com/.* 720 80% 4320

refresh_pattern ^http://*.boleh.*/.* 720 80% 4320 refresh_pattern ^http://*.detik.*/.* 180 80% 4320 refresh_pattern ^http://*.detikinet.*/.* 180 80% 4320 refresh_pattern ^http://*.detikhot.*/.* 180 80% 4320 refresh_pattern ^http://*.detiportal.*/.* 180 80% 4320 refresh_pattern ^http://*.kompas.*/.* 180 80% 4320 refresh_pattern ^http://*.kapanlagi.*/.* 720 80% 4320 refresh_pattern ^http://*.google-analytics.*/.* 720 80% 4320 # compressed refresh_pattern -i \.gz$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.cab$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.bzip2$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.bz2$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.gz2$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.tgz$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.tar.gz$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.zip$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.rar$ 1008000 90% 99999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.tar$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.ace$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.7z$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload # documents refresh_pattern -i \.xls$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.doc$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.xlsx$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.docx$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.pdf$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.ppt$ 10080 90% 999999 override-expire override-lastmod reload-

into-ims ignore-reload refresh_pattern -i \.pptx$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.rtf\?$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload # multimedia refresh_pattern -i \.mid$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.wav$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.viv$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.mpg$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.mov$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.avi$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.asf$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.qt$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.rm$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.rmvb$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.mpeg$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.wmp$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.3gp$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.mp3$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.mp4$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload # web content refresh_pattern -i \.js$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.psf$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.html$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.htm$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload

refresh_pattern -i \.css$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.swf$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.js\?$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.css\?$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.xml$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload # images refresh_pattern -i \.gif$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.jpg$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.png$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.jpeg$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.bmp$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.psd$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.ad$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.gif\?$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.jpg\?$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.png\?$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.jpeg\?$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.psd\?$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload # application refresh_pattern -i \.deb$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.rpm$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.msi$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.exe$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.dmg$ 10080 90% 999999 override-expire override-lastmod

reload-into-ims ignore-reload # misc refresh_pattern -i \.dat$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload refresh_pattern -i \.qtm$ 10080 90% 999999 override-expire override-lastmod reloadinto-ims ignore-reload # itunes refresh_pattern -i \.m4p$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload refresh_pattern -i \.mpa$ 10080 90% 999999 override-expire override-lastmod reload-into-ims ignore-reload

################ END DELAYPOOLS ################ http_access allow manager localhost http_access allow ym http_access allow localhost http_access allow localNet http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports acl blitz src 10.0.0.0/16 acl localhost src 192.168.0.0/24 acl padinet1 src 202.6.238.0/24 202.6.233.0/24 http_access allow localhost http_access allow blitz http_access allow padinet1 http_access deny all http_reply_access allow all icp_access allow all acl store_rewrite_list dstdomain mt.google.com mt0.google.com mt1.google.com mt2.google.com acl store_rewrite_list dstdomain mt3.google.com acl store_rewrite_list dstdomain kh.google.com kh0.google.com kh1.google.com kh2.google.com acl store_rewrite_list dstdomain kh3.google.com acl store_rewrite_list dstdomain kh.google.com.au kh0.google.com.au kh1.google.com.au acl store_rewrite_list dstdomain kh2.google.com.au kh3.google.com.au acl store_rewrite_list dstdomain khm.google.com khm0.google.com khm1.google.com khm2.google.com acl store_rewrite_list dstdomain khm3.google.com

acl store_rewrite_list dstdomain khm.google.com.au khm0.google.com.au khm1.google.com.au acl store_rewrite_list dstdomain khm2.google.com.au khm3.google.com.au acl store_rewrite_list dstdomain .googlehosted.com .books.google.com acl store_rewrite_list dstdomain .youtube.com acl store_rewrite_regex urlpath_regex -i ^/get_video\? acl store_rewrite_regex urlpath_regex -i ^/videodownload\? # YouTube options. quick_abort_min -1 KB # This will block other streaming media.Maybe we don't want this, but using # it for now. # hierarchy_stoplist cgi-bin ? # acl QUERY urlpath_regex cgi-bin \? # cache deny QUERY cache allow all refresh_pattern -i (mt|kh|tb).*\.google.com\/.* 604800 0% 604800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern -i keyhole.com 604800 0% 604800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern -i ytimg.com 604800 0% 604800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern -i googlehosted.com 604800 0% 604800 override-expire overridelastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern -i youtube.com 604800 0% 604800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-private ignore-auth refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern \.ini$ 0 0% 0 refresh_pattern cgi-bin 0 0% 0 refresh_pattern \? 0 0% 0 refresh_pattern . 0 20% 4320 refresh_pattern -i \.dmg$ 4320 100% 43200 reload-into-ims refresh_pattern -i \.bin$ 4320 100% 43200 reload-into-ims ## ANONYMITY OPTION ### #header_access From deny all #header_access Referer deny all #header_access Server deny all #header_access User-Agent deny all #header_access WWW-Authenticate deny all #header_access Link deny all #header_access Rewrite-URL deny all #header_access X-Rewrite-URL deny all #header_access Pragma deny all

#header_access Keep-Alive deny all cache_peer 202.152.240.50 parent 8080 0 proxy-only no-query no-digest name=xl_proxy header_access Host deny all header_replace Host funbook.xl.co.id never_direct allow al