antispamsniper.com Forum Index antispamsniper.com
The reliable anti-spam protection
 
 FAQFAQ   SearchSearch     ProfileProfile   Log inLog in   RegisterRegister 

Intervals IP

 
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat!
View previous topic :: View next topic  
Author Message
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Sun Apr 27, 2008 7:03 am    Post subject: Intervals IP Reply with quote

Hello,

With a black rule (or an other means), can I block a mail with an IP situated in an interval.

For example, between 92.80.0.0 and 92.82.255.255

In advance, thanks for your reply.

Regards.
Back to top
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 751

PostPosted: Mon Apr 28, 2008 6:54 pm    Post subject: Reply with quote

Here is a rule for blocking the messages having in headers IP from the interval 92.80.0.0 - 92.82.255.255:
Code:
Header{Received} =~ 92\.80\.\d{1,3}\.\d{1,3}

\d{1,3} matches a sequence of 1 to 3 digits
\. - quoted "."
Back to top
View user's profile Send private message Send e-mail
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Tue Apr 29, 2008 3:23 am    Post subject: Reply with quote

Hello,

Thanks, but in 92\.80\.\d{1,3}\.\d{1,3}, I do not see where are the numbers between 80 and 82 (92.80.0.0 - 92.82.255.255)

Perhaps three strong conditions?

92\.80\.\d{1,3}\.\d{1,3}
92\.81\.\d{1,3}\.\d{1,3}
92\.82\.\d{1,3}\.\d{1,3}

Regards.
Back to top
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 751

PostPosted: Tue Apr 29, 2008 4:50 am    Post subject: Reply with quote

Sacles wrote:
Hello,

Thanks, but in 92\.80\.\d{1,3}\.\d{1,3}, I do not see where are the numbers between 80 and 82 (92.80.0.0 - 92.82.255.255)

Perhaps three strong conditions?

92\.80\.\d{1,3}\.\d{1,3}
92\.81\.\d{1,3}\.\d{1,3}
92\.82\.\d{1,3}\.\d{1,3}

Sorry, I didn't notice "2". It is still possible to use only one condition:
Header{Received} =~ 92\.8[0-2]\.\d{1,3}\.\d{1,3}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group