]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 months agoConsistent use of sql_rcode_t
Nick Porter [Thu, 23 Jan 2025 11:47:27 +0000 (11:47 +0000)] 
Consistent use of sql_rcode_t

8 months agoCorrect signature for SQL driver mod_instantiate
Nick Porter [Thu, 23 Jan 2025 11:35:06 +0000 (11:35 +0000)] 
Correct signature for SQL driver mod_instantiate

8 months agoBack port CURL version fixes from 3.2
Nick Porter [Thu, 23 Jan 2025 11:33:38 +0000 (11:33 +0000)] 
Back port CURL version fixes from 3.2

8 months agoBack port fixes for Python API changes from 3.2
Nick Porter [Thu, 23 Jan 2025 10:50:33 +0000 (10:50 +0000)] 
Back port fixes for Python API changes from 3.2

8 months agoPyMODINIT_FUNC conflicts with static when Python >= 3.9
Nick Porter [Thu, 23 Jan 2025 10:43:32 +0000 (10:43 +0000)] 
PyMODINIT_FUNC conflicts with static when Python >= 3.9

8 months agoHide unused variables when OpenSSL >= 3
Nick Porter [Thu, 23 Jan 2025 10:38:08 +0000 (10:38 +0000)] 
Hide unused variables when OpenSSL >= 3

8 months agoUbuntu24 already uses OpenSSL 3
Nick Porter [Thu, 23 Jan 2025 10:20:17 +0000 (10:20 +0000)] 
Ubuntu24 already uses OpenSSL 3

8 months agoSwitch CI runners to Ubuntu 24
Nick Porter [Thu, 23 Jan 2025 10:17:23 +0000 (10:17 +0000)] 
Switch CI runners to Ubuntu 24

8 months agoPacify clang scan
Nick Porter [Thu, 23 Jan 2025 10:02:54 +0000 (10:02 +0000)] 
Pacify clang scan

8 months agoPacify clang scan reports of unused values
Nick Porter [Thu, 23 Jan 2025 10:02:22 +0000 (10:02 +0000)] 
Pacify clang scan reports of unused values

8 months agomysql_version.h should not be directly included
Nick Porter [Thu, 23 Jan 2025 10:01:04 +0000 (10:01 +0000)] 
mysql_version.h should not be directly included

8 months agoAllow for PGRES_TUPLES_CHUNK when checking PostgreSQL status codes
Nick Porter [Fri, 3 Jan 2025 19:56:00 +0000 (19:56 +0000)] 
Allow for PGRES_TUPLES_CHUNK when checking PostgreSQL status codes

8 months agoHandle ch being NULL
Nick Porter [Wed, 18 Sep 2024 07:37:45 +0000 (08:37 +0100)] 
Handle ch being NULL

8 months agoFree authority info access extracted from cert
Nick Porter [Wed, 22 Jan 2025 17:46:12 +0000 (17:46 +0000)] 
Free authority info access extracted from cert

10 months agoRemove CentOS 7 from CI tests
Nick Porter [Thu, 5 Dec 2024 13:36:55 +0000 (13:36 +0000)] 
Remove CentOS 7 from CI tests

10 months agoCorrect handling of "untrusted" certs
Nick Porter [Thu, 5 Dec 2024 13:06:51 +0000 (13:06 +0000)] 
Correct handling of "untrusted" certs

OpenSSL calls all certificates presented by a client that aren't in the
local trust store "untrusted".

Therefore when verifying a client certificate, that will always be
untrusted - so we only have untrusted CAs in the chain if there is more
than one untrusted certificate.

10 months agopython2-dev replaces the python-dev package
Matthew Newton [Mon, 25 Nov 2024 09:55:13 +0000 (09:55 +0000)] 
python2-dev replaces the python-dev package

11 months agomake the docs clearer that it's only for Access-Request
Alan T. DeKok [Wed, 20 Nov 2024 12:21:56 +0000 (07:21 -0500)] 
make the docs clearer that it's only for Access-Request

11 months agoupdate docs
Alan T. DeKok [Wed, 20 Nov 2024 12:16:51 +0000 (07:16 -0500)] 
update docs

11 months agodocument default_days a bit more
Alan T. DeKok [Wed, 20 Nov 2024 12:22:40 +0000 (07:22 -0500)] 
document default_days a bit more

11 months agojust rely on setting 'fips=no'
Alan T. DeKok [Fri, 8 Nov 2024 16:30:38 +0000 (16:30 +0000)] 
just rely on setting 'fips=no'

11 months agodisable FIPS for OpenSSL3
Alan T. DeKok [Fri, 8 Nov 2024 10:25:22 +0000 (10:25 +0000)] 
disable FIPS for OpenSSL3

11 months agopush increment until after any failure. Fixes #5458
Alan T. DeKok [Wed, 6 Nov 2024 14:20:35 +0000 (14:20 +0000)] 
push increment until after any failure. Fixes #5458

11 months agomake it clear that Message-Authenticator is auto-added
Alan T. DeKok [Mon, 21 Oct 2024 17:52:11 +0000 (13:52 -0400)] 
make it clear that Message-Authenticator is auto-added

12 months agobuild on Solaris, too. Fixes #5448
Alan T. DeKok [Mon, 15 Apr 2024 15:42:39 +0000 (11:42 -0400)] 
build on Solaris, too.  Fixes #5448

14 months agoDebian sid has OpenSSL legacy providers in an optional package
Nick Porter [Wed, 14 Aug 2024 08:40:47 +0000 (09:40 +0100)] 
Debian sid has OpenSSL legacy providers in an optional package

14 months agoclean up for v3.0.x
Alan T. DeKok [Sat, 3 Aug 2024 17:07:24 +0000 (13:07 -0400)] 
clean up for v3.0.x

14 months agoUpdate 3GPP2 from latest standard revision
Nick Porter [Mon, 29 Jul 2024 12:34:13 +0000 (13:34 +0100)] 
Update 3GPP2 from latest standard revision

14 months agoIf OpenSSL handshake fails during Client Hello report cipher lists
Nick Porter [Tue, 30 Jul 2024 09:22:52 +0000 (10:22 +0100)] 
If OpenSSL handshake fails during Client Hello report cipher lists

Helps get to the bottom of "no shared cipher" errors.

14 months agoEnsure fd event removed when removing listener
Nick Porter [Fri, 2 Aug 2024 08:53:29 +0000 (09:53 +0100)] 
Ensure fd event removed when removing listener

14 months agoBump github action versions
Nick Porter [Mon, 29 Jul 2024 09:38:57 +0000 (10:38 +0100)] 
Bump github action versions

Except for ci-rpm where centos-7 is too old for node > 16

14 months agoDebian sid appears to have dropped gcc-10
Nick Porter [Mon, 29 Jul 2024 09:35:35 +0000 (10:35 +0100)] 
Debian sid appears to have dropped gcc-10

14 months agoCorrect ZTE dictionary
Nick Porter [Mon, 29 Jul 2024 07:42:17 +0000 (08:42 +0100)] 
Correct ZTE dictionary

To match real packets seen in active systems.

14 months agoignore home server "ping" packets
Alan T. DeKok [Thu, 25 Jul 2024 23:18:37 +0000 (16:18 -0700)] 
ignore home server "ping" packets

15 months agoUse HEXIFY to handle non-octet looking RADIUSD_VERSION
Nick Porter [Wed, 17 Jul 2024 09:57:15 +0000 (10:57 +0100)] 
Use HEXIFY to handle non-octet looking RADIUSD_VERSION

15 months agoBump for 3.0.28
Matthew Newton [Tue, 16 Jul 2024 15:32:22 +0000 (16:32 +0100)] 
Bump for 3.0.28

15 months agorelease 3.0.27 release_3_0_27
Matthew Newton [Mon, 8 Jul 2024 20:03:16 +0000 (21:03 +0100)] 
release 3.0.27

15 months agoConfig docs: Clients aggregators may be RADIUS proxies and set proxy-state
Terry Burton [Mon, 8 Jul 2024 14:55:44 +0000 (15:55 +0100)] 
Config docs: Clients aggregators may be RADIUS proxies and set proxy-state

15 months agohandle dynamic require Message-Authenticator
Alan T. DeKok [Sun, 7 Jul 2024 13:50:43 +0000 (09:50 -0400)] 
handle dynamic require Message-Authenticator

15 months agodon't enforce require_ma on packet reception
Alan T. DeKok [Sat, 6 Jul 2024 15:49:54 +0000 (11:49 -0400)] 
don't enforce require_ma on packet reception

15 months agonote recent changes
Alan T. DeKok [Sat, 6 Jul 2024 14:09:27 +0000 (10:09 -0400)] 
note recent changes

15 months agotypos and clarifications
Alan T. DeKok [Thu, 4 Jul 2024 19:52:10 +0000 (15:52 -0400)] 
typos and clarifications

15 months agoimplement and document "require_message_authenticator = auto"
Alan T. DeKok [Sun, 30 Jun 2024 01:53:48 +0000 (21:53 -0400)] 
implement and document "require_message_authenticator = auto"

15 months agoadd more helpful error messages
Alan T. DeKok [Sat, 29 Jun 2024 17:54:31 +0000 (13:54 -0400)] 
add more helpful error messages

15 months agoimplement and document "limit_proxy_state = auto"
Alan T. DeKok [Sat, 29 Jun 2024 16:05:04 +0000 (12:05 -0400)] 
implement and document "limit_proxy_state = auto"

Also add a standard function which complains loudly about security
issues.

15 months agoEnforce BlastRADIUS checks for TCP sockets, too.
Alan T. DeKok [Sat, 29 Jun 2024 14:27:47 +0000 (10:27 -0400)] 
Enforce BlastRADIUS checks for TCP sockets, too.

Though TBH, no one should use TCP for anything.

15 months agoAdd M-A processing for Status-Server and replies from home server
Alan T. DeKok [Sat, 11 May 2024 19:41:03 +0000 (15:41 -0400)] 
Add M-A processing for Status-Server and replies from home server

15 months agoadd Blast RADIUS checks to radclient and radtest
Alan T. DeKok [Wed, 10 Apr 2024 21:34:31 +0000 (17:34 -0400)] 
add Blast RADIUS checks to radclient and radtest

15 months agoword smithing
Alan T. DeKok [Wed, 10 Apr 2024 21:33:38 +0000 (17:33 -0400)] 
word smithing

15 months agouse and enforce limit_proxy_state for Access-Request packets
Alan T. DeKok [Thu, 22 Feb 2024 11:01:22 +0000 (06:01 -0500)] 
use and enforce limit_proxy_state for Access-Request packets

15 months agomake limit_proxy_state the default for clients
Alan T. DeKok [Thu, 22 Feb 2024 10:44:07 +0000 (05:44 -0500)] 
make limit_proxy_state the default for clients

15 months agoadd and document global limit_proxy_state
Alan T. DeKok [Thu, 22 Feb 2024 10:36:33 +0000 (05:36 -0500)] 
add and document global limit_proxy_state

15 months agoadd Message-Authenticator to all Access-Request packets
Alan T. DeKok [Fri, 16 Feb 2024 15:36:54 +0000 (10:36 -0500)] 
add Message-Authenticator to all Access-Request packets

15 months agoadd and set require_message_authenticator for home servers
Alan T. DeKok [Fri, 16 Feb 2024 14:12:35 +0000 (09:12 -0500)] 
add and set require_message_authenticator for home servers

15 months agoalways add Message-Authenticator for replies to Access-Request
Alan T. DeKok [Fri, 16 Feb 2024 13:46:11 +0000 (08:46 -0500)] 
always add Message-Authenticator for replies to Access-Request

15 months agoadd tls flag to packets
Alan T. DeKok [Fri, 16 Feb 2024 13:33:54 +0000 (08:33 -0500)] 
add tls flag to packets

and set it for TLS transport send / receive.  This lets the
packet encoder and verification routines behave differently for
TLS and non-TLS transport

15 months agomake require_message_authenticator the default for clients
Alan T. DeKok [Fri, 16 Feb 2024 13:29:54 +0000 (08:29 -0500)] 
make require_message_authenticator the default for clients

and document the behavior change

15 months agoadd and use "ignore default" flag
Alan T. DeKok [Fri, 16 Feb 2024 13:23:09 +0000 (08:23 -0500)] 
add and use "ignore default" flag

which means that if the configuration item is missing, we do not
set the value from the default.

This change allows the value to be set before the configuration
file is parsed, and then only changed if the named configuration
item exists, and is manually set by the admin

15 months agorename for consistency
Alan T. DeKok [Fri, 16 Feb 2024 13:16:12 +0000 (08:16 -0500)] 
rename for consistency

15 months agoadd and document global require_message_authenticator
Alan T. DeKok [Fri, 16 Feb 2024 13:09:54 +0000 (08:09 -0500)] 
add and document global require_message_authenticator

15 months agoFixups for CentOS 7 which is now EOL
Matthew Newton [Mon, 8 Jul 2024 15:30:05 +0000 (16:30 +0100)] 
Fixups for CentOS 7 which is now EOL

15 months agonote recent changes
Alan T. DeKok [Sat, 6 Jul 2024 21:14:37 +0000 (17:14 -0400)] 
note recent changes

15 months agoThere may be multiple intermediate certs.
Alexander Chernikov [Sat, 6 Jul 2024 21:12:58 +0000 (17:12 -0400)] 
There may be multiple intermediate certs.

15 months agonote recent changes
Alan T. DeKok [Mon, 24 Jun 2024 02:17:19 +0000 (22:17 -0400)] 
note recent changes

15 months agoremove unused variable
Alan T. DeKok [Sun, 23 Jun 2024 17:16:24 +0000 (13:16 -0400)] 
remove unused variable

15 months agoupdate stats more quickly
Alan T. DeKok [Sun, 23 Jun 2024 17:05:28 +0000 (13:05 -0400)] 
update stats more quickly

15 months agodon't double-count authentication packets
Alan T. DeKok [Sun, 23 Jun 2024 16:51:21 +0000 (12:51 -0400)] 
don't double-count authentication packets

15 months agodon't count Status-Server
Alan T. DeKok [Sun, 23 Jun 2024 16:50:38 +0000 (12:50 -0400)] 
don't count Status-Server

we don't count replies to it, so we shouldn't count requests, too

15 months agotypo
Alan T. DeKok [Sun, 23 Jun 2024 16:06:53 +0000 (12:06 -0400)] 
typo

15 months agoupdate advice on shared secrets
Alan T. DeKok [Sat, 15 Jun 2024 11:50:09 +0000 (07:50 -0400)] 
update advice on shared secrets

15 months agotrack global stats, even if the listeners have been closed
Alan T. DeKok [Fri, 21 Jun 2024 13:15:23 +0000 (09:15 -0400)] 
track global stats, even if the listeners have been closed

16 months agoRemove Centos 8 from CI
Matthew Newton [Fri, 21 Jun 2024 10:07:30 +0000 (11:07 +0100)] 
Remove Centos 8 from CI

Backport 2d8d738f408 from v3.2.x

16 months agoFix error in dictionary documentation
simeononsecurity [Fri, 21 Jun 2024 06:55:24 +0000 (01:55 -0500)] 
Fix error in dictionary documentation

Change RFC 8859 to RFC 8559

Fixes #5345

16 months agoUpdate dictionary.wispr (#5336)
simeononsecurity [Fri, 7 Jun 2024 02:15:41 +0000 (21:15 -0500)] 
Update dictionary.wispr (#5336)

Add attribute 17 per https://github.com/wireless-broadband-alliance/RADIUS-VSA

16 months agomschapv2: set key length after specifying the cipher
Alexander Clouter [Wed, 12 Jun 2024 14:58:21 +0000 (15:58 +0100)] 
mschapv2: set key length after specifying the cipher

We get a sigsegv otherwise:
----
(10) eap_mschapv2:   Auth-Type MS-CHAP {
(10) mschap: Found Cleartext-Password, hashing to create NT-Password
(10) mschap: MS-CHAPv2 password change request received
(10) mschap: Password change payload valid
(10) mschap: Doing MS-CHAPv2 password change locally

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b92f18 in EVP_CIPHER_CTX_set_key_length () from /lib/x86_64-linux-gnu/libcrypto.so.3
(gdb) where
    new_nt_password=0x7fffffffb940 "...", nt_password=0x555555ccc290,
    request=0x555555a9fde0, inst=0x5555558bacb0) at src/modules/rlm_mschap/rlm_mschap.c:1016
----

16 months agonote recent changes
Matthew Newton [Wed, 29 May 2024 18:15:50 +0000 (19:15 +0100)] 
note recent changes

16 months agoremove TCP Status-Server requests from proxy hash as well
Matthew Newton [Wed, 29 May 2024 15:56:22 +0000 (16:56 +0100)] 
remove TCP Status-Server requests from proxy hash as well

fixes #5326

17 months agoEnsure yum is installed on Rocky 9
Nick Porter [Mon, 20 May 2024 08:13:54 +0000 (09:13 +0100)] 
Ensure yum is installed on Rocky 9

Once CentOS 7 goes EoL, we can switch to dnf

17 months agorlm_sql_freetds: handle returned NULL column values
Nick Porter [Mon, 1 Apr 2024 15:22:34 +0000 (16:22 +0100)] 
rlm_sql_freetds: handle returned NULL column values

These don't update the results buffer - so zero it out during allocation.

17 months agoallocate instance data even if the module doesn't need it
Alan T. DeKok [Sat, 18 May 2024 20:50:56 +0000 (16:50 -0400)] 
allocate instance data even if the module doesn't need it

which lets the rest of the distinguish virtual attributes from
typos in xlat functions

17 months agofix typo.
Alan T. DeKok [Sat, 18 May 2024 20:50:17 +0000 (16:50 -0400)] 
fix typo.

We loop until the content is non-space, not while the ptr is !NULL

19 months agoUbuntu 18.04 is EoL
Nick Porter [Tue, 5 Mar 2024 12:24:26 +0000 (12:24 +0000)] 
Ubuntu 18.04 is EoL

19 months agoEnsure fakeroot is available for `make deb`
Nick Porter [Tue, 5 Mar 2024 11:54:56 +0000 (11:54 +0000)] 
Ensure fakeroot is available for `make deb`

19 months agoadd necessary backslash. Fixes #5301
Alan T. DeKok [Mon, 4 Mar 2024 21:02:15 +0000 (16:02 -0500)] 
add necessary backslash.  Fixes #5301

20 months agouse snprintf
Alan T. DeKok [Sat, 17 Feb 2024 12:07:52 +0000 (07:07 -0500)] 
use snprintf

20 months agoAdd TP Link dictionary
Nick Porter [Fri, 29 Dec 2023 10:15:04 +0000 (10:15 +0000)] 
Add TP Link dictionary

20 months agoimprove exception handling. Helps with #5242
Alan T. DeKok [Thu, 7 Dec 2023 14:24:42 +0000 (09:24 -0500)] 
improve exception handling.  Helps with #5242

so that no python exceptions remain after the do_python_single call.
Otherwise the next request will immediately fail.

Patch from #5242, but separated out to keep commit history
a little clearer.

20 months agodon't delay proxied rejects from a real home server
Alan T. DeKok [Thu, 7 Dec 2023 11:45:29 +0000 (06:45 -0500)] 
don't delay proxied rejects from a real home server

20 months agomore notes on connection starvation
Alan T. DeKok [Wed, 29 Nov 2023 15:25:48 +0000 (10:25 -0500)] 
more notes on connection starvation

20 months agoprint out the module instance name
Alan T. DeKok [Wed, 15 Nov 2023 13:13:05 +0000 (08:13 -0500)] 
print out the module instance name

20 months agoclarify message a bit
Alan T. DeKok [Tue, 14 Nov 2023 21:56:48 +0000 (16:56 -0500)] 
clarify message a bit

20 months agothis is for UDP home servers
Alan T. DeKok [Wed, 8 Nov 2023 12:28:59 +0000 (13:28 +0100)] 
this is for UDP home servers

22 months agoensure that cp is initialized on every iteration through the loop
Alan T. DeKok [Wed, 13 Jul 2022 00:30:57 +0000 (20:30 -0400)] 
ensure that cp is initialized on every iteration through the loop

23 months agoreply packets use request authenticator for Message-Authenticator
Alan T. DeKok [Tue, 31 Oct 2023 22:00:46 +0000 (18:00 -0400)] 
reply packets use request authenticator for Message-Authenticator

2 years agoBuild with winbind on all RHEL >= 7
Nick Porter [Thu, 31 Aug 2023 10:51:37 +0000 (11:51 +0100)] 
Build with winbind on all RHEL >= 7

2 years agoword smithing
Alan T. DeKok [Thu, 17 Aug 2023 16:58:19 +0000 (12:58 -0400)] 
word smithing

2 years agofix warning messages
Alan T. DeKok [Thu, 17 Aug 2023 14:10:44 +0000 (10:10 -0400)] 
fix warning messages

2 years agonote recent changes
Alan T. DeKok [Thu, 17 Aug 2023 16:58:45 +0000 (12:58 -0400)] 
note recent changes

2 years agoif there's no "server foo", then use "server default"
Alan T. DeKok [Wed, 16 Aug 2023 13:01:36 +0000 (09:01 -0400)] 
if there's no "server foo", then use "server default"

2 years agoupdate the year
Alan T. DeKok [Thu, 10 Aug 2023 13:28:13 +0000 (09:28 -0400)] 
update the year