[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: Override/set Current-Time for rlm_logintime testing
From: Alan DeKok <aland () deployingradius ! com>
Date: 2021-08-26 12:38:59
Message-ID: E128C848-02B8-465A-B0E5-D5DC00545B7E () deployingradius ! com
[Download RAW message or body]
On Aug 25, 2021, at 11:56 PM, Jason Healy <jhealy@logn.net> wrote:
>
> I'm working on using rlm_logintime to enforce time of day logins for certain users.
>
> I'm also building some radclient packets that I can use to test different time \
> boundaries to make sure my policies are correct.
That's a good idea.
> However, logintime looks like it's always using the packet arrival time to do its \
> calculations (understandably; there's no other reliable source).
> Is there any way to override the packet arrival time, through an attribute or \
> function?
Unfortunately, no. You'll have to edit the source code to add any new \
functionality.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic