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