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.
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
<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>
<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.
<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>
<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
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>
# 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.
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.
# 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
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":" "); }
+ 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":" "); }
# 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\" /> ":"")."<b>$Message[93]:</b></td>\n"; }
# 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;