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