]> git.phdru.name Git - ansible.git/commitdiff
Feat(logcheck): Update `local-ssh`
authorOleg Broytman <phd@phdru.name>
Fri, 24 Dec 2021 12:15:51 +0000 (15:15 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 24 Dec 2021 12:15:51 +0000 (15:15 +0300)
playbooks/roles/logcheck/files/ignore.d/local-ssh

index 1dd7bc33b294e0451f18fcbf1883871cc19b61d0..81c6b43d3bbe14de3c4ef696507626f6c5f75078 100644 (file)
@@ -38,3 +38,7 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: pam_unix\(sshd:auth\): bad username
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: ssh_dispatch_run_fatal: Connection from ((authenticating|invalid) user .+)?([0-9]{1,3}\.){3}[0-9]{1,3} port [0-9]+: message authentication code incorrect \[preauth\]
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: warning: can't get client address: Connection reset by peer$
+
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: error: beginning MaxStartups throttling
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: drop connection #[0-9]+ from \[([0-9]{1,3}\.){3}[0-9]{1,3}\]:[0-9]+ on \[([0-9]{1,3}\.){3}[0-9]{1,3}\]:22 past MaxStartups
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: exited MaxStartups throttling