]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 years agoAdd covaro dictionary
Nick Porter [Wed, 20 Apr 2022 11:17:29 +0000 (12:17 +0100)] 
Add covaro dictionary

3 years agoremove fixed length
Alan T. DeKok [Fri, 15 Apr 2022 16:53:43 +0000 (12:53 -0400)] 
remove fixed length

the dictionary validator complains, and the encoder/decoder
don't support it.

3 years agoadd test cases
Alan T. DeKok [Fri, 15 Apr 2022 16:40:14 +0000 (12:40 -0400)] 
add test cases

3 years agoadd new RADIUS dictionary
Alan T. DeKok [Fri, 15 Apr 2022 16:38:22 +0000 (12:38 -0400)] 
add new RADIUS dictionary

3 years agoallow EVS attributes, too
Alan T. DeKok [Fri, 15 Apr 2022 16:36:27 +0000 (12:36 -0400)] 
allow EVS attributes, too

3 years agoupdate docs
Alan T. DeKok [Fri, 15 Apr 2022 12:46:42 +0000 (08:46 -0400)] 
update docs

3 years agoAdd adva dictionary
Nick Porter [Fri, 15 Apr 2022 10:48:41 +0000 (11:48 +0100)] 
Add adva dictionary

3 years agonote recent changes
Alan T. DeKok [Thu, 7 Apr 2022 15:01:35 +0000 (11:01 -0400)] 
note recent changes

3 years agodocument and give examples for templates
Alan T. DeKok [Thu, 7 Apr 2022 15:01:17 +0000 (11:01 -0400)] 
document and give examples for templates

3 years agoUse correct apt option for retries
Nick Porter [Mon, 4 Apr 2022 14:01:38 +0000 (15:01 +0100)] 
Use correct apt option for retries

3 years agoBackport improvements to Debian CI tests
Nick Porter [Mon, 4 Apr 2022 13:15:48 +0000 (14:15 +0100)] 
Backport improvements to Debian CI tests

3 years agoFix handling of affected_rows for FreeTDS SQL driver
Nick Porter [Fri, 1 Apr 2022 14:31:36 +0000 (15:31 +0100)] 
Fix handling of affected_rows for FreeTDS SQL driver

After all the required calls to ct_results(), the internal counter of
affected rows is reset.  So, retrieve it whilst still available and store
for later use.

3 years agoAdd AcctUpdateTime and AcctInterval to MS SQL accounting tables
Nick Porter [Fri, 1 Apr 2022 14:30:22 +0000 (15:30 +0100)] 
Add AcctUpdateTime and AcctInterval to MS SQL accounting tables

To bring them in line with other databases

3 years agoCorrect errors in MS SQL accounting queries
Nick Porter [Fri, 1 Apr 2022 14:29:19 +0000 (15:29 +0100)] 
Correct errors in MS SQL accounting queries

3 years agowe always need packet && reply. Fixes #4447
Alan T. DeKok [Fri, 1 Apr 2022 16:38:30 +0000 (12:38 -0400)] 
we always need packet && reply.  Fixes #4447

3 years agoFix MS SQL accounting queries
Nick Porter [Thu, 31 Mar 2022 10:52:50 +0000 (11:52 +0100)] 
Fix MS SQL accounting queries

Don't try to insert data into a column which isn't in the table

3 years agoAdd netelastic dictionary
Matthew Newton [Wed, 30 Mar 2022 16:44:00 +0000 (17:44 +0100)] 
Add netelastic dictionary

3 years agoCorrect sqlippool queries for MS SQL Server
Nick Porter [Mon, 28 Mar 2022 09:03:23 +0000 (10:03 +0100)] 
Correct sqlippool queries for MS SQL Server

3 years agotls: remove version from tls_info_t and use SSL_version directly
Alexander Clouter [Mon, 28 Mar 2022 16:40:13 +0000 (17:40 +0100)] 
tls: remove version from tls_info_t and use SSL_version directly

3 years agotls: make things work with OpenSSL 3.0
Alexander Clouter [Mon, 28 Mar 2022 16:19:47 +0000 (17:19 +0100)] 
tls: make things work with OpenSSL 3.0

Tested against:
 * hostap 2.10 {SSL 1.1.1,3.0.2} <-> FreeRADIUS {SSL 1.1.1,3.0.2}: TLS 1.0, 1.1, 1.2 and 1.3
 * Windows 11 <-> FreeRADIUS {SSL 1.1.1,3.0.2}: TLS 1.2 and 1.3 for TTLS/PAP and PEAP/EAP-MSCHAPV2

3 years agouse SSL_version(). which is safer
Alan T. DeKok [Mon, 28 Mar 2022 19:17:26 +0000 (15:17 -0400)] 
use SSL_version(). which is safer

3 years agonotes for cache_eap
Alan T. DeKok [Mon, 28 Mar 2022 19:00:07 +0000 (15:00 -0400)] 
notes for cache_eap

3 years agoremove cache_eap.
Alan T. DeKok [Mon, 28 Mar 2022 18:56:47 +0000 (14:56 -0400)] 
remove cache_eap.

It doesn't work, and offers no benefit.

3 years agonote recent changes
Alan T. DeKok [Wed, 23 Mar 2022 16:55:59 +0000 (12:55 -0400)] 
note recent changes

3 years agoadd freeradius-freetds deb package
Matthew Newton [Thu, 24 Mar 2022 19:35:48 +0000 (19:35 +0000)] 
add freeradius-freetds deb package

we already build a .rpm, so may as well build a .deb too

3 years agoeveryone seems to hate 'which' these days
Matthew Newton [Wed, 23 Mar 2022 19:45:35 +0000 (19:45 +0000)] 
everyone seems to hate 'which' these days

3 years agoinstall raduat in rpm/deb packages
Matthew Newton [Wed, 23 Mar 2022 18:36:05 +0000 (18:36 +0000)] 
install raduat in rpm/deb packages

3 years agoAdd attributes for Ruckus SmartCell Insight (#4417)
Tiger Huang [Thu, 24 Mar 2022 16:18:21 +0000 (00:18 +0800)] 
Add attributes for Ruckus SmartCell Insight (#4417)

Ref: https://docs.commscope.com/bundle/sci-5.5-user-guide/page/GUID-58C0D969-59B8-4B3A-BF39-B095171B48CE.html

3 years agodon't try to open a new socket if we're full
Alan T. DeKok [Wed, 23 Mar 2022 16:47:45 +0000 (12:47 -0400)] 
don't try to open a new socket if we're full

i.e. instead of "open, add, fail, close", it's "try to open, fail"

which avoids work and potential race conditions.

The downside is that there is a small race condition where sometimes
it will either open (or not) new connections when the list is almost
full.  Either situation is fine, and should be handled by the code.

The important thing is to give the admin an earlier error, and
a more descriptive error.

3 years agoadd fr_event_list_full()
Alan T. DeKok [Wed, 23 Mar 2022 16:44:21 +0000 (12:44 -0400)] 
add fr_event_list_full()

3 years agodon't print "adding" message twice
Alan T. DeKok [Wed, 23 Mar 2022 16:23:52 +0000 (12:23 -0400)] 
don't print "adding" message twice

3 years agoEOL proxy listeners on failure, instead of removing them "now"
Alan T. DeKok [Wed, 23 Mar 2022 16:00:07 +0000 (12:00 -0400)] 
EOL proxy listeners on failure, instead of removing them "now"

We can create a proxy listener and use it, and then later find out
that it can't be added to the event loop.  At that point we
shouldn't simply remove the socket, we should gracefully EOL it.

3 years agotrack proxy count even when not using TCP
Alan T. DeKok [Wed, 23 Mar 2022 15:56:04 +0000 (11:56 -0400)] 
track proxy count even when not using TCP

event_new_fd() assumes that it can poke "count" even when TCP
isn't being used.  So we might as well make "count" always
available.

3 years agowe don't need this
Alan T. DeKok [Tue, 22 Mar 2022 21:37:45 +0000 (17:37 -0400)] 
we don't need this

3 years agoci: Bump OpenSSL version for 3.0.2 (#4435)
Jorge Pereira [Tue, 22 Mar 2022 19:01:42 +0000 (16:01 -0300)] 
ci: Bump OpenSSL version for 3.0.2 (#4435)

3 years agotest: Remove listen{} detail (#4411)
Jorge Pereira [Tue, 22 Mar 2022 17:19:33 +0000 (14:19 -0300)] 
test: Remove listen{} detail (#4411)

It only pollutes the logs. We don't need it.

3 years agocomment out code which seems to have broken TLS 1.3
Alan T. DeKok [Tue, 22 Mar 2022 13:12:01 +0000 (09:12 -0400)] 
comment out code which seems to have broken TLS 1.3

3 years agoremove unused assignment
Alan T. DeKok [Tue, 22 Mar 2022 12:50:45 +0000 (08:50 -0400)] 
remove unused assignment

3 years agoTypo in Roaring-Penguin dictionary (#4421)
Terry Burton [Fri, 18 Mar 2022 12:26:00 +0000 (12:26 +0000)] 
Typo in Roaring-Penguin dictionary (#4421)

3 years agoadd client name to message
Alan T. DeKok [Wed, 16 Mar 2022 12:57:23 +0000 (08:57 -0400)] 
add client name to message

3 years agoupdate docs
Alan T. DeKok [Tue, 15 Mar 2022 15:38:26 +0000 (11:38 -0400)] 
update docs

3 years agodon't create files in /dev
Alan T. DeKok [Mon, 14 Mar 2022 17:04:23 +0000 (13:04 -0400)] 
don't create files in /dev

3 years agotry to get it working with OpenSSL3
Alan T. DeKok [Wed, 9 Mar 2022 16:45:11 +0000 (11:45 -0500)] 
try to get it working with OpenSSL3

3 years agothis is for 3.2, not 3.0
Alan T. DeKok [Tue, 8 Mar 2022 19:01:03 +0000 (14:01 -0500)] 
this is for 3.2, not 3.0

3 years agoRevert "OpenSSL3 sends invalid content types all of the time..."
Alan T. DeKok [Mon, 7 Mar 2022 20:55:03 +0000 (15:55 -0500)] 
Revert "OpenSSL3 sends invalid content types all of the time..."

This reverts commit a1f5fd2213c0104d0e124d804ab8c210c9fedb18.

Windows doesn't like this. :(

3 years agoAdd rocky8 Dockerfile (#4398)
Jorge Pereira [Fri, 4 Mar 2022 14:37:16 +0000 (11:37 -0300)] 
Add rocky8 Dockerfile (#4398)

3 years agomanual port of commit 5906bfa1
Alan T. DeKok [Mon, 28 Feb 2022 15:34:15 +0000 (10:34 -0500)] 
manual port of commit 5906bfa1

3 years agoupdate docs for correct_escapes
Alan T. DeKok [Fri, 25 Feb 2022 14:59:20 +0000 (09:59 -0500)] 
update docs for correct_escapes

3 years agoeap-fast: Fix memory leak in mod_session_init()
Jorge Pereira [Tue, 22 Feb 2022 22:39:01 +0000 (19:39 -0300)] 
eap-fast: Fix memory leak in mod_session_init()

3 years agoeap-fast: Fix missing header
Jorge Pereira [Tue, 22 Feb 2022 22:13:30 +0000 (19:13 -0300)] 
eap-fast: Fix missing header

3 years agoFix missing '&' attributes
Jorge Pereira [Sat, 19 Feb 2022 02:28:19 +0000 (23:28 -0300)] 
Fix missing '&' attributes

3 years agobuild without OpenSSL
Alan T. DeKok [Thu, 24 Feb 2022 19:17:04 +0000 (14:17 -0500)] 
build without OpenSSL

3 years agoone last attempt to appease CI
Alan T. DeKok [Thu, 24 Feb 2022 19:06:10 +0000 (14:06 -0500)] 
one last attempt to appease CI

3 years agoinclude header file
Alan T. DeKok [Thu, 24 Feb 2022 18:55:19 +0000 (13:55 -0500)] 
include header file

3 years agowe need OpenSSL3 init for MD5, too. Fixes #4403
Alan T. DeKok [Thu, 24 Feb 2022 18:39:19 +0000 (13:39 -0500)] 
we need OpenSSL3 init for MD5, too.  Fixes #4403

3 years agoload the OpenSSL legacy providers. Fixes #4403
Alan T. DeKok [Thu, 24 Feb 2022 15:42:01 +0000 (10:42 -0500)] 
load the OpenSSL legacy providers.  Fixes #4403

3 years agoCI: remove duplicate install
Matthew Newton [Wed, 23 Feb 2022 21:46:46 +0000 (21:46 +0000)] 
CI: remove duplicate install

3 years agomove label to avoid spurious messages
Alan T. DeKok [Wed, 23 Feb 2022 05:07:37 +0000 (00:07 -0500)] 
move label to avoid spurious messages

3 years agorlm_mschap: Avoid memory leak (#4402)
Jorge Pereira [Wed, 23 Feb 2022 01:59:07 +0000 (22:59 -0300)] 
rlm_mschap: Avoid memory leak (#4402)

3 years agoFix DIAG_{ON,OFF} for external includes (#4401)
Jorge Pereira [Mon, 21 Feb 2022 14:22:56 +0000 (11:22 -0300)] 
Fix DIAG_{ON,OFF} for external includes (#4401)

3 years agonote recent changes
Alan T. DeKok [Wed, 16 Feb 2022 19:16:53 +0000 (14:16 -0500)] 
note recent changes

3 years agolook at attr[0], not other variable
Alan T. DeKok [Wed, 9 Feb 2022 14:38:38 +0000 (09:38 -0500)] 
look at attr[0], not other variable

3 years agoxsupplicant is no more
Alan T. DeKok [Wed, 9 Feb 2022 14:18:47 +0000 (09:18 -0500)] 
xsupplicant is no more

3 years agoci-rpm: Fix Centos 8 CI build (#4396)
Jorge Pereira [Wed, 9 Feb 2022 14:17:53 +0000 (11:17 -0300)] 
ci-rpm: Fix Centos 8 CI build (#4396)

3 years agoit's probably wrong to be completely retarded. Let's fix that.
Alan T. DeKok [Tue, 8 Feb 2022 03:26:05 +0000 (22:26 -0500)] 
it's probably wrong to be completely retarded.  Let's fix that.

3 years agoon second thought, we still want to read more
Alan T. DeKok [Sun, 6 Feb 2022 22:22:14 +0000 (17:22 -0500)] 
on second thought, we still want to read more

3 years agoSSL want read/write is fine if there's already data in the buffer
Alan T. DeKok [Sun, 6 Feb 2022 22:14:15 +0000 (17:14 -0500)] 
SSL want read/write is fine if there's already data in the buffer

3 years agoit's an error, so use REDEBUG
Alan T. DeKok [Sun, 6 Feb 2022 22:14:02 +0000 (17:14 -0500)] 
it's an error, so use REDEBUG

3 years agoFix how we check TLS1.3 support
Jorge Pereira [Mon, 31 Jan 2022 21:34:15 +0000 (18:34 -0300)] 
Fix how we check TLS1.3 support

If the 'openssl' says that support TLS 1.3, then we assume FreeRADIUS
and 'eapol_test' enabled it.

3 years agoupdate
Alan T. DeKok [Fri, 4 Feb 2022 14:37:06 +0000 (09:37 -0500)] 
update

3 years agoport fixes from master
Alan T. DeKok [Fri, 4 Feb 2022 14:36:26 +0000 (09:36 -0500)] 
port fixes from master

via the simple expedient of copying the entire function, with
some minor changes to work in v3

3 years agoreset buffer after using it
Alan T. DeKok [Fri, 4 Feb 2022 13:41:54 +0000 (08:41 -0500)] 
reset buffer after using it

3 years agoclean_out might have data in it
Alan T. DeKok [Fri, 4 Feb 2022 13:20:42 +0000 (08:20 -0500)] 
clean_out might have data in it

3 years agodon't reset clean_out here, either.
Alan T. DeKok [Fri, 4 Feb 2022 12:56:39 +0000 (07:56 -0500)] 
don't reset clean_out here, either.

3 years agotest for CI.
Alan T. DeKok [Thu, 3 Feb 2022 21:05:23 +0000 (16:05 -0500)] 
test for CI.

the earlier call to SSL_read() writes data to clean_out.  So it
doesn't really make sense to wipe out that data by calling
record_init().  Instead, it should be left there for later
reading by something else in the various SSL handlers.

3 years agonote recent changes
Alan T. DeKok [Thu, 3 Feb 2022 15:41:46 +0000 (10:41 -0500)] 
note recent changes

3 years agoword smithing
Alan T. DeKok [Thu, 3 Feb 2022 15:25:42 +0000 (10:25 -0500)] 
word smithing

3 years agoword smithing
Alan T. DeKok [Thu, 3 Feb 2022 15:14:34 +0000 (10:14 -0500)] 
word smithing

3 years agoupdates and word smithing
Alan T. DeKok [Thu, 3 Feb 2022 14:34:52 +0000 (09:34 -0500)] 
updates and word smithing

3 years agoAdd sample LDAP module configuration and site for authentication using (#4393)
Nick Porter [Thu, 3 Feb 2022 14:17:11 +0000 (14:17 +0000)] 
Add sample LDAP module configuration and site for authentication using (#4393)

Google Secure LDAP service.

In addition sample instances of rlm_cache are provided for potential
performance improvements.

3 years agoci-rpm: As Centos8 is EOL, let's use the Rocky
Jorge Pereira [Wed, 2 Feb 2022 15:38:27 +0000 (12:38 -0300)] 
ci-rpm: As Centos8 is EOL, let's use the Rocky

3 years agotls: Fix typo (#4389)
Jorge Pereira [Wed, 2 Feb 2022 15:59:11 +0000 (12:59 -0300)] 
tls: Fix typo (#4389)

3 years agotypo
Alan T. DeKok [Tue, 1 Feb 2022 23:38:23 +0000 (18:38 -0500)] 
typo

3 years agonote recent changes
Alan T. DeKok [Tue, 1 Feb 2022 23:29:54 +0000 (18:29 -0500)] 
note recent changes

3 years agoRead if we get lots of data. Fixes #4388
Alan T. DeKok [Tue, 1 Feb 2022 23:26:14 +0000 (18:26 -0500)] 
Read if we get lots of data.  Fixes #4388

If the SSL session isn't complete after handshake, and there
aren't more writes to do, then there is more data on the socket
to be read.  Return, so that we can read more data.

3 years agoradiusd.mk: Fix typo
Jorge Pereira [Tue, 1 Feb 2022 02:07:35 +0000 (23:07 -0300)] 
radiusd.mk: Fix typo

3 years agoci: Fix RPM build
Jorge Pereira [Tue, 1 Feb 2022 01:30:03 +0000 (22:30 -0300)] 
ci: Fix RPM build

As Centos8 is not a test platform for RHEL. We should use the 'Rocky 8'.

3 years agoci: Fix 'git-core' package URL
Jorge Pereira [Mon, 31 Jan 2022 21:21:04 +0000 (18:21 -0300)] 
ci: Fix 'git-core' package URL

The previous 'packages.endpoint.com' no longer exists.

3 years agotls: Fix typo (#4385)
Jorge Pereira [Mon, 31 Jan 2022 15:21:05 +0000 (12:21 -0300)] 
tls: Fix typo (#4385)

Lets informing the correct parameters

3 years agoupdate docs on SNI
Alan T. DeKok [Sat, 29 Jan 2022 17:29:29 +0000 (12:29 -0500)] 
update docs on SNI

it helps to add "realm_dir" to the configuration examples

3 years agonote recent changes
Alan T. DeKok [Wed, 26 Jan 2022 20:22:49 +0000 (15:22 -0500)] 
note recent changes

3 years agoFix SQL/db2 build (#4384)
Jorge Pereira [Fri, 28 Jan 2022 21:38:00 +0000 (18:38 -0300)] 
Fix SQL/db2 build (#4384)

3 years agoFixes for v3
Arran Cudbard-Bell [Thu, 27 Jan 2022 19:59:10 +0000 (13:59 -0600)] 
Fixes for v3

3 years agocheck for NULL
Alan T. DeKok [Wed, 26 Jan 2022 16:39:07 +0000 (11:39 -0500)] 
check for NULL

3 years agocall closedir(), too. Fixes #4378
Alan T. DeKok [Wed, 26 Jan 2022 16:21:31 +0000 (11:21 -0500)] 
call closedir(), too.  Fixes #4378

3 years agotls13_enable is no longer in radiusd
Alan T. DeKok [Tue, 25 Jan 2022 20:41:17 +0000 (15:41 -0500)] 
tls13_enable is no longer in radiusd

TLS 1.3 is always enabled, if OpenSSL supports it

3 years agoupdate warnign message
Alan T. DeKok [Fri, 21 Jan 2022 22:24:19 +0000 (17:24 -0500)] 
update warnign message

3 years agoallow TLS 1.3 for PEAP and TTLS
Alan T. DeKok [Fri, 21 Jan 2022 22:21:46 +0000 (17:21 -0500)] 
allow TLS 1.3 for PEAP and TTLS

3 years agoeapol_test-build.sh: Fix typo (#4376)
Jorge Pereira [Tue, 25 Jan 2022 20:17:30 +0000 (17:17 -0300)] 
eapol_test-build.sh: Fix typo (#4376)

The scripts stdout should be only the 'eapol_test' binary.
Therefore, let's redirect these messages to stderr.

3 years agoDrop FR_LOCATE_DIR(). refs #4318 (#4364)
Jorge Pereira [Tue, 25 Jan 2022 15:47:19 +0000 (12:47 -0300)] 
Drop FR_LOCATE_DIR(). refs #4318 (#4364)

Calling "locate" to find include and library paths makes no sense. The
locate database may contain paths comprised of files meant for entirely
different toolchains.