]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
2 years agocheck-eap-tls: Set Reply-Message in the right request's list (#4869) 4871/head
Terry Burton [Fri, 27 Jan 2023 13:02:08 +0000 (13:02 +0000)] 
check-eap-tls: Set Reply-Message in the right request's list (#4869)

2 years agopap: Only look for passwords amongst non-vendor attributes (#4865)
Terry Burton [Thu, 26 Jan 2023 14:05:22 +0000 (14:05 +0000)] 
pap: Only look for passwords amongst non-vendor attributes (#4865)

Otherwise, the following will trigger a "Don't set
control:User-Password" warning:

VENDOR ABC 42
BEGIN-VENDOR ABC
ATTRIBUTE Not-A-Password 2 string
END-VENDOR ABC

update { &control:Not-A-Password := "x" }
pap

2 years agoFix typo. refs #4836 (#4844)
Jorge Pereira [Tue, 10 Jan 2023 16:53:54 +0000 (13:53 -0300)] 
Fix typo. refs #4836 (#4844)

2 years agothis isn't an error
Alan T. DeKok [Sun, 8 Jan 2023 02:46:31 +0000 (21:46 -0500)] 
this isn't an error

2 years agogive better error messages for %{listen:TLS-*}
Alan T. DeKok [Wed, 14 Dec 2022 16:19:03 +0000 (11:19 -0500)] 
give better error messages for %{listen:TLS-*}

2 years agofix various build warnings with newer compilers
Alan T. DeKok [Wed, 14 Dec 2022 16:16:46 +0000 (11:16 -0500)] 
fix various build warnings with newer compilers

2 years agodon't remove the .d file, it's an output file
Alan T. DeKok [Fri, 9 Dec 2022 16:17:05 +0000 (11:17 -0500)] 
don't remove the .d file, it's an output file

which is needed by the target rule

2 years agoMove error handling to outside #ifdef WITH_TLS
Nick Porter [Fri, 11 Nov 2022 09:59:16 +0000 (09:59 +0000)] 
Move error handling to outside #ifdef WITH_TLS

2 years agoclose fd on error
Alan T. DeKok [Thu, 10 Nov 2022 17:23:12 +0000 (17:23 +0000)] 
close fd on error

2 years agoset the host name to the actual host name
Alan T. DeKok [Thu, 10 Nov 2022 16:56:36 +0000 (16:56 +0000)] 
set the host name to the actual host name

2 years agoshow OpenSSL error, too
Alan T. DeKok [Thu, 10 Nov 2022 16:26:01 +0000 (16:26 +0000)] 
show OpenSSL error, too

2 years agouse macro for home server is dead
Alan T. DeKok [Wed, 9 Nov 2022 18:52:28 +0000 (18:52 +0000)] 
use macro for home server is dead

2 years agoremove unnecessary "break"
Alan T. DeKok [Wed, 9 Nov 2022 18:52:13 +0000 (18:52 +0000)] 
remove unnecessary "break"

3 years agoRevert "check for multiple "down" states. Fixes #4790"
Alan T. DeKok [Thu, 3 Nov 2022 15:12:12 +0000 (15:12 +0000)] 
Revert "check for multiple "down" states.  Fixes #4790"

This reverts commit c493836d2a72d2ebb29e5a2d5f45f3e033ea0094.

after review, not needed

3 years agocheck for multiple "down" states. Fixes #4790
Alan T. DeKok [Thu, 3 Nov 2022 13:21:22 +0000 (13:21 +0000)] 
check for multiple "down" states.  Fixes #4790

3 years agoresync. Helps with #4570
Alan T. DeKok [Thu, 3 Nov 2022 11:24:15 +0000 (11:24 +0000)] 
resync.  Helps with #4570

3 years agosync with dictionaries. Heklps with #4790
Alan T. DeKok [Thu, 3 Nov 2022 11:15:31 +0000 (11:15 +0000)] 
sync with dictionaries.  Heklps with #4790

3 years agoCI: Remove deprecated set-ouput
Nick Porter [Mon, 31 Oct 2022 16:39:46 +0000 (16:39 +0000)] 
CI: Remove deprecated set-ouput

3 years agoctype macros should take explicitly unsigned input
Alan T. DeKok [Mon, 31 Oct 2022 13:03:00 +0000 (09:03 -0400)] 
ctype macros should take explicitly unsigned input

to avoid chars with high bits being converted to negative numbers

perl -p -i -e 's/(tolower|toupper|isupper|islower|isdigit|isalpha|isspace|isxdigit)\(\s*\*/${1}((uint8_t) */g' $(find . -name "*.[ch]" -print)
perl -p -i -e 's/(tolower|toupper|isupper|islower|isdigit|isalpha|isspace|isxdigit)\(\(int\)/${1}((uint8_t)/g' $(find . -name "*.[ch]" -print)

3 years agoCI: Ensure git-lfs is installed
Nick Porter [Mon, 31 Oct 2022 11:52:02 +0000 (11:52 +0000)] 
CI: Ensure git-lfs is installed

3 years agoUpdate CI actions to node16 versions
Nick Porter [Mon, 31 Oct 2022 11:50:54 +0000 (11:50 +0000)] 
Update CI actions to node16 versions

3 years agoAvoid spurious error about absolute path
Nick Porter [Mon, 31 Oct 2022 11:06:41 +0000 (11:06 +0000)] 
Avoid spurious error about absolute path

3 years agoOnly debug packets when condition matches
Nick Porter [Mon, 31 Oct 2022 11:04:11 +0000 (11:04 +0000)] 
Only debug packets when condition matches

radius_evaluate_cond() returns -2 for attribute not found - which was
causing packets without the required attributes to appear in conditional
debug output.

3 years agoupdates
Alan T. DeKok [Wed, 19 Oct 2022 13:46:21 +0000 (09:46 -0400)] 
updates

from https://www.juniper.net/documentation/us/en/software/junos/subscriber-mgmt-sessions/topics/topic-map/dhcp-options-radius-server.html

3 years agowhitespace
Alan T. DeKok [Tue, 11 Oct 2022 18:43:59 +0000 (14:43 -0400)] 
whitespace

3 years agoas found on the net
Alan T. DeKok [Tue, 11 Oct 2022 16:58:56 +0000 (12:58 -0400)] 
as found on the net

3 years agoset partial chain always. Helps with #4785
Alan T. DeKok [Tue, 25 Oct 2022 14:51:02 +0000 (10:51 -0400)] 
set partial chain always.  Helps with #4785

3 years agomove partial chain set to after set cert store. Should fix #4753
Alan T. DeKok [Tue, 25 Oct 2022 12:59:53 +0000 (08:59 -0400)] 
move partial chain set to after set cert store.  Should fix #4753

3 years agoFallback to uname -n on missing hostname. Fixes #4772
Alan T. DeKok [Tue, 18 Oct 2022 17:11:48 +0000 (13:11 -0400)] 
Fallback to uname -n on missing hostname.  Fixes #4772

3 years agoallow User-Name and CUI in post-proxy filtering
Alan T. DeKok [Wed, 12 Oct 2022 13:05:52 +0000 (09:05 -0400)] 
allow User-Name and CUI in post-proxy filtering

which is also needed for roaming environments

3 years agoallow Operator-Name and Called-Station-Id
Alan T. DeKok [Wed, 12 Oct 2022 13:02:59 +0000 (09:02 -0400)] 
allow Operator-Name and Called-Station-Id

which are needed for various roaming scenarios

3 years agoDS-Lite-Tunnel-Name data type should be 'octets' (#4767)
Jorge Pereira [Wed, 12 Oct 2022 12:49:34 +0000 (09:49 -0300)] 
DS-Lite-Tunnel-Name data type should be 'octets' (#4767)

Backport from v3.2.x (be3b0426df)

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