Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
jlajax
Ardent RavenCMS Supporter



Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida

PostPosted: Sun Sep 13, 2009 6:56 pm Reply with quote

I am a #1 RavenNuke(tm) fan. You folks do a lot of work making this portal as safe, secure and functional as it is. I have posted before about my nightmares prior to finding you guys and the ease and security I found when I found RavenNuke. I reccomend it to everyone. I believe in it. I use it. I am looking forward to 2.4

:clap: RavensScripts :clap:
 
View user's profile Send private message
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Fri May 06, 2011 11:53 am Reply with quote

Time to re-hash this topic I guess rather than start another.

I am having a small issue with InvlaidIP check.

A user called me yesterday and said he could not get onto my site for the following reason: InvalidIP. He was attempting to access the site using his cell phone ISP.

I'm running RN 2.40.01

If he goes back to his laptop and attempts to access the site, it works fine.

I have some other weird issues with Nuke Sentinel as well but am working through those. Most of these little issues started when I moved to a new host.
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat May 07, 2011 7:02 am Reply with quote

This is a 2 year old thread and is for RN 2.3 not RN 2.4
Without the IP the phone was using you are going to be stuck on this one. You'll also need to find out if the phone is using IPv4 or IPv6 for it's connection because as far as I know, NS only handles IPv4 which ran out of IP's some time ago.
 
View user's profile Send private message Send e-mail
myrtletrees







PostPosted: Mon May 09, 2011 9:47 am Reply with quote

I understand this is a two year old thread and not the same version of RN.

Let me ask this. How can I just turn off the Invalid IP checking?

EDIT: I found it on the main admin menu for NS.
IP Tracking: OFF
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Mon May 09, 2011 10:17 am Reply with quote

IP Tacking is not the same thing. Open rnconfig.php and look for bypassInvalidIpCheck or something like that.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
myrtletrees







PostPosted: Mon May 09, 2011 10:19 am Reply with quote

Palbin wrote:
IP Tacking is not the same thing. Open rnconfig.php and look for bypassInvalidIpCheck or something like that.


$bypassNukeSentinelInvalidIPCheck = false;

I had already done that per reading this topic and it's already set to false. I just told the user he needs to stop accessing the site using his "stupid" phone and go back to his laptop. Rolling Eyes

FYI: He thinks his phone uses IPV6.
 
Palbin







PostPosted: Mon May 09, 2011 10:31 am Reply with quote

It needs to be $bypassNukeSentinelInvalidIPCheck = true; so that the check is bypassed.
 
Guardian2003







PostPosted: Mon May 09, 2011 10:55 am Reply with quote

If his phone is around a couple of years old or less, the chances are pretty high it is IPv6 or the new IPv6 (they recently changed the specification). This would also affect Mac PC' as I believe they have been shipping with IPv6 for a while.
That was not meant as a negative statement against RN or NS; it is pretty much a short-coming of the whole PHP development community.

The following is more for the RN Dev Team than a response to your issue but...
Unfortunately, at this time NS cannot handle IPv6 and I cannot see anywhere it makes an attempt to determine if an IP is using IPv4 or IPv6.
The test is pretty simple; look for a colon in the raw IP string.

However, even if a quick workaround was produced, I don't see it helping much as the only 'quick' work around would involve simply allowing an IP using IPv6 to pass through unfettered.
NS stores it's IP data in IP2Long format and makes use of the PHP function ip2long()
Typically the IP is stored in the DB using an int(10) field (though actually I believe an int(Cool is adequate since it is an 8 bit string. IPv4 uses a dotted seperator string, the rest of the string being integers.
Ipv6 on the other hand requires an int(32) since it is a 32 bit string and comprises hex with colon (or multiple consecutive colons) as seperators.
 
myrtletrees







PostPosted: Mon May 09, 2011 12:10 pm Reply with quote

Palbin wrote:
It needs to be $bypassNukeSentinelInvalidIPCheck = true; so that the check is bypassed.


OKAY. I'll try that and have him try again from his phone.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

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 ©