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