Linux关闭smtp服务,linux – 处理SMTP无效命令攻击

这里至少有一个选项可以在开始吐出错误后对这些连接进行tarpitting.有效且行为良好的客户端不应该落入此tarpit.

dnl # New option in v8.14.0

dnl # Override default limit (of 20) NOOPs (invalid or unsupported SMTP

dnl # commands) before daemon will throttle connection by slowing

dnl # error message replies (similar to "confBAD_RCPT_THROTTLE")

define(`MaxNOOPCommands',`5')dnl

dnl # New feature in v8.13.1 (not listed in Companion)

dnl # Set time in milliseconds before sendmail will present its banner

dnl # to a remote host (spammers won't wait and will already be

dnl # transmitting before pause expires,and sendmail will

dnl # refuse based on pre-greeting traffic) 5000=5 seconds

dnl # NOTE: Requires use of FEATURE(`access_db') and "GreetPause" entries

dnl # in access table

FEATURE(`greet_pause',`5000')dnl

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值