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