]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Minor] Try to fix cleanup code
Vsevolod Stakhov [Sat, 16 Oct 2021 11:11:46 +0000 (12:11 +0100)]
[Minor] Try to fix cleanup code

3 years ago[Feature] S3: Allow to store structured data in messagepack
Vsevolod Stakhov [Fri, 15 Oct 2021 10:43:00 +0000 (11:43 +0100)]
[Feature] S3: Allow to store structured data in messagepack

3 years ago[Minor] Implement task to object conversion method
Vsevolod Stakhov [Fri, 15 Oct 2021 10:32:26 +0000 (11:32 +0100)]
[Minor] Implement task to object conversion method

3 years ago[Minor] Set table index
Vsevolod Stakhov [Fri, 15 Oct 2021 10:31:56 +0000 (11:31 +0100)]
[Minor] Set table index

3 years ago[Minor] Allow ucl emitters to output rspamd_text
Vsevolod Stakhov [Fri, 15 Oct 2021 10:31:35 +0000 (11:31 +0100)]
[Minor] Allow ucl emitters to output rspamd_text

3 years ago[Minor] Rspamadm: Add `mime dump` command
Vsevolod Stakhov [Fri, 15 Oct 2021 10:02:26 +0000 (11:02 +0100)]
[Minor] Rspamadm: Add `mime dump` command

3 years ago[Minor] Add method to get headers from mime parts
Vsevolod Stakhov [Fri, 15 Oct 2021 09:12:34 +0000 (10:12 +0100)]
[Minor] Add method to get headers from mime parts

3 years ago[Minor] Lua_task: Add get_headers method
Vsevolod Stakhov [Thu, 14 Oct 2021 20:29:31 +0000 (21:29 +0100)]
[Minor] Lua_task: Add get_headers method

3 years ago[Minor] Add method to iterate through all headers
Vsevolod Stakhov [Thu, 14 Oct 2021 16:57:08 +0000 (17:57 +0100)]
[Minor] Add method to iterate through all headers

3 years ago[Minor] Add method to get count of the headers
Vsevolod Stakhov [Thu, 14 Oct 2021 14:15:36 +0000 (15:15 +0100)]
[Minor] Add method to get count of the headers

3 years ago[Minor] Readahead cdb file if possible
Vsevolod Stakhov [Wed, 13 Oct 2021 15:51:53 +0000 (16:51 +0100)]
[Minor] Readahead cdb file if possible

3 years ago[Minor] Add support for readahead(2) call if available
Vsevolod Stakhov [Wed, 13 Oct 2021 15:41:11 +0000 (16:41 +0100)]
[Minor] Add support for readahead(2) call if available

3 years ago[Minor] Mid: Try to fix composites insertion
Vsevolod Stakhov [Wed, 13 Oct 2021 08:32:51 +0000 (09:32 +0100)]
[Minor] Mid: Try to fix composites insertion

3 years agoMerge pull request #3933 from mrueg/docker-bullseye
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

3 years ago[Minor] Fix some minor code quality issue
Vsevolod Stakhov [Tue, 12 Oct 2021 19:33:48 +0000 (20:33 +0100)]
[Minor] Fix some minor code quality issue

Found by: coverity scan

3 years agoDockerfile: Switch to bullseye 3933/head
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

3 years agoMerge pull request #3931 from fatalbanana/fix_external_relay
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

3 years ago[Minor] Remove unused include
Vsevolod Stakhov [Mon, 11 Oct 2021 18:33:05 +0000 (19:33 +0100)]
[Minor] Remove unused include

3 years ago[Minor] Try to fix compiler specific issue
Vsevolod Stakhov [Mon, 11 Oct 2021 16:03:27 +0000 (17:03 +0100)]
[Minor] Try to fix compiler specific issue

3 years ago[Minor] Sign .drone.yml
Vsevolod Stakhov [Mon, 11 Oct 2021 14:54:14 +0000 (15:54 +0100)]
[Minor] Sign .drone.yml

3 years agoMerge pull request #3932 from fatalbanana/ci_cores
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

3 years ago[Minor] Fix one more issue
Vsevolod Stakhov [Mon, 11 Oct 2021 14:53:30 +0000 (15:53 +0100)]
[Minor] Fix one more issue

3 years ago[Test] CI: fix rspamd executable path 3932/head
Andrew Lewis [Mon, 11 Oct 2021 14:35:37 +0000 (16:35 +0200)]
[Test] CI: fix rspamd executable path

3 years ago[Fix] Html: Fix the case where only bgcolor is explicitly set
Vsevolod Stakhov [Mon, 11 Oct 2021 14:26:37 +0000 (15:26 +0100)]
[Fix] Html: Fix the case where only bgcolor is explicitly set

3 years ago[Minor] Do not append style and title tags in invisible content
Vsevolod Stakhov [Mon, 11 Oct 2021 14:20:21 +0000 (15:20 +0100)]
[Minor] Do not append style and title tags in invisible content

3 years ago[Minor] satisfy luacheck 3931/head
Andrew Lewis [Mon, 11 Oct 2021 13:42:50 +0000 (15:42 +0200)]
[Minor] satisfy luacheck

3 years ago[Minor] API docs: try explain real_ip / from_ip better
Andrew Lewis [Mon, 11 Oct 2021 13:36:52 +0000 (15:36 +0200)]
[Minor] API docs: try explain real_ip / from_ip better

3 years ago[Minor] external_relay: use real_ip
Andrew Lewis [Wed, 6 Oct 2021 14:54:28 +0000 (16:54 +0200)]
[Minor] external_relay: use real_ip

3 years ago[Minor] Lua_upstream: Add get_name method
Vsevolod Stakhov [Mon, 11 Oct 2021 11:02:30 +0000 (12:02 +0100)]
[Minor] Lua_upstream: Add get_name method

3 years ago[Minor] Remove unused legacy functions
Vsevolod Stakhov [Mon, 11 Oct 2021 10:38:20 +0000 (11:38 +0100)]
[Minor] Remove unused legacy functions

3 years ago[Fix] Fix compilation of the hyperscan databases with errors
Vsevolod Stakhov [Mon, 11 Oct 2021 08:58:16 +0000 (09:58 +0100)]
[Fix] Fix compilation of the hyperscan databases with errors

3 years ago[Minor] Update node version
Vsevolod Stakhov [Sun, 10 Oct 2021 12:24:34 +0000 (13:24 +0100)]
[Minor] Update node version

3 years ago[Minor] Slightly refactor the code
Vsevolod Stakhov [Sun, 10 Oct 2021 11:31:08 +0000 (12:31 +0100)]
[Minor] Slightly refactor the code

3 years agoMerge pull request #3927 from fatalbanana/minor_config_stuff
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)

3 years agoMerge pull request #3929 from fatalbanana/fix_tests_20211008
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

3 years ago[Test] whitelist: fix tests 3929/head
Andrew Lewis [Fri, 8 Oct 2021 15:20:34 +0000 (17:20 +0200)]
[Test] whitelist: fix tests

3 years ago[Minor] Do not push invalid real_ip for received
Vsevolod Stakhov [Fri, 8 Oct 2021 15:08:44 +0000 (16:08 +0100)]
[Minor] Do not push invalid real_ip for received

3 years ago[Minor] Add explicit move operators for mime_string
Vsevolod Stakhov [Fri, 8 Oct 2021 13:39:40 +0000 (14:39 +0100)]
[Minor] Add explicit move operators for mime_string

3 years ago[Minor] Fix parsing received that start from a comment
Vsevolod Stakhov [Fri, 8 Oct 2021 13:20:00 +0000 (14:20 +0100)]
[Minor] Fix parsing received that start from a comment

3 years ago[Minor] Require either by or from parts in received headers
Vsevolod Stakhov [Fri, 8 Oct 2021 12:18:37 +0000 (13:18 +0100)]
[Minor] Require either by or from parts in received headers

3 years ago[Minor] Restore compatible behaviour for incomplete received headers
Vsevolod Stakhov [Fri, 8 Oct 2021 09:39:59 +0000 (10:39 +0100)]
[Minor] Restore compatible behaviour for incomplete received headers

3 years ago[Minor] config: remove RBL defaults that re-enforce true defaults 3927/head
Andrew Lewis [Thu, 7 Oct 2021 10:04:11 +0000 (12:04 +0200)]
[Minor] config: remove RBL defaults that re-enforce true defaults

3 years ago[Minor] config: don't lie about antivirus whitelist
Andrew Lewis [Thu, 7 Oct 2021 10:02:24 +0000 (12:02 +0200)]
[Minor] config: don't lie about antivirus whitelist

3 years ago[Minor] Arc: Specify explicit order for the headers added
Vsevolod Stakhov [Thu, 7 Oct 2021 08:50:14 +0000 (09:50 +0100)]
[Minor] Arc: Specify explicit order for the headers added

3 years ago[Minor] Lua_mime: Allow to add headers in specific order
Vsevolod Stakhov [Thu, 7 Oct 2021 08:45:03 +0000 (09:45 +0100)]
[Minor] Lua_mime: Allow to add headers in specific order

3 years ago[Minor] Fix pushing empty strings
Vsevolod Stakhov [Thu, 7 Oct 2021 07:39:57 +0000 (08:39 +0100)]
[Minor] Fix pushing empty strings

3 years ago[Minor] Remove from_ip view as it is useless
Vsevolod Stakhov [Wed, 6 Oct 2021 14:18:33 +0000 (15:18 +0100)]
[Minor] Remove from_ip view as it is useless

3 years ago[Test] Add some more received tests
Vsevolod Stakhov [Wed, 6 Oct 2021 10:42:14 +0000 (11:42 +0100)]
[Test] Add some more received tests

3 years ago[Test] Move tests from lua to C++
Vsevolod Stakhov [Wed, 6 Oct 2021 10:01:21 +0000 (11:01 +0100)]
[Test] Move tests from lua to C++

3 years ago[Minor] Fix ownership issue
Vsevolod Stakhov [Wed, 6 Oct 2021 09:39:20 +0000 (10:39 +0100)]
[Minor] Fix ownership issue

3 years ago[Minor] Remove bogus forward for non-forwarding reference
Vsevolod Stakhov [Wed, 6 Oct 2021 08:54:49 +0000 (09:54 +0100)]
[Minor] Remove bogus forward for non-forwarding reference

3 years ago[Test] Adopt received framework to allow unit testing
Vsevolod Stakhov [Wed, 6 Oct 2021 08:52:37 +0000 (09:52 +0100)]
[Test] Adopt received framework to allow unit testing

3 years ago[Minor] Add utility function for the default size mempool
Vsevolod Stakhov [Wed, 6 Oct 2021 08:15:37 +0000 (09:15 +0100)]
[Minor] Add utility function for the default size mempool

3 years ago[Minor] One more fix for old libicu
Vsevolod Stakhov [Wed, 6 Oct 2021 07:56:53 +0000 (08:56 +0100)]
[Minor] One more fix for old libicu

3 years ago[Minor] Fix rfind usage
Vsevolod Stakhov [Tue, 5 Oct 2021 14:48:29 +0000 (15:48 +0100)]
[Minor] Fix rfind usage

3 years ago[Minor] Fix test message as we now process received headers as expected
Vsevolod Stakhov [Tue, 5 Oct 2021 14:29:56 +0000 (15:29 +0100)]
[Minor] Fix test message as we now process received headers as expected

3 years ago[Fix] Fix parsing of the unquoted attributes in HTML
Vsevolod Stakhov [Tue, 5 Oct 2021 14:28:43 +0000 (15:28 +0100)]
[Fix] Fix parsing of the unquoted attributes in HTML

3 years ago[Fix] Avoid copy for received structure as it has raw C pointers
Vsevolod Stakhov [Tue, 5 Oct 2021 13:38:25 +0000 (14:38 +0100)]
[Fix] Avoid copy for received structure as it has raw C pointers

3 years ago[Minor] Fix build where vector size() is not constexpr
Vsevolod Stakhov [Tue, 5 Oct 2021 11:16:09 +0000 (12:16 +0100)]
[Minor] Fix build where vector size() is not constexpr

3 years ago[Minor] Add workaround for old libicu
Vsevolod Stakhov [Tue, 5 Oct 2021 11:15:04 +0000 (12:15 +0100)]
[Minor] Add workaround for old libicu

3 years ago[Project] Finish received headers rework part
Vsevolod Stakhov [Tue, 5 Oct 2021 11:13:21 +0000 (12:13 +0100)]
[Project] Finish received headers rework part

3 years ago[Minor] Mark operators constexpr
Vsevolod Stakhov [Tue, 5 Oct 2021 10:08:48 +0000 (11:08 +0100)]
[Minor] Mark operators constexpr

3 years ago[Project] Start using of the new received structure
Vsevolod Stakhov [Mon, 4 Oct 2021 20:46:15 +0000 (21:46 +0100)]
[Project] Start using of the new received structure

3 years ago[Project] Move C++ specific declarations to C++ header
Vsevolod Stakhov [Mon, 4 Oct 2021 20:45:59 +0000 (21:45 +0100)]
[Project] Move C++ specific declarations to C++ header

3 years ago[Project] Rework received headers parsing to C++
Vsevolod Stakhov [Sun, 3 Oct 2021 11:52:45 +0000 (12:52 +0100)]
[Project] Rework received headers parsing to C++

3 years ago[Minor] Add some more helpers
Vsevolod Stakhov [Sun, 3 Oct 2021 11:52:23 +0000 (12:52 +0100)]
[Minor] Add some more helpers

3 years ago[Minor] Add some utility methods
Vsevolod Stakhov [Sat, 2 Oct 2021 13:57:04 +0000 (14:57 +0100)]
[Minor] Add some utility methods

3 years ago[Minor] Add missing include
Vsevolod Stakhov [Fri, 1 Oct 2021 19:40:04 +0000 (20:40 +0100)]
[Minor] Add missing include

3 years ago[Project] Allow mempool allocated mime strings
Vsevolod Stakhov [Fri, 1 Oct 2021 19:24:20 +0000 (20:24 +0100)]
[Project] Allow mempool allocated mime strings

3 years ago[Feature] Ratelimit: Add per bucket configurations
Vsevolod Stakhov [Fri, 1 Oct 2021 13:35:43 +0000 (14:35 +0100)]
[Feature] Ratelimit: Add per bucket configurations

This change add custom per bucket configuration
- symbol: for custom symbol
- message: for custom message
- skip_soft_reject: to disable soft rejection logic for this bucket

3 years ago[Minor] Allow to construct an empty string with a filter
Vsevolod Stakhov [Thu, 30 Sep 2021 20:00:31 +0000 (21:00 +0100)]
[Minor] Allow to construct an empty string with a filter

3 years ago[Project] Add trim operations
Vsevolod Stakhov [Thu, 30 Sep 2021 13:34:22 +0000 (14:34 +0100)]
[Project] Add trim operations

3 years ago[Minor] Remove const_iterator, template filter functor
Vsevolod Stakhov [Thu, 30 Sep 2021 09:18:23 +0000 (10:18 +0100)]
[Minor] Remove const_iterator, template filter functor

3 years ago[Test] Update iterator tests
Vsevolod Stakhov [Thu, 30 Sep 2021 09:18:10 +0000 (10:18 +0100)]
[Test] Update iterator tests

3 years ago[Project] Add constant iterators
Vsevolod Stakhov [Wed, 29 Sep 2021 20:13:20 +0000 (21:13 +0100)]
[Project] Add constant iterators

3 years ago[Minor] Remove optional as function_view has nullable semantics
Vsevolod Stakhov [Wed, 29 Sep 2021 19:29:52 +0000 (20:29 +0100)]
[Minor] Remove optional as function_view has nullable semantics

3 years ago[Minor] Missing include
Vsevolod Stakhov [Wed, 29 Sep 2021 17:03:23 +0000 (18:03 +0100)]
[Minor] Missing include

3 years ago[Project] Add helper library to handle mime strings in a more safe matter
Vsevolod Stakhov [Wed, 29 Sep 2021 17:00:03 +0000 (18:00 +0100)]
[Project] Add helper library to handle mime strings in a more safe matter

3 years ago[Minor] Add C++ safe guards
Vsevolod Stakhov [Wed, 29 Sep 2021 16:58:12 +0000 (17:58 +0100)]
[Minor] Add C++ safe guards

3 years ago[Minor] Improve learn error reporting
Vsevolod Stakhov [Tue, 28 Sep 2021 14:34:25 +0000 (15:34 +0100)]
[Minor] Improve learn error reporting

3 years agoMerge pull request #3915 from a16bitsysop/static
Vsevolod Stakhov [Tue, 28 Sep 2021 11:32:08 +0000 (12:32 +0100)]
Merge pull request #3915 from a16bitsysop/static

[Fix] fix static building

3 years ago[Minor] Finish transition to signed log id
Vsevolod Stakhov [Mon, 27 Sep 2021 14:14:45 +0000 (15:14 +0100)]
[Minor] Finish transition to signed log id

3 years ago[Minor] Add a special state to tags content parsing to avoid illegal lookahead
Vsevolod Stakhov [Mon, 27 Sep 2021 14:07:32 +0000 (15:07 +0100)]
[Minor] Add a special state to tags content parsing to avoid illegal lookahead

3 years ago[Fix] Add temporary guard to prevent linked list exploitation
Vsevolod Stakhov [Mon, 27 Sep 2021 12:56:05 +0000 (13:56 +0100)]
[Fix] Add temporary guard to prevent linked list exploitation

3 years ago[Fix] fix static building 3915/head
Duncan Bellamy [Mon, 27 Sep 2021 10:16:47 +0000 (11:16 +0100)]
[Fix] fix static building

3 years ago[Minor] Rework to fix issues in Lua API
Vsevolod Stakhov [Sat, 25 Sep 2021 12:01:23 +0000 (13:01 +0100)]
[Minor] Rework to fix issues in Lua API

Found by: coverity scan

3 years ago[Minor] Fix some more issues
Vsevolod Stakhov [Sat, 25 Sep 2021 11:45:29 +0000 (12:45 +0100)]
[Minor] Fix some more issues

Found by: coverity scan

3 years ago[Fix] Remove bogus G_LIKELY
Vsevolod Stakhov [Sat, 25 Sep 2021 11:22:43 +0000 (12:22 +0100)]
[Fix] Remove bogus G_LIKELY

3 years ago[Minor] Remove unreachable code
Vsevolod Stakhov [Sat, 25 Sep 2021 11:19:39 +0000 (12:19 +0100)]
[Minor] Remove unreachable code

3 years ago[Minor] Ensure that Redis inactive connections are well maintained
Vsevolod Stakhov [Thu, 23 Sep 2021 13:02:34 +0000 (14:02 +0100)]
[Minor] Ensure that Redis inactive connections are well maintained

3 years ago[Fix] Try to use on_connect/on_disconnect callbacks to handle internal Redis failures
Vsevolod Stakhov [Thu, 23 Sep 2021 12:26:02 +0000 (13:26 +0100)]
[Fix] Try to use on_connect/on_disconnect callbacks to handle internal Redis failures

3 years ago[Minor] Free the proper pointer
Vsevolod Stakhov [Thu, 23 Sep 2021 10:08:49 +0000 (11:08 +0100)]
[Minor] Free the proper pointer

3 years agoMerge pull request #3901 from citrin/rspamc
Vsevolod Stakhov [Wed, 22 Sep 2021 17:13:40 +0000 (18:13 +0100)]
Merge pull request #3901 from citrin/rspamc

[Fix] buffer overflow in rspamc counters

3 years ago[Test] Add the test for the previous fix
Vsevolod Stakhov [Wed, 22 Sep 2021 12:01:54 +0000 (13:01 +0100)]
[Test] Add the test for the previous fix

3 years ago[Fix] Fix parsing of the from_hostname when it is an IP address
Vsevolod Stakhov [Wed, 22 Sep 2021 12:01:40 +0000 (13:01 +0100)]
[Fix] Fix parsing of the from_hostname when it is an IP address

3 years ago[Fix] Another try to fix rspamd_text passing in the selectors
Vsevolod Stakhov [Wed, 22 Sep 2021 10:10:59 +0000 (11:10 +0100)]
[Fix] Another try to fix rspamd_text passing in the selectors

Suggested by: @citrin

3 years ago[Minor] Free the allocated and not modified key
Vsevolod Stakhov [Wed, 22 Sep 2021 08:20:45 +0000 (09:20 +0100)]
[Minor] Free the allocated and not modified key

Found by: coverity scan

3 years ago[Minor] Explain unobvious code
Vsevolod Stakhov [Tue, 21 Sep 2021 18:24:35 +0000 (19:24 +0100)]
[Minor] Explain unobvious code

3 years ago[Minor] Fix use after free
Vsevolod Stakhov [Tue, 21 Sep 2021 18:22:26 +0000 (19:22 +0100)]
[Minor] Fix use after free

Reported by: @citrin

3 years ago[Fix] Fix passing of rspamd_text in selectors pipelines
Vsevolod Stakhov [Tue, 21 Sep 2021 18:21:30 +0000 (19:21 +0100)]
[Fix] Fix passing of rspamd_text in selectors pipelines