]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Matthew Newton [Thu, 15 Jun 2023 22:43:00 +0000 (23:43 +0100)]
CI: add job to check all crossbuild docker images work
Matthew Newton [Thu, 15 Jun 2023 18:12:52 +0000 (19:12 +0100)]
crossbuild: newer systems disable TLS1.1 but we need it for testing
Matthew Newton [Thu, 15 Jun 2023 17:54:35 +0000 (18:54 +0100)]
crossbuild: don't set rpm BUILDDIR
It clashes with eapol_test, which uses BUILDDIR internally in its
makefiles :(. We're using the default anyway.
Matthew Newton [Thu, 15 Jun 2023 09:49:16 +0000 (10:49 +0100)]
crossbuild: update docs
update common builds
Matthew Newton [Thu, 15 Jun 2023 09:07:13 +0000 (10:07 +0100)]
crossbuild: add recent OSes
debian11
debian12
ubuntu22
rocky8
rocky9
Matthew Newton [Thu, 15 Jun 2023 09:11:01 +0000 (10:11 +0100)]
crossbuild: generate Dockerfiles from m4 templates
bump up from node v10 to v14
Matthew Newton [Thu, 15 Jun 2023 09:09:32 +0000 (10:09 +0100)]
crossbuild: remove centos8
Matthew Newton [Thu, 15 Jun 2023 18:17:16 +0000 (19:17 +0100)]
be helpful and show where the test radiusd is logging to
Alan T. DeKok [Thu, 15 Jun 2023 13:19:32 +0000 (09:19 -0400)]
make consistent
Alan T. DeKok [Thu, 15 Jun 2023 13:13:13 +0000 (09:13 -0400)]
mmake State creation consistent with state.c
Alan T. DeKok [Tue, 13 Jun 2023 15:03:52 +0000 (11:03 -0400)]
document nonblock=yes
Alan T. DeKok [Tue, 13 Jun 2023 15:11:52 +0000 (11:11 -0400)]
allow for EOL of UDP sockets, too.
which also helps when building without TCP.
Alan T. DeKok [Tue, 13 Jun 2023 14:27:20 +0000 (10:27 -0400)]
fix compiler warning when building without TCP. Fixes #5054
Alan T. DeKok [Tue, 13 Jun 2023 14:09:30 +0000 (10:09 -0400)]
Auth Lost: Free the state's opaque and ctx storage. Fixes #5055
Matthew Newton [Mon, 12 Jun 2023 16:42:05 +0000 (17:42 +0100)]
docker: add rocky9
Matthew Newton [Mon, 12 Jun 2023 19:21:24 +0000 (20:21 +0100)]
CI: fix with latest mariadb 11 docker image
ref https://jira.mariadb.org/browse/MDBF-568
Matthew Newton [Mon, 12 Jun 2023 15:52:18 +0000 (16:52 +0100)]
docker: add debian 12 bookworm
Matthew Newton [Mon, 12 Jun 2023 15:40:02 +0000 (16:40 +0100)]
generate dockerfiles from m4 templates
It's getting tedious updating them all individually
Matthew Newton [Mon, 12 Jun 2023 15:32:00 +0000 (16:32 +0100)]
docker: remove obsolete OSes
debian 8/9, ubuntu 16.04
Matthew Newton [Mon, 12 Jun 2023 13:02:57 +0000 (14:02 +0100)]
docker: remove duplicate lines
Jorge Pereira [Mon, 12 Jun 2023 16:43:06 +0000 (13:43 -0300)]
Fix formatting (#5045)
Jorge Pereira [Mon, 12 Jun 2023 16:42:48 +0000 (13:42 -0300)]
dhcpclient: Better message to avoid bad experience (#5038)
* dhcpclient: Better message to avoid bad experience
Even in debug mode (-x), its impossible to know if the client is blocked
or trying something.
Matthew Newton [Fri, 9 Jun 2023 08:49:29 +0000 (09:49 +0100)]
comment teap out by default
so CI passes on centos7
Matthew Newton [Thu, 8 Jun 2023 15:38:01 +0000 (16:38 +0100)]
disable TEAP in RHEL 7 packages
which only has OpenSSL 1.0
Matthew Newton [Wed, 7 Jun 2023 23:36:54 +0000 (00:36 +0100)]
TEAP needs OpenSSL 1.1
Matthew Newton [Wed, 7 Jun 2023 22:39:33 +0000 (23:39 +0100)]
ensure rlm_eap_teap can be disabled
Alan T. DeKok [Thu, 8 Jun 2023 15:00:29 +0000 (17:00 +0200)]
use uppercase FALL-THROUGH
and minor cleanups
Alan T. DeKok [Thu, 8 Jun 2023 14:48:02 +0000 (16:48 +0200)]
note recent changes
Alan T. DeKok [Thu, 8 Jun 2023 14:47:46 +0000 (16:47 +0200)]
update to latest version of the RFC
Alan T. DeKok [Thu, 8 Jun 2023 10:22:34 +0000 (12:22 +0200)]
add TEAP to the "magic TLS methods" code
Alan T. DeKok [Thu, 8 Jun 2023 10:18:30 +0000 (12:18 +0200)]
intermediate result is 16 bits
Alan T. DeKok [Thu, 8 Jun 2023 10:13:14 +0000 (12:13 +0200)]
pull in last fix
Alan T. DeKok [Thu, 8 Jun 2023 09:58:49 +0000 (11:58 +0200)]
note ca_path restrictions
Alan T. DeKok [Thu, 8 Jun 2023 09:37:59 +0000 (11:37 +0200)]
add TEAP example
Alan T. DeKok [Thu, 8 Jun 2023 09:37:15 +0000 (11:37 +0200)]
add sample configuration for TEAP
Alan T. DeKok [Thu, 8 Jun 2023 09:30:09 +0000 (11:30 +0200)]
Revert "account for "obit" in data, too"
This reverts commit
69c8af621bbfa345e664f2c2f7e06b236cb361c3 .
nope, obit isn't in length
Alan T. DeKok [Thu, 8 Jun 2023 09:18:15 +0000 (11:18 +0200)]
account for "obit" in data, too
Alan T. DeKok [Thu, 8 Jun 2023 07:41:13 +0000 (09:41 +0200)]
add missing close() on error. FIxes #5036
Alan T. DeKok [Thu, 8 Jun 2023 07:28:46 +0000 (09:28 +0200)]
use IP_BOUND_IF or IPV6_BOUND_IF if available. Fixes #5037
Alan T. DeKok [Thu, 8 Jun 2023 06:57:14 +0000 (08:57 +0200)]
document retries. Fixes #5040 / #5041
Matthew Newton [Wed, 7 Jun 2023 10:49:14 +0000 (11:49 +0100)]
add rlm_eap_teap to freeradius.spec
Matthew Newton [Wed, 7 Jun 2023 10:26:32 +0000 (11:26 +0100)]
bump for 3.2.4
Alan T. DeKok [Wed, 7 Jun 2023 09:22:17 +0000 (11:22 +0200)]
note recent changes
Alan T. DeKok [Wed, 7 Jun 2023 09:18:45 +0000 (11:18 +0200)]
free check_tmp after using it. Fixes #5035
Alan T. DeKok [Tue, 6 Jun 2023 15:25:58 +0000 (17:25 +0200)]
get length of all EAP-Message attributes too
Alan T. DeKok [Tue, 6 Jun 2023 06:11:22 +0000 (08:11 +0200)]
mark "inst" as unused, and relax checks a bit more
for now, we will only check if the EAP message length is correct.
This prevents "middle box" effect, where the protocol cannot be
upgraded, because middle boxes aren't upgraded.
There is a near-zero chance that EAP will be updated to allow
supplicants to send something other than 1 (Response). But for
general protocol correctness and paranoia, let's allow for that
Alan T. DeKok [Sat, 3 Jun 2023 15:10:44 +0000 (11:10 -0400)]
relax the pre_proxy checks a bit
to allow any EAP type, even if it currently doesn't make sense
Alan T. DeKok [Tue, 6 Jun 2023 05:54:36 +0000 (07:54 +0200)]
build without TLS
Alan T. DeKok [Tue, 6 Jun 2023 05:44:52 +0000 (07:44 +0200)]
allow for non-blocking TCP connections, too
Alan T. DeKok [Tue, 6 Jun 2023 05:44:35 +0000 (07:44 +0200)]
move unused variable
Alan T. DeKok [Tue, 6 Jun 2023 04:23:14 +0000 (06:23 +0200)]
Add preliminary implementation of TEAP
Alan T. DeKok [Fri, 2 Jun 2023 13:54:19 +0000 (09:54 -0400)]
fix typo. #5026 and #5028
Alan T. DeKok [Thu, 1 Jun 2023 14:38:28 +0000 (10:38 -0400)]
separate PSK and PMK
Alan T. DeKok [Thu, 1 Jun 2023 14:38:14 +0000 (10:38 -0400)]
document Ruckus-DPSK
Alan T. DeKok [Wed, 31 May 2023 14:48:22 +0000 (10:48 -0400)]
add Called-Station-MAC
to get the MAC address as a binary blob
Alan T. DeKok [Wed, 31 May 2023 13:21:24 +0000 (09:21 -0400)]
typo. Fixes #5023
Alan T. DeKok [Tue, 30 May 2023 19:52:38 +0000 (15:52 -0400)]
add unconst
as the OpenSSL APIs seem to randomly change what's supposed to be
const or not. Or, the function definitions don't match the
documentation
Alan T. DeKok [Tue, 30 May 2023 19:39:19 +0000 (15:39 -0400)]
only track IDs for CoA tunnel listeners
Alan T. DeKok [Tue, 30 May 2023 19:37:49 +0000 (15:37 -0400)]
don't build with CoA tunnel feature by default
Alan T. DeKok [Tue, 30 May 2023 19:35:28 +0000 (15:35 -0400)]
don't make the DH file. It's not needed for OpenSSL >=1.1.0
Alan T. DeKok [Tue, 30 May 2023 19:23:52 +0000 (15:23 -0400)]
new dictionary
Alan T. DeKok [Tue, 30 May 2023 19:10:01 +0000 (15:10 -0400)]
move code to check for listener
Alan T. DeKok [Tue, 30 May 2023 15:18:26 +0000 (11:18 -0400)]
check outer TLV length against MTU
Alan T. DeKok [Tue, 30 May 2023 14:55:41 +0000 (10:55 -0400)]
just use hard-coded number
Alan T. DeKok [Tue, 30 May 2023 14:41:14 +0000 (10:41 -0400)]
API changes and preparation for allowing outer TLVs
Alan T. DeKok [Tue, 30 May 2023 13:55:01 +0000 (09:55 -0400)]
typos
Alan T. DeKok [Tue, 30 May 2023 13:41:56 +0000 (09:41 -0400)]
add more EAP types
Alan T. DeKok [Tue, 30 May 2023 13:34:04 +0000 (09:34 -0400)]
add definitions for TEAP
Alan T. DeKok [Tue, 30 May 2023 13:31:00 +0000 (09:31 -0400)]
add provision for outer TLVs
Alan T. DeKok [Mon, 29 May 2023 13:25:34 +0000 (09:25 -0400)]
update for 3.2.4
Alan T. DeKok [Sun, 28 May 2023 12:39:38 +0000 (08:39 -0400)]
add check for FreeBSD
Matthew Newton [Fri, 26 May 2023 13:56:52 +0000 (14:56 +0100)]
release 3.2.3
Matthew Newton [Fri, 26 May 2023 13:55:07 +0000 (14:55 +0100)]
CI: tidy comments to sync with 3.0
Alan T. DeKok [Thu, 25 May 2023 20:38:30 +0000 (16:38 -0400)]
compile fixes
Alan T. DeKok [Thu, 25 May 2023 20:23:57 +0000 (16:23 -0400)]
updates from the WBA
Alan T. DeKok [Thu, 25 May 2023 20:24:05 +0000 (16:24 -0400)]
updates. Helps with #5016
Alan T. DeKok [Thu, 25 May 2023 20:27:12 +0000 (16:27 -0400)]
compile fixes
Alan T. DeKok [Thu, 25 May 2023 20:12:03 +0000 (16:12 -0400)]
move documentation to be in a common location
Alan T. DeKok [Thu, 25 May 2023 19:50:43 +0000 (15:50 -0400)]
no need to build or call mutex functions if they're not needed
Matthew Newton [Thu, 25 May 2023 09:23:09 +0000 (10:23 +0100)]
Debian sid no longer has python2 so we need to handle that
Matthew Newton [Wed, 24 May 2023 14:48:22 +0000 (15:48 +0100)]
Separate out python2/3 packages for Debian systems
Until now we built whatever the default Python was on the system,
and not build the other module - this was included in the
freeradius package.
Separating it out makes it easier for people to choose which they
want. Recommends dependency on the freeradius package because we
previously bundled the module with that.
Matthew Newton [Wed, 24 May 2023 10:23:57 +0000 (11:23 +0100)]
mark rlm_cache_redis as stable
It might not be, but nobody will ever know if it's not used...
This gets it built and into the packages.
Alan T. DeKok [Thu, 25 May 2023 13:55:47 +0000 (09:55 -0400)]
build fix
Alan T. DeKok [Thu, 25 May 2023 13:33:01 +0000 (09:33 -0400)]
separate out NAS-Port from NAS-Port-ID. Helps with #5010
radutmp and couchbase use NAS-Port for their fields, but SQL uses
NAS-Port-Id. Which is a string, not an integer.
So update the API to allow for both to be passed. If there's
NAS-Port-Id, we use it. Otherwise we use NAS-Port. So radutmp
and couchbase don't change, and SQL now uses the correct field.
This is a behavior change from earlier. However, it means that
we are dropping an incorrect NAS-Port, and replacing it with a
NAS-Port-Id.
The only real conclusion here is that almost no one uses simultaneous
use with SQL any more.
Nick Porter [Mon, 22 May 2023 18:15:06 +0000 (19:15 +0100)]
LDAP_MAX_CACHEABLE only applies to names which need resolving to DNs
Alan T. DeKok [Sat, 20 May 2023 19:15:05 +0000 (15:15 -0400)]
require TLS 1.3 for RADIUS 1.1
Matthew Newton [Wed, 17 May 2023 09:10:24 +0000 (10:10 +0100)]
note recent changes
Herwin Weststrate [Mon, 3 Apr 2023 16:35:30 +0000 (18:35 +0200)]
Break in rest_request_encode_wrapper when at the end
The old code still ran one more loop once the request has been finished.
This not only included a new memory allocation + move + free, but it
also resulted in the limit argument being effectively cut in half.
Alan T. DeKok [Tue, 16 May 2023 15:29:05 +0000 (11:29 -0400)]
return stats for TCP sockets, too. Fixes #4990
Alan T. DeKok [Tue, 16 May 2023 15:27:09 +0000 (11:27 -0400)]
use parent socket for TCP stats. Helps with #4990
Alan T. DeKok [Mon, 15 May 2023 19:08:12 +0000 (15:08 -0400)]
use correct assert. Fixes #4995
Terry Burton [Mon, 15 May 2023 15:24:55 +0000 (16:24 +0100)]
Client Lost: Don't leak the fake request's initial state_ctx, which we replace (#4996)
Alan T. DeKok [Mon, 15 May 2023 14:24:57 +0000 (10:24 -0400)]
Quick hacks to allow multiple copies running on the same machine
so that tests don't conflict, and people don't need to coordinate
Alan T. DeKok [Mon, 15 May 2023 10:57:32 +0000 (06:57 -0400)]
call afr_atomic_queue_free() instead of talloc_free. Fixes #4987
Alan T. DeKok [Thu, 11 May 2023 08:13:32 +0000 (10:13 +0200)]
force packet type foo when running post-auth-type foo. Helps with #4980
Nick Porter [Thu, 11 May 2023 16:55:40 +0000 (17:55 +0100)]
Clear any old module instances before reloading
Avoids bursting memory usage when reloading large modules e.g. rlm_files
with large data files.
martinsta [Wed, 10 May 2023 12:53:51 +0000 (14:53 +0200)]
Update panic_action in radiusd.conf (#4986)
panic.gdb is available in raddb directory
one dollar sign will do to reference a config variable
martinsta [Wed, 10 May 2023 12:53:31 +0000 (14:53 +0200)]
Update panic_action in radiusd.conf (#4985)
panic.gdb is available in raddb directory
one dollar sign will do to reference a config variable
Alan T. DeKok [Sun, 7 May 2023 15:31:42 +0000 (17:31 +0200)]
clean up error handling on connection failure.
try_connect() does nothing other than return an error, instead
of doing various cleanups
Error paths from callers of try_connect() now call tls_socket_close()
instead of manually doing various things to clean up the listener.
mutex locks have been somewhat minimized on error paths
Alan T. DeKok [Sat, 29 Apr 2023 13:51:57 +0000 (09:51 -0400)]
remove TLS_MUTEX macro as it's no longer needed