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