1 FreeRADIUS 3.0.15 Fri 26 May 2017 13:00:00 EDT urgency=medium
5 * don't crash when reading corrupted data from session
6 resumption cache. Fixes #1999.
7 * Parse port in dhcpclient. Fixes #2000.
8 * Updated dictionary.starent
10 FreeRADIUS 3.0.14 Fri 26 May 2017 13:00:00 EDT urgency=medium
12 * Enforce TLS client certificate expiration on
13 session resumption, and Session-Timeout.
15 * Updated dictionary.cisco.vpn3000, dictionary.patton
16 * Added dictionary.dellemc
17 * Lowered the log output for failed PEAP sessions.
18 * ALlow utc in rlm_date. Patch from
20 * The internal OpenSSL session cache has been
21 disabled. Please see mods-available/eap
22 * Update detail reader documentation.
23 Patch from Matthew Newton. Fixes #1973.
24 * Make outgoing RadSec connections non-blocking.
25 * Add SQL backing to Moonshot-*-TargetedId
26 generation. Patch from Stefan Paetow.
29 * radtest uses Cleartext-Password for EAP, not
31 * Update documentation for mods-enabled/ linking.
32 * Enhanced checks for moonshot salt. Fixes #1933.
33 * Allow session resumption for RadSec connections.
35 * Update "huntgroups" file to note that port ranges
37 * Fix OpenSSL permissions issues on default key files.
39 * Certificates are not required when PSK is used.
40 * Allow SubjectAltName as first extension in cert.
42 * Fixed talloc issue with TLS session resumption.
44 * "&Attr-26 := 0x01" now produces useful error messages.
45 * Handle connection error in rlm_ldap_cacheable_groupobj.
47 * Fix endian issues in DHCP.
48 * Multiple minor fixes for Coverity complaints.
49 * Handle unexpected regex. Fixes #1959.
50 * Fix minor issues in dictionaries.
51 * Fix typos and grammar. Patches from Alan Buxey.
52 * Fix erroneous VP creation in rlm_preproces.
53 * Fix MIB. Patch from Jeff Gehlbach.
54 * Trust router updates from Alejandro Perez.
55 * Allow build with LibreSSL. Fixes #1989
56 * Use correct packet for channel bindings. Fixes #1990.
57 * Many fixes found by PVS-Studio. Thanks to PVS-Studio
58 for giving us a test license. Please see the git commit
59 history for more information.
60 * Fix incorrect length check in EAP-PWD. This may
63 FreeRADIUS 3.0.13 Mon 06 Mar 2017 13:00:00 EDT urgency=medium
65 * Add dictionary.rfc7930. Note that we do not implement
67 * Added 'cipher_server_preference' to mods-available/eap
69 * OpenSSL 1.1.0 compatibility fixes.
70 * rlm_perl: radiusd::xlat to evaluate xlat string
72 * Allow authentication retry in winbind. Patch from
73 Herwin Weststrate. See raddb/mods-available/mschap.
74 * Added "recv-coa" method to rlm_rest. It behaves the
76 * Document Trust Router tr_port option. Patch from
78 * Update elasticsearch/logstash examples so that they work
79 with elastic stack v5. Patch from Matthew Newton.
80 * Print information about packets, replies, and contents
81 in the detail file reader.
82 * Update abfab-tr policy. Pull request #1893
84 * Reject packets which contain User-Password and
86 * Add example for filtering Access-Challenge.
87 See sites-enabled/default.
88 * Pull symlink fixes from v4.0.x. Fixes #1859.
89 * Add systemd reload. Not everything is reloaded, but
91 * Better documentation for listen "ipaddr". Fixes #1921
92 * Add dictionary.cnergee, updated dictionary.nomadix.
93 * radclient no longer needs -x to print statistics with -s.
96 * Minor typos. Fixes #1763
97 * Fix typo in RPM build. Closes #1767.
98 * rlm_mschap check for password expiry only
99 if password was correct. Fixes #1762.
100 * Update debian build.
101 * update rlm_counter "man" page. Fixes #1775.
102 * Remove erroneous assert. Fixes #1778.
103 * fix mschap password change test. Fixes #1792.
104 * Cleanup config file on data remove. Fixes #1795.
105 * passwd module returns "notfound" if not found.
106 * Check for old OpenSSL, and don't build rlm_eap_fast
107 if it necessary. Fixes #1803
108 * Cleanup memory better after ldap version query.
109 Patch from Aleksey Katargin.
110 * Rename lt_* functions to avoid linker issues with
112 * Many miscellaneous fixes and typos.
113 * Allow long strings in %{%{foo} bar:-%{baz} blah".
115 * Fix filtering operators, along with more documentation and
117 * Fix OpenSSL fixes. Fixes #1876.
118 * Finish SQL select queries even when SELECT returns no rows.
120 * Set Module-Failure-Message for more EAP errors.
121 * Correct typo in dictionary.rfc5580. Fixes #1882
122 * Remove obselete systemd syslog.target.
123 * Client-Port-Balance load-balancing now uses client port.
124 * Radrelay examples fixed from Alex Clouter.
125 * Update systemd target. Pull request #1896.
126 * Trim starting whitespace in xlat strings.
127 * Get MySQL result lengths using normal API.
128 * suid down after fchown(). Fixes #1914.
129 * Fix cases of comparing pointer to NUL character. Fixes #1915.
130 * OpenSSL v1.1 fixes. Pull request #1921.
131 * Better Handle v4/v6 host names. Pull request #1919.
132 * Remove "Auth-Type = System" from docs and examples.
133 * Don't crash on malformed %{home_server}. Fixes #1922
134 * fix erroneous use of talloc destructor in rlm_eap
135 * Issue trigger modules.sql.fail. Fixes #1923
136 * Document python_path gotcha's. Fixes #1845
137 * dlopen() the specific version of Python. Fixes #1592
139 FreeRADIUS 3.0.12 Thur 29 Sep 2016 13:00:00 EDT urgency=medium
141 * Add support for =~ and !~ in update sections.
143 * Add dictionary.checkpoint.
144 * Simultaneous-Use prints out more information.
145 * Print WARNING in debug mode when packets may be
147 * Added expansions %{home_server:state} and
148 %{home_server_pool:state}, which show the
149 state of the server / pool.
150 * Mark rlm_sql_freetds as stable.
151 * Make rlm_perl less fragile. Patch from
153 * Allow extended attributes to have "encrypt=2"
154 * Update dictionary.aruba.
155 * Add support for EAP-FAST. This is an isolated
156 feature which does not affect anything else.
157 * Update OpenSSL vulnerability list. Use a version
158 of OpenSSL released after September 20, 2016.
159 * EAP certificate verification is now done when
160 "verify" is enabled and "ocsp" is disabled.
161 * New dhcpclient and rlm_rad_counter man pages.
162 * Minor abfab and moonshot additions.
163 * Pass CFLAGS through from environment in RPM builds.
164 Allows more custom builds.
165 * Build with Heimdal in addition to libkrb5.
168 * Use correct typedef for older versions of sqlite.
169 * Update mssql schema to add priority
170 * Don't complain on /dev/urandom in ldap
171 * Fix == operator in update sections
172 * Don't create DHCP strings with many trailing zeros.
173 Patch from Nicolas C. Fixes #1526.
174 * Allow MS-CHAP change passwords instead of complaining
176 * Allow assignment or equality operator on SQL.
177 * Update aclocal tests for FreeBSD 10. Patches from
179 * Remove occasional hang in rlm_linelog.
180 * Copy VSAs to inner tunnel for TTLS and PEAP.
182 * A few minor bugfixes caught in v3.1.x cleanup, and
183 back-ported to v3.0.x.
184 * do_not_respond again works in post-proxy
185 * Allow realm "~^.*$" {} and User-Name with no realm.
186 * Fix leak when creating unknown attributes
187 * Fix Debian / logrotate.
188 * Make OpenSSL error functions thread-safe.
189 * Fix crash with rlm_sql and updating SQL-User-Name.
190 * Debian build updates.
191 * Allow regular expression comparisons in radclient
193 * Fix memory leak on unknown attributes in detail file
195 * Update example paths in "man" pages when installing
197 * Build fixes for rlm_mschap. Fixes #1489.
198 * BSD build fixes. Patch from issue #1583.
199 * Be more careful about /lib/ when building.
201 * Correct ifdef placement error. Fixes #1572.
202 * Allow for more files in internal "exfile" API
203 So it will be possible to open more than 64
204 "detail" files at the same time.
205 * Remove support for statically built EAP modules.
207 * Many fixes to rlm_python from Guillaume Pannatier.
208 * Use correct week adjustment in SQLcounter.
210 * Minor fixes to allow compilation without DHCP,
212 * Fix checks for module / config file change on HUP.
213 * Compile regex comparisons when sent via
214 "debug condition". Fixes #1632.
215 * Update filenames in documentation and examples.
216 Patch from Alan Buxey, #1655.
217 * Don't crash if SQL connection becomes unavailable.
219 * Disallow originate_coa when proxy_requests = no
221 * Free rad_perlconf_hv in correct perl context.
223 * Multiple fixes for Debian builds. #1510, among
225 * Set OpenSSL FIPS compatibility flag when necessary.
226 * Pulled fixes for the build system over from other
228 * Fix OCSP for RADIUS over TLS.
229 * Fix skip_if_ocsp_ok behavior.
230 * Better fixes for systems without closefrom() but
231 which have /proc. Fixes #1757.
232 * Minor build fixes back-ported from v4.0.x.
233 * build --whout-ascend-binary. Fixes #1761.
234 * Be more aggressive about not opening new connections
235 in debug mode after CTRL-C. Address #1604.
237 FreeRADIUS 3.0.11 Mon 25 Jan 2016 14:00:00 EST urgency=medium
239 * "unlang" comparisons of IP addresses to IP prefixes
240 are now detected, and types automatically cast.
241 * Allow shorthand form of ipv4prefix values e.g. 127/8.
242 * Add "auto_chain" to raddb/mods-available/eap, tls
243 subsection. This allows the disabling of OpenSSL
244 auto-chaining of certificates. Which might be wrong.
245 * Added printing of coa and disconnect stats (radmin).
246 * radclient defaults to expecting Access-Accept responses
248 * Updated dictionary.lancom, dictionary.starent.
249 * Portability fixes for Solaris.
250 * More errors from ntlm_auth gets passed to MS-CHAP.
251 * Update abfab-tr-idp virtual server.
252 * Added "filter_password" in policy.d/filter. This
253 removes embedded zero bytes in User-Password, for
254 compatibility with broken clients.
255 * The server now issues a WARNING message if duplicate
256 configuration items are found.
257 * TLS can skip the "verify" section if OCSP returns OK.
258 See raddb/mods-available/eap, "skip_if_ocsp_ok".
259 * Set TLS-OCSP-Cert-Valid = yes / no / skipped, which
260 is the result from the OCSP check.
261 * Interoperate with AD and "LmCompatibiltyLevel = 5",
262 by always setting WBC_MSV1_0_ALLOW_MSVCHAPV2 for
263 native winbind in rlm_mschap.
264 * TTLS and PEAP now require "virtual_server" to be a real server.
265 * Print WARNING when TTLS or PEAP identities are spoofed
266 or not properly anonymized. See RFC 7542 for requirements.
267 * Various rlm_python fixes from Herwin Weststrate.
268 * Allow setting Response-Packet-Type in "Post-Proxy-Type Fail",
269 which is useful when the home server does not respond.
270 * elasticsearch updates from Matthew Newton
273 * Fix issue where field nas_type would not be accessible via
274 the %{client:} xlat, for clients loaded from SQL.
275 * Fix compatiblity issues with OpenSSL 1.0.2. Ignore
276 calls to msg_callback with 'pseudo' content types.
277 * Data type "ipv4prefix" is parsed correctly.
278 * Use correct talloc context in rlm_exec. Fixes #1338.
279 * Complain in unlang if "else" is used with no previous
281 * Send accounting status packets to the accounting port.
283 * Print out CFLAGS when doing "radiusd -Xxv"
284 * Fixed bug with coa/acct stats value #1339. Based on patch from
286 * Fixes for LEAP proxying. Don't use LEAP!
287 * Fix issue with "directory already exists" seen when doing
289 * Fixed bug with radmin related to the option "stats detail <filename>"
290 * Complain if the detail file reader does not have permission
291 to read the "detail.work" file. Fixes #1398
292 * Fixed SoH. Attributes were not being copied to the virtual server.
293 * Used a wrong list to global statistics in "stats".
294 * Create EAP-PWD identity correctly. Prevents segfaults.
295 * Dynamically validate authentication types for PEAP and EAP-MSCHAPv2.
296 * Fix includes in installed headers.
297 * OpenSSL 1.0.1f and 1.0.1g do NOT calculate TLS 1.2 keys correctly.
298 See raddb/mods-available/eap, "disable_tlsv1_2"
299 * Allow password change to work for MS-CHAP. This requires 'r=0',
300 because password changes are not retries.
301 * Fix home server fail-over for home servers using TCP and/or RadSec.
302 * Special characters in expanded regexes are now escaped
303 e.g. User-Name containing '.', and comparing /%{User-Name}/,
304 the '.' will now be escaped. See src/tests/keywords/regex-escape.
305 * Use correct authentication vector when sending Access-Reject replies
307 * Set FreeRADIUS-Proxied-To in TTLS again. You should use the
308 "inner-tunnel" virtual server, instead of relying on this attribute.
309 * Fix debugging constants in rlm_perl. Patch from Herwin Weststrate.
310 * Add samba-dev / samba4-dev to debian builds so that rlm_mschap can
311 automatically use the new winbind API.
312 * Automatically skip zero-length attributes when sending packets,
313 instead of erroring out.
315 FreeRADIUS 3.0.10 Mon 05 Oct 2015 15:00:00 EDT urgency=medium
317 * Do more optimization of unlang policies. This makes
318 run-time a bit faster.
319 * Re-name most of the functions in src/lib. Third-party
320 module authors will have to do the same.
321 * More documentation on contributing and how to write
323 * Update radiusd.service for systemd.
324 * Open IPv6 proxy socket if the server is listening on IPV6
325 auth / acct / coa packets.
326 * Create debian packages for DHCP. Fixes #1125.
327 * Add more tests for "update" section parsing.
328 * Update "man" pages.
329 * Update attributes for Alcatel 7750
330 * Add dictionary for Boingo Wi-Fi
331 * Add support for DHCP lease queries.
332 See raddb/sites-available/dhcp
333 * On HUP, check all modules for config files which have
334 changed. And only re-load those modules.
335 * Allow FreeRADIUS-Response-Delay(-USec) to be set for
336 RADIUS packets. Patch from Herwin Weststrate.
337 * Documentation fixes from Alan Buxey and Matthew Newton.
338 * Update "logrotate" script.
339 * Added more RFCs to doc/rfc for new standards implemented
341 * Don't crash when doing "radmin -e "help hup".
342 Patch from Matthew Newton.
343 * The dictionary parser now does more sanity checks, which
344 prevents run-time problems with invalid attributes.
345 * Update debian packages. Patches from Christopher Hoskin.
346 * Many other debian packaging fixes from Matthew Netwon
347 and Herwin Weststrate.
348 * Add "session-state" to Perl. Patch from Herwin Weststrate.
351 * Fix rlm_files so that there are no collisions when loading
352 10's of 1000's of users.
353 * Fix radclient to use our internal v4/v6 parsing functions.
354 v6 addresses with ports now work correctly.
355 * Fix sending/receiving packet messages to wrap v6 addresses
356 in square brackets '[]'.
357 * Check for sasl/sasl.h when building rlm_ldap, and disable
358 SASL functionality if unavailable.
359 * Fix issue which caused a non \0 terminated buffer to be
360 assigned to attributes if the value being assigned contained
361 an invalid escape sequence.
362 * Fix deadlock when reconnecting connections in the connection
364 * Fix potential overrun in functions that used fr_utf8_char
365 with a non nul terminated buffer.
366 * Fix decoding issue for Tunnel-Password type attributes
367 which were very long. Found by Denis Andzakovic.
368 * Fix radclient issue with TCP sockets on FreeBSD.
369 * The server now creates ${run_dir} and ${logdir} directories
370 in daemon mode, when running as "root".
371 * Handle tags when using maps. Fixes #1191.
372 * Fix crash when CoA packets time out.
373 * Fix parse error in rediswho
374 * Fix regex support in SQL radcheck the "users" file and radsniff.
375 * Register listen xlat earlier, so that it's available when the
376 virtual servers are being parsed.
377 * Parse Ascend-Data-Filter when given as "0x..."
378 * Print Ascend-Data-Filter correctly. Add test cases for both.
379 * Allow old-style clients again. They will be disallowed for
381 * Complain instead of crash when "else" and "elsif" are in
383 * Clean up memory more aggressively. This lowers the
384 maximum memory used, most typically for TLS based EAP methods.
385 * Prevent the server from unlinking the control socket of an
386 already running instance.
387 * Fallback to using the configured OCSP URL if one exists, and
388 no URL is provided in the certificate.
389 * Return CoA-NAK if proxying CoA fails. Based on patch from
391 * Lower peak memory usage by decreasing size of internal
393 * The control socket is now left in place if a second copy
394 of the server is accidentally started.
395 * Allow virtual attributes in "switch", "case", etc.
396 Fixes #1240 and #1265.
397 * Many spell check / typo fixes in comments and example
399 * Better handle multiple DHCP listeners.
400 * Don't print secrets for old-style realms. Fixes #1267.
401 * Don't fall through in empty "case" statements.
403 * Update EAP-TTLS so that MPPE keys are correctly calculated with TLSv1.2.
404 * Always delete MS-MPPE-* from the TTLS inner tunnel. This allows
405 TTLS / EAP-MSCHAPv2 to work. Fixes #1206.
406 * Fix off by one error that caused some MSCHAP-Error messages to
407 be sent without the password change version (V=3) and the textual
408 message component (M=).
409 * Always include C= V= and M= in MSCHAPv2 errors. RFC 2759 does not say
410 that any of these fields are optional, and not including V= caused
411 errors with wpa_supplicant.
412 * Do not include M= in MSCHAPv1 errors. It's not supported.
414 FreeRADIUS 3.0.9 Wed 08 Jul 2015 12:00:00 EDT urgency=medium
416 * Make "pool" configurations more consistent, and
417 update documentation for them.
418 * Move connection pool logic to "most recently started",
419 instead of MRU. This should help with pool stability.
420 * More VSAs for 3GPP2
421 * Added examples of multi-value attributes to rlm_perl.
422 * LDAP-Group and SQL-Group attributes are now dynamically
424 * Only the "sql" module registers SQL-Group. Other instances
425 register "instance-name-SQL-Group", similarly to "ldap".
426 * Unknown attributes are now complained about more often
427 when used in unlang statements. e.g. if (Foo-Bar == 3)
428 used to be a string to string comparison. It is now a
430 * Rename RLM_COMPONENT_* to MOD_* in the code.
431 This makes many things easier.
432 * Move to C99 initializers for modules.
433 * Load modules in raddb/mods-enabled. This allows attributes
434 like "LDAP-Group" to be used in the "files" module,
435 without explicit ordering or listing in "instantiate".
436 * Added 'bootstrap' section to modules. Third-party modules
437 will need to be updated.
438 * When adding clients from a DB, add them to a virtual server
439 if that virtual server has a "listen" section. Otherwise,
440 add the clients to the global list.
441 * When reading dynamic clients from a file, don't expire them
442 if the underlying file is unchanged.
443 * Allow the server to originate CoA requests from the post-auth
445 * The server creates ${run_dir} and ${logdir} in daemon mode,
446 if they do not already exist.
447 * Add dictionary for Wi-Fi Alliance Hotspot 2.0. The server
448 now supports all mandatory and optional attributes for this
450 * HUP now re-loads the configuration only if the files have
451 changed. If all files are unchanged, HUP re-opens the
452 log file, and does nothing else.
453 * Much better debug messages for EAP-TLS, including which
454 attributes are cached, and when they are retrieved.
455 * Increase default max_requests to 16384. Memory is cheap now.
456 * Added "stats memory" commands to radmin. Debug build only.
457 * Aptilo controller dictionary updates.
458 * SQL modules now use Acct-Unique-Session-Id everywhere.
459 * The redis modules are now stable.
460 * The LDAP module now supports SASL "interactive bind" method.
461 This allows Kerberos based administrator and user binds.
462 * DHCP code is now in libfreeradius-dhcp.
463 * More DHCP encoding / decoding unit tests.
464 * rlm_replicate can now be listed in the "accounting" section.
465 * Better sqlite debugging output.
466 * Remove "required" option from many sql_ippool directives.
467 * Set default CA "basic constraints" to "critical". Fixes #1073
468 * Updates to help / man pages from Jorge Pereira.
472 * Be more careful about unused config item warnings
474 * Move more defines to be auto-generated.
475 * Allow virtual servers in proxy fallback.
476 * Allow %{module:} to work.
477 * Don't crash in RadSec. Closes #980.
478 * Return better errors when a unix group / user
480 * Re-enable detail module "locking" parameter.
481 * Don't crash when logging replies from Status-Server packets.
482 * The couchbase module now uses "update" instead of "map",
483 for consistent with the rest of the server. See
484 raddb/mods-available/couchbase
485 * Don't require NT-Password for MS-CHAP password changes.
486 * Be a bit more careful about decrypting MS-CHAP-MPPE-Key
487 attributes. Closes #1013. There is no perfect fix, tho.
488 * Fix security issues with EAP-PWD.
489 See http://freeradius.org/security.html#eap-pwd-2015
490 * Fix dynamic clients read from SQL in non-debug mode
491 * MS-CHAP now allows retries (i.e. password change) when
492 passwords are expired.
493 * Allow "user=radiusd" when the server is already user
495 * suid up/down works on non-Linux systems. This means
496 that the control socket should have the correct
498 * Fix issue which caused the server to sometimes have problems
499 when a home server was marked zombie.
500 * Fix format.pl because Perl is now more picky.
501 * Fix proxy to Packet-Dst-IP-Address, so that it uses the
502 correct destination port.
503 * Fix corner case with cursor functions and removal.
504 * OpenDirectory fixes and documentation.
505 * Fix leaks in rlm_redis.
506 * RFC 6929 "evs" attributes are now encoded / decoded
508 * Fix talloc pool leaks when receiving malformed or
509 retransmitted Accounting/CoA requests.
510 * Printed attributes again use double quotes instead of
512 * Set X509_V_FLAG_CRL_CHECK_ALL, and add "check_all_crl"
513 to eap.conf. Fixes oCert CVE-2015-4680.
514 * rlm_expr now errors out correctly on malformed attribute
515 references instead of triggering an assert.
516 * Make "break" work in "foreach" loops
517 * Allow dynamic expansions to work again in the "hints" file.
518 * Correct minor typos in comments and examples from Alan Buxy.
519 * Re-urlencode the path portion of ldapi:// urls before
520 passing it to ldap_initialise.
522 FreeRADIUS 3.0.8 Wed 22 Apr 2015 13:30:00 EDT urgency=medium
524 * Allow syslog_severity to be set in rlm_linelog.
525 * Allow defaults to be set for bulk clients in LDAP and couchbase.
526 * Updates to dhcpclient. Patches from Nicolas C.
527 * rlm_mschap now supports direct connections to winbind, which
528 is faster than ntlm_auth. See raddb/mods-available/mschap.
529 Patch from Matthew Newton.
530 * Recommend /dev/urandom for TLS randomness, instead of
532 * Allow TLSv1 to be disabled via "disable_tlsv1" in tls{}.
533 * Allow Expanded EAP types where vendor is 0 (IETF) and
534 type is normal EAP type. Supplicants sending Expanded
535 EAP types like this are broken.
536 * Add support for server side sort controls when searching for
537 user objects in rlm_ldap.
540 * Don't complain about "authorize" in "server {}" blocks, but
541 only if there's no "server" block.
542 * Fix cosmetic issue where debug from the first packet read by
543 a detail reader thread would be emited during config parsing.
544 * Fix ASSERT on truncated detail packets.
545 * Don't use main server log functions from within panic_action,
546 as in the case of syslog this would cause deadlocks if the
547 fault was triggered from within a malloc.
548 * Fix issue in "switch" when "correct_escapes = false".
550 * Fix sqlcounter configuration to use "%%b" instead of "%b",
551 otherwise the new syntax validation will fail.
552 * Allow forward references in configuration items. Modules
553 aren't always loaded in a sane order.
554 * Fix more escaping issues. Closes #912.
555 * Decode MAC addresses correctly for VMPS.
556 * Fix memory leak with TLS connections.
557 * Fix state machine threading issues for conflicting packets.
558 * Fix copy_request_to_tunnel issues for tagged attributes.
559 * Allow "ok" to over-ride "updated" inside of Auth-Type sections.
560 * Update state machine so that post-proxy is run though child
561 threads for performance, instead of blocking the main thread.
562 * Allow "netmask" to work again in client definitions.
563 * Relax restrictions on SQL group queries.
564 * track outgoing proxy sockets and clean them up more aggressively.
565 * track proxy statistics, including CoA and Disconnect.
566 * If radmin has a connection failure when running a command,
567 it re-connects and runs the command again.
568 * mark home servers "unknown" less aggressively.
569 * Fix potential SEGV in PostgreSQL driver on error.
570 * Fix issue where fields like nas_type would not be accessible via
571 the %{client:} xlat, for dynamic clients.
572 * Set default busy_timeout (of 200ms) in the sqlite driver, so writes
573 don't cause selects to fail in multithreaded mode. This is user
574 configurable, and may be increased if required.
575 * Convert Password-With-Header attributes to binary (from hex or
576 base64), in the authorize method of rlm_pap.
577 * Fix invalid assert in state.c, that could cause abort in
579 * Fix double free when -m flag is used, and connection pools are
580 referenced by multiple modules.
581 * RADIUS over TLS accounting uses the same port as authentication.
582 * Regularized return codes from radmin commands.
583 * Fix RHEL spec file so it works correctly for Centos7 which uses
584 systemd, and didn't like the SystemV init script.
585 * radwho and radlast now have a -D option to load dictionaries
586 * DHCP packets are no longer checked for duplicates.
587 * Don't crash in sql module group comparisons in corner case.
588 * Calculate MPPE keys correctly when using TLS 1.2.
589 * Fix load-balance sections. Closes #945
590 * TLS certificates are available again in the post-auth section.
591 They are not available for session resumption.
592 * radclient encodes CHAP-Password properly when using -c.
594 * Fix issue in rlm_cache_memcached driver that caused variable
595 length values to be truncated.
596 * Fix track functionality in detail reader, so it no longer
597 fails with a "Failed marking detail request as done: Bad file
599 * Actually add the peer identity (as User-Name) to the inner
600 tunnel in EAP-PWD requests, so it's available for lookups.
601 * Fixes to PostgreSQL queries. Patches from Santiago Gimeno.
603 FreeRADIUS 3.0.7 Thu 19 Feb 2015 12:00:00 EDT urgency=medium
605 * Allow coa home_servers to be derived from client
606 sections if a coa_server section is provided.
607 * Automatically determine the correct port if no port is
608 provided for a home server.
609 * Allow foreach to operate over lists.
610 * Add compile time features to ${feature.*} and versions
611 of core libraries to ${version.*}. Feature and version
612 names match output of radiud -xv. %v is now deprecated.
613 * Add support for PATCH method in rlm_rest.
614 * Validate more module xlats on startup, and warn if an
615 xlat expansion is found in a double quoted config item
616 which will not be expanded.
617 * Add support for sub-second timeouts in rlm_rest.
618 * Add support for connection timeouts in rlm_rest.
619 * Add %{jsonquote:<str>} xlat to escape strings for insertion
621 * Add %{ldapquote:<str>} xlat to escape strings for insertion
623 * Add %{explode:&ref <char>}, splits value of &ref on
624 <char> and creates new &ref type attributes with the
626 * Allow rlm_ldap to use attribute references for base_dn and
627 filter config items. The attribute references are not
628 escaped, allowing DNs and filters to be created dynamically.
629 * Add %{nexttime:[<int>]h|d|w|y} to calculate the number of
630 seconds before the next <int> hour(s), day(s), week(s),
632 * Allow the left side of update sections to be xlat expansions.
633 The result of the expansion is then used to reference the
634 attribute to be modified.
635 * Added %{lpad:&Attribute-Name 7 x} and rpad. These produce
636 fixed-width output strings, with padding to the left (lpad)
638 * For some SQL drivers (MySQL, sqlite) distinguish between
639 constraints violations (on insert), invalid queries, and
640 server errors, and return noop, invalid, and error respectively.
641 * Call SHOW WARNINGS in the MySQL driver and write them to
642 the request log, if libmysqlclient indicates warnings are
643 available on the server.
644 * Forbid the creation of Vendor-Specific for non-standard
645 VSAs. Use Attr-26 = 0x... instead.
646 * Make dhcpclient work with raw sockets and various other
647 improvements - Contributed by nchaigne
648 * Add support for SSHA2 - Contributed by PDD.
649 * Add perle dictionary - Contributed by Hachmer
650 * Modernise init scripts for RHEL, SUSE and Debian.
651 * radmin now tracks the return code of commands, and exits
652 with status "1" if any command failed to execute.
653 * radmin now sends error messages from the server to
654 stderr, instead of to stdout.
655 * radmin now looks for sockets matching it's UID and GID,
656 rather than just always using the first one it finds.
657 * radmin can how delete clients which are tied to a listener.
658 * Moved RADIUS attribute definitions to src/include/rfc*.h
659 * Move to talloc pools for requests. For in-memory tests
660 (default config, 'users' file), performance increases by 30%.
661 * In rlm_ldap allow sasl_mech to be specified for admin and
662 user binds. Only non-interactive mechs (like EXTERNAL)
663 are currently supported.
664 * Remove support for ephemeral RSA keys. They were "export only",
665 and should not be used by anyone.
666 * Syntax errors in the "users" file now produce better
670 * Fix issues parsing LDAP hostnames with non-standard ports.
671 * Fix issues with realms containing regular expressions.
672 * Allow unary negation before parantheses in rlm_expr.
673 * Fix infinite loop in kevent event loop code. Issue only
674 presented on FreeBSD.
675 * Be more careful to define Auth-Types before loading modules.
676 * Link libfreeradius-radius against OpenSSL too, to avoid
677 multi-version symbols in SSL libraries.
678 * When rlm_ldap rebinds a connection, it should use bind
679 credentials from the module that created the connection
680 pool, not credentials from the module referencing it.
681 * Empty server config pairs should be allowed in rlm_ldap
682 instances that reference another module's connection pool.
683 * Mark rlm_always as huppable, so its rcode can be changed
684 via radmin (allows policy toggles).
685 * Emit warnings when ignoring user configured pool values.
686 * Fix issue that would cause radclient to complain
687 intermittently about differing numbers of filters and
689 * Fix cosmetic issues in connection pool logging, that made
690 it appear as if the same connection was being opened
692 * Fix threadsafety issues in SQL drivers, where a static
693 buffer was used to store error messages.
694 * Log RERROR, RWARN, RINFO to the global log if request
695 logging is not enabled.
696 * Link to libldap instead of libldap_r. libldap_r
697 is not supported for use by projects outside of OpenLDAP.
698 * Set connection timeout correctly in rlm_sql_mysql.
699 * Build with older versions of libcurl, and use CFLAGS from
701 * Honour Packet-Src-Port and Packet-Src-IP-address in radclient.
702 * Initialise ldapai_info_version field, so libldap will report
703 its vendor and version.
704 * Fix log rotation scripts by using the copyrotate option.
705 * Fix issue that caused opening control sockets to always
706 fail on non-Linux systems, if a user or group was set.
707 * Save Session-State after proxying.
708 * Additional fixes for reading CoA/DM requests from detail
710 * Create dynamic clients if the dynamic clients virtual server
711 returns ok *or* updated. Emit useful messages for other codes.
712 * Compile bare "authorize" statements, and issue errors saying
713 using them isn't a good idea.
715 FreeRADIUS 3.0.6 Wed 17 Dec 2014 16:00:00 EDT urgency=medium
717 * radmin / raddebug conditional errors are printed
718 to the output, instead of being discarded.
719 * raddebug will exit if condition set with -c was invalid.
720 * radmin auto-reconnects if the connection to the server
722 * rlm_cache now has submodule support. See
723 raddb/mods-available/cache
724 * New memcached driver for rlm_cache. See
725 raddb/mods-available/cache
726 * Add support for &Attribute-Name[*] in conditions.
727 See "man unlang" for details.
728 * Add &Attribute-Name[n] which gets the last instance
729 of an attribute e.g. Module-Failure-Message[n].
730 * Allow for redundant string expansions. See the
731 "instantiate" section of radiusd.conf.
732 * When checking IP addresses in conditions, make the
733 right side be parsed as an IP prefix.
734 * Support JIT compilation of compiled regular expressions
735 when built with libpcre.
736 * Support named capture groups with "%{regex:<name>}"
737 when built with libpcre.
738 * Increase regular expression capture groups from 8 to 32.
739 * Emit error markers for badly formed regular expressions.
740 * Allow 'm' flag to enable multiline mode in regular
742 * Support limited implicit attribute conversion in update
744 * Support casting between IPv6 and IPv4 where the IPv6
745 address has the v4/v6 mapping prefix (::ffff:).
748 * PEAP works again. As does proxying EAP-MSCHAPv2
749 from inside of a PEAP tunnel.
750 * "group" is allowed inside of "instantiate" sections.
751 * update disconnect {} with
752 disconnect:Packet-Dst-IP-Address now works correctly.
753 * Regular expression comparisons of non string attributes
754 are now disallowed in the files module. Previously
755 they would silently fail or produce undefined behaviour.
756 * Fix parsing of old regular expressions. Closes #842
757 * Fix off by one error in ascend filters. Closes #843.
758 * Handle NT-Hash in rlm_pap. This allows passwords to
759 have backslashes in them.
760 * Fix infinite loop on "Fall-Through = yes" when
761 processing SQL groups.
762 * Correct the check of SQL query return code.
763 * Run "Post-Auth-Type Reject" if the request was rejected
765 * Write "Login OK" only if the post-auth section passed.
766 * Create TLS-Cert-* certificates, even when EAP session
768 * Finalize the "correct_escapes" with many more tests.
769 * Move to the new OpenLDAP libldap API, fixes more issues
771 * Fix potential memory corruption in rlm_ldap if start
772 connections were set to 0, and the server was running
773 in threaded mode. The fix is a workaround for an issue
774 in libldap and was suggested by Howard Chu.
775 * Give parse errors on "%{...", without the closing brace.
776 * Allow spaces in certificate passwords for build rules
778 * Make all regular expression evaluation binary safe.
779 Where that's not possible, emit an error if the pattern
780 or subject contains an embedded null byte.
781 * Fix various issues around masking IPv6 addresses.
782 * Give descriptive error if unknown attributes are used
783 in "update" sections.
784 * Deal with cases where ldap_initialize isn't available
785 gracefully, and use it exclusively when it's available.
787 FreeRADIUS 3.0.5 Fri 21 Nov 2014 15:30:00 EDT urgency=medium
789 * Large update to Huawei dictionary.
790 * Added dictionary.rfc7155
791 * Regular expressions like /%{User-Name}/ are now parsed
792 and validated when the server starts.
793 * All configuration items which are dynamically expanded
794 are now parsed and validated when the server starts.
795 * %{expr:...} expressions can now do bit shifting and more.
796 See raddb/mods-available/expr.
797 * The detail file reader can now track packets which have
798 had replies, so they are never re-transmitted. See
799 raddb/sites-available/buffered-sql, the "track" config item.
800 * CoA and Disconnect packets can now be sent to a specific
801 home server by setting control:Packet-Dst-IP-Address and
802 (optionally) control:Packet-Dst-Port.
803 * Allow CoA and Disconnect packets to be read from the
805 * Allow LDAP to specify arbitrary attributes for dynamic
807 * Convert all unused attributes in the control: list to config
808 pairs in dynamic clients. This allows arbitrary client
809 attributes to be set for dynamic clients too.
810 * rlm_couchbase now supports bulk loading of clients on startup
811 in a similar way to rlm_ldap. Contributed by Aaron Hurt.
812 * Allow one level of backslashes (finally). See radiusd.conf,
813 "correct_escapes" setting.
814 * Rename dictionary.redback to dictionary.ericsson.ab
815 * Add --disable-openssl-version-check option to configure.
816 So vendors can disable the check. Patch from
818 * Do context-specific indenting in debug messages. This makes
819 the debug output easier to read.
820 * Make configuration a separate RPM, just like for Debian.
821 * better decoding of unknown VSAs
822 * When supported by OpenSSL, allow TLS 1.1 and TLS 1.2
824 * Allow multiple new connections to be spawned simultaneously
825 in the connection pool, to cope with spikes in traffic.
826 * Document retry_delay in connection pools.
827 * Allow checksimul in rlm_couchbase.
828 * Use kqueue on systems which support it. This allows for
829 better scaling when using many sockets.
832 * Parse list qualifiers in generic LDAP 'valuepair_attribute'
833 attributes correctly.
834 * Fix issue where prefix length would be ignored for dynamic
835 or static clients if the address matched INADDR_ANY
837 * Allow null user object filter in rlm_ldap, it's valid to
838 specify a complete object DN and use the base scope.
839 * Don't SEGV if a received attribute value in a JSON structure
840 is null, or a value can't be stringified.
841 * Don't assert if the server returns a JSON content-type and
842 the server hasn't been built with support for JSON.
844 * Set CURLOPT_NOSIGNAL to prevent curl from handling signals
845 and causing a longjmp error when the server was running with
847 * Allow tabs after attribute names in the "users" file.
849 * Free unknown DICT_ATTRs. Closes #795
850 * Handle unknown attributes in the conditions and "update"
851 sections. e.g. Attr-1.2.3.4 = foo.
852 * Use correct array size for MS-CHAP new password.
853 * In rlm_rest, check for older versions of libraries at start
854 time, rather than when a packet comes in.
855 * Don't call detach on parse error in rlm_perl. Closes #802.
856 * Integer fixes for big-endian systems. Closes #803.
857 * Don't optimize %{Packet-Src-IP-Address}. Closes #804.
858 * dhcpclient loads dictionaries correclty. Closes #805.
859 * double quotes are no longer escaped in single-quoted
860 strings. e.g. 'foo "hello" bar'.
861 * Fixes for proxying to virtual servers broke the detail file
862 reader. Now they both work.
863 * Typos and fixes from Nikolai Kondrashov.
864 * Fixes to OpenSSL version checks, for cross-platform issues.
865 * cppcheck fixes from Herwin Weststrate.
866 * Fix build for OSX Yosemite
867 * Merge DHCP sub-options. Closes #812.
868 * Fix decoding of Starent attributes.
869 * When a module asks for a connection, don't return idle
871 * LDAP connection timeouts will now retry, instead of failing.
872 * Prevent race conditions between fork and wait for child.
873 Patch from James Rouzier.
874 * Fix triggers for connection pools. Patches from
876 * Fix SEGV when comparing non string type check items.
877 * Build with newer versions of libmysqlclient.
878 * make the %{escape:} and %{unescape:} xlat functions UTF8
880 * Don't escape UTF8 chars in SQL query strings.
881 * Fix issue in cached LDAP group comparisons, which caused
882 checks to sometimes fail.
883 * Fix use after free issue in unlang switch evaluation.
884 * Respect operators in rlm_cache when merging into the current
886 * Update Cache-Entry-Hits each time rlm_cache is called.
887 * Produce WARN messages if SQL queries are empty strings.
888 * Fix invalid assertion when proxying CoA requests.
889 * Allow empty strings in "case" statements. Closes #836.
890 * Normalize escaping for string expansions. i.e. don't do
891 double escaping in rare situations.
892 * Normalize LDAP escaping. LDAP servers have multiple ways
893 to escape things, so the data has to be normalized before
894 we can compare two LDAP DNs.
895 * Don't go to high debug level if we're proxying inner EAP
897 * Fix rlm_rest state handling. Closes #835.
899 FreeRADIUS 3.0.4 Wed 10 Sep 2014 12:00:00 EDT urgency=medium
901 * Home server "response_window" can now take fractions of a
902 second. See proxy.conf.
903 * radmin now supports "show module status", as thee counterpart
904 to "set module status"
905 * Added dictionary ericsson.packet.ccore.networks, bluecoat,
906 citrix, compatible, riverbed, ruckus, and RFC 7268.
907 * Add %{tag:} expansion to get the tag value of an attribute.
908 * Report 'application_name' in connections to PostgreSQL servers.
909 FreeRADIUS connections will now appear as
910 'FreeRADIUS <version> - <name>' in pg_stat_activity.
911 * All config item fields are now type checked at compile time
912 to prevent issues similar to #634 occuring again.
913 * Modify pairparsevalue to deal with embedded NULLs better,
914 and use the binary versions of attribute values in rlm_ldap.
915 * "ipaddr" will now use v6 if no v4 address is present. You should
916 use "ipv4addr" or "ipv6addr" to force v4/v6 addresses.
917 * The above applies to "listen", "home_server", and "client" sections.
918 * "client" sections will allow "ipaddr = 192.192.0/24". The old
919 "netmask" is still accepted, but the new format is preferred.
920 * Allow custom HTTP headers to be set for rlm_rest requests using
921 control:REST-HTTP-Header (attributes consumed after use).
922 * Extend format of %{rest:} expansion to allow HTTP method and POST
924 e.g. %{rest:POST http://example.org/api foo=bar&baz=boink}.
925 * Add %{hmacsha1:&data &key} and %{hmacmd5:&data &key} expansions
926 for signing data in requests.
927 * rlm_cache now consumes its control attributes to make runtime
928 configuration easier.
929 * Add control:Cache-Read-Only which when set to 'yes' will make the
930 cache module merge existing cache data, but not create new entries.
931 * Add %{unescape:} and %{urlunquote:} expansions to reverse escaping
933 * Add support for aliases in rlm_ldap.
934 * Add support for connection pool sharing to all modules that use
935 the connection pool (pool = <instance>).
936 * "tls" sections now have a "psk_query" configuration item, for dynamic
937 queries to discover a key from a PSK identity.
938 * Preliminary support for EAP channel bindings.
939 * Foundational work for dynamic home servers. They do not yet work,
940 but this is now only a matter of updating the "realm" module in
942 * Support &attr[*] syntax to copy all instances of an attribute when
943 used with the += operator in an update section. May be qualified with
945 * The logintime and expiration modules can now be listed in the
946 post-auth section. This makes some configurations simpler.
947 * Allow comparison of integer attributes of different sizes,
948 without requiring a cast.
949 * rlm_sqlippool is now IPV6 capable. Set "ipv6 = yes" to get
950 Framed-IPv6-Prefix returned. The SQL queries have NOT been updated.
951 Please submit patches.
952 * The debian build now checks for the OpenSSL package with the heartbleed
953 fix, and if found, sets: allow_vulnerable_openssl = 'CVE-2014-0160'
954 * allow bootstrap from multiple files in sqlite driver.
957 * make case-insensitive regular expressions work again, and add tests
959 * A few more talloc parenting issues
960 * Fix delayed proxy reply handling. Closes #637
961 * Fix OpenSSL initialization order when using
962 RADIUS/TLS. Fixes #646
963 * Don't double-quote strings in debugging messages
964 * Fix foreach / break. Fixes #639
965 * Chargeable-User-Identifier, ADSL-Agent-Circuit-Id and
966 ADSL-Agent-Remote-Id should be "octets" types in the default
968 * Fix typo in mainconfig. Fixes #634
969 * More rlm_perl fixes. Fixes #635
970 * Free OpenSSL memory on clean exit.
971 * Fix <attr>[0] !* ANY - Was removing all instances of <attr>
972 * Fix case where multiple attributes were returned from RHS of
973 mapping, as with rlm_ldap. Fixes #652
974 * Fix corner case in cursor where using fr_cursor_next_by_da
975 after calling fr_cursor_remove may of resulted in a read of
976 uninitialised memory.
977 * Don't SEGV if all connections to a database server go away.
979 * Fix issue where <attr> -= <value> was not removing tagged
980 instances of <attr> equal to <value> (only untagged).
981 * Fix issue where tag values were not being set on attributes
982 created with unlang/ldap update blocks.
983 * Create rlm_sqlcounter attributes as integer64 types instead
984 of integer types, so large counter values can be specified.
985 * Fix issue where specifying a dynamic client IP addresss using
986 FreeRADIUS-Client-IPv6-Prefix or FreeRADIUS-Client-IP-Prefix
987 may have caused a validation error.
988 * Don't print two "&" for messages about attribute or list
989 references in debug output.
990 * Fix urlquote and escape to encode Unicode characters correctly.
991 * Fix redundant-load-balance blocks to try other modules in
992 the group if one fails.
993 * Fix issue with rlm_pap password normalisation where
994 'known good' password strings stored in octets type attributes,
995 would be sometimes misnormalised as base64.
996 * Don't stop processing DHCP options if we find a 0x00 padding
998 * Fix issue where modifying the value of an attribute created
999 from a template with a literal value, may have resulted in the
1000 template literal being freed.
1001 * Fix parenting issues in tls code which may have resulted in
1002 memory corruption and crashes.
1003 * Fix issue in radsniff where writing to PCAP files and using
1004 -R response filters, where the requests would still be written
1005 to the PCAP for non matching responses.
1006 * Define __APPLE_USE_RFC_2292 so that the server builds with IPv6
1008 * Fix LDAP group lookups for named rlm_ldap instances.
1009 Note that attribute references should be used when
1010 checking LDAP-Group attributes. e.g. if (&LDAP-Group == 'foo').
1011 * Delayed attribute references can now be used in unlang
1012 existence checks. i.e. if (&Attribute-Name) { ... }
1013 * Fix issues in EAP-PWD. CVE-2014-4731, CVE-2014-4732, and
1014 CVE-2014-4733. There is no external authentication bypass.
1015 * Fix a number of uses of the talloc parent/child reference.
1016 * Release connection used for reading bulk clients in rlm_ldap.
1017 * rlm_rest is now fail-safe if it's used without any configuration
1018 * Pull in build fixes for FreeBSD from ports.
1019 * Fix error in sqlite postauth query
1020 * Evaluate argument to "switch" statements once, instead of for each
1022 * Define sig_t on systems without it. Closes #765.
1023 * Fix boundary issue with rlm_rest. Closes #768
1024 * Optimize "%{Attribute-Name}" in comparisons only if the dictionary
1026 * Don't do chmod() in rad_mkdir() if the directory already exists.
1027 We might not have permission to change it.
1028 * Use getpwnam_r() and getgrnam_r() on systems which support it.
1030 * Clients loaded from SQL are now tied to the "listen" section
1031 of a virtual server, instead of being global.
1032 * Check for -lpcre. The system might have pcre.h without -lpcre.
1033 * When proxying to a virtual server, use the proxy_reply instead
1035 * Fixed typos in DHCP SQL IPPool.
1036 * Fix crash when passing multiple arguments to Perl xlat.
1038 FreeRADIUS 3.0.3 Mon 12 May 2014 15:30:00 EDT urgency=medium
1039 Feature improvements
1040 * Everything now builds with no warnings from the C compiler,
1041 clang static analyzer, or cppcheck.
1042 * rlm_ldap now supports defining the LDAP attribute name via
1043 backticked expansion (i.e. shell command) in
1044 RADIUS <-> LDAP mappings.
1045 * rlm_ldap now supports older style generic attributes.
1046 * dynamic expansions (e.g. "%{expr:1 + 2}" are now parsed
1047 when the server starts. Syntax errors in the strings
1048 are caught, and a descriptive error is printed.
1049 * Static regular expressions (e.g. /a*b/) are now parsed
1050 when the server starts. Syntax errors in the strings
1051 are caught, and a descriptive error is printed.
1052 * dynamic expansions are cached after being parsed. They are
1053 no longer re-parsed at run-time for every request.
1054 * regular expressions are now parsed and cached when the server
1056 * Added the %{rest:} expansion to rlm_rest, which will send
1057 a GET request to the URL passed as the format string.
1058 Any body text will be written to the expansion buffer.
1059 * rlm_rest now available as a debian package.
1060 * When an 'if' condition statically evaluates to true/false,
1061 unlang does more static optimization. For examples, see
1062 src/tests/keywords/if-skip
1063 * All modules are marked as safe for '-C', which lets the
1064 dynamic expansion checks work in more situations.
1065 * Added 'none' and 'custom' rlm_rest body types. 'custom'
1066 allows sending of arbitrary expanded text and content-type
1068 * Added "config" section to Perl. See mods-available/perl
1069 * Added '%v' which expands to the server version - Patch
1071 * more mis-matched casts are caught in "if" conditions,
1072 and descriptive errors are printed.
1073 * Support basic response validation in radclient. This allows
1074 administrators to write local test cases for their
1075 site-specific configurations.
1076 * Removed radconf2xml and radmin "show client config" and
1077 "show home_server config".
1078 * Forbid running with vulnerable versions of OpenSSL.
1079 See "allow_vulnerable_openssl" in the "security"
1080 subsection of "radiusd.conf"
1081 * Catch underlying "heartbleed" problem, so that nothing bad
1082 happens even when using a vulnerable version of OpenSSL.
1083 * Add locking API for sql_null, linelog, and detail modules,
1084 which should improve performance and work around issues
1085 on platforms with bad file locking.
1086 * Allow DHCP NAKs to be delayed, via setting
1087 reply:FreeRADIUS-Response-Delay = 1
1088 * Allow tag and array references anywhere attributes
1089 are allowed in "unlang".
1090 * many enhancements to radsniff, including output
1091 to collectd, ipv6 support and packet loss statistics.
1092 * Many dictionary updates (ZTE, Brocade, Motorola).
1093 * rlm_yubikey now automatically splits passwords from OTP
1095 * The detail file reader is now threaded by default.
1096 This should improve performance reading the files.
1099 * Fix xlat expression %{attribute[n]} so that it actually
1100 returns the n'th attribute instead of the first one.
1101 * Don't parse string on RHS of update {} when using unary
1102 operators (!*). The RHS should always be ignored.
1103 * Check for more optional functions in json-c so we can
1104 Build with libjson0, which is the name of the json-c package
1106 * Fix issue in radmin where the main dictionaries would
1107 not be loaded which, depending on the configuration, may
1108 have caused validation errors.
1109 * Fix handling of "%{reply:3GPP-*}"
1110 * Fix rlm_perl garbage attributes
1111 * Fix oracle SQL queries, which amongst other things still
1112 used the old expansion format, which is no longer
1114 * Truncate long format strings and error markers instead of
1116 * Fix multiple attribute parsing in rlm_rest JSON.
1117 * Don't crash in rlm_rest if connect_uri is commented out
1118 in the configuration.
1119 * Don't double-escape strings to / from Perl. You may need
1120 to double-check your Perl scripts if they use "\" characters.
1121 See mods-available/perl for documentation.
1122 * Don't re-run "authorize" if a home server fails to respond.
1123 * Don't append "0x" to hex output of octets types, for xlat
1124 expansions. This is the same as v2, and makes it easier
1125 to concatenate multiple attributes of type "octets"
1126 * FreeBSD fixes for execinfo linking.
1127 * Make some of the module configurations more consistent.
1128 * Fix corner cases where STDOUT wouldn't be closed in
1130 * Re-enable "update coa" and originating CoA requests.
1131 * Prevent multiple threads writing to the sql query logs.
1132 * Fix zombie period calculation. Closes #579
1133 * Properly parent VPs for talloc, when moving them in map2request.
1134 * Various fixes for talloc parent / child relationships
1135 * Allow rlm_counter to support VSAs.
1136 * Normalize return codes for many modules. "do nothing" is noop,
1138 * Run Post-Proxy-Type Fail. Closes #576
1139 * Fix DHCP destination port for replies to relays. Closes #591
1140 * Do-Not-Respond policy works again Closes #593
1141 * Proxy-To-Virtual-Server works again. Closes #596
1142 * Build fixes for ancient systems. Closes #607, #608, #609.
1143 * %{Module-Return-Code} works again. Closes #610.
1144 * Don't increment statistics for Status-Server responses.
1146 * A duplicate request isn't a duplicate if the original one
1147 is marked "done". This should lower retransmissions from
1149 * Fix multiple regular expression and glob memory leaks.
1150 * Don't allocate any memory in fr_fault() as it can cause malloc
1152 * Temporarily set dumpable flag before calling system in fr_fault()
1153 else the debugger may not be able to attach.
1154 * Set nonblock on all TCP client sockets.
1155 * Fix minor buffer overrun in mschapv2 where some attribute strings
1156 were not correctly \0 terminated.
1157 * Fix crash on authentication failure with MIT kerberos.
1158 * Fix code so that octal escape sequences aren't prematurely unescaped
1159 in rlm_sql, radclient, preprocess, and other places. This may
1160 require configuration changes, as these sequences will no longer
1161 need double escaping (\\) of the backslash.
1162 * The connection pools no longer have one connection used twice
1163 in certain rare conditions.
1164 * Use self pipes for internal signals. The code was there, but was
1166 * Don't crash if there are outstanding EAP sessions and were told to
1168 * Fix typo in dictionary.rfc4072
1170 FreeRADIUS 3.0.2 Fri 21 Mar 2014 08:30:00 EDT urgency=medium
1171 Feature improvements
1172 * secret keys and LDAP / SQL passwords are now printed as
1173 '<<< secret >>>' in debugging mode. Use -Xx to see the
1175 * Print out more information about passwords in -Xx,
1176 including hashes, comparisons, etc.
1177 * Allow cast (and implicit conversion) of integers to IPv4 addresses
1178 * More xlats allow attribute references. This means they can
1179 operate on binary data. e.g. expr, base64, md5, sha1.
1181 * The dictionaries are now auto-loaded. raddb/dictionary
1182 should no longer have $INCLUDE ${prefix}/share/dictionary
1183 * A "panic_action" can be set to have the server dump a gdb
1184 log on SEGV or other fatal error. See radiusd.conf
1185 * Add support for SHA-224, SHA-256, SHA-384, SHA-512 to rlm_pap.
1186 * Add "%{sha256:}" and "%{sha512:}" xlat functions.
1187 * Cache CUI in EAP session resumption.
1188 * templates can now have sub-sections, which will be included
1189 in the section referencing the template.
1190 * Update more dictionaries.
1191 * Added more instances of the "always" module, for all return
1193 * Suppress broken NASes when proxying. Retransmits which occur
1194 more than once per second are rate-limited to once per second.
1195 * Allow '&' in more xlat expansions.
1196 * Update PostgreSQL schema and queries to record last updated
1197 time, and accounting interim.
1198 * Optimize more "if" conditions when the server loads. This will
1199 avoid work at run time. e.g. ("foo" == "bar") --> FALSE.
1200 * Allow removal of all attributes within a list with !* operator.
1201 * Allow list to list copies with request qualifiers (outer.).
1202 * Add support for ipv4 prefixes and ipv6 addresses and prefixes to
1204 * allow radmin command "set module status <module> <code>"
1205 which can be used to forcibly enable/disable modules.
1206 * pap module now assumes Cleartext-Password if Password-With-Header
1207 doesn't have a {...} header.
1208 * Added "unpack" module. It can unpack binary data from horrible
1209 VSA formats. See raddb/mods-available/unpack
1210 * Added example IP Pool for DHCP, using sqlite. From Matthew Newton
1211 See raddb/mods-config/sql/ippool-dhcp/
1215 * Fix operation of fr_strerror() with RE*() macros.
1216 * Don't assert if the connection we're trying to reconnect
1218 * Fix %{mschap:User-Name} xlat.
1219 * Allow comparisons of signed integers and of ethernet addresses.
1220 * Fix parsing of text-based ascend binary filters.
1221 * Fix a few minor Coverity and clang analyzer issues.
1222 * Log WARNING and ERROR prefixes only once, not twice.
1223 * Fix attribute truncation seen in Perl and other places.
1224 * Use correct port when DHCP relaying.
1225 * Fix behaviour on FreeBSD where sending packets from an interface
1226 bound to an IP address would fail when the server was built with
1228 * Don't abort() when freeing home servers on exit.
1229 * Fix edge case in pairmove() when some attributes could be over-
1231 * Do checks for individual sqlite v2 functions so rlm_sqlite builds
1232 correctly with more versions of the library.
1233 * In heimdal kerberos, create MEMORY ccaches on a per context basis.
1234 This prevents issues with the root ccache being used.
1235 * Fix corner case with proxying, where home server goes down.
1236 * Rate-limit "max_requests" complaint. We don't want to fill the
1237 logs when something goes wrong.
1238 * Use /dev/urandom for raddb/certs/random, if it exists.
1239 * Issue WARNING that old-style clients should no longer be used.
1240 * Auto-set secret to "radsec" for tcp+tls home servers.
1241 * Fix double free in home_server_add when there is a parse error
1243 * rlm_unix checks if the dictionaries are broken, instead of crashing
1244 * Fix potential memory corruption when normalising salted password
1245 hashes from hex, where the combined hash and salt was > 64 bytes.
1246 * Register sqlcounter attributes correctly, and other issues with it
1247 * treat 127.0.0.1/32 as being identical to 127.0.0.1
1248 * Don't mangle error output of SQL drivers like PostgreSQL
1249 * Fix usage of "tls = ${tls}". It could previously cause problems
1250 when the reference was used multiple times.
1251 * Fix TLS session leak for incoming sockets.
1252 * Try harder to clean up memory on exit when using "-mM"
1253 * Fix memory leak when home server is down for RadSec connections
1254 * rate-limit outgoing connection attempts when the home server
1255 is down. It will retry no more than once per second.
1256 * When parsing ipv6 address prefixes, always mask off the host
1258 * Fix rlm_counter so that it does not create two reply
1260 * Fix issues with DHCP Sub-TLVs where the value of the first
1261 Sub-TLV would appear corrupted, and subsequent TLVs would
1262 not appear in debug output.
1263 * Initialize scope in IP address parsing
1264 * Prevent vendor attributes and RFC space attributes from clashing
1266 * Set source IP address for DHCP packets from DHCP-Server-IP-Address,
1267 or DHCP-DHCP-Server-Identifier, if we're unable to otherwise
1268 determine the source IP.
1269 * Fix POST attribute parsing in rlm_rest.
1270 * Fix JSON attribute parsing in rlm_rest.
1271 * Don't append trailing & to POST options in rlm_rest (minor).
1272 * Process HTTP 100 Continue messages correctly in rlm_rest
1273 * Fix generation of long > 512 byte POST payloads, where attribute
1274 values on the chunk boundary may have been omitted in rlm_rest.
1275 * Remove duplicate escape sequence parsing in rlm_sqlippool and
1276 rlm_sqlcounter which caused issues with escaping %. Escape
1277 sequence parsing is now handled purely by the xlat functions.
1278 * Ensure %% is treated as a string literal, and so not passed to any
1279 xlat escape functions for processing.
1280 * Correct calculation of Message-Authenticator
1281 for CoA packets. Closes #556
1283 FreeRADIUS 3.0.1 Mon 13 Jan 2014 14:30:00 EDT urgency=medium
1284 Feature improvements
1285 * Add "timeout" to exec, and "ntlm_auth_timeout" to mschap.
1286 So that run-away child processes are caught earlier.
1287 * Allow TLS clients to use "proto = tls", in which case
1288 TLS is required. The shared secret is then set to "radsec".
1289 * More documentation in the tls virtual server.
1290 * Add "date" module for date formatting.
1291 See raddb/mods-available/date.
1292 * Added unit test suite for internal server functionality
1293 * When loading "update" sections, check if the RHS is a literal
1294 value. If so, syntax check it immediately.
1295 * Update LDAP module documentation and functionality.
1296 The generic attribute can now update lists.
1297 * Updated dictionary.extreme.
1298 * Update sqlippool to do clears as a separate transaction,
1299 and at most once per second. This should help MySQL.
1300 * Respect control:Response-Packet-Type for all types of
1302 * Add support for SSL encryption to the MySQL driver.
1303 * Allow arbitrary connection parameters to be used with the
1305 * Changes to the OpenLDAP schema to fully expose functionality
1306 of the new LDAP module.
1307 * Update debian packaging to include a freeradius-config
1308 package. This package may be provided as a site local
1309 package to avoid fighting with the preinstalled config
1313 * Use correct field for ARP setting in DHCP.
1314 * Fix crash on debug condition (#454).
1315 * Fix a number of minor issues caught by the clang
1317 * Set WARNING messages to yellow instead of normal text.
1318 * Correct debug colorise logic. Patch from Phil Mayers.
1319 * Encode attributes of type "ethernet". No one uses them,
1321 * Work around regex initialization issues.
1322 * Fix build when linking against OpenSSL.
1323 * Print IDs as positive numbers, which helps for large DHCP
1325 * Fix issue with sql_ippool.
1326 * sqlcounter now uses 64-bit counters, to deal with 4G overflow.
1327 * Fix issues with DHCP subsystem.
1328 * Don't build / install disabled modules, or their config
1330 * Fix build for OSX Mavericks, which hid the header files
1332 * Fix LEAP buffer issue. You should still avoid LEAP.
1333 * Mark "unknown" WiMAX attributes as being WiMAX.
1334 * Fix typo in packet decoder for fragmented extended attrs
1336 * Fix rlm_perl build issues when not using threads.
1337 * Enable %{Response-Packet-Type} again.
1338 * Update configuration file parser to handle "bool"
1340 * Update declarations of global boolean variables to use
1341 "bool" consistently. This fixes an issue where some
1342 modules were instantiated in "config check" mode and
1343 did not work correctly.
1344 * Make more messages debug instead of info, to avoid
1345 polluting the logs with messages that can't be fixed.
1346 * Set operator in internal unlang code to suppress spurious
1348 * Fix debian packaging.
1349 * Added "status" to Debian init script.
1350 * Fix "update outer.request" to update the outer request.
1351 * Don't print TLS debugging messages when not in debug mode.
1352 * Correctly manage counters for "limit" sections of TCP / TLS
1354 * Fix libldap debug output.
1355 * Fix rlm_ldap tls functionality.
1356 * Initialise OpenSSL globals early to avoid issues with the
1358 * Fix typo in sqlcounter expansion code. Fixes #463
1359 * Overwrite previous instances of SQL-User-Name when adding
1361 * Work around bugs in both MIT and heimdal versions of
1362 krb5_copy_context(), which caused segfaults in
1364 * Provide meaningful error messages if Heimdal krb5 is used.
1365 * Fix attribute supression in rlm_detail.
1366 * Exit with error code if child fails to complete server
1367 initialisation after forking. This allows init scripts to
1368 correctly report whether the server started ok.
1370 FreeRADIUS 3.0.0 Mon 7 Oct 2013 15:48:14 EDT urgency=medium
1371 Feature improvements
1372 * Documentation for upgrading from 2.x is in raddb/README.rst
1373 Please follow it. It will make the upgrade easier.
1374 * Moved configuration entries in radiusd.conf to make more sense.
1375 * Added the "integer64" and "ipv4prefix" data types.
1376 * Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
1377 * Updated internal API to support new attributes and formats
1378 * Added code to send SNMP Traps. See raddb/trigger.conf.
1379 * Added preliminary support for Apple's Grand Central Dispatch
1380 * Added provisions for raddb/dictionary.local, for local changes.
1381 See raddb/dictionary for more details.
1382 * Added packet/s tracking. See max_pps in the "listen" section.
1383 * The %{} expansions and "unlang" conditions are now parsed at server
1384 start. Descriptive errors are produced for syntax and format errors.
1385 * Casting is now supported for "unlang" comparisons. See "man unlang"
1386 e.g. <ipaddr>127.0.0.1 == Framed-IP-Address.
1387 * Direct comparison of attribute references is now supported.
1388 e.g. &Foo == &Bar. This avoids stringification of the attributes.
1389 * Direct assignment of attributes is now supported.
1390 e.g. Foo := &Bar. It also works for "octets" data types.
1391 * Comparisons of IPv4 and IPv6 prefixes are now supported.
1392 The "<" operator means "within the prefix" for comparisons.
1393 * New sha1 xlat expansion (thanks to Alan Buxey)
1394 * Colourised log messages when logging to stdout. Look for yellow
1395 warnings and red errors. Doing this will save you a LOT of grief.
1396 * If the PCRE library is available, use it (insted of the POSIX
1397 functions) to process regular expressions (thanks to Phil Mayers).
1398 * -xv now displays all the features the server was built with, and
1399 the versions of the core libraries (libtalloc, libssl).
1402 * Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
1403 following the examples of other projects.
1404 * Additional files for each module are now in raddb/mods-config/.
1405 See raddb/mods-config/README.rst for documentation.
1406 * Moved "users" to raddb/mods-config/files/authorize
1407 * Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
1408 * Moved eap.conf to mods-available/eap
1409 * Moved sql.conf to mods-available/sql
1410 * Moved TLS configuration for EAP into a common subsection.
1411 See raddb/mods-available/eap, "tls-config" section.
1412 * Added for MS-CHAP Change Password from Phil Mayers.
1413 See raddb/mods-available/mschap, "passchange" subsection.
1414 * Added EAP-PWD implementation from Dan Harkins
1415 * Added connection pools for modules. This unifies connection
1416 management which was previously different for different modules.
1417 * SQL now uses the connection pool. See mods-available/sql
1418 * SQL now supports arbitrary Acct-Status-Types.
1419 These changes are not compatible with 2.x.
1420 * SQL now has full support for SQLite. See raddb/sql/main/sqlite/
1421 * SQLite supports auto-creation of new databases on server startup for
1422 bootstrapping purposes.
1423 * LDAP now uses the connection pool. The LDAP module has been
1424 completely re-written for performance and simplicity.
1425 * LDAP now caches groups. This makes multiple group checks MUCH
1427 * Removed all limitations on 253 octet attributes. RFC 6929 allows
1428 for attributes up to 4K in length.
1429 * New rlm_idn module providing an expansion for performing IDNA encoding
1430 of internationalized domain names. Thanks to 'skids'.
1431 * New rlm_yubikey module to validate yubikey OTP tokens.
1432 See raddb/modules/yubikey
1435 * All known bug fixes from 2.2.x are included.
1436 * Removed "addport" functionality.
1437 * Removed many unused or duplicate modules. See raddb/README.rst.
1439 Internal / API changes:
1440 * All traces of the old build system have been removed.
1441 The new build system is faster and simpler.
1442 * clang is fully supported.
1443 * We now use "talloc" for memory management. A number of new
1444 features required this change. Thanks to the Samba people!
1445 * Many internal APIs have been updated to use talloc.
1446 * New API for iterating over VALUE_PAIRs. This is in preparation
1447 for attributes, in version 3.1.
1448 * No new code should directly modify any field of a VALUE_PAIR.
1449 * VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
1450 attribute and vendor fields. This will allow nested attributes.
1451 * Some protocol specific code has been moved out into proto_* modules.
1452 More will come in subsequent versions. See proto_dhcp and proto_vmps.
1453 * Standardised internal logging macros. radlog() should not be used.
1454 See src/include/log.h
1455 * Use OpenSSL hashing functions when available.
1456 * The server now builds with no warnings on most platforms.
1457 * New RADIUS encoder/decoder, to support new formats.
1458 * Added RFC 6929 "extended attributes", via the new encoder/decoder.
1459 * Added full WiMAX support, via the new encoder/decoder. The old
1460 code could not handle some unusual corner cases.