Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.x
Author Message
doucheface1
New Member
New Member



Joined: Feb 10, 2009
Posts: 19

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

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: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Feb 10, 2009 6:11 am Reply with 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 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
Palbin
Site Admin



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

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

[ Only registered users can see links on this board! Get registered or login! ]

_________________
"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
doucheface1







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

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
 
Guardian2003







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

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!!
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

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

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...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
doucheface1







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

yes but how do we do it in version 2.6.01
 
Palbin







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

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


$bypassNukeSentinelInvalidIPCheck = true;

To your config.php.
 
doucheface1







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

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
 
kguske







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

Um...the post Palbin linked to provide full instructions, no?
 
doucheface1







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

Not that i can see its a mixture of different ideas for raven nuke??? not phpnuke?
 
jakec
Site Admin



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

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

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







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

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).
 
doucheface1







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

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
 
kguske







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

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! ]

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.
 
namaste
New Member
New Member



Joined: Jul 02, 2007
Posts: 21

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

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    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.x

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 ©