]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sat, 9 Jul 2022 19:24:14 +0000 (20:24 +0100)]
[Minor] Eh, one more fix for the format string
Noticed by: @citrin
Vsevolod Stakhov [Fri, 8 Jul 2022 21:08:32 +0000 (22:08 +0100)]
[Fix] Remove check for a score with no symbol being registered
This check is redundant and has proven to confuse users who want to disable some rules.
Indeed, if we are looking for a way to hint a user that the registered symbol `example`
does not match with the scored symbol `exmaple` (e.g. incorrect spelling), then this
error will be detected when we match symcache entries and the scores. The opposite check
is useless to prevent such an error. And since it is much harder to define a dangling score
with no real symbol, we can just ignore this possibility in general, since the FP for this check,
specifically when some rule got intentionally disabled but a score is not removed just annoys
users for no good reason.
Vsevolod Stakhov [Fri, 8 Jul 2022 20:55:04 +0000 (21:55 +0100)]
[Minor] Some more fixes towards hyperscan obsoletion reasoning
Vsevolod Stakhov [Thu, 7 Jul 2022 22:30:26 +0000 (23:30 +0100)]
[Minor] Reduce log level
Vsevolod Stakhov [Tue, 5 Jul 2022 19:30:24 +0000 (20:30 +0100)]
[Minor] Add some extra error reporting to hyperscan cache checks
Vsevolod Stakhov [Tue, 5 Jul 2022 19:08:22 +0000 (20:08 +0100)]
[Minor] Save list of children for normal symbols with dependent virtual symbols
Vsevolod Stakhov [Tue, 5 Jul 2022 18:41:10 +0000 (19:41 +0100)]
[Minor] Use upstream in the dkim signing tools
Vsevolod Stakhov [Mon, 4 Jul 2022 20:54:39 +0000 (21:54 +0100)]
Merge pull request #4211 from ghtm2/master
[Minor] Update rspamd.spec to fix Fedora 36 build
ghtm2 [Sun, 3 Jul 2022 13:21:17 +0000 (15:21 +0200)]
Use ld.bfd on Fedora 36
Link to upstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=
2043178
Vsevolod Stakhov [Sun, 3 Jul 2022 12:04:56 +0000 (13:04 +0100)]
[Minor] Use upstreams in aws_s3 plugin
Vsevolod Stakhov [Sun, 3 Jul 2022 11:58:45 +0000 (12:58 +0100)]
[Feature] Add function to store upstreams for HTTP urls
Vsevolod Stakhov [Sat, 2 Jul 2022 13:53:24 +0000 (14:53 +0100)]
[Rework] Pass upstream when sending TCP requests
Vsevolod Stakhov [Sat, 2 Jul 2022 13:35:53 +0000 (14:35 +0100)]
[Minor] Initialise variable
Vsevolod Stakhov [Sat, 2 Jul 2022 12:43:57 +0000 (13:43 +0100)]
[Feature] Accept upstream in lua_tcp
Vsevolod Stakhov [Sat, 2 Jul 2022 12:40:31 +0000 (13:40 +0100)]
[Minor] Set ok flag on success
Vsevolod Stakhov [Sat, 2 Jul 2022 12:37:29 +0000 (13:37 +0100)]
[Minor] Check for NULL first for sanity
Vsevolod Stakhov [Sat, 2 Jul 2022 12:35:22 +0000 (13:35 +0100)]
[Minor] Use upstreams refcounts
Vsevolod Stakhov [Sat, 2 Jul 2022 12:32:56 +0000 (13:32 +0100)]
[Feature] Allow lua_http module to accept upstreams
Vsevolod Stakhov [Fri, 1 Jul 2022 20:31:15 +0000 (21:31 +0100)]
[Feature] Check content for binary stuff before dumping it to Lua
Issue: #4204
Vsevolod Stakhov [Fri, 1 Jul 2022 20:31:01 +0000 (21:31 +0100)]
[Minor] Inverse logic
Vsevolod Stakhov [Fri, 1 Jul 2022 20:14:52 +0000 (21:14 +0100)]
[Minor] Implement binary string checks
Issue: #4204
Vsevolod Stakhov [Fri, 1 Jul 2022 20:14:21 +0000 (21:14 +0100)]
[Minor] Set binary flag on binary texts
Vsevolod Stakhov [Fri, 1 Jul 2022 16:44:55 +0000 (17:44 +0100)]
[Test] Use fake record for testing
Vsevolod Stakhov [Fri, 1 Jul 2022 09:27:45 +0000 (10:27 +0100)]
[Test] Add a test to ensure that DKIM verifier ignores unknown tags
Obtained from: John Levine
Vsevolod Stakhov [Thu, 30 Jun 2022 19:58:32 +0000 (20:58 +0100)]
Merge pull request #4206 from ghtm2/master
Update rspamd.spec, delete old el6 files
Vsevolod Stakhov [Wed, 29 Jun 2022 20:06:08 +0000 (21:06 +0100)]
[Minor] Oops, my clang plugin tells me something that I have ignored
Vsevolod Stakhov [Wed, 29 Jun 2022 20:00:14 +0000 (21:00 +0100)]
[Minor] Fix confusing with variable type and re-use
Vsevolod Stakhov [Wed, 29 Jun 2022 19:52:55 +0000 (20:52 +0100)]
[Fix] Mempool: Fix alloc_array function to actually multiply nmembers by size
Found by: @citrin
Vsevolod Stakhov [Wed, 29 Jun 2022 19:51:59 +0000 (20:51 +0100)]
Merge pull request #4209 from moisseev/webui
[WebUI] Tweak history table layout
Vsevolod Stakhov [Wed, 29 Jun 2022 19:51:13 +0000 (20:51 +0100)]
[Fix] Ignore all (I hope) unknown DKIM signature KV pairs
Vsevolod Stakhov [Wed, 29 Jun 2022 19:50:28 +0000 (20:50 +0100)]
Merge pull request #4208 from citrin/upstream_revive_time
[Fix] Upstreams: Don't ignore revive_time config option
moisseev [Wed, 29 Jun 2022 14:52:57 +0000 (17:52 +0300)]
[WebUI] Tweak history table layout
Anton Yuzhaninov [Wed, 29 Jun 2022 14:10:33 +0000 (15:10 +0100)]
[Fix] Upstreams: Don't ignore revive_time config option
Vsevolod Stakhov [Tue, 28 Jun 2022 20:14:17 +0000 (21:14 +0100)]
Revert "[Minor] C++20 is here"
This change is not so useful to break compatibility with Clang 7. Maybe later...
This reverts commit
48ce799a7a5cf1bde8440e3e75a677ee3e467c9d .
Vsevolod Stakhov [Tue, 28 Jun 2022 19:20:21 +0000 (20:20 +0100)]
[Fix] Dkim: Ignore unknown DKIM kv pairs as stated in RFC
Vsevolod Stakhov [Tue, 28 Jun 2022 18:57:46 +0000 (19:57 +0100)]
[Fix] Symcache: Do not use C style comparators in C++ sorts
ghtm2 [Tue, 28 Jun 2022 12:19:36 +0000 (14:19 +0200)]
Update rspamd.spec
ghtm2 [Tue, 28 Jun 2022 12:18:50 +0000 (14:18 +0200)]
Rename rspamd.logrotate.systemd to rspamd.logrotate
ghtm2 [Tue, 28 Jun 2022 12:18:31 +0000 (14:18 +0200)]
Delete rspamd.logrotate
ghtm2 [Tue, 28 Jun 2022 12:18:24 +0000 (14:18 +0200)]
Delete rspamd.init
Vsevolod Stakhov [Mon, 27 Jun 2022 19:57:47 +0000 (20:57 +0100)]
[Minor] Fix Redis prefixes
Vsevolod Stakhov [Mon, 27 Jun 2022 19:45:39 +0000 (20:45 +0100)]
[CritFix] Neural: Fix keys regression after #3968
Vsevolod Stakhov [Sun, 26 Jun 2022 13:18:03 +0000 (14:18 +0100)]
[Minor] Add a helper to serialize stats tokens to a messagepack request
Vsevolod Stakhov [Sat, 25 Jun 2022 13:31:19 +0000 (14:31 +0100)]
[Minor] Arc: Simplify code
Vsevolod Stakhov [Sat, 25 Jun 2022 11:45:28 +0000 (12:45 +0100)]
[Minor] Add some sanity stuff for signing to skip signing for passthrough results
Vsevolod Stakhov [Fri, 24 Jun 2022 22:38:48 +0000 (23:38 +0100)]
[Minor] Add `ignore_passthrough` flag to signing symbols
Issue: #4202
Vsevolod Stakhov [Fri, 24 Jun 2022 21:06:44 +0000 (22:06 +0100)]
Revert "[Minor] Simplify code"
It seems that safety guarantees as defined by standard apply merely to the values but not to the keys.
So revert to a more ugly approach unless there is a better way to do `try_emplace` with move only key.
This reverts commit
8bb63981133b479dcaf24b9d34d43993c1b732c8 .
Vsevolod Stakhov [Fri, 24 Jun 2022 20:52:17 +0000 (21:52 +0100)]
[Minor] Simplify code
Vsevolod Stakhov [Thu, 23 Jun 2022 20:57:19 +0000 (21:57 +0100)]
[Minor] Grow small strings more quickly
Vsevolod Stakhov [Tue, 21 Jun 2022 18:13:35 +0000 (19:13 +0100)]
[Minor] Move stuff
Vsevolod Stakhov [Mon, 20 Jun 2022 19:46:27 +0000 (20:46 +0100)]
[Minor] Add some sanity checks to the redis scripts
Vsevolod Stakhov [Sun, 19 Jun 2022 17:28:19 +0000 (18:28 +0100)]
[Minor] Give up about passing constexpr literal
Vsevolod Stakhov [Sun, 19 Jun 2022 12:11:00 +0000 (13:11 +0100)]
[Minor] Another try to fix emphasis function
Vsevolod Stakhov [Sun, 19 Jun 2022 12:02:15 +0000 (13:02 +0100)]
[Fix] Use proper format string, sigh...
Vsevolod Stakhov [Sun, 19 Jun 2022 12:01:10 +0000 (13:01 +0100)]
[Minor] C++20 is here
Vsevolod Stakhov [Sun, 19 Jun 2022 11:57:48 +0000 (12:57 +0100)]
[Minor] Add consteval for fmt wrapper
Vsevolod Stakhov [Sun, 19 Jun 2022 11:48:45 +0000 (12:48 +0100)]
[Minor] Refrain from using runtime format strings
Vsevolod Stakhov [Sun, 19 Jun 2022 11:48:31 +0000 (12:48 +0100)]
[Minor] Remove deprecated stuff
Vsevolod Stakhov [Sun, 19 Jun 2022 11:24:09 +0000 (12:24 +0100)]
[Rework] Switch minimum C++ standard version to C++20
Vsevolod Stakhov [Sat, 18 Jun 2022 13:50:43 +0000 (14:50 +0100)]
[Project] Http_stat: Notice statfiles when creating runtime
Vsevolod Stakhov [Sat, 18 Jun 2022 13:35:55 +0000 (14:35 +0100)]
[Minor] Pass statfile id when requesting for the backend runtime
Vsevolod Stakhov [Thu, 16 Jun 2022 12:40:47 +0000 (13:40 +0100)]
[Minor] Remove unused function
Vsevolod Stakhov [Wed, 15 Jun 2022 13:44:47 +0000 (14:44 +0100)]
[Minor] Fix table output
Vsevolod Stakhov [Wed, 15 Jun 2022 13:14:22 +0000 (14:14 +0100)]
[Minor] Add log tag to proxy scripts
Issue: #4126
Vsevolod Stakhov [Tue, 14 Jun 2022 20:08:14 +0000 (21:08 +0100)]
[Minor] Use fixed floating point format
Vsevolod Stakhov [Mon, 13 Jun 2022 22:41:22 +0000 (23:41 +0100)]
[Minor] Try to add workaround for replxx usage with no history
Issue: #4133
Vsevolod Stakhov [Sat, 11 Jun 2022 12:24:50 +0000 (13:24 +0100)]
[Project] Add experimental HTTP statistics backend
Vsevolod Stakhov [Sat, 11 Jun 2022 11:24:23 +0000 (12:24 +0100)]
[Minor] Simplify array_of using types deduction
Vsevolod Stakhov [Fri, 10 Jun 2022 20:45:04 +0000 (21:45 +0100)]
[Minor] Use header only mode for fmt
Vsevolod Stakhov [Fri, 10 Jun 2022 20:33:39 +0000 (21:33 +0100)]
[Minor] Some minor improvements
Vsevolod Stakhov [Wed, 8 Jun 2022 21:57:57 +0000 (22:57 +0100)]
[Minor] More colours
Vsevolod Stakhov [Wed, 8 Jun 2022 21:46:40 +0000 (22:46 +0100)]
[Feature] Allow to sort symbols output
Vsevolod Stakhov [Wed, 8 Jun 2022 19:21:17 +0000 (20:21 +0100)]
[Minor] Fix parsing of the headers
Vsevolod Stakhov [Tue, 7 Jun 2022 21:38:44 +0000 (22:38 +0100)]
[Minor] Fix compile issues
Vsevolod Stakhov [Tue, 7 Jun 2022 21:16:04 +0000 (22:16 +0100)]
[Minor] Grrr, remove not ready backend one more time
Vsevolod Stakhov [Tue, 7 Jun 2022 20:01:22 +0000 (21:01 +0100)]
[Minor] Use tty safe colours support
Vsevolod Stakhov [Tue, 7 Jun 2022 18:50:52 +0000 (19:50 +0100)]
[Minor] Add some terminal stuff
Vsevolod Stakhov [Tue, 7 Jun 2022 18:32:04 +0000 (19:32 +0100)]
[Rework] Rewrite rspamc in C++
Vsevolod Stakhov [Mon, 6 Jun 2022 20:43:08 +0000 (21:43 +0100)]
Merge pull request #4189 from moisseev/webui
[WebUI] Fix privileged access for secure_ip
Vsevolod Stakhov [Mon, 6 Jun 2022 20:42:09 +0000 (21:42 +0100)]
[Minor] Add a memory erasing allocator
moisseev [Mon, 6 Jun 2022 15:01:53 +0000 (18:01 +0300)]
[WebUI] Fix privileged access for secure_ip
Vsevolod Stakhov [Sat, 4 Jun 2022 17:59:28 +0000 (18:59 +0100)]
[Minor] Committed by mistake
Vsevolod Stakhov [Sat, 4 Jun 2022 17:57:40 +0000 (18:57 +0100)]
[Fix] Properly check the original email flag
Issue: #4167, #4104, #4187
Vsevolod Stakhov [Sat, 4 Jun 2022 17:57:22 +0000 (18:57 +0100)]
[Minor] Refactor bogus enum
Vsevolod Stakhov [Thu, 2 Jun 2022 20:23:12 +0000 (21:23 +0100)]
[Fix] Properly parse expressions atoms
Issue: #4181
Vsevolod Stakhov [Thu, 2 Jun 2022 20:22:28 +0000 (21:22 +0100)]
[Test] Improve settings test
Issue: #4181
Vsevolod Stakhov [Wed, 1 Jun 2022 20:46:04 +0000 (21:46 +0100)]
[Minor] Remove dkim reputation reject
Discussed with: @moisseev
Vsevolod Stakhov [Tue, 31 May 2022 16:39:44 +0000 (17:39 +0100)]
[Minor] Try to fix passwords case in the controller
Issue: #4186
Vsevolod Stakhov [Mon, 30 May 2022 17:28:10 +0000 (18:28 +0100)]
Merge pull request #4183 from moisseev/webui
[WebUI] Add option to choose map editor
Vsevolod Stakhov [Sun, 29 May 2022 10:04:58 +0000 (11:04 +0100)]
[Minor] Avoid using legacy method
Vsevolod Stakhov [Sun, 29 May 2022 10:02:47 +0000 (11:02 +0100)]
[Fix] Properly deal with `get_symbol/get_metric_symbol` ambiguity
moisseev [Sat, 28 May 2022 15:32:56 +0000 (18:32 +0300)]
[WebUI] Update JavaScript libraries
CodeJar 3.5.0 -> 3.6.0
PrismJS 1.23.0 -> 1.28.0
moisseev [Sat, 28 May 2022 15:02:58 +0000 (18:02 +0300)]
[WebUI] Add option to choose map editor
Issue: #4172
and restrict to text area if an opened map larger then 5 KiB
as the advanced editor is unresponsive
when editing a large amount of text.
Vsevolod Stakhov [Sat, 28 May 2022 11:34:33 +0000 (12:34 +0100)]
[Fix] Another try to fix race condition in the runtime destruction
Vsevolod Stakhov [Sat, 28 May 2022 11:29:44 +0000 (12:29 +0100)]
[Minor] Change macro for C++
Vsevolod Stakhov [Sat, 28 May 2022 11:03:02 +0000 (12:03 +0100)]
Revert "[Fix] Stop slow timer on task destruction"
This reverts commit
64cc33bb9169369241c78b999e3d1a4ce0a2cb02 .
Vsevolod Stakhov [Fri, 27 May 2022 20:15:51 +0000 (21:15 +0100)]
[Fix] Stop slow timer on task destruction
Issue: #4182
Vsevolod Stakhov [Fri, 27 May 2022 20:00:49 +0000 (21:00 +0100)]
[Minor] Remove legacy `default` metric
Vsevolod Stakhov [Thu, 26 May 2022 20:25:56 +0000 (21:25 +0100)]
[Conf] Add missing groups for whitelist module symbols
Issue: #4169
Vsevolod Stakhov [Sun, 22 May 2022 11:55:42 +0000 (12:55 +0100)]
[Minor] History_redis: Allow no expire as a valid expire value