]>
source.dussan.org Git - rspamd.git/log
yo [Sun, 13 Nov 2022 15:42:44 +0000 (16:42 +0100)]
Removes useless index
yo [Sun, 13 Nov 2022 15:24:53 +0000 (16:24 +0100)]
metadata_exporter http pusher: Extend valid return codes
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
Vsevolod Stakhov [Fri, 11 Nov 2022 21:18:42 +0000 (21:18 +0000)]
[Minor] Fix build on 32bit platforms
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
Vsevolod Stakhov [Tue, 8 Nov 2022 20:36:33 +0000 (20:36 +0000)]
[Minor] Pet luacheck
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
Petr Vaněk [Mon, 7 Nov 2022 08:53:28 +0000 (09:53 +0100)]
[Test] use TMPDIR if available for mkstemp tests
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
jonmoesli [Tue, 8 Nov 2022 07:41:38 +0000 (08:41 +0100)]
Remove whitespaces from empty line
jonmoesli [Mon, 7 Nov 2022 17:20:35 +0000 (18:20 +0100)]
[Feature] Enable Mime part filters on antivirus module
Petr Vaněk [Mon, 7 Nov 2022 08:25:40 +0000 (09:25 +0100)]
[Test] Do not use hardcoded path for sqlite3 tests
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
moisseev [Sat, 5 Nov 2022 15:42:52 +0000 (18:42 +0300)]
[Test] Fix ESLint
moisseev [Sat, 5 Nov 2022 15:31:27 +0000 (18:31 +0300)]
[WebUI] Add legacy history version badge
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
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.
Vsevolod Stakhov [Fri, 4 Nov 2022 21:11:33 +0000 (21:11 +0000)]
[Minor] Get rid of some compiler warnings
Vsevolod Stakhov [Thu, 3 Nov 2022 22:08:42 +0000 (22:08 +0000)]
[Minor] Add size to the metadata exporter
Issue: #4321
Vsevolod Stakhov [Wed, 2 Nov 2022 21:45:00 +0000 (21:45 +0000)]
[Minor] Move checks to the correct branch
Vsevolod Stakhov [Wed, 2 Nov 2022 21:17:01 +0000 (21:17 +0000)]
[Fix] Honor group flag for one shot
Vsevolod Stakhov [Wed, 2 Nov 2022 21:17:38 +0000 (21:17 +0000)]
[Minor] Update version to 3.5
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
Vsevolod Stakhov [Mon, 31 Oct 2022 20:13:04 +0000 (20:13 +0000)]
[Minor] Set crash handler all the time
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
Vsevolod Stakhov [Mon, 31 Oct 2022 11:21:33 +0000 (11:21 +0000)]
[Minor] Reserve some more bytes
Vsevolod Stakhov [Sun, 30 Oct 2022 21:53:15 +0000 (21:53 +0000)]
[Minor] Simplify legacy calls via glib
Vsevolod Stakhov [Sat, 29 Oct 2022 20:48:25 +0000 (21:48 +0100)]
[Test] Add a test for SUBJECT_HAS_CURRENCY rule
Vsevolod Stakhov [Sat, 29 Oct 2022 20:43:51 +0000 (21:43 +0100)]
[Minor] Use unicode property for currency detection
Issue: #4320
Vsevolod Stakhov [Sat, 29 Oct 2022 20:29:50 +0000 (21:29 +0100)]
[Minor] Slightly improve the documentation
Vsevolod Stakhov [Sat, 29 Oct 2022 09:42:30 +0000 (10:42 +0100)]
[Minor] Plug memory leak for sigaltstack
Vsevolod Stakhov [Sat, 29 Oct 2022 09:24:28 +0000 (10:24 +0100)]
[Minor] Fix static memory leak in redis stat
Vsevolod Stakhov [Sat, 29 Oct 2022 08:57:16 +0000 (09:57 +0100)]
[Minor] Add static log tag for hyperscan cache
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
Vsevolod Stakhov [Thu, 27 Oct 2022 21:55:32 +0000 (22:55 +0100)]
[Minor] Remove unused variable
Vsevolod Stakhov [Wed, 26 Oct 2022 21:24:58 +0000 (22:24 +0100)]
[Fix] Fix additional fields in the Redis schema
Issue: #4318
Vsevolod Stakhov [Tue, 25 Oct 2022 06:19:53 +0000 (07:19 +0100)]
[Test] Fix broken tests
Vsevolod Stakhov [Tue, 25 Oct 2022 06:19:43 +0000 (07:19 +0100)]
[Minor] Another small neat
Vsevolod Stakhov [Tue, 25 Oct 2022 06:14:42 +0000 (07:14 +0100)]
[Fix] Another corner case in url parsing
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
Vsevolod Stakhov [Tue, 25 Oct 2022 05:11:25 +0000 (06:11 +0100)]
[Minor] Add small additional logging
Vsevolod Stakhov [Tue, 25 Oct 2022 02:19:37 +0000 (03:19 +0100)]
[Project] Enable hyperscan tools for re_cache
Vsevolod Stakhov [Tue, 25 Oct 2022 02:19:22 +0000 (03:19 +0100)]
[Minor] Fix offset usage
Vsevolod Stakhov [Mon, 24 Oct 2022 16:53:10 +0000 (17:53 +0100)]
[Project] Allow offsets in the hyperscan cache
Vsevolod Stakhov [Mon, 24 Oct 2022 14:29:59 +0000 (15:29 +0100)]
[Minor] Allow to map files at some offset
Vsevolod Stakhov [Sun, 23 Oct 2022 21:16:54 +0000 (22:16 +0100)]
[Minor] Improve logging
Vsevolod Stakhov [Sun, 23 Oct 2022 21:08:31 +0000 (22:08 +0100)]
[Minor] Normalise file names
Vsevolod Stakhov [Sun, 23 Oct 2022 20:46:39 +0000 (21:46 +0100)]
[Minor] Some tweaks to the cmake scripts
Vsevolod Stakhov [Sun, 23 Oct 2022 20:41:18 +0000 (21:41 +0100)]
[Rework] Make http normalize path function a generic function
Vsevolod Stakhov [Sun, 23 Oct 2022 20:37:38 +0000 (21:37 +0100)]
[Project] Rework cleanup
Vsevolod Stakhov [Sun, 23 Oct 2022 17:37:34 +0000 (18:37 +0100)]
[Project] Synchronize hyperscan caches via the main process
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.
Vsevolod Stakhov [Sun, 23 Oct 2022 17:00:01 +0000 (18:00 +0100)]
[Rework] Use more predictable size for commands buffers
Vsevolod Stakhov [Sun, 23 Oct 2022 16:57:44 +0000 (17:57 +0100)]
[Minor] Use seqpacket for control pipes
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
Vsevolod Stakhov [Sat, 22 Oct 2022 14:52:59 +0000 (15:52 +0100)]
[Rework] Convert multipattern to use hyperscan tools
Vsevolod Stakhov [Sat, 22 Oct 2022 13:55:52 +0000 (14:55 +0100)]
[Project] Start C API implementation
Vsevolod Stakhov [Sat, 22 Oct 2022 12:17:45 +0000 (13:17 +0100)]
[Minor] Fix corner cases
Vsevolod Stakhov [Sat, 22 Oct 2022 12:00:21 +0000 (13:00 +0100)]
[CritFix] Restore compatibility with the integrations and headers alterations
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
Vsevolod Stakhov [Fri, 21 Oct 2022 09:41:10 +0000 (10:41 +0100)]
[Fix] Lua_tcp: Sigh, another try to fix `close` invocation
Vsevolod Stakhov [Thu, 20 Oct 2022 20:47:01 +0000 (21:47 +0100)]
[Minor] Fix url_cmp operation
Vsevolod Stakhov [Thu, 20 Oct 2022 11:50:39 +0000 (12:50 +0100)]
[Minor] Remove vectorized hyperscan mode: it has been always broken
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
Vsevolod Stakhov [Wed, 19 Oct 2022 20:10:51 +0000 (21:10 +0100)]
[Fix] Mx_check: Cache the fact of a missing MX record
Vsevolod Stakhov [Tue, 18 Oct 2022 22:11:17 +0000 (23:11 +0100)]
[Rules] Reduce score of HTTP_TO_HTTPS - subject to remove completely
Vsevolod Stakhov [Tue, 18 Oct 2022 22:10:17 +0000 (23:10 +0100)]
[Minor] Use __func__ in c++ mode as defined by standard
Vsevolod Stakhov [Tue, 18 Oct 2022 22:09:55 +0000 (23:09 +0100)]
[Minor] Fix error copying/move behaviour
Vsevolod Stakhov [Mon, 17 Oct 2022 10:39:38 +0000 (11:39 +0100)]
[Minor] Use a separate error class instead of std::string
Vsevolod Stakhov [Mon, 17 Oct 2022 10:07:58 +0000 (11:07 +0100)]
[Minor] Rename file to a more appropriate name
Frederik Bosch [Mon, 17 Oct 2022 07:46:50 +0000 (09:46 +0200)]
Update composites.conf
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
Vsevolod Stakhov [Sun, 16 Oct 2022 14:25:04 +0000 (15:25 +0100)]
[Minor] Move hyperscan tools to the libserver domain
Vsevolod Stakhov [Sun, 16 Oct 2022 14:22:27 +0000 (15:22 +0100)]
[Project] (Re)implement hyperscan caching
Vsevolod Stakhov [Sun, 16 Oct 2022 14:22:10 +0000 (15:22 +0100)]
[Minor] More tests and fixes to raii file
Vsevolod Stakhov [Sat, 15 Oct 2022 14:33:53 +0000 (15:33 +0100)]
[Minor] Add some more utilities
Vsevolod Stakhov [Sat, 15 Oct 2022 12:38:21 +0000 (13:38 +0100)]
[Minor] Commit leftovers
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
Vsevolod Stakhov [Thu, 13 Oct 2022 22:15:15 +0000 (23:15 +0100)]
[Fix] Another try to fix close method in lua_tcp
Vsevolod Stakhov [Thu, 13 Oct 2022 21:57:36 +0000 (22:57 +0100)]
[Minor] Add some debug logs for mx_check
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
Frederik Bosch [Wed, 12 Oct 2022 09:53:44 +0000 (11:53 +0200)]
Composites should not be recursive
Frederik Bosch [Wed, 12 Oct 2022 08:44:12 +0000 (10:44 +0200)]
Protect against bounce spam
Vsevolod Stakhov [Tue, 11 Oct 2022 07:35:56 +0000 (08:35 +0100)]
[Test] Add more tests for the passwords checking logic
Vsevolod Stakhov [Tue, 11 Oct 2022 07:35:30 +0000 (08:35 +0100)]
[Fix] Another fix for the 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
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
Vsevolod Stakhov [Sun, 9 Oct 2022 22:34:42 +0000 (23:34 +0100)]
[Minor] Add method to extract shared memory from RAII ownership
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
moisseev [Sun, 9 Oct 2022 15:40:30 +0000 (18:40 +0300)]
[Minor] Fix copy-paste error
PR: #4302
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
twesterhever [Sun, 9 Oct 2022 08:29:21 +0000 (08:29 +0000)]
[Enhancement] Add composite rule against AFF involving freemailers
moisseev [Sun, 9 Oct 2022 07:44:23 +0000 (10:44 +0300)]
[Fix] Fix favicon.ico Content-Type header
Issue: #4301
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
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
yo [Sat, 8 Oct 2022 13:40:39 +0000 (15:40 +0200)]
Add basic auth to metadata_exporter http pusher
Vsevolod Stakhov [Sat, 8 Oct 2022 12:45:34 +0000 (13:45 +0100)]
[Feature] Share hyperscan database among processes
Vsevolod Stakhov [Sat, 8 Oct 2022 11:40:46 +0000 (12:40 +0100)]
[Minor] Include config.h to the build target
Vsevolod Stakhov [Fri, 7 Oct 2022 19:34:54 +0000 (20:34 +0100)]
[Minor] Remove redundant check
Vsevolod Stakhov [Thu, 6 Oct 2022 22:33:17 +0000 (23:33 +0100)]
[Minor] Detect ffsll presence in a target system