From: Amos Jeffries Date: Fri, 22 Jul 2016 08:38:30 +0000 (+1200) Subject: Add missing 'tls' option for cache_peer X-Git-Tag: SQUID_4_0_13~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ff7e52d1567797185cf427675dd960e849665e4;p=thirdparty%2Fsquid.git Add missing 'tls' option for cache_peer --- diff --git a/doc/release-notes/release-4.sgml b/doc/release-notes/release-4.sgml index 25971bb7b2..167eaf7297 100644 --- a/doc/release-notes/release-4.sgml +++ b/doc/release-notes/release-4.sgml @@ -236,6 +236,8 @@ This section gives a thorough account of those changes in three categories: cache_peer

New option auth-no-keytab to let GSSAPI implementation determine which Kerberos credentials to use, instead of specifying a keytab. +

Replaced option ssl with tls. Use of any + tls- prefixed options implies tls is enabled.

New option tls-min-version=1.N to set minimum TLS version allowed.

New option tls-default-ca replaces sslflags=NO_DEFAULT_CA

New option tls-no-npn to disable sending TLS NPN extension. @@ -243,7 +245,8 @@ This section gives a thorough account of those changes in three categories: have been removed.

Removed sslversion= option. Use tls-options= instead.

Manual squid.conf update may be required on upgrade. -

Replaced sslcafile= with tls-cafile= which takes multiple entries. +

Replaced option sslcafile= with tls-cafile= + which takes multiple entries. external_acl_type

New parameter queue-size= to set the maximum number diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 2e23180161..f82aa9e31c 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -2204,6 +2204,8 @@ parse_peer(CachePeer ** head) #endif } else if (strncmp(token, "tls-", 4) == 0) { p->secure.parse(token+4); + } else if (strncmp(token, "tls", 3) == 0) { + p->secure.parse(token+3); } else if (strcmp(token, "front-end-https") == 0) { p->front_end_https = 1; } else if (strcmp(token, "front-end-https=on") == 0) { diff --git a/src/cf.data.pre b/src/cf.data.pre index 26fe3786b0..3a43f68983 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -3308,7 +3308,7 @@ DOC_START ==== SSL / HTTPS / TLS OPTIONS ==== - ssl Encrypt connections to this peer with SSL/TLS. + tls Encrypt connections to this peer with TLS. sslcert=/path/to/ssl/certificate A client SSL certificate to use when connecting to