]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
3 years agoTrack TLS sockets in the home server.
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.

3 years agoonly used by TLS code for now
Alan T. DeKok [Wed, 19 Oct 2022 15:07:33 +0000 (11:07 -0400)] 
only used by TLS code for now

3 years agoupdates
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

3 years agofreeze / thaw proxy sockets when they're blocked
Alan T. DeKok [Tue, 18 Oct 2022 17:24:46 +0000 (13:24 -0400)] 
freeze / thaw proxy sockets when they're blocked

3 years agoadd socket freeze / thaw callbacks
Alan T. DeKok [Tue, 18 Oct 2022 17:24:17 +0000 (13:24 -0400)] 
add socket freeze / thaw callbacks

for proxy sockets.  Which is mostly thread-safe...

3 years agoadd callback for kqueue write handler
Alan T. DeKok [Tue, 18 Oct 2022 17:19:47 +0000 (13:19 -0400)] 
add callback for kqueue write handler

3 years agoFallback to uname -n on missing hostname. Fixes #4771
Alan T. DeKok [Tue, 18 Oct 2022 17:11:48 +0000 (13:11 -0400)] 
Fallback to uname -n on missing hostname.  Fixes #4771

3 years agoremove unused
Alan T. DeKok [Mon, 17 Oct 2022 12:20:35 +0000 (08:20 -0400)] 
remove unused

3 years agotypo
Alan T. DeKok [Sun, 16 Oct 2022 20:02:56 +0000 (16:02 -0400)] 
typo

3 years agocache read_fds instead of recalculating it
Alan T. DeKok [Sun, 16 Oct 2022 19:48:44 +0000 (15:48 -0400)] 
cache read_fds instead of recalculating it

3 years agoCI: clean up home directory before run
Matthew Newton [Sun, 16 Oct 2022 18:12:15 +0000 (19:12 +0100)] 
CI: clean up home directory before run

3 years agoallow setting of "nonblock" for TLS connections
Alan T. DeKok [Sun, 16 Oct 2022 13:23:39 +0000 (09:23 -0400)] 
allow setting of "nonblock" for TLS connections

3 years agowrite all of the TLS data as one big blob
Alan T. DeKok [Sun, 16 Oct 2022 13:12:06 +0000 (09:12 -0400)] 
write all of the TLS data as one big blob

3 years agowrite to the socket if there's data to write
Alan T. DeKok [Sun, 16 Oct 2022 12:55:13 +0000 (08:55 -0400)] 
write to the socket if there's data to write

3 years agouse common function instead of duplicating packets
Alan T. DeKok [Sun, 16 Oct 2022 12:44:24 +0000 (08:44 -0400)] 
use common function instead of duplicating packets

3 years agoExport thread details in statistics (#4770)
Terry Burton [Sat, 15 Oct 2022 11:56:11 +0000 (12:56 +0100)] 
Export thread details in statistics (#4770)

Export thread details in statistics

    radmin> stats threads
    threads_active 2
    threads_total 5
    threads_max 32

3 years agoallow User-Name and CUI in post-proxy filtering
Alan T. DeKok [Wed, 12 Oct 2022 13:05:52 +0000 (09:05 -0400)] 
allow User-Name and CUI in post-proxy filtering

which is also needed for roaming environments

3 years agoallow Operator-Name and Called-Station-Id
Alan T. DeKok [Wed, 12 Oct 2022 13:02:59 +0000 (09:02 -0400)] 
allow Operator-Name and Called-Station-Id

which are needed for various roaming scenarios

3 years agoImprove queries for processing radacct into periodic usage data
Nick Porter [Wed, 12 Oct 2022 10:37:17 +0000 (11:37 +0100)] 
Improve queries for processing radacct into periodic usage data

Removing `OR` from the query allows better index usage

3 years agoTypo
Nick Porter [Wed, 12 Oct 2022 10:32:55 +0000 (11:32 +0100)] 
Typo

3 years agoupdate docs to be in line with functionality
Alan T. DeKok [Tue, 11 Oct 2022 22:57:04 +0000 (18:57 -0400)] 
update docs to be in line with functionality

3 years agowhitespace
Alan T. DeKok [Tue, 11 Oct 2022 18:43:59 +0000 (14:43 -0400)] 
whitespace

3 years agoas found on the net
Alan T. DeKok [Tue, 11 Oct 2022 16:58:56 +0000 (12:58 -0400)] 
as found on the net

3 years agocorrect to opaque octets
Alan T. DeKok [Tue, 11 Oct 2022 16:57:26 +0000 (12:57 -0400)] 
correct to opaque octets

3 years agoeapol_test: Add paths for Brew on OSX/M1 (#4754)
Jorge Pereira [Thu, 6 Oct 2022 14:30:12 +0000 (11:30 -0300)] 
eapol_test: Add paths for Brew on OSX/M1 (#4754)

3 years agobetter late than never
Matthew Newton [Thu, 6 Oct 2022 08:48:07 +0000 (09:48 +0100)] 
better late than never

3 years agorediswho: Fix typo (#4755)
Jorge Pereira [Wed, 5 Oct 2022 17:51:41 +0000 (14:51 -0300)] 
rediswho: Fix typo (#4755)

3 years agoalso need FR_INIT_MODULE from v4
Matthew Newton [Tue, 4 Oct 2022 20:00:54 +0000 (21:00 +0100)] 
also need FR_INIT_MODULE from v4

3 years agorefresh configure scripts
Matthew Newton [Tue, 4 Oct 2022 14:38:08 +0000 (15:38 +0100)] 
refresh configure scripts

3 years agobackport module configure report changes from v4
Matthew Newton [Tue, 4 Oct 2022 14:45:14 +0000 (15:45 +0100)] 
backport module configure report changes from v4

3 years agorun autoupdate on configure.ac
Matthew Newton [Tue, 4 Oct 2022 14:41:39 +0000 (15:41 +0100)] 
run autoupdate on configure.ac

3 years agoBump for 3.2.2
Matthew Newton [Mon, 3 Oct 2022 22:39:06 +0000 (23:39 +0100)] 
Bump for 3.2.2

3 years agorelease 3.2.1 release_3_2_1
Matthew Newton [Mon, 3 Oct 2022 21:51:59 +0000 (22:51 +0100)] 
release 3.2.1

3 years agoupdate warnings.txt grep
Matthew Newton [Mon, 3 Oct 2022 21:40:44 +0000 (22:40 +0100)] 
update warnings.txt grep

3 years agovar to override extra dpkg-buildpackage options
Matthew Newton [Mon, 3 Oct 2022 18:06:52 +0000 (19:06 +0100)] 
var to override extra dpkg-buildpackage options

3 years agoupdate changelog
Matthew Newton [Wed, 28 Sep 2022 23:15:30 +0000 (00:15 +0100)] 
update changelog

note #4441 fixed

3 years agorefresh configure scripts
Matthew Newton [Wed, 28 Sep 2022 16:55:26 +0000 (17:55 +0100)] 
refresh configure scripts

3 years agobump minimum autoconf version
Matthew Newton [Wed, 28 Sep 2022 21:03:50 +0000 (22:03 +0100)] 
bump minimum autoconf version

3 years agoensure make knows when autoconf files have been built
Matthew Newton [Wed, 28 Sep 2022 19:44:10 +0000 (20:44 +0100)] 
ensure make knows when autoconf files have been built

autoconf and friends don't regenerate files by default if the
contents don't change. We need it to, so that Make knows not to
try and run the rule again on next invocation.

3 years agoup-to-date python configure macro
Matthew Newton [Wed, 28 Sep 2022 16:47:05 +0000 (17:47 +0100)] 
up-to-date python configure macro

3 years agoadd documentation on autotools use
Matthew Newton [Wed, 28 Sep 2022 14:24:27 +0000 (15:24 +0100)] 
add documentation on autotools use

3 years agoadd FR_INIT_MODULE for some standardizing of module configure scripts
Matthew Newton [Tue, 27 Sep 2022 16:18:11 +0000 (17:18 +0100)] 
add FR_INIT_MODULE for some standardizing of module configure scripts

for now, set the modname and show the --with help

3 years agosplit acinclude.m4 in to separate files
Matthew Newton [Tue, 27 Sep 2022 20:38:03 +0000 (21:38 +0100)] 
split acinclude.m4 in to separate files

as recommended by autoconf manual, and it's just cleaner

3 years agoas far as I can tell, this hack is unnecessary now
Matthew Newton [Wed, 28 Sep 2022 22:01:25 +0000 (23:01 +0100)] 
as far as I can tell, this hack is unnecessary now

3 years agomodule reconfig should watch toplevel m4 macros
Matthew Newton [Tue, 27 Sep 2022 19:23:35 +0000 (20:23 +0100)] 
module reconfig should watch toplevel m4 macros

3 years agoremove m4_include from configure.ac files
Matthew Newton [Tue, 27 Sep 2022 17:33:37 +0000 (18:33 +0100)] 
remove m4_include from configure.ac files

No longer needed as aclocal detects these automatically

3 years agorun aclocal on make reconfig
Matthew Newton [Tue, 27 Sep 2022 15:35:40 +0000 (16:35 +0100)] 
run aclocal on make reconfig

aclocal will automatically pull in extra macros from the system
macro dir if not defined locally, and put everything in aclocal.m4

We do it for all modules as well, so autoconf no longer needs a
search path for macros.

aclocal crashes out if the include dir doesn't exist, but we are moving
all macros into the top-level m4/ directory, so just stop looking in a
local per-module m4/ directory.

Also remove the top-level aclocal.m4, because we will now
regenerate it when needed.

3 years agoall m4 macros can go in the toplevel m4 directory
Matthew Newton [Tue, 27 Sep 2022 21:07:43 +0000 (22:07 +0100)] 
all m4 macros can go in the toplevel m4 directory

3 years agocleanup broken tidy in commit 2e4dbff8f321
Matthew Newton [Wed, 28 Sep 2022 09:17:04 +0000 (10:17 +0100)] 
cleanup broken tidy in commit 2e4dbff8f321

3 years agoadd connect_timeout to home server tls section. Helps with #3501
Alan T. DeKok [Tue, 27 Sep 2022 15:59:07 +0000 (11:59 -0400)] 
add connect_timeout to home server tls section.  Helps with #3501

3 years agoclean up and unify try_connect() function
Alan T. DeKok [Tue, 27 Sep 2022 14:40:32 +0000 (10:40 -0400)] 
clean up and unify try_connect() function

so that all of the TLS logic is there, instead of scattered
in multiple places.

3 years agorefresh.
Alan T. DeKok [Mon, 26 Sep 2022 21:53:08 +0000 (17:53 -0400)] 
refresh.

3 years agoenable parallel builds for debian
Alexander Clouter [Mon, 29 Aug 2022 12:28:36 +0000 (13:28 +0100)] 
enable parallel builds for debian

3 years agoadd docker latest-3.2 tag
Matthew Newton [Tue, 20 Sep 2022 19:29:13 +0000 (20:29 +0100)] 
add docker latest-3.2 tag

3 years agoNokia SR dict: Cleanup and freshen against July 2022 reference (#4730)
Terry Burton [Mon, 19 Sep 2022 15:42:56 +0000 (16:42 +0100)] 
Nokia SR dict: Cleanup and freshen against July 2022 reference (#4730)

3 years agoallow cache in authenticate
Alan T. DeKok [Tue, 13 Sep 2022 18:57:35 +0000 (14:57 -0400)] 
allow cache in authenticate

3 years agoAdd notes about setting default_days when building certificates
Nick Porter [Thu, 8 Sep 2022 12:32:33 +0000 (13:32 +0100)] 
Add notes about setting default_days when building certificates

3 years agoRun Ubuntu 18.04 on older image due to packaging issue
Nick Porter [Mon, 5 Sep 2022 13:27:35 +0000 (14:27 +0100)] 
Run Ubuntu 18.04 on older image due to packaging issue

Broken in September 2022 update

3 years agoAlign eapol_test build on rpm CI with deb CI
Nick Porter [Mon, 5 Sep 2022 09:45:50 +0000 (10:45 +0100)] 
Align eapol_test build on rpm CI with deb CI

3 years agoAdd Rocky Linux 9 to CI builds
Nick Porter [Fri, 2 Sep 2022 19:09:38 +0000 (20:09 +0100)] 
Add Rocky Linux 9 to CI builds

3 years agoRHEL >= 9 builds libldap against OpenSSL
Nick Porter [Fri, 2 Sep 2022 19:37:16 +0000 (20:37 +0100)] 
RHEL >= 9 builds libldap against OpenSSL

3 years agoDon't set permissions on symlinks
Nick Porter [Fri, 2 Sep 2022 19:13:47 +0000 (20:13 +0100)] 
Don't set permissions on symlinks

3 years agoAdapt rpm .spec file for changes in python between RHEL versions
Nick Porter [Fri, 2 Sep 2022 19:13:11 +0000 (20:13 +0100)] 
Adapt rpm .spec file for changes in python between RHEL versions

RHEL 8 can have Python 2 or 3.
RHEL 9 only has Python 3

3 years agoCheck version of python found.
Nick Porter [Fri, 2 Sep 2022 19:11:40 +0000 (20:11 +0100)] 
Check version of python found.

The RHEL 9 family has `python` for Python 3

3 years agoMove CI to run on Ubuntu 20.04
Nick Porter [Mon, 5 Sep 2022 09:44:32 +0000 (10:44 +0100)] 
Move CI to run on Ubuntu 20.04

3 years agoCorrect lower bounds check on allocate_clear_timeout
Nick Porter [Tue, 30 Aug 2022 12:55:37 +0000 (13:55 +0100)] 
Correct lower bounds check on allocate_clear_timeout

3 years agomove use to after initialization
Alan T. DeKok [Mon, 29 Aug 2022 20:56:23 +0000 (16:56 -0400)] 
move use to after initialization

3 years agonote recent changes
Alan T. DeKok [Mon, 29 Aug 2022 19:47:29 +0000 (15:47 -0400)] 
note recent changes

3 years agotypo
Alan T. DeKok [Mon, 29 Aug 2022 19:40:43 +0000 (15:40 -0400)] 
typo

3 years agoattempt to fix certificate attributes for outbound. #4698
Alan T. DeKok [Mon, 29 Aug 2022 02:38:19 +0000 (22:38 -0400)] 
attempt to fix certificate attributes for outbound.  #4698

3 years agoas sent via email
Alan T. DeKok [Sun, 28 Aug 2022 14:37:13 +0000 (10:37 -0400)] 
as sent via email

3 years agoOn RHEL >= 8 MySQL client libraries are in mysql-libs
Nick Porter [Thu, 25 Aug 2022 09:26:06 +0000 (10:26 +0100)] 
On RHEL >= 8 MySQL client libraries are in mysql-libs

3 years agoallow setting of application_name
Alan T. DeKok [Tue, 23 Aug 2022 03:10:12 +0000 (23:10 -0400)] 
allow setting of application_name

3 years agoensure that we run the correct post-auth section
Alan T. DeKok [Mon, 15 Aug 2022 20:06:56 +0000 (16:06 -0400)] 
ensure that we run the correct post-auth section

3 years agoEnable resolvconf and hosts setting for rlm_unbound
Nick Porter [Mon, 15 Aug 2022 15:47:49 +0000 (16:47 +0100)] 
Enable resolvconf and hosts setting for rlm_unbound

3 years agomove script and update docs
Alan T. DeKok [Tue, 9 Aug 2022 12:09:43 +0000 (08:09 -0400)] 
move script and update docs

3 years agoUse default-libmysqlclient-dev first - will align with OS defaults
Nick Porter [Tue, 9 Aug 2022 09:50:40 +0000 (10:50 +0100)] 
Use default-libmysqlclient-dev first - will align with OS defaults

3 years agomerge scripts with rewrites and documentation. Helps with #4542
Alan T. DeKok [Mon, 8 Aug 2022 22:54:12 +0000 (18:54 -0400)] 
merge scripts with rewrites and documentation.  Helps with #4542

3 years agoadd sample tls.conf for dynamic home servers using radsec
Alan T. DeKok [Mon, 8 Aug 2022 22:52:48 +0000 (18:52 -0400)] 
add sample tls.conf for dynamic home servers using radsec

as this configuration is site-local, it is in the configuration
directory, with comments and documentation.

3 years agoUse gcc 10 on Debian sid for building eapol_test
Nick Porter [Thu, 4 Aug 2022 14:01:42 +0000 (15:01 +0100)] 
Use gcc 10 on Debian sid for building eapol_test

3 years agoAlign v3.2 deb tests with master
Nick Porter [Thu, 4 Aug 2022 13:01:14 +0000 (14:01 +0100)] 
Align v3.2 deb tests with master

3 years agoUbuntu 16.04 is eol and 22.04 is current
Nick Porter [Thu, 4 Aug 2022 12:58:51 +0000 (13:58 +0100)] 
Ubuntu 16.04 is eol and 22.04 is current

3 years agonote recent changes
Alan T. DeKok [Thu, 4 Aug 2022 13:32:58 +0000 (09:32 -0400)] 
note recent changes

3 years agoas a special case for /dev/foo, set oflag from permissions
Alan T. DeKok [Thu, 4 Aug 2022 13:30:41 +0000 (09:30 -0400)] 
as a special case for /dev/foo, set oflag from permissions

u+w == O_WRONLY
u+r == O_RDONLY
u+rw == O_RDWR
* == O_RDWR

3 years agoAdd tests for rlm_unbound
Nick Porter [Wed, 3 Aug 2022 10:03:26 +0000 (11:03 +0100)] 
Add tests for rlm_unbound

3 years agoAdd an event list which can be used in unit tests
Nick Porter [Wed, 3 Aug 2022 09:32:39 +0000 (10:32 +0100)] 
Add an event list which can be used in unit tests

3 years agoUnbound marks arguments as const since 2013 - clean up code
Nick Porter [Wed, 3 Aug 2022 09:29:33 +0000 (10:29 +0100)] 
Unbound marks arguments as const since 2013 - clean up code

3 years agoDifferentiate runner based on repository owner
Nick Porter [Fri, 29 Apr 2022 10:07:23 +0000 (11:07 +0100)] 
Differentiate runner based on repository owner

Allows repo clones to use GitHub runners

3 years agodocument why this directory is here.
Alan T. DeKok [Wed, 3 Aug 2022 15:10:56 +0000 (11:10 -0400)] 
document why this directory is here.

3 years agodocument that arbitrary NAPTR tags can be used for discovery
Stefan Winter [Tue, 31 May 2022 07:51:07 +0000 (09:51 +0200)] 
document that arbitrary NAPTR tags can be used for discovery

3 years agonotes on how it works
Alan T. DeKok [Wed, 3 Aug 2022 15:04:28 +0000 (11:04 -0400)] 
notes on how it works

3 years agowrap around the radsecproxy script to generate FreeRADIUS dynamic_home_server syntax
Stefan Winter [Tue, 31 May 2022 07:23:03 +0000 (09:23 +0200)] 
wrap around the radsecproxy script to generate FreeRADIUS dynamic_home_server syntax

allow NAPTR tag to transpire to underlying script

3 years agoadd second optional parameter for arbitrary NAPTR tags like aaa+auth:radius.tls.tcp...
Stefan Winter [Tue, 31 May 2022 07:46:54 +0000 (09:46 +0200)] 
add second optional parameter for arbitrary NAPTR tags like aaa+auth:radius.tls.tcp (RFC7583 compliance, and used in OpenRoaming)

3 years agothis is the original script taken from radsecproxy/radsecproxy master
Stefan Winter [Tue, 31 May 2022 07:12:46 +0000 (09:12 +0200)] 
this is the original script taken from radsecproxy/radsecproxy master

3 years agouse a less generic local attribute
Stefan Winter [Tue, 31 May 2022 07:10:52 +0000 (09:10 +0200)] 
use a less generic local attribute

3 years agoword smithing
Alan T. DeKok [Wed, 3 Aug 2022 14:55:22 +0000 (10:55 -0400)] 
word smithing

3 years agoUpdate dynamic_home_servers.md
Stefan Winter [Tue, 31 May 2022 07:05:25 +0000 (09:05 +0200)] 
Update dynamic_home_servers.md

3 years agoIntroduce sigalgs_list option
Boris Lytochkin [Wed, 3 Aug 2022 13:39:09 +0000 (09:39 -0400)] 
Introduce sigalgs_list option

Which controls signature algorithms used for
TLS negotiation. Available for OpenSSL 1.1.1+.

This allows to work-around broken TPMs with PSS algorithm broken in a weird way.

See also: https://lists.freeradius.org/pipermail/freeradius-users/2021-January/099364.html

3 years agoback-port fixes from master. Fixes #4609
Alan T. DeKok [Fri, 22 Jul 2022 16:14:03 +0000 (12:14 -0400)] 
back-port fixes from master.  Fixes #4609

3 years agoupdate copyright date
Alan T. DeKok [Thu, 21 Jul 2022 11:51:34 +0000 (07:51 -0400)] 
update copyright date