]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Fri, 22 Mar 2019 13:32:39 +0000 (09:32 -0400)]
updates
from http://www.3gpp2.org/Public_html/Specs/X.S0011-005-E_v1.0_091116.pdf
among others
Alan DeKok [Fri, 22 Mar 2019 12:12:06 +0000 (08:12 -0400)]
Merge pull request #2578 from restena-sw/v3.0.x
V3.0.x the documentation mentions a parameter ignore_null which doesn't exist in the realm module
Stefan Winter [Fri, 22 Mar 2019 12:04:29 +0000 (13:04 +0100)]
Update inner-tunnel
Stefan Winter [Fri, 22 Mar 2019 12:03:30 +0000 (13:03 +0100)]
the parameter ignore_null doesn't exist
Matthew Newton [Tue, 19 Mar 2019 00:10:47 +0000 (00:10 +0000)]
sql typo
Alan T. DeKok [Mon, 18 Mar 2019 12:20:46 +0000 (08:20 -0400)]
perhaps a more backwards compatible fix. Helps with #2576
Alan T. DeKok [Mon, 18 Mar 2019 12:18:24 +0000 (08:18 -0400)]
Use newer API. Closes #2576
Alan T. DeKok [Sun, 17 Mar 2019 15:14:36 +0000 (11:14 -0400)]
notes for mssql
Alan T. DeKok [Sun, 17 Mar 2019 14:41:23 +0000 (10:41 -0400)]
uncomment the driver-specific sections
so that it's less work for the admin to do at run time
Alan T. DeKok [Sun, 17 Mar 2019 14:37:44 +0000 (10:37 -0400)]
make the default config clearer
Alan T. DeKok [Mon, 11 Mar 2019 17:26:47 +0000 (13:26 -0400)]
re-add "show client config" command
Alan T. DeKok [Mon, 11 Mar 2019 13:00:10 +0000 (09:00 -0400)]
remove unused command
Alan DeKok [Sun, 10 Mar 2019 13:45:23 +0000 (09:45 -0400)]
Merge pull request #2566 from SearchLightNZ/fix_sqlippool_pgsql_null
Fix sqlippool pgsql procedure, and PgPool load balancing
Nathan Ward [Sat, 9 Mar 2019 02:27:54 +0000 (15:27 +1300)]
Let PgPool detect the stored procedure as needing a write transaction.
- Add an SQL comment, and documentation for the same, which triggers PgPool to not load balance this to a read-only server, and instead send it to a write server. As noted, this does not have any negative effect if PgPool is not in use, so it is useful to have here to avoid problems caused by someone starting to used this procedure when they've got a working PgPool/PostgreSQL installation already.
Signed-off-by: Nathan Ward <nward@searchlight.nz>
Nathan Ward [Sat, 9 Mar 2019 02:27:34 +0000 (15:27 +1300)]
Fix the NULL comparison.
Signed-off-by: Nathan Ward <nward@searchlight.nz>
Alan T. DeKok [Fri, 8 Mar 2019 17:12:26 +0000 (12:12 -0500)]
update documentation
Alan DeKok [Wed, 6 Mar 2019 22:17:51 +0000 (17:17 -0500)]
Merge pull request #2557 from alejandro-perez/patch-1
Fix TrustRouter query potential deadlock
Alejandro Perez Mendez [Tue, 5 Mar 2019 15:40:41 +0000 (15:40 +0000)]
Fix TrustRouter query potential deadlock
Existing code uses a single lock to protect concurrent access to the
global_tidc variable. Under certain circumstances, two FreeRadius servers
wanting to resolve each other's realms at the same time might provoke
a deadlock situation, if this query triggered in turn another realm
resolution attempt for the APC's realm on both sides.
While this is a corner case, it has been observed in stress testing
environments.
This patch gets rid of the global_tidc in favour of a local approach,
and provides a pool of mutexes that are used to serialise different queries for
a particular realm, while allowing concurrent queries for different realms.
Arran Cudbard-Bell [Tue, 5 Mar 2019 11:00:13 +0000 (19:00 +0800)]
Fix references to eap.conf
Alan T. DeKok [Mon, 4 Mar 2019 21:28:07 +0000 (16:28 -0500)]
more checks for !handle. May help with #2532
Alan T. DeKok [Mon, 4 Mar 2019 14:23:28 +0000 (09:23 -0500)]
note recent changes
Alan T. DeKok [Mon, 4 Mar 2019 14:22:52 +0000 (09:22 -0500)]
Print correct name, and use correct check
Alan T. DeKok [Mon, 4 Mar 2019 12:42:30 +0000 (07:42 -0500)]
note recent changes
Alan T. DeKok [Mon, 4 Mar 2019 12:39:09 +0000 (07:39 -0500)]
handle more cases of reconnect. May help with #2532
Matthew Newton [Fri, 1 Mar 2019 01:13:00 +0000 (01:13 +0000)]
note recent changes
Matthew Newton [Thu, 28 Feb 2019 21:37:07 +0000 (21:37 +0000)]
Ensure freeradius can write its pidfile
Matthew Newton [Thu, 28 Feb 2019 19:55:52 +0000 (19:55 +0000)]
Fix up systemd watchdog timer calculations
Matthew Newton [Thu, 28 Feb 2019 17:23:38 +0000 (17:23 +0000)]
tidy watchdog interval notice
Matthew Newton [Thu, 28 Feb 2019 16:14:56 +0000 (16:14 +0000)]
Add systemd to redhat spec file configure options
Matthew Newton [Thu, 28 Feb 2019 15:20:44 +0000 (15:20 +0000)]
refresh configure
Matthew Newton [Thu, 28 Feb 2019 16:06:14 +0000 (16:06 +0000)]
sd_notify needs to be called as well
Matthew Newton [Thu, 28 Feb 2019 15:19:12 +0000 (15:19 +0000)]
fix autogen search paths so includes can be found
Matthew Newton [Thu, 28 Feb 2019 13:29:17 +0000 (13:29 +0000)]
Fix up the systemd configure checks and backport the missing bits
Matthew Newton [Thu, 28 Feb 2019 00:11:09 +0000 (00:11 +0000)]
CentOS 6 is pre-systemd and needs /lib/lsb/init-functions
Matthew Newton [Wed, 27 Feb 2019 23:44:59 +0000 (23:44 +0000)]
CentOS 6 doesn't fully support Samba 4, so don't try and use it
Samba 3 libwbclient is too old
Alan T. DeKok [Thu, 28 Feb 2019 16:17:09 +0000 (11:17 -0500)]
note recent changes
Alan T. DeKok [Thu, 28 Feb 2019 16:16:37 +0000 (11:16 -0500)]
move procedure to new file
It's better to have a different file than to ask the admin
to un-comment lots of code.
Alan DeKok [Thu, 28 Feb 2019 16:11:23 +0000 (11:11 -0500)]
Merge pull request #2540 from SearchLightNZ/sqlippool_previous_ip_improvements
Add a stored procedure for PostgreSQL rlm_sqlippool.
Alan T. DeKok [Thu, 28 Feb 2019 12:39:33 +0000 (07:39 -0500)]
as posted to the list
Nathan Ward [Thu, 28 Feb 2019 02:47:27 +0000 (15:47 +1300)]
Add a stored procedure for PostgreSQL rlm_sqlippool.
This matches the functionality of the existing example query which returns the users previous IP, if possible, however it runs approx 400x faster.
Alan DeKok [Wed, 27 Feb 2019 13:18:33 +0000 (08:18 -0500)]
Merge pull request #2533 from SearchLightNZ/fix_sqlippool_driver_specific_escapes
Pass handle to radius_axlat in sqlippool, rather than the sql instance
Nathan Ward [Wed, 27 Feb 2019 13:07:37 +0000 (02:07 +1300)]
Pass handle to radius_axlat in sqlippool, rather than the sql instance
Fix #2532
Alan T. DeKok [Tue, 26 Feb 2019 17:50:34 +0000 (12:50 -0500)]
save / restore module name
Alan T. DeKok [Tue, 26 Feb 2019 15:17:49 +0000 (10:17 -0500)]
note recent changes
Alan T. DeKok [Tue, 26 Feb 2019 15:16:50 +0000 (10:16 -0500)]
check for client from `dynamic_clients` module
and don't parse VPs if the client struct was already created.
Alan T. DeKok [Tue, 26 Feb 2019 15:16:10 +0000 (10:16 -0500)]
use better checks for normal packets
and mark up the client as being dynamic, so the core can check
that flag.
Alan DeKok [Tue, 26 Feb 2019 15:22:43 +0000 (10:22 -0500)]
Merge pull request #2526 from alejandro-perez/patch-1
Update abfab-tr-idp
Alejandro Perez [Tue, 26 Feb 2019 13:56:32 +0000 (14:56 +0100)]
Remove unneeded comment
Alejandro Perez [Tue, 26 Feb 2019 13:54:22 +0000 (14:54 +0100)]
Update abfab-tr-idp
Apply change made to sites-available/default also to abfab-tr-idp.
Matthew Newton [Tue, 26 Feb 2019 11:35:54 +0000 (11:35 +0000)]
avoid m4 special []s in configure script
Matthew Newton [Tue, 26 Feb 2019 02:10:08 +0000 (02:10 +0000)]
add ubuntu18 Dockerfile, use that for dockerhub image
Matthew Newton [Tue, 26 Feb 2019 02:07:15 +0000 (02:07 +0000)]
alpine switched back to openssl, so we can too
which is a good job, as recent FR barfs on libressl anyway
Matthew Newton [Mon, 25 Feb 2019 22:20:09 +0000 (22:20 +0000)]
backport the rest of the control.in patch from v4
Alan T. DeKok [Mon, 25 Feb 2019 20:08:09 +0000 (15:08 -0500)]
bump for 3.0.19
Alan T. DeKok [Mon, 25 Feb 2019 19:55:30 +0000 (14:55 -0500)]
bump for 3.0.18
Alan T. DeKok [Mon, 25 Feb 2019 15:45:47 +0000 (10:45 -0500)]
note recent changes
Alan T. DeKok [Mon, 25 Feb 2019 15:39:59 +0000 (10:39 -0500)]
check for openssl/rand.h. Fixes #2517
There are a few places in code that check for HAVE_OPENSSL_RAND_H.
Alan T. DeKok [Mon, 25 Feb 2019 15:39:11 +0000 (10:39 -0500)]
allow build with no openssl engine support. Fixes #2517
Alan T. DeKok [Fri, 22 Feb 2019 12:30:53 +0000 (07:30 -0500)]
fail if proxy reply is too late
even if the reply was found in the proxy hash, we still might
have request->proxy_listener=NULL. This shouldn't happen, but...
Alan T. DeKok [Thu, 21 Feb 2019 12:31:35 +0000 (07:31 -0500)]
note recent changes
Arran Cudbard-Bell [Wed, 20 Feb 2019 12:24:49 +0000 (20:24 +0800)]
Avoid spurious error messages on acctuniqueid conflicts using PG's 'upsert' functionality
Switch condition to use AcctUniqueId which is much cleaner so long as it really is unique.
Alan DeKok [Wed, 20 Feb 2019 20:32:00 +0000 (15:32 -0500)]
Merge pull request #2504 from jpereira/v3/fix-warning
raddb/sites-available/default: Suppres warning message
Jorge Pereira [Wed, 20 Feb 2019 20:24:57 +0000 (17:24 -0300)]
raddb/sites-available/default: Suppres warning message
Alan DeKok [Wed, 20 Feb 2019 20:12:10 +0000 (15:12 -0500)]
Merge pull request #2502 from jpereira/v3/systemd1
Add support for systemd watchdogs #2499
Jorge Pereira [Wed, 20 Feb 2019 17:28:49 +0000 (14:28 -0300)]
#2499 systemd: Add support for watchdogs
Jorge Pereira [Wed, 20 Feb 2019 17:30:22 +0000 (14:30 -0300)]
#2499 systemd: Add mechanism to detect the library
Jorge Pereira [Wed, 20 Feb 2019 18:02:45 +0000 (15:02 -0300)]
Alan T. DeKok [Wed, 20 Feb 2019 18:14:32 +0000 (13:14 -0500)]
check for 0 bytes, too. We dup "" then
Alan T. DeKok [Wed, 20 Feb 2019 18:09:17 +0000 (13:09 -0500)]
use the correct size of the buffer
Jorge Pereira [Wed, 20 Feb 2019 17:27:00 +0000 (14:27 -0300)]
#2499 systemd: Adjustments for Debian/Redhat packages
Alan T. DeKok [Mon, 18 Feb 2019 00:57:20 +0000 (19:57 -0500)]
debug map types other than "attr" and "list"
Arran Cudbard-Bell [Sun, 17 Feb 2019 02:55:54 +0000 (08:25 +0530)]
Merge pull request #2486 from alejandro-perez/fix_misleading_msg
Fix misleading error message
Arran Cudbard-Bell [Sun, 17 Feb 2019 02:55:37 +0000 (08:25 +0530)]
Merge pull request #2497 from jpereira/v3/typo1
Changelog: Typo
Arran Cudbard-Bell [Sun, 17 Feb 2019 02:55:29 +0000 (08:25 +0530)]
Merge branch 'v3.0.x' into v3/typo1
Alan T. DeKok [Sun, 17 Feb 2019 01:42:28 +0000 (20:42 -0500)]
note recent changes
Alan DeKok [Sun, 17 Feb 2019 01:38:27 +0000 (20:38 -0500)]
Merge pull request #2493 from alejandro-perez/doc_ukerna_dict
Add some documentation to the ukerna dictionary
Alan DeKok [Sun, 17 Feb 2019 01:37:54 +0000 (20:37 -0500)]
Merge pull request #2492 from alejandro-perez/add_rfc7542_bangpath
Add RFC7542 bang path support as a recipe.
Jorge Pereira [Sat, 16 Feb 2019 17:31:39 +0000 (15:31 -0200)]
Changelog: Typo
Alan DeKok [Sat, 16 Feb 2019 15:40:36 +0000 (10:40 -0500)]
Merge pull request #2495 from jpereira/v3/fix-mysql-mariadb-build
rlm_sql_mysql: Add better mechanism to detect MariaDB (Old MySQL)
Jorge Pereira [Fri, 15 Feb 2019 22:41:11 +0000 (20:41 -0200)]
rlm_sql_mysql: Add better mechanism to detect MariaDB (Old MySQL)
Alan T. DeKok [Fri, 15 Feb 2019 21:21:37 +0000 (16:21 -0500)]
it's no longer an "initial implementation"
Alan DeKok [Fri, 15 Feb 2019 17:38:46 +0000 (12:38 -0500)]
Merge pull request #2490 from jpereira/feature/v3-mysql-tls
Expose more TLS options in MySQL driver ref #2481
Alejandro Perez [Fri, 15 Feb 2019 16:15:29 +0000 (17:15 +0100)]
Add some documentation to the ukerna dictionary
Alejandro Perez [Fri, 15 Feb 2019 16:03:40 +0000 (17:03 +0100)]
Add RFC7542 bang path support as a recipe.
Also enabling it immediately in the ABFAB server
Jorge Pereira [Fri, 15 Feb 2019 15:21:56 +0000 (13:21 -0200)]
Expose more TLS options in MySQL driver ref #2481
* Availability of TLS and reconnect options in MySQL driver
checked by using MySQL or MariaDB version.
Alan DeKok [Fri, 15 Feb 2019 13:27:04 +0000 (08:27 -0500)]
Merge pull request #2489 from jpereira/fix/v3-mysql-reconect
Fix reconnect correctly in rlm_sql_mysql
Jorge Pereira [Fri, 15 Feb 2019 04:04:17 +0000 (02:04 -0200)]
Fix reconnect correctly in rlm_sql_mysql.
Alejandro Perez [Thu, 14 Feb 2019 08:34:30 +0000 (09:34 +0100)]
Fix misleading error message
When the realm is already found, it still said that no TR was configured.
Alan T. DeKok [Thu, 14 Feb 2019 01:42:52 +0000 (20:42 -0500)]
Hnadle the case of no existing entry, fixes #2485
Setting a Cache-TTL of < 0 means expire the existing entry
(without merging) and create a new one with TTL set to value * -1.
If there is no existing entry, the previous code just set
ttl = inst->ttl
It should instead use Cache-TTL
Alan T. DeKok [Wed, 13 Feb 2019 13:08:26 +0000 (08:08 -0500)]
Revert new MySQL code which doesn't yet work.
It will be added again post 3.0.18.
This reverts commits:
c41dcb2e 60690ad5 f896a87560
Alan T. DeKok [Tue, 12 Feb 2019 21:08:18 +0000 (16:08 -0500)]
note recent changes
Alan T. DeKok [Tue, 12 Feb 2019 21:07:17 +0000 (16:07 -0500)]
document new config
Alan DeKok [Tue, 12 Feb 2019 18:51:42 +0000 (13:51 -0500)]
Merge pull request #2481 from
2128506 /v3.0.x
V3.0.x
Arran Cudbard-Bell [Mon, 11 Feb 2019 04:26:52 +0000 (09:56 +0530)]
Expose more TLS options in MySQL driver
Availability of TLS and reconnect options in MySQL driver checked by using MySQL version instead of ifdefs
Alan T. DeKok [Thu, 7 Feb 2019 15:42:25 +0000 (10:42 -0500)]
check home server, not pool for virtual server.
We already picked a home server from the pool. And in some
cases, there's no pool, just a home server.
Alan T. DeKok [Tue, 5 Feb 2019 15:16:13 +0000 (10:16 -0500)]
add Module-Failure-Message here, too. Helps with #2464
Alan T. DeKok [Tue, 5 Feb 2019 13:35:13 +0000 (08:35 -0500)]
add Module-Failure-Message on failure. Addresses #2464
Alan T. DeKok [Fri, 1 Feb 2019 15:58:30 +0000 (10:58 -0500)]
bump the upper limit by a bit, to daily or so
Alan T. DeKok [Thu, 31 Jan 2019 19:38:18 +0000 (14:38 -0500)]
add 'M' as per v4 for packet usec
Alan T. DeKok [Thu, 31 Jan 2019 15:56:49 +0000 (10:56 -0500)]
only print open / close messages in debug mode
otherwise we spam the logs with things that aren't relevant.
The code already produces ERROR messages for error situations,
so that's fine.