]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Sat, 18 Nov 2023 19:18:47 +0000 (14:18 -0500)]
add support for uncompressed dns labels
Alan T. DeKok [Sat, 18 Nov 2023 19:18:30 +0000 (14:18 -0500)]
ignore temporary editor files
Alan T. DeKok [Sat, 18 Nov 2023 14:12:56 +0000 (09:12 -0500)]
allow for password longer than 128 characters
and update aruba dictionary for encrypted attribute
Manual port of commit
12a2cf4a6f8
Arran Cudbard-Bell [Fri, 17 Nov 2023 19:11:43 +0000 (14:11 -0500)]
Rename CONF_PARSER to conf_parser_t to match call_env_parser_t
Alan T. DeKok [Fri, 17 Nov 2023 19:00:26 +0000 (14:00 -0500)]
typo
Alan T. DeKok [Fri, 17 Nov 2023 18:44:57 +0000 (13:44 -0500)]
move more functions to new syntax
Alan T. DeKok [Fri, 17 Nov 2023 15:53:13 +0000 (10:53 -0500)]
more move functions to new syntax
Alan T. DeKok [Fri, 17 Nov 2023 15:51:50 +0000 (10:51 -0500)]
fixes
Alan T. DeKok [Fri, 17 Nov 2023 15:37:53 +0000 (10:37 -0500)]
go back until we can do more tests
Alan T. DeKok [Fri, 17 Nov 2023 15:11:11 +0000 (10:11 -0500)]
quote things
Alan T. DeKok [Fri, 17 Nov 2023 15:09:32 +0000 (10:09 -0500)]
more move to new function syntax
Alan T. DeKok [Fri, 17 Nov 2023 14:24:14 +0000 (09:24 -0500)]
move to new function syntax
Alan T. DeKok [Fri, 17 Nov 2023 14:16:57 +0000 (09:16 -0500)]
skip whitespace for comma-separated argv
Alan T. DeKok [Thu, 16 Nov 2023 22:24:58 +0000 (17:24 -0500)]
mark up when we parsed an xlat with an xlat wrapper
so that the print routines can print something sane
James Jones [Thu, 16 Nov 2023 23:06:21 +0000 (17:06 -0600)]
Clean up modeling file (#5222)
Remove models that don't work, replace our leading comment with
one that is commonly used in open source modeling files (slightly
edited).
Alan T. DeKok [Thu, 16 Nov 2023 22:05:03 +0000 (17:05 -0500)]
we can't have an empty xlat expansion.
Alan T. DeKok [Thu, 16 Nov 2023 15:09:09 +0000 (10:09 -0500)]
update CC_HINT for removed argument
Alan T. DeKok [Thu, 16 Nov 2023 13:39:10 +0000 (08:39 -0500)]
remove alternation from defaults, too
Alan T. DeKok [Thu, 16 Nov 2023 13:24:51 +0000 (08:24 -0500)]
Revert "Copy, don't link, schemas"
This reverts commit
823ad7a63550597682582c4d70010f536db4b7be .
this breaks CI
Alan T. DeKok [Thu, 16 Nov 2023 13:05:14 +0000 (08:05 -0500)]
move xlat printing to new function syntax
Alan T. DeKok [Thu, 16 Nov 2023 12:49:23 +0000 (07:49 -0500)]
remove XLAT_ALTERNATE from the source
Alan T. DeKok [Wed, 15 Nov 2023 21:46:18 +0000 (16:46 -0500)]
remove old comment
Alan T. DeKok [Wed, 15 Nov 2023 18:56:49 +0000 (13:56 -0500)]
enumvs always have names. Look for ones with values
Arran Cudbard-Bell [Wed, 15 Nov 2023 22:04:11 +0000 (16:04 -0600)]
Rename some call env structures in preparation for additional changes
Arran Cudbard-Bell [Wed, 15 Nov 2023 22:05:48 +0000 (16:05 -0600)]
Copy, don't link, schemas
This lets us add extra custom schemas later
Alan T. DeKok [Wed, 15 Nov 2023 17:10:11 +0000 (12:10 -0500)]
run through codespell, and regenerate antora
there isn't much point in updating the antora (outout) docs when
the raddb (input) files haven't been updated
Alan T. DeKok [Wed, 15 Nov 2023 15:30:53 +0000 (10:30 -0500)]
use local dictionary
Alan T. DeKok [Wed, 15 Nov 2023 15:27:43 +0000 (10:27 -0500)]
use local variable
Alan T. DeKok [Wed, 15 Nov 2023 15:25:00 +0000 (10:25 -0500)]
more "remove Tmp-*"
James Jones [Wed, 15 Nov 2023 00:18:41 +0000 (18:18 -0600)]
Remove needless annotation. (#5220)
Dimitri Papadopoulos Orfanos [Tue, 14 Nov 2023 23:10:34 +0000 (01:10 +0200)]
Fix typos in documentation (#5219)
Misspellings found by codespell.
James Jones [Tue, 14 Nov 2023 19:58:02 +0000 (13:58 -0600)]
Avoid fr_nbo_to_uint16() to get EAP packet length (CID #
1243443 )
Moved to talloc_array_length() instead, which worked much better
after I looked at the source and saw it's a macro that uses
the type of the argument, so it requires casting to pointer to
the type it was allocated with.
Arran Cudbard-Bell [Tue, 14 Nov 2023 01:05:40 +0000 (19:05 -0600)]
cache: Move key resolution to callenv
...weird intractable problems trying to get an old DHCPv4 config, easier to fix the code than debug it.
Arran Cudbard-Bell [Tue, 14 Nov 2023 00:06:15 +0000 (18:06 -0600)]
Less confusing error
Arran Cudbard-Bell [Fri, 10 Nov 2023 18:41:07 +0000 (12:41 -0600)]
Copy ldap config over to base dir
Arran Cudbard-Bell [Fri, 10 Nov 2023 17:39:42 +0000 (11:39 -0600)]
Don't immediately overwrite the specified socketpath
Arran Cudbard-Bell [Thu, 9 Nov 2023 23:29:20 +0000 (17:29 -0600)]
Allow overriding the socket path to work around weird permissions issues
Arran Cudbard-Bell [Thu, 9 Nov 2023 22:03:02 +0000 (16:03 -0600)]
touching the socket just produces another error
Arran Cudbard-Bell [Thu, 9 Nov 2023 21:36:35 +0000 (15:36 -0600)]
Pre-create ldap socket file
Arran Cudbard-Bell [Thu, 9 Nov 2023 21:18:37 +0000 (15:18 -0600)]
Remove comment
Arran Cudbard-Bell [Thu, 9 Nov 2023 21:18:19 +0000 (15:18 -0600)]
Build and scan with all available cores
Arran Cudbard-Bell [Thu, 9 Nov 2023 16:41:02 +0000 (10:41 -0600)]
ldap: Add extra schemas for tacacs
Arran Cudbard-Bell [Thu, 9 Nov 2023 16:37:21 +0000 (10:37 -0600)]
json: Add nested encoding tests
Alan T. DeKok [Wed, 8 Nov 2023 15:17:56 +0000 (16:17 +0100)]
use radius_pairmove(), which does the same thing and more
in an attempt to get rid of old / duplicate APIs
Nick Porter [Wed, 8 Nov 2023 10:27:06 +0000 (10:27 +0000)]
Remove autosave file
Arran Cudbard-Bell [Wed, 8 Nov 2023 01:35:50 +0000 (19:35 -0600)]
Inst is const when used in the xlat function
Arran Cudbard-Bell [Wed, 8 Nov 2023 01:33:41 +0000 (19:33 -0600)]
Can't have more than one local variable!
Arran Cudbard-Bell [Wed, 8 Nov 2023 01:18:13 +0000 (19:18 -0600)]
Add test for using local attributes in eval
Arran Cudbard-Bell [Wed, 8 Nov 2023 00:57:47 +0000 (18:57 -0600)]
Allow local attributes to be referenced in eval xlats
Arran Cudbard-Bell [Wed, 8 Nov 2023 01:11:56 +0000 (19:11 -0600)]
Remove dict from xlat_exp_head_t
It's already in the nodes it needs to be in
Arran Cudbard-Bell [Wed, 8 Nov 2023 01:10:58 +0000 (19:10 -0600)]
Remove async from name of instantiate set functions
Arran Cudbard-Bell [Tue, 7 Nov 2023 23:34:46 +0000 (17:34 -0600)]
Rename xlat instance registration functions
Bootstrap is a distinct phase for modules, and calling the registration phase "bootstrap" is confusing as there's no bootstrap function available to xlats...
Nick Porter [Fri, 3 Nov 2023 17:13:24 +0000 (17:13 +0000)]
Disable performance tests on FreeBSD
It's a VM inside a VM so not going to be consistent / fast
Nick Porter [Fri, 3 Nov 2023 15:59:40 +0000 (15:59 +0000)]
Switch hypervisors for FreeBSD tests
Nick Porter [Fri, 3 Nov 2023 13:39:21 +0000 (13:39 +0000)]
Don't print undefined string
Nick Porter [Fri, 3 Nov 2023 13:00:33 +0000 (13:00 +0000)]
luajit 2.0 is deprecated, 2.1 is current
Nick Porter [Fri, 3 Nov 2023 11:29:14 +0000 (11:29 +0000)]
lua tests: pairs is a field in fr.request
Nick Porter [Fri, 3 Nov 2023 11:28:09 +0000 (11:28 +0000)]
We don't marshal structured attributes to lua yet
Nick Porter [Fri, 3 Nov 2023 09:43:45 +0000 (09:43 +0000)]
lua ffi.load doesn't search multiple paths
Nick Porter [Thu, 2 Nov 2023 20:43:33 +0000 (20:43 +0000)]
Fix compiler warnings on FreeBSD
Nick Porter [Thu, 2 Nov 2023 12:14:02 +0000 (12:14 +0000)]
Use cross-platform actions for FreeBSD tests
This action appears to be under more active development / maintenance than vmactions/freebsd-vm
James Jones [Thu, 2 Nov 2023 15:11:45 +0000 (10:11 -0500)]
Check for node == NULL in xlat_validate_function_arg() (CID #
1548367 ) (#5213)
Nick Porter [Thu, 2 Nov 2023 11:40:49 +0000 (11:40 +0000)]
No point evaluating SQL-User-Name after the query has been built
To use SQL-User-Name in an SQL map, it needs to be populated before the
value box list of the query is created.
Nick Porter [Thu, 2 Nov 2023 11:17:54 +0000 (11:17 +0000)]
Use taloc_typed_strdup when xlat_eval returns no values
Otherwise using the resulting string in
fr_pair_value_bstrdup_buffer_shallow() or other functions which check
the talloc type will fail.
github-actions[bot] [Thu, 2 Nov 2023 09:34:47 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:43 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:41 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:34 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:31 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:28 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:26 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:23 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Thu, 2 Nov 2023 09:34:11 +0000 (09:34 +0000)]
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
Alan T. DeKok [Wed, 1 Nov 2023 23:58:55 +0000 (19:58 -0400)]
remove manual fr_extend_lowat()
Alan T. DeKok [Wed, 1 Nov 2023 23:58:29 +0000 (19:58 -0400)]
add missing function
Alan T. DeKok [Wed, 1 Nov 2023 23:57:13 +0000 (19:57 -0400)]
remove unnecessary ; after function
Arran Cudbard-Bell [Wed, 1 Nov 2023 22:35:22 +0000 (16:35 -0600)]
xlat: Don't leave dangling marker
Arran Cudbard-Bell [Wed, 1 Nov 2023 22:28:03 +0000 (16:28 -0600)]
Initialise max
Arran Cudbard-Bell [Wed, 1 Nov 2023 21:20:06 +0000 (15:20 -0600)]
sbuff: When performing prefix matches, always extend by the longest needle
Alan T. DeKok [Wed, 1 Nov 2023 20:40:09 +0000 (16:40 -0400)]
typo
Alan T. DeKok [Wed, 1 Nov 2023 20:24:51 +0000 (16:24 -0400)]
Revert "move extend out of users_file.c to sbuff.c"
This reverts commit
02ec7cdac5cbaa13305eb2503a23210d3af9084d .
it turns out extending things in the sbuff code causes other
problems. So we leave some hacks in the users_file parser.
Alan T. DeKok [Wed, 1 Nov 2023 20:02:38 +0000 (16:02 -0400)]
move to RADIUS attributes
Alan T. DeKok [Wed, 1 Nov 2023 19:23:36 +0000 (15:23 -0400)]
add test for large users file
the default buffer size is 8K, so we add a file larger than that.
If the sbuff extension only looks for one byte at a time, then
we will run out of data in the buffer while there is still pending
data to read. The users file reader will then return an error.
By updating the sbuffs to read more than 1 character, we ensure
that there's enough data in the buffer for most parsing purposes.
Alan T. DeKok [Wed, 1 Nov 2023 19:20:21 +0000 (15:20 -0400)]
move extend out of users_file.c to sbuff.c
If we're processing substantial amounts of input in a loop,
it doesn't help to extend the buffer by 32 bytes at a time.
Doing so will help decrease the calls to "extend", and ensures
that the application no longer needs to manually extend the
buffers.
Alan T. DeKok [Wed, 1 Nov 2023 14:10:29 +0000 (10:10 -0400)]
release markers and extend buffer when reading pairs
we would _like_ the sbuff functions to automatically extend the
buffers at a low water marker. But instead that has to be done
manually.
Alan T. DeKok [Tue, 31 Oct 2023 22:13:53 +0000 (18:13 -0400)]
reply packets use request authenticator for Message-Authenticator
manually port
1d8b14342 from v3.2.x branch
Alan T. DeKok [Tue, 31 Oct 2023 22:12:34 +0000 (18:12 -0400)]
run recv when receiving packets, not send
Alan T. DeKok [Tue, 31 Oct 2023 20:43:55 +0000 (16:43 -0400)]
update documentation for new behavior
Alan T. DeKok [Tue, 31 Oct 2023 20:30:28 +0000 (16:30 -0400)]
set rules to zero
Alan T. DeKok [Tue, 31 Oct 2023 20:29:18 +0000 (16:29 -0400)]
we need to set SQL-Group, too
Alan T. DeKok [Tue, 31 Oct 2023 19:36:23 +0000 (15:36 -0400)]
limit child allocation depth to MAX_TLV_STACK
Alan T. DeKok [Tue, 31 Oct 2023 19:14:58 +0000 (15:14 -0400)]
re-add User-Profile behavior
Alan T. DeKok [Tue, 31 Oct 2023 19:07:01 +0000 (15:07 -0400)]
move get group things to its own function
Alan T. DeKok [Tue, 31 Oct 2023 18:33:49 +0000 (14:33 -0400)]
remove default_user_profile, etc.
Alan T. DeKok [Tue, 31 Oct 2023 15:17:05 +0000 (11:17 -0400)]
check parenting for list operations
Alan T. DeKok [Tue, 31 Oct 2023 15:14:51 +0000 (11:14 -0400)]
clean up for clang scan
Nick Porter [Tue, 31 Oct 2023 08:56:07 +0000 (08:56 +0000)]
Use new xlat function syntax in inline comments
Alan T. DeKok [Tue, 31 Oct 2023 14:47:24 +0000 (10:47 -0400)]
note that we can't do &list1 := &list2 + &list3
it's better to give a descriptive error than crash
Alan T. DeKok [Tue, 31 Oct 2023 12:59:03 +0000 (08:59 -0400)]
let's try to use our local repo for pulling from hostap
so that we don't bug Jouni with endless pull requests
Alan T. DeKok [Mon, 30 Oct 2023 18:44:04 +0000 (14:44 -0400)]
remove unused function