]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 months ago[Minor] Push dynamic symbol weight
Vsevolod Stakhov [Mon, 8 Jul 2024 13:42:03 +0000 (14:42 +0100)]
[Minor] Push dynamic symbol weight

4 months agoMerge pull request #5035 from rspamd/vstakhov-gpt-experiments
Vsevolod Stakhov [Mon, 1 Jul 2024 18:27:28 +0000 (00:27 +0600)]
Merge pull request #5035 from rspamd/vstakhov-gpt-experiments

Trying to test various things with GPT

4 months ago[Project] Trying to test various things with GPT 5035/head
Vsevolod Stakhov [Mon, 1 Jul 2024 18:15:10 +0000 (19:15 +0100)]
[Project] Trying to test various things with GPT

4 months agoMerge pull request #5034 from rspamd/vstakhov-fmt-11
Vsevolod Stakhov [Mon, 1 Jul 2024 14:35:25 +0000 (20:35 +0600)]
Merge pull request #5034 from rspamd/vstakhov-fmt-11

Update embedded fmtlib to 11.0

4 months ago[Minor] Update dependency info 5034/head
Vsevolod Stakhov [Mon, 1 Jul 2024 14:20:42 +0000 (15:20 +0100)]
[Minor] Update dependency info

4 months ago[Rework] Update fmt to version 11
Vsevolod Stakhov [Mon, 1 Jul 2024 14:20:05 +0000 (15:20 +0100)]
[Rework] Update fmt to version 11

4 months ago[Minor] Set mres earlier
Vsevolod Stakhov [Sun, 30 Jun 2024 15:22:41 +0000 (16:22 +0100)]
[Minor] Set mres earlier

Issue: #5028

4 months agoMerge pull request #5032 from rspamd/vstakhov-gpt-plugin
Vsevolod Stakhov [Sun, 30 Jun 2024 15:19:32 +0000 (21:19 +0600)]
Merge pull request #5032 from rspamd/vstakhov-gpt-plugin

Add GPT plugin

4 months ago[Minor] Log FP and FN 5032/head
Vsevolod Stakhov [Sun, 30 Jun 2024 15:05:09 +0000 (16:05 +0100)]
[Minor] Log FP and FN

4 months ago[Minor] Add some missing symbols
Vsevolod Stakhov [Sat, 29 Jun 2024 12:31:08 +0000 (13:31 +0100)]
[Minor] Add some missing symbols

4 months ago[Minor] Add from and subject to the prompt
Vsevolod Stakhov [Sat, 29 Jun 2024 12:27:25 +0000 (13:27 +0100)]
[Minor] Add from and subject to the prompt

4 months ago[Minor] Allow to specify spam/ham symbols in classifier_test
Vsevolod Stakhov [Fri, 28 Jun 2024 14:21:23 +0000 (15:21 +0100)]
[Minor] Allow to specify spam/ham symbols in classifier_test

4 months ago[Minor] Allow autolearn
Vsevolod Stakhov [Fri, 28 Jun 2024 14:14:54 +0000 (15:14 +0100)]
[Minor] Allow autolearn

4 months ago[Minor] Apply review suggestion
Vsevolod Stakhov [Fri, 28 Jun 2024 14:11:42 +0000 (15:11 +0100)]
[Minor] Apply review suggestion

4 months ago[Minor] Adjust configuration
Vsevolod Stakhov [Fri, 28 Jun 2024 14:09:50 +0000 (15:09 +0100)]
[Minor] Adjust configuration

4 months ago[Minor] Make except symbols configurable
Vsevolod Stakhov [Fri, 28 Jun 2024 14:06:05 +0000 (15:06 +0100)]
[Minor] Make except symbols configurable

4 months agoUpdate src/plugins/lua/gpt.lua
Vsevolod Stakhov [Fri, 28 Jun 2024 14:03:30 +0000 (15:03 +0100)]
Update src/plugins/lua/gpt.lua

Co-authored-by: Andrew Lewis <nerf@judo.za.org>
4 months ago[Minor] Check words count properly
Vsevolod Stakhov [Fri, 28 Jun 2024 14:00:21 +0000 (15:00 +0100)]
[Minor] Check words count properly

4 months ago[Project] Add checks to decide if we need a GPT check
Vsevolod Stakhov [Fri, 28 Jun 2024 10:18:40 +0000 (11:18 +0100)]
[Project] Add checks to decide if we need a GPT check

4 months ago[Minor] Also use gzip compression
Vsevolod Stakhov [Fri, 28 Jun 2024 09:54:38 +0000 (10:54 +0100)]
[Minor] Also use gzip compression

4 months ago[Minor] Use keep-alive and upstreams logic
Vsevolod Stakhov [Fri, 28 Jun 2024 09:53:10 +0000 (10:53 +0100)]
[Minor] Use keep-alive and upstreams logic

4 months ago[Minor] Disable module by default
Vsevolod Stakhov [Fri, 28 Jun 2024 09:47:41 +0000 (10:47 +0100)]
[Minor] Disable module by default

4 months ago[Minor] Copy&paste fix
Vsevolod Stakhov [Thu, 27 Jun 2024 14:40:03 +0000 (15:40 +0100)]
[Minor] Copy&paste fix

4 months ago[Project] Add GPT plugin
Vsevolod Stakhov [Thu, 27 Jun 2024 14:39:09 +0000 (15:39 +0100)]
[Project] Add GPT plugin

4 months agoExclude MIME_BAD_UNICODE false positive (#5030)
Dmitriy Alekseev [Wed, 26 Jun 2024 14:21:57 +0000 (16:21 +0200)]
Exclude MIME_BAD_UNICODE false positive (#5030)

* Update composites.conf

* Update composites.conf

* Update composites.conf

* Update composites.conf

* Update mime_types_group.conf

* Update mime_types_group.conf

* Update composites.conf

4 months agoFixed bug with task:inject() function according to the issue #5010 (#5021)
Ivan Stakhov [Tue, 25 Jun 2024 12:49:56 +0000 (17:49 +0500)]
Fixed bug with task:inject() function according to the issue #5010 (#5021)

* [Fix] Fix issue with task:inject_url

* [Minor] Code clean up

* [Minor] Clean up

* [Minor] Small fix

* [Minor] Fix small typo

* [Test] Debug

* [Test] Debug

* [Test] Debug inject_url

* [Test] Debugging

* [Test] Debugging task:inject test

* [Test] Debugging task:inject test

* [Test] Debugging task:inject test

* [Minor] Debug task:inject_url test

* [Minor] Small fix

* [Minor] Debug task:inject_url test

* [Test] Test base task:inject

* [Test] Test updated task:inject

* [Test] Test updated task:inject

* [Test] Test updated task:inject

* [Test] Test updated task:inject

* [Test] Test updated task:inject

* [Test] Test fixed task:inject

* [Test] Test fixed task:inject

* [Test] Testing task:inject

* [Test] Testing task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Test base task:inject

* [Test] Test base task:inject

* [Test] Test base task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Test] Fix task:inject

* [Minor] Clean up code in task:inject

* [Minor] Updated test for task:inject

* [Test] Debug test for task:inject_url

* [Test] Debug test for task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Fix task:inject_url

* [Test] Check task:inject_url

* [Test] Check task:inject_url

* [Test] Check task:inject_url

* [Test] Check task:inject_url

* [Test] Check task:inject_url

* [Test] Check task:inject_url

* [Minor] Clean up code

* [Minor] Clean up code

* [Minor] Little fix for error messages in url.create function

* [Test] Change way to inject url

* [Test] Fix inject url

* [Test] Fix inject url

* [Test] Fix inject url

* [Test] Fix inject url

* [Test] Fix inject url

* [Minor] Clean up code

* [Test] Without fake mime_part

* [Test] Without fake mime_part

* [Minor] Clean up

* [Test] Mime part of the task

* [Test] Mpart should exist

* [Test] Mpart should exist

* [Test] Mpart should exist

* [Test] Another check for mpart->urls

* [Minor] Clean up

* [Minor] Clean up

* [Fix] Fixing OpenSSL 3.0 compatibility

* [Fix] Reverted

5 months agoMerge pull request #5026 from rspamd/vstakhov-metrics-worker
Vsevolod Stakhov [Mon, 24 Jun 2024 14:01:45 +0000 (20:01 +0600)]
Merge pull request #5026 from rspamd/vstakhov-metrics-worker

[Rework] Allow metrics endpoint to be enabled for each scanner

5 months ago[Feature] Support metrics command in normal/proxy workers 5026/head
Vsevolod Stakhov [Mon, 24 Jun 2024 13:48:17 +0000 (14:48 +0100)]
[Feature] Support metrics command in normal/proxy workers

5 months ago[Minor] Unify metrics conversion
Vsevolod Stakhov [Sat, 22 Jun 2024 12:47:28 +0000 (13:47 +0100)]
[Minor] Unify metrics conversion

5 months ago[Rework] Allow metrics endpoint to be enabled for each scanner
Vsevolod Stakhov [Fri, 21 Jun 2024 13:43:14 +0000 (14:43 +0100)]
[Rework] Allow metrics endpoint to be enabled for each scanner

5 months agoMerge pull request #5020 from rspamd/vstakhov-slow-timer
Vsevolod Stakhov [Fri, 21 Jun 2024 10:14:56 +0000 (16:14 +0600)]
Merge pull request #5020 from rspamd/vstakhov-slow-timer

[Rework] Rething slow timer

5 months ago[Minor] Further logic tunes 5020/head
Vsevolod Stakhov [Thu, 20 Jun 2024 15:14:51 +0000 (16:14 +0100)]
[Minor] Further logic tunes

5 months agoMerge pull request #5011 from rspamd/vstakhov-bayes-experiments
Vsevolod Stakhov [Thu, 20 Jun 2024 15:02:18 +0000 (21:02 +0600)]
Merge pull request #5011 from rspamd/vstakhov-bayes-experiments

Improve bayes performance by setting the default window size to 2

5 months ago[Project] Finally fix slow timer behaviour
Vsevolod Stakhov [Thu, 20 Jun 2024 14:54:57 +0000 (15:54 +0100)]
[Project] Finally fix slow timer behaviour

5 months ago[Minor] Set pending status where appropriate
Vsevolod Stakhov [Thu, 20 Jun 2024 14:50:09 +0000 (15:50 +0100)]
[Minor] Set pending status where appropriate

5 months ago[Feature] Report slow synchronous rules
Vsevolod Stakhov [Wed, 19 Jun 2024 15:21:31 +0000 (16:21 +0100)]
[Feature] Report slow synchronous rules

5 months ago[Minor] Use internal flags
Vsevolod Stakhov [Wed, 19 Jun 2024 15:12:10 +0000 (16:12 +0100)]
[Minor] Use internal flags

5 months ago[Conf] Add missing symbol
Vsevolod Stakhov [Wed, 19 Jun 2024 14:56:55 +0000 (15:56 +0100)]
[Conf] Add missing symbol

5 months ago[Rework] Another bunch of changes to the dependencies processing
Vsevolod Stakhov [Wed, 19 Jun 2024 14:41:12 +0000 (15:41 +0100)]
[Rework] Another bunch of changes to the dependencies processing

5 months ago[Minor] Remove bogus message
Vsevolod Stakhov [Tue, 18 Jun 2024 14:40:58 +0000 (15:40 +0100)]
[Minor] Remove bogus message

5 months ago[Minor] Add notice about unknown deps
Vsevolod Stakhov [Tue, 18 Jun 2024 14:35:39 +0000 (15:35 +0100)]
[Minor] Add notice about unknown deps

5 months ago[Rework] Dependencies must be unique...
Vsevolod Stakhov [Tue, 18 Jun 2024 14:19:41 +0000 (15:19 +0100)]
[Rework] Dependencies must be unique...

5 months ago[Rework] Use explicit item status
Vsevolod Stakhov [Tue, 18 Jun 2024 13:48:37 +0000 (14:48 +0100)]
[Rework] Use explicit item status

5 months agoMerge branch 'master' into vstakhov-bayes-experiments 5011/head
Vsevolod Stakhov [Mon, 17 Jun 2024 19:28:43 +0000 (01:28 +0600)]
Merge branch 'master' into vstakhov-bayes-experiments

5 months ago[Rework] Rething slow timer
Vsevolod Stakhov [Mon, 17 Jun 2024 14:12:49 +0000 (15:12 +0100)]
[Rework] Rething slow timer

5 months ago[Minor] Use files instead of arguments for rspamc
Vsevolod Stakhov [Thu, 13 Jun 2024 13:35:27 +0000 (14:35 +0100)]
[Minor] Use files instead of arguments for rspamc

5 months ago[Minor] Allow to use --list-files without other arguments
Vsevolod Stakhov [Thu, 13 Jun 2024 13:34:52 +0000 (14:34 +0100)]
[Minor] Allow to use --list-files without other arguments

5 months ago[Feature] Rspamc: add `files-list` option
Vsevolod Stakhov [Thu, 13 Jun 2024 13:19:48 +0000 (14:19 +0100)]
[Feature] Rspamc: add `files-list` option

5 months agoMerge pull request #5015 from rspamd/vstakhov-metaexporter-timeouts
Vsevolod Stakhov [Wed, 12 Jun 2024 17:54:09 +0000 (23:54 +0600)]
Merge pull request #5015 from rspamd/vstakhov-metaexporter-timeouts

[Fix] Use explicit timeouts in the metadata exporter

5 months ago[Fix] Use explicit timeouts in the metadata exporter 5015/head
Vsevolod Stakhov [Wed, 12 Jun 2024 14:51:59 +0000 (15:51 +0100)]
[Fix] Use explicit timeouts in the metadata exporter

5 months ago[Project] Reduce default window size of OSB tokenizer to 2
Vsevolod Stakhov [Tue, 11 Jun 2024 18:58:57 +0000 (19:58 +0100)]
[Project] Reduce default window size of OSB tokenizer to 2

5 months ago[Minor] Add timings
Vsevolod Stakhov [Tue, 11 Jun 2024 13:32:13 +0000 (14:32 +0100)]
[Minor] Add timings

5 months agoMerge pull request #5012 from moisseev/webui
Vsevolod Stakhov [Tue, 11 Jun 2024 10:09:29 +0000 (16:09 +0600)]
Merge pull request #5012 from moisseev/webui

[WebUI] Fix "Avg. time" column sorting

5 months ago[Project] Improve stats processing
Vsevolod Stakhov [Mon, 10 Jun 2024 18:04:37 +0000 (19:04 +0100)]
[Project] Improve stats processing

5 months ago[WebUI] Fix "Avg. time" column sorting 5012/head
moisseev [Mon, 10 Jun 2024 16:36:25 +0000 (19:36 +0300)]
[WebUI] Fix "Avg. time" column sorting

for Symbols tab

5 months ago[Project] Add a tool to perform statistical analysis of classifiers
Vsevolod Stakhov [Mon, 10 Jun 2024 15:10:26 +0000 (16:10 +0100)]
[Project] Add a tool to perform statistical analysis of classifiers

5 months ago[Minor] Fix uitil.unpack function
Vsevolod Stakhov [Mon, 10 Jun 2024 15:02:38 +0000 (16:02 +0100)]
[Minor] Fix uitil.unpack function

5 months agoMerge pull request #5007 from rspamd/vstakhov-upstream-minor-config
Vsevolod Stakhov [Sat, 8 Jun 2024 14:48:57 +0000 (20:48 +0600)]
Merge pull request #5007 from rspamd/vstakhov-upstream-minor-config

Upstreams: make `min_resolve_interval` configurable

5 months ago[Minor] Allow `options.upstreams` to be used as well 5007/head
Vsevolod Stakhov [Sat, 8 Jun 2024 13:40:57 +0000 (14:40 +0100)]
[Minor] Allow `options.upstreams` to be used as well

5 months ago[Fix] Fix documentation nesting
Vsevolod Stakhov [Sat, 8 Jun 2024 13:28:56 +0000 (14:28 +0100)]
[Fix] Fix documentation nesting

5 months ago[Feature] Make min_resolve_interval configurable
Vsevolod Stakhov [Sat, 8 Jun 2024 12:36:11 +0000 (13:36 +0100)]
[Feature] Make min_resolve_interval configurable

5 months agoMerge pull request #5006 from moisseev/replies
Vsevolod Stakhov [Thu, 6 Jun 2024 07:41:30 +0000 (13:41 +0600)]
Merge pull request #5006 from moisseev/replies

[Minor] Set negative default scores

5 months ago[Minor] Set negative default scores 5006/head
moisseev [Thu, 6 Jun 2024 06:49:06 +0000 (09:49 +0300)]
[Minor] Set negative default scores

for known senders

5 months agoMerge pull request #4980 from fatalbanana/mw
Vsevolod Stakhov [Wed, 5 Jun 2024 11:14:35 +0000 (17:14 +0600)]
Merge pull request #4980 from fatalbanana/mw

[Rules] Added rules for detecting likely malware

5 months agoMerge branch 'master' into mw 4980/head
Vsevolod Stakhov [Wed, 5 Jun 2024 11:07:30 +0000 (17:07 +0600)]
Merge branch 'master' into mw

5 months agoMerge pull request #5000 from spithash/patch-1
Vsevolod Stakhov [Wed, 5 Jun 2024 09:55:01 +0000 (15:55 +0600)]
Merge pull request #5000 from spithash/patch-1

Updated broken quickstart url

5 months agoMerge pull request #5001 from spithash/patch-2
Vsevolod Stakhov [Wed, 5 Jun 2024 09:54:49 +0000 (15:54 +0600)]
Merge pull request #5001 from spithash/patch-2

Update broken writing rules url

5 months agoMerge pull request #5003 from fatalbanana/milter_headers_noremoval
Vsevolod Stakhov [Wed, 5 Jun 2024 09:25:22 +0000 (15:25 +0600)]
Merge pull request #5003 from fatalbanana/milter_headers_noremoval

[Feature] milter_headers: support not removing headers

5 months agoMerge branch 'master' into milter_headers_noremoval 5003/head
Vsevolod Stakhov [Wed, 5 Jun 2024 08:36:16 +0000 (14:36 +0600)]
Merge branch 'master' into milter_headers_noremoval

5 months ago[Fix] Resgore the collaterally removed line
Vsevolod Stakhov [Tue, 4 Jun 2024 07:44:47 +0000 (08:44 +0100)]
[Fix] Resgore the collaterally removed line

Issue: #4981

5 months ago[Feature] milter_headers: support not removing headers
Andrew Lewis [Tue, 4 Jun 2024 09:38:46 +0000 (11:38 +0200)]
[Feature] milter_headers: support not removing headers

5 months agoUpdate broken writing rules url 5001/head
Stathis Xantinidis [Mon, 3 Jun 2024 17:10:12 +0000 (17:10 +0000)]
Update broken writing rules url

5 months agoUpdated broken quickstart url 5000/head
Stathis Xantinidis [Mon, 3 Jun 2024 17:07:16 +0000 (17:07 +0000)]
Updated broken quickstart url

it was 404ring

5 months agoMerge pull request #4987 from twesterhever/temp-txz
Vsevolod Stakhov [Mon, 3 Jun 2024 10:30:16 +0000 (16:30 +0600)]
Merge pull request #4987 from twesterhever/temp-txz

[Minor] Treat *.txz attachments as archives and harmful

5 months agoUpgraded replies and known senders modules (#4895)
Ivan Stakhov [Mon, 3 Jun 2024 10:29:11 +0000 (15:29 +0500)]
Upgraded replies and known senders modules (#4895)

* Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* FIXED. Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* Added pre-test for replies set

* Update functional of replies_set

* Few changes to replies and added check for incoming mail

* Few changes in known_senders in check_known_incoming_mail_callback

* Few changes in known_senders and replies

* An attempt to write test(not tested)

* Clean up

* Clean up

* Clean up

* Added tests for replies and known_senders (all tests failed, debug required)

* Moved replies test to the 001_merged

* Cleared up code

* Few changes to replies

* Small changes in score of CHECK_INC_MAIL symbol

* Small debug in known_senders

* Plugin known_senders is fully working

* Troubleshooting replies module

* Changed symbol for check_known_incoming_mail_callback

* Added test for failed incoming mail check

* Little rework

* Rewritten test for more appropriate

* Rewritten tests for replies module. All test passed(debugging not adding to global set)

* Debugged replies module

* Replies module works and tested(needs performance improvements)

* Cleaned up code

* Improved readability and cleaned up code

* Connected auth back(Tests not working, needs user)

* Added test for incoming mail check in known senders module

* Debugged. Works normally(tested, needs to add user)

* Debug + clean up. Tested. Works. User auth required for tests

* Improved performance

* Small changes

* Changed adding to global replies set logic + improved logs messaging

* Added authenticated user to tests

* Cleaned up

* Made a few changes according to the comments on pull request

* [Rework] Added removal of extra senders and recipients in global and local replies sets

* [Minor] Small cleanup

* [Minor] Cleaned up code

* [Fix] Fixed call of incorrect function when making key

* [Rework] Reworked scripts. Added ZADD redis call for local and global replies set

* [Minor] Cleaned up code

* [Fix] Improved performance and eliminated unnecessary invocations

* [Minor] Reassigned script ids

* [Feature] Made a check for local set

* [Fix] Upgraded tests for known senders

* [Fix] Upgraded tests for known senders

* [Fix] Fixed performance of verification of local replies set

* [Minor] Cleaned up code

* [Feature] Added new test to the known_senders tests

* [Test] Ubuntu test

* [Fix] Fixing local replies test check

* [Fix] Fixed code for local replies set check(was not working in previous versions of redis)

* [Fix] Reorganized code to more convenient style and made better loading for scripts

* [Minor] Code has been rewritten in a more appropriate format

* [Minor] Fixed debug messaging

* [Fix] Reworked expiration of replies sets

* [Minor] Upgrade code style

* [Fix] Small fix

* [Feature] Change LFU logic of global replies set to LRU logic

* Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* FIXED. Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* Made the individual replies_set for senders and their recipients.
Made the global replies_set for verified recipients.

* Added pre-test for replies set

* Update functional of replies_set

* Few changes to replies and added check for incoming mail

* Few changes in known_senders in check_known_incoming_mail_callback

* Few changes in known_senders and replies

* An attempt to write test(not tested)

* Clean up

* Clean up

* Clean up

* Added tests for replies and known_senders (all tests failed, debug required)

* Moved replies test to the 001_merged

* Cleared up code

* Few changes to replies

* Small changes in score of CHECK_INC_MAIL symbol

* Small debug in known_senders

* Plugin known_senders is fully working

* Troubleshooting replies module

* Changed symbol for check_known_incoming_mail_callback

* Added test for failed incoming mail check

* Little rework

* Rewritten test for more appropriate

* Rewritten tests for replies module. All test passed(debugging not adding to global set)

* Debugged replies module

* Replies module works and tested(needs performance improvements)

* Cleaned up code

* Improved readability and cleaned up code

* Connected auth back(Tests not working, needs user)

* Added test for incoming mail check in known senders module

* Debugged. Works normally(tested, needs to add user)

* Debug + clean up. Tested. Works. User auth required for tests

* Improved performance

* Small changes

* Changed adding to global replies set logic + improved logs messaging

* Added authenticated user to tests

* Cleaned up

* Made a few changes according to the comments on pull request

* [Rework] Added removal of extra senders and recipients in global and local replies sets

* [Minor] Small cleanup

* [Minor] Cleaned up code

* [Fix] Fixed call of incorrect function when making key

* [Rework] Reworked scripts. Added ZADD redis call for local and global replies set

* [Minor] Cleaned up code

* [Fix] Improved performance and eliminated unnecessary invocations

* [Minor] Reassigned script ids

* [Feature] Made a check for local set

* [Fix] Upgraded tests for known senders

* [Fix] Upgraded tests for known senders

* [Fix] Fixed performance of verification of local replies set

* [Minor] Cleaned up code

* [Feature] Added new test to the known_senders tests

* [Test] Ubuntu test

* [Fix] Fixing local replies test check

* [Fix] Fixed code for local replies set check(was not working in previous versions of redis)

* [Fix] Reorganized code to more convenient style and made better loading for scripts

* [Minor] Code has been rewritten in a more appropriate format

* [Minor] Fixed debug messaging

* [Fix] Reworked expiration of replies sets

* [Minor] Upgrade code style

* [Fix] Small fix

* [Feature] Change LFU logic of global replies set to LRU logic

* [Fix] Fix test conflict

* [Minor] Revert rename

* [Minor] Clean up code

* [Fix] Fix commit history

5 months agoMerge pull request #4997 from dragoangel/patch-6
Vsevolod Stakhov [Sun, 2 Jun 2024 15:38:40 +0000 (21:38 +0600)]
Merge pull request #4997 from dragoangel/patch-6

Fix hfilter checks_hello_badip

5 months agoFix hfilter checks_hello_badip 4997/head
Dmitriy Alekseev [Fri, 31 May 2024 07:00:33 +0000 (09:00 +0200)]
Fix hfilter checks_hello_badip

5 months agoMerge pull request #4995 from lucasRolff/master
Vsevolod Stakhov [Thu, 30 May 2024 14:40:46 +0000 (20:40 +0600)]
Merge pull request #4995 from lucasRolff/master

[Minor] Fix typo in Prometheus helper message for rspamd_ham_total

5 months ago[Minor] Fix typo in Prometheus helper message for rspamd_ham_total 4995/head
Lucas Rolff [Thu, 30 May 2024 13:52:04 +0000 (15:52 +0200)]
[Minor] Fix typo in Prometheus helper message for rspamd_ham_total

5 months agoMerge pull request #4992 from PxPert/master
Vsevolod Stakhov [Wed, 29 May 2024 11:49:02 +0000 (17:49 +0600)]
Merge pull request #4992 from PxPert/master

[FIX] call get_words_count method on the textpart in AV Scan

5 months agoFix get_words_count method to be called on the textpart and not on the mimepart 4992/head
root [Tue, 28 May 2024 13:00:56 +0000 (15:00 +0200)]
Fix get_words_count method to be called on the textpart and not on the mimepart

5 months agoMerge pull request #4988 from fatalbanana/test4981
Vsevolod Stakhov [Mon, 27 May 2024 14:11:25 +0000 (20:11 +0600)]
Merge pull request #4988 from fatalbanana/test4981

[Test] Test multimap regexp_multi map

5 months ago[Test] Test multimap regexp_multi map 4988/head
Andrew Lewis [Mon, 27 May 2024 11:06:25 +0000 (13:06 +0200)]
[Test] Test multimap regexp_multi map

5 months ago[Rules] Added rules for detecting likely malware
Andrew Lewis [Mon, 27 May 2024 10:05:53 +0000 (12:05 +0200)]
[Rules] Added rules for detecting likely malware

5 months ago[Minor] Treat *.txz attachments as archives and harmful 4987/head
twesterhever [Mon, 27 May 2024 09:24:50 +0000 (09:24 +0000)]
[Minor] Treat *.txz attachments as archives and harmful

Rationale: https://dshield.org/diary/Files%20with%20TXZ%20extension%20used%20as%20malspam%20attachments/30958

6 months ago[Fix] Unset autolearn flag if we learn explicitly
Vsevolod Stakhov [Fri, 24 May 2024 14:34:32 +0000 (15:34 +0100)]
[Fix] Unset autolearn flag if we learn explicitly

6 months agoMerge pull request #4976 from rspamd/vstakhov-fix-multimap-multisym
Vsevolod Stakhov [Tue, 21 May 2024 13:46:35 +0000 (19:46 +0600)]
Merge pull request #4976 from rspamd/vstakhov-fix-multimap-multisym

Fix multimaps with dynamic symbols

6 months agoMerge pull request #4967 from ishisora/master
Vsevolod Stakhov [Tue, 21 May 2024 11:20:26 +0000 (17:20 +0600)]
Merge pull request #4967 from ishisora/master

[Minor] Exclude User-Agent: Mozilla Thunderbird from XM_UA_NO_VERSION

6 months agocorrect headers.lua 4967/head
ishisora [Tue, 21 May 2024 10:56:48 +0000 (19:56 +0900)]
correct headers.lua

6 months ago[Fix] Fix dynamic_symbols in the multimap plugin 4976/head
Vsevolod Stakhov [Mon, 20 May 2024 17:57:00 +0000 (18:57 +0100)]
[Fix] Fix dynamic_symbols in the multimap plugin

6 months ago[Test] Properly test symbols registration
Vsevolod Stakhov [Mon, 20 May 2024 17:56:38 +0000 (18:56 +0100)]
[Test] Properly test symbols registration

6 months agoMerge pull request #4975 from rspamd/vstakhov-dkim-l-sanity
Vsevolod Stakhov [Sun, 19 May 2024 21:32:08 +0000 (03:32 +0600)]
Merge pull request #4975 from rspamd/vstakhov-dkim-l-sanity

Verify `l=` tag in DKIM signatures

6 months ago[Minor] Tweak some checks 4975/head
Vsevolod Stakhov [Sat, 18 May 2024 15:01:29 +0000 (16:01 +0100)]
[Minor] Tweak some checks

6 months ago[Minor] Grr, fix misprint
Vsevolod Stakhov [Sat, 18 May 2024 14:58:29 +0000 (15:58 +0100)]
[Minor] Grr, fix misprint

6 months ago[Minor] Oops, fix the build
Vsevolod Stakhov [Sat, 18 May 2024 14:23:57 +0000 (15:23 +0100)]
[Minor] Oops, fix the build

6 months ago[Feature] Verify sanity of l= tag in DKIM
Vsevolod Stakhov [Sat, 18 May 2024 14:20:47 +0000 (15:20 +0100)]
[Feature] Verify sanity of l= tag in DKIM

6 months agoMerge pull request #4972 from dragoangel/patch-5
Vsevolod Stakhov [Sat, 18 May 2024 12:31:52 +0000 (18:31 +0600)]
Merge pull request #4972 from dragoangel/patch-5

Add bayes_expiry.conf to provide ability to set custom settings

6 months ago[Minor] Use proper typing and allocation logic in kann
Vsevolod Stakhov [Sat, 18 May 2024 12:16:06 +0000 (13:16 +0100)]
[Minor] Use proper typing and allocation logic in kann

6 months ago[Fix] Allow autolearn for the controller worker
Vsevolod Stakhov [Sat, 18 May 2024 11:56:01 +0000 (12:56 +0100)]
[Fix] Allow autolearn for the controller worker

6 months agoMerge branch 'master' into patch-5 4972/head
Dmitriy Alekseev [Fri, 17 May 2024 21:18:09 +0000 (23:18 +0200)]
Merge branch 'master' into patch-5