• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Search results for query: "Fail2Ban" "recidive"

  1. P

    Question Rate Limiting

    If the pages really exist, you can only manually ban the IP, e.g. # fail2ban-client set recidive banip <ip address goes here> But if you find a file that responds with a code 200 but is actually not a valid page of the site, you could use that to detect the bot and ban it automatically.
  2. P

    Question When gmail is the mail provider, should our maillog show auth attemps?

    It is also common that others try to break into mailboxes by brute-force attacks. It can help to have Fail2Ban in place and the Postfix, Dovecot and Recidive rules active.
  3. T

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

    @D4NY You should NOT disable "recidive ban" (I think that you mean to say "recidive jail"). What is not clear to me : what is the IP of your own server? Could that be - coincidentally - 54.36.113.226???? If yes, then do NOT block your own IP address, not on via the Plesk firewall and not...
  4. D4NY

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

    No, obviously is not the IP of my server. But it's geo located at OVH and i found it in the IP list (whitelist?) in Fail2ban. Anyway i'm banning 193.24.210.0/24 via Plesk Firewall right now (incoming / all TCP and UDP / all ports)
  5. K

    Issue fail2ban: Plesk does not correctly create jail.local (or is it correct?)

    More than 3 years later I allow myself a push post. - bantime of recidive was set to 604800, but not in the jail.local => still a problem - horde should be enabled=false or removed, because I do not have this jail in my list as Horde is not installed (it was for 5 minutes, then I switched to...
  6. brother4

    Input Plesk Fail2Ban: Integration for AbuseIPDB

    Hello! If you want to report the blocked Fail2Ban IPs from Plesk to the AbuseIPDB, you can do this with the following shell script I created. This increases the likelihood that hosters will become active and infected systems will be uncovered. It includes a check that already reported IPs are...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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.
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. Alaa Mansour

    Resolved fail2ban postfix-sasl not working correctly

    can u share the input of this new filter? thanks
Back
Top