Re: How to use the counter module

2005-11-13 Thread Martin Potgieter

[EMAIL PROTECTED] wrote:


OK, I had no luck with my previous email so let's try a different approach.

Could I use the Counter module to count the number of times a user gets
their password wrong? I guess I need to call Counter on Access-Reject, or
just before the Reply packet is sent as I can check the attributes sent
back. This would be in the post-process area I think.

 

You want to reject a user if they get their password wrong more than X 
times over a period of X ?
Not sure about the counter module but you could use sqlcounter module 
and query the radpostauth table.


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


Re: How to use the counter module

2005-11-14 Thread Radoslav Kolev
On Sun, 2005-11-13 at 12:20 +, [EMAIL PROTECTED] wrote:

> Could I use the Counter module to count the number of times a user gets
> their password wrong? 

AFAIK the counter module was not designed to count this type of things.
The idea is to count let's say the total amount of time a user has spent
online, or the total traffic he has transfered.

This does not mean that you can't find some new ingenious way of using
it though :).


Regards,
RAdo

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