]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
16 months agoAdd parsing of vlv extension in LDAP URIs
Nick Porter [Mon, 10 Feb 2025 14:12:55 +0000 (14:12 +0000)] 
Add parsing of vlv extension in LDAP URIs

16 months agoEnsure ldap controls are freed on error
Nick Porter [Mon, 10 Feb 2025 14:03:21 +0000 (14:03 +0000)] 
Ensure ldap controls are freed on error

16 months agoUse sbuff for parsing LDAP URI extensions
Nick Porter [Mon, 10 Feb 2025 13:58:42 +0000 (13:58 +0000)] 
Use sbuff for parsing LDAP URI extensions

16 months agoEnsure server controls start of NULL terminated
Nick Porter [Mon, 10 Feb 2025 11:48:31 +0000 (11:48 +0000)] 
Ensure server controls start of NULL terminated

16 months agocheck rule exists
Alan T. DeKok [Sun, 9 Feb 2025 21:07:53 +0000 (16:07 -0500)] 
check rule exists

16 months agoone more pass through messages for dynamic clients
Alan T. DeKok [Sun, 9 Feb 2025 17:09:49 +0000 (12:09 -0500)] 
one more pass through messages for dynamic clients

16 months agoqualify listener instance names a bit more cleanly
Alan T. DeKok [Sun, 9 Feb 2025 17:10:22 +0000 (12:10 -0500)] 
qualify listener instance names a bit more cleanly

which doesn't matter now, but may matter when we need to have
better debug messages about them.

16 months agobe more forgiving for debug messages
Alan T. DeKok [Sun, 9 Feb 2025 17:09:29 +0000 (12:09 -0500)] 
be more forgiving for debug messages

16 months agoRevert "duplicate of FAQ, and not linked from anywhere"
Alan T. DeKok [Sun, 9 Feb 2025 13:55:40 +0000 (08:55 -0500)] 
Revert "duplicate of FAQ, and not linked from anywhere"

This reverts commit 65dc4633fc6c62e5356754d23e8321cb6429fa5b.

16 months agoadd rate-limited messages about unknown clients
Alan T. DeKok [Sat, 8 Feb 2025 21:40:25 +0000 (16:40 -0500)] 
add rate-limited messages about unknown clients

16 months agoupdate error message
Alan T. DeKok [Sat, 8 Feb 2025 22:05:13 +0000 (17:05 -0500)] 
update error message

16 months agoadd DECODE_FAIL_VERIFY
Alan T. DeKok [Sat, 8 Feb 2025 20:58:55 +0000 (15:58 -0500)] 
add DECODE_FAIL_VERIFY

and push the decode fail reasons throughout the source

16 months agoone more info message for unconnected sockets
Alan T. DeKok [Sat, 8 Feb 2025 20:42:18 +0000 (15:42 -0500)] 
one more info message for unconnected sockets

16 months agoSet module name in bio handle ctx
Nick Porter [Sat, 8 Feb 2025 21:45:33 +0000 (21:45 +0000)] 
Set module name in bio handle ctx

16 months agoSet trunk in bio handle ctx
Nick Porter [Sat, 8 Feb 2025 21:44:58 +0000 (21:44 +0000)] 
Set trunk in bio handle ctx

16 months agoadd INFO messages for dynamic client start verification, success, and fail
Alan T. DeKok [Sat, 8 Feb 2025 14:39:58 +0000 (09:39 -0500)] 
add INFO messages for dynamic client start verification, success, and fail

16 months agoconversion script now includes copyright statements
Alan T. DeKok [Sat, 8 Feb 2025 14:10:44 +0000 (09:10 -0500)] 
conversion script now includes copyright statements

16 months agoadd copyright footer to all adoc files
Alan T. DeKok [Sat, 8 Feb 2025 14:02:22 +0000 (09:02 -0500)] 
add copyright footer to all adoc files

for x in $(for x in $(find . -name "*.adoc" -print | egrep -v 'raddb'); do y=$(grep -l '// Copyright' $x); if [ "$x" != "$y" ]; then print $x; fi; done); do cat copyright.txt >> $x; done

16 months agofr_dlist_ functions return the real object, not an fr_dlist_t
Nick Porter [Fri, 7 Feb 2025 19:37:08 +0000 (19:37 +0000)] 
fr_dlist_ functions return the real object, not an fr_dlist_t

16 months agoduplicate of FAQ, and not linked from anywhere
Alan T. DeKok [Fri, 7 Feb 2025 02:09:33 +0000 (21:09 -0500)] 
duplicate of FAQ, and not linked from anywhere

16 months agoreformat
Alan T. DeKok [Fri, 7 Feb 2025 02:06:23 +0000 (21:06 -0500)] 
reformat

16 months agotypos
Alan T. DeKok [Fri, 7 Feb 2025 02:06:11 +0000 (21:06 -0500)] 
typos

16 months agoif the xlat won't yield, don't create a new interpreter
Alan T. DeKok [Thu, 6 Feb 2025 21:14:07 +0000 (16:14 -0500)] 
if the xlat won't yield, don't create a new interpreter

i.e. if it's "pure", and doesn't have any external side effects.

which should save a fair bit on most xlat calls.

we also check if there's an interpreter.  which is only necessary
for the test.xlat code path.  This should arguably be changed
before a v4 release

16 months agoreflow, fix issues, and add more formatting
Alan T. DeKok [Thu, 6 Feb 2025 21:00:48 +0000 (16:00 -0500)] 
reflow, fix issues, and add more formatting

16 months agomove SVG and include it in the right place
Alan T. DeKok [Thu, 6 Feb 2025 20:50:56 +0000 (15:50 -0500)] 
move SVG and include it in the right place

16 months agoNav topo changes and files added. Incorporated editorial comments from PR and updated...
nolade [Tue, 4 Feb 2025 13:44:00 +0000 (08:44 -0500)] 
Nav topo changes and files added. Incorporated editorial comments from PR and updated spacing/heading levels.

16 months agoAdd running flag to unlang_interpret()
Nick Porter [Thu, 6 Feb 2025 17:04:31 +0000 (17:04 +0000)] 
Add running flag to unlang_interpret()

Needed for the case when the interpreter is called to evaluate
expressions within an already running request

16 months agoupdate docs and examples
Alan T. DeKok [Wed, 5 Feb 2025 19:00:18 +0000 (14:00 -0500)] 
update docs and examples

16 months agoadd compile-time checks for values.
Alan T. DeKok [Wed, 5 Feb 2025 17:54:34 +0000 (12:54 -0500)] 
add compile-time checks for values.

this follows up commit 2b8351c622

16 months agomore updates to the users file format.
Alan T. DeKok [Wed, 5 Feb 2025 17:53:44 +0000 (12:53 -0500)] 
more updates to the users file format.

This page is huge, and should likely be broken up into multiple
sub-pages

16 months agorearrange T_OP_CMP_TRUE code
Alan T. DeKok [Wed, 5 Feb 2025 16:42:40 +0000 (11:42 -0500)] 
rearrange T_OP_CMP_TRUE code

16 months agocomplain if antora doesn't exist
Alan T. DeKok [Mon, 3 Feb 2025 13:57:38 +0000 (08:57 -0500)] 
complain if antora doesn't exist

16 months agoAdd nas and nasreload to MS SQL schema
Nick Porter [Wed, 5 Feb 2025 12:27:10 +0000 (12:27 +0000)] 
Add nas and nasreload to MS SQL schema

16 months agoAdd require_ma and limit_proxy_state to nas table schema
Nick Porter [Wed, 5 Feb 2025 12:25:50 +0000 (12:25 +0000)] 
Add require_ma and limit_proxy_state to nas table schema

To support Blast-RADIUS mitigation options when using SQL defined
clients.

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Wed, 5 Feb 2025 09:35:07 +0000 (09:35 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Wed, 5 Feb 2025 09:35:01 +0000 (09:35 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:43 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:40 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:35 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:25 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:22 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:19 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

16 months agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:16 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

16 months agoUse expression evaluation in place of map for LDAP profile condition
Nick Porter [Tue, 4 Feb 2025 20:21:09 +0000 (20:21 +0000)] 
Use expression evaluation in place of map for LDAP profile condition

16 months agodo more compile-time checks of values.
Alan T. DeKok [Sat, 1 Feb 2025 17:30:24 +0000 (12:30 -0500)] 
do more compile-time checks of values.

This is only for the modules "delay", "attr_filter", and "exec".
Tho "exec" hasn't been updated yet, as it takes attributes.

These modules should arguably be moved to the call_env framework.

16 months agoNo need to do key="%{User-Name}". We can just do key=User-Name
Alan T. DeKok [Sat, 1 Feb 2025 17:05:37 +0000 (12:05 -0500)] 
No need to do key="%{User-Name}".  We can just do key=User-Name

we should likely also update the examples to use the pre/post-proxy
attr filtering, too

16 months agobetter error message when parsing time deltas
Alan T. DeKok [Sat, 1 Feb 2025 16:47:39 +0000 (11:47 -0500)] 
better error message when parsing time deltas

"token not found" is technically correct, but isn't helpful

16 months agoclean up attribute parsing.
Alan T. DeKok [Sat, 1 Feb 2025 15:07:51 +0000 (10:07 -0500)] 
clean up attribute parsing.

a conf item can be required to be an attribute.  However, right
now only "sometimes" and "sqlcounter" do this.  That needs to be
fixed.

If it is marked up as an attribute, then call the attribute parser,
and not the generic tmpl parser which then tries everything.

Remove cast of attribute.  The rest of the parser wouldn't allow it,
so that code was never used.

16 months agoset attribute prefix to AUTO
Alan T. DeKok [Sat, 1 Feb 2025 14:37:29 +0000 (09:37 -0500)] 
set attribute prefix to AUTO

16 months agoremove '&' again
Alan T. DeKok [Sat, 1 Feb 2025 14:24:12 +0000 (09:24 -0500)] 
remove '&' again

16 months agoremove '&' again
Alan T. DeKok [Sat, 1 Feb 2025 14:22:32 +0000 (09:22 -0500)] 
remove '&' again

16 months agoremove '&' again
Alan T. DeKok [Sat, 1 Feb 2025 14:20:13 +0000 (09:20 -0500)] 
remove '&' again

now that the server and tmpl code have been double checked

16 months agocheck input rules, and not output tmpl
Alan T. DeKok [Sat, 1 Feb 2025 14:19:57 +0000 (09:19 -0500)] 
check input rules, and not output tmpl

16 months agodon't modify tmpl_require_enum_prefix here.
Alan T. DeKok [Sat, 1 Feb 2025 14:17:58 +0000 (09:17 -0500)] 
don't modify tmpl_require_enum_prefix here.

16 months agore-add '&' to get the tests to pass
Alan T. DeKok [Fri, 31 Jan 2025 19:29:30 +0000 (14:29 -0500)] 
re-add '&' to get the tests to pass

the xlat argument parser still needs:

%json.encode("&request.[*]")

and this without the "&" doesn't work

%json.encode("request.[*])

16 months agoregenerate from raddb source
Alan T. DeKok [Fri, 31 Jan 2025 19:22:36 +0000 (14:22 -0500)] 
regenerate from raddb source

16 months agotweaks to make Antora happier
Alan T. DeKok [Fri, 31 Jan 2025 19:21:55 +0000 (14:21 -0500)] 
tweaks to make Antora happier

16 months agojust remove unused lines
Alan T. DeKok [Fri, 31 Jan 2025 19:10:14 +0000 (14:10 -0500)] 
just remove unused lines

16 months agoMoved Installation module to under the Howto module
nolade [Wed, 29 Jan 2025 21:56:25 +0000 (16:56 -0500)] 
Moved Installation module to under the Howto module
 Please enter the commit message for your changes. Lines starting

Howto & Installation modules topo updates

16 months agominor typos
Alan T. DeKok [Fri, 31 Jan 2025 19:02:57 +0000 (14:02 -0500)] 
minor typos

16 months agoUpdate ldap auth file. Modified nav files and lots of xref stuff Resolved filepaths...
nolade [Tue, 28 Jan 2025 17:00:19 +0000 (12:00 -0500)] 
Update ldap auth file. Modified nav files and lots of xref stuff Resolved filepaths for files in the reference and howto modules Update xrefs and fix broken links.Add file panic.gdb.adoc (found in src raddb panic.gdb)

update ref nav file

16 months agoupdate and document migration flags
Alan T. DeKok [Fri, 31 Jan 2025 17:31:36 +0000 (12:31 -0500)] 
update and document migration flags

16 months agoremove require_enum_prefixi=yes from config in tests
Alan T. DeKok [Fri, 31 Jan 2025 15:08:52 +0000 (10:08 -0500)] 
remove require_enum_prefixi=yes from config in tests

now that it's the default, we don't need to set it in the configs

16 months agoreply items can only have assignment operators
Alan T. DeKok [Fri, 31 Jan 2025 12:33:14 +0000 (07:33 -0500)] 
reply items can only have assignment operators

16 months agoclean up last bits of "&" manually
Alan T. DeKok [Fri, 31 Jan 2025 12:12:22 +0000 (07:12 -0500)] 
clean up last bits of "&" manually

16 months agoremove '&' from virtual servers
Alan T. DeKok [Fri, 31 Jan 2025 00:52:55 +0000 (19:52 -0500)] 
remove '&' from virtual servers

Mostly.  There are a few left, which will need to be addressed
manually

16 months agoremove the couchbase module.
Alan T. DeKok [Thu, 30 Jan 2025 22:22:31 +0000 (17:22 -0500)] 
remove the couchbase module.

It is old an unused by essentially anyone

16 months agoremove & from debug messages
Alan T. DeKok [Thu, 30 Jan 2025 21:50:30 +0000 (16:50 -0500)] 
remove & from debug messages

perl -p -i -e 'next if !/DEBUG/;s/\"&/\"/' $(git grep '"&' src | grep DEBUG | sed 's/:.*//' | sort -u)

perl -p -i -e 'next if !/DEBUG/;s/&control/control/g' $(git grep DEBUG | grep '&' | sed 's/:.*//' | sort -u)

along with request, reply, session, and a few manual edits

16 months agoadd :: to enum names
Alan T. DeKok [Thu, 30 Jan 2025 17:13:05 +0000 (12:13 -0500)] 
add :: to enum names

16 months agoswap to get rid of &
Alan T. DeKok [Thu, 30 Jan 2025 17:02:13 +0000 (12:02 -0500)] 
swap to get rid of &

16 months agoMake the new ::ENUM syntax the default
Alan T. DeKok [Thu, 30 Jan 2025 16:29:07 +0000 (11:29 -0500)] 
Make the new ::ENUM syntax the default

16 months agouse single quotes
Alan T. DeKok [Thu, 30 Jan 2025 16:46:59 +0000 (11:46 -0500)] 
use single quotes

16 months agoensure that unknown DA's aren't parented from the NULL ctx
Alan T. DeKok [Thu, 30 Jan 2025 15:47:12 +0000 (10:47 -0500)] 
ensure that unknown DA's aren't parented from the NULL ctx

and add assertion to that effect in the dictionary ext handler.

This avoids memory leaks when the callers aren't careful about
passing in the correct ctx.

16 months agoadd cbor
Alan T. DeKok [Thu, 30 Jan 2025 16:00:02 +0000 (11:00 -0500)] 
add cbor

16 months agoremove dead code
Alan T. DeKok [Thu, 30 Jan 2025 15:49:08 +0000 (10:49 -0500)] 
remove dead code

16 months agowe should free node before exiting
Alan T. DeKok [Thu, 30 Jan 2025 15:46:46 +0000 (10:46 -0500)] 
we should free node before exiting

16 months agoprint out -S flag, too
Alan T. DeKok [Thu, 30 Jan 2025 15:46:24 +0000 (10:46 -0500)] 
print out -S flag, too

16 months agomove unit tests to run without "&"
Alan T. DeKok [Thu, 30 Jan 2025 14:14:40 +0000 (09:14 -0500)] 
move unit tests to run without "&"

16 months agoThe abfab project is dead. Remove all references to abfab
Alan T. DeKok [Wed, 29 Jan 2025 21:29:28 +0000 (16:29 -0500)] 
The abfab project is dead.  Remove all references to abfab

16 months agoUpdated nav files and lots of xref stuff Resolved filepaths for files in the referenc...
nolade [Tue, 28 Jan 2025 17:00:19 +0000 (12:00 -0500)] 
Updated nav files and lots of xref stuff Resolved filepaths for files in the reference and howto modules Update xrefs and fix broken links.Add file panic.gdb.adoc (found in src raddb panic.gdb)

update ref nav file

16 months agoDoxygen fixes
Nick Porter [Wed, 29 Jan 2025 15:51:43 +0000 (15:51 +0000)] 
Doxygen fixes

16 months agoAdd basic test of LDAP profile check_attribute
Nick Porter [Wed, 29 Jan 2025 15:37:28 +0000 (15:37 +0000)] 
Add basic test of LDAP profile check_attribute

16 months agoAdd check attribute processing to rlm_ldap profile handling
Nick Porter [Wed, 29 Jan 2025 15:34:28 +0000 (15:34 +0000)] 
Add check attribute processing to rlm_ldap profile handling

Comparable to check items in rlm_files and check entries in rlm_sql with
comparison operators.

16 months agoAdd radiusProfileCondition to LDAP schema
Nick Porter [Wed, 29 Jan 2025 11:38:25 +0000 (11:38 +0000)] 
Add radiusProfileCondition to LDAP schema

16 months agoTypo
Nick Porter [Wed, 29 Jan 2025 11:34:25 +0000 (11:34 +0000)] 
Typo

16 months agoAdd profile check attr to LDAP search request maps
Nick Porter [Wed, 29 Jan 2025 11:28:39 +0000 (11:28 +0000)] 
Add profile check attr to LDAP search request maps

16 months agoAdd check_attribute to rlm_ldap profile section
Nick Porter [Wed, 29 Jan 2025 11:27:10 +0000 (11:27 +0000)] 
Add check_attribute to rlm_ldap profile section

An LDAP attribute which will contain conditions to evaluate to determine
if the profile should be applied

16 months agoTest profile sorting in LDAP
Nick Porter [Tue, 28 Jan 2025 11:00:36 +0000 (11:00 +0000)] 
Test profile sorting in LDAP

16 months agoLoad service side sort overlay in CI LDAP server
Nick Porter [Tue, 28 Jan 2025 10:57:12 +0000 (10:57 +0000)] 
Load service side sort overlay in CI LDAP server

16 months agoAdd profile sort_by to sample LDAP module config
Nick Porter [Tue, 28 Jan 2025 10:56:05 +0000 (10:56 +0000)] 
Add profile sort_by to sample LDAP module config

16 months agoAdd radiusProfilePriority attribute to LDAP schema
Nick Porter [Tue, 28 Jan 2025 10:54:12 +0000 (10:54 +0000)] 
Add radiusProfilePriority attribute to LDAP schema

Intended for sorting when multiple profiles are matched

16 months agoUse server side sort control when fetching profiles
Nick Porter [Tue, 28 Jan 2025 10:35:16 +0000 (10:35 +0000)] 
Use server side sort control when fetching profiles

16 months agoAdd sort_by option to rlm_ldap profile section
Nick Porter [Tue, 28 Jan 2025 10:34:03 +0000 (10:34 +0000)] 
Add sort_by option to rlm_ldap profile section

16 months agoadd aliases for Cleartext-Password, etc.
Alan T. DeKok [Tue, 28 Jan 2025 02:50:53 +0000 (21:50 -0500)] 
add aliases for Cleartext-Password, etc.

16 months agoadd and export v3_compat flag for the "files" module
Alan T. DeKok [Tue, 28 Jan 2025 02:22:45 +0000 (21:22 -0500)] 
add and export v3_compat flag for the "files" module

16 months agomap RHS should be single-quoted string
Alan T. DeKok [Mon, 27 Jan 2025 21:26:50 +0000 (16:26 -0500)] 
map RHS should be single-quoted string

16 months agodisable expansion in SQL modules for RHS values of check queries
Alan T. DeKok [Mon, 27 Jan 2025 17:46:59 +0000 (12:46 -0500)] 
disable expansion in SQL modules for RHS values of check queries

it turns out to be not particularly useful, and has some corner
cases we're going to avoid for a bit.

As a result, disabled the "attrref" test.

16 months agoremove merge text
nolade [Fri, 24 Jan 2025 18:44:40 +0000 (13:44 -0500)] 
remove merge text

Files Updates to remove merge conflict texts (squashed)

Updated xrefs/hyperlinks and formatting

Index and nav files tweaked to urls resolved. Other hyperlinks fixed & format tweaks.

16 months agoremove accounting from unix module
Alan T. DeKok [Mon, 27 Jan 2025 14:20:13 +0000 (09:20 -0500)] 
remove accounting from unix module

no one has used this for a long time

16 months agoregenerate with inline code
Alan T. DeKok [Mon, 27 Jan 2025 14:15:44 +0000 (09:15 -0500)] 
regenerate with inline code