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