Add support for new(?) Authentication error messages from PAM.
This commit is contained in:
@ -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