Hallo Leute,
ich habe ein Problem mit Fail2Ban wenn ich den ssh absichern will. Sobald ich den Status prüfe:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | fail2ban.service - Fail2Ban Service Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2023-04-04 23:41:03 UTC; 17s ago Docs: man:fail2ban(1) Process: 68374 ExecStart=/usr/bin/fail2ban-server -xf start (code=exited, status=255/EXCEPTION) Main PID: 68374 (code=exited, status=255/EXCEPTION) CPU: 65ms Apr 04 23:41:03 [mark]vps2396377.fastwebserver.de[/mark] systemd[1]: Started Fail2Ban Service. Apr 04 23:41:03 .fastwebserver.de fail2ban-server[68374]: 2023-04-04 23:41:03,235 fail2ban [68374]: ERROR Failed during configuration: File contains no section headers. Apr 04 23:41:03 .fastwebserver.de fail2ban-server[68374]: file: '/etc/fail2ban/jail.local', line: 21 Apr 04 23:41:03 .fastwebserver.de fail2ban-server[68374]: ' bantime = 7200\n' Apr 04 23:41:03 .fastwebserver.de fail2ban-server[68374]: 2023-04-04 23:41:03,236 fail2ban [68374]: ERROR Async configuration of server failed Apr 04 23:41:03 .fastwebserver.de systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION Apr 04 23:41:03 .fastwebserver.de systemd[1]: fail2ban.service: Failed with result 'exit-code'. |
Kann mir jemand sagen woran das liegt?