Author |
Message |
doucheface1
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 10, 2009
Posts: 19
|
Posted:
Tue Feb 10, 2009 5:02 am |
|
can someone please tell me where the code is to disable the invalid IP feature and also if i disable this will i still be able to ban countries???
will it just ignore ipranges it cant identify (which is what i want)
also can someone tell me where to get the latest ip country data from, i have read posts that say new data is releaed on a weekly basis but on nukescripts the lastupdate was in oct last year, i take it this is included in the 2.6.01 install.
also how do i update the country data?
cheers chris |
|
|
|
![](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:
Tue Feb 10, 2009 6:11 am |
|
I don't think you can disable the invalid IP feature at the moment.
Why do you want to ignore invalid IP's, thats a dangerous thing to do!!
The latest IP2C data is indeed with the 2.6.01 release although I believe there is another update currently being tested, at least for RavenNuke (tm) users.
IP2C updates are done in exactly the same way that you have done them before, just upload the directory to your *nuke site web root, then go to the Nuke Sentinel (tm) administration area and 'import IP2C data'. |
|
|
|
![](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:
Tue Feb 10, 2009 6:16 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
doucheface1
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 10, 2009 7:44 am |
|
Quote: | I don't think you can disable the invalid IP feature at the moment.
Why do you want to ignore invalid IP's, thats a dangerous thing to do!! |
the reason for wanting to do this is because on a regular basis i get users who cant access my site due to invalid IPs these IPs will probably be in the new IP country data. So to save me from addiing them as ranges in the country table i think its best to bybass this.
i dont see how disableing this feature would harm too much, all the other security features would still be enabled like blocking IPs etc.
Quote: | http://www.ravenphpscripts.com/postp127132.html?highlight=#127132 |
the link above references raven nuke im using PHPnuke8.1, the reason for not changing to raven nuke is that i have a good source that tells me PHPnuke has been sold and the new developer started last week on a new version and he is also changing the codename??
Quote: | IP2C updates are done in exactly the same way that you have done them before, just upload the directory to your *nuke site web root, then go to the Nuke Sentinel (tm) administration area and 'import IP2C data'. |
i dont have the option in the admin area to import IP2C data??
cheers chris |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 10, 2009 9:39 am |
|
phpNuke was sold around October/November 2006 and it has been dead ever since. Yes FB did attempt to make a new phpNuke last year and he called it Smeego but it only lasted a couple of weeks as he realised he couldn't change the name and remove the copyrights without breaking the law because he was essentially re-distributing phpNuke which he no longer has any rights over. He even said on his site that it was phpNuke (with a different name).
But now I'm off topic, sorry!! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Tue Feb 10, 2009 11:51 am |
|
I agree with bypassing the invalid IP check - it's changing too frequently, and with IP spoofing, makes no sense anyway. Then again, banning by country makes little sense for the same reasons... |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
doucheface1
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 10, 2009 11:55 am |
|
yes but how do we do it in version 2.6.01 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 10, 2009 1:21 pm |
|
Do what is said in the link that I posted, and then add:
Code:
$bypassNukeSentinelInvalidIPCheck = true;
|
To your config.php. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
doucheface1
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 10, 2009 4:00 pm |
|
I dont follow??? the link you sen references raven nuke im using phpnuke 8.1
can you provide full instructions on how to disable invalid ip check
using phpnuke 8.1 and sent 2.6.01
cheers chris |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 10, 2009 10:00 pm |
|
Um...the post Palbin linked to provide full instructions, no? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
doucheface1
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 11, 2009 6:11 am |
|
Not that i can see its a mixture of different ideas for raven nuke??? not phpnuke? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
Site Admin
![](modules/Forums/images/avatars/502a2d1345d88a86ddb4a.png)
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Wed Feb 11, 2009 6:57 am |
|
I believe Raven posted the code at the bottom of the post and although RN is mentioned, in theory it should work for phpNuke as well. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 11, 2009 8:43 am |
|
The code is for NukeSentinel, which works with RavenNuke and PHPNuke. The bypassIPchecking setting can be added to config.php (PHP-Nuke or RavenNuke) or rnconfig.php (RavenNuke). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
doucheface1
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 11, 2009 4:09 pm |
|
Im still not following this, in the post you provided there are so many people adding things im not sure which code to add, also it talks about putting the site in test mode. Im assuming the code must get rid of the testmode logo but leave the site in test mode?
also in test mode is the only thing it does is disable the ip check function. I.E it will stall add IPs to the banned IP database and harvesters ETC
I take it by disableing the IP check all we are doing is stopping senteniel checkif the IP exsists in the IPC2 country data Table? senteniel will still have all other security features enabled.
once i have finally got the IP check disabled do i need to bother keeping my country data up to date?
cheers chris |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 11, 2009 4:19 pm |
|
No, it's not getting rid of the test mode logo, and the site will not be in test mode.
Only Raven's post matters: http://www.ravenphpscripts.com/postp129593.html?highlight=#129593
That's changing the includes/nukesentinel.php file. Then, add to you config.php file:
$bypassNukeSentinelInvalidIPCheck = true;
Then, yes, you no longer need to both keeping your country date up-to-date as it will no longer check the IP2C country date table, and yes, all other security features will continue to operate. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
namaste
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 02, 2007
Posts: 21
|
Posted:
Fri May 08, 2009 12:13 pm |
|
After hours of reading various site forums very late into the night, I decided to make one more trip to yet another IP. My IP plus 3 others and now the local Library did NOT stop this Rogue Nuke Sentinel on my site from banning it as well.... this time something to do with "weighted phrase limt exceeded and proxies, pornograpy.... accessing material ... not for <19yrs." Yea Right !
So back to my home and this time I took the rnconfig.php route, changing the false to true, and replacing the file. YIPEEE into my site AT long Last. What a joy to see that screen paint! BUT joy was short lived ! Having now added my IP to the Protected Range and inserting the full range provided by WHOIS to the IP2C Range, saving it and then logging out. Then back to rnconfig.php and NOW changing the true to false.... ->Access Denied... yet again.
Any sugggestions, other than leaving the rnconfig.php set to 'TRUE'.?
THANK YOU. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|