]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 years agoAdd explicit paths for OSX
Alan T. DeKok [Sun, 15 May 2022 14:14:07 +0000 (10:14 -0400)] 
Add explicit paths for OSX

because apparently some of the C compilers aren't built with the
default paths for everything on the system.

3 years agofix up for OSX
Alan T. DeKok [Sat, 14 May 2022 17:30:24 +0000 (13:30 -0400)] 
fix up for OSX

newer versions of clang can't find things.  So we need to manually
add the paths in.

3 years agoRevert "export conflict statistics via radius packets"
Alan T. DeKok [Wed, 11 May 2022 01:53:00 +0000 (21:53 -0400)] 
Revert "export conflict statistics via radius packets"

This reverts commit 90fde2339ee3e548b11d6bd6ee212a4a671fb0a8.

this doesn't belong in 3.0

3 years agothe ditionaries should use -, not _
Alan T. DeKok [Tue, 10 May 2022 12:47:53 +0000 (08:47 -0400)] 
the ditionaries should use -, not _

3 years agoexport conflict statistics via radius packets
Alan T. DeKok [Sat, 7 May 2022 21:38:40 +0000 (17:38 -0400)] 
export conflict statistics via radius packets

3 years agoAdd ciena dictionary
Nick Porter [Fri, 29 Apr 2022 08:22:01 +0000 (09:22 +0100)] 
Add ciena dictionary

3 years agoAdd simultaneous use queries for MS SQL
Nick Porter [Wed, 27 Apr 2022 10:39:00 +0000 (11:39 +0100)] 
Add simultaneous use queries for MS SQL

3 years agoCorrect test for open sessions in radacct for MS SQL
Nick Porter [Wed, 27 Apr 2022 07:45:12 +0000 (08:45 +0100)] 
Correct test for open sessions in radacct for MS SQL

Schema contraints mean AcctStopTime will never be NULL

3 years agodocker: ensure entrypoint is executable
Matthew Newton [Sat, 23 Apr 2022 10:16:14 +0000 (11:16 +0100)] 
docker: ensure entrypoint is executable

fixes #4464

3 years agoCI: tidy and minor speed-ups
Matthew Newton [Fri, 22 Apr 2022 21:49:32 +0000 (22:49 +0100)] 
CI: tidy and minor speed-ups

3 years agowhitespace
Matthew Newton [Thu, 21 Apr 2022 20:10:20 +0000 (21:10 +0100)] 
whitespace

3 years agoDocker updates
Matthew Newton [Fri, 22 Apr 2022 20:55:51 +0000 (21:55 +0100)] 
Docker updates

3 years agodon't complain about missing pragma in GCC
Matthew Newton [Thu, 21 Apr 2022 17:02:26 +0000 (18:02 +0100)] 
don't complain about missing pragma in GCC

3 years agorlm_python3: don't break CI (-Werror)
Matthew Newton [Wed, 20 Apr 2022 09:31:49 +0000 (10:31 +0100)] 
rlm_python3: don't break CI (-Werror)

3 years agoCI: Use self-hosted GitHub runners
Matthew Newton [Tue, 12 Apr 2022 13:29:58 +0000 (14:29 +0100)] 
CI: Use self-hosted GitHub runners

3 years agoCI: Add packages missing from docker that are in the GH image
Matthew Newton [Wed, 20 Apr 2022 09:02:40 +0000 (10:02 +0100)] 
CI: Add packages missing from docker that are in the GH image

3 years agoRemove Jenkins config files
Matthew Newton [Fri, 22 Apr 2022 20:49:43 +0000 (21:49 +0100)] 
Remove Jenkins config files

We don't use these ones any more, so leaving them here gets confusing

3 years agoUpdate dictionary.h3c (#4459)
黯然回首街灯后 [Fri, 15 Apr 2022 01:24:14 +0000 (09:24 +0800)] 
Update dictionary.h3c (#4459)

3 years agoalpine: Changed alpine tagged to 3.13. (#4460)
Heðin Ejdesgaard [Wed, 20 Apr 2022 21:31:34 +0000 (22:31 +0100)] 
alpine: Changed alpine tagged to 3.13. (#4460)

It's the last tag that provides libcouchbase-dev-2.x

3 years agoclean up and simplify error messages
Alan T. DeKok [Wed, 20 Apr 2022 19:08:06 +0000 (15:08 -0400)] 
clean up and simplify error messages

don't include \n.
only include the binary name in the final output, not in each
intermediate message

3 years agodon't print empty errors
Alan T. DeKok [Wed, 20 Apr 2022 19:03:32 +0000 (15:03 -0400)] 
don't print empty errors

3 years agodocument stupid NSS nonsense which breaks LDAP
Alan T. DeKok [Wed, 20 Apr 2022 16:22:24 +0000 (12:22 -0400)] 
document stupid NSS nonsense which breaks LDAP

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