Re: [exim] finding subnet an ip belongs to ..?

Pàgina inicial
Delete this message
Reply to this message
Autor: Mr Shunz
Data:  
A: exim-user
Assumpte: Re: [exim] finding subnet an ip belongs to ..?
Hi,

> Hi my servers are getting spam from the ip's below (rbl's are not
> catching them) how can I block the whole ip ranges that these ip's
> belong to ? How do I figure out the netmask / Mask Bits .. All the
> calculators I have found so far only work for class A,B and C networks ..


you can use simply "whois"

#whois 67.205.81.186

returns:

Groupe iWeb Technologies inc. IWEBGROUP (NET-67-205-64-0-1)
                                  67.205.64.0 - 67.205.95.255
K T Tran BODHOST-COM-CL-T039-480CN (NET-67-205-81-184-1)
                                  67.205.81.184 - 67.205.81.191


# ARIN WHOIS database, last updated 2008-03-27 19:10
# Enter ? for additional hints on searching ARIN's WHOIS database.

so use a calculator to find that it's 67.205.81.184/29

--
Daniele Santi .o.
MrShunz@??? ..o |,,,/_
Linux User #415108 ooo
---------------------------------------------------------
() ascii ribbon campaign - against html mail
/\ - against microsoft attachments
---------------------------------------------------------