session-timeout for disconnect at fixed time

Ivan Kalik tnt at kalik.net
Wed Apr 16 11:31:21 CEST 2008


What doesn't work? Your expression? I don't recongnize %% operator (but
I don't use C). Or placing it's value in Session-Timeout?

Ivan Kalik
Kalik Informatika ISP


Dana 16/4/2008, "javkhlanbaatar at newcomsystems.mn"
<javkhlanbaatar at newcomsystems.mn> piše:

>I've tried but it doesn't work.
>also i've tried to put this expression into modules section under expr{}.
>Then i've added expr to the authorize section. But in authorize section,
>there mustn't be any expressions. :(
>Please help
>
>>>What should be instead of ?.  I want to enter result of the expressions
>>>like `%{expr: ((%l + 86399) %% 86400) - %l}`.
>>>How can I make it?
>>>
>>
>> Try just:
>>
>> ((%l + 86399) %% 86400) - %l
>>
>>>
>>>
>>>Also, in the debug mode, how can I shorten debugs. I mean, I want to get
>>>only access-accept, access-reject, access-request packets, not any others
>>>(like entering sql, expanding user etc.,).
>>>Help please
>>>
>>
>> -x will produce shortest debug, -xx longer, -xxx even more, etc. What you
>> are asking for is not debug but radtest output.
>>
>> Ivan Kalik
>> Kalik Informatika ISP
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>




More information about the Freeradius-Users mailing list