/traffic-jammer

WordPress plugin to block IP and bots categorized as harmful, resulting in heavy server loads from frequently crawled pages, or utilized in vulnerability/security breach scans

Primary LanguagePHP

Traffic Jammer

Contributors: slick2

Tags: security

Requires at least: 4.7

Tested up to: 6.1

Stable tag: 1.0.9

Requires PHP: 7.4

License: GPLv2 or later

License URI: (https://www.gnu.org/licenses/gpl-2.0.html)

Description

The poormans WAF. WordPress plugin to block IP and bots categorized as harmful, resulting in heavy server loads from frequently crawled pages, or utilized in vulnerability/security breach scans. The plugiin can block:

  • Single IP
  • Range of IP using CIDR format
  • User agents
  • Known bad bots

When adding an IP, use the formats listed below.

IPv4 IPv4 Address 192.168.1.1
IPv4 CIDR range 192.168.1.0/24
IPv6 IPv6 Address 2001:4450:49b6:9900:6498:6f80:4b15:240a

Command Line

  • Block an IP using wp-cli
wp jam block <ip>

Unblock an IP using wp-cli

wp jam unblock <ip>

Installation

  1. Download the plugin via the github release page
  2. Upload the compress archive through the 'Plugins > Add New > Upload' screen in your WordPress dashbboard
  3. Activate the plugin through the 'Plugins' menu in WordPress