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