]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 months agoAssert if slab elements are not released correctly
Arran Cudbard-Bell [Thu, 26 Feb 2026 00:51:36 +0000 (17:51 -0700)] 
Assert if slab elements are not released correctly

3 months agoattr.by_num is redundant and can be removed
Arran Cudbard-Bell [Wed, 25 Feb 2026 22:30:10 +0000 (15:30 -0700)] 
attr.by_num is redundant and can be removed

3 months agoallow dict.attr.by_oid to operate with foreign protocols
Arran Cudbard-Bell [Wed, 25 Feb 2026 22:00:32 +0000 (15:00 -0700)] 
allow dict.attr.by_oid to operate with foreign protocols

3 months agoRemove unused argument in dict function
Arran Cudbard-Bell [Wed, 25 Feb 2026 22:00:12 +0000 (15:00 -0700)] 
Remove unused argument in dict function

3 months agoonly remove it if it's in the dedup tree
Alan T. DeKok [Wed, 25 Feb 2026 19:18:40 +0000 (14:18 -0500)] 
only remove it if it's in the dedup tree

3 months agoadd assertion to quiet static analyser
Alan T. DeKok [Wed, 25 Feb 2026 18:35:41 +0000 (13:35 -0500)] 
add assertion to quiet static analyser

3 months agoremove old entry from dedup tree
Alan T. DeKok [Wed, 25 Feb 2026 18:31:58 +0000 (13:31 -0500)] 
remove old entry from dedup tree

3 months agoparse *= and /=. Update tests to match
Alan T. DeKok [Wed, 25 Feb 2026 18:18:11 +0000 (13:18 -0500)] 
parse *= and /=.  Update tests to match

3 months agotweak error messages to produce actual error string
Alan T. DeKok [Wed, 25 Feb 2026 18:03:22 +0000 (13:03 -0500)] 
tweak error messages to produce actual error string

3 months agovarious typos in tacacs
Alan T. DeKok [Wed, 25 Feb 2026 15:50:24 +0000 (10:50 -0500)] 
various typos in tacacs

3 months agomake tcp respect max_attributes and require_ma
Alan T. DeKok [Wed, 25 Feb 2026 15:47:16 +0000 (10:47 -0500)] 
make tcp respect max_attributes and require_ma

and also make it handle partial reads

3 months agoallow packet_list_recv() to return error
Alan T. DeKok [Wed, 25 Feb 2026 15:15:31 +0000 (10:15 -0500)] 
allow packet_list_recv() to return error

so that we can close TCP sockets

3 months agovarious bug fixes in the RADIUS protocol handler
Alan T. DeKok [Wed, 25 Feb 2026 15:11:04 +0000 (10:11 -0500)] 
various bug fixes in the RADIUS protocol handler

largely in things for radclient, or proposed code that isn't
used.

3 months agoreset flag on free all
Alan T. DeKok [Wed, 25 Feb 2026 14:05:44 +0000 (09:05 -0500)] 
reset flag on free all

3 months agofix typos
Alan T. DeKok [Wed, 25 Feb 2026 12:29:13 +0000 (07:29 -0500)] 
fix typos

3 months agocheck correct field
Alan T. DeKok [Wed, 25 Feb 2026 02:07:57 +0000 (21:07 -0500)] 
check correct field

3 months agofix typo in comparison
Alan T. DeKok [Wed, 25 Feb 2026 02:01:42 +0000 (21:01 -0500)] 
fix typo in comparison

3 months agoclose FPs on errors
Alan T. DeKok [Wed, 25 Feb 2026 01:54:19 +0000 (20:54 -0500)] 
close FPs on errors

3 months agoreturn IO error on EINTR if we run out of retries
Alan T. DeKok [Wed, 25 Feb 2026 01:49:24 +0000 (20:49 -0500)] 
return IO error on EINTR if we run out of retries

very much an extreme corner case, but sure.

3 months agoadd O_WRONLY parsing
Alan T. DeKok [Wed, 25 Feb 2026 01:44:47 +0000 (20:44 -0500)] 
add O_WRONLY parsing

3 months agoSO_TIMESTAMP needs SOL_SOCKET, not SOL_IP
Alan T. DeKok [Wed, 25 Feb 2026 01:43:11 +0000 (20:43 -0500)] 
SO_TIMESTAMP needs SOL_SOCKET, not SOL_IP

3 months agoset AF for sockaddr_in
Alan T. DeKok [Wed, 25 Feb 2026 01:32:26 +0000 (20:32 -0500)] 
set AF for sockaddr_in

3 months agovarious fixes in fd_open.c
Alan T. DeKok [Wed, 25 Feb 2026 01:30:39 +0000 (20:30 -0500)] 
various fixes in fd_open.c

3 months agoupdate pointer on discard
Alan T. DeKok [Wed, 25 Feb 2026 00:51:18 +0000 (19:51 -0500)] 
update pointer on discard

3 months agoremove double free on error
Alan T. DeKok [Wed, 25 Feb 2026 00:49:50 +0000 (19:49 -0500)] 
remove double free on error

3 months agoremove commented-out code and update message
Alan T. DeKok [Wed, 25 Feb 2026 00:48:10 +0000 (19:48 -0500)] 
remove commented-out code and update message

3 months agorwquire that packet_ctx is not NULL for filtering to work
Alan T. DeKok [Wed, 25 Feb 2026 00:42:01 +0000 (19:42 -0500)] 
rwquire that packet_ctx is not NULL for filtering to work

3 months agoupdate docs
Alan T. DeKok [Wed, 25 Feb 2026 00:36:09 +0000 (19:36 -0500)] 
update docs

3 months agovarious fixes in pipe.c
Alan T. DeKok [Wed, 25 Feb 2026 00:35:28 +0000 (19:35 -0500)] 
various fixes in pipe.c

3 months agoadd tests for ring_buffer_start()
Alan T. DeKok [Wed, 25 Feb 2026 00:28:14 +0000 (19:28 -0500)] 
add tests for ring_buffer_start()

3 months agotypo
Alan T. DeKok [Wed, 25 Feb 2026 00:24:37 +0000 (19:24 -0500)] 
typo

3 months agoAdd map of dn -> attribute to LDAP module test
Nick Porter [Wed, 25 Feb 2026 09:28:45 +0000 (09:28 +0000)] 
Add map of dn -> attribute to LDAP module test

3 months agoAdd handling of "dn" to fr_ldap_map_do
Nick Porter [Tue, 24 Feb 2026 18:11:41 +0000 (18:11 +0000)] 
Add handling of "dn" to fr_ldap_map_do

So "dn" can be used as a RHS in an LDAP update map.

3 months agoRemove invalid comment
Nick Porter [Tue, 24 Feb 2026 18:10:43 +0000 (18:10 +0000)] 
Remove invalid comment

3 months agoRemove unused list
Nick Porter [Tue, 24 Feb 2026 18:02:58 +0000 (18:02 +0000)] 
Remove unused list

3 months agoFix marker not being released on return in fr_sbuff_out_bstrncpy_exact
Arran Cudbard-Bell [Wed, 25 Feb 2026 06:13:24 +0000 (23:13 -0700)] 
Fix marker not being released on return in fr_sbuff_out_bstrncpy_exact

3 months agoEnable parallel deb builds
Arran Cudbard-Bell [Wed, 25 Feb 2026 01:49:19 +0000 (18:49 -0700)] 
Enable parallel deb builds

3 months agovarious bug fixes in retry.c
Alan T. DeKok [Wed, 25 Feb 2026 00:21:20 +0000 (19:21 -0500)] 
various bug fixes in retry.c

3 months agoreturn size of tail block
Alan T. DeKok [Wed, 25 Feb 2026 00:14:47 +0000 (19:14 -0500)] 
return size of tail block

3 months agocheck for failures and clean up
Alan T. DeKok [Wed, 25 Feb 2026 00:12:43 +0000 (19:12 -0500)] 
check for failures and clean up

3 months agohoist ring buffer limits to common function
Alan T. DeKok [Wed, 25 Feb 2026 00:09:59 +0000 (19:09 -0500)] 
hoist ring buffer limits to common function

3 months agomatch size exactly
Alan T. DeKok [Wed, 25 Feb 2026 00:02:55 +0000 (19:02 -0500)] 
match size exactly

3 months agoadd missing file
Alan T. DeKok [Tue, 24 Feb 2026 22:55:24 +0000 (17:55 -0500)] 
add missing file

3 months agoincrement counter as we walk down the list
Alan T. DeKok [Tue, 24 Feb 2026 22:48:07 +0000 (17:48 -0500)] 
increment counter as we walk down the list

3 months agofree VP, not pointer
Alan T. DeKok [Tue, 24 Feb 2026 22:43:36 +0000 (17:43 -0500)] 
free VP, not pointer

3 months agodiscard attributes with the incorrect length
Alan T. DeKok [Tue, 24 Feb 2026 22:39:46 +0000 (17:39 -0500)] 
discard attributes with the incorrect length

3 months agouse correct data type
Alan T. DeKok [Tue, 24 Feb 2026 22:38:03 +0000 (17:38 -0500)] 
use correct data type

3 months agoerror on conflict (1), too.
Alan T. DeKok [Tue, 24 Feb 2026 22:34:56 +0000 (17:34 -0500)] 
error on conflict (1), too.

which makes this code the same as the earlier version of it

3 months agoremove unused 'i' and 'p' arguments
Alan T. DeKok [Tue, 24 Feb 2026 22:33:57 +0000 (17:33 -0500)] 
remove unused 'i' and 'p' arguments

3 months agotypo
Alan T. DeKok [Tue, 24 Feb 2026 22:33:09 +0000 (17:33 -0500)] 
typo

3 months agolimit count to available capacity
Alan T. DeKok [Tue, 24 Feb 2026 22:22:33 +0000 (17:22 -0500)] 
limit count to available capacity

and limit PPS to avoid numerical overflows

3 months agospelling
Alan T. DeKok [Tue, 24 Feb 2026 21:38:16 +0000 (16:38 -0500)] 
spelling

3 months agohoist free(inst_name)
Alan T. DeKok [Tue, 24 Feb 2026 21:37:41 +0000 (16:37 -0500)] 
hoist free(inst_name)

3 months agohoist code into common function
Alan T. DeKok [Tue, 24 Feb 2026 21:32:50 +0000 (16:32 -0500)] 
hoist code into common function

3 months agouse INT_MAX instead of hard-coded numbers
Alan T. DeKok [Tue, 24 Feb 2026 21:18:48 +0000 (16:18 -0500)] 
use INT_MAX instead of hard-coded numbers

3 months agouse pointer offset, not element offset
Alan T. DeKok [Tue, 24 Feb 2026 21:15:32 +0000 (16:15 -0500)] 
use pointer offset, not element offset

3 months agofix typos
Alan T. DeKok [Tue, 24 Feb 2026 21:14:14 +0000 (16:14 -0500)] 
fix typos

3 months agofix typos
Alan T. DeKok [Tue, 24 Feb 2026 21:12:31 +0000 (16:12 -0500)] 
fix typos

3 months agotweaks for name normalization
Alan T. DeKok [Tue, 24 Feb 2026 21:10:35 +0000 (16:10 -0500)] 
tweaks for name normalization

3 months agoremove cancelled items from the lists
Alan T. DeKok [Tue, 24 Feb 2026 21:07:27 +0000 (16:07 -0500)] 
remove cancelled items from the lists

3 months agoallow for IPv6 packet info, and check for truncated data / msg
Alan T. DeKok [Tue, 24 Feb 2026 21:04:29 +0000 (16:04 -0500)] 
allow for IPv6 packet info, and check for truncated data / msg

3 months agomark data in buffer as used
Alan T. DeKok [Tue, 24 Feb 2026 20:55:26 +0000 (15:55 -0500)] 
mark data in buffer as used

3 months agoremove unused macros
Alan T. DeKok [Tue, 24 Feb 2026 20:52:23 +0000 (15:52 -0500)] 
remove unused macros

3 months agoguards for bugs in EAP method implementations
Alan T. DeKok [Tue, 24 Feb 2026 20:50:17 +0000 (15:50 -0500)] 
guards for bugs in EAP method implementations

3 months agoEAP-Message is already concatenated
Alan T. DeKok [Tue, 24 Feb 2026 20:46:23 +0000 (15:46 -0500)] 
EAP-Message is already concatenated

3 months agoclean up eap validity checks
Alan T. DeKok [Tue, 24 Feb 2026 20:43:22 +0000 (15:43 -0500)] 
clean up eap validity checks

3 months agoreturn reject on channel binding failure
Alan T. DeKok [Tue, 24 Feb 2026 20:21:57 +0000 (15:21 -0500)] 
return reject on channel binding failure

3 months agoclean up and rearrange EAP handling
Alan T. DeKok [Tue, 24 Feb 2026 18:27:40 +0000 (13:27 -0500)] 
clean up and rearrange EAP handling

3 months agotweak handling of ignore_unknown_types
Alan T. DeKok [Tue, 24 Feb 2026 17:10:13 +0000 (12:10 -0500)] 
tweak handling of ignore_unknown_types

3 months agotweak variables to quiet static analyzer
Alan T. DeKok [Tue, 24 Feb 2026 16:40:16 +0000 (11:40 -0500)] 
tweak variables to quiet static analyzer

3 months agotemporarily disable regular docker image refresh
Matthew Newton [Tue, 24 Feb 2026 18:31:40 +0000 (18:31 +0000)] 
temporarily disable regular docker image refresh

3 months agosend back canned failure on invalid EAP packets.
Alan T. DeKok [Tue, 24 Feb 2026 16:18:48 +0000 (11:18 -0500)] 
send back canned failure on invalid EAP packets.

and discard the underlying EAP session.

3 months agoadd function to discard EAP session based on request
Alan T. DeKok [Tue, 24 Feb 2026 16:17:26 +0000 (11:17 -0500)] 
add function to discard EAP session based on request

3 months agoremove dead code
Alan T. DeKok [Tue, 24 Feb 2026 16:19:13 +0000 (11:19 -0500)] 
remove dead code

3 months agotypo
Alan T. DeKok [Tue, 24 Feb 2026 13:06:14 +0000 (08:06 -0500)] 
typo

3 months agouse "end" pointer instead of "size_t" counter
Alan T. DeKok [Tue, 24 Feb 2026 12:38:42 +0000 (07:38 -0500)] 
use "end" pointer instead of "size_t" counter

3 months agobe more forgiving about VSAs
Alan T. DeKok [Mon, 23 Feb 2026 19:32:09 +0000 (14:32 -0500)] 
be more forgiving about VSAs

and use intermediate list, so that we don't update the input one
on error

3 months agouse intermediate list
Alan T. DeKok [Mon, 23 Feb 2026 19:47:56 +0000 (14:47 -0500)] 
use intermediate list

so that we don't update the main one on error

3 months agodecode concatenated DNS labels, too
Alan T. DeKok [Mon, 23 Feb 2026 19:39:13 +0000 (14:39 -0500)] 
decode concatenated DNS labels, too

3 months agoreturn correct value.
Alan T. DeKok [Mon, 23 Feb 2026 18:57:07 +0000 (13:57 -0500)] 
return correct value.

the caller doesn't use it, but it's best to be correct.

3 months ago%always() argument is a string
Nick Porter [Mon, 23 Feb 2026 20:01:19 +0000 (20:01 +0000)] 
%always() argument is a string

3 months agoIncrease unit_test_module max_request_time to 60s
Arran Cudbard-Bell [Tue, 24 Feb 2026 05:19:50 +0000 (22:19 -0700)] 
Increase unit_test_module max_request_time to 60s

The default 30s max_request_time was causing the LDAP auth_ldapi
test to be cancelled under sanitizers.  The SCRAM-SHA-512 SASL bind
plus user search takes ~34s with ASAN overhead, exceeding the 30s
limit and triggering FR_SIGNAL_CANCEL on the request.

3 months agoIncrease jlibtool test timeout to 600s under sanitizers ci-debug
Arran Cudbard-Bell [Tue, 24 Feb 2026 04:10:09 +0000 (21:10 -0700)] 
Increase jlibtool test timeout to 600s under sanitizers

The O2-g3 sanitizer build was hitting the 300s jlibtool timeout
on unit_test_module tests (e.g. modules/files/vendor).  Double
the timeout when sanitizers are enabled to account for ASAN overhead.

3 months agoIncrease eapol_test timeout to 30s under sanitizers
Arran Cudbard-Bell [Tue, 24 Feb 2026 03:58:21 +0000 (20:58 -0700)] 
Increase eapol_test timeout to 30s under sanitizers

The 10 second eapol_test timeout is too tight when running under
address sanitizer with detect_stack_use_after_return=1 and
fast_unwind_on_malloc=0.  Multi-round-trip EAP-TLS handshakes
with certificate verification can exceed 10s under this load,
causing the most frequent CI-Sanitizers failure
(ttls-client-eap-tls timeout).

Set EAPOL_TEST_TIMEOUT conditionally: 30s when sanitizers are
enabled, 10s otherwise.

3 months agoAdd Claude Code GitHub Workflow (#5752)
Arran Cudbard-Bell [Mon, 23 Feb 2026 23:11:12 +0000 (16:11 -0700)] 
Add Claude Code GitHub Workflow (#5752)

* "Claude PR Assistant workflow"

* "Claude Code Review workflow"

3 months agoshut up clang scan
Alan T. DeKok [Mon, 23 Feb 2026 17:18:05 +0000 (12:18 -0500)] 
shut up clang scan

which claims some bizarre things if the check for !secret is
hoisted to the top of the do_challenge() function.

3 months agominor bug fixes in radius decoder
Alan T. DeKok [Mon, 23 Feb 2026 17:10:18 +0000 (12:10 -0500)] 
minor bug fixes in radius decoder

3 months agodecode continued attributes into the correct parent
Alan T. DeKok [Mon, 23 Feb 2026 17:07:19 +0000 (12:07 -0500)] 
decode continued attributes into the correct parent

3 months agoprint name2 if we can't find the section
Alan T. DeKok [Mon, 23 Feb 2026 16:04:45 +0000 (11:04 -0500)] 
print name2 if we can't find the section

unused sections are a warning without -C, and an error with -C

Unless the unused section is a case difference from a known one,
in which case it's an error even without -C.

We don't want people to make typos, and have the server silently
ignore critical pieces of the config.

3 months agovarious bug fixes and tweaks to unlang
Alan T. DeKok [Sun, 22 Feb 2026 17:48:33 +0000 (12:48 -0500)] 
various bug fixes and tweaks to unlang

3 months agoadd partial page for "this isn't RADIUS"
Alan T. DeKok [Sun, 22 Feb 2026 17:47:01 +0000 (12:47 -0500)] 
add partial page for "this isn't RADIUS"

and various other minor tweaks

3 months agotweak proxy-state missing -> proxy state without MA
Alan T. DeKok [Sun, 22 Feb 2026 17:01:14 +0000 (12:01 -0500)] 
tweak proxy-state missing -> proxy state without MA

3 months agovarious bug fixes in radmin.c
Alan T. DeKok [Fri, 20 Feb 2026 16:25:43 +0000 (11:25 -0500)] 
various bug fixes in radmin.c

3 months agotypos
Alan T. DeKok [Sat, 21 Feb 2026 00:45:16 +0000 (19:45 -0500)] 
typos

3 months agoPacify Coverity (CID #1681443)
Nick Porter [Mon, 23 Feb 2026 08:33:30 +0000 (08:33 +0000)] 
Pacify Coverity (CID #1681443)

3 months agoPacify Coverity (CID #1681444)
Nick Porter [Mon, 23 Feb 2026 08:27:48 +0000 (08:27 +0000)] 
Pacify Coverity (CID #1681444)

3 months agoreword and touchup
Alan T. DeKok [Sat, 21 Feb 2026 15:23:16 +0000 (10:23 -0500)] 
reword and touchup

3 months agotypo
Alan T. DeKok [Sat, 21 Feb 2026 15:08:04 +0000 (10:08 -0500)] 
typo

3 months agodocs-v4: update troubleshooting with common errors page HIVE 7914
nolade [Thu, 19 Feb 2026 21:27:12 +0000 (16:27 -0500)] 
docs-v4: update troubleshooting with common errors page HIVE 7914

3 months agopull changes back into raddb, and regenerate from "make doc.raddb"
Alan T. DeKok [Sat, 21 Feb 2026 14:47:22 +0000 (09:47 -0500)] 
pull changes back into raddb, and regenerate from "make doc.raddb"