Author |
Message |
wiz
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/c35d15694752e0da5cc74.gif)
Joined: Oct 09, 2006
Posts: 413
Location: UK
|
Posted:
Tue Dec 26, 2006 10:07 am |
|
What are the implications of switching the Invalid IP check in config.php
to TRUE?
A few of my members are experiencing the invalid IP error, and like a few people on here, its bugging the hell out of me. IP2country is imported, i even got one guys range and added it manually to the list of ranges, still no cigar.
So..what does the invalid IP checker do, and more importantly, what does altering this setting mean for the security of my site? |
Last edited by wiz on Wed Jan 17, 2007 4:34 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Tue Dec 26, 2006 10:18 am |
|
If you are referring to the $bypassNukeSentinelInvalidIPCheck setting, yes, changing that to TRUE should resolve that issue. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wiz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Dec 26, 2006 10:21 am |
|
but what implications will that have on my security?
Obviously its set to FALSE for a reason? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Dec 26, 2006 10:28 am |
|
NukeSentinel will continue to protect against attacks. The invalid IP check is an extra measure of security that isn't necessary for most sites. It doesn't check against specific attacks - merely the possibility that someone using an invalid IP is likely to being doing so for a malicious reason (think "guilty until proven innocent).
I think the default should be set to TRUE because the associated problems cause too many support issues and most people end up changing it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wiz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Dec 26, 2006 10:30 am |
|
ahhh ok fair enough.
Cheers kguske |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
mo-jo-52
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Nov 19, 2006
Posts: 7
|
Posted:
Fri Jan 05, 2007 7:28 pm |
|
kguske wrote: | $bypassNukeSentinelInvalidIPCheck setting |
Where is this file located? I looked in my config.php and did not see it. I have some people who would like to join my forum but are unable to because of this. |
_________________ www.osaclan.com |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
Former Moderator in Good Standing
![](modules/Forums/images/avatars/0cd76dcf45da5de2cf864.jpg)
Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Fri Jan 05, 2007 7:41 pm |
|
Add
$bypassNukeSentinelInvalidIPCheck = true;
to your config.php to bypass the invalid IP check. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Jan 06, 2007 8:10 am |
|
Thanks Gremmie!
That setting was added as a part of RavenNuke 2.02.02 and greater, so it will not be there in a non-RavenNuke installation (most likely). However, just do what Gremmie has suggested. Works great. (It was added to NukeSentinel a few releases ago.) |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blackplague
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 23, 2004
Posts: 25
|
Posted:
Mon Feb 05, 2007 4:32 am |
|
You are using an Invalid IP to access this site!
your solution is'nt working for me.I have ravennuke7.6 installed and for no apparent reason when trying to access my site the above comes up instead of my site.Your solution of adding $bypassNukeSentinelInvalidIPCheck = true; to the config.php file is'nt working. |
Last edited by blackplague on Mon Feb 05, 2007 6:19 am; edited 2 times in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 5:27 am |
|
Sorry - look in the rnconfig.php file. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blackplague
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 5:33 am |
|
And where is the rnconfig.php file?There is none in my ravennuke7.6 distro |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blackplague
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 6:17 am |
|
$bypassNukeSentinelInvalidIPCheck = true;
adding this to the config.php file is not getting me in.Very frustrated,can you help? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Dawg
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/46907b8543f928e08c8d7.gif)
Joined: Nov 07, 2003
Posts: 928
|
Posted:
Mon Feb 05, 2007 6:21 am |
|
blackplague,
If I recall correctly updating the IP to Country tables resolves that problem. So go to your database and wipe out your IP to country data and then go into Sentinal and let it run through adding the data back.
Dawg |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blackplague
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 6:39 am |
|
I'm sorry for the real n00b question,but how exactly do i add back the ip2country table.i'm back into my site now so thank you.i droped the ip2country table.when i go to my admin panel nukesentinal the ip2country link isnt there.do i go to mysite/INSTALLATION/installSQL.php? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blackplague
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 7:02 am |
|
Nope that wasent the solution.i messed up my entire site with the mysite/INSTALLATION/installSQL.php.Having to reinstall ravennuke7.6 all over again with a new db. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wiz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 7:15 am |
|
the line that you added to RN 2.0.20 is already present in that file. Delete the line you added. Then look nearer the top. From memory its just below your db information |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 9:30 am |
|
rnconfig.php is in the root directory with config.php |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Feb 05, 2007 9:40 am |
|
If you are using RavenNuke(tm) v2.02.02 you will not have an rnconfig.php file. We introduce that in v2.10.00. But, in the config.php file that ships with v2.02.02, you should see
/*********************************************************************/
/* The following settings have been added for use in RavenNuke76 */
/*********************************************************************/
$bypassNukeSentinelInvalidIPCheck = FALSE; //This should only be used (set to TRUE) when testing locally and not in a production environment
$bypassInstallationFolderCheck = FALSE; //This should only be used (set to TRUE) when testing locally and not in a production environment
If you don't see it then you are not using the correct config.php file that ships with v2.02.02. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 11:35 am |
|
Thanks for the correction on rnconfig, Raven!
blackplague, it might need to be caps, e.g.:Code:$bypassNukeSentinelInvalidIPCheck = TRUE;
|
I don't know why lower case wouldn't work though. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
blackplague
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 3:30 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Dawg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 05, 2007 4:03 pm |
|
blackplague,
I said data...not TABLES. The last time I had problems with the invalid IP banning everyone that is excatly what I had to do. I killed the data and reloaded the data. It worked like a champ.
Note for the future, If you do not understand....don't do anything. The good part is I bet you are good at doing the install now.
Dawg |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
lilc420
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 02, 2007
Posts: 24
|
Posted:
Thu Mar 01, 2007 7:30 pm |
|
Dawg wrote: | The good part is I bet you are good at doing the install now. Dawg |
LMFAO... that made my day... don't know why. ![Very Happy](modules/Forums/images/smiles/icon_biggrin.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/186c8977515afcc3ed82a.jpg)
Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Mon Mar 19, 2007 6:12 pm |
|
Sorry to bump this ... but some of my users are having issues with this invalid IP thing ... and I have the bypass variable in rnconfig.php set to TRUE.
It seems the common factor in this issue are that they all access the site through a google or other search engine link.
Any ideas? thoughts? fixes? |
_________________ "We want to see if life is ubiquitous." D.Goldin |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wiz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Mar 19, 2007 6:15 pm |
|
CodyG We were told that the latest Senti would fix this (2.5.06) we are now as you know on .07 and i dont think its had a reliable fix yet.. just my opinion.
Even in 2.1 2.5.07 mine is still set to TRUE. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jjh221
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/41181f73457f97b65f3be.jpg)
Joined: Dec 05, 2006
Posts: 180
|
Posted:
Mon Mar 19, 2007 9:22 pm |
|
is there a security issue setting it to true? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|