[squid-users] squid-users Digest, Vol 56, Issue 12

Wegner Michaël m.wegner at hopitaldugier.fr
Thu Apr 18 13:34:00 UTC 2019


Hi,

The SSL is OK I always can't play some YouTube video.
Squid in version 4.6
In access.log : TCP_TUNNEL/200 2083 CONNECT www.youtube.com:443 - HIER_DIRECT/216.58.206.238
I think the problem comes from heading.

My squid.conf for test is :
visible_hostname squid

acl localnet src 10.0.0.0/8

acl SSL_ports port 443

acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
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 CONNECT method CONNECT

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all

http_port 3128
https_port 3129 intercept ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/opt/squid/etc/ssl_cert/myCA.pem

ssl_bump splice localhost
acl 9 at_step SslBump1
acl 10 at_step SslBump2
acl 11 at_step SslBump3
ssl_bump peek 9 all
ssl_bump bump 10 all
ssl_bump bump 11 all

coredump_dir /var/spool/squid


Kind regards,

-----Message d'origine-----
De : Wegner Michaël [mailto:m.wegner at hopitaldugier.fr] 
Envoyé : mardi 9 avril 2019 11:18
À : squid-users at lists.squid-cache.org
Objet : RE: squid-users Digest, Vol 56, Issue 12



-----Message d'origine-----
De : Wegner Michaël [mailto:m.wegner at hopitaldugier.fr]
Envoyé : lundi 8 avril 2019 11:15
À : squid-users at lists.squid-cache.org
Objet : RE: squid-users Digest, Vol 56, Issue 12

Hi Antony,

The video is Ok, if i not used squid v3.5.
If on the squid.conf file I disabled rediretion on squidgaurd the problem is the same.
If squid is actived, somme videos are blocked, (the videos in restricted mode) With a old version of squid (2.6) there are no problems

Regards,

Hi,

I install a new serveur squid version 4.6 without squiguard and access allow all.
I set the ssl and i import certificate on the client but without success.

My squid.conf is : 

acl localnet src 0.0.0.1-0.255.255.255  # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8             # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10          # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16         # RFC 3927 link-local (directly plugged) machines
acl localnet src 172.16.0.0/12          # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16         # RFC 1918 local private network (LAN)
acl localnet src fc00::/7               # RFC 4193 local private network range
acl localnet src fe80::/10              # RFC 4291 link-local (directly plugged) machines

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
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 CONNECT method CONNECT

#
# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports http_access deny CONNECT !SSL_ports

# Only allow cachemgr access from localhost http_access allow localhost manager http_access deny manager

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS # include /etc/squid/conf.d/*

#http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy #http_access deny all http_access allow all


http_port 3128 ssl-bump cert=/opt/squid/etc/ssl_cert/myCA.pem generate-host-certificates=on dynamic_cert_mem_cache_size=4MB sslcrtd_program /usr/lib/squid/security_file_certgen -s /opt/squid/log/squid/ssl_db -M 4MB coredump_dir /opt/squid/var/cache/squid cache_dir ufs /opt/squid/var/cache/squid 1000 16 256 # 1GB as Cache


# Squid normally listens to port 3128

#http_port 3128

# Leave coredumps in the first cache dir coredump_dir /var/spool/squid



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


regards

Michaël


-----Message d'origine-----
De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de squid-users-request at lists.squid-cache.org
Envoyé : samedi 6 avril 2019 14:00
À : squid-users at lists.squid-cache.org
Objet : squid-users Digest, Vol 56, Issue 12

Send squid-users mailing list submissions to
	squid-users at lists.squid-cache.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.squid-cache.org/listinfo/squid-users
or, via email, send a message with subject or body 'help' to
	squid-users-request at lists.squid-cache.org

You can reach the person managing the list at
	squid-users-owner at lists.squid-cache.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of squid-users digest..."


Today's Topics:

   1. youtube restriction. (Wegner Michaël)
   2. Re: youtube restriction. (Vacheslav Zouhairy)
   3. Re: youtube restriction. (Antony Stone)


----------------------------------------------------------------------

Message: 1
Date: Fri, 05 Apr 2019 15:06:00 +0200
From: Wegner Michaël <m.wegner at hopitaldugier.fr>
To: squid-users at lists.squid-cache.org
Subject: [squid-users] youtube restriction.
Message-ID: <527bfee2.1d4ebb0.29b980e7.db3 at hopitaldugier.fr>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
 
I install squid + squidguard, and I can't play youtube video.
For example : https://m.youtube.com/watch?v=Hmj3LToi4W8 ; https://m.youtube.com/watch?v=jbBUQ-uvlRU
 
Error : video not available access to this video is limited
 
I have Ubuntu server 18.04 and squid v 3.5.27
 
Can' you help me please
 
Thanks,
 
Kind Regards
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190405/0f1e17cf/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 05 Apr 2019 16:21:28 +0300
From: Vacheslav Zouhairy <m_zouhairy at skno.by>
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] youtube restriction.
Message-ID: <edde432e1f0745413ed6d35d157a6abc025b7d3d.camel at skno.by>
Content-Type: text/plain; charset="utf-8"

time to try ufdbguard, it is very flexible and relatively easy to configure.
On Fri, 2019-04-05 at 15:06 +0200, Wegner Michaël wrote:
> Hi,
>  
> I install squid + squidguard, and I can’t play youtube video.
> For example : https://m.youtube.com/watch?v=Hmj3LToi4W8 ; 
> https://m.youtube.com/watch?v=jbBUQ-uvlRU
>  
> Error : video not available
> access to this video is limited I have Ubuntu server 18.04 and squid v
> 3.5.27 Can’ you help me please Thanks, Kind Regards 
> _______________________________________________squid-users mailing 
> listsquid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190405/4c512724/attachment-0001.html>

------------------------------

Message: 3
Date: Fri, 5 Apr 2019 15:39:08 +0200
From: Antony Stone <Antony.Stone at squid.open.source.it>
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] youtube restriction.
Message-ID: <201904051539.08777.Antony.Stone at squid.open.source.it>
Content-Type: Text/Plain;  charset="iso-8859-15"

On Friday 05 April 2019 at 15:06:00, Wegner Michaël wrote:

> Hi,
> 
> I install squid + squidguard, and I can't play youtube video.
> For example : https://m.youtube.com/watch?v=Hmj3LToi4W8 ; 
> https://m.youtube.com/watch?v=jbBUQ-uvlRU
> 
> Error : video not available access to this video is limited

1. Does it work if you do not go via Squid and SquidGuard?

2. Can you play any other Youtube videos?

3. Given that this is an HTTPS connection, how are you restricting HTTPS content with SquidGuard?

> I have Ubuntu server 18.04 and squid v 3.5.27
> 
> Can' you help me please

Regards,


Antony.

--
"Measuring average network latency is about as useful as measuring the mean temperature of patients in a hospital."

 - Stéphane Bortzmeyer

                                                   Please reply to the list;
                                                         please *don't* CC me.


------------------------------

Subject: Digest Footer

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


------------------------------

End of squid-users Digest, Vol 56, Issue 12
*******************************************



More information about the squid-users mailing list