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