]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years agoRemoves useless index 4334/head
yo [Sun, 13 Nov 2022 15:42:44 +0000 (16:42 +0100)]
Removes useless index

2 years agometadata_exporter http pusher: Extend valid return codes
yo [Sun, 13 Nov 2022 15:24:53 +0000 (16:24 +0100)]
metadata_exporter http pusher: Extend valid return codes

2 years ago[Minor] Add a simple check when trying to parse urls on config stage
Vsevolod Stakhov [Sat, 12 Nov 2022 15:53:29 +0000 (15:53 +0000)]
[Minor] Add a simple check when trying to parse urls on config stage

2 years ago[Minor] Fix build on 32bit platforms
Vsevolod Stakhov [Fri, 11 Nov 2022 21:18:42 +0000 (21:18 +0000)]
[Minor] Fix build on 32bit platforms

2 years ago[CritFix] Deserialise hyperscan to the page-aligned space to prevent alignment issues
Vsevolod Stakhov [Fri, 11 Nov 2022 20:34:51 +0000 (20:34 +0000)]
[CritFix] Deserialise hyperscan to the page-aligned space to prevent alignment issues

Issue: #4329

2 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Tue, 8 Nov 2022 20:36:33 +0000 (20:36 +0000)]
[Minor] Pet luacheck

2 years agoMerge pull request #4327 from arkamar/tmpdir
Vsevolod Stakhov [Tue, 8 Nov 2022 20:35:27 +0000 (20:35 +0000)]
Merge pull request #4327 from arkamar/tmpdir

[Test] Use TMPDIR if available

2 years ago[Test] use TMPDIR if available for mkstemp tests 4327/head
Petr Vaněk [Mon, 7 Nov 2022 08:53:28 +0000 (09:53 +0100)]
[Test] use TMPDIR if available for mkstemp tests

2 years agoMerge pull request #4328 from jonmoesli/master
Vsevolod Stakhov [Tue, 8 Nov 2022 08:22:50 +0000 (08:22 +0000)]
Merge pull request #4328 from jonmoesli/master

[Feature] Enable Mime part filters on antivirus module

2 years agoRemove whitespaces from empty line 4328/head
jonmoesli [Tue, 8 Nov 2022 07:41:38 +0000 (08:41 +0100)]
Remove whitespaces from empty line

2 years ago[Feature] Enable Mime part filters on antivirus module
jonmoesli [Mon, 7 Nov 2022 17:20:35 +0000 (18:20 +0100)]
[Feature] Enable Mime part filters on antivirus module

2 years ago[Test] Do not use hardcoded path for sqlite3 tests
Petr Vaněk [Mon, 7 Nov 2022 08:25:40 +0000 (09:25 +0100)]
[Test] Do not use hardcoded path for sqlite3 tests

2 years agoMerge pull request #4326 from moisseev/webui
Vsevolod Stakhov [Sun, 6 Nov 2022 16:20:40 +0000 (16:20 +0000)]
Merge pull request #4326 from moisseev/webui

[WebUI] Add legacy history version badge

2 years ago[Test] Fix ESLint 4326/head
moisseev [Sat, 5 Nov 2022 15:42:52 +0000 (18:42 +0300)]
[Test] Fix ESLint

2 years ago[WebUI] Add legacy history version badge
moisseev [Sat, 5 Nov 2022 15:31:27 +0000 (18:31 +0300)]
[WebUI] Add legacy history version badge

2 years agoMerge pull request #4323 from arkamar/lua_util/unittests-fix
Vsevolod Stakhov [Sat, 5 Nov 2022 12:11:05 +0000 (12:11 +0000)]
Merge pull request #4323 from arkamar/lua_util/unittests-fix

[Test] Remove test case with non-deterministic result

2 years ago[Test] Remove test case with non-deterministic result 4323/head
Petr Vaněk [Sat, 5 Nov 2022 09:19:57 +0000 (10:19 +0100)]
[Test] Remove test case with non-deterministic result

Removed test case does not work with luajit-2.1 anymore as it depends on
internal behavior of lujait-2.0.

The order of URL list returned by `extract_specific_urls` function from
`lualib/lua_util` depends on order of keys in table of TLDs.  The test
case incorrectly expects "net" and "com" being in front of the table,
however, "org" can appear there as well.

2 years ago[Minor] Get rid of some compiler warnings
Vsevolod Stakhov [Fri, 4 Nov 2022 21:11:33 +0000 (21:11 +0000)]
[Minor] Get rid of some compiler warnings

2 years ago[Minor] Add size to the metadata exporter
Vsevolod Stakhov [Thu, 3 Nov 2022 22:08:42 +0000 (22:08 +0000)]
[Minor] Add size to the metadata exporter

Issue: #4321

2 years ago[Minor] Move checks to the correct branch
Vsevolod Stakhov [Wed, 2 Nov 2022 21:45:00 +0000 (21:45 +0000)]
[Minor] Move checks to the correct branch

2 years ago[Fix] Honor group flag for one shot
Vsevolod Stakhov [Wed, 2 Nov 2022 21:17:01 +0000 (21:17 +0000)]
[Fix] Honor group flag for one shot

2 years ago[Minor] Update version to 3.5
Vsevolod Stakhov [Wed, 2 Nov 2022 21:17:38 +0000 (21:17 +0000)]
[Minor] Update version to 3.5

2 years agoRelease 3.4 3.4
Vsevolod Stakhov [Tue, 1 Nov 2022 20:25:20 +0000 (20:25 +0000)]
Release 3.4

* [CritFix] Restore compatibility with the integrations and headers alterations
* [Feature] Milter_headers: Add `x-rspamd-action` routine
* [Feature] Share hyperscan database among processes
* [Fix] Another corner case in url parsing
* [Fix] Another fix for the enable password
* [Fix] Another try to fix close method in lua_tcp
* [Fix] Fix additional fields in the Redis schema
* [Fix] Fix emoji joiner FP
* [Fix] Fix favicon.ico Content-Type header
* [Fix] Fix hang when close is used
* [Fix] Lua_tcp: Sigh, another try to fix `close` invocation
* [Fix] Mx_check: Cache the fact of a missing MX record
* [Fix] Try to fix parsing of the unencoded `>` characters in html attributes
* [Fix] Try to fix the case where password == enable_password
* [Project] (Re)implement hyperscan caching
* [Project] Rework cleanup
* [Project] Synchronize hyperscan caches via the main process
* [Rework] Convert multipattern to use hyperscan tools
* [Rework] Make http normalize path function a generic function
* [Rework] Split locked and unlocked files, as mmap does not need flock normally
* [Rework] Start movement of the hyperscan related routines into a single unit
* [Rework] Store the current worker, so other libraries could use this information
* [Rework] Use blocking socket for IPC between main and workers
* [Rework] Use more predictable size for commands buffers
* [Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing
* [Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely

2 years ago[Minor] Set crash handler all the time
Vsevolod Stakhov [Mon, 31 Oct 2022 20:13:04 +0000 (20:13 +0000)]
[Minor] Set crash handler all the time

2 years ago[Minor] Restore non-blocking semantics for the control socket to avoid deadlocks
Vsevolod Stakhov [Mon, 31 Oct 2022 20:10:05 +0000 (20:10 +0000)]
[Minor] Restore non-blocking semantics for the control socket to avoid deadlocks

XXX: it might be osx specific

2 years ago[Minor] Reserve some more bytes
Vsevolod Stakhov [Mon, 31 Oct 2022 11:21:33 +0000 (11:21 +0000)]
[Minor] Reserve some more bytes

2 years ago[Minor] Simplify legacy calls via glib
Vsevolod Stakhov [Sun, 30 Oct 2022 21:53:15 +0000 (21:53 +0000)]
[Minor] Simplify legacy calls via glib

2 years ago[Test] Add a test for SUBJECT_HAS_CURRENCY rule
Vsevolod Stakhov [Sat, 29 Oct 2022 20:48:25 +0000 (21:48 +0100)]
[Test] Add a test for SUBJECT_HAS_CURRENCY rule

2 years ago[Minor] Use unicode property for currency detection
Vsevolod Stakhov [Sat, 29 Oct 2022 20:43:51 +0000 (21:43 +0100)]
[Minor] Use unicode property for currency detection

Issue: #4320

2 years ago[Minor] Slightly improve the documentation
Vsevolod Stakhov [Sat, 29 Oct 2022 20:29:50 +0000 (21:29 +0100)]
[Minor] Slightly improve the documentation

2 years ago[Minor] Plug memory leak for sigaltstack
Vsevolod Stakhov [Sat, 29 Oct 2022 09:42:30 +0000 (10:42 +0100)]
[Minor] Plug memory leak for sigaltstack

2 years ago[Minor] Fix static memory leak in redis stat
Vsevolod Stakhov [Sat, 29 Oct 2022 09:24:28 +0000 (10:24 +0100)]
[Minor] Fix static memory leak in redis stat

2 years ago[Minor] Add static log tag for hyperscan cache
Vsevolod Stakhov [Sat, 29 Oct 2022 08:57:16 +0000 (09:57 +0100)]
[Minor] Add static log tag for hyperscan cache

2 years ago[Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing
Vsevolod Stakhov [Fri, 28 Oct 2022 14:31:02 +0000 (15:31 +0100)]
[Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing

Suggested by: @moisseev

2 years ago[Minor] Remove unused variable
Vsevolod Stakhov [Thu, 27 Oct 2022 21:55:32 +0000 (22:55 +0100)]
[Minor] Remove unused variable

2 years ago[Fix] Fix additional fields in the Redis schema
Vsevolod Stakhov [Wed, 26 Oct 2022 21:24:58 +0000 (22:24 +0100)]
[Fix] Fix additional fields in the Redis schema

Issue: #4318

2 years ago[Test] Fix broken tests
Vsevolod Stakhov [Tue, 25 Oct 2022 06:19:53 +0000 (07:19 +0100)]
[Test] Fix broken tests

2 years ago[Minor] Another small neat
Vsevolod Stakhov [Tue, 25 Oct 2022 06:19:43 +0000 (07:19 +0100)]
[Minor] Another small neat

2 years ago[Fix] Another corner case in url parsing
Vsevolod Stakhov [Tue, 25 Oct 2022 06:14:42 +0000 (07:14 +0100)]
[Fix] Another corner case in url parsing

2 years ago[Fix] Try to fix parsing of the unencoded `>` characters in html attributes
Vsevolod Stakhov [Tue, 25 Oct 2022 06:01:40 +0000 (07:01 +0100)]
[Fix] Try to fix parsing of the unencoded `>` characters in html attributes

2 years ago[Minor] Add small additional logging
Vsevolod Stakhov [Tue, 25 Oct 2022 05:11:25 +0000 (06:11 +0100)]
[Minor] Add small additional logging

2 years ago[Project] Enable hyperscan tools for re_cache
Vsevolod Stakhov [Tue, 25 Oct 2022 02:19:37 +0000 (03:19 +0100)]
[Project] Enable hyperscan tools for re_cache

2 years ago[Minor] Fix offset usage
Vsevolod Stakhov [Tue, 25 Oct 2022 02:19:22 +0000 (03:19 +0100)]
[Minor] Fix offset usage

2 years ago[Project] Allow offsets in the hyperscan cache
Vsevolod Stakhov [Mon, 24 Oct 2022 16:53:10 +0000 (17:53 +0100)]
[Project] Allow offsets in the hyperscan cache

2 years ago[Minor] Allow to map files at some offset
Vsevolod Stakhov [Mon, 24 Oct 2022 14:29:59 +0000 (15:29 +0100)]
[Minor] Allow to map files at some offset

2 years ago[Minor] Improve logging
Vsevolod Stakhov [Sun, 23 Oct 2022 21:16:54 +0000 (22:16 +0100)]
[Minor] Improve logging

2 years ago[Minor] Normalise file names
Vsevolod Stakhov [Sun, 23 Oct 2022 21:08:31 +0000 (22:08 +0100)]
[Minor] Normalise file names

2 years ago[Minor] Some tweaks to the cmake scripts
Vsevolod Stakhov [Sun, 23 Oct 2022 20:46:39 +0000 (21:46 +0100)]
[Minor] Some tweaks to the cmake scripts

2 years ago[Rework] Make http normalize path function a generic function
Vsevolod Stakhov [Sun, 23 Oct 2022 20:41:18 +0000 (21:41 +0100)]
[Rework] Make http normalize path function a generic function

2 years ago[Project] Rework cleanup
Vsevolod Stakhov [Sun, 23 Oct 2022 20:37:38 +0000 (21:37 +0100)]
[Project] Rework cleanup

2 years ago[Project] Synchronize hyperscan caches via the main process
Vsevolod Stakhov [Sun, 23 Oct 2022 17:37:34 +0000 (18:37 +0100)]
[Project] Synchronize hyperscan caches via the main process

2 years ago[Rework] Use blocking socket for IPC between main and workers
Vsevolod Stakhov [Sun, 23 Oct 2022 17:07:22 +0000 (18:07 +0100)]
[Rework] Use blocking socket for IPC between main and workers

 There are no reasons why control pipes are blocking: the messages
 there are rare and are strictly bounded by command sizes, so if we block
 on some pipe, it is ok, as we still poll that for all operations.
 It is also impossible to block on writing in normal conditions.
 And if the conditions are not normal, e.g. a worker is unresponsive, then
 we can safely think that the non-blocking behaviour as it is implemented
 currently will not make things better, as it would lead to incomplete
 reads/writes that are not handled anyhow and are totally broken from the
 beginning.

2 years ago[Rework] Use more predictable size for commands buffers
Vsevolod Stakhov [Sun, 23 Oct 2022 17:00:01 +0000 (18:00 +0100)]
[Rework] Use more predictable size for commands buffers

2 years ago[Minor] Use seqpacket for control pipes
Vsevolod Stakhov [Sun, 23 Oct 2022 16:57:44 +0000 (17:57 +0100)]
[Minor] Use seqpacket for control pipes

2 years ago[Feature] Milter_headers: Add `x-rspamd-action` routine
Vsevolod Stakhov [Sat, 22 Oct 2022 20:50:04 +0000 (21:50 +0100)]
[Feature] Milter_headers: Add `x-rspamd-action` routine

Include it into `extended_spam_headers` as well

2 years ago[Rework] Convert multipattern to use hyperscan tools
Vsevolod Stakhov [Sat, 22 Oct 2022 14:52:59 +0000 (15:52 +0100)]
[Rework] Convert multipattern to use hyperscan tools

2 years ago[Project] Start C API implementation
Vsevolod Stakhov [Sat, 22 Oct 2022 13:55:52 +0000 (14:55 +0100)]
[Project] Start C API implementation

2 years ago[Minor] Fix corner cases
Vsevolod Stakhov [Sat, 22 Oct 2022 12:17:45 +0000 (13:17 +0100)]
[Minor] Fix corner cases

2 years ago[CritFix] Restore compatibility with the integrations and headers alterations
Vsevolod Stakhov [Sat, 22 Oct 2022 12:00:21 +0000 (13:00 +0100)]
[CritFix] Restore compatibility with the integrations and headers alterations

2 years ago[Minor] Do not sort part urls, it was added by a mistake
Vsevolod Stakhov [Fri, 21 Oct 2022 22:58:31 +0000 (23:58 +0100)]
[Minor] Do not sort part urls, it was added by a mistake

Discussed with: @citrin

2 years ago[Fix] Lua_tcp: Sigh, another try to fix `close` invocation
Vsevolod Stakhov [Fri, 21 Oct 2022 09:41:10 +0000 (10:41 +0100)]
[Fix] Lua_tcp: Sigh, another try to fix `close` invocation

2 years ago[Minor] Fix url_cmp operation
Vsevolod Stakhov [Thu, 20 Oct 2022 20:47:01 +0000 (21:47 +0100)]
[Minor] Fix url_cmp operation

2 years ago[Minor] Remove vectorized hyperscan mode: it has been always broken
Vsevolod Stakhov [Thu, 20 Oct 2022 11:50:39 +0000 (12:50 +0100)]
[Minor] Remove vectorized hyperscan mode: it has been always broken

2 years agoMerge pull request #4308 from frederikbosch/patch-1
Vsevolod Stakhov [Wed, 19 Oct 2022 20:26:27 +0000 (21:26 +0100)]
Merge pull request #4308 from frederikbosch/patch-1

[Rules] Penalize bounce spam

2 years ago[Fix] Mx_check: Cache the fact of a missing MX record
Vsevolod Stakhov [Wed, 19 Oct 2022 20:10:51 +0000 (21:10 +0100)]
[Fix] Mx_check: Cache the fact of a missing MX record

2 years ago[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely
Vsevolod Stakhov [Tue, 18 Oct 2022 22:11:17 +0000 (23:11 +0100)]
[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely

2 years ago[Minor] Use __func__ in c++ mode as defined by standard
Vsevolod Stakhov [Tue, 18 Oct 2022 22:10:17 +0000 (23:10 +0100)]
[Minor] Use __func__ in c++ mode as defined by standard

2 years ago[Minor] Fix error copying/move behaviour
Vsevolod Stakhov [Tue, 18 Oct 2022 22:09:55 +0000 (23:09 +0100)]
[Minor] Fix error copying/move behaviour

2 years ago[Minor] Use a separate error class instead of std::string
Vsevolod Stakhov [Mon, 17 Oct 2022 10:39:38 +0000 (11:39 +0100)]
[Minor] Use a separate error class instead of std::string

2 years ago[Minor] Rename file to a more appropriate name
Vsevolod Stakhov [Mon, 17 Oct 2022 10:07:58 +0000 (11:07 +0100)]
[Minor] Rename file to a more appropriate name

2 years agoUpdate composites.conf 4308/head
Frederik Bosch [Mon, 17 Oct 2022 07:46:50 +0000 (09:46 +0200)]
Update composites.conf

2 years ago[Rework] Store the current worker, so other libraries could use this information
Vsevolod Stakhov [Sun, 16 Oct 2022 20:31:31 +0000 (21:31 +0100)]
[Rework] Store the current worker, so other libraries could use this information

2 years ago[Minor] Move hyperscan tools to the libserver domain
Vsevolod Stakhov [Sun, 16 Oct 2022 14:25:04 +0000 (15:25 +0100)]
[Minor] Move hyperscan tools to the libserver domain

2 years ago[Project] (Re)implement hyperscan caching
Vsevolod Stakhov [Sun, 16 Oct 2022 14:22:27 +0000 (15:22 +0100)]
[Project] (Re)implement hyperscan caching

2 years ago[Minor] More tests and fixes to raii file
Vsevolod Stakhov [Sun, 16 Oct 2022 14:22:10 +0000 (15:22 +0100)]
[Minor] More tests and fixes to raii file

2 years ago[Minor] Add some more utilities
Vsevolod Stakhov [Sat, 15 Oct 2022 14:33:53 +0000 (15:33 +0100)]
[Minor] Add some more utilities

2 years ago[Minor] Commit leftovers
Vsevolod Stakhov [Sat, 15 Oct 2022 12:38:21 +0000 (13:38 +0100)]
[Minor] Commit leftovers

2 years ago[Rework] Split locked and unlocked files, as mmap does not need flock normally
Vsevolod Stakhov [Sat, 15 Oct 2022 12:33:55 +0000 (13:33 +0100)]
[Rework] Split locked and unlocked files, as mmap does not need flock normally

2 years ago[Fix] Another try to fix close method in lua_tcp
Vsevolod Stakhov [Thu, 13 Oct 2022 22:15:15 +0000 (23:15 +0100)]
[Fix] Another try to fix close method in lua_tcp

2 years ago[Minor] Add some debug logs for mx_check
Vsevolod Stakhov [Thu, 13 Oct 2022 21:57:36 +0000 (22:57 +0100)]
[Minor] Add some debug logs for mx_check

2 years agoMerge pull request #4304 from twesterhever/temp-comosites-freemail-aff
Vsevolod Stakhov [Wed, 12 Oct 2022 20:31:23 +0000 (21:31 +0100)]
Merge pull request #4304 from twesterhever/temp-comosites-freemail-aff

[Enhancement] Add composite rule against AFF involving freemailers

2 years agoComposites should not be recursive
Frederik Bosch [Wed, 12 Oct 2022 09:53:44 +0000 (11:53 +0200)]
Composites should not be recursive

2 years agoProtect against bounce spam
Frederik Bosch [Wed, 12 Oct 2022 08:44:12 +0000 (10:44 +0200)]
Protect against bounce spam

2 years ago[Test] Add more tests for the passwords checking logic
Vsevolod Stakhov [Tue, 11 Oct 2022 07:35:56 +0000 (08:35 +0100)]
[Test] Add more tests for the passwords checking logic

2 years ago[Fix] Another fix for the enable password
Vsevolod Stakhov [Tue, 11 Oct 2022 07:35:30 +0000 (08:35 +0100)]
[Fix] Another fix for the enable password

2 years ago[Fix] Try to fix the case where password == enable_password
Vsevolod Stakhov [Mon, 10 Oct 2022 22:56:09 +0000 (23:56 +0100)]
[Fix] Try to fix the case where password == enable_password

Issue: #4306

2 years agoMerge pull request #4300 from yo000/master
Vsevolod Stakhov [Mon, 10 Oct 2022 22:23:11 +0000 (23:23 +0100)]
Merge pull request #4300 from yo000/master

Add basic auth to metadata_exporter http pusher

2 years ago[Minor] Add method to extract shared memory from RAII ownership
Vsevolod Stakhov [Sun, 9 Oct 2022 22:34:42 +0000 (23:34 +0100)]
[Minor] Add method to extract shared memory from RAII ownership

2 years agoMerge pull request #4305 from moisseev/favicon
Vsevolod Stakhov [Sun, 9 Oct 2022 16:05:33 +0000 (17:05 +0100)]
Merge pull request #4305 from moisseev/favicon

[Minor] Fix copy-paste error

2 years ago[Minor] Fix copy-paste error 4305/head
moisseev [Sun, 9 Oct 2022 15:40:30 +0000 (18:40 +0300)]
[Minor] Fix copy-paste error

PR: #4302

2 years agoMerge pull request #4302 from moisseev/favicon
Vsevolod Stakhov [Sun, 9 Oct 2022 13:14:25 +0000 (14:14 +0100)]
Merge pull request #4302 from moisseev/favicon

[Fix] Fix favicon.ico Content-Type header

2 years ago[Enhancement] Add composite rule against AFF involving freemailers 4304/head
twesterhever [Sun, 9 Oct 2022 08:29:21 +0000 (08:29 +0000)]
[Enhancement] Add composite rule against AFF involving freemailers

2 years ago[Fix] Fix favicon.ico Content-Type header 4302/head
moisseev [Sun, 9 Oct 2022 07:44:23 +0000 (10:44 +0300)]
[Fix] Fix favicon.ico Content-Type header

Issue: #4301

2 years ago[Rework] Start movement of the hyperscan related routines into a single unit
Vsevolod Stakhov [Sat, 8 Oct 2022 14:38:49 +0000 (15:38 +0100)]
[Rework] Start movement of the hyperscan related routines into a single unit

2 years ago[Minor] Add some more methods and tests to the file raii abstraction
Vsevolod Stakhov [Sat, 8 Oct 2022 14:19:11 +0000 (15:19 +0100)]
[Minor] Add some more methods and tests to the file raii abstraction

2 years agoAdd basic auth to metadata_exporter http pusher 4300/head
yo [Sat, 8 Oct 2022 13:40:39 +0000 (15:40 +0200)]
Add basic auth to metadata_exporter http pusher

2 years ago[Feature] Share hyperscan database among processes
Vsevolod Stakhov [Sat, 8 Oct 2022 12:45:34 +0000 (13:45 +0100)]
[Feature] Share hyperscan database among processes

2 years ago[Minor] Include config.h to the build target
Vsevolod Stakhov [Sat, 8 Oct 2022 11:40:46 +0000 (12:40 +0100)]
[Minor] Include config.h to the build target

2 years ago[Minor] Remove redundant check
Vsevolod Stakhov [Fri, 7 Oct 2022 19:34:54 +0000 (20:34 +0100)]
[Minor] Remove redundant check

2 years ago[Minor] Detect ffsll presence in a target system
Vsevolod Stakhov [Thu, 6 Oct 2022 22:33:17 +0000 (23:33 +0100)]
[Minor] Detect ffsll presence in a target system