]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
17 months agodocker: fixups for rocky8
Matthew Newton [Wed, 22 May 2024 19:01:39 +0000 (20:01 +0100)] 
docker: fixups for rocky8

17 months agodocker: add alpine template and debian sid
Matthew Newton [Thu, 2 May 2024 17:45:48 +0000 (18:45 +0100)] 
docker: add alpine template and debian sid

Add python3 to alpine in prep for newer images that don't have python2. For now
this is also still the newest alpine we can go before the couchbase module has
problems building.

17 months agodocker: get list of images from directory tree
Matthew Newton [Thu, 2 May 2024 17:48:43 +0000 (18:48 +0100)] 
docker: get list of images from directory tree

17 months agodocker: move dockerfiles into subdirectory
Matthew Newton [Thu, 2 May 2024 16:38:39 +0000 (17:38 +0100)] 
docker: move dockerfiles into subdirectory

easier to get an automatic list of dists we build for

17 months agodocker: bit more needed for ubuntu24
Matthew Newton [Thu, 2 May 2024 16:12:51 +0000 (17:12 +0100)] 
docker: bit more needed for ubuntu24

17 months agonote recent changes
Alan T. DeKok [Mon, 20 May 2024 17:40:19 +0000 (13:40 -0400)] 
note recent changes

17 months agodon't create too many random things
Alan T. DeKok [Mon, 20 May 2024 15:07:54 +0000 (11:07 -0400)] 
don't create too many random things

17 months agoEnsure yum is installed on Rocky 9
Nick Porter [Mon, 20 May 2024 08:30:42 +0000 (09:30 +0100)] 
Ensure yum is installed on Rocky 9

Once CentOS 7 goes EoL, we can switch to dnf

17 months agounify cleanup code
Alan T. DeKok [Sun, 19 May 2024 13:47:59 +0000 (09:47 -0400)] 
unify cleanup code

17 months agotypo. Fixes #5321
Alan T. DeKok [Sun, 19 May 2024 13:44:03 +0000 (09:44 -0400)] 
typo.  Fixes #5321

17 months agoadd missing " at end
Alan T. DeKok [Sat, 18 May 2024 23:25:13 +0000 (19:25 -0400)] 
add missing " at end

17 months agoallocate instance data even if the module doesn't need it
Alan T. DeKok [Sat, 18 May 2024 20:50:56 +0000 (16:50 -0400)] 
allocate instance data even if the module doesn't need it

which lets the rest of the distinguish virtual attributes from
typos in xlat functions

17 months agofix typo.
Alan T. DeKok [Sat, 18 May 2024 20:50:17 +0000 (16:50 -0400)] 
fix typo.

We loop until the content is non-space, not while the ptr is !NULL

17 months agoset default to quiet compiler
Alan T. DeKok [Wed, 15 May 2024 12:07:57 +0000 (08:07 -0400)] 
set default to quiet compiler

17 months agofix data types for CONF_PARSER
Alan T. DeKok [Wed, 15 May 2024 12:01:36 +0000 (08:01 -0400)] 
fix data types for CONF_PARSER

17 months agomake fr_ev_max_fds configurable
Alan T. DeKok [Wed, 15 May 2024 11:48:45 +0000 (07:48 -0400)] 
make fr_ev_max_fds configurable

but we're still limited by FD_SETSIZE, which is 1024 on most
systems.

17 months agomake maximum number of FDs configurable
Alan T. DeKok [Wed, 15 May 2024 11:37:17 +0000 (07:37 -0400)] 
make maximum number of FDs configurable

17 months agoadd ecdh_curve example configuration
Alan T. DeKok [Tue, 14 May 2024 15:50:45 +0000 (11:50 -0400)] 
add ecdh_curve example configuration

18 months agoAdd `lookforward_steps` option to `rlm_totp`
Nick Porter [Thu, 2 May 2024 10:56:04 +0000 (11:56 +0100)] 
Add `lookforward_steps` option to `rlm_totp`

18 months agoFormatting
Nick Porter [Thu, 2 May 2024 10:53:50 +0000 (11:53 +0100)] 
Formatting

18 months agobump github action/{upload,download}-artifact
Nick Porter [Tue, 30 Apr 2024 08:36:12 +0000 (09:36 +0100)] 
bump github action/{upload,download}-artifact

Except for ci-rpm where centos-7 is too old for node > 16

18 months agoAdd Ubuntu 24 to deb packaging tests
Nick Porter [Tue, 30 Apr 2024 07:49:33 +0000 (08:49 +0100)] 
Add Ubuntu 24 to deb packaging tests

18 months agoFailed authentications should return `reject` not `fail`
Nick Porter [Mon, 29 Apr 2024 17:16:30 +0000 (18:16 +0100)] 
Failed authentications should return `reject` not `fail`

18 months agoAdd Ubuntu 24 to crossbuild
Nick Porter [Mon, 29 Apr 2024 09:05:42 +0000 (10:05 +0100)] 
Add Ubuntu 24 to crossbuild

18 months agoTidy RHEL build
Nick Porter [Mon, 29 Apr 2024 09:02:31 +0000 (10:02 +0100)] 
Tidy RHEL build

Removing references to obsolete RHEL versions

18 months agoenable crossbuild github action
Matthew Newton [Tue, 23 Apr 2024 10:56:18 +0000 (11:56 +0100)] 
enable crossbuild github action

18 months agobump github action/{checkout,cache}
Matthew Newton [Tue, 23 Apr 2024 08:58:22 +0000 (09:58 +0100)] 
bump github action/{checkout,cache}

to get rid of github node 16 warnings, except on ci-rpm centos:7 which is too
old for node>16

18 months agocrossbuild: now need yubikey library for tests
Matthew Newton [Mon, 22 Apr 2024 15:49:27 +0000 (16:49 +0100)] 
crossbuild: now need yubikey library for tests

18 months agocrossbuild: bump antora version and other fixes
Matthew Newton [Thu, 14 Mar 2024 14:57:37 +0000 (14:57 +0000)] 
crossbuild: bump antora version and other fixes

- centos7 and ubuntu18 don't support node>16
- no longer explicitly install npm on debian12

18 months agoAll current platforms have MySQL >= 5.5
Nick Porter [Tue, 23 Apr 2024 08:06:16 +0000 (09:06 +0100)] 
All current platforms have MySQL >= 5.5

18 months agobuild on Solaris, too. Fixes #5313
Alan T. DeKok [Mon, 15 Apr 2024 15:42:39 +0000 (11:42 -0400)] 
build on Solaris, too.  Fixes #5313

18 months agonote recent changes
Alan T. DeKok [Fri, 12 Apr 2024 18:45:53 +0000 (14:45 -0400)] 
note recent changes

18 months agobetter handle re-enabling connection are TLS connection check
Alan T. DeKok [Fri, 12 Apr 2024 16:04:01 +0000 (12:04 -0400)] 
better handle re-enabling connection are TLS connection check

18 months agoadd / fix some debug messages
Alan T. DeKok [Fri, 12 Apr 2024 11:21:02 +0000 (07:21 -0400)] 
add / fix some debug messages

19 months agoTypo
Nick Porter [Mon, 1 Apr 2024 16:08:38 +0000 (17:08 +0100)] 
Typo

19 months agorlm_sql_freetds: handle returned NULL column values
Nick Porter [Mon, 1 Apr 2024 15:22:34 +0000 (16:22 +0100)] 
rlm_sql_freetds: handle returned NULL column values

These don't update the results buffer - so zero it out during allocation.

19 months agosql_map does not use the dialect option
Nick Porter [Mon, 1 Apr 2024 14:30:24 +0000 (15:30 +0100)] 
sql_map does not use the dialect option

19 months agobetter handle all actions. Fixes #5308
Alan T. DeKok [Wed, 13 Mar 2024 14:00:36 +0000 (10:00 -0400)] 
better handle all actions.  Fixes #5308

19 months agofix UNUSED for radius/1.1
Alan T. DeKok [Wed, 13 Mar 2024 14:00:24 +0000 (10:00 -0400)] 
fix UNUSED for radius/1.1

19 months agoCorrectly cast to print hex value of characters
Nick Porter [Tue, 27 Feb 2024 15:55:14 +0000 (15:55 +0000)] 
Correctly cast to print hex value of characters

19 months agoadd necessary backslash. Fixes #5301
Alan T. DeKok [Mon, 4 Mar 2024 21:02:15 +0000 (16:02 -0500)] 
add necessary backslash.  Fixes #5301

19 months agoset limit on AWS health checks. Closes #5300
Alan T. DeKok [Mon, 4 Mar 2024 11:27:36 +0000 (06:27 -0500)] 
set limit on AWS health checks.  Closes #5300

20 months agoCorrectly parent cache entry
Nick Porter [Thu, 22 Feb 2024 19:43:07 +0000 (19:43 +0000)] 
Correctly parent cache entry

20 months agouse snprintf
Alan T. DeKok [Sat, 17 Feb 2024 12:07:52 +0000 (07:07 -0500)] 
use snprintf

20 months agoadd "check for radiusv11" flag
Alan T. DeKok [Fri, 16 Feb 2024 13:42:35 +0000 (08:42 -0500)] 
add "check for radiusv11" flag

20 months agoset radiusv11 for replies, too
Alan T. DeKok [Fri, 16 Feb 2024 13:01:12 +0000 (08:01 -0500)] 
set radiusv11 for replies, too

20 months agoLess noisy debug
Nick Porter [Thu, 15 Feb 2024 16:43:29 +0000 (16:43 +0000)] 
Less noisy debug

20 months agoallow "ours" for inner tunnel proxied requests. Helps with #5288
Alan T. DeKok [Thu, 15 Feb 2024 14:47:36 +0000 (09:47 -0500)] 
allow "ours" for inner tunnel proxied requests.  Helps with #5288

20 months agoRemove Centos 8 from CI
Nick Porter [Wed, 14 Feb 2024 14:50:41 +0000 (14:50 +0000)] 
Remove Centos 8 from CI

Some repos appear to be going, Centos Stream 8 is nearly EoL, and tests
are being run on Rocky 8.

20 months agoSQLite doesn't have GREATEST - use MAX instead
Nick Porter [Wed, 14 Feb 2024 14:28:55 +0000 (14:28 +0000)] 
SQLite doesn't have GREATEST - use MAX instead

20 months agoas sent via email
Alan T. DeKok [Fri, 9 Feb 2024 14:10:35 +0000 (09:10 -0500)] 
as sent via email

20 months agoUbuntu 18.04 is EoL
Nick Porter [Tue, 6 Feb 2024 10:08:26 +0000 (10:08 +0000)] 
Ubuntu 18.04 is EoL

20 months agoRun relevant post-proxy Fail-* section on CoA/PoD timeout
Nick Porter [Tue, 6 Feb 2024 09:16:29 +0000 (09:16 +0000)] 
Run relevant post-proxy Fail-* section on CoA/PoD timeout

20 months agoMore helpful error message
Nick Porter [Mon, 5 Feb 2024 18:35:11 +0000 (18:35 +0000)] 
More helpful error message

20 months agoNo results is not an error
Nick Porter [Mon, 5 Feb 2024 18:34:30 +0000 (18:34 +0000)] 
No results is not an error

20 months agoImproved vscode settings
Nick Porter [Mon, 5 Feb 2024 15:57:10 +0000 (15:57 +0000)] 
Improved vscode settings

21 months agoinitialize entry
Alan T. DeKok [Thu, 1 Feb 2024 19:10:14 +0000 (14:10 -0500)] 
initialize entry

21 months agocleanups
Alan T. DeKok [Thu, 1 Feb 2024 18:56:10 +0000 (13:56 -0500)] 
cleanups

21 months agoset "ours" properly. Hopefully the last commit
Alan T. DeKok [Thu, 1 Feb 2024 17:20:50 +0000 (12:20 -0500)] 
set "ours" properly.  Hopefully the last commit

21 months agoset ours here, too
Alan T. DeKok [Thu, 1 Feb 2024 16:51:07 +0000 (11:51 -0500)] 
set ours here, too

21 months agoset "ours" if we create State
Alan T. DeKok [Thu, 1 Feb 2024 16:42:15 +0000 (11:42 -0500)] 
set "ours" if we create State

21 months agobetter differentiate State from different home servers
Alan T. DeKok [Thu, 1 Feb 2024 15:47:45 +0000 (10:47 -0500)] 
better differentiate State from different home servers

21 months agoonly mangle our entries
Alan T. DeKok [Thu, 1 Feb 2024 15:41:11 +0000 (10:41 -0500)] 
only mangle our entries

21 months agodistinguish our state from others
Alan T. DeKok [Thu, 1 Feb 2024 15:39:32 +0000 (10:39 -0500)] 
distinguish our state from others

21 months agomove state calculation to common function.
Alan T. DeKok [Thu, 1 Feb 2024 15:26:16 +0000 (10:26 -0500)] 
move state calculation to common function.

21 months agorevert "ensure that proxies don't mangle State". helps with #5288
Alan T. DeKok [Thu, 1 Feb 2024 14:33:17 +0000 (09:33 -0500)] 
revert "ensure that proxies don't mangle State".  helps with #5288

However, we still need a fix for the underlying issue of proxies
which are reported to mangle the State attribute

21 months agoNo need for begin / commit for independent UPDATE queries
Nick Porter [Thu, 1 Feb 2024 14:17:42 +0000 (14:17 +0000)] 
No need for begin / commit for independent UPDATE queries

Whilst Oracle had these set to "COMMIT", queries are actually run with
OCI_COMMIT_ON_SUCCESS so no need for a separate COMMIT

21 months agomight as well document this clearly after 25 years
Alan T. DeKok [Wed, 31 Jan 2024 13:07:18 +0000 (08:07 -0500)] 
might as well document this clearly after 25 years

21 months agoupdate docs
Alan T. DeKok [Mon, 29 Jan 2024 19:29:57 +0000 (14:29 -0500)] 
update docs

21 months agoUse correct sqlite syntax for id column
Nick Porter [Mon, 29 Jan 2024 16:39:55 +0000 (16:39 +0000)] 
Use correct sqlite syntax for id column

Causes id to refer to internal ROWID column

21 months agoUse the same encoding for binary data as strings
Arran Cudbard-Bell [Fri, 26 Jan 2024 19:51:56 +0000 (13:51 -0600)] 
Use the same encoding for binary data as strings

Closes #5285

21 months agosqlite3_prepare functions prepare only the next query in the string
Nick Porter [Thu, 18 Jan 2024 17:03:06 +0000 (17:03 +0000)] 
sqlite3_prepare functions prepare only the next query in the string

and return a pointer to the character after what was parsed - so this
provides a more robust method of parsing the SQL to execute than simply
looking for ';' followed by '\n' or '\0'.

E.g. if there are comments which end the line with a ';' that fails with
the old parsing.
In addition, if there were ';' in data inside a string, the previous
parsing would have thrown away the portion of the string before that.

21 months agoRemove un-used module option
Nick Porter [Fri, 19 Jan 2024 10:35:16 +0000 (10:35 +0000)] 
Remove un-used module option

21 months agomanual merge of #5208 with fixes
Alan T. DeKok [Thu, 18 Jan 2024 15:13:59 +0000 (10:13 -0500)] 
manual merge of #5208 with fixes

21 months agolowercase. Fixes #5267
Alan T. DeKok [Wed, 17 Jan 2024 02:19:24 +0000 (21:19 -0500)] 
lowercase.  Fixes #5267

21 months agonote recent changes
Alan T. DeKok [Mon, 15 Jan 2024 13:48:34 +0000 (08:48 -0500)] 
note recent changes

21 months agoadd "-t timeout" to radsniff
Alan T. DeKok [Mon, 15 Jan 2024 13:47:20 +0000 (08:47 -0500)] 
add "-t timeout" to radsniff

Manual port of e457e70d9f4e

21 months agoadditional documentation for mschap testing
Alan T. DeKok [Thu, 11 Jan 2024 12:04:56 +0000 (07:04 -0500)] 
additional documentation for mschap testing

21 months agoshut up static analysis
Alan T. DeKok [Thu, 11 Jan 2024 11:48:59 +0000 (06:48 -0500)] 
shut up static analysis

21 months agotypos
Alan T. DeKok [Thu, 11 Jan 2024 11:42:03 +0000 (06:42 -0500)] 
typos

21 months agoensure that proxies don't mangle State
Alan T. DeKok [Thu, 11 Jan 2024 11:39:40 +0000 (06:39 -0500)] 
ensure that proxies don't mangle State

21 months agoBackport yukikey module tests from v4
Nick Porter [Tue, 9 Jan 2024 10:56:47 +0000 (10:56 +0000)] 
Backport yukikey module tests from v4

21 months agoDefault yubikey module instance should register xlat
Nick Porter [Tue, 9 Jan 2024 10:56:13 +0000 (10:56 +0000)] 
Default yubikey module instance should register xlat

21 months agoCorrect modhextohex decoding
Nick Porter [Tue, 9 Jan 2024 10:55:46 +0000 (10:55 +0000)] 
Correct modhextohex decoding

21 months agoCorrect calculation of Yubikey-Counter
Nick Porter [Tue, 9 Jan 2024 10:55:04 +0000 (10:55 +0000)] 
Correct calculation of Yubikey-Counter

token.use is only 8 bit

21 months agoprint out NAK'd EAP type
Alan T. DeKok [Fri, 5 Jan 2024 21:23:16 +0000 (16:23 -0500)] 
print out NAK'd EAP type

21 months agoadded ckey dictionary
Alan T. DeKok [Fri, 5 Jan 2024 14:31:48 +0000 (09:31 -0500)] 
added ckey dictionary

21 months agoimprove exception handling. Helps with #5242
Alan T. DeKok [Thu, 7 Dec 2023 14:24:42 +0000 (09:24 -0500)] 
improve exception handling.  Helps with #5242

so that no python exceptions remain after the do_python_single call.
Otherwise the next request will immediately fail.

Patch from #5242, but separated out to keep commit history
a little clearer.

22 months agoAdd TP Link dictionary
Nick Porter [Fri, 29 Dec 2023 10:15:04 +0000 (10:15 +0000)] 
Add TP Link dictionary

22 months agoUse base32 perl library available on both Debian and RHEL
Nick Porter [Tue, 19 Dec 2023 09:26:00 +0000 (09:26 +0000)] 
Use base32 perl library available on both Debian and RHEL

22 months agoEnsure fakeroot is available for `make deb`
Nick Porter [Mon, 18 Dec 2023 20:50:36 +0000 (20:50 +0000)] 
Ensure fakeroot is available for `make deb`

22 months agoCorrect retrieval of client stats
Nick Porter [Mon, 18 Dec 2023 20:41:50 +0000 (20:41 +0000)] 
Correct retrieval of client stats

22 months agoAdd extra build directories to debian .gitignore
Nick Porter [Mon, 11 Dec 2023 15:15:41 +0000 (15:15 +0000)] 
Add extra build directories to debian .gitignore

22 months agoBuild unixODBC rather than iODBC - Debian packaging of iODBC is very old
Nick Porter [Mon, 11 Dec 2023 14:13:18 +0000 (14:13 +0000)] 
Build unixODBC rather than iODBC - Debian packaging of iODBC is very old

22 months agonote recent changes
Alan T. DeKok [Thu, 7 Dec 2023 11:54:51 +0000 (06:54 -0500)] 
note recent changes

22 months agoadd proxy_dedup_window
Alan T. DeKok [Thu, 7 Dec 2023 11:46:31 +0000 (06:46 -0500)] 
add proxy_dedup_window

which controls how the server drops aggressive retransmissions
from a misbehaving NAS

22 months agodon't delay proxied rejects from a real home server
Alan T. DeKok [Thu, 7 Dec 2023 11:45:29 +0000 (06:45 -0500)] 
don't delay proxied rejects from a real home server

23 months agomore notes on connection starvation
Alan T. DeKok [Wed, 29 Nov 2023 15:25:48 +0000 (10:25 -0500)] 
more notes on connection starvation

23 months agoOnly report EAP sessions as being expired if they really are
Nick Porter [Tue, 28 Nov 2023 13:08:08 +0000 (13:08 +0000)] 
Only report EAP sessions as being expired if they really are

23 months agonote recent changes
Alan T. DeKok [Mon, 27 Nov 2023 13:20:57 +0000 (08:20 -0500)] 
note recent changes