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