• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Action Log to file?

littlefrog

Regular Pleskian
I have fail2ban running on my server and i want to have it be able to check brute force attacks on the plesk panel login itself.

Action log today recorded 43,000 attempts to log in... would have been nice to ban after the first 4 but the results are in a database from what i can tell and not a physical file.

Does anyone know of a way to get fail2ban to read DB or to get action log into file so i can stop this from happening.
 
hmm... might work if... event handlers worked

according to the documentation

it doesn't work.

1) If you create Shell script EXACTLY as described and choose the event panel user failed login no vars are passed on to the shell script.

2) Because no vars are passed on there is no way to add to auto ban script.
a) No IP passed on
b) No user name passed on
 
file and output

Here is my shell script

#!/bin/bash
COMPDATE=`/bin/date`
echo "$COMPDATE - [${COMP_IP_ADDRESS}] - (${COMP_LOGIN_NAME}) User Authentication Failed" >> /var/log/psa-cp.log

Here is what it outputs

Tue Nov 6 17:37:37 CST 2012 - [] - () User Authentication Failed
 
anyone have any ideas when the Event Viewer will be fixed to work per the documentation?

Its clearly not passing variables on like it states it does.
 
Back
Top