]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 years agoupdate comments and docs
Alan T. DeKok [Mon, 30 May 2022 18:00:40 +0000 (14:00 -0400)] 
update comments and docs

3 years agoclarify error messages
Alan T. DeKok [Mon, 30 May 2022 18:00:20 +0000 (14:00 -0400)] 
clarify error messages

3 years agominor cleanups
Alan T. DeKok [Fri, 27 May 2022 14:11:07 +0000 (10:11 -0400)] 
minor cleanups

3 years agocatch a few more corner cases
Alan T. DeKok [Fri, 27 May 2022 14:07:56 +0000 (10:07 -0400)] 
catch a few more corner cases

these are only hit when things go completely wrong, but it's
important to fix.

3 years agodebian packaging updated permitted range of openssl versions
Nick Porter [Fri, 19 Aug 2022 10:32:55 +0000 (11:32 +0100)] 
debian packaging updated permitted range of openssl versions

3 years agoUbuntu 16.04 is eol and 22.04 is current
Nick Porter [Thu, 4 Aug 2022 12:58:51 +0000 (13:58 +0100)] 
Ubuntu 16.04 is eol and 22.04 is current

3 years agoUse gcc 10 on Debian sid for building eapol_test
Nick Porter [Thu, 4 Aug 2022 14:01:42 +0000 (15:01 +0100)] 
Use gcc 10 on Debian sid for building eapol_test

3 years agoAlign v3.0 deb tests with master
Nick Porter [Thu, 4 Aug 2022 13:01:14 +0000 (14:01 +0100)] 
Align v3.0 deb tests with master

3 years agoDifferentiate runner based on repository owner
Nick Porter [Fri, 19 Aug 2022 09:26:45 +0000 (10:26 +0100)] 
Differentiate runner based on repository owner

Allows repo clones to use GitHub runners

3 years agoDebian sid docker image no longer has /etc/apt/sources.list
Nick Porter [Fri, 15 Jul 2022 16:24:50 +0000 (17:24 +0100)] 
Debian sid docker image no longer has /etc/apt/sources.list

3 years agopatches for OpenSSL3. Fixes #4539
Alan T. DeKok [Thu, 26 May 2022 13:03:59 +0000 (09:03 -0400)] 
patches for OpenSSL3.  Fixes #4539

3 years agoquit C compiler warnings
Alan T. DeKok [Mon, 23 May 2022 20:39:01 +0000 (16:39 -0400)] 
quit C compiler warnings

3 years agohmacmd5: use internal MD5 when FIPS is enabled (#4529)
Antonio Torres Moríñigo [Mon, 23 May 2022 19:57:42 +0000 (21:57 +0200)] 
hmacmd5: use internal MD5 when FIPS is enabled (#4529)

When the system is in FIPS mode, we need to use internal implementation
of MD5 in order to avoid OpenSSL 3.0 provider limitations.

Related: 947d5d6bd2674a60f7320f0b721e4723243c2285
Signed-off-by: Antonio Torres <antorres@redhat.com>
3 years agoload MD5 dynamicall for FIPS. Based on patch from #4511
Alan T. DeKok [Fri, 20 May 2022 19:31:10 +0000 (15:31 -0400)] 
load MD5 dynamicall for FIPS. Based on patch from #4511

3 years agoadd --enable-fips-workaround flag to configure
Alan T. DeKok [Fri, 20 May 2022 15:38:25 +0000 (11:38 -0400)] 
add --enable-fips-workaround flag to configure

which means that we use our internal MD4 / MD5 functions always,
as OpenSSL requires much magic to re-enable them in FIPS mode.

It's easier to just our internal implementations, instead of
butchering the stable v3 release.

The downside is that if you do a default build and then enable
FIPS in OpenSSL, the server will simply not work.  It has to be
re-build with the --enable-fips flag.

3 years agoFix permissions for mods_config/sql extras in rpms
Nick Porter [Fri, 20 May 2022 10:18:24 +0000 (11:18 +0100)] 
Fix permissions for mods_config/sql extras in rpms

3 years agoAdd rpm dependencies for freeradius-config
Nick Porter [Fri, 20 May 2022 09:04:20 +0000 (10:04 +0100)] 
Add rpm dependencies for freeradius-config

Make and runuser are required for the certificate bootstrap script

3 years agoAdd a second run of installing rpm build dependencies
Nick Porter [Thu, 19 May 2022 11:13:24 +0000 (12:13 +0100)] 
Add a second run of installing rpm build dependencies

It has been observed that not all dependencies get installed first time
on Rocky 8

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)