FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » IP address.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
IP address. [message #17736] Wed, 14 April 2004 23:31 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Bug feature? Smile

Anyway when posts are made they have ip read from get_ip function which uses, HTTP_X_FORWARDED_FOR

When new users are registering it does call get_ip and just grabs the REMOTE_ADDR.

This is a problem if you use apache passthru.

Pais.
Re: IP address. [message #17737 is a reply to message #17736] Thu, 15 April 2004 01:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Bug that is now fixed in CVS.

FUDforum Core Developer
Re: IP address. [message #17738 is a reply to message #17736] Thu, 15 April 2004 01:26 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
I made the change to get_ip myself and oddly it now gives all IPs as 0.0.0.0 !


Pais.
Re: IP address. [message #17740 is a reply to message #17738] Thu, 15 April 2004 03:32 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
what are the actual values of REMOTE_ADDR and HTTP_X_FORWARDED_FOR?

FUDforum Core Developer
Re: IP address. [message #17746 is a reply to message #17740] Thu, 15 April 2004 15:14 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
I shall investage further on my return to home.
One point though. In admaccapr.php where I accept a new reg the number shows up as 0.0.0.0 but in admuser.php the registration IP shows up correctly.

Anyways, when I return and can monitor stuff from the commandline i'll check into what is happening.

Pais.
Re: IP address. [message #17747 is a reply to message #17746] Thu, 15 April 2004 18:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This was due to a now fixed bug inside admaccapr.php. Incorrect property name was being used for the IP value.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Strange SQL error on consistency check
Next Topic: Mailing list, completely blank subject
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 23:34:16 GMT 2024

Total time taken to generate the page: 0.02163 seconds