Fajar A. Nugraha
list at fajar.net
Mon Oct 1 15:36:06 CEST 2012
On Mon, Oct 1, 2012 at 8:18 PM, John Doe <johndoesms at yahoo.es> wrote:
> really i am researching the mode to do it, i think it's posible to do with max-access-period-time , but i do not understand it very well.
Start by defining what you want. And learn to write english correctly.
It doesn't have to be perfect, just enough for others to understand.
"i need some users can connect at least 3 times in a hour"
What does that mean? by default there's no limitation on how many
times a user can connect, so that part is irrelevant. Or do you mean
"i need some users can connect at MOST 3 times in a hour"?
"if user1 connect at 8:00 AM limit him connect again in 15 minutes again"
Again, what does that mean? You want him to connect at most 15
minutes? You want to limit the next login to be AT LEAST 15 minutes
from the last login?
Also, think of real use-case. FR can pretty much does anything you
tell it to, assuming you know what you want, and know how to write the
rules. However remember that many "fancy" rules have no real use case,
while (on certain cases) adding load to the system.
More information about the Freeradius-Users