1 FreeRADIUS 3.0.4 Mon 12 May 2014 15:30:00 EDT urgency=medium
3 * Home server "response_window" can now take fractions of a
4 second. See proxy.conf.
5 * radmin now supports "show module status", as the counterpart
7 * Added dictionary ericsson.packet.ccore.networks
8 * Add %{tag:} expansion to get the tag value of an attribute.
9 * Report 'application_name' in connections to PostgreSQL servers.
10 FreeRADIUS connections will now appear as
11 'FreeRADIUS <version> - <name>' in pg_stat_activity.
12 * All config item fields are now type checked at compile time
13 to prevent issues similar to #634 occuring again.
14 * Modify pairparsevalue to deal with embedded NULLs better,
15 and use the binary versions of attribute values in rlm_ldap.
16 * "ipaddr" will now use v6 if no v4 address is present. You should
17 use "ipv4addr" or "ipv6addr" to force v4/v6 addresses.
18 * The above applies to "listen", "home_server", and "client" sections.
19 * "client" sections will allow prefixes as "192.192.0/24". The old
20 "netmask" is still accepted, but the new format is preferred.
21 * Allow custom HTTP headers to be set for rlm_rest requests using
22 control:REST-HTTP-Header (attributes consumed after use).
23 * Extend format of %{rest:} expansion to allow HTTP method and POST
25 e.g. %{rest:POST http://example.org/api foo=bar&baz=boink}.
26 * Add %{hmacsha1:&data &key} and %{hmacmd5:&data &key} expansions
27 for signing data in requests.
28 * rlm_cache now consumes its control attributes to make runtime
30 * Add control:Cache-Read-Only which when set to 'yes' will make the
31 cache module merge existing cache data, but not create new entries.
32 * Add %{unescape:} and %{urlunquote:} expansions to reverse escaping
34 * Add support for aliases in rlm_ldap.
37 * make case-insensitive regular expressions work again.
38 * Added tests for the above
39 * A few more talloc parenting issues
40 * Fix delayed proxy reply handling. Closes #637
41 * Fix OpenSSL initialization order when using
42 RADIUS/TLS. Fixes #646
43 * Don't double-quote strings in debugging messages
44 * Fix foreach / break. Fixes #639
45 * Chargeable-User-Identifier should be "octets"
46 * Fix typo in mainconfig. Fixes #634
47 * More rlm_perl fixes. Fixes #635
48 * Free OpenSSL memory on clean exit.
49 * Fix <attr>[0] !* ANY - Was removing all instances of <attr>
50 * Fix case where multiple attributes were returned from LHS of
51 mapping, as with rlm_ldap. Fixes #652
52 * Fix corner case in cursor where using fr_cursor_next_by_da
53 after calling fr_cursor_remove may of resulted in a read of
55 * Don't SEGV if all connections to a database server go away.
57 * Fix issue where <attr> -= <value> was not removing tagged
58 instances of <attr> equal to <value> (only untagged).
59 * Fix issue where tag values were not being set on attributes
60 created with unlang/ldap update blocks.
61 * Create rlm_sqlcounter attributes as integer64 types instead
62 of integer types, so large counter values can be specified.
63 * Fix issue where specifying a dynamic client IP addresss using
64 FreeRADIUS-Client-IPv6-Prefix or FreeRADIUS-Client-IP-Prefix
65 may have caused a validation error.
66 * Don't print two "&" for messages about attribute or list
68 * Fix urlquote and escape to encode Unicode characters correctly.
69 * Fix redundant-load-balance blocks to try other modules in
70 the group if one fails.
71 * Fix issue with rlm_pap password normalisation where
72 'known good' password strings stored in octets type attributes,
73 would be sometimes misnormalised as base64.
74 * Don't stop processing DHCP options if we find a 0x00 padding
76 * Fix issue where modifying the value of an attribute created
77 from a template with a literal value, may have resulted in the
78 template literal being freed.
80 FreeRADIUS 3.0.3 Mon 12 May 2014 15:30:00 EDT urgency=medium
82 * Everything now builds with no warnings from the C compiler,
83 clang static analyzer, or cppcheck.
84 * rlm_ldap now supports defining the LDAP attribute name via
85 backticked expansion (i.e. shell command) in
86 RADIUS <-> LDAP mappings.
87 * rlm_ldap now supports older style generic attributes.
88 * dynamic expansions (e.g. "%{expr:1 + 2}" are now parsed
89 when the server starts. Syntax errors in the strings
90 are caught, and a descriptive error is printed.
91 * Static regular expressions (e.g. /a*b/) are now parsed
92 when the server starts. Syntax errors in the strings
93 are caught, and a descriptive error is printed.
94 * dynamic expansions are cached after being parsed. They are
95 no longer re-parsed at run-time for every request.
96 * regular expressions are now parsed and cached when the server
98 * Added the %{rest:} expansion to rlm_rest, which will send
99 a GET request to the URL passed as the format string.
100 Any body text will be written to the expansion buffer.
101 * rlm_rest now available as a debian package.
102 * When an 'if' condition statically evaluates to true/false,
103 unlang does more static optimization. For examples, see
104 src/tests/keywords/if-skip
105 * All modules are marked as safe for '-C', which lets the
106 dynamic expansion checks work in more situations.
107 * Added 'none' and 'custom' rlm_rest body types. 'custom'
108 allows sending of arbitrary expanded text and content-type
110 * Added "config" section to Perl. See mods-available/perl
111 * Added '%v' which expands to the server version - Patch
113 * more mis-matched casts are caught in "if" conditions,
114 and descriptive errors are printed.
115 * Support basic response validation in radclient. This allows
116 administrators to write local test cases for their
117 site-specific configurations.
118 * Removed radconf2xml and radmin "show client config" and
119 "show home_server config".
120 * Forbid running with vulnerable versions of OpenSSL.
121 See "allow_vulnerable_openssl" in the "security"
122 subsection of "radiusd.conf"
123 * Catch underlying "heartbleed" problem, so that nothing bad
124 happens even when using a vulnerable version of OpenSSL.
125 * Add locking API for sql_null, linelog, and detail modules,
126 which should improve performance and work around issues
127 on platforms with bad file locking.
128 * Allow DHCP NAKs to be delayed, via setting
129 reply:FreeRADIUS-Response-Delay = 1
130 * Allow tag and array references anywhere attributes
131 are allowed in "unlang".
132 * many enhancements to radsniff, including output
133 to collectd, ipv6 support and packet loss statistics.
134 * Many dictionary updates (ZTE, Brocade, Motorola).
135 * rlm_yubikey now automatically splits passwords from OTP
137 * The detail file reader is now threaded by default.
138 This should improve performance reading the files.
141 * Fix xlat expression %{attribute[n]} so that it actually
142 returns the n'th attribute instead of the first one.
143 * Don't parse string on RHS of update {} when using unary
144 operators (!*). The RHS should always be ignored.
145 * Check for more optional functions in json-c so we can
146 Build with libjson0, which is the name of the json-c package
148 * Fix issue in radmin where the main dictionaries would
149 not be loaded which, depending on the configuration, may
150 have caused validation errors.
151 * Fix handling of "%{reply:3GPP-*}"
152 * Fix rlm_perl garbage attributes
153 * Fix oracle SQL queries, which amongst other things still
154 used the old expansion format, which is no longer
156 * Truncate long format strings and error markers instead of
158 * Fix multiple attribute parsing in rlm_rest JSON.
159 * Don't crash in rlm_rest if connect_uri is commented out
160 in the configuration.
161 * Don't double-escape strings to / from Perl. You may need
162 to double-check your Perl scripts if they use "\" characters.
163 See mods-available/perl for documentation.
164 * Don't re-run "authorize" if a home server fails to respond.
165 * Don't append "0x" to hex output of octets types, for xlat
166 expansions. This is the same as v2, and makes it easier
167 to concatenate multiple attributes of type "octets"
168 * FreeBSD fixes for execinfo linking.
169 * Make some of the module configurations more consistent.
170 * Fix corner cases where STDOUT wouldn't be closed in
172 * Re-enable "update coa" and originating CoA requests.
173 * Prevent multiple threads writing to the sql query logs.
174 * Fix zombie period calculation. Closes #579
175 * Properly parent VPs for talloc, when moving them in map2request.
176 * Various fixes for talloc parent / child relationships
177 * Allow rlm_counter to support VSAs.
178 * Normalize return codes for many modules. "do nothing" is noop,
180 * Run Post-Proxy-Type Fail. Closes #576
181 * Fix DHCP destination port for replies to relays. Closes #591
182 * Do-Not-Respond policy works again Closes #593
183 * Proxy-To-Virtual-Server works again. Closes #596
184 * Build fixes for ancient systems. Closes #607, #608, #609.
185 * %{Module-Return-Code} works again. Closes #610.
186 * Don't increment statistics for Status-Server responses.
188 * A duplicate request isn't a duplicate if the original one
189 is marked "done". This should lower retransmissions from
191 * Fix multiple regular expression and glob memory leaks.
192 * Don't allocate any memory in fr_fault() as it can cause malloc
194 * Temporarily set dumpable flag before calling system in fr_fault()
195 else the debugger may not be able to attach.
196 * Set nonblock on all TCP client sockets.
197 * Fix minor buffer overrun in mschapv2 where some attribute strings
198 were not correctly \0 terminated.
199 * Fix crash on authentication failure with MIT kerberos.
200 * Fix code so that octal escape sequences aren't prematurely unescaped
201 in rlm_sql, radclient, preprocess, and other places. This may
202 require configuration changes, as these sequences will no longer
203 need double escaping (\\) of the backslash.
204 * The connection pools no longer have one connection used twice
205 in certain rare conditions.
206 * Use self pipes for internal signals. The code was there, but was
208 * Don't crash if there are outstanding EAP sessions and were told to
210 * Fix typo in dictionary.rfc4072
212 FreeRADIUS 3.0.2 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
214 * secret keys and LDAP / SQL passwords are now printed as
215 '<<< secret >>>' in debugging mode. Use -Xx to see the
217 * Print out more information about passwords in -Xx,
218 including hashes, comparisons, etc.
219 * Allow cast (and implicit conversion) of integers to IPv4 addresses
220 * More xlats allow attribute references. This means they can
221 operate on binary data. e.g. expr, base64, md5, sha1.
223 * The dictionaries are now auto-loaded. raddb/dictionary
224 should no longer have $INCLUDE ${prefix}/share/dictionary
225 * A "panic_action" can be set to have the server dump a gdb
226 log on SEGV or other fatal error. See radiusd.conf
227 * Add support for SHA-224, SHA-256, SHA-384, SHA-512 to rlm_pap.
228 * Add "%{sha256:}" and "%{sha512:}" xlat functions.
229 * Cache CUI in EAP session resumption.
230 * templates can now have sub-sections, which will be included
231 in the section referencing the template.
232 * Update more dictionaries.
233 * Added more instances of the "always" module, for all return
235 * Suppress broken NASes when proxying. Retransmits which occur
236 more than once per second are rate-limited to once per second.
237 * Allow '&' in more xlat expansions.
238 * Update PostgreSQL schema and queries to record last updated
239 time, and accounting interim.
240 * Optimize more "if" conditions when the server loads. This will
241 avoid work at run time. e.g. ("foo" == "bar") --> FALSE.
242 * Allow removal of all attributes within a list with !* operator.
243 * Allow list to list copies with request qualifiers (outer.).
244 * Add support for ipv4 prefixes and ipv6 addresses and prefixes to
246 * allow radmin command "set module status <module> <code>"
247 which can be used to forcibly enable/disable modules.
248 * pap module now assumes Cleartext-Password if Password-With-Header
249 doesn't have a {...} header.
250 * Added "unpack" module. It can unpack binary data from horrible
251 VSA formats. See raddb/mods-available/unpack
252 * Added example IP Pool for DHCP, using sqlite. From Matthew Newton
253 See raddb/mods-config/sql/ippool-dhcp/
257 * Fix operation of fr_strerror() with RE*() macros.
258 * Don't assert if the connection we're trying to reconnect
260 * Fix %{mschap:User-Name} xlat.
261 * Allow comparisons of signed integers and of ethernet addresses.
262 * Fix parsing of text-based ascend binary filters.
263 * Fix a few minor Coverity and clang analyzer issues.
264 * Log WARNING and ERROR prefixes only once, not twice.
265 * Fix attribute truncation seen in Perl and other places.
266 * Use correct port when DHCP relaying.
267 * Fix behaviour on FreeBSD where sending packets from an interface
268 bound to an IP address would fail when the server was built with
270 * Don't abort() when freeing home servers on exit.
271 * Fix edge case in pairmove() when some attributes could be over-
273 * Do checks for individual sqlite v2 functions so rlm_sqlite builds
274 correctly with more versions of the library.
275 * In heimdal kerberos, create MEMORY ccaches on a per context basis.
276 This prevents issues with the root ccache being used.
277 * Fix corner case with proxying, where home server goes down.
278 * Rate-limit "max_requests" complaint. We don't want to fill the
279 logs when something goes wrong.
280 * Use /dev/urandom for raddb/certs/random, if it exists.
281 * Issue WARNING that old-style clients should no longer be used.
282 * Auto-set secret to "radsec" for tcp+tls home servers.
283 * Fix double free in home_server_add when there is a parse error
285 * rlm_unix checks if the dictionaries are broken, instead of crashing
286 * Fix potential memory corruption when normalising salted password
287 hashes from hex, where the combined hash and salt was > 64 bytes.
288 * Register sqlcounter attributes correctly, and other issues with it
289 * treat 127.0.0.1/32 as being identical to 127.0.0.1
290 * Don't mangle error output of SQL drivers like PostgreSQL
291 * Fix usage of "tls = ${tls}". It could previously cause problems
292 when the reference was used multiple times.
293 * Fix TLS session leak for incoming sockets.
294 * Try harder to clean up memory on exit when using "-mM"
295 * Fix memory leak when home server is down for RadSec connections
296 * rate-limit outgoing connection attempts when the home server
297 is down. It will retry no more than once per second.
298 * When parsing ipv6 address prefixes, always mask off the host
300 * Fix rlm_counter so that it does not create two reply
302 * Fix issues with DHCP Sub-TLVs where the value of the first
303 Sub-TLV would appear corrupted, and subsequent TLVs would
304 not appear in debug output.
305 * Initialize scope in IP address parsing
306 * Prevent vendor attributes and RFC space attributes from clashing
308 * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
309 or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
310 determine the source IP.
311 * Fix POST attribute parsing in rlm_rest.
312 * Fix JSON attribute parsing in rlm_rest.
313 * Don't append trailing & to POST options in rlm_rest (minor).
314 * Process HTTP 100 Continue messages correctly in rlm_rest
315 * Fix generation of long > 512 byte POST payloads, where attribute
316 values on the chunk boundary may have been omitted in rlm_rest.
317 * Remove duplicate escape sequence parsing in rlm_sqlippool and
318 rlm_sqlcounter which caused issues with escaping %. Escape
319 sequence parsing is now handled purely by the xlat functions.
320 * Ensure %% is treated as a string literal, and so not passed to any
321 xlat escape functions for processing.
322 * Correct calculation of Message-Authenticator
323 for CoA packets. Closes #556
325 FreeRADIUS 3.0.1 Mon 13 Jan 2014 14:30:00 EDT urgency=medium
327 * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
328 So that run-away child processes are caught earlier.
329 * Allow TLS clients to use "proto = tls", in which case
330 TLS is required. The shared secret is then set to "radsec".
331 * More documentation in the tls virtual server.
332 * Add "date" module for date formatting.
333 See raddb/mods-available/date.
334 * Added unit test suite for internal server functionality
335 * When loading "update" sections, check if the RHS is a literal
336 value. If so, syntax check it immediately.
337 * Update LDAP module documentation and functionality.
338 The generic attribute can now update lists.
339 * Updated dictionary.extreme.
340 * Update sqlippool to do clears as a separate transaction,
341 and at most once per second. This should help MySQL.
342 * Respect control:Response-Packet-Type for all types of
344 * Add support for SSL encryption to the MySQL driver.
345 * Allow arbitrary connection parameters to be used with the
347 * Changes to the OpenLDAP schema to fully expose functionality
348 of the new LDAP module.
349 * Update debian packaging to include a freeradius-config
350 package. This package may be provided as a site local
351 package to avoid fighting with the preinstalled config
355 * Use correct field for ARP setting in DHCP.
356 * Fix crash on debug condition (#454).
357 * Fix a number of minor issues caught by the clang
359 * Set WARNING messages to yellow instead of normal text.
360 * Correct debug colorise logic. Patch from Phil Mayers.
361 * Encode attributes of type "ethernet". No one uses them,
363 * Work around regex initialization issues.
364 * Fix build when linking against OpenSSL.
365 * Print IDs as positive numbers, which helps for large DHCP
367 * Fix issue with sql_ippool.
368 * sqlcounter now uses 64-bit counters, to deal with 4G overflow.
369 * Fix issues with DHCP subsystem.
370 * Don't build / install disabled modules, or their config
372 * Fix build for OSX Mavericks, which hid the header files
374 * Fix LEAP buffer issue. You should still avoid LEAP.
375 * Mark "unknown" WiMAX attributes as being WiMAX.
376 * Fix typo in packet decoder for fragmented extended attrs
378 * Fix rlm_perl build issues when not using threads.
379 * Enable %{Response-Packet-Type} again.
380 * Update configuration file parser to handle "bool"
382 * Update declarations of global boolean variables to use
383 "bool" consistently. This fixes an issue where some
384 modules were instantiated in "config check" mode and
385 did not work correctly.
386 * Make more messages debug instead of info, to avoid
387 polluting the logs with messages that can't be fixed.
388 * Set operator in internal unlang code to suppress spurious
390 * Fix debian packaging.
391 * Added "status" to Debian init script.
392 * Fix "update outer.request" to update the outer request.
393 * Don't print TLS debugging messages when not in debug mode.
394 * Correctly manage counters for "limit" sections of TCP / TLS
396 * Fix libldap debug output.
397 * Fix rlm_ldap tls functionality.
398 * Initialise OpenSSL globals early to avoid issues with the
400 * Fix typo in sqlcounter expansion code. Fixes #463
401 * Overwrite previous instances of SQL-User-Name when adding
403 * Work around bugs in both MIT and heimdal versions of
404 krb5_copy_context(), which caused segfaults in
406 * Provide meaningful error messages if Heimdal krb5 is used.
407 * Fix attribute supression in rlm_detail.
408 * Exit with error code if child fails to complete server
409 initialisation after forking. This allows init scripts to
410 correctly report whether the server started ok.
412 FreeRADIUS 3.0.0 Mon 7 Oct 2013 15:48:14 EDT urgency=medium
414 * Documentation for upgrading from 2.x is in raddb/README.rst
415 Please follow it. It will make the upgrade easier.
416 * Moved configuration entries in radiusd.conf to make more sense.
417 * Added the "integer64" and "ipv4prefix" data types.
418 * Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
419 * Updated internal API to support new attributes and formats
420 * Added code to send SNMP Traps. See raddb/trigger.conf.
421 * Added preliminary support for Apple's Grand Central Dispatch
422 * Added provisions for raddb/dictionary.local, for local changes.
423 See raddb/dictionary for more details.
424 * Added packet/s tracking. See max_pps in the "listen" section.
425 * The %{} expansions and "unlang" conditions are now parsed at server
426 start. Descriptive errors are produced for syntax and format errors.
427 * Casting is now supported for "unlang" comparisons. See "man unlang"
428 e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
429 * Direct comparison of attribute references is now supported.
430 e.g. &Foo == &Bar. This avoids stringification of the attributes.
431 * Direct assignment of attributes is now supported.
432 e.g. Foo := &Bar. It also works for "octets" data types.
433 * Comparisons of IPv4 and IPv6 prefixes are now supported.
434 The "<" operator means "within the prefix" for comparisons.
435 * New sha1 xlat expansion (thanks to Alan Buxey)
436 * Colourised log messages when logging to stdout. Look for yellow
437 warnings and red errors. Doing this will save you a LOT of grief.
438 * If the PCRE library is available, use it (insted of the POSIX
439 functions) to process regular expressions (thanks to Phil Mayers).
440 * -xv now displays all the features the server was built with, and
441 the versions of the core libraries (libtalloc, libssl).
444 * Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
445 following the examples of other projects.
446 * Additional files for each module are now in raddb/mods-config/.
447 See raddb/mods-config/README.rst for documentation.
448 * Moved "users" to raddb/mods-config/files/authorize
449 * Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
450 * Moved eap.conf to mods-available/eap
451 * Moved sql.conf to mods-available/sql
452 * Moved TLS configuration for EAP into a common subsection.
453 See raddb/mods-available/eap, "tls-config" section.
454 * Added for MS-CHAP Change Password from Phil Mayers.
455 See raddb/mods-available/mschap, "passchange" subsection.
456 * Added EAP-PWD implementation from Dan Harkins
457 * Added connection pools for modules. This unifies connection
458 management which was previously different for different modules.
459 * SQL now uses the connection pool. See mods-available/sql
460 * SQL now supports arbitrary Acct-Status-Types.
461 These changes are not compatible with 2.x.
462 * SQL now has full support for SQLite. See raddb/sql/main/sqlite/
463 * SQLite supports auto-creation of new databases on server startup for
464 bootstrapping purposes.
465 * LDAP now uses the connection pool. The LDAP module has been
466 completely re-written for performance and simplicity.
467 * LDAP now caches groups. This makes multiple group checks MUCH
469 * Removed all limitations on 253 octet attributes. RFC 6929 allows
470 for attributes up to 4K in length.
471 * New rlm_idn module providing an expansion for performing IDNA encoding
472 of internationalized domain names. Thanks to 'skids'.
473 * New rlm_yubikey module to validate yubikey OTP tokens.
474 See raddb/modules/yubikey
477 * All known bug fixes from 2.2.x are included.
478 * Removed "addport" functionality.
479 * Removed many unused or duplicate modules. See raddb/README.rst.
481 Internal / API changes:
482 * All traces of the old build system have been removed.
483 The new build system is faster and simpler.
484 * clang is fully supported.
485 * We now use "talloc" for memory management. A number of new
486 features required this change. Thanks to the Samba people!
487 * Many internal APIs have been updated to use talloc.
488 * New API for iterating over VALUE_PAIRs. This is in preparation
489 for attributes, in version 3.1.
490 * No new code should directly modify any field of a VALUE_PAIR.
491 * VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
492 attribute and vendor fields. This will allow nested attributes.
493 * Some protocol specific code has been moved out into proto_* modules.
494 More will come in subsequent versions. See proto_dhcp and proto_vmps.
495 * Standardised internal logging macros. radlog() should not be used.
496 See src/include/log.h
497 * Use OpenSSL hashing functions when available.
498 * The server now builds with no warnings on most platforms.
499 * New RADIUS encoder/decoder, to support new formats.
500 * Added RFC 6929 "extended attributes", via the new encoder/decoder.
501 * Added full WiMAX support, via the new encoder/decoder. The old
502 code could not handle some unusual corner cases.