ubuntuusers.de

Fail2Ban ERROR

Status: Ungelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

BulliM

Avatar von BulliM

Anmeldungsdatum:
7. März 2010

Beiträge: 207

Ich habe f2b für das Füttern von itables eingerichtet. Allerdings gibt es beim Start ein paar Fehler, aus denen ich nicht schlau werde bzw. nicht weiß, wie ich die beheben kann.

2019-06-13 16:45:25,267 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports smtp,imap,imaps,submission -j f2b-postfix-sasl
iptables -w -F f2b-postfix-sasl
iptables -w -X f2b-postfix-sasl -- stdout: b''
2019-06-13 16:45:25,267 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports smtp,imap,imaps,submission -j f2b-postfix-sasl
iptables -w -F f2b-postfix-sasl
iptables -w -X f2b-postfix-sasl -- stderr: b'iptables: Too many links.\n'
2019-06-13 16:45:25,267 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports smtp,imap,imaps,submission -j f2b-postfix-sasl
iptables -w -F f2b-postfix-sasl
iptables -w -X f2b-postfix-sasl -- returned 1
2019-06-13 16:45:25,267 fail2ban.actions        [1039]: ERROR   Failed to stop jail 'postfix-sasl' action 'iptables-multiport': Error stopping action
2019-06-13 16:45:25,268 fail2ban.jail           [1039]: INFO    Jail 'postfix-sasl' stopped
2019-06-13 16:45:26,217 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -j f2b-blacklist
iptables -w -F f2b-blacklist
iptables -w -X f2b-blacklist -- stdout: b''
2019-06-13 16:45:26,218 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -j f2b-blacklist
iptables -w -F f2b-blacklist
iptables -w -X f2b-blacklist -- stderr: b'iptables: Too many links.\n'
2019-06-13 16:45:26,218 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -j f2b-blacklist
iptables -w -F f2b-blacklist
iptables -w -X f2b-blacklist -- returned 1
2019-06-13 16:45:26,218 fail2ban.actions        [1039]: ERROR   Failed to stop jail 'blacklist' action 'blacklist': Error stopping action
2019-06-13 16:45:26,218 fail2ban.jail           [1039]: INFO    Jail 'blacklist' stopped
2019-06-13 16:45:26,375 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports smtp,imap,imaps,submission -j f2b-dovecot
iptables -w -F f2b-dovecot
iptables -w -X f2b-dovecot -- stdout: b''
2019-06-13 16:45:26,376 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports smtp,imap,imaps,submission -j f2b-dovecot
iptables -w -F f2b-dovecot
iptables -w -X f2b-dovecot -- stderr: b'iptables: Too many links.\n'
2019-06-13 16:45:26,376 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports smtp,imap,imaps,submission -j f2b-dovecot
iptables -w -F f2b-dovecot
iptables -w -X f2b-dovecot -- returned 1
2019-06-13 16:45:26,376 fail2ban.actions        [1039]: ERROR   Failed to stop jail 'dovecot' action 'iptables-multiport': Error stopping action
2019-06-13 16:45:26,376 fail2ban.jail           [1039]: INFO    Jail 'dovecot' stopped
2019-06-13 16:45:26,705 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports 999 -j f2b-sshd
iptables -w -F f2b-sshd
iptables -w -X f2b-sshd -- stdout: b''
2019-06-13 16:45:26,705 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports 999 -j f2b-sshd
iptables -w -F f2b-sshd
iptables -w -X f2b-sshd -- stderr: b'iptables: Too many links.\n'
2019-06-13 16:45:26,705 fail2ban.action         [1039]: ERROR   iptables -w -D INPUT -p tcp -m multiport --dports 999 -j f2b-sshd
iptables -w -F f2b-sshd
iptables -w -X f2b-sshd -- returned 1
2019-06-13 16:45:26,705 fail2ban.actions        [1039]: ERROR   Failed to stop jail 'sshd' action 'iptables-multiport': Error stopping action
2019-06-13 16:45:26,706 fail2ban.jail           [1039]: INFO    Jail 'sshd' stopped

Wie kann ich das lösen?

kB Team-Icon

Supporter, Wikiteam
Avatar von kB

Anmeldungsdatum:
4. Oktober 2007

Beiträge: 9630

Wohnort: Münster

BulliM schrieb:

[…] beim Start ein paar Fehler […] Wie kann ich das lösen?

Generell: Indem Du in die Konfigurationsdatei von Fail2Ban schaust, dort die die Fehler verursachenden Befehle identifizierst und überlegst, warum ein solcher Befehl ein Problem verursachen kann.

Speziell:

  1. Anfordern eines XTables-Lock kann fehlschlagen.

  2. Löschen einer nicht vorhandenen Regel ist ein Fehler.

  3. Löschen einer nicht vorhandenen Chain ist ein Fehler.

Ob diese Möglichkeiten bei Dir aber zutreffen, kann nur jemand beurteilen, der auch die Konfigurationsdateien kennt.

misterunknown Team-Icon

Ehemalige
Avatar von misterunknown

Anmeldungsdatum:
28. Oktober 2009

Beiträge: 4403

Wohnort: Sachsen

Nutzt du Plesk? Wenn ja, solltest du das dazu sagen. Das Problem könnte nämlich genau dort liegen, sagt jedenfalls Google.

Antworten |