]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
2 years agoadd "-t timeout" to radsniff
Alan T. DeKok [Thu, 11 Jan 2024 16:27:06 +0000 (11:27 -0500)] 
add "-t timeout" to radsniff

So that it will exit cleanly after a given timeout

2 years agounix sockets need permissions, uid, and gid
Alan T. DeKok [Thu, 11 Jan 2024 14:06:27 +0000 (09:06 -0500)] 
unix sockets need permissions, uid, and gid

2 years ago'by' is not a name component
Arran Cudbard-Bell [Thu, 11 Jan 2024 15:10:40 +0000 (10:10 -0500)] 
'by' is not a name component

2 years agoAssign tmpl on heap for async expansion
Nick Porter [Thu, 11 Jan 2024 11:21:10 +0000 (11:21 +0000)] 
Assign tmpl on heap for async expansion

2 years agoFix ldap-setup CI script
Nick Porter [Thu, 11 Jan 2024 10:44:28 +0000 (10:44 +0000)] 
Fix ldap-setup CI script

2 years agoDecrease trunk management verbosity
Arran Cudbard-Bell [Wed, 10 Jan 2024 22:27:01 +0000 (17:27 -0500)] 
Decrease trunk management verbosity

2 years agoadd more debugging
Alan T. DeKok [Wed, 10 Jan 2024 22:24:41 +0000 (17:24 -0500)] 
add more debugging

2 years agouse type (SOCK_STREAM or SOCK_DGRAM) instead of IPPROTO
Alan T. DeKok [Wed, 10 Jan 2024 14:48:52 +0000 (09:48 -0500)] 
use type (SOCK_STREAM or SOCK_DGRAM) instead of IPPROTO

fr_socket_t can allegedly describe unix sockets.  So let's get
started down that path.

2 years agowe can transition init -> connected
Alan T. DeKok [Wed, 10 Jan 2024 13:05:05 +0000 (08:05 -0500)] 
we can transition init -> connected

for connected datagram sockets, connect() generally returns "OK"
immediately.

2 years agoMissing cast
Arran Cudbard-Bell [Wed, 10 Jan 2024 20:58:35 +0000 (15:58 -0500)] 
Missing cast

2 years agoRPM Builder gets the deps wrong for openldap-ltb
Arran Cudbard-Bell [Wed, 10 Jan 2024 20:55:42 +0000 (15:55 -0500)] 
RPM Builder gets the deps wrong for openldap-ltb

2 years agoAdd support for escaping call_env results
Arran Cudbard-Bell [Wed, 10 Jan 2024 20:50:01 +0000 (15:50 -0500)] 
Add support for escaping call_env results

Add async support to rlm_linelog

Allow call_env code to expand the header instead of doing it the legacy way

Ass escaping back

2 years agoStop processing isn't really correct here, and leads to spurious errors
Arran Cudbard-Bell [Thu, 14 Dec 2023 04:00:57 +0000 (22:00 -0600)] 
Stop processing isn't really correct here, and leads to spurious errors

2 years agodon't use extra comma
Alan T. DeKok [Wed, 10 Jan 2024 00:01:26 +0000 (19:01 -0500)] 
don't use extra comma

2 years agoadd MS-CHAP-Use-NTLM-Auth := Auto
Alan T. DeKok [Tue, 9 Jan 2024 23:48:09 +0000 (18:48 -0500)] 
add MS-CHAP-Use-NTLM-Auth := Auto

2 years agoSet copy_on_update for redis_ippool tests
Nick Porter [Tue, 9 Jan 2024 17:11:22 +0000 (17:11 +0000)] 
Set copy_on_update for redis_ippool tests

Works fine with tests now - and should be tested as it's the module
default.

2 years agoAdd tests of linelog failure paths
Nick Porter [Tue, 9 Jan 2024 16:47:26 +0000 (16:47 +0000)] 
Add tests of linelog failure paths

2 years agoUse call_env for linelog format / reference tmpls
Nick Porter [Tue, 9 Jan 2024 16:34:13 +0000 (16:34 +0000)] 
Use call_env for linelog format / reference tmpls

2 years agouse $< and $@ for simplicity
Alan T. DeKok [Tue, 9 Jan 2024 13:48:10 +0000 (08:48 -0500)] 
use $< and $@ for simplicity

2 years agoAdd group read permissions for certificates.
Alan T. DeKok [Tue, 9 Jan 2024 13:25:02 +0000 (08:25 -0500)] 
Add group read permissions for certificates.

Manual port of 29add13

Recent versions of OpenSSL appear to create keys with owner-only
permissions. Allow owning group to read the created default files
in raddb/certs, so that they stay the same as with older OpenSSL, and
that the server can read its key, and the p12 / pem files.

2 years agoRearrange exec_timeout() to keep consistent error message
Nick Porter [Tue, 9 Jan 2024 13:57:53 +0000 (13:57 +0000)] 
Rearrange exec_timeout() to keep consistent error message

2 years agoInstall libyubikey for MacOS and FreeBSD tests
Nick Porter [Tue, 9 Jan 2024 11:49:49 +0000 (11:49 +0000)] 
Install libyubikey for MacOS and FreeBSD tests

2 years agoCorrect debug macro
Nick Porter [Tue, 9 Jan 2024 11:02:27 +0000 (11:02 +0000)] 
Correct debug macro

2 years agoAdd test of Yubikey decrypt
Nick Porter [Tue, 9 Jan 2024 11:01:53 +0000 (11:01 +0000)] 
Add test of Yubikey decrypt

2 years agoAttributes marked as secret are automatically hidden
Nick Porter [Tue, 9 Jan 2024 11:01:01 +0000 (11:01 +0000)] 
Attributes marked as secret are automatically hidden

2 years agoYubikey attributes are nested
Nick Porter [Tue, 9 Jan 2024 10:59:33 +0000 (10:59 +0000)] 
Yubikey attributes are nested

2 years agoMark selected Yukikey attributes as secret
Nick Porter [Tue, 9 Jan 2024 10:59:02 +0000 (10:59 +0000)] 
Mark selected Yukikey attributes as secret

2 years agoUpdate yukikey sample module to refelect nested attribute names
Nick Porter [Tue, 9 Jan 2024 10:58:15 +0000 (10:58 +0000)] 
Update yukikey sample module to refelect nested attribute names

2 years agoRemove Tmp- attributes from remaining module tests
Nick Porter [Mon, 8 Jan 2024 12:35:35 +0000 (12:35 +0000)] 
Remove Tmp- attributes from remaining module tests

2 years agoRemove Tmp- attributes from perl module tests
Nick Porter [Mon, 8 Jan 2024 12:35:16 +0000 (12:35 +0000)] 
Remove Tmp- attributes from perl module tests

And re-enable with nested attribute check temporarily disabled.

2 years agoRemove Tmp- attributes from rest module tests
Nick Porter [Mon, 8 Jan 2024 12:34:11 +0000 (12:34 +0000)] 
Remove Tmp- attributes from rest module tests

2 years agoRemove Tmp- attributes from ldap module tests
Nick Porter [Mon, 8 Jan 2024 11:48:34 +0000 (11:48 +0000)] 
Remove Tmp- attributes from ldap module tests

2 years agoRemove Tmp- attributes from json module tests
Nick Porter [Mon, 8 Jan 2024 11:48:09 +0000 (11:48 +0000)] 
Remove Tmp- attributes from json module tests

2 years agoRemove Tmp- attributes from exec module tests
Nick Porter [Mon, 8 Jan 2024 11:46:24 +0000 (11:46 +0000)] 
Remove Tmp- attributes from exec module tests

2 years agoRemove Tmp- attributes from eap_sim module tests
Nick Porter [Mon, 8 Jan 2024 11:45:19 +0000 (11:45 +0000)] 
Remove Tmp- attributes from eap_sim module tests

2 years agoRemove Tmp- attributes from client module tests
Nick Porter [Mon, 8 Jan 2024 11:44:58 +0000 (11:44 +0000)] 
Remove Tmp- attributes from client module tests

2 years agoRemove Tmp- attributes from cipher module tests
Nick Porter [Mon, 8 Jan 2024 11:41:12 +0000 (11:41 +0000)] 
Remove Tmp- attributes from cipher module tests

2 years agoRemove Tmp- attributes from linelog module tests
Nick Porter [Fri, 5 Jan 2024 16:48:24 +0000 (16:48 +0000)] 
Remove Tmp- attributes from linelog module tests

2 years agoRemove Tmp- attributes from yubikey module tests
Nick Porter [Fri, 5 Jan 2024 16:47:19 +0000 (16:47 +0000)] 
Remove Tmp- attributes from yubikey module tests

2 years agoDon't run redis tests if redis doesn't start
Nick Porter [Fri, 5 Jan 2024 15:59:35 +0000 (15:59 +0000)] 
Don't run redis tests if redis doesn't start

2 years agoRemove Tmp- attributes from unbound module tests
Nick Porter [Fri, 5 Jan 2024 15:44:33 +0000 (15:44 +0000)] 
Remove Tmp- attributes from unbound module tests

And check for multiple return values now they are supported

2 years agoRemove Tmp- attributes from SQL module tests
Nick Porter [Fri, 5 Jan 2024 14:28:22 +0000 (14:28 +0000)] 
Remove Tmp- attributes from SQL module tests

2 years agoRemove Tmp- attributes from cache module tests
Nick Porter [Fri, 5 Jan 2024 14:27:58 +0000 (14:27 +0000)] 
Remove Tmp- attributes from cache module tests

2 years agomash results into a string
Alan T. DeKok [Fri, 5 Jan 2024 15:29:31 +0000 (10:29 -0500)] 
mash results into a string

as we can't do list comparisons.  Perhaps we need to add that.

2 years agomore xlat cleanups
Alan T. DeKok [Fri, 5 Jan 2024 14:29:35 +0000 (09:29 -0500)] 
more xlat cleanups

2 years agoIf arguments contain comments, they need to be quoted
Alan T. DeKok [Fri, 5 Jan 2024 13:59:31 +0000 (08:59 -0500)] 
If arguments contain comments, they need to be quoted

2 years agopull in some changes from PR #5244
Alan T. DeKok [Fri, 5 Jan 2024 13:37:37 +0000 (08:37 -0500)] 
pull in some changes from PR #5244

2 years agoTypos
James Jones [Wed, 29 Nov 2023 22:54:39 +0000 (16:54 -0600)] 
Typos

2 years agoRemove Tmp-Group from keyword tests that don't use lists
Nick Porter [Fri, 5 Jan 2024 11:57:37 +0000 (11:57 +0000)] 
Remove Tmp-Group from keyword tests that don't use lists

2 years agoDon't add data to pair that's been deleted
Nick Porter [Fri, 5 Jan 2024 11:57:01 +0000 (11:57 +0000)] 
Don't add data to pair that's been deleted

2 years agoRemove Tmp- variables from redis ippool tests
Nick Porter [Fri, 5 Jan 2024 11:09:20 +0000 (11:09 +0000)] 
Remove Tmp- variables from redis ippool tests

2 years agoRemove Tmp- from redis tests
Nick Porter [Fri, 5 Jan 2024 10:06:04 +0000 (10:06 +0000)] 
Remove Tmp- from redis tests

2 years agooperations on NULL are invalid
Alan T. DeKok [Thu, 4 Jan 2024 22:54:52 +0000 (17:54 -0500)] 
operations on NULL are invalid

2 years agodon't cast TO or FROM structural types
Alan T. DeKok [Fri, 5 Jan 2024 00:08:16 +0000 (19:08 -0500)] 
don't cast TO or FROM structural types

2 years agorepack structure for size
Alan T. DeKok [Thu, 4 Jan 2024 14:17:10 +0000 (09:17 -0500)] 
repack structure for size

2 years agoadd address family to fr_socket_t
Alan T. DeKok [Thu, 4 Jan 2024 14:10:00 +0000 (09:10 -0500)] 
add address family to fr_socket_t

AF_UNIX isn't an IPPROTO, so we can't use the proto field.
and AF_UNIX uses SOCK_STREAM instead of IPPROTO_TCP, and
SOCK_SEQPACKET instead of IPPROTO_UDP.

Note that SOCK_DGRAM is an unconnected, one-way unix socket!

2 years agosocket() is a function. Use another name
Alan T. DeKok [Thu, 4 Jan 2024 14:00:32 +0000 (09:00 -0500)] 
socket() is a function.  Use another name

2 years agoRevised sanity checking on local variable tmpls
Nick Porter [Thu, 4 Jan 2024 14:27:15 +0000 (14:27 +0000)] 
Revised sanity checking on local variable tmpls

Allows for real attributes inside a local variable group, but local
variables cannot have list modifiers

2 years agoHandle cast when combo address type == destination type
Nick Porter [Wed, 3 Jan 2024 15:06:30 +0000 (15:06 +0000)] 
Handle cast when combo address type == destination type

2 years agoRemove spurious warnings about ignoring values
Nick Porter [Wed, 3 Jan 2024 13:37:36 +0000 (13:37 +0000)] 
Remove spurious warnings about ignoring values

2 years agotypo
Alan T. DeKok [Wed, 3 Jan 2024 14:25:47 +0000 (09:25 -0500)] 
typo

2 years agomight as well support this, too
Alan T. DeKok [Wed, 3 Jan 2024 14:17:52 +0000 (09:17 -0500)] 
might as well support this, too

2 years agoallow cast from combo-ip and combo-ip-prefix to normal ip / prefix
Alan T. DeKok [Wed, 3 Jan 2024 14:17:28 +0000 (09:17 -0500)] 
allow cast from combo-ip and combo-ip-prefix to normal ip / prefix

2 years agoadd missing return
Alan T. DeKok [Wed, 3 Jan 2024 14:17:11 +0000 (09:17 -0500)] 
add missing return

2 years agoadd AF to udpfromto_init()
Alan T. DeKok [Tue, 2 Jan 2024 01:25:53 +0000 (20:25 -0500)] 
add AF to udpfromto_init()

to avoid getsockbyname() when it's not necessary

2 years agoReplace Tmp- with local variables / real attributes in keyword tests
Nick Porter [Wed, 3 Jan 2024 09:27:52 +0000 (09:27 +0000)] 
Replace Tmp- with local variables / real attributes in keyword tests

Local variables used where possible, real attributes where the tests are
about manipulation in lists.

Tmp-Group- is still in use.

2 years agoGrouping edits is now done with transactions
Nick Porter [Tue, 2 Jan 2024 13:33:32 +0000 (13:33 +0000)] 
Grouping edits is now done with transactions

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:40 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:34 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:32 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:28 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:25 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:22 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:19 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:17 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Wed, 3 Jan 2024 09:34:10 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar

2 years agoRemove vendor name from attribute names
Nick Porter [Fri, 29 Dec 2023 09:12:50 +0000 (09:12 +0000)] 
Remove vendor name from attribute names

2 years agopush all leaf attributes to env pairs
Alan T. DeKok [Tue, 26 Dec 2023 15:55:48 +0000 (10:55 -0500)] 
push all leaf attributes to env pairs

2 years agocatch more corner cases
Alan T. DeKok [Tue, 26 Dec 2023 15:55:32 +0000 (10:55 -0500)] 
catch more corner cases

2 years agodon't use Tmp-* in examples
Alan T. DeKok [Tue, 26 Dec 2023 15:36:30 +0000 (10:36 -0500)] 
don't use Tmp-* in examples

2 years agodon't use Tmp-* in examples
Alan T. DeKok [Tue, 26 Dec 2023 15:33:03 +0000 (10:33 -0500)] 
don't use Tmp-* in examples

2 years agouse local variables in examples
Alan T. DeKok [Tue, 26 Dec 2023 15:31:45 +0000 (10:31 -0500)] 
use local variables in examples

2 years agouse local variables, and not "update"
Alan T. DeKok [Tue, 26 Dec 2023 15:31:26 +0000 (10:31 -0500)] 
use local variables, and not "update"

2 years agoformat, and include in the main dictionaries
Alan T. DeKok [Tue, 26 Dec 2023 13:54:26 +0000 (08:54 -0500)] 
format, and include in the main dictionaries

2 years agonotes on transactional rollbacks
Alan T. DeKok [Tue, 26 Dec 2023 13:51:31 +0000 (08:51 -0500)] 
notes on transactional rollbacks

2 years agoAdded tplink EAP225 radius dictionary
Cheserem Titus [Tue, 26 Dec 2023 10:47:26 +0000 (13:47 +0300)] 
Added tplink EAP225 radius dictionary

When imported the attributes can be viewed in the radius logs. Data limits similar to ChilliSpot-Max-Total-Octets and such are not yet supported but the dictionary can be updated with new attributes as TPLink adds in new feature support on their Devices.

2 years agoreset user_pl if user_list is NULL
Alan T. DeKok [Mon, 25 Dec 2023 15:34:53 +0000 (10:34 -0500)] 
reset user_pl if user_list is NULL

2 years agomore sanity checks on operators
Alan T. DeKok [Mon, 25 Dec 2023 15:01:37 +0000 (10:01 -0500)] 
more sanity checks on operators

2 years agotypo
Alan T. DeKok [Mon, 25 Dec 2023 14:27:03 +0000 (09:27 -0500)] 
typo

2 years agoupdate, clarify, and add cross-references
Alan T. DeKok [Mon, 25 Dec 2023 14:14:34 +0000 (09:14 -0500)] 
update, clarify, and add cross-references

2 years agomore functionality for relative attributes
Alan T. DeKok [Mon, 25 Dec 2023 13:58:26 +0000 (08:58 -0500)] 
more functionality for relative attributes

allow my_struct = {}.  We will add child pairs later.

set the parent properly if the current attribute is structural

2 years agoreset the relative map for each entry
Alan T. DeKok [Mon, 25 Dec 2023 13:39:47 +0000 (08:39 -0500)] 
reset the relative map for each entry

2 years agowe don't need an intermediate list
Alan T. DeKok [Mon, 25 Dec 2023 13:11:07 +0000 (08:11 -0500)] 
we don't need an intermediate list

2 years agomove to internal function for things which don't need to be public
Alan T. DeKok [Mon, 25 Dec 2023 13:07:26 +0000 (08:07 -0500)] 
move to internal function for things which don't need to be public

2 years agoPython: discard extraneous parentheses
Dimitri Papadopoulos [Wed, 20 Dec 2023 20:44:41 +0000 (21:44 +0100)] 
Python: discard extraneous parentheses

2 years agoPython: `super()` does not require arguments any more
Dimitri Papadopoulos [Wed, 20 Dec 2023 20:43:16 +0000 (21:43 +0100)] 
Python: `super()` does not require arguments any more

2 years agoPython: remove Python 2 leftovers
Dimitri Papadopoulos [Wed, 20 Dec 2023 20:38:38 +0000 (21:38 +0100)] 
Python: remove Python 2 leftovers

* The default source encoding is implictly UTF-8 in Python 3.
  No need to explictly declare  the encoding.
* In Python 3, `print` is a function. Do not attempt to force that.

2 years agoPython: use raw string for regex that contains `\`
Dimitri Papadopoulos [Wed, 20 Dec 2023 20:36:35 +0000 (21:36 +0100)] 
Python: use raw string for regex that contains `\`

2 years agoFix typos in src (#5257)
Dimitri Papadopoulos Orfanos [Mon, 25 Dec 2023 11:39:19 +0000 (12:39 +0100)] 
Fix typos in src (#5257)

* Fix typos in src

Misspellings found by codespell.

* Fix issue found by reviewer

* Update src/lib/unlang/try_priv.h

Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
---------

Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
2 years agothe files module now supports "undo" for failed operations
Alan T. DeKok [Sun, 24 Dec 2023 17:04:59 +0000 (12:04 -0500)] 
the files module now supports "undo" for failed operations