1 FreeRADIUS 3.0.8 Thu 19 Feb 2015 12:00:00 EDT urgency=medium
3 * Allow syslog_severity to be set in rlm_linelog.
4 * Allow defaults to be set for bulk clients in LDAP and couchbase.
5 * Updates to dhcpclient. Patches from Nicolas C.
6 * rlm_mschap now supports direct connections to winbind, which
7 is faster than ntlm_auth. See raddb/mods-available/mschap
8 * Recommend /dev/urandom for TLS randomness, instead of
12 * Don't complain about "authorize" in "server {}" blocks, but
13 only if there's no "server" block.
14 * Fix cosmetic issue where debug from the first packet read by
15 a detail reader thread would be emited during config parsing.
16 * Fix ASSERT on truncated detail packets.
17 * Don't use main server log functions from within panic_action,
18 as in the case of syslog this would cause deadlocks if the
19 fault was triggered from within a malloc.
20 * Fix issue in "switch" when "correct_escapes = false".
22 * Fix sqlcounter configuration to use "%%b" instead of "%b",
23 otherwise the new syntax validation will fail.
24 * Allow forward references in configuration items. Modules
25 aren't always loaded in a sane order.
26 * Fix more escaping issues. Closes #912.
27 * Decode MAC addresses correctly for VMPS.
28 * Fix memory leak with TLS connections.
29 * Fix state machine threading issues for conflicting packets.
30 * Fix copy_request_to_tunnel issues for tagged attributes.
31 * Allow "ok" to over-ride "updated" inside of Auth-Type sections.
32 * Update state machine so that post-proxy is run though child
33 threads for performance, instead of blocking the main thread.
34 * Allow "netmask" to work again in client definitions.
35 * Relax restrictions on SQL group queries.
36 * track outgoing proxy sockets and clean them up more aggressively.
37 * track proxy statistics, including CoA and Disconnect.
38 * If radmin has a connection failure when running a command,
39 it re-connects and runs the command again.
40 * mark home servers "unknown" less aggressively.
41 * Fix potential SEGV in PostgreSQL driver on error.
42 * Fix issue where fields like nas_type would not be accessible via
43 the %{client:} xlat, for dynamic clients.
44 * Set default busy_timeout (of 200ms) in the sqlite driver, so writes
45 don't cause selects to fail in multithreaded mode. This is user
46 configurable, and may be increased if required.
47 * Convert Password-With-Header attributes to binary (from hex or
48 base64), in the authorize method of rlm_pap.
49 * Fix invalid assert in state.c, that could cause abort in
51 * Fix double free when -m flag is used, and connection pools are
52 referenced by multiple modules.
53 * RADIUS over TLS accounting uses the same port as authentication.
54 * Regularized return codes from radmin commands.
55 * Fix RHEL spec file so it works correctly for Centos7 which uses
56 systemd, and didn't like the SystemV init script.
57 * radwho and radlast now have a -D option to load dictionaries
58 * DHCP packets are no longer checked for duplicates.
60 FreeRADIUS 3.0.7 Thu 19 Feb 2015 12:00:00 EDT urgency=medium
62 * Allow coa home_servers to be derived from client
63 sections if a coa_server section is provided.
64 * Automatically determine the correct port if no port is
65 provided for a home server.
66 * Allow foreach to operate over lists.
67 * Add compile time features to ${feature.*} and versions
68 of core libraries to ${version.*}. Feature and version
69 names match output of radiud -xv. %v is now deprecated.
70 * Add support for PATCH method in rlm_rest.
71 * Validate more module xlats on startup, and warn if an
72 xlat expansion is found in a double quoted config item
73 which will not be expanded.
74 * Add support for sub-second timeouts in rlm_rest.
75 * Add support for connection timeouts in rlm_rest.
76 * Add %{jsonquote:<str>} xlat to escape strings for insertion
78 * Add %{ldapquote:<str>} xlat to escape strings for insertion
80 * Add %{explode:&ref <char>}, splits value of &ref on
81 <char> and creates new &ref type attributes with the
83 * Allow rlm_ldap to use attribute references for base_dn and
84 filter config items. The attribute references are not
85 escaped, allowing DNs and filters to be created dynamically.
86 * Add %{nexttime:[<int>]h|d|w|y} to calculate the number of
87 seconds before the next <int> hour(s), day(s), week(s),
89 * Allow the left side of update sections to be xlat expansions.
90 The result of the expansion is then used to reference the
91 attribute to be modified.
92 * Added %{lpad:&Attribute-Name 7 x} and rpad. These produce
93 fixed-width output strings, with padding to the left (lpad)
95 * For some SQL drivers (MySQL, sqlite) distinguish between
96 constraints violations (on insert), invalid queries, and
97 server errors, and return noop, invalid, and error respectively.
98 * Call SHOW WARNINGS in the MySQL driver and write them to
99 the request log, if libmysqlclient indicates warnings are
100 available on the server.
101 * Forbid the creation of Vendor-Specific for non-standard
102 VSAs. Use Attr-26 = 0x... instead.
103 * Make dhcpclient work with raw sockets and various other
104 improvements - Contributed by nchaigne
105 * Add support for SSHA2 - Contributed by PDD.
106 * Add perle dictionary - Contributed by Hachmer
107 * Modernise init scripts for RHEL, SUSE and Debian.
108 * radmin now tracks the return code of commands, and exits
109 with status "1" if any command failed to execute.
110 * radmin now sends error messages from the server to
111 stderr, instead of to stdout.
112 * radmin now looks for sockets matching it's UID and GID,
113 rather than just always using the first one it finds.
114 * radmin can how delete clients which are tied to a listener.
115 * Moved RADIUS attribute definitions to src/include/rfc*.h
116 * Move to talloc pools for requests. For in-memory tests
117 (default config, 'users' file), performance increases by 30%.
118 * In rlm_ldap allow sasl_mech to be specified for admin and
119 user binds. Only non-interactive mechs (like EXTERNAL)
120 are currently supported.
121 * Remove support for ephemeral RSA keys. They were "export only",
122 and should not be used by anyone.
123 * Syntax errors in the "users" file now produce better
127 * Fix issues parsing LDAP hostnames with non-standard ports.
128 * Fix issues with realms containing regular expressions.
129 * Allow unary negation before parantheses in rlm_expr.
130 * Fix infinite loop in kevent event loop code. Issue only
131 presented on FreeBSD.
132 * Be more careful to define Auth-Types before loading modules.
133 * Link libfreeradius-radius against OpenSSL too, to avoid
134 multi-version symbols in SSL libraries.
135 * When rlm_ldap rebinds a connection, it should use bind
136 credentials from the module that created the connection
137 pool, not credentials from the module referencing it.
138 * Empty server config pairs should be allowed in rlm_ldap
139 instances that reference another module's connection pool.
140 * Mark rlm_always as huppable, so its rcode can be changed
141 via radmin (allows policy toggles).
142 * Emit warnings when ignoring user configured pool values.
143 * Fix issue that would cause radclient to complain
144 intermittently about differing numbers of filters and
146 * Fix cosmetic issues in connection pool logging, that made
147 it appear as if the same connection was being opened
149 * Fix threadsafety issues in SQL drivers, where a static
150 buffer was used to store error messages.
151 * Log RERROR, RWARN, RINFO to the global log if request
152 logging is not enabled.
153 * Link to libldap instead of libldap_r. libldap_r
154 is not supported for use by projects outside of OpenLDAP.
155 * Set connection timeout correctly in rlm_sql_mysql.
156 * Build with older versions of libcurl, and use CFLAGS from
158 * Honour Packet-Src-Port and Packet-Src-IP-address in radclient.
159 * Initialise ldapai_info_version field, so libldap will report
160 its vendor and version.
161 * Fix log rotation scripts by using the copyrotate option.
162 * Fix issue that caused opening control sockets to always
163 fail on non-Linux systems, if a user or group was set.
164 * Save Session-State after proxying.
165 * Additional fixes for reading CoA/DM requests from detail
167 * Create dynamic clients if the dynamic clients virtual server
168 returns ok *or* updated. Emit useful messages for other codes.
169 * Compile bare "authorize" statements, and issue errors saying
170 using them isn't a good idea.
172 FreeRADIUS 3.0.6 Wed 17 Dec 2014 16:00:00 EDT urgency=medium
174 * radmin / raddebug conditional errors are printed
175 to the output, instead of being discarded.
176 * raddebug will exit if condition set with -c was invalid.
177 * radmin auto-reconnects if the connection to the server
179 * rlm_cache now has submodule support. See
180 raddb/mods-available/cache
181 * New memcached driver for rlm_cache. See
182 raddb/mods-available/cache
183 * Add support for &Attribute-Name[*] in conditions.
184 See "man unlang" for details.
185 * Add &Attribute-Name[n] which gets the last instance
186 of an attribute e.g. Module-Failure-Message[n].
187 * Allow for redundant string expansions. See the
188 "instantiate" section of radiusd.conf.
189 * When checking IP addresses in conditions, make the
190 right side be parsed as an IP prefix.
191 * Support JIT compilation of compiled regular expressions
192 when built with libpcre.
193 * Support named capture groups with "%{regex:<name>}"
194 when built with libpcre.
195 * Increase regular expression capture groups from 8 to 32.
196 * Emit error markers for badly formed regular expressions.
197 * Allow 'm' flag to enable multiline mode in regular
199 * Support limited implicit attribute conversion in update
201 * Support casting between IPv6 and IPv4 where the IPv6
202 address has the v4/v6 mapping prefix (::ffff:).
205 * PEAP works again. As does proxying EAP-MSCHAPv2
206 from inside of a PEAP tunnel.
207 * "group" is allowed inside of "instantiate" sections.
208 * update disconnect {} with
209 disconnect:Packet-Dst-IP-Address now works correctly.
210 * Regular expression comparisons of non string attributes
211 are now disallowed in the files module. Previously
212 they would silently fail or produce undefined behaviour.
213 * Fix parsing of old regular expressions. Closes #842
214 * Fix off by one error in ascend filters. Closes #843.
215 * Handle NT-Hash in rlm_pap. This allows passwords to
216 have backslashes in them.
217 * Fix infinite loop on "Fall-Through = yes" when
218 processing SQL groups.
219 * Correct the check of SQL query return code.
220 * Run "Post-Auth-Type Reject" if the request was rejected
222 * Write "Login OK" only if the post-auth section passed.
223 * Create TLS-Cert-* certificates, even when EAP session
225 * Finalize the "correct_escapes" with many more tests.
226 * Move to the new OpenLDAP libldap API, fixes more issues
228 * Fix potential memory corruption in rlm_ldap if start
229 connections were set to 0, and the server was running
230 in threaded mode. The fix is a workaround for an issue
231 in libldap and was suggested by Howard Chu.
232 * Give parse errors on "%{...", without the closing brace.
233 * Allow spaces in certificate passwords for build rules
235 * Make all regular expression evaluation binary safe.
236 Where that's not possible, emit an error if the pattern
237 or subject contains an embedded null byte.
238 * Fix various issues around masking IPv6 addresses.
239 * Give descriptive error if unknown attributes are used
240 in "update" sections.
241 * Deal with cases where ldap_initialize isn't available
242 gracefully, and use it exclusively when it's available.
244 FreeRADIUS 3.0.5 Fri 21 Nov 2014 15:30:00 EDT urgency=medium
246 * Large update to Huawei dictionary.
247 * Added dictionary.rfc7155
248 * Regular expressions like /%{User-Name}/ are now parsed
249 and validated when the server starts.
250 * All configuration items which are dynamically expanded
251 are now parsed and validated when the server starts.
252 * %{expr:...} expressions can now do bit shifting and more.
253 See raddb/mods-available/expr.
254 * The detail file reader can now track packets which have
255 had replies, so they are never re-transmitted. See
256 raddb/sites-available/buffered-sql, the "track" config item.
257 * CoA and Disconnect packets can now be sent to a specific
258 home server by setting control:Packet-Dst-IP-Address and
259 (optionally) control:Packet-Dst-Port.
260 * Allow CoA and Disconnect packets to be read from the
262 * Allow LDAP to specify arbitrary attributes for dynamic
264 * Convert all unused attributes in the control: list to config
265 pairs in dynamic clients. This allows arbitrary client
266 attributes to be set for dynamic clients too.
267 * rlm_couchbase now supports bulk loading of clients on startup
268 in a similar way to rlm_ldap. Contributed by Aaron Hurt.
269 * Allow one level of backslashes (finally). See radiusd.conf,
270 "correct_escapes" setting.
271 * Rename dictionary.redback to dictionary.ericsson.ab
272 * Add --disable-openssl-version-check option to configure.
273 So vendors can disable the check. Patch from
275 * Do context-specific indenting in debug messages. This makes
276 the debug output easier to read.
277 * Make configuration a separate RPM, just like for Debian.
278 * better decoding of unknown VSAs
279 * When supported by OpenSSL, allow TLS 1.1 and TLS 1.2
281 * Allow multiple new connections to be spawned simultaneously
282 in the connection pool, to cope with spikes in traffic.
283 * Document retry_delay in connection pools.
284 * Allow checksimul in rlm_couchbase.
285 * Use kqueue on systems which support it. This allows for
286 better scaling when using many sockets.
289 * Parse list qualifiers in generic LDAP 'valuepair_attribute'
290 attributes correctly.
291 * Fix issue where prefix length would be ignored for dynamic
292 or static clients if the address matched INADDR_ANY
294 * Allow null user object filter in rlm_ldap, it's valid to
295 specify a complete object DN and use the base scope.
296 * Don't SEGV if a received attribute value in a JSON structure
297 is null, or a value can't be stringified.
298 * Don't assert if the server returns a JSON content-type and
299 the server hasn't been built with support for JSON.
301 * Set CURLOPT_NOSIGNAL to prevent curl from handling signals
302 and causing a longjmp error when the server was running with
304 * Allow tabs after attribute names in the "users" file.
306 * Free unknown DICT_ATTRs. Closes #795
307 * Handle unknown attributes in the conditions and "update"
308 sections. e.g. Attr-1.2.3.4 = foo.
309 * Use correct array size for MS-CHAP new password.
310 * In rlm_rest, check for older versions of libraries at start
311 time, rather than when a packet comes in.
312 * Don't call detach on parse error in rlm_perl. Closes #802.
313 * Integer fixes for big-endian systems. Closes #803.
314 * Don't optimize %{Packet-Src-IP-Address}. Closes #804.
315 * dhcpclient loads dictionaries correclty. Closes #805.
316 * double quotes are no longer escaped in single-quoted
317 strings. e.g. 'foo "hello" bar'.
318 * Fixes for proxying to virtual servers broke the detail file
319 reader. Now they both work.
320 * Typos and fixes from Nikolai Kondrashov.
321 * Fixes to OpenSSL version checks, for cross-platform issues.
322 * cppcheck fixes from Herwin Weststrate.
323 * Fix build for OSX Yosemite
324 * Merge DHCP sub-options. Closes #812.
325 * Fix decoding of Starent attributes.
326 * When a module asks for a connection, don't return idle
328 * LDAP connection timeouts will now retry, instead of failing.
329 * Prevent race conditions between fork and wait for child.
330 Patch from James Rouzier.
331 * Fix triggers for connection pools. Patches from
333 * Fix SEGV when comparing non string type check items.
334 * Build with newer versions of libmysqlclient.
335 * make the %{escape:} and %{unescape:} xlat functions UTF8
337 * Don't escape UTF8 chars in SQL query strings.
338 * Fix issue in cached LDAP group comparisons, which caused
339 checks to sometimes fail.
340 * Fix use after free issue in unlang switch evaluation.
341 * Respect operators in rlm_cache when merging into the current
343 * Update Cache-Entry-Hits each time rlm_cache is called.
344 * Produce WARN messages if SQL queries are empty strings.
345 * Fix invalid assertion when proxying CoA requests.
346 * Allow empty strings in "case" statements. Closes #836.
347 * Normalize escaping for string expansions. i.e. don't do
348 double escaping in rare situations.
349 * Normalize LDAP escaping. LDAP servers have multiple ways
350 to escape things, so the data has to be normalized before
351 we can compare two LDAP DNs.
352 * Don't go to high debug level if we're proxying inner EAP
354 * Fix rlm_rest state handling. Closes #835.
356 FreeRADIUS 3.0.4 Wed 10 Sep 2014 12:00:00 EDT urgency=medium
358 * Home server "response_window" can now take fractions of a
359 second. See proxy.conf.
360 * radmin now supports "show module status", as thee counterpart
361 to "set module status"
362 * Added dictionary ericsson.packet.ccore.networks, bluecoat,
363 citrix, compatible, riverbed, ruckus, and RFC 7268.
364 * Add %{tag:} expansion to get the tag value of an attribute.
365 * Report 'application_name' in connections to PostgreSQL servers.
366 FreeRADIUS connections will now appear as
367 'FreeRADIUS <version> - <name>' in pg_stat_activity.
368 * All config item fields are now type checked at compile time
369 to prevent issues similar to #634 occuring again.
370 * Modify pairparsevalue to deal with embedded NULLs better,
371 and use the binary versions of attribute values in rlm_ldap.
372 * "ipaddr" will now use v6 if no v4 address is present. You should
373 use "ipv4addr" or "ipv6addr" to force v4/v6 addresses.
374 * The above applies to "listen", "home_server", and "client" sections.
375 * "client" sections will allow "ipaddr = 192.192.0/24". The old
376 "netmask" is still accepted, but the new format is preferred.
377 * Allow custom HTTP headers to be set for rlm_rest requests using
378 control:REST-HTTP-Header (attributes consumed after use).
379 * Extend format of %{rest:} expansion to allow HTTP method and POST
381 e.g. %{rest:POST http://example.org/api foo=bar&baz=boink}.
382 * Add %{hmacsha1:&data &key} and %{hmacmd5:&data &key} expansions
383 for signing data in requests.
384 * rlm_cache now consumes its control attributes to make runtime
385 configuration easier.
386 * Add control:Cache-Read-Only which when set to 'yes' will make the
387 cache module merge existing cache data, but not create new entries.
388 * Add %{unescape:} and %{urlunquote:} expansions to reverse escaping
390 * Add support for aliases in rlm_ldap.
391 * Add support for connection pool sharing to all modules that use
392 the connection pool (pool = <instance>).
393 * "tls" sections now have a "psk_query" configuration item, for dynamic
394 queries to discover a key from a PSK identity.
395 * Preliminary support for EAP channel bindings.
396 * Foundational work for dynamic home servers. They do not yet work,
397 but this is now only a matter of updating the "realm" module in
399 * Support &attr[*] syntax to copy all instances of an attribute when
400 used with the += operator in an update section. May be qualified with
402 * The logintime and expiration modules can now be listed in the
403 post-auth section. This makes some configurations simpler.
404 * Allow comparison of integer attributes of different sizes,
405 without requiring a cast.
406 * rlm_sqlippool is now IPV6 capable. Set "ipv6 = yes" to get
407 Framed-IPv6-Prefix returned. The SQL queries have NOT been updated.
408 Please submit patches.
409 * The debian build now checks for the OpenSSL package with the heartbleed
410 fix, and if found, sets: allow_vulnerable_openssl = 'CVE-2014-0160'
411 * allow bootstrap from multiple files in sqlite driver.
414 * make case-insensitive regular expressions work again, and add tests
416 * A few more talloc parenting issues
417 * Fix delayed proxy reply handling. Closes #637
418 * Fix OpenSSL initialization order when using
419 RADIUS/TLS. Fixes #646
420 * Don't double-quote strings in debugging messages
421 * Fix foreach / break. Fixes #639
422 * Chargeable-User-Identifier, ADSL-Agent-Circuit-Id and
423 ADSL-Agent-Remote-Id should be "octets" types in the default
425 * Fix typo in mainconfig. Fixes #634
426 * More rlm_perl fixes. Fixes #635
427 * Free OpenSSL memory on clean exit.
428 * Fix <attr>[0] !* ANY - Was removing all instances of <attr>
429 * Fix case where multiple attributes were returned from RHS of
430 mapping, as with rlm_ldap. Fixes #652
431 * Fix corner case in cursor where using fr_cursor_next_by_da
432 after calling fr_cursor_remove may of resulted in a read of
433 uninitialised memory.
434 * Don't SEGV if all connections to a database server go away.
436 * Fix issue where <attr> -= <value> was not removing tagged
437 instances of <attr> equal to <value> (only untagged).
438 * Fix issue where tag values were not being set on attributes
439 created with unlang/ldap update blocks.
440 * Create rlm_sqlcounter attributes as integer64 types instead
441 of integer types, so large counter values can be specified.
442 * Fix issue where specifying a dynamic client IP addresss using
443 FreeRADIUS-Client-IPv6-Prefix or FreeRADIUS-Client-IP-Prefix
444 may have caused a validation error.
445 * Don't print two "&" for messages about attribute or list
446 references in debug output.
447 * Fix urlquote and escape to encode Unicode characters correctly.
448 * Fix redundant-load-balance blocks to try other modules in
449 the group if one fails.
450 * Fix issue with rlm_pap password normalisation where
451 'known good' password strings stored in octets type attributes,
452 would be sometimes misnormalised as base64.
453 * Don't stop processing DHCP options if we find a 0x00 padding
455 * Fix issue where modifying the value of an attribute created
456 from a template with a literal value, may have resulted in the
457 template literal being freed.
458 * Fix parenting issues in tls code which may have resulted in
459 memory corruption and crashes.
460 * Fix issue in radsniff where writing to PCAP files and using
461 -R response filters, where the requests would still be written
462 to the PCAP for non matching responses.
463 * Define __APPLE_USE_RFC_2292 so that the server builds with IPv6
465 * Fix LDAP group lookups for named rlm_ldap instances.
466 Note that attribute references should be used when
467 checking LDAP-Group attributes. e.g. if (&LDAP-Group == 'foo').
468 * Delayed attribute references can now be used in unlang
469 existence checks. i.e. if (&Attribute-Name) { ... }
470 * Fix issues in EAP-PWD. CVE-2014-4731, CVE-2014-4732, and
471 CVE-2014-4733. There is no external authentication bypass.
472 * Fix a number of uses of the talloc parent/child reference.
473 * Release connection used for reading bulk clients in rlm_ldap.
474 * rlm_rest is now fail-safe if it's used without any configuration
475 * Pull in build fixes for FreeBSD from ports.
476 * Fix error in sqlite postauth query
477 * Evaluate argument to "switch" statements once, instead of for each
479 * Define sig_t on systems without it. Closes #765.
480 * Fix boundary issue with rlm_rest. Closes #768
481 * Optimize "%{Attribute-Name}" in comparisons only if the dictionary
483 * Don't do chmod() in rad_mkdir() if the directory already exists.
484 We might not have permission to change it.
485 * Use getpwnam_r() and getgrnam_r() on systems which support it.
487 * Clients loaded from SQL are now tied to the "listen" section
488 of a virtual server, instead of being global.
489 * Check for -lpcre. The system might have pcre.h without -lpcre.
490 * When proxying to a virtual server, use the proxy_reply instead
492 * Fixed typos in DHCP SQL IPPool.
493 * Fix crash when passing multiple arguments to Perl xlat.
495 FreeRADIUS 3.0.3 Mon 12 May 2014 15:30:00 EDT urgency=medium
497 * Everything now builds with no warnings from the C compiler,
498 clang static analyzer, or cppcheck.
499 * rlm_ldap now supports defining the LDAP attribute name via
500 backticked expansion (i.e. shell command) in
501 RADIUS <-> LDAP mappings.
502 * rlm_ldap now supports older style generic attributes.
503 * dynamic expansions (e.g. "%{expr:1 + 2}" are now parsed
504 when the server starts. Syntax errors in the strings
505 are caught, and a descriptive error is printed.
506 * Static regular expressions (e.g. /a*b/) are now parsed
507 when the server starts. Syntax errors in the strings
508 are caught, and a descriptive error is printed.
509 * dynamic expansions are cached after being parsed. They are
510 no longer re-parsed at run-time for every request.
511 * regular expressions are now parsed and cached when the server
513 * Added the %{rest:} expansion to rlm_rest, which will send
514 a GET request to the URL passed as the format string.
515 Any body text will be written to the expansion buffer.
516 * rlm_rest now available as a debian package.
517 * When an 'if' condition statically evaluates to true/false,
518 unlang does more static optimization. For examples, see
519 src/tests/keywords/if-skip
520 * All modules are marked as safe for '-C', which lets the
521 dynamic expansion checks work in more situations.
522 * Added 'none' and 'custom' rlm_rest body types. 'custom'
523 allows sending of arbitrary expanded text and content-type
525 * Added "config" section to Perl. See mods-available/perl
526 * Added '%v' which expands to the server version - Patch
528 * more mis-matched casts are caught in "if" conditions,
529 and descriptive errors are printed.
530 * Support basic response validation in radclient. This allows
531 administrators to write local test cases for their
532 site-specific configurations.
533 * Removed radconf2xml and radmin "show client config" and
534 "show home_server config".
535 * Forbid running with vulnerable versions of OpenSSL.
536 See "allow_vulnerable_openssl" in the "security"
537 subsection of "radiusd.conf"
538 * Catch underlying "heartbleed" problem, so that nothing bad
539 happens even when using a vulnerable version of OpenSSL.
540 * Add locking API for sql_null, linelog, and detail modules,
541 which should improve performance and work around issues
542 on platforms with bad file locking.
543 * Allow DHCP NAKs to be delayed, via setting
544 reply:FreeRADIUS-Response-Delay = 1
545 * Allow tag and array references anywhere attributes
546 are allowed in "unlang".
547 * many enhancements to radsniff, including output
548 to collectd, ipv6 support and packet loss statistics.
549 * Many dictionary updates (ZTE, Brocade, Motorola).
550 * rlm_yubikey now automatically splits passwords from OTP
552 * The detail file reader is now threaded by default.
553 This should improve performance reading the files.
556 * Fix xlat expression %{attribute[n]} so that it actually
557 returns the n'th attribute instead of the first one.
558 * Don't parse string on RHS of update {} when using unary
559 operators (!*). The RHS should always be ignored.
560 * Check for more optional functions in json-c so we can
561 Build with libjson0, which is the name of the json-c package
563 * Fix issue in radmin where the main dictionaries would
564 not be loaded which, depending on the configuration, may
565 have caused validation errors.
566 * Fix handling of "%{reply:3GPP-*}"
567 * Fix rlm_perl garbage attributes
568 * Fix oracle SQL queries, which amongst other things still
569 used the old expansion format, which is no longer
571 * Truncate long format strings and error markers instead of
573 * Fix multiple attribute parsing in rlm_rest JSON.
574 * Don't crash in rlm_rest if connect_uri is commented out
575 in the configuration.
576 * Don't double-escape strings to / from Perl. You may need
577 to double-check your Perl scripts if they use "\" characters.
578 See mods-available/perl for documentation.
579 * Don't re-run "authorize" if a home server fails to respond.
580 * Don't append "0x" to hex output of octets types, for xlat
581 expansions. This is the same as v2, and makes it easier
582 to concatenate multiple attributes of type "octets"
583 * FreeBSD fixes for execinfo linking.
584 * Make some of the module configurations more consistent.
585 * Fix corner cases where STDOUT wouldn't be closed in
587 * Re-enable "update coa" and originating CoA requests.
588 * Prevent multiple threads writing to the sql query logs.
589 * Fix zombie period calculation. Closes #579
590 * Properly parent VPs for talloc, when moving them in map2request.
591 * Various fixes for talloc parent / child relationships
592 * Allow rlm_counter to support VSAs.
593 * Normalize return codes for many modules. "do nothing" is noop,
595 * Run Post-Proxy-Type Fail. Closes #576
596 * Fix DHCP destination port for replies to relays. Closes #591
597 * Do-Not-Respond policy works again Closes #593
598 * Proxy-To-Virtual-Server works again. Closes #596
599 * Build fixes for ancient systems. Closes #607, #608, #609.
600 * %{Module-Return-Code} works again. Closes #610.
601 * Don't increment statistics for Status-Server responses.
603 * A duplicate request isn't a duplicate if the original one
604 is marked "done". This should lower retransmissions from
606 * Fix multiple regular expression and glob memory leaks.
607 * Don't allocate any memory in fr_fault() as it can cause malloc
609 * Temporarily set dumpable flag before calling system in fr_fault()
610 else the debugger may not be able to attach.
611 * Set nonblock on all TCP client sockets.
612 * Fix minor buffer overrun in mschapv2 where some attribute strings
613 were not correctly \0 terminated.
614 * Fix crash on authentication failure with MIT kerberos.
615 * Fix code so that octal escape sequences aren't prematurely unescaped
616 in rlm_sql, radclient, preprocess, and other places. This may
617 require configuration changes, as these sequences will no longer
618 need double escaping (\\) of the backslash.
619 * The connection pools no longer have one connection used twice
620 in certain rare conditions.
621 * Use self pipes for internal signals. The code was there, but was
623 * Don't crash if there are outstanding EAP sessions and were told to
625 * Fix typo in dictionary.rfc4072
627 FreeRADIUS 3.0.2 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
629 * secret keys and LDAP / SQL passwords are now printed as
630 '<<< secret >>>' in debugging mode. Use -Xx to see the
632 * Print out more information about passwords in -Xx,
633 including hashes, comparisons, etc.
634 * Allow cast (and implicit conversion) of integers to IPv4 addresses
635 * More xlats allow attribute references. This means they can
636 operate on binary data. e.g. expr, base64, md5, sha1.
638 * The dictionaries are now auto-loaded. raddb/dictionary
639 should no longer have $INCLUDE ${prefix}/share/dictionary
640 * A "panic_action" can be set to have the server dump a gdb
641 log on SEGV or other fatal error. See radiusd.conf
642 * Add support for SHA-224, SHA-256, SHA-384, SHA-512 to rlm_pap.
643 * Add "%{sha256:}" and "%{sha512:}" xlat functions.
644 * Cache CUI in EAP session resumption.
645 * templates can now have sub-sections, which will be included
646 in the section referencing the template.
647 * Update more dictionaries.
648 * Added more instances of the "always" module, for all return
650 * Suppress broken NASes when proxying. Retransmits which occur
651 more than once per second are rate-limited to once per second.
652 * Allow '&' in more xlat expansions.
653 * Update PostgreSQL schema and queries to record last updated
654 time, and accounting interim.
655 * Optimize more "if" conditions when the server loads. This will
656 avoid work at run time. e.g. ("foo" == "bar") --> FALSE.
657 * Allow removal of all attributes within a list with !* operator.
658 * Allow list to list copies with request qualifiers (outer.).
659 * Add support for ipv4 prefixes and ipv6 addresses and prefixes to
661 * allow radmin command "set module status <module> <code>"
662 which can be used to forcibly enable/disable modules.
663 * pap module now assumes Cleartext-Password if Password-With-Header
664 doesn't have a {...} header.
665 * Added "unpack" module. It can unpack binary data from horrible
666 VSA formats. See raddb/mods-available/unpack
667 * Added example IP Pool for DHCP, using sqlite. From Matthew Newton
668 See raddb/mods-config/sql/ippool-dhcp/
672 * Fix operation of fr_strerror() with RE*() macros.
673 * Don't assert if the connection we're trying to reconnect
675 * Fix %{mschap:User-Name} xlat.
676 * Allow comparisons of signed integers and of ethernet addresses.
677 * Fix parsing of text-based ascend binary filters.
678 * Fix a few minor Coverity and clang analyzer issues.
679 * Log WARNING and ERROR prefixes only once, not twice.
680 * Fix attribute truncation seen in Perl and other places.
681 * Use correct port when DHCP relaying.
682 * Fix behaviour on FreeBSD where sending packets from an interface
683 bound to an IP address would fail when the server was built with
685 * Don't abort() when freeing home servers on exit.
686 * Fix edge case in pairmove() when some attributes could be over-
688 * Do checks for individual sqlite v2 functions so rlm_sqlite builds
689 correctly with more versions of the library.
690 * In heimdal kerberos, create MEMORY ccaches on a per context basis.
691 This prevents issues with the root ccache being used.
692 * Fix corner case with proxying, where home server goes down.
693 * Rate-limit "max_requests" complaint. We don't want to fill the
694 logs when something goes wrong.
695 * Use /dev/urandom for raddb/certs/random, if it exists.
696 * Issue WARNING that old-style clients should no longer be used.
697 * Auto-set secret to "radsec" for tcp+tls home servers.
698 * Fix double free in home_server_add when there is a parse error
700 * rlm_unix checks if the dictionaries are broken, instead of crashing
701 * Fix potential memory corruption when normalising salted password
702 hashes from hex, where the combined hash and salt was > 64 bytes.
703 * Register sqlcounter attributes correctly, and other issues with it
704 * treat 127.0.0.1/32 as being identical to 127.0.0.1
705 * Don't mangle error output of SQL drivers like PostgreSQL
706 * Fix usage of "tls = ${tls}". It could previously cause problems
707 when the reference was used multiple times.
708 * Fix TLS session leak for incoming sockets.
709 * Try harder to clean up memory on exit when using "-mM"
710 * Fix memory leak when home server is down for RadSec connections
711 * rate-limit outgoing connection attempts when the home server
712 is down. It will retry no more than once per second.
713 * When parsing ipv6 address prefixes, always mask off the host
715 * Fix rlm_counter so that it does not create two reply
717 * Fix issues with DHCP Sub-TLVs where the value of the first
718 Sub-TLV would appear corrupted, and subsequent TLVs would
719 not appear in debug output.
720 * Initialize scope in IP address parsing
721 * Prevent vendor attributes and RFC space attributes from clashing
723 * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
724 or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
725 determine the source IP.
726 * Fix POST attribute parsing in rlm_rest.
727 * Fix JSON attribute parsing in rlm_rest.
728 * Don't append trailing & to POST options in rlm_rest (minor).
729 * Process HTTP 100 Continue messages correctly in rlm_rest
730 * Fix generation of long > 512 byte POST payloads, where attribute
731 values on the chunk boundary may have been omitted in rlm_rest.
732 * Remove duplicate escape sequence parsing in rlm_sqlippool and
733 rlm_sqlcounter which caused issues with escaping %. Escape
734 sequence parsing is now handled purely by the xlat functions.
735 * Ensure %% is treated as a string literal, and so not passed to any
736 xlat escape functions for processing.
737 * Correct calculation of Message-Authenticator
738 for CoA packets. Closes #556
740 FreeRADIUS 3.0.1 Mon 13 Jan 2014 14:30:00 EDT urgency=medium
742 * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
743 So that run-away child processes are caught earlier.
744 * Allow TLS clients to use "proto = tls", in which case
745 TLS is required. The shared secret is then set to "radsec".
746 * More documentation in the tls virtual server.
747 * Add "date" module for date formatting.
748 See raddb/mods-available/date.
749 * Added unit test suite for internal server functionality
750 * When loading "update" sections, check if the RHS is a literal
751 value. If so, syntax check it immediately.
752 * Update LDAP module documentation and functionality.
753 The generic attribute can now update lists.
754 * Updated dictionary.extreme.
755 * Update sqlippool to do clears as a separate transaction,
756 and at most once per second. This should help MySQL.
757 * Respect control:Response-Packet-Type for all types of
759 * Add support for SSL encryption to the MySQL driver.
760 * Allow arbitrary connection parameters to be used with the
762 * Changes to the OpenLDAP schema to fully expose functionality
763 of the new LDAP module.
764 * Update debian packaging to include a freeradius-config
765 package. This package may be provided as a site local
766 package to avoid fighting with the preinstalled config
770 * Use correct field for ARP setting in DHCP.
771 * Fix crash on debug condition (#454).
772 * Fix a number of minor issues caught by the clang
774 * Set WARNING messages to yellow instead of normal text.
775 * Correct debug colorise logic. Patch from Phil Mayers.
776 * Encode attributes of type "ethernet". No one uses them,
778 * Work around regex initialization issues.
779 * Fix build when linking against OpenSSL.
780 * Print IDs as positive numbers, which helps for large DHCP
782 * Fix issue with sql_ippool.
783 * sqlcounter now uses 64-bit counters, to deal with 4G overflow.
784 * Fix issues with DHCP subsystem.
785 * Don't build / install disabled modules, or their config
787 * Fix build for OSX Mavericks, which hid the header files
789 * Fix LEAP buffer issue. You should still avoid LEAP.
790 * Mark "unknown" WiMAX attributes as being WiMAX.
791 * Fix typo in packet decoder for fragmented extended attrs
793 * Fix rlm_perl build issues when not using threads.
794 * Enable %{Response-Packet-Type} again.
795 * Update configuration file parser to handle "bool"
797 * Update declarations of global boolean variables to use
798 "bool" consistently. This fixes an issue where some
799 modules were instantiated in "config check" mode and
800 did not work correctly.
801 * Make more messages debug instead of info, to avoid
802 polluting the logs with messages that can't be fixed.
803 * Set operator in internal unlang code to suppress spurious
805 * Fix debian packaging.
806 * Added "status" to Debian init script.
807 * Fix "update outer.request" to update the outer request.
808 * Don't print TLS debugging messages when not in debug mode.
809 * Correctly manage counters for "limit" sections of TCP / TLS
811 * Fix libldap debug output.
812 * Fix rlm_ldap tls functionality.
813 * Initialise OpenSSL globals early to avoid issues with the
815 * Fix typo in sqlcounter expansion code. Fixes #463
816 * Overwrite previous instances of SQL-User-Name when adding
818 * Work around bugs in both MIT and heimdal versions of
819 krb5_copy_context(), which caused segfaults in
821 * Provide meaningful error messages if Heimdal krb5 is used.
822 * Fix attribute supression in rlm_detail.
823 * Exit with error code if child fails to complete server
824 initialisation after forking. This allows init scripts to
825 correctly report whether the server started ok.
827 FreeRADIUS 3.0.0 Mon 7 Oct 2013 15:48:14 EDT urgency=medium
829 * Documentation for upgrading from 2.x is in raddb/README.rst
830 Please follow it. It will make the upgrade easier.
831 * Moved configuration entries in radiusd.conf to make more sense.
832 * Added the "integer64" and "ipv4prefix" data types.
833 * Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
834 * Updated internal API to support new attributes and formats
835 * Added code to send SNMP Traps. See raddb/trigger.conf.
836 * Added preliminary support for Apple's Grand Central Dispatch
837 * Added provisions for raddb/dictionary.local, for local changes.
838 See raddb/dictionary for more details.
839 * Added packet/s tracking. See max_pps in the "listen" section.
840 * The %{} expansions and "unlang" conditions are now parsed at server
841 start. Descriptive errors are produced for syntax and format errors.
842 * Casting is now supported for "unlang" comparisons. See "man unlang"
843 e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
844 * Direct comparison of attribute references is now supported.
845 e.g. &Foo == &Bar. This avoids stringification of the attributes.
846 * Direct assignment of attributes is now supported.
847 e.g. Foo := &Bar. It also works for "octets" data types.
848 * Comparisons of IPv4 and IPv6 prefixes are now supported.
849 The "<" operator means "within the prefix" for comparisons.
850 * New sha1 xlat expansion (thanks to Alan Buxey)
851 * Colourised log messages when logging to stdout. Look for yellow
852 warnings and red errors. Doing this will save you a LOT of grief.
853 * If the PCRE library is available, use it (insted of the POSIX
854 functions) to process regular expressions (thanks to Phil Mayers).
855 * -xv now displays all the features the server was built with, and
856 the versions of the core libraries (libtalloc, libssl).
859 * Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
860 following the examples of other projects.
861 * Additional files for each module are now in raddb/mods-config/.
862 See raddb/mods-config/README.rst for documentation.
863 * Moved "users" to raddb/mods-config/files/authorize
864 * Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
865 * Moved eap.conf to mods-available/eap
866 * Moved sql.conf to mods-available/sql
867 * Moved TLS configuration for EAP into a common subsection.
868 See raddb/mods-available/eap, "tls-config" section.
869 * Added for MS-CHAP Change Password from Phil Mayers.
870 See raddb/mods-available/mschap, "passchange" subsection.
871 * Added EAP-PWD implementation from Dan Harkins
872 * Added connection pools for modules. This unifies connection
873 management which was previously different for different modules.
874 * SQL now uses the connection pool. See mods-available/sql
875 * SQL now supports arbitrary Acct-Status-Types.
876 These changes are not compatible with 2.x.
877 * SQL now has full support for SQLite. See raddb/sql/main/sqlite/
878 * SQLite supports auto-creation of new databases on server startup for
879 bootstrapping purposes.
880 * LDAP now uses the connection pool. The LDAP module has been
881 completely re-written for performance and simplicity.
882 * LDAP now caches groups. This makes multiple group checks MUCH
884 * Removed all limitations on 253 octet attributes. RFC 6929 allows
885 for attributes up to 4K in length.
886 * New rlm_idn module providing an expansion for performing IDNA encoding
887 of internationalized domain names. Thanks to 'skids'.
888 * New rlm_yubikey module to validate yubikey OTP tokens.
889 See raddb/modules/yubikey
892 * All known bug fixes from 2.2.x are included.
893 * Removed "addport" functionality.
894 * Removed many unused or duplicate modules. See raddb/README.rst.
896 Internal / API changes:
897 * All traces of the old build system have been removed.
898 The new build system is faster and simpler.
899 * clang is fully supported.
900 * We now use "talloc" for memory management. A number of new
901 features required this change. Thanks to the Samba people!
902 * Many internal APIs have been updated to use talloc.
903 * New API for iterating over VALUE_PAIRs. This is in preparation
904 for attributes, in version 3.1.
905 * No new code should directly modify any field of a VALUE_PAIR.
906 * VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
907 attribute and vendor fields. This will allow nested attributes.
908 * Some protocol specific code has been moved out into proto_* modules.
909 More will come in subsequent versions. See proto_dhcp and proto_vmps.
910 * Standardised internal logging macros. radlog() should not be used.
911 See src/include/log.h
912 * Use OpenSSL hashing functions when available.
913 * The server now builds with no warnings on most platforms.
914 * New RADIUS encoder/decoder, to support new formats.
915 * Added RFC 6929 "extended attributes", via the new encoder/decoder.
916 * Added full WiMAX support, via the new encoder/decoder. The old
917 code could not handle some unusual corner cases.