tags 1060386 + moreinfo
thanks

Hi there,

On Wed, 10 Jan 2024 14:06:47 +0000, Guido van Brakel wrote:
> Version: 1.0.2-2
> Severity: important
> Dear Maintainer,
> 
>    * What led up to the situation? Installing fail2ban on Debian 12
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>    * What was the outcome of this action? Fail2ban fails to start
>    * What outcome did you expect instead? Fail2ban just starting without 
> needing to

You should provide some more information, like the error message when
you manually launch `/usr/bin/fail2ban-server -vvv -x start`.

> Versions of packages fail2ban depends on:
> ii  python3  3.11.2-1+b1
> Versions of packages fail2ban recommends:
> ii  iptables           1.8.9-2
> ii  python3-pyinotify  0.9.6-2
> ii  python3-systemd    235-1+b2
> ii  whois              5.5.17
> Versions of packages fail2ban suggests:
> Versions of packages fail2ban suggests:
> pn  mailx              <none>
> pn  monit              <none>
> pn  sqlite3            <none>
> pn  system-log-daemon  <none>
> -- Configuration Files:
> /etc/fail2ban/jail.conf changed:
> [INCLUDES]
> before = paths-debian.conf
> [DEFAULT]
> ignorecommand =
> bantime  = 10m
> findtime  = 10m
> maxretry = 5
> maxmatches = %(maxretry)s
> backend = systemd

Please note that on a default Debian 12.4/bookworm you simply need to
add some lines to `jail.local`, without touching anything else:
```
[DEFAULT]
### <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049452#10>
banaction = nftables
banaction_allports = nftables[type=allports]
### <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770171#94>
backend = systemd
```

Thx, bye,
Gismo / Luca

Attachment: signature.asc
Description: PGP signature

Reply via email to