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