Compare commits
2 Commits
c4ef60e38f
...
68ab6d0437
| Author | SHA1 | Date | |
|---|---|---|---|
| 68ab6d0437 | |||
| b672e4274d |
@ -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';
|
||||
@ -169,6 +169,14 @@ sub parser {
|
||||
m/ ($re_host) /gcix && do {
|
||||
$host = $1;
|
||||
};
|
||||
} elsif($string =~ m/Authentication error for( illegal user|) $re_user from $re_host/) {
|
||||
$_ = $string;
|
||||
$hostile = 1;
|
||||
$reply = 'Authentication error';
|
||||
PARSER:
|
||||
m/from\ ($re_host)$/gcix && do {
|
||||
$host = $1;
|
||||
};
|
||||
} else {
|
||||
$reply = 'No match for '.$string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user