]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
6 months agotweaks to make it clearer
Alan T. DeKok [Tue, 3 Feb 2026 19:57:12 +0000 (14:57 -0500)] 
tweaks to make it clearer

6 months agoupdate docs for configurable failover and module behavior
Alan T. DeKok [Tue, 3 Feb 2026 19:46:14 +0000 (14:46 -0500)] 
update docs for configurable failover and module behavior

6 months agotypo
Alan T. DeKok [Tue, 3 Feb 2026 17:24:59 +0000 (12:24 -0500)] 
typo

6 months agoAutz-Type is not in v4
Alan T. DeKok [Tue, 3 Feb 2026 14:22:34 +0000 (09:22 -0500)] 
Autz-Type is not in v4

remove all references to it, and note this in the upgrade
documentation.

6 months agotweak and fix typos
Alan T. DeKok [Sun, 1 Feb 2026 21:52:27 +0000 (16:52 -0500)] 
tweak and fix typos

6 months agomove directory and links
Alan T. DeKok [Sun, 1 Feb 2026 21:47:41 +0000 (16:47 -0500)] 
move directory and links

6 months agoadd initial very rough content for common errors
Alan T. DeKok [Sun, 1 Feb 2026 19:01:43 +0000 (14:01 -0500)] 
add initial very rough content for common errors

6 months agodocs-v4: Troubleshooting section updated as top-level section. Nav panels modified...
nolade [Fri, 30 Jan 2026 19:29:31 +0000 (14:29 -0500)] 
docs-v4: Troubleshooting section updated as top-level section. Nav panels modified and all ts files located in the troubleshootin folder.
docs-v4: Troubleshooting section reorg'd and to be a top-level section. Nav panels/xrefs/module updated and all the relevant filesi(ts) moved into the troublshooting folder.

6 months agotweak error messages to be clearer
Alan T. DeKok [Fri, 30 Jan 2026 19:24:23 +0000 (14:24 -0500)] 
tweak error messages to be clearer

6 months agomore consistent error messages from RADIUS.
Alan T. DeKok [Fri, 30 Jan 2026 17:20:03 +0000 (12:20 -0500)] 
more consistent error messages from RADIUS.

6 months agoadd more decode errors, and add reason to decode_ctx
Alan T. DeKok [Fri, 30 Jan 2026 13:09:26 +0000 (08:09 -0500)] 
add more decode errors, and add reason to decode_ctx

6 months agouse FR_RADIUS prefix for DECODE_FAIL
Alan T. DeKok [Fri, 30 Jan 2026 12:58:49 +0000 (07:58 -0500)] 
use FR_RADIUS prefix for DECODE_FAIL

perl -p -i -e 's/DECODE_FAIL/FR_RADIUS_FAIL/g' $(git grep -l DECODE_FAIL src | egrep -v dns)

6 months agoexport longer messages and start cleaning up
Alan T. DeKok [Fri, 30 Jan 2026 12:55:35 +0000 (07:55 -0500)] 
export longer messages and start cleaning up

6 months agoadd extra packages to CI docker image
Matthew Newton [Thu, 29 Jan 2026 22:09:17 +0000 (22:09 +0000)] 
add extra packages to CI docker image

6 months agocomplain about _all_ unused processing sections, not just one
Alan T. DeKok [Thu, 29 Jan 2026 19:37:42 +0000 (14:37 -0500)] 
complain about _all_ unused processing sections, not just one

so that people don't have to run the server many times in order to
see all of the errors.

6 months agoremove references to pre/post proxy
Alan T. DeKok [Thu, 29 Jan 2026 19:56:50 +0000 (14:56 -0500)] 
remove references to pre/post proxy

6 months agomark sections as parsed when they're parsed, and complain on -C
Alan T. DeKok [Thu, 29 Jan 2026 18:58:20 +0000 (13:58 -0500)] 
mark sections as parsed when they're parsed, and complain on -C

if we have "send FOO" or "recv BAR" which is unused, then that's
an error when using -C.

Otherwise, a warning message is produced.

6 months agomove to using cf_item_mark_parsed() and cf_item_is_parsed()
Alan T. DeKok [Thu, 29 Jan 2026 18:34:08 +0000 (13:34 -0500)] 
move to using cf_item_mark_parsed() and cf_item_is_parsed()

6 months agomove parsed / referenced bools to CONF_ITEM
Alan T. DeKok [Thu, 29 Jan 2026 18:26:49 +0000 (13:26 -0500)] 
move parsed / referenced bools to CONF_ITEM

so that we can also use them for CONF_SECTION

6 months agoExfile allow immediate cleanup if idle_time is 0
Arran Cudbard-Bell [Thu, 29 Jan 2026 18:53:24 +0000 (10:53 -0800)] 
Exfile allow immediate cleanup if idle_time is 0

6 months agoGet radsnmp to a PONGable state (again)
Arran Cudbard-Bell [Thu, 29 Jan 2026 04:03:52 +0000 (20:03 -0800)] 
Get radsnmp to a PONGable state (again)

6 months agowe still need the suppression of parents when printing
Alan T. DeKok [Thu, 29 Jan 2026 13:47:36 +0000 (08:47 -0500)] 
we still need the suppression of parents when printing

so we can use %pV instead of %pP.

And %pV is better than fr_pair_print_value_quoted()

6 months agoUse %pV for values in %pairs.debug()
Nick Porter [Wed, 28 Jan 2026 09:01:04 +0000 (09:01 +0000)] 
Use %pV for values in %pairs.debug()

So that suppress_secrets is honoured

6 months agoUse %pP in log_request_pair
Nick Porter [Wed, 28 Jan 2026 10:19:26 +0000 (10:19 +0000)] 
Use %pP in log_request_pair

To honour suppress_secrets

6 months agodistinguish "load main config" from "load random config file"
Alan T. DeKok [Wed, 28 Jan 2026 21:43:29 +0000 (16:43 -0500)] 
distinguish "load main config" from "load random config file"

and ensure that we add a top-level "raddbdir", just in case some
configuration doesn't have the horrible mapping

raddbdir = foo
confdir = ${raddbdir}

Now that raddbdir is gone, we want to ensure that pre-4.0.0 configs
still work.

6 months agoreplace %debug_attr() with %pairs.debug()
Alan T. DeKok [Wed, 28 Jan 2026 20:14:13 +0000 (15:14 -0500)] 
replace %debug_attr() with %pairs.debug()

6 months agore-add %R, as "print with secrets suppressed"
Alan T. DeKok [Wed, 28 Jan 2026 18:51:09 +0000 (13:51 -0500)] 
re-add %R, as "print with secrets suppressed"

mainly for edit assignments and debug outputs.

Note that %pairs.print() will still print all of the data, even if
they're secret.  And any error messages will still print the data

6 months agojust use %pV.
Alan T. DeKok [Wed, 28 Jan 2026 18:35:05 +0000 (13:35 -0500)] 
just use %pV.

This was the only use of %pR, which prints un-escaped values.
except that the debug output also wrapped the output in quotes,
\"%pR\", which pretty much negated the utility of not escaping
the output

6 months agoupdate for recent changes
Alan T. DeKok [Wed, 28 Jan 2026 18:33:07 +0000 (13:33 -0500)] 
update for recent changes

6 months agofix macro redefine for OSX
Alan T. DeKok [Wed, 28 Jan 2026 18:29:24 +0000 (13:29 -0500)] 
fix macro redefine for OSX

6 months agomove $(raddbir) to $(confdir)
Alan T. DeKok [Wed, 28 Jan 2026 17:09:47 +0000 (12:09 -0500)] 
move $(raddbir) to $(confdir)

and ${raddb} in tests to ${raddbdir}

and ${maindir} in tests to ${raddb}, because "confdir" is set
automatically from '-d foo', and we still need to load the main
configuration files from the top-level "raddb" directory.

6 months agoupdate multiple module documentation for v4
Alan T. DeKok [Wed, 28 Jan 2026 14:46:03 +0000 (09:46 -0500)] 
update multiple module documentation for v4

6 months agodoc:add exec module explaination to the dynamic translation tutorial
98manu [Mon, 19 Jan 2026 06:24:24 +0000 (11:54 +0530)] 
doc:add exec module explaination to the dynamic translation tutorial

doc:Add explaination about `%exec()` function in dynamic translation

doc: fix the entry format in dynamic translation tutorial

doc:add mathematical operations sections in dynamic_translation tutorial

6 months agoRemove un-used files - all the functionality is in proto_cron*
Nick Porter [Wed, 28 Jan 2026 11:11:04 +0000 (11:11 +0000)] 
Remove un-used files - all the functionality is in proto_cron*

6 months agoAnother instance of hard coded "Packet-Type"
Nick Porter [Wed, 28 Jan 2026 11:23:01 +0000 (11:23 +0000)] 
Another instance of hard coded "Packet-Type"

6 months agoUse process module packet type attribute rather than looking a up fixed name
Nick Porter [Wed, 28 Jan 2026 10:21:29 +0000 (10:21 +0000)] 
Use process module packet type attribute rather than looking a up fixed name

6 months agoExport packet_type attribute in test process module
Nick Porter [Wed, 28 Jan 2026 10:20:23 +0000 (10:20 +0000)] 
Export packet_type attribute in test process module

6 months agoAdd virtual_server_packet_type_by_cs
Nick Porter [Wed, 28 Jan 2026 10:16:58 +0000 (10:16 +0000)] 
Add virtual_server_packet_type_by_cs

To access the packet_type exported by the virtual server's process
module

6 months agoCONF_SECTION can be const
Nick Porter [Tue, 27 Jan 2026 15:34:56 +0000 (15:34 +0000)] 
CONF_SECTION can be const

6 months agoFix spurious failure in cipher tests
Arran Cudbard-Bell [Wed, 28 Jan 2026 03:25:09 +0000 (19:25 -0800)] 
Fix spurious failure in cipher tests

6 months agoFix issue where dynamic clients that failed definition for some reason would be perma...
Arran Cudbard-Bell [Wed, 28 Jan 2026 02:32:06 +0000 (18:32 -0800)] 
Fix issue where dynamic clients that failed definition for some reason would be permanently locked out

6 months agoAdd "block" xlat
Arran Cudbard-Bell [Wed, 28 Jan 2026 01:53:50 +0000 (17:53 -0800)] 
Add "block" xlat

6 months agomove build-radpaths.h to an inline GNU make rule.
Alan T. DeKok [Tue, 27 Jan 2026 21:30:28 +0000 (16:30 -0500)] 
move build-radpaths.h to an inline GNU make rule.

Which is a fair bit simpler.

6 months agoremove unused functionality
Alan T. DeKok [Tue, 27 Jan 2026 21:12:22 +0000 (16:12 -0500)] 
remove unused functionality

if we want to change the raddbdir directory at install time,
just use 'R=/path/to/stuf make install'

6 months agomove checkrad to confdir
Alan T. DeKok [Tue, 27 Jan 2026 21:10:53 +0000 (16:10 -0500)] 
move checkrad to confdir

we should probably just delete checkrad, as it is not used in v4

6 months agomove rlm_unbound "man" page to module configuration file, and antora
Alan T. DeKok [Tue, 27 Jan 2026 21:07:37 +0000 (16:07 -0500)] 
move rlm_unbound "man" page to module configuration file, and antora

6 months agoremove unused attribute
Alan T. DeKok [Tue, 27 Jan 2026 16:20:06 +0000 (11:20 -0500)] 
remove unused attribute

6 months agoPacify Coverity (CID #1680659 and #1680658)
Nick Porter [Tue, 27 Jan 2026 10:23:48 +0000 (10:23 +0000)] 
Pacify Coverity (CID #1680659 and #1680658)

Coverity doesn't appear to look inside state_entry_create to see that it
leaves the mutex unlocked on failure.

6 months agoPacify Coverity (CID #1665464)
Nick Porter [Tue, 27 Jan 2026 08:49:59 +0000 (08:49 +0000)] 
Pacify Coverity (CID #1665464)

The number of bytes read is not important - it is simply a trigger to
pop all available messages from the atomic queue.

6 months agoregularize raddbdir -> confdir some more
Alan T. DeKok [Mon, 26 Jan 2026 18:52:58 +0000 (13:52 -0500)] 
regularize raddbdir -> confdir some more

6 months agoregularize references to GNU make variable names
Alan T. DeKok [Mon, 26 Jan 2026 18:45:13 +0000 (13:45 -0500)] 
regularize references to GNU make variable names

6 months agochange <raddb> to <confdir> in help text
Alan T. DeKok [Mon, 26 Jan 2026 18:43:30 +0000 (13:43 -0500)] 
change <raddb> to <confdir> in help text

6 months agorename raddb_dir variables and API to conf_dir
Alan T. DeKok [Mon, 26 Jan 2026 18:40:31 +0000 (13:40 -0500)] 
rename raddb_dir variables and API to conf_dir

6 months agochange RADDBDIR to CONFDIR
Alan T. DeKok [Mon, 26 Jan 2026 18:39:33 +0000 (13:39 -0500)] 
change RADDBDIR to CONFDIR

6 months agotweaks and cleanups
Alan T. DeKok [Mon, 26 Jan 2026 18:38:02 +0000 (13:38 -0500)] 
tweaks and cleanups

6 months agoremove old and out of date file
Alan T. DeKok [Mon, 26 Jan 2026 18:19:32 +0000 (13:19 -0500)] 
remove old and out of date file

which wasn't linked from anywhere

6 months agomore "remove raddb"
Alan T. DeKok [Mon, 26 Jan 2026 13:43:07 +0000 (08:43 -0500)] 
more "remove raddb"

we also need to add a page on enabling a module.  Examples of
doing that are copied everywhere in the docs

6 months agoremove unused file
Alan T. DeKok [Mon, 26 Jan 2026 13:42:56 +0000 (08:42 -0500)] 
remove unused file

6 months agoregenerate after removing references to raddb
Alan T. DeKok [Mon, 26 Jan 2026 12:51:26 +0000 (07:51 -0500)] 
regenerate after removing references to raddb

6 months agoCheck return value (CID #1680639)
Nick Porter [Mon, 26 Jan 2026 11:35:29 +0000 (11:35 +0000)] 
Check return value (CID #1680639)

6 months agoPacify coverity (CID #1680641 and #1680640)
Nick Porter [Mon, 26 Jan 2026 11:30:18 +0000 (11:30 +0000)] 
Pacify coverity (CID #1680641 and #1680640)

6 months agoCheck for failed allocation (CID #1680654)
Nick Porter [Mon, 26 Jan 2026 11:22:34 +0000 (11:22 +0000)] 
Check for failed allocation (CID #1680654)

6 months agonote more EAP changes
Alan T. DeKok [Sun, 25 Jan 2026 21:56:31 +0000 (16:56 -0500)] 
note more EAP changes

6 months agoremove references to the Wiki
Alan T. DeKok [Sun, 25 Jan 2026 21:45:51 +0000 (16:45 -0500)] 
remove references to the Wiki

there is no v4 content in the Wiki any more.  And we are likely
to take the Wiki down at some point

6 months agopoint to list subscription page
Alan T. DeKok [Sun, 25 Jan 2026 21:35:58 +0000 (16:35 -0500)] 
point to list subscription page

6 months agoglue in additional pages
Alan T. DeKok [Sun, 25 Jan 2026 21:29:34 +0000 (16:29 -0500)] 
glue in additional pages

6 months agothis file was long out of date
Alan T. DeKok [Sun, 25 Jan 2026 21:20:12 +0000 (16:20 -0500)] 
this file was long out of date

6 months agoadd and document dedup_key
Alan T. DeKok [Sun, 25 Jan 2026 21:15:34 +0000 (16:15 -0500)] 
add and document dedup_key

6 months agocreate common function to manage user-supplied state
Alan T. DeKok [Sat, 24 Jan 2026 19:26:31 +0000 (14:26 -0500)] 
create common function to manage user-supplied state

6 months agoremove 'raddb/' and fix other issues
Alan T. DeKok [Sun, 25 Jan 2026 13:02:00 +0000 (08:02 -0500)] 
remove 'raddb/' and fix other issues

6 months agop may be NULL. CID #1680654
Alan T. DeKok [Sat, 24 Jan 2026 21:23:53 +0000 (16:23 -0500)] 
p may be NULL.  CID #1680654

6 months agoremove unnecessary variables and code
Alan T. DeKok [Sat, 24 Jan 2026 18:45:07 +0000 (13:45 -0500)] 
remove unnecessary variables and code

6 months agomore tweaks to state code
Alan T. DeKok [Sat, 24 Jan 2026 18:39:50 +0000 (13:39 -0500)] 
more tweaks to state code

we don't need to update ID on every packet.  It's OK to do it once
when we start a new session.

clear "thawed" on store.

remove unused code

6 months agoremove testing entry
Alan T. DeKok [Sat, 24 Jan 2026 18:29:50 +0000 (13:29 -0500)] 
remove testing entry

6 months agono need to track a separate used_sessions counter
Alan T. DeKok [Sat, 24 Jan 2026 18:20:11 +0000 (13:20 -0500)] 
no need to track a separate used_sessions counter

this extends the limit a little bit, but that should be OK

6 months agostart cleaning up state code
Alan T. DeKok [Sat, 24 Jan 2026 18:12:39 +0000 (13:12 -0500)] 
start cleaning up state code

remove unused functions.  Enforce that the state attribute has to
be of data type octets.

6 months agomake the internal state 64-bit.
Alan T. DeKok [Sat, 24 Jan 2026 17:50:51 +0000 (12:50 -0500)] 
make the internal state 64-bit.

and simply complain if there's no listener, instead of asserting

in preparation for more state cleanups

6 months agoadd 64-bit variants of fr_hash()
Alan T. DeKok [Sat, 24 Jan 2026 17:33:46 +0000 (12:33 -0500)] 
add 64-bit variants of fr_hash()

6 months agothis isn't used, so we delete it
Alan T. DeKok [Sat, 24 Jan 2026 17:22:06 +0000 (12:22 -0500)] 
this isn't used, so we delete it

6 months agonone of these modules use attr_state in any way
Alan T. DeKok [Sat, 24 Jan 2026 16:25:15 +0000 (11:25 -0500)] 
none of these modules use attr_state in any way

so we delete all references to attr_state.

6 months agoantora errors are now CI failures
Alan T. DeKok [Sat, 24 Jan 2026 14:20:06 +0000 (09:20 -0500)] 
antora errors are now CI failures

6 months agofix antora errors
Alan T. DeKok [Sat, 24 Jan 2026 14:16:49 +0000 (09:16 -0500)] 
fix antora errors

6 months agoformat and clean up docs on using git
Alan T. DeKok [Sat, 24 Jan 2026 13:55:19 +0000 (08:55 -0500)] 
format and clean up docs on using git

6 months agofix typo in name
Alan T. DeKok [Sat, 24 Jan 2026 13:50:14 +0000 (08:50 -0500)] 
fix typo in name

6 months agoclean up for raddb
Alan T. DeKok [Sat, 24 Jan 2026 13:45:31 +0000 (08:45 -0500)] 
clean up for raddb

6 months agoreplace raddb/users with `users`, to make it more generic
Alan T. DeKok [Sat, 24 Jan 2026 13:33:58 +0000 (08:33 -0500)] 
replace raddb/users with `users`, to make it more generic

6 months agomore remove raddb
Alan T. DeKok [Sat, 24 Jan 2026 13:30:40 +0000 (08:30 -0500)] 
more remove raddb

6 months agomore remove raddb
Alan T. DeKok [Fri, 23 Jan 2026 23:38:15 +0000 (18:38 -0500)] 
more remove raddb

6 months agomore remove `raddb/...`
Alan T. DeKok [Fri, 23 Jan 2026 23:35:19 +0000 (18:35 -0500)] 
more remove `raddb/...`

The various OS packages use /etc/freeradius/3.x for example, so
the "raddb" name is considerably out of date.

6 months agoremove raddb/ from more of the documentation
Alan T. DeKok [Fri, 23 Jan 2026 23:32:25 +0000 (18:32 -0500)] 
remove raddb/ from more of the documentation

6 months agoremove etc/raddb from the tutorials
Alan T. DeKok [Fri, 23 Jan 2026 23:30:12 +0000 (18:30 -0500)] 
remove etc/raddb from the tutorials

we might rename the directory, and there's no real need to show
the full directory path.

6 months agothis is partly wrong, and too small to be useful
Alan T. DeKok [Fri, 23 Jan 2026 23:23:57 +0000 (18:23 -0500)] 
this is partly wrong, and too small to be useful

6 months agomove util test to src/tests/util/test directory
Alan T. DeKok [Fri, 23 Jan 2026 23:23:31 +0000 (18:23 -0500)] 
move util test to src/tests/util/test directory

6 months agoadd copyright to all documentation pages
Alan T. DeKok [Fri, 23 Jan 2026 23:16:01 +0000 (18:16 -0500)] 
add copyright to all documentation pages

6 months agodocs: update header and introduction for update blocks tutorial
Tharka Karunanayake [Tue, 20 Jan 2026 12:31:56 +0000 (18:01 +0530)] 
docs: update header and introduction for update blocks tutorial

docs: add condition 1 example and testing

docs: add condition 2 example and testing

docs: add condition 3 example, testing scenarios and questions

docs: Add new tutorial on editing attributes using Unlang policy language and update module navigation.

6 months agodocs: improve unlang policies introduction and preparation section
Tharka Karunanayake [Tue, 20 Jan 2026 12:06:13 +0000 (17:36 +0530)] 
docs: improve unlang policies introduction and preparation section

docs: provide concrete policy example referencing splitting strings

docs: define task to call realm-split policy

docs: add comprehensive testing steps

6 months agodoc: refactor intro and remove legacy notes from accounting tutorial
tharkadharshana [Thu, 15 Jan 2026 17:01:48 +0000 (22:31 +0530)] 
doc: refactor intro and remove legacy notes from accounting tutorial

doc: add guided authentication step to accounting tutorial

doc: add guided Accounting-Start step to accounting tutorial

doc: add step for verifying accounting data in detail log

doc: add guided Accounting-Stop step to accounting tutorial

6 months agodoc: add configuration and runtime variable examples to variables tutorial
tharkadharshana [Fri, 16 Jan 2026 10:51:09 +0000 (16:21 +0530)] 
doc: add configuration and runtime variable examples to variables tutorial

doc: add detailed explanation of filename variable expansion in detail module

doc: add server debug output example for detail module variable expansion

doc: add radclient test and detail log verification steps

doc: add example of dynamic variable expansion in reply attributes

6 months agodoc: refactor header and intro for unlang splitting strings tutorial
tharkadharshana [Mon, 19 Jan 2026 10:38:56 +0000 (16:08 +0530)] 
doc: refactor header and intro for unlang splitting strings tutorial

doc: add common control attributes and formalize task description

doc: add unlang policy code and server integration instructions

doc: add verification and testing section with multiple scenarios

6 months agounlock mutex before logging
Alan T. DeKok [Fri, 23 Jan 2026 21:15:33 +0000 (16:15 -0500)] 
unlock mutex before logging