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