• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Input Fail2Ban Plesk Extention

PriyanA

Regular Pleskian
Hi Everyone,

I just want to input some info here,

1. It seems Plesk GUI currently not using UTF-8 Encoding for Fail2Ban Filter Add/Edit text area.

so Do Not Copy Past anything from Internet into the Filter Code editor, this may lead to Fail2ban to get stuck. Best way to add or create/edit Filter is use command line editor for now.

2. Use the actual line(s) in log files not the log you see in Plesk GUI.

3. Use this to create a simple failregex - you can match a log line here --> http://regexr.com/

4. Always test the Filter before you create a Jail and make sure you only get match for what you expected.

fail2ban-regex <Path/actual logfile>(Wildcard does not work here) /etc/fail2ban/filter.d/filter.local --print-all-matched

Thank you.
 
Last edited:
Hi PriyanA,

so Do Not Copy Past anything from Internet into the Filter Code editor. This will lead to Fail2ban to get stuck. Best way to add or create/edit Filter is use command line editor for now.

Sorry, but this is nonsense.
As a linux system administrator, you should be aware, that "copy&paste" from forums/sites with your browser, might result in issues/errors/problems, due to the fact, that some browsers copy as well BB-Code/HTML characters ( depending on your unique/standard setting for your browser), which might be invisible for your eyes, but still available inside the copied string. That's why it is recommended to copy the desired copy-string FIRST into an ASCII - Text - Editor, followed by another copy FROM the ASCII - Text - Editor, finished by the pasting into a Plesk Control Panel - textbox, or onto your ssh - command line for example. ;)
The Plesk Control Panel doesn't decode copied commands at the provided text - boxes and it's not invented to do that. It will take the copied code "as it is", with all visible and unvisible characters.
 
@UFHH01, Thank you for your input.

I have marked the tread as a input.

I think Plesk is used by every level of the users not just the Linux System Administrators.

Of cause I do COPY AND PASTE into the Plesk File Manager Code editor without any issue!
 
Back
Top