::Squidku::
Uii..ini squid ku yg baru setelah baca" di www.squid-cache.org ternyata refresh_pattern itu berguna banget hehehe..tapi gk tahu nih kpn mau implement na benar" di warnet abang na dia
..Insya4JJI warnet na abang na dia jadi di buka..jadi bisa gw implement dechh.biar bisa mahir kyk Mas"- > Asfix, Avudz, Gede, Godril, Yudhis, Sunar, Kalpin....hehehe..Doain gw bisa kyk mereka semua yah... ^^'Ini link na buat tmn" yg mau belajar :D http://www.visolve.com/squid/squid24s1/tuning.php mudah"han bermanfaat uii..
..Insya4JJI warnet na abang na dia jadi di buka..jadi bisa gw implement dechh.biar bisa mahir kyk Mas"- > Asfix, Avudz, Gede, Godril, Yudhis, Sunar, Kalpin....hehehe..Doain gw bisa kyk mereka semua yah... ^^'Ini link na buat tmn" yg mau belajar :D http://www.visolve.com/squid/squid24s1/tuning.php mudah"han bermanfaat uii..
http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 2000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 10 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
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
refresh_pattern -i \.gif$ 10080 90% 43200
refresh_pattern -i \.jpg$ 10080 90% 43200
refresh_pattern -i \.com\.gov\.au 30 20% 120
refresh_pattern -i \.html$ 480 50% 22160
refresh_pattern -i \.htm$ 480 50% 22160
refresh_pattern -i \.class$ 10080 90% 43200
refresh_pattern -i \.zip$ 10080 90% 43200
refresh_pattern -i \.jpeg$ 10080 90% 43200
refresh_pattern -i \.mid$ 10080 90% 43200
refresh_pattern -i \.shtml$ 480 50% 22160
refresh_pattern -i \.exe$ 10080 90% 43200
refresh_pattern -i \.thm$ 10080 90% 43200
refresh_pattern -i \.wav$ 10080 90% 43200
refresh_pattern -i \.txt$ 10080 90% 43200
refresh_pattern -i \.cab$ 10080 90% 43200
refresh_pattern -i \.mov$ 10080 90% 43200
refresh_pattern -i \.avi$ 10080 90% 43200
refresh_pattern -i \.chtml$ 480 50% 22160
refresh_pattern -i \.bmp$ 10080 90% 43200
refresh_pattern -i \.phtml$ 480 50% 22160
refresh_pattern -i \.mpg$ 10080 90% 43200
refresh_pattern -i \.pdf$ 10080 90% 43200
refresh_pattern -i \.swf$ 10080 90% 43200
refresh_pattern -i \.mp3$ 10080 90% 43200
refresh_pattern -i \.doc$ 10080 90% 43200
refresh_pattern -i \.gz$ 10080 90% 43200
refresh_pattern -i \.Z$ 10080 90% 43200
refresh_pattern -i \.tgz$ 10080 90% 43200
refresh_pattern -i \.tar$ 10080 90% 43200
refresh_pattern -i \.dir$ 10080 90% 43200
refresh_pattern -i \.midi$ 10080 90% 43200
refresh_pattern -i \.movie$ 10080 90% 43200
refresh_pattern -i \.mp2$ 10080 90% 43200
refresh_pattern -i \.mp4$ 10080 90% 43200
refresh_pattern -i \.mpe$ 10080 90% 43200
refresh_pattern -i \.mpeg$ 10080 90% 43200
refresh_pattern -i \.mpga$ 10080 90% 43200
#################access list###################
acl all src 0.0.0.0/0.0.0.0
acl ubuntu src 192.168.0.5/255.255.255.255
acl ghufron src 192.168.0.10/255.255.255.255
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 CONNECT method CONNECT
################access control#################
acl xxx dstdom_regex -i "/etc/squid/xxx.txt"
http_access deny xxx
#################delay pools##################
acl ubuntu url_regex -i 192.168.0
acl ghufron url_regex -i 192.168.0
acl akses_download url_regex -i http ftp .exe .dll .zip .rar .rpm .tgz .cab
acl akses_download url_regex -i http ftp .tar.gz .tar.bz2 .iso .avi .mov
acl akses_download url_regex -i http ftp .mpg .mpeg .mp3 .ram .rm .jpg .pdf
acl akses_download url_regex -i http ftp .doc .ppt .pps .xls .mdb
###########################################
http_access allow manager localhost
http_access deny manager
http_access allow ubuntu
http_access allow akses_download
http_access allow ghufron
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
delay_pools 3
############Akses_biasa ghufron###############
delay_class 1 2
delay_parameters 1 -1/-1 10000/96000
delay_access 1 allow ghufron
delay_access 1 deny all
############Akses_biasa ubuntu###############
delay_class 2 2
delay_parameters 2 -1/-1 10000/96000
delay_access 2 allow ubuntu
delay_access 2 deny all
############Akses_download##############
delay_class 3 3
delay_parameters 3 25000/96000 30000/96000 15000/96000
delay_access 3 allow akses_donlot
delay_access 3 deny all
#######################################
coredump_dir /var/spool/squid
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 2000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 10 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
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
refresh_pattern -i \.gif$ 10080 90% 43200
refresh_pattern -i \.jpg$ 10080 90% 43200
refresh_pattern -i \.com\.gov\.au 30 20% 120
refresh_pattern -i \.html$ 480 50% 22160
refresh_pattern -i \.htm$ 480 50% 22160
refresh_pattern -i \.class$ 10080 90% 43200
refresh_pattern -i \.zip$ 10080 90% 43200
refresh_pattern -i \.jpeg$ 10080 90% 43200
refresh_pattern -i \.mid$ 10080 90% 43200
refresh_pattern -i \.shtml$ 480 50% 22160
refresh_pattern -i \.exe$ 10080 90% 43200
refresh_pattern -i \.thm$ 10080 90% 43200
refresh_pattern -i \.wav$ 10080 90% 43200
refresh_pattern -i \.txt$ 10080 90% 43200
refresh_pattern -i \.cab$ 10080 90% 43200
refresh_pattern -i \.mov$ 10080 90% 43200
refresh_pattern -i \.avi$ 10080 90% 43200
refresh_pattern -i \.chtml$ 480 50% 22160
refresh_pattern -i \.bmp$ 10080 90% 43200
refresh_pattern -i \.phtml$ 480 50% 22160
refresh_pattern -i \.mpg$ 10080 90% 43200
refresh_pattern -i \.pdf$ 10080 90% 43200
refresh_pattern -i \.swf$ 10080 90% 43200
refresh_pattern -i \.mp3$ 10080 90% 43200
refresh_pattern -i \.doc$ 10080 90% 43200
refresh_pattern -i \.gz$ 10080 90% 43200
refresh_pattern -i \.Z$ 10080 90% 43200
refresh_pattern -i \.tgz$ 10080 90% 43200
refresh_pattern -i \.tar$ 10080 90% 43200
refresh_pattern -i \.dir$ 10080 90% 43200
refresh_pattern -i \.midi$ 10080 90% 43200
refresh_pattern -i \.movie$ 10080 90% 43200
refresh_pattern -i \.mp2$ 10080 90% 43200
refresh_pattern -i \.mp4$ 10080 90% 43200
refresh_pattern -i \.mpe$ 10080 90% 43200
refresh_pattern -i \.mpeg$ 10080 90% 43200
refresh_pattern -i \.mpga$ 10080 90% 43200
#################access list###################
acl all src 0.0.0.0/0.0.0.0
acl ubuntu src 192.168.0.5/255.255.255.255
acl ghufron src 192.168.0.10/255.255.255.255
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 CONNECT method CONNECT
################access control#################
acl xxx dstdom_regex -i "/etc/squid/xxx.txt"
http_access deny xxx
#################delay pools##################
acl ubuntu url_regex -i 192.168.0
acl ghufron url_regex -i 192.168.0
acl akses_download url_regex -i http ftp .exe .dll .zip .rar .rpm .tgz .cab
acl akses_download url_regex -i http ftp .tar.gz .tar.bz2 .iso .avi .mov
acl akses_download url_regex -i http ftp .mpg .mpeg .mp3 .ram .rm .jpg .pdf
acl akses_download url_regex -i http ftp .doc .ppt .pps .xls .mdb
###########################################
http_access allow manager localhost
http_access deny manager
http_access allow ubuntu
http_access allow akses_download
http_access allow ghufron
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
delay_pools 3
############Akses_biasa ghufron###############
delay_class 1 2
delay_parameters 1 -1/-1 10000/96000
delay_access 1 allow ghufron
delay_access 1 deny all
############Akses_biasa ubuntu###############
delay_class 2 2
delay_parameters 2 -1/-1 10000/96000
delay_access 2 allow ubuntu
delay_access 2 deny all
############Akses_download##############
delay_class 3 3
delay_parameters 3 25000/96000 30000/96000 15000/96000
delay_access 3 allow akses_donlot
delay_access 3 deny all
#######################################
coredump_dir /var/spool/squid