Resetting counters

2001-12-18 Thread Aleksandr Kuzminsky
Hi. If I use counter module, can I never reset counter? Thanks. --- Aleksandr Kuzminsky,AK476-RIPE System Administrator, AK16-UANIC ISP NBI. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Resetting counters

2001-12-18 Thread aland
Aleksandr Kuzminsky [EMAIL PROTECTED] wrote: If I use counter module, can I never reset counter? Read src/modules/rlm_counter/rlm_counter.c For now, the answer appears to be 'no'. A small patch would easily change that. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: Resetting counters

2001-12-18 Thread Chris Parker
At 04:30 PM 12/18/2001 +0200, Kostas Kalevras wrote: On Tue, 18 Dec 2001, Aleksandr Kuzminsky wrote: Hi. If I use counter module, can I never reset counter? In the example in 'radiusd.conf' it says: # # The 'reset' parameter defines when the counters are all reset to

Re: Resetting counters

2001-12-18 Thread Aleksandr Kuzminsky
On Tue, 18 Dec 2001, Kostas Kalevras wrote: No you can't. Why would you want to do something like that? I want to authorize users that allowed to spent some hours online, and no more. I'll calculate user's session total time using counters, so I don't want to reset counter. I have idea to

Re: Resetting counters

2001-12-18 Thread Kostas Kalevras
On Tue, 18 Dec 2001, Aleksandr Kuzminsky wrote: On Tue, 18 Dec 2001, Kostas Kalevras wrote: No you can't. Why would you want to do something like that? I want to authorize users that allowed to spent some hours online, and no more. I'll calculate user's session total time using counters,

Re: Resetting counters

2001-12-18 Thread Chris Parker
At 05:08 PM 12/18/2001 +0200, Aleksandr Kuzminsky wrote: On Tue, 18 Dec 2001, Kostas Kalevras wrote: No you can't. Why would you want to do something like that? I want to authorize users that allowed to spent some hours online, and no more. I'll calculate user's session total time using