From b423631825a2eb36ff8f10dcc4d2b0f806cfd5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20=C3=87ALI=C5=9EIR?= Date: Sat, 22 Feb 2025 22:27:40 +0300 Subject: [PATCH] fail2ban: Update AbuseIPDB actionban script instructions - Clarified integration steps for placing the script in 'action.d' - Updated example configuration with correct script name 'fail2ban-abuseipdb.sh' - Emphasized the need to set 'abuseipdb_apikey' in the config file - Improved formatting and readability for better user understanding No functional changes, just documentation updates. --- files/fail2ban-abuseipdb.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/fail2ban-abuseipdb.sh b/files/fail2ban-abuseipdb.sh index 6dfc865d..991505b1 100644 --- a/files/fail2ban-abuseipdb.sh +++ b/files/fail2ban-abuseipdb.sh @@ -8,13 +8,13 @@ # been reported previously, thereby avoiding redundant entries and potential API rate limiting. # # Integration with Fail2Ban: -# - Place this script in the Fail2Ban `action.d` directory named 'abuseipdb_fail2ban_actionban.sh' -# - Configure Fail2Ban to use this script as the `actionban` for relevant jails. +# - Place this script in the 'action.d' directory of Fail2Ban. +# - Configure Fail2Ban to use this script as the `actionban`. # - First edit 'abuseipdb.conf' in '/etc/fail2ban/action.d/abuseipdb.conf' and add following rule, -# - actionban = /etc/fail2ban/action.d/abuseipdb_fail2ban_actionban.sh \ +# - actionban = /etc/fail2ban/action.d/fail2ban-abuseipdb.sh \ # "" "" "" "" "" # - Also make sure you set your 'abuseipdb_apikey' in the configuration file. -# - Final step, adjust your jails accordingly. Check the below jail example to also reporting with custom comment via 'tp_comment' +# - Adjust your jails accordingly. Check the below jail example to also reporting with custom comment via 'tp_comment' # # Example jail in 'jail.local': # [nginx-botsearch]