|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
IP list
Hi,
I was wondering if i could download a list of IP addresses. I want to be able to check an ip (possibly need to be first few digits) against a country/area.... thanks, comp |
|
#2
|
||||
|
||||
|
Just make some up, they would all be used by now so chances are youre gonna get one.
Or you got access to some server log files, plenty picking in there normally. |
|
#3
|
||||
|
||||
|
what?
|
|
#4
|
||||
|
||||
|
You asked for a list of IP addresses to download. Right?
I am saying that you can make your own list in a few minutes just by pinging IP addresses to see if they respond. eg just then I following I found 65.36.123.1 65.33.123.1 65.33.113.1 There are so many different IP addresses and most of them are in use so it will be quick before you have a list. But if you want it quicker the log files on a server record all the IP addresses that access it. Using regular expressions you can write quick script to spit out all the IP addresses in a file. |
|
#5
|
||||
|
||||
|
okay, but how do i find the countries?
|
|
#6
|
||||
|
||||
|
Well the TCP/IP protocol is location-less. But certain ranges have been assigned to certain contries. You will need to get one of those IP2Location databases and lookup the IP address against the DB. Search the forums and you will find heaps of threads.
|
|
#7
|
|||
|
|||
|
The IP-to-Country Database and Tools
|
![]() |
| Viewing: Dev Shed Forums > Other > Dev Shed Lounge > IP list |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|