]> source.dussan.org Git - rspamd.git/log
rspamd.git
16 months ago[Minor] Always report multipattern compile error
Vsevolod Stakhov [Thu, 18 May 2023 19:28:21 +0000 (20:28 +0100)]
[Minor] Always report multipattern compile error

Issue: #4487

17 months ago[Minor] Fix newindex
Vsevolod Stakhov [Tue, 16 May 2023 10:41:53 +0000 (11:41 +0100)]
[Minor] Fix newindex

17 months ago[Minor] Allow more sane flags and ids syntax when register symbols
Vsevolod Stakhov [Tue, 16 May 2023 10:01:24 +0000 (11:01 +0100)]
[Minor] Allow more sane flags and ids syntax when register symbols

For example, flags could be defined as:

```lua
rspamd_config.register_symbol{
    flags = ['ignore_passthrough', 'nice']
  }
```

instead of (compatibility is still there):
```lua
rspamd_config.register_symbol{
    flags = 'ignore_passthrough,nice'
  }
```

17 months ago[Minor] Fix old bug that score was not converted to a number
Vsevolod Stakhov [Mon, 15 May 2023 08:18:45 +0000 (09:18 +0100)]
[Minor] Fix old bug that score was not converted to a number

17 months ago[Test] Add multimap options test
Vsevolod Stakhov [Mon, 15 May 2023 08:06:45 +0000 (09:06 +0100)]
[Test] Add multimap options test

17 months ago[Feature] Allow to read options from maps in the multimap plugin
Vsevolod Stakhov [Sat, 13 May 2023 21:24:16 +0000 (22:24 +0100)]
[Feature] Allow to read options from maps in the multimap plugin

Issue: #4468

17 months ago[Minor] Show percentages
Vsevolod Stakhov [Sat, 13 May 2023 14:24:25 +0000 (15:24 +0100)]
[Minor] Show percentages

17 months ago[Minor] Allow to run without an explicit group name when `-u` is set
Vsevolod Stakhov [Sat, 13 May 2023 12:31:23 +0000 (13:31 +0100)]
[Minor] Allow to run without an explicit group name when `-u` is set

17 months ago[Fix] Fix format string usage
Vsevolod Stakhov [Sat, 13 May 2023 12:18:46 +0000 (13:18 +0100)]
[Fix] Fix format string usage

Issue: #4482

17 months ago[Fix] Set proper counter
Vsevolod Stakhov [Fri, 12 May 2023 11:01:25 +0000 (12:01 +0100)]
[Fix] Set proper counter

17 months ago[Fix] More fixes to fuzzystat
Vsevolod Stakhov [Fri, 12 May 2023 10:04:04 +0000 (11:04 +0100)]
[Fix] More fixes to fuzzystat

17 months ago[Fix] Update stats before encryption...
Vsevolod Stakhov [Fri, 12 May 2023 09:50:14 +0000 (10:50 +0100)]
[Fix] Update stats before encryption...

17 months ago[Minor] Ignore FUZZY_STAT
Vsevolod Stakhov [Fri, 12 May 2023 09:38:20 +0000 (10:38 +0100)]
[Minor] Ignore FUZZY_STAT

17 months ago[Minor] Fix flags stat
Vsevolod Stakhov [Fri, 12 May 2023 08:45:08 +0000 (09:45 +0100)]
[Minor] Fix flags stat

17 months ago[Minor] Fix fuzzy stats
Vsevolod Stakhov [Fri, 12 May 2023 08:23:57 +0000 (09:23 +0100)]
[Minor] Fix fuzzy stats

17 months ago[Conf] Remove outdated composite rules
Vsevolod Stakhov [Tue, 9 May 2023 19:45:07 +0000 (20:45 +0100)]
[Conf] Remove outdated composite rules

17 months ago[Minor] Print flags stat
Vsevolod Stakhov [Tue, 9 May 2023 05:14:27 +0000 (06:14 +0100)]
[Minor] Print flags stat

17 months ago[Minor] Output flags stat per key
Vsevolod Stakhov [Mon, 8 May 2023 18:31:43 +0000 (19:31 +0100)]
[Minor] Output flags stat per key

17 months ago[Minor] Add utility to iterate over values by pointer and keys
Vsevolod Stakhov [Mon, 8 May 2023 17:43:36 +0000 (18:43 +0100)]
[Minor] Add utility to iterate over values by pointer and keys

17 months ago[Feature] Count stats per key per flag
Vsevolod Stakhov [Mon, 8 May 2023 17:26:51 +0000 (18:26 +0100)]
[Feature] Count stats per key per flag

17 months ago[Minor] More code modernisations
Vsevolod Stakhov [Sun, 7 May 2023 04:01:02 +0000 (05:01 +0100)]
[Minor] More code modernisations

17 months ago[Minor] Fix some legacy
Vsevolod Stakhov [Sun, 7 May 2023 01:24:40 +0000 (02:24 +0100)]
[Minor] Fix some legacy

17 months ago[Minor] Show the fasttext status in version output
Vsevolod Stakhov [Sat, 6 May 2023 01:35:55 +0000 (02:35 +0100)]
[Minor] Show the fasttext status in version output

17 months ago[Minor] Lua_util: Add normalize_utf8 utility
Vsevolod Stakhov [Fri, 5 May 2023 16:35:13 +0000 (17:35 +0100)]
[Minor] Lua_util: Add normalize_utf8 utility

Issue: #4475

17 months ago[Minor] Fix build on systems with no monotonic clock
Vsevolod Stakhov [Thu, 4 May 2023 06:23:08 +0000 (07:23 +0100)]
[Minor] Fix build on systems with no monotonic clock

Issue: #4478

17 months ago[Minor] Fix spelling mistake
Vsevolod Stakhov [Thu, 4 May 2023 06:07:47 +0000 (07:07 +0100)]
[Minor] Fix spelling mistake

17 months ago[Minor] Add some more debug to the fasttext classifier
Vsevolod Stakhov [Wed, 3 May 2023 11:08:01 +0000 (12:08 +0100)]
[Minor] Add some more debug to the fasttext classifier

17 months ago[Feature] Allow to use other methods when fasttext detection is enabled
Vsevolod Stakhov [Tue, 2 May 2023 17:03:49 +0000 (18:03 +0100)]
[Feature] Allow to use other methods when fasttext detection is enabled

17 months ago[Fix] Feed fasttext language model with the pre-tokenized words
Vsevolod Stakhov [Tue, 2 May 2023 16:56:14 +0000 (17:56 +0100)]
[Fix] Feed fasttext language model with the pre-tokenized words

17 months ago[Conf] Add missing attributes for the language detection configuration
Vsevolod Stakhov [Sun, 30 Apr 2023 19:52:40 +0000 (20:52 +0100)]
[Conf] Add missing attributes for the language detection configuration

17 months agoMerge pull request #4473 from rspamd/vstakhov-fasttext-langdet
Vsevolod Stakhov [Sat, 29 Apr 2023 17:09:17 +0000 (18:09 +0100)]
Merge pull request #4473 from rspamd/vstakhov-fasttext-langdet

[Feature] Add fasttext language detector to Rspamd

17 months ago[Project] Some further fixes vstakhov-fasttext-langdet 4473/head
Vsevolod Stakhov [Sat, 29 Apr 2023 16:44:16 +0000 (17:44 +0100)]
[Project] Some further fixes

17 months ago[Fix] Ignore non-unique stop words
Vsevolod Stakhov [Sat, 29 Apr 2023 15:00:52 +0000 (16:00 +0100)]
[Fix] Ignore non-unique stop words

17 months ago[Project] Implement fasttext language detection
Vsevolod Stakhov [Sat, 29 Apr 2023 14:47:15 +0000 (15:47 +0100)]
[Project] Implement fasttext language detection

17 months ago[Conf] Add language detection configuration
Vsevolod Stakhov [Sat, 29 Apr 2023 13:53:40 +0000 (14:53 +0100)]
[Conf] Add language detection configuration

17 months ago[Project] Show fasttext info
Vsevolod Stakhov [Sat, 29 Apr 2023 13:46:55 +0000 (14:46 +0100)]
[Project] Show fasttext info

17 months ago[Project] Add preliminary language detector based on fasttext library
Vsevolod Stakhov [Sat, 29 Apr 2023 13:22:41 +0000 (14:22 +0100)]
[Project] Add preliminary language detector based on fasttext library

17 months ago[Minor] Remove unused macro
Vsevolod Stakhov [Thu, 27 Apr 2023 20:40:59 +0000 (21:40 +0100)]
[Minor] Remove unused macro

17 months ago[Test] Fix unit tests
Vsevolod Stakhov [Wed, 26 Apr 2023 21:56:53 +0000 (22:56 +0100)]
[Test] Fix unit tests

17 months ago[Feature] Add html parsing limit
Vsevolod Stakhov [Wed, 26 Apr 2023 21:54:24 +0000 (22:54 +0100)]
[Feature] Add html parsing limit

17 months ago[Minor] Use utf8 compatible comparison
Vsevolod Stakhov [Tue, 25 Apr 2023 21:37:06 +0000 (22:37 +0100)]
[Minor] Use utf8 compatible comparison

17 months ago[Conf] Add `one_shot` to some specific multimap rules
Vsevolod Stakhov [Sun, 23 Apr 2023 20:03:07 +0000 (21:03 +0100)]
[Conf] Add `one_shot` to some specific multimap rules

17 months ago[Minor] Add build system support for fasttext library
Vsevolod Stakhov [Sun, 23 Apr 2023 19:53:39 +0000 (20:53 +0100)]
[Minor] Add build system support for fasttext library

17 months ago[Minor] Improve options
Vsevolod Stakhov [Sat, 22 Apr 2023 12:03:12 +0000 (13:03 +0100)]
[Minor] Improve options

17 months ago[Feature] Add extra symbol when URL redirector reaches nested limit
Vsevolod Stakhov [Sat, 22 Apr 2023 11:57:47 +0000 (12:57 +0100)]
[Feature] Add extra symbol when URL redirector reaches nested limit

Issue: #4406

17 months ago[Fix] Include the last character when parsing the last header with no value
Vsevolod Stakhov [Fri, 21 Apr 2023 20:11:11 +0000 (21:11 +0100)]
[Fix] Include the last character when parsing the last header with no value

Issue: #4388

18 months agoMerge pull request #4422 from a16bitsysop/redirector
Vsevolod Stakhov [Mon, 17 Apr 2023 19:41:45 +0000 (20:41 +0100)]
Merge pull request #4422 from a16bitsysop/redirector

[Fix] remove obsolete rspamd-redirector files

18 months agoMerge pull request #4461 from moisseev/webui
Vsevolod Stakhov [Sun, 16 Apr 2023 22:17:38 +0000 (23:17 +0100)]
Merge pull request #4461 from moisseev/webui

[Minor] Fix pagination control border radius

18 months agoMerge pull request #4449 from jendis/fix_arc
Vsevolod Stakhov [Sat, 15 Apr 2023 06:53:03 +0000 (07:53 +0100)]
Merge pull request #4449 from jendis/fix_arc

[CritFix] Fix arc signing

18 months ago[Minor] Remove obsolete CSS rule 4461/head
moisseev [Thu, 13 Apr 2023 13:50:09 +0000 (16:50 +0300)]
[Minor] Remove obsolete CSS rule

18 months ago[Minor] Fix pagination control border radius
moisseev [Thu, 13 Apr 2023 09:40:53 +0000 (12:40 +0300)]
[Minor] Fix pagination control border radius

18 months ago[Minor] Update lua-tableshape to 2.6.0
Vsevolod Stakhov [Sun, 9 Apr 2023 11:42:03 +0000 (12:42 +0100)]
[Minor] Update lua-tableshape to 2.6.0

Issue: #4455

18 months ago[Minor] Fix include/exclude policy
Vsevolod Stakhov [Sat, 8 Apr 2023 21:05:14 +0000 (22:05 +0100)]
[Minor] Fix include/exclude policy

18 months ago[Feature] Add ability to deny specific fuzzy flags by default
Vsevolod Stakhov [Sat, 8 Apr 2023 20:45:39 +0000 (21:45 +0100)]
[Feature] Add ability to deny specific fuzzy flags by default

18 months ago[Minor] Pet luacheck
Vsevolod Stakhov [Fri, 7 Apr 2023 20:54:58 +0000 (21:54 +0100)]
[Minor] Pet luacheck

18 months ago[Minor] Fix key type in output
Vsevolod Stakhov [Fri, 7 Apr 2023 20:50:14 +0000 (21:50 +0100)]
[Minor] Fix key type in output

18 months ago[Minor] Print more useful information in the `--version` output
Vsevolod Stakhov [Fri, 7 Apr 2023 20:36:45 +0000 (21:36 +0100)]
[Minor] Print more useful information in the `--version` output

18 months ago[Minor] Add `dnskey` type of output
Vsevolod Stakhov [Fri, 7 Apr 2023 20:17:44 +0000 (21:17 +0100)]
[Minor] Add `dnskey` type of output

Issue: #4429

18 months ago[Fix] Do not use `rspamadm.dkim_keygen`
Vsevolod Stakhov [Fri, 7 Apr 2023 15:54:37 +0000 (16:54 +0100)]
[Fix] Do not use `rspamadm.dkim_keygen`

18 months ago[Feature] Finish all features of dkim_keygen in Lua
Vsevolod Stakhov [Fri, 7 Apr 2023 15:38:50 +0000 (16:38 +0100)]
[Feature] Finish all features of dkim_keygen in Lua

18 months ago[Rework] Write dkim keygen tool in lua
Vsevolod Stakhov [Fri, 7 Apr 2023 15:08:15 +0000 (16:08 +0100)]
[Rework] Write dkim keygen tool in lua

18 months ago[Minor] Allow to save private key in output
Vsevolod Stakhov [Fri, 7 Apr 2023 14:59:46 +0000 (15:59 +0100)]
[Minor] Allow to save private key in output

18 months ago[Minor] Fix openssl invocation
Vsevolod Stakhov [Fri, 7 Apr 2023 13:34:34 +0000 (14:34 +0100)]
[Minor] Fix openssl invocation

18 months ago[Test] Add unit testing
Vsevolod Stakhov [Fri, 7 Apr 2023 11:06:25 +0000 (12:06 +0100)]
[Test] Add unit testing

18 months ago[Feature] Add some missing functions to `lua_rsa` library
Vsevolod Stakhov [Fri, 7 Apr 2023 11:06:07 +0000 (12:06 +0100)]
[Feature] Add some missing functions to `lua_rsa` library

18 months agoMerge pull request #4457 from moisseev/rspamd-stats
Vsevolod Stakhov [Thu, 6 Apr 2023 21:07:28 +0000 (22:07 +0100)]
Merge pull request #4457 from moisseev/rspamd-stats

[Minor] Use a scalar variable as a dir handle

18 months ago[Minor] Use a scalar variable as a dir handle 4457/head
Alexander Moisseev [Thu, 6 Apr 2023 14:22:52 +0000 (17:22 +0300)]
[Minor] Use a scalar variable as a dir handle

instead of a bareword

18 months ago[Minor] Re-sign drone yaml
Vsevolod Stakhov [Wed, 5 Apr 2023 19:00:04 +0000 (20:00 +0100)]
[Minor] Re-sign drone yaml

18 months agoMerge pull request #4453 from moisseev/webui
Vsevolod Stakhov [Wed, 5 Apr 2023 18:59:44 +0000 (19:59 +0100)]
Merge pull request #4453 from moisseev/webui

[WebUI] Fix "Clean history" button enabling/disabling in the Scan tab

18 months ago[Test] Fix Stylelint and npm warnings 4453/head
moisseev [Wed, 5 Apr 2023 15:21:18 +0000 (18:21 +0300)]
[Test] Fix Stylelint and npm warnings

18 months ago[WebUI] Fix "Clean history" button
moisseev [Wed, 5 Apr 2023 14:07:31 +0000 (17:07 +0300)]
[WebUI] Fix "Clean history" button

enabling/disabling in the Scan tab

18 months ago[Rework] Default max shots must not influence options
Vsevolod Stakhov [Tue, 4 Apr 2023 21:31:13 +0000 (22:31 +0100)]
[Rework] Default max shots must not influence options

Issue: #4450

18 months ago[Minor] Do not propagate broken headers flag for attached messages
Vsevolod Stakhov [Mon, 3 Apr 2023 20:24:00 +0000 (21:24 +0100)]
[Minor] Do not propagate broken headers flag for attached messages

18 months agofixup! arc.lua: fix signature of ARC-Seal header 4449/head
Jan Smutny [Fri, 31 Mar 2023 14:21:20 +0000 (16:21 +0200)]
fixup! arc.lua: fix signature of ARC-Seal header

18 months agoMerge pull request #4448 from simbuerg/simbuerg/fix-double-dip-ratelimit
Vsevolod Stakhov [Thu, 30 Mar 2023 16:57:50 +0000 (17:57 +0100)]
Merge pull request #4448 from simbuerg/simbuerg/fix-double-dip-ratelimit

[Fix] Avoid double-dip of nrcpt when calculating ratelimit condition

18 months agoarc.lua: fix signature of ARC-Seal header
Jan Smutny [Thu, 30 Mar 2023 09:16:53 +0000 (11:16 +0200)]
arc.lua: fix signature of ARC-Seal header

The ARC Set header field values must be supplied to the hash function in increasing
instance order, starting at 1.
Defined in https://www.rfc-editor.org/rfc/rfc8617.html#section-5.1.1.

18 months agoarc.lua: fix usage of ARC-Authentication-Results in arc_sign_seal func
Jan Smutny [Mon, 20 Mar 2023 08:48:26 +0000 (09:48 +0100)]
arc.lua: fix usage of ARC-Authentication-Results in arc_sign_seal func

The ARC-Authentication-Results header field was gathered in function arc_sign_seal
directly from headers.
This commit adds the sorted ARC-Authentication-Results header to cache
which is then reused in arc_sign_seal function.

18 months agofix: avoid double-dip of nrcpt when calculating ratelimit condition 4448/head
Andreas Simbuerger [Wed, 29 Mar 2023 16:08:57 +0000 (18:08 +0200)]
fix: avoid double-dip of nrcpt when calculating ratelimit condition

Before this commit, rspamd would consider the number of recipients of
the current message twice when calculating the ratelimit condition.

18 months ago[Test] Add unit tests for the compression functions
Vsevolod Stakhov [Sun, 26 Mar 2023 12:16:48 +0000 (13:16 +0100)]
[Test] Add unit tests for the compression functions

18 months ago[Minor] Fix some issues with the in-place gzip, add gunzip
Vsevolod Stakhov [Sun, 26 Mar 2023 12:16:24 +0000 (13:16 +0100)]
[Minor] Fix some issues with the in-place gzip, add gunzip

18 months ago[Feature] Use in-place deflation for strings
Vsevolod Stakhov [Sat, 25 Mar 2023 16:00:14 +0000 (16:00 +0000)]
[Feature] Use in-place deflation for strings

18 months agoMerge pull request #4444 from moisseev/bootstrap-v5
Vsevolod Stakhov [Sat, 25 Mar 2023 15:27:06 +0000 (15:27 +0000)]
Merge pull request #4444 from moisseev/bootstrap-v5

[WebUI] Migrate to Bootstrap v5.2

18 months ago[Minor] Sigh, some more portability for gcc
Vsevolod Stakhov [Sat, 25 Mar 2023 15:26:34 +0000 (15:26 +0000)]
[Minor] Sigh, some more portability for gcc

18 months ago[Minor] Remove dup
Vsevolod Stakhov [Sat, 25 Mar 2023 15:13:43 +0000 (15:13 +0000)]
[Minor] Remove dup

18 months ago[Minor] A more universal one..
Vsevolod Stakhov [Sat, 25 Mar 2023 14:59:48 +0000 (14:59 +0000)]
[Minor] A more universal one..

18 months ago[Minor] Uh-oh, fix compilers compatibility
Vsevolod Stakhov [Sat, 25 Mar 2023 14:58:50 +0000 (14:58 +0000)]
[Minor] Uh-oh, fix compilers compatibility

18 months ago[Minor] Print important Rspamd definitions in `-v` output
Vsevolod Stakhov [Sat, 25 Mar 2023 14:55:51 +0000 (14:55 +0000)]
[Minor] Print important Rspamd definitions in `-v` output

18 months ago[Minor] Neural: Extract lua scripts
Vsevolod Stakhov [Sat, 25 Mar 2023 13:49:16 +0000 (13:49 +0000)]
[Minor] Neural: Extract lua scripts

18 months ago[Minor] Add some more comments as we now strip them
Vsevolod Stakhov [Sat, 25 Mar 2023 13:40:31 +0000 (13:40 +0000)]
[Minor] Add some more comments as we now strip them

18 months ago[Minor] Improve style in the scripts
Vsevolod Stakhov [Sat, 25 Mar 2023 13:19:35 +0000 (13:19 +0000)]
[Minor] Improve style in the scripts

18 months ago[Minor] Move redis scripts from ratelimit file to simplify checks
Vsevolod Stakhov [Sat, 25 Mar 2023 12:40:15 +0000 (12:40 +0000)]
[Minor] Move redis scripts from ratelimit file to simplify checks

18 months ago[Minor] Load redis scripts from the prefix to simplify calls
Vsevolod Stakhov [Sat, 25 Mar 2023 12:30:15 +0000 (12:30 +0000)]
[Minor] Load redis scripts from the prefix to simplify calls

18 months ago[Minor] Add a utility to join path components
Vsevolod Stakhov [Fri, 24 Mar 2023 15:21:33 +0000 (15:21 +0000)]
[Minor] Add a utility to join path components

18 months ago[Minor] Allow to load Redis script from a file
Vsevolod Stakhov [Fri, 24 Mar 2023 09:19:30 +0000 (09:19 +0000)]
[Minor] Allow to load Redis script from a file

18 months ago[Minor] Add a simple function to strip Lua comments
Vsevolod Stakhov [Thu, 23 Mar 2023 18:25:06 +0000 (18:25 +0000)]
[Minor] Add a simple function to strip Lua comments

18 months ago[Minor] Avoid Stylelint warnings 4444/head
moisseev [Thu, 23 Mar 2023 14:27:32 +0000 (17:27 +0300)]
[Minor] Avoid Stylelint warnings

18 months ago[WebUI] Migrate to Bootstrap v5.2
moisseev [Thu, 23 Mar 2023 14:13:03 +0000 (17:13 +0300)]
[WebUI] Migrate to Bootstrap v5.2

18 months ago[Test] Add some more test cases
Vsevolod Stakhov [Tue, 21 Mar 2023 22:10:34 +0000 (22:10 +0000)]
[Test] Add some more test cases

18 months ago[Minor] Disable clang as a compiler for debian distros
Vsevolod Stakhov [Sun, 19 Mar 2023 08:04:53 +0000 (08:04 +0000)]
[Minor] Disable clang as a compiler for debian distros

19 months ago[Minor] Sigh, another try to fix debian rules
Vsevolod Stakhov [Sat, 18 Mar 2023 14:42:10 +0000 (14:42 +0000)]
[Minor] Sigh, another try to fix debian rules