Print Page | Close Window

Whitelisting using CIDR?

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7165
Printed Date: 26 December 2024 at 9:39am


Topic: Whitelisting using CIDR?
Posted By: yapadu
Subject: Whitelisting using CIDR?
Date Posted: 17 January 2020 at 10:54pm
I'm trying to do whitelisting by CIDR, like this:

209.85.222.0/16

Doesn't seem to have any impact.

I found a VERY old thread where using CIDR was talked about for blacklisting

http://www.logsat.com/SpamFilter/Forums/topic6356&OB=DESC.html" rel="nofollow - http://www.logsat.com/SpamFilter/Forums/topic6356&OB=DESC.html

However, I've found nothing about whitelisting using a CIDR.  Can anyone confirm, if it is supported or not?  Or am I just doing something wrong?


-------------
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk.



Replies:
Posted By: LogSat
Date Posted: 18 January 2020 at 5:20pm
Sorry yapadu,

The CIDR notation is only available in the IP blacklist, not in the whitelist. However... In the IP whitelist you can for example enter this wildcarded entry for the /16 subnet:

192.168.*

Note that the above notation will only block 192.168.0.0 --> 192.168.255.255. It will not interfere with substrings (IPs that contain 192.168 in them), for example it will *not* block:
1.192.168.2



-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: yapadu
Date Posted: 20 January 2020 at 7:53pm
Oh, you can use a wildcard a low as the 3rd octet?

So these would be valid?

192.168.*
192.168.2*
192.168.12*

192.168.2.*
192.168.2.1*

All those would be OK?


-------------
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk.


Posted By: LogSat
Date Posted: 20 January 2020 at 10:15pm
Yes correct - it will work even for the first octet (192.*).



-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP



Print Page | Close Window