]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
2 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

2 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

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

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

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

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

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

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

2 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

2 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

2 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

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

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

2 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

2 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

2 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

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

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

3 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

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

3 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

3 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

3 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

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

3 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

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

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

3 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

3 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

3 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

3 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

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

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

3 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

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

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

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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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

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

3 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

3 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

3 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

3 months agoDefine XS_pairs_FETCH
Nick Porter [Thu, 15 May 2025 14:22:25 +0000 (15:22 +0100)] 
Define XS_pairs_FETCH

Perl tied array function for fetching instances of an attribute.

3 months agoDefine C structure to associate with tied Perl hash / array
Nick Porter [Thu, 15 May 2025 14:13:17 +0000 (15:13 +0100)] 
Define C structure to associate with tied Perl hash / array

3 months agoif the cursor is const, don't set insert / remove
Alan T. DeKok [Sun, 18 May 2025 19:12:01 +0000 (15:12 -0400)] 
if the cursor is const, don't set insert / remove

3 months agothe first pair returned from the cursor might be structural
Alan T. DeKok [Sun, 18 May 2025 18:39:07 +0000 (14:39 -0400)] 
the first pair returned from the cursor might be structural

i.e. if the check for "is leaf" is needed for the subsequent
dcursor operations, then it should be needed for the first one, too

3 months agoremove unused functions
Alan T. DeKok [Sun, 18 May 2025 18:31:09 +0000 (14:31 -0400)] 
remove unused functions

3 months agoremove unused functions
Alan T. DeKok [Sun, 18 May 2025 18:30:52 +0000 (14:30 -0400)] 
remove unused functions

3 months agoremove references to function which doesn't exist
Alan T. DeKok [Sun, 18 May 2025 00:20:03 +0000 (20:20 -0400)] 
remove references to function which doesn't exist

3 months agomove to fr_dcursor_iter_init()
Alan T. DeKok [Sun, 18 May 2025 00:18:42 +0000 (20:18 -0400)] 
move to fr_dcursor_iter_init()

3 months agomove cursor callbacks to using fr_dcursor_t*
Alan T. DeKok [Sat, 17 May 2025 19:27:19 +0000 (15:27 -0400)] 
move cursor callbacks to using fr_dcursor_t*

instead of fr_dlist_head_t*.  This lets us change the underlying
cursor implementation.  i.e. to use chains of cursor

3 months agopass the right pointer to the function
Alan T. DeKok [Sat, 17 May 2025 15:59:55 +0000 (11:59 -0400)] 
pass the right pointer to the function

3 months agoadd ctx to tmpl_dcursor_value_box_init()
Alan T. DeKok [Sat, 17 May 2025 14:39:09 +0000 (10:39 -0400)] 
add ctx to tmpl_dcursor_value_box_init()

in preparation for adding FR_TYPE_PAIR_CURSOR to fr_pair_t

3 months agodocument common v3 pattern of ":=" followed by "+="
Alan T. DeKok [Sat, 17 May 2025 12:16:05 +0000 (08:16 -0400)] 
document common v3 pattern of ":=" followed by "+="

3 months agoTLS 1.3 support for LDAP module #5583
Alan T. DeKok [Sat, 17 May 2025 12:08:00 +0000 (08:08 -0400)] 
TLS 1.3 support for LDAP module #5583

3 months agono need to call a function for ptr comparison
Alan T. DeKok [Sat, 17 May 2025 12:07:44 +0000 (08:07 -0400)] 
no need to call a function for ptr comparison

3 months agoadd assertions
Alan T. DeKok [Sat, 17 May 2025 01:02:44 +0000 (21:02 -0400)] 
add assertions

in preparation for nested dcursors

3 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/cbor.tar
github-actions[bot] [Sat, 17 May 2025 04:27:04 +0000 (04:27 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/cbor.tar

3 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/der.tar
github-actions[bot] [Sat, 17 May 2025 04:26:01 +0000 (04:26 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/der.tar

3 months agoThese are being added to the reply
Nick Porter [Fri, 16 May 2025 15:56:38 +0000 (16:56 +0100)] 
These are being added to the reply

3 months agoallow list assignment to leaf attributes in nested sections
Alan T. DeKok [Fri, 16 May 2025 11:37:59 +0000 (07:37 -0400)] 
allow list assignment to leaf attributes in nested sections

3 months agoquiet coverity. CID #1409865
Alan T. DeKok [Thu, 15 May 2025 20:43:46 +0000 (16:43 -0400)] 
quiet coverity.  CID #1409865

3 months agouse int for memcmp results. CID #1646825
Alan T. DeKok [Thu, 15 May 2025 20:37:56 +0000 (16:37 -0400)] 
use int for memcmp results.  CID #1646825

3 months agoadd test which currently returns an error
Alan T. DeKok [Thu, 15 May 2025 19:38:21 +0000 (15:38 -0400)] 
add test which currently returns an error

so we have some notes for conditions in tmpl_dcursors

3 months agoAlign test with revised enum name
Nick Porter [Fri, 16 May 2025 08:21:34 +0000 (09:21 +0100)] 
Align test with revised enum name

3 months agoRename ARP packet types to avoid confict
Nick Porter [Fri, 16 May 2025 08:05:01 +0000 (09:05 +0100)] 
Rename ARP packet types to avoid confict

We need to be able to use ARP from DHCPv4, and with both protocols
having a packet type of "Request", both got an auto-generated `#define
FR_PACKET_TYPE_VALUE_REQUEST` but with different values.

3 months agoRemove stray policy
Nick Porter [Fri, 16 May 2025 07:20:43 +0000 (08:20 +0100)] 
Remove stray policy

3 months agoAdd header to give access to `fr_arp_entry_add`
Nick Porter [Thu, 15 May 2025 19:03:05 +0000 (20:03 +0100)] 
Add header to give access to `fr_arp_entry_add`

So that broadcast requests without the broadcast flag set can be
responded to correctly.

3 months agoToo many dots
Nick Porter [Thu, 15 May 2025 17:03:22 +0000 (18:03 +0100)] 
Too many dots

3 months agoanother step to allowing conditions in array refs
Alan T. DeKok [Thu, 15 May 2025 16:22:02 +0000 (12:22 -0400)] 
another step to allowing conditions in array refs

we don't yet have a syntax for "the current cursor position",
but the basics seems to be OK

3 months agoclean up error message
Alan T. DeKok [Thu, 15 May 2025 15:43:27 +0000 (11:43 -0400)] 
clean up error message

3 months agomove fr_skip* to their own C file and header
Alan T. DeKok [Thu, 15 May 2025 13:42:45 +0000 (09:42 -0400)] 
move fr_skip* to their own C file and header

as they are (and will be) used in many places

3 months agoquiet static analyzer
Alan T. DeKok [Thu, 15 May 2025 14:45:23 +0000 (10:45 -0400)] 
quiet static analyzer

3 months agoparse array things only when the quote is array
Alan T. DeKok [Thu, 15 May 2025 12:24:31 +0000 (08:24 -0400)] 
parse array things only when the quote is array

3 months agothe ar is already freed on error
Alan T. DeKok [Thu, 15 May 2025 12:24:03 +0000 (08:24 -0400)] 
the ar is already freed on error

3 months agoupdate notes now that we have FR_TYPE_PAIR_CURSOR
Alan T. DeKok [Thu, 15 May 2025 11:01:46 +0000 (07:01 -0400)] 
update notes now that we have FR_TYPE_PAIR_CURSOR

3 months agomight as well list dictionary things here, too
Alan T. DeKok [Thu, 15 May 2025 10:20:33 +0000 (06:20 -0400)] 
might as well list dictionary things here, too

3 months agomove pairs to its own directory
Alan T. DeKok [Thu, 15 May 2025 10:15:46 +0000 (06:15 -0400)] 
move pairs to its own directory