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