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