Add broken pipe to banner exchange errors

This commit is contained in:
2024-03-24 13:31:47 +01:00
parent c4ef60e38f
commit b672e4274d

View File

@ -161,7 +161,7 @@ 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|Permission denied|could not read protocol version)/) {
} elsif($string =~ m/banner exchange: Connection from $re_host port [0-9]{1,6}: (invalid format|Permission denied|could not read protocol version|Broken pipe)/) {
$_ = $string;
$hostile = 1;
$reply = 'Error during banner exchange';