From f80e04a8c559f2f8ce21668d8b27794d37adb6ad Mon Sep 17 00:00:00 2001 From: networkException Date: Thu, 8 Jul 2021 21:58:29 +0200 Subject: [PATCH 1/2] 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 From a2cf13c548b9fa428d11e84cbce030d6a42dedd5 Mon Sep 17 00:00:00 2001 From: networkException Date: Thu, 8 Jul 2021 22:11:54 +0200 Subject: [PATCH 2/2] Template: Update link to changelog entry documentation for pull requests --- PULL_REQUEST_TEMPLATE.md | 2 +- docs/faq.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 059318fc..8fb3265d 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -13,4 +13,4 @@ Before we can consider review and merge, please make sure the following list is If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly -- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file. +- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. diff --git a/docs/faq.rst b/docs/faq.rst index 2fe2a7ec..5d975532 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -565,7 +565,7 @@ Restart the Fail2Ban service. sudo systemctl restart fail2ban -*Issue reference:* `85`_, `116`_, `171`_, `584`_, `592`_, `1727`_, `1857`_. +*Issue reference:* `85`_, `116`_, `171`_, `584`_, `592`_, `1727`_. Users can't change their password from webmail ``````````````````````````````````````````````