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