]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Terry Burton [Thu, 4 Mar 2021 21:12:58 +0000 (21:12 +0000)]
CI RPMs: Remove workaround for scomp filter bug with faccessat2 (#3969)
No longer required.
Alan T. DeKok [Thu, 4 Mar 2021 19:29:30 +0000 (14:29 -0500)]
note recent changes
Alan T. DeKok [Thu, 4 Mar 2021 16:09:44 +0000 (11:09 -0500)]
use correct name for doxygen
Alan T. DeKok [Thu, 4 Mar 2021 15:03:26 +0000 (10:03 -0500)]
remove unused assignment
Alan T. DeKok [Thu, 4 Mar 2021 14:27:07 +0000 (09:27 -0500)]
remove unnecessary code
due to unresolved issues (interactions with OpenSSL APIs),
just always use 1 session ticket, even for PEAP / TTLS.
Alan T. DeKok [Thu, 4 Mar 2021 13:01:34 +0000 (08:01 -0500)]
Revert "add flag to send early session tickets"
This reverts commit
1663b982854e66eaa9191aec549aa8942c942947 .
this doesn't work.
We really need SSL_new_session_ticket(), which is only in
OpenSSL 3. Which is not released.
Arran Cudbard-Bell [Thu, 4 Mar 2021 14:04:34 +0000 (14:04 +0000)]
Pull over fixes from master
Arran Cudbard-Bell [Thu, 4 Mar 2021 13:40:14 +0000 (13:40 +0000)]
Just use a static value to differentiate tests running on different branches
Arran Cudbard-Bell [Thu, 4 Mar 2021 13:25:49 +0000 (13:25 +0000)]
Add auto-merge for v3.0.x
Alan T. DeKok [Wed, 3 Mar 2021 20:40:12 +0000 (15:40 -0500)]
add flag to send early session tickets
mainly for TTLS and PEAP
Alan T. DeKok [Wed, 3 Mar 2021 13:30:39 +0000 (08:30 -0500)]
be kind to non-TLS builds
Alan T. DeKok [Wed, 3 Mar 2021 13:14:25 +0000 (08:14 -0500)]
include correct header
Alan T. DeKok [Wed, 3 Mar 2021 12:59:55 +0000 (07:59 -0500)]
delay session tickets until after the user was authenticated
for PEAP, TTLS, FAST, etc.
Alan T. DeKok [Wed, 3 Mar 2021 12:34:29 +0000 (07:34 -0500)]
move code to common area
Alan T. DeKok [Wed, 3 Mar 2021 12:30:47 +0000 (07:30 -0500)]
clean up expired sessions
Alan T. DeKok [Wed, 3 Mar 2021 12:26:27 +0000 (07:26 -0500)]
set flag indicating that authentication succeeded.
not used much for now, but will do in the future.
Alan T. DeKok [Wed, 24 Feb 2021 19:05:13 +0000 (14:05 -0500)]
forbid doing session tickets until after the client cert is verified
Alan T. DeKok [Tue, 2 Mar 2021 12:27:39 +0000 (07:27 -0500)]
remove old maintainer who is no longer active
Alan T. DeKok [Fri, 26 Feb 2021 17:42:04 +0000 (12:42 -0500)]
remove unused label
Alan T. DeKok [Fri, 26 Feb 2021 17:37:24 +0000 (12:37 -0500)]
swap the order of allocate for unknown da's. Fixes #3937
Alan T. DeKok [Fri, 26 Feb 2021 17:37:11 +0000 (12:37 -0500)]
don't decode anything for CUI
Alan T. DeKok [Fri, 26 Feb 2021 16:57:34 +0000 (11:57 -0500)]
expose fr_pair_alloc()
Alan T. DeKok [Fri, 26 Feb 2021 16:36:06 +0000 (11:36 -0500)]
remove unused variable
Alan T. DeKok [Fri, 26 Feb 2021 16:34:43 +0000 (11:34 -0500)]
always create ctx. Helps with #3937
Alan T. DeKok [Fri, 26 Feb 2021 16:25:40 +0000 (11:25 -0500)]
create and use context for VPs. Helps with #3937
Alan T. DeKok [Wed, 24 Feb 2021 16:56:22 +0000 (11:56 -0500)]
hoist "set global client list" to client_list_init()
as client_list_free() takes care of freeing the global client list
Alan T. DeKok [Wed, 24 Feb 2021 16:31:29 +0000 (11:31 -0500)]
work around OpenSSL behavior changes for TLS 1.3
Alan T. DeKok [Wed, 24 Feb 2021 15:55:46 +0000 (10:55 -0500)]
check and verify EAP-Type when resuming
This is a follow up to commit
752bdd35e1e
so that we do not permit
Alan T. DeKok [Tue, 23 Feb 2021 21:07:42 +0000 (16:07 -0500)]
note recent changes
Alan T. DeKok [Tue, 23 Feb 2021 18:05:44 +0000 (13:05 -0500)]
helps to have this, too
Alan T. DeKok [Tue, 23 Feb 2021 17:51:21 +0000 (12:51 -0500)]
add "is_dup" flag
so if we have 2 attributes of the same number / type, but different
names. We mark the old one as "dup".
Then when looking up the attribute by name, check for the dup
flag, and if found, return the *new* attribute.
This change lets us decode packets into the new names, then
read config files using the old names, and have the two
attributes match.
Alan T. DeKok [Tue, 23 Feb 2021 17:50:33 +0000 (12:50 -0500)]
remove some attribute conflicts
Alan T. DeKok [Sun, 21 Feb 2021 14:45:34 +0000 (09:45 -0500)]
move handshake_send to after commitment message
which gives us the ability to check for SSL data written by
SSL_shutdown()
Alan T. DeKok [Sun, 21 Feb 2021 14:03:06 +0000 (09:03 -0500)]
cache and restore EAP-Type, too.
so that we can forbid cross-type resumption
Alan T. DeKok [Fri, 19 Feb 2021 21:53:06 +0000 (16:53 -0500)]
if PEAP says "not resumed", then over-ride the TLS layer "we resumed"
and update the messages so that it's a little clearer what's
going on.
Matthew Newton [Thu, 18 Feb 2021 20:29:04 +0000 (20:29 +0000)]
Correctly log released IP address
Alan T. DeKok [Thu, 18 Feb 2021 14:03:03 +0000 (09:03 -0500)]
note fix of double free due to PCRE library issues
Alan T. DeKok [Wed, 17 Feb 2021 13:14:23 +0000 (08:14 -0500)]
if it's already unknown, leave it alone. Helps with #3937
Alan T. DeKok [Wed, 17 Feb 2021 13:14:14 +0000 (08:14 -0500)]
shup up clang scanner
Alan T. DeKok [Wed, 17 Feb 2021 02:57:16 +0000 (21:57 -0500)]
no longer any VARIABLES section. Fixes #3941
Alan T. DeKok [Tue, 16 Feb 2021 14:36:27 +0000 (09:36 -0500)]
notes on RFC 4849 and NAS-Filter-Rule
Alan T. DeKok [Tue, 16 Feb 2021 14:33:37 +0000 (09:33 -0500)]
decode NAS-Filter-Rule, too
Alan T. DeKok [Tue, 16 Feb 2021 14:05:41 +0000 (09:05 -0500)]
add encoding of magic RFC 4849 format of NAS-Filter-Rule
Alan T. DeKok [Mon, 15 Feb 2021 22:15:35 +0000 (17:15 -0500)]
use NIL for root
and make NIL point to itself as it's parent
Alan T. DeKok [Mon, 15 Feb 2021 22:11:08 +0000 (17:11 -0500)]
avoid cache dirty on root
Alan T. DeKok [Mon, 15 Feb 2021 21:54:39 +0000 (16:54 -0500)]
abstract checks into a macro
Alan T. DeKok [Mon, 15 Feb 2021 21:50:47 +0000 (16:50 -0500)]
make code more consistent
Alan T. DeKok [Fri, 12 Feb 2021 12:46:48 +0000 (07:46 -0500)]
reset pcre_malloc only once
Alan T. DeKok [Fri, 12 Feb 2021 12:42:00 +0000 (07:42 -0500)]
clear pointers after freeing them
Alan T. DeKok [Thu, 11 Feb 2021 20:00:45 +0000 (15:00 -0500)]
give up and just disable TLS 1.0 and 1.1
We can't convince eapol_test / OpenSSL to *just* use an older
TLS version. If we enable only TLS 1.0 / 1.1, then OpenSSL
will always choose TLS 1.3.
https://datatracker.ietf.org/doc/draft-ietf-tls-oldversions-deprecate/
says that we should not be using TLS 1.0 or 1.1 any more. So we
might as well go along with that.
Alan T. DeKok [Thu, 11 Feb 2021 18:50:42 +0000 (13:50 -0500)]
ensure that EAPOL_TEST is defined before it is used
Jorge Pereira [Thu, 11 Feb 2021 17:42:25 +0000 (14:42 -0300)]
redis: Add missing 'redis_module_instance' config set
Terry Burton [Thu, 11 Feb 2021 11:05:20 +0000 (11:05 +0000)]
CI: Activate tmate on failure when pushing to the ci-debug branch (#3928)
Alan T. DeKok [Wed, 10 Feb 2021 20:03:49 +0000 (15:03 -0500)]
typo
Alan T. DeKok [Wed, 10 Feb 2021 19:57:07 +0000 (14:57 -0500)]
just turn things off
Alan T. DeKok [Wed, 10 Feb 2021 19:48:48 +0000 (14:48 -0500)]
give up and try to do idiotic debugging
Alan T. DeKok [Wed, 10 Feb 2021 19:06:27 +0000 (14:06 -0500)]
just use top_builddir FFS
Alan T. DeKok [Wed, 10 Feb 2021 18:22:06 +0000 (13:22 -0500)]
one more try to figure out package tests
Alan T. DeKok [Wed, 10 Feb 2021 16:49:59 +0000 (11:49 -0500)]
gnu make doesn't know about directories
Alan T. DeKok [Wed, 10 Feb 2021 16:07:00 +0000 (11:07 -0500)]
update README to note PEM vs P12
Alan T. DeKok [Wed, 10 Feb 2021 16:05:40 +0000 (11:05 -0500)]
copy for p12 files, too
Alan T. DeKok [Wed, 10 Feb 2021 14:54:22 +0000 (09:54 -0500)]
define top_srcdir
because the EAPOL tests need that when making packages
Alan T. DeKok [Wed, 10 Feb 2021 14:48:33 +0000 (09:48 -0500)]
print command lines on failure
Alan T. DeKok [Wed, 10 Feb 2021 14:46:15 +0000 (09:46 -0500)]
add resumption tests
Alan T. DeKok [Wed, 10 Feb 2021 14:37:12 +0000 (09:37 -0500)]
run tests across many different TLS versions
Alan T. DeKok [Wed, 10 Feb 2021 14:33:29 +0000 (09:33 -0500)]
build TLS-specific versions of the configuration files
Alan T. DeKok [Wed, 10 Feb 2021 14:25:18 +0000 (09:25 -0500)]
remove unused target
Alan T. DeKok [Wed, 10 Feb 2021 14:15:44 +0000 (09:15 -0500)]
move output files to build/
so they don't confuse the local directory :(
Alan T. DeKok [Wed, 10 Feb 2021 14:04:37 +0000 (09:04 -0500)]
add phase1 config to TLS-based EAP methods
unused for now
Alan T. DeKok [Wed, 10 Feb 2021 14:00:13 +0000 (09:00 -0500)]
reformat for v3
Alan T. DeKok [Wed, 10 Feb 2021 13:41:24 +0000 (08:41 -0500)]
manual pull from master. Fixes #3907
Jorge Pereira [Fri, 29 Jan 2021 19:14:28 +0000 (16:14 -0300)]
rlm_python: The detach() function in example.py expects parameter
Benjamin Thompson [Tue, 9 Feb 2021 21:43:25 +0000 (00:43 +0300)]
Added some more attributes to dictionary.wimax (#3905)
Hua Zhong [Tue, 9 Feb 2021 21:43:03 +0000 (13:43 -0800)]
Update Arista dictionary for v3.0.x (#3910)
Alan T. DeKok [Fri, 5 Feb 2021 21:54:22 +0000 (16:54 -0500)]
change to rad_assert to shut up clang scan
Alan T. DeKok [Fri, 5 Feb 2021 20:57:42 +0000 (15:57 -0500)]
add flag for TLS 1.3 close_notify vs commitment message
Alan T. DeKok [Fri, 5 Feb 2021 15:52:25 +0000 (10:52 -0500)]
use rad_assert(), not fr_assert in server-side code
Alan T. DeKok [Fri, 5 Feb 2021 15:44:40 +0000 (10:44 -0500)]
todo notes
Alan T. DeKok [Fri, 5 Feb 2021 15:41:21 +0000 (10:41 -0500)]
set a flag when the client cert has been validated
Alan T. DeKok [Tue, 2 Feb 2021 13:36:03 +0000 (08:36 -0500)]
more "shut up clang analyzer"
Alan T. DeKok [Tue, 2 Feb 2021 13:22:28 +0000 (08:22 -0500)]
shut up clang
Alan T. DeKok [Tue, 2 Feb 2021 13:19:59 +0000 (08:19 -0500)]
add rlm_sql_map
Alan T. DeKok [Tue, 2 Feb 2021 13:18:32 +0000 (08:18 -0500)]
add sql_map
Alan T. DeKok [Tue, 2 Feb 2021 13:13:39 +0000 (08:13 -0500)]
use TESTBIN instead of manually-coded paths
and use local libs for local tests
Alan T. DeKok [Mon, 1 Feb 2021 22:28:52 +0000 (17:28 -0500)]
ignore auto-generated files
Alan T. DeKok [Mon, 1 Feb 2021 22:28:14 +0000 (17:28 -0500)]
release handle on error
Alan T. DeKok [Mon, 1 Feb 2021 20:00:11 +0000 (15:00 -0500)]
use public API
Alan T. DeKok [Sat, 30 Jan 2021 16:41:36 +0000 (11:41 -0500)]
Add sql_map module
Federico Capoano [Sun, 24 Jan 2021 23:35:04 +0000 (18:35 -0500)]
sqlcounter: fixed configuration for PostgreSQL #3867
ABSTIME is deprecated since PostgreSQL 7.0 and removed in PostgreSQL 12.
GREATER doesn't seem to be documented, but GREATEST is available
since PostgreSQL 9.
Closes #3867
Alan T. DeKok [Thu, 28 Jan 2021 22:01:49 +0000 (17:01 -0500)]
Revert "use different labels for MSK and EMSK, with TLS 1.3"
This reverts commit
efc453a2c61d7491af6e803daf708145d14977fc .
There is no consensus to make this change, so revert the code
to match draft-ietf-emu-eap-tls13-13.
D. Domig [Thu, 21 Jan 2021 13:10:36 +0000 (14:10 +0100)]
Add support for timezone on alpine
Alan T. DeKok [Sat, 23 Jan 2021 13:07:35 +0000 (08:07 -0500)]
unify messaging for closing connections
Alan T. DeKok [Sat, 23 Jan 2021 12:56:22 +0000 (07:56 -0500)]
re-use connection, even if idle
When we're getting a new connection, don't close idle ones
and re-open a new one. Instead, just re-use the old idle
connection. This change helps to minimize the number of
open / close / open / close cycles.
Arran Cudbard-Bell [Fri, 22 Jan 2021 10:44:36 +0000 (10:44 +0000)]
Break if there are no pairs remaining
Alan T. DeKok [Thu, 21 Jan 2021 14:23:17 +0000 (09:23 -0500)]
disable v3_req extensions
until we figure out why they fail on CI. OpenSSL has *such*
helpful error messages.
Alan T. DeKok [Thu, 21 Jan 2021 14:00:36 +0000 (09:00 -0500)]
remove TLS 1.3 support
The IETF is endlessly waffling, and we don't want to release
a non-standard implementation.
Alan T. DeKok [Mon, 11 Jan 2021 19:38:46 +0000 (14:38 -0500)]
Add Key Identifier extensions to server.cnf
The Intel Wireless Daemon (iwd, alternative to wpa_supplicant) heavily
relies on Linux kernel interfaces for all its crypto, but the Linux
kernel doesn't seem to accept certificates without these extensions and
hence TLS will fail without them.
manual port of commit
d9e7106
lyubomirtraykov [Wed, 20 Jan 2021 09:44:09 +0000 (11:44 +0200)]
Update dictionary.fortinet (#3861)
Add Fortinet-Host-Port-AVPair attribute.
Jorge Pereira [Tue, 19 Jan 2021 22:50:54 +0000 (19:50 -0300)]
Note recent changes (#3860)
lyubomirtraykov [Tue, 19 Jan 2021 11:11:28 +0000 (13:11 +0200)]
Update dictionary.juniper (#3856)
Add Juniper-CWA-Redirect to dictionary.juniper