]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Alan T. DeKok [Wed, 1 Mar 2023 22:26:35 +0000 (17:26 -0500)]
don't print out these values unless they're set
they confuse other protocols
Alan T. DeKok [Wed, 1 Mar 2023 22:09:56 +0000 (17:09 -0500)]
allow the caller to add extra bits after a client definition
Alan T. DeKok [Wed, 1 Mar 2023 22:02:04 +0000 (17:02 -0500)]
"virtual_server" has not been supported for a while.
Alan T. DeKok [Wed, 1 Mar 2023 22:00:56 +0000 (17:00 -0500)]
remove unused function
Alan T. DeKok [Wed, 1 Mar 2023 21:45:16 +0000 (16:45 -0500)]
let's not shout.
RADCLIENT -> fr_client_t
RADCLIENT_LIST -> fr_client_list_t
Alan T. DeKok [Wed, 1 Mar 2023 21:20:53 +0000 (16:20 -0500)]
more sanity checks on values
Alan T. DeKok [Wed, 1 Mar 2023 16:48:53 +0000 (11:48 -0500)]
initialize reply packet
James Jones [Wed, 1 Mar 2023 19:50:02 +0000 (13:50 -0600)]
Get rid of doxygen "Illegal member name found" warnings (#4913)
Analogous to not expanding STATE() hiding the type in
declarations, not expanding SBUFF_OUT_TALLOC_FUNC_NO_LEN_DEF()
hides function bodies. Not seeing them confuses doxygen.
Nick Porter [Wed, 1 Mar 2023 16:24:06 +0000 (16:24 +0000)]
Add proto_bfd_udp.so to RedHat packaging
Alan T. DeKok [Wed, 1 Mar 2023 15:39:30 +0000 (10:39 -0500)]
needed
Alan T. DeKok [Wed, 1 Mar 2023 15:27:22 +0000 (10:27 -0500)]
note 3.2.x, too
Alan T. DeKok [Wed, 1 Mar 2023 14:47:26 +0000 (09:47 -0500)]
add proto_bfd_udp
Alan T. DeKok [Wed, 1 Mar 2023 14:47:09 +0000 (09:47 -0500)]
debug received packets
Alan T. DeKok [Wed, 1 Mar 2023 14:38:40 +0000 (09:38 -0500)]
only require connection_set for TCP
Alan T. DeKok [Tue, 28 Feb 2023 21:36:36 +0000 (16:36 -0500)]
add proto_bfd
Alan T. DeKok [Tue, 28 Feb 2023 21:29:25 +0000 (16:29 -0500)]
no longer need this
Nick Porter [Wed, 1 Mar 2023 12:18:22 +0000 (12:18 +0000)]
docs: Update Doxygen project name and remove obsolete option
Nick Porter [Wed, 1 Mar 2023 08:21:18 +0000 (08:21 +0000)]
Update documentation CI job to use new actions
Nick Porter [Wed, 1 Mar 2023 07:59:16 +0000 (07:59 +0000)]
Add libfreeradius-bfd.so to RedHat packaging
Alan T. DeKok [Tue, 28 Feb 2023 21:07:09 +0000 (16:07 -0500)]
add BFD decoder
Alan T. DeKok [Tue, 28 Feb 2023 20:31:16 +0000 (15:31 -0500)]
add encoder for BFD, and test cases.
There's no decoder, and no authentication tests yet
Alan T. DeKok [Tue, 28 Feb 2023 19:45:56 +0000 (14:45 -0500)]
typos "interval" not "internal"
James Jones [Tue, 28 Feb 2023 14:43:44 +0000 (08:43 -0600)]
Add missing xlat_frame_eval_resume() @params for doxygen (#4910)
James Jones [Tue, 28 Feb 2023 14:43:32 +0000 (08:43 -0600)]
Get rid of "explicit link to foo could not be resolved" warnings (#4912)
These turned up for a couple of reasons:
1. Macros expanding to variable declarations (here STATE());
doxygen needs it expaded to see the declaration.
2. Forward references in @param
Alan T. DeKok [Mon, 27 Feb 2023 21:25:24 +0000 (16:25 -0500)]
track requests and listeners
so that when a listener goes away, we cancel all requests
associated with it.
Nick Porter [Tue, 28 Feb 2023 08:04:31 +0000 (08:04 +0000)]
Update Ciena dictionary
James Jones [Mon, 27 Feb 2023 23:18:40 +0000 (17:18 -0600)]
Balance doxygen grouping commands (#4911)
This is a minimal change to placate doxygen; I believe it's
consistent with the intent, but it definitely needs checking.
Arran Cudbard-Bell [Mon, 27 Feb 2023 23:13:17 +0000 (17:13 -0600)]
Add a cancel xlat which cancel's the current request or subrequest
Nick Porter [Mon, 27 Feb 2023 19:58:05 +0000 (19:58 +0000)]
NDEBUG_UNUSED
Arran Cudbard-Bell [Mon, 27 Feb 2023 02:18:50 +0000 (20:18 -0600)]
Revert "radius: Increase radius Access-Request timeouts significantly"
This reverts commit
0f9808905ff8652102f6c50093fbc6ae7f5c5d2a .
Alan T. DeKok [Mon, 27 Feb 2023 19:24:30 +0000 (14:24 -0500)]
add framework for network to notify workers that a socket has gone away
Nick Porter [Mon, 27 Feb 2023 19:18:13 +0000 (19:18 +0000)]
Add process_bfd.so to RedHat packaging
Nick Porter [Mon, 27 Feb 2023 15:06:36 +0000 (15:06 +0000)]
typo
Nick Porter [Mon, 27 Feb 2023 15:03:22 +0000 (15:03 +0000)]
Correct condition for publishing doxygen content
Alan T. DeKok [Mon, 27 Feb 2023 14:39:48 +0000 (09:39 -0500)]
fix build
Alan T. DeKok [Sun, 26 Feb 2023 23:13:14 +0000 (18:13 -0500)]
start of process_bfd state machine
Alan T. DeKok [Mon, 27 Feb 2023 14:08:23 +0000 (09:08 -0500)]
allow the same packet code for request and reply
Alan T. DeKok [Sun, 26 Feb 2023 23:12:37 +0000 (18:12 -0500)]
set TTL to 255, as suggested by RFC 5881
We likely want to have this configurable, so that the BFD links
can go slightly further.
Alan T. DeKok [Sun, 26 Feb 2023 23:12:13 +0000 (18:12 -0500)]
use port from RFC 5881
Alan T. DeKok [Sun, 26 Feb 2023 15:02:58 +0000 (10:02 -0500)]
remove references to ARP
Alan T. DeKok [Sat, 25 Feb 2023 15:06:03 +0000 (10:06 -0500)]
dictionaries for BFD
Alan T. DeKok [Sat, 25 Feb 2023 14:59:45 +0000 (09:59 -0500)]
both string and octets can be fixed size in arrays
Alan T. DeKok [Sat, 25 Feb 2023 14:51:04 +0000 (09:51 -0500)]
too long lengths are encode errors
Alan T. DeKok [Sat, 25 Feb 2023 14:44:59 +0000 (09:44 -0500)]
structs support "length=uint8"
at least the encoder / decoder support it.
Alan T. DeKok [Sat, 25 Feb 2023 14:34:51 +0000 (09:34 -0500)]
print encoding size for time/time_delta too
Alan T. DeKok [Sat, 25 Feb 2023 14:31:36 +0000 (09:31 -0500)]
we don't need "length=uint16" for bit fields.
Alan T. DeKok [Sat, 25 Feb 2023 14:15:56 +0000 (09:15 -0500)]
typo
Nick Porter [Mon, 27 Feb 2023 11:52:46 +0000 (11:52 +0000)]
Expand paths to trigger Documentation CI job to full trees
Arran Cudbard-Bell [Mon, 27 Feb 2023 02:12:15 +0000 (20:12 -0600)]
tacacs: Likely accidentally comitted
Arran Cudbard-Bell [Mon, 27 Feb 2023 00:44:44 +0000 (18:44 -0600)]
radius: Increase radius Access-Request timeouts significantly
So we can use NPS as an MFA gateway
Arran Cudbard-Bell [Sun, 26 Feb 2023 19:45:45 +0000 (13:45 -0600)]
Formatting
Alan T. DeKok [Fri, 24 Feb 2023 21:04:56 +0000 (16:04 -0500)]
make a real PROTOCOL TEST
and glue it into:
* unit_test_module, as TEST is now a normal protocol
* process/test/base.c - as above
* src/test/process - more magic && code to run tests
Alan T. DeKok [Fri, 24 Feb 2023 20:58:18 +0000 (15:58 -0500)]
There's no need to limit protocol numbers to 255.
The attribute number limit has long since been removed.
Alan T. DeKok [Fri, 24 Feb 2023 20:56:56 +0000 (15:56 -0500)]
statements can just run inline.
There's no need to wrap them in "if" statements
Alan T. DeKok [Fri, 24 Feb 2023 20:41:52 +0000 (15:41 -0500)]
use new syntax for list refs
Alan T. DeKok [Fri, 24 Feb 2023 19:51:49 +0000 (14:51 -0500)]
don't use the "update" keyword in examples
James Jones [Fri, 24 Feb 2023 20:27:37 +0000 (14:27 -0600)]
Let doxygen expand FR_DLIST_HEAD() (#4907)
FR_DLIST_HEAD() is a macro that expands to a type, and is used
to declare variables and parameters. By default doxygen doesn't
expand macros, and thus it is confused by seeing the macro invocation
rather than the type it expands to.
Alan T. DeKok [Fri, 24 Feb 2023 15:42:45 +0000 (10:42 -0500)]
add "process test" state machine
and the beginnings of "make test.process"
We will be running the protocol state machines from the "test"
virtual server, which lets us to multi-round challenge / response
where necessary
Alan T. DeKok [Fri, 24 Feb 2023 15:41:28 +0000 (10:41 -0500)]
just use the dict we loaded. No need to do more lookups
Alan T. DeKok [Fri, 24 Feb 2023 14:13:18 +0000 (09:13 -0500)]
don't worry about "has_value" being set for duplicates
James Jones [Fri, 24 Feb 2023 04:02:56 +0000 (22:02 -0600)]
Hide CC_HINT() from doxygen (#4909)
doxygen documentation mentions that it doesn't know about
__attribute()__, and recommends making it expand to the
empty string for doxygen using PREDEFINED. Letting CC_HINT()
through to doxygen confuses it, in particular about function
definitions/declarations. In src/lib/util/strerror.h it was
not recognizing the parameters of the functions therein as
such and therefore giving multiple "member <parameter> belongs
to two different groups" warnings.
Alan T. DeKok [Fri, 24 Feb 2023 02:20:54 +0000 (21:20 -0500)]
don't install test binaries.
they're only needed for the build.
Alan T. DeKok [Thu, 23 Feb 2023 23:52:12 +0000 (18:52 -0500)]
only register "module" commands for "rlm" modules.
So that we can have both an rlm module "test", and a process
module "test".
We probably need similar command tables for the different types
of modules.
Alan T. DeKok [Thu, 23 Feb 2023 17:41:22 +0000 (12:41 -0500)]
remove unused code
Alan T. DeKok [Thu, 23 Feb 2023 17:37:43 +0000 (12:37 -0500)]
this struct doesn't need to be public
Alan T. DeKok [Thu, 23 Feb 2023 17:26:18 +0000 (12:26 -0500)]
allow setting SINGLE_CONNECT mode.
note that we *or* in the SINGLE_CONNECT flag, because the other
flags control packet encryption. And we don't want the admin to
magically send unencrypted packets when there's a shared secret.
We also do this only when sending replies from the server. If
we're encoding a client packet, the "flags" attribute must already
exist, and must already have been encoded using fr_struct_to_network()
Alan T. DeKok [Thu, 23 Feb 2023 14:41:53 +0000 (09:41 -0500)]
support encoding and decoding of dictionary.rfc8907
Alan T. DeKok [Thu, 23 Feb 2023 14:39:39 +0000 (09:39 -0500)]
pass correct argv
Alan T. DeKok [Thu, 23 Feb 2023 13:37:04 +0000 (08:37 -0500)]
Add attributes from RFC 8907
The encoder/decoder don't (yet) deal with them, but it is good
to define them.
Alan T. DeKok [Thu, 23 Feb 2023 13:35:59 +0000 (08:35 -0500)]
there's no need to limit time resolution to seconds, etc.
The print/parse code supports min/hour/etc. And TACACS+ requires
minutes. :(
Nick Porter [Thu, 23 Feb 2023 11:15:37 +0000 (11:15 +0000)]
More doxygen cleanups
Arran Cudbard-Bell [Thu, 23 Feb 2023 04:12:35 +0000 (22:12 -0600)]
tacacs: Respect reply.Flags so we can negotiate single connection mode
Arran Cudbard-Bell [Thu, 23 Feb 2023 04:12:12 +0000 (22:12 -0600)]
tacacs: Formatting
Alan T. DeKok [Thu, 23 Feb 2023 01:17:16 +0000 (20:17 -0500)]
Revert "Overloaded for now"
This reverts commit
8b55512b6955b5e587517279a4938e5ee11c01a9 .
Alan T. DeKok [Thu, 23 Feb 2023 01:16:42 +0000 (20:16 -0500)]
name conflicts are relative to parent, not to root
Arran Cudbard-Bell [Wed, 22 Feb 2023 23:19:01 +0000 (17:19 -0600)]
Overloaded for now
Alan T. DeKok [Wed, 22 Feb 2023 21:54:36 +0000 (16:54 -0500)]
complain about secret key on bad packets
which is almost always going to be the source of bad packets
Alan T. DeKok [Wed, 22 Feb 2023 21:39:59 +0000 (16:39 -0500)]
move local attributes to DEFINE
Arran Cudbard-Bell [Wed, 22 Feb 2023 21:38:33 +0000 (15:38 -0600)]
tacacs: Add Calix vendor dictionary
Alan T. DeKok [Wed, 22 Feb 2023 18:58:06 +0000 (13:58 -0500)]
we don't need RADIUS-specific things in Perl
Arran Cudbard-Bell [Wed, 22 Feb 2023 19:24:00 +0000 (13:24 -0600)]
linelog: Hexdump what we're writing at >= debug level 3
Nick Porter [Wed, 22 Feb 2023 17:39:28 +0000 (17:39 +0000)]
Align doxygen comments with function definitions
Alan T. DeKok [Wed, 22 Feb 2023 16:53:50 +0000 (11:53 -0500)]
clean up doxygen complaints
Alan T. DeKok [Wed, 22 Feb 2023 16:44:52 +0000 (11:44 -0500)]
ignore third-party libraries
Alan T. DeKok [Wed, 22 Feb 2023 16:33:38 +0000 (11:33 -0500)]
add sample accounting-error packet
Alan T. DeKok [Wed, 22 Feb 2023 14:08:36 +0000 (09:08 -0500)]
Example of outbound TACACS+ client module.
Nick Porter [Wed, 22 Feb 2023 11:36:20 +0000 (11:36 +0000)]
Try alternate 389ds docker image
Arran Cudbard-Bell [Wed, 22 Feb 2023 03:59:13 +0000 (21:59 -0600)]
Fix docs
Arran Cudbard-Bell [Wed, 22 Feb 2023 03:55:39 +0000 (21:55 -0600)]
tacacs: Don't leak session data, and don't crash when copying pairs back
Arran Cudbard-Bell [Wed, 22 Feb 2023 03:28:41 +0000 (21:28 -0600)]
network: Error messages for humans
Arran Cudbard-Bell [Wed, 22 Feb 2023 02:15:27 +0000 (20:15 -0600)]
Indirection apparently shuts up clang scan
Arran Cudbard-Bell [Tue, 21 Feb 2023 23:27:14 +0000 (17:27 -0600)]
dl: Fix access check so real errors are not obscured
Arran Cudbard-Bell [Tue, 21 Feb 2023 20:11:02 +0000 (14:11 -0600)]
xlat: Make %{} and %() functions take the same format argument list
Add support for quoted arguments to curly bracketed expansions
Arran Cudbard-Bell [Tue, 21 Feb 2023 17:21:23 +0000 (11:21 -0600)]
value: Add flatten function
Arran Cudbard-Bell [Mon, 20 Feb 2023 23:59:02 +0000 (17:59 -0600)]
Fixup verification functions, add value box debug functions
James Jones [Tue, 21 Feb 2023 23:00:47 +0000 (17:00 -0600)]
doxygen typo (@param, not @parma) (#4906)
Alan T. DeKok [Tue, 21 Feb 2023 22:39:02 +0000 (17:39 -0500)]
fix typos to keep doxygen happy
Alan T. DeKok [Tue, 21 Feb 2023 20:51:55 +0000 (15:51 -0500)]
minor changes to debug output
Alan T. DeKok [Tue, 21 Feb 2023 19:56:35 +0000 (14:56 -0500)]
Revert "set idle timer when we CONNECT a socket"
This reverts commit
63de5b222a0aea729788dcfe6e94568fe9796a64 .
nope... there should be a better way
Alan T. DeKok [Tue, 21 Feb 2023 19:48:57 +0000 (14:48 -0500)]
set idle timer when we CONNECT a socket
so that we don't need to check it on every packet.