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