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