]> git.ipfire.org Git - thirdparty/squid.git/blob - doc/release-notes/release-3.3.sgml
Merged from trunk
[thirdparty/squid.git] / doc / release-notes / release-3.3.sgml
1 <!doctype linuxdoc system>
2 <article>
3 <title>Squid 3.3.1 release notes</title>
4 <author>Squid Developers</author>
5
6 <abstract>
7 This document contains the release notes for version 3.3 of Squid.
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
15 <p>
16 The Squid Team are pleased to announce the release of Squid-3.3.1 for testing.
17
18 This new release is available for download from <url url="http://www.squid-cache.org/Versions/v3/3.3/"> or the
19 <url url="http://www.squid-cache.org/Mirrors/http-mirrors.html" name="mirrors">.
20
21 While this release is not deemed ready for production use, we believe it is ready for wider testing by the community.
22
23 We welcome feedback and bug reports. If you find a bug, please see <url url="http://wiki.squid-cache.org/SquidFaq/BugReporting">
24 for how to submit a report with a stack trace.
25
26 <sect1>Known issues
27 <p>
28 Although this release is deemed good enough for use in many setups, please note the existence of
29 <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=3.3" name="open bugs against Squid-3.3">.
30
31
32 <sect1>Changes since earlier releases of Squid-3.3
33 <p>
34 The 3.3 change history can be <url url="http://www.squid-cache.org/Versions/v3/3.3/changesets/" name="viewed here">.
35
36 <sect>Major new features since Squid-3.2
37 <p>Squid 3.3 represents a new feature release above 3.2.
38
39 <p>The most important of these new features are:
40 <itemize>
41 <item>SQL Database logging helper
42 <item>Time-Quota session helper
43 <item>SSL-Bump Server First
44 <item>Server Certificate Mimic
45 <item>Custom HTTP request headers
46 </itemize>
47
48 Most user-facing changes are reflected in squid.conf (see below).
49
50 <sect1>SQL Database logging helper
51 <p><em>log_db_daemon</em> - Database logging daemon for Squid
52
53 <p>This program writes Squid access.log entries to an SQL database.
54 Written in Perl it can utilize any database supported by the Perl
55 database abstraction layer.
56
57 <p>NOTE: Presently it only accepts the Squid native log format.
58
59
60 <sect1>Time-Quota session helper
61 <p><em>ext_time_quota_acl</em> - Time quota external ACL helper.
62
63 <p>Allows an administrator to define time budgets (quota) for the
64 users of Squid to limit the time using Squid.
65
66 <p>This is useful for corporate lunch time allocations, wifi portal
67 pay-per-minute installations or for parental control of children.
68
69 <p>The administrator can define a time budget (e.g. 1 hour per day)
70 which is enforced through this helper using session estimations
71 of their browsing time. A 'pause' threshold is given in seconds
72 and defines the period between two requests to be treated as part
73 of the same session. Pauses shorter than this value will be
74 counted against the quota, longer ones ignored.
75
76
77 <sect1>SSL-Bump Server First
78 <p>Details at <url url="http://wiki.squid-cache.org/Features/BumpSslServerFirst">.
79
80 <p>When an intercepted connection is received, Squid first connects
81 to the server using SSL and receives the server certificate.
82 Squid then uses the host name inside the true server certificate
83 to generate a fake one and impersonates the server while still
84 using the already established secure connection to the server.
85
86 <p>Bumping server first is essentially required for handling
87 intercepted HTTPS connections but the same scheme should be used
88 for most HTTP CONNECT requests because it offers a few advantages
89 compared to the old bump-client-first approach:
90
91 <itemize>
92 <item>When Squid knows valid server certificate details, it can
93 generate its fake server certificate with those details.
94 With the bump-client-first scheme, all those details are lost.
95 In general, browsers do not care about those details but there
96 may be HTTP clients (or even human users) that require or could
97 benefit from knowing them.
98
99 <item>When a server sends a bad certificate, Squid may be able to
100 replicate that brokenness in its own fake certificate, giving
101 the HTTP client control whether to ignore the problem or
102 terminate the transaction. With bump-client-furst, it is
103 difficult to support similar dynamic, user-directed opt out;
104 Squid itself has to decide what to do when the server
105 certificate cannot be validated.
106
107 <item>When a server asks for a client certificate, Squid may be
108 able to ask the client and then forward the client certificate
109 to the server. Such client certificate handling may not be
110 possible with the bump-client-first scheme because it would
111 have to be done after the SSL handshake.
112
113 <item>Some clients (e.g., Rekonq browser v0.7.x) do not send host
114 names in CONNECT requests. Such clients require bump-server-first
115 even in forward proxying mode. Unfortunately, there are other
116 problems with fully supporting such clients (i.e., Squid does
117 not know whether the IP address in the CONNECT request is what
118 the user have typed into the address bar) so not all features
119 will work well for them until more specialized detection code
120 is added.
121 </itemize>
122
123 <sect1>Server Certificate Mimic
124 <p>Details at <url url="http://wiki.squid-cache.org/Features/MimicSslServerCert">.
125
126 <p>One of the SslBump features serious drawbacks is the loss of
127 information embedded in SSL server certificate.
128 This certificate mimic feature passes original SSL server
129 certificate information to the user. Allowing the user to
130 make an informed decision on whether to trust the server
131 certificate.
132
133
134 <sect1>Custom HTTP request headers
135 <p>The <em>request_header_add</em> option is added to insert
136 HTTP header fields to outgoing HTTP requests (i.e.,
137 request headers sent by Squid to the next HTTP hop such as a
138 cache peer or an origin server). The option has no effect on
139 cache hit traffic or requests serviced by Squid and ICAP.
140
141 <p>WARNING: If a standard HTTP header name is used, Squid does not check whether
142 the new header conflicts with any existing headers or violates
143 HTTP rules. If the request to be modified already contains a
144 field with the same name, the old field is preserved but the
145 header field values are not merged.
146
147 <p>Field-value set can be either a token or a quoted string. If quoted
148 string format is used, then the surrounding quotes are removed
149 while escape sequences and %macros are processed.
150
151 <p>In theory, all of the <em>logformat</em> codes can be used as %macros.
152 However, unlike logging (which happens at the very end of
153 transaction lifetime), the transaction may not yet have enough
154 information to expand a macro when the new header value is needed.
155 And some information may already be available to Squid but not yet
156 committed where the macro expansion code can access it (please report
157 such instances!). The macro will be expanded into a single dash
158 ('-') in such cases. Not all macros have been tested.
159
160 <p>One or more Squid ACLs may be specified to restrict header
161 injection to matching requests. As always in squid.conf, all
162 ACLs in an option ACL list must be satisfied for the insertion
163 to happen. The <em>request_header_add</em> option supports fast ACLs only.
164
165
166 <sect>Changes to squid.conf since Squid-3.2
167 <p>
168 There have been changes to Squid's configuration file since Squid-3.2.
169
170 This section gives a thorough account of those changes in three categories:
171
172 <itemize>
173 <item><ref id="newtags" name="New tags">
174 <item><ref id="modifiedtags" name="Changes to existing tags">
175 <item><ref id="removedtags" name="Removed tags">
176 </itemize>
177 <p>
178
179 <sect1>New tags<label id="newtags">
180 <p>
181 <descrip>
182 <tag>request_header_add</tag>
183 <p>New directive to add custom headers on HTTP traffic sent to upstream servers.
184
185 <tag>sslproxy_cert_sign</tag>
186 <p>New option to determine how the client certificate sent to upstream servers is signed.
187
188 <tag>sslproxy_cert_adapt</tag>
189 <p>New option to adapt certain properties of outgoing SSL certificates generated for use when bumping SSL to an upstream server.
190
191 </descrip>
192
193 <sect1>Changes to existing tags<label id="modifiedtags">
194 <p>
195 <descrip>
196 <tag>acl</tag>
197 <p><em>myport</em> and <em>myip</em>ACL types replaced with <em>localport</em> and <em>localip</em> respectively.
198 To reflect that it matches the TCP connection details and not the squid.conf port.
199 This matters when dealing with intercepted traffic, where the Squid receiving port differs from the TCP connection IP:port.
200 Always use <em>myportname</em> type to match the squid.conf port details.
201 <p>New default built-in ACLs for testing SSL certificate properties.
202 <p><em>ssl::certHasExpired</em>,
203 <em>ssl::certNotYetValid</em>,
204 <em>ssl::certDomainMismatch</em>,
205 <em>ssl::certUntrusted</em>,
206 <em>ssl::certSelfSigned</em>.
207
208 <tag>logformat</tag>
209 <p>New token <em>%ssl::bump_mode</em> to log the SSL-bump mode type performed on a request.
210 Logs values of: <em>-</em>, <em>none</em>, <em>client-first</em>, or <em>server-first</em>.
211 <p>New token of <em>%ssl::&gt;cert_subject</em> to log the Subject field of a SSL certificate received from the client.
212 <p>New token of <em>%ssl::&gt;cert_issuer</em> to log the Issuer field of a SSL certificate received from the client.
213
214 <tag>ssl_bump</tag>
215 <p>New action types <em>none</em>, <em>client-first</em>, <em>server-first</em>. The default is <em>none</em>.
216 <p>Use of <em>allow</em>/<em>deny</em> is now deprecated and they should be removed as soon as possible.
217 To retain the exact same behaviour between 3.3 and older releases replace <em>deny</em> with <em>none</em>,
218 and <em>allow</em> with <em>client-first</em>. However an upgrade to <em>server-first</em> is the recommended.
219 <p><em>NOTE</em>: Mixing of allow/deny with the new action types is prohibited and will cause Squid to exit with a FATAL error.
220
221 </descrip>
222
223 <sect1>Removed tags<label id="removedtags">
224 <p>
225 <descrip>
226
227 <p><em>There are no removed squid.conf options in Squid-3.3.</em>
228
229 </descrip>
230
231
232 <sect>Changes to ./configure options since Squid-3.2
233 <p>
234 There have been some changes to Squid's build configuration since Squid-3.2.
235
236 This section gives an account of those changes in three categories:
237
238 <itemize>
239 <item><ref id="newoptions" name="New options">
240 <item><ref id="modifiedoptions" name="Changes to existing options">
241 <item><ref id="removedoptions" name="Removed options">
242 </itemize>
243
244
245 <sect1>New options<label id="newoptions">
246 <p>
247 <descrip>
248 <p><em>There are no new ./configure options in Squid-3.3.</em>
249
250 </descrip>
251
252 <sect1>Changes to existing options<label id="modifiedoptions">
253 <p>
254 <descrip>
255 <tag>--enable-kqueue</tag>
256 <p>kqueue network I/O module is now built by default when it is available.
257 This option is no longer required to enable kqueue support,
258 but if used will abort build when kqueue dependencies are missing or broken.
259
260 <tag>--disable-kqueue</tag>
261 <p>kqueue network I/O module is now built by default when it is available.
262 This configure option is now needed to disable it. Previously it did nothing.
263
264 </descrip>
265 </p>
266
267 <sect1>Removed options<label id="removedoptions">
268 <p>
269 <descrip>
270 <tag>--enable-ntlm-fail-open</tag>
271 <p>This has not been supported by Squid for several versions.
272
273 </descrip>
274
275
276 <sect>Regressions since Squid-2.7
277
278 <p>Some squid.conf and ./configure options which were available in Squid-2.7 are not yet available in Squid-3.3
279
280 <p>If you need something to do then porting one of these from Squid-2 to Squid-3 is most welcome.
281
282 <sect1>Missing squid.conf options available in Squid-2.7
283 <p>
284 <descrip>
285 <tag>broken_vary_encoding</tag>
286 <p>Not yet ported from 2.6
287
288 <tag>cache_dir</tag>
289 <p><em>COSS</em> storage type is lacking stability fixes from 2.6
290 <p>COSS <em>overwrite-percent=</em> option not yet ported from 2.6
291 <p>COSS <em>max-stripe-waste=</em> option not yet ported from 2.6
292 <p>COSS <em>membufs=</em> option not yet ported from 2.6
293 <p>COSS <em>maxfullbufs=</em> option not yet ported from 2.6
294
295 <tag>cache_peer</tag>
296 <p><em>idle=</em> not yet ported from 2.7
297 <p><em>monitorinterval=</em> not yet ported from 2.6
298 <p><em>monitorsize=</em> not yet ported from 2.6
299 <p><em>monitortimeout=</em> not yet ported from 2.6
300 <p><em>monitorurl=</em> not yet ported from 2.6
301
302 <tag>cache_vary</tag>
303 <p>Not yet ported from 2.6
304
305 <tag>collapsed_forwarding</tag>
306 <p>Not yet ported from 2.6
307
308 <tag>error_map</tag>
309 <p>Not yet ported from 2.6
310
311 <tag>external_acl_type</tag>
312 <p><em>%ACL</em> format tag not yet ported from 2.6
313 <p><em>%DATA</em> format tag not yet ported from 2.6
314
315 <tag>external_refresh_check</tag>
316 <p>Not yet ported from 2.7
317
318 <tag>http_port</tag>
319 <p><em>act-as-origin</em> not yet ported from 2.7
320
321 <tag>ignore_ims_on_miss</tag>
322 <p>Not yet ported from 2.7
323
324 <tag>location_rewrite_access</tag>
325 <p>Not yet ported from 2.6
326
327 <tag>location_rewrite_children</tag>
328 <p>Not yet ported from 2.6
329
330 <tag>location_rewrite_concurrency</tag>
331 <p>Not yet ported from 2.6
332
333 <tag>location_rewrite_program</tag>
334 <p>Not yet ported from 2.6
335
336 <tag>refresh_pattern</tag>
337 <p><em>stale-while-revalidate=</em> not yet ported from 2.7
338 <p><em>ignore-stale-while-revalidate=</em> not yet ported from 2.7
339 <p><em>negative-ttl=</em> not yet ported from 2.7
340
341 <tag>refresh_stale_hit</tag>
342 <p>Not yet ported from 2.7
343
344 <tag>storeurl_access</tag>
345 <p>Not yet ported from 2.7
346
347 <tag>storeurl_rewrite_children</tag>
348 <p>Not yet ported from 2.7
349
350 <tag>storeurl_rewrite_concurrency</tag>
351 <p>Not yet ported from 2.7
352
353 <tag>storeurl_rewrite_program</tag>
354 <p>Not yet ported from 2.7
355
356 </descrip>
357
358 </article>