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