An open API service indexing awesome lists of open source software.

https://github.com/aran112000/nope-php

Nope! A lightweight tool for monitoring your log files and dynamically blocking nuisance or malicious IPs based on easy to define, dynamic rules which you control
https://github.com/aran112000/nope-php

anti-bot attack-prevention ban-hosts ban-management ips linux log-analyzer monitoring php php-cli rate-limiting security

Last synced: 5 days ago
JSON representation

Nope! A lightweight tool for monitoring your log files and dynamically blocking nuisance or malicious IPs based on easy to define, dynamic rules which you control

Awesome Lists containing this project

README

        

# Nope!

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3f7cf9825bf8444eb279e51360d87a1f)](https://app.codacy.com/manual/cdtreeks/nope-php?utm_source=github.com&utm_medium=referral&utm_content=aran112000/nope-php&utm_campaign=Badge_Grade_Settings)

The log processing framework for blocking those pesky bots!

Designed as a fully customisable framework to process your log files in realtime block any activity identified as malicious using `iptables` and `iplist`.

## Installation
If you're using composer, simply run:
```console
composer require aran112000/nope-php
```

## Current expected Nginx access log format
```console
'[$time_local] $request_method $scheme://$host$request_uri "$request" "$status" "$http_x_forwarded_for" "$remote_addr" "$remote_user" "$bytes_sent" "$http_referer" "$http_user_agent" "$sent_http_content_type"'
```

## Requirements
* PHP >= 5.6.*
* PHP Redis extension installed _(if you want to track hits over time)_
* Log files for us to process in realtime

### Getting pesky /wp-admin requests?
Check if your vhost supports Wordpress in realtime and if not, respond blocking the IP for a length of time you dictate.