From f80e04a8c559f2f8ce21668d8b27794d37adb6ad Mon Sep 17 00:00:00 2001 From: networkException Date: Thu, 8 Jul 2021 21:58:29 +0200 Subject: [PATCH] Docs: Replace hardcoded journald logpath with systemd backend The file at /var/log/messages is not universal for every distribution. Fail2ban can access journald logs directly by using the systemd backend. --- docs/faq.rst | 4 ++-- towncrier/newsfragments/1857.doc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 towncrier/newsfragments/1857.doc diff --git a/docs/faq.rst b/docs/faq.rst index 403fd163..2fe2a7ec 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -513,8 +513,8 @@ follow these steps: [bad-auth] enabled = true + backend = systemd filter = bad-auth - logpath = /var/log/messages bantime = 604800 findtime = 300 maxretry = 10 @@ -565,7 +565,7 @@ Restart the Fail2Ban service. sudo systemctl restart fail2ban -*Issue reference:* `85`_, `116`_, `171`_, `584`_, `592`_, `1727`_. +*Issue reference:* `85`_, `116`_, `171`_, `584`_, `592`_, `1727`_, `1857`_. Users can't change their password from webmail `````````````````````````````````````````````` diff --git a/towncrier/newsfragments/1857.doc b/towncrier/newsfragments/1857.doc new file mode 100644 index 00000000..06cb91ab --- /dev/null +++ b/towncrier/newsfragments/1857.doc @@ -0,0 +1 @@ +Update fail2ban documentation to use systemd backend instead of filepath for journald \ No newline at end of file