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