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