RADIO ONLINE TIDAK UPDATE KARNA PROXY

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 16 May 2013, 22:03

selamat malam warga FUI semua
Mohon bantuan dan analisanya. masalah server saya yang akhir2 ini tidak bisa Update untuk radio online yang satu ini ( http://radio.rajawalitv.web.id )
mohon bantuan bagaimana cara membaypass alamat di agar tidak melewati proxy

terimakasih sebelumnya :)
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby q_p » 16 May 2013, 22:07

Manfaatkan opsi
always_direct
no_cache
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 24 May 2013, 00:10

apakah di squid.conf kita masukan config ini mas ??
Tampilkan
acl local-servers radio.rajawalitv.web.id
never_direct deny local-servers
never_direct allow all

mohon petunjuknya ?
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby q_p » 24 May 2013, 10:28

Coba saja dulu mas,
Kalau tidak berjalan sesuai yang anda harapkan, coba yang ini

Code: Select all

acl external dstdomain radio.rajawalitv.web.id
always_direct allow external
never_direct allow all
no_cache deny external
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 24 May 2013, 11:07

Pragola_Pati wrote:Coba saja dulu mas,
Kalau tidak berjalan sesuai yang anda harapkan, coba yang ini

Code: Select all

acl external dstdomain radio.rajawalitv.web.id
always_direct allow external
never_direct allow all
no_cache deny external

ok Mas Pragola, saya coba dulu dengan kalau ada/ngak ada masalah saya ntar dilaporin lagi :)

udah saya coba ini mas
Tampilkan
acl external dstdomain radio.rajawalitv.web.id
always_direct allow external
never_direct allow all
no_cache deny external


hasilnya error ini
Tampilkan
root@Proxy:/home/abau# squid -k parse
2013/05/24 11:09:44| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 55: never_direct allow all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.


saya coba conf. ini
Tampilkan
acl local-servers radio.rajawalitv.web.id
never_direct deny local-servers
never_direct allow all

juga ada masalah mas seperti ini indikasinya
Tampilkan
root@Proxy:/home/abau# squid -k parse
2013/05/24 11:12:09| aclParseAclLine: Invalid ACL type 'radio.rajawalitv.web.id'
FATAL: Bungled squid.conf line 53: acl local-servers radio.rajawalitv.web.id
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
root@Proxy:/home/abau#

menurut Mas dimana salahnya Mas ?
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 24 May 2013, 17:59

Coba ini mas
mungkin bisa membantu

Code: Select all

acl nocache_site url_regex -i "/etc/squid/script/nocache_site.txt"
cache deny nocache_site



dengan catatan, coba mas buat directory

mkdir /etc/squid/script/
sudo nano /etc/squid/script/nocache_site.txt

masukan website yang tidak ingin di cache
contoh :
radio
rajawalitv
rajawalitv.web.id

setelah itu CTRL+O dan enter serta untuk Exit dari editor CTRL+X


semoga bisa membantu
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 24 May 2013, 18:08

bellec wrote:saya coba conf. ini
Tampilkan
acl local-servers radio.rajawalitv.web.id
never_direct deny local-servers
never_direct allow all


juga ada masalah mas seperti ini indikasinya
Tampilkan
root@Proxy:/home/abau# squid -k parse
2013/05/24 11:12:09| aclParseAclLine: Invalid ACL type 'radio.rajawalitv.web.id'
FATAL: Bungled squid.conf line 53: acl local-servers radio.rajawalitv.web.id
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
root@Proxy:/home/abau#

menurut Mas dimana salahnya Mas ?


Code: Select all

2013/05/24 11:12:09| aclParseAclLine: Invalid ACL type 'radio.rajawalitv.web.id'
FATAL: Bungled squid.conf line 53: acl local-servers radio.rajawalitv.web.id


itu error karna ACL tidak bisa membaca system nya dengan baik
semestinya ada tambahan dstdomain di config nya mas ...

Tampilkan
acl local-servers dstdomain radio.rajawalitv.web.id
never_direct deny local-servers
never_direct allow all


CMIIW
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby q_p » 24 May 2013, 18:41

Tambahkan dalam squid.conf
acl all src 0.0.0.0/0.0.0.0
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 24 May 2013, 21:17

Tampilkan
2013/05/24 21:15:01| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2013/05/24 21:15:01| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2013/05/24 21:15:01| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'

dapat warning juga Mas Pragola,
saya coba Mas GongLang dulu, nanti hasilnya saya kbari lagi

sudah saya coba juga mas GongLang, masih dengan error yang sama seperti awal ( acl external dstdomain )
:confused:
untuk buat scrip seperti yang diatas saya belum coba, saya kurang paham soalnya :(
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 24 May 2013, 23:32

bellec wrote:
Tampilkan
2013/05/24 21:15:01| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2013/05/24 21:15:01| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2013/05/24 21:15:01| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'

dapat warning juga Mas Pragola,
saya coba Mas GongLang dulu, nanti hasilnya saya kbari lagi

sudah saya coba juga mas GongLang, masih dengan error yang sama seperti awal ( acl external dstdomain )
:confused:
untuk buat scrip seperti yang diatas saya belum coba, saya kurang paham soalnya :(


Coba mas gelar kan squid.conf nya disini

sebenarnya seh bukan script itu mas. Itu masih tetap termasuk ACL dstdomain
Akan tetapi, ini bermain di urlregex, jadi bisa di input lebih banyak website yang tidak ingin tercache :)

itu script bisa aja di ganti dengan nama folder lain
atau ilangin aja nama folder script
langsung ke pembuatan data nya aja
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby q_p » 24 May 2013, 23:34

Yang terakhir itu kan WARNING. 'Error' tidak sama dengan 'Warning'
:)
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 24 May 2013, 23:38

Pragola_Pati wrote:Tambahkan dalam squid.conf
acl all src 0.0.0.0/0.0.0.0


atau di ubah ke ini aja

acl all src 0.0.0.0/0

sepertinya TS menggunakan squid v3 yah ???
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 25 May 2013, 11:54

betul Mas Pragola_Pati :D
kalau kita dapat "warning" yang belum kita pahami kan sedikit takut terjadi hal yang tidak di inginkan kalau teruskan juga confignya Mas :)

oke Mas GongLang saya gelar squid.conf disini ( sudah disesuaikan dengan hal. 38 dalam topik Youtube dari Mas Pragola_Pati )
Tampilkan
strip_query_terms off
acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
logformat squid1 %{Referer}>h %ru
access_log /var/log/squid/yt.log squid1 yutub
acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
acl redirec urlpath_regex -i .*&ir=1&rr=12
cache deny redirec
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$
storeurl_access deny reddeny

http_port 3128 transparent
strip_query_terms off
cache_mem 8 MB
server_http11 on
maximum_object_size_in_memory 3 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
maximum_object_size 128000 KB
cache_swap_low 90%
cache_swap_high 95%

cache_dir aufs /cache1 44500 64 256
cache_dir aufs /cache2 44500 64 256
cache_dir aufs /cache3 44500 64 256
cache_dir aufs /cache4 44500 64 256
cache_dir aufs /cache5 44500 64 256
cache_dir aufs /cache6 44500 64 256
cache_dir aufs /cache7 44500 64 256


access_log /var/log/squid/access.log
##cache_log /dev/null
cache_log /var/log/squid/cache.log
cache_store_log /dev/null

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl purge method PURGE
acl CONNECT method CONNECT

acl advertise url_regex -i "/etc/squid/ads.block"
deny_info http://lusca.indolini.org/fill.png advertise
http_access deny advertise

acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
acl redirec urlpath_regex -i .*&ir=1&rr=12
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$

acl bokep url_regex "/etc/squid/block.txt"
[color:#000099]acl nocache_site url_regex -i "/etc/squid/nocache_site.txt"
cache deny nocache_site[/color]
acl all src 0.0.0.0/0
acl jaringan src 192.168.0.0/16
acl jaringan src 172.16.0.0/12
acl jaringan src 10.0.0.0/8

http_access deny bokep
http_access allow manager
http_access allow localhost
http_access allow purge localhost
http_access deny purge
http_access allow jaringan
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all

#acl thunder_lst url_regex -i "/etc/thunder/thunder.lst"
#cache deny thunder_lst
#cache_peer 172.16.10.1 parent 8080 0 proxy-only no-digest
#dead_peer_timeout 2 seconds
#cache_peer_access 172.16.10.1 allow thunder_lst
#cache_peer_access 172.16.10.1 deny all

#include /etc/squid/tc3.conf

#snmp_port 3401
#acl snmppublic snmp_community public
#snmp_access allow snmppublic all

#######################################
acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id) \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
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 streamate.doublepimp.com.*\.js\? photos-[a-z].ak.fbcdn.net \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.* yieldmanager cpxinteractive ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com

acl videocache_allow_url url_regex -i \.youtube\.com\/get_video\?
acl videocache_allow_url url_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/get_video\?
acl videocache_allow_url url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/get_video\?
########
acl videocache_allow_url url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.range\.[a-z][a-z]\/get_video\?
acl videocache_allow_url url_regex -i \.googlevideo\.com\/videoplayback \.googlevideo\.com\/videoplay \.googlevideo\.com\/get_video\?
acl videocache_allow_url url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\?
acl videocache_allow_url url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\?
acl videocache_allow_url url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl videocache_allow_url url_regex -i vid\.akm\.dailymotion\.com\/
acl videocache_allow_url url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl videocache_allow_url url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
acl videocache_allow_url url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl videocache_allow_url url_regex -i \.files\.youporn\.com\/(.*)\/flv\/
acl videocache_allow_url url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl videocache_allow_url url_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ www\.tube8\.com\/(.*)\/
acl videocache_allow_url url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl videocache_allow_url url_regex -i \.video[a-z0-9]?[a-z0-9]?\.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram)
acl videocache_allow_url url_regex -i video\.break\.com\/(.*)\.(flv|mp4)
acl videocache_allow_dom dstdomain .mccont.com .metacafe.com .redtube.com .cdn.dailymotion.com

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

storeurl_access allow videocache_allow_url
storeurl_access allow videocache_allow_dom

storeurl_access deny reddeny
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 store_rewrite_list_path
storeurl_access deny all
storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10

max_stale 8 week
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 86400 999999% 86400 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 \.*\.(kom|stg|xtp|xt|nzp) 604800 999999% 604800 override-expire ignore-reload ignore-no-cache store-stale
##refresh_pattern ^http://122.102.49.202/.* 43800 90% 43800 override-expire ignore-reload store-stale ignore-private ignore-must-revalidate negative-ttl=0
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale

refresh_pattern \.speedtest/.* 43200 99999% 432000 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern \.(ico|video-stats) 43200 999999% 43200 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\? 43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern galleries\.video(\?|sz) 43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern brazzers\? 43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern \.adtology\? 43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern ^.*(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).* 43200 20% 43200 ignore-no-cache ignore-no-store ignore-private ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=10
refresh_pattern ^.*safebrowsing.*google 43200 999999% 43200 ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk) 43200 999999% 43200 ignore-reload ignore-private store-stale negative-ttl=10080
refresh_pattern ytimg\.com.*\.jpg 43200 999999% 43200 ignore-reload store-stale
refresh_pattern images\.friendster\.com.*\.(png|gif) 43200 999999% 43200 ignore-reload store-stale
refresh_pattern garena\.com 43200 999999% 43200 reload-into-ims store-stale
refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 43200 999999% 43200 ignore-reload store-stale
refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 43200 999999% 43200 ignore-no-cache override-lastmod store-stale
refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 43200 999999% 43200 reload-into-ims ignore-private store-stale
refresh_pattern ^http:\/\/images|pics|thumbs[0-9]\. 43200 999999% 43200 reload-into-ims ignore-no-cache ignore-no-store ignore-reload store-stale
refresh_pattern ^http:\/\/www.onemanga.com.*\/ 43200 999999% 43200 reload-into-ims ignore-no-cache ignore-no-store ignore-reload store-stale
refresh_pattern ^http://v\.okezone\.com/get_video\/([a-zA-Z0-9]) 43200 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern guru.avg.com/.*\.(bin) 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern avast.com.*\.vps 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern avast.com.*\.vpx 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern (avgate|avira).*(idx|gz)$ 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern kaspersky.*\.avc$ 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern kaspersky 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern update.nai.com/.*\.(gem|zip|mcs) 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern ^http:\/\/liveupdate.symantecliveupdate.com.*\(zip) 1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale

refresh_pattern windowsupdate.com/.*\.(cab|exe) 10080 999999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern update.microsoft.com/.*\.(cab|exe) 10080 999999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern download.microsoft.com/.*\.(cab|exe) 10080 999999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale

refresh_pattern -i \.facebook.com.*\.(jpg|png|gif) 1440 300% 10080 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3) 1440 300% 10080 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 1440 300% 10080 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 1440 300% 10080 ignore-reload ignore-no-cache ignore-no-store store-stale

refresh_pattern ^http:\/\/apps.facebook.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.zynga.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.farmville.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.ninjasaga.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.mafiawars.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.crowdstar.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.popcap.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.cityville.com.*\/ 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale

refresh_pattern ^http:\/\/openx.*\.(jp(e?g|e|2)|gif|pn[pg]|swf|ico|css|tiff?) 129600 99999% 129600 reload-into-ims ignore-reload 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 ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/img.ads.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern .kompasimages.com.*\.(jpg|gif|png|swf) 43200 99999% 129600 reload-into-ims ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/openx.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern kaskus.\co.id.*\.(jp(e?g|e|2)|gif|png|swf) 43200 99999% 129600 reload-into-ims ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/img.kaskus.co.id.*\.(jpg|gif|png|swf) 43200 99999% 129600 reload-into-ims ignore-reload ignore-no-cache ignore-no-store store-stale
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 ignore-no-cache ignore-no-store store-stale ignore-auth

refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 40% 40320

via off
header_access From deny all
header_access Server deny all
header_access WWW-Authenticate deny all
header_access Link deny all
header_access Cache-Control deny all
header_access Proxy-Connection deny all
header_access X-Cache deny all
header_access X-Cache-Lookup deny all
header_access Via deny all
header_access Forwarded-For deny all
header_access X-Forwarded-For deny all
header_access Pragma deny all
header_access Keep-Alive deny all
forwarded_for off

max_filedescriptors 65536
fqdncache_size 4096
ipcache_low 98
ipcache_high 99
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
shutdown_lifetime 5 seconds
memory_pools off
buffered_logs off
log_icp_queries off
logfile_rotate 7
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 deny redirec
cache_mgr proxy
cache_effective_user proxy
cache_effective_group proxy
visible_hostname proxy
unique_hostname proxy
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136


mohon dikoreksi kalau ada yng salah dalam hal konfigurasinya Mas ! :)
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 25 May 2013, 20:02

bellec wrote:
PERHATIKAN YANG TERCETAK TEBAL DAN BERWARNA INI ....
acl manager proto cache_object
acl localhost src [color:#3366FF]127.0.0.1/32[/color]
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl purge method PURGE
acl CONNECT method CONNECT

acl advertise url_regex -i "/etc/squid/ads.block"
deny_info http://lusca.indolini.org/fill.png advertise
http_access deny advertise

acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
acl redirec urlpath_regex -i .*&ir=1&rr=12
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$

[color:#3366FF]acl bokep url_regex -i "/etc/squid/block.txt"

acl nocache_site url_regex -i "/etc/squid/nocache_site.txt
cache deny nocache_site
[/color]

acl all src 0.0.0.0/0
acl jaringan src 192.168.0.0/16
acl jaringan src 172.16.0.0/12
acl jaringan src 10.0.0.0/8

http_access deny bokep
http_access allow manager
http_access allow localhost
http_access allow purge localhost
http_access deny purge
http_access allow jaringan
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all


mohon dikoreksi kalau ada yng salah dalam hal konfigurasinya Mas ! :)



yang tebal dan berwarna coba di koreksi mas ...
dan untuk lebih memudahkan tanpa folder script biar gk bingung ...
langsung aja buat file baru

Bila perlu langsung aja copy paste perintah berikut di terminal console mas

sudo nano /etc/squid/nocache_site.txt

(Setelah terbuka lampiran dengan tidak ada data sama sekali ... maka cukup input kan ini saja)

radio
rajawali
rajawalitv
rajawalitv.web.id


(setelah selesai mengetikkan isi nya ... maka CTRL+O untuk save editornya, dan CTRL+X untuk keluar dari Editor)

CTRL+O <<< huruf OOOooo bukan angka 000


CMIIW
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 26 May 2013, 17:45

GongLang wrote:
bellec wrote:
PERHATIKAN YANG TERCETAK TEBAL DAN BERWARNA INI ....
acl manager proto cache_object
acl localhost src [color:#3366FF]127.0.0.1/32[/color]
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl purge method PURGE
acl CONNECT method CONNECT

acl advertise url_regex -i "/etc/squid/ads.block"
deny_info http://lusca.indolini.org/fill.png advertise
http_access deny advertise

acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
acl redirec urlpath_regex -i .*&ir=1&rr=12
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$

[color:#3366FF]acl bokep url_regex -i "/etc/squid/block.txt"

acl nocache_site url_regex -i "/etc/squid/nocache_site.txt
cache deny nocache_site
[/color]

acl all src 0.0.0.0/0
acl jaringan src 192.168.0.0/16
acl jaringan src 172.16.0.0/12
acl jaringan src 10.0.0.0/8

http_access deny bokep
http_access allow manager
http_access allow localhost
http_access allow purge localhost
http_access deny purge
http_access allow jaringan
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all


mohon dikoreksi kalau ada yng salah dalam hal konfigurasinya Mas ! :)



yang tebal dan berwarna coba di koreksi mas ...
dan untuk lebih memudahkan tanpa folder script biar gk bingung ...
langsung aja buat file baru

Bila perlu langsung aja copy paste perintah berikut di terminal console mas

sudo nano /etc/squid/nocache_site.txt

(Setelah terbuka lampiran dengan tidak ada data sama sekali ... maka cukup input kan ini saja)

radio
rajawali
rajawalitv
rajawalitv.web.id


(setelah selesai mengetikkan isi nya ... maka CTRL+O untuk save editornya, dan CTRL+X untuk keluar dari Editor)

CTRL+O <<< huruf OOOooo bukan angka 000


CMIIW


sudah saya coba saran Mas GongLang, tapi ngak jalan Mas :)
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 26 May 2013, 20:28

tidak jalan ???
Benarkah ???

Buktinya di tempat saya kok bisa berfungsi normal yah ???
Untuk block atau set cache deny juga bisa berfungsi

ini squid conf saya

squid.conf

Code: Select all

# storeurl release using r25

#baris di bawah ini u/ antivirus HAVP (comment-out jika tdk pakai HAVP)
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default

http_port 3128 transparent
server_http11 on
icp_port 0

# acl.conf r25

#Harus ada jika pakai r25
acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/32
acl localnet src 192.168.0.0/24
acl OP src 192.168.0.253/32 192.168.0.252/32 192.168.0.251/32 192.168.0.250/32 192.168.0.240/29 192.168.0.200/32 192.168.0.222/32 192.168.0.168/32 192.168.0.68/32 192.168.0.50/32 192.168.0.30/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32

# https snews rsync
acl SSL_ports port 443 563 873
# default
acl Safe_ports port 80 81 82 83 84 85 8079 8080 20 21 221 70 210 1025-65535 631 10000 901 280 488 591 777 873 110 995 25 587 995 2095 2096 2082 2083 18901-18909
acl manager proto cache_object
acl purge method PURGE
acl connect method CONNECT

# Don't upgrade ShoutCast responses to HTTP
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
# Apache mod_gzip and mod_deflate known to be broken so don't trust Apache to signal ETag correctly on such responses
# acl apache rep_header Server ^Apache

acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes #Harus ada jika pakai r25
acl redirec urlpath_regex -i .*&ir=1&rr=12 #Harus ada jika pakai r25

#Harus ada jika pakai r25
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$

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 \.(3gp|mp(3|4)|flv|(m|f)4v|on2|fid|avi|mov|wm(a|v)|(mp(e?g|a|e|1|2))|mk(a|v)|jp(e?g|e|2)|gif|png|tiff?|bmp|tga|svg|ico|swf|exe|ms(i|u|p)|cab|psf|mar|bin|z(ip|[0-9]{2})|r(ar|[0-9]{2})|7z|pkg)\?
acl store_rewrite_list_path urlpath_regex \.(3gp|mp(3|4)|flv|(m|f)4v|on2|fid|avi|mov|wm(a|v)|(mp(e?g|a|e|1|2))|mk(a|v)|jp(e?g|e|2)|gif|png|tiff?|bmp|tga|svg|ico|swf|exe|ms(i|u|p)|cab|psf|mar|bin|z(ip|[0-9]{2})|r(ar|[0-9]{2})|7z|pkg)$
acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?(.google.com.*)/)
acl store_rewrite_list_domain_CDN url_regex (cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/)
acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]*
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/i[1-9]{3}(.photobucket.com.*)/)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/i[1-9]{4}(.photobucket.com.*)/)
acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive  quantserve\.com
acl store_rewrite_list url_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list url_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/get_video\?
acl store_rewrite_list url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/get_video\?
acl store_rewrite_list url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\?
acl store_rewrite_list url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\?
acl store_rewrite_list url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl store_rewrite_list url_regex -i vid\.akm\.dailymotion\.com\/
acl store_rewrite_list url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl store_rewrite_list url_regex -i \.vimeo\.com\/(.*)\.(flv|mp4)
acl store_rewrite_list url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl store_rewrite_list url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl store_rewrite_list url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl store_rewrite_list url_regex -i \.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram|m4v)
acl store_rewrite_list url_regex -i \.break\.com\/(.*)\.(flv|mp4)

acl store_rewrite_allow_dom dstdomain .mccont.com .metacafe.com .cdn.dailymotion.com
acl store_rewrite_deny_dom  dstdomain .download.youporn.com .static.blip.tv
acl dontrewrite url_regex redbot\.org \.php
acl getmethod method GET

#always_direct allow localnet localhost
#always_direct deny all

acl ip_site_allow dst "/etc/squid/script/ip_site_allow.txt"
http_access allow ip_site_allow

acl site_allow url_regex -i "/etc/squid/script/site_allow.txt"
http_access allow site_allow

acl site_deny url_regex -i "/etc/squid/script/site_deny.txt"
http_access deny site_deny !OP
cache deny site_deny

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny connect !SSL_ports !Safe_ports
http_access allow localnet
http_access allow localhost
http_access deny to_localhost
http_access deny all

upgrade_http0.9 deny shoutcast
#broken_vary_encoding allow apache

#Harus ada jika pakai r25
cache deny redirec

header_access Accept-Encoding deny all
header_access X-Forwarded-For deny all

#Harus ada jika pakai r25
storeurl_access deny reddeny

storeurl_access allow store_rewrite_list_domain
storeurl_access allow store_rewrite_list_path
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_allow_dom
storeurl_access deny store_rewrite_deny_dom
storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access deny all
#end of file



#baris di bawah ini u/ squidGuard (comment-out jika tdk pakai squiGuard)
#url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf

storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10


# tune.conf

#Harus ada jika pakai r25
strip_query_terms off

cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
minimum_object_size 0 KB
maximum_object_size 700 MB
maximum_object_size_in_memory 32 KB
ipcache_size 16384
ipcache_low 98
ipcache_high 99
fqdncache_size 16384
log_fqdn off
log_icp_queries off
half_closed_clients off
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
vary_ignore_expire on
pipeline_prefetch on
reload_into_ims on
forwarded_for off
via off
client_db on
client_persistent_connections off
server_persistent_connections off
icp_hit_stale on
query_icmp on
memory_pools off
negative_ttl 30 seconds
max_filedescriptors 65536
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
store_dir_select_algorithm round-robin
uri_whitespace strip
emulate_httpd_log off
shutdown_lifetime 10 seconds
logfile_rotate 1
zph_mode tos
zph_local 0x04
zph_parent 0
zph_option 136
#end of file


#baris di bawah ini mohon disesuaikan dengan path cache_dir anda
cache_dir aufs /cache01/squid01 80896 16 256
cache_dir aufs /cache02/squid02 80896 16 256
cache_dir aufs /cache03/squid03 80896 16 256
cache_dir aufs /cache04/squid04 80896 16 256
cache_dir aufs /cache05/squid05 80896 16 256
cache_dir aufs /cache06/squid06 80896 16 256

#path log di bawah ini mohon di receck pada saat Anda build squid
icon_directory /usr/share/squid/icons
#cache_swap_log /var/log/squid/swap.state
cache_access_log /var/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null
pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
mime_table /etc/squid/mime.conf
logformat squid1 %{Referer}>h %ru
access_log /var/log/squid/yt.log squid1 yutub


# refresh_pattern.conf

refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?)             43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)       43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.3gp?)             43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.3gp?)       43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.mp4?)             43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.mp4?)       43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale

refresh_pattern windowsupdate.com/.*\.(cab|exe)                 10080  999999%  43200 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern update.microsoft.com/.*\.(cab|exe)              10080  999999%  43200 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern download.microsoft.com/.*\.(cab|exe)            10080  999999%  43200 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale

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

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


refresh_pattern -i \.(3gp|7z|apk|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)                43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)           43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)                  43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)    43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)    43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern -i (/cgi-bin/|\?)     0     0%     0
refresh_pattern ^gopher:           1440    0%      1440
refresh_pattern ^ftp:              10080   95%    241920    override-lastmod reload-into-ims store-stale
refresh_pattern .                  180     95%    120960   override-lastmod reload-into-ims store-stale
#end of file


#baris di bawah ini mohon disesuaikan dengan dns yang anda pakai
#dns_nameservers 127.0.0.1

cache_effective_user proxy
cache_effective_group proxy
cache_mgr webmaster@BestCom
visible_hostname webmaster@BestCom
unique_hostname webmaster@BestCom
cachemgr_passwd none all

#end of file



dan ini isi site_deny nya

site_deny.txt

Code: Select all

\.vbs$
\.scr$
\.bat$
\.zip$
\.rar$
\.lha$
\.7z$
\.exe$
\.3gp$
\.mp1$
\.mp2$
\.mp4$
\.mp5$
\.avi$
\.mpg$
\.mpeg$
\.tar.gz$
\.bat$
\.asf$
\.rm$
\.rmvb$
\.amr$
\.mka$
\.wmv$
\.wma$
\.wmf$
\.iso$
\.ogg$
\.ac3$
\.mov$
\.vob$
\.m4v$
***
porn
hentai
clit
cunt
jizz
tube
xhamster
milf
fuck
undeep
unfreeze
keygen
vids
narutoxxx
crunchyroll
spankwire
veemi
ishunter
magettv
veemi
magedtv
ishunter
nkora
espn3
slutload
fileserve
wupload
narutoget
gosipboo
dailymotion
empflix
livejasmin
abby
bokep
amin-raha
mivo
nxgx
suck
nonk
dirtypriest
ant.com
holylol
internetdownloadmanager
submityourtapes
unblock
unblocked
proxy
smadav
avira
avg
zhide
booster
pakecit
cheater
pekalongan
toyibg
citnyot
maincit
opencit
vlanetcheater
sakeena
e991
game991





apakah ada kesalahan input ???
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby bellec » 26 May 2013, 22:30

benar kok mas, coba aja lihat squid.conf diatas yang sudah saya tambahkan confignya ( tulisan biru)
atau mungkin saya salah caranya Mas GongLang ?? :confused:
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 27 May 2013, 00:55

untuk nocache_site.txt nya udah di input mas ???

untuk input, mas boleh menggunakan editor yang mas sukai
apakah "nano" "vi" "vim" atau "gedit"

terserah mas ... saya sendiri lebih prefer ke nano (karna lebih bisa ke nano :p )

di tempat saya tidak ada masalah mas ...
setelah input, dan ganti squid conf nya

coba di restart

/etc/init.d/squid restart


di tempat saya, bisa block yang telah diblock + cache tidak bekerja setelah di coba download :)
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby q_p » 27 May 2013, 11:17

^
@bellec
@GongLang

acl nocache_site url_regex -i "/etc/squid/nocache_site.txt
cache deny nocache_site

Kalau hanya satu-dua yaitu http://radio.rajawalitv.web.id coba yang ini mas =

Code: Select all

acl nocache_site dstdomain radio.rajawalitv.web.id
cache deny nocache_site
User avatar
GongLang
Posts: 93
Joined: 20 Jul 2012, 19:55
Location: PematangSiantar
Contact:

Re: RADIO ONLINE TIDAK UPDATE KARNA PROXY

Postby GongLang » 27 May 2013, 12:59

Pragola_Pati wrote:^
@bellec
@GongLang

acl nocache_site url_regex -i "/etc/squid/nocache_site.txt
cache deny nocache_site

Kalau hanya satu-dua yaitu http://radio.rajawalitv.web.id coba yang ini mas =

Code: Select all

acl nocache_site dstdomain radio.rajawalitv.web.id
cache deny nocache_site


Hahaha
di tempat saya gk ada masalah seh mas @Pragola Pati

tapi, di tempat mas @bellec saya tidak tau ... bagaimana dia menginput config nya

Soalnya, di tempat saya berjalan dengan mulus baik saat check system squid dengan system rotate, ataupun saat built swap directories (swap cache)

CMIIW

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 3 guests