]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
12 months agoCreate UDP
aBainbridge11 [Tue, 23 Jul 2024 17:51:33 +0000 (13:51 -0400)] 
Create UDP

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

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

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

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

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

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

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

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

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

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

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

12 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

12 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

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

12 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

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

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

12 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

12 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.

12 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)

12 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.

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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 *

12 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

12 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

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

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

12 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.

12 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

12 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.

12 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

12 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

12 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

12 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

12 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.

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

12 months agoConvert rlm_sql_postgresql to async
Nick Porter [Tue, 16 Jul 2024 17:43:11 +0000 (18:43 +0100)] 
Convert rlm_sql_postgresql to async

12 months agoUse macro for LDAP trunk notify callback
Nick Porter [Tue, 16 Jul 2024 11:24:02 +0000 (12:24 +0100)] 
Use macro for LDAP trunk notify callback

12 months agoUse a helper macro for SQL trunk notify callback to avoid boilerplate
Nick Porter [Tue, 16 Jul 2024 11:21:38 +0000 (12:21 +0100)] 
Use a helper macro for SQL trunk notify callback to avoid boilerplate

12 months agoadd header
Alan T. DeKok [Mon, 29 Jul 2024 13:21:20 +0000 (09:21 -0400)] 
add header

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

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

To match real packets seen in active systems

13 months agoDots now, not underscores
Arran Cudbard-Bell [Wed, 24 Jul 2024 19:13:58 +0000 (15:13 -0400)] 
Dots now, not underscores

13 months agoFix up the default rest module config
Arran Cudbard-Bell [Tue, 23 Jul 2024 21:39:20 +0000 (17:39 -0400)] 
Fix up the default  rest module config

13 months agoDocument column headers for proto_load
Arran Cudbard-Bell [Tue, 23 Jul 2024 17:02:41 +0000 (13:02 -0400)] 
Document column headers for proto_load

13 months agoBetter value for trunk connection "start"
Nick Porter [Fri, 19 Jul 2024 08:54:14 +0000 (09:54 +0100)] 
Better value for trunk connection "start"

Since trunks are per thread, starting one connection per thread by
default is more reasonable.

13 months agoAdd IPv6 prefix to the LDAP schema
Arran Cudbard-Bell [Fri, 19 Jul 2024 01:11:29 +0000 (21:11 -0400)] 
Add IPv6 prefix to the LDAP schema

13 months agoUse attribute with non SQL safe characters in SQL map query
Nick Porter [Thu, 18 Jul 2024 09:58:28 +0000 (10:58 +0100)] 
Use attribute with non SQL safe characters in SQL map query

13 months agoMake SQL map return code consistent with LDAP map
Nick Porter [Thu, 18 Jul 2024 09:52:41 +0000 (10:52 +0100)] 
Make SQL map return code consistent with LDAP map

No results == notfound

13 months agoUse attributes from packet in LDAP map tests
Nick Porter [Thu, 18 Jul 2024 09:10:18 +0000 (10:10 +0100)] 
Use attributes from packet in LDAP map tests

13 months agoLiterals in map sources are marked safe, so LDAP uri can be escaped
Nick Porter [Wed, 17 Jul 2024 11:50:17 +0000 (12:50 +0100)] 
Literals in map sources are marked safe, so LDAP uri can be escaped

13 months agoUse defined value for LDAPS_PORT
Nick Porter [Thu, 18 Jul 2024 08:17:31 +0000 (09:17 +0100)] 
Use defined value for LDAPS_PORT

13 months agoOnly set LDAP TLS options if TLS is in use
Nick Porter [Thu, 18 Jul 2024 08:17:13 +0000 (09:17 +0100)] 
Only set LDAP TLS options if TLS is in use

13 months agoSet the default port to LDAPS_PORT if scheme is ldaps://
Nick Porter [Thu, 18 Jul 2024 08:07:58 +0000 (09:07 +0100)] 
Set the default port to LDAPS_PORT if scheme is ldaps://

13 months agoSet tls_mode if LDAP scheme is ldaps://
Nick Porter [Thu, 18 Jul 2024 08:06:57 +0000 (09:06 +0100)] 
Set tls_mode if LDAP scheme is ldaps://

Allows for ldaps:// connections on ports other than 636 to be correctly
identified as using SSL

13 months agoTypo
Nick Porter [Thu, 18 Jul 2024 08:05:29 +0000 (09:05 +0100)] 
Typo

13 months agoMark attribute containing SQL query as safe
Nick Porter [Wed, 17 Jul 2024 16:11:49 +0000 (17:11 +0100)] 
Mark attribute containing SQL query as safe

Previously the query in an SQL map was not being escaped.
Now it is, the ' in the query will be escaped if the string is not
marked as safe.

13 months agoAdd %sql.safe() xlat
Nick Porter [Wed, 17 Jul 2024 16:07:37 +0000 (17:07 +0100)] 
Add %sql.safe() xlat

13 months agoAdd %sql.escape() xlat
Nick Porter [Wed, 17 Jul 2024 16:07:13 +0000 (17:07 +0100)] 
Add %sql.escape() xlat

13 months agoUse macro for SQL "safe for" value
Nick Porter [Wed, 17 Jul 2024 15:09:47 +0000 (16:09 +0100)] 
Use macro for SQL "safe for" value

13 months agoCopy "safe_for" from tmpl rules to value box when resolving data
Nick Porter [Wed, 17 Jul 2024 13:23:06 +0000 (14:23 +0100)] 
Copy "safe_for" from tmpl rules to value box when resolving data

13 months agoEscape boxes in SQL map queries
Nick Porter [Wed, 17 Jul 2024 11:51:18 +0000 (12:51 +0100)] 
Escape boxes in SQL map queries

13 months agoReturn correct type for "safe for"
Nick Porter [Wed, 17 Jul 2024 10:54:31 +0000 (11:54 +0100)] 
Return correct type for "safe for"

13 months agoNo need to escape boxes containing inherently safe data
Nick Porter [Wed, 17 Jul 2024 07:27:57 +0000 (08:27 +0100)] 
No need to escape boxes containing inherently safe data

13 months agoEnsure that all SQL queries have correct, driver specific escaping
Nick Porter [Tue, 16 Jul 2024 17:33:11 +0000 (18:33 +0100)] 
Ensure that all SQL queries have correct, driver specific escaping

13 months agoFreeBSD 13.2 has moved to Python 3.11
Nick Porter [Wed, 17 Jul 2024 07:52:59 +0000 (08:52 +0100)] 
FreeBSD 13.2 has moved to Python 3.11

13 months agoUpdate 3gpp2 dictionary
Nick Porter [Fri, 12 Jul 2024 13:40:38 +0000 (14:40 +0100)] 
Update 3gpp2 dictionary

According to https://frp.3gpp2.org/Public_html/X/VSA-VSE.cfm and packets
seen in the wild

13 months agoCorrect sort sequence for requests in runnable heap
Nick Porter [Fri, 12 Jul 2024 08:32:25 +0000 (09:32 +0100)] 
Correct sort sequence for requests in runnable heap

13 months agoSet request priority from channel data priority
Nick Porter [Fri, 12 Jul 2024 08:30:41 +0000 (09:30 +0100)] 
Set request priority from channel data priority

13 months agoSet inst->parent first in proto_load_step.c
Arran Cudbard-Bell [Thu, 11 Jul 2024 19:21:50 +0000 (15:21 -0400)] 
Set inst->parent first in proto_load_step.c

13 months agoAvoid unused variable warning when WITH_VERIFY_PTR not set
Nick Porter [Wed, 10 Jul 2024 12:44:58 +0000 (13:44 +0100)] 
Avoid unused variable warning when WITH_VERIFY_PTR not set

13 months ago"min" returns the oldest requests
Nick Porter [Wed, 10 Jul 2024 11:03:14 +0000 (12:03 +0100)] 
"min" returns the oldest requests

And don't remove from the heap unless the request is actually being
stopped.

13 months agoconst
Nick Porter [Tue, 9 Jul 2024 16:38:50 +0000 (17:38 +0100)] 
const

13 months agoblastradius mitigations
Arran Cudbard-Bell [Sun, 30 Jun 2024 20:03:17 +0000 (14:03 -0600)] 
blastradius mitigations

- Adds require_message_authenticator for responses from upstream proxies.
- Adds require_message_authenticator in radius listen sections.
- Adds require_message_authenticator == auto - Which automatically requires Message-Authenticator after on is received.
- Adds limit_proxy_state to client definitions and radius listen sections.  limit_proxy_state restricts whether Proxy-State can be present in a request without a Message-Authenitcator attribute.  It too has an auto mode, where if the first packet from a client does not contain Proxy-State, all subsequent packets from that client must either contain Message-Authenticator, or must not contain Proxy-State.

13 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Sun, 7 Jul 2024 09:34:46 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

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

13 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Sun, 7 Jul 2024 09:34:40 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

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

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

13 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Sun, 7 Jul 2024 09:34:31 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

13 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Sun, 7 Jul 2024 09:34:28 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

13 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Sun, 7 Jul 2024 09:34:25 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

13 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Sun, 7 Jul 2024 09:34:22 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

13 months agoRebuild docker images when the dock file changes
Arran Cudbard-Bell [Thu, 4 Jul 2024 20:42:37 +0000 (14:42 -0600)] 
Rebuild docker images when the dock file changes

13 months agoInstall some extra packages by default
Arran Cudbard-Bell [Thu, 4 Jul 2024 20:36:52 +0000 (14:36 -0600)] 
Install some extra packages by default

13 months agoDon't emit spurious global WARNs in rlm_cache
Arran Cudbard-Bell [Thu, 4 Jul 2024 15:30:40 +0000 (09:30 -0600)] 
Don't emit spurious global WARNs in rlm_cache

13 months agoAdd freeradiusClientGroupDN
Arran Cudbard-Bell [Thu, 4 Jul 2024 05:02:51 +0000 (23:02 -0600)] 
Add freeradiusClientGroupDN