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