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?

  • 1
    Looks to me like it's assigned to an ISP in Sarajevo, Bosnia. Can you explain a bit more about how you need to "protect" yourself? Are you experiencing some specific attack originating from that IP?
    – Xander
    Dec 27, 2010 at 15:59
  • 1
    Can you reword your question...as it stands, it is difficult to tell exactly what you are wanting to do. If you just wish to geolocate IP addresses, Tate's advice is simple to follow. If you wish to block an IP address that is simple as well. Are you wanting to block entire ranges based on country?
    – Rory Alsop
    Dec 27, 2010 at 18:09
  • 4
    @Rory: And if its just about geolocation, it should be on serverfault.com...
    – AviD
    Dec 27, 2010 at 20:13
  • @Herr, is there a reason you think this question should be on ITSecurity? @Rory lets give him a chance to explain or elaborate before modclosing...
    – AviD
    Dec 28, 2010 at 19:17
  • 2
    Because besides being an server releated issue, this is more a thing for IT Security since it has to do with abuse to a system. This is why it's here, and i think i'm gonna delete it anyway before causing any confusion. And thank you for the chance to speak, this should definitely be like this.
    – Herr
    Dec 28, 2010 at 20:15

6 Answers 6



Pasting your IP address[ ] 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).


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 and 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.


Firefox extensions:


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.

Chrome extensions:


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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .