]> source.dussan.org Git - rspamd.git/log
rspamd.git
6 years agoRelease 1.7.4 1.7.4
Vsevolod Stakhov [Tue, 1 May 2018 15:52:02 +0000 (16:52 +0100)]
Release 1.7.4

* [Conf] Major stock config updates:
    - Workers are now specified in a new format worker "type" { ... }
    - Enable fuzzy worker to simplify local fuzzy storages configuration
    - Bind all workers to localhost by default to avoid security flaws
* [Conf] Make more sane fuzzy_check default settings
* [CritFix] Fix ucl escape for bad symbols
* [Feature] Add failure symbol for AV module
* [Feature] Add lazy expiration mode for new classifier schema
* [Feature] Add preliminary version of maps stats plugin
* [Feature] Allow to block fuzzy requests from specific networks
* [Feature] Allow to change `expire` of live statistics
* [Feature] Distinguish AV failure from clean result
* [Feature] Further improvements of language detector by using khash
* [Feature] Further optimization of the lang_detection
* [Feature] Implement cluster-aware bayes expiry
* [Feature] Implement exclude patterns in rspamc
* [Feature] Implement glob maps in addition to regexp maps
* [Feature] Implement map statistics function for lua API
* [Feature] Implement stop symbols for Clickhouse collection
* [Feature] Support recipients separated by commas
* [Feature] Try harder to upload scripts to the Redis server
* [Feature] Upgrade t1ha distribution
* [Feature] use_domain_sign_inbound
* [Feature] Use scores from maps if `symbols_set` is not defined
* [Fix] Add resolving version of radix map helper
* [Fix] Check URL before adding implicit prefix
* [Fix] Do not check pid/state when using PRNG
* [Fix] Fix CentOS logrotate script for systemd
* [Fix] Fix slash + dot in urls
* [Fix] Fix systemd version of the logrotate script
* [Fix] Propagate key when import implicit array from Lua
* [Fix] Strip spaces from map keys and values
* [Fix] Try to fix a specific case when processing milter protocol
* [Fix] Try to fix crash when a tcp connection cannot be set
* [Fix] Typo use_domain_local --> use_domain_sign_local
* [Fix] Various fixes to once_received module
* [Project] Store hits counters for map elements

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
6 years ago[Feature] Distinguish AV failure from clean result
Vsevolod Stakhov [Tue, 1 May 2018 14:55:25 +0000 (15:55 +0100)]
[Feature] Distinguish AV failure from clean result

6 years agoMerge pull request #2208 from andy-igoshin/master
Vsevolod Stakhov [Tue, 1 May 2018 12:47:02 +0000 (13:47 +0100)]
Merge pull request #2208 from andy-igoshin/master

[Minor] domains added

6 years ago[Minor] domains added 2208/head
Andrey Igoshin [Tue, 1 May 2018 11:59:21 +0000 (14:59 +0300)]
[Minor] domains added

6 years ago[Minor] List proxy worker configurables
Vsevolod Stakhov [Tue, 1 May 2018 08:12:19 +0000 (09:12 +0100)]
[Minor] List proxy worker configurables

6 years ago[Test] Try to fix AV tests
Vsevolod Stakhov [Mon, 30 Apr 2018 19:01:55 +0000 (20:01 +0100)]
[Test] Try to fix AV tests

6 years ago[Minor] Fix virtual symbols registration as parent now supports just ids
Vsevolod Stakhov [Mon, 30 Apr 2018 18:45:02 +0000 (19:45 +0100)]
[Minor] Fix virtual symbols registration as parent now supports just ids

6 years ago[Minor] Fix issues with fail symbol in AV module
Vsevolod Stakhov [Mon, 30 Apr 2018 18:20:42 +0000 (19:20 +0100)]
[Minor] Fix issues with fail symbol in AV module

6 years ago[Feature] Add failure symbol for AV module
Vsevolod Stakhov [Mon, 30 Apr 2018 17:09:47 +0000 (18:09 +0100)]
[Feature] Add failure symbol for AV module

6 years ago[Feature] Implement stop symbols for Clickhouse collection
Vsevolod Stakhov [Mon, 30 Apr 2018 16:50:32 +0000 (17:50 +0100)]
[Feature] Implement stop symbols for Clickhouse collection

6 years agoMerge pull request #2205 from oxc/extended_virus_header
Vsevolod Stakhov [Mon, 30 Apr 2018 16:17:22 +0000 (17:17 +0100)]
Merge pull request #2205 from oxc/extended_virus_header

Add optional status prefix to X-Virus header

6 years ago[Minor] Fix simple maps after the recent change
Vsevolod Stakhov [Mon, 30 Apr 2018 16:13:53 +0000 (17:13 +0100)]
[Minor] Fix simple maps after the recent change

6 years ago[Feature] Use scores from maps if `symbols_set` is not defined
Vsevolod Stakhov [Mon, 30 Apr 2018 15:48:04 +0000 (16:48 +0100)]
[Feature] Use scores from maps if `symbols_set` is not defined

6 years ago[Minor] Allow to insert enforced results from Lua
Vsevolod Stakhov [Mon, 30 Apr 2018 15:41:48 +0000 (16:41 +0100)]
[Minor] Allow to insert enforced results from Lua

6 years ago[Minor] Rename confusing variables
Vsevolod Stakhov [Mon, 30 Apr 2018 15:32:32 +0000 (16:32 +0100)]
[Minor] Rename confusing variables

6 years ago[Rework] Implement flags for inserting a symbol
Vsevolod Stakhov [Mon, 30 Apr 2018 15:11:50 +0000 (16:11 +0100)]
[Rework] Implement flags for inserting a symbol

6 years agoAdd optional status prefix to X-Virus header 2205/head
Bernhard Frauendienst [Mon, 30 Apr 2018 12:34:51 +0000 (14:34 +0200)]
Add optional status prefix to X-Virus header

Adds two options to X-Virus milter header routine that prefix the header
value with a configured string when a virus was found (or not). This is
useful for sieve implementations (like pidgeonhole) that require a fixed
value part to match against.

6 years ago[Minor] Remove t1ha0 as it causes too many issues
Vsevolod Stakhov [Mon, 30 Apr 2018 11:40:14 +0000 (12:40 +0100)]
[Minor] Remove t1ha0 as it causes too many issues

6 years ago[Minor] Try to fix endiannes detection on Solaris
Vsevolod Stakhov [Sun, 29 Apr 2018 20:22:22 +0000 (21:22 +0100)]
[Minor] Try to fix endiannes detection on Solaris

Issue: #2204

6 years ago[Minor] Fix build on Solaris
Vsevolod Stakhov [Sun, 29 Apr 2018 20:18:48 +0000 (21:18 +0100)]
[Minor] Fix build on Solaris

Issue: #2203
Closes: #2203
6 years ago[Minor] Mark module as experimental for now
Vsevolod Stakhov [Sat, 28 Apr 2018 17:56:09 +0000 (18:56 +0100)]
[Minor] Mark module as experimental for now

6 years ago[Minor] Do not touch elements that have no hits
Vsevolod Stakhov [Sat, 28 Apr 2018 17:53:57 +0000 (18:53 +0100)]
[Minor] Do not touch elements that have no hits

6 years ago[Feature] Add preliminary version of maps stats plugin
Vsevolod Stakhov [Sat, 28 Apr 2018 17:53:28 +0000 (18:53 +0100)]
[Feature] Add preliminary version of maps stats plugin

6 years ago[Minor] Add missing helper methods
Vsevolod Stakhov [Sat, 28 Apr 2018 13:54:47 +0000 (14:54 +0100)]
[Minor] Add missing helper methods

6 years ago[Minor] Try to fix build for old compilers...
Vsevolod Stakhov [Sat, 28 Apr 2018 13:26:56 +0000 (14:26 +0100)]
[Minor] Try to fix build for old compilers...

6 years ago[Feature] Upgrade t1ha distribution
Vsevolod Stakhov [Sat, 28 Apr 2018 12:38:11 +0000 (13:38 +0100)]
[Feature] Upgrade t1ha distribution

6 years ago[Minor] Store digest for maps data
Vsevolod Stakhov [Sat, 28 Apr 2018 11:29:34 +0000 (12:29 +0100)]
[Minor] Store digest for maps data

6 years ago[Minor] Fix braces style
Vsevolod Stakhov [Sat, 28 Apr 2018 10:53:11 +0000 (11:53 +0100)]
[Minor] Fix braces style

6 years ago[Feature] Implement exclude patterns in rspamc
Vsevolod Stakhov [Fri, 27 Apr 2018 18:47:38 +0000 (19:47 +0100)]
[Feature] Implement exclude patterns in rspamc

Issue: #2172
Closes: #2172
6 years ago[Minor] Utilise {rcpt_mailer} macro in milter mode
Vsevolod Stakhov [Fri, 27 Apr 2018 18:29:28 +0000 (19:29 +0100)]
[Minor] Utilise {rcpt_mailer} macro in milter mode

Issue: #2151

6 years agoMerge pull request #2200 from moisseev/rspamd_stats
Vsevolod Stakhov [Fri, 27 Apr 2018 11:12:07 +0000 (12:12 +0100)]
Merge pull request #2200 from moisseev/rspamd_stats

[Minor] rspamd_stats: skip journalctl header

6 years agoMerge pull request #2198 from andy-igoshin/master
Vsevolod Stakhov [Fri, 27 Apr 2018 11:11:41 +0000 (12:11 +0100)]
Merge pull request #2198 from andy-igoshin/master

[Minor] Domains added

6 years ago[Minor] Improve lua_tcp logging
Vsevolod Stakhov [Fri, 27 Apr 2018 11:07:40 +0000 (12:07 +0100)]
[Minor] Improve lua_tcp logging

6 years ago[Minor] rspamd_stats: skip journalctl header 2200/head
Alexander Moisseev [Fri, 27 Apr 2018 06:57:14 +0000 (09:57 +0300)]
[Minor] rspamd_stats: skip journalctl header

6 years ago[Feature] Implement map statistics function for lua API
Vsevolod Stakhov [Thu, 26 Apr 2018 16:20:47 +0000 (17:20 +0100)]
[Feature] Implement map statistics function for lua API

6 years ago[Minor] Store number of elements in maps
Vsevolod Stakhov [Thu, 26 Apr 2018 14:37:11 +0000 (15:37 +0100)]
[Minor] Store number of elements in maps

6 years ago[Minor] Add method to get all maps configured
Vsevolod Stakhov [Thu, 26 Apr 2018 13:51:50 +0000 (14:51 +0100)]
[Minor] Add method to get all maps configured

6 years ago[Minor] Link map and lua_map object
Vsevolod Stakhov [Thu, 26 Apr 2018 13:12:52 +0000 (14:12 +0100)]
[Minor] Link map and lua_map object

6 years ago[Minor] domains added 2198/head
Andrey Igoshin [Wed, 25 Apr 2018 22:07:07 +0000 (01:07 +0300)]
[Minor] domains added

6 years ago[Fix] Check URL before adding implicit prefix
Vsevolod Stakhov [Wed, 25 Apr 2018 17:31:04 +0000 (18:31 +0100)]
[Fix] Check URL before adding implicit prefix

Issue: #2196

6 years ago[Minor] Add basic traversal helpers
Vsevolod Stakhov [Wed, 25 Apr 2018 13:07:31 +0000 (14:07 +0100)]
[Minor] Add basic traversal helpers

6 years ago[Minor] Fix spf maps
Vsevolod Stakhov [Wed, 25 Apr 2018 12:56:49 +0000 (13:56 +0100)]
[Minor] Fix spf maps

6 years ago[Minor] Implement traverse functor in maps
Vsevolod Stakhov [Wed, 25 Apr 2018 12:37:07 +0000 (13:37 +0100)]
[Minor] Implement traverse functor in maps

6 years ago[Minor] Fix reply type
Vsevolod Stakhov [Wed, 25 Apr 2018 12:11:56 +0000 (13:11 +0100)]
[Minor] Fix reply type

6 years ago[Minor] Export function to get terminal width from linenoise
Vsevolod Stakhov [Tue, 24 Apr 2018 17:12:17 +0000 (18:12 +0100)]
[Minor] Export function to get terminal width from linenoise

6 years ago[Minor] Unify types
Vsevolod Stakhov [Tue, 24 Apr 2018 16:37:45 +0000 (17:37 +0100)]
[Minor] Unify types

6 years ago[Fix] Propagate key when import implicit array from Lua
Vsevolod Stakhov [Tue, 24 Apr 2018 16:35:06 +0000 (17:35 +0100)]
[Fix] Propagate key when import implicit array from Lua

6 years ago[Minor] Fix implicit arrays case
Vsevolod Stakhov [Tue, 24 Apr 2018 16:11:06 +0000 (17:11 +0100)]
[Minor] Fix implicit arrays case

6 years ago[Minor] Fix fuzzy whitelist map
Vsevolod Stakhov [Tue, 24 Apr 2018 15:06:39 +0000 (16:06 +0100)]
[Minor] Fix fuzzy whitelist map

6 years ago[Fix] Add resolving version of radix map helper
Vsevolod Stakhov [Tue, 24 Apr 2018 14:57:20 +0000 (15:57 +0100)]
[Fix] Add resolving version of radix map helper

6 years ago[Fix] Strip spaces from map keys and values
Vsevolod Stakhov [Tue, 24 Apr 2018 13:53:59 +0000 (14:53 +0100)]
[Fix] Strip spaces from map keys and values

6 years ago[Minor] Various improvements to corpus_test script
Vsevolod Stakhov [Tue, 24 Apr 2018 09:48:44 +0000 (10:48 +0100)]
[Minor] Various improvements to corpus_test script

6 years ago[CritFix] Fix ucl escape for bad symbols
Vsevolod Stakhov [Mon, 23 Apr 2018 16:40:30 +0000 (17:40 +0100)]
[CritFix] Fix ucl escape for bad symbols

Issue: #2194

6 years agoMerge branch 'maps-helpers'
Vsevolod Stakhov [Mon, 23 Apr 2018 16:32:57 +0000 (17:32 +0100)]
Merge branch 'maps-helpers'

6 years ago[Project] Further fixes to maps usage
Vsevolod Stakhov [Mon, 23 Apr 2018 16:31:59 +0000 (17:31 +0100)]
[Project] Further fixes to maps usage

6 years ago[Project] Adopt lua maps
Vsevolod Stakhov [Mon, 23 Apr 2018 16:17:49 +0000 (17:17 +0100)]
[Project] Adopt lua maps

6 years ago[Project] Adopt code
Vsevolod Stakhov [Mon, 23 Apr 2018 16:03:16 +0000 (17:03 +0100)]
[Project] Adopt code

6 years ago[Project] Make various API functions public
Vsevolod Stakhov [Mon, 23 Apr 2018 15:42:48 +0000 (16:42 +0100)]
[Project] Make various API functions public

6 years ago[Project] Implement helpers for major map types
Vsevolod Stakhov [Mon, 23 Apr 2018 15:05:56 +0000 (16:05 +0100)]
[Project] Implement helpers for major map types

6 years ago[Project] Start map helpers project
Vsevolod Stakhov [Mon, 23 Apr 2018 12:19:35 +0000 (13:19 +0100)]
[Project] Start map helpers project

6 years ago[Minor] Allow to create radix tree from the pool
Vsevolod Stakhov [Mon, 23 Apr 2018 11:41:17 +0000 (12:41 +0100)]
[Minor] Allow to create radix tree from the pool

6 years ago[Minor] Add support of glob maps to multimap
Vsevolod Stakhov [Mon, 23 Apr 2018 09:41:43 +0000 (10:41 +0100)]
[Minor] Add support of glob maps to multimap

6 years ago[Feature] Implement glob maps in addition to regexp maps
Vsevolod Stakhov [Mon, 23 Apr 2018 09:38:55 +0000 (10:38 +0100)]
[Feature] Implement glob maps in addition to regexp maps

6 years ago[Minor] Move regexp escape function to the public space
Vsevolod Stakhov [Mon, 23 Apr 2018 09:32:48 +0000 (10:32 +0100)]
[Minor] Move regexp escape function to the public space

6 years agoMerge pull request #2193 from moisseev/expiry
Vsevolod Stakhov [Sun, 22 Apr 2018 08:40:46 +0000 (09:40 +0100)]
Merge pull request #2193 from moisseev/expiry

[Minor] Properly merge Redis hash into a table

6 years ago[Minor] Distinguish `insignificant` tokens group in bayes_expiry 2193/head
Alexander Moisseev [Sat, 21 Apr 2018 17:35:52 +0000 (20:35 +0300)]
[Minor] Distinguish `insignificant` tokens group in bayes_expiry

6 years ago[Minor] Properly merge Redis hash into a table
Alexander Moisseev [Sat, 21 Apr 2018 16:17:12 +0000 (19:17 +0300)]
[Minor] Properly merge Redis hash into a table

6 years ago[Feature] Allow to block fuzzy requests from specific networks
Vsevolod Stakhov [Sat, 21 Apr 2018 13:47:45 +0000 (14:47 +0100)]
[Feature] Allow to block fuzzy requests from specific networks

6 years agoMerge pull request #2192 from andy-igoshin/master
Vsevolod Stakhov [Sat, 21 Apr 2018 11:21:03 +0000 (12:21 +0100)]
Merge pull request #2192 from andy-igoshin/master

[Minor] Processing another messages sources

6 years agoMerge pull request #2191 from moisseev/expiry
Vsevolod Stakhov [Sat, 21 Apr 2018 11:20:46 +0000 (12:20 +0100)]
Merge pull request #2191 from moisseev/expiry

[Minor] Store expiry cycle statistics counters in Redis

6 years ago[Minor] Processing another messages sources 2192/head
Andrey Igoshin [Fri, 20 Apr 2018 22:16:15 +0000 (01:16 +0300)]
[Minor] Processing another messages sources

6 years ago[Minor] Store expiry cycle statistics counters in Redis 2191/head
Alexander Moisseev [Fri, 20 Apr 2018 19:09:06 +0000 (22:09 +0300)]
[Minor] Store expiry cycle statistics counters in Redis

6 years ago[Fix] Various fixes to once_received module
Vsevolod Stakhov [Fri, 20 Apr 2018 15:38:37 +0000 (16:38 +0100)]
[Fix] Various fixes to once_received module

- Exclude artificial headers
- Avoid extra '#' operations
- Do not insert ONCE_RECEIVED if MTA has not resolved the first received
(#2190)

6 years ago[Feature] Try harder to upload scripts to the Redis server
Vsevolod Stakhov [Fri, 20 Apr 2018 14:39:11 +0000 (15:39 +0100)]
[Feature] Try harder to upload scripts to the Redis server

Issue: #2186

6 years ago[Minor] Avoid overriding of GError if Redis is unavailable
Vsevolod Stakhov [Fri, 20 Apr 2018 14:10:59 +0000 (15:10 +0100)]
[Minor] Avoid overriding of GError if Redis is unavailable

6 years ago[Minor] Fix probability calculations
Vsevolod Stakhov [Fri, 20 Apr 2018 11:48:54 +0000 (12:48 +0100)]
[Minor] Fix probability calculations

6 years ago[Minor] Add option to ignore specific symbols in report
Vsevolod Stakhov [Fri, 20 Apr 2018 11:14:15 +0000 (12:14 +0100)]
[Minor] Add option to ignore specific symbols in report

6 years ago[Minor] Add support of groups in rspamd_stats
Vsevolod Stakhov [Fri, 20 Apr 2018 10:37:11 +0000 (11:37 +0100)]
[Minor] Add support of groups in rspamd_stats

6 years ago[Fix] Fix systemd version of the logrotate script
Vsevolod Stakhov [Fri, 20 Apr 2018 10:26:05 +0000 (11:26 +0100)]
[Fix] Fix systemd version of the logrotate script

6 years agoMerge pull request #2187 from moisseev/expiry
Vsevolod Stakhov [Fri, 20 Apr 2018 08:53:24 +0000 (09:53 +0100)]
Merge pull request #2187 from moisseev/expiry

[Minor] Keep cursor permanently

6 years ago[Minor] Keep cursor permanently 2187/head
Alexander Moisseev [Thu, 19 Apr 2018 18:47:28 +0000 (21:47 +0300)]
[Minor] Keep cursor permanently

6 years ago[Minor] Support authenticated users in CGP helper
Vsevolod Stakhov [Thu, 19 Apr 2018 16:17:01 +0000 (17:17 +0100)]
[Minor] Support authenticated users in CGP helper

6 years ago[Minor] Fix modern milter headers format in CGP helper
Vsevolod Stakhov [Thu, 19 Apr 2018 14:10:47 +0000 (15:10 +0100)]
[Minor] Fix modern milter headers format in CGP helper

6 years ago[Minor] Support multiple recipients in CGP module
Vsevolod Stakhov [Thu, 19 Apr 2018 14:01:59 +0000 (15:01 +0100)]
[Minor] Support multiple recipients in CGP module

6 years ago[Feature] Support recipients separated by commas
Vsevolod Stakhov [Thu, 19 Apr 2018 14:00:48 +0000 (15:00 +0100)]
[Feature] Support recipients separated by commas

6 years ago[Minor] Add support of read only redis params
Vsevolod Stakhov [Thu, 19 Apr 2018 12:42:23 +0000 (13:42 +0100)]
[Minor] Add support of read only redis params

6 years agoMerge pull request #2185 from moisseev/expiry
Vsevolod Stakhov [Thu, 19 Apr 2018 11:35:07 +0000 (12:35 +0100)]
Merge pull request #2185 from moisseev/expiry

[Minor] Keep expiry step number in Redis

6 years ago[Fix] Try to fix a specific case when processing milter protocol
Vsevolod Stakhov [Thu, 19 Apr 2018 10:52:41 +0000 (11:52 +0100)]
[Fix] Try to fix a specific case when processing milter protocol

6 years ago[Conf] Make more sane fuzzy_check default settings
Vsevolod Stakhov [Thu, 19 Apr 2018 10:30:18 +0000 (11:30 +0100)]
[Conf] Make more sane fuzzy_check default settings

6 years ago[Conf] Show all recipients
Vsevolod Stakhov [Wed, 18 Apr 2018 17:19:21 +0000 (18:19 +0100)]
[Conf] Show all recipients

6 years ago[Minor] Keep expiry step number in Redis 2185/head
Alexander Moisseev [Wed, 18 Apr 2018 15:13:50 +0000 (18:13 +0300)]
[Minor] Keep expiry step number in Redis

6 years agoMerge pull request #2183 from larryhynes/patch-2
Vsevolod Stakhov [Wed, 18 Apr 2018 10:29:24 +0000 (11:29 +0100)]
Merge pull request #2183 from larryhynes/patch-2

spamtrap.conf - fuzy -> fuzzy

6 years agoMerge pull request #2182 from moisseev/expiry
Vsevolod Stakhov [Wed, 18 Apr 2018 10:28:47 +0000 (11:28 +0100)]
Merge pull request #2182 from moisseev/expiry

[Minor] Stop expiry if read_servers configured

6 years ago[Minor] Fix template
Vsevolod Stakhov [Wed, 18 Apr 2018 10:23:49 +0000 (11:23 +0100)]
[Minor] Fix template

6 years agospamtrap.conf - fuzy -> fuzzy 2183/head
larryhynes [Tue, 17 Apr 2018 22:41:34 +0000 (23:41 +0100)]
spamtrap.conf - fuzy -> fuzzy

6 years ago[Feature] Further optimization of the lang_detection
Vsevolod Stakhov [Tue, 17 Apr 2018 16:53:55 +0000 (17:53 +0100)]
[Feature] Further optimization of the lang_detection

6 years ago[Minor] Stop expiry if read_servers configured 2182/head
Alexander Moisseev [Tue, 17 Apr 2018 16:34:37 +0000 (19:34 +0300)]
[Minor] Stop expiry if read_servers configured

6 years ago[Feature] Further improvements of language detector by using khash
Vsevolod Stakhov [Tue, 17 Apr 2018 15:54:53 +0000 (16:54 +0100)]
[Feature] Further improvements of language detector by using khash

6 years ago[Minor] Improve performance of language detector
Vsevolod Stakhov [Tue, 17 Apr 2018 15:24:28 +0000 (16:24 +0100)]
[Minor] Improve performance of language detector

6 years ago[Minor] Improve ticks counting
Vsevolod Stakhov [Tue, 17 Apr 2018 15:04:24 +0000 (16:04 +0100)]
[Minor] Improve ticks counting