On Wed, 22 May 2002, Kenneth Lee wrote:

>
> Hi, all!
>
> I would like to implement two radius servers (for redundancy) that are
> running rlm_counter to limit the time for users to login.
>
> But, I have several questions about this implementation:
>
> 1. How can I synchronize the accounting information between servers?

rsync. Synchronize the gdbm counter files.

> 2. How can I avoid simultaneous login with two servers?

Synchronize the radutmp file.

> 3. For the reset attribute for counter module, for example, I set it to 1
> week. Then the when will the counter start counting? Start counting when
> the server is started? or start counting when the user is firstly logged
> in?

The reset time is found on module instantiation. See the function
find_next_reset. If the reset time is set to 'weekly' it will reset on sunday
00:00. The reset action is to just erase the db file and create it from scratch.

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf

>
> Thanks very much!
>
> Kenneth
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to