Package: fail2ban / 0.10.2-2.1

Metadata

Package Version Patches format
fail2ban 0.10.2-2.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
deb_path_to_common | (download)

fail2ban/tests/config/filter.d/zzz-generic-example.conf | 2 1 + 1 - 0 !
fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

---
deb_init_paths | (download)

files/debian-initd | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
deb_manpages_reportbug | (download)

man/fail2ban-client.1 | 2 1 + 1 - 0 !
man/fail2ban-server.1 | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 tune ups in upstream manpages to direct users to use reportbug


0001 BF use tests.utils.CONFIG_DIR instead of hardcoded c.patch | (download)

fail2ban/tests/fail2banclienttestcase.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 1/4] bf: use tests.utils.config_dir instead of hardcoded
 "config" in fail2banclienttestcase

Since otherwise cannot provide custom path to the config via env var
and thus cannot test in a build directory which is out of source

0002 ENH verify that use_stock_cfg was not provided while.patch | (download)

fail2ban/tests/fail2banclienttestcase.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [patch 2/4] enh: verify that use_stock_cfg was not provided while
 overriding it

Just found this possibly confusing to outside programmer aspect
so decided to make it more explicit

0003 BF look for system.journal also under system state l.patch | (download)

fail2ban/tests/filtertestcase.py | 21 16 + 5 - 0 !
1 file changed, 16 insertions(+), 5 deletions(-)

 [patch 3/4] bf: look for system.journal also under system-state-logs
 (i.e. /var/log)

as it happens on Debian systems

0004 BF use build_ _2to3 if in _2to3.patch | (download)

setup.py | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 [patch 4/4] bf: use build_*_2to3 if in _2to3

On Debian systems py helpers first do python setup.py build
so conversion should happen then.  Manual invocation of
./fail2ban-2to3 is least preferred since modifies in place
and would require additional special handling to monitor
changed files etc

0001 BF RF test for being a root to check if actually can.patch | (download)

fail2ban/tests/filtertestcase.py | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 [patch] bf: rf test for "being a root" to check if actually can read
 the file


deb_no_iptables_service | (download)

files/fail2ban.service.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove all non-provided .service's within partof of fail2ban.service

  As reported and corroborated in the bug report, this causes inability
  of firewalld to restart.
  Correct solution would involve making systemd smarter and tune up
  of involved .service files.
  Since Debian ATM doesn't provide any of those ({ip{,6}tables,ipset}.service)
  files, it should be safe and generic enough to just prune them from PartOf

  Thanks  Joe Cooper <swelljoe@gmail.com> and Sunil Mohan Adapa <sunil@medhas.org>
  for the reports and nagging ;)

0005 python37.patch | (download)

fail2ban/client/fail2banclient.py | 6 3 + 3 - 0 !
fail2ban/client/fail2banserver.py | 23 13 + 10 - 0 !
2 files changed, 16 insertions(+), 13 deletions(-)

 [patch] rewrite keywords reserved in python 3.7 (`async` ->
 `nonsync`)