Blacklisting Network Range on django-blacklist

37 Views Asked by At

I've noticed recently that my django-website is being crawled by a number of spammy bots, so while looking for a way to block this IP-range I came across django-blacklist. It works well for the most part, and I've successfully blocked single IPs, but when I tried to block a range (51.222.253.0 - 51.222.253.255), it seems to be unsuccessful. My inputs were: Address = 51.222.253.0 & Prefixlen = 24 (see image below).

I've read the docs, and can't seem to get more clarity on this topic, however, this isn't a strong suit of mine so let me know if I've done something wrong. All help is appreciated!

django-blacklist screenshot

0

There are 0 best solutions below