We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce:
Debian stopped using iptables since debian 10, so fail2ban does not work as it should.
You need to install iptables manually for fail2ban to work properly.
https://wiki.debian.org/iptables
https://www.netfilter.org/index.html
The netfilter project is commonly associated with iptables and its successor nftables.
9a23fc3
Debian 11 (Bullseye)
amd64
2024-03-31 00:01:55,237 fail2ban.filter [939]: INFO [sshd] Found 218.x.x.x - 2024-03-31 00:01:55 2024-03-31 00:01:58,643 fail2ban.filter [939]: INFO [sshd] Found 218.x.x - 2024-03-31 00:01:58 2024-03-31 00:01:58,867 fail2ban.actions [939]: NOTICE [sshd] Ban 218.x.x.x 2024-03-31 00:01:59,143 fail2ban.utils [939]: ERROR 7e9eb831b5b0 -- exec: iptables -w -N f2b-sshd iptables -w -A f2b-sshd -j RETURN iptables -w -I INPUT -p tcp -m multiport --dports ssh -j f2b-sshd 2024-03-31 00:01:59,143 fail2ban.utils [939]: ERROR 7e9eb831b5b0 -- stderr: '/bin/sh: 1: iptables: not found' 2024-03-31 00:01:59,224 fail2ban.utils [939]: ERROR 7e9eb831b5b0 -- stderr: '/bin/sh: 2: iptables: not found' 2024-03-31 00:01:59,224 fail2ban.utils [939]: ERROR 7e9eb831b5b0 -- stderr: '/bin/sh: 3: iptables: not found' 2024-03-31 00:01:59,224 fail2ban.utils [939]: ERROR 7e9eb831b5b0 -- returned 127 2024-03-31 00:01:59,224 fail2ban.utils [939]: INFO HINT on 127: "Command not found". Make sure that all commands in 'iptables -w -N f2b-sshd\niptables -w > 2024-03-31 00:01:59,227 fail2ban.actions [939]: ERROR Failed to execute ban jail 'sshd' action 'iptables-multiport' info 'ActionInfo({'ip': '218.x.x.x', 'fa>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
Steps to reproduce:
Debian stopped using iptables since debian 10, so fail2ban does not work as it should.
You need to install iptables manually for fail2ban to work properly.
https://wiki.debian.org/iptables
https://www.netfilter.org/index.html
Swizzin commit
9a23fc3
What OS are you using?
Debian 11 (Bullseye)
What architecture is your OS?
amd64
Relevant logs and output
The text was updated successfully, but these errors were encountered: