-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPs on ip.blacklist not getting banned #13
Comments
@lou-diamonds having the same issue, i have manually added in the ip.blacklist aprox 600 ip's but they are not banned. |
Forgot to mention that the jail seems to be working , but it ignores the ip.blacklist 2019-02-24 11:02:12,188 fail2ban.actions [27157]: NOTICE [blacklist] Flush ticket(s) with iptables-multiport |
@lou-diamonds for the problem that i have described above it is entirely my fault - inside my jail.local i had commented out banaction = blacklist , check if it's the same to you as after i enabled this the ip.blacklist is taken into account |
Hi @lou-diamonds unfortunately this has never been tested in conjunction with the asterisk filter so I guess they could very well conflict with each other. @juniorionut are you using this in conjuction with asterisk? |
@juniorionut Unfortunately I don't have @mitchellkrogza Maybe we can see what the issue is. My jail.local is:
Then here is my
There are plenty of IPs that remain banned but some asterisk will unban them from the blacklist ban & from the asterisk ban. However, if I change the default bantime to 10 days, asterisk will have this behavior every 10 days, instead of every 60 seconds like the example. Any ideas? |
When asterisk unbans them are they removed from ip.blacklist ?? Maybe the default findtime + asterisk is conflicting with the findtime specified in [blacklist] ? 🤔 Another question, are the IP's being banned onto blacklist originating from asterisk bans ? |
@mitchellkrogza , no , just blacklist but i have fixed my problem. |
Oh great @juniorionut please post your solution in case any others run into it. |
@mitchellkrogza i have wrote above but will write again: Inside my jail.local i had commented out banaction = blacklist which caused fail2ban to ignore the declarations inside action.d/blacklist.conf |
I'm running Fail2Ban v0.9.3
I've followed the script as described in the instructions & for some reason, the IPs on /etc/fail2ban/ip.blacklist are not getting banned.
After reviewing the fail2ban.log, it looks like asterisk is unbanning IPs that are on the ip.blacklist. The asterisk ban time works perfectly, but after their ban time expires, they unban the IP on the ip.blacklist.
Can you tell me how to troubleshoot, why they are not getting unbanned or how to keep them permanently banned?
The text was updated successfully, but these errors were encountered: