瀏覽代碼

[Minor] Add rule for localhost HELOs in Received headers

pull/4890/head
twesterhever 1 月之前
父節點
當前提交
65c8a66198
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      rules/regexp/headers.lua

+ 7
- 0
rules/regexp/headers.lua 查看文件

@@ -800,6 +800,13 @@ reconf['INVALID_POSTFIX_RECEIVED'] = {
group = 'headers'
}

reconf['RECEIVED_HELO_LOCALHOST'] = {
re = 'Received=/from (localhost|\\[127\\.0\\.0\\.1\\])\\s+/X',
score = 0.0,
description = 'Localhost HELO seen in Received header',
group = 'headers'
}

reconf['X_PHP_FORGED_0X'] = {
re = "X-PHP-Originating-Script=/^0\\d/X",
score = 4.0,

Loading…
取消
儲存