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