]>
source.dussan.org Git - rspamd.git/log
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
twesterhever [Thu, 22 Jun 2023 21:01:26 +0000 (21:01 +0000)]
Keep attachment filename suffix lists sorted
twesterhever [Thu, 22 Jun 2023 20:58:18 +0000 (20:58 +0000)]
Treat HTML attachments as bad
twesterhever [Thu, 22 Jun 2023 20:51:54 +0000 (20:51 +0000)]
[Minor] Remove superfluous '|' in regular expression
twesterhever [Thu, 22 Jun 2023 20:50:03 +0000 (20:50 +0000)]
[Minor] Simplify regular expression for HAS_GOOGLE_REDIR
https://github.com/rspamd/rspamd/pull/4497#issuecomment-
1586265815
Vsevolod Stakhov [Tue, 20 Jun 2023 21:35:04 +0000 (22:35 +0100)]
Merge pull request #4518 from twesterhever/temp-chm-suffix
[Minor] Increase score for .chm attachments
twesterhever [Tue, 20 Jun 2023 15:57:48 +0000 (15:57 +0000)]
[Minor] Increase score for attachment types already blocked by GMail and Outlook
https://github.com/rspamd/rspamd/pull/4518#issuecomment-
1598655957
twesterhever [Tue, 20 Jun 2023 11:47:08 +0000 (11:47 +0000)]
[Minor] Increase score for .chm attachments
Vsevolod Stakhov [Mon, 19 Jun 2023 21:37:29 +0000 (22:37 +0100)]
Merge pull request #4517 from JasonStephenson/bugfix/7z-cte-fix
Use the correct mime format for 7z
Jason Stephenson [Mon, 19 Jun 2023 14:42:57 +0000 (15:42 +0100)]
Use the correct mime format for 7z
Vsevolod Stakhov [Sun, 18 Jun 2023 18:57:29 +0000 (19:57 +0100)]
[Minor] Use 1.0 as static score for dynamic symbols, erm
Vsevolod Stakhov [Sat, 17 Jun 2023 14:45:39 +0000 (15:45 +0100)]
[Minor] Add fail-safe for composites processing
Vsevolod Stakhov [Sat, 17 Jun 2023 14:43:12 +0000 (15:43 +0100)]
[Minor] Allow silent addition of the composites from the configuration
Vsevolod Stakhov [Sat, 17 Jun 2023 14:20:27 +0000 (15:20 +0100)]
[Minor] Get rid of one more GHashTable
Vsevolod Stakhov [Sat, 17 Jun 2023 14:20:12 +0000 (15:20 +0100)]
[Minor] Add utility macros for static hash tables
Vsevolod Stakhov [Sat, 17 Jun 2023 14:01:36 +0000 (15:01 +0100)]
[Minor] Define simple ftok hash and equal functions
Vsevolod Stakhov [Sat, 17 Jun 2023 13:57:44 +0000 (14:57 +0100)]
[Minor] Use wyhash for string hashing
Vsevolod Stakhov [Sat, 17 Jun 2023 13:50:08 +0000 (14:50 +0100)]
[Feature] Khash: Allow static initialisation
Vsevolod Stakhov [Sat, 17 Jun 2023 12:06:52 +0000 (13:06 +0100)]
[Fix] Try harder to clean pending bucket
Issue: #4467
Vsevolod Stakhov [Sat, 17 Jun 2023 11:22:00 +0000 (12:22 +0100)]
[Minor] Oops, fix build
Vsevolod Stakhov [Sat, 17 Jun 2023 11:19:01 +0000 (12:19 +0100)]
[Minor] Allow to allocate rspamd_text from task
Vsevolod Stakhov [Wed, 14 Jun 2023 21:31:16 +0000 (22:31 +0100)]
[Minor] Fix Lua stack
Vsevolod Stakhov [Wed, 14 Jun 2023 18:31:13 +0000 (19:31 +0100)]
[Minor] Another workaround for a broken OpenSSL API
Vsevolod Stakhov [Tue, 13 Jun 2023 21:10:17 +0000 (22:10 +0100)]
[Minor] Parse remaning content when reaching html limit
Vsevolod Stakhov [Mon, 12 Jun 2023 11:23:15 +0000 (12:23 +0100)]
[Minor] Fix another usage of EC_POINT_point2bn
Vsevolod Stakhov [Mon, 12 Jun 2023 10:52:00 +0000 (11:52 +0100)]
[Minor] Try to fix build with (broken) OpenSSL API
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
Vsevolod Stakhov [Sat, 10 Jun 2023 21:45:21 +0000 (22:45 +0100)]
[Minor] Adjust prototype
Vsevolod Stakhov [Sat, 10 Jun 2023 17:07:03 +0000 (18:07 +0100)]
[Test] Add test cases for dynamic symbols
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
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
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
Vsevolod Stakhov [Sat, 3 Jun 2023 20:02:27 +0000 (21:02 +0100)]
Apply suggestions from code review
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
twesterhever [Fri, 2 Jun 2023 19:50:48 +0000 (19:50 +0000)]
[Minor] Fix description of MIME_HTML_ONLY
Thanks, @moisseev!
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
twesterhever [Fri, 2 Jun 2023 10:46:47 +0000 (10:46 +0000)]
[Minor] Add additional bad extensions
twesterhever [Fri, 2 Jun 2023 10:19:41 +0000 (10:19 +0000)]
[Minor] Fix RCVD_UNAUTH_PBL
twesterhever [Fri, 2 Jun 2023 10:19:30 +0000 (10:19 +0000)]
[Rules] Add thread hijacking composite rule
twesterhever [Fri, 2 Jun 2023 10:02:19 +0000 (10:02 +0000)]
[Minor] Improve HACKED_WP_PHISHING coverage
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
moisseev [Thu, 1 Jun 2023 11:51:41 +0000 (14:51 +0300)]
[Minor] Fix modal options
that were changed since Boostrap 5.0
moisseev [Thu, 1 Jun 2023 11:26:27 +0000 (14:26 +0300)]
[Minor] Fix password field border radius
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
Vsevolod Stakhov [Wed, 31 May 2023 14:04:51 +0000 (15:04 +0100)]
[Minor] Compare parts with many words by just using their length
Vsevolod Stakhov [Tue, 30 May 2023 15:29:14 +0000 (16:29 +0100)]
[Minor] Improve logging
Vsevolod Stakhov [Tue, 30 May 2023 15:14:04 +0000 (16:14 +0100)]
[Fix] Fix parsing of the mask values that are invalid
Vsevolod Stakhov [Tue, 30 May 2023 14:59:14 +0000 (15:59 +0100)]
[Minor] Fix leftover
Vsevolod Stakhov [Mon, 29 May 2023 19:46:44 +0000 (20:46 +0100)]
[Minor] Pet luacheck
Vsevolod Stakhov [Mon, 29 May 2023 16:56:54 +0000 (17:56 +0100)]
[Project] Allow to register multimap symbols dynamically
Vsevolod Stakhov [Mon, 29 May 2023 16:44:36 +0000 (17:44 +0100)]
[Minor] Simplify multimap code
Vsevolod Stakhov [Sat, 27 May 2023 14:36:19 +0000 (15:36 +0100)]
[Minor] Propagate on_load via Lua wrapper
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
Vsevolod Stakhov [Sat, 27 May 2023 14:02:34 +0000 (15:02 +0100)]
[Feature] Maps: Add on_load support
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
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
twesterhever [Fri, 26 May 2023 16:34:32 +0000 (16:34 +0000)]
[Minor] Fix quirk in CRACKED_SURBL rule description
moisseev [Fri, 26 May 2023 13:12:23 +0000 (16:12 +0300)]
[WebUI] Add ability to compute fuzzy hashes
from sample message source
Andrew Lewis [Fri, 26 May 2023 13:08:23 +0000 (15:08 +0200)]
[Fix] rbl: fix dependency registration when symbols_prefixes is used
twesterhever [Fri, 26 May 2023 11:57:19 +0000 (11:57 +0000)]
[Minor] Improve various rule descriptions
twesterhever [Fri, 26 May 2023 11:13:38 +0000 (11:13 +0000)]
[Enhancement] Improve detection of Google redirection URLs
The list is derived from Firefox' static HPKP entires, retrieved from:
https://searchfox.org/mozilla-central/source/security/manager/ssl/StaticHPKPins.h
twesterhever [Fri, 26 May 2023 09:55:32 +0000 (09:55 +0000)]
[Enhancement] Add composite rule for messages only containing a redirector URL
twesterhever [Fri, 26 May 2023 09:44:52 +0000 (09:44 +0000)]
[Minor] Move HAS_ONION_URI from "experimental" to "url" group
twesterhever [Fri, 26 May 2023 09:40:22 +0000 (09:40 +0000)]
[Enhancement] Make Google Firebase rule productive
Vsevolod Stakhov [Thu, 25 May 2023 13:44:00 +0000 (14:44 +0100)]
[Minor] Fix for old hyperscan
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
Vsevolod Stakhov [Thu, 25 May 2023 09:02:09 +0000 (10:02 +0100)]
[Fix] Try harder to remove bad hyperscan files
Issue: #4493
Vsevolod Stakhov [Wed, 24 May 2023 13:25:18 +0000 (14:25 +0100)]
[Fix] Fix parsing due to old bug revealed
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
moisseev [Sun, 21 May 2023 15:18:43 +0000 (18:18 +0300)]
[Minor] Fix rows background coloring
of the Bayesian statistics table
Vsevolod Stakhov [Sun, 21 May 2023 10:57:09 +0000 (11:57 +0100)]
[Minor] Avoid using registry to store traverse function + cleanup
Vsevolod Stakhov [Sat, 20 May 2023 20:17:43 +0000 (21:17 +0100)]
[Minor] Add maps:foreach method in the Lua API
Vsevolod Stakhov [Sat, 20 May 2023 14:51:39 +0000 (15:51 +0100)]
[Minor] Remove old and broken utilities
Vsevolod Stakhov [Sat, 20 May 2023 14:49:30 +0000 (15:49 +0100)]
[Minor] Avoid using of gio in Rspamd
Vsevolod Stakhov [Sat, 20 May 2023 14:37:30 +0000 (15:37 +0100)]
[Minor] Make read_passphrase utility more universal
Vsevolod Stakhov [Sat, 20 May 2023 14:26:53 +0000 (15:26 +0100)]
[Minor] Fix help output
Issue: #4483
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
Vsevolod Stakhov [Sat, 20 May 2023 12:19:24 +0000 (13:19 +0100)]
[Feature] Allow to have weak flags in fuzzy storage
Vsevolod Stakhov [Fri, 19 May 2023 20:37:11 +0000 (21:37 +0100)]
[Minor] Remove redundant variable
Vsevolod Stakhov [Thu, 18 May 2023 19:28:21 +0000 (20:28 +0100)]
[Minor] Always report multipattern compile error
Issue: #4487
Vsevolod Stakhov [Tue, 16 May 2023 10:41:53 +0000 (11:41 +0100)]
[Minor] Fix newindex