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