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