PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  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
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Tue Feb 10, 2009 5:02 am Reply with quote Back to top

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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6299
Location: Vsetin, Czech Republic

PostPosted: Tue Feb 10, 2009 6:11 am Reply with quote Back to top

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'.
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2402
Location: Pennsylvania

PostPosted: Tue Feb 10, 2009 6:16 am Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Tue Feb 10, 2009 7:44 am Reply with quote Back to top

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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6299
Location: Vsetin, Czech Republic

PostPosted: Tue Feb 10, 2009 9:39 am Reply with quote Back to top

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!!
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5996

PostPosted: Tue Feb 10, 2009 11:51 am Reply with quote Back to top

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...
View user's profile Send private message
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Tue Feb 10, 2009 11:55 am Reply with quote Back to top

yes but how do we do it in version 2.6.01
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2402
Location: Pennsylvania

PostPosted: Tue Feb 10, 2009 1:21 pm Reply with quote Back to top

Do what is said in the link that I posted, and then add:
Code:

$bypassNukeSentinelInvalidIPCheck = true;

To your config.php.
View user's profile Send private message Visit poster's website
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Tue Feb 10, 2009 4:00 pm Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5996

PostPosted: Tue Feb 10, 2009 10:00 pm Reply with quote Back to top

Um...the post Palbin linked to provide full instructions, no?
View user's profile Send private message
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Wed Feb 11, 2009 6:11 am Reply with quote Back to top

Not that i can see its a mixture of different ideas for raven nuke??? not phpnuke?
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Wed Feb 11, 2009 6:57 am Reply with quote Back to top

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.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5996

PostPosted: Wed Feb 11, 2009 8:43 am Reply with quote Back to top

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).
View user's profile Send private message
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Wed Feb 11, 2009 4:09 pm Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5996

PostPosted: Wed Feb 11, 2009 4:19 pm Reply with quote Back to top

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:
Only registered users can see links on this board!
Get registered or login to the forums!


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.
View user's profile Send private message
namaste
New Member
New Member


Joined: Jul 02, 2007
Posts: 21

PostPosted: Fri May 08, 2009 12:13 pm Reply with quote Back to top

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.
View user's profile Send private message
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