]>
Commit | Line | Data |
---|---|---|
4d0832d7 AJ |
1 | <!doctype linuxdoc system> |
2 | <article> | |
96e628ec | 3 | <title>Squid 4.0.22 release notes</title> |
4d0832d7 AJ |
4 | <author>Squid Developers</author> |
5 | ||
6 | <abstract> | |
183b876f | 7 | This document contains the release notes for version 4 of Squid. |
4d0832d7 AJ |
8 | Squid is a WWW Cache application developed by the National Laboratory |
9 | for Applied Network Research and members of the Web Caching community. | |
10 | </abstract> | |
11 | ||
12 | <toc> | |
13 | ||
14 | <sect>Notice | |
96e628ec | 15 | <p>The Squid Team are pleased to announce the release of Squid-4.0.22 for testing. |
4d0832d7 | 16 | |
183b876f | 17 | This new release is available for download from <url url="http://www.squid-cache.org/Versions/v4/"> or the |
71f0186a | 18 | <url url="http://www.squid-cache.org/Download/http-mirrors.html" name="mirrors">. |
4d0832d7 AJ |
19 | |
20 | <p>While this release is not deemed ready for production use, we believe it is ready for wider testing by the community. | |
21 | ||
22 | <p>We welcome feedback and bug reports. If you find a bug, please see <url url="http://wiki.squid-cache.org/SquidFaq/BugReporting"> | |
23 | for how to submit a report with a stack trace. | |
24 | ||
25 | <sect1>Known issues | |
4dd2c9d6 | 26 | <p>Although this release is deemed good enough for use in many setups, please note the existence of |
183b876f | 27 | <url url="http://bugs.squid-cache.org/buglist.cgi?query_format=advanced&product=Squid&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&version=4" name="open bugs against Squid-4">. |
4d0832d7 | 28 | |
1377f2b1 | 29 | <p>This release adds a dependency on C++11 support in any compiler used to build Squid. |
4dd2c9d6 | 30 | As a result older C++03 -only and most C++0x compilers will no longer build successfully. |
a9d17dfc | 31 | GCC 4.9+ and Clang 3.5+ are known to have working C++11 support and are usable. |
4dd2c9d6 AJ |
32 | GCC-4.8 will also build for now despite lack of full C++11 support, but some future features may not be available. |
33 | ||
7b84ebcc AJ |
34 | <p>This release does not support LibreSSL. |
35 | Due to a bug in the way LibreSSL uses the OpenSSL version macro some changes | |
36 | necessary to support OpenSSL 1.1 prevent building with LibreSSL. | |
37 | ||
38 | ||
183b876f | 39 | <sect1>Changes since earlier releases of Squid-4 |
4d0832d7 | 40 | <p> |
183b876f | 41 | The Squid-4 change history can be <url url="http://www.squid-cache.org/Versions/v4/changesets/" name="viewed here">. |
4d0832d7 AJ |
42 | |
43 | ||
44 | <sect>Major new features since Squid-3.5 | |
183b876f | 45 | <p>Squid 4 represents a new feature release above 3.5. |
4d0832d7 AJ |
46 | |
47 | <p>The most important of these new features are: | |
48 | <itemize> | |
9a258777 | 49 | <item>Configurable helper queue size |
1377f2b1 | 50 | <item>Helper concurrency channels changes |
0e5c14da | 51 | <item>SSL support removal |
b817c20f | 52 | <item>Helper Binary Changes |
4dd2c9d6 | 53 | <item>Secure ICAP |
4dd2c9d6 | 54 | <item>Improved SMP support |
fbcef294 | 55 | <item>Improved process management |
7b84ebcc | 56 | <item>Initial GnuTLS support |
4d0832d7 AJ |
57 | </itemize> |
58 | ||
59 | Most user-facing changes are reflected in squid.conf (see below). | |
60 | ||
61 | ||
6825b101 CT |
62 | <sect1>Configurable helper queue size |
63 | <p>The new queue-size=N option to helpers configuration, allows users | |
4dd2c9d6 | 64 | to configure the maximum number of queued requests to busy helpers. |
4d0832d7 | 65 | |
32fd6d8a | 66 | <sect1>Helper concurrency channels changes |
4dd2c9d6 AJ |
67 | <p>helper-mux.pl we have been distributing for the past few years to |
68 | encourage use of concurrency is no longer compatible with Squid. If | |
69 | used it will spawn up to 2^64 helpers and DoS the Squid server. | |
70 | ||
71 | <p>Helpers utilizing arrays to handle fixed amounts of concurrency | |
72 | channels MUST be re-written to use queues and capable of handling a | |
73 | 64-bit int as index or they will be vulnerable to buffer overrun and | |
74 | arbitrary memory accesses. | |
32fd6d8a | 75 | |
4dd2c9d6 AJ |
76 | <p>32-bit helpers need re-writing to handle the concurrency channel ID |
77 | as a 64-bit integer value. If not updated they will cause proxies to | |
78 | return unexpected results or timeout once crossing the 32-bit wrap | |
79 | boundary. Leading to undefined behaviour in the client HTTP traffic. | |
32fd6d8a | 80 | |
9a258777 | 81 | |
0e5c14da | 82 | <sect1>SSL support removal |
9a258777 | 83 | <p>Details in <url url="https://tools.ietf.org/html/rfc6176" name="RFC 6176"> |
0e5c14da | 84 | and <url url="https://tools.ietf.org/html/rfc7568" name="RFC 7568"> |
9a258777 AJ |
85 | |
86 | <p>SSLv2 is not fit for purpose. Squid no longer supports being configured with | |
4dd2c9d6 AJ |
87 | any settings regarding this protocol. That includes settings manually disabling |
88 | its use since it is now forced to disable by default. Also settings enabling | |
89 | various client/server workarounds specific to SSLv2 are removed. | |
9a258777 | 90 | |
0e5c14da | 91 | <p>SSLv3 is not fit for purpose. Squid still accepts configuration, but use |
4dd2c9d6 AJ |
92 | is deprecated and will be removed entirely in a future version. |
93 | Squid default behavour is to follow the TLS built in negotiation mechanism | |
94 | which prefers the latest TLS version. But also to accept downgrades to SSLv3. | |
95 | Use <em>tls-options=NO_SSLv3</em> to disable SSLv3 support completely. | |
0e5c14da | 96 | |
4dd2c9d6 AJ |
97 | <p>A new option <em>tls-min-version=1.N</em> is added in place of <em>sslversion=</em> |
98 | to configure the minimum version the TLS negotiation will allow to be used | |
99 | when an old TLS version is requested by the remote endpoint. | |
9a258777 | 100 | |
435c72b0 AJ |
101 | <p>The system Trusted CAs are no longer used by default when verifying client |
102 | certificates. The <em>cafile=</em> option should be used instead to load | |
103 | the specific CA which signed acceptible client certificates explicitly, | |
104 | even if that CA is one of the system Trusted CAs. | |
105 | The <em>tls-default-ca</em> option can be used to restore the old | |
106 | behaviour explicitly if needed. | |
107 | ||
8f0e29d2 | 108 | |
b817c20f AJ |
109 | <sect1>Helper Binary Changes |
110 | <p>The <em>basic_msnt_multi_domain_auth</em> helper has been removed. The | |
111 | <em>basic_smb_lm_auth</em> helper performs the same actions without extra | |
112 | Perl and Samba dependencies. | |
113 | ||
e90ce3d1 | 114 | <p>The <em>cert_valid.pl</em> testing helper has been renamed to |
bbf79f12 | 115 | <em>security_fake_certverify</em>, reflecting the Squid helper naming schema |
e90ce3d1 AJ |
116 | and that it does not actually perform any certificate checks. |
117 | ||
8732ea9d AJ |
118 | <p>The <em>security_fake_certverify</em> helper is also now built and installed |
119 | by default. It is written in Perl so does not require OpenSSL dependencies | |
120 | for installation. But does use the Perl Crypt::OpenSSL::X509 module for execution. | |
121 | Building the helper can be controlled using the <em>--enable-security-cert-validators="fake"</em> | |
122 | option. | |
123 | ||
cb0b3d63 AJ |
124 | <p>The <em>ssl_crtd</em> helper has been renamed to <em>security_file_certgen</em> |
125 | and is now built and installed by default whenever OpenSSL support is enabled. | |
126 | Building the helper can be controlled using the <em>--enable-security-cert-generators="file"</em> | |
127 | option. | |
128 | NOTE: The <em>--enable-ssl-crtd</em> option is still required to enable the | |
129 | <em>sslcrtd_program</em> helper interface within Squid that uses the helper. | |
130 | ||
b817c20f AJ |
131 | <p>The <em>ntlm_smb_lm_auth</em> helper is now built using <em>--enable-auth-ntlm="SMB_LM"</em>. |
132 | Notice the upper case where it was previously a (wrongly) lower cased acronym. | |
4d0832d7 AJ |
133 | |
134 | ||
4dd2c9d6 AJ |
135 | <sect1>Secure ICAP |
136 | <p>ICAP services can now be used over TLS connections. | |
137 | ||
138 | <p>To mark an ICAP service as secure, use an <em>icaps://</em> service URI scheme when | |
139 | listing your service via an icap_service directive. The industry is using a | |
68bdae93 AJ |
140 | <em>Secure ICAP</em> term, and Squid follows that convention, but <em>icaps</em> seems more |
141 | appropriate for a <em>scheme</em> name. | |
4dd2c9d6 AJ |
142 | |
143 | <p>Squid uses <em>port 11344</em> for Secure ICAP by default, following another popular | |
144 | proxy convention. The old 1344 default for plain ICAP ports has not changed. | |
145 | ||
146 | ||
4dd2c9d6 AJ |
147 | <sect1>Improved SMP support |
148 | <p>Use of C++11 atomic operations instead of GNU atomics allows a wider range of | |
149 | operating systems and compilers to build Squid SMP and multi-process features. | |
150 | However this does require a C++11 or C++0x compiler with a recent version of | |
151 | the C++ standard library. | |
152 | ||
153 | <p>IpcIo and Mmapped disk I/O modules are now auto-detected properly which | |
154 | enables Rock storage on more systems by default than previously. | |
155 | ||
156 | ||
fbcef294 AJ |
157 | <sect1>Improved process management |
158 | <p>Squid is traditionally refered to as a daemon. But is actually a combination | |
159 | of daemon and daemon manager processes. This has caused significant problems | |
160 | integrating it with other third-party daemon managers. | |
161 | ||
162 | <p>The Squid process which places its PID into the squid.pid file has always | |
163 | been the process to which control signals are sent. The manager process is | |
df200055 MM |
164 | now taking on signal handling instead of the main daemon process. Enabling |
165 | integration with daemon managers such as Upstart or systemd which assume the | |
fbcef294 AJ |
166 | process they initiated is the daemon with a PID to control. |
167 | ||
d73c6e83 AW |
168 | <p>The squid binary now has a new <em>--foreground</em> command line option, |
169 | which (only) prevents daemonizing the master process. | |
170 | Unlike the old <em>-N</em> option, | |
fbcef294 | 171 | <em>--foreground</em> supports SMP workers and multi-process features. |
df200055 MM |
172 | <em>--foreground</em> is particularly useful for use with <em>-z</em> (disk |
173 | cache structures creation), as it allows the caller to wait until Squid has | |
174 | finished. | |
fbcef294 AJ |
175 | |
176 | ||
7b84ebcc AJ |
177 | <sect1>Initial GnuTLS support |
178 | <p>If all you need is a proxy that connects over TLS/SSL to a <em>cache_peer</em> | |
179 | or accepts <em>https://</em> URLs over clear-text and performs the necessary | |
180 | upstream TLS connections. Then you now have the choice to build Squid with | |
181 | GnuTLS instead of OpenSSL. | |
182 | ||
183 | <p><em>squid.conf</em> directives and configuration options which have undergone | |
184 | name changes from 'ssl' to 'tls' prefix in Squid-4 have GnuTLS support, unless | |
185 | explicitly stated otherwise. | |
186 | ||
187 | <p>Advanced configuration with specific selection of ciphers and similar settings | |
188 | should still work, but needs the GnuTLS <em>Priority Strings</em> instead of | |
189 | the OpenSSL options when using GnuTLS. | |
190 | ||
191 | ||
4d0832d7 AJ |
192 | <sect>Changes to squid.conf since Squid-3.5 |
193 | <p> | |
194 | There have been changes to Squid's configuration file since Squid-3.5. | |
195 | ||
196 | This section gives a thorough account of those changes in three categories: | |
197 | ||
198 | <itemize> | |
199 | <item><ref id="newtags" name="New tags"> | |
200 | <item><ref id="modifiedtags" name="Changes to existing tags"> | |
201 | <item><ref id="removedtags" name="Removed tags"> | |
202 | </itemize> | |
203 | <p> | |
204 | ||
205 | <sect1>New tags<label id="newtags"> | |
206 | <p> | |
207 | <descrip> | |
fbf7b67f AJ |
208 | <tag>collapsed_forwarding_shared_entries_limit</tag> |
209 | <p>New directive to limit the size of a table used for sharing information | |
210 | about collapsible entries among SMP workers. | |
211 | ||
6f518cf0 S |
212 | <tag>hopeless_kid_revival_delay</tag> |
213 | <p>New directive to set a cool-down delay reviving a child process if | |
214 | the process is encountering frequent deaths. | |
215 | ||
0d8b2d16 AJ |
216 | <tag>on_unsupported_protocol</tag> |
217 | <p>New directive to set the action performed when encountering strange | |
218 | protocol requests at the beginning of an accepted TCP connection. | |
219 | ||
cde8f31b NH |
220 | <tag>reply_header_add</tag> |
221 | <p>New directive to add header fields to outgoing HTTP responses to | |
222 | the client. | |
223 | ||
0d8b2d16 AJ |
224 | <tag>request_start_timeout</tag> |
225 | <p>New directive controlling how long Squid waits for the first request | |
226 | bytes to arrive after initial connection establishment by a client. | |
227 | ||
fbf7b67f AJ |
228 | <tag>server_pconn_for_nonretriable</tag> |
229 | <p>New directive to provide fine-grained control over persistent connection | |
230 | reuse when forwarding HTTP requests that Squid cannot retry. It is useful | |
231 | in environments where opening new connections is very expensive | |
232 | and race conditions associated with persistent connections are very rare | |
233 | and/or only cause minor problems. | |
234 | ||
088d61c0 AJ |
235 | <tag>shared_memory_locking</tag> |
236 | <p>New directive to ensure shared memory is all available immediately | |
237 | on startup. Protects against SIGBUS errors, but delays startup. | |
238 | ||
7e62a74f | 239 | <tag>tls_outgoing_options</tag> |
0461fde7 | 240 | <p>New directive to define TLS security context options for outgoing |
7e62a74f | 241 | connections. For example to HTTPS servers. |
4d0832d7 | 242 | |
ff5d59eb AJ |
243 | <tag>url_rewrite_timeout</tag> |
244 | <p>Squid times active requests to redirector. This option sets | |
245 | the timeout value and the Squid reaction to a timed out | |
246 | request. | |
247 | ||
4d0832d7 AJ |
248 | </descrip> |
249 | ||
250 | <sect1>Changes to existing tags<label id="modifiedtags"> | |
251 | <p> | |
252 | <descrip> | |
da6dbcd1 EB |
253 | <tag>access_log</tag> |
254 | <p>TCP accept(2) errors logged with URI <em>error:accept-client-connection</em>. | |
255 | <p>Unused connections received in <em>http_port</em> or <em>https_port</em> | |
256 | or transactions terminated before reading[parsing] request headers | |
257 | logged with URI <em>error:transaction-end-before-headers</em>. | |
258 | ||
0461fde7 AJ |
259 | <tag>acl</tag> |
260 | <p>New <em>-m</em> flag for <em>note</em> ACL to match substrings. | |
57542821 AJ |
261 | <p>New <em>connections_encrypted</em> type for matching transactions |
262 | where all HTTP messages were received over TLS transport connections, | |
263 | including messages received from ICAP servers. | |
ef396425 AJ |
264 | <p>New <em>has</em> type for matching whether or not Squid is able to provide |
265 | certain sets of transaction state. For example HTTP reply headers. | |
b008ed2e AJ |
266 | <p>New <em>transaction_initiator</em> type for detecting various |
267 | unusual transactions. | |
268 | <p>New <em>--consensus</em>, <em>--client-requested</em> and | |
269 | <em>--server-provided</em> flags for the <em>ssl::server_name</em> | |
270 | type to control which server name to match against. | |
0461fde7 | 271 | |
9a258777 AJ |
272 | <tag>auth_param</tag> |
273 | <p>New parameter <em>queue-size=</em> to set the maximum number | |
274 | of queued requests. | |
6082a0e2 EB |
275 | <p>New parameter <em>on-persistent-overload=</em> to set the action taken |
276 | when the helper queue is overloaded. | |
9a258777 AJ |
277 | |
278 | <tag>cache_peer</tag> | |
9825b398 AJ |
279 | <p>New option <em>auth-no-keytab</em> to let GSSAPI implementation determine |
280 | which Kerberos credentials to use, instead of specifying a keytab. | |
0ff7e52d AJ |
281 | <p>Replaced option <em>ssl</em> with <em>tls</em>. Use of any |
282 | <em>tls-</em> prefixed options implies <em>tls</em> is enabled. | |
1cc44095 | 283 | <p>New option <em>tls-min-version=1.N</em> to set minimum TLS version allowed. |
435c72b0 | 284 | <p>New option <em>tls-default-ca</em> replaces <em>sslflags=NO_DEFAULT_CA</em> |
b05d749d | 285 | <p>New option <em>tls-no-npn</em> to disable sending TLS NPN extension. |
0e5c14da AJ |
286 | <p>All <em>ssloptions=</em> values for SSLv2 configuration or disabling |
287 | have been removed. | |
288 | <p>Removed <em>sslversion=</em> option. Use <em>tls-options=</em> instead. | |
9a258777 | 289 | <p>Manual squid.conf update may be required on upgrade. |
0ff7e52d AJ |
290 | <p>Replaced option <em>sslcafile=</em> with <em>tls-cafile=</em> |
291 | which takes multiple entries. | |
9a258777 | 292 | |
183b876f | 293 | <tag>external_acl_type</tag> |
9a258777 AJ |
294 | <p>New parameter <em>queue-size=</em> to set the maximum number |
295 | of queued requests. | |
6082a0e2 EB |
296 | <p>New parameter <em>on-persistent-overload=</em> to set the action taken |
297 | when the helper queue is overloaded. | |
1243ec71 | 298 | <p>Format field updated to accept any logformat %macro code. |
9a258777 AJ |
299 | |
300 | <tag>http_port</tag> | |
0e5c14da | 301 | <p>New option <em>tls-min-version=1.N</em> to set minimum TLS version allowed. |
e8cc1c9c AJ |
302 | <p>New option <em>tls-default-ca</em> replaces <em>sslflags=NO_DEFAULT_CA</em>, |
303 | the default is also changed to OFF. | |
b05d749d | 304 | <p>New option <em>tls-no-npn</em> to disable sending TLS NPN extension. |
0e5c14da AJ |
305 | <p>All <em>option=</em> values for SSLv2 configuration or disabling |
306 | have been removed. | |
307 | <p>Removed <em>version=</em> option. Use <em>tls-options=</em> instead. | |
9a258777 | 308 | <p>Manual squid.conf update may be required on upgrade. |
b0769ee3 | 309 | <p>Replaced <em>cafile=</em> with <em>tls-cafile=</em> which takes multiple entries. |
b1f62fc6 | 310 | <p>Changed default value of <em>generate-host-certificates</em> to ON. |
9a258777 AJ |
311 | |
312 | <tag>https_port</tag> | |
0e5c14da | 313 | <p>New option <em>tls-min-version=1.N</em> to set minimum TLS version allowed. |
435c72b0 AJ |
314 | <p>New option <em>tls-default-ca</em> replaces <em>sslflags=NO_DEFAULT_CA</em>, |
315 | the default is also changed to OFF. | |
b05d749d | 316 | <p>New option <em>tls-no-npn</em> to disable sending TLS NPN extension. |
1cc44095 | 317 | <p>All <em>options=</em> values for SSLv2 |
9a258777 | 318 | configuration or disabling have been removed. |
0e5c14da | 319 | <p>Removed <em>version=</em> option. Use <em>tls-options=</em> instead. |
9a258777 | 320 | <p>Manual squid.conf update may be required on upgrade. |
b0769ee3 | 321 | <p>Replaced <em>cafile=</em> with <em>tls-cafile=</em> which takes multiple entries. |
b1f62fc6 | 322 | <p>Changed default value of <em>generate-host-certificates</em> to ON. |
9a258777 | 323 | |
4dd2c9d6 AJ |
324 | <tag>icap_service</tag> |
325 | <p>New scheme <em>icaps://</em> to enable TLS/SSL connections to Secure ICAP | |
326 | servers on port 11344. | |
327 | <p>New <em>tls-cert=</em> option to set TLS client certificate to use. | |
328 | <p>New <em>tls-key=</em> option to set TLS private key matching the client | |
329 | certificate used. | |
330 | <p>New <em>tls-min-version=1.N</em> option to set minimum TLS version allowed | |
331 | on server connections. | |
332 | <p>New <em>tls-options=</em> option to set OpenSSL library parameters. | |
333 | <p>New <em>tls-flags=</em> option to set flags modifying Squid TLS operations. | |
334 | <p>New <em>tls-cipher=</em> option to set a list of ciphers permitted. | |
335 | <p>New <em>tls-cafile=</em> option to set a file with additional CA | |
336 | certificate(s) to verify the server certificate. | |
337 | <p>New <em>tls-crlfile=</em> option to set a file with a CRL to verify the | |
338 | server certificate. | |
435c72b0 AJ |
339 | <p>New <em>tls-default-ca</em> option to use the system Trusted CAs to |
340 | verify the server certificate. | |
4dd2c9d6 AJ |
341 | <p>New <em>tls-domain=</em> option to verify the server certificate domain. |
342 | ||
c28b9a0e | 343 | <tag>logformat</tag> |
0461fde7 AJ |
344 | <p>New code <em>%ssl::<cert_errors</em> to display server |
345 | certificate errors. | |
346 | <p>New code <em>%ssl::>negotiated_version</em> to display | |
347 | negotiated TLS version of the client connection. | |
348 | <p>New code <em>%ssl::<negotiated_version</em> to display | |
349 | negotiated TLS version of the last server or peer connection. | |
350 | <p>New code <em>%ssl::>received_hello_version</em> to display the | |
351 | TLS version of the Hello message received from TLS client. | |
352 | <p>New code <em>%ssl::<received_hello_version</em> to display the | |
353 | TLS version of the Hello message received from TLS server. | |
354 | <p>New code <em>%ssl::>received_supported_version</em> to display | |
355 | the maximum TLS version supported by the TLS client. | |
356 | <p>New code <em>%ssl::<received_supported_version</em> to display | |
357 | the maximum TLS version supported by the TLS server. | |
358 | <p>New code <em>%ssl::>negotiated_cipher</em> to display the | |
359 | negotiated cipher of the client connection. | |
360 | <p>New code <em>%ssl::<negotiated_cipher</em> to display the | |
361 | negotiated cipher of the last server or peer connection. | |
c28b9a0e AJ |
362 | |
363 | <tag>pid_filename</tag> | |
364 | <p>Default value now based on squid -n command line parameter. | |
365 | ||
064679ea | 366 | <tag>refresh_pattern</tag> |
1377f2b1 AJ |
367 | <p>Removed option <em>ignore-auth</em>. Its commonly desired behaviour |
368 | is performed by default with correct HTTP/1.1 revalidation. | |
064679ea | 369 | <p>Removed <em>ignore-must-revalidate</em>. Other more HTTP compliant |
1377f2b1 AJ |
370 | directives (cache, store_miss) can be used to prevent objects from |
371 | caching. | |
064679ea | 372 | |
9a258777 AJ |
373 | <tag>sslcrtd_children</tag> |
374 | <p>New parameter <em>queue-size=</em> to set the maximum number | |
375 | of queued requests. | |
6082a0e2 EB |
376 | <p>New parameter <em>on-persistent-overload=</em> to set the action taken |
377 | when the helper queue is overloaded. | |
9a258777 AJ |
378 | |
379 | <tag>sslcrtvalidator_children</tag> | |
380 | <p>New parameter <em>queue-size=</em> to set the maximum number | |
381 | of queued requests. | |
6082a0e2 EB |
382 | <p>New parameter <em>on-persistent-overload=</em> to set the action taken |
383 | when the helper queue is overloaded. | |
384 | ||
385 | <tag>store_id_children</tag> | |
386 | <p>New parameter <em>queue-size=</em> to set the maximum number | |
387 | of queued requests. | |
388 | <p>New parameter <em>on-persistent-overload=</em> to set the action taken | |
389 | when the helper queue is overloaded. | |
6825b101 | 390 | |
183b876f | 391 | <tag>url_rewrite_children</tag> |
9a258777 AJ |
392 | <p>New parameter <em>queue-size=</em> to set the maximum number |
393 | of queued requests. | |
6082a0e2 EB |
394 | <p>New parameter <em>on-persistent-overload=</em> to set the action taken |
395 | when the helper queue is overloaded. | |
4d0832d7 AJ |
396 | |
397 | </descrip> | |
398 | ||
399 | <sect1>Removed tags<label id="removedtags"> | |
400 | <p> | |
401 | <descrip> | |
f1a5d071 AJ |
402 | <tag>cache_peer_domain</tag> |
403 | <p>Superceded by <em>cache_peer_access</em>. Use dstdomain ACL | |
404 | in the access control list to restrict domains requested. | |
405 | ||
6eb545bc AJ |
406 | <tag>ie_refresh</tag> |
407 | <p>Removed. MSIE 3.x, 4.x, 5.0 and 5.01 are no longer popular browsers. | |
408 | ||
7e62a74f AJ |
409 | <tag>sslproxy_cafile</tag> |
410 | <p>Replaced by <em>tls_outgoing_options cafile=</em>. | |
b0769ee3 | 411 | Which now takes multiple entries. |
7e62a74f AJ |
412 | |
413 | <tag>sslproxy_capath</tag> | |
414 | <p>Replaced by <em>tls_outgoing_options capath=</em>. | |
415 | ||
416 | <tag>sslproxy_cipher</tag> | |
417 | <p>Replaced by <em>tls_outgoing_options cipher=</em>. | |
418 | ||
419 | <tag>sslproxy_client_certificate</tag> | |
420 | <p>Replaced by <em>tls_outgoing_options cert=</em>. | |
421 | ||
422 | <tag>sslproxy_client_key</tag> | |
423 | <p>Replaced by <em>tls_outgoing_options key=</em>. | |
424 | ||
425 | <tag>sslproxy_flags</tag> | |
426 | <p>Replaced by <em>tls_outgoing_options flags=</em>. | |
427 | ||
428 | <tag>sslproxy_options</tag> | |
429 | <p>Replaced by <em>tls_outgoing_options options=</em>. | |
1cc44095 AJ |
430 | <p>All values for SSLv2 configuration or disabling have been removed. |
431 | <p>Manual squid.conf update may be required on upgrade. | |
7e62a74f AJ |
432 | |
433 | <tag>sslproxy_version</tag> | |
1cc44095 AJ |
434 | <p>Replaced by <em>tls_outgoing_options options=</em>. |
435 | <p>All values for SSLv2 configuration or disabling have been removed. | |
436 | <p>Manual squid.conf update may be required on upgrade. | |
4d0832d7 AJ |
437 | |
438 | </descrip> | |
439 | ||
440 | ||
441 | <sect>Changes to ./configure options since Squid-3.5 | |
442 | <p> | |
443 | There have been some changes to Squid's build configuration since Squid-3.5. | |
444 | ||
445 | This section gives an account of those changes in three categories: | |
446 | ||
447 | <itemize> | |
448 | <item><ref id="newoptions" name="New options"> | |
449 | <item><ref id="modifiedoptions" name="Changes to existing options"> | |
450 | <item><ref id="removedoptions" name="Removed options"> | |
451 | </itemize> | |
452 | ||
453 | ||
454 | <sect1>New options<label id="newoptions"> | |
455 | <p> | |
456 | <descrip> | |
cb0b3d63 AJ |
457 | <tag>--enable-security-cert-generators</tag> |
458 | <p>New option to control which TLS/SSL dynamic certificate generator | |
459 | helpers are built and installed. | |
c5e641b4 | 460 | <p>Helper <em>ssl_crtd</em> has been renamed to <em>security_file_certgen</em> |
cb0b3d63 AJ |
461 | and built with module name <em>file</em>. Requires <em>--with-openssl</em>. |
462 | ||
8732ea9d | 463 | <tag>--enable-security-cert-validators</tag> |
cb0b3d63 | 464 | <p>New option to control which TLS/SSL certificate validation |
40063c71 AJ |
465 | helpers are built and installed. |
466 | <p>One <em>fake</em> helper that does not actually perform any | |
467 | certificate checks is provided for testing and as an example | |
468 | for writing custom helpers. | |
4d0832d7 | 469 | |
d93bf055 AJ |
470 | <tag>--without-cppunit</tag> |
471 | <p>The cppunit testing framework is auto-detected and used when available. | |
472 | This option can be used to disable it explicitly. | |
473 | ||
4d0832d7 AJ |
474 | </descrip> |
475 | ||
476 | <sect1>Changes to existing options<label id="modifiedoptions"> | |
477 | <p> | |
478 | <descrip> | |
700e2961 AJ |
479 | <tag>--enable-auth-basic</tag> |
480 | <p>The <em>MSNT-multi-domain</em> helper has been removed. | |
8d06d869 AJ |
481 | <p>The SMB LanMan helper <em>SMB_LM</em> is no longer built by default. |
482 | It needs to be explicitly listed to be built. | |
4d0832d7 | 483 | |
b817c20f AJ |
484 | <tag>--enable-auth-ntlm</tag> |
485 | <p>The SMB LanMan helper is now built using <em>SMB_LM</em> | |
486 | (was lower case <em>smb_lm</em>). | |
8d06d869 AJ |
487 | <p>The SMB LanMan helper <em>SMB_LM</em> is no longer built by default. |
488 | It needs to be explicitly listed to be built. | |
b817c20f | 489 | |
4dd2c9d6 AJ |
490 | <tag>--enable-diskio</tag> |
491 | <p>Auto-detection of SMP related modules has been fixed to | |
492 | actually auto-detect them without configuring the module | |
493 | list manually. | |
494 | ||
4d0832d7 AJ |
495 | </descrip> |
496 | </p> | |
497 | ||
498 | <sect1>Removed options<label id="removedoptions"> | |
499 | <p> | |
500 | <descrip> | |
d93bf055 AJ |
501 | <tag>--with-cppunit-basedir</tag> |
502 | <p>Replaced by <em>--with-cppunit=PATH</em>. | |
503 | Please prefer the default auto-detection though. | |
4d0832d7 | 504 | |
7566fb7e AJ |
505 | <tag>XSTD_USE_LIBLTDL</tag> |
506 | <p>Removed. Use <em>--with-included-ltdl</em> instead. | |
4d0832d7 AJ |
507 | </descrip> |
508 | ||
509 | ||
510 | <sect>Regressions since Squid-2.7 | |
511 | ||
183b876f | 512 | <p>Some squid.conf options which were available in Squid-2.7 are not yet available in Squid-4 |
4d0832d7 AJ |
513 | |
514 | <p>If you need something to do then porting one of these from Squid-2 to Squid-3 is most welcome. | |
515 | ||
516 | <sect1>Missing squid.conf options available in Squid-2.7 | |
517 | <p> | |
518 | <descrip> | |
519 | <tag>broken_vary_encoding</tag> | |
520 | <p>Not yet ported from 2.6 | |
521 | ||
522 | <tag>cache_peer</tag> | |
523 | <p><em>monitorinterval=</em> not yet ported from 2.6 | |
524 | <p><em>monitorsize=</em> not yet ported from 2.6 | |
525 | <p><em>monitortimeout=</em> not yet ported from 2.6 | |
526 | <p><em>monitorurl=</em> not yet ported from 2.6 | |
527 | ||
528 | <tag>cache_vary</tag> | |
529 | <p>Not yet ported from 2.6 | |
530 | ||
531 | <tag>error_map</tag> | |
532 | <p>Not yet ported from 2.6 | |
533 | ||
534 | <tag>external_refresh_check</tag> | |
535 | <p>Not yet ported from 2.7 | |
536 | ||
537 | <tag>location_rewrite_access</tag> | |
538 | <p>Not yet ported from 2.6 | |
539 | ||
540 | <tag>location_rewrite_children</tag> | |
541 | <p>Not yet ported from 2.6 | |
542 | ||
543 | <tag>location_rewrite_concurrency</tag> | |
544 | <p>Not yet ported from 2.6 | |
545 | ||
546 | <tag>location_rewrite_program</tag> | |
547 | <p>Not yet ported from 2.6 | |
548 | ||
549 | <tag>refresh_pattern</tag> | |
550 | <p><em>stale-while-revalidate=</em> not yet ported from 2.7 | |
551 | <p><em>ignore-stale-while-revalidate=</em> not yet ported from 2.7 | |
552 | <p><em>negative-ttl=</em> not yet ported from 2.7 | |
553 | ||
554 | <tag>refresh_stale_hit</tag> | |
555 | <p>Not yet ported from 2.7 | |
556 | ||
557 | <tag>update_headers</tag> | |
558 | <p>Not yet ported from 2.7 | |
559 | ||
560 | </descrip> | |
561 | ||
6a9396a7 AJ |
562 | <sect>Copyright |
563 | <p> | |
5b74111a | 564 | Copyright (C) 1996-2018 The Squid Software Foundation and contributors |
6a9396a7 AJ |
565 | <p> |
566 | Squid software is distributed under GPLv2+ license and includes | |
567 | contributions from numerous individuals and organizations. | |
568 | Please see the COPYING and CONTRIBUTORS files for details. | |
569 | ||
4d0832d7 | 570 | </article> |