FreeRADIUS blocked users notification

  • Hello Guys.

    I'm looking for a way to have a FreeRADIUS notification (email maybe) when the user is blocked after reach the maximum password attempts.


  • I did a litle workaround…

    I edited the file /usr/local/etc/raddb/scripts/ and inserted the string below at line 86:

    echo "FreeRADIUS: Authentication failed! Too many wrong password attempts. User is locked! To unlock delete /var/log/motp/users/$USERNAME" | mail.php -s"FreeRADIUS alert"

    PS: The mail settings are configured under System/Advanced/Notifications


Log in to reply