^Bart
2023-11-09 19:24:05 UTC
Ciao a tutti,
ho installato su una macchina nuova con a bordo Debian Bookworm dai
repositories ufficiali Fail2Ban, quando vado a fare un systemctl status
fail2ban.service ricavo:
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled;
preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-11-09 13:56:57
CET; 6h ago
Duration: 60ms
Docs: man:fail2ban(1)
Process: 2713 ExecStart=/usr/bin/fail2ban-server -xf start
(code=exited, status=255/EXCEPTION)
Main PID: 2713 (code=exited, status=255/EXCEPTION)
CPU: 56ms
nov 09 12:55:03 SRV01 systemd[1]: Started fail2ban.service - Fail2Ban
Service.
nov 09 12:55:03 SRV01 fail2ban-server[1682]: 2023-11-09 12:55:03,709
fail2ban [1682]: ERROR Failed during configuration:
File contains no section headers.
nov 09 12:55:03 SRV01 fail2ban-server[1682]: file:
'/etc/fail2ban/jail.local', line: 21
nov 09 12:55:03 SRV01 fail2ban-server[1682]: ' bantime = 1h\n'
nov 09 12:55:03 SRV01 fail2ban-server[1682]: 2023-11-09 12:55:03,711
fail2ban [1682]: ERROR Async configuration of server failed
nov 09 12:55:03 SRV01 systemd[1]: fail2ban.service: Main process exited,
code=exited, status=255/EXCEPTION
nov 09 12:55:03 SRV01 systemd[1]: fail2ban.service: Failed with result
'exit-code'.
Successivamente da un fail2ban-client start ricavo:
2023-11-09 13:16:34,198 fail2ban.configreader [2104]: WARNING
'allowipv6' not defined in 'Definition'. Using default one: 'auto'
2023-11-09 13:16:34,203 fail2ban [2104]: ERROR Failed
during configuration: Have not found any log file for sshd jail
Seguendo varie guide tra cui questa
tutto sembra debba andare al
primo colpo ovvio che ci sta che così non sia ma in base agli errori che
mi sono apparsi dove potrei iniziare a sistemare il tutto?
Saluti.
^Bart
ho installato su una macchina nuova con a bordo Debian Bookworm dai
repositories ufficiali Fail2Ban, quando vado a fare un systemctl status
fail2ban.service ricavo:
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled;
preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-11-09 13:56:57
CET; 6h ago
Duration: 60ms
Docs: man:fail2ban(1)
Process: 2713 ExecStart=/usr/bin/fail2ban-server -xf start
(code=exited, status=255/EXCEPTION)
Main PID: 2713 (code=exited, status=255/EXCEPTION)
CPU: 56ms
nov 09 12:55:03 SRV01 systemd[1]: Started fail2ban.service - Fail2Ban
Service.
nov 09 12:55:03 SRV01 fail2ban-server[1682]: 2023-11-09 12:55:03,709
fail2ban [1682]: ERROR Failed during configuration:
File contains no section headers.
nov 09 12:55:03 SRV01 fail2ban-server[1682]: file:
'/etc/fail2ban/jail.local', line: 21
nov 09 12:55:03 SRV01 fail2ban-server[1682]: ' bantime = 1h\n'
nov 09 12:55:03 SRV01 fail2ban-server[1682]: 2023-11-09 12:55:03,711
fail2ban [1682]: ERROR Async configuration of server failed
nov 09 12:55:03 SRV01 systemd[1]: fail2ban.service: Main process exited,
code=exited, status=255/EXCEPTION
nov 09 12:55:03 SRV01 systemd[1]: fail2ban.service: Failed with result
'exit-code'.
Successivamente da un fail2ban-client start ricavo:
2023-11-09 13:16:34,198 fail2ban.configreader [2104]: WARNING
'allowipv6' not defined in 'Definition'. Using default one: 'auto'
2023-11-09 13:16:34,203 fail2ban [2104]: ERROR Failed
during configuration: Have not found any log file for sshd jail
Seguendo varie guide tra cui questa
tutto sembra debba andare al
primo colpo ovvio che ci sta che così non sia ma in base agli errori che
mi sono apparsi dove potrei iniziare a sistemare il tutto?
Saluti.
^Bart