[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.
Post Reply
User avatar
bellec

Re: [HOT POOLLING]Apakah Youtube Error Lagi ?

Post 02 Jan 2014, 14:38

Selamat siang teman2 FUI semua
saya mencoba tut dibawah ini dengan UbunSer 12.04 dgn squid-2.7.STABLE9
http://ubuntu-indonesia.com/forums/ubbt ... Post132991
tapi efeknya ketika masuk login via keyboard langsung ke mesin Proxy dan memasukan password proxy tidak merespon tanpa indikasi balik ke layar login lagi

[spoiler]ubuntu-12-04-3-lts-ubuntu-tty1
login:root
password:[/spoiler]

kalau via remote bisa
kira2 dimana salahnya ? :confused:


User avatar
q_p
Contact:

Post 02 Jan 2014, 15:07

Link yang anda sertakan tidak lengkap penulisannya. Kalau mengacu pada nomer posting dalam link yang sertakan, yaitu posing number = Post132991 mengarah ke posing di bawah ini =
http://ubuntu-indonesia.com/forums/ubbt ... Post132991
yang membahas tentang log-rotate pada squid.

kalau kasus anda mengenai login yang gagal melalui keyboard (tty1) dan melalui remote, ada kemungkinan masalah pam-authentification. Coba anda baca2 trit ini pada bagian ujung http://ubuntu-indonesia.com/forums/ubbt ... Post140551


User avatar
bellec

Post 03 Jan 2014, 00:25

Ok mas Pragola_pati dgn mengikuti arahan di #Post140551 sudah normal lagi. Termakasih Mas :)

Satu lagi permasalahan sini Mas, saya mencoba menghapus log cache yang ada di direktori /var/log/squid/cache.log
(karna pernuh) dgn perintah
rm /var/log/squid/*.
tetapi terhapus seluruhya :grin: dan squid "ngambek" lagi :sick:
akhirnya dibuat lagi cache.log, accsses.log dll baru squid bisa running

bagaimana yg benar eksekusi perintah diatas mas ?
saya sudah mencoba tut ini
http://ubuntu-indonesia.com/forums/ubbt ... Post132991
tapi tidak ada perbahan ke /var/log/squid (dlm 2 jam selalu penuh dgn log cache)


User avatar
q_p
Contact:

Post 03 Jan 2014, 14:49

Ini menggunakan storeurl yang mana. Jika masih menggunakan refererlog, konsekuensi-nya memang log jadi cepat bengkak.
  1. logrotate pada squid config di minimasi.
  2. log yag tidak diperlukan, hilangkan dari konfig
  3. pakai storeurl versi terakhir.


User avatar
bellec

Post 03 Jan 2014, 16:30

storeurl.pl yang ini mas, backup dari UbunSer 11.10
[spoiler]#!/usr/bin/perl
# $Rev$
# by chudy_fernandez@yahoo.com
# rev by ucok_karnadi@yahoo.com
# Youtube updates at http://wiki.squid-cache.org/ConfigExamp ... Discussion

# http://www.facebook.com/stressss

$|=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";

#reverbnation
} elsif (m/^http:\/\/[a-z0-9]{4}\.reverbnation\.com\/.*\/([0-9]*).*/) {
print $x . "http://reverbnation.com.SQUIDINTERNAL/" . "$1" . "\n";

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

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

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

# for ALL Youtube ( range & non range )
# first you need do this
# install package dependencies "apt-get install libfile-readbackwards-perl"
# add line below to your squid config and remove "#"

# strip_query_terms off
# acl yutub url_regex -i .*youtube\.com\/.*$
# acl yutub url_regex -i .*youtu\.be\/.*$
# logformat squid1 %{Referer}>h %ru
# access_log /var/log/squid/yt.log squid1 yutub
# acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
# acl redirec urlpath_regex -i .*&ir=1&rr=12
# cache deny redirec
# acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
# acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$
# storeurl_access deny reddeny

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

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


sub GetID
{
$id = "";
use File::ReadBackwards;
my $lim = 200 ;
my $ref_log = File::ReadBackwards->new('/var/log/squid/yt.log');
while (defined($line = $ref_log->readline))
{
if ($line =~ m/.*youtube.*\/watch\?.*v=([a-zA-Z0-9\-\_]*).*\s.*id=$IDS[0].*/){
$id = $1;
last;
}
if ($line =~ m/.*youtube.*\/.*cpn=$CPN[0].*[&](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*/){
$id = $2;
last;
}
if ($line =~ m/.*youtube.*\/.*[&?](video_id|docid|v)=([a-zA-Z0-9\-\_]*).*cpn=$CPN[0].*/){
$id = $2;
last;
}
last if --$lim close();
return $id;
}[/spoiler]

dan untuk squid.conf masih pake yg di server lama ( UbunSer 11.10)
stlh dimasukan ke UbunSer 12.04 LTS refresh_pattern selain default tidak dikenali

[spoiler]strip_query_terms off
acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
logformat squid1 %{Referer}>h %ru
access_log /var/log/squid/yt.log squid1 yutub
acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
acl redirec urlpath_regex -i .*&ir=1&rr=12
cache deny redirec
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$
storeurl_access deny reddeny

http_port 3128 transparent
strip_query_terms off
cache_mem 8 MB
server_http11 on
maximum_object_size_in_memory 1 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
maximum_object_size 256 MB
cache_swap_low 90%
cache_swap_high 95%

cache_dir aufs /cache1 44500 64 256
cache_dir aufs /cache2 44500 64 256
cache_dir aufs /cache3 44500 64 256
cache_dir aufs /cache4 44500 64 256
cache_dir aufs /cache5 44500 64 256
cache_dir aufs /cache6 44500 64 256
cache_dir aufs /cache7 44500 64 256


access_log /var/log/squid/access.log
#cache_log /dev/null
cache_log /var/log/squid/cache.log
cache_store_log /dev/null

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl purge method PURGE
acl CONNECT method CONNECT

acl advertise url_regex -i "/etc/squid/ads.block"
deny_info http://lusca.indolini.org/fill.png advertise
http_access deny advertise

acl yutub url_regex -i .*youtube\.com\/.*$
acl yutub url_regex -i .*youtu\.be\/.*$
acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes
acl redirec urlpath_regex -i .*&ir=1&rr=12
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$

acl bokep url_regex "/etc/squid/block.txt"
acl nocache_site url_regex -i "/etc/squid/nocache_site.txt"
cache deny nocache_site
acl all src 0.0.0.0/0
acl jaringan src 192.168.0.0/16
acl jaringan src 172.16.0.0/12
acl jaringan src 10.0.0.0/8

http_access deny bokep
http_access allow manager
http_access allow localhost
http_access allow purge localhost
http_access deny purge
http_access allow jaringan
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all

#acl thunder_lst url_regex -i "/etc/thunder/thunder.lst"
#cache deny thunder_lst
#cache_peer 172.16.10.1 parent 8080 0 proxy-only no-digest
#dead_peer_timeout 2 seconds
#cache_peer_access 172.16.10.1 allow thunder_lst
#cache_peer_access 172.16.10.1 deny all

#include /etc/squid/tc3.conf

#snmp_port 3401
#acl snmppublic snmp_community public
#snmp_access allow snmppublic all

#######################################
acl store_rewrite_list urlpath_regex \/(get_video|videoplayback\?id|videoplayback.*id) \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list_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|avc|zip|mp3|3gp|rar|on2|mar|exe)$
acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? photos-[a-z].ak.fbcdn.net \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.* yieldmanager cpxinteractive ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com

acl videocache_allow_url url_regex -i \.youtube\.com\/get_video\?
acl videocache_allow_url url_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/get_video\?
acl videocache_allow_url url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/get_video\?
########
acl videocache_allow_url url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.range\.[a-z][a-z]\/get_video\?
acl videocache_allow_url url_regex -i \.googlevideo\.com\/videoplayback \.googlevideo\.com\/videoplay \.googlevideo\.com\/get_video\?
acl videocache_allow_url url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\?
acl videocache_allow_url url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\?
acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\?
acl videocache_allow_url url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl videocache_allow_url url_regex -i vid\.akm\.dailymotion\.com\/
acl videocache_allow_url url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl videocache_allow_url url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
acl videocache_allow_url url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl videocache_allow_url url_regex -i \.files\.youporn\.com\/(.*)\/flv\/
acl videocache_allow_url url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl videocache_allow_url url_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ www\.tube8\.com\/(.*)\/
acl videocache_allow_url url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl videocache_allow_url url_regex -i \.video[a-z0-9]?[a-z0-9]?\.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram)
acl videocache_allow_url url_regex -i video\.break\.com\/(.*)\.(flv|mp4)
acl videocache_allow_dom dstdomain .mccont.com .metacafe.com .redtube.com .cdn.dailymotion.com

acl dontrewrite url_regex redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*begin\=[1-9][0-9]*
acl getmethod method GET

storeurl_access allow videocache_allow_url
storeurl_access allow videocache_allow_dom

storeurl_access deny reddeny
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 deny all
storeurl_rewrite_program /etc/squid/storeurl.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10


refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 40% 40320

via off
header_access From deny all
header_access Server deny all
header_access WWW-Authenticate deny all
header_access Link deny all
header_access Cache-Control deny all
header_access Proxy-Connection deny all
header_access X-Cache deny all
header_access X-Cache-Lookup deny all
header_access Via deny all
header_access Forwarded-For deny all
header_access X-Forwarded-For deny all
header_access Pragma deny all
header_access Keep-Alive deny all
forwarded_for off

max_filedescriptors 65536
fqdncache_size 4096
ipcache_low 98
ipcache_high 99
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
shutdown_lifetime 5 seconds
memory_pools off
buffered_logs off
log_icp_queries off
logfile_rotate 1
log_fqdn off
forwarded_for off
icp_hit_stale on
query_icmp on
reload_into_ims on
emulate_httpd_log off
negative_ttl 2 minutes
pipeline_prefetch on
vary_ignore_expire on
half_closed_clients off
##high_page_fault_warning 2
nonhierarchical_direct on
prefer_direct off
cache deny redirec
cache_mgr proxy
cache_effective_user proxy
cache_effective_group proxy
visible_hostname proxy
unique_hostname proxy
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136[/spoiler]
Untuk storeurl V terakhir saya tidak tahu dimana mengambilnya Mas :)
Mohon bimbingan Mas !

Setelah saya coba storeurl yang baru
http://ubuntu-indonesia.com/forums/ubbt ... Post144264

dan coba masukan refresh_pattern masih tidak bisa

[spoiler]root@proxy:~# squid -k parse
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|\.flv?)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?|videodownload\?|\.flv?)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '(get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'windowsupdate.com/.*\.(cab|exe)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'windowsupdate.com/.*\.(cab|exe)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'update.microsoft.com/.*\.(cab|exe)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'update.microsoft.com/.*\.(cab|exe)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'download.microsoft.com/.*\.(cab|exe)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'download.microsoft.com/.*\.(cab|exe)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.facebook.com.*\.(jpg|png|gif)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.facebook.com.*\.(jpg|png|gif)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.fbcdn.net.*\.(jpg|gif|png|swf|mp3)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.fbcdn.net.*\.(jpg|gif|png|swf|mp3)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '^http:\/\/apps.facebook.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '^http:\/\/apps.facebook.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.zynga.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.zynga.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.zynga.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.farmville.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.farmville.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.farmville.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.ninjasaga.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.ninjasaga.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.ninjasaga.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.mafiawars.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.mafiawars.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.mafiawars.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.crowdstar.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.crowdstar.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.crowdstar.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.popcap.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.popcap.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.popcap.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.cityville.com.*\/': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.cityville.com.*\/': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.cityville.com.*\/': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)': store-stale
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)': ignore-no-store
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)': ignore-must-revalidate
2014/01/03 18:07:38| parse_refreshpattern: Unknown option '\.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)': store-stale
root@proxy:~#[/spoiler]

mohon bantuan master dan maaf kalau saya selalu tidak paham dan telan mentah mentah yg ad di FUI ini :grin:


User avatar
q_p
Contact:

Post 03 Jan 2014, 18:30

Lihat lagi mulai halaman 93, download lampiran storeurl tsb di halaman itu atau ada juga di halaman 1.


User avatar
bellec

Post 03 Jan 2014, 19:50

sudah saya lakukan mas, tapi kok refresh_pattern masih tidak bisa mas, seperti tampilan di atas, refresh_pattern yg sy masukan seperti ini
[spoiler]refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale

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

refresh_pattern -i \.facebook.com.*\.(jpg|png|gif) 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3) 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale

refresh_pattern ^http:\/\/apps.facebook.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.zynga.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.farmville.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.ninjasaga.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.mafiawars.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.crowdstar.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.popcap.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.cityville.com.*\/ 10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale


refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv) 43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern ^ftp: 10080 95% 241920 override-lastmod reload-into-ims store-stale
refresh_pattern . 180 95% 120960 override-lastmod reload-into-ims store-stale[/spoiler]
tapi "Unknown option"


User avatar
GongLang
Contact:

Post 04 Jan 2014, 07:27

Gimana Mas jika saya buat seperti ini

Code: Select all

acl xshot dstdomain .winnerinter.com
range_offset_limit -1 KB xshot

Apakah berpengaruh atau hanya sesuai ACL Xshot yang berfungsi untuk function "range_offset_limit" ???

Thanks :)


User avatar
q_p
Contact:

Post 04 Jan 2014, 16:43

Pada baris terakhir coba tambahkan

[font:Courier New][size:8pt]acl xshot dstdomain .winnerinter.com
acl xshot_dst dst ip-xshot ##ganti dengan ip-xshot kalau pakai ip-juga
range_offset_limit -1 KB xshot
range_offset_limit -1 KB xshot_dest
range_offset_limit 64 KB[/size][/font]


User avatar
Bandi_Shippuden
Contact:

Post 07 Jan 2014, 07:10

Youtube udah gak bisa di cache lagi ya ?


User avatar
cah_clacap
Contact:

Post 07 Jan 2014, 18:52

punya sy juga rada ngadat buat browsing ...... apakah yg terjadi di awal tahun ini ???


User avatar
ockie
Contact:

Post 08 Jan 2014, 12:47

om mau tanya dong...

lokasi error dir untuk squid dmn yah..

saya mau mengubah display apabila terjadi pesan error proxy..

yg baisanya letak nya ERR_DIR...

- dan di squid.conf itu namanya apa yah,biar bisa di rubah display peringatan untuk mengubah tampilan depan proxy..

-mau tanya,kalau mau lihat isi cache gmn yah,dan sudah full atau belum nya cache yg kita punya..

pemula banget make ubuntu 12.04


User avatar
cah_clacap
Contact:

Post 08 Jan 2014, 21:55

ockie wrote:om mau tanya dong...

lokasi error dir untuk squid dmn yah..

saya mau mengubah display apabila terjadi pesan error proxy..

yg baisanya letak nya ERR_DIR...

- dan di squid.conf itu namanya apa yah,biar bisa di rubah display peringatan untuk mengubah tampilan depan proxy..

-mau tanya,kalau mau lihat isi cache gmn yah,dan sudah full atau belum nya cache yg kita punya..

pemula banget make ubuntu 12.04
=========================


jangan merendah mas ...... mas pasti lebih jago dr sy ...sy masih junior


# melihat isi cache
# df -l


User avatar
sentulmania

Post 08 Jan 2014, 22:18

# buat yg default acces.log nya di /var/log/squid
# pake yg ini yah kl yg default nya....kl saya punya partisi log
nya saya buat tersendiri lagi


04 06 * * * /bin/rm -rf /var/log/squid/*.0


User avatar
sentulmania

Post 08 Jan 2014, 22:22

/usr/share/squid/errors/English


User avatar
sentulmania

Post 08 Jan 2014, 22:24

error_directory /usr/share/squid/errors/English


User avatar
sentulmania

Post 08 Jan 2014, 22:38

01 06 * * * /usr/sbin/squid -k rotate
04 06 * * * /bin/rm -rf /squid-log/*.0


penjelasan sedikit bagi yang kurang paham

/usr/sbin/squid #lokasi untuk menjalankan aplikasi squid
/bin/rm-rf/squid-log/ #lokasi access.log squid biasa defaultnya di /var/log/squid

bagi yang default ganti jadi ini
04 06 * * * /bin/rm -rf /var/log/squid/*.0


User avatar
sentulmania

Post 08 Jan 2014, 22:48

sedikit info lagi DNS speedy dan google sekarang sudah lambat resolv nya....untuk mengatasi hal ini ada baiknya install DNS-local
seperti unbound,bind,dll

jika punya dns local maka tambahkan dns local di mikrotik urutan paling atas
sekalian di proxy nya kasi dns local urutan pertama jg

file2 apa aja yg ditambahkan dns local:
- nano /etc/network/interfaces
- nano /etc/resolv.conf
- nano /etc/squid/squid.conf

semua DNS local prioritas pertama yahhhhh


User avatar
sentulmania

Post 08 Jan 2014, 22:50

saran saya sih DNS local jangan di gabung 1 mesin sama squid ubuntu
cari aja PC bekas P3/P4 untuk jadi DNS local
HDD yg kecil aja....terus memory 1 gb aja cukup kl utk warnet


User avatar
sentulmania

Post 08 Jan 2014, 22:56

bellec wrote:Selamat siang teman2 FUI semua
saya mencoba tut dibawah ini dengan UbunSer 12.04 dgn squid-2.7.STABLE9
http://ubuntu-indonesia.com/forums/ubbt ... Post132991
tapi efeknya ketika masuk login via keyboard langsung ke mesin Proxy dan memasukan password proxy tidak merespon tanpa indikasi balik ke layar login lagi

[spoiler]ubuntu-12-04-3-lts-ubuntu-tty1
login:root
password:[/spoiler]

kalau via remote bisa
kira2 dimana salahnya ? :confused:


pada saat tunning kernel squid anda pake yg ini kan

echo "session required pam_limits.so" >> /etc/pam.d/common-session
echo "session required /lib/security/pam_limits.so" >> /etc/pam.d/login

buka file /etc/pam.d/login
terus hapus /lib/security/pam_limit.so

buka file /etc/pam.d/common-session
terus hapus pam_limits.so


User avatar
sentulmania

Post 08 Jan 2014, 23:05

q_p wrote:[size:17pt]logfile_rotate[/size] Ternyata jika kita melakukan upil2 squid, opsi logfile_rotate tidak secara otomatis masuk kedalam logrotate system Ubuntu yaitu yang terletak di dir /etc/logrotate.d. Untuk memasukkan-nya ke dalam logrotate system =

Code: Select all

# nano /etc/logrotate.d/squid
Masukkan skrip di bawah ini =

Code: Select all

/var/log/squid/access.log /var/log/squid/yt.log {
        daily
        rotate 1
        copytruncate
        compress
        notifempty
        missingok
}
Lalu jalankan CLI

Code: Select all

# /usr/sbin/logrotate -vf /etc/logrotate.d/squid
###atau###
# logrotate -vf /etc/logrotate.d/squid
Di tempat saya outputnya seperti di bawah ini =
root@warnetersa:/etc/logrotate.d# logrotate -vf /etc/logrotate.d/squid
reading config file /etc/logrotate.d/squid
reading config info for /var/log/squid/access.log /var/log/squid/yt.log

Handling 1 logs

rotating pattern: /var/log/squid/access.log /var/log/squid/yt.log forced from command line (1 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/squid/access.log
log needs rotating
considering log /var/log/squid/yt.log
log needs rotating
rotating log /var/log/squid/access.log, log->rotateCount is 1
dateext suffix '-20130423'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
renaming /var/log/squid/access.log.1.gz to /var/log/squid/access.log.2.gz (rotatecount 1, logstart 1, i 1),
renaming /var/log/squid/access.log.0.gz to /var/log/squid/access.log.1.gz (rotatecount 1, logstart 1, i 0),
old log /var/log/squid/access.log.0.gz does not exist
copying /var/log/squid/access.log to /var/log/squid/access.log.1
truncating /var/log/squid/access.log
compressing log with: /bin/gzip
removing old log /var/log/squid/access.log.2.gz
rotating log /var/log/squid/yt.log, log->rotateCount is 1
dateext suffix '-20130423'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
renaming /var/log/squid/yt.log.1.gz to /var/log/squid/yt.log.2.gz (rotatecount 1, logstart 1, i 1),
renaming /var/log/squid/yt.log.0.gz to /var/log/squid/yt.log.1.gz (rotatecount 1, logstart 1, i 0),
old log /var/log/squid/yt.log.0.gz does not exist
copying /var/log/squid/yt.log to /var/log/squid/yt.log.1
truncating /var/log/squid/yt.log
compressing log with: /bin/gzip
removing old log /var/log/squid/yt.log.2.gz
Jika kita periksa isi dari dir log =

Code: Select all

root@warnetersa:/etc/logrotate.d# ls -lah /var/log/squid
total 26M
drwxrwxrwx  2 proxy proxy 4,0K 2013-04-23 05:01 .
drwxr-xr-x 24 root  root  4,0K 2013-04-22 06:37 ..
-rw-r-----  1 proxy proxy    0 2013-04-23 05:01 access.log
-rw-r-----  1 proxy proxy 9,5K 2013-04-23 05:01 access.log.1.gz
-rw-r-----  1 proxy proxy  12M 2013-04-23 04:57 swap.state.00
-rw-r-----  1 proxy proxy  14M 2013-04-23 04:01 swap.state.01
-rw-r-----  1 proxy proxy    0 2013-04-23 05:01 yt.log
-rw-r-----  1 proxy proxy 7,1K 2013-04-23 05:01 yt.log.1.gz
Tags yang berhubungan dengan log, yang saya pakai di squid.conf =
access_log /var/log/squid/yt.log squid1 yutub
cache_swap_log /var/log/squid/swap.state
cache_access_log /var/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null
logfile_rotate 0



kl yg ini terlalu ribet bro....
logfile_rotate 1 #file rotate log yg terbentuk hanya 1 ( access.log.0)
tambahkan ini di crontab -e
01 06 * * * /usr/sbin/squid -k rotate
04 06 * * * /bin/rm -rf /var/log/squid/*.0


User avatar
sentulmania

Post 08 Jan 2014, 23:15

q_p wrote:Pada baris terakhir coba tambahkan

[font:Courier New][size:8pt]acl xshot dstdomain .winnerinter.com
acl xshot_dst dst ip-xshot ##ganti dengan ip-xshot kalau pakai ip-juga
range_offset_limit -1 KB xshot
range_offset_limit -1 KB xshot_dest
range_offset_limit 64 KB[/size][/font]




sepengetahuan saya "range_offset_limit 64 KB" squid hanya mencache sebesar 64kb untuk partial content/206
sementara file update xshot > 100mb


jika "range_offset_limit -1" squid akan mencache smua,akan tetapi kita cancel yg di download/update sebelum selesai..squid tetap akan mendownload sampai selesai...
kl dilihat dari mikrotik user tidak nampak download karena uda di cancel,yg terlihat proxy yg download

saran saya sih pada saat mau update ganti jadi
range_offset_limit -1

setelah selesai update ganti jadi
range_offset_limit 0

sayang bandwith terbuang hanya karena client membatalkan update/download..


User avatar
dja

Post 09 Jan 2014, 22:13

kemarin kayanya pernah lihat posting tentang Rendered https to http ,, dipage nomer berapa ya all? :-)


User avatar
cah_clacap
Contact:

Post 10 Jan 2014, 15:18

yutub sudah mulai rewel lg nih ????


User avatar
dja

Post 10 Jan 2014, 21:54

cah_clacap wrote:yutub sudah mulai rewel lg nih ????
rewel gimana lg mas??


User avatar
cah_clacap
Contact:

Post 12 Jan 2014, 09:42

dja wrote:
cah_clacap wrote:yutub sudah mulai rewel lg nih ????
rewel gimana lg mas??
===========================================

kalo dipake standar yutub slalu ganti resolusi ....... jadi ngadat terusss...


User avatar
cah_clacap
Contact:

Post 12 Jan 2014, 09:42

standar = ga pake add on atau apalah yg sejenisnya = apa adanya


User avatar
cah_clacap
Contact:

Post 13 Jan 2014, 20:56

Wat All: maaf OOT

mau tanya blog/artikel mana ya yg bisa dijadikan referensi utk pembagian game Point Blank dan Yutub agar si Yutub lancar dan si PB tidak lag ....


yg punya referensi tolongin bantu sya


User avatar
SegaNdog

Post 17 Jan 2014, 21:51

Youtube belum rewel lagi
cah_clacap wrote:yutub sudah mulai rewel lg nih ????

Youtube belum bermasalah mas


User avatar
uve

Post 18 Jan 2014, 00:05

cah_clacap wrote:Wat All: maaf OOT

mau tanya blog/artikel mana ya yg bisa dijadikan referensi utk pembagian game Point Blank dan Yutub agar si Yutub lancar dan si PB tidak lag ....


yg punya referensi tolongin bantu sya
maen di mangle mikrotik om?
port nya dan di queue om...
sorry klo OOT
mklum NEWBIE


User avatar
tyoke

Post 19 Jan 2014, 10:08

dah lengkap sekali itu


User avatar
sahana

Post 20 Jan 2014, 17:52

kebacanya ip public
dan di http://www.whatismyip.com/

Ada sebuah situs pencarian ip serupa yang disebut IP-Details.com untuk memeriksa alamat ip eksternal kita. Di sini menampilkan alamat IP, ISP, Lokasi, Negara dan sebagainya, ...


User avatar
cah_clacap
Contact:

Post 20 Jan 2014, 19:26

sahana wrote:
kebacanya ip public
dan di http://www.whatismyip.com/

Ada sebuah situs pencarian ip serupa yang disebut IP-Details.com untuk memeriksa alamat ip eksternal kita. Di sini menampilkan alamat IP, ISP, Lokasi, Negara dan sebagainya, ...
+++++++++++++++++++++++++++++++++++++++++++++++++++

thank's brother ....... telah melengkapi .....


User avatar
w3l3h

Post 27 Jan 2014, 06:17

mudah2an gak salah posting :)
mohon bantuan dan perbaikan dari rekan2,

pada logfile terbaca kegagalan cache dari web berikut, dan saya bermaksud untuk memasukkannya ke dalam storeurl.pl

192.168.1.111 - - [25/Jan/2014:04:24:22 +0700] "GET http://content2.steampowered.com/depot/571/chunk/6c8352d65f5388d6f439322c0cd7d5084e6e28f5?etime=1391203449&h=061dc96b89c6ff0690594 HTTP/1.1" 200 76618 TCP_MISS:DIRECT
192.168.1.111 - - [25/Jan/2014:04:24:22 +0700] "GET http://content1.steampowered.com/depot/571/chunk/21f5d051523df788ac70e45668a93ddcb96d151d?p=43&e=1391203425&h=942c06b80e7565d64d541f9f26bde7ca HTTP/1.1" 200 28851 TCP_MISS:DIRECT
192.168.1.111 - - [25/Jan/2014:04:24:25 +0700] "GET http://content7.steampowered.com/depot/571/chunk/d25be7a4dfd6f54aeaef049b3204cdd3a25c2974?token=exp=1391203436%7Eacl=/depot/571/*%7Ehmac=7b93f609cb810cb37fe76ec043faaea44cf52f04 HTTP/1.1" 302 420 TCP_MISS:DIRECT

yang saya tuliskan di squid.conf acl dan refresh_pattern :
acl store_rewrite_list_domain url_regex -i \content[1-9]\.steampowered\.com/(.*)
refresh_pattern -i \content[1-7]\.steampowered\.com\/(.*)\/ 2880 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
pada setoran_url saya tuliskan :
} elsif ($X[1] =~ m/^http\:\/\/content[1-7]*\.steampowered\.com\/(.*)/) {
print $x . "storeurl://steampowered.SQUIDINTERNAL/" . $1 . "\n";
tapi seluruh-nya berstatus TCP_MISS.

mohon review dan perbaikannya.


User avatar
Widya
Contact:

Post 04 Feb 2014, 20:35

Selain Pakai Add On bisa ngak bang https nya tersimpan di proxy>?


User avatar
Awanzse

Post 11 Feb 2014, 17:36

q_p wrote:[size:20pt]TestDrive[/size]

Buat warga FUI yang masih ter-kendala, silahkan merujuk ke sini. Bagi yang sudah sukses meng-konfigurasi, silahkan kalau mau mencoba. Intinya, storeurl kreasi mas SJW sudah saya coba di mesin dengan topologi di bawah ini. It's work, itulah hasilnya. Tolong dicermati, jangan asal kopas please ... :D

[size:17pt]topologi[/size]

Image

[size:17pt]spek mesin[/size]
spek mesin
[html] � AMD Phenom II X4
� Motherboard ECS A780LM-M2
� 2 keping RAM Kingstones @ 4 GB
� 2 keping LAN Card (plus 1 internal LAN)
� 4 kotak HDD = � 1 HDD ATA 40 GB untuk System Server
� 1 HDD SATA 40 GB untuk Proxy Server (20 GB Used)
� 1 HDD SATA 80 GB untuk Proxy Server (20 GB Used)
� 1 HDD SATA 500 GB untuk Data Storage Server
� 1 kotak Power Supply PhenomRX KingSnake 500 watts
� 3 buah kipas pendingin
� OS Ubuntu Server 10.04.4 LTS LucidLynx (2.6.32-44-server #97-Ubuntu SMP x86_64 GNU/Linux) dijejali dengan :
> LAMP Server > Samba-CUPS Server
> DHCP Server > DNS Server (Unbound)
> NTP Server > squid 2.7.9 dynamic_contents patched
> squidGuard > WebHTB, CLAMAV dan HAVP
> WordPress > FTP-Server[/html]
[size:17pt]partisi hdd[/size]
partisi HDD

Code: Select all

Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda5              8,9G   1,3G   7,2G  16% /		#file system
/dev/sda1              1,1G   145M   883M  15% /boot		#file system
/dev/sda6              8,9G   1,5G   7,0G  18% /usr		#file system
/dev/sda7              9,9G   2,3G   7,1G  25% /var		#file system
/dev/sda8              8,9G   368M   8,1G   5% /usr/local	#file system
/dev/sdb5              101G   4,1G    97G   5% /home/share 	# Samba File/Folder sharing
/dev/sdb6              394G   372G   2,7G 100% /home/share_4	# FTP Server
/dev/sdc5               20G    16G   4,6G  78% /proxy_1		# cache_dir
/dev/sdd5               21G    16G   5,5G  74% /proxy_2		# cache_dir
/dev/sdc6               60G   8,7G    48G  16% /home/share_3	# tempat nyimpan koleksi *.iso
/dev/sdd6               19G   862M    17G   5% /home/share_2	# tempat BackUp
/dev/loop0             102M   8,4M    88M   9% /var/spool/havp
[size:17pt]build configuration[/size]
build configuration
Squid Cache: Version 2.7.STABLE9
configure options: '-prefix=/usr' '-exec-prefix=/usr' '-bindir=/usr/sbin' '-sbindir=/usr/sbin' '-libexecdir=/usr/lib/squid' '-sysconfdir=/etc/squid' '-localstatedir=/var/spool/squid' '-datadir=/usr/share/squid' '--enable-gnuregex' '--enable-async-io=24' '--with-aufs-threads=24' '--with-pthreads' '--with-aio' '--with-dl' '--enable-storeio=aufs,null' '--enable-removal-policies=heap' '--enable-icmp' '--enable-delay-pools' '--disable-wccp' '--enable-snmp' '--enable-cache-digests' '--enable-default-err-language=English' '--enable-err-languages=English' '--enable-linux-netfilter' '--disable-ident-lookups' '--with-maxfd=65535' '--enable-follow-x-forwarded-for' '--enable-large-cache-files' '--with-large-files' '--enable-referer-log' 'CFLAGS=-march=amdfam10 -O2 -pipe'
[size:17pt]file squid.conf[/size]
file squid.conf

Code: Select all

#FPUI
# storeurl release using r25

#baris di bawah ini u/ antivirus HAVP (comment-out jika tdk pakai HAVP)
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default

http_port 3128 transparent
server_http11 on
icp_port 0

include /etc/squid/acl.conf

#baris di bawah ini u/ squidGuard (comment-out jika tdk pakai squiGuard)
url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf

storeurl_rewrite_program /etc/squid/r25.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10

include /etc/squid/tune.conf

#baris di bawah ini mohon disesuaikan dengan path cache_dir anda
cache_dir aufs /proxy_1 15000 32 256 min-size=0         max-size=8388607
cache_dir aufs /proxy_2 15000 32 256 min-size=8388608   max-size=67108864

#path log di bawah ini mohon di receck pada saat Anda build squid
icon_directory /usr/share/squid/icons
cache_swap_log /var/log/squid/swap.state
cache_access_log /var/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null
pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
mime_table /etc/squid/mime.conf
logformat squid1 %{Referer}>h %ru
access_log /var/log/squid/yt.log squid1 yutub

include /etc/squid/refresh_pattern.conf

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

cache_effective_user proxy
cache_effective_group proxy
cache_mgr FPUI
cachemgr_passwd none all
visible_hostname localhost
#end of file
[size:17pt]file acl.conf[/size]
acl.conf

Code: Select all

#FPUI
# acl.conf r25

acl yutub url_regex -i .*youtube\.com\/.*$	#Harus ada jika pakai r25
acl yutub url_regex -i .*youtu\.be\/.*$		#Harus ada jika pakai r25

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/32
acl localnet src 192.168.0.0/24			#Mohon disesuaikan dg jaringan Anda
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32

acl SSL_ports port 443 563 873 			# https snews rsync 
acl Safe_ports port 80 20 21 221 70 210 1025-65535 631 10000 901 280 488 591 777 873 110 995 25 587 995 2095 2096 2082 2083 18901-18909 			# default 
acl manager proto cache_object
acl purge method PURGE
acl CONNECT method CONNECT

# Don't upgrade ShoutCast responses to HTTP
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
# Apache mod_gzip and mod_deflate known to be broken so don't trust Apache to signal ETag correctly on such responses
acl apache rep_header Server ^Apache

acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes	#Harus ada jika pakai r25
acl redirec urlpath_regex -i .*&ir=1&rr=12				#Harus ada jika pakai r25

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

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|pkg)\?
acl store_rewrite_list_path urlpath_regex \.(3gp|mp(3|4)|flv|(m|f)4v|on2|fid|avi|mov|wm(a|v)|(mp(e?g|a|e|1|2))|mk(a|v)|jp(e?g|e|2)|gif|png|tiff?|bmp|tga|svg|ico|swf|exe|ms(i|u|p)|cab|psf|mar|bin|z(ip|[0-9]{2})|r(ar|[0-9]{2})|7z|pkg)$
acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?(.google.com.*)/)
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 ^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/)
acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* 
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) 
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/i[1-9]{3}(.photobucket.com.*)/)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/i[1-9]{4}(.photobucket.com.*)/)
acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive  quantserve\.com
acl store_rewrite_list url_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list url_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/get_video\?
acl store_rewrite_list url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/get_video\?
acl store_rewrite_list url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\?
acl store_rewrite_list url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\?
acl store_rewrite_list url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl store_rewrite_list url_regex -i vid\.akm\.dailymotion\.com\/
acl store_rewrite_list url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl store_rewrite_list url_regex -i \.vimeo\.com\/(.*)\.(flv|mp4)
acl store_rewrite_list url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl store_rewrite_list url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl store_rewrite_list url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl store_rewrite_list url_regex -i \.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram|m4v)
acl store_rewrite_list url_regex -i \.break\.com\/(.*)\.(flv|mp4)

acl store_rewrite_allow_dom dstdomain .mccont.com .metacafe.com .cdn.dailymotion.com
acl store_rewrite_deny_dom  dstdomain .download.youporn.com .static.blip.tv
acl dontrewrite url_regex redbot\.org \.php
acl getmethod method GET

http_access allow manager localhost
http_access allow purge localhost
http_access deny manager
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny CONNECT !SSL_ports !Safe_ports 
http_access allow localnet
http_access allow localhost
http_access deny to_localhost
http_access deny all

upgrade_http0.9 deny shoutcast
broken_vary_encoding allow apache

cache deny redirec					#Harus ada jika pakai r25	

header_access Accept-Encoding deny all
header_access X-Forwarded-For deny all

storeurl_access deny reddeny				#Harus ada jika pakai r25
storeurl_access allow store_rewrite_list_domain
storeurl_access allow store_rewrite_list_path
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_allow_dom
storeurl_access deny store_rewrite_deny_dom
storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access deny all
#end of file
[size:17pt]file tune.conf[/size]
tune.conf

Code: Select all

#FPUI
# tune.conf 
# r25

strip_query_terms off		# Harus ada jika pakai r25
cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
minimum_object_size 0 KB
maximum_object_size 512 MB
maximum_object_size_in_memory 32 KB
ipcache_size 4096		# Mohon sesuaikan dengan RAM
ipcache_low 98
ipcache_high 99
fqdncache_size 2048		# Mohon sesuaikan dengan RAM
log_fqdn off
log_icp_queries off
half_closed_clients off
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
vary_ignore_expire on
pipeline_prefetch on
reload_into_ims on
forwarded_for off
via off
client_db on
client_persistent_connections off
server_persistent_connections off
icp_hit_stale on
query_icmp on
memory_pools off
negative_ttl 30 seconds
max_filedescriptors 65535
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
store_dir_select_algorithm round-robin
uri_whitespace strip
emulate_httpd_log off
shutdown_lifetime 10 seconds
logfile_rotate 1
zph_mode tos
zph_local 0x04
zph_parent 0
zph_option 136
#end of file
[size:17pt]file refresh_pattern.conf[/size]
refresh_pattern.conf

Code: Select all

#FPUI
# refresh_pattern.conf
# r25

refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?)    			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)    	43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale

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

refresh_pattern -i \.facebook.com.*\.(jpg|png|gif)                      129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3)                 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern  static\.ak\.fbcdn\.net*\.(jpg|gif|png)                 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)        129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale

refresh_pattern ^http:\/\/apps.facebook.com.*\/		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.zynga.com.*\/      		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.farmville.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.ninjasaga.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.mafiawars.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.crowdstar.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.popcap.com.*\/    			10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.cityville.com.*\/    		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale


refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)       			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)  			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)         			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob) 	43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv) 	43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern -i (/cgi-bin/|\?)  	0  	0%  	0
refresh_pattern ^gopher:        	1440    0%      1440
refresh_pattern ^ftp:           	10080   95% 	241920 	override-lastmod reload-into-ims store-stale
refresh_pattern .               	180     95% 	120960	override-lastmod reload-into-ims store-stale
#end of file
[size:17pt]mgr:info[/size]
[spoiler=mgr:info][html]HTTP/1.0 200 OK
Server: squid/2.7.STABLE9
Date: Sat, 13 Apr 2013 04:59:35 GMT
Content-Type: text/plain
Expires: Sat, 13 Apr 2013 04:59:35 GMT
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:3128
Connection: close

Squid Object Cache: Version 2.7.STABLE9
Start Time: Thu, 11 Apr 2013 16:20:10 GMT
Current Time: Sat, 13 Apr 2013 04:59:35 GMT
Connection information for squid:
Number of clients accessing cache: 16
Number of HTTP requests received: 236436
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 107.5
Average ICP messages per minute since start: 0.0
Select loop called: 5778881 times, 22.836 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 9.2%, 60min: 68.7%
Byte Hit Ratios: 5min: 2.3%, 60min: 15.3%
Request Memory Hit Ratios: 5min: 14.3%, 60min: 1.1%
Request Disk Hit Ratios: 5min: 61.0%, 60min: 95.5%
Storage Swap size: 30108680 KB
Storage Mem size: 4344 KB
Mean Object Size: 67.75 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.42149 0.00179
Cache Misses: 0.46965 0.44492
Cache Hits: 0.00767 0.00179
Near Hits: 0.14252 0.27332
Not-Modified Replies: 0.00194 0.00286
DNS Lookups: 0.00094 0.00094
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 131965.079 seconds
CPU Time: 4271.440 seconds
CPU Usage: 3.24%
CPU Usage, 5 minute avg: 8.29%
CPU Usage, 60 minute avg: 9.57%
Process Data Segment Size via sbrk(): 117092 KB
Maximum Resident Size: 550848 KB
Page faults with physical i/o: 1
Memory usage for squid via mallinfo():
Total space in arena: 117092 KB
Ordinary blocks: 79156 KB 9404 blks
Small blocks: 0 KB 0 blks
Holding blocks: 32352 KB 7 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 37935 KB
Total in use: 111508 KB 75%
Total free: 37935 KB 25%
Total size: 149444 KB
Memory accounted for:
Total accounted: 51127 KB
memPoolAlloc calls: 46750652
memPoolFree calls: 45845862
File descriptor usage for squid:
Maximum number of file descriptors: 65535
Largest file desc currently in use: 177
Number of file desc currently in use: 142
Files queued for open: 0
Available number of file descriptors: 65393
Reserved number of file descriptors: 100
Store Disk files open: 0
IO loop method: epoll
Internal Data Structures:
444469 StoreEntries
349 StoreEntries with MemObjects
337 Hot Object Cache Items
444392 on-disk objects[/html][/spoiler]


Ane pake versi ini mas,, berhasil cache youtube,,
tapi kok gk langsung full yah hit nya. sperti di batasi buff youtube nya.


User avatar
q_p
Contact:

Post 15 Feb 2014, 14:51

storeurl.pl steam-dota (yang dikembangkan SJW)=

Code: Select all

        #steam (dota2)
} elsif ($X[1] =~ m/^http\:\/\/valve[0-9]*\.cs\.steampowered\.com\/(.*)/) {
        print $x . "storeurl://steampowered.SQUIDINTERNAL/" . $1 . "\n";

} elsif ($X[1] =~ m/^http\:\/\/[a-z0-9]*\.hsar\.steampowered\.com\.edgesuite\.net\/(.*)/) {
        print $x . "storeurl://steampowered.SQUIDINTERNAL/" . $1 . "\n";


User avatar
cah_clacap
Contact:

Post 20 Feb 2014, 18:56

Code: Select all

/dev/sda1         246261   37729    196091  17% /boot
/dev/sda10      48825896 9454712  39371184  20% /cache5
/dev/sda9       48825896 9297660  39528236  20% /cache4
/dev/sda7       48825896 9211552  39614344  19% /cache2
/dev/sda8       48825896 9275472  39550424  19% /cache3
/dev/sda6       48825896 9241452  39584444  19% /cache1
/dev/sda3       19464028  417464  18070028   3% /home
/dev/sda11       4865792  616500   4005224  14% /usr
/dev/sda12       6629060  573244   5723224  10% /var

Udah 2 bulan angka yg ada di hardisk cache yang USE tidak pernah nambah ...padahal tiap muter video dan buka web selalu TCP_HIT ...... kira2 apanya ya ????


User avatar
q_p
Contact:

Post 22 Feb 2014, 16:12

Terbalik mungkin konfigurasinya, bukan 80% tapi 20 % dari 39371184 ??


User avatar
cah_clacap
Contact:

Post 22 Feb 2014, 19:42

#baris di bawah ini mohon disesuaikan dengan path cache_dir anda
cache_dir aufs /cache1 41000 96 256
cache_dir aufs /cache2 41000 96 256
cache_dir aufs /cache3 41000 96 256
cache_dir aufs /cache4 41000 96 256
cache_dir aufs /cache5 41000 96 256

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

per direktori cache masing2 sebesar 50 GB ....... salahkan ini mas ???


User avatar
cah_clacap
Contact:

Post 22 Feb 2014, 19:47

q_p wrote:Terbalik mungkin konfigurasinya, bukan 80% tapi 20 % dari 39371184 ??
=============================

perlu ditambah coretan apa lg ya mas??


User avatar
cah_clacap
Contact:

Post 22 Feb 2014, 20:29

saya pake HD 320 GB utk proxy mas


User avatar
cah_clacap
Contact:

Post 23 Feb 2014, 11:17

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 9734140 469200 8776648 6% /
udev 2036020 4 2036016 1% /dev
tmpfs 817324 320 817004 1% /run
none 5120 0 5120 0% /run/lock
none 2043308 0 2043308 0% /run/shm
/dev/sda1 246261 37729 196091 17% /boot
/dev/sda7 48825896 9197176 39628720 19% /cache2
/dev/sda10 48825896 9439352 39386544 20% /cache5
/dev/sda6 48825896 9223060 39602836 19% /cache1
/dev/sda8 48825896 9212652 39613244 19% /cache3
/dev/sda9 48825896 9240600 39585296 19% /cache4
/dev/sda3 19464028 417464 18070028 3% /home
/dev/sda11 4865792 616500 4005224 14% /usr
/dev/sda12 6629060 589700 5706768 10% /var


@ mas Pragola : apakah ada yg salah dgn partisi saya mas???


User avatar
q_p
Contact:

Post 24 Feb 2014, 05:53

Kebetulan barusan nambah satu hdd (/dev/sdf5). Coba anda perhatikan persentase penggunaan hdd di bawah ini

Code: Select all

root@dns:~# df -h | grep proxy
/dev/sdd5        19G   15G  4,4G  77% /proxy_1
/dev/sdb5        20G   15G  5,3G  74% /proxy_2
/dev/sda5        20G   15G  5,3G  74% /proxy_3
/dev/sdf5        20G   35M   20G   1% /proxy_4
root@dns:~# cat /etc/squid/squid.conf | grep proxy_
cache_dir aufs /proxy_1 15000 32 256
cache_dir aufs /proxy_2 15000 32 256
cache_dir aufs /proxy_3 15000 32 256
cache_dir aufs /proxy_4 15000 32 256


User avatar
cah_clacap
Contact:

Post 24 Feb 2014, 16:54

q_p wrote:Kebetulan barusan nambah satu hdd (/dev/sdf5). Coba anda perhatikan persentase penggunaan hdd di bawah ini

Code: Select all

root@dns:~# df -h | grep proxy
/dev/sdd5        19G   15G  4,4G  77% /proxy_1
/dev/sdb5        20G   15G  5,3G  74% /proxy_2
/dev/sda5        20G   15G  5,3G  74% /proxy_3
/dev/sdf5        20G   35M   20G   1% /proxy_4
root@dns:~# cat /etc/squid/squid.conf | grep proxy_
cache_dir aufs /proxy_1 15000 32 256
cache_dir aufs /proxy_2 15000 32 256
cache_dir aufs /proxy_3 15000 32 256
cache_dir aufs /proxy_4 15000 32 256

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

Yg Used 15GB berarti benar max penggunaan 74 % sesuai dengan
cache_dir aufs /proxy_1 15000 32 256
cache_dir aufs /proxy_2 15000 32 256
cache_dir aufs /proxy_3 15000 32 256
cache_dir aufs /proxy_4 15000 32 256

berarti saya seharusnya bisa 82% dari kapasitas HDD saya ...... tapi udah 2 bulan ini kok ga nambah2 tetap 19% atau 20% saja.....padahal udah diset 41000 dari 50000 (82% dari 50 GB adl 41 GB)

******************** harus dirubah sebelah mana ya mas???


User avatar
cah_clacap
Contact:

Post 24 Feb 2014, 17:01

@ mas Pragola :
kenapa hnya terbatas 19% ya mas?? padahal set-nya kan 41000 dari 50 GB


User avatar
q_p
Contact:

Post 26 Feb 2014, 05:23

refresh_pattern mungkin terlalu singkat pengaturan waktu-nya.


User avatar
cah_clacap
Contact:

Post 27 Feb 2014, 00:24

q_p wrote:refresh_pattern mungkin terlalu singkat pengaturan waktu-nya.
+++++++++++++++++++++++++++++++++++++++++++++++++++
makasih mas ..... nanti sy coba ganti ....


ini punya teman sy ada kendala di 4shared ky gini

Array ( [0] => http: [1] => [2] => dc595.4shared.com [3] => img [4] => 3905259158 [5] => 765a7fab [6] => dlink__2Fdownload_2FbvaCNT6F_3Ftsid_3D

=============
setian donload mp3 di g*d*nglagu(dot)com selalu muncul seprti itu .... pilihan save-nya tidak muncul


User avatar
rizaaal
Contact:

Post 05 Mar 2014, 19:18

para mastah, sebelumnya maaf saya memang bener-bener baru untuk masalah optimasi squid seperti yang digelar di trit ini. jadi maaf kalo ada yang kurang berkenan dari pertanyaan saya :D

saya sudah mengikuti seluruh step by step, dan juga sudah menggunakan seluruh file .conf maupun .pl yang ada disini. saya persis menggunakan seluruh file .conf dan .pl nya. yang saya ganti hanya ukuran cache dan acl untuk localnetnya saja. selain itu default berdasarkan file asli yang saya download dari sini.

Kemudian Saya sudah tes untuk melihat seberapa bagus performa squidnya. dan hasilnya adalah :
  1. halaman-halaman web biasa mampu tercache dengan baik dan selalu hit. Ini tidak ada masalah.
  2. game-game yang berbasis web seperti game facebook maupun friv.com atau games.co.id juga mampu tercache dengan baik dan selalu hit. Ini juga tidak masalah.
  3. youtube bisa hit, tapi tidak bisa langsung keseluruhan videonya. jadi hitnya hanya diawal saja, sehingga si loading buffernya paling cuma ngebut setengahnya, setelah itu kembali nyedot bandwidth internet. apakah konfigurasi saya yang salah atau memang kemampuan si squid hanya bisa seperti itu?
  4. game-game online seperti PB, Dragon Nest, Lost Saga, dll tidak ada yang bisa tercache. apa yang perlu saya edit dari file-file konfigurasinya?
  5. situs-situs speedtest seperti speedtest.net atau speedtest.cbn.net.id tidak bisa hit. sehingga hasil speedtestnya tetap menampilkan bandwidth yang biasa. apakah memang seperti ini atau memang ada yang perlu ditambahkan?
  6. ketika saya lihat access.lognya saat sedang mengakses situs speedtest ataupun ketika melakukan patch game online, memang tampilannya selalu TCP_MISS.
mohon pencerahannya. khususnya bagian-bagian mana yang perlu saya perhatikan dalam file-file konfigurasi si squid untuk mengatasi seluruh masalah diatas.


User avatar
q_p
Contact:

Post 05 Mar 2014, 19:52

Coba anda cermati lagi pada halaman 1 di bagian akhir yang mengandung di bawah ini =
File storeurl mulai dari r18 s/d r25 bisa anda download di bawah ini.
Atau langsung merujuk ke sumber-nya. link deleted by author. Sebagai gantinya, beliau posting yang ini = http://ubuntu-indonesia.com/forums/ubbt ... Post144264 === >>>> ( storeurl.pl ) <<<< ===
Dan untuk meng-test proxy anda, silahkan ke "http://devel.squid-cache.org/cgi-bin/test" saja (bukan "what my ip")


User avatar
q_p
Contact:

Post 10 Mar 2014, 11:42

amdnet wrote:linknya error gan
link yang mana ?


User avatar
dermovel

Post 15 Mar 2014, 22:15

sekarang youtube uda HTTPS kah??


User avatar
cah_clacap
Contact:

Post 19 Mar 2014, 14:24

dermovel wrote:sekarang youtube uda HTTPS kah??
=========================================

youtube https kan udah lama mas ..... yg https jika ingin ter-cache ya pake cumi 3


User avatar
pluto01

Post 25 Mar 2014, 19:08

wah sdh lama ga mampir ke forum, thread ini sdh page 99 saja.
mundur baca2 dari pertengahan dlu ah sapa tahu ada rahasia tersembunyi

Salam hangat untuk mastah2 semuanya.


User avatar
ArieGrinder

Post 28 Mar 2014, 04:18

Misi para master2, newbie mau nanya nih.
sebelumnya maaf kalo salah kamar.

Setelah install squid lusca dan berjalan, ternyata ada sebagian website dan game online yang ngga bisa connect,termasuk speedtest.
tapi kalo proxy di off, semua normal aja.

game yang ga bisa connect :
. Point Blank
. Lostsaga
. Dll.

berikut squid.conf ku hasil copas :grin:(maklum newbie :blush:)
[spoiler]http_port 3128 transparent
icp_port 3130
prefer_direct off
server_http11 on

# Cache & Object
# -----------------------------------------------------------------------------
cache_mem 6 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 10240 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 1 KB

ipcache_size 10240
ipcache_low 95
ipcache_high 99
fqdncache_size 4096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

cache_dir aufs /cache 25600 60 256
#cache_dir aufs /cache/cache2 66500 63 256
#cache_dir aufs /cache/cache2 66500 63 256

cache_access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_store_log none
pid_filename /var/run/squid.pid
cache_swap_log /var/log/squid3/swap.state
#dns_nameservers /etc/resolv.conf
emulate_httpd_log off
hosts_file /etc/hosts
half_closed_clients off
negative_ttl 0 second
positive_dns_ttl 12 hour
negative_dns_ttl 1 minute

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 873 # https snews rsync
acl Safe_ports port 80 # http
acl Safe_ports port 20 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 631 # cups
acl Safe_ports port 10000 # webmin
acl Safe_ports port 901 # SWAT
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 110 # POP3
acl Safe_ports port 25 # SMTP
acl Safe_ports port 2095 2096 # webmail from cpanel
acl Safe_ports port 2082 2083 # cpanel
acl purge method PURGE
acl CONNECT method CONNECT

# GRAFIK
# -----------------------------------------------------------------------------
snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic all

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny CONNECT !SSL_ports !Safe_ports

# ALLOWED ACCESS
# -----------------------------------------------------------------------------
acl localnet src 192.168.30.0/24 # sesuaikan dengan IP lokal kamu
#acl localnet src 192.168.11.0/24 # sesuaikan dengan IP Hotspot
acl localnet src 192.168.20.0/24 # sesuaikan dengan IP Proxy

http_access allow localnet
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow localnet
icp_access allow localhost
icp_access deny all
always_direct deny all
dns_nameservers 8.8.8.8 8.8.4.4

# Cache CGI & Administrative
# -----------------------------------------------------------------------------
shutdown_lifetime 10 seconds
logfile_rotate 1

# TAG: acl rewrite
# -----------------------------------------------------------------------------
acl RW url_regex \/speedtest\/.*\.(jpg|txt|php).*
url_rewrite_access allow RW

acl webfaceboox dstdomain .facebook.com
http_access allow webfaceboox

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

acl youtube dstdomain .youtube.com
cache allow youtube
cache allow all

#acl ytrange url_regex ^.*youtube.com/videoplayback.*.*$
acl ytrange url_regex ^.*youtube.com/videoplayback.*range=.*$
http_access deny ytrange

# Caching Youtube
# -----------------------------------------------------------------------------
acl speedtest dstdom_regex -i .speedtest.*\.
acl store_rewrite_list urlpath_regex .*\/.speedtest\/.*\.(jpg|txt)
acl store_rewrite_list urlpath_regex -i \.youtube\.com\/get_video\?
acl store_rewrite_list urlpath_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/videodownload \.youtube\.com\/get_video\?
acl store_rewrite_list urlpath_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/videodownload \.youtube\.[a-z][a-z]\/get_video\?
acl store_rewrite_list urlpath_regex -i \.googlevideo\.com\/videoplayback \.googlevideo\.com\/videoplay \.googlevideo\.com\/videodownload \.googlevideo\.com\/get_video\?
acl store_rewrite_list urlpath_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/videodownload \.google\.com\/get_video\?
acl store_rewrite_list urlpath_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/videodownload \.google\.[a-z][a-z]\/get_video\?
acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\?
acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\?
acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videodownload\?
acl store_rewrite_list urlpath_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\?
acl store_rewrite_list urlpath_regex \/(watch\?|get_video\?|videodownload\?|videoplayback.*id)
acl store_rewrite_list urlpath_regex \/(get_video\?|videodownload\?|videoplayback.*id)\.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list urlpath_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl store_rewrite_list urlpath_regex -i vid\.akm\.dailymotion\.com\/
acl store_rewrite_list urlpath_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl store_rewrite_list urlpath_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
acl store_rewrite_list urlpath_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl store_rewrite_list urlpath_regex -i \.files\.youporn\.com\/(.*)\/flv\/
acl store_rewrite_list urlpath_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl store_rewrite_list urlpath_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ www\.tube8\.com\/(.*)\/
acl store_rewrite_list urlpath_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl store_rewrite_list urlpath_regex -i \.video[a-z0-9]?[a-z0-9]?\.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram)
acl store_rewrite_list urlpath_regex -i video\.break\.com\/(.*)\.(flv|mp4)
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 \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|avc|on2|krf|zip|on2|mar|rar|cab)\?
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_domain url_regex .mccont.com .metacafe.com .redtube.com .cdn.dailymotion.com
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 store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?.google.co(m|\.id) streamate.doublepimp.com.*\.js\? photos-[a-z].ak.fbcdn.net \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) \.doubleclick\.net.* yieldmanager cpxinteractive ^http:\/\/[.a-z0-9]*\.photobucket\.com.*\.[a-z]{3}$ quantserve\.com
acl dontrewrite url_regex redbot\.org (get_video|videoplayback\?id|videoplayback.*id).*b egin\=[1-9][0-9]* #\.php\?
acl getmethod method GET

storeurl_access allow speedtest
storeurl_access allow store_rewrite_list
storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access allow store_rewrite_list_domain
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access deny all

storeurl_rewrite_program /etc/squid/storeurl.pl
url_rewrite_children 7
url_rewrite_concurrency 10
redirector_bypass on

# -----------------------------------------------------------------------------
# TAG: Refresh Pattern
# -----------------------------------------------------------------------------
# 1 year = 525600 mins, 1 month = 43200 mins, 1 day = 1440
# -----------------------------------------------------------------------------

#youtube's videos - tambahan
# -----------------------------------------------------------------------------
refresh_pattern (get_video|videoplayback|videodownload|\.flv).*(begin|start)\=[1-9][0-9]* 0 0% 0
refresh_pattern (get_video\?|videoplayback\?|videodownload\?) 5259487 99999999% 5259487 override-expire ignore-reload ignore-private negative-ttl=0
#refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv \?|\.fid\?) 5259487 99999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=0
refresh_pattern imeem.*\.flv 0 0% 0 override-lastmod override-expire
refresh_pattern \.(ico|video-stats) 5259487 999999% 5259487 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 code.googlec.com.*(svn|download) 0 50% 1440 reload-into-ims
refresh_pattern ^http:\/\/images|image|img|pics|openx|thumbs[0-9]\. 5259487 999999% 5259487 ignore-no-cache ignore-no-store ignore-reload override-expire store-stale

#### jika ada refresh pattern lain, letakkan dibawah baris ini ####
# facebook
# -----------------------------------------------------------------------------
refresh_pattern ((facebook.com)|(85.131.151.39)).*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern -i \.facebook.com.*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern .fbcdn.net.*\.(jpg|gif|png) 5259487 999999% 5259487 ignore-no-cache override-expire ignore-reload store-stale negative-ttl=0
refresh_pattern static\.ak\.fbcdn\.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png) 129600 999999% 129600 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

# games facebook
# -----------------------------------------------------------------------------
refresh_pattern ^http:\/\/apps.facebook.com.*\/ 10080 999999% 43200 ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern (zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|agame|popcap).com.*\.(swf|jpg|gif|png|mp3) 129600 999999% 129600 override-expire ignore-reload store-stale

# Anti Virus
# -----------------------------------------------------------------------------
refresh_pattern avast.com.*\.vpx 40320 50% 161280 store-stale reload-into-ims
refresh_pattern (avgate|avira).*\.(idx|gz)$ 1440 90% 1440 ignore-reload ignore-no-cache ignore-no-store store-stale ignore-must-revalidate
refresh_pattern kaspersky.*\.avc$ 5259487 999999% 5259487 ignore-reload store-stale
refresh_pattern kaspersky 1440 50% 161280 ignore-no-cache store-stale
refresh_pattern mbamupdates.com.*\.ref 1440 50% 161280 reload-into-ims store-stale

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

# google
# -----------------------------------------------------------------------------
refresh_pattern ^.*safebrowsing.*google 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|id|\.uk) 5259487 999999% 5259487 override-expire ignore-reload store-stale ignore-private negative-ttl=10080

# 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).* 5259487 20% 5259487 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

# Banner IIX
# -----------------------------------------------------------------------------
refresh_pattern ^http:\/\/openx.*\.(jp(e?g|e|2)|gif|pn[pg]|swf|ico|css|tiff?) 129600 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/ads(1|2|3).kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/img.ads.kompas.com.*\/ 43200 99999% 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 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/openx.kompas.com.*\/ 43200 99999% 129600 reload-into-ims ignore-reload override-expire ignore-no-cache ignore-no-store store-stale

# -- refresh pattern for specific sites -- #
# -----------------------------------------------------------------------------
refresh_pattern (photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern \.(akamaihd|rackcdn|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\? 5259487 999999% 5259487 ignore-no-cache override-expire override-lastmod store-stale
refresh_pattern speedtest\. 259200 80% 259200 override-expire reload-into-ims stale-while-revalidate=2592000 ignore-private ignore-no-cache negative-ttl=0
refresh_pattern galleries\.video(\?|sz) 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache 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 \.etology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern brazzers\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern \.adtology\? 5259487 999999% 5259487 override-expire ignore-reload ignore-no-cache store-stale
refresh_pattern images\.friendster\.com.*\.(png|gif) 5259487 999999% 5259487 override-expire ignore-reload store-stale
refresh_pattern garena\.com 5259487 999999% 5259487 override-expire reload-into-ims store-stale
refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png) 5259487 999999% 5259487 reload-into-ims override-expire ignore-private store-stale
refresh_pattern ^http:\/\/www.onemanga.com.*\/ 5259487 999999% 5259487 reload-into-ims override-expire store-stale
refresh_pattern \.rapidshare.*\/[0-9]*\/.*\/[^\/]* 161280 90% 161280 ignore-reload store-stale

# kaskus
# -----------------------------------------------------------------------------
refresh_pattern livebeta.kaskus.co.id.*\/ 0 0% 0
refresh_pattern (cdn-u|kkcdn-static|img|www).kaskus.co.id.*\/ 43200 90% 129600 override-expire override-lastmod ignore-reload ignore-no-cache

# wordpress (try to include from wp.com cdn or self-hosted wp)
# -----------------------------------------------------------------------------
refresh_pattern -i \.wp.com.*\.(jpg|gif|png|ico|swf) 43200 90% 129600 override-expire override-lastmod ignore-reload ignore-no-cache
refresh_pattern -i (wp-(content|admin|include)).*\.(jp(e?g|e|2)|png|gif|swf|css|js)$ 10080 200% 20160 override-expire reload-into-ims override-lastmod ignore-no-cache

# Koran Online
# -----------------------------------------------------------------------------
#efresh_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 \.(kompas|kompasiana).com.*\.(jpg|png|gif|css|js|swf)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
refresh_pattern -i \.vivanews.com.*\.(jpg|png|gif|css|js|swf)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache

#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% 60 reload-into-ims

# online game patch
# -----------------------------------------------------------------------------
refresh_pattern -i (hackshield|nprotect) 240 100% 420 override-expire override-lastmod reload-into-ims
refresh_pattern -i \.gemscool.com.*\.(exe|dll|cab|zip|iop|npz|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
refresh_pattern -i \.crossfire.web.id.*\.(cab|zip|exe|rar|dat|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
refresh_pattern -i \.cabalonline.co.id.*\.(cab|zip|exe|rar|dat|swf) 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
refresh_pattern -i ((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2}).*\.(exe|zip|kom|stg|npz|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth ignore-no-store 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

# additional refresh_pattern
# other high traffic sites
# -----------------------------------------------------------------------------
refresh_pattern static.4shared.com.*\/ 43200 999999% 43200 override-expire ignore-reload
refresh_pattern -i \.(wikimedia|wikipedia).org.*\.(jpg|png|gif|css|js)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
refresh_pattern -i \.tokobagus.com.*\.(jpg|png|gif|css|js)$ 10080 500% 262800 override-expire reload-into-ims override-lastmod ignore-no-cache
refresh_pattern -i \.adf.ly.*\.(jpg|png|gif|css|js)$ 43200 999999% 43200 override-expire reload-into-ims override-lastmod ignore-no-cache

# universal web objects
# -----------------------------------------------------------------------------
refresh_pattern \.(htm|html|class|css|js|inc|cab|ad|dll|txt|xml)($|&) 43200 99999% 43200 override-expire ignore-no-cache ignore-no-store reload-into-ims ignore-private store-stale
refresh_pattern \.(jp(e?g|e|2)|tiff?|bmp|gif|ico|svg|png) 5259487 999999% 5259487 ignore-no-cache ignore-no-store reload-into-ims override-expire ignore-must-revalidate store-stale
refresh_pattern \.(z(ip|[0-9]{2})|r(ar|[0-9]{2})|jar|arj|lha|tgz|ram|bz2|gz|tar|rpm|vpu) 5259487 999999% 5259487 override-expire reload-into-ims
refresh_pattern \.(mp3|wav|og(g|a)|flac|midi?|rm|aac|wma|mka|mp4|au|mid|ape) 5259487 999999% 5259487 override-expire reload-into-ims ignore-reload
refresh_pattern \.(kom|pak|stg|nzp|iop|doc|ppt|hqx|pdf|rtf|deb) 43200 99999% 43200 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
refresh_pattern \.(exe|msi|dmg|bin|xpi|iso|swf|mar|psf|cab) 5259487 999999% 5259487 override-expire reload-into-ims ignore-no-cache ignore-must-revalidate
refresh_pattern \.(mpeg|ra?m|avi|mp(g|e|4)|mov|divx|asf|wmv|m\dv|rv|vob|asx|qt|x-flv|ogm|flv|3gp|on2) 5259487 9999999% 5259487 override-expire reload-into-ims
refresh_pattern \.(php|jsp|cgi|asx|js|jsp)\? 0 0% 0

### Objek-objek statis waktu peyimpanannya diperlama
#### default refresh_pattern, letakkan paling bawah! ###
# -----------------------------------------------------------------------------
refresh_pattern ^ftp: 10080 95% 43200 override-lastmod reload-into-ims store-stale
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (cgi-bin|hackshield|xtrap|Loader|login) 0 0% 0
refresh_pattern \.(php|jsp|cgi|asx)\? 0 0% 0
refresh_pattern . 0 50% 161280 store-stale

# -----------------------------------------------------------------------------
# LAIN-LAIN TUNNING
# -----------------------------------------------------------------------------
dns_timeout 1 minutes
check_hostnames off
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
strip_query_terms off
maximum_single_addr_tries 5
retry_on_error off
ie_refresh off
#range_offset_limit
zero_buffers on

store_avg_object_size 13 KB

client_db on
max_filedesc 1500
memory_pools off
log_fqdn off
log_icp_queries off
icp_hit_stale off
query_icmp off
reload_into_ims on
coredump_dir /var/spool/squid
pipeline_prefetch on
vary_ignore_expire on

# -----------------------------------------------------------------------------
tcp_outgoing_tos 0x30 localnet
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

# -----------------------------------------------------------------------------
header_access From deny all
header_access Server deny all
header_access Link deny all
header_access Via deny all
header_access Accept-Encoding deny all
header_access X-Forwarded-For deny all

# -----------------------------------------------------------------------------
cache_effective_user proxy
cache_effective_group proxy
cache_mgr leadveloz.com
# -----------------------------------------------------------------------------
#END
# -----------------------------------------------------------------------------[/spoiler]

mohon bantuannya para master :)
udah 3 hari 3 malem masih tetep :sick:

thank's sebelum nya


User avatar
w3l3h

Post 28 Mar 2014, 22:07

bro ArieGrinder,

maaf saya tidak bermaksud menggurui,
tetapi kasus kenapa game2 tersebut gak bisa konek kalau terkoneksi via proxy.

pusing juga, karena pelanggan banyak yang complaint dulunya...heehhe
tetapi syukur-nya secara tak sengaja client dapat mengubah langsung DNS di PC (client).
jadi mikrotik gak "maksa" client konek via proxy.

pada internet option control panel (IE - Chrome) tidak diisikan secara manual IP proxy dan port-nya, hanya firefox saja diisikan manual.
saya-pun tak begitu paham dengan routerboard, klo perlu/problem baru diplajari ulang


walaupun begitu, caching tetap berjalan dan game2 tersebut berjalan normal.
mungkin developer bermaksud agar "halaman promo" mereka tak terblokir saat client buka browser....hehehhe

jadi aku benar2 tak kutik2 squid.conf


User avatar
w3l3h

Post 28 Mar 2014, 22:10

pengen juga experiment squid3
tapi waktunya belum cukup, dan masih kurang bacaan terkait hal/config nya
mudah2an ada waktu dan bisa bandingkan performnya dengan yang versi2.7


User avatar
ArieGrinder

Post 29 Mar 2014, 00:59

w3l3h wrote:bro ArieGrinder,

maaf saya tidak bermaksud menggurui,
tetapi kasus kenapa game2 tersebut gak bisa konek kalau terkoneksi via proxy.

pusing juga, karena pelanggan banyak yang complaint dulunya...heehhe
tetapi syukur-nya secara tak sengaja client dapat mengubah langsung DNS di PC (client).
jadi mikrotik gak "maksa" client konek via proxy.

pada internet option control panel (IE - Chrome) tidak diisikan secara manual IP proxy dan port-nya, hanya firefox saja diisikan manual.
saya-pun tak begitu paham dengan routerboard, klo perlu/problem baru diplajari ulang


walaupun begitu, caching tetap berjalan dan game2 tersebut berjalan normal.
mungkin developer bermaksud agar "halaman promo" mereka tak terblokir saat client buka browser....hehehhe

jadi aku benar2 tak kutik2 squid.conf
wah repot juga ya klo harus setting browser 1-1 :grin:
jaringan saya pake hotspot soal nya :grin:

tapi tadi pagi sampe siang saya coba setting ulang 1-1 script nya dan ternyata SOLVED !!! :grin:

ternyata yang jadi masalah adalah ini :
# -----------------------------------------------------------------------------
tcp_outgoing_tos 0x30 localnet
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

yang saya kasih bold itu harus di kasih pagar dulu :crazy:

itu kenapa ya?
klo diliat itu kan buat HIT nya ntar di router, tp malah ngeblok beberapa situs.
ada yang bisa menjelaskan? :grin:


User avatar
w3l3h

Post 03 Apr 2014, 06:05

tcp_outgoing_tos 0x30 localnet
kalo localnet diganti all
tapi cek dulu di squid config atasnya, untuk batasan all-nya kah?


Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests