?
Solved

Block an IP

Posted on 2009-04-20
1
Medium Priority
?
324 Views
Last Modified: 2012-05-06
How to block an IP if I get 200 hits from that within 24 hours?

I'm using CentOS 5.
0
Comment
Question by:marchent
1 Comment
 
LVL 29

Accepted Solution

by:
fosiul01 earned 2000 total points
ID: 24185068
HI
you can use fail2ban for this

it will bann ip for apache, sshd , mail and other if attempt is too much

http://tuxtraining.com/2008/03/05/preventing-brute-force-attacks-with-fail2ban
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month17 days, 5 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question