Count9 #7
@@ -126,6 +126,24 @@ public class RadiusService : IRadiusService
|
|||||||
Value = maxOctetsBytes.ToString()
|
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
|
// Create Guest Profile record
|
||||||
var profile = new GuestProfile
|
var profile = new GuestProfile
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user