Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Share] Lusca HIT dan Youtube Error

    Scheduled Pinned Locked Moved Indonesian
    26 Posts 13 Posters 21.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mxn
      last edited by

      @spc:

      @mxn:

      om spc sy dpt masukan dr salah 1 member di group pfsense di fb, menurut om gmn nih mana yg lebih baru. thx b4

      youtube fix

      } elsif (m/^http://([0-9.]{4}|..youtube.com|..googlevideo.com|..video.google.com)/videoplayback?(.)/) {
      $p_str = $2;
      $tag = "";
      $alg = "";
      $id = "";
      $range = "";
      if ($p_str =~ m/(itag=[0-9])/){$tag = "&".$1}
      if ($p_str =~ m/(algorithm=[a-z]
      -[a-z])/){$alg = "&".$1}
      if ($p_str =~ m/(id=[a-zA-Z0-9]
      )/){$id = "&".$1}
      if ($p_str =~ m/(range=[0-9-]*)/){$range = "&".$1; $range =~ s/-//; $range =~ s/range=//; }
      print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/" . $tag . "&" . $alg . "&" . $id . "&" . $range . "\n";

      ASS WR WB
      Salam PFSI

      Sampe akhir 2012 masih banyak yang ok pake yang diatas. kalo melihat script perl pada file storeurl ini sepertinya ini lebih update.Cuma belum tahu di performanya. Intinya script ini lebih baru.Atau agan mxn udah pakai. Kalau sudah dipakai, bisa dong diadvertise performanya untuk kepentingan rekan-rekan di PFSI.

      Kalau ada yang sempat bisa juga dicoba yang ini

      $|=1;
      while (<>) {
      @X = split;
      #       $X[1] =~ s/&sig=.*//;
      $x = $X[0] . " ";
      $_ = $X[1];
      $u = $X[1];

      if ($X[1] =~ /(youtube|google).*videoplayback?/){
      @itag = m/&?/;
      @id = m/&?/;
      @range = m/&?/;
      @begin = m/&?/;
      @redirect = m/&?/;
      print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/@itag&@id&@range@begin@redirect\n";

      Demikian dulu, semoga selalu ada manfaatnya

      Salam PFSI
      WSS WR WB

      Asslamualaikum WBR

      sy dl juga pake yg om pake dan ketika cache di youtube dia wuzz sampai akhir tanpa putus klo yg terbaru ini sy rasakan seperti di load per 1/4 bar (bar play yg warna putih ) di youtube, sy sendiri binun cara melihat perbedaan yg lebih lg kek mana gt om :(, apakah cmn berbasis squidclient -p80 mgr:info sdh cukup or ada methode lain tlg masukana om

      Walaikum salam Wbr

      1 Reply Last reply Reply Quote 0
      • M
        mxn
        last edited by

        @zass:

        non stop download dari cache

        Share setingana om zass :D pengen nih nyicipin juga

        1 Reply Last reply Reply Quote 0
        • Z
          zass
          last edited by

          Gunakan kamu punya script untuk youtube , zph , ada di thread sticky , tambah hdd cara om spc juga di thread sebelah

          1 Reply Last reply Reply Quote 0
          • S
            spc
            last edited by

            ASS WR WB
            Salam PFSI

            Ada yang berani pakai Squid3, konon menghilangkan banyak setting manual yang sebagian besar menjadi wacana
            di Squid sudah di akomodir tuntas. Bisa di deploy di mesin test jangan ganggu mesin produksi.

            Salam PFSI
            WSS WR WB

            1 Reply Last reply Reply Quote 0
            • P
              pfz
              last edited by

              Squid3 sudah bisa jalan tapi untuk content dynamic banyak yang belum nge-cache. Dikotak-katik malah error. :)

              Secara umum bagus krna ada tambahan buat yang punya web server.

              1 Reply Last reply Reply Quote 0
              • S
                spc
                last edited by

                ASS WR WB
                Salam PFSI

                Wah gagal promo nya Squid3. Tapi Gpp ada slogan " Tiada hari tanpa update "

                Salam PFSI
                WSS WR WB

                1 Reply Last reply Reply Quote 0
                • Q
                  queues
                  last edited by

                  om spc, kalau youtube untuk di ipad atau iphone sebenarnya bisa tercache atau tidak dengan setingan om SPC ini?

                  disaya tidak bisa tercache om, knp ya?

                  1 Reply Last reply Reply Quote 0
                  • E
                    eyditharen
                    last edited by

                    baru nyoba.. mantap om .. youtube nya ngak terputus putus lg …. makasih banyak ya om...

                    update... di punya ane http://www.youtube.com/watch?v=NvR60Wg9R7Q

                    yg pake VEVO ngak bisa tercache selalu miss terus mohon petunjuk nya Om

                    1 Reply Last reply Reply Quote 0
                    • T
                      tekoaja1b
                      last edited by

                      om spc…..kenapa yah setelah saya masukin script tersebut.....vevo, qualitynya selalu berubah jadi HD dan ada beberapa yang gak bisa ke cache.......mohon pencerahannya........terima kasih :D

                      1 Reply Last reply Reply Quote 0
                      • E
                        eyditharen
                        last edited by

                        kayak nya youtube dah ngak bisa di cache lg dengan script di atas Om.. coba di check ulang

                        1 Reply Last reply Reply Quote 0
                        • H
                          herymulyo
                          last edited by

                          UDAH LANGKA YANG BISA EDIT STOREURL DAN PERL

                          1 Reply Last reply Reply Quote 0
                          • S
                            spc
                            last edited by

                            ASS WR WB
                            Salam PFSI

                            Kemarin saya coba melihat lebih jauh baris-baris pada script awal untuk chace
                            video youtube. Saya coba berasumsi bahwa ada beberapa script yang dieksikusi
                            terlalu awal. Bukan berarti saya mengatakan script tersebut tag failed.Karena
                            pada awalnya script tersebut berjalan. Salah satunya Custom option untuk chacing
                            video, script yang berkenaan dengan storeurl, saya coba untuk tidak menggunakan
                            pengunci akhir untuk mendenied aturan lain selain yang tidak didefinisikan.

                            seperti di bawah ini.

                            storeurl_access deny all

                            dirubah saja sementara menjadi

                            #storeurl_access deny all

                            Nah, setelah saya restart lusca dan bahkan saya restart Pf sampai sekarang
                            chacing video youtube nya masih berjalan. Hal ini belum diuji untuk waktu
                            selanjutnya. Sebab ada kemungkinan chacing video nya tidak berjalan lagi.
                            Demikian dulu. Semoga bermanfaat.

                            Salam PFSI
                            WSS WR WB

                            1 Reply Last reply Reply Quote 0
                            • D
                              dpa
                              last edited by

                              Hope you guys can speak english. :(.

                              I am having trouble with my lusca with youtube videos. Everytime we click a video it is showing a wrong video. I am suspecting that updating storeurl might fix the problem. Is the code posted above would fix this issue?

                              Thanks.

                              Kind regards,

                              1 Reply Last reply Reply Quote 0
                              • P
                                pfz
                                last edited by

                                @dpa:

                                Hope you guys can speak english. :(.

                                I am having trouble with my lusca with youtube videos. Everytime we click a video it is showing a wrong video. I am suspecting that updating storeurl might fix the problem. Is the code posted above would fix this issue?

                                Thanks.

                                Kind regards,

                                you can see in this thread http://forum.pfsense.org/index.php/topic,46536.105.html
                                and translated to english

                                may be useful

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dpa
                                  last edited by

                                  @DeSastro:

                                  @dpa:

                                  Hope you guys can speak english. :(.

                                  I am having trouble with my lusca with youtube videos. Everytime we click a video it is showing a wrong video. I am suspecting that updating storeurl might fix the problem. Is the code posted above would fix this issue?

                                  Thanks.

                                  Kind regards,

                                  you can see in this thread http://forum.pfsense.org/index.php/topic,46536.105.html
                                  and translated to english

                                  may be useful

                                  Thanks man. I think its time to learn Indonesian. :)

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    a N U
                                    last edited by

                                    confing yang saya pakai http://www.mediafire.com/?txyar3race3sqku

                                    yuk tub test http://www.youtube.com/watch?v=_b_Swfwhvus

                                    monggo di icipi

                                    thanks to bro spc buat lusca hit youtube sama turbo cachenya

                                    Salam PFSI

                                    pfs-dasb.PNG
                                    pfs-dasb.PNG_thumb

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      reezq665
                                      last edited by

                                      @a:

                                      confing yang saya pakai http://www.mediafire.com/?txyar3race3sqku

                                      yuk tub test http://www.youtube.com/watch?v=_b_Swfwhvus

                                      monggo di icipi

                                      thanks to bro spc buat lusca hit youtube sama turbo cachenya

                                      Salam PFSI

                                      Udah gak nyasar youtube nya ya om???

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        asepyulisman
                                        last edited by

                                        mas cara edit storeurl.pl gimana? saya udah copa pakai wincsp tidak bisa konek padahal port ssh di pfsense udah di aktifkan?

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          reezq665
                                          last edited by

                                          @asepyulisman:

                                          mas cara edit storeurl.pl gimana? saya udah copa pakai wincsp tidak bisa konek padahal port ssh di pfsense udah di aktifkan?

                                          login dengan username : root

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            spc
                                            last edited by

                                            – Refresh --

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.