]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
2 years agoAdd preliminary implementation of TEAP
Alan T. DeKok [Tue, 6 Jun 2023 04:23:14 +0000 (06:23 +0200)] 
Add preliminary implementation of TEAP

2 years agofix typo. #5026 and #5028
Alan T. DeKok [Fri, 2 Jun 2023 13:54:19 +0000 (09:54 -0400)] 
fix typo.  #5026 and #5028

2 years agoseparate PSK and PMK
Alan T. DeKok [Thu, 1 Jun 2023 14:38:28 +0000 (10:38 -0400)] 
separate PSK and PMK

2 years agodocument Ruckus-DPSK
Alan T. DeKok [Thu, 1 Jun 2023 14:38:14 +0000 (10:38 -0400)] 
document Ruckus-DPSK

2 years agoadd Called-Station-MAC
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

2 years agotypo. Fixes #5023
Alan T. DeKok [Wed, 31 May 2023 13:21:24 +0000 (09:21 -0400)] 
typo.  Fixes #5023

2 years agoadd unconst
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

2 years agoonly track IDs for CoA tunnel listeners
Alan T. DeKok [Tue, 30 May 2023 19:39:19 +0000 (15:39 -0400)] 
only track IDs for CoA tunnel listeners

2 years agodon't build with CoA tunnel feature by default
Alan T. DeKok [Tue, 30 May 2023 19:37:49 +0000 (15:37 -0400)] 
don't build with CoA tunnel feature by default

2 years agodon't make the DH file. It's not needed for OpenSSL >=1.1.0
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

2 years agonew dictionary
Alan T. DeKok [Tue, 30 May 2023 19:23:52 +0000 (15:23 -0400)] 
new dictionary

2 years agomove code to check for listener
Alan T. DeKok [Tue, 30 May 2023 19:10:01 +0000 (15:10 -0400)] 
move code to check for listener

2 years agocheck outer TLV length against MTU
Alan T. DeKok [Tue, 30 May 2023 15:18:26 +0000 (11:18 -0400)] 
check outer TLV length against MTU

2 years agojust use hard-coded number
Alan T. DeKok [Tue, 30 May 2023 14:55:41 +0000 (10:55 -0400)] 
just use hard-coded number

2 years agoAPI changes and preparation for allowing outer TLVs
Alan T. DeKok [Tue, 30 May 2023 14:41:14 +0000 (10:41 -0400)] 
API changes and preparation for allowing outer TLVs

2 years agotypos
Alan T. DeKok [Tue, 30 May 2023 13:55:01 +0000 (09:55 -0400)] 
typos

2 years agoadd more EAP types
Alan T. DeKok [Tue, 30 May 2023 13:41:56 +0000 (09:41 -0400)] 
add more EAP types

2 years agoadd definitions for TEAP
Alan T. DeKok [Tue, 30 May 2023 13:34:04 +0000 (09:34 -0400)] 
add definitions for TEAP

2 years agoadd provision for outer TLVs
Alan T. DeKok [Tue, 30 May 2023 13:31:00 +0000 (09:31 -0400)] 
add provision for outer TLVs

2 years agoupdate for 3.2.4
Alan T. DeKok [Mon, 29 May 2023 13:25:34 +0000 (09:25 -0400)] 
update for 3.2.4

2 years agoadd check for FreeBSD
Alan T. DeKok [Sun, 28 May 2023 12:39:38 +0000 (08:39 -0400)] 
add check for FreeBSD

2 years agorelease 3.2.3 release_3_2_3
Matthew Newton [Fri, 26 May 2023 13:56:52 +0000 (14:56 +0100)] 
release 3.2.3

2 years agoCI: tidy comments to sync with 3.0
Matthew Newton [Fri, 26 May 2023 13:55:07 +0000 (14:55 +0100)] 
CI: tidy comments to sync with 3.0

2 years agocompile fixes
Alan T. DeKok [Thu, 25 May 2023 20:38:30 +0000 (16:38 -0400)] 
compile fixes

2 years agoupdates from the WBA
Alan T. DeKok [Thu, 25 May 2023 20:23:57 +0000 (16:23 -0400)] 
updates from the WBA

2 years agoupdates. Helps with #5016
Alan T. DeKok [Thu, 25 May 2023 20:24:05 +0000 (16:24 -0400)] 
updates.  Helps with #5016

2 years agocompile fixes
Alan T. DeKok [Thu, 25 May 2023 20:27:12 +0000 (16:27 -0400)] 
compile fixes

2 years agomove documentation to be in a common location
Alan T. DeKok [Thu, 25 May 2023 20:12:03 +0000 (16:12 -0400)] 
move documentation to be in a common location

2 years agono need to build or call mutex functions if they're not needed
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

2 years agoDebian sid no longer has python2 so we need to handle that
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

2 years agoSeparate out python2/3 packages for Debian systems
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.

2 years agomark rlm_cache_redis as stable
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.

2 years agobuild fix
Alan T. DeKok [Thu, 25 May 2023 13:55:47 +0000 (09:55 -0400)] 
build fix

2 years agoseparate out NAS-Port from NAS-Port-ID. Helps with #5010
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.

2 years agoLDAP_MAX_CACHEABLE only applies to names which need resolving to DNs
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

2 years agorequire TLS 1.3 for RADIUS 1.1
Alan T. DeKok [Sat, 20 May 2023 19:15:05 +0000 (15:15 -0400)] 
require TLS 1.3 for RADIUS 1.1

2 years agonote recent changes
Matthew Newton [Wed, 17 May 2023 09:10:24 +0000 (10:10 +0100)] 
note recent changes

2 years agoBreak in rest_request_encode_wrapper when at the end
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.

2 years agoreturn stats for TCP sockets, too. Fixes #4990
Alan T. DeKok [Tue, 16 May 2023 15:29:05 +0000 (11:29 -0400)] 
return stats for TCP sockets, too.  Fixes #4990

2 years agouse parent socket for TCP stats. Helps with #4990
Alan T. DeKok [Tue, 16 May 2023 15:27:09 +0000 (11:27 -0400)] 
use parent socket for TCP stats.  Helps with #4990

2 years agouse correct assert. Fixes #4995
Alan T. DeKok [Mon, 15 May 2023 19:08:12 +0000 (15:08 -0400)] 
use correct assert.  Fixes #4995

2 years agoClient Lost: Don't leak the fake request's initial state_ctx, which we replace (...
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)

2 years agoQuick hacks to allow multiple copies running on the same machine
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

2 years agocall afr_atomic_queue_free() instead of talloc_free. Fixes #4987
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

2 years agoforce packet type foo when running post-auth-type foo. Helps with #4980
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

2 years agoClear any old module instances before reloading
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.

2 years agoUpdate panic_action in radiusd.conf (#4986)
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

2 years agoUpdate panic_action in radiusd.conf (#4985)
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

2 years agoclean up error handling on connection failure.
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

2 years agoremove TLS_MUTEX macro as it's no longer needed
Alan T. DeKok [Sat, 29 Apr 2023 13:51:57 +0000 (09:51 -0400)] 
remove TLS_MUTEX macro as it's no longer needed

2 years agoCorrectly report the LDAP group a user was found in. Fixes #3084
Nick Porter [Thu, 4 May 2023 08:40:13 +0000 (09:40 +0100)] 
Correctly report the LDAP group a user was found in. Fixes #3084

2 years agoRemove unused parameter
Nick Porter [Mon, 1 May 2023 09:59:55 +0000 (10:59 +0100)] 
Remove unused parameter

2 years agoremove fr_event_fd_want_read() and want_write()
Alan T. DeKok [Sat, 29 Apr 2023 13:30:17 +0000 (09:30 -0400)] 
remove fr_event_fd_want_read() and want_write()

They are no longer needed

2 years agobuffer outbound proxy data if the socket is not yet connected
Alan T. DeKok [Sat, 29 Apr 2023 01:54:55 +0000 (21:54 -0400)] 
buffer outbound proxy data if the socket is not yet connected

and write it out when the socket is connected.

2 years agofixes for OSX
Alan T. DeKok [Sat, 29 Apr 2023 01:29:20 +0000 (21:29 -0400)] 
fixes for OSX

2 years agoSSL_READ and SSL_WRITE are "more negotiation needed"
Alan T. DeKok [Fri, 28 Apr 2023 21:28:45 +0000 (17:28 -0400)] 
SSL_READ and SSL_WRITE are "more negotiation needed"

2 years agoinclude <netinet/tcp.h> for TCP_NODELAY
Alan T. DeKok [Fri, 28 Apr 2023 18:38:50 +0000 (14:38 -0400)] 
include <netinet/tcp.h> for TCP_NODELAY

2 years agonote that realm names comparisons are case insensitive
Alan T. DeKok [Wed, 26 Apr 2023 17:29:24 +0000 (13:29 -0400)] 
note that realm names comparisons are case insensitive

2 years agoadd Error-Cause = Invalid EAP Packet (Ignored)
Alan T. DeKok [Wed, 26 Apr 2023 14:03:20 +0000 (10:03 -0400)] 
add Error-Cause = Invalid EAP Packet (Ignored)

when rejecting EAP packets in the pre-proxy stage

2 years agodon't decode Original-Packet-Code or Message-Authenticator
Alan T. DeKok [Wed, 26 Apr 2023 13:41:29 +0000 (09:41 -0400)] 
don't decode Original-Packet-Code or Message-Authenticator

If we really cared, we'd decode them as unknown attributes

2 years agonote recent changes
Alan T. DeKok [Mon, 24 Apr 2023 20:41:41 +0000 (16:41 -0400)] 
note recent changes

2 years agotypo
Alan T. DeKok [Mon, 24 Apr 2023 19:44:56 +0000 (15:44 -0400)] 
typo

2 years agoonly call OpenSSL functions if we're using OpenSSL
Alan T. DeKok [Mon, 24 Apr 2023 18:46:52 +0000 (14:46 -0400)] 
only call OpenSSL functions if we're using OpenSSL

2 years agoDebian 9 is EOL and no longer in repos
Nick Porter [Mon, 24 Apr 2023 13:13:52 +0000 (14:13 +0100)] 
Debian 9 is EOL and no longer in repos

2 years agoOnly set CRL_CHECK if option is set to yes
Nick Porter [Mon, 24 Apr 2023 08:52:32 +0000 (09:52 +0100)] 
Only set CRL_CHECK if option is set to yes

2 years agoReport which SSL library libldap is using.
Nick Porter [Mon, 24 Apr 2023 08:42:14 +0000 (09:42 +0100)] 
Report which SSL library libldap is using.

2 years agoset TCP_NODELAY. Hopefully helps with #3501
Alan T. DeKok [Fri, 21 Apr 2023 14:22:05 +0000 (10:22 -0400)] 
set TCP_NODELAY. Hopefully helps with #3501

2 years agoinclude header file
Alan T. DeKok [Thu, 20 Apr 2023 14:49:21 +0000 (10:49 -0400)] 
include header file

2 years agonote that we don't support "-=". Fixes #3475
Alan T. DeKok [Thu, 20 Apr 2023 14:20:00 +0000 (10:20 -0400)] 
note that we don't support "-=".  Fixes #3475

2 years agoadd "check_crl". Fixes #4917
Alan T. DeKok [Thu, 20 Apr 2023 14:13:59 +0000 (10:13 -0400)] 
add "check_crl".  Fixes #4917

2 years agodo not encode Message-Authenticator for RADIUS/1.1
Alan T. DeKok [Wed, 19 Apr 2023 00:57:55 +0000 (20:57 -0400)] 
do not encode Message-Authenticator for RADIUS/1.1

2 years agouse "radiusv1_1" for consistency with "disable_tlsv1_1", etc.
Alan T. DeKok [Tue, 18 Apr 2023 13:44:40 +0000 (09:44 -0400)] 
use "radiusv1_1" for consistency with "disable_tlsv1_1", etc.

2 years agoas found on the net.
Alan T. DeKok [Mon, 17 Apr 2023 13:10:45 +0000 (09:10 -0400)] 
as found on the net.

2 years agonote that the msg_version is the TLS version
Alan T. DeKok [Fri, 14 Apr 2023 14:42:37 +0000 (10:42 -0400)] 
note that the msg_version is the TLS version

and therefore print it as hex

2 years agouse correct debug message
Alan T. DeKok [Fri, 14 Apr 2023 14:37:43 +0000 (10:37 -0400)] 
use correct debug message

2 years agouse "radius_1_1" instead of "radiusv11"
Alan T. DeKok [Fri, 14 Apr 2023 14:11:16 +0000 (10:11 -0400)] 
use "radius_1_1" instead of "radiusv11"

2 years agoremove debugging
Alan T. DeKok [Fri, 14 Apr 2023 13:11:40 +0000 (09:11 -0400)] 
remove debugging

2 years agowhitespace
Alan T. DeKok [Fri, 14 Apr 2023 12:38:45 +0000 (08:38 -0400)] 
whitespace

2 years agoallocate and use 32-bit Token
Alan T. DeKok [Fri, 14 Apr 2023 12:34:01 +0000 (08:34 -0400)] 
allocate and use 32-bit Token

and minor cleanups for debugging, and use Token as ID

2 years agominor tweaks to RADIUSv11 flags and debug output
Alan T. DeKok [Fri, 14 Apr 2023 02:44:33 +0000 (22:44 -0400)] 
minor tweaks to RADIUSv11 flags and debug output

so that we set sock->radiusv11 in only one place, and we don't
print Message-Authenticator when proxying over RADIUSv11

2 years agoadd stub function for linking
Alan T. DeKok [Thu, 13 Apr 2023 15:00:22 +0000 (11:00 -0400)] 
add stub function for linking

2 years agoadd configure flag for RADIUSv11
Alan T. DeKok [Thu, 13 Apr 2023 14:51:31 +0000 (10:51 -0400)] 
add configure flag for RADIUSv11

2 years agomacros to help with RADIUSv11
Alan T. DeKok [Thu, 13 Apr 2023 14:46:58 +0000 (10:46 -0400)] 
macros to help with RADIUSv11

2 years agoremove "radius/1.0" as it's not needed
Alan T. DeKok [Thu, 13 Apr 2023 14:46:19 +0000 (10:46 -0400)] 
remove "radius/1.0" as it's not needed

2 years agoone more WANT_READ patch. Helps with #3501
Alan T. DeKok [Thu, 13 Apr 2023 12:26:53 +0000 (08:26 -0400)] 
one more WANT_READ patch.  Helps with #3501

2 years agotypo
Alan T. DeKok [Thu, 13 Apr 2023 12:26:45 +0000 (08:26 -0400)] 
typo

2 years agoset WANT_READ and WANT_WRITE. Helps with #3501
Alan T. DeKok [Thu, 13 Apr 2023 12:14:00 +0000 (08:14 -0400)] 
set WANT_READ and WANT_WRITE.  Helps with #3501

2 years agotypo
Alan T. DeKok [Wed, 12 Apr 2023 15:18:41 +0000 (11:18 -0400)] 
typo

2 years agoadd radiusv11 parsing for home servers
Alan T. DeKok [Wed, 12 Apr 2023 15:03:57 +0000 (11:03 -0400)] 
add radiusv11 parsing for home servers

2 years agoimplemnt ALPN checks and negotiation in listeners
Alan T. DeKok [Wed, 12 Apr 2023 15:02:17 +0000 (11:02 -0400)] 
implemnt ALPN checks and negotiation in listeners

2 years agoadd radiusv11 parsing for clients
Alan T. DeKok [Wed, 12 Apr 2023 14:54:19 +0000 (10:54 -0400)] 
add radiusv11 parsing for clients

2 years agoadd radiusv11 to tls{} section and parsing
Alan T. DeKok [Wed, 12 Apr 2023 14:52:04 +0000 (10:52 -0400)] 
add radiusv11 to tls{} section and parsing

2 years agoset up RADIUS packet encoder / decoder for RADIUSv11
Alan T. DeKok [Wed, 12 Apr 2023 14:50:42 +0000 (10:50 -0400)] 
set up RADIUS packet encoder / decoder for RADIUSv11

2 years agonote recent changes
Alan T. DeKok [Tue, 11 Apr 2023 12:46:36 +0000 (08:46 -0400)] 
note recent changes

2 years agorearrange so we wake up
Alan T. DeKok [Sun, 9 Apr 2023 16:02:32 +0000 (12:02 -0400)] 
rearrange so we wake up

2 years agoadd "want_read" and "want_write" callbacks.
Alan T. DeKok [Sun, 9 Apr 2023 15:22:40 +0000 (11:22 -0400)] 
add "want_read" and "want_write" callbacks.

2 years agonote recent changes
Alan T. DeKok [Fri, 7 Apr 2023 13:58:10 +0000 (09:58 -0400)] 
note recent changes

2 years agogive polite message about socket closing
Alan T. DeKok [Fri, 7 Apr 2023 13:50:01 +0000 (09:50 -0400)] 
give polite message about socket closing

2 years agofix ASAN issues. Fixes #4968
Alan T. DeKok [Fri, 7 Apr 2023 12:11:18 +0000 (08:11 -0400)] 
fix ASAN issues.  Fixes #4968

2 years agoci: Add ASAN/LSAN options (#4969)
Jorge Pereira [Fri, 7 Apr 2023 12:06:36 +0000 (09:06 -0300)] 
ci: Add ASAN/LSAN options (#4969)