remove old addresses
This commit is contained in:
parent
f25c3e0c9a
commit
9726fc885b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ sub print_from_offset {
|
||||||
while (<LOGFILE>) {
|
while (<LOGFILE>) {
|
||||||
if ($_ =~ /^([[:xdigit:].:]+) (.+) (.+) (\[[[:alnum:]\/:]+ \+[[:digit:]]{4}\]) (".*") ([[:digit:]]{3}) ([[:digit:]]+) "(.*)" "(.*)"$/) {
|
if ($_ =~ /^([[:xdigit:].:]+) (.+) (.+) (\[[[:alnum:]\/:]+ \+[[:digit:]]{4}\]) (".*") ([[:digit:]]{3}) ([[:digit:]]+) "(.*)" "(.*)"$/) {
|
||||||
#We ignore some IP address
|
#We ignore some IP address
|
||||||
next if ($1 eq '::1' or $1 eq '127.0.0.1' or $1 eq '2a01:e35:2ef3:b360::abac:22' or $1 eq '192.168.0.34');
|
next if ($1 eq '::1' or $1 eq '127.0.0.1');
|
||||||
|
|
||||||
if ($6 >= 200 && $6 < 300) {
|
if ($6 >= 200 && $6 < 300) {
|
||||||
++$outputCpt{'2XX'};
|
++$outputCpt{'2XX'};
|
||||||
|
|
Loading…
Reference in a new issue