In trying to identify the country a user logs in from, or to block country ranges for whatever reason (for example regulatory requirements) what tools, whether online or offline, are available?
Pasting your IP address[ 18.104.22.168 ] in the above website gives:
Country : Bosnia and Herzegovina
ISP : Logosoft, information engineering and Internet providing
You can Internet pings on Windows platform using a procedure such as
If you are using Linux then you can use iptables to configure access controls but I think IP address to country location mapping is based on the data provided by IANA(Internet Assigned number authority).
Use whois: http://tools.whois.net/whoisbyip/
Or/and you can try IP address geolocation services, like:
If you are on the go and have an android phone...I have created a Android based IP-Geolocation tool that uses the Maxmind database to geolocate IP addresses. You can find it in the android market (search Geo IP) or download it from my website.
Also you can use the chrome extension that I created here
One of the problems with finding the location of an IP address is that they change frequently.
Currently the addresses between 22.214.171.124 and 126.96.36.199 are assigned to BA (Bosnia and Herzegovina)
We use the service at http://www.maxmind.com/app/geolitecity to import the current list of IP addresses and the code from http://www.sqlservercentral.com/articles/SQL+Server/67215/ which allows us to have the address look-up internally.
This IP geolocation search is made to help you quickly find the physical location of an IP address or domain name. It displays on a Google Map with additional whois information. The data comes from MaxMind and multiple whois databases.
Show the server location of the current page in the status bar.
Displays a country flag depicting the location of the current website's server and provides a multitude of tools such as site safety checks, whois, translation, similar sites, validation, URL shortening, and more...
Displays Geolocation information for a website using hostip.info data. Works with all versions of Firefox...
REAL location of web server,IP,Datacenter,Ping,Traceroute,RDNS,AS. Often shows different countries from similar add-ons,because it is based on data from core routers worldwide,and not on whois data.Real Google's data centers.Providers looking glasses
Displays Server Type, Headers, IP Address, Location Flag, and links to Whois Reports. Shows links to check server status and cache when page fails to load.
This extension shows a country or region flag indicating the location of the website you're visiting. And the following information will be shown in the popup: • Country or region name • Domain name and IP address • Geo information • Google PageRank • Alexa Rank • WOT (Web of Trust) information • Copy domain name and IP address to clipboard
If you click the icon in the a tab that opened a web page, it shows the IP address of current web site, locate the IP geolocation on the map.
Porting of FlagFox to Chrome. Displays a country flag indicating the location of the websites you're visiting
See the geolocation, DNS, whois, routing, hosting, domain neighbors and ASN information of every IP address.
If you have the IP,you can submit it in http://www.whoisxy.com/ and get the country details registered with the particular IP.