]> source.dussan.org Git - rspamd.git/log
rspamd.git
23 months ago[Minor] Use `parse_text` as it can work with Lua strings transparently
Vsevolod Stakhov [Sun, 27 Nov 2022 19:44:58 +0000 (19:44 +0000)]
[Minor] Use `parse_text` as it can work with Lua strings transparently

23 months ago[Minor] Check types in ucl `parse_text` method
Vsevolod Stakhov [Sun, 27 Nov 2022 19:44:30 +0000 (19:44 +0000)]
[Minor] Check types in ucl `parse_text` method

23 months ago[Minor] Fix backward compatibility with old assumption about empty settings
Vsevolod Stakhov [Sat, 26 Nov 2022 21:42:09 +0000 (21:42 +0000)]
[Minor] Fix backward compatibility with old assumption about empty settings

23 months ago[Rework] Use a different approach for customization of the settings
Vsevolod Stakhov [Sat, 26 Nov 2022 21:26:37 +0000 (21:26 +0000)]
[Rework] Use a different approach for customization of the settings

23 months ago[Fix] Treat hostnames with no dots as eSLD of their own
Vsevolod Stakhov [Sat, 26 Nov 2022 20:57:50 +0000 (20:57 +0000)]
[Fix] Treat hostnames with no dots as eSLD of their own

2 years ago[Test] Add endpoint for settings tests
Vsevolod Stakhov [Sat, 26 Nov 2022 15:36:02 +0000 (15:36 +0000)]
[Test] Add endpoint for settings tests

2 years ago[Minor] Fix some issues
Vsevolod Stakhov [Sat, 26 Nov 2022 15:31:07 +0000 (15:31 +0000)]
[Minor] Fix some issues

2 years ago[Feature] Allow to query external maps for settings
Vsevolod Stakhov [Sat, 26 Nov 2022 15:13:52 +0000 (15:13 +0000)]
[Feature] Allow to query external maps for settings

2 years ago[Conf] Clarify `timeout` in rspamd_proxy
Vsevolod Stakhov [Sat, 26 Nov 2022 13:42:30 +0000 (13:42 +0000)]
[Conf] Clarify `timeout` in rspamd_proxy

2 years ago[Minor] Deduplicate code
Vsevolod Stakhov [Sat, 26 Nov 2022 13:42:19 +0000 (13:42 +0000)]
[Minor] Deduplicate code

2 years ago[Minor] Remove old perl url redirector
Vsevolod Stakhov [Fri, 25 Nov 2022 20:48:59 +0000 (20:48 +0000)]
[Minor] Remove old perl url redirector

2 years ago[Minor] Fix combine selectors functor
Vsevolod Stakhov [Wed, 23 Nov 2022 22:59:36 +0000 (22:59 +0000)]
[Minor] Fix combine selectors functor

2 years ago[Minor] Add tests and fix some minor issues
Vsevolod Stakhov [Tue, 22 Nov 2022 23:50:55 +0000 (23:50 +0000)]
[Minor] Add tests and fix some minor issues

2 years ago[Minor] Fix tests and invocation
Vsevolod Stakhov [Tue, 22 Nov 2022 23:41:33 +0000 (23:41 +0000)]
[Minor] Fix tests and invocation

2 years ago[Feature] Allow to build a map by combining tuples of selectors
Vsevolod Stakhov [Tue, 22 Nov 2022 20:48:03 +0000 (20:48 +0000)]
[Feature] Allow to build a map by combining tuples of selectors

2 years ago[CritFix] Fill path field in hyperscan notice command
Vsevolod Stakhov [Mon, 21 Nov 2022 17:51:01 +0000 (17:51 +0000)]
[CritFix] Fill path field in hyperscan notice command

Reported by: @moisseev

2 years ago[Fix] Add workaround for ENOBUFS error on sending
Vsevolod Stakhov [Mon, 21 Nov 2022 17:50:39 +0000 (17:50 +0000)]
[Fix] Add workaround for ENOBUFS error on sending

2 years ago[Fix] Fix off-by-one error in css tokenizer
Vsevolod Stakhov [Mon, 21 Nov 2022 17:50:02 +0000 (17:50 +0000)]
[Fix] Fix off-by-one error in css tokenizer

2 years ago[Minor] Fix format string
Vsevolod Stakhov [Sun, 20 Nov 2022 20:54:01 +0000 (20:54 +0000)]
[Minor] Fix format string

2 years ago[Minor] Add some more logs to the erros in the control path
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

2 years agoMerge pull request #4324 from rspamd/external-maps
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

2 years ago[Test] Disable broken test external-maps 4324/head
Vsevolod Stakhov [Sat, 19 Nov 2022 15:44:42 +0000 (15:44 +0000)]
[Test] Disable broken test

2 years ago[Test] Another try to fix goddamned dummy http server
Vsevolod Stakhov [Sat, 19 Nov 2022 15:37:06 +0000 (15:37 +0000)]
[Test] Another try to fix goddamned dummy http server

2 years ago[Test] Another minor fix for the test
Vsevolod Stakhov [Sat, 19 Nov 2022 14:58:12 +0000 (14:58 +0000)]
[Test] Another minor fix for the test

2 years ago[Minor] Add `Accept` header
Vsevolod Stakhov [Sat, 19 Nov 2022 14:57:59 +0000 (14:57 +0000)]
[Minor] Add `Accept` header

2 years ago[Test] Fix dummy http server for keep-alive posts
Vsevolod Stakhov [Sat, 19 Nov 2022 14:45:34 +0000 (14:45 +0000)]
[Test] Fix dummy http server for keep-alive posts

2 years ago[Minor] Add port to the `Host` header if using non-standard ports
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

2 years ago[Minor] Add content type
Vsevolod Stakhov [Sat, 19 Nov 2022 13:15:57 +0000 (13:15 +0000)]
[Minor] Add content type

2 years ago[Test] Use ip address due to my favourite issue with dual stack
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

2 years ago[Minor] Add some fail-safety for hyperscan cache
Vsevolod Stakhov [Sun, 13 Nov 2022 20:43:20 +0000 (20:43 +0000)]
[Minor] Add some fail-safety for hyperscan cache

2 years ago[Test] Fix test code
Vsevolod Stakhov [Sun, 13 Nov 2022 20:42:17 +0000 (20:42 +0000)]
[Test] Fix test code

2 years ago[Minor] Fix some issues
Vsevolod Stakhov [Sun, 13 Nov 2022 20:33:37 +0000 (20:33 +0000)]
[Minor] Fix some issues

2 years ago[Minor] Allow urls with no tld when no tld file is loaded
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

2 years ago[Test] Start write tests for external maps
Vsevolod Stakhov [Sat, 12 Nov 2022 15:53:56 +0000 (15:53 +0000)]
[Test] Start write tests for external maps

2 years ago[Project] Add query encoding usage
Vsevolod Stakhov [Sat, 12 Nov 2022 15:17:45 +0000 (15:17 +0000)]
[Project] Add query encoding usage

2 years ago[Project] Add a simple url encoding function + tests
Vsevolod Stakhov [Sat, 12 Nov 2022 14:58:29 +0000 (14:58 +0000)]
[Project] Add a simple url encoding function + tests

2 years ago[Project] Unify callbacks invocation
Vsevolod Stakhov [Sat, 12 Nov 2022 14:42:00 +0000 (14:42 +0000)]
[Project] Unify callbacks invocation

2 years ago[Project] Implement basic http query
Vsevolod Stakhov [Sat, 12 Nov 2022 13:43:53 +0000 (13:43 +0000)]
[Project] Implement basic http query

2 years ago[Minor] Use upstreams for external maps
Vsevolod Stakhov [Sun, 6 Nov 2022 21:37:50 +0000 (21:37 +0000)]
[Minor] Use upstreams for external maps

2 years ago[Minor] Logging neat
Vsevolod Stakhov [Sun, 6 Nov 2022 20:18:32 +0000 (20:18 +0000)]
[Minor] Logging neat

2 years ago[Project] Implement basic configuration
Vsevolod Stakhov [Sun, 6 Nov 2022 20:15:18 +0000 (20:15 +0000)]
[Project] Implement basic configuration

2 years ago[Project] Add schema for external maps
Vsevolod Stakhov [Sat, 5 Nov 2022 14:57:04 +0000 (14:57 +0000)]
[Project] Add schema for external maps

2 years ago[Minor] Also allow to pass callback in the `get_key` method
Vsevolod Stakhov [Sat, 5 Nov 2022 13:31:57 +0000 (13:31 +0000)]
[Minor] Also allow to pass callback in the `get_key` method

2 years ago[Project] Allow to pass callbacks to maps configuration
Vsevolod Stakhov [Sat, 5 Nov 2022 13:30:24 +0000 (13:30 +0000)]
[Project] Allow to pass callbacks to maps configuration

2 years ago[Minor] Remove unused method
Vsevolod Stakhov [Fri, 18 Nov 2022 21:49:21 +0000 (21:49 +0000)]
[Minor] Remove unused method

2 years ago[Minor] Try to fix potential off-by-one error
Vsevolod Stakhov [Thu, 17 Nov 2022 23:51:46 +0000 (23:51 +0000)]
[Minor] Try to fix potential off-by-one error

2 years ago[Fix] Add O_CREAT flag when creating a file
Vsevolod Stakhov [Wed, 16 Nov 2022 21:13:26 +0000 (21:13 +0000)]
[Fix] Add O_CREAT flag when creating a file

Issue: #4337

2 years ago[Test] Add another used domain
Vsevolod Stakhov [Tue, 15 Nov 2022 21:20:10 +0000 (21:20 +0000)]
[Test] Add another used domain

2 years ago[Test] Fix test tlds
Vsevolod Stakhov [Tue, 15 Nov 2022 20:52:39 +0000 (20:52 +0000)]
[Test] Fix test tlds

2 years ago[Test] Define short tld file for tests
Vsevolod Stakhov [Tue, 15 Nov 2022 20:24:40 +0000 (20:24 +0000)]
[Test] Define short tld file for tests

2 years ago[Test] Fix multiple test issues
Vsevolod Stakhov [Tue, 15 Nov 2022 20:15:37 +0000 (20:15 +0000)]
[Test] Fix multiple test issues

2 years agoMerge pull request #4335 from fatalbanana/dont_use_luajit_on_arm64
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

2 years ago[Minor] debian package: disable luajit on arm64 4335/head
Andrew Lewis [Mon, 14 Nov 2022 19:44:51 +0000 (21:44 +0200)]
[Minor] debian package: disable luajit on arm64

2 years agoMerge pull request #4334 from yo000/master
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

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