#6323 - IP ban consolidation tool

  • By
  • Added
  • 7 views
Identifier #6323
Issue type Feature request or suggestion
Title IP ban consolidation tool
Status Open
Version 11 beta8
Addon core
Description Add a tool that will look over the current list of IP bans and modify it such that when several IPs from similar groups have been banned, they will be combined into a single wildcard ban.

Make the tool prompt for how many similar IP addresses are needed before the tool groups them into a wildcard. Default is 10.

For example, if the specified number is 10, then:
  • If 10 or more IP addresses were banned from 1.2.3.*, then they will be combined into a single 1.2.3.* ban
  • If 10 or more *wildcard* IP addresses were banned within 1.2.*.* (e.g., 1.2.3.* counts, but 1.2.3.4 does not), then they will be combined into a single 1.2.*.* ban
…in that order.

The tool should also remove duplicates:
  • For example, 1.2.3.4 will be removed if 1.2.3.* already exists
  • For example, 1.2.3.* will be removed if 1.2.*.* already exists

Do not go beyond half of the bits in the IP address according to the IP version (2 for IPv4, 4 for IPv6).
Additional information This will help reduce the IP ban length of Apache .htaccess and will help mitigate further threats from problematic IP groups.
Funded? No
Edited
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated