]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years ago[Fix] Fix copying of sockaddr_un addresses 4283/head
Timo Rothenpieler [Sun, 25 Sep 2022 22:36:24 +0000 (00:36 +0200)]
[Fix] Fix copying of sockaddr_un addresses

They can be very tiny (hence the adjustment of the size assert)
and the path can contain intermittent null bytes, so the only choice
is to trust the input slen and copy the whole struct.

An autobound unix socket uses an abstract address, which starts with a
null byte, hence this change is neccesary for such an address getting
copied properly.

2 years ago[Fix] Bind AF_UNIX DGRAM client connection to annonymous address
Timo Rothenpieler [Sun, 25 Sep 2022 22:35:49 +0000 (00:35 +0200)]
[Fix] Bind AF_UNIX DGRAM client connection to annonymous address

Fixes #4278

2 years ago[Fix] Only check allowed fuzzy worker update ips for non-unix sockets
Timo Rothenpieler [Sun, 25 Sep 2022 22:33:43 +0000 (00:33 +0200)]
[Fix] Only check allowed fuzzy worker update ips for non-unix sockets

The source will always be localhost, it makes no sense to check for
allowed IPs.

2 years ago[Fix] Same fix for lua_tcp
Vsevolod Stakhov [Sun, 25 Sep 2022 12:05:00 +0000 (13:05 +0100)]
[Fix] Same fix for lua_tcp

2 years ago[Fix] Fix crash with cname replies
Vsevolod Stakhov [Sun, 25 Sep 2022 12:02:22 +0000 (13:02 +0100)]
[Fix] Fix crash with cname replies

2 years ago[Minor] Oops, remove experiment
Vsevolod Stakhov [Sat, 24 Sep 2022 19:03:10 +0000 (20:03 +0100)]
[Minor] Oops, remove experiment

2 years ago[Minor] Some neats when working with Unix sockets
Vsevolod Stakhov [Sat, 24 Sep 2022 19:00:32 +0000 (20:00 +0100)]
[Minor] Some neats when working with Unix sockets

2 years ago[Minor] Plug memory leak on cdb backend closing
Vsevolod Stakhov [Sat, 24 Sep 2022 14:31:29 +0000 (15:31 +0100)]
[Minor] Plug memory leak on cdb backend closing

2 years ago[Minor] Add some error reporting
Vsevolod Stakhov [Sat, 24 Sep 2022 13:41:30 +0000 (14:41 +0100)]
[Minor] Add some error reporting

2 years ago[Fix] Libucl: avoid memory leak on objects merging
Vsevolod Stakhov [Sat, 24 Sep 2022 13:38:48 +0000 (14:38 +0100)]
[Fix] Libucl: avoid memory leak on objects merging

2 years ago[Minor] Partially restore reverted patch
Vsevolod Stakhov [Sat, 24 Sep 2022 12:03:55 +0000 (13:03 +0100)]
[Minor] Partially restore reverted patch

2 years agoRevert "[Minor] Try to fix refcounts related crash"
Vsevolod Stakhov [Sat, 24 Sep 2022 12:03:30 +0000 (13:03 +0100)]
Revert "[Minor] Try to fix refcounts related crash"

This reverts commit 5bae837e5fb282e055a9d80d9d6aaf7eaed9a2d5.

2 years ago[Fix] Lua_tcp: Another try to fix closing logic
Vsevolod Stakhov [Sat, 24 Sep 2022 12:03:11 +0000 (13:03 +0100)]
[Fix] Lua_tcp: Another try to fix closing logic

2 years ago[Minor] Fix empty strings import
Vsevolod Stakhov [Fri, 23 Sep 2022 19:43:39 +0000 (20:43 +0100)]
[Minor] Fix empty strings import

Issue: #4281

2 years ago[Fix] External_relay: Restore the originating hostname check
Vsevolod Stakhov [Thu, 22 Sep 2022 19:53:30 +0000 (20:53 +0100)]
[Fix] External_relay: Restore the originating hostname check

Issue: #4272

2 years ago[Minor] Slightly improve readability
Vsevolod Stakhov [Mon, 19 Sep 2022 12:46:26 +0000 (13:46 +0100)]
[Minor] Slightly improve readability

2 years ago[Minor] Try to fix refcounts related crash
Vsevolod Stakhov [Mon, 19 Sep 2022 12:46:11 +0000 (13:46 +0100)]
[Minor] Try to fix refcounts related crash

2 years ago[Minor] Make panic more informant
Vsevolod Stakhov [Mon, 19 Sep 2022 11:16:05 +0000 (12:16 +0100)]
[Minor] Make panic more informant

2 years ago[Minor] Respect full debug request in sanitizers config
Vsevolod Stakhov [Mon, 19 Sep 2022 10:49:17 +0000 (11:49 +0100)]
[Minor] Respect full debug request in sanitizers config

2 years ago[Fix] Plug memory leak in regexp destruction with pcre2
Vsevolod Stakhov [Sun, 18 Sep 2022 19:24:42 +0000 (20:24 +0100)]
[Fix] Plug memory leak in regexp destruction with pcre2

2 years ago[Fix] Avoid cyclic references in symcache and fix memory leaks
Vsevolod Stakhov [Sat, 17 Sep 2022 16:10:22 +0000 (17:10 +0100)]
[Fix] Avoid cyclic references in symcache and fix memory leaks

2 years ago[Minor] Fix warning
Vsevolod Stakhov [Sat, 17 Sep 2022 13:57:05 +0000 (14:57 +0100)]
[Minor] Fix warning

2 years ago[Minor] Allow to specify multiple sanitize targets and slightly rework
Vsevolod Stakhov [Sat, 17 Sep 2022 13:39:25 +0000 (14:39 +0100)]
[Minor] Allow to specify multiple sanitize targets and slightly rework

2 years ago[Minor] Dmarc: Move `no_reporting_domains` to `reporting.exclude_domains`
Vsevolod Stakhov [Fri, 16 Sep 2022 21:05:06 +0000 (22:05 +0100)]
[Minor] Dmarc: Move `no_reporting_domains` to `reporting.exclude_domains`

This is done for consistency with provision of the backward compatibility

2 years ago[Minor] Restore `task:has_urls(true)` behaviour
Vsevolod Stakhov [Thu, 15 Sep 2022 22:04:54 +0000 (23:04 +0100)]
[Minor] Restore `task:has_urls(true)` behaviour

Issue: #4124

2 years ago[Minor] Try to deal with some deprecations
Vsevolod Stakhov [Thu, 15 Sep 2022 21:50:49 +0000 (22:50 +0100)]
[Minor] Try to deal with some deprecations

2 years agoMerge pull request #4268 from dragoangel/patch-1
Vsevolod Stakhov [Wed, 14 Sep 2022 20:43:55 +0000 (21:43 +0100)]
Merge pull request #4268 from dragoangel/patch-1

[Fix] Avoid overriding IP with Sender IP

2 years agoUpdate rspamd_template.json 4268/head
Dmitriy Alekseev [Wed, 14 Sep 2022 11:21:11 +0000 (14:21 +0300)]
Update rspamd_template.json

2 years agoUpdate elastic.lua
Dmitriy Alekseev [Wed, 14 Sep 2022 09:16:29 +0000 (12:16 +0300)]
Update elastic.lua

2 years ago[Fix] Avoid overriding IP with Sender IP
Dmitriy Alekseev [Wed, 14 Sep 2022 09:09:32 +0000 (12:09 +0300)]
[Fix] Avoid overriding IP with Sender IP

2 years ago[Test] Another try to fix env variable
Vsevolod Stakhov [Mon, 12 Sep 2022 20:44:47 +0000 (21:44 +0100)]
[Test] Another try to fix env variable

2 years ago[Test] Avoid clashing with the main DBDIR
Vsevolod Stakhov [Mon, 12 Sep 2022 20:00:59 +0000 (21:00 +0100)]
[Test] Avoid clashing with the main DBDIR

Submitted by: @fatalbanana

2 years ago[Minor] Add augmentation for aws_s3 plugin
Vsevolod Stakhov [Sun, 11 Sep 2022 19:04:38 +0000 (20:04 +0100)]
[Minor] Add augmentation for aws_s3 plugin

2 years ago[Test] Fix broken test
Vsevolod Stakhov [Sat, 10 Sep 2022 14:11:55 +0000 (15:11 +0100)]
[Test] Fix broken test

2 years ago[Minor] Minor debugging improvements
Vsevolod Stakhov [Sat, 10 Sep 2022 13:57:18 +0000 (14:57 +0100)]
[Minor] Minor debugging improvements

2 years ago[Rework] Reiterate on priorities
Vsevolod Stakhov [Sat, 10 Sep 2022 13:43:36 +0000 (14:43 +0100)]
[Rework] Reiterate on priorities

2 years ago[Minor] Remove priorities from idempotent filters
Vsevolod Stakhov [Sat, 10 Sep 2022 13:27:15 +0000 (14:27 +0100)]
[Minor] Remove priorities from idempotent filters

2 years ago[Minor] Properly print top symbols by timeout
Vsevolod Stakhov [Sat, 10 Sep 2022 13:13:30 +0000 (14:13 +0100)]
[Minor] Properly print top symbols by timeout

2 years ago[Minor] FIx arc timeout
Vsevolod Stakhov [Sat, 10 Sep 2022 13:13:18 +0000 (14:13 +0100)]
[Minor] FIx arc timeout

2 years ago[Minor] Register more timeouts
Vsevolod Stakhov [Sat, 10 Sep 2022 12:47:54 +0000 (13:47 +0100)]
[Minor] Register more timeouts

2 years ago[Minor] Register some more timeouts
Vsevolod Stakhov [Sat, 10 Sep 2022 12:26:32 +0000 (13:26 +0100)]
[Minor] Register some more timeouts

2 years ago[Minor] Slightly improve log message
Vsevolod Stakhov [Sat, 10 Sep 2022 12:03:26 +0000 (13:03 +0100)]
[Minor] Slightly improve log message

2 years ago[Minor] Add timeout augmentation for external services/av plugins
Vsevolod Stakhov [Fri, 9 Sep 2022 20:06:00 +0000 (21:06 +0100)]
[Minor] Add timeout augmentation for external services/av plugins

2 years ago[Minor] Mime_types: Add application/tlsrpt+gzip as known type
Vsevolod Stakhov [Thu, 8 Sep 2022 22:32:58 +0000 (23:32 +0100)]
[Minor] Mime_types: Add application/tlsrpt+gzip as known type

Issue: #4243

2 years agoMerge pull request #4262 from moisseev/webui
Vsevolod Stakhov [Wed, 7 Sep 2022 15:49:01 +0000 (16:49 +0100)]
Merge pull request #4262 from moisseev/webui

[WebUI] Put total in the center of pie charts

2 years ago[WebUI] Put total in the center of pie charts 4262/head
moisseev [Wed, 7 Sep 2022 11:58:50 +0000 (14:58 +0300)]
[WebUI] Put total in the center of pie charts

2 years ago[Minor] Declare variable where it is used
Vsevolod Stakhov [Mon, 5 Sep 2022 22:34:43 +0000 (23:34 +0100)]
[Minor] Declare variable where it is used

2 years ago[Feature] Allow to limit write access to fuzzy storage by key
Vsevolod Stakhov [Sun, 4 Sep 2022 19:37:50 +0000 (20:37 +0100)]
[Feature] Allow to limit write access to fuzzy storage by key

2 years agoMerge pull request #4259 from ikedas/header_inserted_at_wrong_pos
Vsevolod Stakhov [Sat, 3 Sep 2022 08:14:20 +0000 (09:14 +0100)]
Merge pull request #4259 from ikedas/header_inserted_at_wrong_pos

[Fix] milter_headers: Header fields may be inserted at wrong position.

2 years ago[Fix] milter_headers: Header fields may be inserted at wrong position. 4259/head
IKEDA Soji [Sun, 28 Aug 2022 08:02:41 +0000 (17:02 +0900)]
[Fix] milter_headers: Header fields may be inserted at wrong position.

2 years ago[Fix] Use space category in ragel automata to resolve space characters
Vsevolod Stakhov [Fri, 2 Sep 2022 22:35:12 +0000 (23:35 +0100)]
[Fix] Use space category in ragel automata to resolve space characters

Issue: #4247

2 years ago[Minor] Remove redundant code
Vsevolod Stakhov [Thu, 1 Sep 2022 22:32:53 +0000 (23:32 +0100)]
[Minor] Remove redundant code

2 years ago[Fix] Fix synchronous auth/select in lua_redis
Vsevolod Stakhov [Wed, 31 Aug 2022 22:25:02 +0000 (23:25 +0100)]
[Fix] Fix synchronous auth/select in lua_redis

Issue: #4255

2 years agoMerge pull request #4257 from moisseev/webui
Vsevolod Stakhov [Wed, 31 Aug 2022 20:25:59 +0000 (21:25 +0100)]
Merge pull request #4257 from moisseev/webui

[WebUI] Wrap Prism.highlightElement

2 years ago[WebUI] Update jQuery 4257/head
moisseev [Wed, 31 Aug 2022 11:36:03 +0000 (14:36 +0300)]
[WebUI] Update jQuery

2 years ago[WebUI] Wrap Prism.highlightElement
moisseev [Wed, 31 Aug 2022 11:19:45 +0000 (14:19 +0300)]
[WebUI] Wrap Prism.highlightElement

antonmedv/codejar#85

2 years agoMerge pull request #4256 from moisseev/webui
Vsevolod Stakhov [Tue, 30 Aug 2022 22:06:18 +0000 (23:06 +0100)]
Merge pull request #4256 from moisseev/webui

[WebUI] Migrate to D3 v7

2 years ago[WebUI] Migrate to D3 v7 4256/head
moisseev [Tue, 30 Aug 2022 16:34:55 +0000 (19:34 +0300)]
[WebUI] Migrate to D3 v7

This means that we drop support for older browsers which do not support
the ECMAScript 2015 (ES6) JS standard.

2 years ago[Minor] Require number as header order
Vsevolod Stakhov [Mon, 29 Aug 2022 20:20:52 +0000 (21:20 +0100)]
[Minor] Require number as header order

Issue: #4246

2 years ago[Minor] Fix legacy string values in modify headers routine
Vsevolod Stakhov [Mon, 29 Aug 2022 20:16:31 +0000 (21:16 +0100)]
[Minor] Fix legacy string values in modify headers routine

Issue: #4246

2 years agoMerge pull request #4254 from moisseev/webui
Vsevolod Stakhov [Sun, 28 Aug 2022 11:57:50 +0000 (12:57 +0100)]
Merge pull request #4254 from moisseev/webui

[WebUI] Hide extra To detail row on small screens

2 years ago[WebUI] Hide extra To detail row on small screens 4254/head
moisseev [Sun, 28 Aug 2022 08:16:01 +0000 (11:16 +0300)]
[WebUI] Hide extra To detail row on small screens

2 years ago[Minor] Check ucl object type
Vsevolod Stakhov [Sat, 27 Aug 2022 22:47:28 +0000 (23:47 +0100)]
[Minor] Check ucl object type

2 years ago[Fix] Skip cname records when processing SPF records
Vsevolod Stakhov [Fri, 26 Aug 2022 21:30:18 +0000 (22:30 +0100)]
[Fix] Skip cname records when processing SPF records

2 years ago[Minor] SPF: Fix debugging domain
Vsevolod Stakhov [Fri, 26 Aug 2022 21:14:24 +0000 (22:14 +0100)]
[Minor] SPF: Fix debugging domain

2 years agoMerge pull request #4250 from moisseev/webui
Vsevolod Stakhov [Fri, 26 Aug 2022 13:35:08 +0000 (14:35 +0100)]
Merge pull request #4250 from moisseev/webui

[WebUI] Hide symbol order toggle in search dropdown

2 years ago[WebUI] Hide symbol order toggle in search dropdown 4250/head
moisseev [Fri, 26 Aug 2022 11:15:09 +0000 (14:15 +0300)]
[WebUI] Hide symbol order toggle in search dropdown

2 years agoMerge pull request #4249 from moisseev/webui
Vsevolod Stakhov [Fri, 26 Aug 2022 09:10:32 +0000 (10:10 +0100)]
Merge pull request #4249 from moisseev/webui

[WebUI] Remove extra To column from filtering

2 years ago[WebUI] Remove extra To column from filtering 4249/head
moisseev [Fri, 26 Aug 2022 07:41:07 +0000 (10:41 +0300)]
[WebUI] Remove extra To column from filtering

2 years agoMerge pull request #4248 from fiirhok/patch-1
Vsevolod Stakhov [Wed, 24 Aug 2022 18:51:31 +0000 (19:51 +0100)]
Merge pull request #4248 from fiirhok/patch-1

[Minor] Remove references to Atom in CONTRIBUTING.md

2 years agoUpdate caplitalization of Rspamd in CONTRIBUTING.md 4248/head
fiirhok [Wed, 24 Aug 2022 18:29:02 +0000 (11:29 -0700)]
Update caplitalization of Rspamd in CONTRIBUTING.md

2 years ago[Minor] Remove references to Atom in CONTRIBUTING.md
fiirhok [Wed, 24 Aug 2022 17:20:18 +0000 (10:20 -0700)]
[Minor] Remove references to Atom in CONTRIBUTING.md

2 years ago[Fix] Another try to fix add headers compatibility logic
Vsevolod Stakhov [Tue, 23 Aug 2022 22:53:26 +0000 (23:53 +0100)]
[Fix] Another try to fix add headers compatibility logic

Issue: #4246

2 years ago[Fix] Fix iteration over milter headers
Vsevolod Stakhov [Tue, 23 Aug 2022 21:26:40 +0000 (22:26 +0100)]
[Fix] Fix iteration over milter headers

Issue: #4246

2 years ago[Minor] Exclude irrelevant parts from mime_headers regexp
Vsevolod Stakhov [Mon, 22 Aug 2022 21:35:13 +0000 (22:35 +0100)]
[Minor] Exclude irrelevant parts from mime_headers regexp

2 years ago[Minor] Add timeout augmentation to fuzzy_check plugin
Vsevolod Stakhov [Sun, 21 Aug 2022 19:26:09 +0000 (20:26 +0100)]
[Minor] Add timeout augmentation to fuzzy_check plugin

2 years ago[Minor] Add a helper method to get the current DNS timeout
Vsevolod Stakhov [Sat, 20 Aug 2022 20:52:14 +0000 (21:52 +0100)]
[Minor] Add a helper method to get the current DNS timeout

2 years agoMerge pull request #4244 from Player701/FixBadRepPolicies
Vsevolod Stakhov [Sat, 20 Aug 2022 16:15:47 +0000 (17:15 +0100)]
Merge pull request #4244 from Player701/FixBadRepPolicies

Fix: BAD_REP_POLICIES does not trigger for Bayes

2 years ago[Minor] Add utility function for task timeouts
Vsevolod Stakhov [Fri, 19 Aug 2022 20:13:03 +0000 (21:13 +0100)]
[Minor] Add utility function for task timeouts

2 years ago[Fix] BAD_REP_POLICIES did not trigger when message was classified as spam by Bayes 4244/head
Player701 [Fri, 19 Aug 2022 16:47:46 +0000 (19:47 +0300)]
[Fix] BAD_REP_POLICIES did not trigger when message was classified as spam by Bayes

2 years ago[Minor] Implement C API to obtain timeouts information
Vsevolod Stakhov [Fri, 19 Aug 2022 16:47:07 +0000 (17:47 +0100)]
[Minor] Implement C API to obtain timeouts information

2 years ago[Minor] Save all items that causes timeouts
Vsevolod Stakhov [Fri, 19 Aug 2022 16:10:35 +0000 (17:10 +0100)]
[Minor] Save all items that causes timeouts

2 years ago[Minor] Add some more logging
Vsevolod Stakhov [Thu, 18 Aug 2022 20:18:04 +0000 (21:18 +0100)]
[Minor] Add some more logging

2 years ago[Minor] Add function to find out the maximum timeout for all symbols
Vsevolod Stakhov [Wed, 17 Aug 2022 20:30:54 +0000 (21:30 +0100)]
[Minor] Add function to find out the maximum timeout for all symbols

2 years ago[Minor] Add timeout augmentation
Vsevolod Stakhov [Wed, 17 Aug 2022 19:35:39 +0000 (20:35 +0100)]
[Minor] Add timeout augmentation

2 years ago[Minor] Fix issues introduced by migration
Vsevolod Stakhov [Wed, 17 Aug 2022 17:48:18 +0000 (18:48 +0100)]
[Minor] Fix issues introduced by migration

2 years ago[Rework] Use khash instead of uthash in rdns compression logic
Vsevolod Stakhov [Wed, 17 Aug 2022 17:00:47 +0000 (18:00 +0100)]
[Rework] Use khash instead of uthash in rdns compression logic

2 years agoMerge pull request #4242 from rekup/fix/dmarc-report-noopt
Vsevolod Stakhov [Tue, 16 Aug 2022 13:51:47 +0000 (14:51 +0100)]
Merge pull request #4242 from rekup/fix/dmarc-report-noopt

[Fix] Skip sending dmarc reports in no-opt mode

2 years ago[Fix] Skip sending dmarc reports in no-opt mode 4242/head
Reto Kupferschmid [Tue, 16 Aug 2022 07:39:02 +0000 (09:39 +0200)]
[Fix] Skip sending dmarc reports in no-opt mode
fixes https://github.com/rspamd/rspamd/issues/4241

2 years ago[Minor] Use a more unified approach to hash strings
Vsevolod Stakhov [Mon, 15 Aug 2022 22:10:36 +0000 (23:10 +0100)]
[Minor] Use a more unified approach to hash strings

2 years ago[Project] Allow `=` separated augmentations to be treated as kv pairs
Vsevolod Stakhov [Sun, 14 Aug 2022 22:55:40 +0000 (23:55 +0100)]
[Project] Allow `=` separated augmentations to be treated as kv pairs

2 years ago[Project] Allow to extract augmentation values
Vsevolod Stakhov [Sat, 13 Aug 2022 19:16:36 +0000 (20:16 +0100)]
[Project] Allow to extract augmentation values

2 years ago[Minor] Handle null values
Vsevolod Stakhov [Fri, 12 Aug 2022 20:52:28 +0000 (21:52 +0100)]
[Minor] Handle null values

2 years ago[Project] Support augmentations with values
Vsevolod Stakhov [Fri, 12 Aug 2022 19:44:35 +0000 (20:44 +0100)]
[Project] Support augmentations with values

2 years ago[Minor] Add support of CNAME requests to the lua resolver
Vsevolod Stakhov [Thu, 11 Aug 2022 20:36:50 +0000 (21:36 +0100)]
[Minor] Add support of CNAME requests to the lua resolver

2 years ago[Minor] Remove duplicated code
Vsevolod Stakhov [Thu, 11 Aug 2022 20:36:38 +0000 (21:36 +0100)]
[Minor] Remove duplicated code

2 years ago[Minor] Ignore irrelevant DNS replies
Vsevolod Stakhov [Thu, 11 Aug 2022 20:36:13 +0000 (21:36 +0100)]
[Minor] Ignore irrelevant DNS replies

2 years ago[Minor] Improve logging
Vsevolod Stakhov [Thu, 11 Aug 2022 20:12:49 +0000 (21:12 +0100)]
[Minor] Improve logging

2 years ago[Minor] Ignore unlink failures when dealing with the caching logic
Vsevolod Stakhov [Wed, 10 Aug 2022 22:44:14 +0000 (23:44 +0100)]
[Minor] Ignore unlink failures when dealing with the caching logic

Issue: #4238

2 years ago[Minor] Add experimental support of CNAME RR type
Vsevolod Stakhov [Wed, 10 Aug 2022 22:35:28 +0000 (23:35 +0100)]
[Minor] Add experimental support of CNAME RR type