Note recent changes
[freeradius.git] / doc / ChangeLog
1 FreeRADIUS 2.2.8 Wednesday 22 Apr 2015 14:00:00 EST, urgency=medium
2         Feature improvements
3         * None.
4
5         Bug fixes
6         * Fixes for clients tied to virtual servers.  If there is
7           no "listen" section there, clients use the main "listen"
8           section.
9         * Remove compiler warnings
10         * Print out correct filenames in debug mode
11         * Allow post-auth section to return "reject".  This turns
12           the response into Access-Reject.
13         * Set X509_V_FLAG_CRL_CHECK_ALL, and add "check_all_crl"
14           to eap.conf.  Fixes oCert CVE-2015-4680.
15
16 FreeRADIUS 2.2.7 Wednesday 22 Apr 2015 14:00:00 EST, urgency=medium
17         Feature improvements
18         * Allow "eap" to be listed in Post-Auth-Type Reject
19           so that it sends EAP-Fail and Message-Authenticator.
20
21         Bug fixes
22         * Fix typo in code checking for blocked threads.
23           Closes #880.
24         * Added more $(EXEEXT) to module utilities so that it
25           builds on Cygwin.  Closes #875.
26         * Note that we don't need to generate ephemeral RSA keys.
27         * Port detail file fixes from v3.
28         * Use correct destination port for replies to DHCP relay.
29         * rlm_perl can store multiple tagged attributes of the
30           same name.
31         * Update EAP-TLS methods for TLSv1.2
32         * Fix load-balance sections.  Closes #945
33
34 FreeRADIUS 2.2.6 Tuesday 18 Nov 2014 15:00:00 EST, urgency=medium
35         Feature improvements
36         * When supported by OpenSSL, allow TLS 1.1 and TLS 1.2
37           in EAP methods.
38
39         Bug fixes
40         * Fix redundant-load-balance blocks to try other modules in
41           the group if one fails.
42         * Fix potential read into uninitialised memory in rlm_pap
43           when normalising octet type attributes containing password
44           hashes. This is very unlikely to happen in the wild.
45         * Don't stop decoding DHCP options if we find a padding
46           option.
47         * Define sig_t on systems which don't have it.  Closes #765
48         * When clients are loaded from SQL, allow them to be tied
49           to a virtual server.
50         * Prevent race conditions between fork and wait for child.
51           Patch from James Rouzier.
52         * Allow UTF-8 characters in SQL.
53         * Back-port udpfromto fixes from v3
54
55 FreeRADIUS 2.2.5 Monday 28 Apr 2014 15:20:00 EDT, urgency=medium
56         Feature improvements
57         * Update dictionary.terena.
58         * expose server version via %v.  Patch from Alan Buxey.
59         * Forbid running with vulnerable versions of OpenSSL.
60           See "allow_vulnerable_openssl" in the "security"
61           subsection of "radiusd.conf"
62         * Catch underlying "heartbleed" problem, so that nothing bad
63           happens even when using a vulnerable version of OpenSSL.
64         * Add dictionary.zte
65
66         Bug fixes
67         * Minor changes to build on Sun.
68         * Print non-ASCII characters as octal in linelog.  Closes #578
69         * close stdout in daemon mode.
70         * Fix zombie period calculation.  Closes #579
71
72 FreeRADIUS 2.2.4 Wednesday 19 Mar 2014 13:20:00 EDT, urgency=medium
73         Feature improvements
74         * A "panic_action" can be set to have the server dump a gdb
75           log on SEGV or other fatal error.
76         * allow radmin command "set module status <module> <code>"
77           which can be used to forcibly enable/disable modules.
78
79         Bug fixes
80         * If the server fails to bind() after fork(), that is now
81           reported to the parent, which exits with an error.
82         * Session / delay times in MySQL are unsigned int.
83         * Use --tag=CC for libtool.  Closes #497.  Because libtool
84           is too stupid to notice that compiling means compilation.
85         * Fix bug when copying attributes for vendors > 32767
86         * Fix behaviour on FreeBSD where sending packets from an interface
87           bound to an IP address would fail when the server was built with
88           udpfromto.
89         * Don't fail config check if were listening on an IP which is
90           also a home server. Some deployments have valid reasons
91           to loop packets back to another virtual server.
92         * Use correct port when DHCP relaying.
93         * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
94           or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
95           determine the source IP.
96
97 FreeRADIUS 2.2.3 Wednesday 11 Dec 2013 15:00:00 EST, urgency=medium
98         Feature improvements
99         * Added dictionary.efficientip, dictionary.alcatel-lucent-aaa
100         * Allow zero length DN strings in rlm_ldap.
101         * If Password-With-Header has no header, assume it is
102           Cleartext-Password.
103
104         Bug fixes
105         * Make the server build when DHCP is enabled
106         * Don't crash if there's no Post-Proxy-Type Reject.
107         * Use correct fields for X509 attributes in certificates
108         * Install threads.h making it possible to link against the
109           installed headers again.
110         * Initialize SSL once in "main", instead of rlm_eap_tls.
111           Some client libraries may need SSL.
112
113 FreeRADIUS 2.2.2 Wednesday 30 Oct 2013 9:30:00 DST, urgency=medium
114         Feature improvements
115         * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
116           So that run-away child processes are caught earlier.
117         * Print out thread number for "unresponsive child".
118
119         Bug fixes
120         * Fix erroneous fall-through in "case" statements
121         * Fix priority handling in new module handling code
122         * Fix threading issue with Perl.  Closes #436
123         * Fix EAP-TLS check_cert_issuer when X509v2 extensions
124           existed.  Patch from David Wood.
125         * Fix pointer references in rlm_python.
126         * Fix "unresponsive child" issue when proxying.
127         * Set log output correctly when using -l.
128           Fix ported from 3.0.0.
129         * Buffer debug output when threaded, so that text from
130           different threads isn't interspersed.
131         * Fix SEGV in rlm_perl when using dynamic expansions.
132         * Fix build for OSX Mavericks, which hid the header files
133           in a magical place.
134         * Port DHCP fixes from 3.0.
135
136 FreeRADIUS 2.2.1 Tuesday 17 Sep 2013 12:00:00 CEST, urgency=medium
137         Feature improvements
138         * Updated dictionaries for alcatel, broadsoft, bskyb, dlink, meru,
139           telkom, trapeze, proxim, zeus, rfc6677, 6911, and rfc6930.
140         * Added %{randstr:..} support. Creates random strings in a
141           controllable format.
142         * Added operator support to rlm_python
143         * Added %{hex:...} for hex version of raw attribute data
144         * Added %{sha1:...} for SHA1 hashing of data
145         * Added %{base64:...} for raw attribute data (e.g. 32-bit IP addr),
146           and %{tobase64:...} for the printable string form (e.g. 1.2.3.4),
147           and %{base64tohex:...} to convert a base64 string to a hex string.
148         * rlm_expr is now responsible for registering many of the xlat
149           expansions. This is cleaner than bundling them all in the server
150           core. You should ensure 'expr' is listed in instantiate to ensure
151           correct operation of xlat expansions.
152         * Use correct terminology when printing errors regarding request/
153           response/message authenticators.
154         * Added keytab support to Heimdal Kerberos. Patch from Ryan Steinmetz.
155         * radsqlrelay does multiple INSERTs in one transaction.
156           Patch from Uwe Meyer-Gruhl.
157         * Run Post-Proxy-Type Reject {} if the upstream server rejected the
158           request.
159         * On startup, the server checks if it was linked with the correct
160           OpenSSL libraries.  If not, it errors out.  This prevents later
161           crashes in OpenSSL, due to library incompatibilities.
162         * Added radmin command "hup main.log", to re-open the log files,
163           without HUPing any other part of the server.
164         * Added support for EAP-Key-Name.  See raddb/sites-available/default,
165           and look for comments mentioning EAP-Key-Name.  MacSec now works.
166         * Added support for hex numbers (0x...) to %{expr: ...}
167         * Backported TLS client certificate validation from 3.0.0.
168         * Run Post-Auth for EAP inner-tunnel methods.
169         * Added more RFCs
170         * Added "show config <path>" to radmin.  You can now examine any
171           configuration item in a running server.
172         * Added TLS-Client-Cert-X509v3-Extended-Key-Usage for TLS-based EAP
173           methods.  It is set automatically from the fields in the certificate.
174         * Add CRLCP attribute in certificate creation script.  Windows phones
175           require it.  Patch from Alan Buxey.
176
177         Bug fixes
178         * Skip OCSP if there's no host / port / url, with soft_fail
179         * Properly decode AT_IDENTITY in EAP-SIM.  Patch from Iliya Peregoudov
180         * Thread max_queue_size has better bounds checking.
181         * Use correct variable for warning message if the user misconfigures
182           the server.
183         * radtest is more generous about parsing ppphint
184         * radeapclient now accepts -4 and -6, just like radclient.
185           Patch from John Dennis.
186         * Ignore ".rpmnew" and a bunch of other files when loading config
187           files from a directory.
188         * Wait for child threads before exiting.  This prevents errors on
189           exit, but may increase exit time if databases are blocked!
190           Patch from Iliya Peregoudov.
191         * Wrap rbtree calls in mutexes in rlm_cache to prevent memory
192           corruption. Patch from Phil Mayers.
193         * Port fix for %{3GPP-*} expansion from master branch.
194         * Fix sample certificate scripts when multiple client certs are
195           made
196         * Track return code priorities across if/else/elsif in unlang.
197           Closes #107
198         * In debug mode, print out DHCP options when sending a DHCP packet.
199         * Fixes to the redis modules from Brian Candler
200         * Print better debug message for LDAP "operations error"
201         * Fix a number of minor issues as found by Coverity
202         * Frees module config in order to prevent occasional crash on exit
203         * Update DHCP debugging messages to make it clearer what's
204           going on.
205         * Print multiple DHCP options the correct number of times in
206           debugging mode
207         * On debug builds, don't dlclose() modules when '-m' is used.
208           This allows valgrind to show module symbols.
209         * Don't count Status-Server packets in Access-Request statistics
210         * Minor cleanups to debug output
211         * Be more careful handling module configurations to avoid crash
212           on otherwise clean exit.
213         * For raddebug, correctly set the group of the output file.
214         * renamed dhclient to dhcpclient.  People who install it
215           shouldn't have their systems broken.
216         * for EAP-TLS methods, random_file is no longer required.
217           OpenSSL already reads /dev/urandom.
218         * Fix Suse and Redhat scripts.  Patches from Fajar Nugraha.
219         * Minor bug fix for base64 decoding.
220         * Allow two consecutive WiMAX TLVs of the same number.
221         * Remove requirement that User-Name has to match MS-CHAP-User-Name.
222           I18n issues means that the character sets could be different.
223         * Don't use ephemeral thread states from PyGILState_Ensure(), use
224           our own, generated one per thread and stored in TLS.
225         * Port module processing fixes from v3.  The code is simpler,
226           and one or two esoteric bugs are now gone.
227         * update code handling max_requests_per_server.  It should now
228           work correctly.
229         * wrap ASCTIME_R for systems not supporting the standard API.
230
231 FreeRADIUS 2.2.0 Mon 10 Sep 2012 12:00:00 CEST, urgency=medium
232         Feature improvements
233         * 100% configuration file compatible with 2.1.x.
234           The only fix needed is to disallow "hashsize=0" for rlm_passwd
235         * Update Aruba, Alcatel Lucent, APC, BT, PaloAlto, Pureware,
236           Redback, and Mikrotik dictionaries
237         * Switch to using SHA1 for certificate digests instead of MD5.
238           See raddb/certs/*.cnf
239         * Added copyright statements to the dictionaries, so that we know
240           when people are using them.
241         * Better documentation for radrelay and detail file writer.
242           See raddb/modules/radrelay and raddb/radrelay.conf
243         * Added TLS-Cert-Subject-Alt-Name-Email from patch by Luke Howard
244         * Added -F <file> to radwho
245         * Added query timeouts to MySQL driver.  Patch from Brian De Wolf.
246         * Add /etc/default/freeradius to debian package.
247           Patch from Matthew Newton
248         * Finalize DHCP and DHCP relay code.  It should now work everywhere.
249           See raddb/sites-available/dhcp, src_ipaddr and src_interface.
250         * DHCP capabilitiies are now compiled in by default.
251           It runs as a DHCP server ONLY when manually enabled.
252         * Added one letter expansions: %G - request minute and %I request
253           ID.
254         * Added script to convert ISC DHCP lease files to SQL pools.
255           See scripts/isc2ippool.pl
256         * Added rlm_cache to cache arbitrary attributes.
257         * Added max_use to rlm_ldap to force connection to be re-established
258           after a given number of queries.
259         * Added configtest option to Debian init scripts, and automatic
260           config test on restart.
261         * Added cache config item to rlm_krb5. When set to "no" ticket
262           caching is disabled which may increase performance.
263
264         Bug fixes
265         * Fix CVE-2012-3547.  All users of 2.1.10, 2.1.11, 2.1.12,
266           and 802.1X should upgrade immediately.
267         * Fix typo in detail file writer, to skip writing if the packet
268           was read from this detail file.
269         * Free cached replies when closing resumed SSL sessions.
270         * Fix a number of issues found by Coverity.
271         * Fix memory leak and race condition in the EAP-TLS session cache.
272           Thanks to Phil Mayers for tracking down OpenSSL APIs.
273         * Restrict ATTRIBUTE names to character sets that make sense.
274         * Fix EAP-TLS session Id length so that OpenSSL doesn't get
275           excited.
276         * Fix SQL IPPool logic for non-timer attributes.  Closes bug #181
277         * Change some informational messages to DEBUG rather than error.
278         * Portability fixes for FreeBSD.  Closes bug #177
279         * A much better fix for the _lt__PROGRAM__LTX_preloaded_symbols
280           nonsense.
281         * Safely handle extremely long lines in conf file variable expansion
282         * Fix for Debian bug #606450
283         * Mutex lock around rlm_perl Clone routines. Patch from Eike Dehling
284         * The passwd module no longer permits "hashsize = 0".  Setting that
285           is pointless for a host of reasons.  It will also break the server.
286         * Fix proxied inner-tunnel packets sometimes having zero authentication
287           vector.  Found by Brian Julin.
288         * Added $(EXEEXT) to Makefiles for portability.  Closes bug #188.
289         * Fix minor build issue which would cause rlm_eap to be built twice.
290         * When using "status_check=request" for a home server, the username
291           and password must be specified, or the server will not start.
292         * EAP-SIM now calculates keys from the SIM identity, not from the
293           EAP-Identity.  Changing the EAP type via NAK may result in
294           identities changing.  Bug reported by Microsoft EAP team.
295         * Use home server src_ipaddr when sending Status-Server packets
296         * Decrypt encrypted ERX attributes in CoA packets.
297         * Fix registration of internal xlat's so %{mschap:...} doesn't
298           disappear after a HUP.
299         * Can now reference tagged attributes in expansions.
300           e.g. %{Tunnel-Type:1} and %{Tunnel-Type:1[0]} now work.
301         * Correct calculation of Message-Authenticator for CoA and Disconnect
302           replies.  Patch from Jouni Malinen
303         * Install rad_counter, for managing rlm_counter files.
304         * Add unique index constraint to all SQL flavours so that alternate
305           queries work correctly.
306         * The TTLS diameter decoder is now more lenient.  It ignores
307           unknown attributes, instead of rejecting the TTLS session.
308         * Use "globfree" in detail file reader.  Prevents very slow leak.
309           Closes bug #207.
310         * Operator =~ shouldn't copy the attribute, like :=.  It should
311           instead behave more like ==.
312         * Build main Debian package without SQL dependencies
313         * Use max_queue_size in threading code
314         * Update permissions in raddb/sql/postgresql/admin.sql
315         * Added OpenSSL_add_all_algorithms() to fix issues where OpenSSL
316           wouldn't use methods it knew about.
317         * Add more sanity checks in dynamic_clients code so the server won't
318           crash if it attempts to load a badly formated client definition.