Author |
Message |
jlajax
Ardent RavenCMS Supporter
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida
|
Posted:
Sun Sep 13, 2009 6:56 pm |
|
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:](modules/Forums/images/smiles/icon_welldone.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/44fbb573445a9d36e3110.jpg)
Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana
|
Posted:
Fri May 06, 2011 11:53 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat May 07, 2011 7:02 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 09, 2011 9:47 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Mon May 09, 2011 10:17 am |
|
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. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 09, 2011 10:19 am |
|
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.
FYI: He thinks his phone uses IPV6. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 09, 2011 10:31 am |
|
It needs to be $bypassNukeSentinelInvalidIPCheck = true; so that the check is bypassed. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 09, 2011 10:55 am |
|
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( 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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 09, 2011 12:10 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|