]> source.dussan.org Git - rspamd.git/log
rspamd.git
17 months ago[Feature] Khash: Allow static initialisation
Vsevolod Stakhov [Sat, 17 Jun 2023 13:50:08 +0000 (14:50 +0100)]
[Feature] Khash: Allow static initialisation

17 months ago[Fix] Try harder to clean pending bucket
Vsevolod Stakhov [Sat, 17 Jun 2023 12:06:52 +0000 (13:06 +0100)]
[Fix] Try harder to clean pending bucket

Issue: #4467

17 months ago[Minor] Oops, fix build
Vsevolod Stakhov [Sat, 17 Jun 2023 11:22:00 +0000 (12:22 +0100)]
[Minor] Oops, fix build

17 months ago[Minor] Allow to allocate rspamd_text from task
Vsevolod Stakhov [Sat, 17 Jun 2023 11:19:01 +0000 (12:19 +0100)]
[Minor] Allow to allocate rspamd_text from task

17 months ago[Minor] Fix Lua stack
Vsevolod Stakhov [Wed, 14 Jun 2023 21:31:16 +0000 (22:31 +0100)]
[Minor] Fix Lua stack

17 months ago[Minor] Another workaround for a broken OpenSSL API
Vsevolod Stakhov [Wed, 14 Jun 2023 18:31:13 +0000 (19:31 +0100)]
[Minor] Another workaround for a broken OpenSSL API

17 months ago[Minor] Parse remaning content when reaching html limit
Vsevolod Stakhov [Tue, 13 Jun 2023 21:10:17 +0000 (22:10 +0100)]
[Minor] Parse remaning content when reaching html limit

17 months ago[Minor] Fix another usage of EC_POINT_point2bn
Vsevolod Stakhov [Mon, 12 Jun 2023 11:23:15 +0000 (12:23 +0100)]
[Minor] Fix another usage of EC_POINT_point2bn

17 months ago[Minor] Try to fix build with (broken) OpenSSL API
Vsevolod Stakhov [Mon, 12 Jun 2023 10:52:00 +0000 (11:52 +0100)]
[Minor] Try to fix build with (broken) OpenSSL API

17 months agoMerge pull request #4494 from twesterhever/temp-arm-google-firebase
Vsevolod Stakhov [Sun, 11 Jun 2023 18:00:02 +0000 (19:00 +0100)]
Merge pull request #4494 from twesterhever/temp-arm-google-firebase

[Rules] Make Google Firebase rule productive

17 months ago[Minor] Adjust prototype
Vsevolod Stakhov [Sat, 10 Jun 2023 21:45:21 +0000 (22:45 +0100)]
[Minor] Adjust prototype

17 months ago[Test] Add test cases for dynamic symbols
Vsevolod Stakhov [Sat, 10 Jun 2023 17:07:03 +0000 (18:07 +0100)]
[Test] Add test cases for dynamic symbols

17 months agoMerge pull request #4495 from twesterhever/temp-onoin-url
Vsevolod Stakhov [Sun, 4 Jun 2023 15:36:57 +0000 (16:36 +0100)]
Merge pull request #4495 from twesterhever/temp-onoin-url

[Minor] Move HAS_ONION_URI from "experimental" to "url" group

17 months agoMerge pull request #4507 from twesterhever/temp-composites-thread-hijacking-injector
Vsevolod Stakhov [Sat, 3 Jun 2023 20:03:37 +0000 (21:03 +0100)]
Merge pull request #4507 from twesterhever/temp-composites-thread-hijacking-injector

[Rules] Add thread hijacking composite rule

17 months agoMerge pull request #4505 from twesterhever/temp-misc-cleanups-and-housekeeping-v2
Vsevolod Stakhov [Sat, 3 Jun 2023 20:02:50 +0000 (21:02 +0100)]
Merge pull request #4505 from twesterhever/temp-misc-cleanups-and-housekeeping-v2

[Minor] Assorted cleanup and housekeeping of configuration files, take 2

17 months agoApply suggestions from code review 4505/head
Vsevolod Stakhov [Sat, 3 Jun 2023 20:02:27 +0000 (21:02 +0100)]
Apply suggestions from code review

17 months agoMerge pull request #4508 from twesterhever/temp-attachment-scorings
Vsevolod Stakhov [Fri, 2 Jun 2023 19:58:04 +0000 (20:58 +0100)]
Merge pull request #4508 from twesterhever/temp-attachment-scorings

[Minor] Add additional bad extensions

17 months ago[Minor] Fix description of MIME_HTML_ONLY
twesterhever [Fri, 2 Jun 2023 19:50:48 +0000 (19:50 +0000)]
[Minor] Fix description of MIME_HTML_ONLY

Thanks, @moisseev!

17 months agoMerge pull request #4506 from twesterhever/temp-improve-hacked-wp-phishing
Vsevolod Stakhov [Fri, 2 Jun 2023 19:48:05 +0000 (20:48 +0100)]
Merge pull request #4506 from twesterhever/temp-improve-hacked-wp-phishing

[Minor] Improve HACKED_WP_PHISHING coverage

17 months ago[Minor] Add additional bad extensions 4508/head
twesterhever [Fri, 2 Jun 2023 10:46:47 +0000 (10:46 +0000)]
[Minor] Add additional bad extensions

17 months ago[Minor] Fix RCVD_UNAUTH_PBL 4507/head
twesterhever [Fri, 2 Jun 2023 10:19:41 +0000 (10:19 +0000)]
[Minor] Fix RCVD_UNAUTH_PBL

17 months ago[Rules] Add thread hijacking composite rule
twesterhever [Fri, 2 Jun 2023 10:19:30 +0000 (10:19 +0000)]
[Rules] Add thread hijacking composite rule

17 months ago[Minor] Improve HACKED_WP_PHISHING coverage 4506/head
twesterhever [Fri, 2 Jun 2023 10:02:19 +0000 (10:02 +0000)]
[Minor] Improve HACKED_WP_PHISHING coverage

17 months agoMerge pull request #4504 from moisseev/webui
Vsevolod Stakhov [Thu, 1 Jun 2023 15:07:05 +0000 (16:07 +0100)]
Merge pull request #4504 from moisseev/webui

[WebUI] Show validation feedback inside login modal

17 months ago[Minor] Fix modal options 4504/head
moisseev [Thu, 1 Jun 2023 11:51:41 +0000 (14:51 +0300)]
[Minor] Fix modal options

that were changed since Boostrap 5.0

17 months ago[Minor] Fix password field border radius
moisseev [Thu, 1 Jun 2023 11:26:27 +0000 (14:26 +0300)]
[Minor] Fix password field border radius

17 months ago[WebUI] Show validation feedback inside login modal
moisseev [Wed, 31 May 2023 18:22:40 +0000 (21:22 +0300)]
[WebUI] Show validation feedback inside login modal

instead of overlay alert messages

Issue: #4502

17 months ago[Minor] Compare parts with many words by just using their length
Vsevolod Stakhov [Wed, 31 May 2023 14:04:51 +0000 (15:04 +0100)]
[Minor] Compare parts with many words by just using their length

17 months ago[Minor] Improve logging
Vsevolod Stakhov [Tue, 30 May 2023 15:29:14 +0000 (16:29 +0100)]
[Minor] Improve logging

17 months ago[Fix] Fix parsing of the mask values that are invalid
Vsevolod Stakhov [Tue, 30 May 2023 15:14:04 +0000 (16:14 +0100)]
[Fix] Fix parsing of the mask values that are invalid

17 months ago[Minor] Fix leftover
Vsevolod Stakhov [Tue, 30 May 2023 14:59:14 +0000 (15:59 +0100)]
[Minor] Fix leftover

17 months ago[Minor] Pet luacheck
Vsevolod Stakhov [Mon, 29 May 2023 19:46:44 +0000 (20:46 +0100)]
[Minor] Pet luacheck

17 months ago[Project] Allow to register multimap symbols dynamically
Vsevolod Stakhov [Mon, 29 May 2023 16:56:54 +0000 (17:56 +0100)]
[Project] Allow to register multimap symbols dynamically

17 months ago[Minor] Simplify multimap code
Vsevolod Stakhov [Mon, 29 May 2023 16:44:36 +0000 (17:44 +0100)]
[Minor] Simplify multimap code

17 months ago[Minor] Propagate on_load via Lua wrapper
Vsevolod Stakhov [Sat, 27 May 2023 14:36:19 +0000 (15:36 +0100)]
[Minor] Propagate on_load via Lua wrapper

17 months agoMerge pull request #4496 from twesterhever/temp-composites-url-only-redirector
Vsevolod Stakhov [Sun, 28 May 2023 16:37:27 +0000 (17:37 +0100)]
Merge pull request #4496 from twesterhever/temp-composites-url-only-redirector

[Enhancement] Add composite rule for messages only containing a redirector URL

17 months ago[Feature] Maps: Add on_load support
Vsevolod Stakhov [Sat, 27 May 2023 14:02:34 +0000 (15:02 +0100)]
[Feature] Maps: Add on_load support

17 months agoMerge pull request #4498 from fatalbanana/rbl_symbols_prefixes
Vsevolod Stakhov [Sat, 27 May 2023 11:13:19 +0000 (12:13 +0100)]
Merge pull request #4498 from fatalbanana/rbl_symbols_prefixes

[Fix] rbl: fix dependency registration when symbols_prefixes is used

17 months agoMerge pull request #4499 from moisseev/webui
Vsevolod Stakhov [Sat, 27 May 2023 11:12:32 +0000 (12:12 +0100)]
Merge pull request #4499 from moisseev/webui

[WebUI] Add ability to compute fuzzy hashes

17 months ago[Minor] Fix quirk in CRACKED_SURBL rule description
twesterhever [Fri, 26 May 2023 16:34:32 +0000 (16:34 +0000)]
[Minor] Fix quirk in CRACKED_SURBL rule description

17 months ago[WebUI] Add ability to compute fuzzy hashes 4499/head
moisseev [Fri, 26 May 2023 13:12:23 +0000 (16:12 +0300)]
[WebUI] Add ability to compute fuzzy hashes

from sample message source

17 months ago[Fix] rbl: fix dependency registration when symbols_prefixes is used 4498/head
Andrew Lewis [Fri, 26 May 2023 13:08:23 +0000 (15:08 +0200)]
[Fix] rbl: fix dependency registration when symbols_prefixes is used

17 months ago[Minor] Improve various rule descriptions
twesterhever [Fri, 26 May 2023 11:57:19 +0000 (11:57 +0000)]
[Minor] Improve various rule descriptions

17 months ago[Enhancement] Add composite rule for messages only containing a redirector URL 4496/head
twesterhever [Fri, 26 May 2023 09:55:32 +0000 (09:55 +0000)]
[Enhancement] Add composite rule for messages only containing a redirector URL

17 months ago[Minor] Move HAS_ONION_URI from "experimental" to "url" group 4495/head
twesterhever [Fri, 26 May 2023 09:44:52 +0000 (09:44 +0000)]
[Minor] Move HAS_ONION_URI from "experimental" to "url" group

17 months ago[Enhancement] Make Google Firebase rule productive 4494/head
twesterhever [Fri, 26 May 2023 09:40:22 +0000 (09:40 +0000)]
[Enhancement] Make Google Firebase rule productive

17 months ago[Minor] Fix for old hyperscan
Vsevolod Stakhov [Thu, 25 May 2023 13:44:00 +0000 (14:44 +0100)]
[Minor] Fix for old hyperscan

17 months ago[Fix] Fix an old issue with order of destruction race between redis pool and lua
Vsevolod Stakhov [Thu, 25 May 2023 13:41:30 +0000 (14:41 +0100)]
[Fix] Fix an old issue with order of destruction race between redis pool and lua

17 months ago[Fix] Try harder to remove bad hyperscan files
Vsevolod Stakhov [Thu, 25 May 2023 09:02:09 +0000 (10:02 +0100)]
[Fix] Try harder to remove bad hyperscan files

Issue: #4493

17 months ago[Fix] Fix parsing due to old bug revealed
Vsevolod Stakhov [Wed, 24 May 2023 13:25:18 +0000 (14:25 +0100)]
[Fix] Fix parsing due to old bug revealed

18 months agoMerge pull request #4490 from moisseev/webui
Vsevolod Stakhov [Sun, 21 May 2023 16:14:47 +0000 (17:14 +0100)]
Merge pull request #4490 from moisseev/webui

[Minor] Fix rows background coloring

18 months ago[Minor] Fix rows background coloring 4490/head
moisseev [Sun, 21 May 2023 15:18:43 +0000 (18:18 +0300)]
[Minor] Fix rows background coloring

of the Bayesian statistics table

18 months ago[Minor] Avoid using registry to store traverse function + cleanup
Vsevolod Stakhov [Sun, 21 May 2023 10:57:09 +0000 (11:57 +0100)]
[Minor] Avoid using registry to store traverse function + cleanup

18 months ago[Minor] Add maps:foreach method in the Lua API
Vsevolod Stakhov [Sat, 20 May 2023 20:17:43 +0000 (21:17 +0100)]
[Minor] Add maps:foreach method in the Lua API

18 months ago[Minor] Remove old and broken utilities
Vsevolod Stakhov [Sat, 20 May 2023 14:51:39 +0000 (15:51 +0100)]
[Minor] Remove old and broken utilities

18 months ago[Minor] Avoid using of gio in Rspamd
Vsevolod Stakhov [Sat, 20 May 2023 14:49:30 +0000 (15:49 +0100)]
[Minor] Avoid using of gio in Rspamd

18 months ago[Minor] Make read_passphrase utility more universal
Vsevolod Stakhov [Sat, 20 May 2023 14:37:30 +0000 (15:37 +0100)]
[Minor] Make read_passphrase utility more universal

18 months ago[Minor] Fix help output
Vsevolod Stakhov [Sat, 20 May 2023 14:26:53 +0000 (15:26 +0100)]
[Minor] Fix help output

Issue: #4483

18 months ago[Feature] Add controller endpoint to get fuzzy hashes from messages
Vsevolod Stakhov [Sat, 20 May 2023 14:22:43 +0000 (15:22 +0100)]
[Feature] Add controller endpoint to get fuzzy hashes from messages

Sample usage:

```
curl -XPOST 'http://localhost:11334/plugins/fuzzy/hashes?flag=1' --data-binary '@-' < file
```

Sample output:
```json
{
  "hashes": {
    "local": [
      "24b6e7de2f489778d828c827079c48bacb086f816d0a7acabbe42e8d0da703b89b913176ad67eefaf5b54fa59f5e0ecfc7015846c4043fcfb0c7a4ed7a235025",
      "72789777cbec926f4143de4c08c87acc3fbf3b909b5c39f1edcf82ed12e2d8bc2f56be8d68ee681feccf44ca04e3eca5b8ec039cb84a0d40e22258c370a10cbb"
    ],
    "rspamd.com": [
      "24b6e7de2f489778d828c827079c48bacb086f816d0a7acabbe42e8d0da703b89b913176ad67eefaf5b54fa59f5e0ecfc7015846c4043fcfb0c7a4ed7a235025",
      "72789777cbec926f4143de4c08c87acc3fbf3b909b5c39f1edcf82ed12e2d8bc2f56be8d68ee681feccf44ca04e3eca5b8ec039cb84a0d40e22258c370a10cbb"
    ],
  },
  "success": true
}
```

Issue: #4489

18 months ago[Feature] Allow to have weak flags in fuzzy storage
Vsevolod Stakhov [Sat, 20 May 2023 12:19:24 +0000 (13:19 +0100)]
[Feature] Allow to have weak flags in fuzzy storage

18 months ago[Minor] Remove redundant variable
Vsevolod Stakhov [Fri, 19 May 2023 20:37:11 +0000 (21:37 +0100)]
[Minor] Remove redundant variable

18 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

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

18 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'
  }
```

18 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

18 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

18 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

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

18 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

18 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

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

18 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

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

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

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

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

18 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

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

18 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

18 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

18 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

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

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

18 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

18 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

18 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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

18 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

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

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