Of course. You said it all – craft the filter and the external command and you 
are all set. One of the beauties of this tool.

\\Greg


From: Hochreiter Martin<mailto:[email protected]>
Sent: Thursday, April 13, 2017 5:11 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [Fail2ban-users] User user instead of ip

Hi!

Can I configure fail2ban to scan for usernames instead of ips?

What for?
Well, we scan for very high amounts of  (successful) sasl user authentications 
in a short time
(indication for misusage) and block the user on the active directory  … but not 
as good as fail2ban does this with ips

So, if I write a filter that filters for usernames and a custom action with an 
external command – is this possible?

Regards
Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to