| GREEN Snort
-END
-;
-if ($netsettings{'BLUE_DEV'} ne '') {
- print " BLUE Snort";
+
+my $rulesdate;
+
+# Check if a ruleset allready has been downloaded.
+if ( -f "$rulestarball"){
+ # Call stat on the filename to obtain detailed information.
+ my @Info = stat("$rulestarball");
+
+ # Grab details about the creation time.
+ $rulesdate = localtime($Info[9]);
}
-if ($netsettings{'ORANGE_DEV'} ne '') {
- print " ORANGE Snort";
-}
- print " RED Snort";
print < |
| $Lang::tr{'ids rules update'} | -
| + |