]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 months agolet's comment these out by default
Alan T. DeKok [Tue, 11 Feb 2025 20:06:52 +0000 (15:06 -0500)] 
let's comment these out by default

8 months agoadd and document src_port_start and src_port_end
Alan T. DeKok [Tue, 11 Feb 2025 19:01:10 +0000 (14:01 -0500)] 
add and document src_port_start and src_port_end

which currently only work for mode=dynamic-proxy

8 months agoadd reuseport config, and use common function
Alan T. DeKok [Tue, 11 Feb 2025 15:54:15 +0000 (10:54 -0500)] 
add reuseport config, and use common function

8 months agonotes on "connected" UDP sockets
Alan T. DeKok [Tue, 11 Feb 2025 16:57:28 +0000 (11:57 -0500)] 
notes on "connected" UDP sockets

8 months agoAdd extension parsing to LDAP map URIs
Nick Porter [Tue, 11 Feb 2025 18:22:27 +0000 (18:22 +0000)] 
Add extension parsing to LDAP map URIs

8 months agoAdd freeradiusClientRegion to LDAP schema
Nick Porter [Tue, 11 Feb 2025 18:07:55 +0000 (18:07 +0000)] 
Add freeradiusClientRegion to LDAP schema

8 months agoAdd LDAP xlat test using server side extensions
Nick Porter [Tue, 11 Feb 2025 11:12:59 +0000 (11:12 +0000)] 
Add LDAP xlat test using server side extensions

8 months agoAdd check_attribute to sample ldap module config
Nick Porter [Tue, 11 Feb 2025 11:03:24 +0000 (11:03 +0000)] 
Add check_attribute to sample ldap module config

8 months agoAdd ORDERING to freeradiusClientIdentifier
Nick Porter [Tue, 11 Feb 2025 10:59:34 +0000 (10:59 +0000)] 
Add ORDERING to freeradiusClientIdentifier

To allow for server side sorting

8 months agoInvalid IP address family is an error
Nick Porter [Tue, 11 Feb 2025 10:58:21 +0000 (10:58 +0000)] 
Invalid IP address family is an error

8 months agoDefine DO_NOT_RESPOND code for tls
Nick Porter [Tue, 11 Feb 2025 08:59:00 +0000 (08:59 +0000)] 
Define DO_NOT_RESPOND code for tls

Allows use of `handled` in verify certificate policies

8 months agoupdate counters when nuking the pending list
Alan T. DeKok [Mon, 10 Feb 2025 20:28:37 +0000 (15:28 -0500)] 
update counters when nuking the pending list

8 months agoreset the counter when there are no pending clients
Alan T. DeKok [Mon, 10 Feb 2025 20:08:38 +0000 (15:08 -0500)] 
reset the counter when there are no pending clients

8 months agotweak pending tracking
Alan T. DeKok [Mon, 10 Feb 2025 19:47:35 +0000 (14:47 -0500)] 
tweak pending tracking

8 months agorate-limit complaints for injected packets
Alan T. DeKok [Mon, 10 Feb 2025 19:33:06 +0000 (14:33 -0500)] 
rate-limit complaints for injected packets

when we open a new connected UDP socket, the main socket might
still have some packets in the inbound kernel queue.  We normally
read those, and push them to the connected socket.  But if the
connected socket / message queue is full, then we complain loudly.

8 months agoadd more error messages
Alan T. DeKok [Mon, 10 Feb 2025 19:27:39 +0000 (14:27 -0500)] 
add more error messages

8 months agoadd IP address to timer message
Alan T. DeKok [Mon, 10 Feb 2025 17:48:02 +0000 (12:48 -0500)] 
add IP address to timer message

8 months agoTypo
Nick Porter [Mon, 10 Feb 2025 15:44:46 +0000 (15:44 +0000)] 
Typo

8 months agoProtect against too many extensions in LDAP URI
Nick Porter [Mon, 10 Feb 2025 15:20:30 +0000 (15:20 +0000)] 
Protect against too many extensions in LDAP URI

8 months agoTerminate after each control is created
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

8 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

8 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

8 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

8 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

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

8 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

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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

8 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

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

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

8 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

8 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

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

8 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.[*])

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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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 &

8 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

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

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

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

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

8 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

8 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

8 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 "&"

8 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

8 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