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