80ffa1a4173773b76ce611edf76d24fbb9716419
[freeradius.git] / doc / ChangeLog
1 FreeRADIUS 3.0.13 Thur 29 Sep 2016 13:00:00 EDT urgency=medium
2         Feature improvements
3         * Add dictionary.rfc7930.  Note that we do not implement
4           the RFC.
5         * Added 'cipher_server_preference' to mods-available/eap
6           Patch from #1797.
7         * OpenSSL 1.1.0 compatibility fixes.
8         * rlm_perl: radiusd::xlat to evaluate xlat string
9           within perl script
10         * Allow authentication retry in winbind. Patch from
11           Herwin Weststrate. See raddb/mods-available/mschap.
12         * Added "recv-coa" method to rlm_rest.  It behaves the
13           same as "authorize".
14         * Document Trust Router tr_port option.  Patch from
15           Stefan Paetow.
16
17         Bug fixes
18         * Minor typos.  Fixes #1763
19         * Fix typo in RPM build.  Closes #1767.
20         * rlm_mschap check for password expiry only
21           if password was correct.  Fixes #1762.
22         * Update debian build.
23         * update rlm_counter "man" page.  Fixes #1775.
24         * Remove erroneous assert.  Fixes #1778.
25         * fix mschap password change test.  Fixes #1792.
26         * Cleanup config file on data remove.  Fixes #1795.
27         * passwd module returns "notfound" if not found.
28         * Check for old OpenSSL, and don't build rlm_eap_fast
29           if it necessary.  Fixes #1803
30         * Cleanup memory better after ldap version query.
31           Patch from Aleksey Katargin.
32         * Rename lt_* functions to avoid linker issues with
33           libtool.  Fixes #1277
34         * Many miscellaneous fixes and typos.
35         * Allow long strings in %{%{foo} bar:-%{baz} blah".
36           Fixes #1866
37         * Fix filtering operators, along with more documentation and
38           more tests for them.
39         * Fix OpenSSL fixes.  Fixes #1876.
40         * Finish SQL select queries even when SELECT returns no rows.
41           Fixes #1879.
42         * Set Module-Failure-Message for more EAP errors.
43         * Correct typo in dictionary.rfc5580.  Fixes #1882
44
45 FreeRADIUS 3.0.12 Thur 29 Sep 2016 13:00:00 EDT urgency=medium
46         Feature improvements
47         * Add support for =~ and !~ in update sections.
48           See "man unlang"
49         * Add dictionary.checkpoint.
50         * Simultaneous-Use prints out more information.
51         * Print WARNING in debug mode when packets may be
52           truncated.
53         * Added expansions %{home_server:state} and
54           %{home_server_pool:state}, which show the
55           state of the server / pool.
56         * Mark rlm_sql_freetds as stable.
57         * Make rlm_perl less fragile.  Patch from
58           Herwin Weststrate.
59         * Allow extended attributes to have "encrypt=2"
60         * Update dictionary.aruba.
61         * Add support for EAP-FAST.  This is an isolated
62           feature which does not affect anything else.
63         * Update OpenSSL vulnerability list.  Use a version
64           of OpenSSL released after September 20, 2016.
65         * EAP certificate verification is now done when
66           "verify" is enabled and "ocsp" is disabled.
67         * New dhcpclient and rlm_rad_counter man pages.
68         * Minor abfab and moonshot additions.
69         * Pass CFLAGS through from environment in RPM builds.
70           Allows more custom builds.
71         * Build with Heimdal in addition to libkrb5.
72
73         Bug fixes
74         * Use correct typedef for older versions of sqlite.
75         * Update mssql schema to add priority
76         * Don't complain on /dev/urandom in ldap
77         * Fix == operator in update sections
78         * Don't create DHCP strings with many trailing zeros.
79           Patch from Nicolas C.  Fixes #1526.
80         * Allow MS-CHAP change passwords instead of complaining
81           on large buffer.
82         * Allow assignment or equality operator on SQL.
83         * Update aclocal tests for FreeBSD 10.  Patches from
84           Mathieu Simon.
85         * Remove occasional hang in rlm_linelog.
86         * Copy VSAs to inner tunnel for TTLS and PEAP.
87           Fixes #1544
88         * A few minor bugfixes caught in v3.1.x cleanup, and
89           back-ported to v3.0.x.
90         * do_not_respond again works in post-proxy
91         * Allow realm "~^.*$" {} and User-Name with no realm.
92         * Fix leak when creating unknown attributes
93         * Fix Debian / logrotate.
94         * Make OpenSSL error functions thread-safe.
95         * Fix crash with rlm_sql and updating SQL-User-Name.
96         * Debian build updates.
97         * Allow regular expression comparisons in radclient
98           fixes #1574.
99         * Fix memory leak on unknown attributes in detail file
100           reader.
101         * Update example paths in "man" pages when installing
102           them
103         * Build fixes for rlm_mschap.  Fixes #1489.
104         * BSD build fixes.  Patch from issue #1583.
105         * Be more careful about /lib/ when building.
106           Fixes #1585.
107         * Correct ifdef placement error.  Fixes #1572.
108         * Allow for more files in internal "exfile" API
109           So it will be possible to open more than 64
110           "detail" files at the same time.
111         * Remove support for statically built EAP modules.
112           Fixes #1591.
113         * Many fixes to rlm_python from Guillaume Pannatier.
114         * Use correct week adjustment in SQLcounter.
115           Fixes #1608
116         * Minor fixes to allow compilation without DHCP,
117           VMPS, or TCP.
118         * Fix checks for module / config file change on HUP.
119         * Compile regex comparisons when sent via
120           "debug condition".  Fixes #1632.
121         * Update filenames in documentation and examples.
122           Patch from Alan Buxey, #1655.
123         * Don't crash if SQL connection becomes unavailable.
124           Fixes #1640.
125         * Disallow originate_coa when proxy_requests = no
126           Fixes #1684.
127         * Free rad_perlconf_hv in correct perl context.
128           Fixes #1675.
129         * Multiple fixes for Debian builds.  #1510, among
130           others.
131         * Set OpenSSL FIPS compatibility flag when necessary.
132         * Pulled fixes for the build system over from other
133           branches.
134         * Fix OCSP for RADIUS over TLS.
135         * Fix skip_if_ocsp_ok behavior.
136         * Better fixes for systems without closefrom() but
137           which have /proc.  Fixes #1757.
138         * Minor build fixes back-ported from v4.0.x.
139         * build --whout-ascend-binary.  Fixes #1761.
140         * Be more aggressive about not opening new connections
141           in debug mode after CTRL-C.  Address #1604.
142
143 FreeRADIUS 3.0.11 Mon 25 Jan 2016 14:00:00 EST urgency=medium
144         Feature improvements
145         * "unlang" comparisons of IP addresses to IP prefixes
146           are now detected, and types automatically cast.
147         * Allow shorthand form of ipv4prefix values e.g. 127/8.
148         * Add "auto_chain" to raddb/mods-available/eap, tls
149           subsection.  This allows the disabling of OpenSSL
150           auto-chaining of certificates.  Which might be wrong.
151         * Added printing of coa and disconnect stats (radmin).
152         * radclient defaults to expecting Access-Accept responses
153           to Status-Server.
154         * Updated dictionary.lancom, dictionary.starent.
155         * Portability fixes for Solaris.
156         * More errors from ntlm_auth gets passed to MS-CHAP.
157         * Update abfab-tr-idp virtual server.
158         * Added "filter_password" in policy.d/filter.  This
159           removes embedded zero bytes in User-Password, for
160           compatibility with broken clients.
161         * The server now issues a WARNING message if duplicate
162           configuration items are found.
163         * TLS can skip the "verify" section if OCSP returns OK.
164           See raddb/mods-available/eap, "skip_if_ocsp_ok".
165         * Set TLS-OCSP-Cert-Valid = yes / no / skipped, which
166           is the result from the OCSP check.
167         * Interoperate with AD and "LmCompatibiltyLevel = 5",
168           by always setting WBC_MSV1_0_ALLOW_MSVCHAPV2 for
169           native winbind in rlm_mschap.
170         * TTLS and PEAP now require "virtual_server" to be a real server.
171         * Print WARNING when TTLS or PEAP identities are spoofed
172           or not properly anonymized.  See RFC 7542 for requirements.
173         * Various rlm_python fixes from Herwin Weststrate.
174         * Allow setting Response-Packet-Type in "Post-Proxy-Type Fail",
175           which is useful when the home server does not respond.
176         * elasticsearch updates from Matthew Newton
177
178         Bug fixes
179         * Fix issue where field nas_type would not be accessible via
180           the %{client:} xlat, for clients loaded from SQL.
181         * Fix compatiblity issues with OpenSSL 1.0.2.  Ignore
182           calls to msg_callback with 'pseudo' content types.
183         * Data type "ipv4prefix" is parsed correctly.
184         * Use correct talloc context in rlm_exec.  Fixes #1338.
185         * Complain in unlang if "else" is used with no previous
186           "if" or "elsif".
187         * Send accounting status packets to the accounting port.
188           Fixes #1364.
189         * Print out CFLAGS when doing "radiusd -Xxv"
190         * Fixed bug with coa/acct stats value #1339. Based on patch from
191           Jorge Pereira.
192         * Fixes for LEAP proxying.  Don't use LEAP!
193         * Fix issue with "directory already exists" seen when doing
194           "make install".
195         * Fixed bug with radmin related to the option "stats detail <filename>"
196         * Complain if the detail file reader does not have permission
197           to read the "detail.work" file.  Fixes #1398
198         * Fixed SoH. Attributes were not being copied to the virtual server.
199         * Used a wrong list to global statistics in "stats".
200         * Create EAP-PWD identity correctly.  Prevents segfaults.
201         * Dynamically validate authentication types for PEAP and EAP-MSCHAPv2.
202         * Fix includes in installed headers.
203         * OpenSSL 1.0.1f and 1.0.1g do NOT calculate TLS 1.2 keys correctly.
204           See raddb/mods-available/eap, "disable_tlsv1_2"
205         * Allow password change to work for MS-CHAP.  This requires 'r=0',
206           because password changes are not retries.
207         * Fix home server fail-over for home servers using TCP and/or RadSec.
208         * Special characters in expanded regexes are now escaped
209           e.g. User-Name containing '.', and comparing /%{User-Name}/,
210           the '.' will now be escaped.  See src/tests/keywords/regex-escape.
211         * Use correct authentication vector when sending Access-Reject replies
212           for RadSec.
213         * Set FreeRADIUS-Proxied-To in TTLS again.  You should use the
214           "inner-tunnel" virtual server, instead of relying on this attribute.
215         * Fix debugging constants in rlm_perl.  Patch from Herwin Weststrate.
216         * Add samba-dev / samba4-dev to debian builds so that rlm_mschap can
217           automatically use the new winbind API.
218         * Automatically skip zero-length attributes when sending packets,
219           instead of erroring out.
220
221 FreeRADIUS 3.0.10 Mon 05 Oct 2015 15:00:00 EDT urgency=medium
222         Feature improvements
223         * Do more optimization of unlang policies.  This makes
224           run-time a bit faster.
225         * Re-name most of the functions in src/lib.  Third-party
226           module authors will have to do the same.
227         * More documentation on contributing and how to write
228           modules.
229         * Update radiusd.service for systemd.
230         * Open IPv6 proxy socket if the server is listening on IPV6
231           auth / acct / coa packets.
232         * Create debian packages for DHCP.  Fixes #1125.
233         * Add more tests for "update" section parsing.
234         * Update "man" pages.
235         * Update attributes for Alcatel 7750
236         * Add dictionary for Boingo Wi-Fi
237         * Add support for DHCP lease queries.
238           See raddb/sites-available/dhcp
239         * On HUP, check all modules for config files which have
240           changed.  And only re-load those modules.
241         * Allow FreeRADIUS-Response-Delay(-USec) to be set for
242           RADIUS packets.  Patch from Herwin Weststrate.
243         * Documentation fixes from Alan Buxey and Matthew Newton.
244         * Update "logrotate" script.
245         * Added more RFCs to doc/rfc for new standards implemented
246           by FreeRADIUS.
247         * Don't crash when doing "radmin -e "help hup".
248           Patch from Matthew Newton.
249         * The dictionary parser now does more sanity checks, which
250           prevents run-time problems with invalid attributes.
251         * Update debian packages.  Patches from Christopher Hoskin.
252         * Many other debian packaging fixes from Matthew Netwon
253           and Herwin Weststrate.
254         * Add "session-state" to Perl.  Patch from Herwin Weststrate.
255
256         Bug fixes
257         * Fix rlm_files so that there are no collisions when loading
258           10's of 1000's of users.
259         * Fix radclient to use our internal v4/v6 parsing functions.
260           v6 addresses with ports now work correctly.
261         * Fix sending/receiving packet messages to wrap v6 addresses
262           in square brackets '[]'.
263         * Check for sasl/sasl.h when building rlm_ldap, and disable
264           SASL functionality if unavailable.
265         * Fix issue which caused a non \0 terminated buffer to be
266           assigned to attributes if the value being assigned contained
267           an invalid escape sequence.
268         * Fix deadlock when reconnecting connections in the connection
269           pool.
270         * Fix potential overrun in functions that used fr_utf8_char
271           with a non nul terminated buffer.
272         * Fix decoding issue for Tunnel-Password type attributes
273           which were very long.  Found by Denis Andzakovic.
274         * Fix radclient issue with TCP sockets on FreeBSD.
275         * The server now creates ${run_dir} and ${logdir} directories
276           in daemon mode, when running as "root".
277         * Handle tags when using maps.  Fixes #1191.
278         * Fix crash when CoA packets time out.
279         * Fix parse error in rediswho
280         * Fix regex support in SQL radcheck the "users" file and radsniff.
281         * Register listen xlat earlier, so that it's available when the
282           virtual servers are being parsed.
283         * Parse Ascend-Data-Filter when given as "0x..."
284         * Print Ascend-Data-Filter correctly.  Add test cases for both.
285         * Allow old-style clients again.  They will be disallowed for
286           3.1.0 and following.
287         * Complain instead of crash when "else" and "elsif" are in
288           the wrong place.
289         * Clean up memory more aggressively.  This lowers the
290           maximum memory used, most typically for TLS based EAP methods.
291         * Prevent the server from unlinking the control socket of an
292           already running instance.
293         * Fallback to using the configured OCSP URL if one exists, and
294           no URL is provided in the certificate.
295         * Return CoA-NAK if proxying CoA fails.  Based on patch from
296           Jorge Pereira.
297         * Lower peak memory usage by decreasing size of internal
298           memory pools.
299         * The control socket is now left in place if a second copy
300           of the server is accidentally started.
301         * Allow virtual attributes in "switch", "case", etc.
302           Fixes #1240 and #1265.
303         * Many spell check / typo fixes in comments and example
304           configuration files.
305         * Better handle multiple DHCP listeners.
306         * Don't print secrets for old-style realms.  Fixes #1267.
307         * Don't fall through in empty "case" statements.
308           Fixes #1274.
309         * Update EAP-TTLS so that MPPE keys are correctly calculated with TLSv1.2.
310         * Always delete MS-MPPE-* from the TTLS inner tunnel. This allows
311           TTLS / EAP-MSCHAPv2 to work. Fixes #1206.
312         * Fix off by one error that caused some MSCHAP-Error messages to
313           be sent without the password change version (V=3) and the textual
314           message component (M=).
315         * Always include C= V= and M= in MSCHAPv2 errors.  RFC 2759 does not say
316           that any of these fields are optional, and not including V= caused
317           errors with wpa_supplicant.
318         * Do not include M= in MSCHAPv1 errors.  It's not supported.
319
320 FreeRADIUS 3.0.9 Wed 08 Jul 2015 12:00:00 EDT urgency=medium
321         Feature improvements
322         * Make "pool" configurations more consistent, and
323           update documentation for them.
324         * Move connection pool logic to "most recently started",
325           instead of MRU.  This should help with pool stability.
326         * More VSAs for 3GPP2
327         * Added examples of multi-value attributes to rlm_perl.
328         * LDAP-Group and SQL-Group attributes are now dynamically
329           allocated.
330         * Only the "sql" module registers SQL-Group.  Other instances
331           register "instance-name-SQL-Group", similarly to "ldap".
332         * Unknown attributes are now complained about more often
333           when used in unlang statements.  e.g. if (Foo-Bar == 3)
334           used to be a string to string comparison.  It is now a
335           parse error.
336         * Rename RLM_COMPONENT_* to MOD_* in the code.
337           This makes many things easier.
338         * Move to C99 initializers for modules.
339         * Load modules in raddb/mods-enabled.  This allows attributes
340           like "LDAP-Group" to be used in the "files" module,
341           without explicit ordering or listing in "instantiate".
342         * Added 'bootstrap' section to modules.  Third-party modules
343           will need to be updated.
344         * When adding clients from a DB, add them to a virtual server
345           if that virtual server has a "listen" section.  Otherwise,
346           add the clients to the global list.
347         * When reading dynamic clients from a file, don't expire them
348           if the underlying file is unchanged.
349         * Allow the server to originate CoA requests from the post-auth
350           stage.
351         * The server creates ${run_dir} and ${logdir} in daemon mode,
352           if they do not already exist.
353         * Add dictionary for Wi-Fi Alliance Hotspot 2.0.  The server
354           now supports all mandatory and optional attributes for this
355           specification.
356         * HUP now re-loads the configuration only if the files have
357           changed.  If all files are unchanged, HUP re-opens the
358           log file, and does nothing else.
359         * Much better debug messages for EAP-TLS, including which
360           attributes are cached, and when they are retrieved.
361         * Increase default max_requests to 16384.  Memory is cheap now.
362         * Added "stats memory" commands to radmin.  Debug build only.
363         * Aptilo controller dictionary updates.
364         * SQL modules now use Acct-Unique-Session-Id everywhere.
365         * The redis modules are now stable.
366         * The LDAP module now supports SASL "interactive bind" method.
367           This allows Kerberos based administrator and user binds.
368         * DHCP code is now in libfreeradius-dhcp.
369         * More DHCP encoding / decoding unit tests.
370         * rlm_replicate can now be listed in the "accounting" section.
371         * Better sqlite debugging output.
372         * Remove "required" option from many sql_ippool directives.
373         * Set default CA "basic constraints" to "critical".  Fixes #1073
374         * Updates to help / man pages from Jorge Pereira.
375         * Added more tests.
376
377         Bug fixes
378         * Be more careful about unused config item warnings
379           when using -Xx.
380         * Move more defines to be auto-generated.
381         * Allow virtual servers in proxy fallback.
382         * Allow %{module:} to work.
383         * Don't crash in RadSec.  Closes #980.
384         * Return better errors when a unix group / user
385           is not found.
386         * Re-enable detail module "locking" parameter.
387         * Don't crash when logging replies from Status-Server packets.
388         * The couchbase module now uses "update" instead of "map",
389           for consistent with the rest of the server.  See
390           raddb/mods-available/couchbase
391         * Don't require NT-Password for MS-CHAP password changes.
392         * Be a bit more careful about decrypting MS-CHAP-MPPE-Key
393           attributes. Closes #1013.  There is no perfect fix, tho.
394         * Fix security issues with EAP-PWD.
395           See http://freeradius.org/security.html#eap-pwd-2015
396         * Fix dynamic clients read from SQL in non-debug mode
397         * MS-CHAP now allows retries (i.e. password change) when
398           passwords are expired.
399         * Allow "user=radiusd" when the server is already user
400           "radiusd"
401         * suid up/down works on non-Linux systems.  This means
402           that the control socket should have the correct
403           ownership.
404         * Fix issue which caused the server to sometimes have problems
405           when a home server was marked zombie.
406         * Fix format.pl because Perl is now more picky.
407         * Fix proxy to Packet-Dst-IP-Address, so that it uses the
408           correct destination port.
409         * Fix corner case with cursor functions and removal.
410         * OpenDirectory fixes and documentation.
411         * Fix leaks in rlm_redis.
412         * RFC 6929 "evs" attributes are now encoded / decoded
413           properly.
414         * Fix talloc pool leaks when receiving malformed or
415           retransmitted Accounting/CoA requests.
416         * Printed attributes again use double quotes instead of
417           single quotes.
418         * Set X509_V_FLAG_CRL_CHECK_ALL, and add "check_all_crl"
419           to eap.conf.  Fixes oCert CVE-2015-4680.
420         * rlm_expr now errors out correctly on malformed attribute
421           references instead of triggering an assert.
422         * Make "break" work in "foreach" loops
423         * Allow dynamic expansions to work again in the "hints" file.
424         * Correct minor typos in comments and examples from Alan Buxy.
425         * Re-urlencode the path portion of ldapi:// urls before
426           passing it to ldap_initialise.
427
428 FreeRADIUS 3.0.8 Wed 22 Apr 2015 13:30:00 EDT urgency=medium
429         Feature improvements
430         * Allow syslog_severity to be set in rlm_linelog.
431         * Allow defaults to be set for bulk clients in LDAP and couchbase.
432         * Updates to dhcpclient.  Patches from Nicolas C.
433         * rlm_mschap now supports direct connections to winbind, which
434           is faster than ntlm_auth.  See raddb/mods-available/mschap.
435           Patch from Matthew Newton.
436         * Recommend /dev/urandom for TLS randomness, instead of
437           ${certdir}/random
438         * Allow TLSv1 to be disabled via "disable_tlsv1" in tls{}.
439         * Allow Expanded EAP types where vendor is 0 (IETF) and
440           type is normal EAP type.  Supplicants sending Expanded
441           EAP types like this are broken.
442         * Add support for server side sort controls when searching for
443           user objects in rlm_ldap.
444
445         Bug fixes
446         * Don't complain about "authorize" in "server {}" blocks, but
447           only if there's no "server" block.
448         * Fix cosmetic issue where debug from the first packet read by
449           a detail reader thread would be emited during config parsing.
450         * Fix ASSERT on truncated detail packets.
451         * Don't use main server log functions from within panic_action,
452           as in the case of syslog this would cause deadlocks if the
453           fault was triggered from within a malloc.
454         * Fix issue in "switch" when "correct_escapes = false".
455           Fixes #911.
456         * Fix sqlcounter configuration to use "%%b" instead of "%b",
457           otherwise the new syntax validation will fail.
458         * Allow forward references in configuration items.  Modules
459           aren't always loaded in a sane order.
460         * Fix more escaping issues.  Closes #912.
461         * Decode MAC addresses correctly for VMPS.
462         * Fix memory leak with TLS connections.
463         * Fix state machine threading issues for conflicting packets.
464         * Fix copy_request_to_tunnel issues for tagged attributes.
465         * Allow "ok" to over-ride "updated" inside of Auth-Type sections.
466         * Update state machine so that post-proxy is run though child
467           threads for performance, instead of blocking the main thread.
468         * Allow "netmask" to work again in client definitions.
469         * Relax restrictions on SQL group queries.
470         * track outgoing proxy sockets and clean them up more aggressively.
471         * track proxy statistics, including CoA and Disconnect.
472         * If radmin has a connection failure when running a command,
473           it re-connects and runs the command again.
474         * mark home servers "unknown" less aggressively.
475         * Fix potential SEGV in PostgreSQL driver on error.
476         * Fix issue where fields like nas_type would not be accessible via
477           the %{client:} xlat, for dynamic clients.
478         * Set default busy_timeout (of 200ms) in the sqlite driver, so writes
479           don't cause selects to fail in multithreaded mode. This is user
480           configurable, and may be increased if required.
481         * Convert Password-With-Header attributes to binary (from hex or
482           base64), in the authorize method of rlm_pap.
483         * Fix invalid assert in state.c, that could cause abort in
484           post-auth.
485         * Fix double free when -m flag is used, and connection pools are
486           referenced by multiple modules.
487         * RADIUS over TLS accounting uses the same port as authentication.
488         * Regularized return codes from radmin commands.
489         * Fix RHEL spec file so it works correctly for Centos7 which uses
490           systemd, and didn't like the SystemV init script.
491         * radwho and radlast now have a -D option to load dictionaries
492         * DHCP packets are no longer checked for duplicates.
493         * Don't crash in sql module group comparisons in corner case.
494         * Calculate MPPE keys correctly when using TLS 1.2.
495         * Fix load-balance sections.  Closes #945
496         * TLS certificates are available again in the post-auth section.
497           They are not available for session resumption.
498         * radclient encodes CHAP-Password properly when using -c.
499           Closes #955.
500         * Fix issue in rlm_cache_memcached driver that caused variable
501           length values to be truncated.
502         * Fix track functionality in detail reader, so it no longer
503           fails with a "Failed marking detail request as done: Bad file
504           descriptor" error.
505         * Actually add the peer identity (as User-Name) to the inner
506           tunnel in EAP-PWD requests, so it's available for lookups.
507         * Fixes to PostgreSQL queries.  Patches from Santiago Gimeno.
508
509 FreeRADIUS 3.0.7 Thu 19 Feb 2015 12:00:00 EDT urgency=medium
510         Feature improvements
511         * Allow coa home_servers to be derived from client
512           sections if a coa_server section is provided.
513         * Automatically determine the correct port if no port is
514           provided for a home server.
515         * Allow foreach to operate over lists.
516         * Add compile time features to ${feature.*} and versions
517           of core libraries to ${version.*}.  Feature and version
518           names match output of radiud -xv. %v is now deprecated.
519         * Add support for PATCH method in rlm_rest.
520         * Validate more module xlats on startup, and warn if an
521           xlat expansion is found in a double quoted config item
522           which will not be expanded.
523         * Add support for sub-second timeouts in rlm_rest.
524         * Add support for connection timeouts in rlm_rest.
525         * Add %{jsonquote:<str>} xlat to escape strings for insertion
526           into json documents.
527         * Add %{ldapquote:<str>} xlat to escape strings for insertion
528           into ldap DNs.
529         * Add %{explode:&ref <char>}, splits value of &ref on
530           <char> and creates new &ref type attributes with the
531           fragments.
532         * Allow rlm_ldap to use attribute references for base_dn and
533           filter config items. The attribute references are not
534           escaped, allowing DNs and filters to be created dynamically.
535         * Add %{nexttime:[<int>]h|d|w|y} to calculate the number of
536           seconds before the next <int> hour(s), day(s), week(s),
537           or year(s).
538         * Allow the left side of update sections to be xlat expansions.
539           The result of the expansion is then used to reference the
540           attribute to be modified.
541         * Added %{lpad:&Attribute-Name 7 x} and rpad.  These produce
542           fixed-width output strings, with padding to the left (lpad)
543           or the right (rpad).
544         * For some SQL drivers (MySQL, sqlite) distinguish between
545           constraints violations (on insert), invalid queries, and
546           server errors, and return noop, invalid, and error respectively.
547         * Call SHOW WARNINGS in the MySQL driver and write them to
548           the request log, if libmysqlclient indicates warnings are
549           available on the server.
550         * Forbid the creation of Vendor-Specific for non-standard
551           VSAs.  Use Attr-26 = 0x... instead.
552         * Make dhcpclient work with raw sockets and various other
553           improvements - Contributed by nchaigne
554         * Add support for SSHA2 - Contributed by PDD.
555         * Add perle dictionary - Contributed by Hachmer
556         * Modernise init scripts for RHEL, SUSE and Debian.
557         * radmin now tracks the return code of commands, and exits
558           with status "1" if any command failed to execute.
559         * radmin now sends error messages from the server to
560           stderr, instead of to stdout.
561         * radmin now looks for sockets matching it's UID and GID,
562           rather than just always using the first one it finds.
563         * radmin can how delete clients which are tied to a listener.
564         * Moved RADIUS attribute definitions to src/include/rfc*.h
565         * Move to talloc pools for requests.  For in-memory tests
566           (default config, 'users' file), performance increases by 30%.
567         * In rlm_ldap allow sasl_mech to be specified for admin and
568           user binds. Only non-interactive mechs (like EXTERNAL)
569           are currently supported.
570         * Remove support for ephemeral RSA keys.  They were "export only",
571           and should not be used by anyone.
572         * Syntax errors in the "users" file now produce better
573           error messages.
574
575         Bug fixes
576         * Fix issues parsing LDAP hostnames with non-standard ports.
577         * Fix issues with realms containing regular expressions.
578         * Allow unary negation before parantheses in rlm_expr.
579         * Fix infinite loop in kevent event loop code. Issue only
580           presented on FreeBSD.
581         * Be more careful to define Auth-Types before loading modules.
582         * Link libfreeradius-radius against OpenSSL too, to avoid
583           multi-version symbols in SSL libraries.
584         * When rlm_ldap rebinds a connection, it should use bind
585           credentials from the module that created the connection
586           pool, not credentials from the module referencing it.
587         * Empty server config pairs should be allowed in rlm_ldap
588           instances that reference another module's connection pool.
589         * Mark rlm_always as huppable, so its rcode can be changed
590           via radmin (allows policy toggles).
591         * Emit warnings when ignoring user configured pool values.
592         * Fix issue that would cause radclient to complain
593           intermittently about differing numbers of filters and
594           requests.
595         * Fix cosmetic issues in connection pool logging, that made
596           it appear as if the same connection was being opened
597           multiple times.
598         * Fix threadsafety issues in SQL drivers, where a static
599           buffer was used to store error messages.
600         * Log RERROR, RWARN, RINFO to the global log if request
601           logging is not enabled.
602         * Link to libldap instead of libldap_r. libldap_r
603           is not supported for use by projects outside of OpenLDAP.
604         * Set connection timeout correctly in rlm_sql_mysql.
605         * Build with older versions of libcurl, and use CFLAGS from
606           curl-config.
607         * Honour Packet-Src-Port and Packet-Src-IP-address in radclient.
608         * Initialise ldapai_info_version field, so libldap will report
609           its vendor and version.
610         * Fix log rotation scripts by using the copyrotate option.
611         * Fix issue that caused opening control sockets to always
612           fail on non-Linux systems, if a user or group was set.
613         * Save Session-State after proxying.
614         * Additional fixes for reading CoA/DM requests from detail
615           files.
616         * Create dynamic clients if the dynamic clients virtual server
617           returns ok *or* updated. Emit useful messages for other codes.
618         * Compile bare "authorize" statements, and issue errors saying
619           using them isn't a good idea.
620
621 FreeRADIUS 3.0.6 Wed 17 Dec 2014 16:00:00 EDT urgency=medium
622         Feature improvements
623         * radmin / raddebug conditional errors are printed
624           to the output, instead of being discarded.
625         * raddebug will exit if condition set with -c was invalid.
626         * radmin auto-reconnects if the connection to the server
627           has gone away.
628         * rlm_cache now has submodule support.  See
629           raddb/mods-available/cache
630         * New memcached driver for rlm_cache. See
631           raddb/mods-available/cache
632         * Add support for &Attribute-Name[*] in conditions.
633           See "man unlang" for details.
634         * Add &Attribute-Name[n] which gets the last instance
635           of an attribute e.g. Module-Failure-Message[n].
636         * Allow for redundant string expansions.  See the
637           "instantiate" section of radiusd.conf.
638         * When checking IP addresses in conditions, make the
639           right side be parsed as an IP prefix.
640         * Support JIT compilation of compiled regular expressions
641           when built with libpcre.
642         * Support named capture groups with "%{regex:<name>}"
643           when built with libpcre.
644         * Increase regular expression capture groups from 8 to 32.
645         * Emit error markers for badly formed regular expressions.
646         * Allow 'm' flag to enable multiline mode in regular
647           expressions.
648         * Support limited implicit attribute conversion in update
649           sections.
650         * Support casting between IPv6 and IPv4 where the IPv6
651           address has the v4/v6 mapping prefix (::ffff:).
652
653         Bug fixes
654         * PEAP works again.  As does proxying EAP-MSCHAPv2
655           from inside of a PEAP tunnel.
656         * "group" is allowed inside of "instantiate" sections.
657         * update disconnect {} with
658           disconnect:Packet-Dst-IP-Address now works correctly.
659         * Regular expression comparisons of non string attributes
660           are now disallowed in the files module.  Previously
661           they would silently fail or produce undefined behaviour.
662         * Fix parsing of old regular expressions.  Closes #842
663         * Fix off by one error in ascend filters.  Closes #843.
664         * Handle NT-Hash in rlm_pap.  This allows passwords to
665           have backslashes in them.
666         * Fix infinite loop on "Fall-Through = yes" when
667           processing SQL groups.
668         * Correct the check of SQL query return code.
669         * Run "Post-Auth-Type Reject" if the request was rejected
670           in post-auth
671         * Write "Login OK" only if the post-auth section passed.
672         * Create TLS-Cert-* certificates, even when EAP session
673           caching is disabled.
674         * Finalize the "correct_escapes" with many more tests.
675         * Move to the new OpenLDAP libldap API, fixes more issues
676           with binary values.
677         * Fix potential memory corruption in rlm_ldap if start
678           connections were set to 0, and the server was running
679           in threaded mode. The fix is a workaround for an issue
680           in libldap and was suggested by Howard Chu.
681         * Give parse errors on "%{...", without the closing brace.
682         * Allow spaces in certificate passwords for build rules
683           in raddb/certs//
684         * Make all regular expression evaluation binary safe.
685           Where that's not possible, emit an error if the pattern
686           or subject contains an embedded null byte.
687         * Fix various issues around masking IPv6 addresses.
688         * Give descriptive error if unknown attributes are used
689           in "update" sections.
690         * Deal with cases where ldap_initialize isn't available
691           gracefully, and use it exclusively when it's available.
692
693 FreeRADIUS 3.0.5 Fri 21 Nov 2014 15:30:00 EDT urgency=medium
694         Feature improvements
695         * Large update to Huawei dictionary.
696         * Added dictionary.rfc7155
697         * Regular expressions like /%{User-Name}/ are now parsed
698           and validated when the server starts.
699         * All configuration items which are dynamically expanded
700           are now parsed and validated when the server starts.
701         * %{expr:...} expressions can now do bit shifting and more.
702           See raddb/mods-available/expr.
703         * The detail file reader can now track packets which have
704           had replies, so they are never re-transmitted.  See
705           raddb/sites-available/buffered-sql, the "track" config item.
706         * CoA and Disconnect packets can now be sent to a specific
707           home server by setting control:Packet-Dst-IP-Address and
708           (optionally) control:Packet-Dst-Port.
709         * Allow CoA and Disconnect packets to be read from the
710           detail file.
711         * Allow LDAP to specify arbitrary attributes for dynamic
712           clients.
713         * Convert all unused attributes in the control: list to config
714           pairs in dynamic clients. This allows arbitrary client
715           attributes to be set for dynamic clients too.
716         * rlm_couchbase now supports bulk loading of clients on startup
717           in a similar way to rlm_ldap. Contributed by Aaron Hurt.
718         * Allow one level of backslashes (finally).  See radiusd.conf,
719           "correct_escapes" setting.
720         * Rename dictionary.redback to dictionary.ericsson.ab
721         * Add --disable-openssl-version-check option to configure.
722           So vendors can disable the check.  Patch from
723           Nikolai Kondrashov.
724         * Do context-specific indenting in debug messages.  This makes
725           the debug output easier to read.
726         * Make configuration a separate RPM, just like for Debian.
727         * better decoding of unknown VSAs
728         * When supported by OpenSSL, allow TLS 1.1 and TLS 1.2
729           in EAP methods.
730         * Allow multiple new connections to be spawned simultaneously
731           in the connection pool, to cope with spikes in traffic.
732         * Document retry_delay in connection pools.
733         * Allow checksimul in rlm_couchbase.
734         * Use kqueue on systems which support it.  This allows for
735           better scaling when using many sockets.
736
737         Bug fixes
738         * Parse list qualifiers in generic LDAP 'valuepair_attribute'
739           attributes correctly.
740         * Fix issue where prefix length would be ignored for dynamic
741           or static clients if the address matched INADDR_ANY
742           (0.0.0.0).
743         * Allow null user object filter in rlm_ldap, it's valid to
744           specify a complete object DN and use the base scope.
745         * Don't SEGV if a received attribute value in a JSON structure
746           is null, or a value can't be stringified.
747         * Don't assert if the server returns a JSON content-type and
748           the server hasn't been built with support for JSON.
749           Closes #808.
750         * Set CURLOPT_NOSIGNAL to prevent curl from handling signals
751           and causing a longjmp error when the server was running with
752           threads.
753         * Allow tabs after attribute names in the "users" file.
754           Closes #796.
755         * Free unknown DICT_ATTRs.  Closes #795
756         * Handle unknown attributes in the conditions and "update"
757           sections.  e.g. Attr-1.2.3.4 = foo.
758         * Use correct array size for MS-CHAP new password.
759         * In rlm_rest, check for older versions of libraries at start
760           time, rather than when a packet comes in.
761         * Don't call detach on parse error in rlm_perl.  Closes #802.
762         * Integer fixes for big-endian systems.  Closes #803.
763         * Don't optimize %{Packet-Src-IP-Address}.  Closes #804.
764         * dhcpclient loads dictionaries correclty.  Closes #805.
765         * double quotes are no longer escaped in single-quoted
766           strings.  e.g. 'foo "hello" bar'.
767         * Fixes for proxying to virtual servers broke the detail file
768           reader.  Now they both work.
769         * Typos and fixes from Nikolai Kondrashov.
770         * Fixes to OpenSSL version checks, for cross-platform issues.
771         * cppcheck fixes from Herwin Weststrate.
772         * Fix build for OSX Yosemite
773         * Merge DHCP sub-options.  Closes #812.
774         * Fix decoding of Starent attributes.
775         * When a module asks for a connection, don't return idle
776           connections.
777         * LDAP connection timeouts will now retry, instead of failing.
778         * Prevent race conditions between fork and wait for child.
779           Patch from James Rouzier.
780         * Fix triggers for connection pools.  Patches from
781           Nikolai Kondrashov.
782         * Fix SEGV when comparing non string type check items.
783         * Build with newer versions of libmysqlclient.
784         * make the %{escape:} and %{unescape:} xlat functions UTF8
785           safe.
786         * Don't escape UTF8 chars in SQL query strings.
787         * Fix issue in cached LDAP group comparisons, which caused
788           checks to sometimes fail.
789         * Fix use after free issue in unlang switch evaluation.
790         * Respect operators in rlm_cache when merging into the current
791           request.
792         * Update Cache-Entry-Hits each time rlm_cache is called.
793         * Produce WARN messages if SQL queries are empty strings.
794         * Fix invalid assertion when proxying CoA requests.
795         * Allow empty strings in "case" statements.  Closes #836.
796         * Normalize escaping for string expansions.  i.e. don't do
797           double escaping in rare situations.
798         * Normalize LDAP escaping.  LDAP servers have multiple ways
799           to escape things, so the data has to be normalized before
800           we can compare two LDAP DNs.
801         * Don't go to high debug level if we're proxying inner EAP
802           as EAP.  Closes #839.
803         * Fix rlm_rest state handling.  Closes #835.
804
805 FreeRADIUS 3.0.4 Wed 10 Sep 2014 12:00:00 EDT urgency=medium
806         Feature improvements
807         * Home server "response_window" can now take fractions of a
808           second.  See proxy.conf.
809         * radmin now supports "show module status", as thee counterpart
810           to "set module status"
811         * Added dictionary ericsson.packet.ccore.networks, bluecoat,
812           citrix, compatible, riverbed, ruckus, and RFC 7268.
813         * Add %{tag:} expansion to get the tag value of an attribute.
814         * Report 'application_name' in connections to PostgreSQL servers.
815           FreeRADIUS connections will now appear as
816           'FreeRADIUS <version> - <name>' in pg_stat_activity.
817         * All config item fields are now type checked at compile time
818           to prevent issues similar to #634 occuring again.
819         * Modify pairparsevalue to deal with embedded NULLs better,
820           and use the binary versions of attribute values in rlm_ldap.
821         * "ipaddr" will now use v6 if no v4 address is present.  You should
822           use "ipv4addr" or "ipv6addr" to force v4/v6 addresses.
823         * The above applies to "listen", "home_server", and "client" sections.
824         * "client" sections will allow "ipaddr = 192.192.0/24".  The old
825           "netmask" is still accepted, but the new format is preferred.
826         * Allow custom HTTP headers to be set for rlm_rest requests using
827           control:REST-HTTP-Header (attributes consumed after use).
828         * Extend format of %{rest:} expansion to allow HTTP method and POST
829           data to be specified
830           e.g. %{rest:POST http://example.org/api foo=bar&baz=boink}.
831         * Add %{hmacsha1:&data &key} and %{hmacmd5:&data &key} expansions
832           for signing data in requests.
833         * rlm_cache now consumes its control attributes to make runtime
834           configuration easier.
835         * Add control:Cache-Read-Only which when set to 'yes' will make the
836           cache module merge existing cache data, but not create new entries.
837         * Add %{unescape:} and %{urlunquote:} expansions to reverse escaping
838           and urlquoting.
839         * Add support for aliases in rlm_ldap.
840         * Add support for connection pool sharing to all modules that use
841           the connection pool (pool = <instance>).
842         * "tls" sections now have a "psk_query" configuration item, for dynamic
843           queries to discover a key from a PSK identity.
844         * Preliminary support for EAP channel bindings.
845         * Foundational work for dynamic home servers.  They do not yet work,
846           but this is now only a matter of updating the "realm" module in
847           a future release.
848         * Support &attr[*] syntax to copy all instances of an attribute when
849           used with the += operator in an update section. May be qualified with
850           a tag.
851         * The logintime and expiration modules can now be listed in the
852           post-auth section.  This makes some configurations simpler.
853         * Allow comparison of integer attributes of different sizes,
854           without requiring a cast.
855         * rlm_sqlippool is now IPV6 capable.  Set "ipv6 = yes" to get
856           Framed-IPv6-Prefix returned.  The SQL queries have NOT been updated.
857           Please submit patches.
858         * The debian build now checks for the OpenSSL package with the heartbleed
859           fix, and if found, sets: allow_vulnerable_openssl = 'CVE-2014-0160'
860         * allow bootstrap from multiple files in sqlite driver.
861
862         Bug fixes
863         * make case-insensitive regular expressions work again, and add tests
864           for them.
865         * A few more talloc parenting issues
866         * Fix delayed proxy reply handling.  Closes #637
867         * Fix OpenSSL initialization order when using
868           RADIUS/TLS.  Fixes #646
869         * Don't double-quote strings in debugging messages
870         * Fix foreach / break.  Fixes #639
871         * Chargeable-User-Identifier, ADSL-Agent-Circuit-Id and
872           ADSL-Agent-Remote-Id should be "octets" types in the default
873           dictionary.
874         * Fix typo in mainconfig.  Fixes #634
875         * More rlm_perl fixes.  Fixes #635
876         * Free OpenSSL memory on clean exit.
877         * Fix <attr>[0] !* ANY - Was removing all instances of <attr>
878         * Fix case where multiple attributes were returned from RHS of
879           mapping, as with rlm_ldap. Fixes #652
880         * Fix corner case in cursor where using fr_cursor_next_by_da
881           after calling fr_cursor_remove may of resulted in a read of
882           uninitialised memory.
883         * Don't SEGV if all connections to a database server go away.
884           Fixes #651.
885         * Fix issue where <attr> -= <value> was not removing tagged
886           instances of <attr> equal to <value> (only untagged).
887         * Fix issue where tag values were not being set on attributes
888           created with unlang/ldap update blocks.
889         * Create rlm_sqlcounter attributes as integer64 types instead
890           of integer types, so large counter values can be specified.
891         * Fix issue where specifying a dynamic client IP addresss using
892           FreeRADIUS-Client-IPv6-Prefix or FreeRADIUS-Client-IP-Prefix
893           may have caused a validation error.
894         * Don't print two "&" for messages about attribute or list
895           references in debug output.
896         * Fix urlquote and escape to encode Unicode characters correctly.
897         * Fix redundant-load-balance blocks to try other modules in
898           the group if one fails.
899         * Fix issue with rlm_pap password normalisation where
900           'known good' password strings stored in octets type attributes,
901           would be sometimes misnormalised as base64.
902         * Don't stop processing DHCP options if we find a 0x00 padding
903           option.
904         * Fix issue where modifying the value of an attribute created
905           from a template with a literal value, may have resulted in the
906           template literal being freed.
907         * Fix parenting issues in tls code which may have resulted in
908           memory corruption and crashes.
909         * Fix issue in radsniff where writing to PCAP files and using
910           -R response filters, where the requests would still be written
911           to the PCAP for non matching responses.
912         * Define __APPLE_USE_RFC_2292 so that the server builds with IPv6
913           support on OSX.
914         * Fix LDAP group lookups for named rlm_ldap instances.
915           Note that attribute references should be used when
916           checking LDAP-Group attributes. e.g. if (&LDAP-Group == 'foo').
917         * Delayed attribute references can now be used in unlang
918           existence checks.  i.e. if (&Attribute-Name) { ... }
919         * Fix issues in EAP-PWD.  CVE-2014-4731, CVE-2014-4732, and
920           CVE-2014-4733.  There is no external authentication bypass.
921         * Fix a number of uses of the talloc parent/child reference.
922         * Release connection used for reading bulk clients in rlm_ldap.
923         * rlm_rest is now fail-safe if it's used without any configuration
924         * Pull in build fixes for FreeBSD from ports.
925         * Fix error in sqlite postauth query
926         * Evaluate argument to "switch" statements once, instead of for each
927           "case" statement.
928         * Define sig_t on systems without it.  Closes #765.
929         * Fix boundary issue with rlm_rest.  Closes #768
930         * Optimize "%{Attribute-Name}" in comparisons only if the dictionary
931           types match.
932         * Don't do chmod() in rad_mkdir() if the directory already exists.
933           We might not have permission to change it.
934         * Use getpwnam_r() and getgrnam_r() on systems which support it.
935           Closes #775.
936         * Clients loaded from SQL are now tied to the "listen" section
937           of a virtual server, instead of being global.
938         * Check for -lpcre.  The system might have pcre.h without -lpcre.
939         * When proxying to a virtual server, use the proxy_reply instead
940           of ignoring it.
941         * Fixed typos in DHCP SQL IPPool.
942         * Fix crash when passing multiple arguments to Perl xlat.
943
944 FreeRADIUS 3.0.3 Mon 12 May 2014 15:30:00 EDT urgency=medium
945         Feature improvements
946         * Everything now builds with no warnings from the C compiler,
947           clang static analyzer, or cppcheck.
948         * rlm_ldap now supports defining the LDAP attribute name via
949           backticked expansion (i.e. shell command) in
950           RADIUS <-> LDAP mappings.
951         * rlm_ldap now supports older style generic attributes.
952         * dynamic expansions (e.g. "%{expr:1 + 2}" are now parsed
953           when the server starts.  Syntax errors in the strings
954           are caught, and a descriptive error is printed.
955         * Static regular expressions (e.g. /a*b/) are now parsed
956           when the server starts.  Syntax errors in the strings
957           are caught, and a descriptive error is printed.
958         * dynamic expansions are cached after being parsed.  They are
959           no longer re-parsed at run-time for every request.
960         * regular expressions are now parsed and cached when the server
961           starts.
962         * Added the %{rest:} expansion to rlm_rest, which will send
963           a GET request to the URL passed as the format string.
964           Any body text will be written to the expansion buffer.
965         * rlm_rest now available as a debian package.
966         * When an 'if' condition statically evaluates to true/false,
967           unlang does more static optimization.  For examples, see
968           src/tests/keywords/if-skip
969         * All modules are marked as safe for '-C', which lets the
970           dynamic expansion checks work in more situations.
971         * Added 'none' and 'custom' rlm_rest body types. 'custom'
972           allows sending of arbitrary expanded text and content-type
973           headers.
974         * Added "config" section to Perl.  See mods-available/perl
975         * Added '%v' which expands to the server version - Patch
976           from Alan Buxey.
977         * more mis-matched casts are caught in "if" conditions,
978           and descriptive errors are printed.
979         * Support basic response validation in radclient. This allows
980           administrators to write local test cases for their
981           site-specific configurations.
982         * Removed radconf2xml and radmin "show client config" and
983           "show home_server config".
984         * Forbid running with vulnerable versions of OpenSSL.
985           See "allow_vulnerable_openssl" in the "security"
986           subsection of "radiusd.conf"
987         * Catch underlying "heartbleed" problem, so that nothing bad
988           happens even when using a vulnerable version of OpenSSL.
989         * Add locking API for sql_null, linelog, and detail modules,
990           which should improve performance and work around issues
991           on platforms with bad file locking.
992         * Allow DHCP NAKs to be delayed, via setting
993           reply:FreeRADIUS-Response-Delay = 1
994         * Allow tag and array references anywhere attributes
995           are allowed in "unlang".
996         * many enhancements to radsniff, including output
997           to collectd, ipv6 support and packet loss statistics.
998         * Many dictionary updates (ZTE, Brocade, Motorola).
999         * rlm_yubikey now automatically splits passwords from OTP
1000           strings.
1001         * The detail file reader is now threaded by default.
1002           This should improve performance reading the files.
1003
1004         Bug fixes
1005         * Fix xlat expression %{attribute[n]} so that it actually
1006           returns the n'th attribute instead of the first one.
1007         * Don't parse string on RHS of update {} when using unary
1008           operators (!*).  The RHS should always be ignored.
1009         * Check for more optional functions in json-c so we can
1010           Build with libjson0, which is the name of the json-c package
1011           on debian/ubuntu.
1012         * Fix issue in radmin where the main dictionaries would
1013           not be loaded which, depending on the configuration, may
1014           have caused validation errors.
1015         * Fix handling of "%{reply:3GPP-*}"
1016         * Fix rlm_perl garbage attributes
1017         * Fix oracle SQL queries, which amongst other things still
1018           used the old expansion format, which is no longer
1019           supported/parsed.
1020         * Truncate long format strings and error markers instead of
1021           omitting them.
1022         * Fix multiple attribute parsing in rlm_rest JSON.
1023         * Don't crash in rlm_rest if connect_uri is commented out
1024           in the configuration.
1025         * Don't double-escape strings to / from Perl.  You may need
1026           to double-check your Perl scripts if they use "\" characters.
1027           See mods-available/perl for documentation.
1028         * Don't re-run "authorize" if a home server fails to respond.
1029         * Don't append "0x" to hex output of octets types, for xlat
1030           expansions.  This is the same as v2, and makes it easier
1031           to concatenate multiple attributes of type "octets"
1032         * FreeBSD fixes for execinfo linking.
1033         * Make some of the module configurations more consistent.
1034         * Fix corner cases where STDOUT wouldn't be closed in
1035           daemon mode.
1036         * Re-enable "update coa" and originating CoA requests.
1037         * Prevent multiple threads writing to the sql query logs.
1038         * Fix zombie period calculation.  Closes #579
1039         * Properly parent VPs for talloc, when moving them in map2request.
1040         * Various fixes for talloc parent / child relationships
1041         * Allow rlm_counter to support VSAs.
1042         * Normalize return codes for many modules. "do nothing" is noop,
1043           not "ok".
1044         * Run Post-Proxy-Type Fail.  Closes #576
1045         * Fix DHCP destination port for replies to relays.  Closes #591
1046         * Do-Not-Respond policy works again  Closes #593
1047         * Proxy-To-Virtual-Server works again.  Closes #596
1048         * Build fixes for ancient systems.  Closes #607, #608, #609.
1049         * %{Module-Return-Code} works again.  Closes #610.
1050         * Don't increment statistics for Status-Server responses.
1051           Closes #612.
1052         * A duplicate request isn't a duplicate if the original one
1053           is marked "done".  This should lower retransmissions from
1054           clients.
1055         * Fix multiple regular expression and glob memory leaks.
1056         * Don't allocate any memory in fr_fault() as it can cause malloc
1057           to deadlock.
1058         * Temporarily set dumpable flag before calling system in fr_fault()
1059           else the debugger may not be able to attach.
1060         * Set nonblock on all TCP client sockets.
1061         * Fix minor buffer overrun in mschapv2 where some attribute strings
1062           were not correctly \0 terminated.
1063         * Fix crash on authentication failure with MIT kerberos.
1064         * Fix code so that octal escape sequences aren't prematurely unescaped
1065           in rlm_sql, radclient, preprocess, and other places. This may
1066           require configuration changes, as these sequences will no longer
1067           need double escaping (\\) of the backslash.
1068         * The connection pools no longer have one connection used twice
1069           in certain rare conditions.
1070         * Use self pipes for internal signals.  The code was there, but was
1071           unused.
1072         * Don't crash if there are outstanding EAP sessions and were told to
1073           exit gracefully.
1074         * Fix typo in dictionary.rfc4072
1075
1076 FreeRADIUS 3.0.2 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
1077         Feature improvements
1078         * secret keys and LDAP / SQL passwords are now printed as
1079           '<<< secret >>>' in debugging mode.  Use -Xx to see the
1080           actual passwords.
1081         * Print out more information about passwords in -Xx,
1082           including hashes, comparisons, etc.
1083         * Allow cast (and implicit conversion) of integers to IPv4 addresses
1084         * More xlats allow attribute references.  This means they can
1085           operate on binary data.  e.g. expr, base64, md5, sha1.
1086         * Added more tests.
1087         * The dictionaries are now auto-loaded.  raddb/dictionary
1088           should no longer have $INCLUDE ${prefix}/share/dictionary
1089         * A "panic_action" can be set to have the server dump a gdb
1090           log on SEGV or other fatal error.  See radiusd.conf
1091         * Add support for SHA-224, SHA-256, SHA-384, SHA-512 to rlm_pap.
1092         * Add "%{sha256:}" and "%{sha512:}" xlat functions.
1093         * Cache CUI in EAP session resumption.
1094         * templates can now have sub-sections, which will be included
1095           in the section referencing the template.
1096         * Update more dictionaries.
1097         * Added more instances of the "always" module, for all return
1098           codes.
1099         * Suppress broken NASes when proxying.  Retransmits which occur
1100           more than once per second are rate-limited to once per second.
1101         * Allow '&' in more xlat expansions.
1102         * Update PostgreSQL schema and queries to record last updated
1103           time, and accounting interim.
1104         * Optimize more "if" conditions when the server loads.  This will
1105           avoid work at run time.  e.g. ("foo" == "bar") --> FALSE.
1106         * Allow removal of all attributes within a list with !* operator.
1107         * Allow list to list copies with request qualifiers (outer.).
1108         * Add support for ipv4 prefixes and ipv6 addresses and prefixes to
1109           %{integer:}.
1110         * allow radmin command "set module status <module> <code>"
1111           which can be used to forcibly enable/disable modules.
1112         * pap module now assumes Cleartext-Password if Password-With-Header
1113           doesn't have a {...} header.
1114         * Added "unpack" module.  It can unpack binary data from horrible
1115           VSA formats.  See raddb/mods-available/unpack
1116         * Added example IP Pool for DHCP, using sqlite.  From Matthew Newton
1117           See raddb/mods-config/sql/ippool-dhcp/
1118
1119         Bug fixes
1120         * Fix SQL groups.
1121         * Fix operation of fr_strerror() with RE*() macros.
1122         * Don't assert if the connection we're trying to reconnect
1123           is not in_use.
1124         * Fix %{mschap:User-Name} xlat.
1125         * Allow comparisons of signed integers and of ethernet addresses.
1126         * Fix parsing of text-based ascend binary filters.
1127         * Fix a few minor Coverity and clang analyzer issues.
1128         * Log WARNING and ERROR prefixes only once, not twice.
1129         * Fix attribute truncation seen in Perl and other places.
1130         * Use correct port when DHCP relaying.
1131         * Fix behaviour on FreeBSD where sending packets from an interface
1132           bound to an IP address would fail when the server was built with
1133           udpfromto.
1134         * Don't abort() when freeing home servers on exit.
1135         * Fix edge case in pairmove() when some attributes could be over-
1136           written.
1137         * Do checks for individual sqlite v2 functions so rlm_sqlite builds
1138           correctly with more versions of the library.
1139         * In heimdal kerberos, create MEMORY ccaches on a per context basis.
1140           This prevents issues with the root ccache being used.
1141         * Fix corner case with proxying, where home server goes down.
1142         * Rate-limit "max_requests" complaint.  We don't want to fill the
1143           logs when something goes wrong.
1144         * Use /dev/urandom for raddb/certs/random, if it exists.
1145         * Issue WARNING that old-style clients should no longer be used.
1146         * Auto-set secret to "radsec" for tcp+tls home servers.
1147         * Fix double free in home_server_add when there is a parse error
1148           on startup.
1149         * rlm_unix checks if the dictionaries are broken, instead of crashing
1150         * Fix potential memory corruption when normalising salted password
1151           hashes from hex, where the combined hash and salt was > 64 bytes.
1152         * Register sqlcounter attributes correctly, and other issues with it
1153         * treat 127.0.0.1/32 as being identical to 127.0.0.1
1154         * Don't mangle error output of SQL drivers like PostgreSQL
1155         * Fix usage of "tls = ${tls}".  It could previously cause problems
1156           when the reference was used multiple times.
1157         * Fix TLS session leak for incoming sockets.
1158         * Try harder to clean up memory on exit when using "-mM"
1159         * Fix memory leak when home server is down for RadSec connections
1160         * rate-limit outgoing connection attempts when the home server
1161           is down.  It will retry no more than once per second.
1162         * When parsing ipv6 address prefixes, always mask off the host
1163           portion.
1164         * Fix rlm_counter so that it does not create two reply
1165           attributes.
1166         * Fix issues with DHCP Sub-TLVs where the value of the first
1167           Sub-TLV would appear corrupted, and subsequent TLVs would
1168           not appear in debug output.
1169         * Initialize scope in IP address parsing
1170         * Prevent vendor attributes and RFC space attributes from clashing
1171           in rlm_attr_filter.
1172         * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
1173           or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
1174           determine the source IP.
1175         * Fix POST attribute parsing in rlm_rest.
1176         * Fix JSON attribute parsing in rlm_rest.
1177         * Don't append trailing & to POST options in rlm_rest (minor).
1178         * Process HTTP 100 Continue messages correctly in rlm_rest
1179         * Fix generation of long > 512 byte POST payloads, where attribute
1180           values on the chunk boundary may have been omitted in rlm_rest.
1181         * Remove duplicate escape sequence parsing in rlm_sqlippool and
1182           rlm_sqlcounter which caused issues with escaping %. Escape
1183           sequence parsing is now handled purely by the xlat functions.
1184         * Ensure %% is treated as a string literal, and so not passed to any
1185           xlat escape functions for processing.
1186         * Correct calculation of Message-Authenticator
1187           for CoA packets.  Closes #556
1188
1189 FreeRADIUS 3.0.1 Mon 13 Jan 2014 14:30:00 EDT urgency=medium
1190         Feature improvements
1191         * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
1192           So that run-away child processes are caught earlier.
1193         * Allow TLS clients to use "proto = tls", in which case
1194           TLS is required.  The shared secret is then set to "radsec".
1195         * More documentation in the tls virtual server.
1196         * Add "date" module for date formatting.
1197           See raddb/mods-available/date.
1198         * Added unit test suite for internal server functionality
1199         * When loading "update" sections, check if the RHS is a literal
1200           value.  If so, syntax check it immediately.
1201         * Update LDAP module documentation and functionality.
1202           The generic attribute can now update lists.
1203         * Updated dictionary.extreme.
1204         * Update sqlippool to do clears as a separate transaction,
1205           and at most once per second.  This should help MySQL.
1206         * Respect control:Response-Packet-Type for all types of
1207           requests.
1208         * Add support for SSL encryption to the MySQL driver.
1209         * Allow arbitrary connection parameters to be used with the
1210           PostgreSQL driver.
1211         * Changes to the OpenLDAP schema to fully expose functionality
1212           of the new LDAP module.
1213         * Update debian packaging to include a freeradius-config
1214           package. This package may be provided as a site local
1215           package to avoid fighting with the preinstalled config
1216           files.
1217
1218         Bug fixes
1219         * Use correct field for ARP setting in DHCP.
1220         * Fix crash on debug condition (#454).
1221         * Fix a number of minor issues caught by the clang
1222           analyzer.
1223         * Set WARNING messages to yellow instead of normal text.
1224         * Correct debug colorise logic.  Patch from Phil Mayers.
1225         * Encode attributes of type "ethernet".  No one uses them,
1226           but it makes sense.
1227         * Work around regex initialization issues.
1228         * Fix build when linking against OpenSSL.
1229         * Print IDs as positive numbers, which helps for large DHCP
1230           XIDs.
1231         * Fix issue with sql_ippool.
1232         * sqlcounter now uses 64-bit counters, to deal with 4G overflow.
1233         * Fix issues with DHCP subsystem.
1234         * Don't build / install disabled modules, or their config
1235           files.
1236         * Fix build for OSX Mavericks, which hid the header files
1237           in a magical place.
1238         * Fix LEAP buffer issue.  You should still avoid LEAP.
1239         * Mark "unknown" WiMAX attributes as being WiMAX.
1240         * Fix typo in packet decoder for fragmented extended attrs
1241         * RPM spec fixes.
1242         * Fix rlm_perl build issues when not using threads.
1243         * Enable %{Response-Packet-Type} again.
1244         * Update configuration file parser to handle "bool"
1245           consistently.
1246         * Update declarations of global boolean variables to use
1247           "bool" consistently. This fixes an issue where some
1248           modules were instantiated in "config check" mode and
1249           did not work correctly.
1250         * Make more messages debug instead of info, to avoid
1251           polluting the logs with messages that can't be fixed.
1252         * Set operator in internal unlang code to suppress spurious
1253           warning messages.
1254         * Fix debian packaging.
1255         * Added "status" to Debian init script.
1256         * Fix "update outer.request" to update the outer request.
1257         * Don't print TLS debugging messages when not in debug mode.
1258         * Correctly manage counters for "limit" sections of TCP / TLS
1259           "listen" sockets.
1260         * Fix libldap debug output.
1261         * Fix rlm_ldap tls functionality.
1262         * Initialise OpenSSL globals early to avoid issues with the
1263           PostgreSQL library.
1264         * Fix typo in sqlcounter expansion code.  Fixes #463
1265         * Overwrite previous instances of SQL-User-Name when adding
1266           it to the request.
1267         * Work around bugs in both MIT and heimdal versions of
1268           krb5_copy_context(), which caused segfaults in
1269           multithreaded mode.
1270         * Provide meaningful error messages if Heimdal krb5 is used.
1271         * Fix attribute supression in rlm_detail.
1272         * Exit with error code if child fails to complete server
1273           initialisation after forking.  This allows init scripts to
1274           correctly report whether the server started ok.
1275
1276 FreeRADIUS 3.0.0 Mon  7 Oct 2013 15:48:14 EDT urgency=medium
1277         Feature improvements
1278         * Documentation for upgrading from 2.x is in raddb/README.rst
1279           Please follow it.  It will make the upgrade easier.
1280         * Moved configuration entries in radiusd.conf to make more sense.
1281         * Added the "integer64" and "ipv4prefix" data types.
1282         * Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
1283         * Updated internal API to support new attributes and formats
1284         * Added code to send SNMP Traps.  See raddb/trigger.conf.
1285         * Added preliminary support for Apple's Grand Central Dispatch
1286         * Added provisions for raddb/dictionary.local, for local changes.
1287           See raddb/dictionary for more details.
1288         * Added packet/s tracking. See max_pps in the "listen" section.
1289         * The %{} expansions and "unlang" conditions are now parsed at server
1290           start. Descriptive errors are produced for syntax and format errors.
1291         * Casting is now supported for "unlang" comparisons.  See "man unlang"
1292           e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
1293         * Direct comparison of attribute references is now supported.
1294           e.g. &Foo == &Bar.  This avoids stringification of the attributes.
1295         * Direct assignment of attributes is now supported.
1296           e.g. Foo := &Bar.  It also works for "octets" data types.
1297         * Comparisons of IPv4 and IPv6 prefixes are now supported.
1298           The "<" operator means "within the prefix" for comparisons.
1299         * New sha1 xlat expansion (thanks to Alan Buxey)
1300         * Colourised log messages when logging to stdout.  Look for yellow
1301           warnings and red errors.  Doing this will save you a LOT of grief.
1302         * If the PCRE library is available, use it (insted of the POSIX
1303           functions) to process regular expressions (thanks to Phil Mayers).
1304         * -xv now displays all the features the server was built with, and
1305           the versions of the core libraries (libtalloc, libssl).
1306
1307         Module Changes
1308         * Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
1309           following the examples of other projects.
1310         * Additional files for each module are now in raddb/mods-config/.
1311           See raddb/mods-config/README.rst for documentation.
1312         * Moved "users" to raddb/mods-config/files/authorize
1313         * Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
1314         * Moved eap.conf to mods-available/eap
1315         * Moved sql.conf to mods-available/sql
1316         * Moved TLS configuration for EAP into a common subsection.
1317           See raddb/mods-available/eap, "tls-config" section.
1318         * Added for MS-CHAP Change Password from Phil Mayers.
1319           See raddb/mods-available/mschap, "passchange" subsection.
1320         * Added EAP-PWD implementation from Dan Harkins
1321         * Added connection pools for modules. This unifies connection
1322           management which was previously different for different modules.
1323         * SQL now uses the connection pool.  See mods-available/sql
1324         * SQL now supports arbitrary Acct-Status-Types.
1325           These changes are not compatible with 2.x.
1326         * SQL now has full support for SQLite.  See raddb/sql/main/sqlite/
1327         * SQLite supports auto-creation of new databases on server startup for
1328           bootstrapping purposes.
1329         * LDAP now uses the connection pool.  The LDAP module has been
1330           completely re-written for performance and simplicity.
1331         * LDAP now caches groups.  This makes multiple group checks MUCH
1332           faster.
1333         * Removed all limitations on 253 octet attributes.  RFC 6929 allows
1334           for attributes up to 4K in length.
1335         * New rlm_idn module providing an expansion for performing IDNA encoding
1336         of internationalized domain names.  Thanks to 'skids'.
1337         * New rlm_yubikey module to validate yubikey OTP tokens.
1338           See raddb/modules/yubikey
1339
1340         Bug fixes
1341         * All known bug fixes from 2.2.x are included.
1342         * Removed "addport" functionality.
1343         * Removed many unused or duplicate modules.  See raddb/README.rst.
1344
1345         Internal / API changes:
1346         * All traces of the old build system have been removed.
1347           The new build system is faster and simpler.
1348         * clang is fully supported.
1349         * We now use "talloc" for memory management.  A number of new
1350           features required this change.  Thanks to the Samba people!
1351         * Many internal APIs have been updated to use talloc.
1352         * New API for iterating over VALUE_PAIRs.  This is in preparation
1353           for attributes, in version 3.1.
1354         * No new code should directly modify any field of a VALUE_PAIR.
1355         * VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
1356           attribute and vendor fields.  This will allow nested attributes.
1357         * Some protocol specific code has been moved out into proto_* modules.
1358           More will come in subsequent versions.  See proto_dhcp and proto_vmps.
1359         * Standardised internal logging macros.  radlog() should not be used.
1360           See src/include/log.h
1361         * Use OpenSSL hashing functions when available.
1362         * The server now builds with no warnings on most platforms.
1363         * New RADIUS encoder/decoder, to support new formats.
1364         * Added RFC 6929 "extended attributes", via the new encoder/decoder.
1365         * Added full WiMAX support, via the new encoder/decoder.  The old
1366           code could not handle some unusual corner cases.