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