Timeouts aren't hostile (enough)
This commit is contained in:
@ -23,13 +23,8 @@ sub parser {
|
||||
$host = $2;
|
||||
};
|
||||
} elsif($string =~ m/https\/1: (Timeout|Connection closed) during SSL handshake/) {
|
||||
$_ = $string;
|
||||
$reply = 'SSL handshake error';
|
||||
$hostile = 1;
|
||||
PARSE:
|
||||
m/(:\ ($re_host):[0-9]{1,6})/gcix && do {
|
||||
$host = $2;
|
||||
};
|
||||
$_ = $string;
|
||||
$reply = 'SSL handshake error';
|
||||
} elsif($string =~ m/http(s\~|) http(s|)\/\<NOSRV\>/) {
|
||||
if($string =~ m/-1\/-1\/-1\/-1\/[0-9]{1,20} (400|0) 0/) {
|
||||
#This one seems like someone is doing something bad. Return code 400/0
|
||||
|
||||
Reference in New Issue
Block a user