]>
source.dussan.org Git - rspamd.git/log
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
Vsevolod Stakhov [Sun, 18 Dec 2022 19:29:06 +0000 (19:29 +0000)]
[Minor] Fix arguments schema
Vsevolod Stakhov [Sun, 18 Dec 2022 19:28:51 +0000 (19:28 +0000)]
[Minor] Improve logging
Vsevolod Stakhov [Sat, 17 Dec 2022 20:38:55 +0000 (20:38 +0000)]
[Conf] Preliminary try to add SURBL hashbl support (WIP)
Vsevolod Stakhov [Sat, 17 Dec 2022 20:38:24 +0000 (20:38 +0000)]
[Minor] Apply lua augmentations where available
Vsevolod Stakhov [Sat, 17 Dec 2022 20:14:52 +0000 (20:14 +0000)]
[Minor] Fix spelling
Vsevolod Stakhov [Thu, 15 Dec 2022 22:35:40 +0000 (22:35 +0000)]
[Minor] Allow to attach maps to the RBL module
Vsevolod Stakhov [Tue, 13 Dec 2022 22:46:32 +0000 (22:46 +0000)]
[Minor] Avoid cyclic require - it doesn't work in Lua
Vsevolod Stakhov [Tue, 13 Dec 2022 21:36:31 +0000 (21:36 +0000)]
[Feature] Selectors: Add specific_urls_filter_map extractor
Vsevolod Stakhov [Tue, 13 Dec 2022 12:08:53 +0000 (12:08 +0000)]
[Minor] Remove debug message
Vsevolod Stakhov [Mon, 12 Dec 2022 21:33:58 +0000 (21:33 +0000)]
[Feature] Allow to specify `selector_alias` in the maps definition
Vsevolod Stakhov [Sun, 11 Dec 2022 22:19:26 +0000 (22:19 +0000)]
[Test] Disable a broken unit test
Vsevolod Stakhov [Sun, 11 Dec 2022 22:07:12 +0000 (22:07 +0000)]
[Test] Fix a broken unit test
Vsevolod Stakhov [Sun, 11 Dec 2022 10:14:57 +0000 (10:14 +0000)]
[Ci] Fail on unit test failure
Vsevolod Stakhov [Sat, 10 Dec 2022 22:41:52 +0000 (22:41 +0000)]
[Test] Add test for the added features
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
Vsevolod Stakhov [Sat, 10 Dec 2022 19:37:02 +0000 (19:37 +0000)]
[Minor] Fix `is_write` usage for freshly loaded scripts
Vsevolod Stakhov [Fri, 9 Dec 2022 21:32:38 +0000 (21:32 +0000)]
[Minor] Rbl: Fix rdns pipeline
Issue: #4356
Vsevolod Stakhov [Thu, 8 Dec 2022 21:36:36 +0000 (21:36 +0000)]
[Minor] Chartable: Adjustments to the metatokens handling
Vsevolod Stakhov [Thu, 8 Dec 2022 20:51:27 +0000 (20:51 +0000)]
[Fix] Rbl: Fix helo check pipeline
Issue: #4356
Vsevolod Stakhov [Tue, 6 Dec 2022 22:01:59 +0000 (22:01 +0000)]
[Rework] Convert chartable plugin to c++ for convenience
Vsevolod Stakhov [Mon, 5 Dec 2022 21:39:24 +0000 (21:39 +0000)]
[Test] I got tired of that crap: just disable all broken tests as they fail not because of Rspamd
Vsevolod Stakhov [Mon, 5 Dec 2022 21:33:57 +0000 (21:33 +0000)]
[Test] Another try to fix a dummy server
Vsevolod Stakhov [Sun, 4 Dec 2022 19:48:43 +0000 (19:48 +0000)]
[Minor] Apply luacheck suggestions
Vsevolod Stakhov [Sat, 3 Dec 2022 15:55:13 +0000 (15:55 +0000)]
[Minor] Another try to fix ci