]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
19 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.

19 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

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

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

19 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

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

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

20 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

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

20 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

20 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

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

20 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

20 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.

20 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

20 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

20 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

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

20 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

20 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

20 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.

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

20 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

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

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

20 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

20 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

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

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

20 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

20 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

20 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

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

20 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.

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

21 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

21 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`

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

21 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

21 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

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

21 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

21 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

22 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

22 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

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

22 months agodocument dedup_key
Alan T. DeKok [Sun, 26 Nov 2023 20:10:38 +0000 (15:10 -0500)] 
document dedup_key

22 months agoAdd nonnull hint
Nick Porter [Fri, 24 Nov 2023 08:26:01 +0000 (08:26 +0000)] 
Add nonnull hint

22 months agotypo
Alan T. DeKok [Thu, 23 Nov 2023 17:41:21 +0000 (12:41 -0500)] 
typo

22 months agoadd dedup_key for badly behaving supplicants
Alan T. DeKok [Thu, 23 Nov 2023 16:36:29 +0000 (11:36 -0500)] 
add dedup_key for badly behaving supplicants

22 months agoallow for password longer than 128 characters
Alan T. DeKok [Sat, 18 Nov 2023 13:57:55 +0000 (08:57 -0500)] 
allow for password longer than 128 characters

and update aruba dictionary for encrypted attribute

22 months agoadd wrapper for pthread
Alan T. DeKok [Fri, 17 Nov 2023 00:07:22 +0000 (19:07 -0500)] 
add wrapper for pthread

22 months agoadd some dedup stuff
Alan T. DeKok [Thu, 16 Nov 2023 23:56:57 +0000 (18:56 -0500)] 
add some dedup stuff

22 months agomove dlist out to its own file
Alan T. DeKok [Thu, 16 Nov 2023 23:51:00 +0000 (18:51 -0500)] 
move dlist out to its own file

and correct head / tail misuse in dpsk code

22 months agoprint out the module instance name
Alan T. DeKok [Wed, 15 Nov 2023 13:13:05 +0000 (08:13 -0500)] 
print out the module instance name

22 months agoclarify message a bit
Alan T. DeKok [Tue, 14 Nov 2023 21:56:48 +0000 (16:56 -0500)] 
clarify message a bit

22 months agothis is for UDP home servers
Alan T. DeKok [Wed, 8 Nov 2023 12:28:59 +0000 (13:28 +0100)] 
this is for UDP home servers

22 months agoensure we have certs available for tests
Matthew Newton [Wed, 15 Nov 2023 13:37:41 +0000 (13:37 +0000)] 
ensure we have certs available for tests

22 months agorun more of the eap protocol tests
Matthew Newton [Wed, 15 Nov 2023 12:15:38 +0000 (12:15 +0000)] 
run more of the eap protocol tests

22 months agoadd env var to pass rpmbuild flags
Matthew Newton [Fri, 10 Nov 2023 00:32:37 +0000 (00:32 +0000)] 
add env var to pass rpmbuild flags

23 months agonote recent changes
Alan T. DeKok [Tue, 31 Oct 2023 22:02:15 +0000 (18:02 -0400)] 
note recent changes

23 months agoreply packets use request authenticator for Message-Authenticator
Alan T. DeKok [Tue, 31 Oct 2023 22:00:46 +0000 (18:00 -0400)] 
reply packets use request authenticator for Message-Authenticator

23 months agoprint packets as hex with -xxx
Alan T. DeKok [Tue, 31 Oct 2023 19:51:25 +0000 (15:51 -0400)] 
print packets as hex with -xxx

23 months agocheck for radiusv11 and MA / Original-Packet-Code
Alan T. DeKok [Tue, 31 Oct 2023 21:48:28 +0000 (17:48 -0400)] 
check for radiusv11 and MA / Original-Packet-Code

23 months agodocument KRB5_CLIENT_KTNAME
Alan T. DeKok [Sun, 29 Oct 2023 22:31:20 +0000 (18:31 -0400)] 
document KRB5_CLIENT_KTNAME

2 years agomore small fixes
Matthew Newton [Wed, 27 Sep 2023 12:54:02 +0000 (13:54 +0100)] 
more small fixes

2 years agouse space separator
Matthew Newton [Wed, 27 Sep 2023 09:01:26 +0000 (10:01 +0100)] 
use space separator

2 years agodon't leave radiusd running after "make test"
Matthew Newton [Tue, 26 Sep 2023 21:56:58 +0000 (22:56 +0100)] 
don't leave radiusd running after "make test"

2 years agoadd "time_since" xlat to rlm_date
Matthew Newton [Tue, 26 Sep 2023 13:31:43 +0000 (14:31 +0100)] 
add "time_since" xlat to rlm_date

Makes it much easier to calculate latencies in seconds,
milliseconds or microseconds, as well as getting time since
epoch in each of those bases as well.

2 years agomake it clearer
Alan T. DeKok [Thu, 21 Sep 2023 11:36:41 +0000 (07:36 -0400)] 
make it clearer

2 years agodocument notes about Azure AD
Alan T. DeKok [Thu, 21 Sep 2023 11:35:39 +0000 (07:35 -0400)] 
document notes about Azure AD

2 years agodup stdout / stderr if we can
Alan T. DeKok [Wed, 20 Sep 2023 17:54:01 +0000 (13:54 -0400)] 
dup stdout / stderr if we can

Otherwise fall back to open(/dev/foo)

2 years agoremove wrong comment
Alan T. DeKok [Fri, 15 Sep 2023 13:54:09 +0000 (09:54 -0400)] 
remove wrong comment

2 years agonote recent changes
Alan T. DeKok [Fri, 15 Sep 2023 12:02:41 +0000 (08:02 -0400)] 
note recent changes

2 years agoadd "dates_as_integer" configuration
Alan T. DeKok [Fri, 15 Sep 2023 12:00:14 +0000 (08:00 -0400)] 
add "dates_as_integer" configuration

2 years agocatch bad times.
Alan T. DeKok [Fri, 15 Sep 2023 11:36:02 +0000 (07:36 -0400)] 
catch bad times.

if packet timestamp > now, don't update Acct-Delay-Time

2 years agounescape things we need to unescape
Alan T. DeKok [Wed, 13 Sep 2023 17:40:04 +0000 (13:40 -0400)] 
unescape things we need to unescape

2 years agonote recent changes
Alan T. DeKok [Thu, 7 Sep 2023 15:32:41 +0000 (11:32 -0400)] 
note recent changes

2 years agoadd radsecret program
Alan T. DeKok [Thu, 7 Sep 2023 15:23:17 +0000 (11:23 -0400)] 
add radsecret program

and document it

2 years agoBuild with winbind on all RHEL >= 7
Nick Porter [Thu, 31 Aug 2023 10:51:37 +0000 (11:51 +0100)] 
Build with winbind on all RHEL >= 7

2 years agoBackport Aruba dictionary from v4 (#5164)
Jorge Pereira [Tue, 29 Aug 2023 15:07:20 +0000 (12:07 -0300)] 
Backport Aruba dictionary from v4 (#5164)

2 years agoempty initializer means all zeros
Alan T. DeKok [Tue, 29 Aug 2023 12:14:50 +0000 (08:14 -0400)] 
empty initializer means all zeros

2 years agouse new API
Alan T. DeKok [Fri, 25 Aug 2023 22:18:04 +0000 (18:18 -0400)] 
use new API

2 years agoacquire lock for python 2, also
Alan T. DeKok [Fri, 25 Aug 2023 22:02:18 +0000 (18:02 -0400)] 
acquire lock for python 2, also

2 years agoacquire lock. Helps with #5111
Alan T. DeKok [Fri, 25 Aug 2023 21:59:59 +0000 (17:59 -0400)] 
acquire lock.  Helps with #5111

2 years agoinitialize local variables. May help with #5111
Alan T. DeKok [Fri, 25 Aug 2023 19:34:04 +0000 (15:34 -0400)] 
initialize local variables.  May help with #5111

main_interprerter is checked, but there are code paths by which
the variable is used without being initialized.

2 years agofix query for interim update, to subtract session time.
Alan T. DeKok [Fri, 18 Aug 2023 14:55:32 +0000 (10:55 -0400)] 
fix query for interim update, to subtract session time.

This now matches MySQL and sqlite.  MSSQL and Oracle still need
fixing, but I'm less sure how to do that. :(

2 years agoFix attributes (#5151)
Jorge Pereira [Mon, 21 Aug 2023 07:11:53 +0000 (04:11 -0300)] 
Fix attributes (#5151)

The nested attributes are not present in v3.x

2 years agoword smithing
Alan T. DeKok [Thu, 17 Aug 2023 16:58:19 +0000 (12:58 -0400)] 
word smithing

2 years agofix example unlang
Matthew Newton [Thu, 17 Aug 2023 16:26:18 +0000 (17:26 +0100)] 
fix example unlang

2 years agoclean up ALPN negotiation
Alan T. DeKok [Thu, 17 Aug 2023 14:14:26 +0000 (10:14 -0400)] 
clean up ALPN negotiation

2 years agofix typos
Alan T. DeKok [Thu, 17 Aug 2023 14:13:57 +0000 (10:13 -0400)] 
fix typos

2 years agofix warning messages
Alan T. DeKok [Thu, 17 Aug 2023 14:10:44 +0000 (10:10 -0400)] 
fix warning messages

2 years agonote recent changes
Alan T. DeKok [Wed, 16 Aug 2023 13:32:34 +0000 (09:32 -0400)] 
note recent changes