• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Input fail2ban trusted IP Addresses

jmin

Basic Pleskian
Hi! Feature request.

It would be great to have an option for add a comment when adding an IP address to the Trusted list, this would help to identify the addresses when time passes.

Kind regards.
 
I've added my vote.

As a workaround.. you can add your comment or (Tags in this case) after the ip address by adding a comma "," example:
Less:
123.456.789.10,MyOffice
321.654.987.01,myhome

You can mix with numbers:
Less:
123.456.789.10,My1stOffice
321.654.987.01,2ndhome

Use of multiple tags:
Less:
123.456.789.10,MyOffice,MyLibrary
321.654.987.01,myhome,mylibrary

Hyphens - :
Less:
123.456.789.10,My-Office,My_Library
321.654.987.01,my-home,my-office

IPv6
Less:
2001:0db8:85a3:0000:0000:8a4e:0340:7444,MyOffice,MyLibrary
2001:0db8:85a3:0000:0000:8a2e:0370:7334,myhome,myoffice

Restriction:
* Whit spaces are not permitted.
* Special characters <*/+.&^#@=$~!>? are not permitted.

You can add as many tags for each IP you add as you like. Fail2ban natively will ignore text after a comma,

Warning: Failing to implements this method correctly could lock you out for 600s or per fail2ban default settings, if you do.. add your IP manually to:
/etc/fail2ban/jail.local

ignoreip = <Add_Your_IP_Address> 127.0.0.1/8 ::1

Or excute this command

Bash:
sed -i 's/ignoreip = /ignoreip = 1.1.1.1 /g' /etc/fail2ban/jail.local && service fail2ban restart
replace 1.1.1.1 with your current IP and keep spaces.


Plesk is not responsible for any workarounds that is not offically documented by Plesk Docs.

Tested on Fail2ban v 0.10.3
Plesk Component:
0.10.3.1-2.centos.7+p18.0.27.0+t200424.1018
 
Last edited:
Back
Top