]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
14 months agoCorrect comment
Nick Porter [Wed, 4 Jun 2025 07:02:03 +0000 (08:02 +0100)] 
Correct comment

14 months agoAdd a status to rlm_crl_ctx_t to track which type of CRL is being handled
Nick Porter [Wed, 4 Jun 2025 06:58:58 +0000 (07:58 +0100)] 
Add a status to rlm_crl_ctx_t to track which type of CRL is being handled

14 months agoCRL reason "remove from CRL" is different from not found
Nick Porter [Tue, 3 Jun 2025 18:06:17 +0000 (19:06 +0100)] 
CRL reason "remove from CRL" is different from not found

It is an override that occurs in delta CRLs - whereas if a serial is not
found in a delta, the base should be checked.

14 months agoRestructure processing of multiple CRL distrubution points
Nick Porter [Mon, 2 Jun 2025 15:26:35 +0000 (16:26 +0100)] 
Restructure processing of multiple CRL distrubution points

When a certificate lists multiple CRL distribution points (that cover
all revokation reasons) then they are different methods to retrieve the
same CRL.

If we have one CRL downloaded, then that can be used.

If none exist then try to retrieve from each of the distribution points
until one succeeds.

14 months agoFix comment
Nick Porter [Mon, 2 Jun 2025 11:12:48 +0000 (12:12 +0100)] 
Fix comment

14 months agoAdd verification of CRL signatures
Nick Porter [Mon, 2 Jun 2025 11:12:19 +0000 (12:12 +0100)] 
Add verification of CRL signatures

14 months agoAllow per scheme expansions for CRL retrieval
Nick Porter [Fri, 30 May 2025 16:03:12 +0000 (17:03 +0100)] 
Allow per scheme expansions for CRL retrieval

14 months agoExtract URIs from Freshest CRL extension
Nick Porter [Fri, 30 May 2025 15:20:39 +0000 (16:20 +0100)] 
Extract URIs from Freshest CRL extension

Which tells us that the CRL has delta updates

14 months agoExtract and store CRL number
Nick Porter [Fri, 30 May 2025 15:17:43 +0000 (16:17 +0100)] 
Extract and store CRL number

Needed to verify that delta CRLs are for the correct base

14 months agoAdd early_refresh option to rlm_crl
Nick Porter [Fri, 30 May 2025 12:56:03 +0000 (13:56 +0100)] 
Add early_refresh option to rlm_crl

Time interval before nextUpdate at which the CRL will be renewed.

14 months agoAdd application/x-pkcs7-crl to known Content-Type values
Nick Porter [Fri, 30 May 2025 12:36:45 +0000 (13:36 +0100)] 
Add application/x-pkcs7-crl to known Content-Type values

Allows rlm_rest to download CRLs without spurious warnings

14 months agoUse nextUpdate from CRL to set expiry timer
Nick Porter [Thu, 29 May 2025 11:03:52 +0000 (12:03 +0100)] 
Use nextUpdate from CRL to set expiry timer

If it is less than the time which would result from `force_expiry`

14 months agoFree crl when it's expired
Nick Porter [Thu, 29 May 2025 10:15:40 +0000 (11:15 +0100)] 
Free crl when it's expired

14 months agocrl->ev needs to hold the expiry timer event
Nick Porter [Thu, 29 May 2025 09:55:50 +0000 (10:55 +0100)] 
crl->ev needs to hold the expiry timer event

14 months agoMake sure errors are printed
Nick Porter [Thu, 29 May 2025 09:54:05 +0000 (10:54 +0100)] 
Make sure errors are printed

14 months agoCorrect handling of X509_CRL_get0_by_serial
Nick Porter [Thu, 29 May 2025 09:53:15 +0000 (10:53 +0100)] 
Correct handling of X509_CRL_get0_by_serial

The docs misleadingly use the word "failure" for the return value 0.
What that means is failure to find the certificate, i.e. the certificate
is not in the CRL list - not a failure in the software.

14 months agoAdd conf parser to get force_expiry value
Nick Porter [Thu, 29 May 2025 09:50:18 +0000 (10:50 +0100)] 
Add conf parser to get force_expiry value

14 months agoWe remove the data from the tree, not its node member
Nick Porter [Thu, 29 May 2025 08:32:29 +0000 (09:32 +0100)] 
We remove the data from the tree, not its node member

14 months agoReference module instance in crl
Nick Porter [Thu, 29 May 2025 08:30:52 +0000 (09:30 +0100)] 
Reference module instance in crl

14 months agoInsert CRL into tree
Nick Porter [Thu, 29 May 2025 08:30:34 +0000 (09:30 +0100)] 
Insert CRL into tree

14 months agoModule instance data is const
Nick Porter [Thu, 29 May 2025 08:29:48 +0000 (09:29 +0100)] 
Module instance data is const

14 months agoTalloc the crl off the tree it will live in
Nick Porter [Thu, 29 May 2025 07:29:55 +0000 (08:29 +0100)] 
Talloc the crl off the tree it will live in

14 months agoUse pair_update_request so we only have one CRL.CDP-URL instance
Nick Porter [Wed, 28 May 2025 19:42:33 +0000 (20:42 +0100)] 
Use pair_update_request so we only have one CRL.CDP-URL instance

14 months agocrl option is required
Nick Porter [Wed, 28 May 2025 19:41:43 +0000 (20:41 +0100)] 
crl option is required

Otherwise we don't know how to download CRLs

14 months agoCorrect autoload variable names
Nick Porter [Wed, 28 May 2025 19:30:10 +0000 (20:30 +0100)] 
Correct autoload variable names

14 months agoFill out sample rlm_crl module config
Nick Porter [Wed, 28 May 2025 19:24:04 +0000 (20:24 +0100)] 
Fill out sample rlm_crl module config

14 months agoExtract CRL distribution points from certificates
Nick Porter [Wed, 28 May 2025 19:23:02 +0000 (20:23 +0100)] 
Extract CRL distribution points from certificates

14 months agoSet CALL_ENV_FLAG_ATTRIBUTE where we want attribute references
Nick Porter [Wed, 28 May 2025 19:07:31 +0000 (20:07 +0100)] 
Set CALL_ENV_FLAG_ATTRIBUTE where we want attribute references

14 months agoPopulate rctx if it's missing
Nick Porter [Wed, 28 May 2025 19:06:01 +0000 (20:06 +0100)] 
Populate rctx if it's missing

14 months agoInstance mutable data needs NULL talloc ctx
Nick Porter [Wed, 28 May 2025 19:05:10 +0000 (20:05 +0100)] 
Instance mutable data needs NULL talloc ctx

And freeing in mod_detach

14 months agoThe default case statement meant we always returned... but I guess the compiler isn...
Arran Cudbard-Bell [Wed, 28 May 2025 14:31:18 +0000 (08:31 -0600)] 
The default case statement meant we always returned... but I guess the compiler isn't smart enough to realise that.

14 months agoBasic CRL module
Arran Cudbard-Bell [Wed, 28 May 2025 14:22:39 +0000 (08:22 -0600)] 
Basic CRL module

14 months agoRe-encode serial as DER
Arran Cudbard-Bell [Wed, 28 May 2025 05:21:30 +0000 (23:21 -0600)] 
Re-encode serial as DER

14 months agoDelete data when we've been told to
Arran Cudbard-Bell [Wed, 28 May 2025 05:20:04 +0000 (23:20 -0600)] 
Delete data when we've been told to

14 months agoadd Captive-Portal from RFC 8910 (old 3679)
Alan T. DeKok [Tue, 3 Jun 2025 18:57:21 +0000 (14:57 -0400)] 
add Captive-Portal from RFC 8910 (old 3679)

14 months agoAdd Interface to Net tlv
Nick Porter [Thu, 29 May 2025 13:16:59 +0000 (14:16 +0100)] 
Add Interface to Net tlv

Allows policy decisions based on the interface a packet was received on.
Especially useful for multi-interface DHCPv4 servers handling broadcast
packets where src IP is always 0.0.0.0 and dest IP is always
255.255.255.255.

14 months agoadd new values. Fixes PR #5590
Alan T. DeKok [Wed, 28 May 2025 13:31:16 +0000 (09:31 -0400)] 
add new values.  Fixes PR #5590

14 months agodon't return, so we can do unblocked stuff. CID #1648287
Alan T. DeKok [Tue, 27 May 2025 14:33:36 +0000 (10:33 -0400)] 
don't return, so we can do unblocked stuff.  CID #1648287

14 months agotweaks and fixes
Alan T. DeKok [Tue, 27 May 2025 14:19:08 +0000 (10:19 -0400)] 
tweaks and fixes

14 months agodocs: buildfix-howto-reference - updated xref links and nav files to point to correct...
nolade [Mon, 26 May 2025 18:40:31 +0000 (14:40 -0400)] 
docs: buildfix-howto-reference - updated xref links and nav files to point to correct locations.

14 months agoadd missing documents
Alan T. DeKok [Tue, 27 May 2025 14:14:36 +0000 (10:14 -0400)] 
add missing documents

14 months agoadd comment about InkBridge
Alan T. DeKok [Mon, 26 May 2025 18:03:23 +0000 (14:03 -0400)] 
add comment about InkBridge

14 months agouse proper return code
Alan T. DeKok [Mon, 26 May 2025 11:14:05 +0000 (07:14 -0400)] 
use proper return code

14 months agocheck return. CID #1647997
Alan T. DeKok [Sun, 25 May 2025 12:33:51 +0000 (08:33 -0400)] 
check return.  CID #1647997

14 months agodict_def may be NULL. CID #1646935
Alan T. DeKok [Sun, 25 May 2025 12:31:58 +0000 (08:31 -0400)] 
dict_def may be NULL.  CID #1646935

14 months agodon't return an FD when reading a LISTEN bio
Alan T. DeKok [Sat, 24 May 2025 12:46:04 +0000 (08:46 -0400)] 
don't return an FD when reading a LISTEN bio

the caller should call fr_bio_fd_accept() instead

14 months agoENOTCONN is an allowed error for connected UDP sockets
Alan T. DeKok [Sat, 24 May 2025 12:39:38 +0000 (08:39 -0400)] 
ENOTCONN is an allowed error for connected UDP sockets

14 months agoclean up connected UDP sockets
Alan T. DeKok [Sat, 24 May 2025 12:38:45 +0000 (08:38 -0400)] 
clean up connected UDP sockets

further research shows that they are, in fact, connected.

14 months agoPacify Coverity (CID #1647997)
Nick Porter [Mon, 26 May 2025 07:46:31 +0000 (08:46 +0100)] 
Pacify Coverity (CID #1647997)

14 months agoLook for Relay-Agent-Information in the Offer, now we add it automagically
Nick Porter [Sat, 24 May 2025 18:27:41 +0000 (19:27 +0100)] 
Look for Relay-Agent-Information in the Offer, now we add it automagically

14 months agoHelp users by copying DHCPv4 option 82 from request to reply
Nick Porter [Fri, 23 May 2025 16:22:09 +0000 (17:22 +0100)] 
Help users by copying DHCPv4 option 82 from request to reply

To align with RFC3046

14 months agoPacket type is set correclty by the DHCPv4 process module
Nick Porter [Fri, 23 May 2025 16:09:58 +0000 (17:09 +0100)] 
Packet type is set correclty by the DHCPv4 process module

14 months agochange spelling of pbkdf2 files from pbkfd2 (#5593)
Gerald Vogt [Fri, 23 May 2025 13:49:20 +0000 (15:49 +0200)] 
change spelling of pbkdf2 files from pbkfd2 (#5593)

14 months agoPacify Coverity (CID #1646843)
Nick Porter [Wed, 21 May 2025 15:03:09 +0000 (16:03 +0100)] 
Pacify Coverity (CID #1646843)

14 months agoTest that sqlippool does not clobber existing assigned address
Nick Porter [Tue, 20 May 2025 15:54:05 +0000 (16:54 +0100)] 
Test that sqlippool does not clobber existing assigned address

14 months agoDon't attempt to concat if the target type is void
Nick Porter [Tue, 20 May 2025 15:42:48 +0000 (16:42 +0100)] 
Don't attempt to concat if the target type is void

The box will never be FR_TYPE_VOID - it just means we want whatever
we're given.

14 months agoAdd FreeRADIUS to brotli and common rpm package summaries
Nick Porter [Tue, 20 May 2025 11:19:28 +0000 (12:19 +0100)] 
Add FreeRADIUS to brotli and common rpm package summaries

To be consistent with other packages and give clearer search results

14 months agoUse enum syntax to set DUID
Nick Porter [Tue, 20 May 2025 08:38:10 +0000 (09:38 +0100)] 
Use enum syntax to set DUID

14 months agoUse the test port referenced in the comment
Nick Porter [Tue, 20 May 2025 08:33:10 +0000 (09:33 +0100)] 
Use the test port referenced in the comment

14 months agoAdd -b option to radtest
Nick Porter [Tue, 20 May 2025 08:20:24 +0000 (09:20 +0100)] 
Add -b option to radtest

14 months agoAdd more notes on Python attriubte access
Nick Porter [Tue, 20 May 2025 07:46:06 +0000 (08:46 +0100)] 
Add more notes on Python attriubte access

14 months agoCorrect comments
Nick Porter [Tue, 20 May 2025 07:36:54 +0000 (08:36 +0100)] 
Correct comments

14 months agoPacify Coverity (CID #1647938)
Nick Porter [Tue, 20 May 2025 07:36:15 +0000 (08:36 +0100)] 
Pacify Coverity (CID #1647938)

14 months agoBump clang version used on macOS
Nick Porter [Mon, 19 May 2025 15:44:55 +0000 (16:44 +0100)] 
Bump clang version used on macOS

We already use clang 18 on Linux

14 months agoConvert FTP references to HTTPS for the same
Terry Burton [Mon, 19 May 2025 12:46:38 +0000 (13:46 +0100)] 
Convert FTP references to HTTPS for the same

14 months agoUpdate rlm_sql docs from raddb
Nick Porter [Mon, 19 May 2025 12:38:18 +0000 (13:38 +0100)] 
Update rlm_sql docs from raddb

14 months agoUpdate rlm_perl docs from raddb
Nick Porter [Mon, 19 May 2025 12:37:26 +0000 (13:37 +0100)] 
Update rlm_perl docs from raddb

14 months agoReduce complexity
Nick Porter [Mon, 19 May 2025 12:33:44 +0000 (13:33 +0100)] 
Reduce complexity

14 months agoPacify Coverity (CID #1646844)
Nick Porter [Mon, 19 May 2025 12:25:07 +0000 (13:25 +0100)] 
Pacify Coverity (CID #1646844)

14 months agoOverview of new Perl attribute list access / manipulation in upgrade doc
Nick Porter [Mon, 19 May 2025 11:18:58 +0000 (12:18 +0100)] 
Overview of new Perl attribute list access / manipulation in upgrade doc

14 months agoSpelling
Nick Porter [Mon, 19 May 2025 11:09:20 +0000 (12:09 +0100)] 
Spelling

14 months agoPacify Coverity (CID #1646862)
Nick Porter [Mon, 19 May 2025 11:09:08 +0000 (12:09 +0100)] 
Pacify Coverity (CID #1646862)

14 months agoAllow fr_lua_get_field to be called with request == NULL (CID #1646787)
Nick Porter [Mon, 19 May 2025 11:04:43 +0000 (12:04 +0100)] 
Allow fr_lua_get_field to be called with request == NULL (CID #1646787)

14 months agoAdd tests of the Perl tied hash functions
Nick Porter [Mon, 19 May 2025 09:51:49 +0000 (10:51 +0100)] 
Add tests of the Perl tied hash functions

14 months agoAdd some tests of invalid attribute access
Nick Porter [Mon, 19 May 2025 08:22:19 +0000 (09:22 +0100)] 
Add some tests of invalid attribute access

14 months agoAdd tests of Perl array operations
Nick Porter [Mon, 19 May 2025 07:55:52 +0000 (08:55 +0100)] 
Add tests of Perl array operations

14 months agoRename radiusd module to freeradius
Nick Porter [Sat, 17 May 2025 20:18:00 +0000 (21:18 +0100)] 
Rename radiusd module to freeradius

To be consistent with Python / Lua

14 months agoUpdate example.pl to match new attribute access / setting
Nick Porter [Sat, 17 May 2025 20:05:31 +0000 (21:05 +0100)] 
Update example.pl to match new attribute access / setting

And align subroutine names with v4 RADIUS section names

14 months agoUpdate Perl tests for new attribute access / setting methods
Nick Porter [Sat, 17 May 2025 20:01:06 +0000 (21:01 +0100)] 
Update Perl tests for new attribute access / setting methods

14 months agoUpdate sample rlm_perl configuration
Nick Porter [Sat, 17 May 2025 19:24:36 +0000 (20:24 +0100)] 
Update sample rlm_perl configuration

14 months agoRemove old Perl pair marshalling functions
Nick Porter [Fri, 16 May 2025 19:29:07 +0000 (20:29 +0100)] 
Remove old Perl pair marshalling functions

14 months agoDon't marshal pair lists into global Perl hashes
Nick Porter [Fri, 16 May 2025 19:27:42 +0000 (20:27 +0100)] 
Don't marshal pair lists into global Perl hashes

14 months agoRemove old Perl value unmarshalling functions
Nick Porter [Fri, 16 May 2025 19:26:48 +0000 (20:26 +0100)] 
Remove old Perl value unmarshalling functions

14 months agoRemove rlm_perl replace options
Nick Porter [Fri, 16 May 2025 19:24:32 +0000 (20:24 +0100)] 
Remove rlm_perl replace options

14 months agoDon't replace pair lists after calling rlm_perl
Nick Porter [Fri, 16 May 2025 19:23:22 +0000 (20:23 +0100)] 
Don't replace pair lists after calling rlm_perl

Now pairs can be directly manipulated from the Perl subroutine

14 months agoAdd UNSHIFT to Perl tied arrays
Nick Porter [Fri, 16 May 2025 19:18:01 +0000 (20:18 +0100)] 
Add UNSHIFT to Perl tied arrays

14 months agoAdd SHIFT to Perl tied arrays
Nick Porter [Fri, 16 May 2025 19:15:17 +0000 (20:15 +0100)] 
Add SHIFT to Perl tied arrays

14 months agoAdd POP to Perl tied arrays
Nick Porter [Fri, 16 May 2025 18:26:33 +0000 (19:26 +0100)] 
Add POP to Perl tied arrays

14 months agoAdd PUSH to Perl tied arrays
Nick Porter [Fri, 16 May 2025 16:43:52 +0000 (17:43 +0100)] 
Add PUSH to Perl tied arrays

14 months agoAdd STORESIZE to Perl tied array
Nick Porter [Thu, 15 May 2025 16:04:38 +0000 (17:04 +0100)] 
Add STORESIZE to Perl tied array

14 months agoAdd FETCHSIZE function to Perl tied arrays
Nick Porter [Thu, 15 May 2025 15:45:14 +0000 (16:45 +0100)] 
Add FETCHSIZE function to Perl tied arrays

14 months agoAdd DELETE functionality to Perl tied arrays
Nick Porter [Thu, 15 May 2025 15:44:10 +0000 (16:44 +0100)] 
Add DELETE functionality to Perl tied arrays

14 months agoAdd EXISTS functionality to tied Perl arrays
Nick Porter [Thu, 15 May 2025 15:42:05 +0000 (16:42 +0100)] 
Add EXISTS functionality to tied Perl arrays

14 months agoAdd XS_pairs_STORE
Nick Porter [Thu, 15 May 2025 15:00:40 +0000 (16:00 +0100)] 
Add XS_pairs_STORE

For setting / updating instances of leaf attributes, building out
parents as needed.

14 months agoAdd function DELETE for Perl tied hash
Nick Porter [Thu, 15 May 2025 14:57:06 +0000 (15:57 +0100)] 
Add function DELETE for Perl tied hash

14 months agoAdd Perl hash key iteration functions
Nick Porter [Thu, 15 May 2025 14:52:21 +0000 (15:52 +0100)] 
Add Perl hash key iteration functions

14 months agoAdd XS_pairlist_EXISTS
Nick Porter [Thu, 15 May 2025 14:48:05 +0000 (15:48 +0100)] 
Add XS_pairlist_EXISTS

To check the existence of hash keys (child pairs in a structural
attribute in FreeRADIUS)

14 months agoAdd XS_pairlist_STORE
Nick Porter [Thu, 15 May 2025 14:44:15 +0000 (15:44 +0100)] 
Add XS_pairlist_STORE

To reject attempts to set a value on a structural attribute

14 months agoPass a hash to Perl subroutines with the pair list roots
Nick Porter [Thu, 15 May 2025 14:41:26 +0000 (15:41 +0100)] 
Pass a hash to Perl subroutines with the pair list roots

14 months agoDefine XS_pairlist_FETCH
Nick Porter [Thu, 15 May 2025 14:36:43 +0000 (15:36 +0100)] 
Define XS_pairlist_FETCH

Perl tied hash function for fetching structural attributes