]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Tue, 22 Nov 2022 23:41:33 +0000 (23:41 +0000)]
[Minor] Fix tests and invocation
Vsevolod Stakhov [Tue, 22 Nov 2022 20:48:03 +0000 (20:48 +0000)]
[Feature] Allow to build a map by combining tuples of selectors
Vsevolod Stakhov [Mon, 21 Nov 2022 17:51:01 +0000 (17:51 +0000)]
[CritFix] Fill path field in hyperscan notice command
Reported by: @moisseev
Vsevolod Stakhov [Mon, 21 Nov 2022 17:50:39 +0000 (17:50 +0000)]
[Fix] Add workaround for ENOBUFS error on sending
Vsevolod Stakhov [Mon, 21 Nov 2022 17:50:02 +0000 (17:50 +0000)]
[Fix] Fix off-by-one error in css tokenizer
Vsevolod Stakhov [Sun, 20 Nov 2022 20:54:01 +0000 (20:54 +0000)]
[Minor] Fix format string
Vsevolod Stakhov [Sun, 20 Nov 2022 20:48:26 +0000 (20:48 +0000)]
[Minor] Add some more logs to the erros in the control path
Vsevolod Stakhov [Sat, 19 Nov 2022 20:24:23 +0000 (20:24 +0000)]
Merge pull request #4324 from rspamd/external-maps
[Feature] Support external maps in Rspamd
Vsevolod Stakhov [Sat, 19 Nov 2022 15:44:42 +0000 (15:44 +0000)]
[Test] Disable broken test
Vsevolod Stakhov [Sat, 19 Nov 2022 15:37:06 +0000 (15:37 +0000)]
[Test] Another try to fix goddamned dummy http server
Vsevolod Stakhov [Sat, 19 Nov 2022 14:58:12 +0000 (14:58 +0000)]
[Test] Another minor fix for the test
Vsevolod Stakhov [Sat, 19 Nov 2022 14:57:59 +0000 (14:57 +0000)]
[Minor] Add `Accept` header
Vsevolod Stakhov [Sat, 19 Nov 2022 14:45:34 +0000 (14:45 +0000)]
[Test] Fix dummy http server for keep-alive posts
Vsevolod Stakhov [Sat, 19 Nov 2022 14:24:41 +0000 (14:24 +0000)]
[Minor] Add port to the `Host` header if using non-standard ports
Vsevolod Stakhov [Sat, 19 Nov 2022 13:15:57 +0000 (13:15 +0000)]
[Minor] Add content type
Vsevolod Stakhov [Sat, 19 Nov 2022 12:59:13 +0000 (12:59 +0000)]
[Test] Use ip address due to my favourite issue with dual stack
Vsevolod Stakhov [Sun, 13 Nov 2022 20:43:20 +0000 (20:43 +0000)]
[Minor] Add some fail-safety for hyperscan cache
Vsevolod Stakhov [Sun, 13 Nov 2022 20:42:17 +0000 (20:42 +0000)]
[Test] Fix test code
Vsevolod Stakhov [Sun, 13 Nov 2022 20:33:37 +0000 (20:33 +0000)]
[Minor] Fix some issues
Vsevolod Stakhov [Sun, 13 Nov 2022 19:44:24 +0000 (19:44 +0000)]
[Minor] Allow urls with no tld when no tld file is loaded
Vsevolod Stakhov [Sat, 12 Nov 2022 15:53:56 +0000 (15:53 +0000)]
[Test] Start write tests for external maps
Vsevolod Stakhov [Sat, 12 Nov 2022 15:17:45 +0000 (15:17 +0000)]
[Project] Add query encoding usage
Vsevolod Stakhov [Sat, 12 Nov 2022 14:58:29 +0000 (14:58 +0000)]
[Project] Add a simple url encoding function + tests
Vsevolod Stakhov [Sat, 12 Nov 2022 14:42:00 +0000 (14:42 +0000)]
[Project] Unify callbacks invocation
Vsevolod Stakhov [Sat, 12 Nov 2022 13:43:53 +0000 (13:43 +0000)]
[Project] Implement basic http query
Vsevolod Stakhov [Sun, 6 Nov 2022 21:37:50 +0000 (21:37 +0000)]
[Minor] Use upstreams for external maps
Vsevolod Stakhov [Sun, 6 Nov 2022 20:18:32 +0000 (20:18 +0000)]
[Minor] Logging neat
Vsevolod Stakhov [Sun, 6 Nov 2022 20:15:18 +0000 (20:15 +0000)]
[Project] Implement basic configuration
Vsevolod Stakhov [Sat, 5 Nov 2022 14:57:04 +0000 (14:57 +0000)]
[Project] Add schema for external maps
Vsevolod Stakhov [Sat, 5 Nov 2022 13:31:57 +0000 (13:31 +0000)]
[Minor] Also allow to pass callback in the `get_key` method
Vsevolod Stakhov [Sat, 5 Nov 2022 13:30:24 +0000 (13:30 +0000)]
[Project] Allow to pass callbacks to maps configuration
Vsevolod Stakhov [Fri, 18 Nov 2022 21:49:21 +0000 (21:49 +0000)]
[Minor] Remove unused method
Vsevolod Stakhov [Thu, 17 Nov 2022 23:51:46 +0000 (23:51 +0000)]
[Minor] Try to fix potential off-by-one error
Vsevolod Stakhov [Wed, 16 Nov 2022 21:13:26 +0000 (21:13 +0000)]
[Fix] Add O_CREAT flag when creating a file
Issue: #4337
Vsevolod Stakhov [Tue, 15 Nov 2022 21:20:10 +0000 (21:20 +0000)]
[Test] Add another used domain
Vsevolod Stakhov [Tue, 15 Nov 2022 20:52:39 +0000 (20:52 +0000)]
[Test] Fix test tlds
Vsevolod Stakhov [Tue, 15 Nov 2022 20:24:40 +0000 (20:24 +0000)]
[Test] Define short tld file for tests
Vsevolod Stakhov [Tue, 15 Nov 2022 20:15:37 +0000 (20:15 +0000)]
[Test] Fix multiple test issues
Vsevolod Stakhov [Tue, 15 Nov 2022 12:06:06 +0000 (12:06 +0000)]
Merge pull request #4335 from fatalbanana/dont_use_luajit_on_arm64
[Minor] debian package: disable luajit on arm64
Andrew Lewis [Mon, 14 Nov 2022 19:44:51 +0000 (21:44 +0200)]
[Minor] debian package: disable luajit on arm64
Vsevolod Stakhov [Sun, 13 Nov 2022 20:48:28 +0000 (20:48 +0000)]
Merge pull request #4334 from yo000/master
[Minor] metadata_exporter http pusher: Extend valid return codes
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