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