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