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