]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

2 years agocanonicalize tmpl attributes.
Alan T. DeKok [Fri, 30 Jun 2023 13:39:08 +0000 (09:39 -0400)] 
canonicalize tmpl attributes.

We can have multiple attributes with the same name.  In which case
when the duplicate name is used, that reference should be replaced
by a reference to the canonical name.

2 years agoback-port "make tests.keywords.foo" from v4
Alan T. DeKok [Fri, 30 Jun 2023 13:21:40 +0000 (09:21 -0400)] 
back-port "make tests.keywords.foo" from v4

2 years agoput common file into common directory
Alan T. DeKok [Fri, 30 Jun 2023 13:09:30 +0000 (09:09 -0400)] 
put common file into common directory

2 years agofix various compiler complaints
Alan T. DeKok [Fri, 30 Jun 2023 11:37:11 +0000 (07:37 -0400)] 
fix various compiler complaints

2 years agoadd internal "name" to tls_server_conf_t
Alan T. DeKok [Tue, 27 Jun 2023 19:59:15 +0000 (15:59 -0400)] 
add internal "name" to tls_server_conf_t

so that when the TLS code prints out debugging information, it
can print out "RADIUS/TLS proxy" or "RADIUS/TLS listen" or even
the individual EAP type

2 years agodocument TOTP-Key
Alan T. DeKok [Fri, 23 Jun 2023 12:49:53 +0000 (08:49 -0400)] 
document TOTP-Key

2 years agoas sent via email
Alan T. DeKok [Thu, 22 Jun 2023 13:41:45 +0000 (09:41 -0400)] 
as sent via email

2 years agofix email address
Alan T. DeKok [Wed, 21 Jun 2023 12:46:10 +0000 (08:46 -0400)] 
fix email address

2 years agoadd debian 12 bookworm to CI
Matthew Newton [Sun, 11 Jun 2023 22:59:18 +0000 (23:59 +0100)] 
add debian 12 bookworm to CI

2 years agodon't stop on eapol_test compile warnings
Matthew Newton [Tue, 20 Jun 2023 19:28:18 +0000 (20:28 +0100)] 
don't stop on eapol_test compile warnings

2 years agodocker: use similar m4 template system as for crossbuild
Matthew Newton [Tue, 20 Jun 2023 15:34:35 +0000 (16:34 +0100)] 
docker: use similar m4 template system as for crossbuild

Share the top-level template so image information only needs to be
updated in one place, and use "regen" in both places to avoid
confusion.

2 years agoquiet things some more
Alan T. DeKok [Tue, 20 Jun 2023 16:11:31 +0000 (12:11 -0400)] 
quiet things some more

2 years agofix for WITHOUT_TCP
Alan T. DeKok [Tue, 20 Jun 2023 16:10:49 +0000 (12:10 -0400)] 
fix for WITHOUT_TCP

2 years agoone more printf fix
Alan T. DeKok [Tue, 20 Jun 2023 15:51:08 +0000 (11:51 -0400)] 
one more printf fix

2 years agofix printf arguments
Alan T. DeKok [Tue, 20 Jun 2023 15:31:16 +0000 (11:31 -0400)] 
fix printf arguments

2 years agocleanups to allow it to build
Alan T. DeKok [Tue, 20 Jun 2023 13:47:32 +0000 (09:47 -0400)] 
cleanups to allow it to build

2 years agoa bit more debugging information
Alan T. DeKok [Tue, 20 Jun 2023 13:27:53 +0000 (09:27 -0400)] 
a bit more debugging information

2 years agoFix typo (#5068)
Jorge Pereira [Tue, 20 Jun 2023 04:44:26 +0000 (01:44 -0300)] 
Fix typo (#5068)

Nested attributes is not available in v3.2.x

2 years agoFix Redhat CI (#5069)
Jorge Pereira [Tue, 20 Jun 2023 04:41:18 +0000 (01:41 -0300)] 
Fix Redhat CI (#5069)

It was missing DPSK file.

2 years agodefine, use, and cache PSK-Identity
Alan T. DeKok [Mon, 19 Jun 2023 17:30:18 +0000 (13:30 -0400)] 
define, use, and cache PSK-Identity

2 years agoadd more warnings
Alan T. DeKok [Mon, 19 Jun 2023 16:11:31 +0000 (12:11 -0400)] 
add more warnings

2 years agoadd filename for reading MACs from a CSV file
Alan T. DeKok [Mon, 19 Jun 2023 15:37:29 +0000 (11:37 -0400)] 
add filename for reading MACs from a CSV file

2 years agominor rearrangements in preparation for looping
Alan T. DeKok [Mon, 19 Jun 2023 12:14:55 +0000 (08:14 -0400)] 
minor rearrangements in preparation for looping

2 years agostart of test cases so they're not forgotten
Alan T. DeKok [Fri, 16 Jun 2023 21:04:54 +0000 (17:04 -0400)] 
start of test cases so they're not forgotten

2 years agominor fixes to make it work
Alan T. DeKok [Fri, 16 Jun 2023 21:04:31 +0000 (17:04 -0400)] 
minor fixes to make it work

2 years agoadd internal cache of entries
Alan T. DeKok [Fri, 16 Jun 2023 20:03:11 +0000 (16:03 -0400)] 
add internal cache of entries

which should speed it up rather substantially if the entry is
cached.

2 years agodpsk requires OpenSSL
Alan T. DeKok [Fri, 16 Jun 2023 15:53:48 +0000 (11:53 -0400)] 
dpsk requires OpenSSL

2 years agoadd rlm_dpsk
Alan T. DeKok [Fri, 16 Jun 2023 15:34:24 +0000 (11:34 -0400)] 
add rlm_dpsk

2 years agoCI: add job to check all crossbuild docker images work
Matthew Newton [Thu, 15 Jun 2023 22:43:00 +0000 (23:43 +0100)] 
CI: add job to check all crossbuild docker images work

2 years agocrossbuild: newer systems disable TLS1.1 but we need it for testing
Matthew Newton [Thu, 15 Jun 2023 18:12:52 +0000 (19:12 +0100)] 
crossbuild: newer systems disable TLS1.1 but we need it for testing

2 years agocrossbuild: don't set rpm BUILDDIR
Matthew Newton [Thu, 15 Jun 2023 17:54:35 +0000 (18:54 +0100)] 
crossbuild: don't set rpm BUILDDIR

It clashes with eapol_test, which uses BUILDDIR internally in its
makefiles :(. We're using the default anyway.

2 years agocrossbuild: update docs
Matthew Newton [Thu, 15 Jun 2023 09:49:16 +0000 (10:49 +0100)] 
crossbuild: update docs

update common builds

2 years agocrossbuild: add recent OSes
Matthew Newton [Thu, 15 Jun 2023 09:07:13 +0000 (10:07 +0100)] 
crossbuild: add recent OSes

debian11
debian12
ubuntu22
rocky8
rocky9

2 years agocrossbuild: generate Dockerfiles from m4 templates
Matthew Newton [Thu, 15 Jun 2023 09:11:01 +0000 (10:11 +0100)] 
crossbuild: generate Dockerfiles from m4 templates

bump up from node v10 to v14

2 years agocrossbuild: remove centos8
Matthew Newton [Thu, 15 Jun 2023 09:09:32 +0000 (10:09 +0100)] 
crossbuild: remove centos8

2 years agobe helpful and show where the test radiusd is logging to
Matthew Newton [Thu, 15 Jun 2023 18:17:16 +0000 (19:17 +0100)] 
be helpful and show where the test radiusd is logging to

2 years agomake consistent
Alan T. DeKok [Thu, 15 Jun 2023 13:19:32 +0000 (09:19 -0400)] 
make consistent

2 years agommake State creation consistent with state.c
Alan T. DeKok [Thu, 15 Jun 2023 13:13:13 +0000 (09:13 -0400)] 
mmake State creation consistent with state.c

2 years agodocument nonblock=yes
Alan T. DeKok [Tue, 13 Jun 2023 15:03:52 +0000 (11:03 -0400)] 
document nonblock=yes

2 years agoallow for EOL of UDP sockets, too.
Alan T. DeKok [Tue, 13 Jun 2023 15:11:52 +0000 (11:11 -0400)] 
allow for EOL of UDP sockets, too.

which also helps when building without TCP.

2 years agofix compiler warning when building without TCP. Fixes #5054
Alan T. DeKok [Tue, 13 Jun 2023 14:27:20 +0000 (10:27 -0400)] 
fix compiler warning when building without TCP.  Fixes #5054

2 years agoAuth Lost: Free the state's opaque and ctx storage. Fixes #5055
Alan T. DeKok [Tue, 13 Jun 2023 14:09:30 +0000 (10:09 -0400)] 
Auth Lost: Free the state's opaque and ctx storage.  Fixes #5055

2 years agodocker: add rocky9
Matthew Newton [Mon, 12 Jun 2023 16:42:05 +0000 (17:42 +0100)] 
docker: add rocky9

2 years agoCI: fix with latest mariadb 11 docker image
Matthew Newton [Mon, 12 Jun 2023 19:21:24 +0000 (20:21 +0100)] 
CI: fix with latest mariadb 11 docker image

ref https://jira.mariadb.org/browse/MDBF-568

2 years agodocker: add debian 12 bookworm
Matthew Newton [Mon, 12 Jun 2023 15:52:18 +0000 (16:52 +0100)] 
docker: add debian 12 bookworm

2 years agogenerate dockerfiles from m4 templates
Matthew Newton [Mon, 12 Jun 2023 15:40:02 +0000 (16:40 +0100)] 
generate dockerfiles from m4 templates

It's getting tedious updating them all individually

2 years agodocker: remove obsolete OSes
Matthew Newton [Mon, 12 Jun 2023 15:32:00 +0000 (16:32 +0100)] 
docker: remove obsolete OSes

debian 8/9, ubuntu 16.04

2 years agodocker: remove duplicate lines
Matthew Newton [Mon, 12 Jun 2023 13:02:57 +0000 (14:02 +0100)] 
docker: remove duplicate lines

2 years agoFix formatting (#5045)
Jorge Pereira [Mon, 12 Jun 2023 16:43:06 +0000 (13:43 -0300)] 
Fix formatting (#5045)

2 years agodhcpclient: Better message to avoid bad experience (#5038)
Jorge Pereira [Mon, 12 Jun 2023 16:42:48 +0000 (13:42 -0300)] 
dhcpclient: Better message to avoid bad experience (#5038)

* dhcpclient: Better message to avoid bad experience

Even in debug mode (-x), its impossible to know if the client is blocked
or trying something.

2 years agocomment teap out by default
Matthew Newton [Fri, 9 Jun 2023 08:49:29 +0000 (09:49 +0100)] 
comment teap out by default

so CI passes on centos7

2 years agodisable TEAP in RHEL 7 packages
Matthew Newton [Thu, 8 Jun 2023 15:38:01 +0000 (16:38 +0100)] 
disable TEAP in RHEL 7 packages

which only has OpenSSL 1.0

2 years agoTEAP needs OpenSSL 1.1
Matthew Newton [Wed, 7 Jun 2023 23:36:54 +0000 (00:36 +0100)] 
TEAP needs OpenSSL 1.1

2 years agoensure rlm_eap_teap can be disabled
Matthew Newton [Wed, 7 Jun 2023 22:39:33 +0000 (23:39 +0100)] 
ensure rlm_eap_teap can be disabled

2 years agouse uppercase FALL-THROUGH
Alan T. DeKok [Thu, 8 Jun 2023 15:00:29 +0000 (17:00 +0200)] 
use uppercase FALL-THROUGH

and minor cleanups

2 years agonote recent changes
Alan T. DeKok [Thu, 8 Jun 2023 14:48:02 +0000 (16:48 +0200)] 
note recent changes

2 years agoupdate to latest version of the RFC
Alan T. DeKok [Thu, 8 Jun 2023 14:47:46 +0000 (16:47 +0200)] 
update to latest version of the RFC

2 years agoadd TEAP to the "magic TLS methods" code
Alan T. DeKok [Thu, 8 Jun 2023 10:22:34 +0000 (12:22 +0200)] 
add TEAP to the "magic TLS methods" code

2 years agointermediate result is 16 bits
Alan T. DeKok [Thu, 8 Jun 2023 10:18:30 +0000 (12:18 +0200)] 
intermediate result is 16 bits

2 years agopull in last fix
Alan T. DeKok [Thu, 8 Jun 2023 10:13:14 +0000 (12:13 +0200)] 
pull in last fix

2 years agonote ca_path restrictions
Alan T. DeKok [Thu, 8 Jun 2023 09:58:49 +0000 (11:58 +0200)] 
note ca_path restrictions

2 years agoadd TEAP example
Alan T. DeKok [Thu, 8 Jun 2023 09:37:59 +0000 (11:37 +0200)] 
add TEAP example