[squid-users] youtube video, caching, disabling QUIC

Yuri Voinov yvoinov at gmail.com
Thu Dec 31 14:12:25 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
http://wiki.squid-cache.org/KnowledgeBase/Block%20QUIC%20protocol

31.12.15 19:45, Massimo.Sala at asl.bergamo.it пишет:
> When you request a video on Youtube, its web servers send two new HTTP
> headers to the browser :
>
>         alt-svc
>         alternate-protocol
>
> suggesting to the browser to switch to the new protocol QUIC.
>
>
> Unfortunately
>
> 1) QUIC, working over UDP, is not cacheable by squid 3.4
>
> 2) even if cacheable, IT admins have to upgrade many tools to support and
> account videos over QUIC ( proxy, firewall, bandwidth shaping, etc... )
>
> See :
>         http://wiki.squid-cache.org/KnowledgeBase/Block%20QUIC%20protocol
>
>
> We want to disable QUIC, so the servers and browsers fallbacks to normal
> HTTP for videos.
>
> ---
>
> I asked in another thread
>
>         3) support for Alternate-Protocol HTTP header.
>
>
> Amos' answer :
>
> As for #3, the Alternate-Protocol header patch is just automating these
> squid.conf settings, which you can use explicitly in any Squid version:
>
>   acl AP rep_header_regex Alternate-Protocol .
>   reply_header_access deny AP
>
>
> With that syntax :
>
> squid3 -k reconfigure
>
> 2015/12/31 14:34:21| FATAL: Invalid ACL type 'rep_header_regex'
> FATAL: Bungled /etc/squid3/squid.conf line 43: acl AP rep_header_regex
> alternate-protocol .
> Squid Cache (Version 3.4.8): Terminated abnormally.
> CPU Usage: 0.016 seconds = 0.008 user + 0.008 sys
> Maximum Resident Size: 37936 KB
> Page faults with physical i/o: 0
>
>
>
> Is it rep_header, not rep_header_regex ?
>
> Is it reply_header_access with 3 parameters ?
>
> From
> http://www.squid-cache.org/Versions/v3/3.4/cfgman/reply_header_access.html
>         Usage: reply_header_access header_name allow|deny [!]aclname ...
>
>
> Which is the correct syntax to suppress in the replies these headers ?
>         alt-svc
>         alternate-protocol
>
> best regards, Sala
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJWhTfJAAoJENNXIZxhPexGFGMH/jBda+QNuEBn2bnEu2D2CDDT
LLRgumah8hP9r7rZ2SGgU7iVBGC1SjZTgZbQ1BxoAmbbwoaoFMaoGfAgQ/YONyIi
JzF40OJtWVwt/mRmNYeSRMVekSk4+zS4phDh3lTg9cVQNaaFc0JN4BTuaz3NDZp9
UpAFqkTro/liW7aOisSvEcDk75hrQ7i2X+IHVS5gc2A77F74XOOYmdM26H0L8AuO
QYR/9LXcbR4/oOqLmBDa/3C4+6wmDmKOJiy5A0YWxgSL0rjfxSfAVsEka+P77k9v
/FB28LR9CfZZPhhUQK7yuB0w7rL4MFxJ8ZzckVWWdoPGNEO8acRUPqjgsMwbmp8=
=24YO
-----END PGP SIGNATURE-----



More information about the squid-users mailing list