Sfoglia il codice sorgente

Merge pull request #4890 from twesterhever/temp-received-localhost

[Minor] Add rule for localhost HELOs in Received headers
pull/4901/head
Vsevolod Stakhov 1 mese fa
parent
commit
06b3c73505
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7
    0
      rules/regexp/headers.lua

+ 7
- 0
rules/regexp/headers.lua Vedi File

@@ -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…
Annulla
Salva