From e70eabca8031c6781316700850861b18d44f60b4 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Mon, 3 Jan 2022 14:40:16 +0100 Subject: [PATCH] fail2ban: fixed build failures, added paths file for CRUX --- fail2ban/.footprint | 673 +++++++++--------- fail2ban/.signature | 12 +- fail2ban/2to3.patch | 64 ++ fail2ban/Pkgfile | 21 +- fail2ban/fail2ban-0.11.2_CVE-2021-32749.patch | 155 ++++ fail2ban/fail2ban.rc | 44 +- fail2ban/gh-3020.patch | 52 ++ fail2ban/paths-crux.conf | 59 ++ 8 files changed, 709 insertions(+), 371 deletions(-) create mode 100644 fail2ban/2to3.patch create mode 100644 fail2ban/fail2ban-0.11.2_CVE-2021-32749.patch create mode 100644 fail2ban/gh-3020.patch create mode 100644 fail2ban/paths-crux.conf diff --git a/fail2ban/.footprint b/fail2ban/.footprint index 2f2ee2026..9910c716c 100644 --- a/fail2ban/.footprint +++ b/fail2ban/.footprint @@ -2,8 +2,8 @@ drwxr-xr-x root/root etc/ drwxr-xr-x root/root etc/fail2ban/ drwxr-xr-x root/root etc/fail2ban/action.d/ drwxr-xr-x root/root etc/fail2ban/action.d/__pycache__/ --rw-r--r-- root/root etc/fail2ban/action.d/__pycache__/badips.cpython-39.pyc --rw-r--r-- root/root etc/fail2ban/action.d/__pycache__/smtp.cpython-39.pyc +-rw-r--r-- root/root etc/fail2ban/action.d/__pycache__/badips.cpython-310.pyc +-rw-r--r-- root/root etc/fail2ban/action.d/__pycache__/smtp.cpython-310.pyc -rw-rw-r-- root/root etc/fail2ban/action.d/abuseipdb.conf -rw-rw-r-- root/root etc/fail2ban/action.d/apf.conf -rw-rw-r-- root/root etc/fail2ban/action.d/badips.conf @@ -164,15 +164,12 @@ drwxr-xr-x root/root etc/fail2ban/filter.d/ignorecommands/ -rw-rw-r-- root/root etc/fail2ban/filter.d/zoneminder.conf -rw-rw-r-- root/root etc/fail2ban/jail.conf drwxr-xr-x root/root etc/fail2ban/jail.d/ --rw-rw-r-- root/root etc/fail2ban/paths-arch.conf -rw-rw-r-- root/root etc/fail2ban/paths-common.conf --rw-rw-r-- root/root etc/fail2ban/paths-debian.conf --rw-rw-r-- root/root etc/fail2ban/paths-fedora.conf --rw-rw-r-- root/root etc/fail2ban/paths-freebsd.conf --rw-rw-r-- root/root etc/fail2ban/paths-opensuse.conf --rw-rw-r-- root/root etc/fail2ban/paths-osx.conf +-rw-rw-r-- root/root etc/fail2ban/paths-crux.conf drwxr-xr-x root/root etc/rc.d/ -rwxr-x--- root/root etc/rc.d/fail2ban +drwxr-xr-x root/root run/ +drwxr-xr-x root/root run/fail2ban/ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/fail2ban-client @@ -181,338 +178,336 @@ lrwxrwxrwx root/root usr/bin/fail2ban-python -> /usr/bin/python3 -rwxr-xr-x root/root usr/bin/fail2ban-server -rwxr-xr-x root/root usr/bin/fail2ban-testcases drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/python3.9/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info/PKG-INFO --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info/SOURCES.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info/dependency_links.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info/top_level.txt -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__init__.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/__init__.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/exceptions.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/helpers.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/protocol.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/setup.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/__pycache__/version.cpython-39.pyc -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/client/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__init__.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/__init__.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/actionreader.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/beautifier.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/configparserinc.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/configreader.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/configurator.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/csocket.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/fail2banclient.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/fail2bancmdline.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/fail2banreader.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/fail2banregex.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/fail2banserver.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/filterreader.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/jailreader.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/__pycache__/jailsreader.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/actionreader.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/beautifier.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/configparserinc.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/configreader.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/configurator.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/csocket.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/fail2banclient.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/fail2bancmdline.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/fail2banreader.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/fail2banregex.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/fail2banserver.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/filterreader.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/jailreader.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/client/jailsreader.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/exceptions.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/helpers.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/protocol.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/server/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__init__.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/__init__.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/action.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/actions.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/asyncserver.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/banmanager.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/database.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/datedetector.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/datetemplate.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/failmanager.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/failregex.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/filter.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/filtergamin.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/filterpoll.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/filterpyinotify.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/filtersystemd.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/ipdns.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/jail.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/jails.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/jailthread.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/mytime.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/observer.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/server.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/strptime.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/ticket.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/transmitter.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/__pycache__/utils.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/action.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/actions.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/asyncserver.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/banmanager.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/database.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/datedetector.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/datetemplate.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/failmanager.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/failregex.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/filter.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/filtergamin.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/filterpoll.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/filterpyinotify.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/filtersystemd.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/ipdns.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/jail.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/jails.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/jailthread.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/mytime.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/observer.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/server.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/strptime.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/ticket.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/transmitter.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/server/utils.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/setup.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__init__.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/__init__.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/actionstestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/actiontestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/banmanagertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/clientbeautifiertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/clientreadertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/databasetestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/datedetectortestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/dummyjail.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/fail2banclienttestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/fail2banregextestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/failmanagertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/filtertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/misctestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/observertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/samplestestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/servertestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/sockettestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/tickettestcase.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/__pycache__/utils.cpython-39.pyc -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/__init__.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/__pycache__/__init__.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/__pycache__/test_badips.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/__pycache__/test_smtp.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/test_badips.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/test_badips.py.bak --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/action_d/test_smtp.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/actionstestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/actiontestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/banmanagertestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/clientbeautifiertestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/clientreadertestcase.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/action.d/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/action.d/action.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/action.d/brokenaction.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/fail2ban.conf -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/checklogtype.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/checklogtype_test.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/simple.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/test.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/test.local --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/zzz-generic-example.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/config/jail.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/databasetestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/datedetectortestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/dummyjail.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/fail2banclienttestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/fail2banregextestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/failmanagertestcase.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/__pycache__/ignorecommand.cpython-39.pyc -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/action.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/action_checkainfo.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/action_errors.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/action_modifyainfo.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/action_noAction.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/__pycache__/action_nomethod.cpython-39.pyc --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/action.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/action_checkainfo.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/action_errors.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/action_modifyainfo.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/action_noAction.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/action.d/action_nomethod.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/__pycache__/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/__pycache__/digest.cpython-39.pyc -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/ -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htpasswd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/cant_get_me.html (EMPTY) -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/file/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/file/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/basic/file/.htpasswd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest.py.bak -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest/.htpasswd -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_anon/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_anon/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_anon/.htpasswd -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_time/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_time/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_time/.htpasswd -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htpasswd -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/noentry/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/config/apache-auth/noentry/.htaccess --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/database_v1.db --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/database_v2.db -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/filter.d/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/filter.d/substition.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/filter.d/testcase-common.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/filter.d/testcase01.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/filter.d/testcase02.conf --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/filter.d/testcase02.local --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/ignorecommand.py -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/3proxy --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-badbots --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-botsearch --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-fakegooglebot --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-modsecurity --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-nohome --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-noscript --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-overflows --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-pass --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/apache-shellshock --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/assp --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/asterisk --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/bitwarden -drwxr-xr-x root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/bsd/ --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/bsd/syslog-plain.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/bsd/syslog-v.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/bsd/syslog-vv.txt --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/centreon --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/counter-strike --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/courier-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/courier-smtp --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/cyrus-imap --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/directadmin --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/domino-smtp --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/dovecot --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/dropbear --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/drupal-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/ejabberd-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/exim --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/exim-spam --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/freeswitch --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/froxlor-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/gitlab --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/grafana --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/groupoffice --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/gssftpd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/guacamole --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/haproxy-http-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/horde --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/kerio --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/lighttpd-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/mongodb-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/monit --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/murmur --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/mysqld-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/nagios --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/named-refused --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/nginx-botsearch --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/nginx-http-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/nginx-limit-req --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/nsd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/openhab --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/openwebmail --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/oracleims --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/pam-generic --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/perdition --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/php-url-fopen --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/phpmyadmin-syslog --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/portsentry --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/postfix --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/proftpd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/pure-ftpd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/qmail --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/recidive --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/roundcube-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/screensharingd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/selinux-ssh --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/sendmail-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/sendmail-reject --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/sieve --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/slapd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/softethervpn --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/sogo-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/solid-pop3d --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/squid --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/squirrelmail --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/sshd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/sshd-journal --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/stunnel --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/suhosin --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/tine20 --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/traefik-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/uwimap-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/vsftpd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/webmin-auth --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/wuftpd --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/xinetd-fail --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/znc-adminlog --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/zoneminder --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/zzz-generic-example --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/logs/zzz-sshd-obsolete-multiline --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase-journal.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase-multiline.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase-usedns.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase-wrong-char.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase01.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase01a.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase02.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase03.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/testcase04.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/files/zzz-sshd-obsolete-multiline.log --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/filtertestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/misctestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/observertestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/samplestestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/servertestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/sockettestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/tickettestcase.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/tests/utils.py --rw-r--r-- root/root usr/lib/python3.9/site-packages/fail2ban/version.py +drwxr-xr-x root/root usr/lib/python3.10/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban-0.11.2-py3.10.egg-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban-0.11.2-py3.10.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban-0.11.2-py3.10.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban-0.11.2-py3.10.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban-0.11.2-py3.10.egg-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__init__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/__init__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/exceptions.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/helpers.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/protocol.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/setup.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/__pycache__/version.cpython-310.pyc +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/client/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__init__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/__init__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/actionreader.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/beautifier.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/configparserinc.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/configreader.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/configurator.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/csocket.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/fail2banclient.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/fail2bancmdline.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/fail2banreader.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/fail2banregex.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/fail2banserver.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/filterreader.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/jailreader.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/__pycache__/jailsreader.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/actionreader.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/beautifier.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/configparserinc.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/configreader.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/configurator.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/csocket.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/fail2banclient.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/fail2bancmdline.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/fail2banreader.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/fail2banregex.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/fail2banserver.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/filterreader.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/jailreader.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/client/jailsreader.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/exceptions.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/helpers.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/protocol.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/server/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__init__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/__init__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/action.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/actions.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/asyncserver.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/banmanager.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/database.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/datedetector.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/datetemplate.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/failmanager.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/failregex.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/filter.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/filtergamin.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/filterpoll.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/filterpyinotify.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/filtersystemd.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/ipdns.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/jail.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/jails.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/jailthread.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/mytime.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/observer.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/server.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/strptime.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/ticket.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/transmitter.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/__pycache__/utils.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/action.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/actions.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/asyncserver.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/banmanager.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/database.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/datedetector.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/datetemplate.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/failmanager.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/failregex.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/filter.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/filtergamin.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/filterpoll.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/filterpyinotify.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/filtersystemd.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/ipdns.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/jail.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/jails.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/jailthread.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/mytime.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/observer.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/server.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/strptime.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/ticket.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/transmitter.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/server/utils.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/setup.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__init__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/__init__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/actionstestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/actiontestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/banmanagertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/clientbeautifiertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/clientreadertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/databasetestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/datedetectortestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/dummyjail.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/fail2banclienttestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/fail2banregextestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/failmanagertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/filtertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/misctestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/observertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/samplestestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/servertestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/sockettestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/tickettestcase.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/__pycache__/utils.cpython-310.pyc +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/__init__.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/__pycache__/__init__.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/__pycache__/test_badips.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/__pycache__/test_smtp.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/test_badips.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/test_badips.py.bak +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/action_d/test_smtp.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/actionstestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/actiontestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/banmanagertestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/clientbeautifiertestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/clientreadertestcase.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/action.d/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/action.d/action.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/action.d/brokenaction.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/fail2ban.conf +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/checklogtype.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/checklogtype_test.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/simple.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/test.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/test.local +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/zzz-generic-example.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/filter.d/zzz-sshd-obsolete-multiline.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/config/jail.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/databasetestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/datedetectortestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/dummyjail.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/fail2banclienttestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/fail2banregextestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/failmanagertestcase.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/__pycache__/ignorecommand.cpython-310.pyc +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/action.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/action_checkainfo.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/action_errors.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/action_modifyainfo.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/action_noAction.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/__pycache__/action_nomethod.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/action.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/action_checkainfo.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/action_errors.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/action_modifyainfo.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/action_noAction.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/action.d/action_nomethod.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/__pycache__/digest.cpython-310.pyc +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/ +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/.htpasswd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/authz_owner/cant_get_me.html (EMPTY) +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/file/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/file/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/basic/file/.htpasswd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest.py.bak +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest/.htpasswd +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_anon/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_anon/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_anon/.htpasswd +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_time/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_time/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_time/.htpasswd +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/digest_wrongrelm/.htpasswd +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/noentry/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/config/apache-auth/noentry/.htaccess +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/database_v1.db +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/database_v2.db +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/filter.d/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/filter.d/substition.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/filter.d/testcase-common.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/filter.d/testcase01.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/filter.d/testcase02.conf +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/filter.d/testcase02.local +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/ignorecommand.py +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/3proxy +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-badbots +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-botsearch +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-fakegooglebot +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-modsecurity +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-nohome +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-noscript +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-overflows +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-pass +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/apache-shellshock +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/assp +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/asterisk +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/bitwarden +drwxr-xr-x root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/bsd/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/bsd/syslog-plain.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/bsd/syslog-v.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/bsd/syslog-vv.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/centreon +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/counter-strike +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/courier-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/courier-smtp +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/cyrus-imap +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/directadmin +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/domino-smtp +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/dovecot +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/dropbear +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/drupal-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/ejabberd-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/exim +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/exim-spam +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/freeswitch +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/froxlor-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/gitlab +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/grafana +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/groupoffice +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/gssftpd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/guacamole +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/haproxy-http-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/horde +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/kerio +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/lighttpd-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/mongodb-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/monit +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/murmur +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/mysqld-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/nagios +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/named-refused +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/nginx-botsearch +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/nginx-http-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/nginx-limit-req +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/nsd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/openhab +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/openwebmail +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/oracleims +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/pam-generic +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/perdition +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/php-url-fopen +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/phpmyadmin-syslog +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/portsentry +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/postfix +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/proftpd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/pure-ftpd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/qmail +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/recidive +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/roundcube-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/screensharingd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/selinux-ssh +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/sendmail-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/sendmail-reject +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/sieve +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/slapd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/softethervpn +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/sogo-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/solid-pop3d +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/squid +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/squirrelmail +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/sshd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/sshd-journal +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/stunnel +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/suhosin +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/tine20 +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/traefik-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/uwimap-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/vsftpd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/webmin-auth +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/wuftpd +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/xinetd-fail +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/znc-adminlog +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/zoneminder +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/zzz-generic-example +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/logs/zzz-sshd-obsolete-multiline +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase-journal.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase-multiline.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase-usedns.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase-wrong-char.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase01.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase01a.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase02.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase03.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/testcase04.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/files/zzz-sshd-obsolete-multiline.log +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/filtertestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/misctestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/observertestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/samplestestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/servertestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/sockettestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/tickettestcase.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/tests/utils.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/fail2ban/version.py drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root var/ drwxr-xr-x root/root var/lib/ drwxr-xr-x root/root var/lib/fail2ban/ -drwxr-xr-x root/root var/run/ -drwxr-xr-x root/root var/run/fail2ban/ diff --git a/fail2ban/.signature b/fail2ban/.signature index 212e19596..e40a1cc4e 100644 --- a/fail2ban/.signature +++ b/fail2ban/.signature @@ -1,6 +1,10 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF367l71urQgYdWGIcYSAUsWphvv2MouceDrkqAGsT/uYiL6tsEm7I5hCKtXzYyjooWsYpAuVPkzKDBYOsJ5H3+QM= -SHA256 (Pkgfile) = e5abf200bec92d677a21fe8dab9385ea1388c01396ed510f157aa46723fcf648 -SHA256 (.footprint) = d9c938a9f4e81f69996281070a2e80408b2eefcda7ebde59fb570563891e2fab +RWSagIOpLGJF3xdLVIQSu1FpJ0vUIaw3Wi3fYkqrS4Pd9zmy6XVELJRKbodYuF5Yv946pXjcEf2+HroQ1V8r7il7TSL74ETYJQA= +SHA256 (Pkgfile) = 903038e3f2ee3d5b0db5a3bf81f3c42be89b5bb34562ca5bc9f74aa38c521885 +SHA256 (.footprint) = 85cf15dda6dc534fb8597faf25f0415442cc4fec866bd38e21a6ed98d33fed9f SHA256 (fail2ban-0.11.2.tar.gz) = 383108e5f8644cefb288537950923b7520f642e7e114efb843f6e7ea9268b1e0 -SHA256 (fail2ban.rc) = c8fd673d954deb9ed2fde9faa8d8633196f314561b04f0821267425a94c7e8ac +SHA256 (fail2ban.rc) = 2ce3ca9c641dcaa29028909b4f9a2d7f22533ac9d3be9aba45a8362fcb4e36b0 +SHA256 (paths-crux.conf) = 41e6c077c568d7e2fe600e893aa70d7912dcd0316a88f5a695f5ff0d558c8f82 +SHA256 (fail2ban-0.11.2_CVE-2021-32749.patch) = 11270fb30913ae5ce4ee18f95d0425e2dc03f8f3aef7bb6827b4ad2f7cdd8be6 +SHA256 (gh-3020.patch) = 9403dbfccc2073f80f9f6a9cca99b74cf9f11c4a39e3e62aa6c0678d76cf48a6 +SHA256 (2to3.patch) = dc3d255658943214f82114b11c6696d0e5253bc164c6c5034e4ecd5d852ed425 diff --git a/fail2ban/2to3.patch b/fail2ban/2to3.patch new file mode 100644 index 000000000..5aef00128 --- /dev/null +++ b/fail2ban/2to3.patch @@ -0,0 +1,64 @@ +From 5ac303df8a171f748330d4c645ccbf1c2c7f3497 Mon Sep 17 00:00:00 2001 +From: sebres +Date: Sun, 19 Sep 2021 18:49:18 +0200 +Subject: [PATCH] fix gh-3098: build fails with error in fail2ban setup + command: use_2to3 is invalid (setuptools 58+) + +--- + setup.py | 16 +--------------- + 1 file changed, 1 insertion(+), 15 deletions(-) + +diff --git a/setup.py b/setup.py +index f4c2550f6..98413273c 100755 +--- a/setup.py ++++ b/setup.py +@@ -48,7 +48,7 @@ + from glob import glob + + from fail2ban.setup import updatePyExec +- ++from fail2ban.version import version + + source_dir = os.path.realpath(os.path.dirname( + # __file__ seems to be overwritten sometimes on some python versions (e.g. bug of 2.6 by running under cProfile, etc.): +@@ -112,22 +112,12 @@ def update_scripts(self, dry_run=False): + # Wrapper to specify fail2ban own options: + class install_command_f2b(install): + user_options = install.user_options + [ +- ('disable-2to3', None, 'Specify to deactivate 2to3, e.g. if the install runs from fail2ban test-cases.'), + ('without-tests', None, 'without tests files installation'), + ] + def initialize_options(self): +- self.disable_2to3 = None + self.without_tests = not with_tests + install.initialize_options(self) + def finalize_options(self): +- global _2to3 +- ## in the test cases 2to3 should be already done (fail2ban-2to3): +- if self.disable_2to3: +- _2to3 = False +- if _2to3: +- cmdclass = self.distribution.cmdclass +- cmdclass['build_py'] = build_py_2to3 +- cmdclass['build_scripts'] = build_scripts_2to3 + if self.without_tests: + self.distribution.scripts.remove('bin/fail2ban-testcases') + +@@ -178,7 +168,6 @@ def run(self): + if setuptools: + setup_extra = { + 'test_suite': "fail2ban.tests.utils.gatherTests", +- 'use_2to3': True, + } + else: + setup_extra = {} +@@ -202,9 +191,6 @@ def run(self): + ('/usr/share/doc/fail2ban', doc_files) + ) + +-# Get version number, avoiding importing fail2ban. +-# This is due to tests not functioning for python3 as 2to3 takes place later +-exec(open(join("fail2ban", "version.py")).read()) + + setup( + name = "fail2ban", diff --git a/fail2ban/Pkgfile b/fail2ban/Pkgfile index dc0569085..028aaa545 100644 --- a/fail2ban/Pkgfile +++ b/fail2ban/Pkgfile @@ -5,20 +5,29 @@ name=fail2ban version=0.11.2 -release=1 +release=3 source=(https://github.com/fail2ban/$name/archive/$version/$name-$version.tar.gz -fail2ban.rc) + fail2ban.rc paths-crux.conf + fail2ban-0.11.2_CVE-2021-32749.patch + gh-3020.patch + 2to3.patch) build() { cd $name-$version + + patch -Np1 -i $SRC/fail2ban-0.11.2_CVE-2021-32749.patch + patch -Np1 -i $SRC/2to3.patch + patch -Np1 -i $SRC/gh-3020.patch + ./fail2ban-2to3 /usr/bin/python3 setup.py build /usr/bin/python3 setup.py install --root=$PKG --prefix=/usr --skip-build /usr/bin/python3 -mcompileall $PKG - install -m 0750 -D $SRC/fail2ban.rc $PKG/etc/rc.d/fail2ban - find $PKG \(\ - -iname "*README*" \ - \) -exec rm '{}' \+ + install -Dm750 $SRC/fail2ban.rc $PKG/etc/rc.d/fail2ban + install -Dm664 $SRC/paths-crux.conf $PKG/etc/fail2ban/paths-crux.conf + + find $PKG -iname "*README*" -exec rm '{}' \+ + rm -r $PKG/etc/fail2ban/paths-{arch,debian,fedora,freebsd,opensuse,osx}.conf rm -r $PKG/usr/share/doc } diff --git a/fail2ban/fail2ban-0.11.2_CVE-2021-32749.patch b/fail2ban/fail2ban-0.11.2_CVE-2021-32749.patch new file mode 100644 index 000000000..d3c677918 --- /dev/null +++ b/fail2ban/fail2ban-0.11.2_CVE-2021-32749.patch @@ -0,0 +1,155 @@ +From 410a6ce5c80dd981c22752da034f2529b5eee844 Mon Sep 17 00:00:00 2001 +From: sebres +Date: Mon, 21 Jun 2021 17:12:53 +0200 +Subject: [PATCH] fixed possible RCE vulnerability, unset escape variable + (default tilde) stops consider "~" char after new-line as composing escape + sequence + +--- + config/action.d/complain.conf | 2 +- + config/action.d/dshield.conf | 2 +- + config/action.d/mail-buffered.conf | 8 ++++---- + config/action.d/mail-whois-lines.conf | 2 +- + config/action.d/mail-whois.conf | 6 +++--- + config/action.d/mail.conf | 6 +++--- + 6 files changed, 13 insertions(+), 13 deletions(-) + +diff --git a/config/action.d/complain.conf b/config/action.d/complain.conf +index 3a5f882c9f..4d73b05859 100644 +--- a/config/action.d/complain.conf ++++ b/config/action.d/complain.conf +@@ -102,7 +102,7 @@ logpath = /dev/null + # Notes.: Your system mail command. Is passed 2 args: subject and recipient + # Values: CMD + # +-mailcmd = mail -s ++mailcmd = mail -E 'set escape' -s + + # Option: mailargs + # Notes.: Additional arguments to mail command. e.g. for standard Unix mail: +diff --git a/config/action.d/dshield.conf b/config/action.d/dshield.conf +index c128bef348..3d5a7a53a9 100644 +--- a/config/action.d/dshield.conf ++++ b/config/action.d/dshield.conf +@@ -179,7 +179,7 @@ tcpflags = + # Notes.: Your system mail command. Is passed 2 args: subject and recipient + # Values: CMD + # +-mailcmd = mail -s ++mailcmd = mail -E 'set escape' -s + + # Option: mailargs + # Notes.: Additional arguments to mail command. e.g. for standard Unix mail: +diff --git a/config/action.d/mail-buffered.conf b/config/action.d/mail-buffered.conf +index 325f185b2f..79b841049c 100644 +--- a/config/action.d/mail-buffered.conf ++++ b/config/action.d/mail-buffered.conf +@@ -17,7 +17,7 @@ actionstart = printf %%b "Hi,\n + The jail has been started successfully.\n + Output will be buffered until lines are available.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : started on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : started on " + + # Option: actionstop + # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +@@ -28,13 +28,13 @@ actionstop = if [ -f ]; then + These hosts have been banned by Fail2Ban.\n + `cat ` + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : Summary from " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : Summary from " + rm + fi + printf %%b "Hi,\n + The jail has been stopped.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : stopped on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : stopped on " + + # Option: actioncheck + # Notes.: command executed once before each actionban command +@@ -55,7 +55,7 @@ actionban = printf %%b "`date`: ( failures)\n" >> + These hosts have been banned by Fail2Ban.\n + `cat ` + \nRegards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : Summary" ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : Summary" + rm + fi + +diff --git a/config/action.d/mail-whois-lines.conf b/config/action.d/mail-whois-lines.conf +index 3a3e56b2c7..d2818cb9b9 100644 +--- a/config/action.d/mail-whois-lines.conf ++++ b/config/action.d/mail-whois-lines.conf +@@ -72,7 +72,7 @@ actionunban = + # Notes.: Your system mail command. Is passed 2 args: subject and recipient + # Values: CMD + # +-mailcmd = mail -s ++mailcmd = mail -E 'set escape' -s + + # Default name of the chain + # +diff --git a/config/action.d/mail-whois.conf b/config/action.d/mail-whois.conf +index 7fea34c40d..ab33b616dc 100644 +--- a/config/action.d/mail-whois.conf ++++ b/config/action.d/mail-whois.conf +@@ -20,7 +20,7 @@ norestored = 1 + actionstart = printf %%b "Hi,\n + The jail has been started successfully.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : started on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : started on " + + # Option: actionstop + # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +@@ -29,7 +29,7 @@ actionstart = printf %%b "Hi,\n + actionstop = printf %%b "Hi,\n + The jail has been stopped.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : stopped on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : stopped on " + + # Option: actioncheck + # Notes.: command executed once before each actionban command +@@ -49,7 +49,7 @@ actionban = printf %%b "Hi,\n + Here is more information about :\n + `%(_whois_command)s`\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : banned from " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : banned from " + + # Option: actionunban + # Notes.: command executed when unbanning an IP. Take care that the +diff --git a/config/action.d/mail.conf b/config/action.d/mail.conf +index 5d8c0e154c..f4838ddcb6 100644 +--- a/config/action.d/mail.conf ++++ b/config/action.d/mail.conf +@@ -16,7 +16,7 @@ norestored = 1 + actionstart = printf %%b "Hi,\n + The jail has been started successfully.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : started on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : started on " + + # Option: actionstop + # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +@@ -25,7 +25,7 @@ actionstart = printf %%b "Hi,\n + actionstop = printf %%b "Hi,\n + The jail has been stopped.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : stopped on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : stopped on " + + # Option: actioncheck + # Notes.: command executed once before each actionban command +@@ -43,7 +43,7 @@ actionban = printf %%b "Hi,\n + The IP has just been banned by Fail2Ban after + attempts against .\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : banned from " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : banned from " + + # Option: actionunban + # Notes.: command executed when unbanning an IP. Take care that the diff --git a/fail2ban/fail2ban.rc b/fail2ban/fail2ban.rc index 75a1ace38..b98215a71 100644 --- a/fail2ban/fail2ban.rc +++ b/fail2ban/fail2ban.rc @@ -10,37 +10,37 @@ export PATH="/sbin:/usr/sbin:/bin:/usr/bin:" # Check for configuration files [ -f /etc/fail2ban/fail2ban.conf ] || exit 1 -# If you have to edit this section for this or any other -# port useage let me know, with a patch or added lines, +# If you have to edit this section for this or any other +# port useage let me know, with a patch or added lines, # or simplely e-mail me the altered file and I'll include the changes. RETVAL=0 case $1 in start) - echo -n "Starting $DAEMON..." - rm -rf /var/run/fail2ban/fail2ban.sock # in case of unclean shutdown - /usr/bin/$DAEMON start > /dev/null & RETVAL=$? - if [ $RETVAL = 0 ]; then - echo " done." - fi - ;; + echo -n "Starting $DAEMON..." + rm -rf /var/run/fail2ban/fail2ban.sock # in case of unclean shutdown + /usr/bin/$DAEMON start > /dev/null & RETVAL=$? + if [ $RETVAL = 0 ]; then + echo " done." + fi + ;; stop) - echo -n "Shutting down $DAEMON..." - /usr/bin/$DAEMON stop > /dev/null - RETVAL=$? - echo " done." - ;; + echo -n "Shutting down $DAEMON..." + /usr/bin/$DAEMON stop > /dev/null + RETVAL=$? + echo " done." + ;; restart) - $0 stop - sleep 2 - $0 start - RETVAL=$? - ;; + $0 stop + sleep 2 + $0 start + RETVAL=$? + ;; *) - echo "usage: $0 [start|stop|restart]" - exit 1 - ;; + echo "usage: $0 [start|stop|restart]" + exit 1 + ;; esac exit $RETVAL diff --git a/fail2ban/gh-3020.patch b/fail2ban/gh-3020.patch new file mode 100644 index 000000000..3abc07ada --- /dev/null +++ b/fail2ban/gh-3020.patch @@ -0,0 +1,52 @@ +From ef5c826c74c160d33d4b79b23d564f944d16a9dd Mon Sep 17 00:00:00 2001 +From: sebres +Date: Fri, 7 May 2021 01:16:48 +0200 +Subject: [PATCH] fixes search for the best datepattern (gh-3020) - e. g. if + line is too short, boundaries check for previously known unprecise pattern + may fail on incomplete lines (logging break-off, no flush, etc) + +--- + fail2ban/server/datedetector.py | 4 ++-- + fail2ban/tests/fail2banregextestcase.py | 12 +++++++++++- + 2 files changed, 13 insertions(+), 3 deletions(-) + +diff --git a/fail2ban/server/datedetector.py b/fail2ban/server/datedetector.py +index ecc9d93599..b90e1b2642 100644 +--- a/fail2ban/server/datedetector.py ++++ b/fail2ban/server/datedetector.py +@@ -365,10 +365,10 @@ def matchTime(self, line): + # with space or some special char), otherwise possible collision/pattern switch: + if (( + line[distance-1:distance] == self.__lastPos[1] or +- (line[distance] == self.__lastPos[2] and not self.__lastPos[2].isalnum()) ++ (line[distance:distance+1] == self.__lastPos[2] and not self.__lastPos[2].isalnum()) + ) and ( + line[endpos:endpos+1] == self.__lastEndPos[2] or +- (line[endpos-1] == self.__lastEndPos[1] and not self.__lastEndPos[1].isalnum()) ++ (line[endpos-1:endpos] == self.__lastEndPos[1] and not self.__lastEndPos[1].isalnum()) + )): + # search in line part only: + log(logLevel-1, " boundaries are correct, search in part %r", line[distance:endpos]) +diff --git a/fail2ban/tests/fail2banregextestcase.py b/fail2ban/tests/fail2banregextestcase.py +index 85fe4f150f..1c55e227dc 100644 +--- a/fail2ban/tests/fail2banregextestcase.py ++++ b/fail2ban/tests/fail2banregextestcase.py +@@ -384,7 +384,17 @@ def testNoDateTime(self): + "Found a match but no valid date/time found", + "Match without a timestamp:", all=True) + +- self.pruneLog() ++ def testIncompleteDateTime(self): ++ # datepattern in followed lines doesn't match previously known pattern + line is too short ++ # (logging break-off, no flush, etc): ++ self.assertTrue(_test_exec( ++ '-o', 'Found-ADDR:', ++ '192.0.2.1 - - [02/May/2021:18:40:55 +0100] "GET / HTTP/1.1" 302 328 "-" "Mozilla/5.0" "-"\n' ++ '192.0.2.2 - - [02/May/2021:18:40:55 +0100\n' ++ '192.0.2.3 - - [02/May/2021:18:40:55', ++ '^')) ++ self.assertLogged( ++ "Found-ADDR:192.0.2.1", "Found-ADDR:192.0.2.2", "Found-ADDR:192.0.2.3", all=True) + + def testFrmtOutputWrapML(self): + unittest.F2B.SkipIfCfgMissing(stock=True) diff --git a/fail2ban/paths-crux.conf b/fail2ban/paths-crux.conf new file mode 100644 index 000000000..8e12b6b79 --- /dev/null +++ b/fail2ban/paths-crux.conf @@ -0,0 +1,59 @@ +[INCLUDES] +after = paths-overrides.local + +[DEFAULT] +default_backend = %(default/backend)s +syslog_local0 = /var/log/messages +syslog_authpriv = /var/log/auth.log +syslog_daemon = %(syslog_local0)s +syslog_ftp = %(syslog_local0)s +syslog_mail = +syslog_mail_warn = +syslog_user = %(syslog_local0)s + +# Set the default syslog backend target to default_backend +syslog_backend = %(default_backend)s + +sshd_log = /var/log/auth +sshd_backend = %(default_backend)s + +dropbear_log = /var/log/auth +dropbear_backend = %(default_backend)s + +apache_error_log = /var/log/apache/*error_log +apache_access_log = /var/log/apache/*access_log + +exim_main_log = /var/log/exim/mainlog + +nginx_error_log = /var/log/nginx/*error.log + +nginx_access_log = /var/log/nginx/*access.log + +lighttpd_error_log = /var/log/lighttpd/error.log + +suhosin_log = %(syslog_user)s + %(lighttpd_error_log)s + +proftpd_log = %(syslog_ftp)s +proftpd_backend = %(default_backend)s + +pureftpd_log = %(syslog_ftp)s +pureftpd_backend = %(default_backend)s + +wuftpd_log = %(syslog_ftp)s +wuftpd_backend = %(default_backend)s + +vsftpd_log = /var/log/vsftpd.log + +postfix_log = %(syslog_mail_warn)s +postfix_backend = %(default_backend)s + +dovecot_log = /var/log/dovecot +dovecot_backend = %(default_backend)s + +# todo +#mysql_log = +#mysql_backend = %(default_backend)s + +# Directory with ignorecommand scripts +ignorecommands_dir = /etc/fail2ban/filter.d/ignorecommands