1 FreeRADIUS 3.0.8 Thu 19 Feb 2015 12:00:00 EDT urgency=medium
3 * Allow syslog_severity to be set in rlm_linelog.
4 * Allow defaults to be set for bulk clients in LDAP and couchbase.
5 * Updates to dhcpclient. Patches from Nicolas C.
8 * Don't complain about "authorize" in "server {}" blocks, but
9 only if there's no "server" block.
10 * Fix cosmetic issue where debug from the first packet read by
11 a detail reader thread would be emited during config parsing.
12 * Fix ASSERT on truncated detail packets.
13 * Don't use main server log functions from within panic_action,
14 as in the case of syslog this would cause deadlocks if the
15 fault was triggered from within a malloc.
16 * Fix issue in "switch" when "correct_escapes = false".
18 * Fix sqlcounter configuration to use "%%b" instead of "%b",
19 otherwise the new syntax validation will fail.
20 * Allow forward references in configuration items. Modules
21 aren't always loaded in a sane order.
22 * Fix more escaping issues. Closes #912.
23 * Decode MAC addresses correctly for VMPS.
24 * Fix memory leak with TLS connections.
25 * Fix state machine threading issues for conflicting packets.
26 * Fix copy_request_to_tunnel issues for tagged attributes.
27 * Allow "ok" to over-ride "updated" inside of Auth-Type sections.
28 * Update state machine so that post-proxy is run though child
29 threads for performance, instead of blocking the main thread.
30 * Allow "netmask" to work again in client definitions.
31 * Relax restrictions on SQL group queries.
32 * track outgoing proxy sockets and clean them up more aggressively.
33 * track proxy statistics, including CoA and Disconnect.
34 * If radmin has a connection failure when running a command,
35 it re-connects and runs the command again.
36 * mark home servers "unknown" less aggressively.
37 * Fix potential SEGV in PostgreSQL driver on error.
38 * Fix issue where fields like nas_type would not be accessible via
39 the %{client:} xlat, for dynamic clients.
40 * Set default busy_timeout (of 200ms) in the sqlite driver, so writes
41 don't cause selects to fail in multithreaded mode. This is user
42 configurable, and may be increased if required.
44 FreeRADIUS 3.0.7 Thu 19 Feb 2015 12:00:00 EDT urgency=medium
46 * Allow coa home_servers to be derived from client
47 sections if a coa_server section is provided.
48 * Automatically determine the correct port if no port is
49 provided for a home server.
50 * Allow foreach to operate over lists.
51 * Add compile time features to ${feature.*} and versions
52 of core libraries to ${version.*}. Feature and version
53 names match output of radiud -xv. %v is now deprecated.
54 * Add support for PATCH method in rlm_rest.
55 * Validate more module xlats on startup, and warn if an
56 xlat expansion is found in a double quoted config item
57 which will not be expanded.
58 * Add support for sub-second timeouts in rlm_rest.
59 * Add support for connection timeouts in rlm_rest.
60 * Add %{jsonquote:<str>} xlat to escape strings for insertion
62 * Add %{ldapquote:<str>} xlat to escape strings for insertion
64 * Add %{explode:&ref <char>}, splits value of &ref on
65 <char> and creates new &ref type attributes with the
67 * Allow rlm_ldap to use attribute references for base_dn and
68 filter config items. The attribute references are not
69 escaped, allowing DNs and filters to be created dynamically.
70 * Add %{nexttime:[<int>]h|d|w|y} to calculate the number of
71 seconds before the next <int> hour(s), day(s), week(s),
73 * Allow the left side of update sections to be xlat expansions.
74 The result of the expansion is then used to reference the
75 attribute to be modified.
76 * Added %{lpad:&Attribute-Name 7 x} and rpad. These produce
77 fixed-width output strings, with padding to the left (lpad)
79 * For some SQL drivers (MySQL, sqlite) distinguish between
80 constraints violations (on insert), invalid queries, and
81 server errors, and return noop, invalid, and error respectively.
82 * Call SHOW WARNINGS in the MySQL driver and write them to
83 the request log, if libmysqlclient indicates warnings are
84 available on the server.
85 * Forbid the creation of Vendor-Specific for non-standard
86 VSAs. Use Attr-26 = 0x... instead.
87 * Make dhcpclient work with raw sockets and various other
88 improvements - Contributed by nchaigne
89 * Add support for SSHA2 - Contributed by PDD.
90 * Add perle dictionary - Contributed by Hachmer
91 * Modernise init scripts for RHEL, SUSE and Debian.
92 * radmin now tracks the return code of commands, and exits
93 with status "1" if any command failed to execute.
94 * radmin now sends error messages from the server to
95 stderr, instead of to stdout.
96 * radmin now looks for sockets matching it's UID and GID,
97 rather than just always using the first one it finds.
98 * radmin can how delete clients which are tied to a listener.
99 * Moved RADIUS attribute definitions to src/include/rfc*.h
100 * Move to talloc pools for requests. For in-memory tests
101 (default config, 'users' file), performance increases by 30%.
102 * In rlm_ldap allow sasl_mech to be specified for admin and
103 user binds. Only non-interactive mechs (like EXTERNAL)
104 are currently supported.
105 * Remove support for ephemeral RSA keys. They were "export only",
106 and should not be used by anyone.
107 * Syntax errors in the "users" file now produce better
111 * Fix issues parsing LDAP hostnames with non-standard ports.
112 * Fix issues with realms containing regular expressions.
113 * Allow unary negation before parantheses in rlm_expr.
114 * Fix infinite loop in kevent event loop code. Issue only
115 presented on FreeBSD.
116 * Be more careful to define Auth-Types before loading modules.
117 * Link libfreeradius-radius against OpenSSL too, to avoid
118 multi-version symbols in SSL libraries.
119 * When rlm_ldap rebinds a connection, it should use bind
120 credentials from the module that created the connection
121 pool, not credentials from the module referencing it.
122 * Empty server config pairs should be allowed in rlm_ldap
123 instances that reference another module's connection pool.
124 * Mark rlm_always as huppable, so its rcode can be changed
125 via radmin (allows policy toggles).
126 * Emit warnings when ignoring user configured pool values.
127 * Fix issue that would cause radclient to complain
128 intermittently about differing numbers of filters and
130 * Fix cosmetic issues in connection pool logging, that made
131 it appear as if the same connection was being opened
133 * Fix threadsafety issues in SQL drivers, where a static
134 buffer was used to store error messages.
135 * Log RERROR, RWARN, RINFO to the global log if request
136 logging is not enabled.
137 * Link to libldap instead of libldap_r. libldap_r
138 is not supported for use by projects outside of OpenLDAP.
139 * Set connection timeout correctly in rlm_sql_mysql.
140 * Build with older versions of libcurl, and use CFLAGS from
142 * Honour Packet-Src-Port and Packet-Src-IP-address in radclient.
143 * Initialise ldapai_info_version field, so libldap will report
144 its vendor and version.
145 * Fix log rotation scripts by using the copyrotate option.
146 * Fix issue that caused opening control sockets to always
147 fail on non-Linux systems, if a user or group was set.
148 * Save Session-State after proxying.
149 * Additional fixes for reading CoA/DM requests from detail
151 * Create dynamic clients if the dynamic clients virtual server
152 returns ok *or* updated. Emit useful messages for other codes.
153 * Compile bare "authorize" statements, and issue errors saying
154 using them isn't a good idea.
156 FreeRADIUS 3.0.6 Wed 17 Dec 2014 16:00:00 EDT urgency=medium
158 * radmin / raddebug conditional errors are printed
159 to the output, instead of being discarded.
160 * raddebug will exit if condition set with -c was invalid.
161 * radmin auto-reconnects if the connection to the server
163 * rlm_cache now has submodule support. See
164 raddb/mods-available/cache
165 * New memcached driver for rlm_cache. See
166 raddb/mods-available/cache
167 * Add support for &Attribute-Name[*] in conditions.
168 See "man unlang" for details.
169 * Add &Attribute-Name[n] which gets the last instance
170 of an attribute e.g. Module-Failure-Message[n].
171 * Allow for redundant string expansions. See the
172 "instantiate" section of radiusd.conf.
173 * When checking IP addresses in conditions, make the
174 right side be parsed as an IP prefix.
175 * Support JIT compilation of compiled regular expressions
176 when built with libpcre.
177 * Support named capture groups with "%{regex:<name>}"
178 when built with libpcre.
179 * Increase regular expression capture groups from 8 to 32.
180 * Emit error markers for badly formed regular expressions.
181 * Allow 'm' flag to enable multiline mode in regular
183 * Support limited implicit attribute conversion in update
185 * Support casting between IPv6 and IPv4 where the IPv6
186 address has the v4/v6 mapping prefix (::ffff:).
189 * PEAP works again. As does proxying EAP-MSCHAPv2
190 from inside of a PEAP tunnel.
191 * "group" is allowed inside of "instantiate" sections.
192 * update disconnect {} with
193 disconnect:Packet-Dst-IP-Address now works correctly.
194 * Regular expression comparisons of non string attributes
195 are now disallowed in the files module. Previously
196 they would silently fail or produce undefined behaviour.
197 * Fix parsing of old regular expressions. Closes #842
198 * Fix off by one error in ascend filters. Closes #843.
199 * Handle NT-Hash in rlm_pap. This allows passwords to
200 have backslashes in them.
201 * Fix infinite loop on "Fall-Through = yes" when
202 processing SQL groups.
203 * Correct the check of SQL query return code.
204 * Run "Post-Auth-Type Reject" if the request was rejected
206 * Write "Login OK" only if the post-auth section passed.
207 * Create TLS-Cert-* certificates, even when EAP session
209 * Finalize the "correct_escapes" with many more tests.
210 * Move to the new OpenLDAP libldap API, fixes more issues
212 * Fix potential memory corruption in rlm_ldap if start
213 connections were set to 0, and the server was running
214 in threaded mode. The fix is a workaround for an issue
215 in libldap and was suggested by Howard Chu.
216 * Give parse errors on "%{...", without the closing brace.
217 * Allow spaces in certificate passwords for build rules
219 * Make all regular expression evaluation binary safe.
220 Where that's not possible, emit an error if the pattern
221 or subject contains an embedded null byte.
222 * Fix various issues around masking IPv6 addresses.
223 * Give descriptive error if unknown attributes are used
224 in "update" sections.
225 * Deal with cases where ldap_initialize isn't available
226 gracefully, and use it exclusively when it's available.
228 FreeRADIUS 3.0.5 Fri 21 Nov 2014 15:30:00 EDT urgency=medium
230 * Large update to Huawei dictionary.
231 * Added dictionary.rfc7155
232 * Regular expressions like /%{User-Name}/ are now parsed
233 and validated when the server starts.
234 * All configuration items which are dynamically expanded
235 are now parsed and validated when the server starts.
236 * %{expr:...} expressions can now do bit shifting and more.
237 See raddb/mods-available/expr.
238 * The detail file reader can now track packets which have
239 had replies, so they are never re-transmitted. See
240 raddb/sites-available/buffered-sql, the "track" config item.
241 * CoA and Disconnect packets can now be sent to a specific
242 home server by setting control:Packet-Dst-IP-Address and
243 (optionally) control:Packet-Dst-Port.
244 * Allow CoA and Disconnect packets to be read from the
246 * Allow LDAP to specify arbitrary attributes for dynamic
248 * Convert all unused attributes in the control: list to config
249 pairs in dynamic clients. This allows arbitrary client
250 attributes to be set for dynamic clients too.
251 * rlm_couchbase now supports bulk loading of clients on startup
252 in a similar way to rlm_ldap. Contributed by Aaron Hurt.
253 * Allow one level of backslashes (finally). See radiusd.conf,
254 "correct_escapes" setting.
255 * Rename dictionary.redback to dictionary.ericsson.ab
256 * Add --disable-openssl-version-check option to configure.
257 So vendors can disable the check. Patch from
259 * Do context-specific indenting in debug messages. This makes
260 the debug output easier to read.
261 * Make configuration a separate RPM, just like for Debian.
262 * better decoding of unknown VSAs
263 * When supported by OpenSSL, allow TLS 1.1 and TLS 1.2
265 * Allow multiple new connections to be spawned simultaneously
266 in the connection pool, to cope with spikes in traffic.
267 * Document retry_delay in connection pools.
268 * Allow checksimul in rlm_couchbase.
269 * Use kqueue on systems which support it. This allows for
270 better scaling when using many sockets.
273 * Parse list qualifiers in generic LDAP 'valuepair_attribute'
274 attributes correctly.
275 * Fix issue where prefix length would be ignored for dynamic
276 or static clients if the address matched INADDR_ANY
278 * Allow null user object filter in rlm_ldap, it's valid to
279 specify a complete object DN and use the base scope.
280 * Don't SEGV if a received attribute value in a JSON structure
281 is null, or a value can't be stringified.
282 * Don't assert if the server returns a JSON content-type and
283 the server hasn't been built with support for JSON.
285 * Set CURLOPT_NOSIGNAL to prevent curl from handling signals
286 and causing a longjmp error when the server was running with
288 * Allow tabs after attribute names in the "users" file.
290 * Free unknown DICT_ATTRs. Closes #795
291 * Handle unknown attributes in the conditions and "update"
292 sections. e.g. Attr-1.2.3.4 = foo.
293 * Use correct array size for MS-CHAP new password.
294 * In rlm_rest, check for older versions of libraries at start
295 time, rather than when a packet comes in.
296 * Don't call detach on parse error in rlm_perl. Closes #802.
297 * Integer fixes for big-endian systems. Closes #803.
298 * Don't optimize %{Packet-Src-IP-Address}. Closes #804.
299 * dhcpclient loads dictionaries correclty. Closes #805.
300 * double quotes are no longer escaped in single-quoted
301 strings. e.g. 'foo "hello" bar'.
302 * Fixes for proxying to virtual servers broke the detail file
303 reader. Now they both work.
304 * Typos and fixes from Nikolai Kondrashov.
305 * Fixes to OpenSSL version checks, for cross-platform issues.
306 * cppcheck fixes from Herwin Weststrate.
307 * Fix build for OSX Yosemite
308 * Merge DHCP sub-options. Closes #812.
309 * Fix decoding of Starent attributes.
310 * When a module asks for a connection, don't return idle
312 * LDAP connection timeouts will now retry, instead of failing.
313 * Prevent race conditions between fork and wait for child.
314 Patch from James Rouzier.
315 * Fix triggers for connection pools. Patches from
317 * Fix SEGV when comparing non string type check items.
318 * Build with newer versions of libmysqlclient.
319 * make the %{escape:} and %{unescape:} xlat functions UTF8
321 * Don't escape UTF8 chars in SQL query strings.
322 * Fix issue in cached LDAP group comparisons, which caused
323 checks to sometimes fail.
324 * Fix use after free issue in unlang switch evaluation.
325 * Respect operators in rlm_cache when merging into the current
327 * Update Cache-Entry-Hits each time rlm_cache is called.
328 * Produce WARN messages if SQL queries are empty strings.
329 * Fix invalid assertion when proxying CoA requests.
330 * Allow empty strings in "case" statements. Closes #836.
331 * Normalize escaping for string expansions. i.e. don't do
332 double escaping in rare situations.
333 * Normalize LDAP escaping. LDAP servers have multiple ways
334 to escape things, so the data has to be normalized before
335 we can compare two LDAP DNs.
336 * Don't go to high debug level if we're proxying inner EAP
338 * Fix rlm_rest state handling. Closes #835.
340 FreeRADIUS 3.0.4 Wed 10 Sep 2014 12:00:00 EDT urgency=medium
342 * Home server "response_window" can now take fractions of a
343 second. See proxy.conf.
344 * radmin now supports "show module status", as thee counterpart
345 to "set module status"
346 * Added dictionary ericsson.packet.ccore.networks, bluecoat,
347 citrix, compatible, riverbed, ruckus, and RFC 7268.
348 * Add %{tag:} expansion to get the tag value of an attribute.
349 * Report 'application_name' in connections to PostgreSQL servers.
350 FreeRADIUS connections will now appear as
351 'FreeRADIUS <version> - <name>' in pg_stat_activity.
352 * All config item fields are now type checked at compile time
353 to prevent issues similar to #634 occuring again.
354 * Modify pairparsevalue to deal with embedded NULLs better,
355 and use the binary versions of attribute values in rlm_ldap.
356 * "ipaddr" will now use v6 if no v4 address is present. You should
357 use "ipv4addr" or "ipv6addr" to force v4/v6 addresses.
358 * The above applies to "listen", "home_server", and "client" sections.
359 * "client" sections will allow "ipaddr = 192.192.0/24". The old
360 "netmask" is still accepted, but the new format is preferred.
361 * Allow custom HTTP headers to be set for rlm_rest requests using
362 control:REST-HTTP-Header (attributes consumed after use).
363 * Extend format of %{rest:} expansion to allow HTTP method and POST
365 e.g. %{rest:POST http://example.org/api foo=bar&baz=boink}.
366 * Add %{hmacsha1:&data &key} and %{hmacmd5:&data &key} expansions
367 for signing data in requests.
368 * rlm_cache now consumes its control attributes to make runtime
369 configuration easier.
370 * Add control:Cache-Read-Only which when set to 'yes' will make the
371 cache module merge existing cache data, but not create new entries.
372 * Add %{unescape:} and %{urlunquote:} expansions to reverse escaping
374 * Add support for aliases in rlm_ldap.
375 * Add support for connection pool sharing to all modules that use
376 the connection pool (pool = <instance>).
377 * "tls" sections now have a "psk_query" configuration item, for dynamic
378 queries to discover a key from a PSK identity.
379 * Preliminary support for EAP channel bindings.
380 * Foundational work for dynamic home servers. They do not yet work,
381 but this is now only a matter of updating the "realm" module in
383 * Support &attr[*] syntax to copy all instances of an attribute when
384 used with the += operator in an update section. May be qualified with
386 * The logintime and expiration modules can now be listed in the
387 post-auth section. This makes some configurations simpler.
388 * Allow comparison of integer attributes of different sizes,
389 without requiring a cast.
390 * rlm_sqlippool is now IPV6 capable. Set "ipv6 = yes" to get
391 Framed-IPv6-Prefix returned. The SQL queries have NOT been updated.
392 Please submit patches.
393 * The debian build now checks for the OpenSSL package with the heartbleed
394 fix, and if found, sets: allow_vulnerable_openssl = 'CVE-2014-0160'
395 * allow bootstrap from multiple files in sqlite driver.
398 * make case-insensitive regular expressions work again, and add tests
400 * A few more talloc parenting issues
401 * Fix delayed proxy reply handling. Closes #637
402 * Fix OpenSSL initialization order when using
403 RADIUS/TLS. Fixes #646
404 * Don't double-quote strings in debugging messages
405 * Fix foreach / break. Fixes #639
406 * Chargeable-User-Identifier, ADSL-Agent-Circuit-Id and
407 ADSL-Agent-Remote-Id should be "octets" types in the default
409 * Fix typo in mainconfig. Fixes #634
410 * More rlm_perl fixes. Fixes #635
411 * Free OpenSSL memory on clean exit.
412 * Fix <attr>[0] !* ANY - Was removing all instances of <attr>
413 * Fix case where multiple attributes were returned from RHS of
414 mapping, as with rlm_ldap. Fixes #652
415 * Fix corner case in cursor where using fr_cursor_next_by_da
416 after calling fr_cursor_remove may of resulted in a read of
417 uninitialised memory.
418 * Don't SEGV if all connections to a database server go away.
420 * Fix issue where <attr> -= <value> was not removing tagged
421 instances of <attr> equal to <value> (only untagged).
422 * Fix issue where tag values were not being set on attributes
423 created with unlang/ldap update blocks.
424 * Create rlm_sqlcounter attributes as integer64 types instead
425 of integer types, so large counter values can be specified.
426 * Fix issue where specifying a dynamic client IP addresss using
427 FreeRADIUS-Client-IPv6-Prefix or FreeRADIUS-Client-IP-Prefix
428 may have caused a validation error.
429 * Don't print two "&" for messages about attribute or list
430 references in debug output.
431 * Fix urlquote and escape to encode Unicode characters correctly.
432 * Fix redundant-load-balance blocks to try other modules in
433 the group if one fails.
434 * Fix issue with rlm_pap password normalisation where
435 'known good' password strings stored in octets type attributes,
436 would be sometimes misnormalised as base64.
437 * Don't stop processing DHCP options if we find a 0x00 padding
439 * Fix issue where modifying the value of an attribute created
440 from a template with a literal value, may have resulted in the
441 template literal being freed.
442 * Fix parenting issues in tls code which may have resulted in
443 memory corruption and crashes.
444 * Fix issue in radsniff where writing to PCAP files and using
445 -R response filters, where the requests would still be written
446 to the PCAP for non matching responses.
447 * Define __APPLE_USE_RFC_2292 so that the server builds with IPv6
449 * Fix LDAP group lookups for named rlm_ldap instances.
450 Note that attribute references should be used when
451 checking LDAP-Group attributes. e.g. if (&LDAP-Group == 'foo').
452 * Delayed attribute references can now be used in unlang
453 existence checks. i.e. if (&Attribute-Name) { ... }
454 * Fix issues in EAP-PWD. CVE-2014-4731, CVE-2014-4732, and
455 CVE-2014-4733. There is no external authentication bypass.
456 * Fix a number of uses of the talloc parent/child reference.
457 * Release connection used for reading bulk clients in rlm_ldap.
458 * rlm_rest is now fail-safe if it's used without any configuration
459 * Pull in build fixes for FreeBSD from ports.
460 * Fix error in sqlite postauth query
461 * Evaluate argument to "switch" statements once, instead of for each
463 * Define sig_t on systems without it. Closes #765.
464 * Fix boundary issue with rlm_rest. Closes #768
465 * Optimize "%{Attribute-Name}" in comparisons only if the dictionary
467 * Don't do chmod() in rad_mkdir() if the directory already exists.
468 We might not have permission to change it.
469 * Use getpwnam_r() and getgrnam_r() on systems which support it.
471 * Clients loaded from SQL are now tied to the "listen" section
472 of a virtual server, instead of being global.
473 * Check for -lpcre. The system might have pcre.h without -lpcre.
474 * When proxying to a virtual server, use the proxy_reply instead
476 * Fixed typos in DHCP SQL IPPool.
477 * Fix crash when passing multiple arguments to Perl xlat.
479 FreeRADIUS 3.0.3 Mon 12 May 2014 15:30:00 EDT urgency=medium
481 * Everything now builds with no warnings from the C compiler,
482 clang static analyzer, or cppcheck.
483 * rlm_ldap now supports defining the LDAP attribute name via
484 backticked expansion (i.e. shell command) in
485 RADIUS <-> LDAP mappings.
486 * rlm_ldap now supports older style generic attributes.
487 * dynamic expansions (e.g. "%{expr:1 + 2}" are now parsed
488 when the server starts. Syntax errors in the strings
489 are caught, and a descriptive error is printed.
490 * Static regular expressions (e.g. /a*b/) are now parsed
491 when the server starts. Syntax errors in the strings
492 are caught, and a descriptive error is printed.
493 * dynamic expansions are cached after being parsed. They are
494 no longer re-parsed at run-time for every request.
495 * regular expressions are now parsed and cached when the server
497 * Added the %{rest:} expansion to rlm_rest, which will send
498 a GET request to the URL passed as the format string.
499 Any body text will be written to the expansion buffer.
500 * rlm_rest now available as a debian package.
501 * When an 'if' condition statically evaluates to true/false,
502 unlang does more static optimization. For examples, see
503 src/tests/keywords/if-skip
504 * All modules are marked as safe for '-C', which lets the
505 dynamic expansion checks work in more situations.
506 * Added 'none' and 'custom' rlm_rest body types. 'custom'
507 allows sending of arbitrary expanded text and content-type
509 * Added "config" section to Perl. See mods-available/perl
510 * Added '%v' which expands to the server version - Patch
512 * more mis-matched casts are caught in "if" conditions,
513 and descriptive errors are printed.
514 * Support basic response validation in radclient. This allows
515 administrators to write local test cases for their
516 site-specific configurations.
517 * Removed radconf2xml and radmin "show client config" and
518 "show home_server config".
519 * Forbid running with vulnerable versions of OpenSSL.
520 See "allow_vulnerable_openssl" in the "security"
521 subsection of "radiusd.conf"
522 * Catch underlying "heartbleed" problem, so that nothing bad
523 happens even when using a vulnerable version of OpenSSL.
524 * Add locking API for sql_null, linelog, and detail modules,
525 which should improve performance and work around issues
526 on platforms with bad file locking.
527 * Allow DHCP NAKs to be delayed, via setting
528 reply:FreeRADIUS-Response-Delay = 1
529 * Allow tag and array references anywhere attributes
530 are allowed in "unlang".
531 * many enhancements to radsniff, including output
532 to collectd, ipv6 support and packet loss statistics.
533 * Many dictionary updates (ZTE, Brocade, Motorola).
534 * rlm_yubikey now automatically splits passwords from OTP
536 * The detail file reader is now threaded by default.
537 This should improve performance reading the files.
540 * Fix xlat expression %{attribute[n]} so that it actually
541 returns the n'th attribute instead of the first one.
542 * Don't parse string on RHS of update {} when using unary
543 operators (!*). The RHS should always be ignored.
544 * Check for more optional functions in json-c so we can
545 Build with libjson0, which is the name of the json-c package
547 * Fix issue in radmin where the main dictionaries would
548 not be loaded which, depending on the configuration, may
549 have caused validation errors.
550 * Fix handling of "%{reply:3GPP-*}"
551 * Fix rlm_perl garbage attributes
552 * Fix oracle SQL queries, which amongst other things still
553 used the old expansion format, which is no longer
555 * Truncate long format strings and error markers instead of
557 * Fix multiple attribute parsing in rlm_rest JSON.
558 * Don't crash in rlm_rest if connect_uri is commented out
559 in the configuration.
560 * Don't double-escape strings to / from Perl. You may need
561 to double-check your Perl scripts if they use "\" characters.
562 See mods-available/perl for documentation.
563 * Don't re-run "authorize" if a home server fails to respond.
564 * Don't append "0x" to hex output of octets types, for xlat
565 expansions. This is the same as v2, and makes it easier
566 to concatenate multiple attributes of type "octets"
567 * FreeBSD fixes for execinfo linking.
568 * Make some of the module configurations more consistent.
569 * Fix corner cases where STDOUT wouldn't be closed in
571 * Re-enable "update coa" and originating CoA requests.
572 * Prevent multiple threads writing to the sql query logs.
573 * Fix zombie period calculation. Closes #579
574 * Properly parent VPs for talloc, when moving them in map2request.
575 * Various fixes for talloc parent / child relationships
576 * Allow rlm_counter to support VSAs.
577 * Normalize return codes for many modules. "do nothing" is noop,
579 * Run Post-Proxy-Type Fail. Closes #576
580 * Fix DHCP destination port for replies to relays. Closes #591
581 * Do-Not-Respond policy works again Closes #593
582 * Proxy-To-Virtual-Server works again. Closes #596
583 * Build fixes for ancient systems. Closes #607, #608, #609.
584 * %{Module-Return-Code} works again. Closes #610.
585 * Don't increment statistics for Status-Server responses.
587 * A duplicate request isn't a duplicate if the original one
588 is marked "done". This should lower retransmissions from
590 * Fix multiple regular expression and glob memory leaks.
591 * Don't allocate any memory in fr_fault() as it can cause malloc
593 * Temporarily set dumpable flag before calling system in fr_fault()
594 else the debugger may not be able to attach.
595 * Set nonblock on all TCP client sockets.
596 * Fix minor buffer overrun in mschapv2 where some attribute strings
597 were not correctly \0 terminated.
598 * Fix crash on authentication failure with MIT kerberos.
599 * Fix code so that octal escape sequences aren't prematurely unescaped
600 in rlm_sql, radclient, preprocess, and other places. This may
601 require configuration changes, as these sequences will no longer
602 need double escaping (\\) of the backslash.
603 * The connection pools no longer have one connection used twice
604 in certain rare conditions.
605 * Use self pipes for internal signals. The code was there, but was
607 * Don't crash if there are outstanding EAP sessions and were told to
609 * Fix typo in dictionary.rfc4072
611 FreeRADIUS 3.0.2 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
613 * secret keys and LDAP / SQL passwords are now printed as
614 '<<< secret >>>' in debugging mode. Use -Xx to see the
616 * Print out more information about passwords in -Xx,
617 including hashes, comparisons, etc.
618 * Allow cast (and implicit conversion) of integers to IPv4 addresses
619 * More xlats allow attribute references. This means they can
620 operate on binary data. e.g. expr, base64, md5, sha1.
622 * The dictionaries are now auto-loaded. raddb/dictionary
623 should no longer have $INCLUDE ${prefix}/share/dictionary
624 * A "panic_action" can be set to have the server dump a gdb
625 log on SEGV or other fatal error. See radiusd.conf
626 * Add support for SHA-224, SHA-256, SHA-384, SHA-512 to rlm_pap.
627 * Add "%{sha256:}" and "%{sha512:}" xlat functions.
628 * Cache CUI in EAP session resumption.
629 * templates can now have sub-sections, which will be included
630 in the section referencing the template.
631 * Update more dictionaries.
632 * Added more instances of the "always" module, for all return
634 * Suppress broken NASes when proxying. Retransmits which occur
635 more than once per second are rate-limited to once per second.
636 * Allow '&' in more xlat expansions.
637 * Update PostgreSQL schema and queries to record last updated
638 time, and accounting interim.
639 * Optimize more "if" conditions when the server loads. This will
640 avoid work at run time. e.g. ("foo" == "bar") --> FALSE.
641 * Allow removal of all attributes within a list with !* operator.
642 * Allow list to list copies with request qualifiers (outer.).
643 * Add support for ipv4 prefixes and ipv6 addresses and prefixes to
645 * allow radmin command "set module status <module> <code>"
646 which can be used to forcibly enable/disable modules.
647 * pap module now assumes Cleartext-Password if Password-With-Header
648 doesn't have a {...} header.
649 * Added "unpack" module. It can unpack binary data from horrible
650 VSA formats. See raddb/mods-available/unpack
651 * Added example IP Pool for DHCP, using sqlite. From Matthew Newton
652 See raddb/mods-config/sql/ippool-dhcp/
656 * Fix operation of fr_strerror() with RE*() macros.
657 * Don't assert if the connection we're trying to reconnect
659 * Fix %{mschap:User-Name} xlat.
660 * Allow comparisons of signed integers and of ethernet addresses.
661 * Fix parsing of text-based ascend binary filters.
662 * Fix a few minor Coverity and clang analyzer issues.
663 * Log WARNING and ERROR prefixes only once, not twice.
664 * Fix attribute truncation seen in Perl and other places.
665 * Use correct port when DHCP relaying.
666 * Fix behaviour on FreeBSD where sending packets from an interface
667 bound to an IP address would fail when the server was built with
669 * Don't abort() when freeing home servers on exit.
670 * Fix edge case in pairmove() when some attributes could be over-
672 * Do checks for individual sqlite v2 functions so rlm_sqlite builds
673 correctly with more versions of the library.
674 * In heimdal kerberos, create MEMORY ccaches on a per context basis.
675 This prevents issues with the root ccache being used.
676 * Fix corner case with proxying, where home server goes down.
677 * Rate-limit "max_requests" complaint. We don't want to fill the
678 logs when something goes wrong.
679 * Use /dev/urandom for raddb/certs/random, if it exists.
680 * Issue WARNING that old-style clients should no longer be used.
681 * Auto-set secret to "radsec" for tcp+tls home servers.
682 * Fix double free in home_server_add when there is a parse error
684 * rlm_unix checks if the dictionaries are broken, instead of crashing
685 * Fix potential memory corruption when normalising salted password
686 hashes from hex, where the combined hash and salt was > 64 bytes.
687 * Register sqlcounter attributes correctly, and other issues with it
688 * treat 127.0.0.1/32 as being identical to 127.0.0.1
689 * Don't mangle error output of SQL drivers like PostgreSQL
690 * Fix usage of "tls = ${tls}". It could previously cause problems
691 when the reference was used multiple times.
692 * Fix TLS session leak for incoming sockets.
693 * Try harder to clean up memory on exit when using "-mM"
694 * Fix memory leak when home server is down for RadSec connections
695 * rate-limit outgoing connection attempts when the home server
696 is down. It will retry no more than once per second.
697 * When parsing ipv6 address prefixes, always mask off the host
699 * Fix rlm_counter so that it does not create two reply
701 * Fix issues with DHCP Sub-TLVs where the value of the first
702 Sub-TLV would appear corrupted, and subsequent TLVs would
703 not appear in debug output.
704 * Initialize scope in IP address parsing
705 * Prevent vendor attributes and RFC space attributes from clashing
707 * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
708 or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
709 determine the source IP.
710 * Fix POST attribute parsing in rlm_rest.
711 * Fix JSON attribute parsing in rlm_rest.
712 * Don't append trailing & to POST options in rlm_rest (minor).
713 * Process HTTP 100 Continue messages correctly in rlm_rest
714 * Fix generation of long > 512 byte POST payloads, where attribute
715 values on the chunk boundary may have been omitted in rlm_rest.
716 * Remove duplicate escape sequence parsing in rlm_sqlippool and
717 rlm_sqlcounter which caused issues with escaping %. Escape
718 sequence parsing is now handled purely by the xlat functions.
719 * Ensure %% is treated as a string literal, and so not passed to any
720 xlat escape functions for processing.
721 * Correct calculation of Message-Authenticator
722 for CoA packets. Closes #556
724 FreeRADIUS 3.0.1 Mon 13 Jan 2014 14:30:00 EDT urgency=medium
726 * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
727 So that run-away child processes are caught earlier.
728 * Allow TLS clients to use "proto = tls", in which case
729 TLS is required. The shared secret is then set to "radsec".
730 * More documentation in the tls virtual server.
731 * Add "date" module for date formatting.
732 See raddb/mods-available/date.
733 * Added unit test suite for internal server functionality
734 * When loading "update" sections, check if the RHS is a literal
735 value. If so, syntax check it immediately.
736 * Update LDAP module documentation and functionality.
737 The generic attribute can now update lists.
738 * Updated dictionary.extreme.
739 * Update sqlippool to do clears as a separate transaction,
740 and at most once per second. This should help MySQL.
741 * Respect control:Response-Packet-Type for all types of
743 * Add support for SSL encryption to the MySQL driver.
744 * Allow arbitrary connection parameters to be used with the
746 * Changes to the OpenLDAP schema to fully expose functionality
747 of the new LDAP module.
748 * Update debian packaging to include a freeradius-config
749 package. This package may be provided as a site local
750 package to avoid fighting with the preinstalled config
754 * Use correct field for ARP setting in DHCP.
755 * Fix crash on debug condition (#454).
756 * Fix a number of minor issues caught by the clang
758 * Set WARNING messages to yellow instead of normal text.
759 * Correct debug colorise logic. Patch from Phil Mayers.
760 * Encode attributes of type "ethernet". No one uses them,
762 * Work around regex initialization issues.
763 * Fix build when linking against OpenSSL.
764 * Print IDs as positive numbers, which helps for large DHCP
766 * Fix issue with sql_ippool.
767 * sqlcounter now uses 64-bit counters, to deal with 4G overflow.
768 * Fix issues with DHCP subsystem.
769 * Don't build / install disabled modules, or their config
771 * Fix build for OSX Mavericks, which hid the header files
773 * Fix LEAP buffer issue. You should still avoid LEAP.
774 * Mark "unknown" WiMAX attributes as being WiMAX.
775 * Fix typo in packet decoder for fragmented extended attrs
777 * Fix rlm_perl build issues when not using threads.
778 * Enable %{Response-Packet-Type} again.
779 * Update configuration file parser to handle "bool"
781 * Update declarations of global boolean variables to use
782 "bool" consistently. This fixes an issue where some
783 modules were instantiated in "config check" mode and
784 did not work correctly.
785 * Make more messages debug instead of info, to avoid
786 polluting the logs with messages that can't be fixed.
787 * Set operator in internal unlang code to suppress spurious
789 * Fix debian packaging.
790 * Added "status" to Debian init script.
791 * Fix "update outer.request" to update the outer request.
792 * Don't print TLS debugging messages when not in debug mode.
793 * Correctly manage counters for "limit" sections of TCP / TLS
795 * Fix libldap debug output.
796 * Fix rlm_ldap tls functionality.
797 * Initialise OpenSSL globals early to avoid issues with the
799 * Fix typo in sqlcounter expansion code. Fixes #463
800 * Overwrite previous instances of SQL-User-Name when adding
802 * Work around bugs in both MIT and heimdal versions of
803 krb5_copy_context(), which caused segfaults in
805 * Provide meaningful error messages if Heimdal krb5 is used.
806 * Fix attribute supression in rlm_detail.
807 * Exit with error code if child fails to complete server
808 initialisation after forking. This allows init scripts to
809 correctly report whether the server started ok.
811 FreeRADIUS 3.0.0 Mon 7 Oct 2013 15:48:14 EDT urgency=medium
813 * Documentation for upgrading from 2.x is in raddb/README.rst
814 Please follow it. It will make the upgrade easier.
815 * Moved configuration entries in radiusd.conf to make more sense.
816 * Added the "integer64" and "ipv4prefix" data types.
817 * Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
818 * Updated internal API to support new attributes and formats
819 * Added code to send SNMP Traps. See raddb/trigger.conf.
820 * Added preliminary support for Apple's Grand Central Dispatch
821 * Added provisions for raddb/dictionary.local, for local changes.
822 See raddb/dictionary for more details.
823 * Added packet/s tracking. See max_pps in the "listen" section.
824 * The %{} expansions and "unlang" conditions are now parsed at server
825 start. Descriptive errors are produced for syntax and format errors.
826 * Casting is now supported for "unlang" comparisons. See "man unlang"
827 e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
828 * Direct comparison of attribute references is now supported.
829 e.g. &Foo == &Bar. This avoids stringification of the attributes.
830 * Direct assignment of attributes is now supported.
831 e.g. Foo := &Bar. It also works for "octets" data types.
832 * Comparisons of IPv4 and IPv6 prefixes are now supported.
833 The "<" operator means "within the prefix" for comparisons.
834 * New sha1 xlat expansion (thanks to Alan Buxey)
835 * Colourised log messages when logging to stdout. Look for yellow
836 warnings and red errors. Doing this will save you a LOT of grief.
837 * If the PCRE library is available, use it (insted of the POSIX
838 functions) to process regular expressions (thanks to Phil Mayers).
839 * -xv now displays all the features the server was built with, and
840 the versions of the core libraries (libtalloc, libssl).
843 * Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
844 following the examples of other projects.
845 * Additional files for each module are now in raddb/mods-config/.
846 See raddb/mods-config/README.rst for documentation.
847 * Moved "users" to raddb/mods-config/files/authorize
848 * Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
849 * Moved eap.conf to mods-available/eap
850 * Moved sql.conf to mods-available/sql
851 * Moved TLS configuration for EAP into a common subsection.
852 See raddb/mods-available/eap, "tls-config" section.
853 * Added for MS-CHAP Change Password from Phil Mayers.
854 See raddb/mods-available/mschap, "passchange" subsection.
855 * Added EAP-PWD implementation from Dan Harkins
856 * Added connection pools for modules. This unifies connection
857 management which was previously different for different modules.
858 * SQL now uses the connection pool. See mods-available/sql
859 * SQL now supports arbitrary Acct-Status-Types.
860 These changes are not compatible with 2.x.
861 * SQL now has full support for SQLite. See raddb/sql/main/sqlite/
862 * SQLite supports auto-creation of new databases on server startup for
863 bootstrapping purposes.
864 * LDAP now uses the connection pool. The LDAP module has been
865 completely re-written for performance and simplicity.
866 * LDAP now caches groups. This makes multiple group checks MUCH
868 * Removed all limitations on 253 octet attributes. RFC 6929 allows
869 for attributes up to 4K in length.
870 * New rlm_idn module providing an expansion for performing IDNA encoding
871 of internationalized domain names. Thanks to 'skids'.
872 * New rlm_yubikey module to validate yubikey OTP tokens.
873 See raddb/modules/yubikey
876 * All known bug fixes from 2.2.x are included.
877 * Removed "addport" functionality.
878 * Removed many unused or duplicate modules. See raddb/README.rst.
880 Internal / API changes:
881 * All traces of the old build system have been removed.
882 The new build system is faster and simpler.
883 * clang is fully supported.
884 * We now use "talloc" for memory management. A number of new
885 features required this change. Thanks to the Samba people!
886 * Many internal APIs have been updated to use talloc.
887 * New API for iterating over VALUE_PAIRs. This is in preparation
888 for attributes, in version 3.1.
889 * No new code should directly modify any field of a VALUE_PAIR.
890 * VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
891 attribute and vendor fields. This will allow nested attributes.
892 * Some protocol specific code has been moved out into proto_* modules.
893 More will come in subsequent versions. See proto_dhcp and proto_vmps.
894 * Standardised internal logging macros. radlog() should not be used.
895 See src/include/log.h
896 * Use OpenSSL hashing functions when available.
897 * The server now builds with no warnings on most platforms.
898 * New RADIUS encoder/decoder, to support new formats.
899 * Added RFC 6929 "extended attributes", via the new encoder/decoder.
900 * Added full WiMAX support, via the new encoder/decoder. The old
901 code could not handle some unusual corner cases.