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