]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
23 months agothis is for UDP home servers
Alan T. DeKok [Wed, 8 Nov 2023 12:28:59 +0000 (13:28 +0100)] 
this is for UDP home servers

23 months agoensure we have certs available for tests
Matthew Newton [Wed, 15 Nov 2023 13:37:41 +0000 (13:37 +0000)] 
ensure we have certs available for tests

23 months agorun more of the eap protocol tests
Matthew Newton [Wed, 15 Nov 2023 12:15:38 +0000 (12:15 +0000)] 
run more of the eap protocol tests

23 months agoadd env var to pass rpmbuild flags
Matthew Newton [Fri, 10 Nov 2023 00:32:37 +0000 (00:32 +0000)] 
add env var to pass rpmbuild flags

2 years agonote recent changes
Alan T. DeKok [Tue, 31 Oct 2023 22:02:15 +0000 (18:02 -0400)] 
note recent changes

2 years agoreply packets use request authenticator for Message-Authenticator
Alan T. DeKok [Tue, 31 Oct 2023 22:00:46 +0000 (18:00 -0400)] 
reply packets use request authenticator for Message-Authenticator

2 years agoprint packets as hex with -xxx
Alan T. DeKok [Tue, 31 Oct 2023 19:51:25 +0000 (15:51 -0400)] 
print packets as hex with -xxx

2 years agocheck for radiusv11 and MA / Original-Packet-Code
Alan T. DeKok [Tue, 31 Oct 2023 21:48:28 +0000 (17:48 -0400)] 
check for radiusv11 and MA / Original-Packet-Code

2 years agodocument KRB5_CLIENT_KTNAME
Alan T. DeKok [Sun, 29 Oct 2023 22:31:20 +0000 (18:31 -0400)] 
document KRB5_CLIENT_KTNAME

2 years agomore small fixes
Matthew Newton [Wed, 27 Sep 2023 12:54:02 +0000 (13:54 +0100)] 
more small fixes

2 years agouse space separator
Matthew Newton [Wed, 27 Sep 2023 09:01:26 +0000 (10:01 +0100)] 
use space separator

2 years agodon't leave radiusd running after "make test"
Matthew Newton [Tue, 26 Sep 2023 21:56:58 +0000 (22:56 +0100)] 
don't leave radiusd running after "make test"

2 years agoadd "time_since" xlat to rlm_date
Matthew Newton [Tue, 26 Sep 2023 13:31:43 +0000 (14:31 +0100)] 
add "time_since" xlat to rlm_date

Makes it much easier to calculate latencies in seconds,
milliseconds or microseconds, as well as getting time since
epoch in each of those bases as well.

2 years agomake it clearer
Alan T. DeKok [Thu, 21 Sep 2023 11:36:41 +0000 (07:36 -0400)] 
make it clearer

2 years agodocument notes about Azure AD
Alan T. DeKok [Thu, 21 Sep 2023 11:35:39 +0000 (07:35 -0400)] 
document notes about Azure AD

2 years agodup stdout / stderr if we can
Alan T. DeKok [Wed, 20 Sep 2023 17:54:01 +0000 (13:54 -0400)] 
dup stdout / stderr if we can

Otherwise fall back to open(/dev/foo)

2 years agoremove wrong comment
Alan T. DeKok [Fri, 15 Sep 2023 13:54:09 +0000 (09:54 -0400)] 
remove wrong comment

2 years agonote recent changes
Alan T. DeKok [Fri, 15 Sep 2023 12:02:41 +0000 (08:02 -0400)] 
note recent changes

2 years agoadd "dates_as_integer" configuration
Alan T. DeKok [Fri, 15 Sep 2023 12:00:14 +0000 (08:00 -0400)] 
add "dates_as_integer" configuration

2 years agocatch bad times.
Alan T. DeKok [Fri, 15 Sep 2023 11:36:02 +0000 (07:36 -0400)] 
catch bad times.

if packet timestamp > now, don't update Acct-Delay-Time

2 years agounescape things we need to unescape
Alan T. DeKok [Wed, 13 Sep 2023 17:40:04 +0000 (13:40 -0400)] 
unescape things we need to unescape

2 years agonote recent changes
Alan T. DeKok [Thu, 7 Sep 2023 15:32:41 +0000 (11:32 -0400)] 
note recent changes

2 years agoadd radsecret program
Alan T. DeKok [Thu, 7 Sep 2023 15:23:17 +0000 (11:23 -0400)] 
add radsecret program

and document it

2 years agoBuild with winbind on all RHEL >= 7
Nick Porter [Thu, 31 Aug 2023 10:51:37 +0000 (11:51 +0100)] 
Build with winbind on all RHEL >= 7

2 years agoBackport Aruba dictionary from v4 (#5164)
Jorge Pereira [Tue, 29 Aug 2023 15:07:20 +0000 (12:07 -0300)] 
Backport Aruba dictionary from v4 (#5164)

2 years agoempty initializer means all zeros
Alan T. DeKok [Tue, 29 Aug 2023 12:14:50 +0000 (08:14 -0400)] 
empty initializer means all zeros

2 years agouse new API
Alan T. DeKok [Fri, 25 Aug 2023 22:18:04 +0000 (18:18 -0400)] 
use new API

2 years agoacquire lock for python 2, also
Alan T. DeKok [Fri, 25 Aug 2023 22:02:18 +0000 (18:02 -0400)] 
acquire lock for python 2, also

2 years agoacquire lock. Helps with #5111
Alan T. DeKok [Fri, 25 Aug 2023 21:59:59 +0000 (17:59 -0400)] 
acquire lock.  Helps with #5111

2 years agoinitialize local variables. May help with #5111
Alan T. DeKok [Fri, 25 Aug 2023 19:34:04 +0000 (15:34 -0400)] 
initialize local variables.  May help with #5111

main_interprerter is checked, but there are code paths by which
the variable is used without being initialized.

2 years agofix query for interim update, to subtract session time.
Alan T. DeKok [Fri, 18 Aug 2023 14:55:32 +0000 (10:55 -0400)] 
fix query for interim update, to subtract session time.

This now matches MySQL and sqlite.  MSSQL and Oracle still need
fixing, but I'm less sure how to do that. :(

2 years agoFix attributes (#5151)
Jorge Pereira [Mon, 21 Aug 2023 07:11:53 +0000 (04:11 -0300)] 
Fix attributes (#5151)

The nested attributes are not present in v3.x

2 years agoword smithing
Alan T. DeKok [Thu, 17 Aug 2023 16:58:19 +0000 (12:58 -0400)] 
word smithing

2 years agofix example unlang
Matthew Newton [Thu, 17 Aug 2023 16:26:18 +0000 (17:26 +0100)] 
fix example unlang

2 years agoclean up ALPN negotiation
Alan T. DeKok [Thu, 17 Aug 2023 14:14:26 +0000 (10:14 -0400)] 
clean up ALPN negotiation

2 years agofix typos
Alan T. DeKok [Thu, 17 Aug 2023 14:13:57 +0000 (10:13 -0400)] 
fix typos

2 years agofix warning messages
Alan T. DeKok [Thu, 17 Aug 2023 14:10:44 +0000 (10:10 -0400)] 
fix warning messages

2 years agonote recent changes
Alan T. DeKok [Wed, 16 Aug 2023 13:32:34 +0000 (09:32 -0400)] 
note recent changes

2 years agohelps to have example config, too
Alan T. DeKok [Wed, 16 Aug 2023 13:06:20 +0000 (09:06 -0400)] 
helps to have example config, too

2 years agoif there's no "server foo", then use "server default"
Alan T. DeKok [Wed, 16 Aug 2023 13:01:36 +0000 (09:01 -0400)] 
if there's no "server foo", then use "server default"

2 years agoAdd config variables for lookback code, and make TIME_STEP and OTP sixe configurable.
Margaret Cullen [Tue, 15 Aug 2023 19:03:47 +0000 (15:03 -0400)] 
Add config variables for lookback code, and make TIME_STEP and OTP sixe configurable.

Signed-off-by: Margaret Cullen <margaret@painless-security.com>
2 years agoAdd lookback capability to address transit delay
Margaret Cullen [Fri, 11 Aug 2023 22:47:58 +0000 (18:47 -0400)] 
Add lookback capability to address transit delay

Signed-off-by: Margaret Cullen <margaret@painless-security.com>
2 years agoIgnore eap teap's all.mk file (#5128)
Jorge Pereira [Tue, 15 Aug 2023 22:50:06 +0000 (19:50 -0300)] 
Ignore eap teap's all.mk file (#5128)

2 years agoRevert "remove "radius/1.0" as it's not needed"
Alan T. DeKok [Mon, 14 Aug 2023 19:01:54 +0000 (15:01 -0400)] 
Revert "remove "radius/1.0" as it's not needed"

This reverts commit 063246067e5c9c5d58992c1a0f723fdb0094107d.

2 years agochange format for tests
Alan T. DeKok [Fri, 11 Aug 2023 12:26:23 +0000 (08:26 -0400)] 
change format for tests

2 years agoformat update
Alan T. DeKok [Fri, 11 Aug 2023 12:20:34 +0000 (08:20 -0400)] 
format update

2 years agoupdate the year
Alan T. DeKok [Thu, 10 Aug 2023 12:47:48 +0000 (08:47 -0400)] 
update the year

2 years agoAdd 'if not exists' to mysql create table queries. ref #5032 (#5137)
Jorge Pereira [Wed, 9 Aug 2023 23:08:45 +0000 (20:08 -0300)] 
Add 'if not exists' to mysql create table queries. ref #5032 (#5137)

2 years agoset VERIFY_PEER which helps with PSK and TLS 1.3
Alan T. DeKok [Wed, 9 Aug 2023 12:50:42 +0000 (08:50 -0400)] 
set VERIFY_PEER which helps with PSK and TLS 1.3

2 years agoremove warning about TLS 1.3
Alan T. DeKok [Wed, 9 Aug 2023 12:47:45 +0000 (08:47 -0400)] 
remove warning about TLS 1.3

2 years agopermit sending CoA after proxying to an internal virtual server
Matthew Newton [Tue, 8 Aug 2023 22:15:40 +0000 (23:15 +0100)] 
permit sending CoA after proxying to an internal virtual server

2 years agodon't leave dangling pointer to a cancelled coa request
Matthew Newton [Tue, 8 Aug 2023 18:43:50 +0000 (19:43 +0100)] 
don't leave dangling pointer to a cancelled coa request

2 years agoAdd Ruckus attributes from Cloudpath config
Nick Porter [Tue, 8 Aug 2023 14:24:06 +0000 (15:24 +0100)] 
Add Ruckus attributes from Cloudpath config

2 years agoadd client configuration for PSK
Alan T. DeKok [Tue, 8 Aug 2023 12:20:46 +0000 (08:20 -0400)] 
add client configuration for PSK

2 years agoon cache full, evict entries by expiry time
Alan T. DeKok [Mon, 7 Aug 2023 15:58:01 +0000 (11:58 -0400)] 
on cache full, evict entries by expiry time

which allows systems to keep updating the CSV file, without
worrying about the cache getting full

2 years agoadd define for illumos. Fixes #5135
Alan T. DeKok [Sun, 6 Aug 2023 12:35:57 +0000 (08:35 -0400)] 
add define for illumos.  Fixes #5135

2 years agoprefer PSK from DB, and ignore the cache if so
Alan T. DeKok [Sat, 5 Aug 2023 12:22:06 +0000 (08:22 -0400)] 
prefer PSK from DB, and ignore the cache if so

2 years agominor build fixes
Alan T. DeKok [Sat, 5 Aug 2023 12:20:26 +0000 (08:20 -0400)] 
minor build fixes

2 years agonotes on efficiency
Alan T. DeKok [Thu, 3 Aug 2023 19:28:27 +0000 (15:28 -0400)] 
notes on efficiency

2 years agodocs: add pages about monitoring and statistics
Matthew Newton [Wed, 2 Aug 2023 17:22:22 +0000 (18:22 +0100)] 
docs: add pages about monitoring and statistics

2 years agoadd default values
Alan T. DeKok [Thu, 3 Aug 2023 14:48:40 +0000 (10:48 -0400)] 
add default values

2 years agoadd provisions for read and write timeout
Alan T. DeKok [Thu, 3 Aug 2023 14:39:18 +0000 (10:39 -0400)] 
add provisions for read and write timeout

2 years agopoint people to the configuration which controls this message
Alan T. DeKok [Mon, 31 Jul 2023 14:35:18 +0000 (10:35 -0400)] 
point people to the configuration which controls this message

2 years agoFix multiple typos in MongoDB query.conf (#5130)
Jorge Pereira [Wed, 2 Aug 2023 17:21:39 +0000 (14:21 -0300)] 
Fix multiple typos in MongoDB query.conf (#5130)

2 years agoAdd auto_escape to sample SQL module config
Nick Porter [Wed, 2 Aug 2023 12:34:40 +0000 (13:34 +0100)] 
Add auto_escape to sample SQL module config

2 years agosnmp: use same port as default configuration
Matthew Newton [Wed, 2 Aug 2023 11:18:44 +0000 (12:18 +0100)] 
snmp: use same port as default configuration

2 years agoDon't send global stats when asked for client stats
Matthew Newton [Wed, 2 Aug 2023 11:11:53 +0000 (12:11 +0100)] 
Don't send global stats when asked for client stats

They use the same attributes, which makes the result confusing

For FreeRADIUS-Statistics-Type:

0x00 will send global stats and no more
0x10 sends internal queue stats, and may as well send global stats too
0x20 sends client stats but uses the same attrs as global so should
     not send global stats
0x40 sends server listen stats, same attrs so should not send
     global stats as above
0x80 sends proxy home-server stats; uses different attrs so could
     send global stats, but to be consistent with above still
     don't do so

2 years agocomments to make it clearer which stats are being referred to
Matthew Newton [Wed, 2 Aug 2023 11:01:23 +0000 (12:01 +0100)] 
comments to make it clearer which stats are being referred to

2 years agodoc: fix some broken xref links
Matthew Newton [Thu, 27 Jul 2023 14:41:57 +0000 (15:41 +0100)] 
doc: fix some broken xref links

2 years agoBuild .debs with PCRE
Nick Porter [Thu, 27 Jul 2023 13:33:09 +0000 (14:33 +0100)] 
Build .debs with PCRE

2 years agoGet build details in config check output when testing rpms/debs
Nick Porter [Thu, 27 Jul 2023 13:14:04 +0000 (14:14 +0100)] 
Get build details in config check output when testing rpms/debs

2 years agoUse correct PCRE dependency
Nick Porter [Thu, 27 Jul 2023 13:12:14 +0000 (14:12 +0100)] 
Use correct PCRE dependency

2 years agoBuild RHEL packages with PCRE
Nick Porter [Thu, 27 Jul 2023 11:11:34 +0000 (12:11 +0100)] 
Build RHEL packages with PCRE

2 years agobackport some documentation from v4
Matthew Newton [Thu, 27 Jul 2023 11:45:42 +0000 (12:45 +0100)] 
backport some documentation from v4

2 years agotypo
Matthew Newton [Thu, 20 Jul 2023 16:47:05 +0000 (17:47 +0100)] 
typo

2 years agoAdd BEGIN-VENDOR and END-VENDOR to Calix dictionary
Nick Porter [Thu, 27 Jul 2023 11:24:58 +0000 (12:24 +0100)] 
Add BEGIN-VENDOR and END-VENDOR to Calix dictionary

2 years agoadd Calix-Role in Calix Dictionary (#5121)
bryan [Thu, 27 Jul 2023 05:24:22 +0000 (13:24 +0800)] 
add Calix-Role in Calix Dictionary (#5121)

2 years agotls: The 'untrusted' is only when OCSP + OpenSSL >= 1.1.x (#5120)
Jorge Pereira [Wed, 26 Jul 2023 04:07:22 +0000 (01:07 -0300)] 
tls: The 'untrusted' is only when OCSP + OpenSSL >= 1.1.x (#5120)

2 years agofix arguments
Alan T. DeKok [Tue, 25 Jul 2023 16:45:53 +0000 (09:45 -0700)] 
fix arguments

2 years agoFix typo (#5118)
Jorge Pereira [Mon, 24 Jul 2023 23:52:38 +0000 (20:52 -0300)] 
Fix typo (#5118)

2 years agoPass untrusted intermediate certs to OCSP_basic_verify (#5113)
Roc13x [Sun, 23 Jul 2023 19:35:31 +0000 (20:35 +0100)] 
Pass untrusted intermediate certs to OCSP_basic_verify (#5113)

Many OCSP responders don't reply with the full cert chain, so OCSP_basic_verify should be passed any intermediate certs associated with the client certificate being checked, to help it build a full chain.

2 years agoRevert "don't add Message-Authenticator for TLS connections"
Alan T. DeKok [Sun, 23 Jul 2023 13:54:33 +0000 (06:54 -0700)] 
Revert "don't add Message-Authenticator for TLS connections"

This reverts commit aa705d01bf17437597fa969fe58b535b9badd230.

on second though, many existing RADIUS/TLS clients will expect
to see Message-Authenticator

2 years agodon't add Message-Authenticator for TLS connections
Alan T. DeKok [Fri, 21 Jul 2023 19:12:34 +0000 (15:12 -0400)] 
don't add Message-Authenticator for TLS connections

which by definition also matches RADIUSv11 connections

2 years agowarn if RADIUSv1.1 and TLS <1.3
Alan T. DeKok [Thu, 20 Jul 2023 11:18:10 +0000 (07:18 -0400)] 
warn if RADIUSv1.1 and TLS <1.3

2 years agoCentOS 7 docker image does not appear to run post install script
Nick Porter [Mon, 17 Jul 2023 12:26:55 +0000 (13:26 +0100)] 
CentOS 7 docker image does not appear to run post install script

Standard CentOS 7 runs the script correctly

2 years agocheck the request we reference, not the current request
Alan T. DeKok [Sat, 15 Jul 2023 11:35:32 +0000 (07:35 -0400)] 
check the request we reference, not the current request

2 years agorpm: don't put example certs in the package
Matthew Newton [Fri, 14 Jul 2023 20:40:16 +0000 (21:40 +0100)] 
rpm: don't put example certs in the package

They're generated when the package is installed

2 years agoalso install raddb/certs/realms
Matthew Newton [Fri, 14 Jul 2023 21:06:46 +0000 (22:06 +0100)] 
also install raddb/certs/realms

2 years agofix timeout for -p N. Fixes #5106
Alan T. DeKok [Wed, 12 Jul 2023 14:11:52 +0000 (10:11 -0400)] 
fix timeout for -p N.  Fixes #5106

2 years agohandler->identity can be const
Alan T. DeKok [Fri, 7 Jul 2023 14:44:34 +0000 (10:44 -0400)] 
handler->identity can be const

and it's already parented from handler, so we don't need to
explicitly free it

2 years agoconfiguration to allow empty identities for TEAP
Alan T. DeKok [Fri, 7 Jul 2023 14:32:46 +0000 (10:32 -0400)] 
configuration to allow empty identities for TEAP

2 years agomake all of the things unconst
Alan T. DeKok [Mon, 3 Jul 2023 19:18:41 +0000 (15:18 -0400)] 
make all of the things unconst

2 years agoRevert "this function should take "const""
Alan T. DeKok [Mon, 3 Jul 2023 19:17:48 +0000 (15:17 -0400)] 
Revert "this function should take "const""

This reverts commit 9d94c6b91becf6708d8fd36adca9834c482debbd.

stupid OpenSSL functions don't take "const"

2 years agostatic analysis fixes
Alan T. DeKok [Mon, 3 Jul 2023 19:04:40 +0000 (15:04 -0400)] 
static analysis fixes

2 years agothis function should take "const"
Alan T. DeKok [Mon, 3 Jul 2023 19:03:01 +0000 (15:03 -0400)] 
this function should take "const"

2 years agomore TEAP cleanups and fixes
Alan T. DeKok [Mon, 3 Jul 2023 18:43:29 +0000 (14:43 -0400)] 
more TEAP cleanups and fixes

2 years agoquiet clang scan. Fixes #5090
Alan T. DeKok [Sat, 1 Jul 2023 11:48:27 +0000 (07:48 -0400)] 
quiet clang scan. Fixes #5090

2 years agonote recent changes
Alan T. DeKok [Fri, 30 Jun 2023 18:35:40 +0000 (14:35 -0400)] 
note recent changes

2 years agocalculate exponential moving average statistics
Alan T. DeKok [Fri, 30 Jun 2023 18:22:23 +0000 (14:22 -0400)] 
calculate exponential moving average statistics

2 years agocorrect calculation of statistics
Alan T. DeKok [Fri, 30 Jun 2023 18:22:05 +0000 (14:22 -0400)] 
correct calculation of statistics