IP address list

Discussion in 'Site & Server Administration' started by DarrenC, Jun 17, 2005.

  1. #1
    Hullo folks! :)

    Anyone know of a list online I can get for country specific ip addresses?

    Cheers

    Darren :D
     
    DarrenC, Jun 17, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Do you mean domains or actual IP addresses?
     
    digitalpoint, Jun 17, 2005 IP
  3. Michael

    Michael Raider

    Messages:
    677
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    150
  4. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Michael.. helpful as ever! cheers!

    What I would really really love is a list of a country and the ip address next to it, basically so I can block out browsers from specific countries from viewing the website via the .htaccess file.
     
    DarrenC, Jun 17, 2005 IP
  5. Michael

    Michael Raider

    Messages:
    677
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    150
    #5

    The problem is that it is not just one range for each country it's many thousands of ranges for each country. Definitely not something you would want in your .htaccess :)

    - Michael

     
    Michael, Jun 17, 2005 IP
  6. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm, so am I best just entering individual IP addresses?
     
    DarrenC, Jun 17, 2005 IP
  7. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You can dump them in a database and present a nice F Off! to those you don't want. Or a 404.

    I use the GeoMax DBs.
     
    T0PS3O, Jun 17, 2005 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    No joke. The more detailed the info, the larger the number of records you are going to have. For example to drill down to country -> region -> city it's about 1.8M records in the database for this tool:

    http://www.digitalpoint.com/tools/website-country/
     
    digitalpoint, Jun 17, 2005 IP
  9. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks folks! 1.8M records.. jaysus! :eek:

    T0PS, good idea with the database, I'll check that out!

    Darren :)
     
    DarrenC, Jun 18, 2005 IP
  10. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #10
    What you can do is sign up at maxmind.com , get a paid subscription. They have scripts for php, pearl etc . Intergrate it with a code of php to check what country they are from? Allow the onces you want in and redirect the onces to another page or maybe another website.

    Why do you want to exclude certain visitors? To lower your CTR for Adsense or?
     
    crazyhorse, Jun 18, 2005 IP
  11. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Good suggestion Crazy! I'll look into that :)
     
    DarrenC, Jun 18, 2005 IP