• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Search results for query: "Fail2Ban" "recidive"

  1. A

    Issue Fire2ban not working with banned IP

    Hi, I have set up the file2ban rule with jail and filter. and when I test to run the command: fail2ban-client set recidive banip [my ip] and it works, I've checked the iptables -L -n -v it shows: Chain f2b-recidive (1 references) pkts bytes target prot opt in out...
  2. brother4

    Input Plesk Fail2Ban: Integration for AbuseIPDB

    If no output is desired except for errors: #!/bin/bash # Your AbuseIPDB API Key API_KEY="YOUR_ABUSEIPDB_API_KEY" # File where already reported IPs are stored REPORTED_IPS_FILE="/var/log/reported_ips.log" # If the file doesn't exist, create it [ ! -f "$REPORTED_IPS_FILE" ] && touch...
  3. P

    Question Mac mail 'Unable to Verify Account Name or Password'

    Nope, probably not. The problem with Apple mail is that it does not show you exact error messages. When it cannot check the mailbox, there can be several reasons: - wrong username (email address) or password --> use correct credentials - frequently sent wrong login credentials from the same IP...
  4. P

    Issue Server is permanently down and unavailable

    Better not. It does limit hits when bad bots are flooding a site, but it has the potential to slow it down or to make it unresponsive on some requests. Yes, excellent idea. It uses much less resources and responds faster. These should be very rare visits. There's definitely something wrong if...
  5. michaeljoseph01

    Question How to block non-mail traffic to certain ip?

    I have a single domain on a single cloud VPS server running web and mail service. I have 2 IP addresses on the same WAN adapter. The IP that I want all web traffic to flow through is proxied by cloudflare. The other IP is exposed because I'm running the mail server traffic through it. What would...
  6. P

    Issue Slow Web Speed + occasional 524 timeout

    This situation can have many reasons. One very common reason are attacks against a website. It will be best to start of checking your logs/access_ssl_log and logs/error_log files on your server for suspicious activity such as frequent visits of bad bots. You can exclude bad bots in a variety...
  7. D4NY

    Issue Outgoing mail queue, how to find the source of the spam?

    Thank you very much for your detailed answer. I'm not a Fail2ban expert at all to be honest, it will be not easy to setup it following your instructions. In the ban list i've found (recidive) a list in which some of them were good ip and it's worrying from my point of view.
  8. claxman

    Issue Anacron job 'cron.daily' on server.domain (Fail2Ban Automatic Closing Problem)

    I receive an email every day at "03:32" with the time zone of (GMT +03:00) Europe/Istanbul. The email is sent from a mail server, and it indicates that the "IP Address Ban (Fail2Ban)" is automatically disabled at this time every night. I have to reactivate "Fail2Ban" every day. I have attached...
  9. M

    Issue CPU: Critical: 100.00% saturated

    Or count the uniq IP-addresses in the access_log of the subscription: # cd /var/www/vhosts/<subscription>/logs/ # cat access_ssl_log | awk '{print $1}' | sort -n | uniq -c | sort -n Next, try to block the IP-address that's causing the attack using fail2ban: # fail2ban-client set recidive banip...
  10. P

    Issue block per ip in firewall rules

    Hello all!) I have a BIG 1 rule in my firewall, that blocks connections to server on mail ports (25,110,143,993,995,2525). Why it is BIG? Because in this rule i have a large list of IP addresses and IP blocks/nets (like 46.148.40.0/24). I collect IP addresses which appears in fail2ban...
  11. G

    Resolved Fail2Ban IPv6 banning in Obsidian. Correct Plesk Configuration?

    @Brujo @learning_curve Hi , I read the above posts. My problem is that I can't see nor white or blacklist any IPv6 addresses, but a user seems banned because of repeatedly entering a wrong password and having an IPv6 address. With more people moving from IPv4 to IPv6 I assume this issue will...
  12. Bitpalast

    Issue 100% CPU Usage

    Look into /var/www/vhosts/<subscription of the user you see in the first column>/logs and check access_ssl_log and error_log contents. Normally you'll find lots of bad bot requests there or POSTs coming from the same IP address. Block that address (unless it is your own): # fail2ban-client set...
  13. A

    Question Fail2ban filters do not work

    I have 236 ips banned by recidive but none banned by sasl and nomatch https://serverfault.com/questions/1090637/fail2ban-filters-any-filter-for-this-intrusion-by-internet-search-scanners Anyone know ? fail2ban-regex -v /var/log/maillog /etc/fail2ban/filter.d/nomatch.conf matches 100 ip but i...
  14. Alaa Mansour

    Resolved fail2ban postfix-sasl not working correctly

    can u share the input of this new filter? thanks
  15. DieterWerner

    Resolved Can't switch on fail2ban jail

    But 'intrusion detection' enables just the recidive jail - or am I wrong?
  16. Ehud

    Question AbuseIPDB with Fail2Ban

    Hi, This is now possible. First create an account and get an API key from: https://www.abuseipdb.com/account The create the file: Place in the content: Note: the "" around 'comment=<matches>' were changed to single quotes ''. Note: the curl --tlsv1.2 --fail...
  17. P

    Resolved fail2ban postfix-sasl not working correctly

    I found that the regular plesk postfix configuration in /etc/fail2ban/filter.d/postfix.conf already also filters on the SASL authentication failures. The drawback is, that brute force attackers get only banned for 10 minutes after 5 failure attempts and that with the combined postfix filter the...
  18. S

    Question I installed fail2ban but it doesn't block these attacks and ips

    I installed fail2ban but it doesn't block these attacks and ips Oct 28 19:11:11 server authpsa[487]: No such user '[email protected]' in mail authorization database Oct 28 19:11:11 server courier-imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:85.95.203.99], port=[58892] Oct 28 19:11:16 server...
  19. J

    Question Excessive fail2ban banned hosta may flood memory?

    Thanks for your reply. Yes I’m aware of recidive, I will change the approach to what you suggest, I agree there will be a lot fewer hosts.
  20. JmRy

    Question Fail2ban no ban ... ?

    Hello, I have no banned IP while many failed connection attempts on postfix. I think fail2ban is not working properly on my server. (Obsidian 18.0.34 on Debian 10) Its settings are the original ones and the Plesk jails are enabled fail2ban-client status Status |- Number of jail: 11 `-...
Back
Top