]> git.ipfire.org Git - thirdparty/squid.git/blame - doc/release-notes/release-3.1.sgml
Merged from trunk.
[thirdparty/squid.git] / doc / release-notes / release-3.1.sgml
CommitLineData
a89d601c
AJ
1<!doctype linuxdoc system>
2<article>
3<title>Squid 3.1.PRE1 release notes</title>
4<author>Squid Developers</author>
5<date>$Id: release-3.1.sgml,v 1.6 2008/01/17 10:09:05 hno Exp $</date>
6
7<abstract>
8This document contains the release notes for version 3.1 of Squid.
9Squid is a WWW Cache application developed by the National Laboratory
10for Applied Network Research and members of the Web Caching community.
11</abstract>
12
13<toc>
14
15<sect>Notice
16<p>
17The Squid Team are pleased to announce the release of Squid-3.1.PRE1 for pre-release testing.
18
19This new release is available for download from <url url="http://www.squid-cache.org/Versions/v3/3.1/"> or the <url url="http://www.squid-cache.org/Mirrors/http-mirrors.html" name="mirrors">.
20
21A large number of the show-stopper bugs have been fixed along with general improvements to the ICAP support.
22While this release is not deemed ready for production use, we believe it is ready for wider testing by the community.
23
24We welcome feedback and bug reports. If you find a bug, please see <url url="http://wiki.squid-cache.org/SquidFaq/TroubleShooting#head-7067fc0034ce967e67911becaabb8c95a34d576d"> for how to submit a report with a stack trace.
25
26<sect>Known issues
27<p>
28Although this release is deemed good enough for testing in many setups, please note the existence of <url url="http://www.squid-cache.org/bugs/buglist.cgi?query_format=advanced&amp;short_desc_type=allwordssubstr&amp;short_desc=&amp;target_milestone=3.1&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;status_whiteboard_type=allwordssubstr&amp;status_whiteboard=&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;order=bugs.bug_severity&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=" name="open bugs against Squid-3.1">.
29
30<sect>Changes since earlier PRE releases of Squid-3.1
31<p>
32The 3.1 change history can be <url url="http://www.squid-cache.org/Versions/v3/3.1/changesets/" name="viewed here">.
33
34<sect>Changes since Squid-3.0
35
36<sect1>Major new features
37<p>
38Squid 3.1 represents a new feature release above 3.0.
39
40The most important of these new features are:
41
42<itemize>
43 <item>IPv6 Support
44 <item>Error Page Localization
45</itemize>
46
47Most user-facing changes are reflected in squid.conf (see below).
48
49<sect2>Internet Protocol version 6 (IPv6)
50
51<p>Squid 3.1 supports IPv6. To enable IPv6 support, use the ./configure --enable-ipv6 option
52
53<sect3>New Features for IPv6
54
55<p>Squid handles localhost values seperately. For the purpose of ACLs and also external
56 connections ::1 is considered a seperate IP from 127.0.0.1. This means all ACL which
57 define behaviour for localhost may need ::1/128 included.
58
59<p>--with-localhost-ipv6 option is provided for Pure-IPv6 setups who do not want to be
60 bothered by the localhost vagaries. It will enable logics to map all localhost traffic
61 through ::1 unless an IPv4-only link is required.
62
63<p>Additional ./configure --with-ipv4-mapped option is provided for OS that require a socket setting
64 to accept IPv4 addresses on IPv6 sockets, squid performs v4-mapping on these addresses
65 It is intended primarily to be used for Windows Vista builds.
66
67<p>Pinger has been upgraded to perform both ICMP and ICMPv6 as required.
68 As a result of this and due to a change in the binary protocol format between them,
69 new builds of squid are no longer backwards-compatible with old pinger binaries.
70 You will need to perform "make install-pinger" again after installing squid.
71
72<p>Peer and Client SNMP tables have been altered to handle IPv6 addresses.
73 As a side effect of this the long-missing fix to show seperate named peers on one IP
74 has been integrated. Making the SNMP peer table now produce correct output.
75 The table structure change is identical for both IPv4-only and Dual modes but with
76 IPv4-only simply not including any IP6 entries. This means any third-party SNMP
77 software which hard coded the MIB paths needs to be upgraded for this Squid release.
78
79
80<sect3>Limitations of IPv6 Support
81
82<p>Specify a specific tcp_outgoing_address and the clients who match its ACL are limited
83 to the IPv4 or IPv6 network that address belongs to. They are not permitted over the
84 IPv4-IPv6 boundary. Some ACL voodoo can however be applied to explicitly route the
85 IPv6/IPv4 bound traffic out an appropriate interface.
86<verb>
87 acl toIP6 dst ipv6
88 tcp_outgoing_address 2001::1 toIP6
89 tcp_outgoing_address 10.0.0.1 !toIP6
90</verb>
91
92<p>WCCP is not available (neither version 1 or 2). It remains built into squid for use with IPv4 traffic but IPv6 cannot use it.
93
94<p>Transparent/Interception is done via NAT at the OS level and is not available in IPv6.
95 Squid will ensure that any port set with transparent or tproxy options be an IPv4-only
96 listening address. Wildcard can still be used but will not open as an IPv6.
97 To ensure that squid can accept IPv6 traffic on its default port, an alternative should
98 be chosen to handle transparent traffic.
99<verb>
100 http_port 3128
101 http_port 8080 transparent
102</verb>
103
104<p>The bundled NTLM Auth helper is IPv4-native between itself and the NTLM server.
105 A new one will be needed for IPv6 traffic between the helper and server.
106
107<p>The bundled RADIUS Auth helper is IPv4-native, both in traffic between and data storage
108 with the RADIUS server. A new helper will be needed for IPv6 RADIUS protocol.
109
110
111<sect2>Error Page Localization
112<p>
113The error pages presented by squid may now be localized per-request to match the visitors local preferred language.
114
115<p>Squid needs to be build with the --enable-auto-locale option. And the error_directory option in squid.conf needs to be removed.
116
117<p>For best coverage of languages, using the latest language pack of error files is recommended.
118Updates can be downloaded from <url url="http://www.squid-cahch.org/Versions/langpack/" name="www.squid-cache.org/Versions/langpack/">
119
120<p>The squid developers are interested in making squid available in a wide variety of languages.
121 Contributions of new languages is encouraged.
122 Details at <url url="http://wiki.squid-cache.org/Translations" named="The Squid wiki">
123
124<sect>Windows support
45fb607a
AJ
125<P>This Squid version can run on Windows as a system service using the Cygwin emulation environment,
126or can be compiled in Windows native mode using the MinGW + MSYS development environment. Windows NT 4 SP4 and later are supported.<newline>
a89d601c
AJ
127On Windows 2000 and later the service is configured to use the Windows Service Recovery option
128restarting automatically after 60 seconds.
45fb607a 129<descrip>
a89d601c 130
45fb607a 131<tag>Usage</tag>
a89d601c 132
45fb607a 133Some new command line options were added for the Windows service support:<newline>
a89d601c
AJ
134
135The service installation is made with -i command line switch, it's possible to use -f switch at
136the same time for specify a different config-file settings for the Squid Service that will be
137stored on the Windows Registry.
138
139A new -n switch specify the Windows Service Name, so multiple Squid instance are allowed.
140<em/"Squid"/ is the default when the switch is not used.
141
142So, to install the service, the syntax is:
143
45fb607a 144<verb>squid -i [-f file] [-n name]</verb>
a89d601c
AJ
145
146Service uninstallation is made with -r command line switch with the appropriate -n switch.
147
148The -k switch family must be used with the appropriate -f and -n switches, so the syntax is:
149
150<verb>squid -k command [-f file] -n service-name</verb>
151where <em/service-name/ is the name specified with -n options at service install time.
152
153To use the Squid original command line, the new -O switch must be used ONCE, the syntax is:
154
155<verb>squid -O cmdline [-n service-name]</verb>
156If multiple service command line options must be specified, use quote. The -n switch is
157needed only when a non default service name is in use.
158
159Don't use the "Start parameters" in the Windows 2000/XP/2003 Service applet: they are
160specific to Windows services functionality and Squid is not designed for understand they.
161
162In the following example the command line of the "squidsvc" Squid service is set to "-D -u 3130":
163
164<verb>squid -O "-D -u 3130" -n squidsvc</verb>
45fb607a 165</descrip>
a89d601c 166
45fb607a
AJ
167<descrip>
168<tag>PSAPI.DLL (Process Status Helper) Considerations</tag>
a89d601c 169
45fb607a 170The process status helper functions make it easier for you to obtain information about
a89d601c
AJ
171