Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Aquilo on March 31, 2004, 12:28:24 AM

Title: odd guest 0.0.0.0?
Post by: Aquilo on March 31, 2004, 12:28:24 AM
is this normal?
http://www.xtram.net/banners/odd_guest.png
Title: Re: odd guest 0.0.0.0?
Post by: [Unknown] on March 31, 2004, 12:47:00 AM
I've just messed with the IP detection code a lot more.

-[Unknown]
Title: Re: odd guest 0.0.0.0?
Post by: babylonking on March 31, 2004, 10:12:24 AM
I have 2 members from newzealand the IP of both of them show as 0.0.0.0  ::)
Title: Re: odd guest 0.0.0.0?
Post by: Aquilo on March 31, 2004, 03:39:55 PM
are these the new IPv6 being missreported?
Title: Re: odd guest 0.0.0.0?
Post by: Fizzy on March 31, 2004, 05:45:51 PM
Could it be an anonymizer?
I get plenty of IP addresses showing as "Unknown" - they get blocked.
Title: Re: odd guest 0.0.0.0?
Post by: jack on March 31, 2004, 05:54:22 PM
Many proxies add an HTTP header (X-PROXIED-FOR or something - the name doesn't really matter). The purpose of this is to pass on the IP address of the computer talking to the proxy, otherwise the web server would only see the IP address of the proxy.

The problem with this is that it isn't inherently 'trustworthy' - it is a piece of data like anything else passed in the HTTP stream. Some proxies do fill this in correctly, others do odd things like 'unknown' or '0.0.0.0'. If someone ran their own proxy (or similar software) they could potentially set this to anything they wanted.

Using this field to show the origin of the user is not a good idea IMO, but - there again - in many situations, there's no better alternative :-\
Title: Re: odd guest 0.0.0.0?
Post by: Aquilo on March 31, 2004, 07:45:53 PM
does anyone here have there address as 0.0.0.0 or behind a proxie? if so does it get reported wrong here: http://ip.xtram.com ?
Title: Re: odd guest 0.0.0.0?
Post by: Homie on March 31, 2004, 07:47:22 PM
Someone on my Forum i look and it shows also his ip as 0.0.0.0 Why does it do that
Title: Re: odd guest 0.0.0.0?
Post by: [Unknown] on March 31, 2004, 11:23:31 PM
I've looked into different implementations and redone SMF's already...

-[Unknown]
Title: Re: odd guest 0.0.0.0?
Post by: Homie on March 31, 2004, 11:24:27 PM
So we should download the Update Again
Title: Re: odd guest 0.0.0.0?
Post by: [Unknown] on March 31, 2004, 11:25:54 PM
No, it's not important enough for a new release.

-[Unknown]
Title: Re: odd guest 0.0.0.0?
Post by: Homie on March 31, 2004, 11:26:57 PM
Ive ran update a few weeks ago. If i run the Update again will it get rid of more bugs or you havent updated the Update Package