-
Notifications
You must be signed in to change notification settings - Fork 14
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
fail2ban log file contains ERROR test -e /proc/net/xt_recent/fail2ban-ssh #15
Comments
Not sure... Do you run the |
It's a custom playbook, I'm going to try become: True. Thanks |
@jlerbsc did you find a solution for this error? We are seeing the same thing. @drybjed I'm not sure how to add
Adding Any help would be appreciated. |
@jhilden What happens when you install |
@drybjed yes, wehen I install it manually on that host ( |
@jhilden In that case I suppose it might be some configuration applied by the role. You could try commenting out the sections that the role adds and see if you find out which one is the culprit. |
@hi drybjec, I always have this log when using debops.fail2ban role with a custom playbooks and become: yes option on the playbook level like this. Do you have an idea?
ERROR test -e /proc/net/xt_recent/fail2ban-ssh returned 100 |
This seems to be an error from the |
@jlerbsc Is that the same error that you started this issue thread with? |
Yes it's the same error. I think the origi of the error is related to the fact that the file fail2ban-ssh in /proc/net/xt_recent directory is not found and the command sudo echo / > /proc/net/xt_recent/fail2ban-ssh throws /proc/net/xt_recent/fail2ban-ssh: No such file or directory |
Do you have the
What kind of host is this, is is a container, a VM? |
When i restart fail2ban by hand, i have the same errors (Fail2ban v0.8.13). |
lsmod | grep recent |
The host is an AWS/EC2 server |
@jlerbsc Well, I have the same suggestion as last time - try installing a |
When i re install fail2ban from scratch it works perfectly with default configuration. |
What's the meaning of this errors in fail2ban log?
and why /proc/net/xt_recent is not created with debops fail2ban installation?
ERROR test -e /proc/net/xt_recent/fail2ban-ssh returned 100
ERROR Invariant check failed. Trying to restore a sane environment
ERROR echo / > /proc/net/xt_recent/fail2ban-ssh
iptables -D INPUT -m recent --update --seconds 604800 --name fail2ban-ssh --jump REJECT --reject-with icmp-admin-prohibited returned 100
The text was updated successfully, but these errors were encountered: