]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years ago[Fix] Try to fix dkim reputation adjustements
Vsevolod Stakhov [Wed, 6 Apr 2022 19:01:48 +0000 (20:01 +0100)]
[Fix] Try to fix dkim reputation adjustements

Reported and discussed with @moisseev

2 years ago[Minor] Add missing include
Vsevolod Stakhov [Sat, 2 Apr 2022 15:49:35 +0000 (16:49 +0100)]
[Minor] Add missing include

Issue: #4131

2 years ago[Minor] Oops, fix null check logic
Vsevolod Stakhov [Thu, 31 Mar 2022 10:26:06 +0000 (11:26 +0100)]
[Minor] Oops, fix null check logic

2 years ago[Minor] Also allow to set objects to null for disabling
Vsevolod Stakhov [Wed, 30 Mar 2022 20:15:00 +0000 (21:15 +0100)]
[Minor] Also allow to set objects to null for disabling

2 years ago[Minor] Well, I've said `mirrors`!
Vsevolod Stakhov [Wed, 30 Mar 2022 20:08:00 +0000 (21:08 +0100)]
[Minor] Well, I've said `mirrors`!

2 years ago[Minor] Check enabled/disabled logic for the proxy upstreams/mirrors
Vsevolod Stakhov [Wed, 30 Mar 2022 20:06:43 +0000 (21:06 +0100)]
[Minor] Check enabled/disabled logic for the proxy upstreams/mirrors

2 years ago[Rework] Isolate disable/enable logic for the configuration ucl objects
Vsevolod Stakhov [Wed, 30 Mar 2022 19:31:21 +0000 (20:31 +0100)]
[Rework] Isolate disable/enable logic for the configuration ucl objects

2 years ago[Minor] Sort error ips by number of errors
Vsevolod Stakhov [Tue, 29 Mar 2022 19:43:03 +0000 (20:43 +0100)]
[Minor] Sort error ips by number of errors

2 years ago[Minor] Remove useless checks
Vsevolod Stakhov [Mon, 28 Mar 2022 19:29:12 +0000 (20:29 +0100)]
[Minor] Remove useless checks

2 years ago[Minor] Use a more neat approach
Vsevolod Stakhov [Mon, 28 Mar 2022 19:19:19 +0000 (20:19 +0100)]
[Minor] Use a more neat approach

2 years ago[Minor] Update more copyright years/email
Vsevolod Stakhov [Sun, 27 Mar 2022 11:55:23 +0000 (12:55 +0100)]
[Minor] Update more copyright years/email

2 years ago[Minor] Update readme
Vsevolod Stakhov [Sun, 27 Mar 2022 11:40:33 +0000 (12:40 +0100)]
[Minor] Update readme

2 years ago[Fix] Rbl: Fix received positioned checks
Vsevolod Stakhov [Sun, 27 Mar 2022 11:24:28 +0000 (12:24 +0100)]
[Fix] Rbl: Fix received positioned checks

2 years ago[Minor] Update version to 3.3
Vsevolod Stakhov [Sat, 26 Mar 2022 12:24:18 +0000 (12:24 +0000)]
[Minor] Update version to 3.3

2 years agoRelease 3.2 3.2
Vsevolod Stakhov [Sat, 26 Mar 2022 12:23:26 +0000 (12:23 +0000)]
Release 3.2

* [Conf] Score MIME_OBFUSCATED_ARCHIVE to 8 points
* [Conf] Set one_shot for URIBL rules by default
* [CritFix] Fix upstreams name resolution when there is also a port
* [Feature] Add ROC feature to neural network plugin
* [Feature] Add public suffic compilation utility
* [Feature] Add support of Cloudmark
* [Feature] Allow hyperscan for ppc64, as vectorscan now suports it.
* [Feature] Allow to skip DNS resolution for keep-alive connections
* [Feature] Aws_s3: Allow to store large parts separately
* [Feature] BIMI: Add preliminary version of the BIMI plugin
* [Feature] JSON endpoint for querying maps
* [Feature] Lua_magic: Add a sane CSV heuristic
* [Feature] Lua_mime: Add schema for message transfer
* [Feature] Output average scan time in /stat endpoint
* [Feature] Show average scan time in `rspamc stat` output
* [Fix] Add guards to avoid race condition on TCP connection
* [Fix] Allow spaces in DKIM key records
* [Fix] Apply the similar fix to the url_reputation
* [Fix] Avoid overwriting whitelisted_signers_map
* [Fix] Backport PR from libucl
* [Fix] Clear SSL errors
* [Fix] ClickHouse cleanup of old partitions
* [Fix] Do not double call error handler on ssl errors in the timeout path
* [Fix] Do not forget to clear pointers on IOC reset
* [Fix] External_relay: Remove useless check of the map value
* [Fix] Find suspicious url encodings that could break url extraction
* [Fix] Fix HTTP(s) client timeout
* [Fix] Fix exclude flags setting
* [Fix] Fix expanding of the variables
* [Fix] Fix host header usage in lua_http
* [Fix] Fix http maps shared memory cache cleanup
* [Fix] Fix logic in HTML processing FSM
* [Fix] Fix parsing of the compound mailto urls
* [Fix] Fix processing captures from pcre2
* [Fix] Fix removing from khash
* [Fix] Fix stuctured headers pushing
* [Fix] Further fix for i386 compilation
* [Fix] Improve duplicate settings error reporting
* [Fix] Lua: task:remove_result didn't work in some cases
* [Fix] Output service parts as well
* [Fix] Phishing: Deal with phishing + redirected URL
* [Fix] Phishing: Fix finding domains in the phishing map
* [Fix] Plug memory leak by using mempool for a copied address
* [Fix] Properly find the request and the number of requested entries
* [Fix] Rbl: Fix inversed logic of the url_full_hostname
* [Fix] Read file maps if they were not pre-read during preload
* [Fix] Restrict x86_64 assembly to x86_64
* [Fix] Return a real number of recipients when dealing with aliases
* [Fix] Rework unshedule DNS request function
* [Fix] Support definition of ungrouped symbol in conf file, use group info from lua or other conf file
* [Fix] Unschedule DNS request when clearing IO channel
* [Fix] When checking for phishing, we need to convert punicode -> UTF8, not vice versa
* [Fix] lua_cfg_transform - actions without score (discard)
* [Fix] lua_cfg_transform - silly break break actions
* [Fix] ratelimit - symbol per bucket
* [Project] BIMI: Fix helper integration issues
* [Project] Further DNS over TCP architecturing
* [Project] Rdns: Add more functions for TCP based requests
* [Project] Rdns: Add preliminary reading logic for TCP channels
* [Project] Rdns: Add reaper for inactive TCP connections
* [Project] Rdns: Add timeout logic for TCP requests
* [Project] Rdns: Do not treat TCP channels failure as fatal
* [Project] Rdns: Fix TCP connection mess
* [Project] Rdns: Fix TCP stuff cleanup
* [Project] Rdns: Fix various ownership issues
* [Project] Rdns: Implement TCP writing logic
* [Project] Rdns: Initial support of TCP IO channels
* [Project] Rdns: More fixes in TCP handling
* [Project] Rdns: Restore the previous EDNS0 size
* [Project] Rdns: Send truncated replies via TCP
* [Project] Rdns: Unregister TCP requests
* [Rework] Allow to restore SSL handlers after keepalive pooling
* [Rework] Allow to set a different behaviour for actions from settings
* [Rework] Include SSL flag into keepalive hash
* [Rework] Make `rspamadm dmarc_report` default behaviour more sane
* [Rework] Mempool: Use explicit alignment
* [Rework] Rdns: Use faster and more compact hash table for DNS requests
* [Rework] Rework SSL flag operations
* [Rework] Take disabled flag into account
* [Rework] Timeouts are now global per event and not reseted by IO activity
* [Rework] Use xxh3 as a default hash and fix memory/alignment issues
* [Rules] Fix old rules to stop global functions usage
* [Rules] Fix symbol for DKIM temporary failure
* [Rules] Remove ancient and inefficient rules
* [Rules] Slightly reduce MULTIPLE_FROM score

2 years ago[Minor] Update my email and the copyright year
Vsevolod Stakhov [Fri, 25 Mar 2022 20:16:35 +0000 (20:16 +0000)]
[Minor] Update my email and the copyright year

2 years ago[Test] Split test
Vsevolod Stakhov [Wed, 23 Mar 2022 20:26:04 +0000 (20:26 +0000)]
[Test] Split test

2 years ago[Rules] Slightly reduce MULTIPLE_FROM score
Vsevolod Stakhov [Wed, 23 Mar 2022 20:25:47 +0000 (20:25 +0000)]
[Rules] Slightly reduce MULTIPLE_FROM score

2 years ago[Minor] Micro-optimisation
Vsevolod Stakhov [Wed, 23 Mar 2022 20:23:04 +0000 (20:23 +0000)]
[Minor] Micro-optimisation

Suggested by: @citrin

2 years ago[Minor] Add max scores for some groups
Vsevolod Stakhov [Wed, 23 Mar 2022 20:18:52 +0000 (20:18 +0000)]
[Minor] Add max scores for some groups

2 years ago[Minor] Free structure on exit
Vsevolod Stakhov [Mon, 21 Mar 2022 21:06:19 +0000 (21:06 +0000)]
[Minor] Free structure on exit

2 years ago[Minor] Multimap: Fix default score
Vsevolod Stakhov [Sun, 20 Mar 2022 22:53:27 +0000 (22:53 +0000)]
[Minor] Multimap: Fix default score

Issue: #4117

2 years ago[Minor] Allow to disable composites without config breaking
Vsevolod Stakhov [Sun, 20 Mar 2022 17:32:34 +0000 (17:32 +0000)]
[Minor] Allow to disable composites without config breaking

Issue: #4078

2 years ago[Minor] Cleanup memory on the error path
Vsevolod Stakhov [Sun, 20 Mar 2022 12:55:09 +0000 (12:55 +0000)]
[Minor] Cleanup memory on the error path

2 years ago[Minor] Optimise boundaries processing by avoiding small strings allocation
Vsevolod Stakhov [Sun, 20 Mar 2022 12:53:03 +0000 (12:53 +0000)]
[Minor] Optimise boundaries processing by avoiding small strings allocation

2 years ago[Fix] Plug memory leak by using mempool for a copied address
Vsevolod Stakhov [Sun, 20 Mar 2022 12:45:59 +0000 (12:45 +0000)]
[Fix] Plug memory leak by using mempool for a copied address

2 years ago[Minor] Allow to specify mempool when copying an IP address structure
Vsevolod Stakhov [Sun, 20 Mar 2022 12:45:03 +0000 (12:45 +0000)]
[Minor] Allow to specify mempool when copying an IP address structure

2 years ago[Minor] Plug memory leak when rescheduling requests over TCP
Vsevolod Stakhov [Sun, 20 Mar 2022 12:36:06 +0000 (12:36 +0000)]
[Minor] Plug memory leak when rescheduling requests over TCP

2 years ago[Minor] Rbl: Do not check empty user/domain in rbl
Vsevolod Stakhov [Sat, 19 Mar 2022 14:48:55 +0000 (14:48 +0000)]
[Minor] Rbl: Do not check empty user/domain in rbl

2 years ago[Minor] Adopt lua_url stuff for the new PRG
Vsevolod Stakhov [Fri, 18 Mar 2022 21:33:31 +0000 (21:33 +0000)]
[Minor] Adopt lua_url stuff for the new PRG

2 years ago[Minor] Use wyrand for fast random as we already use mumhash for fast hashing
Vsevolod Stakhov [Fri, 18 Mar 2022 21:32:53 +0000 (21:32 +0000)]
[Minor] Use wyrand for fast random as we already use mumhash for fast hashing

2 years agoMerge pull request #4112 from msuslu/master
Vsevolod Stakhov [Fri, 18 Mar 2022 19:25:09 +0000 (19:25 +0000)]
Merge pull request #4112 from msuslu/master

make gcc 8.5 happy

2 years agoMerge pull request #4113 from PHPGangsta/patch-2
Vsevolod Stakhov [Thu, 17 Mar 2022 20:47:04 +0000 (20:47 +0000)]
Merge pull request #4113 from PHPGangsta/patch-2

Small fix in a comment

2 years agoMerge pull request #4114 from HeinleinSupport/lua_scanners/spamassassin
Vsevolod Stakhov [Thu, 17 Mar 2022 20:46:40 +0000 (20:46 +0000)]
Merge pull request #4114 from HeinleinSupport/lua_scanners/spamassassin

[Minor] lua_scanner - spamassassin - another try to match all spamd r…

2 years ago[Minor] lua_scanner - spamassassin - another try to match all spamd returns 4114/head
Carsten Rosenberg [Thu, 17 Mar 2022 18:56:52 +0000 (19:56 +0100)]
[Minor] lua_scanner - spamassassin - another try to match all spamd returns

fix #4088

2 years agoSmall fix in a comment 4113/head
Michael Kliewe [Thu, 17 Mar 2022 17:01:23 +0000 (18:01 +0100)]
Small fix in a comment

2 years agomake gcc 8.5 happy 4112/head
Mehmet Suslu [Tue, 15 Mar 2022 15:18:10 +0000 (18:18 +0300)]
make gcc 8.5 happy

gcc 8.5 doesn't compile this file without template parameters for ptr_and_refcnt constructor.

2 years ago[Fix] Return a real number of recipients when dealing with aliases
Vsevolod Stakhov [Mon, 14 Mar 2022 21:02:30 +0000 (21:02 +0000)]
[Fix] Return a real number of recipients when dealing with aliases

Issue: #4104

2 years ago[Minor] Fix find to search for plain substrings only
Vsevolod Stakhov [Mon, 14 Mar 2022 20:06:59 +0000 (20:06 +0000)]
[Minor] Fix find to search for plain substrings only

2 years ago[Test] Add test for csv detection
Vsevolod Stakhov [Sun, 13 Mar 2022 16:27:20 +0000 (16:27 +0000)]
[Test] Add test for csv detection

2 years ago[Minor] Fix detection for some csv cases
Vsevolod Stakhov [Sun, 13 Mar 2022 16:14:49 +0000 (16:14 +0000)]
[Minor] Fix detection for some csv cases

2 years ago[Minor] Another fix for `task:get_symbol`
Vsevolod Stakhov [Sun, 13 Mar 2022 15:54:10 +0000 (15:54 +0000)]
[Minor] Another fix for `task:get_symbol`

2 years ago[Minor] Fix use of task:get_symbol
Vsevolod Stakhov [Sun, 13 Mar 2022 15:44:22 +0000 (15:44 +0000)]
[Minor] Fix use of task:get_symbol

2 years ago[Minor] Reputation: Another bunch of fixes
Vsevolod Stakhov [Sat, 12 Mar 2022 10:58:25 +0000 (10:58 +0000)]
[Minor] Reputation: Another bunch of fixes

Issue: #4100

2 years ago[Minor] Reputation: Fix config variable
Vsevolod Stakhov [Fri, 11 Mar 2022 21:52:40 +0000 (21:52 +0000)]
[Minor] Reputation: Fix config variable

2 years ago[Fix] Apply the similar fix to the url_reputation
Vsevolod Stakhov [Thu, 10 Mar 2022 21:29:33 +0000 (21:29 +0000)]
[Fix] Apply the similar fix to the url_reputation

Issue: #4100

2 years ago[Fix] Properly find the request and the number of requested entries
Vsevolod Stakhov [Thu, 10 Mar 2022 21:18:31 +0000 (21:18 +0000)]
[Fix] Properly find the request and the number of requested entries

Issue: #4100

2 years agoMerge pull request #4097 from moisseev/webui
Vsevolod Stakhov [Sun, 6 Mar 2022 17:14:04 +0000 (17:14 +0000)]
Merge pull request #4097 from moisseev/webui

Webui

2 years ago[Minor] Add average scan time metric
Vsevolod Stakhov [Sat, 5 Mar 2022 21:02:09 +0000 (21:02 +0000)]
[Minor] Add average scan time metric

Issue: #4096

2 years ago[Minor] Deduplicate sum function
Vsevolod Stakhov [Sat, 5 Mar 2022 20:49:26 +0000 (20:49 +0000)]
[Minor] Deduplicate sum function

2 years ago[Minor] Move summation to a separate routine
Vsevolod Stakhov [Sat, 5 Mar 2022 20:36:40 +0000 (20:36 +0000)]
[Minor] Move summation to a separate routine

2 years ago[Minor] Fix printing
Vsevolod Stakhov [Sat, 5 Mar 2022 20:30:41 +0000 (20:30 +0000)]
[Minor] Fix printing

2 years ago[WebUI] Show scan time in server list 4097/head
moisseev [Sat, 5 Mar 2022 09:29:16 +0000 (12:29 +0300)]
[WebUI] Show scan time in server list

2 years ago[Test] Enable ECMAScript 6 features
moisseev [Sat, 5 Mar 2022 09:19:01 +0000 (12:19 +0300)]
[Test] Enable ECMAScript 6 features

2 years ago[Minor] Move common stuff to a function
Vsevolod Stakhov [Fri, 4 Mar 2022 21:32:03 +0000 (21:32 +0000)]
[Minor] Move common stuff to a function

2 years ago[Minor] Obsolete old fuzzy epochs
Vsevolod Stakhov [Wed, 2 Mar 2022 22:22:31 +0000 (22:22 +0000)]
[Minor] Obsolete old fuzzy epochs

2 years agoMerge pull request #4093 from citrin/str_endswith
Vsevolod Stakhov [Mon, 28 Feb 2022 20:25:39 +0000 (20:25 +0000)]
Merge pull request #4093 from citrin/str_endswith

[Minor] Microoptimize lua_util.str_endswith

2 years agoMerge pull request #4079 from HeinleinSupport/lua_scanners/icap
Vsevolod Stakhov [Sun, 27 Feb 2022 16:55:17 +0000 (16:55 +0000)]
Merge pull request #4079 from HeinleinSupport/lua_scanners/icap

Lua scanners/icap

2 years ago[Minor] lua_scanners - icap - lua linting 4079/head
Carsten Rosenberg [Sun, 27 Feb 2022 16:54:19 +0000 (17:54 +0100)]
[Minor] lua_scanners - icap - lua linting

2 years ago[Minor] lua_scanners - icap - adjust threat_table function
Carsten Rosenberg [Sun, 27 Feb 2022 15:43:25 +0000 (16:43 +0100)]
[Minor] lua_scanners - icap - adjust threat_table function

2 years ago[Minor] lua_scanners - icap - update compatibility
Carsten Rosenberg [Fri, 11 Feb 2022 13:49:58 +0000 (14:49 +0100)]
[Minor] lua_scanners - icap - update compatibility

2 years ago[Minor] lua_scanners - icap - add another variant of icap return
Carsten Rosenberg [Fri, 3 Dec 2021 17:06:33 +0000 (18:06 +0100)]
[Minor] lua_scanners - icap - add another variant of icap return

2 years ago[Minor] Add missing division
Vsevolod Stakhov [Sun, 27 Feb 2022 09:49:27 +0000 (09:49 +0000)]
[Minor] Add missing division

Pointed by: @moisseev

2 years ago[Minor] Microoptimize lua_util.str_endswith 4093/head
Anton Yuzhaninov [Sat, 26 Feb 2022 13:56:36 +0000 (13:56 +0000)]
[Minor] Microoptimize lua_util.str_endswith

Use find to check string suffix instead of sub (which involves string
interning of a returned string).  Benchmarks with LuaJIT 2.1.0 shows
that an option with find is significantly faster.

While here added unit test for this function.

2 years ago[Feature] Show average scan time in `rspamc stat` output
Vsevolod Stakhov [Sat, 26 Feb 2022 13:31:58 +0000 (13:31 +0000)]
[Feature] Show average scan time in `rspamc stat` output

2 years ago[Feature] Output average scan time in /stat endpoint
Vsevolod Stakhov [Sat, 26 Feb 2022 13:24:03 +0000 (13:24 +0000)]
[Feature] Output average scan time in /stat endpoint

2 years ago[Minor] Always report actions count
Vsevolod Stakhov [Sat, 26 Feb 2022 13:05:01 +0000 (13:05 +0000)]
[Minor] Always report actions count

2 years ago[Minor] Mark `c` in Kahan sum volatile
Vsevolod Stakhov [Sat, 26 Feb 2022 12:51:46 +0000 (12:51 +0000)]
[Minor] Mark `c` in Kahan sum volatile

2 years ago[Minor] Add average time processing slots
Vsevolod Stakhov [Sat, 26 Feb 2022 12:43:04 +0000 (12:43 +0000)]
[Minor] Add average time processing slots

2 years ago[Minor] Align rspamd_stat structure
Vsevolod Stakhov [Sat, 26 Feb 2022 12:14:09 +0000 (12:14 +0000)]
[Minor] Align rspamd_stat structure

2 years ago[Test] Ignore index.html
moisseev [Thu, 24 Feb 2022 14:06:24 +0000 (17:06 +0300)]
[Test] Ignore index.html

2 years agoSpelling (#4086)
Josh Soref [Tue, 22 Feb 2022 22:01:28 +0000 (17:01 -0500)]
Spelling (#4086)

[Rework] Massive spelling fix from @jsoref

2 years agoMerge pull request #4085 from moisseev/d3pie
Vsevolod Stakhov [Sun, 20 Feb 2022 18:56:56 +0000 (18:56 +0000)]
Merge pull request #4085 from moisseev/d3pie

[WebUI] Replace pie chart library

2 years ago[WebUI] Replace pie chart library 4085/head
moisseev [Sun, 20 Feb 2022 17:36:32 +0000 (20:36 +0300)]
[WebUI] Replace pie chart library

2 years ago[Minor] Strip message id from enclosing spaces
Vsevolod Stakhov [Thu, 17 Feb 2022 21:34:53 +0000 (21:34 +0000)]
[Minor] Strip message id from enclosing spaces

Issue: #4081

2 years ago[Test] Add a test case
Vsevolod Stakhov [Thu, 17 Feb 2022 21:24:58 +0000 (21:24 +0000)]
[Test] Add a test case

Issue: #4081

2 years ago[Fix] External_relay: Remove useless check of the map value
Vsevolod Stakhov [Wed, 16 Feb 2022 21:18:47 +0000 (21:18 +0000)]
[Fix] External_relay: Remove useless check of the map value

Issue: #4080

2 years agoMerge pull request #4077 from citrin/DKIM_MIXED
Vsevolod Stakhov [Tue, 15 Feb 2022 20:32:56 +0000 (20:32 +0000)]
Merge pull request #4077 from citrin/DKIM_MIXED

[Rules] Fix symbol for DKIM temporary failure

2 years ago[Rules] Fix symbol for DKIM temporary failure 4077/head
Anton Yuzhaninov [Tue, 15 Feb 2022 14:33:08 +0000 (14:33 +0000)]
[Rules] Fix symbol for DKIM temporary failure

There is no R_DKIM_DNSFAIL symbol (in default config), but there is R_DKIM_TEMPFAIL.

2 years ago[Minor] Add an example for the lua_maps usage
Vsevolod Stakhov [Mon, 14 Feb 2022 21:10:35 +0000 (21:10 +0000)]
[Minor] Add an example for the lua_maps usage

2 years ago[Fix] When checking for phishing, we need to convert punicode -> UTF8, not vice versa
Vsevolod Stakhov [Sun, 13 Feb 2022 12:56:43 +0000 (12:56 +0000)]
[Fix] When checking for phishing, we need to convert punicode -> UTF8, not vice versa

Previosly, Rspamd has checked for `xn--` signature just to convert it back to `xn--` form.
According to the expected results, it should do the opposite conversion.

Issue: #4065

2 years ago[Minor] Improve error reporting
Vsevolod Stakhov [Sun, 13 Feb 2022 12:46:44 +0000 (12:46 +0000)]
[Minor] Improve error reporting

Issue: #4076

2 years ago[Fix] Fix http maps shared memory cache cleanup
Vsevolod Stakhov [Sat, 12 Feb 2022 13:03:15 +0000 (13:03 +0000)]
[Fix] Fix http maps shared memory cache cleanup

It must be initiated by active http worker as it really has the shm object
available.

2 years ago[Minor] Store map pointer in a backend structure
Vsevolod Stakhov [Sat, 12 Feb 2022 13:02:59 +0000 (13:02 +0000)]
[Minor] Store map pointer in a backend structure

2 years ago[Minor] Add more logging for the shm cache for the maps
Vsevolod Stakhov [Sat, 12 Feb 2022 12:42:12 +0000 (12:42 +0000)]
[Minor] Add more logging for the shm cache for the maps

2 years agoMerge pull request #4074 from citrin/clickhouse
Vsevolod Stakhov [Thu, 10 Feb 2022 20:09:03 +0000 (20:09 +0000)]
Merge pull request #4074 from citrin/clickhouse

[Fix] ClickHouse cleanup of old partitions

2 years agoMerge pull request #4070 from moisseev/lua-stat
Vsevolod Stakhov [Thu, 10 Feb 2022 20:07:36 +0000 (20:07 +0000)]
Merge pull request #4070 from moisseev/lua-stat

[Minor] Disable Received tokens

2 years agoMerge pull request #4069 from moisseev/webui
Vsevolod Stakhov [Thu, 10 Feb 2022 20:07:20 +0000 (20:07 +0000)]
Merge pull request #4069 from moisseev/webui

[Minor] WebUI CSS: Drop ancient gradient syntaxes

2 years ago[Fix] ClickHouse cleanup of old partitions 4074/head
Anton Yuzhaninov [Thu, 10 Feb 2022 10:05:08 +0000 (10:05 +0000)]
[Fix] ClickHouse cleanup of old partitions

If /var/lib/rspamd/clickhouse_retention_run is missing or has no
number cleanup was not performed because of a following Lua error:

lua_periodic_callback_error: call to periodic script (registered at clickhouse.lua:1531) failed: /usr/share/rspamd/plugins/clickhouse.lua:991: attempt to compare number with nil; trace: [1]:{/usr/share/rspamd/plugins/clickhouse.lua:1069 - <unknown> [Lua]};

2 years ago[Minor] Disable Received tokens 4070/head
moisseev [Thu, 10 Feb 2022 08:53:58 +0000 (11:53 +0300)]
[Minor] Disable Received tokens

2 years ago[Minor] WebUI CSS: Drop ancient gradient syntaxes 4069/head
moisseev [Thu, 10 Feb 2022 08:08:50 +0000 (11:08 +0300)]
[Minor] WebUI CSS: Drop ancient gradient syntaxes

2 years agoMerge pull request #4067 from citrin/nitpick
Vsevolod Stakhov [Wed, 9 Feb 2022 20:03:23 +0000 (20:03 +0000)]
Merge pull request #4067 from citrin/nitpick

[Minor] Remove repeated strcmp(key, "score")

2 years agoMerge pull request #4066 from citrin/lua-tests-gc
Vsevolod Stakhov [Wed, 9 Feb 2022 20:02:43 +0000 (20:02 +0000)]
Merge pull request #4066 from citrin/lua-tests-gc

[Minor] Tune Lua GC for Lua unit tests

2 years ago[Minor] Remove repeated strcmp(key, "score") 4067/head
Anton Yuzhaninov [Tue, 8 Feb 2022 21:29:03 +0000 (21:29 +0000)]
[Minor] Remove repeated strcmp(key, "score")

2 years ago[Minor] Tune Lua GC for Lua unit tests 4066/head
Anton Yuzhaninov [Tue, 8 Feb 2022 21:22:34 +0000 (21:22 +0000)]
[Minor] Tune Lua GC for Lua unit tests

Fixes sporadic unit test failures (on Mac OS X).

2 years ago[Minor] Off by one
Vsevolod Stakhov [Tue, 8 Feb 2022 09:05:35 +0000 (09:05 +0000)]
[Minor] Off by one

2 years ago[Minor] Fix a corner case
Vsevolod Stakhov [Mon, 7 Feb 2022 22:08:29 +0000 (22:08 +0000)]
[Minor] Fix a corner case

2 years ago[CritFix] Fix upstreams name resolution when there is also a port
Vsevolod Stakhov [Mon, 7 Feb 2022 22:06:25 +0000 (22:06 +0000)]
[CritFix] Fix upstreams name resolution when there is also a port

This fix is intended to address the case when Rspamd queries for a hostname with
a port part when re-resolving upstreams addresses via the upstreams module.

Found by: @slavkoja
Confirmed by: @moisseev

2 years ago[Rework] Make `rspamadm dmarc_report` default behaviour more sane
Vsevolod Stakhov [Sun, 6 Feb 2022 20:15:46 +0000 (20:15 +0000)]
[Rework] Make `rspamadm dmarc_report` default behaviour more sane

Issue: #4062

2 years ago[Fix] Rework unshedule DNS request function
Vsevolod Stakhov [Sat, 5 Feb 2022 12:28:30 +0000 (12:28 +0000)]
[Fix] Rework unshedule DNS request function