]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 years agoImprove queries for processing radacct into periodic usage data
Nick Porter [Wed, 12 Oct 2022 10:37:17 +0000 (11:37 +0100)] 
Improve queries for processing radacct into periodic usage data

Removing `OR` from the query allows better index usage

3 years agoTypo
Nick Porter [Wed, 12 Oct 2022 10:32:55 +0000 (11:32 +0100)] 
Typo

3 years agoupdate docs to be in line with functionality
Alan T. DeKok [Tue, 11 Oct 2022 22:57:04 +0000 (18:57 -0400)] 
update docs to be in line with functionality

3 years agorediswho: Fix typo (#4756)
Jorge Pereira [Wed, 5 Oct 2022 19:32:15 +0000 (16:32 -0300)] 
rediswho: Fix typo (#4756)

3 years agoupdate changelog
Matthew Newton [Wed, 28 Sep 2022 23:12:24 +0000 (00:12 +0100)] 
update changelog

note #4441 fixed

3 years agorefresh configure scripts
Matthew Newton [Wed, 28 Sep 2022 22:50:52 +0000 (23:50 +0100)] 
refresh configure scripts

3 years agoadd python.m4 for detecting python > 3.10
Matthew Newton [Wed, 28 Sep 2022 22:49:32 +0000 (23:49 +0100)] 
add python.m4 for detecting python > 3.10

3 years agorefresh.
Alan T. DeKok [Mon, 26 Sep 2022 21:53:08 +0000 (17:53 -0400)] 
refresh.

3 years agoenable parallel builds for debian
Alexander Clouter [Mon, 29 Aug 2022 12:28:36 +0000 (13:28 +0100)] 
enable parallel builds for debian

3 years agoadd attribute. Fixes #4608
Alan T. DeKok [Sun, 10 Jul 2022 12:14:34 +0000 (08:14 -0400)] 
add attribute. Fixes #4608

3 years agoNokia SR dict: Cleanup and freshen against July 2022 reference
Jorge Pereira [Tue, 20 Sep 2022 14:10:50 +0000 (15:10 +0100)] 
Nokia SR dict: Cleanup and freshen against July 2022 reference

3 years agoBump for v3.0.27
Matthew Newton [Tue, 20 Sep 2022 19:26:27 +0000 (20:26 +0100)] 
Bump for v3.0.27

3 years agorelease 3.0.26 release_3_0_26
Matthew Newton [Tue, 20 Sep 2022 13:45:21 +0000 (14:45 +0100)] 
release 3.0.26

3 years agoas sent via email
Alan T. DeKok [Sun, 28 Aug 2022 14:37:13 +0000 (10:37 -0400)] 
as sent via email

3 years agoupdate ChangeLog
Matthew Newton [Mon, 19 Sep 2022 11:13:54 +0000 (12:13 +0100)] 
update ChangeLog

3 years agoRun Ubuntu 18.04 on older image due to packaging issue
Nick Porter [Mon, 5 Sep 2022 13:27:35 +0000 (14:27 +0100)] 
Run Ubuntu 18.04 on older image due to packaging issue

Broken in September 2022 update

3 years agoMove CI to run on Ubuntu 20.04
Nick Porter [Mon, 5 Sep 2022 09:44:32 +0000 (10:44 +0100)] 
Move CI to run on Ubuntu 20.04

3 years agonote recent changes (#4705)
Jorge Pereira [Mon, 5 Sep 2022 16:41:51 +0000 (13:41 -0300)] 
note recent changes (#4705)

3 years agotypo
Alan T. DeKok [Mon, 29 Aug 2022 19:40:43 +0000 (15:40 -0400)] 
typo

3 years agoensure that we run the correct post-auth section
Alan T. DeKok [Mon, 15 Aug 2022 20:06:56 +0000 (16:06 -0400)] 
ensure that we run the correct post-auth section

3 years agomore "mention Active Directory by name"
Alan T. DeKok [Wed, 1 Jun 2022 10:48:21 +0000 (06:48 -0400)] 
more "mention Active Directory by name"

3 years agomention Active Directory and Auth-Type and "bind as user"
Alan T. DeKok [Wed, 1 Jun 2022 10:44:22 +0000 (06:44 -0400)] 
mention Active Directory and Auth-Type and "bind as user"

so that it will be easier for people to tell that those changes
are needed for them.

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