<div dir="ltr">Hello all,<br><br>I'm looking for some tutorial that explain how I can programming the freeradius to work as described below.<br><br>At my lab environment I have two situations: access-accept (the password is correct) and access-reject (the password is wrong).<br>
<br>I would like to programming the freeradius to after the fifth try of an user to authenticate (all five tries was reject), the freeradius authenticate the user within a specific policy for this case. I know how to send different policies to user, but I don't know how to make freeradius answer accept after the fifth try of authentication.<br>
<br>Example:<br><br>user test passwd test123<br><br>time: 00:00:00<br>1st try: test passwd test456 -> radius answer reject<br>2nd try: test passwd test456 -> radius answer reject<br>3rd try: test passwd test456 -> radius answer reject<br>
4th try: test passwd test456 -> radius answer reject<br>5th try: test passwd test456 -> radius answer reject<br>time: 00:05:00<br>
6th try: test passwd test456 -> radius answer accept but athenticate the user in a specific policy to block its access but keep it authenticated.<br><br>If in five minutes the user has received more than 5 access-reject then I would like to authenticate and block its access with a specific policy.<br>
<br>Thanks in advance!<br>
<br clear="all">./diogo -montagner<br>
</div>