]>
source.dussan.org Git - rspamd.git/log
Carsten Rosenberg [Mon, 8 Nov 2021 19:50:44 +0000 (20:50 +0100)]
[Fix] lua_cfg_transform - silly break break actions
Carsten Rosenberg [Thu, 4 Nov 2021 18:28:48 +0000 (19:28 +0100)]
[Fix] lua_cfg_transform - actions without score (discard)
Vsevolod Stakhov [Wed, 3 Nov 2021 20:13:32 +0000 (20:13 +0000)]
[Minor] Skip modifying headers for skipped tasks
Vsevolod Stakhov [Tue, 2 Nov 2021 21:24:36 +0000 (21:24 +0000)]
[Fix] Allow spaces in DKIM key records
Issue: #3955
Vsevolod Stakhov [Mon, 1 Nov 2021 20:31:56 +0000 (20:31 +0000)]
[Minor] Rbl: Minor performance improvement when checking URL flags
Suggested by: @citrin
Vsevolod Stakhov [Mon, 1 Nov 2021 14:34:54 +0000 (14:34 +0000)]
[Minor] Update version to 3.2
Vsevolod Stakhov [Mon, 1 Nov 2021 14:33:30 +0000 (14:33 +0000)]
Release 3.1
* [Feature] Add junk_threshold for autolearn
* [Feature] Add neural test command
* [Feature] Antivirus: Allow to set fake eicar patterns for testing AV engines
* [Feature] Lua_cdb: Add cdb building interface
* [Feature] Ratelimit: Add per bucket configurations
* [Feature] S3: Allow to store structured data in messagepack
* [Fix] Add concept of uncancellable events to prevent use-after-free
* [Fix] Add temporary guard to prevent linked list exploitation
* [Fix] Another rework of the ucl hashing
* [Fix] Another try to fix references safety
* [Fix] Another try to fix rspamd_text passing in the selectors
* [Fix] Avoid copy for received structure as it has raw C pointers
* [Fix] Avoid dangling reference
* [Fix] Correctly check numeric URLs in URL DNS lists
* [Fix] Delete the correct pointer type
* [Fix] Dmarc: Always lowercase domain
* [Fix] Fix compilation of the hyperscan databases with errors
* [Fix] Fix hash table lookup
* [Fix] Fix http message flag shift
* [Fix] Fix parsing of the from_hostname when it is an IP address
* [Fix] Fix parsing of the unquoted attributes in HTML
* [Fix] Fix passing of rspamd_text in selectors pipelines
* [Fix] Fix rubbish QP sequences decoding
* [Fix] Fix some complicated case with the closing tags parsing
* [Fix] Fix the case when l tag is too small
* [Fix] Html: Fix the case where only bgcolor is explicitly set
* [Fix] Libucl: Fix deletion from ucl objects
* [Fix] Namespace and add metadata for OpenMetrics, fix interleaving
* [Fix] Plug memory leak in http settings reload
* [Fix] Preserve SPF top record in the mempool variable
* [Fix] Remove aarch64 GC64 workaround
* [Fix] Remove bogus G_LIKELY
* [Fix] Spf: Do not parse non TXT DNS replies as TXT replies
* [Fix] Try to use on_connect/on_disconnect callbacks to handle internal Redis failures
* [Fix] buffer overflow in rspamc counters
* [Fix] fix static building
* [Fix] lua_scanners - message_min_words logic
* [Fix] src/lua/lua_mimepart.c: fix null dereference
* [Project] Add constant iterators
* [Project] Add helper library to handle mime strings in a more safe matter
* [Project] Add preliminary support of CDB bayes dump
* [Project] Add trim operations
* [Project] Allow mempool allocated mime strings
* [Project] Cdb: Finish backend implementation
* [Project] Cdb: Fix configuration load
* [Project] Cdb: Use shared data between cdb statfiles
* [Project] Cdb: continue statistics backend implementation
* [Project] Finish received headers rework part
* [Project] Move C++ specific declarations to C++ header
* [Project] Rework received headers parsing to C++
* [Project] Start using of the new received structure
* [Project] Start work on cdb backend
* [Rework] Further rework of the redis pool
* [Rework] Redis_pool: fix issues found
* [Rework] Rework learn and add classify condition
* [Rework] Save invisible content to a separate buffer
* [Rework] Start rewriting of the redis pool logic
* [Rules] Improve zero font rule
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Sat, 30 Oct 2021 20:11:32 +0000 (21:11 +0100)]
[Minor] Use explicit return type
Issue: #3893
Vsevolod Stakhov [Thu, 28 Oct 2021 20:31:34 +0000 (21:31 +0100)]
[Minor] Fix FP with JFIF files
Issue: #3947
Vsevolod Stakhov [Wed, 27 Oct 2021 20:02:38 +0000 (21:02 +0100)]
[Minor] Clickhouse: Try to deal with clock skew in retention logic
Vsevolod Stakhov [Tue, 26 Oct 2021 13:53:33 +0000 (14:53 +0100)]
[Minor] Unify set_pre_result invocations
Vsevolod Stakhov [Mon, 25 Oct 2021 18:48:02 +0000 (19:48 +0100)]
[Minor] Another try...
Vsevolod Stakhov [Mon, 25 Oct 2021 18:44:51 +0000 (19:44 +0100)]
[Minor] Disable eslint in CI
It is broken and I don't know how to fix it.
Vsevolod Stakhov [Mon, 25 Oct 2021 18:43:26 +0000 (19:43 +0100)]
[Minor] Try to fix bloody eslint
Vsevolod Stakhov [Mon, 25 Oct 2021 18:10:20 +0000 (19:10 +0100)]
[Fix] Correctly check numeric URLs in URL DNS lists
Issue: #3948
Vsevolod Stakhov [Sun, 24 Oct 2021 20:16:07 +0000 (21:16 +0100)]
Merge pull request #3943 from cpragadeesh/neuraltest
[Feature] Add neural test command
Vsevolod Stakhov [Sat, 23 Oct 2021 18:36:48 +0000 (19:36 +0100)]
Merge pull request #3936 from dminuoso/add-junk-threshold
[Feature] Add junk_threshold for autolearn
Vsevolod Stakhov [Fri, 22 Oct 2021 18:55:14 +0000 (19:55 +0100)]
Merge pull request #3934 from xtkoba/ArchDep-i386
Support i386 with optimizations
Vsevolod Stakhov [Thu, 21 Oct 2021 14:37:04 +0000 (15:37 +0100)]
[Minor] Agree on types between dump and backend
Vsevolod Stakhov [Thu, 21 Oct 2021 14:17:12 +0000 (15:17 +0100)]
[Minor] Fix several issues found
Vsevolod Stakhov [Thu, 21 Oct 2021 13:55:19 +0000 (14:55 +0100)]
[Minor] Fix log objects for C++
Vsevolod Stakhov [Thu, 21 Oct 2021 13:51:42 +0000 (14:51 +0100)]
[Minor] Support read only backends for stats
Vsevolod Stakhov [Thu, 21 Oct 2021 08:46:10 +0000 (09:46 +0100)]
[Minor] Add explicit cast
Vsevolod Stakhov [Wed, 20 Oct 2021 13:54:01 +0000 (14:54 +0100)]
[Minor] Add a hack to fix termination race condition
Vsevolod Stakhov [Wed, 20 Oct 2021 10:31:16 +0000 (11:31 +0100)]
[Project] Add preliminary support of CDB bayes dump
Vsevolod Stakhov [Wed, 20 Oct 2021 10:08:05 +0000 (11:08 +0100)]
[Minor] Lua_cdb: Allow to use more data types as cdb keys/values
Vsevolod Stakhov [Wed, 20 Oct 2021 09:42:26 +0000 (10:42 +0100)]
[Minor] Save int64 as lua_Integer not lua_Number
Vsevolod Stakhov [Wed, 20 Oct 2021 09:38:55 +0000 (10:38 +0100)]
[Minor] Add helpers to work with boxed int64 numbers
Vsevolod Stakhov [Wed, 20 Oct 2021 09:38:34 +0000 (10:38 +0100)]
[Minor] Add helper to convert a string to a uint64 number
Vsevolod Stakhov [Wed, 20 Oct 2021 09:03:37 +0000 (10:03 +0100)]
[Minor] Release redis pool after Lua state has been destroyed
Vsevolod Stakhov [Tue, 19 Oct 2021 19:51:30 +0000 (20:51 +0100)]
[Minor] Add documentation for lua cdb module
Vsevolod Stakhov [Tue, 19 Oct 2021 16:53:20 +0000 (17:53 +0100)]
[Minor] Lua_cdb: Avoid extra copy on lookup
Vsevolod Stakhov [Tue, 19 Oct 2021 16:49:34 +0000 (17:49 +0100)]
[Feature] Lua_cdb: Add cdb building interface
Vsevolod Stakhov [Tue, 19 Oct 2021 14:54:45 +0000 (15:54 +0100)]
[Minor] Close fd
Vsevolod Stakhov [Tue, 19 Oct 2021 10:54:34 +0000 (11:54 +0100)]
[Project] Cdb: Finish backend implementation
Vsevolod Stakhov [Tue, 19 Oct 2021 10:44:46 +0000 (11:44 +0100)]
[Project] Cdb: Fix configuration load
Vsevolod Stakhov [Tue, 19 Oct 2021 10:39:00 +0000 (11:39 +0100)]
[Project] Cdb: Use shared data between cdb statfiles
Vsevolod Stakhov [Tue, 19 Oct 2021 08:53:33 +0000 (09:53 +0100)]
[Project] Cdb: continue statistics backend implementation
Vsevolod Stakhov [Mon, 18 Oct 2021 14:39:02 +0000 (15:39 +0100)]
[Project] Start work on cdb backend
Vsevolod Stakhov [Mon, 18 Oct 2021 09:49:53 +0000 (10:49 +0100)]
[Fix] Dmarc: Always lowercase domain
Issue: #3940
Pragadeesh Chandiran [Fri, 15 Oct 2021 15:15:20 +0000 (11:15 -0400)]
[Feature] Add neural test command
Vsevolod Stakhov [Sun, 17 Oct 2021 11:47:06 +0000 (12:47 +0100)]
[Minor] Fix some issues in the contrib libraries
Found by: coverity scan
Vsevolod Stakhov [Sat, 16 Oct 2021 12:43:29 +0000 (13:43 +0100)]
[Minor] Further polishing
Vsevolod Stakhov [Sat, 16 Oct 2021 13:22:00 +0000 (14:22 +0100)]
Merge pull request #3941 from tomop-tg/openssl3
fix compatibility with OpenSSL 3.0.0
Vsevolod Stakhov [Sat, 16 Oct 2021 12:01:44 +0000 (13:01 +0100)]
[Minor] Fix some issues
Found by: coverity scan
Vsevolod Stakhov [Sat, 16 Oct 2021 11:44:42 +0000 (12:44 +0100)]
[Minor] Check return value
Vsevolod Stakhov [Sat, 16 Oct 2021 11:14:43 +0000 (12:14 +0100)]
[Minor] Check returned value
Vsevolod Stakhov [Sat, 16 Oct 2021 11:11:46 +0000 (12:11 +0100)]
[Minor] Try to fix cleanup code
Tomohiro "Tomo-p" KATO [Sat, 16 Oct 2021 07:29:43 +0000 (16:29 +0900)]
fix compatibility with OpenSSL 3.0.0
Vsevolod Stakhov [Fri, 15 Oct 2021 10:43:00 +0000 (11:43 +0100)]
[Feature] S3: Allow to store structured data in messagepack
Vsevolod Stakhov [Fri, 15 Oct 2021 10:32:26 +0000 (11:32 +0100)]
[Minor] Implement task to object conversion method
Vsevolod Stakhov [Fri, 15 Oct 2021 10:31:56 +0000 (11:31 +0100)]
[Minor] Set table index
Vsevolod Stakhov [Fri, 15 Oct 2021 10:31:35 +0000 (11:31 +0100)]
[Minor] Allow ucl emitters to output rspamd_text
Vsevolod Stakhov [Fri, 15 Oct 2021 10:02:26 +0000 (11:02 +0100)]
[Minor] Rspamadm: Add `mime dump` command
Vsevolod Stakhov [Fri, 15 Oct 2021 09:12:34 +0000 (10:12 +0100)]
[Minor] Add method to get headers from mime parts
Victor Nawothnig [Fri, 15 Oct 2021 00:06:16 +0000 (02:06 +0200)]
[Feature] Add junk_threshold for autolearn
Vsevolod Stakhov [Thu, 14 Oct 2021 20:29:31 +0000 (21:29 +0100)]
[Minor] Lua_task: Add get_headers method
Vsevolod Stakhov [Thu, 14 Oct 2021 16:57:08 +0000 (17:57 +0100)]
[Minor] Add method to iterate through all headers
Vsevolod Stakhov [Thu, 14 Oct 2021 14:15:36 +0000 (15:15 +0100)]
[Minor] Add method to get count of the headers
Vsevolod Stakhov [Wed, 13 Oct 2021 15:51:53 +0000 (16:51 +0100)]
[Minor] Readahead cdb file if possible
Vsevolod Stakhov [Wed, 13 Oct 2021 15:41:11 +0000 (16:41 +0100)]
[Minor] Add support for readahead(2) call if available
Vsevolod Stakhov [Wed, 13 Oct 2021 08:32:51 +0000 (09:32 +0100)]
[Minor] Mid: Try to fix composites insertion
xtkoba [Wed, 13 Oct 2021 07:00:06 +0000 (16:00 +0900)]
Support i386 with optimizations
Vsevolod Stakhov [Tue, 12 Oct 2021 22:17:54 +0000 (23:17 +0100)]
Merge pull request #3933 from mrueg/docker-bullseye
Dockerfile: Switch to debian bullseye base
Vsevolod Stakhov [Tue, 12 Oct 2021 19:33:48 +0000 (20:33 +0100)]
[Minor] Fix some minor code quality issue
Found by: coverity scan
Manuel Rüger [Tue, 12 Oct 2021 16:05:41 +0000 (18:05 +0200)]
Dockerfile: Switch to bullseye
But allow users to change it via a build-arg
Vsevolod Stakhov [Tue, 12 Oct 2021 12:00:49 +0000 (13:00 +0100)]
Merge pull request #3931 from fatalbanana/fix_external_relay
[Minor] external_relay: use real_ip
Vsevolod Stakhov [Mon, 11 Oct 2021 18:33:05 +0000 (19:33 +0100)]
[Minor] Remove unused include
Vsevolod Stakhov [Mon, 11 Oct 2021 16:03:27 +0000 (17:03 +0100)]
[Minor] Try to fix compiler specific issue
Vsevolod Stakhov [Mon, 11 Oct 2021 14:54:14 +0000 (15:54 +0100)]
[Minor] Sign .drone.yml
Vsevolod Stakhov [Mon, 11 Oct 2021 14:54:03 +0000 (15:54 +0100)]
Merge pull request #3932 from fatalbanana/ci_cores
[Test] CI: fix rspamd executable path
Vsevolod Stakhov [Mon, 11 Oct 2021 14:53:30 +0000 (15:53 +0100)]
[Minor] Fix one more issue
Andrew Lewis [Mon, 11 Oct 2021 14:35:37 +0000 (16:35 +0200)]
[Test] CI: fix rspamd executable path
Vsevolod Stakhov [Mon, 11 Oct 2021 14:26:37 +0000 (15:26 +0100)]
[Fix] Html: Fix the case where only bgcolor is explicitly set
Vsevolod Stakhov [Mon, 11 Oct 2021 14:20:21 +0000 (15:20 +0100)]
[Minor] Do not append style and title tags in invisible content
Andrew Lewis [Mon, 11 Oct 2021 13:42:50 +0000 (15:42 +0200)]
[Minor] satisfy luacheck
Andrew Lewis [Mon, 11 Oct 2021 13:36:52 +0000 (15:36 +0200)]
[Minor] API docs: try explain real_ip / from_ip better
Andrew Lewis [Wed, 6 Oct 2021 14:54:28 +0000 (16:54 +0200)]
[Minor] external_relay: use real_ip
Vsevolod Stakhov [Mon, 11 Oct 2021 11:02:30 +0000 (12:02 +0100)]
[Minor] Lua_upstream: Add get_name method
Vsevolod Stakhov [Mon, 11 Oct 2021 10:38:20 +0000 (11:38 +0100)]
[Minor] Remove unused legacy functions
Vsevolod Stakhov [Mon, 11 Oct 2021 08:58:16 +0000 (09:58 +0100)]
[Fix] Fix compilation of the hyperscan databases with errors
Vsevolod Stakhov [Sun, 10 Oct 2021 12:24:34 +0000 (13:24 +0100)]
[Minor] Update node version
Vsevolod Stakhov [Sun, 10 Oct 2021 11:31:08 +0000 (12:31 +0100)]
[Minor] Slightly refactor the code
Vsevolod Stakhov [Sat, 9 Oct 2021 19:41:36 +0000 (20:41 +0100)]
Merge pull request #3927 from fatalbanana/minor_config_stuff
Minor config stuff (#3924)
Vsevolod Stakhov [Fri, 8 Oct 2021 15:28:14 +0000 (16:28 +0100)]
Merge pull request #3929 from fatalbanana/fix_tests_20211008
[Test] whitelist: fix tests
Andrew Lewis [Fri, 8 Oct 2021 15:20:34 +0000 (17:20 +0200)]
[Test] whitelist: fix tests
Vsevolod Stakhov [Fri, 8 Oct 2021 15:08:44 +0000 (16:08 +0100)]
[Minor] Do not push invalid real_ip for received
Vsevolod Stakhov [Fri, 8 Oct 2021 13:39:40 +0000 (14:39 +0100)]
[Minor] Add explicit move operators for mime_string
Vsevolod Stakhov [Fri, 8 Oct 2021 13:20:00 +0000 (14:20 +0100)]
[Minor] Fix parsing received that start from a comment
Vsevolod Stakhov [Fri, 8 Oct 2021 12:18:37 +0000 (13:18 +0100)]
[Minor] Require either by or from parts in received headers
Vsevolod Stakhov [Fri, 8 Oct 2021 09:39:59 +0000 (10:39 +0100)]
[Minor] Restore compatible behaviour for incomplete received headers
Andrew Lewis [Thu, 7 Oct 2021 10:04:11 +0000 (12:04 +0200)]
[Minor] config: remove RBL defaults that re-enforce true defaults
Andrew Lewis [Thu, 7 Oct 2021 10:02:24 +0000 (12:02 +0200)]
[Minor] config: don't lie about antivirus whitelist
Vsevolod Stakhov [Thu, 7 Oct 2021 08:50:14 +0000 (09:50 +0100)]
[Minor] Arc: Specify explicit order for the headers added
Vsevolod Stakhov [Thu, 7 Oct 2021 08:45:03 +0000 (09:45 +0100)]
[Minor] Lua_mime: Allow to add headers in specific order
Vsevolod Stakhov [Thu, 7 Oct 2021 07:39:57 +0000 (08:39 +0100)]
[Minor] Fix pushing empty strings
Vsevolod Stakhov [Wed, 6 Oct 2021 14:18:33 +0000 (15:18 +0100)]
[Minor] Remove from_ip view as it is useless
Vsevolod Stakhov [Wed, 6 Oct 2021 10:42:14 +0000 (11:42 +0100)]
[Test] Add some more received tests
Vsevolod Stakhov [Wed, 6 Oct 2021 10:01:21 +0000 (11:01 +0100)]
[Test] Move tests from lua to C++
Vsevolod Stakhov [Wed, 6 Oct 2021 09:39:20 +0000 (10:39 +0100)]
[Minor] Fix ownership issue