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