IP blacklist by subnet
-
Hi folks,
how can I blacklist IPs by subnet or at least IP ranges, e.g.
123.123.123.80/28
123.123.123.80-123.123.123.95
123.123.123.123/255.255.255.0Why? because…
– just blacklisting it with 123.123.123.* is not the same
– .htaccess does support regex
– .htaccess does support subnets
– .htaccess does support net masksFor a list of valid IP directive syntaxes, see here:
https://htaccessbook.com/block-ip-address/But such entries are treated as invalid when entering it in an IP box (no matter if blacklist or whitelist). For me, it looks like a bug.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘IP blacklist by subnet’ is closed to new replies.