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

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

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

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

23 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

23 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

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

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

23 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

23 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

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

23 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

23 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

23 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

23 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

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

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

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

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

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

2 years agohelps to have example config, too
Alan T. DeKok [Wed, 16 Aug 2023 13:06:20 +0000 (09:06 -0400)] 
helps to have example config, too

2 years agoif there's no "server foo", then use "server default"
Alan T. DeKok [Wed, 16 Aug 2023 13:01:36 +0000 (09:01 -0400)] 
if there's no "server foo", then use "server default"

2 years agoAdd config variables for lookback code, and make TIME_STEP and OTP sixe configurable.
Margaret Cullen [Tue, 15 Aug 2023 19:03:47 +0000 (15:03 -0400)] 
Add config variables for lookback code, and make TIME_STEP and OTP sixe configurable.

Signed-off-by: Margaret Cullen <margaret@painless-security.com>
2 years agoAdd lookback capability to address transit delay
Margaret Cullen [Fri, 11 Aug 2023 22:47:58 +0000 (18:47 -0400)] 
Add lookback capability to address transit delay

Signed-off-by: Margaret Cullen <margaret@painless-security.com>
2 years agoIgnore eap teap's all.mk file (#5128)
Jorge Pereira [Tue, 15 Aug 2023 22:50:06 +0000 (19:50 -0300)] 
Ignore eap teap's all.mk file (#5128)

2 years agoRevert "remove "radius/1.0" as it's not needed"
Alan T. DeKok [Mon, 14 Aug 2023 19:01:54 +0000 (15:01 -0400)] 
Revert "remove "radius/1.0" as it's not needed"

This reverts commit 063246067e5c9c5d58992c1a0f723fdb0094107d.

2 years agochange format for tests
Alan T. DeKok [Fri, 11 Aug 2023 12:26:23 +0000 (08:26 -0400)] 
change format for tests

2 years agoformat update
Alan T. DeKok [Fri, 11 Aug 2023 12:20:34 +0000 (08:20 -0400)] 
format update

2 years agoupdate the year
Alan T. DeKok [Thu, 10 Aug 2023 12:47:48 +0000 (08:47 -0400)] 
update the year

2 years agoAdd 'if not exists' to mysql create table queries. ref #5032 (#5137)
Jorge Pereira [Wed, 9 Aug 2023 23:08:45 +0000 (20:08 -0300)] 
Add 'if not exists' to mysql create table queries. ref #5032 (#5137)

2 years agoset VERIFY_PEER which helps with PSK and TLS 1.3
Alan T. DeKok [Wed, 9 Aug 2023 12:50:42 +0000 (08:50 -0400)] 
set VERIFY_PEER which helps with PSK and TLS 1.3

2 years agoremove warning about TLS 1.3
Alan T. DeKok [Wed, 9 Aug 2023 12:47:45 +0000 (08:47 -0400)] 
remove warning about TLS 1.3

2 years agopermit sending CoA after proxying to an internal virtual server
Matthew Newton [Tue, 8 Aug 2023 22:15:40 +0000 (23:15 +0100)] 
permit sending CoA after proxying to an internal virtual server

2 years agodon't leave dangling pointer to a cancelled coa request
Matthew Newton [Tue, 8 Aug 2023 18:43:50 +0000 (19:43 +0100)] 
don't leave dangling pointer to a cancelled coa request

2 years agoAdd Ruckus attributes from Cloudpath config
Nick Porter [Tue, 8 Aug 2023 14:24:06 +0000 (15:24 +0100)] 
Add Ruckus attributes from Cloudpath config

2 years agoadd client configuration for PSK
Alan T. DeKok [Tue, 8 Aug 2023 12:20:46 +0000 (08:20 -0400)] 
add client configuration for PSK

2 years agoon cache full, evict entries by expiry time
Alan T. DeKok [Mon, 7 Aug 2023 15:58:01 +0000 (11:58 -0400)] 
on cache full, evict entries by expiry time

which allows systems to keep updating the CSV file, without
worrying about the cache getting full

2 years agoadd define for illumos. Fixes #5135
Alan T. DeKok [Sun, 6 Aug 2023 12:35:57 +0000 (08:35 -0400)] 
add define for illumos.  Fixes #5135

2 years agoprefer PSK from DB, and ignore the cache if so
Alan T. DeKok [Sat, 5 Aug 2023 12:22:06 +0000 (08:22 -0400)] 
prefer PSK from DB, and ignore the cache if so

2 years agominor build fixes
Alan T. DeKok [Sat, 5 Aug 2023 12:20:26 +0000 (08:20 -0400)] 
minor build fixes

2 years agonotes on efficiency
Alan T. DeKok [Thu, 3 Aug 2023 19:28:27 +0000 (15:28 -0400)] 
notes on efficiency

2 years agodocs: add pages about monitoring and statistics
Matthew Newton [Wed, 2 Aug 2023 17:22:22 +0000 (18:22 +0100)] 
docs: add pages about monitoring and statistics

2 years agoadd default values
Alan T. DeKok [Thu, 3 Aug 2023 14:48:40 +0000 (10:48 -0400)] 
add default values

2 years agoadd provisions for read and write timeout
Alan T. DeKok [Thu, 3 Aug 2023 14:39:18 +0000 (10:39 -0400)] 
add provisions for read and write timeout

2 years agopoint people to the configuration which controls this message
Alan T. DeKok [Mon, 31 Jul 2023 14:35:18 +0000 (10:35 -0400)] 
point people to the configuration which controls this message

2 years agoFix multiple typos in MongoDB query.conf (#5130)
Jorge Pereira [Wed, 2 Aug 2023 17:21:39 +0000 (14:21 -0300)] 
Fix multiple typos in MongoDB query.conf (#5130)

2 years agoAdd auto_escape to sample SQL module config
Nick Porter [Wed, 2 Aug 2023 12:34:40 +0000 (13:34 +0100)] 
Add auto_escape to sample SQL module config

2 years agosnmp: use same port as default configuration
Matthew Newton [Wed, 2 Aug 2023 11:18:44 +0000 (12:18 +0100)] 
snmp: use same port as default configuration

2 years agoDon't send global stats when asked for client stats
Matthew Newton [Wed, 2 Aug 2023 11:11:53 +0000 (12:11 +0100)] 
Don't send global stats when asked for client stats

They use the same attributes, which makes the result confusing

For FreeRADIUS-Statistics-Type:

0x00 will send global stats and no more
0x10 sends internal queue stats, and may as well send global stats too
0x20 sends client stats but uses the same attrs as global so should
     not send global stats
0x40 sends server listen stats, same attrs so should not send
     global stats as above
0x80 sends proxy home-server stats; uses different attrs so could
     send global stats, but to be consistent with above still
     don't do so

2 years agocomments to make it clearer which stats are being referred to
Matthew Newton [Wed, 2 Aug 2023 11:01:23 +0000 (12:01 +0100)] 
comments to make it clearer which stats are being referred to