--On Friday, December 10, 2021 7:41 PM -0500 H <[email protected]> wrote:

It would be great if the ability to ban subnet of any specification could
be added to fail2ban!

You could create a .local version of your choice of action file and add a network mask suffix to the address being banned in the actionban= line. Like "<ip>/24" instead of just "<ip>". This depends on the actionban command tolerating that syntax, of course, so you might need to adjust other parts of the action file.



_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to