IP Address tracking!?

Started by SergeantAsh, May 29, 2006, 07:18:53 AM

Previous topic - Next topic

SergeantAsh

Guys,

A few times I've noticed that the IP address tracking seems a be a bit inaccurate within the forum? People have commented that the IP addresses shown alongside their messages have been different to the IP tracked on other forums - also I've noticed that SMF seems to show others users are on the same range when they cannot be, i.e. connected via completely separate ISPs.

Any ideas?

Cheers, ASh
Quote"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

H

SMF uses the same IP address recognition that other php scripts user. It gets the IP address from the header therefore it isn't possible for it to be incorrect (unless of course the user is spoofing their IP).

Note that some users may use proxys or be routed via different countrys in the case of AOL
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Calzone

My guess is that SMF is getting the IP from the PHP variable $_SERVER["REMOTE_ADDR"] and that is set by your httpd. So if the IP does not mach up there is a problem with your httpd.
Greetings
Calzone

SergeantAsh

Whats HTTPD? Sorry but not entirely familiar with PHP, more of an ASP person.

I do note what you say RE AOL though, sounds feasible.

Appreciate your help.
Quote"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

Calzone

HTTP daemon, its the name for the webserver on a *NIX system.
Greetings
Calzone

H

httpd = webserver which is usually apache.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: