]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Added a Worms report.
authoreldy <>
Sun, 30 Nov 2003 20:49:23 +0000 (20:49 +0000)
committereldy <>
Sun, 30 Nov 2003 20:49:23 +0000 (20:49 +0000)
docs/awstats_changelog.txt
docs/awstats_config.html
docs/awstats_faq.html
wwwroot/cgi-bin/awstats.model.conf
wwwroot/cgi-bin/awstats.pl
wwwroot/cgi-bin/lib/worms.pm

index 1499e16ed74cf3d1529a7160b43a34405b607ac0..b4fd16537bad585d7bc7be0bd67eb1026df06df0 100644 (file)
@@ -31,7 +31,8 @@ Fixes:
 
 New features/improvements:
 - Increased speed by 10 to 20%.
-- Added a Worms report.
+- Added a Worms report (Added LevelForWormsDetection and
+  ShowWormsStats parameter).
 - Added report for "not viewed" traffic in Summary report.
 - Monthly history report have been taken out the Summary report.
 - Some changes to make AWStats to be XML compliant ready.
@@ -84,6 +85,10 @@ Note 1: When migrating to 6.x series, if you use the ExtraSections feature,
 
 Note 2: MaxLengthOfURL parameter has been renamed into MaxLengthOfShownURL
 
+Note 3: To enable the new worm detection, you must add parameter
+  LevelForWormsDetection=2
+
+
 
 5.9
 
index aa07317f25c2e436b6cfc92aea992aa1960f8c98..368941fea49c6c42103b74da4b4a03c28d92d401 100644 (file)
@@ -113,6 +113,7 @@ when reading it), follow the example:<br>
 <li><a href="#LevelFor">LevelForRobotsDetection</a>
 <li><a href="#LevelFor">LevelForSearchEnginesDetection</a>
 <li><a href="#LevelFor">LevelForFileTypesDetection</a>
+<li><a href="#LevelFor">LevelForWormsDetection</a>
 
 </ul>
 
@@ -1181,7 +1182,7 @@ AWStats 4.1+ supports both keywords AND keyphrases by default with no need of an
 <br>#  1 = Medium/Standard detection
 <br>#  2 = Full detection
 <br># Change : Effective for new updates only
-<br># Default: 2
+<br># Default: 2 (0 for LevelForWormsDetection)
 <br>#
 <br>LevelForBrowsersDetection=2                        # 0 disables Browsers detection.
 <br>LevelForOSDetection=2                              # 0 disables OS detection.
@@ -1189,6 +1190,7 @@ AWStats 4.1+ supports both keywords AND keyphrases by default with no need of an
 <br>LevelForRobotsDetection=2                  # 0 disables Robots detection.
 <br>LevelForSearchEnginesDetection=2   # 0 disables Search engines detection.
 <br>LevelForFileTypesDetection=2               # 0 disables file types detection.
+<br>LevelForWormsDetection=0                   # 0 disables Worms detection.
 
 <br><br><hr>
 
@@ -1329,8 +1331,8 @@ ShowOSStats,ShowOriginStats,ShowKeyphrasesStats,ShowKeywordsStats,ShowHTTPErrors
 <br># Default: HBL, Possible codes: HBL
 <br>ShowRobotsStats=HBL
 <br># Show worms chart\r
-<br># Default: HBL, Possible codes: HBL\r
-<br>ShowWormsStats=HBL\r
+<br># Default: 0 (See also LevelForWormsDetection if set), Possible codes: HBL\r
+<br>ShowWormsStats=0\r
 <br># Show email senders chart (For use when analyzing mail log files)
 <br># Default: 0, Possible codes: HBML
 <br>ShowEMailSenders=0
index f3f62fd4334d3b316fe2b48b6fb55be54a4effca..3e63040837943b1615eea0905f3a3dd98e2bc358 100644 (file)
@@ -1116,11 +1116,13 @@ This means your AWStats reference database files (operating systems, browsers, r
 First try to update to last version. Then check in your disk that you have only ONE of those files. They should be
 in '<b>lib</b>' directory ('db' with 4.0) where awstats.pl is installed:<br>
 <i>browsers.pm</i><br>
+<i>domains.pm</i><br>
 <i>operating_systems.pm</i><br>
 <i>robots.pm</i><br>
-<i>domains.pm</i><br>
 <i>search_engines.pm</i><br>
 <i>worms.pm</i><br>
+<i>status_http.pm</i><br>
+<i>status_smtp.pm</i><br>
 <br>
 
 <a name="COULDNOTOPEN"></a><br>
index a400fe156e5df81ad7c08e0efe37339b5c736c3a..3d362713d9d3f7090c30aeab95464dfbedd16725 100644 (file)
@@ -773,7 +773,7 @@ MiscTrackerUrl="/js/awstats_misc_tracker.js"
 #  1 = Medium/Standard detection
 #  2 = Full detection
 # Change : Effective for new updates only
-# Default: 2
+# Default: 2 (0 for LevelForWormsDetection)
 #
 LevelForBrowsersDetection=2                            # 0 disables Browsers detection.
 LevelForOSDetection=2                                  # 0 disables OS detection.
@@ -781,6 +781,7 @@ LevelForRefererAnalyze=2                            # 0 disables Origin detection.
 LevelForRobotsDetection=2                              # 0 disables Robots detection.
 LevelForSearchEnginesDetection=2               # 0 disables Search engines detection.
 LevelForFileTypesDetection=2                   # 0 disables File types detection.
+LevelForWormsDetection=0                               # 0 disables Worms detection.
 
 
 
@@ -894,8 +895,8 @@ ShowAuthenticatedUsers=0
 # Default: HBL, Possible codes: HBL
 ShowRobotsStats=HBL
 # Show worms chart\r
-# Default: HBL, Possible codes: HBL\r
-ShowWormsStats=HBL\r
+# Default: 0 (See also LevelForWormsDetection if set), Possible codes: HBL\r
+ShowWormsStats=0\r
 # Show email senders chart (For use when analyzing mail log files)
 # Default: 0, Possible codes: HBML
 ShowEMailSenders=0
index c96114bb95657741696e5ce6615d4d0dc8fcf8bd..d538f577b8962908d1b01e0ea7e1a461069e3f2e 100644 (file)
@@ -7017,7 +7017,7 @@ if (scalar keys %HTMLOutput) {
                                my $menuicon=0;
                                # Menu HTML
                                print "<table".($frame?" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"":"").">\n";
-                               if ($ShowMonthStats)             { print ($frame?"<tr><td class=\"awsm\">":""); print "<a href=\"$linkanchor#TOP\"$targetpage>$Message[128]</a>"; print ($frame?"</td></tr>\n":" &nbsp; "); }
+                               if ($FrameName eq 'mainleft' && $ShowMonthStats)                 { print ($frame?"<tr><td class=\"awsm\">":""); print "<a href=\"$linkanchor#TOP\"$targetpage>$Message[128]</a>"; print ($frame?"</td></tr>\n":" &nbsp; "); }
                                # When
                                $linetitle=&AtLeastOneNotNull($ShowMonthStats,$ShowDaysOfMonthStats,$ShowDaysOfWeekStats,$ShowHoursStats);
                                if ($linetitle) { print "<tr><td class=\"awsm\" width=\"$WIDTHMENU1\"".($frame?"":" valign=\"top\"").">".($menuicon?"<img src=\"$DirIcons/other/menu4.png\" />&nbsp;":"")."<b>$Message[93]:</b></td>\n"; }
index c67e18c0baf4e1b827aa76e38f0aaee9a7349e88..6891aaf2e0d1c5cd7df725580abb3799a9e5fdd7 100644 (file)
 # to web server.
 #-------------------------------------------------------
 @WormsSearchIDOrder = (
-'/default.ida?',
-'exe?/c+dir',
-#'root.exe?/c',
-#'cmd.exe?/c',
+'\/default\.ida',
+'\/null\.idq',
+'exe\?\/c\+dir',
+'root\.exe',
+'Admin\.dll',
+'Admin\.dll',
+'\/winnt\/system32\/cmd\.exe',
+'\/_vti_inf\.html',
+'\/_vti_bin\/shtml\.exe\/_vti_rpc'
 );
 
-
 # WormsHashID
 # Each Worms search ID is associated to a string that is unique name of worm.
 #--------------------------------------------------------------------------
-%WormsHashID   = (
-'/default.ida?','code_red',
-'exe?/c+dir','nimba'
-#'root.exe?/c','nimba',
-#'cmd.exe?/c','nimba'
+%WormsHashID = (
+'\/default\.ida','code_red',
+'\/null\.idq','code_red',
+'exe\?\/c\+dir','nimba',
+'root\.exe','nimba',
+'Admin\.dll','nimba',
+'Admin\.dll','nimba',
+'\/winnt\/system32\/cmd\.exe','nimba',
+'\/_vti_inf\.html','unknown',
+'\/_vti_bin\/shtml\.exe\/_vti_rpc','unknown'
 #'/MSOffice/cltreq.asp'                # Not a worm, a check by IE to see if discussion bar is turned on
 #'/_vti_bin/owssrv.dll'                # Not a worm, a check by IE to see if discussion bar is turned on
 );
 
-
 # WormsHashLib
 # Worms name list ('worm unique id in lower case','worm clear text')
 # Each unique ID string is associated to a label
 #-------------------------------------------------------
-%WormsHashLib   = (
+%WormsHashLib = (
 'code_red','Code Red family worm',
-'nimba','Nimba family worm'
+'nimba','Nimba family worm',
+'unknown','Unknown worm'
 );
 
-
 1;