Re: [squid-users] Limit Bandwith for youtube....

2016-09-01 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
Man, don't panic.

just comment out debud_options and reconfigure your squid.

Always yours, Captain Obvious.

01.09.2016 19:43, erdosain9 пишет:
> PLEASE HELP!
> I probe this
> " You can use debug_options 11,2 to see the HTTP message headers and
> figure it out"
>
> and now i cant stop the debug??? i have a big big access.log... i cannot
> stop the debug.
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679301.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXyDMGAAoJENNXIZxhPexGIJ8H/j7h5DkqO0afDor8kc0t+Ton
53Sz1FcdAmluvhefFyxbaFKVRYuOAeUUGTTPfyavFhIzeCaZSPGFDTjjtRFp9uch
F3IjSIaVIFyKMAmzVGED04MsdqNz6YGuY9rdEztt14TFfGNS7kK4PpXX0jWFkNoR
J62Tl3WD8NuqPC3NqCAdF4kJd4ybj1IkWQRefLAlXkmzQZrrz4cUUPfI5BIqBV31
Dku+NuIbEFSph0vEjesVUmVRfn5mNtyhHBPo45qG/QvNJComb0MoSvxgEuZ9KCWF
U1BAPwsp18FACRONYgvCVbfdcs2N5zvZElCSRZUl9A6YuSRt7f106KksuYsPMwM=
=UWuB
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-09-01 Thread erdosain9
PLEASE HELP!
I probe this 
" You can use debug_options 11,2 to see the HTTP message headers and 
figure it out"

and now i cant stop the debug??? i have a big big access.log... i cannot
stop the debug. 



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679301.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-31 Thread Amos Jeffries
On 31/08/2016 8:13 a.m., erdosain9 wrote:
> Thanks.
> But... 
> I'm misunderstanding ?
> Tx , is not the download?

TX is sent bytes. It depends on what your interfaces mean, but it looks
to me like it is uploads. There are known bugs in delay pools but they
cause very specific low number of multiples or fractions of the
configured pool size - not hundreds of KB faster rates.

> 
> I think it works this way in the mikrotik . That is, the transmission would
> be the " download "

So the report you are looking at is measuring the Squid<->client interface?

Squid delay pools are operating on the Squid<->Server interface traffic.
So they can rate limit your (probably costly) *upstream* bandwidth, not
your internal LAN bandwidth between Squid and clients.

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-30 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
I did not say it would be easy, right? :)

31.08.2016 2:51, Yuri Voinov пишет:
>
> And, to limit faceboot video,
>  you require to utilize akamaihd\.net\/v\/(.*\.mp4)\? regex in
conjunction with delay-pool + SSL bump. :)
>
> 31.08.2016 2:48, Yuri Voinov пишет:
>
>
>   > To cache streaming video, you require to utilize Store-ID
>   feature:
>
>
>
>   > http://wiki.squid-cache.org/Features/StoreID
>
>
>
>
>
>   > 31.08.2016 2:16, erdosain9 пишет:
>
>   > > By the way...
>
>   > > I have this on log
>
>
>
>
>
>
>
https://fbcdn-video-k-a.akamaihd.net/hvideo-ak-xat1/v/t42.1790-2/12094265_992502374146158_1776024195_n.mp4?
>
>   > > - HIER_DIRECT/204.2.178.146 -
>
>
>
>   > > i do not know how to use https://regex101.com/
>
>
>
>   > > it will be like
>
>
>
>   > > akamaihd\.net\/v\/(.*\.mp4)\?
>
>
>
>   > > Thanks.
>
>
>
>
>
>
>
>   > > --
>
>   > > View this message in context:
>
>
>
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679269.html
>
>   > > Sent from the Squid - Users mailing list archive at
>   Nabble.com.
>
>   > > ___
>
>   > > squid-users mailing list
>
>   > > squid-users@lists.squid-cache.org
>
>   > > http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>
>
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXxfXJAAoJENNXIZxhPexGpLkIAL8qff5Ky6ZEYXgBnc3MVxIx
elo//UatXQHcELnPdSpFpC+5W+bSF5KMyBtzZy3zThsy7ipcT2iKwUP/9e00uCWY
fVQcbFUIiu9bR9M3LGhJuG7mUVtER2MBkX/wPUuRUpAabKRRZ05TlpIaYyUteU7A
GDuA74l/X3j26/XOeY0zPishz1V8enPLmgyO5ZvL3t16YjXKF2QWLkoe4gkSHLHr
+HWqXn1yYGa+XoJetZAgTbLp4eNhoBNC6ZOIs1ThRzkUFfuDjexCVinJX1E3JLYC
CBBQ+PBQIiirML0u3WwA02ad0pIeyeUEZ4eV6ZnHuXX8wZyuaD2H/DiSwW/90vI=
=bQ0e
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-30 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
And, to limit faceboot video,
 you require to utilize akamaihd\.net\/v\/(.*\.mp4)\? regex in
conjunction with delay-pool + SSL bump. :)

31.08.2016 2:48, Yuri Voinov пишет:
>
> To cache streaming video, you require to utilize Store-ID feature:
>
> http://wiki.squid-cache.org/Features/StoreID
>
>
> 31.08.2016 2:16, erdosain9 пишет:
> > By the way...
> > I have this on log
>
>
>
https://fbcdn-video-k-a.akamaihd.net/hvideo-ak-xat1/v/t42.1790-2/12094265_992502374146158_1776024195_n.mp4?
> > - HIER_DIRECT/204.2.178.146 -
>
> > i do not know how to use https://regex101.com/
>
> > it will be like
>
> > akamaihd\.net\/v\/(.*\.mp4)\?
>
> > Thanks.
>
>
>
> > --
> > View this message in context:
>
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679269.html
> > Sent from the Squid - Users mailing list archive at Nabble.com.
> > ___
> > squid-users mailing list
> > squid-users@lists.squid-cache.org
> > http://lists.squid-cache.org/listinfo/squid-users
>
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXxfHrAAoJENNXIZxhPexGanwH+wXVGdAz0hdbK6Pof0vZlXHz
poxITiDr/hS3IUU5hiFNIsXS4fHRHZBkAH5m9jxnwgo2kOIu4KQ8MJh7eUmV3gAi
Qu+r0A/S3U3CWpbPpRMvbhyK9X+7434vWE6Qeuywc7WjtEnf+Pjwo5/yVwf+p2IN
ntdZwJaYc8loQcTgofYw+ARYBeRP6f9H9BUIrmTwm91HaPP1XYo4/XxL+wfmbjtI
CiAtW0bu4xi479cG7HaWkwSs3MnXz2lZGD/usBqpvZi+L3N4Kjh3cE5ZDDM8P2/h
lJqIZiIJAjkV6z6ychdZgp8KYZcvpbVPAodZZ4NTRe/NGRwx/MyHIFoaSO2TjZ4=
=TIqC
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-30 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
To cache streaming video, you require to utilize Store-ID feature:

http://wiki.squid-cache.org/Features/StoreID


31.08.2016 2:16, erdosain9 пишет:
> By the way... 
> I have this on log
>
>
https://fbcdn-video-k-a.akamaihd.net/hvideo-ak-xat1/v/t42.1790-2/12094265_992502374146158_1776024195_n.mp4?
> - HIER_DIRECT/204.2.178.146 -
>
> i do not know how to use https://regex101.com/
>
> it will be like
>
> akamaihd\.net\/v\/(.*\.mp4)\?
>
> Thanks.
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679269.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXxfEFAAoJENNXIZxhPexGPNAIAIuFAn/eijxhISMJity1Nu4i
TJOmsqM2RR9mCKwbbJSm+8M9fML7SNn/SH7V7nMgI01+WusgjBIgSpaIrT4ZNoP4
FinnYscibOC2oJPPmYBMp2dqdilIq+8MCMTjFzVwgJuYzxAeCtz5sgjlDpq8fNAp
nje6/q3TgfYYLuQwaQYseJO7ig3kvcDHa7vGrqdQzxPzk2epXnkx3EE5kmrU48hp
EWeAYh4yBa1wF5njtBJ57PhXtL0nTSXfm4ZJVsn87fBQQGqeqz+Smgw1HbX7qtLH
0zCXf3jZyud3wcA+nGM0xxDSEEKVw3j6KUKtFXC99iqredrVIsFyHnzhFODKEIc=
=933O
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-30 Thread erdosain9
By the way... 
I have this on log

https://fbcdn-video-k-a.akamaihd.net/hvideo-ak-xat1/v/t42.1790-2/12094265_992502374146158_1776024195_n.mp4?
- HIER_DIRECT/204.2.178.146 -

i do not know how to use https://regex101.com/

it will be like 

akamaihd\.net\/v\/(.*\.mp4)\? 

Thanks.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679269.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-30 Thread erdosain9
Thanks.
But... 
I'm misunderstanding ?
Tx , is not the download?


I think it works this way in the mikrotik . That is, the transmission would
be the " download "



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679268.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-30 Thread Amos Jeffries
On 30/08/2016 8:13 a.m., erdosain9 wrote:
> Ok,thanks!
> But something is wrong with my config
> I dont have almost no users... (because is proxy testing) and i have too
> many download avg.
> 
> Look , this is Torch to the ip of proxy, to see whats going on...
> 
> 
> 
>  
> 

Image does not exist.

> 
>  

This appears to be showing several clients who are using only several
KB/sec *download* which approximately match some of the delay pools
download rates configured (~10-30 KBps). Also they are *uploading* very
fast to the server.

Delay pools controls download rates, not uploads. So that is as
expected. Although not much upload data is expected when streaming
_downloads_, so even if it did the 'burst' rates could account for most
of the higher upload speeds.


> 
> This is my config 
> 
> #Pools para ancho de Banda
> delay_pools 5 
> 
> ###VELOCIDAD PARA REDES SOCIALES
> delay_class 1 1
> delay_parameters 1 1/10
> delay_access 1 allow redes_sociales limitado
> delay_access 1 allow redes_sociales full
> delay_access 1 allow redes_sociales adminis
> 
> #Limitar YOUTUBE
> delay_class 2 1
> delay_parameters 2 1/10
> delay_access 2 allow youtube adminis
> delay_access 2 allow youtube full
> delay_access 2 allow youtube limitado
> 
> #Ancho de Banda Administracion
> delay_class 3 2
> delay_parameters 3 512000/512000 6/256000
> delay_access 3 allow adminis
> 
> #Ancho de Banda Sistemas
> delay_class 4 2
> delay_parameters 4 512000/512000 64000/256000
> delay_access 4 allow sistemas
> 
> #Ancho de Banda Logistica
> delay_class 5 2
> delay_parameters 5 256000/256000 3/125000
> delay_access 5 allow limitado
> 
> 
> if I have delay pools with low bandwidth . How can it be that "long period
> of time " the squid has a bandwidth so high ??

1) see above about download vs upload differences.

2) there are non-HTTP things involves with connections that use up
bandwidth and being non-HTTP are not accounted by Squid - which can only
account the HTTP message bytes.

3) you have both small and large bandwidth pools. Delay pools do not
operate on connection or port basis. They operate on HTTP message bytes
basis. So any given TCP connection may be rate limited one second (for
one message) and then rate limited differently the next second (for its
next message).

Delay pools are a very old design from the days before QoS was properly
standardized. It has many flaws. If you can do rate limiting with TOS /
QoS controls it is recommended to use that instead. I hope to remove
Delay Pools functionality from Squid as soon as the alternatives are
able to meet all use-cases.

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-29 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
I'm a little differently solve the problem of the speed limit streaming
video. I limit the speed of the video on the router to the proxy, the
proxy itself gives cached video streaming to the local network at full
speed, because the speed of the local network I is not limited. My main
task is to prevent the exhaustion of uplink bandwidth.


30.08.2016 2:13, erdosain9 пишет:
> Ok,thanks!
> But something is wrong with my config
> I dont have almost no users... (because is proxy testing) and i have too
> many download avg.
>
> Look , this is Torch to the ip of proxy, to see whats going on...
>
>
>


>
>


>
> This is my config
>
> #Pools para ancho de Banda
> delay_pools 5
>
> ###VELOCIDAD PARA REDES SOCIALES
> delay_class 1 1
> delay_parameters 1 1/10
> delay_access 1 allow redes_sociales limitado
> delay_access 1 allow redes_sociales full
> delay_access 1 allow redes_sociales adminis
>
> #Limitar YOUTUBE
> delay_class 2 1
> delay_parameters 2 1/10
> delay_access 2 allow youtube adminis
> delay_access 2 allow youtube full
> delay_access 2 allow youtube limitado
>
> #Ancho de Banda Administracion
> delay_class 3 2
> delay_parameters 3 512000/512000 6/256000
> delay_access 3 allow adminis
>
> #Ancho de Banda Sistemas
> delay_class 4 2
> delay_parameters 4 512000/512000 64000/256000
> delay_access 4 allow sistemas
>
> #Ancho de Banda Logistica
> delay_class 5 2
> delay_parameters 5 256000/256000 3/125000
> delay_access 5 allow limitado
>
>
> if I have delay pools with low bandwidth . How can it be that "long period
> of time " the squid has a bandwidth so high ??
>
> Thanks!
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679253.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXxKizAAoJENNXIZxhPexGVRsH/1z+Z35AFdhTP1n/hMelYo4/
4padot4Aw5XBzP8igI3MhF7U5sTmH8Z8lvKD8W5G0wikqeIfS0uPcW/qpyXJyibw
iuJkHxWAFpolDN5bxUsmDUJ8I5OMzXnJduUha6BkK498/iBgmJDzJx6DyLyKjZs6
pd4KkoyFAFnGeY7pgUJrIXpkTeYejdcO+3kjnK1qQeJhHCGuQl1Oo8ARbE5iIZUP
apuZnPz8Xt0iG6X/um0Se5opvvNaxKs+st+hElpw4rGQBUqMBpqGVPLOryEUdbyN
pa+bhjH70djKxyGNDC1meEKRL5yjH2u1teKN4DasG+Q6A+THblqHuA6DvQyUOZo=
=qIfq
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-29 Thread erdosain9
Ok,thanks!
But something is wrong with my config
I dont have almost no users... (because is proxy testing) and i have too
many download avg.

Look , this is Torch to the ip of proxy, to see whats going on...



 


 

This is my config 

#Pools para ancho de Banda
delay_pools 5 

###VELOCIDAD PARA REDES SOCIALES
delay_class 1 1
delay_parameters 1 1/10
delay_access 1 allow redes_sociales limitado
delay_access 1 allow redes_sociales full
delay_access 1 allow redes_sociales adminis

#Limitar YOUTUBE
delay_class 2 1
delay_parameters 2 1/10
delay_access 2 allow youtube adminis
delay_access 2 allow youtube full
delay_access 2 allow youtube limitado

#Ancho de Banda Administracion
delay_class 3 2
delay_parameters 3 512000/512000 6/256000
delay_access 3 allow adminis

#Ancho de Banda Sistemas
delay_class 4 2
delay_parameters 4 512000/512000 64000/256000
delay_access 4 allow sistemas

#Ancho de Banda Logistica
delay_class 5 2
delay_parameters 5 256000/256000 3/125000
delay_access 5 allow limitado


if I have delay pools with low bandwidth . How can it be that "long period
of time " the squid has a bandwidth so high ??

Thanks!



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679253.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-29 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
Regex for fb video:

fbcdn\.net\/v\/(.*\.mp4)\?

Written with help of https://regex101.com.


29.08.2016 21:08, erdosain9 пишет:
> ... and a last thing with this theme of limit video. for
> facebook?
> what would be the sysntax???
>
>
> (i get this on log
>
>
>
https://video-yyz1-1.xx.fbcdn.net/v/t42.1790-2/14194700_1292914777409287_1273911953_n.mp4?
> - HIER_DIRECT/31.13.80.9 video/mp4
>
> )
>
> Thanks
>
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679242.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXxGR0AAoJENNXIZxhPexG2DwIALwaO7hRJ5gjWjge+3XTiQWc
sNPfm3lgaEWL1mTlbhUY1ThG17dbZaCDGF0Rz0HbfsfAGeCodovcj7Pr3p+Mbzq1
e26Z0XjxBHG7wY2cJDEACmOubtBjJYVMV3hdl+PJbXzMfcJ5aDPU17yCrRclDZps
qafxbhudtwOC/ayefpV3RuUMhH0a9sUTV3fvdOGsKDlDRVMCKK0jKUa9Pcx7mcnI
J+J7tjkf2IEzenCDiBUcUixm/RaQEL7q7MpwPs/TmXGjeb05MQls703xt2KhHkJE
DwQFUNFTJfVYpd1AI50xIjwOOq2GW40eqimJsFTHvMKbDTFDxao9+Nzi2dDlxdk=
=uCfT
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-29 Thread erdosain9
... and a last thing with this theme of limit video. for
facebook? 
what would be the sysntax???


(i get this on log 


https://video-yyz1-1.xx.fbcdn.net/v/t42.1790-2/14194700_1292914777409287_1273911953_n.mp4?
- HIER_DIRECT/31.13.80.9 video/mp4

)

Thanks




--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679242.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-28 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 


28.08.2016 22:39, Yuri Voinov пишет:
>
>
>
> 28.08.2016 21:59, Yuri Voinov пишет:
>
>
>
>
>
>
>   > 28.08.2016 17:34, Matus UHLAR - fantomas пишет:
>
>   > > On 27.08.16 01:10, Yuri Voinov wrote:
>
>   > >>
>
>
>
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube/Discussion?highlight=%28Youtube%29
>
>   > >>
>
>   > >>
>
>   > >> 26.08.2016 23:54, Matus UHLAR - fantomas пишет:
>
>   > >>> On 26.08.16 03:16, Yuri Voinov wrote:
>
>   >  Everything can be much easier. Google
>   Streaming video is not cacheable.
>
>   >  Absolutely.  If users are watching the same
>   video, each time it is
>
>   >  downloaded from the outside. Slowly and
>   sadly.
>
>   > >>>
>
>   > >>> could something like collapsed forwarding solve
>   this problem?
>
>
>
>   > > not videos, streaming. Streamed content should be (at
>   least hypotetically)
>
>   > > possible to receive once, send many times.
>
>   > So?
> Streamed content is always files. Generally with the same chunk size.
With fixed length.
> Only YT encrypt every chunk, so it can't be cached in any way. Another
streamed content can be cached with store-ID.
Sorry - Only YT encrypt every chunk *URL*, so it can't be cached in any way.
>
> Where is collapsed forwarding here?
>
>
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXwxPZAAoJENNXIZxhPexGS30H/jKSWUd/X0fdJ7RxYHF1PtA4
D4cW9mqIQJUxKCA8YZkTN0PioWPpwWB6x/ZbSRUnrtcAp/350hG6N8O3hm3k4WlT
XXvPPSfwvAdyuWNA9QHROmfP6z1RMvnnf6avjA3HDdNqmFM2CFYWaZDphWsEEHVa
256etwQAd6Ck7e5jOLqtLcpBZZ4Nol0c9L8x4Ids2xfVMO3FvBP6QAO9uBeEKt/o
cgCgoPCWSFSDlgiQFb0Dk8Js5VfBY4dVau+CsgN+w7L4RJUBT4pT1DTWnxzTOhO0
Z4jvH3MDEtBRm9b3ewWEmN/ZWUVE/fP3BgNevD9fSrDvQyuTLbY7hx2xosHBcGY=
=WNI8
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-28 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 


28.08.2016 21:59, Yuri Voinov пишет:
>
>
>
> 28.08.2016 17:34, Matus UHLAR - fantomas пишет:
> > On 27.08.16 01:10, Yuri Voinov wrote:
> >>
>
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube/Discussion?highlight=%28Youtube%29
> >>
> >>
> >> 26.08.2016 23:54, Matus UHLAR - fantomas пишет:
> >>> On 26.08.16 03:16, Yuri Voinov wrote:
>  Everything can be much easier. Google Streaming video is not
cacheable.
>  Absolutely.  If users are watching the same video, each time it is
>  downloaded from the outside. Slowly and sadly.
> >>>
> >>> could something like collapsed forwarding solve this problem?
>
> > not videos, streaming. Streamed content should be (at least
hypotetically)
> > possible to receive once, send many times.
> So?
Streamed content is always files. Generally with the same chunk size.
With fixed length.
Only YT encrypt every chunk, so it can't be cached in any way. Another
streamed content can be cached with store-ID.

Where is collapsed forwarding here?
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXwxOnAAoJENNXIZxhPexGbR0H/1lFeUXDAjbY3jeXKDfyeP8o
FBUE5nAhYHCKbdZU+VYLMcm+p0C/t4x59XwjI455gEZZ5vTdNhx/JT+/kQR/AcDc
klwKnkXIvDoxHuxvTrBzoMtlTjnZ4ZLHaEHvv7FoBp4dkY3Sptbzxt6Q2LM9/h9K
ssGSbvPYxuUrNDqc35B9pACxyxhRWWZfl6k/OKPA++Kj8smLiPnd7Hbc84wOm3gA
Y7/3W0N/Qo1p2E/KcxVnkFrd2Nhbe7Jt0yLTRew/5046hSxKEDf37ykP8gFrdUcH
9gbM/gakXRjfrdhLUJnKBDQPnlVqKroAOtN6aKgvhraCbIj9z0CgmkbG9r8X/lE=
=RuBT
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-28 Thread Matus UHLAR - fantomas

On 27.08.16 01:10, Yuri Voinov wrote:

http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube/Discussion?highlight=%28Youtube%29


26.08.2016 23:54, Matus UHLAR - fantomas пишет:

On 26.08.16 03:16, Yuri Voinov wrote:

Everything can be much easier. Google Streaming video is not cacheable.
Absolutely.  If users are watching the same video, each time it is
downloaded from the outside. Slowly and sadly.


could something like collapsed forwarding solve this problem?


not videos, streaming. Streamed content should be (at least hypotetically)
possible to receive once, send many times.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved!
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-26 Thread Alex Rousskov
On 08/26/2016 11:54 AM, Matus UHLAR - fantomas wrote:
> On 26.08.16 03:16, Yuri Voinov wrote:
>> Google Streaming video is not cacheable.
>> Absolutely.  If users are watching the same video, each time it is
>> downloaded from the outside. Slowly and sadly.

> could something like collapsed forwarding solve this problem?

Collapsed forwarding does not make uncachable responses cachable. If
your problem is caused by uncachable responses, then collapsed
forwarding is not a solution.

Alex.

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-26 Thread Matus UHLAR - fantomas

On 26.08.16 03:16, Yuri Voinov wrote:

Everything can be much easier. Google Streaming video is not cacheable.
Absolutely.  If users are watching the same video, each time it is
downloaded from the outside. Slowly and sadly.


could something like collapsed forwarding solve this problem?

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread Amos Jeffries
On 26/08/2016 8:35 a.m., erdosain9 wrote:
> Hi.Thanks
> Yes i have a delay pool pointing to googlevideo.com and its working... but,
> it's strange because... look this.
> The proxy for now is being tested. And I have very few users (ip) in the
> proxy.
> So i have this delay pool and acl.
> 
...
> 
> The strange is that if i look the Download avg in Mikrotik i see too much
> download in the proxy ip.  as if the proxy was downloading a lot of data.
> (but like i say i just have a few users) and if my delay pools are
> working... the proxy should not exceed 1200kb... and sometimes reaches much
> higher values.
> 
> On the other hand, if I see the ip (in the mikrotik) dialoguing with the
> proxy, many are from google  and reach much higher speeds than allowed.
> But if I see a video ... yes, really slow connection, ie the delay pool
> seems to work.
> What can be what is happening ??

YouTube is not only using googlevideo domain. That domain is for the
video itself, but many other parts of the visible page and pieces of the
vidoe layer and TLS dependencies use other Google owned or hosted
domains. All of that can use hundreds of objects not in *.googlevideo.com.

There are other things too. But I dont have time right now to write that
up. You can use debug_options 11,2 to see the HTTP message headers and
figure it out.

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread Chico Venancio
What is the squid version?

Chico Venancio
(98) 9 8800 2743
CEO - VM TECH

2016-08-25 18:53 GMT-03:00 erdosain9 :

> Thats ok i dont want to give more Bandwith, and im not interest in caching
> video.
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.
> 1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679201.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread erdosain9
Thats ok i dont want to give more Bandwith, and im not interest in caching
video.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679201.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 
Everything can be much easier. Google Streaming video is not cacheable.
Absolutely.  If users are watching the same video, each time it is
downloaded from the outside. Slowly and sadly.


26.08.2016 3:10, erdosain9 пишет:
> I have ssl-bump enable... I guess "quic" is not the problem.
>
> In fact, in the pc, yes, the video slows down ... however, bandwidth,
> showing the Proxy in the mikrotik is excessive ..
>
> (sorry I do not speak English)
>
> My delay pools are fine?
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679199.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXv2BGAAoJENNXIZxhPexGZgMH/RHoRe4bHzUrvRzi+hHc1Zpg
GfOlhE4rwZa58ktX8LLx41mFSYxWe3bWknC2h/NIF2gRDHzG5uURQmOTgpwgNNHt
m3+0mHzXB4z96sZs+qkR1gdwN4JlzSyqc+En0cfh8lkJAgZ1kR0bemR9TCp7K0El
y5FoFrSjqRxboioKikzBk2VHd75r4YbTJ6A3cOHfD8cU0Ltb4DE9oAnVW2shnTOj
S01BzUfXRvYb8TuJUWsWfX78BKhkem9a74mScU6kHejubz5TyFCx6QfiZqjjGauf
soVYOOJntS8kZqXSCRq1cq16MXQSktNGzoetO63J9JjOdvES08SeixGtGQAuWwA=
=Im38
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread erdosain9
I have ssl-bump enable... I guess "quic" is not the problem.

In fact, in the pc, yes, the video slows down ... however, bandwidth,
showing the Proxy in the mikrotik is excessive ..

(sorry I do not speak English)

My delay pools are fine?



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679199.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread Jok Thuau
Be aware that youtube uses the QUIC protocol (
https://en.wikipedia.org/wiki/QUIC) with browsers that support it.
Unless you block and/or manage that specific condition with your firewall,
the actual downloading of the videos will not go through Squid...

Thanks,
Jok

On Thu, Aug 25, 2016 at 1:35 PM, erdosain9  wrote:

> Hi.Thanks
> Yes i have a delay pool pointing to googlevideo.com and its working...
> but,
> it's strange because... look this.
> The proxy for now is being tested. And I have very few users (ip) in the
> proxy.
> So i have this delay pool and acl.
>
> http_access allow localhost
> http_access allow administration
> http_access allow videoandediting
> http_access allow logistic
>
>
> acl administration src "/etc/squid/ips/administration.lst"
> acl videoandediting src "/etc/squid/ips/videoandediting.lst"
> acl logistic src "/etc/squid/ips/logistic.lst"
>
>
> delay_pools 4
>
> # Limiting YOUTUBE
> delay_class 1 1
> delay_parameters 1 3/125000
> acl YOUTUBE dstdomain .googlevideo.com
> delay_access 1 allow administration YOUTUBE
> delay_access 1 allow videoandeditting YOUTUBE
> delay_access 1 allow logistic YOUTUBE
>
> #Limting Administration
> delay_class 2 2
> delay_parameters 2 256000/256000 3/128000
> delay_access 2 allow administration
>
> #Limiting Video And Editting Area
> delay_class 3 2
> delay_parameters 3 512000/512000 6/256000
> delay_access 3 allow videoandeditting
>
> #Limiting Logistic
> delay_class 4 2
> delay_parameters 4 30/30 10/256000
> delay_access 4 allow logistic
>
>
> The strange is that if i look the Download avg in Mikrotik i see too much
> download in the proxy ip.  as if the proxy was downloading a lot of data.
> (but like i say i just have a few users) and if my delay pools are
> working... the proxy should not exceed 1200kb... and sometimes reaches much
> higher values.
>
> On the other hand, if I see the ip (in the mikrotik) dialoguing with the
> proxy, many are from google  and reach much higher speeds than allowed.
> But if I see a video ... yes, really slow connection, ie the delay pool
> seems to work.
> What can be what is happening ??
>
> Thanks for your answer.
>
>
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.
> 1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679194.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread erdosain9
Hi.Thanks
Yes i have a delay pool pointing to googlevideo.com and its working... but,
it's strange because... look this.
The proxy for now is being tested. And I have very few users (ip) in the
proxy.
So i have this delay pool and acl.

http_access allow localhost
http_access allow administration
http_access allow videoandediting
http_access allow logistic


acl administration src "/etc/squid/ips/administration.lst"
acl videoandediting src "/etc/squid/ips/videoandediting.lst"
acl logistic src "/etc/squid/ips/logistic.lst"


delay_pools 4

# Limiting YOUTUBE 
delay_class 1 1
delay_parameters 1 3/125000
acl YOUTUBE dstdomain .googlevideo.com
delay_access 1 allow administration YOUTUBE
delay_access 1 allow videoandeditting YOUTUBE
delay_access 1 allow logistic YOUTUBE

#Limting Administration
delay_class 2 2
delay_parameters 2 256000/256000 3/128000
delay_access 2 allow administration

#Limiting Video And Editting Area
delay_class 3 2
delay_parameters 3 512000/512000 6/256000
delay_access 3 allow videoandeditting

#Limiting Logistic
delay_class 4 2
delay_parameters 4 30/30 10/256000
delay_access 4 allow logistic


The strange is that if i look the Download avg in Mikrotik i see too much
download in the proxy ip.  as if the proxy was downloading a lot of data.
(but like i say i just have a few users) and if my delay pools are
working... the proxy should not exceed 1200kb... and sometimes reaches much
higher values.

On the other hand, if I see the ip (in the mikrotik) dialoguing with the
proxy, many are from google  and reach much higher speeds than allowed.
But if I see a video ... yes, really slow connection, ie the delay pool
seems to work.
What can be what is happening ??

Thanks for your answer.





--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182p4679194.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Limit Bandwith for youtube....

2016-08-25 Thread Yuri Voinov

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
 


26.08.2016 0:39, erdosain9 пишет:
> Hi.
> i have ssl-bump enable...
>
> #
> # Squid listen Port
> http_port 192.168.1.97:3128 ssl-bump generate-host-certificates=on
> dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_cert/myca.pem
> key=/etc/squid/ssl_cert/myca.pem
>
> acl excluidosSSL dstdomain "/etc/squid/listas/excluidosSSL.lst"
> ssl_bump none excluidosSSL
> ssl_bump client-first all
>
> #always_direct allow all
> ssl_bump server-first all
> sslproxy_cert_error  allow all
> sslproxy_flags DONT_VERIFY_PEER
>
> sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB
> sslcrtd_children 8 startup=1 idle=1
>
> #
>
> What kind of acl i should do...?? pointing to...??
Delay pool pointing to googlevideo.com.
>
> Thanks!!!
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Limit-Bandwith-for-youtube-tp4679182.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXvzwCAAoJENNXIZxhPexGLBgH/iNu8RK6TvqMNjbuhlFH+XEb
4CVdUo86jwv2SZ+uOP2e+75RbIxbCvPKETLKYy20kemtFPhf9VYrnXdbUPcA6mCB
sSHZFLC8sSelvWVDxvUhbhQRNydlPFGuVEU/IT92rJQPJ5oFzkjBwGfV8kbG4wr2
abhdpXHFdpysFq8T9i2FyB6eR0skbh00DbZMa2QF3Xztu3Fdb9tYoznEjQHdV44x
2HQrnBy2v8N+dGWRscnTxXXqdJHIZLc1OT+Ay7VfFZr3vfpey8YPQJhi0XXdprau
LkziXr7dWWXTzkB5qsvP/5PM4v8D7rVouOE/FSX//6JNRZVCXwSldmbbIncF30U=
=/l0O
-END PGP SIGNATURE-



0x613DEC46.asc
Description: application/pgp-keys
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users