Re: ip address from range script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jozsi Vadkan wrote, On 07/29/2010 09:54 AM:
> TEST-A.txt: list of ip address ranges [AS/isp's in a country]
> TEST-B.txt: list of ip addresses
> 
> I just need to know, if an ip in the TEST-B.txt is in a range of
> TEST-A.txt
> 
> cat "TEST-A.txt"
> 63.31.63.0/24;9007;44536
> 
> cat "TEST-B.txt"
> 63.31.63.2
> 
> 
> -> so is an ip address [in TEST-B.txt] is from my country [TEST-A.txt]
> or not?
> 
> thanks:\
> 

perhaps the tools linked to from the following list message(s) will be of use in creating the tool
you want.
http://lists.centos.org/pipermail/centos/2009-December/087863.html
and (If I read correctly) it is available in EPEL
http://lists.centos.org/pipermail/centos/2009-December/087866.html

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux