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