# CIDR Block Rule doesn't seem to work

**URL:** https://meta.discourse.org/t/cidr-block-rule-doesnt-seem-to-work/339539
**Category:** Support
**Created:** [November 30, 2024, 7:24pm UTC](https://meta.discourse.org/t/cidr-block-rule-doesnt-seem-to-work/339539 "2024-11-30T19:24:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BrightMoon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brightmoon/32/459753_2.png) [@BrightMoon](https://meta.discourse.org/u/BrightMoon)
#### Post date: [November 30, 2024, 7:24pm UTC](https://meta.discourse.org/t/cidr-block-rule-doesnt-seem-to-work/339539/1 "2024-11-30T19:24:22Z")

</div>

I have an entry under Screened IPs to Block 223.176.0.0/12. Had a new spammer create an account from 223.176.61.159. Are there other admin settings that affect these rules being active? Or, what is going on here? This isn’t the only example.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 30, 2024, 7:55pm UTC](https://meta.discourse.org/t/cidr-block-rule-doesnt-seem-to-work/339539/2 "2024-11-30T19:55:33Z")

</div>

hmmm, I’m not sure if that CIDR is correct. have a look here:

[https://www.ipaddressguide.com/cidr](https://www.ipaddressguide.com/cidr)

> **[Classless Inter-Domain Routing | CIDR blocks](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_blocks)**
>
> CIDR is principally a bitwise, prefix-based standard for the representation of IP addresses and their routing properties. It facilitates routing by allowing blocks of addresses to be grouped into single routing table entries. These groups, commonly called CIDR blocks, share an initial sequence of bits in the binary representation of their IP addresses. IPv4 CIDR blocks are identified using a syntax similar to that of IPv4 addresses: a dotted-decimal address, followed by a slash, then a number fro...

---

<div class="post-metadata">

### Author: ![BrightMoon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brightmoon/32/459753_2.png) [@BrightMoon](https://meta.discourse.org/u/BrightMoon)
#### Post date: [November 30, 2024, 8:33pm UTC](https://meta.discourse.org/t/cidr-block-rule-doesnt-seem-to-work/339539/3 "2024-11-30T20:33:05Z")

</div>

Based on;

> **[IP2Location LITE](https://lite.ip2location.com/india-ip-address-ranges)**
>
> IP Address Geolocation to Country, City, Region, Latitude, Longitude, ZIP Code, ISP, Domain, Time Zone, Area Code, Mobile Data, Usage Type, Elevation and so on.

the range this spammer’s IP belongs to, and therefore I am trying to block is;

223.176.0.0 - 223.191.255.255

We have garbage–and only garbage not legitimate posts–coming in from other IPs in this range.
