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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Gregory Machin
日付:  
To: D Hill
CC: exim-user
題目: Re: [exim] finding subnet an ip belongs to ..?
D Hill wrote:
> On Fri, 28 Mar 2008 at 13:40 +0100, mrshunz@??? confabulated:
>
>
>> 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
>>
>
> You can also find that out without a calculator by looking at the net
> name:
>
> %whois -a NET-67-205-81-184-1
> ...
> NetRange:   67.205.81.184 - 67.205.81.191
> CIDR:       67.205.81.184/29
> ...

>
> -d
>
>

Thanks for the leads will do as advised ..

--
Gregory Machin
CT-Net
www.ct-net.org
greg@???
phone : +27 12 379 3497
fax : +27 12 379 4113
Cell : +27 72 524 8096

humans do not use the address
below its for trapping spam.
spamtrap -imasucker@???