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