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