]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Nick Porter [Fri, 10 Feb 2023 12:08:17 +0000 (12:08 +0000)]
Add OpenResty to CI test servers
Nick Porter [Fri, 10 Feb 2023 09:54:57 +0000 (09:54 +0000)]
Add rest xlat "section" config
Without this, rest xlats don't have a timeout set (other than the module
connection_timeout), have no TLS options and no authentication options.
This makes xlats more consistent with other section rest calls.
Nick Porter [Fri, 10 Feb 2023 20:56:44 +0000 (20:56 +0000)]
Quiet module test warnings
Alan T. DeKok [Fri, 10 Feb 2023 15:47:17 +0000 (10:47 -0500)]
Revert "sql.accounting needs Acct-Status-Type"
This reverts commit
85faf6285d11e2e1f8ad40f298694cd667040702 .
Alan T. DeKok [Fri, 10 Feb 2023 15:47:14 +0000 (10:47 -0500)]
Revert "run the accounting "post-auth" query for sql_session_start"
This reverts commit
5b7e4d4d031a6574a6bafd4faafb6cb9a7752192 .
Alan T. DeKok [Fri, 10 Feb 2023 15:46:54 +0000 (10:46 -0500)]
Nick Porter [Thu, 9 Feb 2023 12:03:39 +0000 (12:03 +0000)]
Package rlm_unbound for RedHat based systems
Nick Porter [Thu, 9 Feb 2023 11:40:57 +0000 (11:40 +0000)]
Package rlm_unbound for Debian based systems
Nick Porter [Thu, 9 Feb 2023 13:42:25 +0000 (13:42 +0000)]
Move man page to correct location
Nick Porter [Thu, 9 Feb 2023 13:23:04 +0000 (13:23 +0000)]
Add resolvconf and hosts options to rlm_unbound man page
Nick Porter [Thu, 9 Feb 2023 12:26:49 +0000 (12:26 +0000)]
Add rlm_unbound to stable module list
Alan T. DeKok [Thu, 9 Feb 2023 16:00:23 +0000 (11:00 -0500)]
typo
Alan T. DeKok [Thu, 9 Feb 2023 15:49:15 +0000 (10:49 -0500)]
run the accounting "post-auth" query for sql_session_start
Which should make it work again. However, it's not a good idea
to have admins mangle the default queries. We should have a
better way of "just doing the right thing"
Nick Porter [Wed, 8 Feb 2023 17:35:03 +0000 (17:35 +0000)]
Clarify pre and post proxy behaviour when proxying to a virtual server
Alan T. DeKok [Wed, 8 Feb 2023 14:50:06 +0000 (09:50 -0500)]
note recent changes
Alan T. DeKok [Wed, 1 Feb 2023 19:38:53 +0000 (14:38 -0500)]
be more careful about session established. Fixes #4878
Terry Burton [Tue, 31 Jan 2023 12:55:32 +0000 (12:55 +0000)]
Include thread stats in Status-Server attributes (#4870)
Alan T. DeKok [Mon, 30 Jan 2023 13:49:03 +0000 (08:49 -0500)]
note recent changes
Alan T. DeKok [Mon, 30 Jan 2023 13:43:17 +0000 (08:43 -0500)]
support cipher_list
Alan T. DeKok [Mon, 30 Jan 2023 13:20:40 +0000 (08:20 -0500)]
don't assert on configuration typos
Terry Burton [Wed, 25 Jan 2023 18:41:08 +0000 (18:41 +0000)]
Switch Ubuntu Docker images to 22.04
Terry Burton [Wed, 25 Jan 2023 18:40:17 +0000 (18:40 +0000)]
New Ubuntu 22.04 Docker image
Terry Burton [Fri, 27 Jan 2023 14:37:17 +0000 (14:37 +0000)]
stats: Make Status-Server stats attributes available within the virtual server (#4868)
Terry Burton [Fri, 27 Jan 2023 13:02:08 +0000 (13:02 +0000)]
check-eap-tls: Set Reply-Message in the right request's list (#4869)
Terry Burton [Thu, 26 Jan 2023 14:31:47 +0000 (14:31 +0000)]
coa-relay: Typos (#4867)
Terry Burton [Thu, 26 Jan 2023 14:05:22 +0000 (14:05 +0000)]
pap: Only look for passwords amongst non-vendor attributes (#4865)
Otherwise, the following will trigger a "Don't set
control:User-Password" warning:
VENDOR ABC 42
BEGIN-VENDOR ABC
ATTRIBUTE Not-A-Password 2 string
END-VENDOR ABC
update { &control:Not-A-Password := "x" }
pap
Jorge Pereira [Mon, 16 Jan 2023 22:08:56 +0000 (19:08 -0300)]
Close FD on error (#4848)
* Close FD on error
* Fix indent
Co-authored-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Nick Porter [Wed, 11 Jan 2023 08:52:27 +0000 (08:52 +0000)]
Typo
Jorge Pereira [Tue, 10 Jan 2023 16:49:57 +0000 (13:49 -0300)]
Fix typo. refs #4836 (#4842)
Alan T. DeKok [Sun, 8 Jan 2023 02:46:31 +0000 (21:46 -0500)]
this isn't an error
Alan T. DeKok [Thu, 29 Dec 2022 13:23:39 +0000 (08:23 -0500)]
typo
Alan T. DeKok [Wed, 28 Dec 2022 21:53:52 +0000 (16:53 -0500)]
minor tweaks and document how to use it with IPv6 addresses
Alan T. DeKok [Wed, 28 Dec 2022 21:53:29 +0000 (16:53 -0500)]
use CoA instead of COA
Alan T. DeKok [Wed, 28 Dec 2022 21:53:06 +0000 (16:53 -0500)]
typos
Alan T. DeKok [Wed, 14 Dec 2022 20:44:44 +0000 (15:44 -0500)]
note recent changes
Alan T. DeKok [Wed, 14 Dec 2022 20:32:56 +0000 (15:32 -0500)]
Add TLS-PSK-Identity to sock->certs
Herwin [Fri, 30 Dec 2022 15:47:25 +0000 (16:47 +0100)]
Replace magic values in rlm_pap.c with symbolic constants (#4832)
Alan T. DeKok [Wed, 14 Dec 2022 16:19:03 +0000 (11:19 -0500)]
give better error messages for %{listen:TLS-*}
Alan T. DeKok [Wed, 14 Dec 2022 16:16:46 +0000 (11:16 -0500)]
fix various build warnings with newer compilers
Alan T. DeKok [Fri, 9 Dec 2022 16:17:05 +0000 (11:17 -0500)]
don't remove the .d file, it's an output file
which is needed by the target rule
Nick Porter [Fri, 9 Dec 2022 13:22:05 +0000 (13:22 +0000)]
Handle changes in libcurl options
Nick Porter [Mon, 5 Dec 2022 13:59:42 +0000 (13:59 +0000)]
Protect calls to rlm_files where no packet for check items exists
This can happen, for exanple, if proxying fails and files is called in
the Fail-Authentication section.
Nick Porter [Fri, 2 Dec 2022 14:14:04 +0000 (14:14 +0000)]
PostgreSQL can distinguish between duplicate key and other erros
Nick Porter [Thu, 1 Dec 2022 17:51:00 +0000 (17:51 +0000)]
Ensure responses are sent to accounting packets written to detail files
Nick Porter [Thu, 1 Dec 2022 14:42:46 +0000 (14:42 +0000)]
Add basic VS Code config
Alan T. DeKok [Wed, 30 Nov 2022 12:26:41 +0000 (07:26 -0500)]
notes on setcap
Alan T. DeKok [Wed, 30 Nov 2022 12:22:10 +0000 (07:22 -0500)]
whitespace
Alan T. DeKok [Wed, 30 Nov 2022 12:20:39 +0000 (07:20 -0500)]
remove useless debug message
Matthew Newton [Tue, 29 Nov 2022 21:18:03 +0000 (21:18 +0000)]
and the same for protocols
Matthew Newton [Tue, 29 Nov 2022 15:47:30 +0000 (15:47 +0000)]
Add module README.md files
Alan T. DeKok [Tue, 29 Nov 2022 15:54:41 +0000 (10:54 -0500)]
more docs, add tracking, and send packets more quickly
Nick Porter [Fri, 18 Nov 2022 16:56:01 +0000 (16:56 +0000)]
Ensure acctupdatetime is always populated
This helps with queries used to identify sessions which have stopped but
no accounting stop has been received.
Alan T. DeKok [Mon, 14 Nov 2022 16:26:06 +0000 (11:26 -0500)]
use "data" from tree, not "context" from caller
Alan T. DeKok [Fri, 11 Nov 2022 13:10:43 +0000 (13:10 +0000)]
use rad_assert
Alan T. DeKok [Fri, 11 Nov 2022 13:09:10 +0000 (13:09 +0000)]
shut down listeners which have connection errors
Alan T. DeKok [Fri, 11 Nov 2022 12:56:16 +0000 (12:56 +0000)]
move error message to more logical place
Alan T. DeKok [Fri, 11 Nov 2022 12:55:48 +0000 (12:55 +0000)]
let's not be completely crazy.
we stop if the connect timeout has fired.
Alan T. DeKok [Fri, 11 Nov 2022 12:40:30 +0000 (12:40 +0000)]
lets print helpful messages instead of asserting
Nick Porter [Fri, 11 Nov 2022 08:58:54 +0000 (08:58 +0000)]
Use rad_assert to silence clang scan
Nick Porter [Fri, 11 Nov 2022 08:47:01 +0000 (08:47 +0000)]
Move error handling to outside #ifdef WITH_TLS
Alan T. DeKok [Thu, 10 Nov 2022 17:01:13 +0000 (17:01 +0000)]
close FD on error in more cases
Alan T. DeKok [Thu, 10 Nov 2022 16:56:36 +0000 (16:56 +0000)]
set the host name to the actual host name
Alan T. DeKok [Thu, 10 Nov 2022 16:44:30 +0000 (16:44 +0000)]
more asserts and updated error messages
Alan T. DeKok [Thu, 10 Nov 2022 16:42:12 +0000 (16:42 +0000)]
Revert "proxy: Fix issue to process empty data (#4797)"
This reverts commit
fb8492a560cac19f8bc47dd4fc3b7259dfbaba5c .
sock->ssn must NEVER be NULL for a TLS socket.
Alan T. DeKok [Thu, 10 Nov 2022 16:26:01 +0000 (16:26 +0000)]
show OpenSSL error, too
Jorge Pereira [Thu, 10 Nov 2022 15:08:13 +0000 (12:08 -0300)]
proxy: Fix issue to process empty data (#4797)
Jorge Pereira [Thu, 10 Nov 2022 15:07:58 +0000 (12:07 -0300)]
Fix typo in fr_nonblock() call (#4796)
Alan T. DeKok [Wed, 9 Nov 2022 18:52:28 +0000 (18:52 +0000)]
use macro for home server is dead
Alan T. DeKok [Wed, 9 Nov 2022 18:52:13 +0000 (18:52 +0000)]
remove unnecessary "break"
Nick Porter [Tue, 1 Nov 2022 15:55:40 +0000 (15:55 +0000)]
Add header option to linelog
Useful, for example, if outputting a CSV style file which needs headers
to parse correctly.
Nick Porter [Tue, 1 Nov 2022 15:50:49 +0000 (15:50 +0000)]
Amend exfile_open() to optionally return the offset in the opened file
Allow for detecting a new / blank file so headers can be added.
Alan T. DeKok [Thu, 3 Nov 2022 15:10:15 +0000 (15:10 +0000)]
Revert "check for multiple "down" states. Fixes #4790"
This reverts commit
c1a575e48bee09b01103c2e38c75269d2ebac339 .
after review, not needed
Alan T. DeKok [Thu, 3 Nov 2022 13:21:22 +0000 (13:21 +0000)]
check for multiple "down" states. Fixes #4790
Alan T. DeKok [Thu, 3 Nov 2022 11:24:33 +0000 (11:24 +0000)]
print error message
Alan T. DeKok [Thu, 3 Nov 2022 11:24:15 +0000 (11:24 +0000)]
resync. Helps with #4570
Alan T. DeKok [Thu, 3 Nov 2022 11:15:31 +0000 (11:15 +0000)]
sync with dictionaries. Heklps with #4790
Alan T. DeKok [Mon, 31 Oct 2022 20:52:56 +0000 (16:52 -0400)]
ctype macros should take explicitly unsigned input
to avoid chars with high bits being converted to negative numbers
perl -p -i -e 's/(tolower|toupper|isupper|islower|isdigit|isalpha|isspace|isxdigit)\(\s*\*/${1}((uint8_t) */g' $(find . -name "*.[ch]" -print)
perl -p -i -e 's/(tolower|toupper|isupper|islower|isdigit|isalpha|isspace|isxdigit)\(\(int\)/${1}((uint8_t)/g' $(find . -name "*.[ch]" -print)
Manual port of commit
d80731fd1ff , as some code has changed
Arran Cudbard-Bell [Mon, 31 Oct 2022 17:05:49 +0000 (11:05 -0600)]
We need to have cyrus-sasl-devel installed when building the LDAP packages otherwise we don't get SASL support
Nick Porter [Mon, 31 Oct 2022 16:02:42 +0000 (16:02 +0000)]
CI: Remove deprecated set-output
Nick Porter [Mon, 31 Oct 2022 11:40:15 +0000 (11:40 +0000)]
CI: Ensure git-lfs is installed
Nick Porter [Mon, 31 Oct 2022 11:21:52 +0000 (11:21 +0000)]
Update CI actions to node16 versions
Nick Porter [Mon, 31 Oct 2022 11:06:41 +0000 (11:06 +0000)]
Avoid spurious error about absolute path
Nick Porter [Mon, 31 Oct 2022 11:04:11 +0000 (11:04 +0000)]
Only debug packets when condition matches
radius_evaluate_cond() returns -2 for attribute not found - which was
causing packets without the required attributes to appear in conditional
debug output.
Alan T. DeKok [Fri, 28 Oct 2022 13:15:54 +0000 (09:15 -0400)]
move nonbloc setting to inside WITH_TLS
and make it "or". So that it can be set in either the main
proxy listen configuration, or in the home server.
Jorge Pereira [Fri, 28 Oct 2022 13:05:47 +0000 (10:05 -0300)]
allow setting of nonblock for homeservers (#4787)
Alan T. DeKok [Wed, 26 Oct 2022 12:13:26 +0000 (08:13 -0400)]
only for TLS
Alan T. DeKok [Wed, 26 Oct 2022 11:58:06 +0000 (07:58 -0400)]
forcibly remove blocked sockets. Helps with #3501
Alan T. DeKok [Wed, 26 Oct 2022 11:52:53 +0000 (07:52 -0400)]
note recent changes
Alan T. DeKok [Wed, 26 Oct 2022 11:31:43 +0000 (07:31 -0400)]
fix cert order only for lookup=0. Fixes #4785
Alan T. DeKok [Tue, 25 Oct 2022 14:51:02 +0000 (10:51 -0400)]
set partial chain always. Helps with #4785
Alan T. DeKok [Tue, 25 Oct 2022 12:59:53 +0000 (08:59 -0400)]
move partial chain set to after set cert store. Should fix #4753
Alan T. DeKok [Mon, 24 Oct 2022 15:19:07 +0000 (11:19 -0400)]
check sock->home
Alan T. DeKok [Mon, 24 Oct 2022 13:22:36 +0000 (09:22 -0400)]
sock->home may be NULL
Nick Porter [Fri, 21 Oct 2022 13:51:49 +0000 (14:51 +0100)]
Avoid null pointer dereference
Jorge Pereira [Fri, 21 Oct 2022 13:01:51 +0000 (10:01 -0300)]
Fix typo (#4780)
Alan T. DeKok [Fri, 21 Oct 2022 11:41:43 +0000 (07:41 -0400)]
check for tree. Helps with #3501
Alan T. DeKok [Thu, 20 Oct 2022 19:21:03 +0000 (15:21 -0400)]
set socket limit from home server for TCP connections
idle timeout, lifetime, etc.
Alan T. DeKok [Thu, 20 Oct 2022 16:08:27 +0000 (12:08 -0400)]
Track TLS sockets in the home server.
So that when the home server is marked dead, we can clean up
any blocked sockets.
We don't yet have a timer to clean up blocked sockets when the
home server is still alive.
Alan T. DeKok [Wed, 19 Oct 2022 15:07:33 +0000 (11:07 -0400)]
only used by TLS code for now
Alan T. DeKok [Wed, 19 Oct 2022 13:46:21 +0000 (09:46 -0400)]
updates
from https://www.juniper.net/documentation/us/en/software/junos/subscriber-mgmt-sessions/topics/topic-map/dhcp-options-radius-server.html