Re: Country to IP range list
From: P. Schmiel (secfoc_at_cybernox.net)
Date: Sat, 8 Jan 2005 11:10:41 +0100 To: email@example.com
as far as i am concerned, the best way is to make an (automatic) whois lookup on the
IP and check the whois reply with a simple script to get the country.
I hope this helps.
--- Pascal Schmiel firstname.lastname@example.org BG> -----Original Message----- BG> From: Dennis Cox [mailto:email@example.com] BG> Sent: Friday, January 07, 2005 6:50 PM BG> To: Kevin Barzdaitis; firstname.lastname@example.org BG> Subject: RE: Country to IP range list BG> Kevin, BG> Why not put all the IP to Country information in a database. Then BG> search based on Country to find the IP's associated. BG> Dennis BG> -----Original Message----- BG> From: Kevin Barzdaitis [mailto:email@example.com] BG> Sent: Thursday, January 06, 2005 9:02 PM BG> To: firstname.lastname@example.org BG> Subject: Country to IP range list BG> Hello, all! BG> I have a situation here where specific services shall be offered ONLY to BG> specific countries. I think of blocking all IP addresses (on the BG> firewall) BG> for specific servers and allowing only IP ranges by Country. I was BG> wondering BG> if there exists publicly available list of "Country to IP ranges". I was BG> only able to find "IP to Country" mappings, but i need to check every BG> address specifically. BG> Thanks! -- Best regards, P. mailto:email@example.com