[CentOS] ip address from range script

Thu Jul 29 14:40:44 UTC 2010
Todd Denniston <Todd.Denniston at tsb.cranrdte.navy.mil>

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"
> cat "TEST-B.txt"
> -> 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.
and (If I read correctly) it is available in EPEL

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter