How to Blacklist a Range of IPs in cPHulk Brute Force Attack Settings [closed]
In the interface for cPHulk, you can wild-card with the following IPv4 address ranges (in notation used by CIDR or Classless Inter-Domain Routing):
103.26.193.* should be specified in cPHulk as: 103.26.193.0/24
103.26.*.* should be specified in cPHulk as: 103.26.0.0/16
103.*.*.* should be specified in cPHulk as: 103.0.0.0/8
This can be done at the command line or via the WHM interface.
The notation for wild-carding the IP addresses derives from the fact that an IP address is often represented as a 32-bit unsigned integer. For better human readability, we divide this into 4 8-bit bytes separated by dots (dot notation).
In the wild-card notation, the number following the slash indicates how many of the higher-order bits should be considered significant. The examples above show, in order, cases where the first 24 bits (three bytes), 16 bits (2 bytes), and 8 bits (1 byte) are considered significant.
Similar wild-carding / address block notation is specified for IPv6 as well.
If cPHulk is coded correctly, we should even be able to split one of the bytes at an arbitrary bit boundary (but I haven't tested this). The notation should support it.
For more information on the details, one can start with some of the following links:
Wikipedia: Classless Inter-Domain Routing
IPv4 Classes, Subnets, Netmasks, CIDR and NAT
Wikipedia: IP Address