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