Public bug reported:

According to the /usr/share/doc/fail2ban/README.Debian.gz:

`````
* Enabled Sections:

Only handling of ssh files is enabled by default. If you want to use
fail2ban with apache, please enable apache section manually in
/etc/fail2ban/jail.local by including next lines:

[apache]
enabled = true
`````

However including those lines will cause Fail2ban error as there's no
filter called "apache":

`````
Lin-Buo-Ren@host:/etc/fail2ban⟫ ls filter.d/apache*
filter.d/apache-auth.conf           filter.d/apache-nohome.conf
filter.d/apache-badbots.conf        filter.d/apache-noscript.conf
filter.d/apache-botsearch.conf      filter.d/apache-overflows.conf
filter.d/apache-common.conf         filter.d/apache-pass.conf
filter.d/apache-fakegooglebot.conf  filter.d/apache-shellshock.conf
filter.d/apache-modsecurity.conf
`````

The documentation should be adjusted to not simply include those lines,
but to customizing them to the [apache-*] sections.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: fail2ban 0.9.3-1
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Sun Dec 18 19:13:06 2016
PackageArchitecture: all
SourcePackage: fail2ban
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: fail2ban (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1650878

Title:
  Documentation error - Wrong Apache jail config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/1650878/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to