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