Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions piwik2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -------------------------------------------------------------------------
# Fail2Ban jail for piwik /etc/fail2ban/jail.d/piwik2.conf
# For use with filter /etc/fail2ban/filter.d/piwik-2018A.conf
# -------------------------------------------------------------------------
# NOTE: The `logpath` parameter, provided below, is a common path,
# However, it *may* not be the correct path on YOUR server setup.
# Adjust accordingly!
# Common Paths:
# - Debian/Ubuntu/FreeBSD /var/log/auth.log
# - Fedora /var/log/secure
# - macOS/OS X /var/log/secure.log
# -------------------------------------------------------------------------
#
[piwik-2018A]
enabled = true
filter = piwik-2018A
logpath = /full/path/to/your/piwik/installation/tmp/logs/piwik.log
maxretry = 3
port = http,https