]> source.dussan.org Git - rspamd.git/log
rspamd.git
21 months ago[Minor] Remove obsoleted compat functions that are no longer used
Vsevolod Stakhov [Fri, 3 Feb 2023 14:10:52 +0000 (14:10 +0000)]
[Minor] Remove obsoleted compat functions that are no longer used

21 months ago[Fix] Finally get rid of RSPAMD_USE_47BIT_LIGHTUSERDATA_HACK
Vsevolod Stakhov [Wed, 1 Feb 2023 17:32:24 +0000 (17:32 +0000)]
[Fix] Finally get rid of RSPAMD_USE_47BIT_LIGHTUSERDATA_HACK

21 months agoMerge pull request #4387 from jendis/fix_arc_settings
Vsevolod Stakhov [Tue, 31 Jan 2023 15:18:59 +0000 (15:18 +0000)]
Merge pull request #4387 from jendis/fix_arc_settings

conf/modules.d/arc.conf: fix parameter name

21 months agoconf/modules.d/arc.conf: fix parameter name 4387/head
Jan Smutny [Tue, 31 Jan 2023 14:06:01 +0000 (15:06 +0100)]
conf/modules.d/arc.conf: fix parameter name

rename symbol_sign -> sign_symbol

21 months agoMerge pull request #4383 from amishmm/wrap
Vsevolod Stakhov [Thu, 26 Jan 2023 23:45:21 +0000 (23:45 +0000)]
Merge pull request #4383 from amishmm/wrap

Set required_score = reject score and minor change to the report

21 months agoSet required_score = reject score and minor change to the report 4383/head
Amish [Thu, 26 Jan 2023 10:24:27 +0000 (15:54 +0530)]
Set required_score = reject score and minor change to the report

22 months agoMerge pull request #4381 from amishmm/wrap
Vsevolod Stakhov [Tue, 24 Jan 2023 19:46:22 +0000 (19:46 +0000)]
Merge pull request #4381 from amishmm/wrap

[Minor] rspamc: optimize indentation condition

22 months agorspamc: optimize indentation condition 4381/head
Amish [Tue, 24 Jan 2023 05:57:41 +0000 (11:27 +0530)]
rspamc: optimize indentation condition

22 months ago[Minor] Use `thresholds` object in rspamc
Vsevolod Stakhov [Mon, 23 Jan 2023 21:58:23 +0000 (21:58 +0000)]
[Minor] Use `thresholds` object in rspamc

Closes: #4380
22 months ago[Feature] Add `thresholds` field to the scan result
Vsevolod Stakhov [Mon, 23 Jan 2023 21:52:00 +0000 (21:52 +0000)]
[Feature] Add `thresholds` field to the scan result

22 months ago[Minor] Some style neats
Vsevolod Stakhov [Mon, 23 Jan 2023 21:43:01 +0000 (21:43 +0000)]
[Minor] Some style neats

22 months ago[Minor] Further adjustments to the word wrapping
Vsevolod Stakhov [Sun, 22 Jan 2023 13:26:35 +0000 (13:26 +0000)]
[Minor] Further adjustments to the word wrapping

22 months ago[Minor] Do not split on `.`
Vsevolod Stakhov [Sun, 22 Jan 2023 13:05:51 +0000 (13:05 +0000)]
[Minor] Do not split on `.`

22 months ago[Minor] Simplify string wrap algorithm
Vsevolod Stakhov [Sun, 22 Jan 2023 13:02:44 +0000 (13:02 +0000)]
[Minor] Simplify string wrap algorithm

Submitted by: @amishmm
Closes: #4378
22 months ago[Minor] Check the last split when wrapping
Vsevolod Stakhov [Sun, 22 Jan 2023 12:48:37 +0000 (12:48 +0000)]
[Minor] Check the last split when wrapping

Reported by: @amishmm

22 months ago[Minor] Some more neats to the string wrapping function
Vsevolod Stakhov [Sun, 22 Jan 2023 12:37:29 +0000 (12:37 +0000)]
[Minor] Some more neats to the string wrapping function

22 months ago[Fix] Restore `strict_domains` support
Vsevolod Stakhov [Sat, 21 Jan 2023 15:30:13 +0000 (15:30 +0000)]
[Fix] Restore `strict_domains` support

22 months ago[Minor] Improve words wrap algorithm
Vsevolod Stakhov [Sat, 21 Jan 2023 15:21:11 +0000 (15:21 +0000)]
[Minor] Improve words wrap algorithm

22 months ago[Minor] Fix luacheck
Vsevolod Stakhov [Sat, 21 Jan 2023 14:39:40 +0000 (14:39 +0000)]
[Minor] Fix luacheck

22 months ago[Minor] Some style fixes + reformat
Vsevolod Stakhov [Sat, 21 Jan 2023 14:22:57 +0000 (14:22 +0000)]
[Minor] Some style fixes + reformat

22 months agoMerge pull request #4377 from amishmm/humanreport
Vsevolod Stakhov [Sat, 21 Jan 2023 12:15:12 +0000 (12:15 +0000)]
Merge pull request #4377 from amishmm/humanreport

[Feature] rspamc: add -R option for human readable report

22 months agorspamc: add action number in first line and improve code 4377/head
Amish [Sat, 21 Jan 2023 10:40:21 +0000 (16:10 +0530)]
rspamc: add action number in first line and improve code

22 months agoMerge pull request #4375 from heirecka/fix-build-with-gcc13
Vsevolod Stakhov [Fri, 20 Jan 2023 19:23:10 +0000 (19:23 +0000)]
Merge pull request #4375 from heirecka/fix-build-with-gcc13

Fix build with gcc 13 by including <cstdint>

22 months agorspamc: add -R option for human readable report
Amish [Fri, 20 Jan 2023 15:29:48 +0000 (20:59 +0530)]
rspamc: add -R option for human readable report

22 months agoMerge pull request #4376 from dupondje/remove_phishing_strict_domains
Vsevolod Stakhov [Thu, 19 Jan 2023 22:17:30 +0000 (22:17 +0000)]
Merge pull request #4376 from dupondje/remove_phishing_strict_domains

[Fix] Replace broken strict_domains with phishing_exceptions

22 months ago[Fix] Replace broken strict_domains with phishing_exceptions 4376/head
Jean-Louis Dupond [Thu, 19 Jan 2023 14:30:24 +0000 (15:30 +0100)]
[Fix] Replace broken strict_domains with phishing_exceptions

The syntax of the strict_domains is broken since parsing for it was
removed in commit ce21f8fe16a45a5a409d3c9f8217eba2de1fbe14

We introduct the phishing_exceptions to be able to create exceptions on
the phished domain.

22 months agoFix build with gcc 13 by including <cstdint> 4375/head
Heiko Becker [Wed, 18 Jan 2023 22:54:24 +0000 (23:54 +0100)]
Fix build with gcc 13 by including <cstdint>

Like other versions before, gcc 13 moved some includes around and as a
result <cstdint> is no longer transitively included. Explicitly include
it for uint8_t.

22 months ago[Minor] Fix misprint
Vsevolod Stakhov [Mon, 16 Jan 2023 08:40:01 +0000 (08:40 +0000)]
[Minor] Fix misprint

22 months ago[Minor] Backport fixes from libucl
Vsevolod Stakhov [Sun, 15 Jan 2023 23:18:39 +0000 (23:18 +0000)]
[Minor] Backport fixes from libucl

22 months ago[Minor] Use averages in fuzzystat
Vsevolod Stakhov [Sat, 14 Jan 2023 21:41:43 +0000 (21:41 +0000)]
[Minor] Use averages in fuzzystat

22 months ago[Minor] Save in stats
Vsevolod Stakhov [Sat, 14 Jan 2023 13:00:14 +0000 (13:00 +0000)]
[Minor] Save in stats

22 months ago[Minor] Add per-hour counters for fuzzy keys
Vsevolod Stakhov [Sat, 14 Jan 2023 12:43:46 +0000 (12:43 +0000)]
[Minor] Add per-hour counters for fuzzy keys

22 months ago[Minor] Store timestamp in the fuzzy session properly
Vsevolod Stakhov [Sat, 14 Jan 2023 12:25:24 +0000 (12:25 +0000)]
[Minor] Store timestamp in the fuzzy session properly

22 months agoMerge pull request #4367 from kakochang/patch-fix-received-count
Vsevolod Stakhov [Thu, 12 Jan 2023 17:59:52 +0000 (17:59 +0000)]
Merge pull request #4367 from kakochang/patch-fix-received-count

[Fix] received: filtering of artificial header

22 months ago[Fix] received: filtering of artificial header 4367/head
Kako, Chang [Thu, 12 Jan 2023 06:12:01 +0000 (14:12 +0800)]
[Fix] received: filtering of artificial header

22 months ago[Minor] Fix unencrypted fuzzy case
Vsevolod Stakhov [Wed, 11 Jan 2023 15:28:32 +0000 (15:28 +0000)]
[Minor] Fix unencrypted fuzzy case

22 months ago[Minor] Further steps to implement forbidden ids for specific keys
Vsevolod Stakhov [Tue, 10 Jan 2023 22:48:33 +0000 (22:48 +0000)]
[Minor] Further steps to implement forbidden ids for specific keys

22 months ago[Minor] Allow to deny certain ids for certain fuzzy keys
Vsevolod Stakhov [Tue, 10 Jan 2023 22:32:58 +0000 (22:32 +0000)]
[Minor] Allow to deny certain ids for certain fuzzy keys

22 months ago[Minor] Remove unused structure
Vsevolod Stakhov [Tue, 10 Jan 2023 22:16:38 +0000 (22:16 +0000)]
[Minor] Remove unused structure

22 months ago[Rework] Breaking: Do not report soft reject in history
Vsevolod Stakhov [Sat, 7 Jan 2023 14:46:56 +0000 (14:46 +0000)]
[Rework] Breaking: Do not report soft reject in history

We can have much more clear information if we store the real action in
case of `soft-reject`. In this case, we can just imply that a module
that has set this action is an action itself, such as:

* greylist
* ratelimit
* multimap
* antivirus rule name

This policy seems quite reasonable, as `soft reject` has no meaning on
its own.

22 months ago[Minor] Honor RSPAMD_NO_CLEANUP in hs_helper as well
Vsevolod Stakhov [Sat, 7 Jan 2023 13:31:17 +0000 (13:31 +0000)]
[Minor] Honor RSPAMD_NO_CLEANUP in hs_helper as well

22 months ago[Test] Properly set environment, fix teardown part
Vsevolod Stakhov [Sat, 7 Jan 2023 13:17:56 +0000 (13:17 +0000)]
[Test] Properly set environment, fix teardown part

22 months ago[Minor] Add log line about hyperscan cleanup
Vsevolod Stakhov [Sat, 7 Jan 2023 13:17:35 +0000 (13:17 +0000)]
[Minor] Add log line about hyperscan cleanup

22 months ago[Minor] Fuzzystat: Fix case of the options
Vsevolod Stakhov [Thu, 5 Jan 2023 16:19:08 +0000 (16:19 +0000)]
[Minor] Fuzzystat: Fix case of the options

22 months ago[Minor] Fuzzystat: Allow to sort keys
Vsevolod Stakhov [Thu, 5 Jan 2023 16:18:08 +0000 (16:18 +0000)]
[Minor] Fuzzystat: Allow to sort keys

22 months ago[Minor] Use unsigned char for ascii checks
Vsevolod Stakhov [Thu, 5 Jan 2023 10:12:13 +0000 (10:12 +0000)]
[Minor] Use unsigned char for ascii checks

22 months ago[Minor] Add --name parameter to keypair generation
Vsevolod Stakhov [Thu, 5 Jan 2023 09:44:44 +0000 (09:44 +0000)]
[Minor] Add --name parameter to keypair generation

22 months ago[Minor] Allow to flatten keypair output
Vsevolod Stakhov [Wed, 4 Jan 2023 13:56:29 +0000 (13:56 +0000)]
[Minor] Allow to flatten keypair output

22 months ago[Minor] Show name if available
Vsevolod Stakhov [Wed, 4 Jan 2023 13:56:02 +0000 (13:56 +0000)]
[Minor] Show name if available

22 months ago[Minor] Allow different dump types for the keypairs
Vsevolod Stakhov [Wed, 4 Jan 2023 12:46:56 +0000 (12:46 +0000)]
[Minor] Allow different dump types for the keypairs

22 months ago[Minor] Emit keypair on fuzzystat command
Vsevolod Stakhov [Wed, 4 Jan 2023 11:37:47 +0000 (11:37 +0000)]
[Minor] Emit keypair on fuzzystat command

22 months ago[Minor] Allow to get keypairs extensions
Vsevolod Stakhov [Wed, 4 Jan 2023 11:34:44 +0000 (11:34 +0000)]
[Minor] Allow to get keypairs extensions

22 months ago[Minor] Add extensions to the keypairs
Vsevolod Stakhov [Tue, 3 Jan 2023 21:06:05 +0000 (21:06 +0000)]
[Minor] Add extensions to the keypairs

22 months ago[Minor] Store module that has set the pre-result
Vsevolod Stakhov [Mon, 2 Jan 2023 21:48:13 +0000 (21:48 +0000)]
[Minor] Store module that has set the pre-result

22 months ago[Minor] Remove unused stuff
Vsevolod Stakhov [Sun, 1 Jan 2023 11:02:29 +0000 (11:02 +0000)]
[Minor] Remove unused stuff

22 months ago[Test] Clean up dummy ssl client
Vsevolod Stakhov [Sat, 31 Dec 2022 21:37:45 +0000 (21:37 +0000)]
[Test] Clean up dummy ssl client

22 months ago[Test] Rework kill process tree utility
Vsevolod Stakhov [Sat, 31 Dec 2022 21:35:56 +0000 (21:35 +0000)]
[Test] Rework kill process tree utility

22 months ago[Test] Use asyncio
Vsevolod Stakhov [Sat, 31 Dec 2022 21:35:12 +0000 (21:35 +0000)]
[Test] Use asyncio

22 months ago[Test] Remove another broken test
Vsevolod Stakhov [Sat, 31 Dec 2022 20:02:51 +0000 (20:02 +0000)]
[Test] Remove another broken test

22 months ago[Test] Fix another test
Vsevolod Stakhov [Sat, 31 Dec 2022 19:54:14 +0000 (19:54 +0000)]
[Test] Fix another test

22 months ago[Test] Fix one more stupid thing
Vsevolod Stakhov [Sat, 31 Dec 2022 19:43:16 +0000 (19:43 +0000)]
[Test] Fix one more stupid thing

22 months ago[Test] Remove broken tests
Vsevolod Stakhov [Sat, 31 Dec 2022 19:32:49 +0000 (19:32 +0000)]
[Test] Remove broken tests

22 months ago[Test] Fix more tests
Vsevolod Stakhov [Sat, 31 Dec 2022 16:46:20 +0000 (16:46 +0000)]
[Test] Fix more tests

22 months ago[Test] Fix some minor stuff in dummy_http server
Vsevolod Stakhov [Sat, 31 Dec 2022 16:45:57 +0000 (16:45 +0000)]
[Test] Fix some minor stuff in dummy_http server

22 months ago[Test] Rework HTTP tests
Vsevolod Stakhov [Sat, 31 Dec 2022 14:13:37 +0000 (14:13 +0000)]
[Test] Rework HTTP tests

22 months ago[Test] Rewrite dummy http server
Vsevolod Stakhov [Sat, 31 Dec 2022 13:28:49 +0000 (13:28 +0000)]
[Test] Rewrite dummy http server

22 months ago[Minor] Remove legacy stuff
Vsevolod Stakhov [Wed, 28 Dec 2022 22:03:10 +0000 (22:03 +0000)]
[Minor] Remove legacy stuff

22 months ago[Test] Exclude more speed/fuzz tests to allow unit tests execution under 1 sec
Vsevolod Stakhov [Tue, 27 Dec 2022 23:05:20 +0000 (23:05 +0000)]
[Test] Exclude more speed/fuzz tests to allow unit tests execution under 1 sec

22 months ago[Test] CI: Use all unit tests including expensive ones
Vsevolod Stakhov [Mon, 26 Dec 2022 22:58:58 +0000 (22:58 +0000)]
[Test] CI: Use all unit tests including expensive ones

22 months ago[Test] Hide expensive unit tests with RSPAMD_LUA_EXPENSIVE_TESTS env variable
Vsevolod Stakhov [Mon, 26 Dec 2022 22:57:19 +0000 (22:57 +0000)]
[Test] Hide expensive unit tests with RSPAMD_LUA_EXPENSIVE_TESTS env variable

22 months ago[Minor] Remove unused stuff
Vsevolod Stakhov [Mon, 26 Dec 2022 22:43:05 +0000 (22:43 +0000)]
[Minor] Remove unused stuff

23 months ago[Minor] Ratelimit: Further penging field adjustments
Vsevolod Stakhov [Sat, 24 Dec 2022 21:57:13 +0000 (21:57 +0000)]
[Minor] Ratelimit: Further penging field adjustments

23 months ago[Fix] Ratelimit: Use unpack for `HMGET` return value
Vsevolod Stakhov [Sat, 24 Dec 2022 21:37:02 +0000 (21:37 +0000)]
[Fix] Ratelimit: Use unpack for `HMGET` return value

23 months ago[Rules] Mid: Add MID_END_EQ_FROM_USER_PART rule
Vsevolod Stakhov [Fri, 23 Dec 2022 20:35:52 +0000 (20:35 +0000)]
[Rules] Mid: Add MID_END_EQ_FROM_USER_PART rule

Issue: #4299

23 months ago[Feature] Improve ratelimit redis scripts
Vsevolod Stakhov [Fri, 23 Dec 2022 19:44:02 +0000 (19:44 +0000)]
[Feature] Improve ratelimit redis scripts

* Use multi keys calls where useful
* Carefully refine `nrcpt` usage
* Add an additional `pending` field to ratelimit bursty senders earlier

23 months agoMerge pull request #4365 from cpragadeesh/has_url_bug
Vsevolod Stakhov [Thu, 22 Dec 2022 22:54:30 +0000 (22:54 +0000)]
Merge pull request #4365 from cpragadeesh/has_url_bug

[Fix] Return true from has_urls(true) if only emails are present

23 months ago[Fix] Return true from has_urls(true) if only emails are present 4365/head
Pragadeesh Chandiran [Thu, 22 Dec 2022 19:47:16 +0000 (14:47 -0500)]
[Fix] Return true from has_urls(true) if only emails are present

23 months ago[Conf] Fix hashbl
Vsevolod Stakhov [Wed, 21 Dec 2022 12:04:42 +0000 (12:04 +0000)]
[Conf] Fix hashbl

23 months ago[Fix] Rework lists applications
Vsevolod Stakhov [Wed, 21 Dec 2022 11:40:25 +0000 (11:40 +0000)]
[Fix] Rework lists applications

23 months ago[Minor] Fix occasional damage
Vsevolod Stakhov [Sun, 18 Dec 2022 20:15:06 +0000 (20:15 +0000)]
[Minor] Fix occasional damage

23 months ago[Conf] RBL: Fix selector
Vsevolod Stakhov [Sun, 18 Dec 2022 19:29:25 +0000 (19:29 +0000)]
[Conf] RBL: Fix selector

23 months ago[Minor] Fix arguments schema
Vsevolod Stakhov [Sun, 18 Dec 2022 19:29:06 +0000 (19:29 +0000)]
[Minor] Fix arguments schema

23 months ago[Minor] Improve logging
Vsevolod Stakhov [Sun, 18 Dec 2022 19:28:51 +0000 (19:28 +0000)]
[Minor] Improve logging

23 months ago[Conf] Preliminary try to add SURBL hashbl support (WIP)
Vsevolod Stakhov [Sat, 17 Dec 2022 20:38:55 +0000 (20:38 +0000)]
[Conf] Preliminary try to add SURBL hashbl support (WIP)

23 months ago[Minor] Apply lua augmentations where available
Vsevolod Stakhov [Sat, 17 Dec 2022 20:38:24 +0000 (20:38 +0000)]
[Minor] Apply lua augmentations where available

23 months ago[Minor] Fix spelling
Vsevolod Stakhov [Sat, 17 Dec 2022 20:14:52 +0000 (20:14 +0000)]
[Minor] Fix spelling

23 months ago[Minor] Allow to attach maps to the RBL module
Vsevolod Stakhov [Thu, 15 Dec 2022 22:35:40 +0000 (22:35 +0000)]
[Minor] Allow to attach maps to the RBL module

23 months ago[Minor] Avoid cyclic require - it doesn't work in Lua
Vsevolod Stakhov [Tue, 13 Dec 2022 22:46:32 +0000 (22:46 +0000)]
[Minor] Avoid cyclic require - it doesn't work in Lua

23 months ago[Feature] Selectors: Add specific_urls_filter_map extractor
Vsevolod Stakhov [Tue, 13 Dec 2022 21:36:31 +0000 (21:36 +0000)]
[Feature] Selectors: Add specific_urls_filter_map extractor

23 months ago[Minor] Remove debug message
Vsevolod Stakhov [Tue, 13 Dec 2022 12:08:53 +0000 (12:08 +0000)]
[Minor] Remove debug message

23 months ago[Feature] Allow to specify `selector_alias` in the maps definition
Vsevolod Stakhov [Mon, 12 Dec 2022 21:33:58 +0000 (21:33 +0000)]
[Feature] Allow to specify `selector_alias` in the maps definition

23 months ago[Test] Disable a broken unit test
Vsevolod Stakhov [Sun, 11 Dec 2022 22:19:26 +0000 (22:19 +0000)]
[Test] Disable a broken unit test

23 months ago[Test] Fix a broken unit test
Vsevolod Stakhov [Sun, 11 Dec 2022 22:07:12 +0000 (22:07 +0000)]
[Test] Fix a broken unit test

23 months ago[Ci] Fail on unit test failure
Vsevolod Stakhov [Sun, 11 Dec 2022 10:14:57 +0000 (10:14 +0000)]
[Ci] Fail on unit test failure

23 months ago[Test] Add test for the added features
Vsevolod Stakhov [Sat, 10 Dec 2022 22:41:52 +0000 (22:41 +0000)]
[Test] Add test for the added features

23 months ago[Feature] Some rework of the selectors framework
Vsevolod Stakhov [Sat, 10 Dec 2022 22:40:31 +0000 (22:40 +0000)]
[Feature] Some rework of the selectors framework

* Add `apply_methods` transform
* Rework userdata application of the transform functor
* Add more join methods

23 months ago[Minor] Fix `is_write` usage for freshly loaded scripts
Vsevolod Stakhov [Sat, 10 Dec 2022 19:37:02 +0000 (19:37 +0000)]
[Minor] Fix `is_write` usage for freshly loaded scripts

23 months ago[Minor] Rbl: Fix rdns pipeline
Vsevolod Stakhov [Fri, 9 Dec 2022 21:32:38 +0000 (21:32 +0000)]
[Minor] Rbl: Fix rdns pipeline

Issue: #4356

23 months ago[Minor] Chartable: Adjustments to the metatokens handling
Vsevolod Stakhov [Thu, 8 Dec 2022 21:36:36 +0000 (21:36 +0000)]
[Minor] Chartable: Adjustments to the metatokens handling

23 months ago[Fix] Rbl: Fix helo check pipeline
Vsevolod Stakhov [Thu, 8 Dec 2022 20:51:27 +0000 (20:51 +0000)]
[Fix] Rbl: Fix helo check pipeline

Issue: #4356