]>
source.dussan.org Git - rspamd.git/log
twesterhever [Fri, 17 Feb 2023 16:01:16 +0000 (16:01 +0000)]
[Enhancement] Add rule to detect Google Firebase URLs
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
dpetrov67 [Tue, 14 Feb 2023 17:16:53 +0000 (12:16 -0500)]
Fix process_ip_condition() to support global maps
dpetrov67 [Tue, 14 Feb 2023 16:53:40 +0000 (11:53 -0500)]
Fix pcall() argument in rspamd.lua
dpetrov67 [Tue, 14 Feb 2023 16:19:57 +0000 (11:19 -0500)]
Fix support for global maps in lua_maps.lua
Vsevolod Stakhov [Sat, 11 Feb 2023 12:33:25 +0000 (12:33 +0000)]
[Minor] Remove FP producing warning
Vsevolod Stakhov [Sat, 11 Feb 2023 12:29:10 +0000 (12:29 +0000)]
[Minor] Fix some warnings
Vsevolod Stakhov [Sat, 11 Feb 2023 12:21:32 +0000 (12:21 +0000)]
[Minor] RBL: Add missing groups
Vsevolod Stakhov [Fri, 10 Feb 2023 12:16:09 +0000 (12:16 +0000)]
[Minor] Start fight with drone ci
Vsevolod Stakhov [Fri, 10 Feb 2023 11:32:54 +0000 (11:32 +0000)]
[Minor] Update my email
Vsevolod Stakhov [Thu, 9 Feb 2023 18:17:18 +0000 (18:17 +0000)]
[Minor] Fix spec for the new packaging system
Vsevolod Stakhov [Wed, 8 Feb 2023 14:47:48 +0000 (14:47 +0000)]
[Minor] More flexibility fixes for the spec file
Vsevolod Stakhov [Wed, 8 Feb 2023 12:45:48 +0000 (12:45 +0000)]
[Minor] Some more fixes to rpm spec
Vsevolod Stakhov [Wed, 8 Feb 2023 12:37:05 +0000 (12:37 +0000)]
[Minor] More fixes for the rpm spec
Vsevolod Stakhov [Wed, 8 Feb 2023 12:27:44 +0000 (12:27 +0000)]
[Minor] Furhter fixes for the rpm build
Vsevolod Stakhov [Wed, 8 Feb 2023 12:22:57 +0000 (12:22 +0000)]
[Minor] Directory name is bogus
Vsevolod Stakhov [Wed, 8 Feb 2023 12:04:34 +0000 (12:04 +0000)]
[Minor] Add RBL callback symbols to the `rbl` group
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
Vsevolod Stakhov [Fri, 3 Feb 2023 19:12:42 +0000 (19:12 +0000)]
[Fix] Set symcache item in coroutine calls
Vsevolod Stakhov [Fri, 3 Feb 2023 14:10:52 +0000 (14:10 +0000)]
[Minor] Remove obsoleted compat functions that are no longer used
Vsevolod Stakhov [Wed, 1 Feb 2023 17:32:24 +0000 (17:32 +0000)]
[Fix] Finally get rid of RSPAMD_USE_47BIT_LIGHTUSERDATA_HACK
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
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
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
Amish [Thu, 26 Jan 2023 10:24:27 +0000 (15:54 +0530)]
Set required_score = reject score and minor change to the report
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
Amish [Tue, 24 Jan 2023 05:57:41 +0000 (11:27 +0530)]
rspamc: optimize indentation condition
Vsevolod Stakhov [Mon, 23 Jan 2023 21:58:23 +0000 (21:58 +0000)]
[Minor] Use `thresholds` object in rspamc
Closes: #4380
Vsevolod Stakhov [Mon, 23 Jan 2023 21:52:00 +0000 (21:52 +0000)]
[Feature] Add `thresholds` field to the scan result
Vsevolod Stakhov [Mon, 23 Jan 2023 21:43:01 +0000 (21:43 +0000)]
[Minor] Some style neats
Vsevolod Stakhov [Sun, 22 Jan 2023 13:26:35 +0000 (13:26 +0000)]
[Minor] Further adjustments to the word wrapping
Vsevolod Stakhov [Sun, 22 Jan 2023 13:05:51 +0000 (13:05 +0000)]
[Minor] Do not split on `.`
Vsevolod Stakhov [Sun, 22 Jan 2023 13:02:44 +0000 (13:02 +0000)]
[Minor] Simplify string wrap algorithm
Submitted by: @amishmm
Closes: #4378
Vsevolod Stakhov [Sun, 22 Jan 2023 12:48:37 +0000 (12:48 +0000)]
[Minor] Check the last split when wrapping
Reported by: @amishmm
Vsevolod Stakhov [Sun, 22 Jan 2023 12:37:29 +0000 (12:37 +0000)]
[Minor] Some more neats to the string wrapping function
Vsevolod Stakhov [Sat, 21 Jan 2023 15:30:13 +0000 (15:30 +0000)]
[Fix] Restore `strict_domains` support
Vsevolod Stakhov [Sat, 21 Jan 2023 15:21:11 +0000 (15:21 +0000)]
[Minor] Improve words wrap algorithm
Vsevolod Stakhov [Sat, 21 Jan 2023 14:39:40 +0000 (14:39 +0000)]
[Minor] Fix luacheck
Vsevolod Stakhov [Sat, 21 Jan 2023 14:22:57 +0000 (14:22 +0000)]
[Minor] Some style fixes + reformat
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
Amish [Sat, 21 Jan 2023 10:40:21 +0000 (16:10 +0530)]
rspamc: add action number in first line and improve code
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>
Amish [Fri, 20 Jan 2023 15:29:48 +0000 (20:59 +0530)]
rspamc: add -R option for human readable report
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
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.
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.
Vsevolod Stakhov [Mon, 16 Jan 2023 08:40:01 +0000 (08:40 +0000)]
[Minor] Fix misprint
Vsevolod Stakhov [Sun, 15 Jan 2023 23:18:39 +0000 (23:18 +0000)]
[Minor] Backport fixes from libucl
Vsevolod Stakhov [Sat, 14 Jan 2023 21:41:43 +0000 (21:41 +0000)]
[Minor] Use averages in fuzzystat
Vsevolod Stakhov [Sat, 14 Jan 2023 13:00:14 +0000 (13:00 +0000)]
[Minor] Save in stats
Vsevolod Stakhov [Sat, 14 Jan 2023 12:43:46 +0000 (12:43 +0000)]
[Minor] Add per-hour counters for fuzzy keys
Vsevolod Stakhov [Sat, 14 Jan 2023 12:25:24 +0000 (12:25 +0000)]
[Minor] Store timestamp in the fuzzy session properly
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
Kako, Chang [Thu, 12 Jan 2023 06:12:01 +0000 (14:12 +0800)]
[Fix] received: filtering of artificial header
Vsevolod Stakhov [Wed, 11 Jan 2023 15:28:32 +0000 (15:28 +0000)]
[Minor] Fix unencrypted fuzzy case
Vsevolod Stakhov [Tue, 10 Jan 2023 22:48:33 +0000 (22:48 +0000)]
[Minor] Further steps to implement forbidden ids for specific keys
Vsevolod Stakhov [Tue, 10 Jan 2023 22:32:58 +0000 (22:32 +0000)]
[Minor] Allow to deny certain ids for certain fuzzy keys
Vsevolod Stakhov [Tue, 10 Jan 2023 22:16:38 +0000 (22:16 +0000)]
[Minor] Remove unused structure
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.
Vsevolod Stakhov [Sat, 7 Jan 2023 13:31:17 +0000 (13:31 +0000)]
[Minor] Honor RSPAMD_NO_CLEANUP in hs_helper as well
Vsevolod Stakhov [Sat, 7 Jan 2023 13:17:56 +0000 (13:17 +0000)]
[Test] Properly set environment, fix teardown part
Vsevolod Stakhov [Sat, 7 Jan 2023 13:17:35 +0000 (13:17 +0000)]
[Minor] Add log line about hyperscan cleanup
Vsevolod Stakhov [Thu, 5 Jan 2023 16:19:08 +0000 (16:19 +0000)]
[Minor] Fuzzystat: Fix case of the options
Vsevolod Stakhov [Thu, 5 Jan 2023 16:18:08 +0000 (16:18 +0000)]
[Minor] Fuzzystat: Allow to sort keys
Vsevolod Stakhov [Thu, 5 Jan 2023 10:12:13 +0000 (10:12 +0000)]
[Minor] Use unsigned char for ascii checks
Vsevolod Stakhov [Thu, 5 Jan 2023 09:44:44 +0000 (09:44 +0000)]
[Minor] Add --name parameter to keypair generation
Vsevolod Stakhov [Wed, 4 Jan 2023 13:56:29 +0000 (13:56 +0000)]
[Minor] Allow to flatten keypair output
Vsevolod Stakhov [Wed, 4 Jan 2023 13:56:02 +0000 (13:56 +0000)]
[Minor] Show name if available
Vsevolod Stakhov [Wed, 4 Jan 2023 12:46:56 +0000 (12:46 +0000)]
[Minor] Allow different dump types for the keypairs
Vsevolod Stakhov [Wed, 4 Jan 2023 11:37:47 +0000 (11:37 +0000)]
[Minor] Emit keypair on fuzzystat command
Vsevolod Stakhov [Wed, 4 Jan 2023 11:34:44 +0000 (11:34 +0000)]
[Minor] Allow to get keypairs extensions
Vsevolod Stakhov [Tue, 3 Jan 2023 21:06:05 +0000 (21:06 +0000)]
[Minor] Add extensions to the keypairs
Vsevolod Stakhov [Mon, 2 Jan 2023 21:48:13 +0000 (21:48 +0000)]
[Minor] Store module that has set the pre-result
Vsevolod Stakhov [Sun, 1 Jan 2023 11:02:29 +0000 (11:02 +0000)]
[Minor] Remove unused stuff
Vsevolod Stakhov [Sat, 31 Dec 2022 21:37:45 +0000 (21:37 +0000)]
[Test] Clean up dummy ssl client
Vsevolod Stakhov [Sat, 31 Dec 2022 21:35:56 +0000 (21:35 +0000)]
[Test] Rework kill process tree utility
Vsevolod Stakhov [Sat, 31 Dec 2022 21:35:12 +0000 (21:35 +0000)]
[Test] Use asyncio
Vsevolod Stakhov [Sat, 31 Dec 2022 20:02:51 +0000 (20:02 +0000)]
[Test] Remove another broken test
Vsevolod Stakhov [Sat, 31 Dec 2022 19:54:14 +0000 (19:54 +0000)]
[Test] Fix another test
Vsevolod Stakhov [Sat, 31 Dec 2022 19:43:16 +0000 (19:43 +0000)]
[Test] Fix one more stupid thing
Vsevolod Stakhov [Sat, 31 Dec 2022 19:32:49 +0000 (19:32 +0000)]
[Test] Remove broken tests
Vsevolod Stakhov [Sat, 31 Dec 2022 16:46:20 +0000 (16:46 +0000)]
[Test] Fix more tests
Vsevolod Stakhov [Sat, 31 Dec 2022 16:45:57 +0000 (16:45 +0000)]
[Test] Fix some minor stuff in dummy_http server
Vsevolod Stakhov [Sat, 31 Dec 2022 14:13:37 +0000 (14:13 +0000)]
[Test] Rework HTTP tests
Vsevolod Stakhov [Sat, 31 Dec 2022 13:28:49 +0000 (13:28 +0000)]
[Test] Rewrite dummy http server
Vsevolod Stakhov [Wed, 28 Dec 2022 22:03:10 +0000 (22:03 +0000)]
[Minor] Remove legacy stuff
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
Vsevolod Stakhov [Mon, 26 Dec 2022 22:58:58 +0000 (22:58 +0000)]
[Test] CI: Use all unit tests including expensive ones
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
Vsevolod Stakhov [Mon, 26 Dec 2022 22:43:05 +0000 (22:43 +0000)]
[Minor] Remove unused stuff
Vsevolod Stakhov [Sat, 24 Dec 2022 21:57:13 +0000 (21:57 +0000)]
[Minor] Ratelimit: Further penging field adjustments
Vsevolod Stakhov [Sat, 24 Dec 2022 21:37:02 +0000 (21:37 +0000)]
[Fix] Ratelimit: Use unpack for `HMGET` return value
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
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
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
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
Vsevolod Stakhov [Wed, 21 Dec 2022 12:04:42 +0000 (12:04 +0000)]
[Conf] Fix hashbl
Vsevolod Stakhov [Wed, 21 Dec 2022 11:40:25 +0000 (11:40 +0000)]
[Fix] Rework lists applications
Vsevolod Stakhov [Sun, 18 Dec 2022 20:15:06 +0000 (20:15 +0000)]
[Minor] Fix occasional damage
Vsevolod Stakhov [Sun, 18 Dec 2022 19:29:25 +0000 (19:29 +0000)]
[Conf] RBL: Fix selector