[Netfilter] Implement protocol error regex, fulfills #4093

This commit is contained in:
andryyy
2021-05-10 08:44:34 +02:00
parent 423ccb9ba9
commit 08e9ab18a8
2 changed files with 2 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ def refreshF2bregex():
f2bregex[6] = '([0-9a-f\.:]+) \"GET \/SOGo\/.* HTTP.+\" 403 .+'
f2bregex[7] = 'Rspamd UI: Invalid password by ([0-9a-f\.:]+)'
f2bregex[8] = '-login: Aborted login \(auth failed .+\): user=.+, rip=([0-9a-f\.:]+), lip.+'
f2bregex[9] = 'NOQUEUE: reject: RCPT from \[([0-9a-f\.:]+)].+Protocol error.+'
r.set('F2B_REGEX', json.dumps(f2bregex, ensure_ascii=False))
else:
try: