]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Mon, 10 Feb 2025 19:27:39 +0000 (14:27 -0500)]
add more error messages
Alan T. DeKok [Mon, 10 Feb 2025 17:48:02 +0000 (12:48 -0500)]
add IP address to timer message
Nick Porter [Mon, 10 Feb 2025 15:44:46 +0000 (15:44 +0000)]
Typo
Nick Porter [Mon, 10 Feb 2025 15:20:30 +0000 (15:20 +0000)]
Protect against too many extensions in LDAP URI
Nick Porter [Mon, 10 Feb 2025 15:17:43 +0000 (15:17 +0000)]
Terminate after each control is created
So error clearup, will find a terminated array of controls
Nick Porter [Mon, 10 Feb 2025 14:12:55 +0000 (14:12 +0000)]
Add parsing of vlv extension in LDAP URIs
Nick Porter [Mon, 10 Feb 2025 14:03:21 +0000 (14:03 +0000)]
Ensure ldap controls are freed on error
Nick Porter [Mon, 10 Feb 2025 13:58:42 +0000 (13:58 +0000)]
Use sbuff for parsing LDAP URI extensions
Nick Porter [Mon, 10 Feb 2025 11:48:31 +0000 (11:48 +0000)]
Ensure server controls start of NULL terminated
Alan T. DeKok [Sun, 9 Feb 2025 21:07:53 +0000 (16:07 -0500)]
check rule exists
Alan T. DeKok [Sun, 9 Feb 2025 17:09:49 +0000 (12:09 -0500)]
one more pass through messages for dynamic clients
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.
Alan T. DeKok [Sun, 9 Feb 2025 17:09:29 +0000 (12:09 -0500)]
be more forgiving for debug messages
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 .
Alan T. DeKok [Sat, 8 Feb 2025 21:40:25 +0000 (16:40 -0500)]
add rate-limited messages about unknown clients
Alan T. DeKok [Sat, 8 Feb 2025 22:05:13 +0000 (17:05 -0500)]
update error message
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
Alan T. DeKok [Sat, 8 Feb 2025 20:42:18 +0000 (15:42 -0500)]
one more info message for unconnected sockets
Nick Porter [Sat, 8 Feb 2025 21:45:33 +0000 (21:45 +0000)]
Set module name in bio handle ctx
Nick Porter [Sat, 8 Feb 2025 21:44:58 +0000 (21:44 +0000)]
Set trunk in bio handle ctx
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
Alan T. DeKok [Sat, 8 Feb 2025 14:10:44 +0000 (09:10 -0500)]
conversion script now includes copyright statements
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
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
Alan T. DeKok [Fri, 7 Feb 2025 02:09:33 +0000 (21:09 -0500)]
duplicate of FAQ, and not linked from anywhere
Alan T. DeKok [Fri, 7 Feb 2025 02:06:23 +0000 (21:06 -0500)]
reformat
Alan T. DeKok [Fri, 7 Feb 2025 02:06:11 +0000 (21:06 -0500)]
typos
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
Alan T. DeKok [Thu, 6 Feb 2025 21:00:48 +0000 (16:00 -0500)]
reflow, fix issues, and add more formatting
Alan T. DeKok [Thu, 6 Feb 2025 20:50:56 +0000 (15:50 -0500)]
move SVG and include it in the right place
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.
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
Alan T. DeKok [Wed, 5 Feb 2025 19:00:18 +0000 (14:00 -0500)]
update docs and examples
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
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
Alan T. DeKok [Wed, 5 Feb 2025 16:42:40 +0000 (11:42 -0500)]
rearrange T_OP_CMP_TRUE code
Alan T. DeKok [Mon, 3 Feb 2025 13:57:38 +0000 (08:57 -0500)]
complain if antora doesn't exist
Nick Porter [Wed, 5 Feb 2025 12:27:10 +0000 (12:27 +0000)]
Add nas and nasreload to MS SQL 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.
github-actions[bot] [Wed, 5 Feb 2025 09:35:07 +0000 (09:35 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Wed, 5 Feb 2025 09:35:01 +0000 (09:35 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:43 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:40 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:35 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:25 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:22 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:19 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Wed, 5 Feb 2025 09:34:16 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
Nick Porter [Tue, 4 Feb 2025 20:21:09 +0000 (20:21 +0000)]
Use expression evaluation in place of map for LDAP profile condition
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.
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
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
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.
Alan T. DeKok [Sat, 1 Feb 2025 14:37:29 +0000 (09:37 -0500)]
set attribute prefix to AUTO
Alan T. DeKok [Sat, 1 Feb 2025 14:24:12 +0000 (09:24 -0500)]
remove '&' again
Alan T. DeKok [Sat, 1 Feb 2025 14:22:32 +0000 (09:22 -0500)]
remove '&' 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
Alan T. DeKok [Sat, 1 Feb 2025 14:19:57 +0000 (09:19 -0500)]
check input rules, and not output tmpl
Alan T. DeKok [Sat, 1 Feb 2025 14:17:58 +0000 (09:17 -0500)]
don't modify tmpl_require_enum_prefix here.
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.[*])
Alan T. DeKok [Fri, 31 Jan 2025 19:22:36 +0000 (14:22 -0500)]
regenerate from raddb source
Alan T. DeKok [Fri, 31 Jan 2025 19:21:55 +0000 (14:21 -0500)]
tweaks to make Antora happier
Alan T. DeKok [Fri, 31 Jan 2025 19:10:14 +0000 (14:10 -0500)]
just remove unused lines
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
Alan T. DeKok [Fri, 31 Jan 2025 19:02:57 +0000 (14:02 -0500)]
minor typos
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
Alan T. DeKok [Fri, 31 Jan 2025 17:31:36 +0000 (12:31 -0500)]
update and document migration flags
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
Alan T. DeKok [Fri, 31 Jan 2025 12:33:14 +0000 (07:33 -0500)]
reply items can only have assignment operators
Alan T. DeKok [Fri, 31 Jan 2025 12:12:22 +0000 (07:12 -0500)]
clean up last bits of "&" manually
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
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
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
Alan T. DeKok [Thu, 30 Jan 2025 17:13:05 +0000 (12:13 -0500)]
add :: to enum names
Alan T. DeKok [Thu, 30 Jan 2025 17:02:13 +0000 (12:02 -0500)]
swap to get rid of &
Alan T. DeKok [Thu, 30 Jan 2025 16:29:07 +0000 (11:29 -0500)]
Make the new ::ENUM syntax the default
Alan T. DeKok [Thu, 30 Jan 2025 16:46:59 +0000 (11:46 -0500)]
use single quotes
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.
Alan T. DeKok [Thu, 30 Jan 2025 16:00:02 +0000 (11:00 -0500)]
add cbor
Alan T. DeKok [Thu, 30 Jan 2025 15:49:08 +0000 (10:49 -0500)]
remove dead code
Alan T. DeKok [Thu, 30 Jan 2025 15:46:46 +0000 (10:46 -0500)]
we should free node before exiting
Alan T. DeKok [Thu, 30 Jan 2025 15:46:24 +0000 (10:46 -0500)]
print out -S flag, too
Alan T. DeKok [Thu, 30 Jan 2025 14:14:40 +0000 (09:14 -0500)]
move unit tests to run without "&"
Alan T. DeKok [Wed, 29 Jan 2025 21:29:28 +0000 (16:29 -0500)]
The abfab project is dead. Remove all references to abfab
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
Nick Porter [Wed, 29 Jan 2025 15:51:43 +0000 (15:51 +0000)]
Doxygen fixes
Nick Porter [Wed, 29 Jan 2025 15:37:28 +0000 (15:37 +0000)]
Add basic test of LDAP profile check_attribute
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.
Nick Porter [Wed, 29 Jan 2025 11:38:25 +0000 (11:38 +0000)]
Add radiusProfileCondition to LDAP schema
Nick Porter [Wed, 29 Jan 2025 11:34:25 +0000 (11:34 +0000)]
Typo
Nick Porter [Wed, 29 Jan 2025 11:28:39 +0000 (11:28 +0000)]
Add profile check attr to LDAP search request maps
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
Nick Porter [Tue, 28 Jan 2025 11:00:36 +0000 (11:00 +0000)]
Test profile sorting in LDAP
Nick Porter [Tue, 28 Jan 2025 10:57:12 +0000 (10:57 +0000)]
Load service side sort overlay in CI LDAP server
Nick Porter [Tue, 28 Jan 2025 10:56:05 +0000 (10:56 +0000)]
Add profile sort_by to sample LDAP module config
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
Nick Porter [Tue, 28 Jan 2025 10:35:16 +0000 (10:35 +0000)]
Use server side sort control when fetching profiles
Nick Porter [Tue, 28 Jan 2025 10:34:03 +0000 (10:34 +0000)]
Add sort_by option to rlm_ldap profile section
Alan T. DeKok [Tue, 28 Jan 2025 02:50:53 +0000 (21:50 -0500)]
add aliases for Cleartext-Password, etc.
Alan T. DeKok [Tue, 28 Jan 2025 02:22:45 +0000 (21:22 -0500)]
add and export v3_compat flag for the "files" module