PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  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
shimshon
Hangin' Around


Joined: Sep 25, 2005
Posts: 48

PostPosted: Fri Dec 01, 2006 10:25 am Reply with quote Back to top

I can't access my site anymore?!

I get this message:
Quote:
You have been blocked from entering this site.

You are using a possible Harvester on this site.

All of the following information has been gathered to assist the webmaster should this need to be reported to local or federal law enforcement.

If you think this is a mistake you can contact the site webmaster at webmaster(at)shimshon9(dot)com.

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Remote Address: 84.108.29.86
Client IP: none
Forwarded For: none
Date Blocked: 2006-12-01 @ 08:03:59 PST GMT -0800
Block expires: Permanent


What can I do?
Thanks.
View user's profile Send private message Visit poster's website
jakec
Moderator


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

PostPosted: Fri Dec 01, 2006 10:36 am Reply with quote Back to top

Remove your IP address from your .htaccess file and also from your database. Then add your IP address to the protected ranges in Sentinel, this should stop you from getting banned again.
View user's profile Send private message
shimshon
Hangin' Around


Joined: Sep 25, 2005
Posts: 48

PostPosted: Fri Dec 01, 2006 12:50 pm Reply with quote Back to top

Thanks,
but I can't find my IP in the .htaccess.
How do I find it in the DB?
View user's profile Send private message Visit poster's website
shimshon
Hangin' Around


Joined: Sep 25, 2005
Posts: 48

PostPosted: Fri Dec 01, 2006 12:54 pm Reply with quote Back to top

OK, I found it in the DB.
Everything works again.
Thanks So much!
View user's profile Send private message Visit poster's website
FireATST
Involved
Involved


Joined: Jun 12, 2004
Posts: 496
Location: Ohio

PostPosted: Sat Dec 02, 2006 7:25 am Reply with quote Back to top

Glad it is working for you. You must not have it setup in Sentinel to write banned ips to your htaccess, so that is why it didn't show up there. Smile
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Fri Mar 23, 2007 8:48 am Reply with quote Back to top

jakec wrote:
Remove your IP address from your .htaccess file and also from your database. Then add your IP address to the protected ranges in Sentinel, this should stop you from getting banned again.


I've done that, over and over... remove my IP from .htaccess and from nsnst_blocked_ips in phpmyadmin... then I go back to my admin, click on a link any link, Blocks, Modules, Nukesentinel, and bing I'm banned again and off I trot to phpmyadmin and .htaccess to deban my IP again. What the hell is going on? How do I find the ip lo and ip hi #s for my IP so I can put the sucker in nsnst_protected_ranges? Would an allow from my IP range do it in .htaccess? I am supposed to be 'protected' as the God admin in NS, why am I getting banned? I cleared my cookies and cache and logged back into 'my' admin and bing I got banned again.
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Fri Mar 23, 2007 8:53 am Reply with quote Back to top

FireATST wrote:
Glad it is working for you. You must not have it setup in Sentinel to write banned ips to your htaccess, so that is why it didn't show up there. Smile


Oh but I did hehe and I am getting written in my own .htaccess.
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Fri Mar 23, 2007 9:36 am Reply with quote Back to top

Well... I tried an 'allow from xxx.xx.xxx.xxx/x' (my IP range) in .htaccess and went off to my admin, I clicked Content OK, clicked Nukesentinel OK, clicked Protected Range bing I got banned... this time my full IP not xxx.xx.xxx.* like before. A small improvement Cheers but I'm still banned from 'my' site. Could this have anything to do with localhost?
Only registered users can see links on this board!
Get registered or login to the forums!

I upgraded to NS 2.5.07 yesterday.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

PostPosted: Fri Mar 23, 2007 7:22 pm Reply with quote Back to top

When you did your upgrade, did you [re]import the new IP2COUNTRY table through NS Admin screen.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Sat Mar 24, 2007 3:21 pm Reply with quote Back to top

No, I did the IP2Country through RavenNuke 2.10 installsql.php, then upgraded Nukesentinel from the install version 2.5.06 back to 2.5.07. I doubt IP2Country was the problem, I think getting my IP banned resulted from putting rnconfig.php in my .htaccess with a deny from all, I removed it from .htaccess and I don't get banned from my admin now. I guess I assumed rnconfig should be in .htaccess like config.php. Live and learn...
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

PostPosted: Sat Mar 24, 2007 3:41 pm Reply with quote Back to top

You can only deny from all if the file is never directly called. deny from all files can be included/required, assuming the permissions allow read access. I wasn't aware that we were directly calling rnconfig so I will have to look into that one.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Sat Mar 24, 2007 7:08 pm Reply with quote Back to top

I am confused. Here is how we are bringing in rnconfig.php:

require_once(NUKE_BASE_DIR.'rnconfig.php');
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Sat Mar 24, 2007 9:20 pm Reply with quote Back to top

So try it yourself, put rnconfig in your .htaccess and see if you get banned from your admin. I need some replication. Smile
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Sun Mar 25, 2007 8:38 am Reply with quote Back to top

southern wrote:
I guess I assumed rnconfig should be in .htaccess like config.php. Live and learn...


First of all, I have never done this and in all my years now working with PHP-Nuke, I have never even heard of doing this. These two scripts can be "called" directly from a web browser and expose absolutely nothing back, so there is NO value in trying to do what you are doing.

Just leave them out of .htaccess and then all is right with the world? (At least that is what the rest of that post implies to me.)
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

PostPosted: Sun Mar 25, 2007 11:07 am Reply with quote Back to top

If Apache is not configured correctly, as often times it is not with those unfamiliar with Apache configuration, your *.php files will be shown in the browser. I, personally, have seen this on new sites. *.php files are not, automatically, defined to Apache. So, this may not be needed for experience users, but it is another layer of security. Better safe than sorry Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Sun Mar 25, 2007 3:01 pm Reply with quote Back to top

montego wrote:

First of all, I have never done this and in all my years now working with PHP-Nuke, I have never even heard of doing this. These two scripts can be "called" directly from a web browser and expose absolutely nothing back, so there is NO value in trying to do what you are doing.

Just leave them out of .htaccess and then all is right with the world? (At least that is what the rest of that post implies to me.)


As you wish, I yield to your experience. I was not implying that leaving config.php and other configuration files out of .htaccess would render all right with the world- are you a lawyer? I just wanted to know if anyone else would get banned from their admin by putting rnconfig in .htaccess but never mind. Smile
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Sun Mar 25, 2007 3:07 pm Reply with quote Back to top

Raven wrote:
If Apache is not configured correctly, as often times it is not with those unfamiliar with Apache configuration, your *.php files will be shown in the browser. I, personally, have seen this on new sites. *.php files are not, automatically, defined to Apache. So, this may not be needed for experience users, but it is another layer of security. Better safe than sorry Wink


Well I just saw it a post a long time ago somewhere on securing config.php and I left it in .htaccess without thinking much about it, but since I know my webhost configures Apache right...
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15229
Location: Kansas

PostPosted: Sun Mar 25, 2007 3:52 pm Reply with quote Back to top

RTM speedtype RTM speedtype Blonde Moment speedtype RTM speedtype Groovy killing me

The life of a Host or close to it. I left out the part about stupid user tricks ROTFL
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
southern
Client


Joined: Jan 29, 2004
Posts: 530
Location: Texas

PostPosted: Sun Mar 25, 2007 6:39 pm Reply with quote Back to top

Oh well time to move on anyway.
View user's profile Send private message Visit poster's website
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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum