| Author |
Message |
vaudevillian Worker


Joined: Jan 18, 2008 Posts: 139
|
Posted:
Mon Jun 02, 2008 9:24 am |
|
I have been under attack from a website for the past few weeks. The ip keeps changing as well.
They are always trying to access my foum prune. It is getting a little annoying. |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Mon Jun 02, 2008 3:51 pm |
|
I don't know why they would go for forum prune. Do you have an example of such attacks? |
|
|
|
 |
vaudevillian Worker


Joined: Jan 18, 2008 Posts: 139
|
Posted:
Mon Jun 02, 2008 8:28 pm |
|
next attack I will post the code and the info relating to it. |
|
|
|
 |
Susann Moderator

Joined: Dec 19, 2004 Posts: 3143 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Tue Jun 03, 2008 9:14 am |
|
These attacks are nothing special and doesn´t work. Search for libwww-perl
and maybe try this in your .htaccess
| Quote: | RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^libwww-perl/[0-9].[0-9]*
RewriteRule ^.*$ [R,L] |
|
|
|
|
 |
vaudevillian Worker


Joined: Jan 18, 2008 Posts: 139
|
Posted:
Tue Jun 03, 2008 9:56 am |
|
Does that block all perl agents? |
|
|
|
 |
Susann Moderator

Joined: Dec 19, 2004 Posts: 3143 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Tue Jun 03, 2008 10:32 am |
|
R = redirect
I don´t get notifications but I see these agents in my logs. |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Tue Jun 03, 2008 12:31 pm |
|
It should block most dumb Perl scripts that don't forge a User-Agent.  |
|
|
|
 |
dad7732 RavenNuke(tm) Development Team

Joined: Mar 18, 2007 Posts: 1191
|
Posted:
Sun Jul 13, 2008 10:29 am |
|
Add this to your .htaccess and it will stop most scripts from getting in.
| Code: |
# Stop Scripts Beforehand
RewriteEngine On
RewriteCond %{THE_REQUEST} .*http:\/\/.* [OR]
RewriteCond %{THE_REQUEST} .*http%3A%2F%2F.*
Rewriterule ^.* - [F]
|
Been a long time since I've seen Sentinel block a script because of the above entry.
Cheers |
|
|
|
 |
|
|
|
|