PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
feuerfuchs
New Member
New Member


Joined: Jan 15, 2005
Posts: 6

PostPosted: Mon Jan 17, 2005 8:20 am Reply with quote Back to top

I'm rolling PHPNuke 7.6 with the latest NukeSentinnel. I'm doing so within a local development environment. The IP of the system is 127.0.0.1 and I am surfing the changes from the same IP address. Once I pasted the 7 lines of code into mainfile.php, I get:

"Invalid IP used"

This, of course, is excellent for production environments; nice thinking. I would, however, like to turn it off temporarily. I commented out the reference to 127.0.0.1 in admin/modules/ipban.php. That didn't work. I could use a clue. What files do I need to tweak to disable this most excellent security measure? No need to warn me about shipping it to production like this. I'll take care of it before I move it live. Wink
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Mon Jan 17, 2005 8:44 am Reply with quote Back to top

Make a backup of the nsnst_blocked_ranges data. Then empty the table when you move from localhost run the dump file back in.
View user's profile Send private message
feuerfuchs
New Member
New Member


Joined: Jan 15, 2005
Posts: 6

PostPosted: Mon Jan 17, 2005 11:45 am Reply with quote Back to top

sixonetonoffun wrote:
Make a backup of the nsnst_blocked_ranges data. Then empty the table when you move from localhost run the dump file back in.


Thanks fella.
View user's profile Send private message
feuerfuchs
New Member
New Member


Joined: Jan 15, 2005
Posts: 6

PostPosted: Tue Jan 18, 2005 7:25 pm Reply with quote Back to top

nsnst_blocked_ranges

That table has no data. What's next?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Jan 18, 2005 9:15 pm Reply with quote Back to top

feuerfuchs wrote:
I'm rolling PHPNuke 7.6 with the latest NukeSentinnel. I'm doing so within a local development environment. The IP of the system is 127.0.0.1 and I am surfing the changes from the same IP address. Once I pasted the 7 lines of code into mainfile.php, I get:

"Invalid IP used"

This, of course, is excellent for production environments; nice thinking. I would, however, like to turn it off temporarily. I commented out the reference to 127.0.0.1 in admin/modules/ipban.php. That didn't work. I could use a clue. What files do I need to tweak to disable this most excellent security measure? No need to warn me about shipping it to production like this. I'll take care of it before I move it live. Wink
On or about line 125 in includes/sentinel.php is the following
Code:
if($remote=="none") { die("Invalid IP used"); }
Comment it out
Code:
//if($remote=="none") { die("Invalid IP used"); }
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Tue Jan 18, 2005 9:16 pm Reply with quote Back to top

open /includes/sentinel.php

search for the following
Code:
$remote = get_ip();
if($remote=="none") { die("Invalid IP used"); }


comment out the IF
Code:
$remote = get_ip();
// if($remote=="none") { die("Invalid IP used"); }


That should let you test locally... un-comment that line when you go production

PHrEEk
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Tue Jan 18, 2005 9:16 pm Reply with quote Back to top

lol.. we did it again Gaylen....

ROTFL
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Jan 18, 2005 9:17 pm Reply with quote Back to top

Hmmm. Wish I had said that ROTFL
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Tue Jan 18, 2005 9:17 pm Reply with quote Back to top

you're stalking my posts!!

Smack
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Jan 18, 2005 9:18 pm Reply with quote Back to top

This is hilarious boxing
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
feuerfuchs
New Member
New Member


Joined: Jan 15, 2005
Posts: 6

PostPosted: Wed Jan 19, 2005 4:45 pm Reply with quote Back to top

You guys rox0r. May the best dot win.
View user's profile Send private message
djrino
Regular
Regular


Joined: Mar 11, 2005
Posts: 52

PostPosted: Fri Mar 11, 2005 8:20 pm Reply with quote Back to top

HI, i test nuke on my localnetwork.
How i make this on Sentinel 220?
Many TNX
View user's profile Send private message
mastermindz
New Member
New Member


Joined: Mar 05, 2009
Posts: 2

PostPosted: Thu Mar 05, 2009 9:20 pm Reply with quote Back to top

I'm Using php nuke 7.6 with NukeSentinel and my site displays Invalid IP used when i comment out the
$remote = get_ip();
// if($remote=="none") { die("Invalid IP used"); }
The website comes up from my current ip yet in tracked ip it has me as none?
It is not a local server and im on
Wave Broadband WAVE-WOODBURN-1 (NET-76-14-192-0-1) 76.14.192.0 - 76.14.255.255
Any ideas how to make my site read my ip?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Fri Mar 06, 2009 12:13 am Reply with quote Back to top

Add this range 76.14.192.0 - 76.14.255.255 to your ip2country table.

From your ACP, select NukeSentinel(tm)=>IP to Country Menu=>IP2C Add Range
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
mastermindz
New Member
New Member


Joined: Mar 05, 2009
Posts: 2

PostPosted: Fri Mar 06, 2009 9:14 am Reply with quote Back to top

The NukeSentinel loaded on my website was before IP2C if i remeber right it was the version right before. It has the words in the menu yet they are not a link. and there is no table in my sql.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Fri Mar 06, 2009 12:47 pm Reply with quote Back to top

You need to update to the latest version of NukeSentinel(tm) for many reasons.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum