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