Removing authenticating from regex
This commit is contained in:
@ -47,7 +47,7 @@ sub parser {
|
||||
m/(from\ ($re_host)) /gcix && do {
|
||||
$host = $2;
|
||||
};
|
||||
} elsif($string =~ m/(Disconnecting|Received disconnect from|Disconnected from|Connection closed by|Connection reset by) (authenticating |invalid |)(user .* |)$re_host port [0-9]{1,6}(\: Too many authentication failures|)( \[preauth\]|)/) {
|
||||
} elsif($string =~ m/(Disconnecting|Received disconnect from|Disconnected from|Connection closed by|Connection reset by) (invalid |)(user .* |)$re_host port [0-9]{1,6}(\: Too many authentication failures|)( \[preauth\]|)/) {
|
||||
$_ = $string;
|
||||
$reply = 'Received disconnect';
|
||||
$hostile = 1;
|
||||
|
||||
Reference in New Issue
Block a user