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