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