]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Thu, 10 Aug 2023 11:21:49 +0000 (12:21 +0100)]
[Test] Add one more test for urls parsing
Vsevolod Stakhov [Wed, 9 Aug 2023 16:31:04 +0000 (17:31 +0100)]
[Fix] Fix `url:set_redirected` method
Vsevolod Stakhov [Tue, 8 Aug 2023 15:04:03 +0000 (16:04 +0100)]
Merge pull request #4569 from moisseev/webui
[WebUI] Restore contrasting foreground color
moisseev [Tue, 8 Aug 2023 15:00:48 +0000 (18:00 +0300)]
[WebUI] Restore contrasting foreground color
for badges
Vsevolod Stakhov [Tue, 8 Aug 2023 12:33:21 +0000 (13:33 +0100)]
Merge pull request #4567 from moisseev/webui
[Minor] Update JS libraries
moisseev [Tue, 8 Aug 2023 07:41:18 +0000 (10:41 +0300)]
[Minor] Update JS libraries
Vsevolod Stakhov [Mon, 7 Aug 2023 14:10:32 +0000 (15:10 +0100)]
[Minor] Fix usage
Vsevolod Stakhov [Mon, 7 Aug 2023 13:52:12 +0000 (14:52 +0100)]
[Fix] Fix lua schema enrichment logic for Redis params
Vsevolod Stakhov [Mon, 7 Aug 2023 13:42:30 +0000 (14:42 +0100)]
[Fix] Fix merge table utility
Vsevolod Stakhov [Mon, 7 Aug 2023 12:32:48 +0000 (13:32 +0100)]
[Feature] Check for plugin configuration errors on `configtest`
Vsevolod Stakhov [Mon, 7 Aug 2023 12:32:20 +0000 (13:32 +0100)]
[Minor] Update function docs
Vsevolod Stakhov [Mon, 7 Aug 2023 12:30:50 +0000 (13:30 +0100)]
[Minor] Allow to call function from stack in rspamd_lua_universal_pcall
Vsevolod Stakhov [Mon, 7 Aug 2023 11:42:09 +0000 (12:42 +0100)]
[Minor] Move config stuff out
Vsevolod Stakhov [Mon, 7 Aug 2023 11:19:35 +0000 (12:19 +0100)]
[Minor] Remove unused utility, as it has been broken for ages
Vsevolod Stakhov [Mon, 7 Aug 2023 11:19:03 +0000 (12:19 +0100)]
[Minor] Allow to log configuration errors from plugins
Vsevolod Stakhov [Mon, 7 Aug 2023 10:41:28 +0000 (11:41 +0100)]
[Minor] Reformat all Lua code, no functional changes
Vsevolod Stakhov [Mon, 7 Aug 2023 10:25:52 +0000 (11:25 +0100)]
[Minor] Distinguish failures from unknown errors
Vsevolod Stakhov [Sun, 6 Aug 2023 17:33:37 +0000 (18:33 +0100)]
[CritFix] Fix leak in `gzip` function
Issue: #4564
Vsevolod Stakhov [Sat, 5 Aug 2023 18:45:04 +0000 (19:45 +0100)]
Merge pull request #4562 from helsinki-systems/fix/redis_schema_parsing
[Fix] Redis schema parsing
Simon Hauser [Fri, 4 Aug 2023 14:12:01 +0000 (16:12 +0200)]
fix: redis schema parsing
Vsevolod Stakhov [Fri, 4 Aug 2023 12:05:15 +0000 (13:05 +0100)]
Merge pull request #4560 from a16bitsysop/tests
[Fix] CMakeLists.txt remove whitespace added by linter as it makes te…
Duncan Bellamy [Thu, 3 Aug 2023 22:08:06 +0000 (22:08 +0000)]
[Fix] CMakeLists.txt remove whitespace added by linter as it makes tests fail
Vsevolod Stakhov [Thu, 3 Aug 2023 13:56:53 +0000 (14:56 +0100)]
[Minor] Update version to 3.7
Vsevolod Stakhov [Thu, 3 Aug 2023 13:55:15 +0000 (14:55 +0100)]
Release 3.6
* [Conf] Add `one_shot` to some specific multimap rules
* [Conf] Add language detection configuration
* [Conf] Add missing attributes for the language detection configuration
* [Conf] Remove outdated composite rules
* [Feature] Add `sentinel_password` option
* [Feature] Add ability to deny specific fuzzy flags by default
* [Feature] Add controller endpoint to get fuzzy hashes from messages
* [Feature] Add extra symbol when URL redirector reaches nested limit
* [Feature] Add function to transliterate utf8 to ascii with some normalisation
* [Feature] Add html parsing limit
* [Feature] Add order to urls structure
* [Feature] Add some missing functions to `lua_rsa` library
* [Feature] Allow fuzzy workers to exchange blocked information
* [Feature] Allow to have weak flags in fuzzy storage
* [Feature] Allow to read options from maps in the multimap plugin
* [Feature] Allow to use other methods when fasttext detection is enabled
* [Feature] Count stats per key per flag
* [Feature] Finish all features of dkim_keygen in Lua
* [Feature] Khash: Allow static initialisation
* [Feature] Maps: Add on_load support
* [Feature] Preliminary implementation of dynamic composites
* [Feature] Process HTML parts before text ones
* [Feature] Reorganise struct rspamd_url to be 64 bytes size
* [Feature] Save fuzzy ratelimit buckets
* [Feature] Use in-place deflation for strings
* [Feature] external_relay: add ip_map strategy
* [Fix] Avoid race between config new/free by using a counter
* [Fix] Do not use `rspamadm.dkim_keygen`
* [Fix] Feed fasttext language model with the pre-tokenized words
* [Fix] Fix `rspamd_has_only_html_part`
* [Fix] Fix an old issue with order of destruction race between redis pool and lua
* [Fix] Fix format string usage
* [Fix] Fix parsing due to old bug revealed
* [Fix] Fix parsing of the mask values that are invalid
* [Fix] Ignore non-unique stop words
* [Fix] Include the last character when parsing the last header with no value
* [Fix] More fixes to fuzzystat
* [Fix] Set proper counter
* [Fix] Try harder to clean pending bucket
* [Fix] Try harder to remove bad hyperscan files
* [Fix] Update stats before encryption...
* [Fix] dmarc gramar - allow spaces before ";"
* [Fix] rbl: fix dependency registration when symbols_prefixes is used
* [Fix] remove obsolete rspamd-redirector files
* [Fix] test external_relay: count should always be the last rule, as it have no matching condition
* [Project] Allow to register multimap symbols dynamically
* [Project] Implement fasttext language detection
* [Rework] Default max shots must not influence options
* [Rework] Write dkim keygen tool in lua
* [Rules] Add thread hijacking composite rule
Vsevolod Stakhov [Thu, 3 Aug 2023 06:54:44 +0000 (07:54 +0100)]
Merge pull request #4558 from twesterhever/temp-detect-google-amp-urls
[Minor] Tweak HAS_GOOGLE_REDIR to detect Google AMP URLs as well
Vsevolod Stakhov [Wed, 2 Aug 2023 14:37:43 +0000 (15:37 +0100)]
Merge pull request #4559 from fatalbanana/html_only
[Minor] Test & fix has_only_html_part regression
Andrew Lewis [Wed, 2 Aug 2023 14:35:16 +0000 (16:35 +0200)]
[Minor] Test & fix has_only_html_part regression
Vsevolod Stakhov [Wed, 2 Aug 2023 14:34:36 +0000 (15:34 +0100)]
[Fix] Fix `rspamd_has_only_html_part`
twesterhever [Wed, 2 Aug 2023 13:32:13 +0000 (13:32 +0000)]
[Minor] Tweak HAS_GOOGLE_REDIR to detect Google AMP URLs as well
Rationale: https://cofense.com/blog/google-amp-the-newest-of-evasive-phishing-tactic/
Vsevolod Stakhov [Wed, 2 Aug 2023 12:59:55 +0000 (13:59 +0100)]
[Minor] Allow symbols insertion for skipped tasks
Vsevolod Stakhov [Wed, 2 Aug 2023 12:33:03 +0000 (13:33 +0100)]
Merge pull request #4556 from twesterhever/temp-improve-freemail-aff
[Minor] Improve catch rates of FREEMAIL_AFF
twesterhever [Wed, 2 Aug 2023 07:40:09 +0000 (07:40 +0000)]
[Minor] Improve catch rates of FREEMAIL_AFF
Vsevolod Stakhov [Tue, 1 Aug 2023 15:07:13 +0000 (16:07 +0100)]
[Feature] Add `sentinel_password` option
Vsevolod Stakhov [Mon, 31 Jul 2023 15:06:44 +0000 (16:06 +0100)]
[Minor] Link with libatomic where possible
Issue: #4552
Vsevolod Stakhov [Mon, 31 Jul 2023 10:28:28 +0000 (11:28 +0100)]
[Dep] Update fmtlib to 10.0.0
Vsevolod Stakhov [Mon, 31 Jul 2023 10:27:28 +0000 (11:27 +0100)]
[Minor] Add fmt::format specialisation
Vsevolod Stakhov [Mon, 31 Jul 2023 09:14:39 +0000 (10:14 +0100)]
[Minor] Add missing include
Vsevolod Stakhov [Sun, 30 Jul 2023 20:07:56 +0000 (21:07 +0100)]
[Minor] Remove SunPro support as it is not really supported
Vsevolod Stakhov [Sat, 29 Jul 2023 18:29:52 +0000 (19:29 +0100)]
[Minor] Remove unused var
Vsevolod Stakhov [Fri, 28 Jul 2023 14:55:08 +0000 (15:55 +0100)]
[Minor] Improve log message
Vsevolod Stakhov [Thu, 27 Jul 2023 13:57:22 +0000 (14:57 +0100)]
[Fix] Avoid race between config new/free by using a counter
Vsevolod Stakhov [Wed, 26 Jul 2023 13:49:56 +0000 (14:49 +0100)]
[Minor] Fix pointers operations
Vsevolod Stakhov [Wed, 26 Jul 2023 13:19:39 +0000 (14:19 +0100)]
[Minor] Remove no longer used files
Vsevolod Stakhov [Wed, 26 Jul 2023 12:53:17 +0000 (13:53 +0100)]
[Minor] Add .overcommit.yml file so I won't loose my checks
Vsevolod Stakhov [Wed, 26 Jul 2023 12:43:45 +0000 (13:43 +0100)]
[Minor] Add Lua methods to get urls order
Vsevolod Stakhov [Wed, 26 Jul 2023 09:49:23 +0000 (10:49 +0100)]
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
Vsevolod Stakhov [Tue, 25 Jul 2023 14:56:43 +0000 (15:56 +0100)]
[Feature] Add order to urls structure
Vsevolod Stakhov [Mon, 24 Jul 2023 12:28:53 +0000 (13:28 +0100)]
[Minor] Oops: I have written too long in C++
Vsevolod Stakhov [Mon, 24 Jul 2023 12:27:44 +0000 (13:27 +0100)]
[Feature] Process HTML parts before text ones
Vsevolod Stakhov [Mon, 24 Jul 2023 12:09:16 +0000 (13:09 +0100)]
[Minor] Slightly change the text processing logic
Vsevolod Stakhov [Tue, 25 Jul 2023 10:16:38 +0000 (11:16 +0100)]
Merge pull request #4549 from fatalbanana/ratelimit
[Minor] Minor fixes for previous ratelimit changes
Andrew Lewis [Mon, 24 Jul 2023 17:00:36 +0000 (19:00 +0200)]
[Minor] Minor fixes for previous ratelimit changes
Vsevolod Stakhov [Mon, 24 Jul 2023 09:56:06 +0000 (10:56 +0100)]
[Minor] Propagate port from url parser
Vsevolod Stakhov [Mon, 24 Jul 2023 09:37:22 +0000 (10:37 +0100)]
[Minor] Restore old port behaviour
Vsevolod Stakhov [Sun, 23 Jul 2023 19:41:02 +0000 (20:41 +0100)]
[Feature] Reorganise struct rspamd_url to be 64 bytes size
Vsevolod Stakhov [Sun, 23 Jul 2023 09:43:53 +0000 (10:43 +0100)]
[Minor] Limit sse41 code to sse41 and x86_64
Vsevolod Stakhov [Sat, 22 Jul 2023 18:31:14 +0000 (19:31 +0100)]
Merge pull request #4547 from rheoli/dmarc_txt_fix
[Fix] dmarc gramar - allow spaces before ";"
Vsevolod Stakhov [Fri, 21 Jul 2023 13:01:24 +0000 (14:01 +0100)]
[Minor] Use unique ptr
Stephan Toggweiler [Fri, 21 Jul 2023 07:15:07 +0000 (09:15 +0200)]
[Fix] dmarc gramar - allow spaces before ";"
The ABNF in https://www.rfc-editor.org/rfc/rfc7489#section-6.4 define that its allowed to have spaces before ";"
Vsevolod Stakhov [Thu, 20 Jul 2023 21:18:33 +0000 (22:18 +0100)]
[Minor] Add Lua API for transliterate function
Vsevolod Stakhov [Thu, 20 Jul 2023 20:43:08 +0000 (21:43 +0100)]
[Feature] Add function to transliterate utf8 to ascii with some normalisation
Vsevolod Stakhov [Mon, 17 Jul 2023 20:05:33 +0000 (21:05 +0100)]
[Minor] Remove assertion in lieu of a log message
Issue: #4533
Closes: #4533
Vsevolod Stakhov [Mon, 17 Jul 2023 16:17:33 +0000 (17:17 +0100)]
Another try for RHEL9
Vsevolod Stakhov [Sun, 16 Jul 2023 21:18:57 +0000 (22:18 +0100)]
[Minor] Another try to use the proper linker
Vsevolod Stakhov [Sun, 16 Jul 2023 21:09:46 +0000 (22:09 +0100)]
[Minor] Do not use lld when clang is not the compiler...
Vsevolod Stakhov [Sat, 15 Jul 2023 12:38:04 +0000 (13:38 +0100)]
Merge pull request #4541 from sthen/patch-1
replace ECDSA_sign_setup/ECDSA_sign_ex with ECDSA_sign
Stuart Henderson [Sat, 15 Jul 2023 11:41:55 +0000 (11:41 +0000)]
replace ECDSA_sign_setup/ECDSA_sign_ex with ECDSA_sign
There's no need to use ECDSA_sign_setup/ECDSA_sign_ex separately, a single call to ECDSA_sign will handle everything that's needed here.
Avoids breakage with a soon-to-be-committed change to LibreSSL to remove ECDSA_sign_setup/ex from libcrypto.
Vsevolod Stakhov [Thu, 13 Jul 2023 14:48:46 +0000 (15:48 +0100)]
Merge pull request #4539 from dragoangel/patch-3
[Minor] A bit better apple_x_mailer regex
Dmitriy Alekseev [Wed, 12 Jul 2023 15:02:00 +0000 (18:02 +0300)]
Adjust apple_x_mailer regex
Dmitriy Alekseev [Wed, 12 Jul 2023 11:00:25 +0000 (14:00 +0300)]
[Minor] A bit better apple_x_mailer regex
Vsevolod Stakhov [Wed, 12 Jul 2023 10:42:58 +0000 (11:42 +0100)]
Merge pull request #4538 from dragoangel/patch-2
[Feature] Detect Apple Mail and remove scores for their known common behavior
Dmitriy Alekseev [Wed, 12 Jul 2023 10:23:33 +0000 (13:23 +0300)]
Optimize apple_ios_x_mailer regex
Vsevolod Stakhov [Tue, 11 Jul 2023 18:55:30 +0000 (19:55 +0100)]
Merge pull request #4537 from moesoha/relay/ip_map
[Feature] external_relay: add ip_map strategy
Dmitriy Alekseev [Tue, 11 Jul 2023 18:28:43 +0000 (21:28 +0300)]
Add composites exclusions for known Apple Mail bad symbols
Dmitriy Alekseev [Tue, 11 Jul 2023 18:22:17 +0000 (21:22 +0300)]
Support regex rules to detect Apple Mail
Soha Jin [Tue, 11 Jul 2023 12:28:07 +0000 (20:28 +0800)]
[Feature] external_relay: add ip_map strategy
Soha Jin [Tue, 11 Jul 2023 12:27:53 +0000 (20:27 +0800)]
[Fix] test external_relay: count should always be the last rule,
as it have no matching condition
Vsevolod Stakhov [Sun, 9 Jul 2023 21:41:28 +0000 (22:41 +0100)]
[Minor] Fix another `enum` usage in fmt
Issue: #4482
Vsevolod Stakhov [Thu, 6 Jul 2023 20:50:24 +0000 (21:50 +0100)]
Merge pull request #4532 from mrueg/bookworm
Dockerfile: Switch to bookworm
Manuel Rüger [Wed, 5 Jul 2023 20:41:14 +0000 (22:41 +0200)]
Dockerfile: Switch to bookworm
Vsevolod Stakhov [Wed, 5 Jul 2023 20:33:36 +0000 (21:33 +0100)]
[Minor] Fix fuzzy_unlearn_handler when a flag is specified
Issue: #4531
Vsevolod Stakhov [Mon, 3 Jul 2023 22:00:12 +0000 (23:00 +0100)]
[Minor] One more compatibility fix
Vsevolod Stakhov [Sun, 2 Jul 2023 16:39:07 +0000 (17:39 +0100)]
[Minor] Try to be more compatible
Vsevolod Stakhov [Sun, 2 Jul 2023 16:33:28 +0000 (17:33 +0100)]
[Minor] Lua_magic: Try to reduce fp rate for html heuristic
Vsevolod Stakhov [Sat, 1 Jul 2023 19:02:35 +0000 (20:02 +0100)]
[Minor] Fix log message
Vsevolod Stakhov [Sat, 1 Jul 2023 18:56:23 +0000 (19:56 +0100)]
[Minor] Try to save ratelimits from the proper worker
Vsevolod Stakhov [Sat, 1 Jul 2023 14:22:10 +0000 (15:22 +0100)]
[Feature] Save fuzzy ratelimit buckets
Vsevolod Stakhov [Sat, 1 Jul 2023 13:28:43 +0000 (14:28 +0100)]
[Minor] Do not block rate limit elements in fuzzy forever
Vsevolod Stakhov [Sat, 1 Jul 2023 12:32:22 +0000 (13:32 +0100)]
[Feature] Allow fuzzy workers to exchange blocked information
Vsevolod Stakhov [Mon, 26 Jun 2023 20:01:25 +0000 (21:01 +0100)]
[Minor] Remove redundant check
Vsevolod Stakhov [Sun, 25 Jun 2023 18:37:58 +0000 (19:37 +0100)]
[Feature] Preliminary implementation of dynamic composites
Vsevolod Stakhov [Sat, 24 Jun 2023 18:28:33 +0000 (19:28 +0100)]
[Minor] Missing include?
Vsevolod Stakhov [Sat, 24 Jun 2023 14:52:34 +0000 (15:52 +0100)]
[Tests] Add unit tests
Vsevolod Stakhov [Sat, 24 Jun 2023 14:51:57 +0000 (15:51 +0100)]
[Minor] Add utility to split strings on some character
Vsevolod Stakhov [Sat, 24 Jun 2023 13:55:55 +0000 (14:55 +0100)]
[Minor] Add utility to iterate over a list of newline separated strings
Vsevolod Stakhov [Fri, 23 Jun 2023 19:40:35 +0000 (20:40 +0100)]
Merge pull request #4519 from twesterhever/temp-html-attachments
[Enhancement] Treat HTML attachments as (slightly) bad
Vsevolod Stakhov [Fri, 23 Jun 2023 16:57:59 +0000 (17:57 +0100)]
Merge pull request #4520 from mariojansen/master
if elasticsearch_version >= 7 we should not send the _type to elastic…
Mario Jansen [Fri, 23 Jun 2023 11:59:50 +0000 (13:59 +0200)]
if elasticsearch_version >= 7 we should not send the _type to elasticsearch, deprecated in es 7, obsolete in es 8
twesterhever [Fri, 23 Jun 2023 08:54:21 +0000 (08:54 +0000)]
[Minor] Fix missing and superflous comma
Thanks, @moisseev!
Vsevolod Stakhov [Thu, 22 Jun 2023 22:02:30 +0000 (23:02 +0100)]
Merge pull request #4497 from twesterhever/temp-improve-has-google-redir
[Enhancement] Improve detection of Google redirection URLs