Update ChangeLog
[freeradius.git] / doc / ChangeLog
1 FreeRADIUS 3.0.3 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
2         Feature improvements
3         * rlm_ldap now supports defining the LDAP attribute name via
4           backticked expansion (i.e. shell command) in
5           RADIUS <-> LDAP mappings.
6         * rlm_ldap now supports older style generic attributes.
7         * dynamic expansions (e.g. "%{expr:1 + 2}" are now parsed
8           when the server starts.  Syntax errors in the strings
9           will be caught, and the server will refuse to start.
10         * dynamic expansions are cached after being parsed.  They are
11           no longer re-parsed at run-time for every request.
12         * Added the %{rest:} expansion to rlm_rest, which will send
13           a GET request to the URL passed as the format string.
14           Any body text will be written to the expansion buffer.
15         * rlm_rest now available as a debian package.
16         
17         Bug fixes
18         * Fix xlat expression %{attribute[n]} so that it actually
19           returns the n'th attribute instead of the first.
20         * Don't parse string on RHS of update {} when using unary
21           operators (!*).
22         * Check for more optional functions in json-c so we can 
23           Build with libjson0, which is the name of the json-c package
24           on debian/ubuntu.
25
26 FreeRADIUS 3.0.2 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
27         Feature improvements
28         * secret keys and LDAP / SQL passwords are now printed as
29           '<<< secret >>>' in debugging mode.  Use -Xx to see the
30           actual passwords.
31         * Print out more information about passwords in -Xx,
32           including hashes, comparisons, etc.
33         * Allow cast (and implicit conversion) of integers to IPv4 addresses
34         * More xlats allow attribute references.  This means they can
35           operate on binary data.  e.g. expr, base64, md5, sha1.
36         * Added more tests.
37         * The dictionaries are now auto-loaded.  raddb/dictionary
38           should no longer have $INCLUDE ${prefix}/share/dictionary
39         * A "panic_action" can be set to have the server dump a gdb
40           log on SEGV or other fatal error.  See radiusd.conf
41         * Add support for SHA-224, SHA-256, SHA-384, SHA-512 to rlm_pap.
42         * Add "%{sha256:}" and "%{sha512:}" xlat functions.
43         * Cache CUI in EAP session resumption.
44         * templates can now have sub-sections, which will be included
45           in the section referencing the template.
46         * Update more dictionaries.
47         * Added more instances of the "always" module, for all return
48           codes.
49         * Suppress broken NASes when proxying.  Retransmits which occur
50           more than once per second are rate-limited to once per second.
51         * Allow '&' in more xlat expansions.
52         * Update PostgreSQL schema and queries to record last updated
53           time, and accounting interim.
54         * Optimize more "if" conditions when the server loads.  This will
55           avoid work at run time.  e.g. ("foo" == "bar") --> FALSE.
56         * Allow removal of all attributes within a list with !* operator.
57         * Allow list to list copies with request qualifiers (outer.).
58         * Add support for ipv4 prefixes and ipv6 addresses and prefixes to
59           %{integer:}.
60         * allow radmin command "set module status <module> <code>"
61           which can be used to forcibly enable/disable modules.
62         * pap module now assumes Cleartext-Password if Password-With-Header
63           doesn't have a {...} header.
64         * Added "unpack" module.  It can unpack binary data from horrible
65           VSA formats.  See raddb/mods-available/unpack
66         * Added example IP Pool for DHCP, using sqlite.  From Matthew Newton
67           See raddb/mods-config/sql/ippool-dhcp/
68
69         Bug fixes
70         * Fix SQL groups.
71         * Fix operation of fr_strerror() with RE*() macros.
72         * Don't assert if the connection we're trying to reconnect
73           is not in_use.
74         * Fix %{mschap:User-Name} xlat.
75         * Allow comparisons of signed integers and of ethernet addresses.
76         * Fix parsing of text-based ascend binary filters.
77         * Fix a few minor Coverity and clang analyzer issues.
78         * Log WARNING and ERROR prefixes only once, not twice.
79         * Fix attribute truncation seen in Perl and other places.
80         * Use correct port when DHCP relaying.
81         * Fix behaviour on FreeBSD where sending packets from an interface
82           bound to an IP address would fail when the server was built with
83           udpfromto.
84         * Don't abort() when freeing home servers on exit.
85         * Fix edge case in pairmove() when some attributes could be over-
86           written.
87         * Do checks for individual sqlite v2 functions so rlm_sqlite builds
88           correctly with more versions of the library.
89         * In heimdal kerberos, create MEMORY ccaches on a per context basis.
90           This prevents issues with the root ccache being used.
91         * Fix corner case with proxying, where home server goes down.
92         * Rate-limit "max_requests" complaint.  We don't want to fill the
93           logs when something goes wrong.
94         * Use /dev/urandom for raddb/certs/random, if it exists.
95         * Issue WARNING that old-style clients should no longer be used.
96         * Auto-set secret to "radsec" for tcp+tls home servers.
97         * Fix double free in home_server_add when there is a parse error
98           on startup.
99         * rlm_unix checks if the dictionaries are broken, instead of crashing
100         * Fix potential memory corruption when normalising salted password
101           hashes from hex, where the combined hash and salt was > 64 bytes.
102         * Register sqlcounter attributes correctly, and other issues with it
103         * treat 127.0.0.1/32 as being identical to 127.0.0.1
104         * Don't mangle error output of SQL drivers like PostgreSQL
105         * Fix usage of "tls = ${tls}".  It could previously cause problems
106           when the reference was used multiple times.
107         * Fix TLS session leak for incoming sockets.
108         * Try harder to clean up memory on exit when using "-mM"
109         * Fix memory leak when home server is down for RadSec connections
110         * rate-limit outgoing connection attempts when the home server
111           is down.  It will retry no more than once per second.
112         * When parsing ipv6 address prefixes, always mask off the host
113           portion.
114         * Fix rlm_counter so that it does not create two reply
115           attributes.
116         * Fix issues with DHCP Sub-TLVs where the value of the first
117           Sub-TLV would appear corrupted, and subsequent TLVs would
118           not appear in debug output.
119         * Initialize scope in IP address parsing
120         * Prevent vendor attributes and RFC space attributes from clashing
121           in rlm_attr_filter.
122         * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
123           or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
124           determine the source IP.
125         * Fix POST attribute parsing in rlm_rest.
126         * Fix JSON attribute parsing in rlm_rest.
127         * Don't append trailing & to POST options in rlm_rest (minor).
128         * Process HTTP 100 Continue messages correctly in rlm_rest
129         * Fix generation of long > 512 byte POST payloads, where attribute
130           values on the chunk boundary may have been omitted in rlm_rest.
131         * Remove duplicate escape sequence parsing in rlm_sqlippool and
132           rlm_sqlcounter which caused issues with escaping %. Escape
133           sequence parsing is now handled purely by the xlat functions.
134         * Ensure %% is treated as a string literal, and so not passed to any
135           xlat escape functions for processing.
136         * Correct calculation of Message-Authenticator
137           for CoA packets.  Closes #556
138
139 FreeRADIUS 3.0.1 Mon 13 Jan 2014 14:30:00 EDT urgency=medium
140         Feature improvements
141         * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
142           So that run-away child processes are caught earlier.
143         * Allow TLS clients to use "proto = tls", in which case
144           TLS is required.  The shared secret is then set to "radsec".
145         * More documentation in the tls virtual server.
146         * Add "date" module for date formatting.
147           See raddb/mods-available/date.
148         * Added unit test suite for internal server functionality
149         * When loading "update" sections, check if the RHS is a literal
150           value.  If so, syntax check it immediately.
151         * Update LDAP module documentation and functionality.
152           The generic attribute can now update lists.
153         * Updated dictionary.extreme.
154         * Update sqlippool to do clears as a separate transaction,
155           and at most once per second.  This should help MySQL.
156         * Respect control:Response-Packet-Type for all types of
157           requests.
158         * Add support for SSL encryption to the MySQL driver.
159         * Allow arbitrary connection parameters to be used with the
160           PostgreSQL driver.
161         * Changes to the OpenLDAP schema to fully expose functionality
162           of the new LDAP module.
163         * Update debian packaging to include a freeradius-config
164           package. This package may be provided as a site local
165           package to avoid fighting with the preinstalled config
166           files.
167
168         Bug fixes
169         * Use correct field for ARP setting in DHCP.
170         * Fix crash on debug condition (#454).
171         * Fix a number of minor issues caught by the clang
172           analyzer.
173         * Set WARNING messages to yellow instead of normal text.
174         * Correct debug colorise logic.  Patch from Phil Mayers.
175         * Encode attributes of type "ethernet".  No one uses them,
176           but it makes sense.
177         * Work around regex initialization issues.
178         * Fix build when linking against OpenSSL.
179         * Print IDs as positive numbers, which helps for large DHCP
180           XIDs.
181         * Fix issue with sql_ippool.
182         * sqlcounter now uses 64-bit counters, to deal with 4G overflow.
183         * Fix issues with DHCP subsystem.
184         * Don't build / install disabled modules, or their config
185           files.
186         * Fix build for OSX Mavericks, which hid the header files
187           in a magical place.
188         * Fix LEAP buffer issue.  You should still avoid LEAP.
189         * Mark "unknown" WiMAX attributes as being WiMAX.
190         * Fix typo in packet decoder for fragmented extended attrs
191         * RPM spec fixes.
192         * Fix rlm_perl build issues when not using threads.
193         * Enable %{Response-Packet-Type} again.
194         * Update configuration file parser to handle "bool"
195           consistently.
196         * Update declarations of global boolean variables to use
197           "bool" consistently. This fixes an issue where some
198           modules were instantiated in "config check" mode and
199           did not work correctly.
200         * Make more messages debug instead of info, to avoid
201           polluting the logs with messages that can't be fixed.
202         * Set operator in internal unlang code to suppress spurious
203           warning messages.
204         * Fix debian packaging.
205         * Added "status" to Debian init script.
206         * Fix "update outer.request" to update the outer request.
207         * Don't print TLS debugging messages when not in debug mode.
208         * Correctly manage counters for "limit" sections of TCP / TLS
209           "listen" sockets.
210         * Fix libldap debug output.
211         * Fix rlm_ldap tls functionality.
212         * Initialise OpenSSL globals early to avoid issues with the
213           PostgreSQL library.
214         * Fix typo in sqlcounter expansion code.  Fixes #463
215         * Overwrite previous instances of SQL-User-Name when adding
216           it to the request.
217         * Work around bugs in both MIT and heimdal versions of
218           krb5_copy_context(), which caused segfaults in
219           multithreaded mode.
220         * Provide meaningful error messages if Heimdal krb5 is used.
221         * Fix attribute supression in rlm_detail.
222         * Exit with error code if child fails to complete server
223           initialisation after forking.  This allows init scripts to
224           correctly report whether the server started ok.
225
226 FreeRADIUS 3.0.0 Mon  7 Oct 2013 15:48:14 EDT urgency=medium
227         Feature improvements
228         * Documentation for upgrading from 2.x is in raddb/README.rst
229           Please follow it.  It will make the upgrade easier.
230         * Moved configuration entries in radiusd.conf to make more sense.
231         * Added the "integer64" and "ipv4prefix" data types.
232         * Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
233         * Updated internal API to support new attributes and formats
234         * Added code to send SNMP Traps.  See raddb/trigger.conf.
235         * Added preliminary support for Apple's Grand Central Dispatch
236         * Added provisions for raddb/dictionary.local, for local changes.
237           See raddb/dictionary for more details.
238         * Added packet/s tracking. See max_pps in the "listen" section.
239         * The %{} expansions and "unlang" conditions are now parsed at server
240           start. Descriptive errors are produced for syntax and format errors.
241         * Casting is now supported for "unlang" comparisons.  See "man unlang"
242           e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
243         * Direct comparison of attribute references is now supported.
244           e.g. &Foo == &Bar.  This avoids stringification of the attributes.
245         * Direct assignment of attributes is now supported.
246           e.g. Foo := &Bar.  It also works for "octets" data types.
247         * Comparisons of IPv4 and IPv6 prefixes are now supported.
248           The "<" operator means "within the prefix" for comparisons.
249         * New sha1 xlat expansion (thanks to Alan Buxey)
250         * Colourised log messages when logging to stdout.  Look for yellow
251           warnings and red errors.  Doing this will save you a LOT of grief.
252         * If the PCRE library is available, use it (insted of the POSIX
253           functions) to process regular expressions (thanks to Phil Mayers).
254         * -xv now displays all the features the server was built with, and
255           the versions of the core libraries (libtalloc, libssl).
256
257         Module Changes
258         * Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
259           following the examples of other projects.
260         * Additional files for each module are now in raddb/mods-config/.
261           See raddb/mods-config/README.rst for documentation.
262         * Moved "users" to raddb/mods-config/files/authorize
263         * Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
264         * Moved eap.conf to mods-available/eap
265         * Moved sql.conf to mods-available/sql
266         * Moved TLS configuration for EAP into a common subsection.
267           See raddb/mods-available/eap, "tls-config" section.
268         * Added for MS-CHAP Change Password from Phil Mayers.
269           See raddb/mods-available/mschap, "passchange" subsection.
270         * Added EAP-PWD implementation from Dan Harkins
271         * Added connection pools for modules. This unifies connection
272           management which was previously different for different modules.
273         * SQL now uses the connection pool.  See mods-available/sql
274         * SQL now supports arbitrary Acct-Status-Types.
275           These changes are not compatible with 2.x.
276         * SQL now has full support for SQLite.  See raddb/sql/main/sqlite/
277         * SQLite supports auto-creation of new databases on server startup for
278           bootstrapping purposes.
279         * LDAP now uses the connection pool.  The LDAP module has been
280           completely re-written for performance and simplicity.
281         * LDAP now caches groups.  This makes multiple group checks MUCH
282           faster.
283         * Removed all limitations on 253 octet attributes.  RFC 6929 allows
284           for attributes up to 4K in length.
285         * New rlm_idn module providing an expansion for performing IDNA encoding
286         of internationalized domain names.  Thanks to 'skids'.
287         * New rlm_yubikey module to validate yubikey OTP tokens.
288           See raddb/modules/yubikey
289
290         Bug fixes
291         * All known bug fixes from 2.2.x are included.
292         * Removed "addport" functionality.
293         * Removed many unused or duplicate modules.  See raddb/README.rst.
294
295         Internal / API changes:
296         * All traces of the old build system have been removed.
297           The new build system is faster and simpler.
298         * clang is fully supported.
299         * We now use "talloc" for memory management.  A number of new
300           features required this change.  Thanks to the Samba people!
301         * Many internal APIs have been updated to use talloc.
302         * New API for iterating over VALUE_PAIRs.  This is in preparation
303           for attributes, in version 3.1.
304         * No new code should directly modify any field of a VALUE_PAIR.
305         * VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
306           attribute and vendor fields.  This will allow nested attributes.
307         * Some protocol specific code has been moved out into proto_* modules.
308           More will come in subsequent versions.  See proto_dhcp and proto_vmps.
309         * Standardised internal logging macros.  radlog() should not be used.
310           See src/include/log.h
311         * Use OpenSSL hashing functions when available.
312         * The server now builds with no warnings on most platforms.
313         * New RADIUS encoder/decoder, to support new formats.
314         * Added RFC 6929 "extended attributes", via the new encoder/decoder.
315         * Added full WiMAX support, via the new encoder/decoder.  The old
316           code could not handle some unusual corner cases.