IKLAN

Pelatihan
&
Jasa Setting Proxy High Perfomance

Di Jamin Youtube tercache & Game online terupdate cepat
  • Pelatihan & Setting On the site
Mobile Phone:085868788968
Pin BB:52595EA2
BUTUH MOBIL BARU/BEKAS?

DP minimal 30 % dari harga mobil baru atau bekas. Syarat untuk karyawan/pns: Fotokopi KTP pemohon, Kartu Keluarga, Rincian Gaji, Rekening Listrik, Surat/Akta nikah, Telepon, PDAM, PBB, Rekening Tabungan & NPWP
Syarat untuk wiraswata:Plus SIUP/TDP, Laporan keuangan terakhir
Contact Person : Eka (082227594993)
Pin BB : 52595EA2

Jasa Pembuatan RT RW Net dan Warnet

Modal Hanya 5 JT-an..!!!

Meliputi:

=>Radio Access Point TP-LINK

=>Antena OMNI

=>Pigtail

=>Kabel UTP 25 meter

=>CPU P3 Mikrotik 2nd, CPU Dual COre Proxy Server 2nd dan Tower 3 Pipa Galvanis

Keuntungan

=>Lebih Murah dalam 1 paket komplit

=>RT/RW-Net Siap Pakai

=>PJK akan membantu promosi

Call/SMS = 085868788968
Pin BB :52595EA2


SEWA MOBIL PEKALONGAN DAN BATANG
Sewa/Carter Mobil Dalam Kota / Luar Kota (Se-Jawa) + Sopir.
Hubungi: Eka HP: 085868788968 / 082227594993
Pin BB : 52595EA2
Alamat:
Jl. Akasia Raya No.5 Perumahan Kalisalak Batang
Jl. Trapesium 3 No.15 Perumahan Limas Indah Pekalongan


SPACE INI DI SEWAKAN UNTUK IKLAN

Hubungi :

Mobile Phone:085868788968
Pin BB:52595EA2




Popular Posts

E-book Membuat Proxy Ubuntu Squid Lusca + Mikrotik Di Jamin Pasti Bisa

E-book  "Membuat  Server Proxy Ubuntu Squid Lusca" sangat berguna bagi pemula yang ingin belajar membuat proxy tersebut walaupun belum pernah sama sekali mengenal perintah-perintah di Linux Ubuntu Server. Asal mengikuti langkah demi langkah dalam e-book tersebut.
Di dalamnya kami jelaskan secara singkat dan praktis agar langsung dapat di praktekan. Selain itu akan kami beri e-book tentang mengkonfigurasi Mikrotik untuk berbagai keperluan dan bantuan tutorial melalui email atau Facebook jika kalian menghadapi permasalahan.

Hanya dengan mentransfer uang sebesar Rp 250.000,- (dua ratus lima puluh ribu rupiah) ke

Putra Jaya Komputer (PJK)
Hardware, Software, 
Networking, & Internet Service
Jl. Akasia Raya No.5 Perumahan
Kalisalak - Kauman Batang
Jawa Tengah - Indonesia
putra_jaya_komp@yahoo.com
putra.jaya.komputer@gmail.com
Telp.(0285) 794-26-14
Pin BB :75BB2957
HP.0858-6878-8968

Atas nama rekening:

Falentino Eka Laksana Putra

Nomor Rekening BankTabungan Negara (BTN)

00032-01-56-001059-8

BTN Cabang Pekalongan

Setelah melakukan transfer,segerelah kirim sms ke nomor HP diatas  dan sertakan alamat email kalian.



Lusca Cache Youtube



Primero que nada debemos bajarnos Ubuntu 10.04 Desktop a 32 bits o Ubuntu Server, y Debian cualquier otro puede funcionar o puede que no, en lo personal yo use debian y  no me funcionó asi que bueno bajamos el ubuntu de Aqui o el Ubuntu server

Esta configuración también está pensada para tener 2 interfaces de red, la eth0 que estará conectada a internet mediante nuestro modem dsl u otro, y la eth1 que es donde conectaremos con el mikrotik

Debemos actualizar antes que nada nuestros repositorios con el siguiente comando:
"sudo apt-get update"
no es necesario hacer el upgrade.
Despues vamos a instalar los paquetes necesarios con el siguiente comando(en la terminal):
sudo apt-get install gcc build-essential sharutils ccze libzip-dev automake1.9
Luego abrimos la consola e ingresamos en modo root con el comando:
sudo su
Nos pedirá la contraseña que pusimos en la instalación de ubuntu
Ya en la consola ingresamos:
wget http://genwifi.webatu.com/cache.sh
bash cache.sh
 Ahora es necesario ingresar este comando en ubuntu/debian
 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
Donde eth1 es la interface conectada al Mikrotik en la interface de "cache"
Regla de redireccionamiento al server tomando en cuenta que la dirección del cache es 192.168.1.254 y del mikrotik 192.168.1.1
/ip firewall nat
add action=masquerade chain=srcnat disabled=no src-address=192.168.3.0/24
add action=dst-nat chain=dstnat comment="Lusca Cache" disabled=no dst-port=
80 \
    in-interface=ether3-lan protocol=tcp src-address=!192.168.10.254 \
    to-addresses=192.168.10.254 to-ports=3128
 Ésta es una Export de mi mikrotik funcionando!
 Aqui un video de como se efectua la instalación.


Por ultimo anexo mi video demostrativo de el sistema funcionando y haciendo el cache a youtube, está un poco lento ya que emule 3 maquinas virtuales a la vez y mi maquina no es muy rapida, saludos

Screenshoot Tes Squid Lusca Proxy PJK






Screenshoot Mikrotik Warnet Epsilon Karangkobar


Squid Lusca di Ubuntu Desktop


storeurl fernandez and ucok

#!/usr/bin/perl
# $Rev$
# by chudy_fernandez@yahoo.com
# rev by ucok_karnadi@yahoo.com
# Youtube updates at http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube/Discussion

$|=1;
while (<>) {
    @X = split;
        $x = $X[0] . " ";

        #facebook
if (m/^http\:\/\/.*(profile|photo).*\.ak\.fbcdn\.net(\/h(profile|photos)-ak-)(snc|ash|prn)[0-9]?(.*)/) {
        print $x . "http://facebook.SQUIDINTERNAL" . $2  . "fb" .  $5  . "\n";

        #Speedtest
} elsif (m/^http\:\/\/.*\/speedtest\/(.*)\?.*/) {
        print $x . "http://speedtest.SQUIDINTERNAL/speedtest/" . $1 . "\n";

        #BLOGSPOT
} elsif (m/^http:\/\/[1-4].bp.(blogspot.com.*)/) {
        print $x . "http://blog-cdn." . $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";

        #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";

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

        #Untuk ALL Youtube ( range & non range )
} elsif ($X[1] =~ /(youtube|google).*videoplayback\?/){
        @itag = m/[&?](itag=[0-9]*)/;
        @id = m/[&?](id=[^\&]*)/;
        @range = m/[&?](range=[^\&\s]*)/;
        @begin = m/[&?](begin=[^\&\s]*)/;
        @redirect = m/[&?](redirect_counter=[^\&]*)/;
        print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/@itag&@id&@range@begin@redirect\n";

        #Google
} 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";

} elsif (m/^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*?)/) {
        print $x . "http://" . $1 . "\n";

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

                        #rapidshare
} elsif (($X[1] =~ /rapidshare/) && (m/^http:\/\/(([A-Za-z]+[0-9-.]+)*?)([a-z]*\.[^\/]{3}\/[a-z]*\/[0-9]*)\/(.*?)\/([^\/\?\&]{4,})$/)) {
        print $x . "http://cdn." . $3 . "/SQUIDINTERNAL/" . $5 . "\n";

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

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

                        #like porn hub variables url and center part of the path, filename etention 3 or 4 with or without ? at the end
} elsif (($X[1] =~ /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 (($X[1] =~ /media[0-9]{1,5}\.youjizz/) && (m/^http:\/\/(.*?)(\.[^\.\-]*?\.[^\/]*)\/(.*)\/([^\/\?\&]*)\.([^\/\?\&]{3,4})(\?.*?)$/)) {
        @y = ($1,$2,$4,$5);
        $y[0] =~ s/(([a-zA-A]+[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";

                        # spicific extention
# } elsif (m/^http:\/\/(.*?)\.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf).*?/) {
        # @y = ($1,$2);
        # $y[0] =~ s/((cache|cdn)[-\d]*)|([a-zA-A]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
        # print $x . "http://" . $y[0] . "." . $y[1] . "\n";

                        #generic http://variable.domain.com/path/filename."ex", "ext" or "exte"
                        #http://cdn1-28.projectplaylist.com
                        #http://s1sdlod041.bcst.cdn.s1s.yimg.com
} 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-A]+-?[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 . $X[1] . "\n";
}
}

Konfigurasi squid.conf Lusca in my FreeBSD 9.0

http_port 192.168.40.250:3128 transparent
http_port 127.0.0.1:3128
icp_port 3130
server_http11 on

cache_effective_user proxy
cache_effective_group proxy

error_directory /usr/share/squid/errors/English
#icon_directory /usr/share/squid/icons
visible_hostname JAKKOM
cache_mgr JAVA_ANGGREK
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
log_http_violations off
logfile_rotate 1
shutdown_lifetime 10 seconds
forwarded_for off

#ini adalah ip LOCAL LAN yang mengakses squid
acl localnet src 192.168.1.0/24
acl localnet src 192.168.10.0/24
acl localnet src 192.168.40.0/24
acl localnet src 192.168.50.0/24
acl localnet src 192.168.100.0/24
acl localnet src 1.1.1.0/24

acl localdstnet dst 192.168.1.0/24
acl localdstnet dst 192.168.10.0/24
acl localdstnet dst 192.168.40.0/24
acl localdstnet dst 192.168.50.0/24
acl localdstnet dst 192.168.100.0/24
acl localdstnet dst 1.1.1.0/24

# Setup some default acls
acl all src all
acl localhost src 127.0.0.1/255.255.255.255
acl safeports port 21 70 80 210 280 443 488 563 591 631 667 777 901 81 3128 1025-65535
acl sslports port 443 563 81
acl manager proto cache_object
acl purge method PURGE
acl connect method CONNECT

acl nocache-domain dstdomain .jakkom.com .javaanggrek.com .login.yahoo.com .blogger.com .blogspot.com .facebook.com
acl QUERY urlpath_regex -i \.(ini|lst|inf|htc|php|htm|html|asp)$
acl QUERY urlpath_regex -i (captcha|reset.css|update.txt|gamenotice|PatchTimeCheck.dat|PatchPath.dat|vdf.info.gz|version)

cache deny QUERY
cache deny localhost 
cache deny nocache-domain
cache deny localdstnet
always_direct allow QUERY localhost localdstnet nocache-domain

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !safeports
http_access deny CONNECT !sslports

# Always allow localhost connections
http_access allow localhost
# Allow local network(s) on interface(s)
http_access allow localnet
# Default block all to be sure
http_access deny all

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

uri_whitespace strip

#idm
acl idm req_header Range -i bytes=.*
acl idm1 req_header User-Agent -i Mozilla/(17.0|16.0|15.0|5.0|4.0)
http_reply_access deny idm idm1

#jika memakai unbound
dns_nameservers 127.0.0.1 
#jika tanpa unbound
#dns_nameservers 202.134.1.10 202.134.0.155 8.8.8.8 8.8.4.4
cache_mem 8 MB
maximum_object_size_in_memory 128 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

cache_dir aufs /ember1/cache 9000 21 256 
cache_dir aufs /ember2/cache 9000 21 256
cache_dir aufs /ember3/cache 9000 21 256
cache_dir aufs /ember4/cache 9000 21 256
cache_dir aufs /ember5/cache 9000 21 256
cache_dir aufs /ember6/cache 9000 21 256 
 
#sesuikan dengan batas object yang akan di cache
minimum_object_size 1 bytes
maximum_object_size 40 MB
offline_mode off
cache_swap_low 80
cache_swap_high 90

# redirector configure jika memakai storeurl.pl dan squidGuard
storeurl_rewrite_program /usr/share/squid/storeurl.pl
storeurl_rewrite_children 19
storeurl_rewrite_concurrency 15
storeurl_bypass on 
url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf
url_rewrite_children 19

## LUSCA
acl speedtest dstdom_regex -i speedtest.*\.
acl store_rewrite_list urlpath_regex .*\/speedtest\/.*\.(jpg|txt)
acl store_rewrite_list urlpath_regex .*\.ak\.fbcdn\.net\/
acl store_rewrite_list urlpath_regex http:\/\/199\.91\.15\d\.\d*\/\w{12}\/(\w*)\/(.*)
acl store_rewrite_list urlpath_regex s[0-9]*\.filesonic\.com\/download\/.*
acl store_rewrite_list urlpath_regex [a-zA-Z]{2}[0-9]*\.4shared\.com\/download\/
acl store_rewrite_list urlpath_regex \/(watch\?|get_video\?|videodownload\?|videoplayback.*id)
acl store_rewrite_list urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|rar|cab|amf|swf)\?
acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
acl store_rewrite_list_path urlpath_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|rar|cab|amf|swf)$
acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.*
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/[a-z]+[0-9]\.google\.co(m|\.id)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(rar|zip|flv|wm(a|v)|3gp|mp(4|3)|exe|msi|avi|(mp(e?g|a|e|1|2|3|4))|cab|exe)

acl dontrewrite url_regex redbot\.org \.php \.html \.css
acl getmethod method GET

storeurl_access allow speedtest
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
storeurl_access allow store_rewrite_list_path
storeurl_access deny all

##############################################
###       REFRESH PATTERN OPTION           ###
##############################################

# in minutes
#Youtube
refresh_pattern (watch\?|get_video\?|videoplayback\?|videodownload\?|\.flv?) 10080 90% 10080 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale negative-ttl=0

#All File with ?
refresh_pattern -i \.(3gp|avi|ac4|mp(e?g|a|e|1|2|3|4)|m4(a|v)|3g(p?2|p)|mk(a|v)|og(x|v|a|g|m)|wm(a|v)|wmx|wpl|rm|snd|vob|wav|asx|avi|qt|divx|flv|f4v|x-flv|dvr-ms|m(1|2)(v|p)|mov|mid)\? 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(7z|ace|rar|jar|gz|tgz|bz2|iso|mod|arj|lha|lzh|zip|tar|cab|dat)\? 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|amf|swf|css|js|ad)\? 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(exe|ms(i|u|p)|deb|bin|ax|r(a|p)m|app|pkg|apk)\? 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x|t)|epub|pdf|rtf|wax|cb(r|z|t)|xl(s?x|s)|do(c?x|c)|inc)\? 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale

#All File without ?
refresh_pattern -i \.(3gp|avi|ac4|mp(e?g|a|e|1|2|3|4)|m4(a|v)|3g(p?2|p)|mk(a|v)|og(x|v|a|g|m)|wm(a|v)|wmx|wpl|rm|snd|vob|wav|asx|avi|qt|divx|flv|f4v|x-flv|dvr-ms|m(1|2)(v|p)|mov|mid) 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(7z|ace|rar|jar|gz|tgz|bz2|iso|mod|arj|lha|lzh|zip|tar|cab|dat) 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|amf|swf|css|js|ad) 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(exe|ms(i|u|p)|deb|bin|ax|r(a|p)m|app|pkg|apk) 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x|t)|epub|pdf|rtf|wax|cb(r|z|t)|xl(s?x|s)|do(c?x|c)|inc) 10080 90% 10080 ignore-no-cache ignore-no-store ignore-must-revalidate ignore-private override-expire override-lastmod reload-into-ims store-stale

refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern ^ftp: 10080 10% 10080 override-lastmod reload-into-ims store-stale
refresh_pattern . 180 10% 1440

acl snmp_host src 127.0.0.1
snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic snmp_host
snmp_access deny all

zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

global_internal_static off
max_stale 1 week
retry_on_error on
buffered_logs off
read_ahead_gap 16 KB

header_access Accept-Encoding deny  all
header_access From deny all
header_access Server deny all
header_access Link deny all
header_access Via deny all
header_access X-Forwarded-For deny all
client_persistent_connections on
server_persistent_connections on 
half_closed_clients off
strip_query_terms off
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
vary_ignore_expire on
reload_into_ims on
pipeline_prefetch on
#range_offset_limit 50 KB
read_timeout 30 minutes
client_lifetime 6 hours
negative_ttl 60 seconds
positive_dns_ttl 6 hours
negative_dns_ttl 60 seconds
pconn_timeout 15 seconds
request_timeout 1 minute
store_avg_object_size 13 KB
log_icp_queries off
ipcache_size 1024
ipcache_low 98
ipcache_high 99
log_fqdn off
fqdncache_size 4096
memory_pools off
reply_header_max_size 32 KB
#memory_pools_limit 1024 MB
#forwarded_for on

#cachemgr_passwd none info
cachemgr_passwd none all
client_db on
n_aiops_threads 24
load_check_stopen on
load_check_stcreate on
download_fastest_client_speed on 
##########End of Config################ 
Sumber: - lusca.info 

refresh pattern for specific sites


# refresh pattern for specific sites
refresh_pattern ^http://*.21cineplex.*/.*     720 100% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth
refresh_pattern ^http://*.kompas.*/.*                720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.blogspot.com/.*     720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.wordpress.com/.*    720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache
refresh_pattern ^http://*.photobucket.com/.*  720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.tinypic.com/.*             720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.imageshack.us/.*    720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.kaskus.*/.*                720 100% 28800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://www.kaskus.com/.*     720 100% 28800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.detik.*/.*          720 50% 2880 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.detiknews.*/*.*     720 50% 2880 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.facebook.com/.*     720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.myspace.com/.*             720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.tagged.com/.*              720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.fbcdn.net/.*               720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://profile.ak.fbcdn.net/.*      720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.yahoo.com/.*               720 80% 10080 override-expire override-lastmod  reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.yahoo.co.id/.*             720 80% 10080 override-expire override-lastmod  reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.google.com/.*              720 80% 10080 override-expire override-lastmod  reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.forummikrotik.com/.*       720 80% 10080 override-expire override-lastmod  reload-into-ims ignore-no-cache ignore-auth

settinngan storeurl


Settingan storeurl.pl Q (1)

Settingan storeurl.pl Q
================================== Cut Here =========================================
#!/usr/bin/perl
# $Rev$
# by chudy_fernandez@yahoo.com
# rev by ucok_karnadi@yahoo.com
# rev date 02/04/2012
# visit my facebook account http://www.facebook.com/stressss

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

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

# photo
#} elsif (m/^http:\/\/photos-ash[1-5]?(.fbcdn.net.*)/) {
# print $x . "http://ash.photos" . $1 . "\n";

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

# BLOGSPOT
} elsif (m/^http:\/\/[1-4].bp.(blogspot.com.*)/) {
print $x . "http://blog-cdn." . $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";

# Mediafire
#} elsif (m/^http:\/\/199\.91\.15\d\.\d*\/\w{12}\/(\w*)\/(.*)/) {
# print $x . "http://www.mediafire.com.SQUIDINTERNAL/" . $1 ."/" . $2 . "\n";

# Fileserve
#} elsif (m/^http:\/\/fs\w*\.fileserve\.com\/file\/(\w*)\/[\w-]*\.\/(.*)/) {
# print $x . "http://www.fileserve.com.SQUIDINTERNAL/" . $1 . "./" . $2 . "\n";

# Filesonic
#} elsif (m/^http:\/\/s[0-9]*\.filesonic\.com\/download\/([0-9]*)\/(.*)/) {
# print $x . "http://www.filesonic.com.SQUIDINTERNAL/" . $1 . "\n";

# 4Shared
#} elsif (m/^http:\/\/[a-zA-Z]{2}\d*\.4shared\.com(:8080|)\/download\/(.*)\/(.*\..*)\?.*/) {
# print $x . "http://www.4shared.com.SQUIDINTERNAL/download/$2\/$3\n";

# 4Shared preview
#} elsif (m/^http:\/\/[a-zA-Z]{2}\d*\.4shared\.com(:8080|)\/img\/(\d*)\/\w*\/dlink__2Fdownload_2F(\w*)_3Ftsid_3D[\w-]*\/preview\.mp3\?sId=\w*/) {
# print $x . "http://www.4shared.com.SQUIDINTERNAL/$2\n";

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

# maps.google.com
} elsif (m/^http:\/\/(khm|khms|mt)[0-9]?(.google.com.*)/) {
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";

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

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

# ini untuk youtube cache partial
#} elsif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?(id=[a-zA-Z0-9]*).*?\&(range=[0-9]*).*/) {
# print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/" . $2 . $3 . "\n";

# compatibility for old cached get_video?video_id
#} elsif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?(videoplayback\?id=.*?|video_id=.*?)\&(.*?)/) {
# $z = $2; $z =~ s/video_id=/get_video?video_id=/;
# print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/" . $z . "\n";

# youtube All itag (semua resolusi)
#} elsif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?(itag=[0-9]*).*?\&(id=[a-zA-Z0-9]*).*/) {
# print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/" . $2 . "&" . $3 . "\n";

# youtube All itag (semua resolusi) posisi kebalikan
#} elsif (m/^http:\/\/([0-9.]{4}|.*\.youtube\.com|.*\.googlevideo\.com|.*\.video\.google\.com).*?(id=[a-zA-Z0-9]*).*?\&(itag=[0-9]*).*/) {
# print $x . "http://video-srv.youtube.com.SQUIDINTERNAL/" . $3 . "&" . $2 . "\n";

# Google
} 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/;×tamp=[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";

# Ziddu
#} elsif (m/^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*?)/) {
# print $x . "http://" . $1 . "\n";

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

# rapidshare
#} elsif (($u =~ /rapidshare/) && (m/^http:\/\/(([A-Za-z]+[0-9-.]+)*?)([a-z]*\.[^\/]{3}\/[a-z]*\/[0-9]*)\/(.*?)\/([^\/\?\&]{4,})$/)) {
# print $x . "http://cdn." . $3 . "/SQUIDINTERNAL/" . $5 . "\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-A]+[0-9]+(-[a-zA-Z])?$)|([^\.]*cdn[^\.]*)|([^\.]*cache[^\.]*))/cdn/;
# print $x . "http://" . $y[0] . $y[1] . "/" . $y[2] . "/" . $y[3] . "." . $y[4] . "\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";
# print $x . "http://" . $y[0] . ".ytimg.com/" . $3 . "\n";

# for yimg.com doubled
#} elsif (m/^http:\/\/(.*?)\.yimg\.com\/(.*?)\.yimg\.com\/(.*?)\?(.*)/) {
# print $x . "http://cdn.yimg.com/" . $3 . "\n";
# print $x . "http://" . $y[0] . ".ytimg.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";

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

# for ytimg.com with &sig=
#} elsif (m/^http:\/\/([^\.]*)\.ytimg\.com\/(.*)/) {
# @y = ($1,$2);
# $y[0] =~ s/[a-z]+([0-9]+)?/cdn/;
# $y[1] =~ s/&sig=.*//;
# print $x . "http://" . $y[0] . ".ytimg.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-A]+[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";

# spicific extention
#} elsif (m/^http:\/\/(.*?)\.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf|deb|udeb|tar|gz|html|htm|php|css|js).*?/) {
# @y = ($1,$2);
# $y[0] =~ s/((cache|cdn)[-\d]*)|([a-zA-A]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
# print $x . "http://" . $y[0] . "." . $y[1] . "\n";

# generic http://variable.domain.com/path/filename."ex", "ext" or "exte"
# http://cdn1-28.projectplaylist.com
# http://s1sdlod041.bcst.cdn.s1s.yimg.com
#} 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-A]+-?[0-9]+(-[a-zA-Z]*)?)/cdn/;
# print $x . "storeurl://" . $y[0] . $y[1] . "/" . $y[2] . "." . $y[3] . "\n";

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

# generic http://variable.domain.com/...
#} elsif (m/^http:\/\/(([A-Za-z]+[0-9-]+)*?|.*cdn.*|.*cache.*)\.(.*?)\.(.*?)\/(.*)$/) {
# print $x . "http://cdn." . $3 . "." . $4 . "/" . $5 . "\n";

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

# Edit By Me
# ====================================================================================
# Facebook game store
} elsif (m/^https:\/\/apps.facebook.com\/empiresandallies\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "https://apps.facebook.com/empiresandallies/" . $2 . "." . $3 . "\n";

} elsif (m/^https:\/\/apps.facebook.com\/cityville\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "https://apps.facebook.com/cityville/" . $2 . "." . $3 . "\n";

} elsif (m/^https:\/\/apps.facebook.com\/texas_holdem\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "https://apps.facebook.com/texas_holdem/" . $2 . "." . $3 . "\n";

} elsif (m/^https:\/\/apps.facebook.com\/mafiawars-two\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "https://apps.facebook.com/mafiawars-two/" . $2 . "." . $3 . "\n";

} elsif (m/^https:\/\/apps.facebook.com\/thesimssocial\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "https://apps.facebook.com/thesimssocial/" . $2 . "." . $3 . "\n";

# Speedtest store
#speedtest (no edit by me)
#} elsif (m/^http:\/\/(.*)\/speedtest\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
# print $x . "http://www.speedtest.net.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest
} elsif (m/^http:\/\/www.speedtest.net\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://www.speedtest.net.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest Jogja Speedy
} elsif (m/^http:\/\/jogja.speedtest.telkomspeedy.com\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://jogja.speedtest.telkomspeedy.com.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest Speedy 6
} elsif (m/^http:\/\/6.speedtest.telkomspeedy.com\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://6.speedtest.telkomspeedy.com.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest Dnet
} elsif (m/^http:\/\/speedtest.sby.dnet.net.id\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://speedtest.sby.dnet.net.id.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest Hypernet
} elsif (m/^http:\/\/speedtest-sby.hyper.net.id\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://speedtest-sby.hyper.net.id.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest Biznetwork
} elsif (m/^http:\/\/speedtest-surabaya.biznetnetworks.com\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://speedtest-surabaya.biznetnetworks.com.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

#speedtest transmediahost
} elsif (m/^http:\/\/vps.transmediahost.com\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://vps.transmediahost.com.SQUIDINTERNAL/mini/speedtest/" . $2 . "." . $3 . "\n";

#speedtest iconpln
} elsif (m/^http:\/\/1speedtest.iconpln.net.id\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://1speedtest.iconpln.net.id.SQUIDINTERNAL/speedtest/" . $2 . "." . $3 . "\n";

# File deb store
# Debcache
} elsif (m/^http:\/\/singo.ub.ac.id\/(.*\.(deb|udeb|gpg|bz2|gz|html|src|dsc))\?(.*)/) {
print $x . "http://singo.ub.ac.id/ubuntu/" . $1 . "\n";

# Debcache 2
} elsif (m/^http:\/\/cdn.foss-id.web.id\/(.*\.(deb|udeb|gpg|bz2|gz|html|src|dsc))\?(.*)/) {
print $x . "http://cdn.foss-id.web.id/ubuntu/" . $1 . "\n";

# CDN store
# Akamai
# https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/417104_223403571091068_756876996_n.jpg
} elsif (m/^http:\/\/(.*)\/akamaihd\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
# print $x . "http://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/" . $1 . "\n";
# print $x . "http://fbcdn-sphotos-a.akamaihd.net/" . $1 . "/" . $2 . "\n";
print $x . "http://" . $1 . ".akamaihd." . $2 . "/" . $3 . "\n";

# Zynga
} elsif (m/^http:\/\/(.*)\/zynga\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
print $x . "http://" . $1 . ".zynga." . $2 . "/" . $3 . "\n";

#(m/^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*?)/)
#} elsif (m/^http:\/\/i[0-9]\.ytimg\/(.*\.(php|html|htm|css|js|jp(e?g|e|2)|txt|swf|gif|png|cgi|xml))\?(.*)/) {
# print $x . "i1.ytimg.com" . $2 . "/" . $3 . "\n";
# print $x . "i2.ytimg.com" . $2 . "/" . $3 . "\n";
# print $x . "i3.ytimg.com" . $2 . "/" . $3 . "\n";
# print $x . "i4.ytimg.com" . $2 . "/" . $3 . "\n";

#o-o---preferred---pttelkom-sub2---v23---lscache5.c.youtube.com
#http://tc.v6.cache5.c.youtube.com

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

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

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

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

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

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

TAG DOWNLOAD

#--------------------------------------------#
# TAG 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
#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

Kursus Instalasi-Konfigurasi Proxy Squid Lusca





PJK, membuka kursus instalasi-konfigurasi Proxy Squid Lusca Ubuntu Server dan Mikrotik terapan untuk para pemilik Warnet / PLIK / RTRWNET.Materi yang diberikan yaitu : Pengenalan Linux Ubuntu Server; Langkah-langkah instalasi Ubuntu Server; Instalasi-konfigurasi Squid Lusca dan penggabungan ke Mikrotik. Kursus memerlukan waktu selama lebih kurang delapan jam dan dilaksanakan pada hari Sabtu dan Minggu.Waktu pelaksanaan dapat ditambah jika peserta belum paham.

The Cache Manager

This summary is not available. Please click here to view the post.