[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
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [HOT POOLLING]Apakah Youtube Error Lagi ?

Post by q_p » 18 Apr 2013, 17:46

Cocok kok mas :) pada semua link yang anda kasih.


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

Post by SyaifuddinJW » 18 Apr 2013, 23:10

he he he, sebetulnya kalau sudah yakin atas configurasinya, warning ataupun result dari refresh pattern dapat dihilangkan, tapi saya rasa option untuk menghilangkan itu saya tidak beritahukan dahulu, karena agar rekan rekan di sini semua tahu bahwa confignya masih ada kekurangan, dan apabila ada penambahan semisal refresh pattern dan yg lainnya yg di rasa si squid tidak benar maka akan diberitahukan di iformasi tersebut


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

Post by riophone » 18 Apr 2013, 23:55

@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar
Attachments
watch32.JPG
watch32.JPG (67.82 KiB) Viewed 1222 times


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

Post by SyaifuddinJW » 19 Apr 2013, 00:59

riophone wrote:@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar
terimakasih mas


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

Post by riophone » 19 Apr 2013, 01:12

@SJW
Berkat mas SJW dan teman2 lainnya sayalah yg berterima kasih.
Saya hanya menyimak, mempelajari dan praktek langsung.
Hasilnya pelanggan2 bisa streaming dengan lega, hanya saja HP tetap terus berdering terdengar teriakan "bang radio kita kesambar petir...". apes malam2 harus naik bukit lagi...


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

Post by SyaifuddinJW » 19 Apr 2013, 01:37

mohon informasinya yg mungkin bisa kita buat storeurl baru


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

Post by riophone » 19 Apr 2013, 01:43

masih versi r25 mas tapi di modif dikit aja :
#Untuk ALL Youtube ( range & non range )
} elsif ($X[1] =~ /(google).*videoplayback\?/){
@itag = m/[&?](itag=[0-9]*)/;
@id = m/[&?](id=[^\&]*)/;
print $x . "http://video-srv.googlevideo.com.SQUIDI ... id&@itag\n";



} elsif ($X[1] =~ m/^http\:\/\/.*(youtube).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";


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

Post by q_p » 19 Apr 2013, 02:05

Langkah cerdas dengan memecahnya menjadi dua :thumb:
BTW, ada sentuhan lagi tdk mas di acl reguler expressions -nya


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

Post by SyaifuddinJW » 19 Apr 2013, 03:59

untuk squid 3 ada, tapi kalau squid 2 biasanya dah include itu


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

Post by SyaifuddinJW » 19 Apr 2013, 07:31

Alhamdulillah pagi ini ketemu untuk settingan TProxy dan SSL-Bump.
mungkin hikmah berbagi, atau mungkin hikmah begadang di ganggu anak :wow:


[size:14pt]TPROXY, YOUTUBE, HTTPS ( YESSS....... )
[/size]
[video:youtube]cFeic850hhg[/video]


User avatar
FirmanIdiotique
Posts: 18
Joined: 13 Mar 2013, 13:00
Location: Cikarang, Bekasi
Contact:

Post by FirmanIdiotique » 19 Apr 2013, 11:19

Punya saya kok begini ya... :(
ada aborted nya...
Mohon dbantu Mas,

pengen tau squid3 :D


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

Post by q_p » 19 Apr 2013, 15:28

@SJW
Apakah bisa di artikan siap-siap meninggalkan squid-2.7.STABLE9 dan Lusca-HEAD, migrasi ke squid3/3-HEAD ?


User avatar
sipelaut
Posts: 1965
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Post by sipelaut » 19 Apr 2013, 15:57

yes squid 3


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

Post by SyaifuddinJW » 19 Apr 2013, 16:19

Pragola_Pati wrote:@SJW
Apakah bisa di artikan siap-siap meninggalkan squid-2.7.STABLE9 dan Lusca-HEAD, migrasi ke squid3/3-HEAD ?
belum bisa, karena option optionnya belum komplit dan sempurna, untuk cache lebih mengigit squid 3.1 atau 3.2 dibanding squid 3.Head, tetapi persiapan saya rasa tidak ada salahnya.


User avatar
tyo264658
Posts: 3
Joined: 17 Apr 2013, 16:59
Location: Balikpapan

Post by tyo264658 » 19 Apr 2013, 16:25

kang pragola pati, sebelunya saya menggunakan lusca untuk jaringan saya, dan saya coba ganti menggunakan 2.7 stable9 serta menggunakan konfigurasi topologi yang mas jabarkan di atas, juga di compile seperti di page1, hanya saja kok saat membuat swap dengan squid -f /etc/squid/squid.conf -z, selalu muncul pesan FATAL: Bungled acl.conf line 79: cache deny redirec dan FATAL: Bungled acl.conf line 84: storeurl_access deny reddeny, saya menggunakan storeurl r25, dan client2 di network tidak bisa mendapatkan access internet, kira2 masalahnya di mana ya.


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

Post by q_p » 19 Apr 2013, 17:03

tyo264658 wrote:...
FATAL: Bungled acl.conf line 79: cache deny redirec
FATAL: Bungled acl.conf line 84: storeurl_access deny reddeny
...
Periksa baris ke 79 dan 84, mungkin salah penulisan/ejaan. Dalam lingkungan Linux, istilahnya CaseCensitive.


User avatar
tyo264658
Posts: 3
Joined: 17 Apr 2013, 16:59
Location: Balikpapan

Post by tyo264658 » 19 Apr 2013, 19:20

Tampaknya untuk salah penulisan tidak< karena saya langsung copy paste dari page 86 kang,, dan sudah saya cek tidak ada yg salah, dan kalau memang ada yg salah, penulisannya seperti apa yang benar?? :grin:


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

Post by cah_clacap » 19 Apr 2013, 19:46

riophone wrote:@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar

+++++++++++++++++++++++++++++++++++++++++++

Wah terima ksh banyak mas riophone,mas SJW, MAs Pragola, dan rekan2 semuanya .....


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

Post by cah_clacap » 19 Apr 2013, 19:52

riophone wrote:@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar


++++++++++++++++++++++++++++++++++++++++++++++

padahal storeurl-nya sama mas ...kan sy ambil dari halaman 38 juga seperti itu ...bagian yg dibold kan sama deng yg di saya ....yg sperti ini kan ??

} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";


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

Post by q_p » 19 Apr 2013, 21:06

@Cah Cilacap
cah_clacap wrote:
riophone wrote:@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar


++++++++++++++++++++++++++++++++++++++++++++++

padahal storeurl-nya sama mas ...kan sy ambil dari halaman 38 juga seperti itu ...bagian yg dibold kan sama deng yg di saya ....yg sperti ini kan ??

} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";
Maksudnya dipecah jadi dua seperti ini mas =
riophone wrote:masih versi r25 mas tapi di modif dikit aja :
#Untuk ALL Youtube ( range & non range )
} elsif ($X[1] =~ /(google).*videoplayback\?/){
@itag = m/[&?](itag=[0-9]*)/;
@id = m/[&?](id=[^\&]*)/;
print $x . "http://video-srv.googlevideo.com.SQUIDI ... id&@itag\n";



} elsif ($X[1] =~ m/^http\:\/\/.*(youtube).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";
@tyo264658
tyo264658 wrote:Tampaknya untuk salah penulisan tidak< karena saya langsung copy paste dari page 86 kang,, dan sudah saya cek tidak ada yg salah, dan kalau memang ada yg salah, penulisannya seperti apa yang benar?? :grin:
Kalau anda yakin seperti itu, cek versi squid anda dengan cli "apakah opsi --enable-gnuregex dimasukkan pada build-options ?"


User avatar
tyo264658
Posts: 3
Joined: 17 Apr 2013, 16:59
Location: Balikpapan

Post by tyo264658 » 19 Apr 2013, 22:30

./configure -prefix=/usr \
-exec-prefix=/usr \
-bindir=/usr/sbin \
-sbindir=/usr/sbin \
-libexecdir=/usr/lib/squid \
-sysconfdir=/etc/squid \
-localstatedir=/var/spool/squid \
-datadir=/usr/share/squid \
--enable-gnuregex \
--enable-async-io=24 \
--with-aufs-threads=24 \
--with-pthreads \
--with-aio \
--with-dl \
--enable-storeio=aufs,null \
--enable-removal-policies=heap \
--enable-icmp \
--enable-delay-pools \
--disable-wccp \
--enable-snmp \
--enable-cache-digests \
--enable-default-err-language=English \
--enable-err-languages=English \
--enable-linux-netfilter \
--disable-ident-lookups \
--with-maxfd=65535 \
--enable-follow-x-forwarded-for \
--enable-large-cache-files \
--with-large-files \
--enable-referer-log

Berikut compilenya kang, jadi untuk opsi --enable-gnuregex sudah dimasukkan pada build-options


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

Post by q_p » 19 Apr 2013, 23:04

^
Penulisan acl yang ini =

Code: Select all

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

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

Code: Select all

                # 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


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

Post by cah_clacap » 19 Apr 2013, 23:21

Pragola_Pati wrote:@Cah Cilacap
cah_clacap wrote:
riophone wrote:@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar


++++++++++++++++++++++++++++++++++++++++++++++

padahal storeurl-nya sama mas ...kan sy ambil dari halaman 38 juga seperti itu ...bagian yg dibold kan sama deng yg di saya ....yg sperti ini kan ??

} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";
Maksudnya dipecah jadi dua seperti ini mas =
riophone wrote:masih versi r25 mas tapi di modif dikit aja :
#Untuk ALL Youtube ( range & non range )
} elsif ($X[1] =~ /(google).*videoplayback\?/){
@itag = m/[&?](itag=[0-9]*)/;
@id = m/[&?](id=[^\&]*)/;
print $x . "http://video-srv.googlevideo.com.SQUIDI ... id&@itag\n";



} elsif ($X[1] =~ m/^http\:\/\/.*(youtube).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";
@tyo264658
tyo264658 wrote:Tampaknya untuk salah penulisan tidak< karena saya langsung copy paste dari page 86 kang,, dan sudah saya cek tidak ada yg salah, dan kalau memang ada yg salah, penulisannya seperti apa yang benar?? :grin:
Kalau anda yakin seperti itu, cek versi squid anda dengan cli "apakah opsi --enable-gnuregex dimasukkan pada build-options ?"
++++++++++++++++++++++++++++++++++++++++

Oh OK mas saya coba


User avatar
FirmanIdiotique
Posts: 18
Joined: 13 Mar 2013, 13:00
Location: Cikarang, Bekasi
Contact:

Post by FirmanIdiotique » 20 Apr 2013, 00:11

Maaf sebelum nya Mas, mau minta tolong lagi...
(tutor halaman 38),,
facebook nya kok lemot ya... :(
image nya ga keluar"... T_T
mohon bantuan nya mas...
Attachments
fb.JPG
fb.JPG (145.86 KiB) Viewed 1172 times


User avatar
mrxx
Posts: 13
Joined: 28 Mar 2013, 11:37

Post by mrxx » 20 Apr 2013, 00:23

SyaifuddinJW wrote:Alhamdulillah pagi ini ketemu untuk settingan TProxy dan SSL-Bump.
mungkin hikmah berbagi, atau mungkin hikmah begadang di ganggu anak :wow:


[size:14pt]TPROXY, YOUTUBE, HTTPS ( YESSS....... )
[/size]
[video:youtube]cFeic850hhg[/video]



moga2 dapet bocoran he he he


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

Post by q_p » 20 Apr 2013, 00:43

FirmanIdiotique wrote:Maaf sebelum nya Mas, mau minta tolong lagi...
(tutor halaman 38),,
facebook nya kok lemot ya... :(
image nya ga keluar"... T_T
mohon bantuan nya mas...
Ups ... maaf itu bukan tutor mas, :) menurut saya lebih mirip testimoni he.. he.. :D
Cobalah anda cermati lagi, dan pastikan ada server_http11 on

@mrxx
Amin ...
:)


User avatar
FirmanIdiotique
Posts: 18
Joined: 13 Mar 2013, 13:00
Location: Cikarang, Bekasi
Contact:

Post by FirmanIdiotique » 20 Apr 2013, 01:20

Maaf Maaf... :(
TestDrive maksud saya... :)
sudah ad Mass :(
[spoiler]#FPUI
# 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

include /etc/squid/acl.conf

#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/r25.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10

include /etc/squid/tune.conf

#baris di bawah ini mohon disesuaikan dengan path cache_dir anda
#cache_dir aufs /proxy_1 15000 32 256 min-size=0 max-size=8388607
#cache_dir aufs /proxy_2 15000 32 256 min-size=8388608 max-size=67108864
cache_dir aufs /cache 51200 120 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

include /etc/squid/refresh_pattern.conf

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

cache_effective_user proxy
cache_effective_group proxy
cache_mgr FUI
cachemgr_passwd none all
visible_hostname localhost
#end of file[/spoiler]
ohh iya saya pake lusca head r14809 ubuntu server 12.10 64bit
Proc AMD Phenom(tm) II X2 565
proxy saya sejajar dengan client, jadi d setting d browser nya...
(blm ada mikrotik nya :D)
Maaf klo merepotkan...


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

Post by q_p » 20 Apr 2013, 01:46

Coba anda ganti dns_nameservers dengan dns google (8.8.8.8)
Kalau mau, ada saran nih mas :
1. Pilihan anda menggunakan OS 64 bit sudah benar, cuma kurang dikit yaitu gunakan ubuntu yang LTS (Long Term Support), misalnya 10.04.4 amd/64 bit atau 12.04.2 LTS amd/64 bit. Yang anda install itu sebentar lagi sudah tdk di support.
2. Ubuntu bisa dijadikan full server tanpa memerlukan Mikrotik seperti dalam gambar jaringan saya di halaman 38 tsb. Jika tertarik, anda bisa mengikuti tut-nya Bang Opik


User avatar
FirmanIdiotique
Posts: 18
Joined: 13 Mar 2013, 13:00
Location: Cikarang, Bekasi
Contact:

Post by FirmanIdiotique » 20 Apr 2013, 02:21

Pragola_Pati wrote:Coba anda ganti dns_nameservers dengan dns google (8.8.8.8)
Kalau mau, ada saran nih mas :
1. Pilihan anda menggunakan OS 64 bit sudah benar, cuma kurang dikit yaitu gunakan ubuntu yang LTS (Long Term Support), misalnya 10.04.4 amd/64 bit atau 12.04.2 LTS amd/64 bit. Yang anda install itu sebentar lagi sudah tdk di support.
2. Ubuntu bisa dijadikan full server tanpa memerlukan Mikrotik seperti dalam gambar jaringan saya di halaman 38 tsb. Jika tertarik, anda bisa mengikuti tut-nya Bang Opik
Saya bener" ngucapin terimakasih Mass :)
Udah bener mas pake DNS Mbah Google...
ohh begitu tohh,,, boleh lah saran nya,,, nanti saya coba :D
terimakash banyak mass...

tapi saya masih heran,,,
TCP_MISS untuk youtube.. tapi lancarrrr...
(Hampir semua TCP_MISS bukan youtube aja :confused: )
knapa ya.... :confused:


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

Post by cah_clacap » 20 Apr 2013, 09:44

@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq


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

Post by cah_clacap » 20 Apr 2013, 09:44

@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq


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

Post by cah_clacap » 20 Apr 2013, 09:47

@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq


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

Post by cah_clacap » 20 Apr 2013, 09:47

@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq


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

Post by anbel » 20 Apr 2013, 10:46

cah_clacap wrote:@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq
Sama mas, saya coba triknya mas riophone di t4 saya videonya gak bisa hit.


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

Post by SyaifuddinJW » 20 Apr 2013, 11:32

anbel wrote:
cah_clacap wrote:@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq
Sama mas, saya coba triknya mas riophone di t4 saya videonya gak bisa hit.
memangnya pakai storeurl yg mana?? dan squid confignya seperti apa??


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

Post by anbel » 20 Apr 2013, 12:00

@Mas Syaifuddin,
pakai storeurl R25,youtube hit lancar mas, cuman watch32dotcom dg trik mas riophone di t4 saya gak bisa hit.


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

Post by cah_clacap » 20 Apr 2013, 15:11

SyaifuddinJW wrote:
anbel wrote:
cah_clacap wrote:@ riophone*
triknya dgn membagi 2 google video dan yutub bagus, namun sy coba buka video yutub dan watch32dotcom scra brsama2 hasilnya masih sperti kmarin (salah link). Ketika kita buka episode ke 2 di watch32 video yg muncul trnya video yutub yg sdg kita putar.
Mohon dibantu para master smua
thq
Sama mas, saya coba triknya mas riophone di t4 saya videonya gak bisa hit.
++++++++++++++++++++++++++++++

Semua konfig mengacu halaman 38 bozzz...dengan perubahan yg Ssl_Port dan koment pada never direct .....


memangnya pakai storeurl yg mana?? dan squid confignya seperti apa??


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

Post by cah_clacap » 20 Apr 2013, 15:15

riophone wrote:@cah_clacap
utk watch32dotcom nya agar tidak nyasar dan bisa HIT coba perhatikan di storeurl nya, apakah spt ini :
} elsif ($X[1] =~ m/^http\:\/\/.*(youtube|google).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

Coba perhatikan bagian yg dibold.

Untuk watch32dotcom outputnya :
http://redirector.googlevideo.com/videoplayback?
id=25597d9f85aa3f42&
itag=34&
source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1368889307&sparams=id,itag,source,ip,ipbits,expire&signature=5FB2B2E7CEB225430EC2679850FAA693ED07349C.7BCADA2A86C79C252E058869BD30C7E2E8C11D93&key=lh1&begin=0&cm2=0 - DIRECT/173.194.38.167 text/html


Sudah saya utak-atik hasilnya HIT dan tidak Nyasar
++++++++++++++++++++++++++++++++++++++++++++++++

Boz, coba panjenengan buka videonya bersama-sama ....antara Yutub dan watch32dotcom..... buka episode 2 dgn open in new tab, maka hasilnya kalo di sini sama dgn video yg sedang diputar di yutub ..... ayo kita oprex lg....
keep smile


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

Post by riophone » 20 Apr 2013, 16:55

kalau di saya watch32dotcom nggak seperti ayu tink tink walaupun mutar youtube barengan.

berikut settingan storeurl ama squid.conf masih biasa-biasa aja

#squid.conf

referer_log /cache1/referer.log

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 /cache1/referer.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

#storeurl r25 sedikit dimodif
} elsif ($X[1] =~ /(google).*videoplayback\?/){
@itag = m/[&?](itag=[0-9]*)/;
@id = m/[&?](id=[^\&]*)/;
print $x . "http://video-srv.googlevideo.com.SQUIDI ... id&@itag\n";

} elsif ($X[1] =~ m/^http\:\/\/.*(youtube).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

my $ref_log = File::ReadBackwards->new('/cache1/referer.log');


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

Post by q_p » 20 Apr 2013, 18:06

Pakai referer.log ... :)
siip ....
Tq.


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

Post by cah_clacap » 20 Apr 2013, 18:56

riophone wrote:kalau di saya watch32dotcom nggak seperti ayu tink tink walaupun mutar youtube barengan.

berikut settingan storeurl ama squid.conf masih biasa-biasa aja

#squid.conf

referer_log /cache1/referer.log

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 /cache1/referer.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

#storeurl r25 sedikit dimodif
} elsif ($X[1] =~ /(google).*videoplayback\?/){
@itag = m/[&?](itag=[0-9]*)/;
@id = m/[&?](id=[^\&]*)/;
print $x . "http://video-srv.googlevideo.com.SQUIDI ... id&@itag\n";

} elsif ($X[1] =~ m/^http\:\/\/.*(youtube).*videoplayback.*/){
@itag = m/[&?](itag=[0-9]*)/;
@CPN = m/[&?]cpn\=([a-zA-Z0-9\-\_]*)/;
@IDS = m/[&?]id\=([a-zA-Z0-9\-\_]*)/;
$id = &GetID($CPN[0], $IDS[0]);
@range = m/[&?](range=[^\&\s]*)/;
print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/id=" . $id . "&@itag@range\n";

my $ref_log = File::ReadBackwards->new('/cache1/referer.log');

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Oh pake referer.log toh ......referer.log kan dulu cocok utk r19 ...... berarti hrus back to referer.log saja atau gimana ini?????
Ada saran ??? udah kadung yg ga pake referer.log gimana????
dimasukin lg nanti malam ah yg referer.log-nya


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

Post by riophone » 20 Apr 2013, 18:57

nggak tau juga mas kalau referer.log itu ada pengaruhnya di watch32dotcom.
Kalau menurut saya bisa aja kita ganti jadi "janganlari.log", krn di storeurl harus di deklarasikan spt dibawah ini:

my $ref_log = File::ReadBackwards->new('/cache1/janganlari.log');

kalau menurut saya coba jangan disatukan antara access.log dengan referer.log krn di squid.conf ada line spt dibawah ini:
acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
logformat squid1 %{Referer}>h %ru
access_log /cache1/referer.log squid1 yutub


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

Post by cah_clacap » 20 Apr 2013, 19:11

Pragola_Pati wrote:Pakai referer.log ... :)
siip ....
Tq.
+++++++++++++++++++++++++++++++++

Gimana ini Mas Pragola dan MAs SJW ...sy minta sarannya apakah sy harus pake referer.log lg kaya dulu???
MAsalahnya kasihan client buka video keluarnya malah video yg diinginkan oleh bilik sebelah .... kalo yg satu buka lagu band dan yg satu buka bok*p kan berabe urusannya ,,,,,,, he he he he he....


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

Post by cah_clacap » 20 Apr 2013, 19:13

riophone wrote:nggak tau juga mas kalau referer.log itu ada pengaruhnya di watch32dotcom.
Kalau menurut saya bisa aja kita ganti jadi "janganlari.log", krn di storeurl harus di deklarasikan spt dibawah ini:

my $ref_log = File::ReadBackwards->new('/cache1/janganlari.log');
+++++++++++++++++++++++++++++++++++++++
iya mas Rio ...sy pernah pake referer.log sampai yg r19 ...... repotnya dulu di sini klo pake referer.log klo muter yutub selalu ada video yg 114p ....gambarnya pudar ga jelas sama sekali ...di situ buka yutub pernah keluar yg 114p apa tidak ???


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

Post by cah_clacap » 20 Apr 2013, 19:25

riophone wrote:nggak tau juga mas kalau referer.log itu ada pengaruhnya di watch32dotcom.
Kalau menurut saya bisa aja kita ganti jadi "janganlari.log", krn di storeurl harus di deklarasikan spt dibawah ini:

my $ref_log = File::ReadBackwards->new('/cache1/janganlari.log');

kalau menurut saya coba jangan disatukan antara access.log dengan referer.log krn di squid.conf ada line spt dibawah ini:
acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
logformat squid1 %{Referer}>h %ru
access_log /cache1/referer.log squid1 yutub


++++++++++++++++++++++++++

JAdi ......konfig perpaduannya jadi bgmana yg referer.log asli dan tambahan modif-nya???


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

Post by riophone » 20 Apr 2013, 19:29

semenjak perbaikan bulan lalu belum pernah pindah ke 114, paling rendah ke 240 itupun krn bandwidth untuk streaming/download sudah mentok 10mb. kalau browsing saya pakai 3,6mb x 2 line (speedy)


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

Post by riophone » 20 Apr 2013, 19:42

di squid.conf saya pakai 2 access.log :
/cache1/access.log
/cache1/referer.log

krn menurut saya yotube dan parsing kriteria yg difenisikan :
my $ref_log = File::ReadBackwards->new('/cache1/referer.log');
while (defined($line = $ref_log->readline))
{
if ($line =~ m/.*youtube.*\/watch\?.*v=([a-zA-Z0-9\-\_]*).*\s.*id=$IDS[0].*/){
$id = $1;
last;
}
if ($line =~ m/.*youtube.*\/.*cpn=$CPN[0].*[&](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*/){
$id = $2;
last;
}
if ($line =~ m/.*youtube.*\/.*[&?](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*cpn=$CPN[0].*/){
$id = $2;
last;
}
last if --$lim close();
return $id;
}
berada di referer.log sedangkan watch32 di access.log


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

Post by cah_clacap » 20 Apr 2013, 19:51

riophone wrote:di squid.conf saya pakai 2 access.log :
/cache1/access.log
/cache1/referer.log

krn menurut saya yotube dan parsing kriteria yg difenisikan :
my $ref_log = File::ReadBackwards->new('/cache1/referer.log');
while (defined($line = $ref_log->readline))
{
if ($line =~ m/.*youtube.*\/watch\?.*v=([a-zA-Z0-9\-\_]*).*\s.*id=$IDS[0].*/){
$id = $1;
last;
}
if ($line =~ m/.*youtube.*\/.*cpn=$CPN[0].*[&](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*/){
$id = $2;
last;
}
if ($line =~ m/.*youtube.*\/.*[&?](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*cpn=$CPN[0].*/){
$id = $2;
last;
}
last if --$lim close();
return $id;
}
berada di referer.log sedangkan watch32 di access.log

++++++++++++++++++++++++++++++++++++
>>>>>>>>>>>>>sedangkan watch32 di access.log ..........................

Berarti kesimpulannya harus dibuat bagaimana mas???


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

Post by q_p » 20 Apr 2013, 22:07

^
@RioPhone
@Cah Cilacap

Sedikit masukan, amati pertumbuhan volume file2 log tsb. Kalau samapi membengkak sebaiknya pisahkan file2 log dengan cache_dir dalam HDD yang berbeda.


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 20 Apr 2013, 23:03

ijin nyimak mas pragola


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

Post by anbel » 20 Apr 2013, 23:37

amelianet wrote:ijin nyimak mas pragola
Saya ijin nymak juga, siapa tahu squid3 + ssl Bump sudah digelar :D
sudah coba praktek gak bisa2 (banyak warning) :confused:


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

Post by anbel » 20 Apr 2013, 23:43

riophone wrote:di squid.conf saya pakai 2 access.log :
/cache1/access.log
/cache1/referer.log

krn menurut saya yotube dan parsing kriteria yg difenisikan :
my $ref_log = File::ReadBackwards->new('/cache1/referer.log');
while (defined($line = $ref_log->readline))
{
if ($line =~ m/.*youtube.*\/watch\?.*v=([a-zA-Z0-9\-\_]*).*\s.*id=$IDS[0].*/){
$id = $1;
last;
}
if ($line =~ m/.*youtube.*\/.*cpn=$CPN[0].*[&](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*/){
$id = $2;
last;
}
if ($line =~ m/.*youtube.*\/.*[&?](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*cpn=$CPN[0].*/){
$id = $2;
last;
}
last if --$lim close();
return $id;
}
berada di referer.log sedangkan watch32 di access.log

Terima kasih mas riophone, sudah di test hasilnya sempurna.


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 20 Apr 2013, 23:54

coba mas anbel test di vevo apakah masih hit juga ,ini kayaknya agak aneh lagi vevo ni


User avatar
dja
Posts: 61
Joined: 06 Nov 2012, 23:43

Post by dja » 20 Apr 2013, 23:56

anbel wrote:
amelianet wrote:ijin nyimak mas pragola
Saya ijin nymak juga, siapa tahu squid3 + ssl Bump sudah digelar :D
sudah coba praktek gak bisa2 (banyak warning) :confused:
warningnya seperti inikah?

2013/04/21 06:51:51| WARNING: store_id #1 exited
2013/04/21 06:51:51| Too few store_id processes are running (need 1/20)
2013/04/21 06:51:51| Starting new helpers
2013/04/21 06:51:51| helperOpenServers: Starting 1/20 'store-id.pl' processes
2013/04/21 06:51:51| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown}
2013/04/21 06:52:01| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i1.ytimg.com/vi/dpmAY059TTY/mqdefault.jpg"}
2013/04/21 06:52:01| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i1.ytimg.com/vi/hVmHX55XDYk/mqdefault.jpg"}
2013/04/21 06:52:01| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/crossdomain.xml"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/IYOYlqOitDA/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/ErvgV4P6Fzc/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/aLDMg_tg64o/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/Ufm4NHTXVSg/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/eLoQteiJNOU/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i3.ytimg.com/vi/zRIbf6JqkNc/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i3.ytimg.com/vi/NmqK0aXkHho/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/vi/o1tj2zJ2Wvg/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/vi/gcNBqn7dltE/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/vi/7w2VbOoXE2k/mqdefault.jpg"} kl iya berarti kita sama


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

Post by anbel » 21 Apr 2013, 00:11

amelianet wrote:coba mas anbel test di vevo apakah masih hit juga ,ini kayaknya agak aneh lagi vevo ni
Betul mas, harus beberapa kali putar baru bisa hit. :confused:


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

Post by anbel » 21 Apr 2013, 00:15

djamil wrote:
anbel wrote:
amelianet wrote:ijin nyimak mas pragola
Saya ijin nymak juga, siapa tahu squid3 + ssl Bump sudah digelar :D
sudah coba praktek gak bisa2 (banyak warning) :confused:
warningnya seperti inikah?

2013/04/21 06:51:51| WARNING: store_id #1 exited
2013/04/21 06:51:51| Too few store_id processes are running (need 1/20)
2013/04/21 06:51:51| Starting new helpers
2013/04/21 06:51:51| helperOpenServers: Starting 1/20 'store-id.pl' processes
2013/04/21 06:51:51| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown}
2013/04/21 06:52:01| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i1.ytimg.com/vi/dpmAY059TTY/mqdefault.jpg"}
2013/04/21 06:52:01| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i1.ytimg.com/vi/hVmHX55XDYk/mqdefault.jpg"}
2013/04/21 06:52:01| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/crossdomain.xml"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/IYOYlqOitDA/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/ErvgV4P6Fzc/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/aLDMg_tg64o/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/Ufm4NHTXVSg/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i2.ytimg.com/vi/eLoQteiJNOU/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i3.ytimg.com/vi/zRIbf6JqkNc/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i3.ytimg.com/vi/NmqK0aXkHho/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/vi/o1tj2zJ2Wvg/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/vi/gcNBqn7dltE/mqdefault.jpg"}
2013/04/21 06:52:02| ERROR: storeID helper returned invalid result code. Wrong helper? {result=Unknown, other: "http://i4.ytimg.com/vi/7w2VbOoXE2k/mqdefault.jpg"} kl iya berarti kita sama
Sama mas, he he he.. kita tunggu mas syaifuddin bersedia gelar treadnya.


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 21 Apr 2013, 01:15

http://www.youtube.com/watch?v=1OxUKFSCfo0

vevo ini aja yang susah di simpan dari telkom ,selain itu masih bisa


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

Post by q_p » 21 Apr 2013, 01:43

amelianet wrote:http://www.youtube.com/watch?v=1OxUKFSCfo0

vevo ini aja yang susah di simpan dari telkom ,selain itu masih bisa
HIT kok mas
[spoiler]1366483104.461 517 192.168.0.113 TCP_HIT/200 1782169 GET http://r6---sn-2uuxa3vh-jb3d.c.youtube. ... 5tn5xA4vIs - NONE/- video/x-flv
1366483107.946 370 192.168.0.113 TCP_HIT/200 1782169 GET http://r6---sn-2uuxa3vh-jb3d.c.youtube. ... 5tn5xA4vIs - NONE/- video/x-flv
1366483127.205 425 192.168.0.113 TCP_HIT/200 1782169 GET http://r6---sn-2uuxa3vh-jb3d.c.youtube. ... 5tn5xA4vIs - NONE/- video/x-flv[/spoiler]


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

Post by anbel » 21 Apr 2013, 01:58

amelianet wrote:http://www.youtube.com/watch?v=1OxUKFSCfo0

vevo ini aja yang susah di simpan dari telkom ,selain itu masih bisa
Mas setelah setingan squid saya kembalikan semula (tanpa referer.log) dan storeurl r25 hasilnya langsung hit.


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

Post by anbel » 21 Apr 2013, 02:06

@Mas Pragola apa sudah berhasil squid3 + ssl Bump nya?
Klu saya masih gagal terus, he he he...


Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests