help..squid hit lemah

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
thrvers
Contact:

Re: Help....squid Koe lemot

Post 31 Aug 2010, 00:04

'
sabar wrote:.....
root@khaira:~# mkdir /media/disk40/squid/cache
......
root@khaira:~# chown -Rf squid.squid /media/disk40/squid
......

mkn aj ini yg bikin PD (permission denied)

bro coba maen2 sini: Konfigurasi Squid 2.7 Stable 9

2 baris yg q quote tsb,
- nda perlu buat folder cache lg bro
- change owner coba kek link yg q kasih diatas :D (q pke itu caranya berhasil)
# chown -R proxy:proxy /media/disk40/squid

=CMIIW=


User avatar
zitux
Contact:

Post 31 Aug 2010, 00:05

yg ini bro
sudoers wrote:# mkdir /media/disk40
Atur permission..
# chgrp plugdev /media/disk40
# chmod 777 /media/disk40
# chmod +t /media/disk40
mmmm.. kemaren gak pake chown kok bisa ya ??
fungsi chown ini sama ndak bro travers ?


User avatar
sabar

Post 31 Aug 2010, 00:30

oke dech bsk lanjut ke link itu berhubung udah ngantuk plus puyeng
heheheh tp tetap smangat untuk ubuntu


User avatar
sabar

Post 31 Aug 2010, 00:48

siipppp udah berhasil membuat dir cachenya pake perintah
chown -Rf squid.squid /media/disk40/squid

teng_q for all jadi geregetan make ubuntu nich


User avatar
zitux
Contact:

Post 31 Aug 2010, 01:04

oh ya bro sabar langkah pertma untuk partisi berhasil ya ?
partisi pake live cd
coz saya juga belum coba


User avatar
thrvers
Contact:

Post 31 Aug 2010, 04:07

'
zitux
yg ini bro
sudoers wrote:# mkdir /media/disk40
Atur permission..
# chgrp plugdev /media/disk40
# chmod 777 /media/disk40
# chmod +t /media/disk40
mmmm.. kemaren gak pake chown kok bisa ya ??
fungsi chown ini sama ndak bro travers ?

beda bro, berikut penjelasannya:

chown = change owner :D
chgrp = change group
chmod = change mode (kali)
kan di linux ada permision: owner,grup,other yg masing2 punya 'mode' read write exec

klo contoh dr bro sudoers:
kn dah masuk root-mode berarti waktu ngebuat folder disk40 permission (owner): root
trs perintah chgrp: plugdev, grupnya: plugdev
trs modenya: 777 (own:rwx, grup:rwx, other:rwx)

* MAAP OOT *


User avatar
zitux
Contact:

Post 31 Aug 2010, 15:23

ngerti dah :)
tq bro


User avatar
Rh354

Post 18 Nov 2010, 21:55

squidclient mgr:info
squidclient -h host -p 80 mgr:counters
squidclient -h host -p 80 mgr:utilization
squidclient -h host -p 80 mgr:5min
squidclient -h host -p 80 mgr:60min
squidclient -h host -p 80 mgr:mem


User avatar
GiFos

Post 03 Jan 2011, 21:00

Maaf agak OOT, untuk mengetahui ZPH jalan di Squid caranya bagaimana ya? :)...


User avatar
travolta

Post 10 Jan 2012, 06:52

para mater squid.. helpme . squid ane hit rationya kecil
##############################################################
Connection information for squid:
Number of clients accessing cache: 8
Number of HTTP requests received: 15344
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Number of HTCP messages received: 0
Number of HTCP messages sent: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 20.5
Average ICP messages per minute since start: 0.0
Select loop called: 1079870 times, 41.627 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 0.0%, 60min: 0.0%
Byte Hit Ratios: 5min: 0.0%, 60min: 0.2%
Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0%
Storage Swap size: 100204 KB
Storage Mem size: 120 KB
Mean Object Size: 77.86 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 37.30043 1.24267
Cache Misses: 37.30043 1.24267
Cache Hits: 0.00000 0.00000
Near Hits: 0.00000 0.00000
Not-Modified Replies: 0.00000 0.00000
DNS Lookups: 0.00190 0.21305
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 44951.543 seconds
CPU Time: 50.451 seconds
CPU Usage: 0.11%
CPU Usage, 5 minute avg: 0.33%
CPU Usage, 60 minute avg: 0.20%
Maximum Resident Size: 7104 KB
Page faults with physical i/o: 10075
Memory accounted for:
Total accounted: 370 KB
memPoolAlloc calls: 2606697
memPoolFree calls: 2602490
File descriptor usage for squid:
Maximum number of file descriptors: 2048
Largest file desc currently in use: 70
Number of file desc currently in use: 27
Files queued for open: 0
Available number of file descriptors: 2021
Reserved number of file descriptors: 100
Store Disk files open: 0
IO loop method: select
Internal Data Structures:
1319 StoreEntries
32 StoreEntries with MemObjects
26 Hot Object Cache Items
1287 on-disk objects
#######################################################################

ini file squid .config gw :

#####################################################################
server_http11 on
acl all src 0.0.0.0/0.0.0.0
acl roy src 10.100.121.18
acl adya src 10.100.121.19
acl lukas src 10.100.121.21
acl rizal src 10.100.121.22
acl vivi src 10.100.121.201
acl aan src 10.100.121.88
acl dede src 10.100.123.18
acl bowo src 10.100.123.19
acl rudi src 10.100.123.20
acl dian src 10.100.118.16
acl indra src 10.100.126.251
acl afdi src 10.100.120.75
acl gandi src 10.100.126.190
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
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 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 roy
http_access allow adya
http_access allow lukas
http_access allow vivi
http_access allow rizal
http_access allow aan
http_access allow dede
http_access allow bowo
http_access allow rudi
http_access allow dian
http_access allow indra
http_access allow afdi
http_access allow gandi
http_access deny all
icp_access deny all
http_port 5878
hierarchy_stoplist cgi-bin ?
cache_mem 6 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_dir aufs F:/cache/cache0 20000 16 256
maximum_object_size 64 MB
cache_swap_low 98
cache_swap_high 99
access_log /squid/var/log/squid/access.log squid
cache_log /squid/var/log/squid/cache.log
cache_store_log none
logfile_rotate 4
shutdown_lifetime 10 seconds
log_fqdn off
storeurl_rewrite_program /squid/etc/storeurl.pl
storeurl_rewrite_children 10
storeurl_rewrite_concurrency 100
acl store_rewrite_list url_regex ^http://(.*?)/get_video\?
acl store_rewrite_list url_regex ^http://(.*?)/videodownload\?
storeurl_access allow store_rewrite_list
storeurl_access deny all
cache allow store_rewrite_list
acl QUERY urlpath_regex cgi-bin \?
refresh_pattern ^http://(.*?)/get_video\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern ^http://(.*?)/videodownload\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
## refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
## refresh_pattern . 0 20% 4320
refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims override-lastmod
refresh_pattern . 180 95% 120960 reload-into-ims override-lastmod
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
vary_ignore_expire on
cache_effective_user squid
cache_effective_group squid
log_icp_queries off
ipcache_size 2048
ipcache_low 98
ipcache_high 99
memory_pools off
reload_into_ims on
coredump_dir /usr/var/cache
pipeline_prefetch on

######################################################################

info RAM : 2GB
Chace disk pastisi F: 16 GB

Mohon pencerahan para master semua apa yg salah dengan konfigurasi ane . makasih sebelumnya


User avatar
rafdinal

Post 10 Jan 2012, 12:39

numpang tanya bro master,,
apa bedanya refresh patern pake i \. (insensitive)
dengan tanpa i \.
mana yg bagus pake i apa gak


makasih bro master,,dari newbie mau belajar..


User avatar
Aira

Post 22 Mar 2012, 21:21

Om mohon dikoreksi squid.cof saya masalahnya tidak bisa TCP_HIT yang ada TCP_MISS semuanya...
Ini squid.cof saya :

http_port 3128 transparent
#http_port 3128
server_http11 on
icp_port 0

pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
icon_directory /usr/share/squid/icons
mime_table /usr/share/squid/mime.conf
#mime_table /usr/local//mime.conf

cache_mem 6 MB
maximum_object_size_in_memory 100000 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
minimum_object_size 10 byete #0 KB
maximum_object_size 128 MB #320010 KB
offline_mode off
cache_swap_low 98
cache_swap_high 99
ipcache_size 2048
ipcache_low 99
ipcache_high 98

cache_dir aufs /cache 150000 32 256 max-size=130000

access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_log /dev/null
#cache_log /var/logs/cache.log
#cache_store_log /var/cache/store.log
#cache_swap_log /var/cache/cache_swap.log
cache_store_log /dev/null
redirect_rewrites_host_header off
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563 81
acl safeports port 21 70 80 81 210 280 443 488 563 591 631 777 901 3128 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl dynamic urlpath_regex cgi-bin \?
acl all src 0.0.0.0/0
acl network src 192.168.1.0/24 #IP LAN
acl network src 192.168.11.0/24 #IP PROXY
#acl webfaceboox dstdomain .facebook.com
#http_access allow webfaceboox
http_access allow manager localhost
http_access allow manager
http_access allow localhost
http_access allow network
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
http_gzip on
#http_gzip_types text/plain,text/html,text/xml,text/css,application/xml,application/xhtml+xml,application/rss+xml,application/javascript,application/x-javascript

snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic all

#----------------------------------------------#
# ACL STORE REWRITE
#----------------------------------------------#
acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id)
acl store_rewrite_list urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar)\?
acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
acl store_rewrite_list_path urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|avc|zip|mp3|3gp|rar|on2|mar|exe)$
acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[a-z]+[0-9]\.google\.co(m|\.id)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(rar|zip|flv|wm(a|v)|3gp|mp(4|3)|exe|msi|avi|(mp(e?g|a|e|1|2|3|4))|cab|exe)

acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.com
acl store_rewrite_list_domain_CDN url_regex photos-[a-z].ak.fbcdn.net
acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.co(m|\.id)
acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive quantserve\.com

acl dontrewrite url_regex redbot\.org \.php
acl dontrewrite url_regex yimg.com redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]* \.php\? threadless.*\.jpg\?r=
acl getmethod method GET

acl QUERY urlpath_regex -i \.(ini|ui|lst|inf|pak|ver|patch)$
acl QUERY urlpath_regex -i (dat.asp|afs.dat|notice.swf|patchlist.txt|hackshield|captcha|reset.css|update.ver|notice.html|updates.txt|gamenotice)
cache deny QUERY

storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_list_domain
#storeurl_access allow store_rewrite_list_domain store_rewrite_list_path
storeurl_access deny all
header_access X-Forwarded-For deny all

storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 1
storeurl_rewrite_concurrency 99

#=========================================================
# TAG: Refresh Pattern
#=========================================================
# 1 year = 525600 mins, 1 month = 43200 mins, 1 day = 1440
#=========================================================
#max_stale 10 years
refresh_pattern -i \.(sc-|dl-|ex-|mh-|mst|dll)$ 0 20% 0
refresh_pattern -i (main.exe|notice.html)$ 0 20% 0
refresh_pattern -i (livescore.com|UpdaterModifier.exe|FreeStyle.exe|FSLauncher.exe) 0 20% 0
refresh_pattern .speedtest.* 0 60% 10 negative-ttl=0
#refresh_pattern -i \.(js?)$ 10080 50% 43200 ignore-reload override-expire override-lastmod

refresh_pattern (get_video|videoplayback|videodownload|\.flv).*(begin|start)\=[1-9][0-9]* 0 0% 0
refresh_pattern imeem.*\.flv 0 0% 0 override-lastmod override-expire
refresh_pattern ^ftp: 40320 20% 40320 override-expire reload-into-ims store-stale
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (livescore.com|UpdaterModifier.exe|FreeStyle.exe|FSLauncher.exe) 0 20% 0

#speedtest
refresh_pattern .speedtest.* 0 60% 10 negative-ttl=0
refresh_pattern speedtest.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png|swf|txt|js) 0 50% 180 store-stale negative-ttl=0


#ads
refresh_pattern ^.*safebrowsing.*google 131400 999999% 525600 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 5259487 20% 5259487 ignore-no-cache ignore-no-store ignore-private override-expire ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=1440

#antivirus
refresh_pattern avast.com.*\.vpx 40320 50% 525600 store-stale reload-into-ims
refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
refresh_pattern kaspersky.*\.avc$ 131400 999999% 525600 ignore-reload store-stale
refresh_pattern kaspersky 1440 50% 131400 ignore-no-cache store-stale
refresh_pattern .symantecliveupdate.com.*\.zip 1440 90% 131400 ignore-must-revalidate store-stale
refresh_pattern .update.nai.com/.*\.(gem|zip|mcs) 43800 999999% 43800 ignore-reload store-stale ignore-must-revalidate
refresh_pattern .symantec.com.*\(exe|zip) 43800 999999% 43800 ignore-reload store-stale ignore-must-revalidate
refresh_pattern ^http://file.pb.gemscool.com.*\.zip 131400 999999% 131400 override-expire store-stale
refresh_pattern .kaskus.us.*\.(jpg|gif|png) 1440 60% 131400 override-expire store-stale
refresh_pattern ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(rar|mov|mkv|cab|flv|wmv|3gp|mp(4|3)|exe|msi|zip) 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store ignore-private store-stale ignore-auth


#browser facebook
refresh_pattern ((facebook.com)|(85.131.151.39)).*\.(png|gif) 1440 60% 525600 override-expire store-stale
refresh_pattern .fbcdn.net.*\.(jpg|gif|png) 1440 60% 131400 ignore-no-cache override-expire ignore-reload store-stale negative-ttl=0

#image facebook
refresh_pattern -i \.facebook.com.*\.(jpg|png|gif) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

#games facebook
refresh_pattern ^http:\/\/apps.facebook.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.zynga.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.igg.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.farmville.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.ninjasaga.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.mafiawars.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.crowdstar.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.popcap.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store ignore-must-revalidate store-stale

#banner IIX
refresh_pattern ^http:\/\/openx.*\.(jp(e?g|e|2)|gif|pn[pg]|swf|ico|css|tiff?) 129600 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/ads(1|2|3).kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/img.ads.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern .kompasimages.com.*\.(jpg|gif|png|swf) 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/openx.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

#IIX DOWNLOAD
refresh_pattern ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zip|flv|wmv|3gp|mp(4|3)|exe|msi|zip) 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale ignore-auth

# ANTI VIRUS
refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims
refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale
refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale
refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale

#specific sites
refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 131400 90% 525600 ignore-reload store-stale
refresh_pattern ^http://v\.okezone\.com/get_video\/([a-zA-Z0-9]) 131400 999999% 43200 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 525600 99999999% 525600 override-expire ignore-reload ignore-no-cache ignore-must-revalidate ignore-private store-stale negative-ttl=0
refresh_pattern \.(ico|video-stats) 525600 999999% 525600 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern \.etology\? 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern galleries\.video(\?|sz) 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern brazzers\? 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern \.adtology\? 525600 999999% 525600 override-expire ignore-reload ignore-no-cache store-stale

refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id) 131400 999999% 525600 override-expire ignore-reload store-stale ignore-private negative-ttl=10080
refresh_pattern ytimg\.com.*\.(jpg|png) 525600 999999% 525600 override-expire ignore-reload store-stale
refresh_pattern images\.friendster\.com.*\.(png|gif) 131400 999999% 525600 override-expire ignore-reload store-stale
refresh_pattern garena\.com 525600 999999% 525600 override-expire reload-into-ims store-stale
refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 525600 999999% 525600 override-expire ignore-reload store-stale
refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 525600 999999% 525600 ignore-no-cache override-expire override-lastmod store-stale
refresh_pattern ^http:\/\/images|pics|thumbs[0-9]\. 131400 999999% 525600 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale
refresh_pattern ^http:\/\/www.onemanga.com.*\/ 525600 999999% 525600 reload-into-ims override-expire store-stale
refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 131400 999999% 525600 reload-into-ims override-expire ignore-private store-stale
refresh_pattern \.macromedia.com.*\.(z|exe|cab) 131400 999999% 525600 ignore-reload override-expire store-stale

#general
refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 131400 999999% 525600 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 131400 999999% 525600 override-expire ignore-no-cache reload-into-ims
refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 131400 999999% 525600 override-expire reload-into-ims ignore-reload
refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab|mar) 131400 999999% 525600 override-expire reload-into-ims ignore-no-store ignore-no-cache ignore-must-revalidate
refresh_pattern \.(mkv|mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2) 525600 9999999% 525600 ignore-must-revalidate ignore-private ignore-no-cache override-expire reload-into-ims
refresh_pattern -i (cgi-bin) 0 0% 0
refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
refresh_pattern . 0 50% 525600 store-stale
header_access X-Forwarded-For deny all

#==============================================
# TAG: Extra Tuning Configuration
#==============================================
fqdncache_size 2048
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
shutdown_lifetime 10 seconds
memory_pools off
buffered_logs off
log_icp_queries off
logfile_rotate 1
log_fqdn off
forwarded_for off
icp_hit_stale on
query_icmp on
reload_into_ims on
emulate_httpd_log off
negative_ttl 2 minutes
pipeline_prefetch on
vary_ignore_expire on
half_closed_clients off
high_page_fault_warning 2
nonhierarchical_direct on
prefer_direct off
cache_mgr giga.net17@yahoo.co.id
cache_effective_user proxy
cache_effective_group proxy
visible_hostname SpeedProxy
unique_hostname MyHigh-Proxy
cachemgr_passwd none all
client_db on
max_filedescriptors 8192
n_aiops_threads 24
load_check_stopen on
load_check_stcreate on
download_fastest_client_speed on

# TAG: ZPH
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

ini dari lognya :

332425572.495 40315 192.168.1.50 TCP_MISS/200 516 GET http://0-ji-w.channel.fa
cebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425573.092 1586 192.168.1.65 TCP_MISS/200 1580 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425573.227 6713 192.168.1.64 TCP_MISS/200 1633 GET http://0-62.channel.fac
ebook.com/pull? - DIRECT/66.220.145.39 text/plain
1332425573.620 452 192.168.1.65 TCP_MISS/200 1401 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425574.440 408 192.168.1.65 TCP_MISS/200 853 POST http://www.facebook.com
/ajax/chat/buddy_list.php? - DIRECT/31.13.79.20 application/x-javascript
1332425575.087 1402 192.168.1.65 TCP_MISS/200 1627 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425576.849 1690 192.168.1.65 TCP_MISS/200 1631 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425577.625 685 192.168.1.65 TCP_MISS/200 1448 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425577.963 256 192.168.1.65 TCP_MISS/200 1505 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425578.464 428 192.168.1.65 TCP_MISS/200 1478 GET http://0-ji-w.channel.f
acebook.com/pull? - DIRECT/69.171.227.57 text/plain
1332425578.632 530 192.168.1.65 TCP_MISS/200 5249 GET http://www.facebook.com
/ajax/hovercard/user.php? - DIRECT/31.13.79.20 application/x-javascript

Sebelumnya terimakasih atas bantuan dan koreksinya....


User avatar
rockafello

Post 08 May 2012, 13:00

tolong dibantu master....

2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.ninjasaga.com.*\/': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.mafiawars.com.*\/': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.crowdstar.com.*\/': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.popcap.com.*\/': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '(avgate|avira).*\.(idx|gz)$': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|\.flv?)': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab|mar)': ignore-must-revalidate
2012/05/08 12:56:54| parse_refreshpattern: Unknown option '\.(mkv|mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2012/05/08 12:56:54| Squid is already running! Process ID 1412
root@flow21:/cache# squid -N -d 1 -D
2012/05/08 13:00:45| parseConfigFile: squid.conf:52 unrecognized: 'http_gzip'
2012/05/08 13:00:45| parseConfigFile: squid.conf:53 unrecognized: 'http_gzip_types'
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '^.*safebrowsing.*google': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '(avgate|avira).*\.(idx|gz)$': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '.symantecliveupdate.com.*\.zip': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '.update.nai.com/.*\.(gem|zip|mcs)': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '.symantec.com.*\(exe|zip)': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.zynga.com.*\/': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.farmville.com.*\/': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.ninjasaga.com.*\/': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.mafiawars.com.*\/': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.crowdstar.com.*\/': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.popcap.com.*\/': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '(avgate|avira).*\.(idx|gz)$': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|\.flv?)': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab|mar)': ignore-must-revalidate
2012/05/08 13:00:45| parse_refreshpattern: Unknown option '\.(mkv|mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2012/05/08 13:00:45| Squid is already running! Process ID 1412
root@flow21:/cache# tail -f /var/log/squid/access.log | ccze


Post Reply

Who is online

Users browsing this forum: No registered users and 101 guests