|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Banning Hackers by country. Which IP ranges belong to which countries?
I want to ban certain countries from accessing my web pages but I would like to know where I can find out which ip's belong to which countries?
Like for instance 213.x.x.x seem to be mostly english and maybe some european country's IP's. Reason for this being that I tired of hackers and since my website targets only the people in my country, I thought the best way to stop hackers is by blocking whole IP ranges. I have a long list of hackers IP's and a lot of them seem to be coming from 172.x.x.x, 80.x.x.x, 81.x.x.x and 82.x.x.x. I would just ban them now but I want make sure I'm not being too hasty and blocking users from my country. That's why I would like to know where I can find out more about these ranges or subnets or whatever they're called. Also any other links to resources for finding out more info about the ip where the attempted hack originated, would be much appreciated. |
|
#2
|
|||
|
|||
|
Just remmembered.
A way of finding out if an IP is static or dynamic would be good. Last edited by kolatracks : September 4th, 2003 at 08:02 PM. |
|
#3
|
|||
|
|||
|
Although banning IPs is a way to keep certain people from accessing your site, you may want to look at the bigger picture......why is your site so vulnerable? If you have a problem with your site getting hacked then you either need to patch your server or re-evaluate the code you're using on your site.
|
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
whois -h whois.arin.net {netblock}
i.e. whois -h whois.arin.net 212.0.0.0 Should give you some info on country of origin. The smallest block that is delegated is I believe a /24 (1 single C class), so you shoul dbe able to search down to that level. -Gary |
|
#6
|
||||
|
||||
|
|
|
#7
|
|||
|
|||
|
Thanks for the useful links everyone.
I've banned a whole load of of IP's and so far not even one atempted hack. At last I have some peace now. Thanks. [damonbrinkley] Thankfully, as far as I know, I've never been succesfully hacked, I'm just getting tired of them wasting my badwidth. What pushed me over the edge was some a-hole who was trying, every 33 secs, for 5 days, to infect my server with a variety of trojans. Thankfully my firewall held up. Thanks once again guys for the links. Especially thanks to infamous41md. That's exactly what I wanted. Last edited by kolatracks : September 7th, 2003 at 04:12 AM. |
|
#8
|
|||
|
|||
|
the european and american people are likely the most evil hackers/crackers! ban them.
you may use geoIP from URL |
|
#9
|
|||
|
|||
|
I have red hat 9 server and I want to also block out countrys, how do I block Ip ranges? with IPCHAINS , I know theres a file I can add them To I just forgot what it was.
thanks |
|
#10
|
|||
|
|||
|
Here is a good short list to "start with" if you are looking to block connections from Asia.
61.0.0.0 - 61.255.255.255 169.208.0.0 - 169.223.255.255 202.0.0.0 - 203.255.255.255 209.216.96.1 - 209.216.96.254 210.222.196.1 - 210.222.196.254 211.115.210.1 - 211.115.210.254 211.202.13.1 - 211.202.13.254 218.0.0.0 - 218.255.255.255 220.0.0.0 - 220.255.255.255 222.0.0.0 - 222.255.255.255 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Security and Cryptography > Banning Hackers by country. Which IP ranges belong to which countries? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|