SF.net SVN: logwatch:[179] scripts/services/http
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 179
http://sourceforge.net/p/logwatch/code/179
Author: opoplawski
Date: 2014-01-09 16:29:00 +0000 (Thu, 09 Jan 2014)
Log Message:
-----------
[http] Do not treat 3xx (redirect) reponses as possibly successful attacks
Modified Paths:
--------------
scripts/services/http
Modified: scripts/services/http
===================================================================
--- scripts/services/http 2014-01-02 18:26:11 UTC (rev 178)
+++ scripts/services/http 2014-01-09 16:29:00 UTC (rev 179)
@@ -411,7 +411,7 @@
$hacks{$field{client_ip}}{$exploits[$i]}++;
$total_hack_count += 1;
$ban_ip{$field{client_ip}} = " ";
- if ($field{http_rc} < 400) {
+ if ($field{http_rc} < 300) {
$hack_success{$field{url}} = $field{http_rc};
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk