Welcome to WebmasterWorld Guest from 54.198.93.179

Forum Moderators: phranque

Message Too Old, No Replies

IP address tracking

     
10:17 am on Aug 11, 2011 (gmt 0)



Don't know if Iam on the right section to ask this Q and if this was been raised here before but kindly help a newbie here.

How does a website or search engine track an IP address for every PC unit? What about the case for an internet cafe? Thanks for shedding light to my path here :)
8:27 pm on Aug 11, 2011 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



What, exactly, do you mean by track? (Sorry. You know exactly what you mean, but we don't.) The IP is in the raw logs. What you do with the logs depends on you and your log-wrangling software. The busier your site is, the more complicated it gets. If you're dealing with something like public WiFi, you'd have to look at the User Agent to get meaningful information.* And if it's a public terminal, as in a library, you're not likely to get much of anything useful.


* Unless you are the Chinese government and are only concerned with whether the IP exists at all. (Different thread.)
8:33 pm on Aug 11, 2011 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



A website cannot see the individual IP addresses for each PC. It sees the IP address of your router.
10:09 pm on Aug 11, 2011 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



!
Is that what you need to find out? How to identify an individual user when there are lots of them going through the same router? You're not spying on your employees are you? In this case you need to look at the UA. They will rarely be identical, unless you buy your computers in batch lots and the only people who can install software are technicians who come round and hit all computers in a single sweep. (This is rare. If I check something on my library computers I can tell which one I used because they were all inherited from different people at different times.) There's a pretty recent thread somewhere hereabouts linking to a site that illustrates just how distinctive your browser is. Probably in the foo forum.
11:08 am on Aug 12, 2011 (gmt 0)



Thanks for your clarification g1smd, @lucy24 what is UA? As I have said I am a newbie so expect me not to have an idea on this at all and where can I find the foo forum thread? Just wanted to know how websites manage to find out my IP address and an internet cafe with multiple PC units. Any further clarifications from you and anyone from this forum will be highly appreciated. Tons of thanks :)
3:57 pm on Aug 12, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



UA stands for user-agent, i.e. the browser. Your browser also gives out a few dozen other nuggets, like screen size, installed flash version, plugins, browsing history, etc... That can also help to uniquely identify your machine.

If you want to take it one step further, you could add persistent flash cookies to the mix.
8:18 pm on Aug 12, 2011 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



The information is automatically sent out by the browser (or other "User Agent") before it ever picks up your page. Most browsers also send information about how the user got to your site. If you have a site of your own, you should look at your raw logs. A typical entry will look like this (I'll pick a well-known robot so I don't have to obfuscate anything):

208.115.111.246 - - [09/Aug/2011:02:41:09 -0700] "GET /hovercraft/index.html HTTP/1.1" 403 1272 "-" "Mozilla/5.0 (compatible; DotBot/1.1; http://www.dotnetdotcom.org/, crawler@dotnetdotcom.org)"


This breaks down to:

208.115.111.246 the IP address of the visitor. The number could be anything from an individual human with a fixed IP address (typically a high-speed connection such as a cable modem) to a workplace all going through one great big router

- - I have no idea what the two separate hyphens mean. Someone else will tell us both. I have never seen text in this location.

[09/Aug/2011:02:41:09 -0700] time to the nearest second, in brackets, here expressed in local time with its relationship to, uhm, UTC? (Thing that used to be Greenwich Mean Time.) I happen to live in the same time zone as my server.

"GET /hovercraft/index.html HTTP/1.1" The request sent by browser (or robot, or other) to your site. GET means the whole page. HEAD means basic information about the page. In general, human browsers use HTTP/1.1 while some robots may use 1.0 instead.

403 1272 The first number is the result of the request, here 403 meaning "get lost". This particular robot never got past the htaccess file. The second number is the size in bytes of the file they got instead, here the custom 403 page. (The one humans see if they blunder into an index-less directory.)

"-" in quotation marks is the "Referer" (sic) meaning what they clicked to get to your site, or who asked for the file (images will typically give the page they're on as referer). Robots generally have no referer. But neither do some human browsers, and neither do bookmarks or type-ins.

"Mozilla/5.0 (compatible; DotBot/1.1; http://www.dotnetdotcom.org/, crawler@dotnetdotcom.org)" again in quotes. This is the UA or "User Agent"-- if you're thinking strictly of humans, the browser. If a robot has an unpredictable IP address, they may be locked out by UA instead.

You can't get this information directly from your html, but in addition to looking at logs you can also get it "live" via javascript.
11:36 pm on Dec 9, 2011 (gmt 0)



I think spyjunior wants to ask " How the gaming sites or .tv sites who restrict the visitors from other regions like china, india etc check or track the visitors? ". Am i right?

And I shall add one more question. Can the users using VPNs also be tracked by their original IP address?
11:29 am on Dec 12, 2011 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I am using a remote proxy regularly because of the lousy network I am normally on and the proxy I use is configured to forward no IP address information from the client side to the outside world. The same can hold for VPN configurations.

The IP address of the client cannot be tracked in such a situations but I have encountered sites which blocked me anyway because the IP address of the proxy was located in a data center, rather than on a residential address. I guess this had to do with scraper blocking though, rather than blocking individual visitors from a specific set of countries.
6:28 pm on Dec 16, 2011 (gmt 0)



Dear lammert!
Here I have one question. As you said that the IP address of a client can't be tracked using a proxy or VPN, can Google and other CPA affiliate networks also not track the people who click on their own ads using such IP solutions? If yes, Its very easy to increase adsense earnings.
6:47 pm on Dec 16, 2011 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Ad networks often use cookies to track users. Cookies are stored on the local computer and sent with every page request to the server and will therefore be passed transparently through proxy or VPN setups. Although the ad network won't know your private IP address, it will still know your previous ad view/click behavior.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month