[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
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Re: [HOT POOLLING]Apakah Youtube Error Lagi ?

Post by pluto01 » 06 Apr 2013, 16:23

Agan2 FUI bisa test dua link video di bawah apakah ada kendala:

http://www.youtube.com/watch?v=17uh4s_sqZA
http://www.youtube.com/watch?v=LiHp3TFOO2M

ditempat ane

1. Jika pakai yg dibawah ga bisa akses dengan log:
acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range

1365265152.943 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265152.988 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.127 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.654 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.709 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265154.906 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.106 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.764 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.809 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html

2. namun jika dicomment 2 baris di atas bisa akses dan cache, namun hasil HIT cachenya ga wuzzz wuzzz satu per satu.

kira2 agan2 FUI ada cara lain agar bisa wuzz wuzz


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

Post by SyaifuddinJW » 06 Apr 2013, 17:05

numpang ikut nongkrong gan, sapa tau dapet ilham dari sini nanti


User avatar
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Post by pluto01 » 06 Apr 2013, 17:31

SyaifuddinJW wrote:numpang ikut nongkrong gan, sapa tau dapet ilham dari sini nanti
Eh ada OM Ucok, mohon bimbingannya OM.


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

Post by cah_clacap » 06 Apr 2013, 19:18

Pragola_Pati wrote:[size:17pt]Dear All[/size] Buat warga FUI yang mempertanyakan acl dengan reguler expression (terutama mas Cah Cilacap) yang di bawah ini =

Code: Select all

acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&cms_redirect=yes.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&ir=1.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&rr=12.*$
storeurl_access deny dontrewrite
Symbol "$" tsb termasuk Regular Expression Operator, bukan karena pengaruh text wrapper.

[size:14pt]$ = Matches the empty string at the end of a line[/size]

Silahkan kalau mau menggunakan acl tsb dengan memasukkan ke dalam kelompok dontrewrite url_regex.

@mrxx
Kayaknya secara default bukan di 480p mas. Coba anda update semua flashplayer-nya dan shockwavePlayer.

++++++++++++++++++++++++++++++++++++++++++++++++++++
@ Mas Pragola : makasih ats sharingnya ...

Terus sy mau tanya mas ....
saya buka video ini kok selalu keluar an error occured .... kayak penyakit lama nih ....
ini link-nya http://www.youtube.com/watch?v=DQGxqTOgT58

dan ini skringsut-nya ...


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

Post by cah_clacap » 06 Apr 2013, 19:23



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

Post by cah_clacap » 06 Apr 2013, 19:24

Image


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

Post by anbel » 06 Apr 2013, 19:41

pluto01 wrote:Agan2 FUI bisa test dua link video di bawah apakah ada kendala:

http://www.youtube.com/watch?v=17uh4s_sqZA
http://www.youtube.com/watch?v=LiHp3TFOO2M

ditempat ane

1. Jika pakai yg dibawah ga bisa akses dengan log:
acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range

1365265152.943 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265152.988 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.127 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.654 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.709 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265154.906 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.106 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.764 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.809 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html

2. namun jika dicomment 2 baris di atas bisa akses dan cache, namun hasil HIT cachenya ga wuzzz wuzzz satu per satu.

kira2 agan2 FUI ada cara lain agar bisa wuzz wuzz
Mas Pluto01
Saya coba videonya, hasilnya susah untuk hit, selalu pindah2 quality


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 06 Apr 2013, 20:01

wah ...dari kemarin muter2 ketemu jg nih tutoril lengkap disini


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 06 Apr 2013, 20:07

@ Akang pragola dan KK lainnya ..... minta dibimbing nih ................


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 06 Apr 2013, 22:01

Wat Mas Pragola_Pati : q mo tanya mas ..... storeurl.pl yg paling baek yg mana soalnya q udah pakek 2 storeurl tapi binun mana yg paling baek ....

KAlo yg di pejwan setelah Q simax n Q praktekin hasilnya cache per bagian, tapi 5 hari yg lalu Q dpt dr forum sebelah pakek yg baru lg bisa cache full bukan per part ..... cuman kadang ngaco videonya .... kalo bisa diedit mungkin bisa lebih bagus .... minta tolong gan dibantu q .... thank's


User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Post by Aira » 07 Apr 2013, 00:30

pluto01 wrote:Agan2 FUI bisa test dua link video di bawah apakah ada kendala:

http://www.youtube.com/watch?v=17uh4s_sqZA
http://www.youtube.com/watch?v=LiHp3TFOO2M

ditempat ane

1. Jika pakai yg dibawah ga bisa akses dengan log:
acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range

[spoiler]1365265152.943 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265152.988 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.127 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.654 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.709 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265154.906 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.106 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.764 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.809 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html

2. namun jika dicomment 2 baris di atas bisa akses dan cache, namun hasil HIT cachenya ga wuzzz wuzzz satu per satu.

kira2 agan2 FUI ada cara lain agar bisa wuzz wuzz
[/spoiler]
LOG
1365269750.958 2056 192.168.1.50 TCP_HIT/200 29779 GET http://r7---s
n-2uuxa3vh-jb3l.c.youtube.com/videoplayback? - NONE/- audio/mp4
1365269751.028 2074 192.168.1.50 TCP_HIT/200 81829 GET http://r7---s
n-2uuxa3vh-jb3l.c.youtube.com/videoplayback? - NONE/- video/mp4
1365269751.218 2190 192.168.1.50 TCP_HIT/200 201109 GET http://r7---
sn-2uuxa3vh-jb3l.c.youtube.com/videoplayback? - NONE/- video/mp4
1365269751.262 2168 192.168.1.50 TCP_HIT/200 90516 GET http://r7---s
n-2uuxa3vh-jb3l.c.youtube.com/videoplayback? - NONE/- audio/mp4
Masalahnya sama uy curiga dari penambahan resolusi 144p jadi squid error menerjemahkannya... (Masih menurut pantauan saya yaa)
Mudah2an mas Pragola dan rekan FUI bisa kasih clue ke kita tentang permasalahan ini.


User avatar
DioBSD
Posts: 5
Joined: 07 Dec 2011, 00:27
Location: Pringsewu, Lampung
Contact:

Post by DioBSD » 07 Apr 2013, 03:54

PUNYA-KU AMAN :D


User avatar
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Post by pluto01 » 07 Apr 2013, 05:58

DioBSD wrote:PUNYA-KU AMAN :D
OM bisa dikasih info bocorannya, soalnya di tempat ane kedua video tersebut masih belum bisa HIT dengan aman seperti post ane sebelumnya.


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

Post by anbel » 07 Apr 2013, 10:54

@ All

Kok jadi error ya? Video yg tadinya sudah hit, jadi TCP_MISS, karena quality videonya berubah sendiri yg tadinya 360P tiba2 berubah 144P, tolong Mastah ada apa dengan ini ya?


User avatar
zero44
Posts: 30
Joined: 29 Mar 2013, 09:12

Post by zero44 » 07 Apr 2013, 12:10

sama punya saya juga eror occured.., padahal.., kemarin baik-baik aja, vidionya berupah ke 240p sendiri
ada yg punya solusi..,

oh ya tambahan yg error occured semua vidio yg memiliki kualitas 144p (kualitas baru dari youtube)


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 13:44

quppet wrote:@Pragola_pati
ralat untuk adobe flash... tarnyata harus ver-10.0.22.87 dan ampuh untuk cache youtube 1x hit... :wow: :kuku:
N knp bisa begitu aq blum tahu... masih dicari-cari dan sampai skarang belum ketemu wakakakaka :hajarpc:
\


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

@ Mas Quppet dan semua saja :

itu bukan pengaruh adobe flash atau shockwave ......

Maaf bukan bermaksud menggurui para master di sini .... itu karena pengaruh script dari storeurl.pl .... 6 hari yg lalu Q dpt dr forum sebelah kayanya script itu bisa utk cache FULL tanpa range video alias cache langsung poool mentok sampai akhir bar ..... kalo ada yg minat nnti Q gelar di forum ini ..........


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 13:46

Q punya solusi mas ...mungkin bisa utk bahan perbandingan dgn storeurl.pl yg ada di pejwan ...... menurut sang empunya katanya ni script bisa full cache tanpa range .....


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

Post by anbel » 07 Apr 2013, 13:56

kuncung99 wrote:Q punya solusi mas ...mungkin bisa utk bahan perbandingan dgn storeurl.pl yg ada di pejwan ...... menurut sang empunya katanya ni script bisa full cache tanpa range .....
Mas Kuncung99
Tolong digelar storeurlnya.


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 14:39

#!/usr/bin/perl5.14.2 (Versi perl silakan disesuaikan ketik di putty # perl -v)
# $Rev$
# by chudy_fernandez@yahoo.com
# Oprex end by kuncung_calon_mumy@yahoo.com


$|=1;
while () {

@X = split;
# $X[1] =~ s/&sig=.*//;
$x = $X[0] . " ";
$_ = $X[1];
$u = $X[1];



if ($X[1] =~ /youtube.*watch\?/){
@v = m/[&?](v=[^\&\s]*)/;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(get_video|get_video_info)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@v = "v=" . substr join("", @video_id), 9;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*generate_204/){
@id = m/[&?](id=[^\&\s]*)/;
unless (-e "/tmp/@id"){
open FILE, ">/tmp/@id";
print FILE @v;
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(stream_204|player_204)/){
@v = m/[&?](v=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(ptracking|user_watch)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@v = substr join("", @video_id), 9;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "v=@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*videoplayback\?/){
@itag = m/[&?](itag=[^\&\s]*)/;
@range = m/[&?](range=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@id = m/[&?](id=[^\&\s]*)/;
if (-e "/tmp/@id"){
open FILE, "/tmp/@id";
@id = ;
close FILE;}
if (-e "/tmp/@cpn"){
open FILE, "/tmp/@cpn";
@id = ;
close FILE;}
print $x . "http://video-srv.youtube.com.SQUIDINTER ... g&@range\n";


# photos-X.ak.fbcdn.net where X a-z
} elsif (m/^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/) {
print $x . "http://photos" . $1 . "\n";

# http://hphotos-ash2.fbcdn.net/290503_17 ... 8472_o.jpg
} elsif (m/^http:\/\/photos-ash[1-5]?(.fbcdn.net.*)/) {
print $x . "http://ash.photos" . $1 . "\n";

#http://a6.sphotos.ak.fbcdn.net/hphotos- ... 7268_n.jpg
#a5.sphotos.ak.fbcdn.ne

} elsif (m/^http:\/\/[a-z][0-9]?(.sphotos.ak.fbcdn.net.*)/) {
print $x . "http://cdn.photos" . $1 . "\n";

#GRand Chase
#} elsif (m/^http:\/\/122\.102\.49\.132\/(.*)\/(.*\.(zip|exe)/){
#print $x . "http://122.102.49..132" . $2 . "\n";

#http://cityvillefb0.static.zgncdn.com/h ... 72e2a4.png
} elsif (m/^http:\/\/cityvillefb[0-3]?(.static.zgncdn.com.*)/) {
print $x . "http://cityvillefb" . $1 . "\n";

#http://playerstatics1.poker.static.zyng ... M3X24uanBn
} elsif (m/^http:\/\/playerstatics[1-9]?(.poker.static.zynga.com.*)/) {
print $x . "http://playerstatics.poker-zynga." . $1 . "\n";

#http://zynga4-a.akamaihd.net/zbar/game- ... 413359.png
} elsif (m/^http:\/\/zynga[1-9]?-a(.akamaihd.net.*)/) {
print $x . "http://zynga-akamaihd.net." . $1 . "\n";

#http://s2.ninja.game321.com/source/bitm ... 4.s110.png
} elsif (m/^http:\/\/s[1-9]?(.ninja.game321.com.*)/) {
print $x . "http://ninja-game321." . $1 . "\n";

#http://i616.photobucket.com/albums/uu90 ... 0001-1.gif
} elsif (m/^http:\/\/i[1-9]{3}(.photobucket.com.*)/) {
print $x . "http://photobucket3." . $1 . "\n";

# http://i1221.photobucket.com/albums/dd4 ... 7bet-s.gif
} elsif (m/^http:\/\/i[1-9]{4}(.photobucket.com.*)/) {
print $x . "http://photobucket." . $1 . "\n";

#BLOGSPOT
} elsif (m/^http:\/\/[1-4]?(bp.blogspot.com.*)/) {
print $x . "http://blog-cdn." . $1 . "\n";

#http://lh6.ggpht.com/_pt7i0nbIOCY/SeBSf ... 5B1%5D.png
} elsif (m/^http:\/\/lh[3-6]?(.ggpht.com.*)/) {
print $x . "http://ggpht." . $1 . "\n";

#http://a2.twimg.com/profile_images/1213 ... normal.jpg
} elsif (m/^http:\/\/a[0-5]?(.twimg.com.*)/) {
print $x . "http://cdn-twimg.com." . $1 . "\n";

#AVAST
} elsif (m/^http:\/\/download[0-9]{3}.(avast.com.*)/) {
print $x . "http://avast-cdn." . $1 . "\n";

#KAV
} elsif (m/^http:\/\/dnl-[0-9]{2}.(geo.kaspersky.com.*)/) {
print $x . "http://kav-cdn." . $1 . "\n";

#AVG
} elsif (m/^http:\/\/(update.avg.com.*)/) {
print $x . "http://avg-cdn." . $1 . "\n";

#static3.spilcdn.com/
} elsif (m/^http:\/\/static[1-9]?(.speelcdn.com.*)/) {
print $x . "http://speelcdn." . $1 . "\n";

#http://t1.gstatic.com
} elsif (m/^http:\/\/t[1-9]?(.gstatic.com.*)/) {
print $x . "http://cdn-gstatic.com." . $1 . "\n";

# http://0.gravatar.com
} elsif (m/^http:\/\/[0-3]?(.gravatar.com.*)/) {
print $x . "http://cdn-gravatar." . $1 . "\n";

#http://s5.scribdassets.com/images/attri ... ercial.png
} elsif (m/^http:\/\/s[1-8]?(.scribdassets.com.*)/) {
print $x . "http://cdn-scribdassets." . $1 . "\n";

# http://tc2.easythumbhost.com/
} elsif (m/^http:\/\/tc[0-9]?(.easythumbhost.com.*)/) {
print $x . "http://cdn-easythumbhost." . $1 . "\n";

#http://static7.spilcdn.com/tw/img/_/pro ... _small.png
} elsif (m/^http:\/\/static[1-7]?(.spilcdn.com.*)/) {
print $x . "http://spilcdn." . $1 . "\n";

#http://media5.picsearch.com/is
} elsif (m/^http:\/\/media[1-8]?(.picsearch.com.*)/) {
print $x . "http://cdn-picsearch." . $1 . "\n";

#http://lh3.googleusercontent.com/-z2ZV9 ... XuQ/03.png
} elsif (m/^http:\/\/lh[3-6]?(.googleusercontent.com.*)/) {
print $x . "http://googleusercontent." . $1 . "\n";

#http://i54.tinypic.com/2crkryu.jpg
} elsif (m/^http:\/\/i[0-9]{2}(.tinypic.com.*)/) {
print $x . "http://tinypic." . $1 . "\n";

#maps.google.com
} elsif (m/^http:\/\/(cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/) {
print $x . "http://" . $1 . $2 . "\n";

#gstatic and/or wikimapia
} elsif (m/^http:\/\/([a-z])[0-9]?(\.gstatic\.com.*|\.wikimapia\.org.*)/) {
print $x . "http://" . $1 . $2 . "\n";

} elsif (m/^http:\/\/www\.google-analytics\.com\/__utm\.gif\?.*/) {
print $x . "http://www.google-analytics.com/__utm.gif\n";

#Cache High Latency Ads
} elsif (m/^http:\/\/([a-z0-9.]*)(\.doubleclick\.net|\.quantserve\.com|\.googlesyndication\.com|yieldmanager|cpxinteractive)(.*)/) {
$y = $3;$z = $2;
for ($y) {
s/pixel;.*/pixel/;
s/activity;.*/activity/;
s/(imgad[^&]*).*/\1/;
s/;ord=[?0-9]*//;
s/;&timestamp=[0-9]*//;
s/[&?]correlator=[0-9]*//;
s/&cookie=[^&]*//;
s/&ga_hid=[^&]*//;
s/&ga_vid=[^&]*//;
s/&ga_sid=[^&]*//;
# s/&prev_slotnames=[^&]*//
# s/&u_his=[^&]*//;
s/&dt=[^&]*//;
s/&dtd=[^&]*//;
s/&lmt=[^&]*//;
s/(&alternate_ad_url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&ref=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&cookie=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/[;&?]ord=[?0-9]*//;
s/[;&]mpvid=[^&;]*//;
s/&xpc=[^&]*//;
# yieldmanager
s/\?clickTag=[^&]*//;
s/&u=[^&]*//;
s/&slotname=[^&]*//;
s/&page_slots=[^&]*//;
}
print $x . "http://" . $1 . $2 . $y . "\n";

#cache high latency ads
} elsif (m/^http:\/\/(.*?)\/(ads)\?(.*?)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

#cdn, varialble 1st path
} elsif (($u =~ /filehippo|mediafire/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(.*)\.([a-zA-Z0-9]{2,3})(\?.*)?/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

} elsif (($u =~ /maxporn/) && (m/^http:\/\/([^\/]*?)\/(.*?)\/([^\/]*?)(\?.*)?$/)) {
print $x . "http://" . $1 . "/SQUIDINTERNAL/" . $3 . "\n";

#domain/path/.*/path/filename
} elsif (($u =~ /fucktube/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?[^\/]*\/[^\/]*)\/(.*)\/([^\/]*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5,$6);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "." . $y[4] . "\n";

# #4shared audio/video preview
} elsif (($u =~ /4shared/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(dlink__2Fdownload_2F([^\/-]+))([a-zA-Z0-9-]+)\/([^\/\?\&]*\.[^\/\?\&]{2,3})(\?.*)?$/)) {
@y = ($1,$2,$3,$4,$7);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "/" . $y[4] . "\n";

#indowebster
} elsif (m/^http:\/\/(.*?)(\.jkt\.3d\.x\.indowebster.com)\/(.*?)\/([^\/\?\&]*)\.([^\/\?\&]{2,4})(\?.*?)$/) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#like porn hub variables url and center part of the path, filename etention 3 or 4 with or without ? at the end
} elsif (($u =~ /tube8|pornhub|xvideos/) && (m/^http:\/\/(([A-Za-z]+[0-9-.]+)*?(\.[a-z]*)?)\.([a-z]*[0-9]?\.[^\/]{3}\/[a-z]*)(.*?)((\/[a-z]*)?(\/[^\/]*){4}\.[^\/\?]{3,4})(\?.*)?$/)) {
print $x . "http://cdn." . $4 . $6 . "\n";

#for yimg.com video
} elsif (m/^http:\/\/(.*yimg.com)\/\/(.*)\/([^\/\?\&]*\/[^\/\?\&]*\.[^\/\?\&]{3,4})(\?.*)?$/) {
print $x . "http://cdn.yimg.com//" . $3 . "\n";

#for yimg.com doubled
} elsif (m/^http:\/\/(.*?)\.yimg\.com\/(.*?)\.yimg\.com\/(.*?)\?(.*)/) {
print $x . "http://cdn.yimg.com/" . $3 . "\n";

#for yimg.com with &sig=
} elsif (m/^http:\/\/([^\.]*)\.yimg\.com\/(.*)/) {
@y = ($1,$2);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn/;
$y[1] =~ s/&sig=.*//;
print $x . "http://" . $y[0] . ".yimg.com/" . $y[1] . "\n";

#youjizz. We use only domain and filename
} elsif (($u =~ /media[0-9]{1,5}\.youjizz/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?\.[^\/]*)\/(.*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#general purpose for cdn servers. add above your specific servers.
} elsif (m/^http:\/\/([0-9.]*?)\/\/(.*?)\.(.*)\?(.*?)/) {
print $x . "http://squid-cdn-url//" . $2 . "." . $3 . "\n";

#generic http://variable.domain.com/path/filename. "ext" or "exte"
} elsif (m/^http:\/\/(.*?)(\.[^\.\-]*?\..*?)\/([^\?\&\=]*)\.([\w\d]{2,4})\??.*$/) {
@y = ($1,$2,$3,$4);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "storeurl://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

# all that ends with ;
} elsif (m/^http:\/\/(.*?)\/(.*?)\;(.*)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

} else {
print $x . $_ . "\n";
}
}


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 14:41

anbel wrote:
kuncung99 wrote:Q punya solusi mas ...mungkin bisa utk bahan perbandingan dgn storeurl.pl yg ada di pejwan ...... menurut sang empunya katanya ni script bisa full cache tanpa range .....
Mas Kuncung99
Tolong digelar storeurlnya.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
itu mas storeurl.pl terbaru udah Q gelar ....... silakan dinikmati bersama-sama .....

Kalo bisa padukan dengan punya Mas Pragola refres pattern-nya atau pakek yg ini ....

acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&cms_redirect=yes.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&ir=1.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&rr=12.*$
storeurl_access deny dontrewrite

acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range

acl store_rewrite_list urlpath_regex \/(stream_204\?|player_204\?|ptracking\?|get_video\?|get_video_info\?|videodownload\?|videoplayback)
acl store_rewrite_list urlpath_regex \/(stream_204\?|player_204\?|ptracking\?|get_video\?|get_video_info\?|videodownload\?|videoplayback.*id)
acl store_rewrite_list urlpath_regex \/(get_video|video\?v|videoplayback\?id|videoplayback.*id)
acl store_rewrite_list urlpath_regex \/(get_video\?|videodownload\?|videoplayback.*id|watch\?)
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)\?
acl store_rewrite_list_domain url_regex ^http:\/\/(([a-z-]+[0-9-]+)|([0-9-]+[a-z-]+))\.[a-z0-9-]*\.[a-z]{2,4}
acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
acl store_rewrite_list_path urlpath_regex \.(3gp|mp(3|4)|flv|(m|f)4v|on2|fid|avi|mov|wm(a|v)|(mp(e?g|a|e|1|2))|mk(a|v)|jp(e?g|e|2)|gif|png|tiff?|bmp|tga|svg|ico|swf|exe|ms(i|u|p)|cab|psf|mar|bin|z(ip|[0-9]{2})|r(ar|[0-9]{2})|7z)$
acl store_rewrite_list_domain_CDN url_regex (cbk|mt|khm|mlt|tbn)[0-9]?.google\.co(m|\.uk|\.id)
acl store_rewrite_list_domain_CDN url_regex photos-[a-z].ak.fbcdn.net
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/([a-z])[0-9]?(\.gstatic\.com|\.wikimapia\.org)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$
#acl store_rewrite_list_domain_CDN url_regex ^http:\/\/.*speedtest.*
acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive quantserve\.com
acl speedtest_allow_url url_regex -i \.speedtest\.net\/ speedtest
acl speedtest_allow_url url_regex ^http:\/\/speedtest\.*
acl speedtest_allow_dom dstdomain .speedtest.net

acl dontrewrite url_regex (get_video|video\?v=|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]* \.php\? \.asp\? \.aspx\? threadless.*\.jpg\?r=
acl getmethod method GET

storeurl_access deny dontrewrite
storeurl_access deny !getmethod

storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_list_domain store_rewrite_list_path
storeurl_access allow speedtest_allow_url
storeurl_access allow speedtest_allow_dom
storeurl_access deny all
storeurl_rewrite_program /usr/local/share/squid/supercache2.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10

#acl DENYCACHE urlpath_regex \.(ini|ui|lst|inf|pak|ver|patch|md5|cfg|lst|list|rsc|log|conf|dbd|db)$
#acl DENYCACHE urlpath_regex (notice.html|afs.dat|dat.asp|patchinfo.xml|version.list|iepngfix.htc|updates.txt|patchlist.txt)
#acl DENYCACHE urlpath_regex (pointblank.css|login_form.css|form.css)$
#acl DENYCACHE urlpath_regex (Loader|gamenotice|sources|captcha|notice|reset)
#cache deny DENYCACHE

#images facebook
refresh_pattern -i .*\.((facebook.com)|(85.131.151.39))\.(jpg|png|gif) 10080 90% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern -i .*\.fbcdn\.net\/.*\.((jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|css|js)|(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|css|js)\?) 10080 99% 129600 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.((facebook.com)|(fbcdn.net)|(akamaihd.net)).*\/ 10080 99% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 10080 99% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 10080 99% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

#ads
refresh_pattern ^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 2629742 20% 2629742 ignore-no-cache ignore-no-store ignore-private override-expire ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=1440
refresh_pattern (get_video\?|videoplayback\?|videodownload\?|watch\?\.flv?|.vid\?) 2629742 99999999% 2629742 override-expire ignore-reload ignore-must-revalidate ignore-no-cache ignore-no-store ignore-private store-stale negative-ttl=0
refresh_pattern (\.swf\?|\.avi\?|\.mov\?|\.wm(a|v)\?|\.3gp\?|\.mp(4|3)\?|\.rm\?|\.ram\?|\.m4v\?|\.on2\?) 43200 999999% 2629742 override-expire ignore-reload ignore-must-revalidate ignore-no-cache ignore-no-store ignore-private store-stale negative-ttl=0
refresh_pattern \.(ico|video-stats) 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale

refresh_pattern (photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-private ignore-no-store ignore-must-revalidate store-stale
refresh_pattern ^http:\/\/images|image|img|pics|openx|thumbs[0-9]\. 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-private ignore-no-store ignore-must-revalidate store-stale
refresh_pattern (zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.* 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-private ignore-no-store ignore-must-revalidate store-stale
refresh_pattern \.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4)) 43200 99999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-must-revalidate store-stale
refresh_pattern \.gstatic\.com/images\? 43200 99999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-must-revalidate store-stale
refresh_pattern (gstatic|diggstatic)\.com/.* 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-private ignore-no-store ignore-must-revalidate store-stale
refresh_pattern ^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id) 43200 999999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate ignore-no-store negative-ttl=10080 store-stale
refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 2629742 999999% 2629742 ignore-no-cache override-expire override-lastmod store-stale
refresh_pattern \.speedtest/.* 43200 99999% 432000 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern galleries\.video(\?|sz) 2629742 999999% 2629742 override-expire ignore-reload ignore-no-cache ignore-must-revalidate ignore-private store-stale
refresh_pattern \.wikimapia\.org\/? 43200 99999% 43200 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-must-revalidate store-stale
refresh_pattern \.(rackcdn|spilcdn|zgncdn)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4)) 43200 9999% 43200 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern code.googlec.com.*(svn|download) 0 50% 1440 reload-into-ims

#sensitive site
refresh_pattern -i \.(sc-|dl-|ex-|mh-|dll|da-|iop) 0 5% 60 reload-into-ims
refresh_pattern -i \.(mst|Xtp)$ 0 50% 1440 reload-into-ims
refresh_pattern -i (main.exe|update.exe|grandchase.exe|FSLauncher.exe|FreeStyle_Setup.exe|grandchase.exe|filelist.zip|autoupgrade.exe)$ 0 50% 1440 reload-into-ims
refresh_pattern -i (UpdaterModifier.exe|FreeStyle.exe|PBLauncher.exe|update.exe|NewLauncher.exe|NewAvalon.exe|hon.exe.zip|cabal.exe)$ 0 50% 1440 reload-into-ims
refresh_pattern -i (PointBlank.exe.zip|HSUpdate.exe.zip|PBConfig.exe.zip) 0 50% 1440 reload-into-ims
refresh_pattern -i (wks_avira-win32-en-pecl.info.gz|wks_avira10-win32-en-pecl.info.gz)$ 0 50% 1440 reload-into-ims
refresh_pattern -i (setup.exe.gz|avscan.exe.gz|avguard.exe.gz|filelist.zip|AvaClient.exe) 0 50% 1440 reload-into-ims
refresh_pattern -i (livescore.com|goal.com|bobet) 0 50% 240 reload-into-ims

#News
refresh_pattern -i \.(kompas|kompasiana).com.*\.(jpg|png|gif|swf)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
refresh_pattern -i \.vivanews.com.*\.(jpg|png|gif|swf)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
refresh_pattern \.(detik|detik(inet|sport|food|health|news)).com.*\.(jpg|png|gif|css|js|swf)$ 10080 200% 43200 override-expire override-lastmod ignore-no-cache
refresh_pattern -i \.(yimg|yahoo).com.*\.(jpg|png|gif)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache

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

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

# ANTI VIRUS
refresh_pattern avast.com.*\.vpx 43200 99% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern guru.avg.com/.*\.(bin) 43200 99% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern (avgate|avira).*(idx|gz)$ 43200 99% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern kaspersky.*\.avc$ 43200 99% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern kaspersky 43200 999% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern update.nai.com/.*\.(gem|zip|mcs) 43200 99% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale
refresh_pattern ^http:\/\/liveupdate.symantecliveupdate.com.*\(zip) 43200 99% 43200 ignore-no-cache ignore-no-store ignore-reload reload-into-ims store-stale

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

#general
refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|png) 2629742 999999% 2629742 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-private ignore-must-revalidate store-stale
refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu) 2629742 999999% 2629742 override-expire reload-into-ims ignore-no-cache ignore-private ignore-must-revalidate ignore-no-store store-stale
refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape) 2629742 999999% 2629742 override-expire reload-into-ims ignore-reload ignore-no-cache ignore-private ignore-must-revalidate ignore-no-store store-stale
refresh_pattern \.(exe|msi|msp|msu|dmg|bin|xpi|iso|swf|mar|psf|cab) 2629742 999999% 2629742 override-expire reload-into-ims ignore-reload ignore-no-cache ignore-private ignore-must-revalidate ignore-no-store store-stale
refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2) 2629742 999999% 2629742 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate ignore-no-store negative-ttl=0 store-stale
refresh_pattern -i (cgi-bin) 0 0% 0
refresh_pattern \.(php|jsp|cgi|asx|asp|aspx)\? 0 0% 0
refresh_pattern ^ftp: 40320 20% 40320 override-expire reload-into-ims store-stale
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 50% 40320 store-stale

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


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 14:43

anbel wrote:
kuncung99 wrote:Q punya solusi mas ...mungkin bisa utk bahan perbandingan dgn storeurl.pl yg ada di pejwan ...... menurut sang empunya katanya ni script bisa full cache tanpa range .....
Mas Kuncung99
Tolong digelar storeurlnya.
+++++++++++++++++++++++++++++++++++++++++

Itu ga perlu referer.log segala .....

Silakan dipasang dan q tunggu koment baliknya .....
@ Mas Pragola : maaf bozz cuma numpang sharing barangkali bermanfaat utk umat FUI ...


User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Post by antoniusgenta » 07 Apr 2013, 14:44

kuncung99 wrote:#!/usr/bin/perl5.14.2 (Versi perl silakan disesuaikan ketik di putty # perl -v)
# $Rev$
# by chudy_fernandez@yahoo.com
# Oprex end by kuncung_calon_mumy@yahoo.com


$|=1;
while () {

@X = split;
# $X[1] =~ s/&sig=.*//;
$x = $X[0] . " ";
$_ = $X[1];
$u = $X[1];



if ($X[1] =~ /youtube.*watch\?/){
@v = m/[&?](v=[^\&\s]*)/;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(get_video|get_video_info)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@v = "v=" . substr join("", @video_id), 9;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*generate_204/){
@id = m/[&?](id=[^\&\s]*)/;
unless (-e "/tmp/@id"){
open FILE, ">/tmp/@id";
print FILE @v;
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(stream_204|player_204)/){
@v = m/[&?](v=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(ptracking|user_watch)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@v = substr join("", @video_id), 9;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "v=@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*videoplayback\?/){
@itag = m/[&?](itag=[^\&\s]*)/;
@range = m/[&?](range=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@id = m/[&?](id=[^\&\s]*)/;
if (-e "/tmp/@id"){
open FILE, "/tmp/@id";
@id = ;
close FILE;}
if (-e "/tmp/@cpn"){
open FILE, "/tmp/@cpn";
@id = ;
close FILE;}
print $x . "http://video-srv.youtube.com.SQUIDINTER ... g&@range\n";


# photos-X.ak.fbcdn.net where X a-z
} elsif (m/^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/) {
print $x . "http://photos" . $1 . "\n";

# http://hphotos-ash2.fbcdn.net/290503_17 ... 8472_o.jpg
} elsif (m/^http:\/\/photos-ash[1-5]?(.fbcdn.net.*)/) {
print $x . "http://ash.photos" . $1 . "\n";

#http://a6.sphotos.ak.fbcdn.net/hphotos- ... 7268_n.jpg
#a5.sphotos.ak.fbcdn.ne

} elsif (m/^http:\/\/[a-z][0-9]?(.sphotos.ak.fbcdn.net.*)/) {
print $x . "http://cdn.photos" . $1 . "\n";

#GRand Chase
#} elsif (m/^http:\/\/122\.102\.49\.132\/(.*)\/(.*\.(zip|exe)/){
#print $x . "http://122.102.49..132" . $2 . "\n";

#http://cityvillefb0.static.zgncdn.com/h ... 72e2a4.png
} elsif (m/^http:\/\/cityvillefb[0-3]?(.static.zgncdn.com.*)/) {
print $x . "http://cityvillefb" . $1 . "\n";

#http://playerstatics1.poker.static.zyng ... M3X24uanBn
} elsif (m/^http:\/\/playerstatics[1-9]?(.poker.static.zynga.com.*)/) {
print $x . "http://playerstatics.poker-zynga." . $1 . "\n";

#http://zynga4-a.akamaihd.net/zbar/game- ... 413359.png
} elsif (m/^http:\/\/zynga[1-9]?-a(.akamaihd.net.*)/) {
print $x . "http://zynga-akamaihd.net." . $1 . "\n";

#http://s2.ninja.game321.com/source/bitm ... 4.s110.png
} elsif (m/^http:\/\/s[1-9]?(.ninja.game321.com.*)/) {
print $x . "http://ninja-game321." . $1 . "\n";

#http://i616.photobucket.com/albums/uu90 ... 0001-1.gif
} elsif (m/^http:\/\/i[1-9]{3}(.photobucket.com.*)/) {
print $x . "http://photobucket3." . $1 . "\n";

# http://i1221.photobucket.com/albums/dd4 ... 7bet-s.gif
} elsif (m/^http:\/\/i[1-9]{4}(.photobucket.com.*)/) {
print $x . "http://photobucket." . $1 . "\n";

#BLOGSPOT
} elsif (m/^http:\/\/[1-4]?(bp.blogspot.com.*)/) {
print $x . "http://blog-cdn." . $1 . "\n";

#http://lh6.ggpht.com/_pt7i0nbIOCY/SeBSf ... 5B1%5D.png
} elsif (m/^http:\/\/lh[3-6]?(.ggpht.com.*)/) {
print $x . "http://ggpht." . $1 . "\n";

#http://a2.twimg.com/profile_images/1213 ... normal.jpg
} elsif (m/^http:\/\/a[0-5]?(.twimg.com.*)/) {
print $x . "http://cdn-twimg.com." . $1 . "\n";

#AVAST
} elsif (m/^http:\/\/download[0-9]{3}.(avast.com.*)/) {
print $x . "http://avast-cdn." . $1 . "\n";

#KAV
} elsif (m/^http:\/\/dnl-[0-9]{2}.(geo.kaspersky.com.*)/) {
print $x . "http://kav-cdn." . $1 . "\n";

#AVG
} elsif (m/^http:\/\/(update.avg.com.*)/) {
print $x . "http://avg-cdn." . $1 . "\n";

#static3.spilcdn.com/
} elsif (m/^http:\/\/static[1-9]?(.speelcdn.com.*)/) {
print $x . "http://speelcdn." . $1 . "\n";

#http://t1.gstatic.com
} elsif (m/^http:\/\/t[1-9]?(.gstatic.com.*)/) {
print $x . "http://cdn-gstatic.com." . $1 . "\n";

# http://0.gravatar.com
} elsif (m/^http:\/\/[0-3]?(.gravatar.com.*)/) {
print $x . "http://cdn-gravatar." . $1 . "\n";

#http://s5.scribdassets.com/images/attri ... ercial.png
} elsif (m/^http:\/\/s[1-8]?(.scribdassets.com.*)/) {
print $x . "http://cdn-scribdassets." . $1 . "\n";

# http://tc2.easythumbhost.com/
} elsif (m/^http:\/\/tc[0-9]?(.easythumbhost.com.*)/) {
print $x . "http://cdn-easythumbhost." . $1 . "\n";

#http://static7.spilcdn.com/tw/img/_/pro ... _small.png
} elsif (m/^http:\/\/static[1-7]?(.spilcdn.com.*)/) {
print $x . "http://spilcdn." . $1 . "\n";

#http://media5.picsearch.com/is
} elsif (m/^http:\/\/media[1-8]?(.picsearch.com.*)/) {
print $x . "http://cdn-picsearch." . $1 . "\n";

#http://lh3.googleusercontent.com/-z2ZV9 ... XuQ/03.png
} elsif (m/^http:\/\/lh[3-6]?(.googleusercontent.com.*)/) {
print $x . "http://googleusercontent." . $1 . "\n";

#http://i54.tinypic.com/2crkryu.jpg
} elsif (m/^http:\/\/i[0-9]{2}(.tinypic.com.*)/) {
print $x . "http://tinypic." . $1 . "\n";

#maps.google.com
} elsif (m/^http:\/\/(cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/) {
print $x . "http://" . $1 . $2 . "\n";

#gstatic and/or wikimapia
} elsif (m/^http:\/\/([a-z])[0-9]?(\.gstatic\.com.*|\.wikimapia\.org.*)/) {
print $x . "http://" . $1 . $2 . "\n";

} elsif (m/^http:\/\/www\.google-analytics\.com\/__utm\.gif\?.*/) {
print $x . "http://www.google-analytics.com/__utm.gif\n";

#Cache High Latency Ads
} elsif (m/^http:\/\/([a-z0-9.]*)(\.doubleclick\.net|\.quantserve\.com|\.googlesyndication\.com|yieldmanager|cpxinteractive)(.*)/) {
$y = $3;$z = $2;
for ($y) {
s/pixel;.*/pixel/;
s/activity;.*/activity/;
s/(imgad[^&]*).*/\1/;
s/;ord=[?0-9]*//;
s/;&timestamp=[0-9]*//;
s/[&?]correlator=[0-9]*//;
s/&cookie=[^&]*//;
s/&ga_hid=[^&]*//;
s/&ga_vid=[^&]*//;
s/&ga_sid=[^&]*//;
# s/&prev_slotnames=[^&]*//
# s/&u_his=[^&]*//;
s/&dt=[^&]*//;
s/&dtd=[^&]*//;
s/&lmt=[^&]*//;
s/(&alternate_ad_url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&ref=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&cookie=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/[;&?]ord=[?0-9]*//;
s/[;&]mpvid=[^&;]*//;
s/&xpc=[^&]*//;
# yieldmanager
s/\?clickTag=[^&]*//;
s/&u=[^&]*//;
s/&slotname=[^&]*//;
s/&page_slots=[^&]*//;
}
print $x . "http://" . $1 . $2 . $y . "\n";

#cache high latency ads
} elsif (m/^http:\/\/(.*?)\/(ads)\?(.*?)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

#cdn, varialble 1st path
} elsif (($u =~ /filehippo|mediafire/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(.*)\.([a-zA-Z0-9]{2,3})(\?.*)?/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

} elsif (($u =~ /maxporn/) && (m/^http:\/\/([^\/]*?)\/(.*?)\/([^\/]*?)(\?.*)?$/)) {
print $x . "http://" . $1 . "/SQUIDINTERNAL/" . $3 . "\n";

#domain/path/.*/path/filename
} elsif (($u =~ /fucktube/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?[^\/]*\/[^\/]*)\/(.*)\/([^\/]*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5,$6);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "." . $y[4] . "\n";

# #4shared audio/video preview
} elsif (($u =~ /4shared/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(dlink__2Fdownload_2F([^\/-]+))([a-zA-Z0-9-]+)\/([^\/\?\&]*\.[^\/\?\&]{2,3})(\?.*)?$/)) {
@y = ($1,$2,$3,$4,$7);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "/" . $y[4] . "\n";

#indowebster
} elsif (m/^http:\/\/(.*?)(\.jkt\.3d\.x\.indowebster.com)\/(.*?)\/([^\/\?\&]*)\.([^\/\?\&]{2,4})(\?.*?)$/) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#like porn hub variables url and center part of the path, filename etention 3 or 4 with or without ? at the end
} elsif (($u =~ /tube8|pornhub|xvideos/) && (m/^http:\/\/(([A-Za-z]+[0-9-.]+)*?(\.[a-z]*)?)\.([a-z]*[0-9]?\.[^\/]{3}\/[a-z]*)(.*?)((\/[a-z]*)?(\/[^\/]*){4}\.[^\/\?]{3,4})(\?.*)?$/)) {
print $x . "http://cdn." . $4 . $6 . "\n";

#for yimg.com video
} elsif (m/^http:\/\/(.*yimg.com)\/\/(.*)\/([^\/\?\&]*\/[^\/\?\&]*\.[^\/\?\&]{3,4})(\?.*)?$/) {
print $x . "http://cdn.yimg.com//" . $3 . "\n";

#for yimg.com doubled
} elsif (m/^http:\/\/(.*?)\.yimg\.com\/(.*?)\.yimg\.com\/(.*?)\?(.*)/) {
print $x . "http://cdn.yimg.com/" . $3 . "\n";

#for yimg.com with &sig=
} elsif (m/^http:\/\/([^\.]*)\.yimg\.com\/(.*)/) {
@y = ($1,$2);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn/;
$y[1] =~ s/&sig=.*//;
print $x . "http://" . $y[0] . ".yimg.com/" . $y[1] . "\n";

#youjizz. We use only domain and filename
} elsif (($u =~ /media[0-9]{1,5}\.youjizz/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?\.[^\/]*)\/(.*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#general purpose for cdn servers. add above your specific servers.
} elsif (m/^http:\/\/([0-9.]*?)\/\/(.*?)\.(.*)\?(.*?)/) {
print $x . "http://squid-cdn-url//" . $2 . "." . $3 . "\n";

#generic http://variable.domain.com/path/filename. "ext" or "exte"
} elsif (m/^http:\/\/(.*?)(\.[^\.\-]*?\..*?)\/([^\?\&\=]*)\.([\w\d]{2,4})\??.*$/) {
@y = ($1,$2,$3,$4);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "storeurl://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

# all that ends with ;
} elsif (m/^http:\/\/(.*?)\/(.*?)\;(.*)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

} else {
print $x . $_ . "\n";
}
}
Langsung ditest..thx mas


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 14:49

antoniusgenta wrote:
kuncung99 wrote:#!/usr/bin/perl5.14.2 (Versi perl silakan disesuaikan ketik di putty # perl -v)
# $Rev$
# by chudy_fernandez@yahoo.com
# Oprex end by kuncung_calon_mumy@yahoo.com


$|=1;
while () {

@X = split;
# $X[1] =~ s/&sig=.*//;
$x = $X[0] . " ";
$_ = $X[1];
$u = $X[1];



if ($X[1] =~ /youtube.*watch\?/){
@v = m/[&?](v=[^\&\s]*)/;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(get_video|get_video_info)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@v = "v=" . substr join("", @video_id), 9;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*generate_204/){
@id = m/[&?](id=[^\&\s]*)/;
unless (-e "/tmp/@id"){
open FILE, ">/tmp/@id";
print FILE @v;
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(stream_204|player_204)/){
@v = m/[&?](v=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(ptracking|user_watch)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@v = substr join("", @video_id), 9;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "v=@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*videoplayback\?/){
@itag = m/[&?](itag=[^\&\s]*)/;
@range = m/[&?](range=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@id = m/[&?](id=[^\&\s]*)/;
if (-e "/tmp/@id"){
open FILE, "/tmp/@id";
@id = ;
close FILE;}
if (-e "/tmp/@cpn"){
open FILE, "/tmp/@cpn";
@id = ;
close FILE;}
print $x . "http://video-srv.youtube.com.SQUIDINTER ... g&@range\n";


# photos-X.ak.fbcdn.net where X a-z
} elsif (m/^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/) {
print $x . "http://photos" . $1 . "\n";

# http://hphotos-ash2.fbcdn.net/290503_17 ... 8472_o.jpg
} elsif (m/^http:\/\/photos-ash[1-5]?(.fbcdn.net.*)/) {
print $x . "http://ash.photos" . $1 . "\n";

#http://a6.sphotos.ak.fbcdn.net/hphotos- ... 7268_n.jpg
#a5.sphotos.ak.fbcdn.ne

} elsif (m/^http:\/\/[a-z][0-9]?(.sphotos.ak.fbcdn.net.*)/) {
print $x . "http://cdn.photos" . $1 . "\n";

#GRand Chase
#} elsif (m/^http:\/\/122\.102\.49\.132\/(.*)\/(.*\.(zip|exe)/){
#print $x . "http://122.102.49..132" . $2 . "\n";

#http://cityvillefb0.static.zgncdn.com/h ... 72e2a4.png
} elsif (m/^http:\/\/cityvillefb[0-3]?(.static.zgncdn.com.*)/) {
print $x . "http://cityvillefb" . $1 . "\n";

#http://playerstatics1.poker.static.zyng ... M3X24uanBn
} elsif (m/^http:\/\/playerstatics[1-9]?(.poker.static.zynga.com.*)/) {
print $x . "http://playerstatics.poker-zynga." . $1 . "\n";

#http://zynga4-a.akamaihd.net/zbar/game- ... 413359.png
} elsif (m/^http:\/\/zynga[1-9]?-a(.akamaihd.net.*)/) {
print $x . "http://zynga-akamaihd.net." . $1 . "\n";

#http://s2.ninja.game321.com/source/bitm ... 4.s110.png
} elsif (m/^http:\/\/s[1-9]?(.ninja.game321.com.*)/) {
print $x . "http://ninja-game321." . $1 . "\n";

#http://i616.photobucket.com/albums/uu90 ... 0001-1.gif
} elsif (m/^http:\/\/i[1-9]{3}(.photobucket.com.*)/) {
print $x . "http://photobucket3." . $1 . "\n";

# http://i1221.photobucket.com/albums/dd4 ... 7bet-s.gif
} elsif (m/^http:\/\/i[1-9]{4}(.photobucket.com.*)/) {
print $x . "http://photobucket." . $1 . "\n";

#BLOGSPOT
} elsif (m/^http:\/\/[1-4]?(bp.blogspot.com.*)/) {
print $x . "http://blog-cdn." . $1 . "\n";

#http://lh6.ggpht.com/_pt7i0nbIOCY/SeBSf ... 5B1%5D.png
} elsif (m/^http:\/\/lh[3-6]?(.ggpht.com.*)/) {
print $x . "http://ggpht." . $1 . "\n";

#http://a2.twimg.com/profile_images/1213 ... normal.jpg
} elsif (m/^http:\/\/a[0-5]?(.twimg.com.*)/) {
print $x . "http://cdn-twimg.com." . $1 . "\n";

#AVAST
} elsif (m/^http:\/\/download[0-9]{3}.(avast.com.*)/) {
print $x . "http://avast-cdn." . $1 . "\n";

#KAV
} elsif (m/^http:\/\/dnl-[0-9]{2}.(geo.kaspersky.com.*)/) {
print $x . "http://kav-cdn." . $1 . "\n";

#AVG
} elsif (m/^http:\/\/(update.avg.com.*)/) {
print $x . "http://avg-cdn." . $1 . "\n";

#static3.spilcdn.com/
} elsif (m/^http:\/\/static[1-9]?(.speelcdn.com.*)/) {
print $x . "http://speelcdn." . $1 . "\n";

#http://t1.gstatic.com
} elsif (m/^http:\/\/t[1-9]?(.gstatic.com.*)/) {
print $x . "http://cdn-gstatic.com." . $1 . "\n";

# http://0.gravatar.com
} elsif (m/^http:\/\/[0-3]?(.gravatar.com.*)/) {
print $x . "http://cdn-gravatar." . $1 . "\n";

#http://s5.scribdassets.com/images/attri ... ercial.png
} elsif (m/^http:\/\/s[1-8]?(.scribdassets.com.*)/) {
print $x . "http://cdn-scribdassets." . $1 . "\n";

# http://tc2.easythumbhost.com/
} elsif (m/^http:\/\/tc[0-9]?(.easythumbhost.com.*)/) {
print $x . "http://cdn-easythumbhost." . $1 . "\n";

#http://static7.spilcdn.com/tw/img/_/pro ... _small.png
} elsif (m/^http:\/\/static[1-7]?(.spilcdn.com.*)/) {
print $x . "http://spilcdn." . $1 . "\n";

#http://media5.picsearch.com/is
} elsif (m/^http:\/\/media[1-8]?(.picsearch.com.*)/) {
print $x . "http://cdn-picsearch." . $1 . "\n";

#http://lh3.googleusercontent.com/-z2ZV9 ... XuQ/03.png
} elsif (m/^http:\/\/lh[3-6]?(.googleusercontent.com.*)/) {
print $x . "http://googleusercontent." . $1 . "\n";

#http://i54.tinypic.com/2crkryu.jpg
} elsif (m/^http:\/\/i[0-9]{2}(.tinypic.com.*)/) {
print $x . "http://tinypic." . $1 . "\n";

#maps.google.com
} elsif (m/^http:\/\/(cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/) {
print $x . "http://" . $1 . $2 . "\n";

#gstatic and/or wikimapia
} elsif (m/^http:\/\/([a-z])[0-9]?(\.gstatic\.com.*|\.wikimapia\.org.*)/) {
print $x . "http://" . $1 . $2 . "\n";

} elsif (m/^http:\/\/www\.google-analytics\.com\/__utm\.gif\?.*/) {
print $x . "http://www.google-analytics.com/__utm.gif\n";

#Cache High Latency Ads
} elsif (m/^http:\/\/([a-z0-9.]*)(\.doubleclick\.net|\.quantserve\.com|\.googlesyndication\.com|yieldmanager|cpxinteractive)(.*)/) {
$y = $3;$z = $2;
for ($y) {
s/pixel;.*/pixel/;
s/activity;.*/activity/;
s/(imgad[^&]*).*/\1/;
s/;ord=[?0-9]*//;
s/;&timestamp=[0-9]*//;
s/[&?]correlator=[0-9]*//;
s/&cookie=[^&]*//;
s/&ga_hid=[^&]*//;
s/&ga_vid=[^&]*//;
s/&ga_sid=[^&]*//;
# s/&prev_slotnames=[^&]*//
# s/&u_his=[^&]*//;
s/&dt=[^&]*//;
s/&dtd=[^&]*//;
s/&lmt=[^&]*//;
s/(&alternate_ad_url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&ref=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&cookie=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/[;&?]ord=[?0-9]*//;
s/[;&]mpvid=[^&;]*//;
s/&xpc=[^&]*//;
# yieldmanager
s/\?clickTag=[^&]*//;
s/&u=[^&]*//;
s/&slotname=[^&]*//;
s/&page_slots=[^&]*//;
}
print $x . "http://" . $1 . $2 . $y . "\n";

#cache high latency ads
} elsif (m/^http:\/\/(.*?)\/(ads)\?(.*?)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

#cdn, varialble 1st path
} elsif (($u =~ /filehippo|mediafire/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(.*)\.([a-zA-Z0-9]{2,3})(\?.*)?/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

} elsif (($u =~ /maxporn/) && (m/^http:\/\/([^\/]*?)\/(.*?)\/([^\/]*?)(\?.*)?$/)) {
print $x . "http://" . $1 . "/SQUIDINTERNAL/" . $3 . "\n";

#domain/path/.*/path/filename
} elsif (($u =~ /fucktube/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?[^\/]*\/[^\/]*)\/(.*)\/([^\/]*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5,$6);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "." . $y[4] . "\n";

# #4shared audio/video preview
} elsif (($u =~ /4shared/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(dlink__2Fdownload_2F([^\/-]+))([a-zA-Z0-9-]+)\/([^\/\?\&]*\.[^\/\?\&]{2,3})(\?.*)?$/)) {
@y = ($1,$2,$3,$4,$7);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "/" . $y[4] . "\n";

#indowebster
} elsif (m/^http:\/\/(.*?)(\.jkt\.3d\.x\.indowebster.com)\/(.*?)\/([^\/\?\&]*)\.([^\/\?\&]{2,4})(\?.*?)$/) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#like porn hub variables url and center part of the path, filename etention 3 or 4 with or without ? at the end
} elsif (($u =~ /tube8|pornhub|xvideos/) && (m/^http:\/\/(([A-Za-z]+[0-9-.]+)*?(\.[a-z]*)?)\.([a-z]*[0-9]?\.[^\/]{3}\/[a-z]*)(.*?)((\/[a-z]*)?(\/[^\/]*){4}\.[^\/\?]{3,4})(\?.*)?$/)) {
print $x . "http://cdn." . $4 . $6 . "\n";

#for yimg.com video
} elsif (m/^http:\/\/(.*yimg.com)\/\/(.*)\/([^\/\?\&]*\/[^\/\?\&]*\.[^\/\?\&]{3,4})(\?.*)?$/) {
print $x . "http://cdn.yimg.com//" . $3 . "\n";

#for yimg.com doubled
} elsif (m/^http:\/\/(.*?)\.yimg\.com\/(.*?)\.yimg\.com\/(.*?)\?(.*)/) {
print $x . "http://cdn.yimg.com/" . $3 . "\n";

#for yimg.com with &sig=
} elsif (m/^http:\/\/([^\.]*)\.yimg\.com\/(.*)/) {
@y = ($1,$2);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn/;
$y[1] =~ s/&sig=.*//;
print $x . "http://" . $y[0] . ".yimg.com/" . $y[1] . "\n";

#youjizz. We use only domain and filename
} elsif (($u =~ /media[0-9]{1,5}\.youjizz/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?\.[^\/]*)\/(.*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#general purpose for cdn servers. add above your specific servers.
} elsif (m/^http:\/\/([0-9.]*?)\/\/(.*?)\.(.*)\?(.*?)/) {
print $x . "http://squid-cdn-url//" . $2 . "." . $3 . "\n";

#generic http://variable.domain.com/path/filename. "ext" or "exte"
} elsif (m/^http:\/\/(.*?)(\.[^\.\-]*?\..*?)\/([^\?\&\=]*)\.([\w\d]{2,4})\??.*$/) {
@y = ($1,$2,$3,$4);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "storeurl://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

# all that ends with ;
} elsif (m/^http:\/\/(.*?)\/(.*?)\;(.*)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

} else {
print $x . $_ . "\n";
}
}
Langsung ditest..thx mas
+++++++++++++++++++++++++++++++++++++++++

Jangan lupa mas ...refresh_pattern-nya pakek yg di atas tadi ....


User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Post by antoniusgenta » 07 Apr 2013, 14:52

kuncung99 wrote:
antoniusgenta wrote:
kuncung99 wrote:#!/usr/bin/perl5.14.2 (Versi perl silakan disesuaikan ketik di putty # perl -v)
# $Rev$
# by chudy_fernandez@yahoo.com
# Oprex end by kuncung_calon_mumy@yahoo.com


$|=1;
while () {

@X = split;
# $X[1] =~ s/&sig=.*//;
$x = $X[0] . " ";
$_ = $X[1];
$u = $X[1];



if ($X[1] =~ /youtube.*watch\?/){
@v = m/[&?](v=[^\&\s]*)/;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(get_video|get_video_info)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@v = "v=" . substr join("", @video_id), 9;
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*generate_204/){
@id = m/[&?](id=[^\&\s]*)/;
unless (-e "/tmp/@id"){
open FILE, ">/tmp/@id";
print FILE @v;
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(stream_204|player_204)/){
@v = m/[&?](v=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*(ptracking|user_watch)/){
@video_id = m/[&?](video_id=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@v = substr join("", @video_id), 9;
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
print FILE "v=@v";
close FILE;}
print $x . $X[1] . "\n";

} elsif ($X[1] =~ /youtube.*videoplayback\?/){
@itag = m/[&?](itag=[^\&\s]*)/;
@range = m/[&?](range=[^\&\s]*)/;
@cpn = m/[&?](cpn=[^\&\s]*)/;
@id = m/[&?](id=[^\&\s]*)/;
if (-e "/tmp/@id"){
open FILE, "/tmp/@id";
@id = ;
close FILE;}
if (-e "/tmp/@cpn"){
open FILE, "/tmp/@cpn";
@id = ;
close FILE;}
print $x . "http://video-srv.youtube.com.SQUIDINTER ... g&@range\n";


# photos-X.ak.fbcdn.net where X a-z
} elsif (m/^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/) {
print $x . "http://photos" . $1 . "\n";

# http://hphotos-ash2.fbcdn.net/290503_17 ... 8472_o.jpg
} elsif (m/^http:\/\/photos-ash[1-5]?(.fbcdn.net.*)/) {
print $x . "http://ash.photos" . $1 . "\n";

#http://a6.sphotos.ak.fbcdn.net/hphotos- ... 7268_n.jpg
#a5.sphotos.ak.fbcdn.ne

} elsif (m/^http:\/\/[a-z][0-9]?(.sphotos.ak.fbcdn.net.*)/) {
print $x . "http://cdn.photos" . $1 . "\n";

#GRand Chase
#} elsif (m/^http:\/\/122\.102\.49\.132\/(.*)\/(.*\.(zip|exe)/){
#print $x . "http://122.102.49..132" . $2 . "\n";

#http://cityvillefb0.static.zgncdn.com/h ... 72e2a4.png
} elsif (m/^http:\/\/cityvillefb[0-3]?(.static.zgncdn.com.*)/) {
print $x . "http://cityvillefb" . $1 . "\n";

#http://playerstatics1.poker.static.zyng ... M3X24uanBn
} elsif (m/^http:\/\/playerstatics[1-9]?(.poker.static.zynga.com.*)/) {
print $x . "http://playerstatics.poker-zynga." . $1 . "\n";

#http://zynga4-a.akamaihd.net/zbar/game- ... 413359.png
} elsif (m/^http:\/\/zynga[1-9]?-a(.akamaihd.net.*)/) {
print $x . "http://zynga-akamaihd.net." . $1 . "\n";

#http://s2.ninja.game321.com/source/bitm ... 4.s110.png
} elsif (m/^http:\/\/s[1-9]?(.ninja.game321.com.*)/) {
print $x . "http://ninja-game321." . $1 . "\n";

#http://i616.photobucket.com/albums/uu90 ... 0001-1.gif
} elsif (m/^http:\/\/i[1-9]{3}(.photobucket.com.*)/) {
print $x . "http://photobucket3." . $1 . "\n";

# http://i1221.photobucket.com/albums/dd4 ... 7bet-s.gif
} elsif (m/^http:\/\/i[1-9]{4}(.photobucket.com.*)/) {
print $x . "http://photobucket." . $1 . "\n";

#BLOGSPOT
} elsif (m/^http:\/\/[1-4]?(bp.blogspot.com.*)/) {
print $x . "http://blog-cdn." . $1 . "\n";

#http://lh6.ggpht.com/_pt7i0nbIOCY/SeBSf ... 5B1%5D.png
} elsif (m/^http:\/\/lh[3-6]?(.ggpht.com.*)/) {
print $x . "http://ggpht." . $1 . "\n";

#http://a2.twimg.com/profile_images/1213 ... normal.jpg
} elsif (m/^http:\/\/a[0-5]?(.twimg.com.*)/) {
print $x . "http://cdn-twimg.com." . $1 . "\n";

#AVAST
} elsif (m/^http:\/\/download[0-9]{3}.(avast.com.*)/) {
print $x . "http://avast-cdn." . $1 . "\n";

#KAV
} elsif (m/^http:\/\/dnl-[0-9]{2}.(geo.kaspersky.com.*)/) {
print $x . "http://kav-cdn." . $1 . "\n";

#AVG
} elsif (m/^http:\/\/(update.avg.com.*)/) {
print $x . "http://avg-cdn." . $1 . "\n";

#static3.spilcdn.com/
} elsif (m/^http:\/\/static[1-9]?(.speelcdn.com.*)/) {
print $x . "http://speelcdn." . $1 . "\n";

#http://t1.gstatic.com
} elsif (m/^http:\/\/t[1-9]?(.gstatic.com.*)/) {
print $x . "http://cdn-gstatic.com." . $1 . "\n";

# http://0.gravatar.com
} elsif (m/^http:\/\/[0-3]?(.gravatar.com.*)/) {
print $x . "http://cdn-gravatar." . $1 . "\n";

#http://s5.scribdassets.com/images/attri ... ercial.png
} elsif (m/^http:\/\/s[1-8]?(.scribdassets.com.*)/) {
print $x . "http://cdn-scribdassets." . $1 . "\n";

# http://tc2.easythumbhost.com/
} elsif (m/^http:\/\/tc[0-9]?(.easythumbhost.com.*)/) {
print $x . "http://cdn-easythumbhost." . $1 . "\n";

#http://static7.spilcdn.com/tw/img/_/pro ... _small.png
} elsif (m/^http:\/\/static[1-7]?(.spilcdn.com.*)/) {
print $x . "http://spilcdn." . $1 . "\n";

#http://media5.picsearch.com/is
} elsif (m/^http:\/\/media[1-8]?(.picsearch.com.*)/) {
print $x . "http://cdn-picsearch." . $1 . "\n";

#http://lh3.googleusercontent.com/-z2ZV9 ... XuQ/03.png
} elsif (m/^http:\/\/lh[3-6]?(.googleusercontent.com.*)/) {
print $x . "http://googleusercontent." . $1 . "\n";

#http://i54.tinypic.com/2crkryu.jpg
} elsif (m/^http:\/\/i[0-9]{2}(.tinypic.com.*)/) {
print $x . "http://tinypic." . $1 . "\n";

#maps.google.com
} elsif (m/^http:\/\/(cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/) {
print $x . "http://" . $1 . $2 . "\n";

#gstatic and/or wikimapia
} elsif (m/^http:\/\/([a-z])[0-9]?(\.gstatic\.com.*|\.wikimapia\.org.*)/) {
print $x . "http://" . $1 . $2 . "\n";

} elsif (m/^http:\/\/www\.google-analytics\.com\/__utm\.gif\?.*/) {
print $x . "http://www.google-analytics.com/__utm.gif\n";

#Cache High Latency Ads
} elsif (m/^http:\/\/([a-z0-9.]*)(\.doubleclick\.net|\.quantserve\.com|\.googlesyndication\.com|yieldmanager|cpxinteractive)(.*)/) {
$y = $3;$z = $2;
for ($y) {
s/pixel;.*/pixel/;
s/activity;.*/activity/;
s/(imgad[^&]*).*/\1/;
s/;ord=[?0-9]*//;
s/;&timestamp=[0-9]*//;
s/[&?]correlator=[0-9]*//;
s/&cookie=[^&]*//;
s/&ga_hid=[^&]*//;
s/&ga_vid=[^&]*//;
s/&ga_sid=[^&]*//;
# s/&prev_slotnames=[^&]*//
# s/&u_his=[^&]*//;
s/&dt=[^&]*//;
s/&dtd=[^&]*//;
s/&lmt=[^&]*//;
s/(&alternate_ad_url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&url=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&ref=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/(&cookie=http%3A%2F%2F[^(%2F)]*)[^&]*/\1/;
s/[;&?]ord=[?0-9]*//;
s/[;&]mpvid=[^&;]*//;
s/&xpc=[^&]*//;
# yieldmanager
s/\?clickTag=[^&]*//;
s/&u=[^&]*//;
s/&slotname=[^&]*//;
s/&page_slots=[^&]*//;
}
print $x . "http://" . $1 . $2 . $y . "\n";

#cache high latency ads
} elsif (m/^http:\/\/(.*?)\/(ads)\?(.*?)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

#cdn, varialble 1st path
} elsif (($u =~ /filehippo|mediafire/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(.*)\.([a-zA-Z0-9]{2,3})(\?.*)?/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

} elsif (($u =~ /maxporn/) && (m/^http:\/\/([^\/]*?)\/(.*?)\/([^\/]*?)(\?.*)?$/)) {
print $x . "http://" . $1 . "/SQUIDINTERNAL/" . $3 . "\n";

#domain/path/.*/path/filename
} elsif (($u =~ /fucktube/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?[^\/]*\/[^\/]*)\/(.*)\/([^\/]*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5,$6);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "." . $y[4] . "\n";

# #4shared audio/video preview
} elsif (($u =~ /4shared/) && (m/^http:\/\/(.*?)\.(.*?)\/(.*?)\/(dlink__2Fdownload_2F([^\/-]+))([a-zA-Z0-9-]+)\/([^\/\?\&]*\.[^\/\?\&]{2,3})(\?.*)?$/)) {
@y = ($1,$2,$3,$4,$7);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn./;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "/" . $y[4] . "\n";

#indowebster
} elsif (m/^http:\/\/(.*?)(\.jkt\.3d\.x\.indowebster.com)\/(.*?)\/([^\/\?\&]*)\.([^\/\?\&]{2,4})(\?.*?)$/) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#like porn hub variables url and center part of the path, filename etention 3 or 4 with or without ? at the end
} elsif (($u =~ /tube8|pornhub|xvideos/) && (m/^http:\/\/(([A-Za-z]+[0-9-.]+)*?(\.[a-z]*)?)\.([a-z]*[0-9]?\.[^\/]{3}\/[a-z]*)(.*?)((\/[a-z]*)?(\/[^\/]*){4}\.[^\/\?]{3,4})(\?.*)?$/)) {
print $x . "http://cdn." . $4 . $6 . "\n";

#for yimg.com video
} elsif (m/^http:\/\/(.*yimg.com)\/\/(.*)\/([^\/\?\&]*\/[^\/\?\&]*\.[^\/\?\&]{3,4})(\?.*)?$/) {
print $x . "http://cdn.yimg.com//" . $3 . "\n";

#for yimg.com doubled
} elsif (m/^http:\/\/(.*?)\.yimg\.com\/(.*?)\.yimg\.com\/(.*?)\?(.*)/) {
print $x . "http://cdn.yimg.com/" . $3 . "\n";

#for yimg.com with &sig=
} elsif (m/^http:\/\/([^\.]*)\.yimg\.com\/(.*)/) {
@y = ($1,$2);
$y[0] =~ s/[a-z]+([0-9]+)?/cdn/;
$y[1] =~ s/&sig=.*//;
print $x . "http://" . $y[0] . ".yimg.com/" . $y[1] . "\n";

#youjizz. We use only domain and filename
} elsif (($u =~ /media[0-9]{1,5}\.youjizz/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?\.[^\/]*)\/(.*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
@y = ($1,$2,$4,$5);
$y[0] =~ s/(([a-zA-Z]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

#general purpose for cdn servers. add above your specific servers.
} elsif (m/^http:\/\/([0-9.]*?)\/\/(.*?)\.(.*)\?(.*?)/) {
print $x . "http://squid-cdn-url//" . $2 . "." . $3 . "\n";

#generic http://variable.domain.com/path/filename. "ext" or "exte"
} elsif (m/^http:\/\/(.*?)(\.[^\.\-]*?\..*?)\/([^\?\&\=]*)\.([\w\d]{2,4})\??.*$/) {
@y = ($1,$2,$3,$4);
$y[0] =~ s/([a-z][0-9][a-z]dlod[\d]{3})|((cache|cdn)[-\d]*)|([a-zA-Z]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
print $x . "storeurl://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

# all that ends with ;
} elsif (m/^http:\/\/(.*?)\/(.*?)\;(.*)/) {
print $x . "http://" . $1 . "/" . $2 . "\n";

} else {
print $x . $_ . "\n";
}
}
Langsung ditest..thx mas
+++++++++++++++++++++++++++++++++++++++++

Jangan lupa mas ...refresh_pattern-nya pakek yg di atas tadi ....
Siap mas ini lagi ditest dulu,, mas itu versi perl kenapa harus disesuaikan ya? sy punya 5.12.2 ini pengaruhnya apa ya?
dan harus diedit dimana ? apa cuma ganti headernya aja di storeurl?

regards
genta


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 14:59

@ Antonius : biasanya kalo versi perl ga dimasukin akan keluar peringatan pas # squid -NDd1
akan keluar tulisan
++++++ FATAL: The store_rewriter helpers are crashing too rapidly, need help!+++++++

makanya itu harus disesuaikan ....ketik perl -v pd putty


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 15:00

@ ANtonius dan ALL :

Yapzzz betul cuma diganti #!/usr/bin/perl5.14.2 +++ saja

angka 5.14.2 -nya disesuaikan dgn proxy masing2


User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Post by antoniusgenta » 07 Apr 2013, 15:06

antoniusgenta wrote:
kuncung99 wrote:
antoniusgenta wrote:
Langsung ditest..thx mas
+++++++++++++++++++++++++++++++++++++++++

Jangan lupa mas ...refresh_pattern-nya pakek yg di atas tadi ....
Siap mas ini lagi ditest dulu,, mas itu versi perl kenapa harus disesuaikan ya? sy punya 5.12.2 ini pengaruhnya apa ya?
dan harus diedit dimana ? apa cuma ganti headernya aja di storeurl?


Storeurlnya setelah saya coba,,service squid berhenti sendiri,

berikut log yg saya dapat dari squid saya

=========================================
Apr 7 14:56:18 soul-proxy squid[22852]: The store_rewriter helpers are crashing too rapidly, need help!
Apr 7 14:56:18 soul-proxy squid[22786]: Squid Parent: child process 22852 exited due to signal 6
Apr 7 14:56:21 soul-proxy squid[22786]: Squid Parent: child process 22883 started
Apr 7 14:56:22 soul-proxy squid[22883]: The store_rewriter helpers are crashing too rapidly, need help!
Apr 7 14:56:22 soul-proxy squid[22786]: Squid Parent: child process 22883 exited due to signal 6
Apr 7 14:56:25 soul-proxy squid[22786]: Squid Parent: child process 22914 started
Apr 7 14:56:25 soul-proxy squid[22914]: The store_rewriter helpers are crashing too rapidly, need help!
Apr 7 14:56:25 soul-proxy squid[22786]: Squid Parent: child process 22914 exited due to signal 6
Apr 7 14:56:25 soul-proxy squid[22786]: Exiting due to repeated, frequent failures
==================================================================
saran saya filenya lebih baik bisa didownload aja mas, biar ga ada kesalahan pada saat copy,,

regards
genta


User avatar
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Post by pluto01 » 07 Apr 2013, 15:41

@OM antoniusgenta
Coba kasih gini saja OM harusnya jalan
#!/usr/bin/perl

@OM kuncung99
Thanks sharenya, Untuk hasilnya lg coba ditest.


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 15:44

@ Mas Antonius ....
Pada squid.conf pastikan ada tulisan ini ....
++++++++++++++++++++++++++++++++++++++++++++++++++++++

access_log daemon:/var/log/squid3/access.log squid
cache_log /var/log/squid3/cache.log
cache_store_log none
store_dir_select_algorithm round-robin
logfile_daemon /usr/lib/squid/logfile-daemon
logfile_rotate 1
redirect_rewrites_host_header off (kurang ini mungkin)

++++terus includenya jangan lupa namanya sesuaikan dgn refresh_pattern-nya ...misal superproxy.conf ++++
maka menjadi

acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl purge method PURGE
acl snmppublic snmp_community public
include /usr/local/share/squid/superproxy.conf (ini juga pengaruh mas)


User avatar
W4RL0CK
Posts: 2
Joined: 07 Apr 2013, 09:43

Post by W4RL0CK » 07 Apr 2013, 16:13

@kucung99 kok g bisa ya...?
root@skynet:~# squid -NDd1
2013/04/07 16:10:08| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.8.0/16'
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|watch\?\.flv?|.vid\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(\.swf\?|\.avi\?|\.mov\?|\.wm(a|v)\?|\.3gp\?|\.mp(4|3)\?|\.rm\?|\.ram\?|\.m4v\?|\.on2\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http:\/\/images|image|img|pics|openx|thumbs[0-9]\.': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.gstatic\.com/images\?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(gstatic|diggstatic)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.speedtest/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option 'galleries\.video(\?|sz)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.wikimapia\.org\/?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(exe|msi|msp|msu|dmg|bin|xpi|iso|swf|mar|psf|cab)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2013/04/07 16:10:08| Starting Squid Cache version LUSCA_HEAD-r14809 for i686-pc-linux-gnu...
2013/04/07 16:10:08| Process ID 1057
2013/04/07 16:10:08| NOTICE: Could not increase the number of filedescriptors
2013/04/07 16:10:08| With 1024 file descriptors available
2013/04/07 16:10:08| Using epoll for the IO loop
2013/04/07 16:10:08| Adding nameserver 192.168.4.1 from /etc/resolv.conf
2013/04/07 16:10:08| helperOpenServers: Starting 5 'supercache2.pl' processes
2013/04/07 16:10:08| logfileOpen: opening log /var/log/squid/referer.log
2013/04/07 16:10:08| logfileOpen: opening log daemon:/var/log/squid/access.log
2013/04/07 16:10:08| Logfile Daemon: opening log /var/log/squid/access.log
2013/04/07 16:10:08| Unlinkd pipe opened on FD 17
2013/04/07 16:10:08| Swap maxSize 460800000 + 8192 KB, estimated 35446784 objects
2013/04/07 16:10:08| Target number of buckets: 1772339
2013/04/07 16:10:08| Using 2097152 Store buckets
2013/04/07 16:10:08| Max Mem size: 8192 KB
2013/04/07 16:10:08| Max Swap size: 460800000 KB
2013/04/07 16:10:08| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/07 16:10:08| Store logging disabled
2013/04/07 16:10:08| AUFS: /cache1: log '/cache1/swap.state' opened on FD 18
2013/04/07 16:10:08| AUFS: /cache1: tmp log /cache1/swap.state.new opened on FD 18
2013/04/07 16:10:08| Rebuilding storage in /cache1 (DIRTY)
2013/04/07 16:10:08| AUFS: /cache2: log '/cache2/swap.state' opened on FD 20
2013/04/07 16:10:08| AUFS: /cache2: tmp log /cache2/swap.state.new opened on FD 20
2013/04/07 16:10:08| Rebuilding storage in /cache2 (DIRTY)
2013/04/07 16:10:08| Using Round Robin store dir selection
2013/04/07 16:10:08| Set Current Directory to /var/spool/squid/
2013/04/07 16:10:08| Loaded Icons.
2013/04/07 16:10:08| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 22.
2013/04/07 16:10:08| Accepting SNMP messages on port 3401, FD 23.
2013/04/07 16:10:08| Pinger socket opened on FD 24
2013/04/07 16:10:08| Ready to serve requests.
2013/04/07 16:10:08| WARNING: store_rewriter #1 (FD 6) exited
2013/04/07 16:10:08| WARNING: store_rewriter #2 (FD 8) exited
2013/04/07 16:10:08| WARNING: store_rewriter #3 (FD 9) exited
2013/04/07 16:10:08| Too few store_rewriter processes are running
FATAL: The store_rewriter helpers are crashing too rapidly, need help!

Aborted (core dumped)


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 16:22

W4RL0CK wrote:@kucung99 kok g bisa ya...?
root@skynet:~# squid -NDd1
2013/04/07 16:10:08| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.8.0/16'
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|watch\?\.flv?|.vid\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(\.swf\?|\.avi\?|\.mov\?|\.wm(a|v)\?|\.3gp\?|\.mp(4|3)\?|\.rm\?|\.ram\?|\.m4v\?|\.on2\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http:\/\/images|image|img|pics|openx|thumbs[0-9]\.': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.gstatic\.com/images\?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(gstatic|diggstatic)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.speedtest/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option 'galleries\.video(\?|sz)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.wikimapia\.org\/?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(exe|msi|msp|msu|dmg|bin|xpi|iso|swf|mar|psf|cab)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2013/04/07 16:10:08| Starting Squid Cache version LUSCA_HEAD-r14809 for i686-pc-linux-gnu...
2013/04/07 16:10:08| Process ID 1057
2013/04/07 16:10:08| NOTICE: Could not increase the number of filedescriptors
2013/04/07 16:10:08| With 1024 file descriptors available
2013/04/07 16:10:08| Using epoll for the IO loop
2013/04/07 16:10:08| Adding nameserver 192.168.4.1 from /etc/resolv.conf
2013/04/07 16:10:08| helperOpenServers: Starting 5 'supercache2.pl' processes
2013/04/07 16:10:08| logfileOpen: opening log /var/log/squid/referer.log
2013/04/07 16:10:08| logfileOpen: opening log daemon:/var/log/squid/access.log
2013/04/07 16:10:08| Logfile Daemon: opening log /var/log/squid/access.log
2013/04/07 16:10:08| Unlinkd pipe opened on FD 17
2013/04/07 16:10:08| Swap maxSize 460800000 + 8192 KB, estimated 35446784 objects
2013/04/07 16:10:08| Target number of buckets: 1772339
2013/04/07 16:10:08| Using 2097152 Store buckets
2013/04/07 16:10:08| Max Mem size: 8192 KB
2013/04/07 16:10:08| Max Swap size: 460800000 KB
2013/04/07 16:10:08| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/07 16:10:08| Store logging disabled
2013/04/07 16:10:08| AUFS: /cache1: log '/cache1/swap.state' opened on FD 18
2013/04/07 16:10:08| AUFS: /cache1: tmp log /cache1/swap.state.new opened on FD 18
2013/04/07 16:10:08| Rebuilding storage in /cache1 (DIRTY)
2013/04/07 16:10:08| AUFS: /cache2: log '/cache2/swap.state' opened on FD 20
2013/04/07 16:10:08| AUFS: /cache2: tmp log /cache2/swap.state.new opened on FD 20
2013/04/07 16:10:08| Rebuilding storage in /cache2 (DIRTY)
2013/04/07 16:10:08| Using Round Robin store dir selection
2013/04/07 16:10:08| Set Current Directory to /var/spool/squid/
2013/04/07 16:10:08| Loaded Icons.
2013/04/07 16:10:08| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 22.
2013/04/07 16:10:08| Accepting SNMP messages on port 3401, FD 23.
2013/04/07 16:10:08| Pinger socket opened on FD 24
2013/04/07 16:10:08| Ready to serve requests.
2013/04/07 16:10:08| WARNING: store_rewriter #1 (FD 6) exited
2013/04/07 16:10:08| WARNING: store_rewriter #2 (FD 8) exited
2013/04/07 16:10:08| WARNING: store_rewriter #3 (FD 9) exited
2013/04/07 16:10:08| Too few store_rewriter processes are running
FATAL: The store_rewriter helpers are crashing too rapidly, need help!

Aborted (core dumped)

Pada waktu ngelakuin itu squid-nya dimatiin dulu mas .... terus di CHOWN proxy (mengubah kepemilikan mjd proxy)

Contoh :
# /etc/init.d/squid stop
lanjut dgn
# chown proxy:proxy /cache1
(tambahin sampai sebanyak cache punya mas)
chmod 777 /cache1
chmod 777 /cache2
(tambahin sampai sebanyak cache punya mas)
chown proxy:proxy /usr/local/share/squid/superproxy.conf
chmod 777 /usr/local/share/squid/superproxy.conf
chown proxy:proxy /usr/local/share/squid/superproxy.pl
chmod 777 /usr/local/share/squid/superproxy.pl
chmod +x /usr/local/share/squid/superproxy.pl
...lalu ....
# squid -f /etc/squid/squid.conf -z
# sudo /etc/init.d/squid restart
# squid -NDd1
# reboot
nama superproxy.conf dan pl-nya sesuaikan dgn nama yg di proxy Mas


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 16:24

storeurl.pl punya Q namanya superproxy.pl dan refresh_patern.conf di Q namanya superproxy.conf


salah nama ga nyambung lho brow


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 07 Apr 2013, 16:26

W4RL0CK wrote:@kucung99 kok g bisa ya...?
root@skynet:~# squid -NDd1
2013/04/07 16:10:08| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.8.0/16'
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|watch\?\.flv?|.vid\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(\.swf\?|\.avi\?|\.mov\?|\.wm(a|v)\?|\.3gp\?|\.mp(4|3)\?|\.rm\?|\.ram\?|\.m4v\?|\.on2\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http:\/\/images|image|img|pics|openx|thumbs[0-9]\.': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.gstatic\.com/images\?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(gstatic|diggstatic)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.speedtest/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option 'galleries\.video(\?|sz)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.wikimapia\.org\/?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(exe|msi|msp|msu|dmg|bin|xpi|iso|swf|mar|psf|cab)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2013/04/07 16:10:08| Starting Squid Cache version LUSCA_HEAD-r14809 for i686-pc-linux-gnu...
2013/04/07 16:10:08| Process ID 1057
2013/04/07 16:10:08| NOTICE: Could not increase the number of filedescriptors
2013/04/07 16:10:08| With 1024 file descriptors available
2013/04/07 16:10:08| Using epoll for the IO loop
2013/04/07 16:10:08| Adding nameserver 192.168.4.1 from /etc/resolv.conf
2013/04/07 16:10:08| helperOpenServers: Starting 5 'supercache2.pl' processes
2013/04/07 16:10:08| logfileOpen: opening log /var/log/squid/referer.log
2013/04/07 16:10:08| logfileOpen: opening log daemon:/var/log/squid/access.log
2013/04/07 16:10:08| Logfile Daemon: opening log /var/log/squid/access.log
2013/04/07 16:10:08| Unlinkd pipe opened on FD 17
2013/04/07 16:10:08| Swap maxSize 460800000 + 8192 KB, estimated 35446784 objects
2013/04/07 16:10:08| Target number of buckets: 1772339
2013/04/07 16:10:08| Using 2097152 Store buckets
2013/04/07 16:10:08| Max Mem size: 8192 KB
2013/04/07 16:10:08| Max Swap size: 460800000 KB
2013/04/07 16:10:08| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/07 16:10:08| Store logging disabled
2013/04/07 16:10:08| AUFS: /cache1: log '/cache1/swap.state' opened on FD 18
2013/04/07 16:10:08| AUFS: /cache1: tmp log /cache1/swap.state.new opened on FD 18
2013/04/07 16:10:08| Rebuilding storage in /cache1 (DIRTY)
2013/04/07 16:10:08| AUFS: /cache2: log '/cache2/swap.state' opened on FD 20
2013/04/07 16:10:08| AUFS: /cache2: tmp log /cache2/swap.state.new opened on FD 20
2013/04/07 16:10:08| Rebuilding storage in /cache2 (DIRTY)
2013/04/07 16:10:08| Using Round Robin store dir selection
2013/04/07 16:10:08| Set Current Directory to /var/spool/squid/
2013/04/07 16:10:08| Loaded Icons.
2013/04/07 16:10:08| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 22.
2013/04/07 16:10:08| Accepting SNMP messages on port 3401, FD 23.
2013/04/07 16:10:08| Pinger socket opened on FD 24
2013/04/07 16:10:08| Ready to serve requests.
2013/04/07 16:10:08| WARNING: store_rewriter #1 (FD 6) exited
2013/04/07 16:10:08| WARNING: store_rewriter #2 (FD 8) exited
2013/04/07 16:10:08| WARNING: store_rewriter #3 (FD 9) exited
2013/04/07 16:10:08| Too few store_rewriter processes are running
FATAL: The store_rewriter helpers are crashing too rapidly, need help!

Aborted (core dumped)
++++++++++++++++++++++++++++++++++

kayaknya squid.conf belum diedit ini mas .... masih pake yg lama .... referer.log udah ga dipakai disini mas ....

kuncinya pada ACL youtube yg pake dollar dan superproxy.pl yg terbaru


User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Post by antoniusgenta » 07 Apr 2013, 16:29

W4RL0CK wrote:@kucung99 kok g bisa ya...?
root@skynet:~# squid -NDd1
2013/04/07 16:10:08| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.8.0/16'
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|watch\?\.flv?|.vid\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(\.swf\?|\.avi\?|\.mov\?|\.wm(a|v)\?|\.3gp\?|\.mp(4|3)\?|\.rm\?|\.ram\?|\.m4v\?|\.on2\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http:\/\/images|image|img|pics|openx|thumbs[0-9]\.': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.gstatic\.com/images\?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(gstatic|diggstatic)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.speedtest/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option 'galleries\.video(\?|sz)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.wikimapia\.org\/?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(exe|msi|msp|msu|dmg|bin|xpi|iso|swf|mar|psf|cab)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2013/04/07 16:10:08| Starting Squid Cache version LUSCA_HEAD-r14809 for i686-pc-linux-gnu...
2013/04/07 16:10:08| Process ID 1057
2013/04/07 16:10:08| NOTICE: Could not increase the number of filedescriptors
2013/04/07 16:10:08| With 1024 file descriptors available
2013/04/07 16:10:08| Using epoll for the IO loop
2013/04/07 16:10:08| Adding nameserver 192.168.4.1 from /etc/resolv.conf
2013/04/07 16:10:08| helperOpenServers: Starting 5 'supercache2.pl' processes
2013/04/07 16:10:08| logfileOpen: opening log /var/log/squid/referer.log
2013/04/07 16:10:08| logfileOpen: opening log daemon:/var/log/squid/access.log
2013/04/07 16:10:08| Logfile Daemon: opening log /var/log/squid/access.log
2013/04/07 16:10:08| Unlinkd pipe opened on FD 17
2013/04/07 16:10:08| Swap maxSize 460800000 + 8192 KB, estimated 35446784 objects
2013/04/07 16:10:08| Target number of buckets: 1772339
2013/04/07 16:10:08| Using 2097152 Store buckets
2013/04/07 16:10:08| Max Mem size: 8192 KB
2013/04/07 16:10:08| Max Swap size: 460800000 KB
2013/04/07 16:10:08| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/07 16:10:08| Store logging disabled
2013/04/07 16:10:08| AUFS: /cache1: log '/cache1/swap.state' opened on FD 18
2013/04/07 16:10:08| AUFS: /cache1: tmp log /cache1/swap.state.new opened on FD 18
2013/04/07 16:10:08| Rebuilding storage in /cache1 (DIRTY)
2013/04/07 16:10:08| AUFS: /cache2: log '/cache2/swap.state' opened on FD 20
2013/04/07 16:10:08| AUFS: /cache2: tmp log /cache2/swap.state.new opened on FD 20
2013/04/07 16:10:08| Rebuilding storage in /cache2 (DIRTY)
2013/04/07 16:10:08| Using Round Robin store dir selection
2013/04/07 16:10:08| Set Current Directory to /var/spool/squid/
2013/04/07 16:10:08| Loaded Icons.
2013/04/07 16:10:08| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 22.
2013/04/07 16:10:08| Accepting SNMP messages on port 3401, FD 23.
2013/04/07 16:10:08| Pinger socket opened on FD 24
2013/04/07 16:10:08| Ready to serve requests.
2013/04/07 16:10:08| WARNING: store_rewriter #1 (FD 6) exited
2013/04/07 16:10:08| WARNING: store_rewriter #2 (FD 8) exited
2013/04/07 16:10:08| WARNING: store_rewriter #3 (FD 9) exited
2013/04/07 16:10:08| Too few store_rewriter processes are running
FATAL: The store_rewriter helpers are crashing too rapidly, need help!

Aborted (core dumped)
di storeurl-nya kasih ini aja
gak perlu pake versionnya

#!/usr/bin/perl

@mas kucung gak bisa wus2 cachenya disaya.. gak cache knp ya..?


User avatar
W4RL0CK
Posts: 2
Joined: 07 Apr 2013, 09:43

Post by W4RL0CK » 07 Apr 2013, 16:47

@mas kucung, squid.conf udah diedit mas, referlog nya dihapus, dan ditambah redirect_rewrites_host_header off
punya ku supercache.conf dan supercache.pl udah kuatur mas, gak bisa juga mas kucung,,


User avatar
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Post by pluto01 » 07 Apr 2013, 17:00

@ OM kuncung99

Bisa dicoba test video ini ga OM, HIT dengan baik ga atau masih satu per satu?

http://www.youtube.com/watch?v=LiHp3TFOO2M


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

Post by q_p » 07 Apr 2013, 18:31

@Mas SyafudinJW dan Kuncung
Terimakasih telah bergabung di FUI
@All
Mohon maaf belum sempat respon, baru pulang dari luar kota :)


User avatar
zero44
Posts: 30
Joined: 29 Mar 2013, 09:12

Post by zero44 » 07 Apr 2013, 21:13

semua vidio youtube yg ada 144p pasti eror occured, belum sempat oprek.., pilih matikan opsi caching youtube di proxy untuk sementara.., sambil gelar tikar, nunggu wangsit :(


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

Post by q_p » 07 Apr 2013, 22:08

@Zerro
Resolusi 144p bisa ter-cache dan tdk terjadi errot. Hanya file yang ter-cache bukan lagi x-flv tapi mp4

[img]http://s20.postimg.org/i2i3nxkdp/video_mp4.png[/img]

[img]http://s20.postimg.org/rvzb0qmi5/vidio_mp4.png[/img]


User avatar
zero44
Posts: 30
Joined: 29 Mar 2013, 09:12

Post by zero44 » 07 Apr 2013, 22:18

hayo.. kok bisa ya..., tu proxy gak ada di modif mas.. masih yg kemarin ????
tadi oprek sebentar kalo baris perintah ini diberi tanda pagar gak erot mas.. tapi gak tau bisa hit enggak tu proxy nya

#acl youtube_rangeurlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range

ralat mas.., etelah baris perintah diatas di beri pagar ternyata Hit juga sih tapi memang jadi audio mp4 hitnya.., tapi belom tau apa efect selanjutnya.., kira-kira menurut mas progola_pati kalo tu baris perintah diberi pagar efect nya apa terhadap proxy (youtube)


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

Post by q_p » 07 Apr 2013, 22:22

Saya masih tetap pakai yang di pejwan mas :0
zero44 wrote:#acl youtube_rangeurlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range
coba lihat lagi yang saya quote dan bandingkan dengan yang ini

Code: Select all

#acl youtube_range urlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range


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

Post by bellec » 07 Apr 2013, 22:32

[spoiler]# apt-get install libfile-readbackwards-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfile-readbackwards-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
Setting up man-db (2.6.0.2-2) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libfile-readbackwards-perl (1.05-1) ...
Errors were encountered while processing:
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)[/spoiler]

[spoiler]root@Proxy:/home/abau# squid -k shutdown
root@Proxy:/home/abau# ps aux | grep squid
root 1338 0.0 0.0 7972 884 pts/0 S+ 01:49 0:00 grep --color=auto squid
root@Proxy:/home/abau# squid -k shutdown
squid: ERROR: No running copy
root@Proxy:/home/abau# ps aux | grep squid
root 1341 0.0 0.0 7972 884 pts/0 S+ 01:49 0:00 grep --color=auto squid
root@Proxy:/home/abau# make uninstall
make: *** No rule to make target `uninstall'. Stop.[/spoiler]
ini kok error mas Pragola_Pati ??
mohon bantuan dimana salahnya

maaf kalau ngulang pertanyaan dari halamn 24 :D


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

Post by q_p » 07 Apr 2013, 22:43

Sumber errot di sini mas =
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat

Coba anda lihat, ada tidak file config.dat dengan perintah

Code: Select all

# ls /var/cache/debconf/
Jika ada, masuk sebagai root jalankan update dan upgrade dulu

Code: Select all

# apt-get update && apt-get upgrade -y
# apt-get install libfile-readbackwards-perl
Setelah ini kelar, anda baru bisa masuk ke langkah berikutnya seperti dalam spoiler anda di atas
cmiiw :)


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

Post by bellec » 07 Apr 2013, 22:53

# ls /var/cache/debconf/
ls: cannot access /var/cache/debconf/: No such file or directory
sepertinya ngak ada direktorinya mas Pragola_Pati :(


User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Post by Aira » 07 Apr 2013, 23:00

Pragola_Pati wrote:Saya masih tetap pakai yang di pejwan mas :0
zero44 wrote:#acl youtube_rangeurlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range
coba lihat lagi yang saya quote dan bandingkan dengan yang ini

Code: Select all

#acl youtube_range urlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range


Masih belum mendapatkan solusinya neh mas mohon di bantu...
Klao sayagunakan yang diatas sama yang ini :

acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range

Selalu saja error youtubenya mohon pencerahannya kembali
terimakasih sebelumnya


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

Post by q_p » 07 Apr 2013, 23:37

@Cah Cilacap
Cah Cilacap wrote:Terus sy mau tanya mas ....
saya buka video ini kok selalu keluar an error occured .... kayak penyakit lama nih ....
ini link-nya http://www.youtube.com/watch?v=DQGxqTOgT58
Link yang anda maksudkan di atas sudah saya coba, hasilnya "tdk ada errot" :)

@Pluto
pluto01 wrote:Agan2 FUI bisa test dua link video di bawah apakah ada kendala:

http://www.youtube.com/watch?v=17uh4s_sqZA
http://www.youtube.com/watch?v=LiHp3TFOO2M

ditempat ane

1. Jika pakai yg dibawah ga bisa akses dengan log:
acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range

1365265152.943 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265152.988 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.127 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.654 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265153.709 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265154.906 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.106 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.764 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html
1365265155.809 0 192.168.0.2 TCP_DENIED/403 258 GET http://r7---sn-npo7en7d.c.youtube.com/videoplayback? - NONE/- text/html

2. namun jika dicomment 2 baris di atas bisa akses dan cache, namun hasil HIT cachenya ga wuzzz wuzzz satu per satu.

kira2 agan2 FUI ada cara lain agar bisa wuzz wuzz
Bisa kok mas, nantinya ada sepasang file yang ter-cache yaitu audio/mp4 dan vidio/mp4.

[img]http://s20.postimg.org/hfnsc5cvh/audio_vidio_mp4.png[/img]

@Kuncung
Kuncung99 wrote:Wat Mas Pragola_Pati : q mo tanya mas ..... storeurl.pl yg paling baek yg mana soalnya q udah pakek 2 storeurl tapi binun mana yg paling baek ....

KAlo yg di pejwan setelah Q simax n Q praktekin hasilnya cache per bagian, tapi 5 hari yg lalu Q dpt dr forum sebelah pakek yg baru lg bisa cache full bukan per part ..... cuman kadang ngaco videonya .... kalo bisa diedit mungkin bisa lebih bagus .... minta tolong gan dibantu q .... thank's
1. Saya prefer di pejwan meskipun cache perbagian (pada resolusi 480p youtube tdk melakukan split, jadi kita pun men-cache-nya bisa full). Sebenarnya, ini menguntungan squid kita kalau di tengah jalan client stop squid hanya mengambil sampai pada bagian tsb.

2. Terima kasih atas share storeurl.pl -nya. Bagus itu sebagai second-opini (bahan perbandingan). Secepatnya akan saya coba dan hasilnya akan saya laporkan di sini.

3.
kuncung99 wrote:Kalo bisa padukan dengan punya Mas Pragola refres pattern-nya atau pakek yg ini ....
refresh_pattern yang mana nih, rasanya saya belum pernah beber refresh pattern di sini

@Ellec
Ellec wrote:# ls /var/cache/debconf/
ls: cannot access /var/cache/debconf/: No such file or directory
sepertinya ngak ada direktorinya mas Pragola_Pati
Tidak pernah di update ya ubuntu-nya ? Coba jalankan update dan upgrade kayak di atas mas :)

@Aira
Mungkin karena saya tdk pakai acl tsb dan menggunakan squid-2.9.STABLE9 mas :)


User avatar
zero44
Posts: 30
Joined: 29 Mar 2013, 09:12

Post by zero44 » 08 Apr 2013, 00:12

Pragola_Pati wrote:Saya masih tetap pakai yang di pejwan mas :0
zero44 wrote:#acl youtube_rangeurlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range
coba lihat lagi yang saya quote dan bandingkan dengan yang ini

Code: Select all

#acl youtube_range urlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range

itu memang salah paste saya mas soalnya pake ms word tadi copynya.., aslinya ya seperti yg mas buat.., itu saya kasi tanda # langsung hilang eror nya
tapi kira-kira efect nya dimana ya mas..., kalo itu di kasi tanda #


User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Post by Aira » 08 Apr 2013, 00:26

Pragola_Pati wrote: @Aira
Mungkin karena saya tdk pakai acl tsb dan menggunakan squid-2.9.STABLE9 mas :)
Saya coba pakai yang mas lampirkan tetap tidak mau mas Pragola :
#acl youtube_range urlpath_regex\/(youtube.*range|videoplayback.*range)
#http_access deny youtube_range
hasilnya sama "An error occurred. Please try again later"
Kenapa yaa...?
Klo squid menurut saya sama squid-2.9.STABLE9
Boleh dunk kasih cluenya mas Pragola_Pati


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

Post by q_p » 08 Apr 2013, 01:12

@kuncung99
@W4RL0CK
[spoiler]
kuncung99 wrote:
W4RL0CK wrote:@kucung99 kok g bisa ya...?
root@skynet:~# squid -NDd1
2013/04/07 16:10:08| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.8.0/16'
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|watch\?\.flv?|.vid\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(\.swf\?|\.avi\?|\.mov\?|\.wm(a|v)\?|\.3gp\?|\.mp(4|3)\?|\.rm\?|\.ram\?|\.m4v\?|\.on2\?)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(ico|video-stats)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http:\/\/images|image|img|pics|openx|thumbs[0-9]\.': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4))': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.gstatic\.com/images\?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '(gstatic|diggstatic)\.com/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.speedtest/.*': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option 'galleries\.video(\?|sz)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.wikimapia\.org\/?': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|tiff?|bmp|gif|png)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|bz2|gz|tar|rpm|vpu)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|ape)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(exe|msi|msp|msu|dmg|bin|xpi|iso|swf|mar|psf|cab)': ignore-must-revalidate
2013/04/07 16:10:08| parse_refreshpattern: Unknown option '\.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|ogm|flv|3gp|on2)': ignore-must-revalidate
2013/04/07 16:10:08| Starting Squid Cache version LUSCA_HEAD-r14809 for i686-pc-linux-gnu...
2013/04/07 16:10:08| Process ID 1057
2013/04/07 16:10:08| NOTICE: Could not increase the number of filedescriptors
2013/04/07 16:10:08| With 1024 file descriptors available
2013/04/07 16:10:08| Using epoll for the IO loop
2013/04/07 16:10:08| Adding nameserver 192.168.4.1 from /etc/resolv.conf
2013/04/07 16:10:08| helperOpenServers: Starting 5 'supercache2.pl' processes
2013/04/07 16:10:08| logfileOpen: opening log /var/log/squid/referer.log
2013/04/07 16:10:08| logfileOpen: opening log daemon:/var/log/squid/access.log
2013/04/07 16:10:08| Logfile Daemon: opening log /var/log/squid/access.log
2013/04/07 16:10:08| Unlinkd pipe opened on FD 17
2013/04/07 16:10:08| Swap maxSize 460800000 + 8192 KB, estimated 35446784 objects
2013/04/07 16:10:08| Target number of buckets: 1772339
2013/04/07 16:10:08| Using 2097152 Store buckets
2013/04/07 16:10:08| Max Mem size: 8192 KB
2013/04/07 16:10:08| Max Swap size: 460800000 KB
2013/04/07 16:10:08| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/04/07 16:10:08| Store logging disabled
2013/04/07 16:10:08| AUFS: /cache1: log '/cache1/swap.state' opened on FD 18
2013/04/07 16:10:08| AUFS: /cache1: tmp log /cache1/swap.state.new opened on FD 18
2013/04/07 16:10:08| Rebuilding storage in /cache1 (DIRTY)
2013/04/07 16:10:08| AUFS: /cache2: log '/cache2/swap.state' opened on FD 20
2013/04/07 16:10:08| AUFS: /cache2: tmp log /cache2/swap.state.new opened on FD 20
2013/04/07 16:10:08| Rebuilding storage in /cache2 (DIRTY)
2013/04/07 16:10:08| Using Round Robin store dir selection
2013/04/07 16:10:08| Set Current Directory to /var/spool/squid/
2013/04/07 16:10:08| Loaded Icons.
2013/04/07 16:10:08| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 22.
2013/04/07 16:10:08| Accepting SNMP messages on port 3401, FD 23.
2013/04/07 16:10:08| Pinger socket opened on FD 24
2013/04/07 16:10:08| Ready to serve requests.
2013/04/07 16:10:08| WARNING: store_rewriter #1 (FD 6) exited
2013/04/07 16:10:08| WARNING: store_rewriter #2 (FD 8) exited
2013/04/07 16:10:08| WARNING: store_rewriter #3 (FD 9) exited
2013/04/07 16:10:08| Too few store_rewriter processes are running
FATAL: The store_rewriter helpers are crashing too rapidly, need help!

Aborted (core dumped)
++++++++++++++++++++++++++++++++++

kayaknya squid.conf belum diedit ini mas .... masih pake yg lama .... referer.log udah ga dipakai disini mas ....

kuncinya pada ACL youtube yg pake dollar dan superproxy.pl yg terbaru
[/spoiler]
Ini pakai squid versi berapa ? Install-nya pakai apt-get atau ngupil ? Itu kelihatan opsi ignore-must-revalidate pada tag refresh_pattern tidak dikenali oleh squid. Squid harus di install dengan teknik compile dan di-patch supaya bisa menggunakan opsi ignore-must-revalidate
cmiiw

@Zerro44
zerro44 wrote:itu memang salah paste saya mas soalnya pake ms word tadi copynya.., aslinya ya seperti yg mas buat.., itu saya kasi tanda # langsung hilang eror nya
tapi kira-kira efect nya dimana ya mas..., kalo itu di kasi tanda #
1. Penggunakan tanda pagar (#) atau biasa disebut comment dimaksudkan agar baris tsb diabaikan oleh mesin Ubuntu/linux. Effect-nya sama dengan menghapus baris tersebut.
2. Gunakan note-pad untuk kopas jika menggunakan PuTTy, karena beda code (ASCII) antara lingkungan linux dan windows. Lebih bagus lagi, gunakan Ubuntu Desktop untuk me-remote Ubuntu Server. Install Ubuntu Desktop secara side-by-side (dual boot) dengan windows. Di FUI banyak sudah tersedia TUT-nya mengenai dual boot s/d lima-boot.

@Aira
ACL tsb jangan digunakan, seperti yang saya lakukan.


User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Post by Aira » 08 Apr 2013, 01:26

Pragola_Pati wrote: @Aira
ACL tsb jangan digunakan, seperti yang saya lakukan.

:cry: :cry: Kalo ga pakai itu youtubenya ga ke cache hit dengan sempurna alias tidak langsung full... :cry: :cry:
Jadi yang jadi masalah sekarang audio youtubenya harus bisa di cache ya mas betul ga?
Kalo audo youtube ngecache nya bagaimana ya....? :hajarpc: :hajarpc: :hajarpc:


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

Post by q_p » 08 Apr 2013, 01:58

@Aira
Maksudnya audio/mp4 seperti dalam skringsut di atas (balasan saya buat mas Pluto) ?
Dengan storeurl di pejwan dan tanpa ACL yang anda maksudkan, ter-cache kok mas. Tapi ya per bagian, tdk bsa full.
Sebenar-nya ada sisi positif youtube tercache dalam bagian perbagian =
1. Ukuran file bisa kecil2 sehingga squid lebih bisa perform
2. Jika client stop di tengah jalan, squid juga ambil file sampai batas bagian yang dimainkan client tsb.
3. Secara visual tdk terlalu mencolok menggunakan proxy. Client tahunya konesi kita bagus, youtube tdk pakai buffering. Beda dengan sekali cache langsung wusss.

@kuncung99
Memenuhi janji saya untuk segera melakukan test-drive pada storeurl yang anda sharing, brikut ini beberapa catatan yang mungkin perlu kita diskusikan lagi
1. TestDrive dilakukan pada mesin ubuntu server (full ubuntu tanpa mikrotik) 10.04.4 LTS 64 bit dengan squid-2.7.STABLE9
2. Hasilnya sama persis dengan storeurl di pejwan (men-cache secara partial 1.7 MB)
3. Tanpa menambahkan versi perl, sehingga cukup dengan

Code: Select all

#!/usr/bin/perl
# 5.14.2 (Versi perl silakan disesuaikan ketik di putty # perl -v)
# $Rev$
# by chudy_fernandez@yahoo.com
# Oprex end by kuncung_calon_mumy@yahoo.com
4. Tetap jalan meskipun dengan/tanpa tag pada squid.conf

Code: Select all

redirect_rewrites_host_header off
5. Tetap jalan meskipun dengan/tanpa ACL =

Code: Select all

acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&cms_redirect=yes.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&ir=1.*$
acl dontrewrite url_regex -i c\.youtube\.com\/videoplayback.*\&rr=12.*$
storeurl_access deny dontrewrite

acl range url_regex -i .*youtube\.com\/videoplayback.*range\=.*$
http_access deny range
6. Pemakaian ACL di bawah ini =

Code: Select all

acl store_rewrite_list urlpath_regex \/(stream_204\?|player_204\?|ptracking\?|get_video\?|get_video_info\?|videodownload\?|videoplayback)
acl store_rewrite_list urlpath_regex \/(stream_204\?|player_204\?|ptracking\?|get_video\?|get_video_info\?|videodownload\?|videoplayback.*id)
ternyata bisa menghilangkan TCP_MISS di bawah ini =

Code: Select all

1365108511.160    220 192.168.0.113 TCP_MISS/204 678 GET http://www.youtube.com/ptracking? - DEFAULT_PARENT/127.0.0.1 video/x-flv
7. Akibat dari

Code: Select all

...
unless (-e "/tmp/@id"){
open FILE, ">/tmp/@id";
...
unless (-e "/tmp/@cpn"){
open FILE, ">/tmp/@cpn";
terbentuk banyak file baru di direktori /tmp

Code: Select all

# ls -lah /tmp
total 30M
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:00 cpn=17ewLWE6F_qjGY13
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:54 cpn=2emfel4suDsfJkZf
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:28 cpn=2pq8Tc-dzfj0ozRt
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:38 cpn=2rYic_L-2sBmGRfN
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:13 cpn=3lUCN0B8C6CC9dOO
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:03 cpn=7un39QvTFSMK6ZL8
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:19 cpn=ENWvs3u5ldsuOzfW
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:24 cpn=eVISNyqbFtuDuzqp
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:03 cpn=eytx4DVtKrkBbvt8
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:43 cpn=heUugwp10INShsPb
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:40 cpn=ifNOCSFBoI58Piur
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:33 cpn=-Ko1e8DQwLplEOE9
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:59 cpn=m6KpFEo8-rXYIxNl
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:48 cpn=qgHNbFfm5Z_1LEk6
-rw-r-----  1 proxy    proxy      13 2013-04-08 04:02 cpn=_QpgyJYWUQImtDk0
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:48 cpn=sCxnLZ2htbuFTG2g
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:08 cpn=vRKEQW8Z3vtE-JRt
-rw-r-----  1 proxy    proxy      13 2013-04-08 04:06 cpn=ziAZIU3SsbJ0aqYy
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:16 cpn=zz_InOZQcvkizgBV
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:54 id=o-AABHnyKCc_iOl6NazSBysmRNSDLIf71SfpfkJhWeSzBS
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:08 id=o-AABjqCK4Z0a2GmyiNU0FHXUYLjYjndlRjXRfBlpmLMqF
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:16 id=o-ABy-PSc3xTB5dADfqWfMnVzkoyDbW4gwuLc0314DphMG
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:43 id=o-ACBabgh5aY2hrQrY14a_0bHaz84wSrTYEZO-fy6y1IBo
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:48 id=o-AEDLvvcy4QeWPI6Ax6vcV_DZLV2ngHezAyLGiCnltC9C
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:33 id=o-AE-TvZiJBAvJqsLtfWZU3to8Jt16XHNxxvISDcAoOm_F
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:19 id=o-AG6lENAfwTIFiTqgKsz0oqXGRwPREzWm3W3jK9XDUH6T
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:59 id=o-AGBoefcQbA2tOz889gsHOTD31fke8tOoDzkptrutJy67
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:40 id=o-AGxZ_N8Rx28EOEmKDjTWCEbNdAmi-0YqEuHIpVy0MoW-
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:38 id=o-AGyWqEJdK9ztc3gbizU7as-em67czFMpWhKPIbx6FXXm
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:48 id=o-AHZ1Y-UK5F2-NG3RN8jczOajwoANG4Pd2u_h2WDzseHF
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:13 id=o-AI25k-iJx7AJO_xU5xSwlwZ-uXPZRKB62GIEYT0757T-
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:03 id=o-ALZ6EvDGYMJ8gus7JuvY9lWYu9_eJj4UY4_DjSGMOe3a
-rw-r-----  1 proxy    proxy      13 2013-04-08 04:02 id=o-AMdpL22k5xnEGuKiZ4_xYuHp1kpFO3lZM0BZzeOi8nJd
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:03 id=o-AN1C24g-xrZWDcC1-Wkw75HZwLbo9ZWUmcOi_oYiTV7D
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:24 id=o-AOCq1nw773hDXyBIL-KqM2MfthynQAztzPk0oiwzzEMc
-rw-r-----  1 proxy    proxy      13 2013-04-08 03:28 id=o-APB_tp8gKiHgKyU3dLUjl1RUmPPz2uSMRqTk1SJHg-3c
-rw-r-----  1 proxy    proxy      13 2013-04-08 04:06 id=o-APS7c8a1cP373jHpnxEEHfVVHfyD7USsvODUO3g5Ueqn
Yang berpotensi menimbulkan masalah di kemudian hari jika tidak bisa terhapus secara otomatis. Atau kalaupun bisa terhapus berdampak tidak pada squid ? Mungkin file2 tsb bisa di ubah ke format log yang kita tahu ada mekanisme log-rotate -nya dan ditaruh di satu tempat di direktori /var/log/squid
7. Skringsut dengan storeurl anda (# tail -f /var/log/squid/access.log | grep video/x-flv) pada link youtube
http://www.youtube.com/watch?v=PWFkhLUc ... D9DB824962 =

[img]http://s20.postimg.org/tw3c88god/hit_kuncung.png[/img]

8. Bisa digunakan warga FUI yang menggunakan squid v3 yang di-install dengan apt-get, tanpa perlu melakukan

Code: Select all

# for ALL Youtube ( range & non range )
		# first you need do this
		# build your squid with "--enable-referer-log"
		# install package dependencies "apt-get install libfile-readbackwards-perl"
		# add this "referer_log /var/log/squid/referer.log" to your squid config
9. Ada satu kekurangan yang menurut saya mengganggu. Jika klien menggunakan firefox dengan add-on download-helper dipakai untuk download youtube, selalu redirect ke file youtube yang sebelumnya di-download.
cmiiw :)


User avatar
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Post by pluto01 » 08 Apr 2013, 08:53

Pragola_Pati wrote: 6. Pemakaian opsi di bawah ini pada refreh_pattern =

Code: Select all

acl store_rewrite_list urlpath_regex \/(stream_204\?|player_204\?|ptracking\?|get_video\?|get_video_info\?|videodownload\?|videoplayback)
acl store_rewrite_list urlpath_regex \/(stream_204\?|player_204\?|ptracking\?|get_video\?|get_video_info\?|videodownload\?|videoplayback.*id)
ternyata bisa menghilangkan TCP_MISS di bawah ini =

Code: Select all

1365108511.160    220 192.168.0.113 TCP_MISS/204 678 GET http://www.youtube.com/ptracking? - DEFAULT_PARENT/127.0.0.1 video/x-flv
@OM Pragola_Pati dan OM kuncung99
Untuk penggunaan code di atas selain dari berfungsi yg OM jelaskan apakah ada efect lainnya ?
Karena di tempat ane belum test karena masih belum bisa diterapkan doce di atas.


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

Post by q_p » 08 Apr 2013, 09:27

Mohon maaf, itu bukan refresh_pattern (sudah saya betulkan/edit) tetapi ACL yang berisi reguler expression (regex) khusus urlpath. Asal urlpath masuk dalam regex yang terdifinisikan di atas, itulah efeknya.


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

Post by cah_clacap » 08 Apr 2013, 09:45

waow, lama ga gabung rupanya udh halaman 27. Tambah sip saja nich forum.
@ mas pragola * makasih terus berbagi
@ mas kuncung * lam knal mas, n jg makasih gelaran skrip nya. Nanti ta coba praktekin.
@ all * mari terus berbagi utk kmajuan n kesempurnaan


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

Post by bellec » 08 Apr 2013, 10:31

[spoiler]@Ellec
Ellec wrote:# ls /var/cache/debconf/
ls: cannot access /var/cache/debconf/: No such file or directory
sepertinya ngak ada direktorinya mas Pragola_Pati
Tidak pernah di update ya ubuntu-nya ? Coba jalankan update dan upgrade kayak di atas mas :)[/spoiler]
udah saya coba mas hasilnya seperti ini
[spoiler]root@Proxy:~# apt-get update && apt-get upgrade -y
Ign http://security.ubuntu.com oneiric-security InRelease
Get:1 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Ign http://id.archive.ubuntu.com oneiric InRelease
Ign http://id.archive.ubuntu.com oneiric-updates InRelease
Ign http://id.archive.ubuntu.com oneiric-backports InRelease
Get:2 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Hit http://id.archive.ubuntu.com oneiric Release.gpg
Get:3 http://id.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:4 http://id.archive.ubuntu.com oneiric-backports Release.gpg [198 B]
Hit http://id.archive.ubuntu.com oneiric Release
Get:5 http://security.ubuntu.com oneiric-security/main Sources [68.8 kB]
Get:6 http://id.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:7 http://security.ubuntu.com oneiric-security/restricted Sources [1,964 B]
Get:8 http://security.ubuntu.com oneiric-security/universe Sources [29.4 kB]
Get:9 http://security.ubuntu.com oneiric-security/multiverse Sources [1,676 B]
Get:10 http://security.ubuntu.com oneiric-security/main amd64 Packages [248 kB]
Get:11 http://id.archive.ubuntu.com oneiric-backports Release [40.8 kB]
Hit http://id.archive.ubuntu.com oneiric/main Sources
Hit http://id.archive.ubuntu.com oneiric/restricted Sources
Hit http://id.archive.ubuntu.com oneiric/universe Sources
Hit http://id.archive.ubuntu.com oneiric/multiverse Sources
Hit http://id.archive.ubuntu.com oneiric/main amd64 Packages
Hit http://id.archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://id.archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://id.archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://id.archive.ubuntu.com oneiric/main i386 Packages
Hit http://id.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://id.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://id.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://id.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://id.archive.ubuntu.com oneiric/multiverse TranslationIndex
Get:12 http://security.ubuntu.com oneiric-security/restricted amd64 Packages [3,995 B]
Get:13 http://security.ubuntu.com oneiric-security/universe amd64 Packages [71.3 kB]
Get:14 http://security.ubuntu.com oneiric-security/multiverse amd64 Packages [3,219 B]
Get:15 http://security.ubuntu.com oneiric-security/main i386 Packages [248 kB]
Hit http://id.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://id.archive.ubuntu.com oneiric/universe TranslationIndex
Get:16 http://id.archive.ubuntu.com oneiric-updates/main Sources [169 kB]
Get:17 http://id.archive.ubuntu.com oneiric-updates/restricted Sources [3,349 B]
Get:18 http://id.archive.ubuntu.com oneiric-updates/universe Sources [72.0 kB]
Get:19 http://security.ubuntu.com oneiric-security/restricted i386 Packages [4,062 B]
Get:20 http://security.ubuntu.com oneiric-security/universe i386 Packages [71.4 kB]
Get:21 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3,390 B]
Get:22 http://security.ubuntu.com oneiric-security/main TranslationIndex [74 B]
Get:23 http://security.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:24 http://security.ubuntu.com oneiric-security/restricted TranslationIndex [71 B]
Get:25 http://security.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:26 http://id.archive.ubuntu.com oneiric-updates/multiverse Sources [3,698 B]
Get:27 http://id.archive.ubuntu.com oneiric-updates/main amd64 Packages [439 kB]
Get:28 http://security.ubuntu.com oneiric-security/main Translation-en [115 kB]
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Get:29 http://security.ubuntu.com oneiric-security/universe Translation-en [46.7 kB]
Get:30 http://id.archive.ubuntu.com oneiric-updates/restricted amd64 Packages [6,651 B]
Get:31 http://id.archive.ubuntu.com oneiric-updates/universe amd64 Packages [152 kB]
Get:32 http://id.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages [6,233 B]
Get:33 http://id.archive.ubuntu.com oneiric-updates/main i386 Packages [441 kB]
Get:34 http://id.archive.ubuntu.com oneiric-updates/restricted i386 Packages [6,645 B]
Get:35 http://id.archive.ubuntu.com oneiric-updates/universe i386 Packages [152 kB]
Get:36 http://id.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6,376 B]
Get:37 http://id.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:38 http://id.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:39 http://id.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [72 B]
Get:40 http://id.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:41 http://id.archive.ubuntu.com oneiric-backports/main Sources [2,742 B]
Get:42 http://id.archive.ubuntu.com oneiric-backports/restricted Sources [14 B]
Get:43 http://id.archive.ubuntu.com oneiric-backports/universe Sources [9,373 B]
Get:44 http://id.archive.ubuntu.com oneiric-backports/multiverse Sources [14 B]
Get:45 http://id.archive.ubuntu.com oneiric-backports/main amd64 Packages [3,288 B]
Get:46 http://id.archive.ubuntu.com oneiric-backports/restricted amd64 Packages [14 B]
Get:47 http://id.archive.ubuntu.com oneiric-backports/universe amd64 Packages [13.6 kB]
Get:48 http://id.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages [14 B]
Get:49 http://id.archive.ubuntu.com oneiric-backports/main i386 Packages [3,296 B]
Get:50 http://id.archive.ubuntu.com oneiric-backports/restricted i386 Packages [14 B]
Get:51 http://id.archive.ubuntu.com oneiric-backports/universe i386 Packages [13.6 kB]
Get:52 http://id.archive.ubuntu.com oneiric-backports/multiverse i386 Packages [14 B]
Get:53 http://id.archive.ubuntu.com oneiric-backports/main TranslationIndex [72 B]
Get:54 http://id.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex [70 B]
Get:55 http://id.archive.ubuntu.com oneiric-backports/restricted TranslationIndex [70 B]
Get:56 http://id.archive.ubuntu.com oneiric-backports/universe TranslationIndex [73 B]
Hit http://id.archive.ubuntu.com oneiric/main Translation-en
Hit http://id.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://id.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://id.archive.ubuntu.com oneiric/universe Translation-en
Get:57 http://id.archive.ubuntu.com oneiric-updates/main Translation-en [209 kB]
Hit http://id.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://id.archive.ubuntu.com oneiric-updates/restricted Translation-en
Get:58 http://id.archive.ubuntu.com oneiric-updates/universe Translation-en [92.6 kB]
Hit http://id.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://id.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://id.archive.ubuntu.com oneiric-backports/restricted Translation-en
Get:59 http://id.archive.ubuntu.com oneiric-backports/universe Translation-en [11.8 kB]
Fetched 2,858 kB in 14s (201 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-server linux-image-server linux-server
The following packages will be upgraded:
apparmor apport apt apt-transport-https apt-utils bind9-host dbus dnsutils gnupg gpgv grub-common grub-pc grub-pc-bin grub2-common insserv isc-dhcp-client isc-dhcp-common iso-codes landscape-common libapt-inst1.3 libapt-pkg4.11
libbind9-60 libc-bin libc-dev-bin libc6 libc6-dev libdbus-1-3 libdbus-glib-1-2 libdns69 libexpat1 libfreetype6 libgc1c2 libgnutls26 libgssapi-krb5-2 libisc62 libisccc60 libisccfg62 libjs-jquery libk5crypto3 libkrb5-3 libkrb5support0
liblwres60 libncurses5 libncursesw5 libpython2.7 libssl1.0.0 libtinfo5 libudev0 libxml2 linux-libc-dev multiarch-support ncurses-base ncurses-bin openssl perl perl-base perl-modules python-apport python-keyring python-problem-report
python2.7 python2.7-minimal squidclient sudo tzdata udev update-manager-core
67 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 43.2 MB of archives.
After this operation, 1,053 kB disk space will be freed.
Get:1 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libc-dev-bin amd64 2.13-20ubuntu5.3 [83.4 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libc6-dev amd64 2.13-20ubuntu5.3 [2,590 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libc-bin amd64 2.13-20ubuntu5.3 [998 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libc6 amd64 2.13-20ubuntu5.3 [4,298 kB]
Get:5 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main linux-libc-dev amd64 3.0.0-32.51 [850 kB]
Get:6 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main tzdata amd64 2012e-0ubuntu0.11.10 [449 kB]
Get:7 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main ncurses-bin amd64 5.9-1ubuntu5.1 [151 kB]
Get:8 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main perl amd64 5.12.4-4ubuntu0.2 [4,224 kB]
Get:9 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main perl-base amd64 5.12.4-4ubuntu0.2 [1,429 kB]
Get:10 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main perl-modules all 5.12.4-4ubuntu0.2 [4,743 kB]
Get:11 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main ncurses-base all 5.9-1ubuntu5.1 [20.2 kB]
Get:12 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libssl1.0.0 amd64 1.0.0e-2ubuntu4.7 [965 kB]
Get:13 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libncursesw5 amd64 5.9-1ubuntu5.1 [163 kB]
Get:14 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libtinfo5 amd64 5.9-1ubuntu5.1 [67.8 kB]
Get:15 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libncurses5 amd64 5.9-1ubuntu5.1 [142 kB]
Get:16 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libdbus-1-3 amd64 1.4.14-1ubuntu1.3 [144 kB]
Get:17 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libudev0 amd64 173-0ubuntu4.3 [30.9 kB]
Get:18 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libdbus-glib-1-2 amd64 0.94-4ubuntu0.1 [73.3 kB]
Get:19 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libgnutls26 amd64 2.10.5-1ubuntu3.3 [429 kB]
Get:20 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libk5crypto3 amd64 1.9.1+dfsg-1ubuntu2.3 [84.2 kB]
Get:21 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libgssapi-krb5-2 amd64 1.9.1+dfsg-1ubuntu2.3 [118 kB]
Get:22 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libkrb5-3 amd64 1.9.1+dfsg-1ubuntu2.3 [351 kB]
Get:23 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libkrb5support0 amd64 1.9.1+dfsg-1ubuntu2.3 [24.0 kB]
Get:24 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libexpat1 amd64 2.0.1-7ubuntu3.11.10.1 [131 kB]
Get:25 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libfreetype6 amd64 2.4.4-2ubuntu1.3 [335 kB]
Get:26 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libapt-pkg4.11 amd64 0.8.16~exp5ubuntu13.7 [519 kB]
Get:27 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main gpgv amd64 1.4.11-3ubuntu1.11.10.2 [185 kB]
Get:28 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main gnupg amd64 1.4.11-3ubuntu1.11.10.2 [810 kB]
Get:29 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main apt amd64 0.8.16~exp5ubuntu13.7 [1,066 kB]
Get:30 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main multiarch-support amd64 2.13-20ubuntu5.3 [4,482 B]
Get:31 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libpython2.7 amd64 2.7.2-5ubuntu1.1 [1,176 kB]
Get:32 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main python2.7 amd64 2.7.2-5ubuntu1.1 [2,607 kB]
Get:33 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main python2.7-minimal amd64 2.7.2-5ubuntu1.1 [1,647 kB]
Get:34 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libapt-inst1.3 amd64 0.8.16~exp5ubuntu13.7 [37.1 kB]
Get:35 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main apt-utils amd64 0.8.16~exp5ubuntu13.7 [189 kB]
Get:36 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main isc-dhcp-client amd64 4.1.1-P1-17ubuntu10.5 [288 kB]
Get:37 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main isc-dhcp-common amd64 4.1.1-P1-17ubuntu10.5 [339 kB]
Get:38 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main insserv amd64 1.14.0-2.1ubuntu0.2 [51.2 kB]
Get:39 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main udev amd64 173-0ubuntu4.3 [332 kB]
Get:40 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main apparmor amd64 2.7.0~beta1+bzr1774-1ubuntu2.2 [339 kB]
Get:41 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libxml2 amd64 2.7.8.dfsg-4ubuntu0.6 [672 kB]
Get:42 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9-host amd64 1:9.7.3.dfsg-1ubuntu4.6 [55.3 kB]
Get:43 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main dnsutils amd64 1:9.7.3.dfsg-1ubuntu4.6 [147 kB]
Get:44 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisc62 amd64 1:9.7.3.dfsg-1ubuntu4.6 [160 kB]
Get:45 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libdns69 amd64 1:9.7.3.dfsg-1ubuntu4.6 [677 kB]
Get:46 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisccc60 amd64 1:9.7.3.dfsg-1ubuntu4.6 [17.5 kB]
Get:47 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisccfg62 amd64 1:9.7.3.dfsg-1ubuntu4.6 [41.7 kB]
Get:48 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main liblwres60 amd64 1:9.7.3.dfsg-1ubuntu4.6 [37.6 kB]
Get:49 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libbind9-60 amd64 1:9.7.3.dfsg-1ubuntu4.6 [22.9 kB]
Get:50 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main dbus amd64 1.4.14-1ubuntu1.3 [560 kB]
Get:51 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main iso-codes amd64 3.27-1ubuntu1 [3,612 kB]
Get:52 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main update-manager-core amd64 1:0.152.25.13 [180 kB]
Get:53 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main python-problem-report all 1.23-0ubuntu4.1 [16.1 kB]
Get:54 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main python-apport all 1.23-0ubuntu4.1 [100 kB]
Get:55 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main apport all 1.23-0ubuntu4.1 [81.6 kB]
Get:56 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main apt-transport-https amd64 0.8.16~exp5ubuntu13.7 [15.8 kB]
Get:57 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main grub-pc amd64 1.99-12ubuntu5.1 [92.8 kB]
Get:58 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main grub-pc-bin amd64 1.99-12ubuntu5.1 [840 kB]
Get:59 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main grub2-common amd64 1.99-12ubuntu5.1 [94.2 kB]
Get:60 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main grub-common amd64 1.99-12ubuntu5.1 [2,013 kB]
Get:61 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main landscape-common amd64 12.05-0ubuntu1.11.10 [243 kB]
Get:62 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libgc1c2 amd64 1:7.1-8ubuntu0.11.10.1 [79.4 kB]
Get:63 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libjs-jquery all 1.6.2-1ubuntu2.2 [106 kB]
Get:64 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main openssl amd64 1.0.0e-2ubuntu4.7 [517 kB]
Get:65 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main python-keyring all 0.9.2-0ubuntu0.11.10.2 [39.5 kB]
Get:66 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/universe squidclient amd64 3.1.14-1ubuntu0.3 [38.2 kB]
Get:67 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main sudo amd64 1.7.4p6-1ubuntu2.2 [219 kB]
Fetched 43.2 MB in 2min 5s (343 kB/s)
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
(Reading database ... 55502 files and directories currently installed.)
Preparing to replace libc-dev-bin 2.13-20ubuntu5.1 (using .../libc-dev-bin_2.13-20ubuntu5.3_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc6-dev 2.13-20ubuntu5.1 (using .../libc6-dev_2.13-20ubuntu5.3_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-bin 2.13-20ubuntu5.1 (using .../libc-bin_2.13-20ubuntu5.3_amd64.deb) ...
Unpacking replacement libc-bin ...
Setting up libc-bin (2.13-20ubuntu5.3) ...
(Reading database ... 55502 files and directories currently installed.)
Preparing to replace libc6 2.13-20ubuntu5.1 (using .../libc6_2.13-20ubuntu5.3_amd64.deb) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing /var/cache/apt/archives/libc6_2.13-20ubuntu5.3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.13-20ubuntu5.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Proxy:~#[/spoiler]


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

Post by q_p » 08 Apr 2013, 13:03

@Ellec
Lanjut dengan install "libfile-readbackwards-perl" =
# apt-get install libfile-readbackwards-perl


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

Post by bellec » 08 Apr 2013, 14:18

Pragola_Pati wrote:@Ellec
Lanjut dengan install "libfile-readbackwards-perl" =
# apt-get install libfile-readbackwards-perl
[spoiler]root@Proxy:~# apt-get install libfile-readbackwards-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfile-readbackwards-perl is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Depends: libc-bin (= 2.13-20ubuntu5.1)
libc6-dev : Depends: libc6 (= 2.13-20ubuntu5.3) but 2.13-20ubuntu5.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).[/spoiler]
apa udah benar ni mas ?? :)]
selanjutnya saya mulai dari mana mas?
maaf kalau sy banyk nanya, maklum newbi dan baru sekali ini mencoba. hehe


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

Post by q_p » 08 Apr 2013, 15:46

Sudah benar mas, tapi masih nggantung sama dependesi-nya =
Ellec wrote:You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Depends: libc-bin (= 2.13-20ubuntu5.1)
libc6-dev : Depends: libc6 (= 2.13-20ubuntu5.3) but 2.13-20ubuntu5.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
Lanjut dengan =

Code: Select all

apt-get -f install


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

Post by bellec » 08 Apr 2013, 16:05

udah mas, lanjut lagi seperti ini mas, seperti ada error
[spoiler]root@Proxy:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
3 not fully installed or removed.
Need to get 0 B/4,298 kB of archives.
After this operation, 143 kB disk space will be freed.
Do you want to continue [Y/n]? y
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
(Reading database ... 55502 files and directories currently installed.)
Preparing to replace libc6 2.13-20ubuntu5.1 (using .../libc6_2.13-20ubuntu5.3_amd64.deb) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing /var/cache/apt/archives/libc6_2.13-20ubuntu5.3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.13-20ubuntu5.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)[/spoiler]


User avatar
kuncung99
Posts: 19
Joined: 06 Apr 2013, 19:59
Location: Tasikmalaya

Post by kuncung99 » 08 Apr 2013, 16:17

Silahkan ...jangan sungkan2 ...
Mari berbagi utk kemajuan bersama .........


Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests