This commit is contained in:
2024-11-10 13:31:30 +01:00
parent 5def78ec02
commit 492e692137

View File

@ -161,15 +161,8 @@ sub parser {
$host = $2;
};
} elsif($string =~ m/SSL_write: /) {
unless($string =~ m/syscall: Broken pipe/) { #If we get a broken pipe, it's most likely because we blocked the ip earlier, and this is just the pipe timing out
$_ = $string;
$reply = 'SSL error';
$hostile = 1;
PARSE:
m/(\ \[$re_host\]\))/gcix && do {
$host = $2;
};
}
$_ = $string;
$reply = 'SSL write error'; #Most, if not all of these, are because we have blocked the ip
} elsif($string =~ m/TLS ALPN/) {
if($string =~ m/rejected$/) {
$reply = 'TLS ALPN rejected'