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