SunQuest
           Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 29th, 2002, 06:34 AM
anilarora15 anilarora15 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: India
Posts: 1 anilarora15 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question IP to Country tracking

I have heard that country can be identified from IP address segment.

Can someone help me how it is possible?

Anil Arora

URL

Reply With Quote
  #2  
Old April 29th, 2002, 08:28 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
If you use PHP you could get the domain name from the IP address then work out the country from that!
__________________
- Sorted!

www.ppfuk.com - Free Photo Sharing

Reply With Quote
  #3  
Old April 29th, 2002, 09:09 AM
noodles1100's Avatar
noodles1100 noodles1100 is offline
Corporate Stooge
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Aberdeen, Scotland
Posts: 134 noodles1100 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
That's fine if you have a .co.uk or a .com.au but genarally a .com can be located anywhere in the world!!
__________________
Never sign your code....it leaves you liable!

Reply With Quote
  #4  
Old April 29th, 2002, 09:35 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
Yeah, always a problem. Suppose you could then do a PHP command to read:

file("http://www.netsol.com/cgi-bin/whois/whois?STRING=" . $domain . "&SearchType=do&STRING2.x=25&STRING2.y=9");

line by line, then parse that to find out the location.

Reply With Quote
  #5  
Old April 29th, 2002, 09:52 AM
noodles1100's Avatar
noodles1100 noodles1100 is offline
Corporate Stooge
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Aberdeen, Scotland
Posts: 134 noodles1100 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
You have far too much time on your hands...

Reply With Quote
  #6  
Old April 29th, 2002, 10:15 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
So incredibly true:

Quote:
so much time and so little to see


Gene Wilder - Willie Wonka and the Chocolate Factory

Reply With Quote
  #7  
Old April 29th, 2002, 11:21 AM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Considering proxies and ip spoofing, telling what country visitor came from through immidiate ip is only slightly better then fortune telling with crystal ball, so if you want to take your chances guessing fine - but just want you to know you damn sure not going to catch someone who doesn't want to be caught.

On the other hand, 99.999% users dont care whether you not your 'trace' them back like that. Heck, even yahoo sticks looked up address in email header so in most cases you can even say what provider letter was sent from.
__________________
And you know I mean that.

Reply With Quote
  #8  
Old May 14th, 2002, 10:11 PM
deepspring's Avatar
deepspring deepspring is offline
Is a Psycho
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: In your computer
Posts: 231 deepspring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to deepspring Send a message via Yahoo to deepspring
Well someone obviously figured out how to trace someone to their P.o.P Host... take a look and give it go:

http://security1.norton.com/ssc/vr_...BMRSJRFSKLUKUMX

It doesn't trace the user right back to their desktop so to speak, but it does give details on the ISP and where their P.o.P location is.
__________________
deepspring

- "Netscape 4 users are like lemmings... You can't help but laugh when one falls off a cliff"

Last edited by deepspring : May 14th, 2002 at 10:14 PM.

Reply With Quote
  #9  
Old May 14th, 2002, 10:17 PM
deepspring's Avatar
deepspring deepspring is offline
Is a Psycho
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: In your computer
Posts: 231 deepspring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to deepspring Send a message via Yahoo to deepspring
Quote:
Originally posted by noodles1100
That's fine if you have a .co.uk or a .com.au but genarally a .com can be located anywhere in the world!!


So can .com.au's and .co.uk's, as well as most other country specific domains...

Reply With Quote
  #10  
Old May 15th, 2002, 02:33 AM
noodles1100's Avatar
noodles1100 noodles1100 is offline
Corporate Stooge
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Aberdeen, Scotland
Posts: 134 noodles1100 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
That's very true, but it would seem a bit stupid to get a .co.uk domain if your company was located in Australia. The point I was making was a general tracking idea, not a definate one.

Reply With Quote
  #11  
Old May 16th, 2002, 02:42 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Quote:
Originally posted by deepspring
Well someone obviously figured out how to trace someone to their P.o.P Host... take a look and give it go:

http://security1.norton.com/ssc/vr_...BMRSJRFSKLUKUMX

It doesn't trace the user right back to their desktop so to speak, but it does give details on the ISP and where their P.o.P location is.

First of all that doesn't tell you correct info if you're using proxy. Besided that, for my 'real' ip it only showed pop at one major city where my ips's headquarters are. Not my local pop, and considering that I live over 100 miles from the Big City - thats even another county - visual route may only tell state and may be region, but no more then that.

Reply With Quote
  #12  
Old May 16th, 2002, 09:25 PM
deepspring's Avatar
deepspring deepspring is offline
Is a Psycho
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: In your computer
Posts: 231 deepspring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to deepspring Send a message via Yahoo to deepspring
AlCapone,

I was merely pointing out that someone has found a way to track someone to their P.o.P. When I tried (with Proxies enabled) it, it traced it all the way back to the P.o.P I dial into (which is incidently 35KM/s away).

I was not saying that it couldn't be fooled, or that it wasn't in accurate, because it can be. I was merely pointing out a proof of concept.


== START RANT #2000 ==

Besides, sometimes tracking a person back to their P.o.P is all you need anyway, because you or the police (more likely) can contact the owners of the P.o.P and ask for copies of their logs.

For example, most people in australia have Caller ID enabled on their phone lines and don't realise it, so their phone numbers aren't hidden when they dialup or make a phone call, which is bad news for a newbie if the P.o.P annex supports CID in the logs and they're tryin somethin stupid. I don't know if other countries like the US support CID on their phone lines though.

== END RANT #2000 ==

Reply With Quote
  #13  
Old June 7th, 2002, 04:12 PM
parker parker is offline
Code Poet
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Boston
Posts: 9 parker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to parker
1. Yes, the U.S. does have CID.

2. It is impossible to be 100% sure on the geographic location of an arbitrary IP unless you physically check. Some IPs are associated with satellites and mobile units such as U.S. Navy ships.

3. That given, it's easy to be reasonably accurate for most purposes such as advertising, drawing pretty graphs, etc., but not for any sort of security purposes.

4. IPv6 will make this a little easier since they plan to farm out address space based, in part, on geographic location.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > IP to Country tracking


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |