Created
August 16, 2016 14:26
-
-
Save 328/555f8279f7fc241d16c4aaaf1f8e9fb1 to your computer and use it in GitHub Desktop.
dovecotに攻撃してくるやつを片っ端からdropするやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep -R 'pam_unix(dovecot:auth): authentication failure' /var/log/secure | cut -d ' ' -f 14 | sed -e 's/rhost=/firewall-cmd --zone=drop --permanent --add-source=/' | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment