]> source.dussan.org Git - rspamd.git/log
rspamd.git
3 years ago[Minor] Add lua_util.shuffle
Vsevolod Stakhov [Fri, 6 Aug 2021 15:35:49 +0000 (16:35 +0100)]
[Minor] Add lua_util.shuffle

3 years ago[Minor] Do not leak memory
Vsevolod Stakhov [Fri, 6 Aug 2021 14:22:07 +0000 (15:22 +0100)]
[Minor] Do not leak memory

3 years ago[Minor] Create a standard io loop in rspamadm
Vsevolod Stakhov [Fri, 6 Aug 2021 14:17:31 +0000 (15:17 +0100)]
[Minor] Create a standard io loop in rspamadm

3 years ago[Minor] Improve readability
Vsevolod Stakhov [Fri, 6 Aug 2021 12:35:50 +0000 (13:35 +0100)]
[Minor] Improve readability

Suggested by: @citrin

3 years ago[Minor] One more fix for checking displayed urls
Vsevolod Stakhov [Fri, 6 Aug 2021 12:24:54 +0000 (13:24 +0100)]
[Minor] One more fix for checking displayed urls

3 years ago[Minor] Fix the mess with caseless comparison functions
Vsevolod Stakhov [Fri, 6 Aug 2021 11:52:06 +0000 (12:52 +0100)]
[Minor] Fix the mess with caseless comparison functions

3 years ago[Feature] Allow to save and show attachment name when inserting AV scan results
Vsevolod Stakhov [Fri, 6 Aug 2021 11:42:06 +0000 (12:42 +0100)]
[Feature] Allow to save and show attachment name when inserting AV scan results

3 years ago[Minor] Dmarc_report: fix report domain check for 3rd party domains
Vsevolod Stakhov [Thu, 5 Aug 2021 20:05:22 +0000 (21:05 +0100)]
[Minor] Dmarc_report: fix report domain check for 3rd party domains

3 years agoMerge pull request #3838 from citrin/x-php-eval
Vsevolod Stakhov [Thu, 5 Aug 2021 15:58:23 +0000 (16:58 +0100)]
Merge pull request #3838 from citrin/x-php-eval

[Rules] Micro-optimize X_PHP_EVAL

3 years ago[Rules] Micro-optimize X_PHP_EVAL 3838/head
Anton Yuzhaninov [Thu, 5 Aug 2021 14:54:20 +0000 (15:54 +0100)]
[Rules] Micro-optimize X_PHP_EVAL

Remove /i flag from regexp string "eval()'d code" is always in
lower case. While here use long string format for readability.

3 years ago[Feature] Dmarc_report: allow sending reports in batches
Vsevolod Stakhov [Thu, 5 Aug 2021 14:53:00 +0000 (15:53 +0100)]
[Feature] Dmarc_report: allow sending reports in batches

3 years ago[Minor] Remove redundant cycle
Vsevolod Stakhov [Thu, 5 Aug 2021 11:24:38 +0000 (12:24 +0100)]
[Minor] Remove redundant cycle

3 years ago[Minor] Oops, fix misprint
Vsevolod Stakhov [Thu, 5 Aug 2021 11:22:20 +0000 (12:22 +0100)]
[Minor] Oops, fix misprint

3 years ago[Fix] Fix phishing flag set
Vsevolod Stakhov [Thu, 5 Aug 2021 11:21:12 +0000 (12:21 +0100)]
[Fix] Fix phishing flag set

3 years ago[Project] Dmarc_report: Add preliminary sending support
Vsevolod Stakhov [Wed, 4 Aug 2021 14:57:27 +0000 (15:57 +0100)]
[Project] Dmarc_report: Add preliminary sending support

3 years ago[Project] Dmarc_report: Add message generation logic
Vsevolod Stakhov [Wed, 4 Aug 2021 14:26:00 +0000 (15:26 +0100)]
[Project] Dmarc_report: Add message generation logic

3 years ago[Project] Dmarc: Add dmarc report tool (WIP)
Vsevolod Stakhov [Wed, 4 Aug 2021 13:45:08 +0000 (14:45 +0100)]
[Project] Dmarc: Add dmarc report tool (WIP)

3 years ago[Minor] Allow to enable specific module debug
Vsevolod Stakhov [Wed, 4 Aug 2021 13:29:35 +0000 (14:29 +0100)]
[Minor] Allow to enable specific module debug

3 years ago[Minor] Store raw dmarc elts
Vsevolod Stakhov [Wed, 4 Aug 2021 13:15:38 +0000 (14:15 +0100)]
[Minor] Store raw dmarc elts

3 years ago[Minor] Url_redirector: Fix zset trimming
Vsevolod Stakhov [Tue, 3 Aug 2021 17:37:37 +0000 (18:37 +0100)]
[Minor] Url_redirector: Fix zset trimming

3 years ago[Rework] Dmarc: Move check policy function to the common utils
Vsevolod Stakhov [Tue, 3 Aug 2021 13:34:22 +0000 (14:34 +0100)]
[Rework] Dmarc: Move check policy function to the common utils

3 years ago[Minor] Lua: Add rspamd_util.strequal_caseless_utf8 routine
Vsevolod Stakhov [Mon, 2 Aug 2021 20:32:05 +0000 (21:32 +0100)]
[Minor] Lua: Add rspamd_util.strequal_caseless_utf8 routine

3 years ago[Minor] Allow to compare utf8 strings of different length
Vsevolod Stakhov [Mon, 2 Aug 2021 20:24:14 +0000 (21:24 +0100)]
[Minor] Allow to compare utf8 strings of different length

3 years ago[Feature] Add rspamd_utf8_strcmp utility
Vsevolod Stakhov [Mon, 2 Aug 2021 16:00:14 +0000 (17:00 +0100)]
[Feature] Add rspamd_utf8_strcmp utility

3 years ago[Rework] Move common and rarely used dmarc code to the library
Vsevolod Stakhov [Mon, 2 Aug 2021 11:09:10 +0000 (12:09 +0100)]
[Rework] Move common and rarely used dmarc code to the library

3 years ago[Minor] Refactor module name variable
Vsevolod Stakhov [Sat, 31 Jul 2021 20:25:21 +0000 (21:25 +0100)]
[Minor] Refactor module name variable

3 years ago[Minor] Support commonly mistaken spf ipv4/ipv6 elements
Vsevolod Stakhov [Fri, 30 Jul 2021 15:34:14 +0000 (16:34 +0100)]
[Minor] Support commonly mistaken spf ipv4/ipv6 elements

3 years ago[Rework] Dmarc: Rework reports keys structure
Vsevolod Stakhov [Fri, 30 Jul 2021 15:21:33 +0000 (16:21 +0100)]
[Rework] Dmarc: Rework reports keys structure

3 years ago[Minor] Dmarc: Relax grammar to allow elements with no semicolons
Vsevolod Stakhov [Fri, 30 Jul 2021 14:26:16 +0000 (15:26 +0100)]
[Minor] Dmarc: Relax grammar to allow elements with no semicolons

3 years ago[Project] Dmarc: Use zlists for dmarc reports
Vsevolod Stakhov [Fri, 30 Jul 2021 14:16:42 +0000 (15:16 +0100)]
[Project] Dmarc: Use zlists for dmarc reports

3 years ago[Minor] Adjust unit test
Vsevolod Stakhov [Fri, 30 Jul 2021 12:52:44 +0000 (13:52 +0100)]
[Minor] Adjust unit test

3 years agoRevert "[Minor] Implement backslashes replacement while we normalise http paths"
Vsevolod Stakhov [Fri, 30 Jul 2021 12:52:08 +0000 (13:52 +0100)]
Revert "[Minor] Implement backslashes replacement while we normalise http paths"

This reverts commit 05d1951b5cfb9b72378eb3c1bdfdaa025b355789.

3 years ago[Minor] Implement backslashes replacement while we normalise http paths
Vsevolod Stakhov [Fri, 30 Jul 2021 10:25:40 +0000 (11:25 +0100)]
[Minor] Implement backslashes replacement while we normalise http paths

3 years ago[Minor] Try to deal with urls with backslashes in path
Vsevolod Stakhov [Fri, 30 Jul 2021 10:20:49 +0000 (11:20 +0100)]
[Minor] Try to deal with urls with backslashes in path

3 years agoMerge pull request #3835 from a16bitsysop/run-test
Vsevolod Stakhov [Thu, 29 Jul 2021 22:04:01 +0000 (23:04 +0100)]
Merge pull request #3835 from a16bitsysop/run-test

[Minor] CMakeLists.txt: add LUA_PATH for run-test

3 years ago[Minor] CMakeLists.txt: add LUA_PATH for run-test 3835/head
Duncan Bellamy [Wed, 28 Jul 2021 21:05:08 +0000 (22:05 +0100)]
[Minor] CMakeLists.txt: add LUA_PATH for run-test
* fixes #3826

3 years ago[Minor] Fix else branch
Vsevolod Stakhov [Thu, 29 Jul 2021 20:20:26 +0000 (21:20 +0100)]
[Minor] Fix else branch

3 years ago[Minor] More tags output fixes
Vsevolod Stakhov [Thu, 29 Jul 2021 16:53:01 +0000 (17:53 +0100)]
[Minor] More tags output fixes

3 years ago[Minor] Further fixes to the html tags content methods
Vsevolod Stakhov [Thu, 29 Jul 2021 16:43:49 +0000 (17:43 +0100)]
[Minor] Further fixes to the html tags content methods

3 years ago[Minor] Fix content length calculations
Vsevolod Stakhov [Thu, 29 Jul 2021 16:35:00 +0000 (17:35 +0100)]
[Minor] Fix content length calculations

3 years ago[Minor] Print all parts when printing html structure
Vsevolod Stakhov [Thu, 29 Jul 2021 16:34:47 +0000 (17:34 +0100)]
[Minor] Print all parts when printing html structure

3 years ago[Rework] Reorganize dmarc plugin and remove unsupported reporting code
Vsevolod Stakhov [Thu, 29 Jul 2021 14:54:25 +0000 (15:54 +0100)]
[Rework] Reorganize dmarc plugin and remove unsupported reporting code

3 years ago[Feature] Add lua_maps.fill_config_maps function
Vsevolod Stakhov [Thu, 29 Jul 2021 14:54:06 +0000 (15:54 +0100)]
[Feature] Add lua_maps.fill_config_maps function

3 years ago[Minor] Improve html tags structure display
Vsevolod Stakhov [Thu, 29 Jul 2021 12:02:41 +0000 (13:02 +0100)]
[Minor] Improve html tags structure display

3 years ago[Minor] Fix transparency parsing
Vsevolod Stakhov [Thu, 29 Jul 2021 11:59:22 +0000 (12:59 +0100)]
[Minor] Fix transparency parsing

3 years ago[Minor] Some fixes in content extraction for html tags
Vsevolod Stakhov [Thu, 29 Jul 2021 09:32:58 +0000 (10:32 +0100)]
[Minor] Some fixes in content extraction for html tags

3 years ago[Minor] Fix check for image urls
Vsevolod Stakhov [Wed, 28 Jul 2021 13:57:15 +0000 (14:57 +0100)]
[Minor] Fix check for image urls

3 years agoMerge pull request #3832 from citrin/asn-plugin-fix
Vsevolod Stakhov [Wed, 28 Jul 2021 20:12:35 +0000 (21:12 +0100)]
Merge pull request #3832 from citrin/asn-plugin-fix

[Fix] ASN: fix _FAIL symbol for when main symbol is disabled

3 years ago[Fix] ASN: fix _FAIL symbol for when main symbol is disabled 3832/head
Anton Yuzhaninov [Wed, 28 Jul 2021 18:06:20 +0000 (19:06 +0100)]
[Fix] ASN: fix _FAIL symbol for when main symbol is disabled

Fix error:
lua_dns_resolver_callback: call to dns callback failed: /usr/share/rspamd/plugins/asn.lua:74: attempt to concatenate field 'symbol' (a boolean value); trace: [1]:{/usr/share/rspamd/plugins/asn.lua:74 - <unknown> [Lua]};

Which happen when the main asn symbol is disabled in asn.conf using
symbol = false;

While here add nostat flag for ASN symbols (we cannot use them as
spam/ham signs).

3 years ago[Minor] Fix rspamd_text in selectors combinators
Vsevolod Stakhov [Wed, 28 Jul 2021 11:00:05 +0000 (12:00 +0100)]
[Minor] Fix rspamd_text in selectors combinators

3 years agoMerge pull request #3829 from fatalbanana/rspamd_text_selector_test
Vsevolod Stakhov [Wed, 28 Jul 2021 10:56:18 +0000 (11:56 +0100)]
Merge pull request #3829 from fatalbanana/rspamd_text_selector_test

Test selector that returns list of rspamd_text

3 years ago[Test] Selector that returns list of rspamd_text 3829/head
Andrew Lewis [Wed, 28 Jul 2021 10:04:43 +0000 (12:04 +0200)]
[Test] Selector that returns list of rspamd_text

3 years ago[Minor] Do not refork old workers that are due to be terminated
Vsevolod Stakhov [Wed, 28 Jul 2021 09:30:45 +0000 (10:30 +0100)]
[Minor] Do not refork old workers that are due to be terminated

3 years ago[Minor] Add more safety checks when adding content
Vsevolod Stakhov [Tue, 27 Jul 2021 19:19:58 +0000 (20:19 +0100)]
[Minor] Add more safety checks when adding content

3 years ago[Fix] Fix overflow when appending many broken tags
Vsevolod Stakhov [Tue, 27 Jul 2021 19:15:21 +0000 (20:15 +0100)]
[Fix] Fix overflow when appending many broken tags

3 years ago[Minor] Fix overflow tags parsing
Vsevolod Stakhov [Tue, 27 Jul 2021 19:15:04 +0000 (20:15 +0100)]
[Minor] Fix overflow tags parsing

3 years ago[Minor] Fix tags count calculation
Vsevolod Stakhov [Tue, 27 Jul 2021 19:07:41 +0000 (20:07 +0100)]
[Minor] Fix tags count calculation

3 years ago[Minor] One more logging improvement
Vsevolod Stakhov [Tue, 27 Jul 2021 15:30:35 +0000 (16:30 +0100)]
[Minor] One more logging improvement

3 years ago[Minor] Improve error reporting
Vsevolod Stakhov [Tue, 27 Jul 2021 15:25:27 +0000 (16:25 +0100)]
[Minor] Improve error reporting

3 years ago[Minor] 'Unpretty' function names for c++
Vsevolod Stakhov [Tue, 27 Jul 2021 14:08:54 +0000 (15:08 +0100)]
[Minor] 'Unpretty' function names for c++

3 years ago[Minor] Ensure that log line is separated by space
Vsevolod Stakhov [Tue, 27 Jul 2021 14:04:00 +0000 (15:04 +0100)]
[Minor] Ensure that log line is separated by space

3 years ago[Minor] Check if we have any alnum character
Vsevolod Stakhov [Mon, 26 Jul 2021 17:59:26 +0000 (18:59 +0100)]
[Minor] Check if we have any alnum character

3 years ago[Minor] Do not advance iterator
Vsevolod Stakhov [Mon, 26 Jul 2021 17:58:22 +0000 (18:58 +0100)]
[Minor] Do not advance iterator

3 years ago[Minor] Fix some base tag parsing issues
Vsevolod Stakhov [Mon, 26 Jul 2021 16:05:11 +0000 (17:05 +0100)]
[Minor] Fix some base tag parsing issues

3 years ago[Minor] Fix RSPAMD_URL_FLAG_IDN behaviour
Vsevolod Stakhov [Mon, 26 Jul 2021 13:43:50 +0000 (14:43 +0100)]
[Minor] Fix RSPAMD_URL_FLAG_IDN behaviour

3 years ago[Minor] One more safety check
Vsevolod Stakhov [Mon, 26 Jul 2021 13:15:37 +0000 (14:15 +0100)]
[Minor] One more safety check

3 years ago[Minor] Fix rdns requested_name field set-up
Vsevolod Stakhov [Mon, 26 Jul 2021 13:08:33 +0000 (14:08 +0100)]
[Minor] Fix rdns requested_name field set-up

3 years ago[Minor] Run all unit tests for Rspamd in run-test target
Vsevolod Stakhov [Sat, 24 Jul 2021 21:52:21 +0000 (22:52 +0100)]
[Minor] Run all unit tests for Rspamd in run-test target

3 years ago[Minor] Distinguish fatal and non fatal parsing errors
Vsevolod Stakhov [Fri, 23 Jul 2021 19:04:14 +0000 (20:04 +0100)]
[Minor] Distinguish fatal and non fatal parsing errors

3 years ago[Minor] Reduce C++ stuff demangling in logging
Vsevolod Stakhov [Fri, 23 Jul 2021 16:36:31 +0000 (17:36 +0100)]
[Minor] Reduce C++ stuff demangling in logging

3 years ago[Minor] Css: Slightly fix error propagation
Vsevolod Stakhov [Fri, 23 Jul 2021 16:31:54 +0000 (17:31 +0100)]
[Minor] Css: Slightly fix error propagation

3 years ago[Minor] Remove extra namespace
Vsevolod Stakhov [Fri, 23 Jul 2021 14:15:57 +0000 (15:15 +0100)]
[Minor] Remove extra namespace

3 years ago[Minor] Add std::hash specialisation + tests
Vsevolod Stakhov [Fri, 23 Jul 2021 14:09:19 +0000 (15:09 +0100)]
[Minor] Add std::hash specialisation + tests

3 years ago[Minor] Add std::swap specialisation
Vsevolod Stakhov [Fri, 23 Jul 2021 13:53:27 +0000 (14:53 +0100)]
[Minor] Add std::swap specialisation

3 years ago[Minor] Fix no tags case
Vsevolod Stakhov [Fri, 23 Jul 2021 09:47:37 +0000 (10:47 +0100)]
[Minor] Fix no tags case

3 years ago[Test] Separate local_ptr unit tests
Vsevolod Stakhov [Thu, 22 Jul 2021 17:21:31 +0000 (18:21 +0100)]
[Test] Separate local_ptr unit tests

3 years ago[Minor] Oops, add namespace
Vsevolod Stakhov [Thu, 22 Jul 2021 16:57:22 +0000 (17:57 +0100)]
[Minor] Oops, add namespace

3 years ago[Minor] Add weak ptr counterpart
Vsevolod Stakhov [Thu, 22 Jul 2021 16:52:54 +0000 (17:52 +0100)]
[Minor] Add weak ptr counterpart

3 years ago[Minor] Enable make_shared like behaviour
Vsevolod Stakhov [Thu, 22 Jul 2021 16:08:36 +0000 (17:08 +0100)]
[Minor] Enable make_shared like behaviour

3 years ago[Test] Add some tests
Vsevolod Stakhov [Thu, 22 Jul 2021 14:30:56 +0000 (15:30 +0100)]
[Test] Add some tests

3 years ago[Minor] Add a simple shared ptr with no atomics
Vsevolod Stakhov [Thu, 22 Jul 2021 14:30:39 +0000 (15:30 +0100)]
[Minor] Add a simple shared ptr with no atomics

3 years ago[Fix] Fix copy&paste error and rework
Vsevolod Stakhov [Thu, 22 Jul 2021 12:21:29 +0000 (13:21 +0100)]
[Fix] Fix copy&paste error and rework

3 years ago[Rework] Start conversion of the redis pool code to c++
Vsevolod Stakhov [Thu, 22 Jul 2021 12:05:00 +0000 (13:05 +0100)]
[Rework] Start conversion of the redis pool code to c++

No functional changes.

3 years ago[Minor] Skip spaces in malformed SMTP addresses
Vsevolod Stakhov [Wed, 21 Jul 2021 14:46:38 +0000 (15:46 +0100)]
[Minor] Skip spaces in malformed SMTP addresses

Issue: #3812

3 years ago[Minor] Fix parsing of some misformed email addresses
Vsevolod Stakhov [Wed, 21 Jul 2021 14:42:57 +0000 (15:42 +0100)]
[Minor] Fix parsing of some misformed email addresses

3 years ago[Minor] Fix one more corner case
Vsevolod Stakhov [Wed, 21 Jul 2021 14:13:27 +0000 (15:13 +0100)]
[Minor] Fix one more corner case

3 years ago[Minor] Fix order of checks
Vsevolod Stakhov [Wed, 21 Jul 2021 14:10:36 +0000 (15:10 +0100)]
[Minor] Fix order of checks

3 years ago[Minor] Slightly improve health checks
Vsevolod Stakhov [Wed, 21 Jul 2021 14:07:09 +0000 (15:07 +0100)]
[Minor] Slightly improve health checks

3 years ago[Minor] Add health check command for control interface
Vsevolod Stakhov [Wed, 21 Jul 2021 10:56:17 +0000 (11:56 +0100)]
[Minor] Add health check command for control interface

3 years agoMerge pull request #3788 from mrueg/healthcheck
Vsevolod Stakhov [Wed, 21 Jul 2021 10:04:36 +0000 (11:04 +0100)]
Merge pull request #3788 from mrueg/healthcheck

Add health and readiness checks

3 years agoMerge pull request #3819 from a16bitsysop/rspamd-test-cxx
Vsevolod Stakhov [Tue, 20 Jul 2021 15:06:31 +0000 (16:06 +0100)]
Merge pull request #3819 from a16bitsysop/rspamd-test-cxx

[Test] CMakeLists.txt: Change check and run-test to rspamd-test-cxx

3 years ago[Minor] Lowercase id and class components
Vsevolod Stakhov [Tue, 20 Jul 2021 13:39:20 +0000 (14:39 +0100)]
[Minor] Lowercase id and class components

3 years ago[Minor] Fix css override
Vsevolod Stakhov [Tue, 20 Jul 2021 13:25:52 +0000 (14:25 +0100)]
[Minor] Fix css override

3 years ago[Rework] Redesign html blocks propagation logic
Vsevolod Stakhov [Tue, 20 Jul 2021 11:56:42 +0000 (12:56 +0100)]
[Rework] Redesign html blocks propagation logic

3 years ago[Minor] Fix crash on redundant <style> tag
Vsevolod Stakhov [Mon, 19 Jul 2021 15:47:42 +0000 (16:47 +0100)]
[Minor] Fix crash on redundant <style> tag

3 years ago[Minor] Fix style parsing
Vsevolod Stakhov [Mon, 19 Jul 2021 14:10:34 +0000 (15:10 +0100)]
[Minor] Fix style parsing

3 years ago[Fix] Various visibility fixes
Vsevolod Stakhov [Mon, 19 Jul 2021 13:18:41 +0000 (14:18 +0100)]
[Fix] Various visibility fixes

3 years ago[Minor] Fix off-by-one error when parsing id selectors
Vsevolod Stakhov [Mon, 19 Jul 2021 11:16:03 +0000 (12:16 +0100)]
[Minor] Fix off-by-one error when parsing id selectors

3 years ago[Minor] Enable css parser by default
Vsevolod Stakhov [Mon, 19 Jul 2021 11:15:52 +0000 (12:15 +0100)]
[Minor] Enable css parser by default

3 years ago[Minor] Fix css style reading
Vsevolod Stakhov [Mon, 19 Jul 2021 09:48:36 +0000 (10:48 +0100)]
[Minor] Fix css style reading