]>
source.dussan.org Git - rspamd.git/log
Duncan Bellamy [Sun, 23 May 2021 11:57:58 +0000 (12:57 +0100)]
[Feature] add SYSTEM_ZSTD cmake option
To use the system zstd instead on the bundled version
Vsevolod Stakhov [Sat, 22 May 2021 12:23:13 +0000 (13:23 +0100)]
[Minor] Const-ify trim function as it does not change anything in fact
Vsevolod Stakhov [Fri, 21 May 2021 15:32:10 +0000 (16:32 +0100)]
[Minor] Remove conditional msg_ macro from util.c
Vsevolod Stakhov [Fri, 21 May 2021 15:28:55 +0000 (16:28 +0100)]
[Rework] Allow C code to be compiled with C++ compiler
Vsevolod Stakhov [Fri, 21 May 2021 15:28:26 +0000 (16:28 +0100)]
[Minor] Css: Allow to convert css color to uint32_t
Vsevolod Stakhov [Fri, 21 May 2021 15:28:08 +0000 (16:28 +0100)]
[Minor] Allow typed mempool alloc
Vsevolod Stakhov [Fri, 21 May 2021 13:21:55 +0000 (14:21 +0100)]
[Minor] Add -m64 option
Vsevolod Stakhov [Fri, 21 May 2021 08:44:16 +0000 (09:44 +0100)]
[Rework] Move and adopt entities handling logic
Vsevolod Stakhov [Fri, 21 May 2021 08:18:47 +0000 (09:18 +0100)]
[Rework] Add tags definitions
Vsevolod Stakhov [Fri, 21 May 2021 08:18:07 +0000 (09:18 +0100)]
[Rework] Move entities/tags handling
Vsevolod Stakhov [Thu, 20 May 2021 09:46:57 +0000 (10:46 +0100)]
[Minor] Move html code to a separate subdir (no functional changes)
Vsevolod Stakhov [Wed, 19 May 2021 17:47:22 +0000 (18:47 +0100)]
[Fix] Fix http maps with no or invalid expires data
Vsevolod Stakhov [Wed, 19 May 2021 14:12:33 +0000 (15:12 +0100)]
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
Issue: #3748
Vsevolod Stakhov [Wed, 19 May 2021 14:10:21 +0000 (15:10 +0100)]
[Minor] Allow utf8 identifiers in the selectors
Vsevolod Stakhov [Tue, 18 May 2021 15:13:31 +0000 (16:13 +0100)]
[Fix] Rework metrics handling
Issue: #3754
Vsevolod Stakhov [Tue, 18 May 2021 14:55:28 +0000 (15:55 +0100)]
Merge pull request #3754 from mrueg/openmetrics
[Feature] Implement an endpoint for OpenMetrics / Prometheus
Vsevolod Stakhov [Tue, 18 May 2021 12:19:16 +0000 (13:19 +0100)]
Merge pull request #3747 from fatalbanana/use_settings
even further updates for tests
Vsevolod Stakhov [Tue, 18 May 2021 11:43:22 +0000 (12:43 +0100)]
[Minor] Fix buffer overflow due to libicu super safe macros
Andrew Lewis [Tue, 11 May 2021 11:50:29 +0000 (13:50 +0200)]
[Test] Merge test suites; use settings
Vsevolod Stakhov [Mon, 17 May 2021 20:42:38 +0000 (21:42 +0100)]
[Minor] Fix build with older icu
Vsevolod Stakhov [Mon, 17 May 2021 20:20:22 +0000 (21:20 +0100)]
[Minor] Another try to fix the logic around 8bit charsets handling
Vsevolod Stakhov [Mon, 17 May 2021 20:13:53 +0000 (21:13 +0100)]
[Minor] Fix non-utf inputs checking
Manuel Rüger [Thu, 13 May 2021 23:37:00 +0000 (01:37 +0200)]
Implement an endpoint for OpenMetrics
Now /metrics provides an endpoint that is openmetrics compatible.
Vsevolod Stakhov [Mon, 17 May 2021 15:39:23 +0000 (16:39 +0100)]
[Minor] Add missing include
Vsevolod Stakhov [Mon, 17 May 2021 15:34:35 +0000 (16:34 +0100)]
[Rework] Use C++ version for unicode normalisation
Vsevolod Stakhov [Mon, 17 May 2021 15:34:17 +0000 (16:34 +0100)]
[Minor] Dmarc: Slightly refactor function
Vsevolod Stakhov [Mon, 17 May 2021 15:33:51 +0000 (16:33 +0100)]
[Minor] Always use UTF8 as the system encoding (for libicu)
Vsevolod Stakhov [Sun, 16 May 2021 20:36:17 +0000 (21:36 +0100)]
[Fix] Try to fix some broken code in DMARC reporting plugin
Issue: #2499
Vsevolod Stakhov [Sat, 15 May 2021 20:22:37 +0000 (21:22 +0100)]
[Minor] Remove legacy iconv stuff
Vsevolod Stakhov [Fri, 14 May 2021 19:58:28 +0000 (20:58 +0100)]
[Rework] Use C++ utf8 library with unit tests to trim whitespaces
Vsevolod Stakhov [Fri, 14 May 2021 15:59:30 +0000 (16:59 +0100)]
[Minor] Strip visible parts of urls using utf rules
Vsevolod Stakhov [Fri, 14 May 2021 10:26:58 +0000 (11:26 +0100)]
[Minor] Do not treat unnormalised urls as obscured
Vsevolod Stakhov [Thu, 13 May 2021 20:36:05 +0000 (21:36 +0100)]
[Minor] Fix bit operations logic
Vsevolod Stakhov [Thu, 13 May 2021 20:23:18 +0000 (21:23 +0100)]
[Minor] One more fix in the ZW spaces urls processing logic
Vsevolod Stakhov [Thu, 13 May 2021 14:05:21 +0000 (15:05 +0100)]
[Minor] Fix userinfo encoding
Vsevolod Stakhov [Thu, 13 May 2021 13:58:11 +0000 (14:58 +0100)]
[Feature] Allow to log severity level explicitly
Vsevolod Stakhov [Thu, 13 May 2021 12:59:09 +0000 (13:59 +0100)]
[Minor] Add some logging
Vsevolod Stakhov [Thu, 13 May 2021 09:55:57 +0000 (10:55 +0100)]
[Minor] Backport some changes from libev
Vsevolod Stakhov [Wed, 12 May 2021 20:42:24 +0000 (21:42 +0100)]
[Fix] Fix fuzzy retransmits
Vsevolod Stakhov [Wed, 12 May 2021 19:15:19 +0000 (20:15 +0100)]
[Feature] Allow to specify different timeouts/retransmits for fuzzy rules
Vsevolod Stakhov [Wed, 12 May 2021 16:42:55 +0000 (17:42 +0100)]
[Feature] Add race condition protection against hs_helper restarts
Vsevolod Stakhov [Wed, 12 May 2021 16:16:36 +0000 (17:16 +0100)]
[Minor] Fix multiple @ at the beginnig
Vsevolod Stakhov [Wed, 12 May 2021 13:54:24 +0000 (14:54 +0100)]
[Minor] Add loop break
Vsevolod Stakhov [Wed, 12 May 2021 13:39:09 +0000 (14:39 +0100)]
[Minor] Fix parsing of some bogus urls
Vsevolod Stakhov [Wed, 12 May 2021 10:05:41 +0000 (11:05 +0100)]
[Minor] Css: Fix '\v' and '\f' handling
Vsevolod Stakhov [Wed, 12 May 2021 09:31:28 +0000 (10:31 +0100)]
Merge pull request #3750 from mrueg/dockerfile
[Minor] Dockerfile: Set signing-key
Vsevolod Stakhov [Tue, 11 May 2021 14:26:34 +0000 (15:26 +0100)]
[Minor] Filter urls for R_SUSPICIOUS_URL check
Suggested by: @citrin
Vsevolod Stakhov [Tue, 11 May 2021 14:21:22 +0000 (15:21 +0100)]
[Minor] Use numeric bit and for checking flags
Vsevolod Stakhov [Tue, 11 May 2021 14:13:15 +0000 (15:13 +0100)]
[Fix] Fix normalisation flags propagation
Vsevolod Stakhov [Tue, 11 May 2021 12:31:14 +0000 (13:31 +0100)]
[Minor] Store neural score in task cache
Vsevolod Stakhov [Mon, 10 May 2021 19:32:12 +0000 (20:32 +0100)]
[Minor] Css: Fix OOB reading
Manuel Rüger [Sun, 9 May 2021 23:49:28 +0000 (01:49 +0200)]
Dockerfile: Set signing-key
Vsevolod Stakhov [Fri, 7 May 2021 15:32:56 +0000 (16:32 +0100)]
[Minor] Css: Fix numbers starting from '+'
Vsevolod Stakhov [Fri, 7 May 2021 11:08:18 +0000 (12:08 +0100)]
[Minor] Try to fix another boundary issue
Vsevolod Stakhov [Thu, 6 May 2021 21:42:18 +0000 (22:42 +0100)]
[Minor] Sigh, another condition fix
Vsevolod Stakhov [Thu, 6 May 2021 21:24:00 +0000 (22:24 +0100)]
[Minor] Fix check condition
Vsevolod Stakhov [Thu, 6 May 2021 15:31:36 +0000 (16:31 +0100)]
[Minor] Css: Fix bits operations
Vsevolod Stakhov [Thu, 6 May 2021 14:15:01 +0000 (15:15 +0100)]
[Minor] Css: Fix parsing of the url tokens
Vsevolod Stakhov [Thu, 6 May 2021 10:31:57 +0000 (11:31 +0100)]
[Minor] Css: Use old good strtod that does not throw exceptions
Vsevolod Stakhov [Thu, 6 May 2021 10:21:15 +0000 (11:21 +0100)]
[Minor] Css: Fix hash tokens parsing
Vsevolod Stakhov [Wed, 5 May 2021 15:18:39 +0000 (16:18 +0100)]
[Minor] Sigh, one more adjustment
Vsevolod Stakhov [Wed, 5 May 2021 15:14:01 +0000 (16:14 +0100)]
[Minor] Check boundary earlier
Vsevolod Stakhov [Wed, 5 May 2021 14:14:51 +0000 (15:14 +0100)]
[Minor] Fix unintended reindentation
Vsevolod Stakhov [Wed, 5 May 2021 14:03:44 +0000 (15:03 +0100)]
Merge pull request #3734 from fatalbanana/unreplace_variables
further test framework updates
Vsevolod Stakhov [Wed, 5 May 2021 14:01:47 +0000 (15:01 +0100)]
[Minor] Fix comments parsing
Vsevolod Stakhov [Wed, 5 May 2021 13:59:56 +0000 (14:59 +0100)]
[Rework] Use C++ version of the lua threads pool
Vsevolod Stakhov [Wed, 5 May 2021 10:37:43 +0000 (11:37 +0100)]
[Minor] Allow forced termination of the suspended threads
Andrew Lewis [Tue, 4 May 2021 22:42:11 +0000 (00:42 +0200)]
[Test] Cleanup
- Use consistent naming for setup/teardown
- Remove some unused files
- Sort & align variables
Andrew Lewis [Tue, 4 May 2021 19:43:55 +0000 (21:43 +0200)]
[Test] Use automatically exported variables
Vsevolod Stakhov [Tue, 4 May 2021 16:51:30 +0000 (17:51 +0100)]
[Project] Css: Fix rules merging
Andrew Lewis [Tue, 4 May 2021 11:48:37 +0000 (13:48 +0200)]
[Test] Use lupa for templating rspamd configs
Vsevolod Stakhov [Tue, 4 May 2021 11:17:24 +0000 (12:17 +0100)]
[Minor] Neural: Do not filter static profiles
Vsevolod Stakhov [Mon, 3 May 2021 20:18:53 +0000 (21:18 +0100)]
[Minor] SPF: Fix external relay log message
Vsevolod Stakhov [Sun, 2 May 2021 19:34:43 +0000 (20:34 +0100)]
[Test] Add a unit test for buckets variables in the mempool
Vsevolod Stakhov [Sun, 2 May 2021 19:30:01 +0000 (20:30 +0100)]
[Minor] Lua_mempool: Fix setting buckets of variables
Reported by: Steve Sturges
Vsevolod Stakhov [Fri, 30 Apr 2021 16:58:00 +0000 (17:58 +0100)]
[Minor] Pet luacheck
Vsevolod Stakhov [Fri, 30 Apr 2021 16:51:45 +0000 (17:51 +0100)]
[Minor] Fix work with file names
Vsevolod Stakhov [Fri, 30 Apr 2021 16:51:29 +0000 (17:51 +0100)]
[Minor] Bayes actually uses sets, not lists
Vsevolod Stakhov [Fri, 30 Apr 2021 16:35:44 +0000 (17:35 +0100)]
[Feature] Add preliminary restore bayes support
Vsevolod Stakhov [Fri, 30 Apr 2021 15:17:32 +0000 (16:17 +0100)]
[Minor] Fix command line arguments group
Issue: #3742
Vsevolod Stakhov [Fri, 30 Apr 2021 12:48:42 +0000 (13:48 +0100)]
[Minor] Another rework in dumping logic
Vsevolod Stakhov [Thu, 29 Apr 2021 18:44:40 +0000 (19:44 +0100)]
[Minor] Neural: Allow to have flat classification if needed
Vsevolod Stakhov [Thu, 29 Apr 2021 18:41:03 +0000 (19:41 +0100)]
[Feature] Neural: Allow to balance FP/FN for the network
Vsevolod Stakhov [Thu, 29 Apr 2021 15:35:21 +0000 (16:35 +0100)]
Merge pull request #3739 from fatalbanana/replyto_addr_eq_from
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses
Andrew Lewis [Thu, 29 Apr 2021 08:31:59 +0000 (10:31 +0200)]
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses
Vsevolod Stakhov [Wed, 28 Apr 2021 18:15:43 +0000 (19:15 +0100)]
[Minor] Allow rspamd_text in rspamd_url.create
Vsevolod Stakhov [Wed, 28 Apr 2021 14:32:14 +0000 (15:32 +0100)]
[Minor] Rework dump output structure
Vsevolod Stakhov [Wed, 28 Apr 2021 11:34:59 +0000 (12:34 +0100)]
Merge pull request #3733 from citrin/rules-updates
Rules updates
Anton Yuzhaninov [Tue, 27 Apr 2021 15:50:04 +0000 (16:50 +0100)]
[Rules] Add raw addresses to MULTIPLE_FROM options
It is confusing to have MULTIPLE_FROM with a single address in options,
which happens if one of addresses is empty - usually because of
misplaces <>. While here simplify condition.
Anton Yuzhaninov [Tue, 27 Apr 2021 15:23:44 +0000 (16:23 +0100)]
[Minor] Make HAS_PHPMAILER_SIG regexps more specific
Use stricter regexp to avoid false matches.
Vsevolod Stakhov [Tue, 27 Apr 2021 13:37:11 +0000 (14:37 +0100)]
[Minor] Statistics_dump: Fix formatting
Vsevolod Stakhov [Tue, 27 Apr 2021 13:33:32 +0000 (14:33 +0100)]
[Minor] Rspamadm: Move all warnings to stderr instead of stdin
Vsevolod Stakhov [Tue, 27 Apr 2021 13:30:44 +0000 (14:30 +0100)]
[Minor] Statistics_dump: Support compression when dump
Vsevolod Stakhov [Tue, 27 Apr 2021 11:15:34 +0000 (12:15 +0100)]
[Minor] Try to fix sync Redis API by not resuming LUA_REDIS_SPECIFIC_FINISHED threads
Vsevolod Stakhov [Mon, 26 Apr 2021 15:48:42 +0000 (16:48 +0100)]
[Test] Add unit tests for stream compression
Vsevolod Stakhov [Mon, 26 Apr 2021 15:48:20 +0000 (16:48 +0100)]
[Minor] Do not decompress empty stream as zst behaves badly in this case
Vsevolod Stakhov [Mon, 26 Apr 2021 14:04:36 +0000 (15:04 +0100)]
[Feature] Add zstd streaming API
Vsevolod Stakhov [Mon, 26 Apr 2021 09:53:56 +0000 (10:53 +0100)]
[Rework] Move compression routines outside of rspamd_util library
Vsevolod Stakhov [Fri, 23 Apr 2021 19:19:05 +0000 (20:19 +0100)]
[Minor] Milter_headers: Use specific settings
Issue: #3728
Vsevolod Stakhov [Fri, 23 Apr 2021 13:54:28 +0000 (14:54 +0100)]
[Feature] Add a simple dumper for bayes tokens