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
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Sun Jun 01, 2008 5:03 pm Reply with quote Back to top

Well, the site I run has suffered 500+ hack attempts and counting.

Is there any way to stop this stuff or at least reduce it. I am tired of getting Blocked Abuse emails.
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


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

PostPosted: Sun Jun 01, 2008 6:21 pm Reply with quote Back to top

Adding the IP's to .htaccess will stop them from reaching your site which will stop the notifications. So, if you have the write to .htaccess option turned on then you shouldn't be getting repeats. Just turn the email admin option off to stop the emails.

I also always add the 4th octet as a wild card when I ban them, ie Full C Class
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Jun 01, 2008 6:47 pm Reply with quote Back to top

There is no real solution. Automated scripts constantly try to exploit any vulnerability. Blocking won't slow these down as they have a full botnet of compromised machines.

Just keep your site up-to-date. If you're tired of the notifications, you can turn them off.
View user's profile Send private message Visit poster's website
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Sun Jun 01, 2008 6:51 pm Reply with quote Back to top

Thanks guys. I added them to the .htaccess and I didn't even think about shutting off the notifications.
View user's profile Send private message Send e-mail
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Sun Jun 01, 2008 6:55 pm Reply with quote Back to top

Ok. Where do I shut off notifications? I looked everywhere.
View user's profile Send private message Send e-mail
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sun Jun 01, 2008 8:26 pm Reply with quote Back to top

You can configure Sentinel what to do for each type of attack. One of the options is to send email.

I added something to my .htaccess file that has stopped 90% of my notifications. Most of the time these guys are trying to do a remote script execution via a _GET parameter. This stops that:

Code:

RewriteEngine on
#
# Prevent cross-site scripting
#
RewriteCond %{THE_REQUEST} .*http:\/\/.* [OR]
RewriteCond %{THE_REQUEST} .*http%3A%2F%2F.*
Rewriterule ^.* - [F,L]
View user's profile Send private message
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Sun Jun 01, 2008 9:01 pm Reply with quote Back to top

Thanks Gremmie, I just copy and pasted it.

Bizarre. I went from 5,400 page views to 13,000+ in under two hours and the visitor count doesn't even remotely reflect it.
View user's profile Send private message Send e-mail
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Mon Jun 02, 2008 11:50 am Reply with quote Back to top

Well, Gremmie that piece of code seems to have done the trick.

However, can anyone help me understand how I can have 42 visitors and have page views jump from 5193 to well over 16,000 in a little over 2 hours?
View user's profile Send private message Send e-mail
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Jun 02, 2008 3:49 pm Reply with quote Back to top

You may be under a more direct form of attack, a denial of service.
View user's profile Send private message Visit poster's website
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Mon Jun 02, 2008 3:55 pm Reply with quote Back to top

Isn't a DoS a server side attack, rather than an attack directed at the site itself?

Sorry if I am coming across as thick headed and asking all of these questions.
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


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

PostPosted: Tue Jun 03, 2008 1:24 am Reply with quote Back to top

It can be either but is usually directed at a particular site.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
warren-the-ape
Worker
Worker


Joined: Nov 19, 2007
Posts: 196
Location: Netherlands

PostPosted: Tue Jun 03, 2008 1:29 am Reply with quote Back to top

Is it a new site with a lot of contents/topics?
It could just be search engine spiders indexing your pages.

You can easily verify this in NS or in the Forums admin.


Open up your forums admin on the 1st page and check the IP's listed.

You can do the same in NS if you enabled IP tracking. Go to tracked IP's and sort on 'hits' (highest hits on top choose; 'descending').
WHOIS the IP's with a large amount of hits to see if they are search engines or not.

Edit:
Some time ago I had a dude/bot from France who was requesting topics every second, sometimes 2-3 per second and that for a couple of minutes.

I noticed it cause my site statistics for that day went through the roof..

If its not Google or another known search engine I dont need them Wink
View user's profile Send private message
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Tue Jun 03, 2008 10:44 am Reply with quote Back to top

warren-the-ape wrote:
Is it a new site with a lot of contents/topics?
It could just be search engine spiders indexing your pages.

You can easily verify this in NS or in the Forums admin.


Open up your forums admin on the 1st page and check the IP's listed.

You can do the same in NS if you enabled IP tracking. Go to tracked IP's and sort on 'hits' (highest hits on top choose; 'descending').
WHOIS the IP's with a large amount of hits to see if they are search engines or not.

Edit:
Some time ago I had a dude/bot from France who was requesting topics every second, sometimes 2-3 per second and that for a couple of minutes.

I noticed it cause my site statistics for that day went through the roof..

If its not Google or another known search engine I dont need them Wink


It's a very controversial topic...Global Warming/Climate change and the science behind it.
View user's profile Send private message Send e-mail
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Jun 03, 2008 12:32 pm Reply with quote Back to top

Well it is possible you have many links to a certain topic. And if you've gotten linked from some major site, you'll have increased traffic that you may not be able to handle (see: Slashdot effect)
View user's profile Send private message Visit poster's website
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Tue Jun 03, 2008 12:35 pm Reply with quote Back to top

evaders99 wrote:
Well it is possible you have many links to a certain topic. And if you've gotten linked from some major site, you'll have increased traffic that you may not be able to handle (see: Slashdot effect)


I suppose that's possible. It's just strange that the visitor count could not have possibly accounted for that amount of hits in that amount of time.
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


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

PostPosted: Tue Jun 03, 2008 12:48 pm Reply with quote Back to top

Use AWSTATS or something like it to find out the details.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Tue Jun 03, 2008 12:57 pm Reply with quote Back to top

Forgot about that. Thanks!
View user's profile Send private message Send e-mail
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Tue Jun 03, 2008 1:39 pm Reply with quote Back to top

AWSTATS isn't telling me anything.
View user's profile Send private message Send e-mail
Guardian2003
Site Admin


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

PostPosted: Tue Jun 03, 2008 2:10 pm Reply with quote Back to top

PM me your cPanel (or other hosting control panel) login and your God admin user/pass and lets check this puppy out, I have about an hour to spare.
View user's profile Send private message Send e-mail Visit poster's website
steve_lemaster
Worker
Worker


Joined: Dec 26, 2006
Posts: 178

PostPosted: Wed Jun 04, 2008 1:59 pm Reply with quote Back to top

I PM'd you my cPanel and site admin logins. If you get the chance to check it out, let me know.
View user's profile Send private message Send e-mail
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