Page 1 of 1

My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 5:50 am
by SteeLx
My forum shows same IP for all users, it shows 195.242.99.91 for every users IP.

195.242.99.91 is my website IP.

i'm on phpBB 2.0.23

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 5:57 am
by karlsemple
Is the board hosted on a server behind a router of some sort which is configured in a way which would cause all traffic to have the same IP?

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 6:33 am
by SteeLx
karlsemple wrote:Is the board hosted on a server behind a router of some sort which is configured in a way which would cause all traffic to have the same IP?
but recently when i installed a AJAX shoutbox its was showing perfect IP address of all users in shoutbox adminCP, thought it was not a phpBB mod.

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 9:22 am
by ric323
Your shoutbox may be looking at a "FORWARDED_FOR" field added by your router.
phpBB doesn't trust those sort of fields, as they make it too easy to fake your IP address.

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 9:42 am
by SteeLx
ric323 wrote:Your shoutbox may be looking at a "FORWARDED_FOR" field added by your router.
phpBB doesn't trust those sort of fields, as they make it too easy to fake your IP address.
yes i'm on a SHARED host, but isnt there any way ! cus i cant IP ban any user on my forum cus 80% of users r from same IP i.e. my own server IP.

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 10:06 am
by ric323
If you can't get your web host to pass the true IP through, have a look at this topic:
http://www.phpbb.com/community/viewtopi ... 1&t=542126

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 1:26 pm
by SteeLx
ric323 wrote:If you can't get your web host to pass the true IP through, have a look at this topic:
http://www.phpbb.com/community/viewtopi ... 1&t=542126

Thanx it worked, but I hope it will not force me some XSS vulnerability !

Re: My forum shows same IP for all users.

Posted: Sun Apr 06, 2008 9:46 pm
by Lumpy Burgertushie
actually, banning by IP doesn't work anyway so I wouldn't worry about it.

roberrt

Re: My forum shows same IP for all users.

Posted: Mon Apr 07, 2008 9:00 am
by SteeLx
Lumpy Burgertushie wrote:actually, banning by IP doesn't work anyway so I wouldn't worry about it.

roberrt
no, my forum user r noobs... they dont even know how to open .rar files. so they doesnt know how to chaneg IP or use proxy either. :lol:

Re: My forum shows same IP for all users.

Posted: Mon Apr 07, 2008 9:10 am
by karlsemple
SteeLx wrote:
Lumpy Burgertushie wrote:actually, banning by IP doesn't work anyway so I wouldn't worry about it.

roberrt
no, my forum user r noobs... they dont even know how to open .rar files. so they doesnt know how to chaneg IP or use proxy either. :lol:

Most ISP;s use dynamic IP's this means every time a user connects to the internet the ISP will assign them a different IP meaning the ban is useless and not only that there is also the chance at a later date and innocent user will be assigned the banned IP and then the wrong user is banned. :)