Dynamic session timeout

Alan DeKok aland at deployingradius.com
Wed Oct 31 18:31:20 CET 2018


On Oct 31, 2018, at 1:08 AM, Sam T <givemesam at gmail.com> wrote:
> 
> 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

   If WISPr-Session-Terminate-Time is in the reply, then the expansion should be:

	Session-Timeout := "%{expr:%{reply:WISPr-Session-Terminate-Time} - %l}"

  Alan DeKok.




More information about the Freeradius-Users mailing list