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