sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-18 20:59:29 +00:00
parent 6dffc8ab2a
commit d226ef1ecf
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
16 changed files with 859 additions and 553 deletions

View file

@ -1,4 +1,4 @@
# $OpenBSD: radiusd.conf,v 1.3 2023/08/18 06:45:15 yasuoka Exp $
# $OpenBSD: radiusd.conf,v 1.4 2023/09/18 14:44:21 sobrado Exp $
listen on 0.0.0.0
#listen on ::
@ -13,16 +13,16 @@ client 192.168.0.0/24 {
secret "secret"
}
module load "bsdauth" "/usr/libexec/radiusd/radiusd_bsdauth"
#module set "bsdauth" "restrict-group" "users"
module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth"
#module set bsdauth restrict-group users
module load "radius" "/usr/libexec/radiusd/radiusd_radius"
module set "radius" "secret" "testing123"
module set "radius" "server" "127.0.0.1"
module load radius "/usr/libexec/radiusd/radiusd_radius"
module set radius secret "testing123"
module set radius server "127.0.0.1"
authenticate *@local {
authenticate-by "bsdauth"
authenticate-by bsdauth
}
authenticate *@example.com {
authenticate-by "radius"
authenticate-by radius
}

View file

@ -1,9 +1,9 @@
From purplerain@secbsd.org Fri Aug 11 00:00:00 UTC 2023
From purplerain@secbsd.org Mon Oct 27 00:00:00 UTC 2023
Return-Path: root
Date: Aug 11 00:00:00 UTC 2023
Date: Oct 27 00:00:00 UTC 2023
From: purplerain@secbsd.org (Purple Rain)
To: root
Subject: Welcome to SecBSD 1.3!
Subject: Welcome to SecBSD 1.4!
This message attempts to describe the most basic initial questions that a
system administrator of an SecBSD box might have. You are urged to save

View file

@ -1 +1 @@
# SecBSD 1.3-88c72e05f8: Thu Sep 14 00:00:00 UTC 2023 (Tezcatlipoca)
# SecBSD 1.4-58d3272: Tue Sep 19 00:00:00 UTC 2023 (Tezcatlipoca)