Change banner exchange to include any of the 3 known messages.
This commit is contained in:
@ -161,10 +161,10 @@ sub parser {
|
||||
m/ ($re_host) /gcix && do {
|
||||
$host = $1;
|
||||
};
|
||||
} elsif($string =~ m/banner exchange: Connection from $re_host port [0-9]{1,6}: invalid format/) {
|
||||
} elsif($string =~ m/banner exchange: Connection from $re_host port [0-9]{1,6}: (invalid format|Permission denied|could not read protocol version)/) {
|
||||
$_ = $string;
|
||||
$hostile = 1;
|
||||
$reply = 'Invalid format during banner exchange';
|
||||
$reply = 'Error during banner exchange';
|
||||
PARSER:
|
||||
m/ ($re_host) /gcix && do {
|
||||
$host = $1;
|
||||
|
||||
Reference in New Issue
Block a user