]> source.dussan.org Git - rspamd.git/log
rspamd.git
19 months ago[Enhancement] Make Google URL redirection rules productive 4399/head
twesterhever [Fri, 17 Feb 2023 15:48:47 +0000 (15:48 +0000)]
[Enhancement] Make Google URL redirection rules productive

20 months agoMerge pull request #4393 from dpetrov67/fix-global-lua-maps-in-settings
Vsevolod Stakhov [Wed, 15 Feb 2023 13:02:54 +0000 (13:02 +0000)]
Merge pull request #4393 from dpetrov67/fix-global-lua-maps-in-settings

Fixes to support global lua maps in user settings

20 months agoFix process_ip_condition() to support global maps 4393/head
dpetrov67 [Tue, 14 Feb 2023 17:16:53 +0000 (12:16 -0500)]
Fix process_ip_condition() to support global maps

20 months agoFix pcall() argument in rspamd.lua
dpetrov67 [Tue, 14 Feb 2023 16:53:40 +0000 (11:53 -0500)]
Fix pcall() argument in rspamd.lua

20 months agoFix support for global maps in lua_maps.lua
dpetrov67 [Tue, 14 Feb 2023 16:19:57 +0000 (11:19 -0500)]
Fix support for global maps in lua_maps.lua

20 months ago[Minor] Remove FP producing warning
Vsevolod Stakhov [Sat, 11 Feb 2023 12:33:25 +0000 (12:33 +0000)]
[Minor] Remove FP producing warning

20 months ago[Minor] Fix some warnings
Vsevolod Stakhov [Sat, 11 Feb 2023 12:29:10 +0000 (12:29 +0000)]
[Minor] Fix some warnings

20 months ago[Minor] RBL: Add missing groups
Vsevolod Stakhov [Sat, 11 Feb 2023 12:21:32 +0000 (12:21 +0000)]
[Minor] RBL: Add missing groups

20 months ago[Minor] Start fight with drone ci
Vsevolod Stakhov [Fri, 10 Feb 2023 12:16:09 +0000 (12:16 +0000)]
[Minor] Start fight with drone ci

20 months ago[Minor] Update my email
Vsevolod Stakhov [Fri, 10 Feb 2023 11:32:54 +0000 (11:32 +0000)]
[Minor] Update my email

20 months ago[Minor] Fix spec for the new packaging system
Vsevolod Stakhov [Thu, 9 Feb 2023 18:17:18 +0000 (18:17 +0000)]
[Minor] Fix spec for the new packaging system

20 months ago[Minor] More flexibility fixes for the spec file
Vsevolod Stakhov [Wed, 8 Feb 2023 14:47:48 +0000 (14:47 +0000)]
[Minor] More flexibility fixes for the spec file

20 months ago[Minor] Some more fixes to rpm spec
Vsevolod Stakhov [Wed, 8 Feb 2023 12:45:48 +0000 (12:45 +0000)]
[Minor] Some more fixes to rpm spec

20 months ago[Minor] More fixes for the rpm spec
Vsevolod Stakhov [Wed, 8 Feb 2023 12:37:05 +0000 (12:37 +0000)]
[Minor] More fixes for the rpm spec

20 months ago[Minor] Furhter fixes for the rpm build
Vsevolod Stakhov [Wed, 8 Feb 2023 12:27:44 +0000 (12:27 +0000)]
[Minor] Furhter fixes for the rpm build

20 months ago[Minor] Directory name is bogus
Vsevolod Stakhov [Wed, 8 Feb 2023 12:22:57 +0000 (12:22 +0000)]
[Minor] Directory name is bogus

20 months ago[Minor] Add RBL callback symbols to the `rbl` group
Vsevolod Stakhov [Wed, 8 Feb 2023 12:04:34 +0000 (12:04 +0000)]
[Minor] Add RBL callback symbols to the `rbl` group

20 months ago[Fix] Fix usage of the Redis config schema as `extra_fields`
Vsevolod Stakhov [Sun, 5 Feb 2023 12:29:37 +0000 (12:29 +0000)]
[Fix] Fix usage of the Redis config schema as `extra_fields`

Issue: #4318

20 months ago[Fix] Set symcache item in coroutine calls
Vsevolod Stakhov [Fri, 3 Feb 2023 19:12:42 +0000 (19:12 +0000)]
[Fix] Set symcache item in coroutine calls

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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

20 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
20 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

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

20 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

20 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 `.`

20 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
20 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

20 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

20 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

20 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

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

20 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

20 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

20 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

20 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>

20 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

20 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

20 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.

20 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.

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

21 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

21 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

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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

21 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.

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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

21 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

21 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

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

21 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

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

21 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

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

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

21 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

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

21 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

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

21 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

21 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

21 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

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

21 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

21 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

21 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

21 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

21 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

21 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

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

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

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

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