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