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