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