如何禁止这些ip地址?

发布于 2022-09-06 02:43:50 字数 715 浏览 16 评论 0

tail /var/log/maillog
Oct 30 09:28:44 localhost postfix/smtpd[3226]: disconnect from unknown[103.252.50.140]
Oct 30 09:30:47 localhost postfix/smtpd[3230]: connect from unknown[191.96.249.63]
Oct 30 09:30:48 localhost postfix/smtpd[3230]: warning: unknown[191.96.249.63]: SASL LOGIN authentication failed: authentication failure
Oct 30 09:30:48 localhost postfix/smtpd[3230]: disconnect from unknown[191.96.249.63]
Oct 30 09:31:12 localhost postfix/smtpd[3230]: connect from unknown[191.96.249.70]
Oct 30 09:31:13 localhost postfix/smtpd[3230]: warning: unknown[191.96.249.70]: SASL LOGIN authentication failed: authentication failure

请问,我使用iptable来禁止这些ip 地址,还是,设置dovecot的黑名单来禁止它们?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文