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