feat: implement RadiusService for guest user management, session monitoring, and configuration handling
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Successful in 1m12s

This commit is contained in:
Tygozwolle
2026-07-24 17:13:44 +02:00
parent d7d493367f
commit d1b93191e1
@@ -126,6 +126,24 @@ public class RadiusService : IRadiusService
Value = maxOctetsBytes.ToString()
});
// Force NAS to send accounting interim-updates every 60 seconds
_db.RadReply.Add(new RadReply
{
Username = username,
Attribute = "Acct-Interim-Interval",
Op = "=",
Value = "60"
});
// Re-authenticate (instead of disconnect) when Session-Timeout fires
_db.RadReply.Add(new RadReply
{
Username = username,
Attribute = "Termination-Action",
Op = "=",
Value = "1"
});
// Create Guest Profile record
var profile = new GuestProfile
{