Dynamic session timeout
Sam T
givemesam at gmail.com
Wed Oct 31 06:08:42 CET 2018
Here is the debug output from the unlang you shared with me. Any extra
direction would be greatly appreciated!
User-Password in the request is correct.
Login OK: [22-22-22-22-22-11/password] (from client wificpa port 0)
# Executing section post-auth from file
/etc/freeradius/sites-enabled/wifirush.rad
+- entering group post-auth {...}
++? if (reply:WISPr-Session-Terminate-Time)
? Evaluating (reply:WISPr-Session-Terminate-Time) -> TRUE
++? if (reply:WISPr-Session-Terminate-Time) -> TRUE
++- entering if (reply:WISPr-Session-Terminate-Time) {...}
expand: %{WISPr-Session-Terminate-Time} - %l -> - 1540961491
expand: %{expr:%{WISPr-Session-Terminate-Time} - %l} -> -1540961491
+++[reply] returns noop
++- if (reply:WISPr-Session-Terminate-Time) returns noop
Sending Access-Accept of id 187 to 96.227.97.217 port 53933
WISPr-Bandwidth-Max-Up = 5000000
WISPr-Bandwidth-Max-Down = 5000000
Mikrotik-Rate-Limit = ""
Acct-Interim-Interval = 300
Session-Timeout = 2754005805
Idle-Timeout = 900
WISPr-Session-Terminate-Time = "2018-11-18T12:22:23+00:00"
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 0 ID 187 with timestamp +14
Ready to process requests.
More information about the Freeradius-Users
mailing list