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