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