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