Youtube kualitasnya selalu 240P dan kurang agresif

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Aira
Posts: 70
Joined: 22 Mar 2012, 21:20

Youtube kualitasnya selalu 240P dan kurang agresif

Postby Aira » 09 Mar 2013, 01:21

Misi om yang ada di forum mudah2an ada yang mau bantu saya...
Permasalahannya begini waktu buka youtube selalu resolusinya 240p ga 360p terkadang bisa 360p di awal seterusnya 240p jadi youtube jadi tidak mau tercache. Mohon bantuannya...
Sya lampirkan setingan squid, refres, dan storeurl nya

Ini squid.cof, tunning.conf dan storeurl.pl saya
squid.conf
#######################################################
## SQUID 2.7 - High Performance Configuration
## ====================================================
#######################################################

# PORT and Transparent Option
http_port 3128 transparent
server_http11 on
icp_port 0

# Cache Directory , modify it according to your system.
# but first create directory in root by mkdir /cache1
# and then issue this command chown proxy:proxy /cache1
# [for ubuntu user is proxy, in Fedora user is SQUID]
# I have set 500 MB for caching reserved just for caching ,
# adjust it according to your need.
# My recommendation is to have one cache_dir per drive. zzz

#store_dir_select_algorithm round-robin
cache_dir aufs /cache/cache1 66500 63 256
cache_dir aufs /cache/cache2 66500 63 256
cache_dir aufs /cache/cache2 66500 63 256
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA

# If you want to enable DATE time n SQUID Logs,use following
emulate_httpd_log on
logformat squid %tl %6tr %>a %Ss/%03Hs %) {
@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\/(.*\.(jpg|txt))\?(.*)/) {
print $x . "http://www.speedtest.net.SQUIDINTERNAL/speedtest/" . $2 . "\n";

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

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

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

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

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

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

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

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

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

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

# YX.sphotos.ak.fbcdn.net where X 1-9, Y a-z
}elsif (m/^http:\/\/[a-z][0-9]\.sphotos\.ak\.fbcdn\.net\/(.*)\/(.*)/) {
print $x . "http://photos.ak.fbcdn.net/" . $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:\/\/(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";

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

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

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

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

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

# picific servers starts here....
} 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";

# photos-X.ak.fbcdn.net where X a-z
}elsif (m/^http:\/\/photos-[a-z].ak.fbcdn.net\/(.*)/) {
rint $x . "http://photos.ak.fbcdn.net/" . $1 . "\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";

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

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

# spicific extention that ends with ?
}elsif (m/^http:\/\/(.*?)\/(.*?)\.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|on2)(.*)/) {
print $x . "http://" . $1 . "/" . $2 . "." . $3 . "\n";

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

} else {
print $x . $X[1] . "\n";
}
}


[spoiler=cat /var/log/squid/access.log | ./squidmon.py]
]
wrong format [ 08/Mar/2013:03:43:27 +0700 93 192.168.1.50 TCP_MISS/200 502 GET http://s2.wp.com/wp-content/themes/pub/ ... ground.png - DIRECT/68.232.44.111 image/png
]
wrong format [ 08/Mar/2013:03:43:27 +0700 110 192.168.1.50 TCP_MISS/200 703 GET http://s2.wp.com/wp-content/themes/pub/ ... /kreis.png - DIRECT/68.232.44.111 image/png
]
wrong format [ 08/Mar/2013:03:43:27 +0700 195 192.168.1.50 TCP_MISS/200 550 GET http://s2.wp.com/wp-content/themes/pub/ ... adient.png - DIRECT/68.232.44.111 image/png
]
wrong format [ 08/Mar/2013:03:43:27 +0700 215 192.168.1.50 TCP_MISS/200 633 GET http://s2.wp.com/wp-content/themes/pub/ ... s_voll.png - DIRECT/68.232.44.111 image/png
]
wrong format [ 08/Mar/2013:03:43:27 +0700 169 192.168.1.50 TCP_MISS/200 1073 GET http://s2.wp.com/wp-content/themes/pub/ ... search.png - DIRECT/68.232.44.111 image/png
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5261 192.168.1.50 TCP_MISS/000 0 GET http://leslieanggara.files.wordpress.co ... uidmon.jpg - DIRECT/leslieanggara.files.wordpress.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5114 192.168.1.50 TCP_MISS/000 0 GET http://t1.gstatic.com/images? - DIRECT/t1.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5117 192.168.1.50 TCP_MISS/000 0 GET http://t1.gstatic.com/images? - DIRECT/t1.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5415 192.168.1.50 TCP_MISS/000 0 GET http://t3.gstatic.com/images? - DIRECT/t3.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5125 192.168.1.50 TCP_MISS/000 0 GET http://t0.gstatic.com/images? - DIRECT/t0.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5135 192.168.1.50 TCP_MISS/000 0 GET http://t3.gstatic.com/images? - DIRECT/t3.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5139 192.168.1.50 TCP_MISS/000 0 GET http://t3.gstatic.com/images? - DIRECT/t3.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5122 192.168.1.50 TCP_MISS/000 0 GET http://t0.gstatic.com/images? - DIRECT/t0.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5120 192.168.1.50 TCP_MISS/000 0 GET http://t0.gstatic.com/images? - DIRECT/t0.gstatic.com -
]
wrong format [ 08/Mar/2013:03:43:32 +0700 156 192.168.1.50 TCP_MISS/302 690 GET http://www.google.co.id/url? - DIRECT/74.125.135.94 text/html
]
wrong format [ 08/Mar/2013:03:43:32 +0700 342 192.168.1.50 TCP_MISS/200 13471 GET http://t3.gstatic.com/images? - DIRECT/74.125.135.99 image/jpeg
]
wrong format [ 08/Mar/2013:03:43:32 +0700 5694 192.168.1.50 TCP_MISS/302 728 GET http://sites.google.com/site/kendariunderground/qcc.gif - DIRECT/74.125.135.101 text/html
]
wrong format [ 08/Mar/2013:03:43:33 +0700 5900 192.168.1.50 TCP_MISS/200 505 GET http://www.google-analytics.com/__utm.gif? - DIRECT/74.125.135.101 image/gif
]
wrong format [ 08/Mar/2013:03:43:33 +0700 6064 192.168.1.50 TCP_MISS/200 1249 GET http://pubads.g.doubleclick.net/gampad/ads? - DIRECT/74.125.135.157 text/javascript
]
wrong format [ 08/Mar/2013:03:43:33 +0700 0 192.168.1.50 TCP_IMS_HIT/304 320 GET http://pagead2.googlesyndication.com/pagead/osd.js - NONE/- text/javascript
]
wrong format [ 08/Mar/2013:03:43:33 +0700 1382 192.168.1.50 TCP_MISS/200 41417 GET http://leslieanggara.files.wordpress.co ... uidmon.jpg - DIRECT/76.74.248.252 image/jpeg
]
wrong format [ 08/Mar/2013:03:43:34 +0700 6483 192.168.1.50 TCP_MISS/200 2086 GET http://polldaddy.com/ratings/rating-top.php? - DIRECT/72.232.113.3 application/javascript
]
wrong format [ 08/Mar/2013:03:43:37 +0700 334 192.168.1.50 TCP_MISS/204 542 GET http://s.youtube.com/api/stats/watchtime? - DIRECT/74.125.135.139 text/html
]
wrong format [ 08/Mar/2013:03:43:39 +0700 257 192.168.1.50 TCP_MISS/404 489 GET http://squidmon.googlecode.com/svn/trunk/squidmon.py - DIRECT/74.125.135.82 text/html
]
wrong format [ 08/Mar/2013:03:43:39 +0700 259 192.168.1.50 TCP_MISS/404 1208 GET http://squidmon.googlecode.com/favicon.ico - DIRECT/74.125.135.82 text/html
]
wrong format [ 08/Mar/2013:03:43:39 +0700 260 192.168.1.50 TCP_MISS/404 1208 GET http://squidmon.googlecode.com/favicon.ico - DIRECT/74.125.135.82 text/html
]
wrong format [ 08/Mar/2013:03:43:39 +0700 6066 192.168.1.50 TCP_MISS/200 397 GET http://stats.wordpress.com/g.gif? - DIRECT/216.151.210.122 image/gif
]
wrong format [ 08/Mar/2013:03:43:40 +0700 5779 192.168.1.50 TCP_MISS/200 398 GET http://pixel.quantserve.com/pixel? - DIRECT/203.190.124.14 image/gif
]
wrong format [ 08/Mar/2013:03:43:40 +0700 6622 192.168.1.50 TCP_REFRESH_MISS/200 25415 GET http://us-ads.openx.net/w/1.0/jstag - DIRECT/173.241.248.99 text/javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 571 192.168.1.50 TCP_MISS/200 2889 GET http://us-ads.openx.net/w/1.0/arj? - DIRECT/173.241.248.99 application/json
]
wrong format [ 08/Mar/2013:03:43:41 +0700 17 192.168.1.50 TCP_HIT/200 1655 GET http://s0.wp.com/wp-content/mu-plugins/ ... n-back.gif - NONE/- image/gif
]
wrong format [ 08/Mar/2013:03:43:41 +0700 56 192.168.1.50 TCP_HIT/200 3869 GET http://s0.wp.com/wp-content/mu-plugins/ ... -icons.png - NONE/- image/png
]
wrong format [ 08/Mar/2013:03:43:41 +0700 113 192.168.1.50 TCP_HIT/200 2304 GET http://0.gravatar.com/css/hovercard.css? - NONE/- text/css
]
wrong format [ 08/Mar/2013:03:43:41 +0700 123 192.168.1.50 TCP_HIT/200 1005 GET http://0.gravatar.com/css/services.css? - NONE/- text/css
]
wrong format [ 08/Mar/2013:03:43:41 +0700 171 192.168.1.50 TCP_MISS/200 933 GET http://s2.wp.com/wp-content/themes/pub/ ... ral_kl.png - DIRECT/68.232.44.111 image/png
]
wrong format [ 08/Mar/2013:03:43:41 +0700 82 192.168.1.50 TCP_HIT/200 1575 GET http://widgets.wp.com/likes/master.html? - NONE/- text/html
]
wrong format [ 08/Mar/2013:03:43:41 +0700 34 192.168.1.50 TCP_HIT/200 33905 GET http://s0.wp.com/wp-includes/js/jquery/jquery.js? - NONE/- application/x-javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 328 192.168.1.50 TCP_MISS/200 397 GET http://stats.wordpress.com/g.gif? - DIRECT/216.151.210.122 image/gif
]
wrong format [ 08/Mar/2013:03:43:41 +0700 74 192.168.1.50 TCP_HIT/200 3724 GET http://s0.wp.com/wp-content/js/postmessage.js? - NONE/- application/x-javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 78 192.168.1.50 TCP_HIT/200 6767 GET http://s0.wp.com/wp-content/js/jed/jed.js? - NONE/- application/x-javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 76 192.168.1.50 TCP_HIT/200 5093 GET http://s0.wp.com/wp-includes/js/underscore.min.js? - NONE/- application/x-javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 10 192.168.1.50 TCP_HIT/200 1466 GET http://s0.wp.com/wp-content/js/jquery/j ... request.js? - NONE/- application/x-javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 1 192.168.1.50 TCP_HIT/200 5554 GET http://widgets.wp.com/likes/likes-rest.js? - NONE/- application/x-javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 550 192.168.1.50 TCP_REFRESH_MISS/200 700 GET http://us-ads.openx.net/w/1.0/pd? - DIRECT/173.241.248.99 text/html
]
wrong format [ 08/Mar/2013:03:43:41 +0700 598 192.168.1.50 TCP_MISS/200 6643 GET http://s.skimresources.com/js/725X1342.skimlinks.js - DIRECT/199.27.75.192 application/javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 615 192.168.1.50 TCP_MISS/200 1128 GET http://polldaddy.com/ratings/rate.php? - DIRECT/72.232.113.4 application/javascript
]
wrong format [ 08/Mar/2013:03:43:41 +0700 563 192.168.1.50 TCP_MISS/200 481 GET http://us-ads.openx.net/w/1.0/ri? - DIRECT/173.241.248.99 image/gif
]
wrong format [ 08/Mar/2013:03:43:42 +0700 26 192.168.1.50 TCP_HIT/200 437 GET http://widgets.wp.com/likes/ - NONE/- text/html
]
wrong format [ 08/Mar/2013:03:43:42 +0700 21 192.168.1.50 TCP_HIT/200 3506 GET http://i0.poll.fm/ratings/images/star-yellow-sml.png - NONE/- image/png
]
wrong format [ 08/Mar/2013:03:43:42 +0700 16 192.168.1.50 TCP_HIT/200 1647 GET http://i0.poll.fm/images/ratings/info.png - NONE/- image/png
]
wrong format [ 08/Mar/2013:03:43:42 +0700 719 192.168.1.50 TCP_MISS/200 397 GET http://stats.wordpress.com/g.gif? - DIRECT/76.74.248.163 image/gif
]
wrong format [ 08/Mar/2013:03:43:42 +0700 742 192.168.1.50 TCP_MISS/200 398 GET http://pixel.quantserve.com/pixel;r=179 ... 400%252C40 - DIRECT/203.190.124.25 image/gif
]
wrong format [ 08/Mar/2013:03:43:42 +0700 697 192.168.1.50 TCP_REFRESH_MISS/200 397 GET http://pixel.quantserve.com/pixel/p-ab3gTb8xb3dLg.gif - DIRECT/203.190.124.12 image/gif
]
wrong format [ 08/Mar/2013:03:43:46 +0700 5428 192.168.1.50 TCP_MISS/200 607 GET http://cdn.api.twitter.com/1/urls/count.json? - DIRECT/23.51.1.224 application/javascript
]
wrong format [ 08/Mar/2013:03:43:47 +0700 6537 192.168.1.50 TCP_MISS/302 566 GET http://ads.audienceamplify.com/tt? - DIRECT/68.67.151.114 text/html
]
wrong format [ 08/Mar/2013:03:43:47 +0700 6550 192.168.1.50 TCP_MISS/200 519 GET http://www.linkedin.com/countserv/count/share? - DIRECT/216.52.242.80 text/javascript
]
wrong format [ 08/Mar/2013:03:43:48 +0700 6105 192.168.1.50 TCP_MISS/302 1311 GET http://openx.px.invitemedia.com/openx_sync? - DIRECT/108.170.194.161 -
]
wrong format [ 08/Mar/2013:03:43:48 +0700 5686 192.168.1.50 TCP_MISS/200 2428 POST http://ocsp.godaddy.com/ - DIRECT/182.50.136.239 application/ocsp-response
]
wrong format [ 08/Mar/2013:03:43:48 +0700 5535 192.168.1.50 TCP_MISS/200 2428 POST http://ocsp.godaddy.com/ - DIRECT/182.50.136.239 application/ocsp-response
]
wrong format [ 08/Mar/2013:03:43:49 +0700 184 192.168.1.50 TCP_MISS/200 2428 POST http://ocsp.godaddy.com/ - DIRECT/182.50.136.239 application/ocsp-response
]
wrong format [ 08/Mar/2013:03:43:50 +0700 2280 192.168.1.50 TCP_MISS/000 0 GET http://ib.adnxs.com/tt? - DIRECT/ib.adnxs.com -
]
wrong format [ 08/Mar/2013:03:43:50 +0700 2035 192.168.1.50 TCP_MISS/000 0 GET http://r.openx.net/set? - DIRECT/r.openx.net -
]
wrong format [ 08/Mar/2013:03:43:50 +0700 174 192.168.1.50 TCP_MISS/200 2428 POST http://ocsp.godaddy.com/ - DIRECT/182.50.136.239 application/ocsp-response
]
wrong format [ 08/Mar/2013:03:43:51 +0700 155 192.168.1.50 TCP_HIT/200 1782203 GET http://r7---sn-2uuxa3vh-jb3l.c.youtube. ... eoplayback? - NONE/- video/x-flv
]
wrong format [ 08/Mar/2013:03:43:51 +0700 1210 192.168.1.50 TCP_MISS/200 17780 GET http://c1p1.wordpress.com/2010/06/10/ex ... corrupted/ - DIRECT/76.74.254.123 text/html
]
wrong format [ 08/Mar/2013:03:43:57 +0700 147 192.168.1.50 TCP_MISS/200 757 GET http://www.google.co.id/url? - DIRECT/74.125.135.94 text/html
]
wrong format [ 08/Mar/2013:03:44:03 +0700 5472 192.168.1.50 TCP_MISS/200 4044 GET http://code.google.com/p/proxy-inet/downloads/detail? - DIRECT/74.125.135.138 text/html
]
wrong format [ 08/Mar/2013:03:44:03 +0700 26 192.168.1.50 TCP_HIT/200 2558 GET http://www.gstatic.com/codesite/ph/1720 ... detail.css - NONE/- text/css
]
wrong format [ 08/Mar/2013:03:44:03 +0700 31 192.168.1.50 TCP_HIT/200 4032 GET http://www.gstatic.com/codesite/ph/1720 ... s/core.css - NONE/- text/css
]
wrong format [ 08/Mar/2013:03:44:03 +0700 24 192.168.1.50 TCP_HIT/200 15590 GET http://www.gstatic.com/codesite/ph/1720 ... ph_core.js - NONE/- text/javascript
]
wrong format [ 08/Mar/2013:03:44:03 +0700 6 192.168.1.50 TCP_HIT/200 1073 GET http://www.gstatic.com/codesite/ph/images/dl_arrow.gif - NONE/- image/gif
]
wrong format [ 08/Mar/2013:03:44:03 +0700 48 192.168.1.50 TCP_HIT/200 19507 GET http://www.gstatic.com/codesite/ph/1720 ... scripts.js - NONE/- text/javascript
]
wrong format [ 08/Mar/2013:03:44:03 +0700 117 192.168.1.50 TCP_MISS/200 505 GET http://www.google-analytics.com/__utm.gif? - DIRECT/74.125.135.101 image/gif
]
wrong format [ 08/Mar/2013:03:44:04 +0700 1 192.168.1.50 TCP_HIT/200 1393 GET http://www.gstatic.com/codesite/ph/images/phosting.ico - NONE/- image/x-icon
]
wrong format [ 08/Mar/2013:03:44:10 +0700 5637 192.168.1.50 TCP_MISS/204 345 GET http://csi.gstatic.com/csi? - DIRECT/74.125.225.47 image/gif
]
wrong format [ 08/Mar/2013:03:44:13 +0700 6306 192.168.1.50 TCP_MISS/204 652 GET http://www.youtube.com/set_awesome? - DIRECT/74.125.135.91 text/html
]
wrong format [ 08/Mar/2013:03:44:17 +0700 5722 192.168.1.50 TCP_MISS/200 2274 GET http://proxy-inet.googlecode.com/files/squidmon.py - DIRECT/74.125.135.82 text/plain
]
wrong format [ 08/Mar/2013:03:44:17 +0700 339 192.168.1.50 TCP_MISS/204 542 GET http://s.youtube.com/api/stats/watchtime? - DIRECT/74.125.135.139 text/html
]
wrong format [ 08/Mar/2013:03:44:18 +0700 164 192.168.1.50 TCP_HIT/200 1782203 GET http://r7---sn-2uuxa3vh-jb3l.c.youtube. ... eoplayback? - NONE/- video/x-flv
]
wrong format [ 08/Mar/2013:03:44:27 +0700 5287 192.168.1.50 TCP_MISS/200 1201 POST http://safebrowsing.clients.google.com/ ... /downloads? - DIRECT/74.125.135.101 application/vnd.google.safebrowsing-update
]
wrong format [ 08/Mar/2013:03:44:33 +0700 5989 192.168.1.50 TCP_MISS/200 5473 GET http://safebrowsing-cache.google.com/sa ... jIFSbABAD8 - DIRECT/74.125.135.139 application/vnd.google.safebrowsing-chunk
]
wrong format [ 08/Mar/2013:03:44:33 +0700 114 192.168.1.50 TCP_MISS/200 3012 GET http://safebrowsing-cache.google.com/sa ... 8yBc-yAQAP - DIRECT/74.125.135.139 application/vnd.google.safebrowsing-chunk
]
wrong format [ 08/Mar/2013:03:44:33 +0700 118 192.168.1.50 TCP_MISS/200 3416 GET http://safebrowsing-cache.google.com/sa ... AP______Bw - DIRECT/74.125.135.139 application/vnd.google.safebrowsing-chunk
]
wrong format [ 08/Mar/2013:03:44:33 +0700 121 192.168.1.50 TCP_MISS/200 3507 GET http://safebrowsing-cache.google.com/sa ... BsMlBAD_Aw - DIRECT/74.125.135.139 application/vnd.google.safebrowsing-chunk
]
wrong format [ 08/Mar/2013:03:44:34 +0700 110 192.168.1.50 TCP_MISS/200 1679 GET http://safebrowsing-cache.google.com/sa ... EyBc0lBAAH - DIRECT/74.125.135.139 application/vnd.google.safebrowsing-chunk
]
wrong format [ 08/Mar/2013:03:44:47 +0700 101 192.168.1.50 TCP_HIT/200 1137737 GET http://r7---sn-2uuxa3vh-jb3l.c.youtube. ... eoplayback? - NONE/- video/x-flv
]
wrong format [ 08/Mar/2013:03:44:56 +0700 229743 192.168.1.50 TCP_MISS/000 0 GET http://csi.gstatic.com/csi? - DIRECT/173.194.42.47 -
]
cache effect: 26.26%, save 1827709.25K of 6961017.90K
most accessed sites (by traffic)
URL Kbytes Ratio
fpdownload2.macromedia.com 655062 88.44
personal.avira-update.com 581795 78.34
patch3.perfectworld.web.id 456465 0.00
download.cdn.mozilla.net 348607 0.00
safebrowsing-cache.google.com 331147 89.76
122.102.49.202 307192 0.03
r2---sn-2uuxa3vh-jb3s.c.youtube.com 235954 47.87
cdn1b.mobile.pornhub.com 205628 0.00
r4---sn-2uuxa3vh-jb3s.c.pack.google.com 189971 0.00
213.174.149.138 157793 0.00
r2---sn-2uuxa3vh-jb3l.c.pack.google.com 150067 0.00
122.102.49.132 131813 0.00
file.pb.gemscool.com 128007 17.89
profile.ak.fbcdn.net 118683 16.44
http://www.facebook.com 118352 0.94
r4---sn-2uuxa3vh-jb3s.c.youtube.com 75136 0.01
r5---sn-2uuxa3vh-jb3l.c.pack.google.com 67960 0.00
static.ak.fbcdn.net 64050 85.90
r1---sn-2uuxa3vh-jb3e.c.pack.google.com 63325 0.00
r6---sn-2uuxa3vh-jb3s.c.pack.google.com 56238 0.00
wwwg1v1.rockdizfile.com 55048 34.71
r7---sn-2uuxa3vh-jb3s.c.youtube.com 53099 0.00
122.102.49.175 50373 0.03
http://www.google.co.id 49536 27.58
patch.sealindo.com 42183 0.05
[/spoiler]

Kalo boleh minta di koreksi apa ada yang salah dengan settingan saya.
Sebelumnya terimakasih atas jawabannya
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Youtube kualitasnya selalu 240P dan kurang agresif

Postby q_p » 09 Mar 2013, 01:56

[quote=Aira]Permasalahannya begini waktu buka youtube selalu resolusinya 240p ga 360p terkadang bisa 360p di awal seterusnya 240p jadi youtube jadi tidak mau tercache.
Saya tdk tahu, apakah ini ada hubungannya dengan squid. Untuk memastikan coba anda bandingkan akses ke youtube dengan dan tanpa squid. Lalu, tolong hasilnya anda posting di sini u/ melengkapi trit anda :)
Informasi lainnya yang mungkin bisa anda lengkapi =
1. spec kompi (misalnya RAM, jumlah HDD dan volume masing2 HDD, arsitektur processor intel/amd)
2. versi ubuntu dan versi squid
3. Dedicated proxy server atau server all-in-one
cmiiw