]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
14 months agouse correct type
Alan T. DeKok [Sun, 11 Aug 2024 19:47:37 +0000 (15:47 -0400)] 
use correct type

14 months agodon't set packet->vector for non-RADIUS protocols
Alan T. DeKok [Sun, 11 Aug 2024 19:36:33 +0000 (15:36 -0400)] 
don't set packet->vector for non-RADIUS protocols

and most of those were wrong, too :(

14 months agowe no longer use packet->vector for anything DHCPv4
Alan T. DeKok [Sun, 11 Aug 2024 19:34:47 +0000 (15:34 -0400)] 
we no longer use packet->vector for anything DHCPv4

14 months agodon't smash the authentication vector
Alan T. DeKok [Sun, 11 Aug 2024 19:33:13 +0000 (15:33 -0400)] 
don't smash the authentication vector

14 months agopass dbuff && packet_ctx to encode function
Alan T. DeKok [Sun, 11 Aug 2024 18:18:25 +0000 (14:18 -0400)] 
pass dbuff && packet_ctx to encode function

which makes it easier to add more functionality

14 months agopoint to common context, instead of local struct
Alan T. DeKok [Sun, 11 Aug 2024 16:30:14 +0000 (12:30 -0400)] 
point to common context, instead of local struct

14 months agomake common context "const"
Alan T. DeKok [Sun, 11 Aug 2024 16:17:15 +0000 (12:17 -0400)] 
make common context "const"

14 months agoremove vector[] from common encode/decode context
Alan T. DeKok [Sun, 11 Aug 2024 16:11:38 +0000 (12:11 -0400)] 
remove vector[] from common encode/decode context

14 months agoremove duplicate API as part of cleanup
Alan T. DeKok [Sun, 11 Aug 2024 13:59:35 +0000 (09:59 -0400)] 
remove duplicate API as part of cleanup

there isn't much point in switching to a new API if we don't
switch to a new API

14 months agoclean up API and simplify
Alan T. DeKok [Sun, 11 Aug 2024 13:44:40 +0000 (09:44 -0400)] 
clean up API and simplify

no need to pass buffer / size twice to the receive function,
it's already in the dedup_ctx

14 months agofor simplicity, put rb node into dedup context
Alan T. DeKok [Sun, 11 Aug 2024 13:44:22 +0000 (09:44 -0400)] 
for simplicity, put rb node into dedup context

14 months agodon't encode Message-Authenticator multiple times
Alan T. DeKok [Sun, 11 Aug 2024 13:29:58 +0000 (09:29 -0400)] 
don't encode Message-Authenticator multiple times

14 months agouse pctx for packet ctx
Alan T. DeKok [Fri, 9 Aug 2024 23:22:38 +0000 (19:22 -0400)] 
use pctx for packet ctx

14 months agoallow setting CoA filter attribute name
Alan T. DeKok [Fri, 9 Aug 2024 19:48:05 +0000 (15:48 -0400)] 
allow setting CoA filter attribute name

14 months agoRevert "Add Coverity-only check to pacify it (CID #1604609)"
Alan T. DeKok [Fri, 9 Aug 2024 15:09:41 +0000 (11:09 -0400)] 
Revert "Add Coverity-only check to pacify it (CID #1604609)"

This reverts commit aa37659f220f4d0a338ab98ad4fd3110a6082fdf.

14 months agolink in radiusd -X
Alan T. DeKok [Fri, 9 Aug 2024 12:19:12 +0000 (08:19 -0400)] 
link in radiusd -X

14 months agopoint to new files
Alan T. DeKok [Fri, 9 Aug 2024 12:07:13 +0000 (08:07 -0400)] 
point to new files

14 months agoprint out only at end, to avoid dups
Alan T. DeKok [Fri, 9 Aug 2024 12:06:13 +0000 (08:06 -0400)] 
print out only at end, to avoid dups

14 months agopoint to correct link
Alan T. DeKok [Fri, 9 Aug 2024 12:03:10 +0000 (08:03 -0400)] 
point to correct link

14 months agoscript to cross-check antora files
Alan T. DeKok [Thu, 8 Aug 2024 21:33:18 +0000 (17:33 -0400)] 
script to cross-check antora files

14 months agothis is a new module
Alan T. DeKok [Thu, 8 Aug 2024 21:32:34 +0000 (17:32 -0400)] 
this is a new module

14 months agomoved to better location
Alan T. DeKok [Thu, 8 Aug 2024 21:15:10 +0000 (17:15 -0400)] 
moved to better location

14 months agoUpdate index.adoc
aBainbridge11 [Tue, 30 Jul 2024 19:54:34 +0000 (15:54 -0400)] 
Update index.adoc

14 months agoCreate Alcatel-Lucent
aBainbridge11 [Tue, 30 Jul 2024 19:45:30 +0000 (15:45 -0400)] 
Create Alcatel-Lucent

14 months agoCreate Huawei
aBainbridge11 [Tue, 30 Jul 2024 19:24:13 +0000 (15:24 -0400)] 
Create Huawei

14 months agoCreate HP
aBainbridge11 [Tue, 30 Jul 2024 19:23:27 +0000 (15:23 -0400)] 
Create HP

14 months agoUpdate cisco.adoc
aBainbridge11 [Tue, 30 Jul 2024 18:52:30 +0000 (14:52 -0400)] 
Update cisco.adoc

14 months agoCreate Alvarion
aBainbridge11 [Tue, 30 Jul 2024 18:40:02 +0000 (14:40 -0400)] 
Create Alvarion

14 months agoUpdate index.adoc
aBainbridge11 [Tue, 30 Jul 2024 18:29:53 +0000 (14:29 -0400)] 
Update index.adoc

14 months agoCreate EAP PEAP
aBainbridge11 [Tue, 30 Jul 2024 18:17:52 +0000 (14:17 -0400)] 
Create EAP PEAP

14 months agoCreate Disconnect Messages
aBainbridge11 [Tue, 30 Jul 2024 16:57:20 +0000 (12:57 -0400)] 
Create Disconnect Messages

14 months agoCreate Twitter
aBainbridge11 [Mon, 29 Jul 2024 19:28:46 +0000 (15:28 -0400)] 
Create Twitter

14 months agoCreate Stats with radsniff
aBainbridge11 [Mon, 29 Jul 2024 19:18:27 +0000 (15:18 -0400)] 
Create Stats with radsniff

14 months agoCreate Raduat
aBainbridge11 [Mon, 29 Jul 2024 19:12:49 +0000 (15:12 -0400)] 
Create Raduat

14 months agoCreate radiusd -X
aBainbridge11 [Mon, 29 Jul 2024 19:08:08 +0000 (15:08 -0400)] 
Create radiusd -X

14 months agoCreate Eduroam Configuration
aBainbridge11 [Mon, 29 Jul 2024 18:42:22 +0000 (14:42 -0400)] 
Create Eduroam Configuration

14 months agoCreate Logging in an eduroam environment
aBainbridge11 [Mon, 29 Jul 2024 18:33:57 +0000 (14:33 -0400)] 
Create Logging in an eduroam environment

14 months agoCreate EAP-SIM and EAP-AKA:
aBainbridge11 [Mon, 29 Jul 2024 18:31:14 +0000 (14:31 -0400)] 
Create EAP-SIM and EAP-AKA:

14 months agoCreate Troubleshooting
aBainbridge11 [Mon, 29 Jul 2024 16:27:22 +0000 (12:27 -0400)] 
Create Troubleshooting

14 months agoCreate Red Hat FAQ
aBainbridge11 [Mon, 29 Jul 2024 16:05:39 +0000 (12:05 -0400)] 
Create Red Hat FAQ

14 months agoCreate Git config management
aBainbridge11 [Mon, 29 Jul 2024 15:09:42 +0000 (11:09 -0400)] 
Create Git config management

14 months agoCreate FAQ
aBainbridge11 [Fri, 26 Jul 2024 19:58:30 +0000 (15:58 -0400)] 
Create FAQ

14 months agoCreate RADIUS Concepts
aBainbridge11 [Fri, 26 Jul 2024 18:59:19 +0000 (14:59 -0400)] 
Create RADIUS Concepts

14 months agoCreate Wired Equivalent Privacy
aBainbridge11 [Fri, 26 Jul 2024 16:59:27 +0000 (12:59 -0400)] 
Create Wired Equivalent Privacy

14 months agoCreate WPA
aBainbridge11 [Fri, 26 Jul 2024 16:49:12 +0000 (12:49 -0400)] 
Create WPA

14 months agoCreate RFC Compliance
aBainbridge11 [Fri, 26 Jul 2024 16:26:22 +0000 (12:26 -0400)] 
Create RFC Compliance

14 months agoCreate RADIUS
aBainbridge11 [Fri, 26 Jul 2024 16:11:03 +0000 (12:11 -0400)] 
Create RADIUS

14 months agoCreate NAC
aBainbridge11 [Fri, 26 Jul 2024 15:47:38 +0000 (11:47 -0400)] 
Create NAC

14 months agoCreate NAS
aBainbridge11 [Fri, 26 Jul 2024 15:42:40 +0000 (11:42 -0400)] 
Create NAS

14 months agoCreate Virtual Servers
aBainbridge11 [Tue, 23 Jul 2024 18:38:22 +0000 (14:38 -0400)] 
Create Virtual Servers

14 months agoCreate Performance
aBainbridge11 [Tue, 23 Jul 2024 18:16:04 +0000 (14:16 -0400)] 
Create Performance

14 months agoCreate UDP
aBainbridge11 [Tue, 23 Jul 2024 17:51:33 +0000 (13:51 -0400)] 
Create UDP

14 months agoCreate Scheduler
aBainbridge11 [Tue, 23 Jul 2024 15:57:35 +0000 (11:57 -0400)] 
Create Scheduler

14 months agoCreate Message API
aBainbridge11 [Tue, 23 Jul 2024 15:04:29 +0000 (11:04 -0400)] 
Create Message API

14 months agoCreate Coding standards
aBainbridge11 [Mon, 22 Jul 2024 20:36:59 +0000 (16:36 -0400)] 
Create Coding standards

14 months agoCreate Submitting patches via GitHub
aBainbridge11 [Mon, 22 Jul 2024 19:59:10 +0000 (15:59 -0400)] 
Create Submitting patches via GitHub

14 months agoupdate developer instructions
aBainbridge11 [Mon, 22 Jul 2024 19:45:29 +0000 (15:45 -0400)] 
update developer instructions

14 months agoCreate Configurable Module Fail Over
aBainbridge11 [Fri, 19 Jul 2024 18:29:51 +0000 (14:29 -0400)] 
Create Configurable Module Fail Over

14 months agoCreate Building on macOS
aBainbridge11 [Fri, 19 Jul 2024 17:31:49 +0000 (13:31 -0400)] 
Create Building on macOS

14 months agoCreate Suse and OpenSuse
aBainbridge11 [Fri, 19 Jul 2024 17:29:02 +0000 (13:29 -0400)] 
Create Suse and OpenSuse

14 months agoCreate Solaris
aBainbridge11 [Tue, 16 Jul 2024 19:26:11 +0000 (15:26 -0400)] 
Create Solaris

14 months agoCreate RPMs with Oracle support
aBainbridge11 [Tue, 16 Jul 2024 19:22:37 +0000 (15:22 -0400)] 
Create RPMs with Oracle support

14 months agoCreate RedHat and CentOS
aBainbridge11 [Tue, 16 Jul 2024 19:15:40 +0000 (15:15 -0400)] 
Create RedHat and CentOS

14 months agoDocument which OS's are supported
aBainbridge11 [Tue, 16 Jul 2024 19:08:56 +0000 (15:08 -0400)] 
Document which OS's are supported

14 months agoadd documentation for building on Debian and Ubuntu
aBainbridge11 [Tue, 16 Jul 2024 18:43:37 +0000 (14:43 -0400)] 
add documentation for building on Debian and Ubuntu

14 months agoCreate Overview and Features
aBainbridge11 [Tue, 16 Jul 2024 18:19:00 +0000 (14:19 -0400)] 
Create Overview and Features

14 months agouse constant-time comparisons for secret values
Alan T. DeKok [Wed, 7 Aug 2024 21:55:35 +0000 (17:55 -0400)] 
use constant-time comparisons for secret values

14 months agouse correct return code
Alan T. DeKok [Wed, 7 Aug 2024 21:54:58 +0000 (17:54 -0400)] 
use correct return code

15 months agoRemove redundant CI action option
Nick Porter [Wed, 7 Aug 2024 15:48:52 +0000 (16:48 +0100)] 
Remove redundant CI action option

15 months agoRead what libcurl has set as the default CA path
Nick Porter [Wed, 7 Aug 2024 14:56:20 +0000 (15:56 +0100)] 
Read what libcurl has set as the default CA path

15 months agoAnnotate overflow_const in fr_isaac_init() (CID #1604614)
James Jones [Tue, 16 Jul 2024 14:18:01 +0000 (09:18 -0500)] 
Annotate overflow_const in  fr_isaac_init() (CID #1604614)

overflow_const strikes again in a RNG. The shift is intentional, and
it's an unsigned type so the behavior is defined.

15 months agoUse size_t where needed (CID #1604623)
James Jones [Thu, 25 Jul 2024 18:05:55 +0000 (13:05 -0500)] 
Use size_t where needed (CID #1604623)

Coverity correctly noted that the calculation of the number of
bytes in an error message can overflow unsigned int, so we use
size_t instead (with matching format change)

15 months agoAdd Coverity-only check to pacify it (CID #1604609)
James Jones [Fri, 2 Aug 2024 13:54:28 +0000 (08:54 -0500)] 
Add Coverity-only check to pacify it (CID #1604609)

Coverity does not realize in the FR_EVENT_FUNC_IDX_FFLAGS case of
event_fd_func_index_build(), the loop condition will keep pos from
ever underflowing. The check, which only shows up for Coverity,
should reassure it that this can never happen.

15 months agoDocumentation updates
Nick Porter [Wed, 7 Aug 2024 11:17:15 +0000 (12:17 +0100)] 
Documentation updates

15 months agorlm_rest no longer opens connectios at server start
Nick Porter [Wed, 7 Aug 2024 11:14:57 +0000 (12:14 +0100)] 
rlm_rest no longer opens connectios at server start

Since the move to async

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Wed, 7 Aug 2024 09:35:13 +0000 (09:35 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Wed, 7 Aug 2024 09:35:07 +0000 (09:35 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:58 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:55 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:52 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:50 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:43 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:37 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar

15 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Wed, 7 Aug 2024 09:34:34 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

15 months agoAdd notes on when actions are used
Nick Porter [Wed, 7 Aug 2024 08:22:40 +0000 (09:22 +0100)] 
Add notes on when actions are used

15 months agoCorrect references
Nick Porter [Wed, 7 Aug 2024 08:21:03 +0000 (09:21 +0100)] 
Correct references

15 months agoWe need the TLS headers in order to be able to manipulate the SSL_CTX *
Arran Cudbard-Bell [Sat, 3 Aug 2024 00:53:51 +0000 (18:53 -0600)] 
We need the TLS headers in order to be able to manipulate the SSL_CTX *

15 months agoWe always want fr_curl_conf_t to be available
Arran Cudbard-Bell [Fri, 2 Aug 2024 23:46:25 +0000 (17:46 -0600)] 
We always want fr_curl_conf_t to be available

15 months agoAdd support for keylog_file in all curl based modules
Arran Cudbard-Bell [Fri, 2 Aug 2024 23:42:44 +0000 (17:42 -0600)] 
Add support for keylog_file in all curl based modules

15 months agoupdate bugs link
Alan T. DeKok [Fri, 2 Aug 2024 18:51:39 +0000 (14:51 -0400)] 
update bugs link

15 months agoTypo
Nick Porter [Fri, 2 Aug 2024 13:48:43 +0000 (14:48 +0100)] 
Typo

15 months agoDeclare the local fflags consistently with the fflags field.
James Jones [Thu, 1 Aug 2024 18:48:13 +0000 (13:48 -0500)] 
Declare the local fflags consistently with the fflags field.

In the FR_EVENT_FUNC_IDX_FFFLAGS case in event_fd_func_index(),
the first loop directly passes entry->fflags, which has type
uint32_5, to fr_high_bit_pos(). but the loop that iterates over
the bits of fflags uses a local of type int. fr_high_bit_pos()
takes a parameter of type uint64_t.

C rules for widening from signed types to unsigned types differs
from that for widening from unsigned types to unsigned types. The
former will effectively sign extend the signed value, but the latter
zero extends. I suspect that there's no current fflags value with
the most significant bit set, so it makes no difference now, but

1. Should it happen, you'll definitely fall off the end of
   map->ev_to_func.
2. Why go out of one's way to give the local a different type,
   risking just this sort of issue and making whoever reads the
   code wonder about it.

This won't affect CID #1604609; it turned up while I was looking
at it.

15 months agoClose sqlite handle when we fail to pre-poopulate the database. Closes #5392
Arran Cudbard-Bell [Thu, 1 Aug 2024 13:16:15 +0000 (07:16 -0600)] 
Close sqlite handle when we fail to pre-poopulate the database.  Closes #5392

15 months agoUse latest cross-platform-actions for FreeBSD
Nick Porter [Thu, 1 Aug 2024 10:06:40 +0000 (11:06 +0100)] 
Use latest cross-platform-actions for FreeBSD

Which now recommends use of a linux host for better performance.

15 months agoUse MariaDB connector for FreeBSD build
Nick Porter [Thu, 1 Aug 2024 09:12:09 +0000 (10:12 +0100)] 
Use MariaDB connector for FreeBSD build

15 months agoPrint values and prepend timestamps to log lines in RFC3339 format
Arran Cudbard-Bell [Tue, 30 Jul 2024 23:13:56 +0000 (17:13 -0600)] 
Print values and prepend timestamps to log lines in RFC3339 format

15 months agoPrevent reinitialisation of sbuff scratch space once the thread destructor has been...
Arran Cudbard-Bell [Tue, 30 Jul 2024 23:12:25 +0000 (17:12 -0600)] 
Prevent reinitialisation of sbuff scratch space once the thread destructor has been called

15 months agoUse CS_SET to set things
Nick Porter [Tue, 30 Jul 2024 16:05:03 +0000 (17:05 +0100)] 
Use CS_SET to set things

15 months agoFreeTDS driver uses fr_sql_query_alloc()
Nick Porter [Tue, 30 Jul 2024 14:35:22 +0000 (15:35 +0100)] 
FreeTDS driver uses fr_sql_query_alloc()

To build and run the "USE <database>;" query run at connect time.

15 months agoCorrect comments
Nick Porter [Tue, 30 Jul 2024 13:10:23 +0000 (14:10 +0100)] 
Correct comments