]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sat, 21 Nov 2020 21:22:56 +0000 (21:22 +0000)]
[Minor] Add lua_parsers to docs
Vsevolod Stakhov [Fri, 20 Nov 2020 15:55:39 +0000 (15:55 +0000)]
[Fix] Fix quoted-printable soft newlines bugged case
Vsevolod Stakhov [Fri, 20 Nov 2020 11:23:56 +0000 (11:23 +0000)]
[Minor] Lua_magic: Add ics pattern
Vsevolod Stakhov [Fri, 20 Nov 2020 11:23:28 +0000 (11:23 +0000)]
[Minor] Lua_content: Allow multiple content types to be matched
Vsevolod Stakhov [Fri, 20 Nov 2020 11:23:04 +0000 (11:23 +0000)]
[Minor] Lua_magic: Do not treat by default non-text part as text
Vsevolod Stakhov [Fri, 20 Nov 2020 11:06:17 +0000 (11:06 +0000)]
Merge pull request #3555 from moisseev/webui
[WebUI] Add History tab autorefreshing
moisseev [Fri, 20 Nov 2020 10:14:54 +0000 (13:14 +0300)]
[WebUI] Disable Refresh until ongoing requests
are finished
moisseev [Fri, 20 Nov 2020 08:25:33 +0000 (11:25 +0300)]
[Minor] Add `complete` callback
which to be called when requests to all neighbours are finished.
Vsevolod Stakhov [Thu, 19 Nov 2020 11:44:01 +0000 (11:44 +0000)]
[Minor] Improve error messages
Vsevolod Stakhov [Thu, 19 Nov 2020 11:34:03 +0000 (11:34 +0000)]
[Minor] Fix some more lua compat issues with text:find
moisseev [Thu, 19 Nov 2020 08:06:54 +0000 (11:06 +0300)]
[WebUI] Add History tab autorefreshing
Issue: #820
Vsevolod Stakhov [Wed, 18 Nov 2020 19:56:29 +0000 (19:56 +0000)]
[Fix] Apply max_lua_urls limit for emails as well
Vsevolod Stakhov [Wed, 18 Nov 2020 17:50:19 +0000 (17:50 +0000)]
[Fix] Fix off-by-one with init check
Vsevolod Stakhov [Wed, 18 Nov 2020 17:47:33 +0000 (17:47 +0000)]
[Fix] Fix substring search in case if srchlen == inlen
Vsevolod Stakhov [Wed, 18 Nov 2020 14:11:33 +0000 (14:11 +0000)]
[Minor] Fix another stupid tests regression
Vsevolod Stakhov [Wed, 18 Nov 2020 13:08:08 +0000 (13:08 +0000)]
[Minor] Fix bogus cmake
Vsevolod Stakhov [Wed, 18 Nov 2020 13:01:15 +0000 (13:01 +0000)]
[Minor] Use CONFIGURE_DEPENDS for glob expressions
Vsevolod Stakhov [Wed, 18 Nov 2020 12:29:22 +0000 (12:29 +0000)]
[Fix] Fix smtp comments exclusion
Vsevolod Stakhov [Wed, 18 Nov 2020 10:50:30 +0000 (10:50 +0000)]
[Fix] Fix parsing of escape characters in quoted pairs
Vsevolod Stakhov [Tue, 17 Nov 2020 11:21:50 +0000 (11:21 +0000)]
[Minor] Neural: Add store_pool_only train option
Vsevolod Stakhov [Tue, 17 Nov 2020 11:20:58 +0000 (11:20 +0000)]
[Minor] Do not mix HS_FLAG_SINGLEMATCH and HS_FLAG_SOM_LEFTMOST
Vsevolod Stakhov [Mon, 16 Nov 2020 19:23:17 +0000 (19:23 +0000)]
[Test] Add some tests for rspamd_text:find
Vsevolod Stakhov [Mon, 16 Nov 2020 19:12:59 +0000 (19:12 +0000)]
Merge pull request #3553 from fatalbanana/byte
[Minor] rspamd_text:byte() metamethod
Vsevolod Stakhov [Mon, 16 Nov 2020 18:45:17 +0000 (18:45 +0000)]
[Fix] Fix issue with pushing binary formats to Lua strings
Vsevolod Stakhov [Mon, 16 Nov 2020 17:33:00 +0000 (17:33 +0000)]
[Minor] Lua_text: Add a simple find method
Andrew Lewis [Mon, 16 Nov 2020 18:13:03 +0000 (20:13 +0200)]
[Minor] rspamd_text:byte() metamethod
Vsevolod Stakhov [Sun, 15 Nov 2020 20:15:52 +0000 (20:15 +0000)]
Merge pull request #3551 from korgoth1/master
[TEST] smtp date
korgoth1 [Sat, 14 Nov 2020 21:36:26 +0000 (00:36 +0300)]
[TEST] smtp date
Vsevolod Stakhov [Fri, 13 Nov 2020 18:28:57 +0000 (18:28 +0000)]
[Fix] Use message pointer to avoid obsolete data to be cached
Vsevolod Stakhov [Fri, 13 Nov 2020 17:59:12 +0000 (17:59 +0000)]
[Minor] Improve error logging
Vsevolod Stakhov [Fri, 13 Nov 2020 16:53:02 +0000 (16:53 +0000)]
[Test] Fix tests
Vsevolod Stakhov [Fri, 13 Nov 2020 16:52:43 +0000 (16:52 +0000)]
[Minor] Selectors: filter_string_nils utility transformation
Vsevolod Stakhov [Fri, 13 Nov 2020 16:52:20 +0000 (16:52 +0000)]
[Minor] Improve the default sort function in deep_sort function
Vsevolod Stakhov [Fri, 13 Nov 2020 11:29:41 +0000 (11:29 +0000)]
[Fix] Deduct type of a table methods
Vsevolod Stakhov [Fri, 13 Nov 2020 11:22:06 +0000 (11:22 +0000)]
[Minor] Rbl: Allow to add dependencies for RBL rules
Vsevolod Stakhov [Fri, 13 Nov 2020 11:21:53 +0000 (11:21 +0000)]
[Minor] Rbl: Workaround for 'rules'
Vsevolod Stakhov [Thu, 12 Nov 2020 15:35:42 +0000 (15:35 +0000)]
Merge pull request #3492 from korgoth1/master
[TEST] ARC_ALLOW
Vsevolod Stakhov [Wed, 11 Nov 2020 15:08:01 +0000 (15:08 +0000)]
[Minor] Use rspamd_parsers directly
Vsevolod Stakhov [Wed, 11 Nov 2020 13:41:36 +0000 (13:41 +0000)]
[Rework] Move parsers to a separate lua library
Vsevolod Stakhov [Wed, 11 Nov 2020 10:46:12 +0000 (10:46 +0000)]
Merge pull request #3548 from fatalbanana/metatokens_selector
[Minor] Selectors: Add extractor for metatokens
Andrew Lewis [Wed, 11 Nov 2020 07:47:02 +0000 (09:47 +0200)]
[Minor] Selectors: Add extractor & transform for metatokens
Vsevolod Stakhov [Tue, 10 Nov 2020 22:41:10 +0000 (22:41 +0000)]
[Minor] Mx_check: Limit number of A requests per MX
korgoth1 [Tue, 10 Nov 2020 20:55:30 +0000 (23:55 +0300)]
[TEST] ARC_ALLOW
korgoth1 [Tue, 10 Nov 2020 20:43:08 +0000 (23:43 +0300)]
[TEST] ARC_ALLOW
korgoth1 [Mon, 9 Nov 2020 19:34:38 +0000 (22:34 +0300)]
[TEST] ARC_ALLOW
Vsevolod Stakhov [Mon, 9 Nov 2020 16:21:08 +0000 (16:21 +0000)]
[Test] Add smtp date parser unit tests
Vsevolod Stakhov [Mon, 9 Nov 2020 11:54:58 +0000 (11:54 +0000)]
Merge pull request #3547 from fatalbanana/clickhouse
[Fix] Clickhouse: escape carriage return
Vsevolod Stakhov [Mon, 9 Nov 2020 11:54:11 +0000 (11:54 +0000)]
[Minor] Reputation: Support compatible whitelist definition
Issue: #3545
Vsevolod Stakhov [Mon, 9 Nov 2020 11:53:01 +0000 (11:53 +0000)]
[Minor] Add maps expressions schema
Andrew Lewis [Mon, 9 Nov 2020 10:53:23 +0000 (12:53 +0200)]
[Fix] Clickhouse: escape carriage return
Vsevolod Stakhov [Sun, 8 Nov 2020 21:13:43 +0000 (21:13 +0000)]
[Test] Fix stupid robot
Vsevolod Stakhov [Sat, 7 Nov 2020 23:34:58 +0000 (23:34 +0000)]
[Minor] Disable regexp limits for hyperscan
Vsevolod Stakhov [Fri, 6 Nov 2020 21:23:45 +0000 (21:23 +0000)]
[Feature] Use own daemonization routine
Vsevolod Stakhov [Thu, 5 Nov 2020 15:09:34 +0000 (15:09 +0000)]
Merge pull request #3544 from fatalbanana/tp
[Test] Rework composites test
Vsevolod Stakhov [Thu, 5 Nov 2020 15:02:46 +0000 (15:02 +0000)]
[Minor] Add check for map cache skew
Andrew Lewis [Thu, 5 Nov 2020 13:36:54 +0000 (15:36 +0200)]
[Test] Rework composites test
Vsevolod Stakhov [Thu, 5 Nov 2020 12:56:21 +0000 (12:56 +0000)]
[Fix] Composites: Allow partial match
Vsevolod Stakhov [Thu, 5 Nov 2020 12:39:05 +0000 (12:39 +0000)]
[Feature] Support multiple conditions for symbols
Vsevolod Stakhov [Thu, 5 Nov 2020 10:41:13 +0000 (10:41 +0000)]
Merge pull request #3538 from fatalbanana/conditions_test
[Test] Multiple conditions
Vsevolod Stakhov [Wed, 4 Nov 2020 13:56:36 +0000 (13:56 +0000)]
Merge pull request #3543 from fatalbanana/3395
[Fix] Fix ClamAV result for cached encrypted file (#3395)
Andrew Lewis [Wed, 4 Nov 2020 13:39:45 +0000 (15:39 +0200)]
[Fix] Fix ClamAV result for cached encrypted file (#3395)
Vsevolod Stakhov [Wed, 4 Nov 2020 13:18:43 +0000 (13:18 +0000)]
[Test] Fighting with windmills in robot
Vsevolod Stakhov [Wed, 4 Nov 2020 12:17:59 +0000 (12:17 +0000)]
[Feature] Composites: Improve composite atoms parser
Vsevolod Stakhov [Wed, 4 Nov 2020 11:30:31 +0000 (11:30 +0000)]
[Minor] Lua_magic: RTF should not be treated as text without conversion
Vsevolod Stakhov [Tue, 3 Nov 2020 19:46:43 +0000 (19:46 +0000)]
Merge pull request #3540 from fatalbanana/3489
[Minor] Rspamadm: avoid errors when Redis is unconfigured (#3489)
Vsevolod Stakhov [Tue, 3 Nov 2020 19:46:27 +0000 (19:46 +0000)]
Merge pull request #3539 from fatalbanana/3415
[Fix] Fix settings in case actions are set to null (#3415)
Vsevolod Stakhov [Tue, 3 Nov 2020 10:06:54 +0000 (10:06 +0000)]
[Minor] Update dependency info
Andrew Lewis [Tue, 3 Nov 2020 09:42:59 +0000 (11:42 +0200)]
[Minor] Rspamadm: avoid errors when Redis is unconfigured (#3489)
Andrew Lewis [Tue, 3 Nov 2020 08:46:56 +0000 (10:46 +0200)]
[Fix] Fix settings in case actions are set to null (#3415)
Andrew Lewis [Tue, 3 Nov 2020 07:11:24 +0000 (09:11 +0200)]
[Test] Multiple conditions
Vsevolod Stakhov [Mon, 2 Nov 2020 16:08:00 +0000 (16:08 +0000)]
[Feature] Elastic: Add some missing fields
Vsevolod Stakhov [Sat, 31 Oct 2020 20:46:58 +0000 (20:46 +0000)]
Merge pull request #3537 from citrin/forged-recipients
[Minor] forged_recipients: fix for uppercase RFC5321.MailFrom domain
Vsevolod Stakhov [Fri, 30 Oct 2020 19:06:19 +0000 (19:06 +0000)]
[Minor] Lua_mime: One more off-by-one
Vsevolod Stakhov [Fri, 30 Oct 2020 18:17:44 +0000 (18:17 +0000)]
[Minor] Lua_mime: Some more issue fixed
Anton Yuzhaninov [Fri, 30 Oct 2020 17:44:22 +0000 (17:44 +0000)]
[Minor] forged_recipients: fix for uppercase RFC5321.MailFrom domain
If RFC5321.MailFrom has an address with uppercase domain following error
happens:
/usr/share/rspamd/plugins/forged_recipients.lua:129: attempt to index a nil value; trace: [1]:{/usr/share/rspamd/plugins/forged_recipients.lua:129 - <unknown> [Lua]};
Lowercase a domain.
Vsevolod Stakhov [Fri, 30 Oct 2020 12:09:00 +0000 (12:09 +0000)]
[Minor] Lua_mime: One more offset fix
Vsevolod Stakhov [Fri, 30 Oct 2020 12:04:01 +0000 (12:04 +0000)]
[Minor] Lua_mime: Fix several off-by one issues
Vsevolod Stakhov [Thu, 29 Oct 2020 13:09:33 +0000 (13:09 +0000)]
[Minor] Lua_mime: Quote charser
Vsevolod Stakhov [Thu, 29 Oct 2020 13:05:08 +0000 (13:05 +0000)]
[Minor] Lua_mime: Several fixes in replacement
Vsevolod Stakhov [Wed, 28 Oct 2020 10:35:42 +0000 (10:35 +0000)]
[Minor] Add more logging in map reread reason
Vsevolod Stakhov [Wed, 28 Oct 2020 10:30:49 +0000 (10:30 +0000)]
[Minor] Add matches flag
Vsevolod Stakhov [Tue, 27 Oct 2020 17:11:01 +0000 (17:11 +0000)]
Merge pull request #3532 from moisseev/webui
[WebUI] Fix config editor read-only mode attribute
moisseev [Tue, 27 Oct 2020 15:18:00 +0000 (18:18 +0300)]
[WebUI] Fix config editor read-only mode attribute
Vsevolod Stakhov [Tue, 27 Oct 2020 15:15:39 +0000 (15:15 +0000)]
[Feature] Lua_mime: Add ability to do multipattern replacement
Vsevolod Stakhov [Tue, 27 Oct 2020 11:10:15 +0000 (11:10 +0000)]
[Minor] Lua_mime: Refactor slightly
Vsevolod Stakhov [Tue, 27 Oct 2020 09:32:24 +0000 (09:32 +0000)]
[Minor] Lua_text: Add concat method
Vsevolod Stakhov [Mon, 26 Oct 2020 20:52:59 +0000 (20:52 +0000)]
[Minor] Lua_text: Allow comparison methods with plain strings
Vsevolod Stakhov [Mon, 26 Oct 2020 20:22:46 +0000 (20:22 +0000)]
[Fix] Do not load errored hyperscan database
Vsevolod Stakhov [Mon, 26 Oct 2020 18:04:31 +0000 (18:04 +0000)]
[Feature] Lua_trie: Allow to report start of the match
Vsevolod Stakhov [Mon, 26 Oct 2020 17:49:46 +0000 (17:49 +0000)]
[Minor] Remove unused var
Vsevolod Stakhov [Mon, 26 Oct 2020 14:49:37 +0000 (14:49 +0000)]
[Minor] Fix rspamd_has_only_html_part function + refactor macro names
Vsevolod Stakhov [Mon, 26 Oct 2020 13:01:54 +0000 (13:01 +0000)]
[Minor] Grrr for grrr
Vsevolod Stakhov [Mon, 26 Oct 2020 12:53:25 +0000 (12:53 +0000)]
[Minor] Grr, one more format string issue
Vsevolod Stakhov [Mon, 26 Oct 2020 12:42:57 +0000 (12:42 +0000)]
[Minor] Further fixes about maps duplicates
Vsevolod Stakhov [Mon, 26 Oct 2020 12:26:39 +0000 (12:26 +0000)]
[Rework] Furhter logging improvements
Vsevolod Stakhov [Mon, 26 Oct 2020 12:14:17 +0000 (12:14 +0000)]
[Rework] Track maps origins
Vsevolod Stakhov [Mon, 26 Oct 2020 10:09:36 +0000 (10:09 +0000)]
Merge pull request #3524 from fatalbanana/test_stability
[Test] Improve test stability
Andrew Lewis [Mon, 19 Oct 2020 08:04:57 +0000 (10:04 +0200)]
[Test] Improve test stability
- Antivirus: better visibility into why test servers mightn't start
- Antivirus: don't use ephemeral port range
- Fuzzy skip hash: wait for map reload
Vsevolod Stakhov [Sat, 24 Oct 2020 16:42:29 +0000 (17:42 +0100)]
Merge pull request #3530 from andryyy/patch-17
[Feature] Include fuzzy hashes in meta data, if any
André Peters [Fri, 23 Oct 2020 19:12:37 +0000 (21:12 +0200)]
Include fuzzy hashes in meta data, if any
Tested:
```
[X-Rspamd-From] => unknown"
[X-Rspamd-Ip] => unknown"
[X-Rspamd-Subject] => asdasd"
[X-Rspamd-Qid] => unknown"
[X-Rspamd-Rcpt] => unknown"
[X-Rspamd-Action] => reject"
[X-Rspamd-Score] => 29.15"
[User-Agent] => rspamd-2.6"
[X-Rspamd-Fuzzy] => ["c62020f5ba6f4e3e403b6c67abb860954452fa662bf8c38dae06c17c70cc0b79720cf762e45fbeeea7d2fb17f9cf4b28c851bb70f2526b000dba852899c7ce67"]"
[X-Rspamd-User] => unknown"
[X-Rspamd-Symbols] => [{"score":0,"group":"policies","name":"ARC_NA","groups":["policies","arc"]},{"options":["andre.peters@tinc.gmbh"],"score":0,"group":"headers","name":"HAS_REPLYTO","groups":["headers"]},{"options":["andre@develcow.de"],"score":0,"group":"multimap","name":"RCPT_WANTS_SUBJECT_TAG","groups":["multimap"]},{"score":0,"group":"headers","name":"REPLYTO_EQ_FROM","groups":["headers"]},{"score":0,"group":"headers","name":"FROM_HAS_DN","groups":["headers"]},{"options":["11:
c62020f5ba :1.00:bin"],"score":15,"group":"fuzzy","name":"LOCAL_FUZZY_DENIED","groups":["fuzzy"]},{"score":0.500000,"group":"headers","name":"MV_CASE","groups":["headers"]},{"score":1,"group":"composite","name":"POLICY_FAILURE","groups":["composite"]},{"options":["multipart/alternative","text/plain"],"score":-0.100000,"group":"mime_types","name":"MIME_GOOD","groups":["mime_types"]},{"options":["failed to scan and retransmits exceed"],"score":0,"group":"antivirus","name":"CLAM_VIRUS_FAIL","groups":["antivirus"]},{"options":["1"],"score":0,"group":"headers","name":"RCPT_COUNT_ONE","groups":["headers"]},{"options":["100.00%"],"score":2.500000,"group":"statistics","name":"BAYES_SPAM","groups":["statistics"]},{"score":0,"group":"headers","name":"TO_DN_EQ_ADDR_ALL","groups":["headers"]},{"options":["0"],"score":0,"group":"headers","name":"RCVD_COUNT_ZERO","groups":["headers"]},{"options":["develcow.de"],"score":0,"group":"multimap","name":"RCPT_MAILCOW_DOMAIN","groups":["multimap"]},{"score":0,"group":"policies","name":"R_DKIM_NA","groups":["policies","dkim"]},{"options":["0:+","1:+","2:~"],"score":0,"group":"mime_types","name":"MIME_TRACE","groups":["mime_types"]},{"options":["subject"],"score":0.250000,"group":"headers","name":"R_MIXED_CHARSET","groups":["headers"]},{"score":0.500000,"group":"Message ID","name":"MID_RHS_NOT_FQDN","groups":["Message ID"]},{"score":8.500000,"group":"hfilter","name":"HFILTER_HOSTNAME_UNKNOWN","groups":["hfilter"]},{"options":["tinc.gmbh : No valid SPF, No valid DKIM","none"],"score":1,"group":"policies","name":"DMARC_POLICY_SOFTFAIL","groups":["policies","dmarc"]}]"
[Content-Type] => text/plain"
[Content-Length] => 3825"
[Host] => nginx"
[Connection] => close"
```
Will print "unknown" if missing.