Imported Upstream version 7.4.0+svn20111018rev68
Willi Mann
12 years ago
496 | 496 |
if (!$ignore_error_hacks) {
|
497 | 497 |
for (my $i = 0; $i < @exploits; $i++) {
|
498 | 498 |
# print "$i $exploits[$i] $field{lc_url} \n";
|
499 | |
if ($field{lc_url} =~ /$exploits[$i]/i) {
|
|
499 |
if ( ($field{lc_url} =~ /$exploits[$i]/i) &&
|
|
500 |
!((defined $ignoreURLs) && ($field{url} =~ /$ignoreURLs/)) &&
|
|
501 |
!((defined $ignoreIPs) && ($field{client_ip} =~ /$ignoreIPs/)) ) {
|
500 | 502 |
$hacks{$field{client_ip}}{$exploits[$i]}++;
|
501 | 503 |
$total_hack_count += 1;
|
502 | 504 |
$ban_ip{$field{client_ip}} = " ";
|
103 | 103 |
$SkipError = 1 if $ThisLine =~ /\[<[\da-f]+>\] error_exit\+0x/;
|
104 | 104 |
# These are informative, not errors
|
105 | 105 |
$SkipError = 1 if $ThisLine =~ /PCIe errors handled by OS/;
|
|
106 |
$SkipError = 1 if $ThisLine =~ /GHES: Generic hardware error source: \d notified via .* is not supported/;
|
106 | 107 |
$Errors{$errormsg}++ if ( (! $SkipError) || ($Detail > 8));
|
107 | 108 |
}
|
108 | 109 |
# OTHER
|