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