Commit graph

7 commits

Author SHA1 Message Date
Pascal de Bruijn b6e0aaa544 package/fail2ban: add conditional python-systemd dependancy
fail2ban needs python-systemd for its systemd backend to
be able to read logs from systemd/journald

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-03 18:24:27 +01:00
Pascal de Bruijn 2d66602638 package/fail2ban: add python3 support
The fail2ban codebase is still native python2, but 2to3 is supported
upstream.

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
[Peter: ensure host-python3 is available]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-03 18:12:34 +01:00
Angelo Compagnucci b7a024372d package/fail2ban: bump to version 0.11.1
This patch bump fail2ban to verison 0.11.1.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-02 00:17:29 +01:00
Pascal de Bruijn d2139a73a1 package/fail2ban: bump version to 0.10.5
Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-01-21 21:07:49 +01:00
Jérémy Rosen 1640fca208 package: rely on systemctl preset-all for upstream-provided services
All these packages have an upstream-provided service, but buildroot
enabled manually the services in exactly the same way as the [Install]
section.

This is not needed anymore

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
[yann.morin.1998@free.fr: fix check-package errors]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-12-18 18:33:22 +01:00
Angelo Compagnucci d46985a736 package/fail2ban: add fixup for default configuration
fail2ban default configuration is not compatible with buildroot as is.
In order to not force the user to overwrite it in an overlay and
having a fail2ban service running out of the box, this patch adds a
fixup step to adapt the default configuration to running on buildroot.

The dbfile is None to not add a dependency on
BR2_PACKAGE_PYTHON_SQLITE.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-03-28 17:52:50 +01:00
Angelo Compagnucci 3311064278 package/fail2ban: new package
Fail2ban scans log files (e.g. /var/log/apache/error_log)
and bans IPs that show malicious behaviours.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[Thomas: simplify $(SED) expression by using comma as a separator
instead of slash.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-25 09:32:06 +01:00