TITLE:
fail2ban log directory will not be updated
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Obsidian 18.0.18
PROBLEM DESCRIPTION:Changing the www directory for users, dont update the fail2ban config for these directories
STEPS TO REPRODUCE:Changing plesk user home directory to for example:
/home/*domain.com*/html
ACTUAL RESULT:/home/*domain.com*/html
fail2ban config file will not be updated:
/etc/fail2ban/jail.d/plesk.conf
# HTTP servers
[plesk-apache]
action = iptables-multiport[name=apache, port="http,https,7080,7081"]
filter = apache-auth
logpath = /var/www/vhosts/system/*/logs/error_log
/var/log/httpd/*error_log
maxretry = 6
# Ban hosts which agent identifies spammer robots crawling the web
# for email addresses. The mail outputs are buffered.
[plesk-apache-badbot]
filter = apache-badbots
action = iptables-multiport[name=BadBots, port="http,https,7080,7081"]
logpath = /var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
bantime = 48h
maxretry = 1
EXPECTED RESULT:/etc/fail2ban/jail.d/plesk.conf
# HTTP servers
[plesk-apache]
action = iptables-multiport[name=apache, port="http,https,7080,7081"]
filter = apache-auth
logpath = /var/www/vhosts/system/*/logs/error_log
/var/log/httpd/*error_log
maxretry = 6
# Ban hosts which agent identifies spammer robots crawling the web
# for email addresses. The mail outputs are buffered.
[plesk-apache-badbot]
filter = apache-badbots
action = iptables-multiport[name=BadBots, port="http,https,7080,7081"]
logpath = /var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
bantime = 48h
maxretry = 1
fail2ban configfile: /etc/fail2ban/jail.d/plesk.conf
logpaths
should be updated.
ANY ADDITIONAL INFORMATION:logpaths
should be updated.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug