]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Minor] Add "application/rar" MIME type 3767/head
Alexander Moisseev [Mon, 24 May 2021 09:24:15 +0000 (12:24 +0300)]
[Minor] Add "application/rar" MIME type

3 years agoMerge pull request #3763 from citrin/rules
Vsevolod Stakhov [Sun, 23 May 2021 20:49:24 +0000 (21:49 +0100)]
Merge pull request #3763 from citrin/rules

Minor updates to X-Mailer regexps

3 years ago[Rules] Extend OLD_X_MAILER 3763/head
Anton Yuzhaninov [Sat, 22 May 2021 15:36:45 +0000 (16:36 +0100)]
[Rules] Extend OLD_X_MAILER

Add more old iPhone/iPad Mail versions to the regexp.

3 years ago[Rules] Extend FORGED_X_MAILER
Anton Yuzhaninov [Sat, 22 May 2021 14:13:08 +0000 (15:13 +0100)]
[Rules] Extend FORGED_X_MAILER

Match in FORGED_X_MAILER fake iPhone Mail header with a random string in
place of iOS build number, e. g. iPhone Mail (WKN0M)

3 years ago[Minor] Const-ify trim function as it does not change anything in fact
Vsevolod Stakhov [Sat, 22 May 2021 12:23:13 +0000 (13:23 +0100)]
[Minor] Const-ify trim function as it does not change anything in fact

3 years ago[Minor] Remove conditional msg_ macro from util.c
Vsevolod Stakhov [Fri, 21 May 2021 15:32:10 +0000 (16:32 +0100)]
[Minor] Remove conditional msg_ macro from util.c

3 years ago[Rework] Allow C code to be compiled with C++ compiler
Vsevolod Stakhov [Fri, 21 May 2021 15:28:55 +0000 (16:28 +0100)]
[Rework] Allow C code to be compiled with C++ compiler

3 years ago[Minor] Css: Allow to convert css color to uint32_t
Vsevolod Stakhov [Fri, 21 May 2021 15:28:26 +0000 (16:28 +0100)]
[Minor] Css: Allow to convert css color to uint32_t

3 years ago[Minor] Allow typed mempool alloc
Vsevolod Stakhov [Fri, 21 May 2021 15:28:08 +0000 (16:28 +0100)]
[Minor] Allow typed mempool alloc

3 years ago[Minor] Add -m64 option
Vsevolod Stakhov [Fri, 21 May 2021 13:21:55 +0000 (14:21 +0100)]
[Minor] Add -m64 option

3 years ago[Rework] Move and adopt entities handling logic
Vsevolod Stakhov [Fri, 21 May 2021 08:44:16 +0000 (09:44 +0100)]
[Rework] Move and adopt entities handling logic

3 years ago[Rework] Add tags definitions
Vsevolod Stakhov [Fri, 21 May 2021 08:18:47 +0000 (09:18 +0100)]
[Rework] Add tags definitions

3 years ago[Rework] Move entities/tags handling
Vsevolod Stakhov [Fri, 21 May 2021 08:18:07 +0000 (09:18 +0100)]
[Rework] Move entities/tags handling

3 years ago[Minor] Move html code to a separate subdir (no functional changes)
Vsevolod Stakhov [Thu, 20 May 2021 09:46:57 +0000 (10:46 +0100)]
[Minor] Move html code to a separate subdir (no functional changes)

3 years ago[Fix] Fix http maps with no or invalid expires data
Vsevolod Stakhov [Wed, 19 May 2021 17:47:22 +0000 (18:47 +0100)]
[Fix] Fix http maps with no or invalid expires data

3 years ago[Rules] Fix CTYPE_MIXED_BOGUS for text attachments
Vsevolod Stakhov [Wed, 19 May 2021 14:12:33 +0000 (15:12 +0100)]
[Rules] Fix CTYPE_MIXED_BOGUS for text attachments

Issue: #3748

3 years ago[Minor] Allow utf8 identifiers in the selectors
Vsevolod Stakhov [Wed, 19 May 2021 14:10:21 +0000 (15:10 +0100)]
[Minor] Allow utf8 identifiers in the selectors

3 years ago[Fix] Rework metrics handling
Vsevolod Stakhov [Tue, 18 May 2021 15:13:31 +0000 (16:13 +0100)]
[Fix] Rework metrics handling

Issue: #3754

3 years agoMerge pull request #3754 from mrueg/openmetrics
Vsevolod Stakhov [Tue, 18 May 2021 14:55:28 +0000 (15:55 +0100)]
Merge pull request #3754 from mrueg/openmetrics

[Feature] Implement an endpoint for OpenMetrics / Prometheus

3 years agoMerge pull request #3747 from fatalbanana/use_settings
Vsevolod Stakhov [Tue, 18 May 2021 12:19:16 +0000 (13:19 +0100)]
Merge pull request #3747 from fatalbanana/use_settings

even further updates for tests

3 years ago[Minor] Fix buffer overflow due to libicu super safe macros
Vsevolod Stakhov [Tue, 18 May 2021 11:43:22 +0000 (12:43 +0100)]
[Minor] Fix buffer overflow due to libicu super safe macros

3 years ago[Test] Merge test suites; use settings 3747/head
Andrew Lewis [Tue, 11 May 2021 11:50:29 +0000 (13:50 +0200)]
[Test] Merge test suites; use settings

3 years ago[Minor] Fix build with older icu
Vsevolod Stakhov [Mon, 17 May 2021 20:42:38 +0000 (21:42 +0100)]
[Minor] Fix build with older icu

3 years ago[Minor] Another try to fix the logic around 8bit charsets handling
Vsevolod Stakhov [Mon, 17 May 2021 20:20:22 +0000 (21:20 +0100)]
[Minor] Another try to fix the logic around 8bit charsets handling

3 years ago[Minor] Fix non-utf inputs checking
Vsevolod Stakhov [Mon, 17 May 2021 20:13:53 +0000 (21:13 +0100)]
[Minor] Fix non-utf inputs checking

3 years agoImplement an endpoint for OpenMetrics 3754/head
Manuel Rüger [Thu, 13 May 2021 23:37:00 +0000 (01:37 +0200)]
Implement an endpoint for OpenMetrics

Now /metrics provides an endpoint that is openmetrics compatible.

3 years ago[Minor] Add missing include
Vsevolod Stakhov [Mon, 17 May 2021 15:39:23 +0000 (16:39 +0100)]
[Minor] Add missing include

3 years ago[Rework] Use C++ version for unicode normalisation
Vsevolod Stakhov [Mon, 17 May 2021 15:34:35 +0000 (16:34 +0100)]
[Rework] Use C++ version for unicode normalisation

3 years ago[Minor] Dmarc: Slightly refactor function
Vsevolod Stakhov [Mon, 17 May 2021 15:34:17 +0000 (16:34 +0100)]
[Minor] Dmarc: Slightly refactor function

3 years ago[Minor] Always use UTF8 as the system encoding (for libicu)
Vsevolod Stakhov [Mon, 17 May 2021 15:33:51 +0000 (16:33 +0100)]
[Minor] Always use UTF8 as the system encoding (for libicu)

3 years ago[Fix] Try to fix some broken code in DMARC reporting plugin
Vsevolod Stakhov [Sun, 16 May 2021 20:36:17 +0000 (21:36 +0100)]
[Fix] Try to fix some broken code in DMARC reporting plugin

Issue: #2499

3 years ago[Minor] Remove legacy iconv stuff
Vsevolod Stakhov [Sat, 15 May 2021 20:22:37 +0000 (21:22 +0100)]
[Minor] Remove legacy iconv stuff

3 years ago[Rework] Use C++ utf8 library with unit tests to trim whitespaces
Vsevolod Stakhov [Fri, 14 May 2021 19:58:28 +0000 (20:58 +0100)]
[Rework] Use C++ utf8 library with unit tests to trim whitespaces

3 years ago[Minor] Strip visible parts of urls using utf rules
Vsevolod Stakhov [Fri, 14 May 2021 15:59:30 +0000 (16:59 +0100)]
[Minor] Strip visible parts of urls using utf rules

3 years ago[Minor] Do not treat unnormalised urls as obscured
Vsevolod Stakhov [Fri, 14 May 2021 10:26:58 +0000 (11:26 +0100)]
[Minor] Do not treat unnormalised urls as obscured

3 years ago[Minor] Fix bit operations logic
Vsevolod Stakhov [Thu, 13 May 2021 20:36:05 +0000 (21:36 +0100)]
[Minor] Fix bit operations logic

3 years ago[Minor] One more fix in the ZW spaces urls processing logic
Vsevolod Stakhov [Thu, 13 May 2021 20:23:18 +0000 (21:23 +0100)]
[Minor] One more fix in the ZW spaces urls processing logic

3 years ago[Minor] Fix userinfo encoding
Vsevolod Stakhov [Thu, 13 May 2021 14:05:21 +0000 (15:05 +0100)]
[Minor] Fix userinfo encoding

3 years ago[Feature] Allow to log severity level explicitly
Vsevolod Stakhov [Thu, 13 May 2021 13:58:11 +0000 (14:58 +0100)]
[Feature] Allow to log severity level explicitly

3 years ago[Minor] Add some logging
Vsevolod Stakhov [Thu, 13 May 2021 12:59:09 +0000 (13:59 +0100)]
[Minor] Add some logging

3 years ago[Minor] Backport some changes from libev
Vsevolod Stakhov [Thu, 13 May 2021 09:55:57 +0000 (10:55 +0100)]
[Minor] Backport some changes from libev

3 years ago[Fix] Fix fuzzy retransmits
Vsevolod Stakhov [Wed, 12 May 2021 20:42:24 +0000 (21:42 +0100)]
[Fix] Fix fuzzy retransmits

3 years ago[Feature] Allow to specify different timeouts/retransmits for fuzzy rules
Vsevolod Stakhov [Wed, 12 May 2021 19:15:19 +0000 (20:15 +0100)]
[Feature] Allow to specify different timeouts/retransmits for fuzzy rules

3 years ago[Feature] Add race condition protection against hs_helper restarts
Vsevolod Stakhov [Wed, 12 May 2021 16:42:55 +0000 (17:42 +0100)]
[Feature] Add race condition protection against hs_helper restarts

3 years ago[Minor] Fix multiple @ at the beginnig
Vsevolod Stakhov [Wed, 12 May 2021 16:16:36 +0000 (17:16 +0100)]
[Minor] Fix multiple @ at the beginnig

3 years ago[Minor] Add loop break
Vsevolod Stakhov [Wed, 12 May 2021 13:54:24 +0000 (14:54 +0100)]
[Minor] Add loop break

3 years ago[Minor] Fix parsing of some bogus urls
Vsevolod Stakhov [Wed, 12 May 2021 13:39:09 +0000 (14:39 +0100)]
[Minor] Fix parsing of some bogus urls

3 years ago[Minor] Css: Fix '\v' and '\f' handling
Vsevolod Stakhov [Wed, 12 May 2021 10:05:41 +0000 (11:05 +0100)]
[Minor] Css: Fix '\v' and '\f' handling

3 years agoMerge pull request #3750 from mrueg/dockerfile
Vsevolod Stakhov [Wed, 12 May 2021 09:31:28 +0000 (10:31 +0100)]
Merge pull request #3750 from mrueg/dockerfile

[Minor] Dockerfile: Set signing-key

3 years ago[Minor] Filter urls for R_SUSPICIOUS_URL check
Vsevolod Stakhov [Tue, 11 May 2021 14:26:34 +0000 (15:26 +0100)]
[Minor] Filter urls for R_SUSPICIOUS_URL check

Suggested by: @citrin

3 years ago[Minor] Use numeric bit and for checking flags
Vsevolod Stakhov [Tue, 11 May 2021 14:21:22 +0000 (15:21 +0100)]
[Minor] Use numeric bit and for checking flags

3 years ago[Fix] Fix normalisation flags propagation
Vsevolod Stakhov [Tue, 11 May 2021 14:13:15 +0000 (15:13 +0100)]
[Fix] Fix normalisation flags propagation

3 years ago[Minor] Store neural score in task cache
Vsevolod Stakhov [Tue, 11 May 2021 12:31:14 +0000 (13:31 +0100)]
[Minor] Store neural score in task cache

3 years ago[Minor] Css: Fix OOB reading
Vsevolod Stakhov [Mon, 10 May 2021 19:32:12 +0000 (20:32 +0100)]
[Minor] Css: Fix OOB reading

3 years agoDockerfile: Set signing-key 3750/head
Manuel Rüger [Sun, 9 May 2021 23:49:28 +0000 (01:49 +0200)]
Dockerfile: Set signing-key

3 years ago[Minor] Css: Fix numbers starting from '+'
Vsevolod Stakhov [Fri, 7 May 2021 15:32:56 +0000 (16:32 +0100)]
[Minor] Css: Fix numbers starting from '+'

3 years ago[Minor] Try to fix another boundary issue
Vsevolod Stakhov [Fri, 7 May 2021 11:08:18 +0000 (12:08 +0100)]
[Minor] Try to fix another boundary issue

3 years ago[Minor] Sigh, another condition fix
Vsevolod Stakhov [Thu, 6 May 2021 21:42:18 +0000 (22:42 +0100)]
[Minor] Sigh, another condition fix

3 years ago[Minor] Fix check condition
Vsevolod Stakhov [Thu, 6 May 2021 21:24:00 +0000 (22:24 +0100)]
[Minor] Fix check condition

3 years ago[Minor] Css: Fix bits operations
Vsevolod Stakhov [Thu, 6 May 2021 15:31:36 +0000 (16:31 +0100)]
[Minor] Css: Fix bits operations

3 years ago[Minor] Css: Fix parsing of the url tokens
Vsevolod Stakhov [Thu, 6 May 2021 14:15:01 +0000 (15:15 +0100)]
[Minor] Css: Fix parsing of the url tokens

3 years ago[Minor] Css: Use old good strtod that does not throw exceptions
Vsevolod Stakhov [Thu, 6 May 2021 10:31:57 +0000 (11:31 +0100)]
[Minor] Css: Use old good strtod that does not throw exceptions

3 years ago[Minor] Css: Fix hash tokens parsing
Vsevolod Stakhov [Thu, 6 May 2021 10:21:15 +0000 (11:21 +0100)]
[Minor] Css: Fix hash tokens parsing

3 years ago[Minor] Sigh, one more adjustment
Vsevolod Stakhov [Wed, 5 May 2021 15:18:39 +0000 (16:18 +0100)]
[Minor] Sigh, one more adjustment

3 years ago[Minor] Check boundary earlier
Vsevolod Stakhov [Wed, 5 May 2021 15:14:01 +0000 (16:14 +0100)]
[Minor] Check boundary earlier

3 years ago[Minor] Fix unintended reindentation
Vsevolod Stakhov [Wed, 5 May 2021 14:14:51 +0000 (15:14 +0100)]
[Minor] Fix unintended reindentation

3 years agoMerge pull request #3734 from fatalbanana/unreplace_variables
Vsevolod Stakhov [Wed, 5 May 2021 14:03:44 +0000 (15:03 +0100)]
Merge pull request #3734 from fatalbanana/unreplace_variables

further test framework updates

3 years ago[Minor] Fix comments parsing
Vsevolod Stakhov [Wed, 5 May 2021 14:01:47 +0000 (15:01 +0100)]
[Minor] Fix comments parsing

3 years ago[Rework] Use C++ version of the lua threads pool
Vsevolod Stakhov [Wed, 5 May 2021 13:59:56 +0000 (14:59 +0100)]
[Rework] Use C++ version of the lua threads pool

3 years ago[Minor] Allow forced termination of the suspended threads
Vsevolod Stakhov [Wed, 5 May 2021 10:37:43 +0000 (11:37 +0100)]
[Minor] Allow forced termination of the suspended threads

3 years ago[Test] Cleanup 3734/head
Andrew Lewis [Tue, 4 May 2021 22:42:11 +0000 (00:42 +0200)]
[Test] Cleanup

 - Use consistent naming for setup/teardown
 - Remove some unused files
 - Sort & align variables

3 years ago[Test] Use automatically exported variables
Andrew Lewis [Tue, 4 May 2021 19:43:55 +0000 (21:43 +0200)]
[Test] Use automatically exported variables

3 years ago[Project] Css: Fix rules merging
Vsevolod Stakhov [Tue, 4 May 2021 16:51:30 +0000 (17:51 +0100)]
[Project] Css: Fix rules merging

3 years ago[Test] Use lupa for templating rspamd configs
Andrew Lewis [Tue, 4 May 2021 11:48:37 +0000 (13:48 +0200)]
[Test] Use lupa for templating rspamd configs

3 years ago[Minor] Neural: Do not filter static profiles
Vsevolod Stakhov [Tue, 4 May 2021 11:17:24 +0000 (12:17 +0100)]
[Minor] Neural: Do not filter static profiles

3 years ago[Minor] SPF: Fix external relay log message
Vsevolod Stakhov [Mon, 3 May 2021 20:18:53 +0000 (21:18 +0100)]
[Minor] SPF: Fix external relay log message

3 years ago[Test] Add a unit test for buckets variables in the mempool
Vsevolod Stakhov [Sun, 2 May 2021 19:34:43 +0000 (20:34 +0100)]
[Test] Add a unit test for buckets variables in the mempool

3 years ago[Minor] Lua_mempool: Fix setting buckets of variables
Vsevolod Stakhov [Sun, 2 May 2021 19:30:01 +0000 (20:30 +0100)]
[Minor] Lua_mempool: Fix setting buckets of variables

Reported by: Steve Sturges

3 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Fri, 30 Apr 2021 16:58:00 +0000 (17:58 +0100)]
[Minor] Pet luacheck

3 years ago[Minor] Fix work with file names
Vsevolod Stakhov [Fri, 30 Apr 2021 16:51:45 +0000 (17:51 +0100)]
[Minor] Fix work with file names

3 years ago[Minor] Bayes actually uses sets, not lists
Vsevolod Stakhov [Fri, 30 Apr 2021 16:51:29 +0000 (17:51 +0100)]
[Minor] Bayes actually uses sets, not lists

3 years ago[Feature] Add preliminary restore bayes support
Vsevolod Stakhov [Fri, 30 Apr 2021 16:35:44 +0000 (17:35 +0100)]
[Feature] Add preliminary restore bayes support

3 years ago[Minor] Fix command line arguments group
Vsevolod Stakhov [Fri, 30 Apr 2021 15:17:32 +0000 (16:17 +0100)]
[Minor] Fix command line arguments group

Issue: #3742

3 years ago[Minor] Another rework in dumping logic
Vsevolod Stakhov [Fri, 30 Apr 2021 12:48:42 +0000 (13:48 +0100)]
[Minor] Another rework in dumping logic

3 years ago[Minor] Neural: Allow to have flat classification if needed
Vsevolod Stakhov [Thu, 29 Apr 2021 18:44:40 +0000 (19:44 +0100)]
[Minor] Neural: Allow to have flat classification if needed

3 years ago[Feature] Neural: Allow to balance FP/FN for the network
Vsevolod Stakhov [Thu, 29 Apr 2021 18:41:03 +0000 (19:41 +0100)]
[Feature] Neural: Allow to balance FP/FN for the network

3 years agoMerge pull request #3739 from fatalbanana/replyto_addr_eq_from
Vsevolod Stakhov [Thu, 29 Apr 2021 15:35:21 +0000 (16:35 +0100)]
Merge pull request #3739 from fatalbanana/replyto_addr_eq_from

[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses

3 years ago[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses 3739/head
Andrew Lewis [Thu, 29 Apr 2021 08:31:59 +0000 (10:31 +0200)]
[Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses

3 years ago[Minor] Allow rspamd_text in rspamd_url.create
Vsevolod Stakhov [Wed, 28 Apr 2021 18:15:43 +0000 (19:15 +0100)]
[Minor] Allow rspamd_text in rspamd_url.create

3 years ago[Minor] Rework dump output structure
Vsevolod Stakhov [Wed, 28 Apr 2021 14:32:14 +0000 (15:32 +0100)]
[Minor] Rework dump output structure

3 years agoMerge pull request #3733 from citrin/rules-updates
Vsevolod Stakhov [Wed, 28 Apr 2021 11:34:59 +0000 (12:34 +0100)]
Merge pull request #3733 from citrin/rules-updates

Rules updates

3 years ago[Rules] Add raw addresses to MULTIPLE_FROM options 3733/head
Anton Yuzhaninov [Tue, 27 Apr 2021 15:50:04 +0000 (16:50 +0100)]
[Rules] Add raw addresses to MULTIPLE_FROM options

It is confusing to have MULTIPLE_FROM with a single address in options,
which happens if one of addresses is empty - usually because of
misplaces <>.  While here simplify condition.

3 years ago[Minor] Make HAS_PHPMAILER_SIG regexps more specific
Anton Yuzhaninov [Tue, 27 Apr 2021 15:23:44 +0000 (16:23 +0100)]
[Minor] Make HAS_PHPMAILER_SIG regexps more specific

Use stricter regexp to avoid false matches.

3 years ago[Minor] Statistics_dump: Fix formatting
Vsevolod Stakhov [Tue, 27 Apr 2021 13:37:11 +0000 (14:37 +0100)]
[Minor] Statistics_dump: Fix formatting

3 years ago[Minor] Rspamadm: Move all warnings to stderr instead of stdin
Vsevolod Stakhov [Tue, 27 Apr 2021 13:33:32 +0000 (14:33 +0100)]
[Minor] Rspamadm: Move all warnings to stderr instead of stdin

3 years ago[Minor] Statistics_dump: Support compression when dump
Vsevolod Stakhov [Tue, 27 Apr 2021 13:30:44 +0000 (14:30 +0100)]
[Minor] Statistics_dump: Support compression when dump

3 years ago[Minor] Try to fix sync Redis API by not resuming LUA_REDIS_SPECIFIC_FINISHED threads
Vsevolod Stakhov [Tue, 27 Apr 2021 11:15:34 +0000 (12:15 +0100)]
[Minor] Try to fix sync Redis API by not resuming LUA_REDIS_SPECIFIC_FINISHED threads

3 years ago[Test] Add unit tests for stream compression
Vsevolod Stakhov [Mon, 26 Apr 2021 15:48:42 +0000 (16:48 +0100)]
[Test] Add unit tests for stream compression

3 years ago[Minor] Do not decompress empty stream as zst behaves badly in this case
Vsevolod Stakhov [Mon, 26 Apr 2021 15:48:20 +0000 (16:48 +0100)]
[Minor] Do not decompress empty stream as zst behaves badly in this case

3 years ago[Feature] Add zstd streaming API
Vsevolod Stakhov [Mon, 26 Apr 2021 14:04:36 +0000 (15:04 +0100)]
[Feature] Add zstd streaming API