Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
ocmi_snake
New Member
New Member



Joined: Aug 17, 2006
Posts: 3

PostPosted: Thu Aug 17, 2006 8:48 pm Reply with quote

I used the search feature but did not find the fix so here goes...

I just upgraded my paintball team's website from 7.8 to "RavenNuke76 v2.02.02 FULL". Everything went pretty smoothly until I got an email from one of my team mates saying he cant get into the site. When he goes to Only registered users can see links on this board! Get registered or login! all he gets is the message "You are using an Invalid IP to access this site!".

To my knowledge no-one else is getting this message so I was wondering if anyone had an idea of why this message is appearing. At first I thought he was using a proxy and Sentinel is blocking him, but Im not too sure.

Any ideas would be greatly appreciated.

Thank You

EDIT:

I found the source for this message. It is on line 142 of /includes/nukesentinel.php and reads:

Code:


// Invalid ip check
if(isset($bypassNukeSentinelInvalidIPCheck) AND $bypassNukeSentinelInvalidIPCheck) {;}
elseif ($nsnst_const['remote_ip']=="none") { die(_AB_INVALIDIP); }


My new question is - does anyone think there would be any potential problems if I removed the complete "elseif" statement to bypass no remote ip? or do you think this is used/important elsewhere?
 
View user's profile Send private message
ocmi_snake







PostPosted: Fri Aug 18, 2006 1:57 am Reply with quote

Nevermind. i found the answer in this post (finally!)

Only registered users can see links on this board! Get registered or login!

The exact instructions are to comment out the line
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Aug 19, 2006 2:25 am Reply with quote

Instead, I recommend loading the latest IP2Country tables. That would ensure this security is in-place and works as intended.

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©