[howto] Fail2ban for playSMS

I did not configure, but noticed such behavior of PlaySMS. And it would be more logical to add this notification method, instead of the above. Because in fact the user is blocked, and the notification that comes out does not notify about this, and this in turn leads to substitution. I think this notification method needs to be added and it will be correct.

Respectfully,
Jamshid Tursunov

What to do in this case?

Respectfully,
Jamshid Tursunov

oh, there is already in playSMS, I just forgot, here:

so yes playSMS automatically add IP to blacklist after 3 times attempts according to the code

so you can try to change that number.

to remove an IP from blacklist you need to login from different IP and go to Settings -> Firewall, and remove it

anton

Thanks for answering about the number of attempts.
What about the notification? Can I make a warning instead of a notification that the user is locked?

Respectfully,
Jamshid Tursunov

Anton, good day!
Is it possible to replace the type of notification after 3 attempts with “locked”, instead of “notification”?
Thanks in advance

Yours faithfully,
Jamshid Tursunov