cravlAndBlock is simple java application that cravl error log file of Your web server and add all attacker IPs.
I.E. All Modsecure entries, scans and so on.
Every bad IP will be added to hosts.deny file with ALL prefix.
For sure it will not block all atacks but it will help.

How it works: use cron to start java cravlAndBlock.jar in the same folder add properties.xml (I addes sample properties.xml file).
And thats all.

Program will start from cron, read properties file and
make backup of hosts.deny file in backu location,
cravl log file / files and add entries to hosts.deny file.
It will print log information on the screen.

If You are interested in cravl and block project please make a small donation for the author by paypal (to mail tjancz@gmail.com). Those donation will make the project live. Everyone needs to eat something:)

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow cravlAndBlock

cravlAndBlock Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cravlAndBlock!

Additional Project Details

Operating Systems

Linux

Languages

English

User Interface

Non-interactive (Daemon)

Programming Language

Java

Database Environment

XML-based

Related Categories

Java Security Software, Java HTTP Servers, Java Log Analysis Software

Registered

2013-12-26