[HOT POOLLING]Apakah Youtube Error Lagi ?

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Re: [HOT POOLLING]Apakah Youtube Error Lagi ?

Post by riophone » 22 Oct 2013, 12:22

Access.log (versi r72) dari aktifitas download helper :
[spoiler]Download Pertama (http://www.youtube.com/watch?v=e1peomi10KI)
1382417329.759 218785 127.0.0.1 TCP_MISS/200 8895264 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videop
layback? - DIRECT/112.215.60.15 video/3gpp

Download Kedua (http://www.youtube.com/watch?v=e1peomi10KI)
1382417738.076 329 127.0.0.1 TCP_HIT/200 8895264 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videopl
ayback? - NONE/- video/3gpp

Download Ketiga dgn judul yg berbeda (http://www.youtube.com/watch?v=uw3ijPdxisw)
1382418493.646 294 127.0.0.1 TCP_HIT/200 8895265 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videopl
ayback? - NONE/- video/3gpp[/spoiler]

Hasil yg di download adalah file yg pertama didownload walaupun judul youtubenya beda.

@ Mas Pragola
Saya juga bingung mas, kalau dibilang tidak nge-cache malah saya lihat aktivitas trafik download sangat minim.
Kalau menurut saya "Stream_204" maupun yg ada embel2 "_204" lainnya hanya merupakan status/info file split yg sedang berlangsung. Sedangkan file split yg sedang berlangsung itu tetap tercache/HIT.


User avatar
fida
Posts: 30
Joined: 08 Mar 2013, 03:05

Post by fida » 22 Oct 2013, 13:35

q_p wrote:@fida
Kalau menggunakan ReadBackwards tidak usah ada crontab. Sedangkan r58, r70 dan r72 sudah tidak menggunakan ReadBackwards lagi.

@riophone
Yang berkaitan dengan "(ptracking|stream_204|player_204|gen_204)" waktu saya coba ditempat saya menggunakan r58 dan r70 hasilnya juga masih miss. ini saya kutipkan dari halaman 85
stream_204 wrote:1381831604.307 264 192.168.0.100 TCP_MISS/204 277 GET http://s.youtube.com/stream_204?vps=280.627:PL&scoville=1&df=280.627:626&fmt=134&docid=pDURt4sE9Is&ns=yt&ei=mhJ
dUsSsKKqamQWUqoHwAw&bwm=280.627:2715364.000:0.233&cpn=ZtTe9xU_wfIZH5Yb&event=streamingstats&el=detailpage&bh=280.627:49.920 - DIRECT/118.98.111.20 text/html
Kasus ini, kita tunggu saja penjelasan dari mas SJW.

@SJW
Ntar malam Dhe, nunggu warnet tutup saya kerjakan (pakai r70/r78) :)


kalo r58,r70 dan r72 apakah sudah tidak ada errornya mas,
matur suwun...


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 14:47

q_p wrote:@fida
Kalau menggunakan ReadBackwards tidak usah ada crontab. Sedangkan r58, r70 dan r72 sudah tidak menggunakan ReadBackwards lagi.

@riophone
Yang berkaitan dengan "(ptracking|stream_204|player_204|gen_204)" waktu saya coba ditempat saya menggunakan r58 dan r70 hasilnya juga masih miss. ini saya kutipkan dari halaman 85
stream_204 wrote:1381831604.307 264 192.168.0.100 TCP_MISS/204 277 GET http://s.youtube.com/stream_204?vps=280.627:PL&scoville=1&df=280.627:626&fmt=134&docid=pDURt4sE9Is&ns=yt&ei=mhJ
dUsSsKKqamQWUqoHwAw&bwm=280.627:2715364.000:0.233&cpn=ZtTe9xU_wfIZH5Yb&event=streamingstats&el=detailpage&bh=280.627:49.920 - DIRECT/118.98.111.20 text/html
Kasus ini, kita tunggu saja penjelasan dari mas SJW.

@SJW
Ntar malam Dhe, nunggu warnet tutup saya kerjakan (pakai r70/r78) :)
saya jelaskan alur atau hasil saja???


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 22 Oct 2013, 15:32

SyaifuddinJW wrote:
q_p wrote:@fida
Kalau menggunakan ReadBackwards tidak usah ada crontab. Sedangkan r58, r70 dan r72 sudah tidak menggunakan ReadBackwards lagi.

@riophone
Yang berkaitan dengan "(ptracking|stream_204|player_204|gen_204)" waktu saya coba ditempat saya menggunakan r58 dan r70 hasilnya juga masih miss. ini saya kutipkan dari halaman 85
stream_204 wrote:1381831604.307 264 192.168.0.100 TCP_MISS/204 277 GET http://s.youtube.com/stream_204?vps=280.627:PL&scoville=1&df=280.627:626&fmt=134&docid=pDURt4sE9Is&ns=yt&ei=mhJ
dUsSsKKqamQWUqoHwAw&bwm=280.627:2715364.000:0.233&cpn=ZtTe9xU_wfIZH5Yb&event=streamingstats&el=detailpage&bh=280.627:49.920 - DIRECT/118.98.111.20 text/html
Kasus ini, kita tunggu saja penjelasan dari mas SJW.

@SJW
Ntar malam Dhe, nunggu warnet tutup saya kerjakan (pakai r70/r78) :)
saya jelaskan alur atau hasil saja???

================================================

alurnya dulu mas ..... setelah itu hasilnya .... ok piss


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 22 Oct 2013, 16:08

waduw jan ...hari ini mbah Gooooogle lagi erot lagi ..... lengkap sudah penderitaan ku


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

Post by q_p » 22 Oct 2013, 16:10

@SJW
Terserah sampeyan lah Dhe, bagaimana enaknya. Yang penting gampang dimengerti :)
Tentang access.log, kebetulan terwakili oleh mas riophone dengan post-ingannya yang di atas =
posting by riophone
Access.log (versi r72) dari aktifitas download helper :

Download Pertama (http://www.youtube.com/watch?v=e1peomi10KI)
1382417329.759 218785 127.0.0.1 TCP_MISS/200 8895264 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videop
layback? - DIRECT/112.215.60.15 video/3gpp

Download Kedua (http://www.youtube.com/watch?v=e1peomi10KI)
1382417738.076 329 127.0.0.1 TCP_HIT/200 8895264 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videopl
ayback? - NONE/- video/3gpp

Download Ketiga dgn judul yg berbeda (http://www.youtube.com/watch?v=uw3ijPdxisw)
1382418493.646 294 127.0.0.1 TCP_HIT/200 8895265 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videopl
ayback? - NONE/- video/3gpp

Hasil yg di download adalah file yg pertama didownload walaupun judul youtubenya beda.


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 17:04

q_p wrote:@SJW
Terserah sampeyan lah Dhe, bagaimana enaknya. Yang penting gampang dimengerti :)
Tentang access.log, kebetulan terwakili oleh mas riophone dengan post-ingannya yang di atas =
posting by riophone
Access.log (versi r72) dari aktifitas download helper :

Download Pertama (http://www.youtube.com/watch?v=e1peomi10KI)
1382417329.759 218785 127.0.0.1 TCP_MISS/200 8895264 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videop
layback? - DIRECT/112.215.60.15 video/3gpp

Download Kedua (http://www.youtube.com/watch?v=e1peomi10KI)
1382417738.076 329 127.0.0.1 TCP_HIT/200 8895264 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videopl
ayback? - NONE/- video/3gpp

Download Ketiga dgn judul yg berbeda (http://www.youtube.com/watch?v=uw3ijPdxisw)
1382418493.646 294 127.0.0.1 TCP_HIT/200 8895265 GET http://r4---sn-xmjxajvh-jb3e.c.youtube.com/videopl
ayback? - NONE/- video/3gpp

Hasil yg di download adalah file yg pertama didownload walaupun judul youtubenya beda.
bisa tolong saya dengan mengaktifkan
strip_query_terms off

lalu hasil lognya tampilin ke sini.


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

Post by q_p » 22 Oct 2013, 17:15

Dhe, di tempat saya pada saat muncul kasus di atas opsi tsb sudah masuk ke konfig =

Code: Select all

root@dns:~# cat /etc/squid/squid.conf | grep 'strip_query_terms off'
strip_query_terms off
Maksud saya kalau yang dilampirkan mas riophone tidak ada opsi 'strip_query_terms off' di dalam konfig-nya, ya baru entar malam Dhe (nunggu warnet tutup) baru bisa lihat :d


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 22 Oct 2013, 17:49

@ SyaifuddinJW
ini lognya access.log dari aktivitas download helper mas.
Masih menggunakan r72 dengan opsi strip_query_terms off di uncomment

[spoiler]1382438619.083 544 127.0.0.1 TCP_HIT/200 8895266 GET http://r4---sn-xmjxajvh-
jb3e.c.youtube.com/videoplayback?ipbits=8&id=bb0de28cf7718acc&sver=3&expire=1382
462234&burst=40&algorithm=throttle-factor&ip=112.215.66.72&mt=1382438375&cp=U0hX
R1RRUF9ITkNON19MS1RDOmZHaExuaHp2R0FR&ms=au&itag=36&upn=Q3rqMX0YaTo&source=youtub
e&pcm2fr=yes&mv=m&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Ci
tag%2Cpcm2fr%2Csource%2Cupn%2Cexpire&fexp=906094%2C924616%2C924610%2C907231&fact
or=1.25&key=yt5&signature=E72958929C4002A30D21B1369DB6B77C8FE98C1B.A77D81949ECC0
D19BAD5258B451E1B0B242E814D - NONE/- video/3gpp[/spoiler]


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

Post by q_p » 22 Oct 2013, 17:54

@riophone
Terimakasih ...
Tidak perlu nunggu nanti malam :d


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 18:00

he he he, mari kita bongkar bersama, agar dapat mencari solusi bersama dan mencari ide sama sama, sehingga semakin banyak ide, semakin banyak pula kemajuan yg didapat

tolong tmpilkan jangan hanya 1 baris log yach, karena saya butuh stream_204 atau ptracking atau player_204 juga untuk membandingkan apakah ada yg salah dari storeurl atau tidak


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 22 Oct 2013, 18:11

@ Pragola
Pakai Ubuntu Desktop 12.04 LTS aja mas. Saya pakai di komputer rumah sesuai dgn tuntutan pekerjaan. Tinggal install lusca, jadi bisa langsung di utak atik tanpa mengganggu mesin proxy di net. Hemat biaya tidak perlu mesin proxy tambahan maupun mikrotik. Koneksi tinggal tether dari tablet, quota inet nya pun semakin irit berkat proxy


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 22 Oct 2013, 18:18

[spoiler]1382438619.083 544 127.0.0.1 TCP_HIT/200 8895266 GET http://r4---sn-xmjxajvh-
jb3e.c.youtube.com/videoplayback?ipbits=8&id=bb0de28cf7718acc&sver=3&expire=1382
462234&burst=40&algorithm=throttle-factor&ip=112.215.66.72&mt=1382438375&cp=U0hX
R1RRUF9ITkNON19MS1RDOmZHaExuaHp2R0FR&ms=au&itag=36&upn=Q3rqMX0YaTo&source=youtub
e&pcm2fr=yes&mv=m&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Ci
tag%2Cpcm2fr%2Csource%2Cupn%2Cexpire&fexp=906094%2C924616%2C924610%2C907231&fact
or=1.25&key=yt5&signature=E72958929C4002A30D21B1369DB6B77C8FE98C1B.A77D81949ECC0
D19BAD5258B451E1B0B242E814D - NONE/- video/3gpp
1382438627.874 430 127.0.0.1 TCP_MISS/204 562 GET http://s.youtube.com/api/st
ats/watchtime?idpj=-8&fexp=906094,924616,924610,907231&cpn=6-UD4614fRlB1syX&cr=I
D&rti=194&ei=HVZmUsCvN86WkwW564DgBA&et=132.718&state=paused&fs=0&cbrver=24.0&st=
132.718&el=detailpage&ldpj=-36&lact=61603&plid=AATpUgeKEja84SM2&cver=as3&c=WEB&h
l=en_US&ver=2&fmt=133&cmt=132.718&ns=yt&rtn=234&cbr=Firefox&rt=194.907&cos=X11&l
en=369&docid=uw3ijPdxisw - DIRECT/173.194.38.161 text/html[/spoiler]

yang muncul di access.log dari aktivitas download helper cuma itu aja mas. history di mozilla saya clear ke awal lalu tutup kemudian buka mozilla hanya 1 tab yaitu youtube


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 19:11

boleh saya minta link downloader dan link video youtubenya??


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

Post by q_p » 22 Oct 2013, 19:41

Itu AddOn-nya mozilla mas = DownloadHelper 4.9.21


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 22 Oct 2013, 20:16

Permen Nande
[video:youtube]http://www.youtube.com/watch?v=e1peomi10KI[/video]

i Pesta Danau Toba
[video:youtube]http://www.youtube.com/watch?v=uw3ijPdxisw[/video]


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 21:29

saya perhatikan dahulu, hanya saja saya menggunakan iceweasel (mozila di linux)

ok sudah dapet permasalahannya, segera saya perbaiki.
ini dikarenakan jika menggunakan downloader tidak ada CPN di linknya


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

Post by q_p » 22 Oct 2013, 22:52

SyaifuddinJW wrote:done
sudah saya update di
https://code.google.com/p/tempat-sampah ... toreurl.pl
:like:


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 22:55

q_p wrote:
SyaifuddinJW wrote:done
sudah saya update di
https://code.google.com/p/tempat-sampah ... toreurl.pl
:like:
ayo kita belajar regex lagi ^_^


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

Post by q_p » 22 Oct 2013, 23:06

Masih belum mudeng saya, terutama yang berhubungan dengan (ptracking|stream_204|player_204|gen_204) masih miss Dhe :
stream_204 wrote:1381831604.307 264 192.168.0.100 TCP_MISS/204 277 GET http://s.youtube.com/stream_204?vps=280.627:PL&scoville=1&df=280.627:626&fmt=134&docid=pDURt4sE9Is&ns=yt&ei=mhJ
dUsSsKKqamQWUqoHwAw&bwm=280.627:2715364.000:0.233&cpn=ZtTe9xU_wfIZH5Yb&event=streamingstats&el=detailpage&bh=280.627:49.920 - DIRECT/118.98.111.20 text/html


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 23:24

q_p wrote:Masih belum mudeng saya, terutama yang berhubungan dengan (ptracking|stream_204|player_204|gen_204) masih miss Dhe :
stream_204 wrote:1381831604.307 264 192.168.0.100 TCP_MISS/204 277 GET http://s.youtube.com/stream_204?vps=280.627:PL&scoville=1&df=280.627:626&fmt=134&docid=pDURt4sE9Is&ns=yt&ei=mhJ
dUsSsKKqamQWUqoHwAw&bwm=280.627:2715364.000:0.233&cpn=ZtTe9xU_wfIZH5Yb&event=streamingstats&el=detailpage&bh=280.627:49.920 - DIRECT/118.98.111.20 text/html
ptracking memang akan selalu miss dhe, karena ptracking atau stream_204 itu kita perlukan untuk membuat file yang berada di dalam direktory /var/log/squid
yg dimanfaatkan untuk ID asli dari video


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Oct 2013, 23:40

Code: Select all

} elsif ($X[1] =~ m/^http(|s)\:\/\/.*youtube.*(ptracking|stream_204|player_204|gen_204).*(video_id|docid|v)\=([^\&\s]*).*/){
        $vid = $4 ;
        @cpn = m/[&?]cpn\=([^\&\s]*)/;
                $fn = "/var/log/squid/@cpn";
                unless (-e $fn) {
                        open FH,">".$fn ;
                        print FH "$vid\n";
                        close FH;
                }
        print $x . $X[1] . "\n";

} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
        @itag = m/[&?](itag=[0-9]*)/;
        @ids = m/[&?]id\=([^\&\s]*)/;
        @mime = m/[&?](mime\=[^\&\s]*)/;
        @cpn = m/[&?]cpn\=([^\&\s]*)/;
         if (defined($cpn[0])) {
                $fn = "/var/log/squid/@cpn";
                if (-e $fn) {
                        open FH,"<".$fn ;
                        $id  = <FH>;
                        chomp $id ;
                        close FH ;
                  } else {
                        $id = $ids[0] ;
                }
        } else {
                $id = $ids[0] ;
        }
        @range = m/[&?](range=[^\&\s]*)/;
        print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range@mime\n";
dari (ptracking|stream_204|player_204|gen_204) kita membutuhkan parameter CPN sebagai nama file dengan isinya adalah (video_id|docid|v) yang merupakan Video ID yang di rule storeurl berikutnya dipergunakan untuk perubahan link yg di letakkan di storage

misal

kita membuka video
http://www.youtube.com/watch?v=59TrrF8lzKs

yg akan menghasilkan
http://s.youtube.com/stream_204?
vfs=0.000:134:134::i&scoville=1&ns=yt
&view=0.000:640:360&el=detailpage&fmt=134
&cpn=uwcSdLACZOu4mVMV
&ei=QqhmUuqGEKTLmgXvhoGoAw&docid=59TrrF8lzKs
&event=streamingstats
kalau kita perhatikan dari sini maka tetap ada hubungan dari ling yg pertama dengan link kedua watch?v=59TrrF8lzKs dengan docid=59TrrF8lzKs
perhatikan dengan seksama

ok kita beranjak ke link ke-3
http://r3---sn-2uuxa3vh-n0cz.c.youtube. ... eoplayback?
algorithm=throttle-factor&burst=40&clen=11773499&cp=U0hXR1RTUF9LUUNON19MTVRGOjVyRWVKSjc2Tmhu
&cpn=uwcSdLACZOu4mVMV&dur=196.400&expire=1382482567&factor=1.25
&fexp=906335%2C916625%2C919514%2C924616%2C924610%2C907231&fr=yes&gir=yes&id=e7d4ebac5f25ccab
&ip=180.246.81.174&ipbits=8&itag=134&keepalive=yes&key=yt5&lmt=1367973537003369
&ms=au&mt=1382459417&mv=m&range=0-1138687&ratebypass=yes
&signature=31F03C616275B24FE7E0BC299FC6AF229D92DA01.C0C5DAF1309CB613987A30D20752D211D99F1A0E
&source=youtube&sparams=algorithm%2Cburst%2Cclen%2Ccp%2Cdur%2Cfactor%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpire&sver=3&upn=UygMwsdckc4
perhatikan CPN di link ke-2 dan link ke-3 sama yaitu cpn=uwcSdLACZOu4mVMV

berhubung CPN sifatnya dynamis, maka kita mengambil video ID dari link pertama yg ada di link ke 2 yg di tuliskan dalam nama file CPN (nama file CPN isinya adalah Video ID)


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

Post by q_p » 23 Oct 2013, 00:29

Terima kasih Dhe, sekarang saya mengerti kenapa nama file log-nya menjadi seperti itu dan kenapa mesti dihapus secara berkala :)
Oha ya Dhe, r73 sudah saya cobakan. Sudah tidak lagi keliru men-download namun hasilnya masih miss
Pertama kali download dari kompi 192.168.0.100
1382458289.739 157913 192.168.0.100 TCP_MISS/200 23164850 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... signature=
82AED65C52CAA4DD4E4F56DF58FB498712B70C10.8EE308BB7F928D003A348F90C534BD0EEAA51CFE - DIRECT/118.98.30.17 video/mp4

Download ke-dua dari kompi 192.168.0.111
1382458476.852 19260 192.168.0.111 TCP_MISS/200 3249046 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... signature=
4278909EFCC400FC67B8B50FF9D6E68FE827D296.7F13E518AF3D4502F785B6F0553CBE76C7A107CB - DIRECT/118.98.30.17 video/mp4

Saya ulang lagi download dari kompi 192.168.0.100
1382459222.395 164202 192.168.0.100 TCP_MISS/200 23164850 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... F1B0278F9D - DIRECT/118.98.30.17 video/mp4


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 23 Oct 2013, 00:46

itu karena ID nya dynamic sedangkan kita tidak ada parameter lain untuk pembacaan yg static


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

Post by q_p » 23 Oct 2013, 01:04

SyaifuddinJW wrote:itu karena ID nya dynamic sedangkan kita tidak ada parameter lain untuk pembacaan yg static
:like:

Yang dimaksud, ID yang ini =
1382458289.739 157913 192.168.0.100 TCP_MISS/200 23164850 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... 1382458053&id=o-AJxqgFre3xoc_lfNy1hg7NGSkXRtaKJX8eKVOSpOA3yp&sver=3&ratebypass=yes&ip=xxxxx&key=yt5&itag=18&ipbits=0&signature=
82AED65C52CAA4DD4E4F56DF58FB498712B70C10.8EE308BB7F928D003A348F90C534BD0EEAA51CFE - DIRECT/118.98.30.17 video/mp4

1382458476.852 19260 192.168.0.111 TCP_MISS/200 3249046 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... s=yes&mv=m&id=o-AOfnRmKSpKq-WcqBRHgUYV4tpxlEzmONT-ZJN4DvvixH&mt=1382458365&signature=
4278909EFCC400FC67B8B50FF9D6E68FE827D296.7F13E518AF3D4502F785B6F0553CBE76C7A107CB - DIRECT/118.98.30.17 video/mp4

1382459222.395 164202 192.168.0.100 TCP_MISS/200 23164850 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... 0%2C907231&id=o-AG-KLR-8NcRXIpvl4vxAtX1D9LZnjh4_QrkjsMXJMHih&expire=1382484565&signature=E692AF536C8FF0823B4152F850A9FE99E76A030A.188D5443FA0EB6199A83AB2A65BA8DF1B0278F9D - DIRECT/118.98.30.17 video/mp4


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 23 Oct 2013, 01:23

q_p wrote:
SyaifuddinJW wrote:itu karena ID nya dynamic sedangkan kita tidak ada parameter lain untuk pembacaan yg static
:like:

Yang dimaksud, ID yang ini =
1382458289.739 157913 192.168.0.100 TCP_MISS/200 23164850 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... 1382458053&id=o-AJxqgFre3xoc_lfNy1hg7NGSkXRtaKJX8eKVOSpOA3yp&sver=3&ratebypass=yes&ip=xxxxx&key=yt5&itag=18&ipbits=0&signature=
82AED65C52CAA4DD4E4F56DF58FB498712B70C10.8EE308BB7F928D003A348F90C534BD0EEAA51CFE - DIRECT/118.98.30.17 video/mp4

1382458476.852 19260 192.168.0.111 TCP_MISS/200 3249046 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... s=yes&mv=m&id=o-AOfnRmKSpKq-WcqBRHgUYV4tpxlEzmONT-ZJN4DvvixH&mt=1382458365&signature=
4278909EFCC400FC67B8B50FF9D6E68FE827D296.7F13E518AF3D4502F785B6F0553CBE76C7A107CB - DIRECT/118.98.30.17 video/mp4

1382459222.395 164202 192.168.0.100 TCP_MISS/200 23164850 GET http://r6---sn-2uuxa3vh-jb3z.googlevide ... 0%2C907231&id=o-AG-KLR-8NcRXIpvl4vxAtX1D9LZnjh4_QrkjsMXJMHih&expire=1382484565&signature=E692AF536C8FF0823B4152F850A9FE99E76A030A.188D5443FA0EB6199A83AB2A65BA8DF1B0278F9D - DIRECT/118.98.30.17 video/mp4
betul sekali dhe


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

Post by q_p » 23 Oct 2013, 02:10

Silahkan dhe kalau mau istirahat, sementara yang ini sudah lebih dari cukup. Terimakasih Dhe :)


User avatar
fida
Posts: 30
Joined: 08 Mar 2013, 03:05

Post by fida » 23 Oct 2013, 05:53

@Mas Pragola
@Mas Syaiffudin
mau laporan nih mas,saya udah coba r73
video2 ini sudah saya putar dan download di billing dan laporan ini dari pc client mas

# strip_query_terms off
# acl yutub dstdomain .youtube.com .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 &ir=1&rr=12
# cache deny redirec
# storeurl_access deny redirec
o ya mas di r73 ini untuk yg diatas itu saya kasih # lagi trus crontab saya pakai lagi,benar gak mas?
terima kasih banyak atas ilmu2nya mas,semoga menjadi manfaat buat mas2 di akhirat kelak,amiin...


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

Post by q_p » 23 Oct 2013, 08:47

Iya sudah betul, terlihat dari banyaknya hit.
  1. Jika itu adalah fresh install, strip_query_terms off bisa anda comment.
  2. Jika sebelumnya menggunakan refererlog, sebaiknya gunakan opsi strip_query_terms off agar yang sudah tersimpan di cache masih bisa terbaca


User avatar
zodyo
Posts: 3
Joined: 16 Oct 2013, 13:32

Post by zodyo » 23 Oct 2013, 09:17

https://code.google.com/p/tempat-sampah ... toreurl.pl

Scriptnya mirip banget punya chuddy fernandez baik yg lawan maupun update terbaru r278, tapi ga ada signature nama om chuddynya

https://code.google.com/p/pfsense-cache ... pl&old=265


User avatar
fida
Posts: 30
Joined: 08 Mar 2013, 03:05

Post by fida » 23 Oct 2013, 09:29

q_p wrote:Iya sudah betul, terlihat dari banyaknya hit.
  1. Jika itu adalah fresh install, strip_query_terms off bisa anda comment.
  2. Jika sebelumnya menggunakan refererlog, sebaiknya gunakan opsi strip_query_terms off agar yang sudah tersimpan di cache masih bisa terbaca
ok mas,matur suwun sanget..


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 23 Oct 2013, 11:26

zodyo wrote:https://code.google.com/p/tempat-sampah ... toreurl.pl

Scriptnya mirip banget punya chuddy fernandez baik yg lawan maupun update terbaru r278, tapi ga ada signature nama om chuddynya

https://code.google.com/p/pfsense-cache ... pl&old=265

memang saya nyontek kepunyaan chudy makanya pernah saya tulis SHUDYlah berbagi ilmu ^_^


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 23 Oct 2013, 15:05

:like:
yg jelas bukan SHUDY SILALAHI


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

Post by q_p » 23 Oct 2013, 15:27

zodyo wrote:https://code.google.com/p/tempat-sampah ... toreurl.pl

Scriptnya mirip banget punya chuddy fernandez baik yg lawan maupun update terbaru r278, tapi ga ada signature nama om chuddynya

https://code.google.com/p/pfsense-cache ... pl&old=265
Di situ ada opsi "diff", baiknya anda simak lagi perubahan-nya dari satu release ke release berikutnya yang ditampilkan side-by-side. Itu akan sangat memudahkan anda dalam merunut perubahan yang pernah dilakukan.


User avatar
zodyo
Posts: 3
Joined: 16 Oct 2013, 13:32

Post by zodyo » 23 Oct 2013, 15:46

q_p wrote:
zodyo wrote:https://code.google.com/p/tempat-sampah ... toreurl.pl

Scriptnya mirip banget punya chuddy fernandez baik yg lawan maupun update terbaru r278, tapi ga ada signature nama om chuddynya

https://code.google.com/p/pfsense-cache ... pl&old=265
Di situ ada opsi "diff", baiknya anda simak lagi perubahan-nya dari satu release ke release berikutnya yang ditampilkan side-by-side. Itu akan sangat memudahkan anda dalam merunut perubahan yang pernah dilakukan.
Yg saya cantumkan emang link yg direfisi..situ udah buka linknya? kamsudnya apa?
mengigatkan aja untuk saling menghargai hasil karya orang lain, jangan sampai orang yg buatnya kapok bikin updatetan terbaru karna signaturenya di hapus or di claim.
berbagi sih bagus asal jangan errornya yg di share yg ujung2nya kontak jasa install.
ane yakin di forum ini sih engga seperti itu ok.piss


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 23 Oct 2013, 15:54

zodyo wrote:
q_p wrote:
zodyo wrote:https://code.google.com/p/tempat-sampah ... toreurl.pl

Scriptnya mirip banget punya chuddy fernandez baik yg lawan maupun update terbaru r278, tapi ga ada signature nama om chuddynya

https://code.google.com/p/pfsense-cache ... pl&old=265
Di situ ada opsi "diff", baiknya anda simak lagi perubahan-nya dari satu release ke release berikutnya yang ditampilkan side-by-side. Itu akan sangat memudahkan anda dalam merunut perubahan yang pernah dilakukan.
Yg saya cantumkan emang link yg direfisi..situ udah buka linknya? kamsudnya apa?
mengigatkan aja untuk saling menghargai hasil karya orang lain, jangan sampai orang yg buatnya kapok bikin updatetan terbaru karna signaturenya di hapus or di claim.
berbagi sih bagus asal jangan errornya yg di share yg ujung2nya kontak jasa install.
ane yakin di forum ini sih engga seperti itu ok.piss
+++++++++++++++++++++++++++++++++++++++++++++++++

@ mas Zodyo : plis jangan buruk sangka kyk gitu ...... saya sebagai warga forum ini sangat keberatan dan kurang suka dgn pendapat mas .....

terus terang kami di sini sangat terbantu dgn mas Syaifuddin JW dan Mas Pragola ...juga teman2 yg lain ..... jadi pliss deh komentar yg sopan dan mendukung kemajuan .... bukan menghujat kayak gini ...


User avatar
nif
Posts: 2818
Joined: 31 Mar 2011, 07:48

Post by nif » 23 Oct 2013, 16:00

kasih :like: dulu deh
meskipun gak paham om2 ini sedang bahas apa.. :D


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 23 Oct 2013, 16:26

BBM nggak bisa dipakai Android = user Androit ribut
BBM bisa dipakai Android = toko ponsel ribut, BB nggak laku

Punya SHUDY belum diupdate = yt ngaco
Punya SHUDY di tambahin update = yt normal lagi

sudah dibilangin SHUDYLAH berbagi ilmu
sudah dibilangin lihat diff malah nanya maksudnya
sudah baru datang malah bilangin kata LAWAN

nggak tau ah apa yg wa omongin
yg penting nggak begadang lagi plototin REGEX storeurl.pl
tapi begadang pelajari regex tetap lanjut


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 23 Oct 2013, 16:38

riophone wrote:BBM nggak bisa dipakai Android = user Androit ribut
BBM bisa dipakai Android = toko ponsel ribut, BB nggak laku

Punya SHUDY belum diupdate = yt ngaco
Punya SHUDY di tambahin update = yt normal lagi

sudah dibilangin SHUDYLAH berbagi ilmu
sudah dibilangin lihat diff malah nanya maksudnya
sudah baru datang malah bilangin kata LAWAN

nggak tau ah apa yg wa omongin
yg penting nggak begadang lagi plototin REGEX storeurl.pl
tapi begadang pelajari regex tetap lanjut

=================================

setuju


User avatar
zodyo
Posts: 3
Joined: 16 Oct 2013, 13:32

Post by zodyo » 23 Oct 2013, 16:50

cah_clacap wrote:
riophone wrote:BBM nggak bisa dipakai Android = user Androit ribut
BBM bisa dipakai Android = toko ponsel ribut, BB nggak laku

Punya SHUDY belum diupdate = yt ngaco
Punya SHUDY di tambahin update = yt normal lagi

sudah dibilangin SHUDYLAH berbagi ilmu
sudah dibilangin lihat diff malah nanya maksudnya
sudah baru datang malah bilangin kata LAWAN

nggak tau ah apa yg wa omongin
yg penting nggak begadang lagi plototin REGEX storeurl.pl
tapi begadang pelajari regex tetap lanjut

=================================

setuju
bukan lawan tapi lawas do you know typo?
udah ah silahkan berbagi lagi ksian yg lain, ane hanya sekedar mengingatkan klo ga ngerti maksud ane ya udah, ane pamit yo.


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 23 Oct 2013, 17:04

@ Pragola
Mau nanya dikit mas
Saya pakai SquidGuard dan DDNS untuk blokir situs porno dan saya redirect ke internet-positif.org.
Situs porno memang sudah bisa diblokir walaupun masih ada yg lolos, permasalahannya tampilan internet-positif.org berserakan.

Jika saya blokir manual melalui squid.conf dan deny info nya saya pakai internet-positif.org, tampilannya malah bagus.


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

Post by q_p » 23 Oct 2013, 17:22

@zodyo
zodyo wrote:
cah_clacap wrote:
riophone wrote:BBM nggak bisa dipakai Android = user Androit ribut
BBM bisa dipakai Android = toko ponsel ribut, BB nggak laku

Punya SHUDY belum diupdate = yt ngaco
Punya SHUDY di tambahin update = yt normal lagi

sudah dibilangin SHUDYLAH berbagi ilmu
sudah dibilangin lihat diff malah nanya maksudnya
sudah baru datang malah bilangin kata LAWAN

nggak tau ah apa yg wa omongin
yg penting nggak begadang lagi plototin REGEX storeurl.pl
tapi begadang pelajari regex tetap lanjut

=================================

setuju
bukan lawan tapi lawas do you know typo?
udah ah silahkan berbagi lagi ksian yg lain, ane hanya sekedar mengingatkan klo ga ngerti maksud ane ya udah, ane pamit yo.
Bagaimana kami bisa memahami maksud anda, kalau penyampaiannya seperti itu ?

@rhiophone
Anda menggunakan regex di squidGuard, terutama pada kategori ads/publicite/iklan ? Regex-nya dihilangkan saja mas, yang terpengaruh biasanya yahoo dan kaskus. Tampilannya jadi berantakan kalau 'ads' pakai regex. Kalau mau, dikawinkan sama adzapper hasilnya malah bagus.
Coba main2 ke sini mas = http://ubuntu-indonesia.com/forums/ubbt ... Post129716


User avatar
riophone
Posts: 34
Joined: 21 Mar 2013, 21:40
Location: Medan, Indonesia

Post by riophone » 23 Oct 2013, 17:35

@Pragola
Thanks mas, saya coba habis maghrib


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

Post by q_p » 23 Oct 2013, 17:45

riophone wrote:@Pragola
Thanks mas, saya coba habis maghrib
Kasus ini mungkin bisa jadi reff juga
http://ubuntu-indonesia.com/forums/ubbt ... ampila#top


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 23 Oct 2013, 19:04

[size:14pt]dah gak perlu ribut
saya mengaku salah telah copas tanpa menampilkan kredit
malah saya jadikan alat untuk mencari pamor di forum ini ataupun forum yang lain

sekali lagi saya mohon maaf, karena memang saya bisanya hanya copas, insya allah saya perbaiki untuk menampilkan kredit pembuatnya

jadi saya rasa tidak perlu saudara ZODYO keluar dari forum ini
[/size]


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 23 Oct 2013, 19:22

dhe @luthfi : mungkin ada baiknya kedepan jika saya ada ngoprek sesuatu saya buat pastebin.com dan hanya bagian yg saya oprek saja. jadi saya tidak perlu copas lagi


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

Post by q_p » 23 Oct 2013, 19:53

[size:17pt]Tadi mas SJW sempat mampir ke warnet untuk membahas masalah ini.
Silahkan dilanjutkan diskusi-nya
Anggap yang kemarin itu tidak pernah terjadi
[/size]
Last edited by q_p on 27 Feb 2016, 21:48, edited 1 time in total.
Reason: ###Mohon maaf, semua posting yang mengaitkan dengan ini akan langsung di hapus ###


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 26 Oct 2013, 18:56

dhe @luthfi : sepurane yo dhe, tak repoti dino iki. harap maklum dhe, wong ndeso, gak biasa minum kopi. syukur alhamdulillah pulang kerumah langsung dikasih obat istri


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

Post by q_p » 26 Oct 2013, 19:02

SyaifuddinJW wrote:dhe @luthfi : sepurane yo dhe, tak repoti dino iki. harap maklum dhe, wong ndeso, gak biasa minum kopi. syukur alhamdulillah pulang kerumah langsung dikasih obat istri
:like:
slunam-slunum-slamet


User avatar
Bandi_Shippuden
Posts: 62
Joined: 04 May 2012, 12:06
Location: Pekanbaru, Indonesia
Contact:

Post by Bandi_Shippuden » 27 Oct 2013, 08:50

cah_clacap wrote:
bandi16 wrote:Menurut mas g mana tu ...
saya coba di virtual lumayan se HIT youtube nya ...

terus yg masalah resolusi berubah2 di tempat saya udah gak ada ,,,.
ini masih testing ... aq make squid yang dari tempat sampah yg udah suport tproxy juga ...
==========================================================

coba mas .... config-nya sampeyan digelar di sini bair semau orang ikut mencoba dan merasakan ...... siapa tau dengan berbagi kita tambah maju dan sukses ngoprex yutubnya
Maaf mas saya baru buka forum, kemaren sibuk ngurusin net habis kenak petir ... heheheh
ow ya ini config saya ...
[spoiler]

Code: Select all

####################################################################
# WELCOME TO SQUID-2.7 Stable9 + Tproxy
# High Performance Configuration
# Modif by Bandi Shippuden
# Email : bandi_shippuden@hackermail.com
####################################################################
http_port 127.0.0.1:3128
http_port 0.0.0.0:3129 transparent tproxy

####################################################################
#  ACCESS CONTROLS
####################################################################
include /etc/squid/acl.conf

####################################################################
# NETWORK OPTIONS
####################################################################
http_access allow manager localhost
http_access allow purge localhost
http_access deny manager
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
http_reply_access allow all

####################################################################
# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
####################################################################
hierarchy_stoplist (ini|ui|lst|inf||mh-|sc-)$ (afs.dat|update.txt|vdf.info.gz|captcha|reset.css|gamenotice|ickernew.css)$

####################################################################
# ZPH QOS for NO Limit HIT trafick
####################################################################
tcp_outgoing_tos 0x30
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

####################################################################
# MEMORY CACHE OPTIONS
####################################################################
cache_mem 32 MB
maximum_object_size_in_memory 512 KB
memory_replacement_policy heap GDSF

####################################################################
# DISK CACHE OPTIONS
####################################################################
cache_replacement_policy heap LFUDA

cache_dir aufs /cache-01 23000 50 256 
cache_dir aufs /cache-02 23000 50 256 
cache_dir aufs /cache-03 23000 50 256 
cache_dir aufs /cache-04 23000 50 256 
cache_dir aufs /cache-05 23000 50 256 
cache_dir aufs /cache-06 23000 50 256 
cache_dir aufs /cache-07 23000 50 256 
cache_dir aufs /cache-08 23000 50 256 
cache_dir aufs /cache-09 23000 50 256 

store_dir_select_algorithm round-robin
minimum_object_size 0 KB
maximum_object_size 2024 MB
cache_swap_low 98
cache_swap_high 99

####################################################################
# LOGFILE OPTIONS
####################################################################
logformat referrer   %ts.%03tu %>a %{Referer}>h %ru

access_log /var/log/squid/yt.log referrer yutube
access_log /var/log/squid/access.log

cache_log /dev/null
cache_store_log /dev/null

logfile_daemon /usr/lib/squid/logfile-daemon
logfile_rotate 5
emulate_httpd_log off
mime_table /etc/squid/mime.conf
pid_filename /var/run/squid.pid
debug_options ALL,1
log_fqdn off
strip_query_terms off yutube
buffered_logs off

####################################################################
# SQUID GUARD FLTER
####################################################################
url_rewrite_program  /usr/local/bin/squidGuard  -c  /usr/local/squidGuard/squidGuard.conf

####################################################################
# OPTIONS FOR URL REWRITING
####################################################################
storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 15
storeurl_rewrite_concurrency 100

storeurl_access deny reddeny

storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_list_dom
storeurl_access allow store_rewrite_list_url
storeurl_access allow store_rewrite_list_path
storeurl_access allow store_rewrite_allow_dom_CDN

storeurl_access allow speedtest_rewrite_allow_dom
storeurl_access allow speedtest_allow_url
storeurl_access allow speedtest_allow_dom

storeurl_access allow videocache_allow_url
storeurl_access deny videocache_deny_url

storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access deny all

redirector_bypass on
#redirect_rewrites_host_header on

####################################################################
# OPTIONS FOR TUNING THE CACHE
####################################################################
no_cache deny QUERY 
no_cache deny redirec
no_cache deny ym login-yahoo ymregex
no_cache deny deny_cache_path 
no_cache deny deny_cache_url
no_cache deny deny_cache_dom

max_stale 2 year

include /etc/squid/refresh.conf

quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
negative_ttl 2 second

####################################################################
# HTTP OPTIONS
####################################################################
upgrade_http0.9 deny shoutcast
via off
cache_vary on
broken_vary_encoding allow apache
ie_refresh on
vary_ignore_expire on
range_offset_limit 128 KB
high_page_fault_warning 2

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

server_http11 on

####################################################################
# TIMEOUTS
####################################################################
request_timeout 3 minutes
half_closed_clients on
shutdown_lifetime 10 second

####################################################################
# ADMINISTRATIVE PARAMETERS
####################################################################
cache_mgr bandi.shippuden@gmail.com
cache_effective_user proxy
cache_effective_group proxy
visible_hostname bandi-shippuden.net
unique_hostname bandi-shippuden.net

####################################################################
# SNMP OPTIONS
####################################################################
snmp_port 3401
snmp_access allow snmppublic localnet
snmp_access deny all

####################################################################
# ICP OPTIONS
####################################################################
icp_port 0
icp_access allow all
icp_hit_stale on
query_icmp on
log_icp_queries off

####################################################################
# INTERNAL ICON OPTIONS
####################################################################
icon_directory /usr/share/squid/icons
global_internal_static on
short_icon_urls off

####################################################################
# ERROR PAGE OPTIONS
####################################################################
error_directory /usr/share/squid/errors/English

####################################################################
# OPTIONS INFLUENCING REQUEST FORWARDING
####################################################################
nonhierarchical_direct off
prefer_direct off
ignore_ims_on_miss on

always_direct allow deny_cache_path
always_direct allow deny_cache_url
always_direct allow deny_cache_dom
always_direct deny all

####################################################################
# ADVANCED NETWORKING OPTIONS
####################################################################
max_filedescriptors 65536

####################################################################
# DNS OPTIONS
####################################################################
hosts_file /etc/hosts
dns_nameservers 192.168.20.3 127.0.0.1
ipcache_size 8024
ipcache_low 98
ipcache_high 99
fqdncache_size 4096

####################################################################
# MISCELLANEOUS
####################################################################
memory_pools off
forwarded_for off
cachemgr_passwd none all
client_db on
reload_into_ims on
retry_on_error on
offline_mode off
coredump_dir /var/spool/squid
pid_filename /var/run/squid.pid
pipeline_prefetch on

####################################################################
# ONLY FOR LUSCA_HEAD
####################################################################
#n_aiops_threads 24
#load_check_stopen on
#load_check_stcreate on
#download_fastest_client_speed on
[/spoiler]
ACL

Code: Select all

# $Rev$
# Option For acl									  #
# LUSCA_HEAD r14942									  #
# acl.conf										  #
################################################################################
# ACL FOR IP ADDRESS
################################################################################
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

acl localnet src 192.168.10.0/24 # IP CLIENT
acl localnet src 172.17.31.0/24  # IP GATEWAY

acl snmppublic snmp_community public

################################################################################
# ACL FOR PORTS
################################################################################
acl SSL_ports port 443 563 873 8121 	# https snews rsync

acl Safe_ports port 80   			# http
acl Safe_ports port 8080			# http alt
acl Safe_ports port 443 			# https
acl Safe_ports port 20 21  			# ftp
acl Safe_ports port 70   			# gopher
acl Safe_ports port 210   			# wais
acl Safe_ports port 1025-65535  		# unregistered ports
acl Safe_ports port 631   			# cups
acl Safe_ports port 10000  			# webmin
acl Safe_ports port 901   			# SWAT
acl Safe_ports port 280   			# http-mgmt
acl Safe_ports port 488   			# gss-http
acl Safe_ports port 591   			# filemaker
acl Safe_ports port 777   			# multiling http
acl Safe_ports port 873   			# rsync
acl Safe_ports port 110   			# POP3
acl Safe_ports port 25   			# SMTP
acl Safe_ports port 2095 2096  		# webmail from cpanel
acl Safe_ports port 2082 2083  		# cpanel
acl Safe_ports port 5000-5200   		# yahoomessenger
acl Safe_ports port 6666-6669   		# mirc
acl Safe_ports port 2086
acl Safe_ports port 2087
acl Safe_ports port 8080

acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
acl apache rep_header Server ^Apache

acl purge method PURGE
acl CONNECT method CONNECT

##############################################################################
# ACL NO CACHE/FIX CACHE SQUID
##############################################################################
acl QUERY urlpath_regex -i \.(ini|ui|lst|inf|mh-|sc-|noupdate.ui|afs.dat|ahn.ui|hackshield|3n.mh|hshield.da)$
acl QUERY urlpath_regex -i (afs.dat|captcha|reset.css|update.txt|vdf.info.gz|noupdate.ui|afs.dat|ahn.ui|hackshield|3n.mh|hshield.da)

##############################################################################
# YOUTUBE
##############################################################################
acl yutube url_regex .youtube\.com\/videoplayback\?
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.*$

##############################################################################
# Yahoo & YM
##############################################################################
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 ym dstdomain .skype.com .imvu.com
acl login-yahoo dstdomain .login.yahoo.com 
acl ymregex url_regex yupdater.yim ymsgr myspaceim 

##############################################
## URL_REGEX NO CACHE IN PROXY
##############################################
acl deny_cache_url url_regex \.wartune\.r2games\.com\/client\/game\/(.*)(xml|css|zip|txt)

##############################################
## URLPATH_REGEX NO CACHE IN PROXY
##############################################
acl deny_cache_path urlpath_regex ^http:\/\/*.wartune\.r2games\.com\/login\?
acl deny_cache_path urlpath_regex (Loading.swf|config.xml|mainloading.swf|loadingselectlist)($|\?)
acl deny_cache_dom dstdomain .poker88.com 
acl deny_cache_dom dstdomain .dewapoker.com

###############################################################################
# OPTION ACL REWRITE
###############################################################################
acl dontrewrite url_regex -i \.(youtube|googlevideo)\.com\/(get_video|videoplayback).*(begin|start)\=[1-9\-]*.*

acl store_rewrite_list_dom dstdomain .ytimg.com
acl store_rewrite_list_dom dstdomain .gstatic.com
acl store_rewrite_list_dom dstdomain .google-analytics.com
acl store_rewrite_list_dom dstdomain .bp.blogspot.com
acl store_rewrite_list_dom dstdomain .edgecastcdn.net
acl store_rewrite_list_dom dstdomain .photobucket.com
acl store_rewrite_list_dom dstdomain .imageshack.us
acl store_rewrite_list_dom dstdomain .ggpht.com
acl store_rewrite_list_dom dstdomain .avast.com
acl store_rewrite_list_dom dstdomain .staticflickr.com
acl store_rewrite_list_dom dstdomain .doubleclick.net
acl store_rewrite_list_dom dstdomain .bigfishgames.com
acl store_rewrite_list_dom dstdomain .terra.com
acl store_rewrite_list_dom dstdomain .videobb.com
acl store_rewrite_list_dom dstdomain .tube8.com
acl store_rewrite_list_dom dstdomain .pornhub.com
acl store_rewrite_list_dom dstdomain .wpc.porntube.com
acl store_rewrite_list_dom dstdomain .phobos.apple.com
acl store_rewrite_list_dom dstdomain .avg.com
acl store_rewrite_list_dom dstdomain .avira.com
acl store_rewrite_list_dom dstdomain .phncdn.com
acl store_rewrite_list_dom dstdomain .catalog.video.msn.com
acl store_rewrite_list_dom dstdomain .flashvideo.globo.com
acl store_rewrite_list_dom dstdomain .googlevideo.com
acl store_rewrite_list_dom dstdomain .vimeo.com
acl store_rewrite_list_dom dstdomain .jkt.3d.x.indowebster.com
acl store_rewrite_list_dom dstdomain .media.tumblr.com
acl store_rewrite_list_dom dstdomain .redtubefiles.com
acl store_rewrite_list_dom dstdomain .xvideos.com
acl store_rewrite_list_dom dstdomain .v.mccont.com
acl store_rewrite_list_dom dstdomain .orkut.com
acl store_rewrite_list_dom dstdomain .mais.uol.com.br
acl store_rewrite_list_dom dstdomain .sourceforge.net
acl store_rewrite_list_dom dstdomain .blip.tv
acl store_rewrite_list_dom dstdomain .passionhdmedia.com
acl store_rewrite_list_dom dstdomain .myspacecdn.com
acl store_rewrite_list_dom dstdomain .filehippo.com

acl store_rewrite_list_url url_regex ^http://profile\.ak\.fbcdn\.net
acl store_rewrite_list_url url_regex ^http://photos-[a-z].ak.fbcdn.net
acl store_rewrite_list_url url_regex ^http://a[0-9]?\.sphotos.ak.fbcdn.net
acl store_rewrite_list_url url_regex ^http://video\.ak\.fbcdn\.net
acl store_rewrite_list_url url_regex ^http://cityvillefb[0-9]?\.static\.zgncdn\.com/static/
acl store_rewrite_list_url url_regex ^http://[a-z]+[0-9]?\.google\.co(m|\.id)
acl store_rewrite_list_url url_regex ^http://[^/]*\.(youtube|googlevideo).com/videoplayback\?
acl store_rewrite_list_url url_regex ^http://vid.ec.dmcdn.net/
acl store_rewrite_list_url url_regex ^http://fcache.veoh.com/file/
acl store_rewrite_list_url url_regex ^http://([a-z])[0-9]?(\.gstatic\.com|\.wikimapia\.org)
acl store_rewrite_list_url url_regex ^http://download[0-9]{3}.avast.com/iavs5x/
acl store_rewrite_list_url url_regex ^http://dnl-[0-9]{2}.geo.kaspersky.com
acl store_rewrite_list_url url_regex ^http://a[1-6]?\.twimg\.com\/
acl store_rewrite_list_url url_regex ^http://img[0-4]?\.tokobagus\.com\/
acl store_rewrite_list_url url_regex ^http://[^/]*\.softonic.com.*\.(exe|cab|msi)
acl store_rewrite_list_url url_regex ^http://proxy-[0-9]*\.dailymotion\.com\/
acl store_rewrite_list_url url_regex ^http://b[1-9]?\.adbrite\.com\/
acl store_rewrite_list_url url_regex ^http://dc[0-9]*\.4shared\.com/
acl store_rewrite_list_url url_regex ^http://s[0-9]*\.wp\.com\/
acl store_rewrite_list_url url_regex ^http://fileshare[0-9]*\.depositfiles\.com
acl store_rewrite_list_url url_regex ^http://fs[0-9]*\.filehippo.com
acl store_rewrite_list_url url_regex ^http://c[0-9]*\.adshost1\.com
acl store_rewrite_list_url url_regex ^http://farm[1-6]?\.staticflickr\.com\/
acl store_rewrite_list_url url_regex ^http://rs.*\.rapidshare\.com/
acl store_rewrite_list_url url_regex ^http://s[0-9]?\.idup\.in\/files/
acl store_rewrite_list_url url_regex ^http://sdlc-esd\.sun\.com/.*\.(exe|msi|cab)
acl store_rewrite_list_url url_regex ^http://javadl-esd\.sun\.com/.*\.(msi|mst)
acl store_rewrite_list_url url_regex ^http://[^?]+firefox-.*\.(complete|partial)\.mar$
acl store_rewrite_list_url url_regex ^http://[^/]*\.macromedia\.com/.*install_all_win_(ax|pl)_sgn\.z$
acl store_rewrite_list_url url_regex ^http://media-b[0-9]?\.putlocker\.com/download/
acl store_rewrite_list_url url_regex ^http://205\.196\.12
acl store_rewrite_list_url url_regex ^http://199\.91\.15
acl store_rewrite_list_url url_regex ^http://s[0-9]?\.idup\.in\/files/
acl store_rewrite_list_url url_regex ^http:\/\/[a-z]+[0-9]\.google\.co(m|\.id)
acl store_rewrite_list_url url_regex photos-[a-z].ak.fbcdn.net 
acl store_rewrite_list_url url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com
acl store_rewrite_list_url url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{4}$ quantserve\.com
acl store_rewrite_list_url url_regex (khm|mt)[0-9]?(.google.com.*)/)
acl store_rewrite_list_url url_regex (cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/)
acl store_rewrite_list_url url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive  quantserve\.com
acl store_rewrite_list_url url_regex http\:\/\/.*\/filebox\/(.*)\?.*\/
acl store_rewrite_list_url url_regex http\:\/\/.*\/vimeo\/(.*)\?.*\/
acl store_rewrite_list_url url_regex http:\/\/[a-z0-9]{4}\.reverbnation\.com\/.*\/([0-9]*).*\/
acl store_rewrite_list_url url_regex http:\/\/fs\w*\.fileserve\.com\/file\/(\w*)\/[\w-]*\.\/(.*)\/
acl store_rewrite_list_url url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_url 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 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 urlpath_regex ^http://*\.speedtest\.*\/speedtest\/*\.(jpg|php|txt|png)(\?.*)?$
acl store_rewrite_list urlpath_regex .*\.ak\.fbcdn\.net\/
acl store_rewrite_list urlpath_regex ^http:\/\/*.zynga\.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf|fid)\?
acl store_rewrite_list urlpath_regex ^http:\/\/199\.91\.15\d\.\d*\/\w{12}\/(\w*)\/(.*)
acl store_rewrite_list urlpath_regex -i s[0-9]*\.filesonic\.com\/download\/.*
acl store_rewrite_list urlpath_regex -i [a-zA-Z]{2}[0-9]*\.4shared\.com\/download\/
acl store_rewrite_list urlpath_regex -i s[0-9]*\.filesonic\.com\/download\/.*
acl store_rewrite_list urlpath_regex ^http:\/\/199\.91\.15\d\.\d*\/\w{12}\/(\w*)\/(.*)
acl store_rewrite_list urlpath_regex \/(watch\?|get_video\?|videodownload\?|videoplayback.*id)
acl store_rewrite_list urlpath_regex (speedtest|firefox|iav5sx)
acl store_rewrite_list 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|pak|iop)\?

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|pak|iop)$

acl store_rewrite_allow_dom_CDN url_regex ^http:\/\/[a-zA-Z]{2}\d*\.4shared\.com(:8080|)\/download\/(.*)\/(.*\..*)\?.*/)
acl store_rewrite_allow_dom_CDN url_regex ^http:\/\/*\.gemscool\.com\/*\/(.*)\/(.*)\.(exe|iop|jpg|zip|exe|png|rar|tar|cab|pak|txt|mdb)$/)
acl store_rewrite_allow_dom_CDN url_regex ^http:\/\/*\.gemscool\.com\/*\/(.*)\/(.*)\.(exe|iop|jpg|zip|exe|png|rar|tar|cab|pak|txt|mdb)
acl store_rewrite_allow_dom_CDN url_regex ^http:\/\/fs\w*\.fileserve\.com\/file\/(\w*)\/[\w-]*\.\/(.*)/)
acl store_rewrite_allow_dom_CDN url_regex ^http:\/\/[a-z0-9]{4}\.reverbnation\.com\/.*\/([0-9]*).*/)
acl store_rewrite_allow_dom_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_allow_dom_CDN url_regex ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*)
acl store_rewrite_allow_dom_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.*
acl store_rewrite_allow_dom_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)

# Speedtest
acl speedtest_allow_url url_regex \/speedtest\/.*\.(jpg|txt|php).*
acl speedtest_allow_dom dstdom_regex -i speedtest.*\.

acl speedtest_rewrite_allow_dom dstdomain .speedtest.cbn.net    
acl speedtest_rewrite_allow_dom dstdomain .speedtest.net
acl speedtest_rewrite_allow_dom dstdomain .xl.co.id/XLInternet/SpeedTest
acl speedtest_rewrite_allow_dom dstdomain .speedtest.biznetnetworks.com
acl speedtest_rewrite_allow_dom dstdomain .speedtest.indosatm2.com

# Streaming 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 proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl videocache_allow_url url_regex -i \.vimeo\.com\/(.*)\.(flv|mp4)
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 \.youporn\.com\/(.*)\.flv
acl videocache_allow_url url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl videocache_allow_url url_regex -i \.tube8\.com\/(.*)\.(flv|3gp)
acl videocache_allow_url url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl videocache_allow_url url_regex -i \.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram|m4v)
acl videocache_allow_url url_regex -i \.apniisp\.com\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram|m4v)
acl videocache_allow_url url_regex -i \.break\.com\/(.*)\.(flv|mp4)
acl videocache_allow_url url_regex -i redtube\.com\/(.*)\.flv
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_url url_regex -i \.xvideos\.com\/videos\/flv\/(.*)\/(.*)\.(flv|mp4)
acl videocache_allow_url url_regex -i stream\.aol\.com\/(.*)/[a-zA-Z0-9]+\/(.*)\.(flv|mp4)
acl videocache_allow_url url_regex -i videos\.5min\.com\/(.*)/[0-9_]+\.(mp4|flv)
acl videocache_allow_url url_regex -i msn\.com\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i msn\.(.*)\.(com|net)\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i msnbc\.(.*)\.(com|net)\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.blip\.tv\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.break\.com\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i cdn\.turner\.com\/(.*)/(.*)\.(flv)
acl videocache_allow_url url_regex -i \.dailymotion\.com\/video\/[a-z0-9]{5,9}_?(.*)
acl videocache_allow_url url_regex -i proxy[a-z0-9\-]?[a-z0-9]?[a-z0-9]?[a-z0-9]?\.dailymotion\.com\/(.*)\.(flv|on2|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i vid\.akm\.dailymotion\.com\/(.*)\.(flv|on2|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i vid\.ec\.dmcdn\.net\/(.*)\.(flv|on2|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i video\.(.*)\.fbcdn\.net\/(.*)/[0-9_]+\.(mp4|flv|avi|mkv|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.mccont\.com\/ItemFiles\/(.*)?\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i (.*)\.myspacecdn\.com\/(.*)\/[a-zA-Z0-9]+\/vid\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i (.*)\.myspacecdn\.(.*)\.footprint\.net\/(.*)\/[a-zA-Z0-9]+\/vid\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.vimeo\.com\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.amazonaws\.com\/(.*)\.vimeo\.com(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i v\.imwx\.com\/v\/wxcom\/[a-zA-Z0-9]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)\?(.*)videoId=[0-9]+&
acl videocache_allow_url url_regex -i c\.wrzuta\.pl\/wv[0-9]+\/[a-z0-9]+/[0-9]+/
acl videocache_allow_url url_regex -i c\.wrzuta\.pl\/wa[0-9]+\/[a-z0-9]+
acl videocache_allow_url url_regex -i cdn[a-z0-9]?[a-z0-9]?[a-z0-9]?\.public\.extremetube\.phncdn\.com\/(.*)\/[a-zA-Z0-9_-]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i vs[a-z0-9]?[a-z0-9]?[a-z0-9]?\.hardsextube\.com\/(.*)\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i cdn[a-z0-9]?[a-z0-9]?[a-z0-9]?\.public\.keezmovies\.phncdn\.com\/(.*)\/[0-9a-zA-Z_\-]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i cdn[a-z0-9]?[a-z0-9]?[a-z0-9]?\.public\.keezmovies\.com\/(.*)\/[0-9a-zA-Z_\-]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i nyc-v[a-z0-9]?[a-z0-9]?[a-z0-9]?\.pornhub\.com\/(.*)/videos/[0-9]{3}/[0-9]{3}/[0-9]{3}/[0-9]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.video\.pornhub\.phncdn\.com\/videos/(.*)/[0-9]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i video(.*)\.redtubefiles\.com\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.slutload-media\.com\/(.*)\/[a-zA-Z0-9_.-]+\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i cdn[a-z0-9]?[a-z0-9]?[a-z0-9]?\.public\.spankwire\.com\/(.*)\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i cdn[a-z0-9]?[a-z0-9]?[a-z0-9]?\.public\.spankwire\.phncdn\.com\/(.*)\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.tube8\.com\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.xtube\.com\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)
acl videocache_allow_url url_regex -i \.xvideos\.com\/videos\/flv\/(.*)\/(.*)\.(flv|mp4)
acl videocache_allow_url url_regex -i \.public\.youporn\.phncdn\.com\/(.*)\/[a-zA-Z0-9_-]+\/(.*)\.(flv|mp4|avi|mkv|mp3|rm|rmvb|m4v|mov|wmv|3gp|mpg|mpeg)

acl store_rewrite_list_url url_regex -i youtube.*(ptracking|stream_204|player_204|gen_204) .*$
acl store_rewrite_list_url url_regex -i \.c\.(youtube|google)\.com\/(get_video|videoplayback|videoplay).*$

acl videocache_deny_url  url_regex -i \.blip\.tv\/(.*)filename
acl videocache_deny_url  url_regex -i \.hardsextube\.com\/videothumbs
acl videocache_deny_url  url_regex -i \.xtube\.com\/(.*)(Thumb|videowall)

acl dontrewrite url_regex \.(php|asp|aspx|jspx|js|cgi)\?
acl dontrewrite url_regex redbot\.org \.php \.html \.css \.xml \.gwt
acl dontrewrite url_regex ^http://redirector.c.youtube.com
acl dontrewrite url_regex (get_video|video\?|videoplay\?|videoplayback\?id|videoplayback.*id|videodownload).*begin\=[1-9][0-9]* \.php\? threadless.*\.jpg\?r=
acl getmethod method GET

acl store_rewrite_list urlpath_regex \/(watch\?|get_video\?|videodownload\?|videoplayback.*id)
acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id)
acl store_rewrite_list urlpath_regex -i \.flv$ \.mp3$ \.mov$ \.mp4$ \.swf$
# End Acl Configuration
maaf berantakan soalnya hasil copas sana sini semua ....
hehehehhe nubie banget soalnya ...


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 29 Oct 2013, 13:40

[video:youtube]http://www.youtube.com/watch?v=zEdfqoPBBcQ[/video]
semoga bisa disempurnakan, jadi gak terlalu makan banyak bandwidt karena resolusi yg berubah rubah dan juga tidak terlalu banyak makan bandwidt


User avatar
anbel
Posts: 263
Joined: 18 Mar 2013, 23:38
Location: Bogor - Jakarta
Contact:

Post by anbel » 29 Oct 2013, 14:12

Mas SJW.
Kok saya belum mudeng ya, maksudnya ditambahkan dibrowser seperti add-ons, atau squid.conf ditambah ramuannya?
Kalau saya sementara menggunakan add-ons SmartVideo For Youtube agar resolusi tidak berubah.
Mohon penjelasannya mas.


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 29 Oct 2013, 14:39

squid.conf


User avatar
anbel
Posts: 263
Joined: 18 Mar 2013, 23:38
Location: Bogor - Jakarta
Contact:

Post by anbel » 29 Oct 2013, 22:42

@Mas SJW
@Mas Pragola
Malam mas, squid.conf ditambah apa mas? bisa dicipratin ilmunya :D
Lihat videonya masih belum mudeng.


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 30 Oct 2013, 12:17

sementara belom bisa saya share karena harus disempurnakan lagi. berhubung waktunya harus saya manfaatkan dahulu untuk mengerjakan pesanan orang makanya saya tunda dahulu. maklum selain tukang ngoprek saya juga seorang suami dan ayah yang harus memenuhi kebutuhan istri dan anaknya :D
mumpung ada pesanan gede


User avatar
anbel
Posts: 263
Joined: 18 Mar 2013, 23:38
Location: Bogor - Jakarta
Contact:

Post by anbel » 30 Oct 2013, 13:01

SyaifuddinJW wrote:sementara belom bisa saya share karena harus disempurnakan lagi. berhubung waktunya harus saya manfaatkan dahulu untuk mengerjakan pesanan orang makanya saya tunda dahulu. maklum selain tukang ngoprek saya juga seorang suami dan ayah yang harus memenuhi kebutuhan istri dan anaknya :D
mumpung ada pesanan gede
Betul Mas SJW, itu harus diutamakan. saya bantu do'a saja biar proyeknya lancar dan proyeknya mengalir terus. :)


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 31 Oct 2013, 14:15

anbel wrote:
SyaifuddinJW wrote:sementara belom bisa saya share karena harus disempurnakan lagi. berhubung waktunya harus saya manfaatkan dahulu untuk mengerjakan pesanan orang makanya saya tunda dahulu. maklum selain tukang ngoprek saya juga seorang suami dan ayah yang harus memenuhi kebutuhan istri dan anaknya :D
mumpung ada pesanan gede
Betul Mas SJW, itu harus diutamakan. saya bantu do'a saja biar proyeknya lancar dan proyeknya mengalir terus. :)

===========================================================

semoga lancar ,,,,, sukses selalu ..................


User avatar
juanbtr
Posts: 1
Joined: 31 Oct 2013, 21:52

Post by juanbtr » 31 Oct 2013, 21:57

maaf.. saya masih newbie soal ubuntu server
2 tahun yg lalu ubuntu server warnet saya di installkan oleh teman.
tapi akhir2 ini klo buka youtube.com, videonya tidak ada yang bisa diputar.

ada yg bisa bantu?

terima kasih


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

Post by q_p » 31 Oct 2013, 23:14

Mohon maaf, dalam trit ini memang di-asumsikan ubuntu server dengan squid sudah ter-install. Baiknya anda install ulang dengan reff trit ini (mulai halaman pertama) dengan melibatkan teman anda tersebut.
Nah nantinya, kalau ada kendala bisa anda komunikasikan di sini :)


Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests