luciano_ford
(usa Ubuntu)
Enviado em 09/06/2011 - 00:42h
Olá desculpe a demora para responder. O log aparece dessa forma;
s.php? - DIRECT/216.18.197.147 text/html
1307590753.026 203 192.168.1.104 TCP_MISS/200 1049 GET
http://s.ytimg.com/yt/img/icon_comments_disabled-vflxokpZC.png - DIRECT/74.125.234.47 image/png
1307590755.811 12785 192.168.1.104 TCP_REFRESH_MISS/200 700 GET
http://www.youtube.com/crossdomain.xml - DIRECT/74.125.234.36 text/x-cross-domain-policy
1307590756.152 338 192.168.1.104 TCP_MISS/204 273 GET
http://www.youtube.com/get_video? - DIRECT/74.125.234.36 text/plain
1307590763.192 4754 192.168.1.104 TCP_MISS/204 465 GET
http://s.youtube.com/stream_204? - DIRECT/74.125.234.35 text/html
1307590801.950 78244 192.168.1.104 TCP_MISS/200 18032 GET
http://www.youtube.com/watch? - DIRECT/74.125.234.45 text/html
1307590802.515 353 192.168.1.104 TCP_MISS/200 5306 GET
http://i1.ytimg.com/vi/Dnyez6lXRmU/default.jpg - DIRECT/74.125.234.44 image/jpeg
1307590802.672 519 192.168.1.104 TCP_MISS/200 4962 GET
http://i4.ytimg.com/vi/3WI458aSs6Y/default.jpg - DIRECT/74.125.234.44 image/jpeg
1307590802.831 670 192.168.1.104 TCP_MISS/200 5226 GET
http://i2.ytimg.com/vi/QxkxA5Skdk4/default.jpg - DIRECT/74.125.234.47 image/jpeg
1307590802.941 773 192.168.1.104 TCP_MISS/200 3770 GET
http://i1.ytimg.com/vi/DbRBgnWgLZU/default.jpg - DIRECT/74.125.234.41 image/jpeg
1307590815.990 13577 192.168.1.104 TCP_MISS/200 1635 GET
http://googleads.g.doubleclick.net/pagead/ads? - DIRECT/74.125.234.58 text/javascript
1307590823.010 7017 192.168.1.104 TCP_MISS/200 1590 GET
http://www.youtube.com/pyv? - DIRECT/74.125.234.45 text/xml
1307590827.364 1334 192.168.1.104 TCP_MISS/200 4836 GET
http://i2.ytimg.com/vi/U-4NIVGUW5g/default.jpg - DIRECT/74.125.234.47 image/jpeg
1307590843.134 49 192.168.1.104 TCP_HIT/200 1046 GET
http://d3lvr7yuk4uaui.cloudfront.net/items/domains/y/youtube.com.js - NONE/- application/x-javascript
1307590844.114 10 192.168.1.104 TCP_NEGATIVE_HIT/204 281 GET
http://o-o.preferred.telemar-cnf1.v11.lscache4.c.youtube.com/generate_204? - NONE/- text/html
Coloquei a regra abaixo no squid.conf mas agora os vídeos nem carregam.
# sites que vão ficar lentos
acl lento url_regex -i "/etc/squid/lento.txt"
# indique aqui a sua rede interna
acl interno url_regex -i 192.168.1.0
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 500/1000
delay_access 1 allow lento
delay_class 2 2
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow interno