]> source.dussan.org Git - rspamd.git/log
rspamd.git
6 years ago[Minor] Don't double-escape lua strings in libucl 2240/head
Paul Arthur [Thu, 10 May 2018 16:05:38 +0000 (16:05 +0000)]
[Minor] Don't double-escape lua strings in libucl

Strings are escaped during JSON/UCL output, so escaping them while
building the object results in doubly escaped strings.

6 years ago[Fix] Fix vertical tab handling in libucl
Paul Arthur [Thu, 10 May 2018 14:41:49 +0000 (14:41 +0000)]
[Fix] Fix vertical tab handling in libucl

626c7a170f73eb17efb084be49da3b30fe773a61 is an incomplete fix and emits
invalid JSON.

The vertical tab has a short escape in C but not JSON, so we should
emit the long escape. (libucl won't choke on \v in UCL input but
it doesn't properly round-trip: 'foo\vbar' will be parsed into
'foovbar'.)

libucl has an option to escape strings during parsing, so I modified
that in a similar fashion to 626c7a17.

6 years ago[Minor] Add more headers to the upstream_spam_filters
Vsevolod Stakhov [Thu, 10 May 2018 14:35:43 +0000 (15:35 +0100)]
[Minor] Add more headers to the upstream_spam_filters

Issue: #2235

6 years ago[Minor] Fix other AV engines retransmits
Vsevolod Stakhov [Thu, 10 May 2018 14:31:50 +0000 (15:31 +0100)]
[Minor] Fix other AV engines retransmits

6 years ago[Minor] Allow redis key handlers to return nil
Vsevolod Stakhov [Thu, 10 May 2018 14:02:39 +0000 (15:02 +0100)]
[Minor] Allow redis key handlers to return nil

6 years ago[Fix] When doing AV scan select a differen server for retransmit
Vsevolod Stakhov [Thu, 10 May 2018 13:58:49 +0000 (14:58 +0100)]
[Fix] When doing AV scan select a differen server for retransmit

6 years ago[Minor] Remove stupid IDE files
Vsevolod Stakhov [Thu, 10 May 2018 13:57:50 +0000 (14:57 +0100)]
[Minor] Remove stupid IDE files

6 years ago[Minor] Remove unused
Vsevolod Stakhov [Thu, 10 May 2018 13:56:57 +0000 (14:56 +0100)]
[Minor] Remove unused

6 years ago[Minor] Store hostname in elastic
Vsevolod Stakhov [Wed, 9 May 2018 11:56:30 +0000 (12:56 +0100)]
[Minor] Store hostname in elastic

6 years ago[Fix] Fix build on non-x86 platforms
Vsevolod Stakhov [Tue, 8 May 2018 19:44:10 +0000 (20:44 +0100)]
[Fix] Fix build on non-x86 platforms

Issue: #2226

6 years agoMerge pull request #2233 from moisseev/configwizard
Vsevolod Stakhov [Tue, 8 May 2018 13:02:06 +0000 (14:02 +0100)]
Merge pull request #2233 from moisseev/configwizard

[Minor] Notify user if DB conversion is not needed

6 years ago[Minor] Fix typo 2233/head
Alexander Moisseev [Mon, 7 May 2018 19:00:52 +0000 (22:00 +0300)]
[Minor] Fix typo

6 years ago[Minor] Notify user if DB conversion is not needed
Alexander Moisseev [Mon, 7 May 2018 18:42:13 +0000 (21:42 +0300)]
[Minor] Notify user if DB conversion is not needed

6 years ago[Fix] Use better sharding for ip_score
Vsevolod Stakhov [Mon, 7 May 2018 14:37:58 +0000 (15:37 +0100)]
[Fix] Use better sharding for ip_score

Updating: true

6 years agoMerge pull request #2227 from andy-igoshin/master
Vsevolod Stakhov [Sun, 6 May 2018 17:09:12 +0000 (18:09 +0100)]
Merge pull request #2227 from andy-igoshin/master

adding MTA hostname

6 years agoadding MTA hostname 2227/head
Andrey Igoshin [Sun, 6 May 2018 16:56:25 +0000 (19:56 +0300)]
adding MTA hostname

6 years ago[Fix] Fix base64 folding in Lua API
Vsevolod Stakhov [Sun, 6 May 2018 15:54:01 +0000 (16:54 +0100)]
[Fix] Fix base64 folding in Lua API

Issue: #2225

6 years agoMerge pull request #2224 from andy-igoshin/master
Vsevolod Stakhov [Sun, 6 May 2018 15:21:19 +0000 (16:21 +0100)]
Merge pull request #2224 from andy-igoshin/master

[Feature] support for CommuniGate Pro self-generated messages

6 years ago[Feature] support for CommuniGate Pro self-generated messages 2224/head
Andrey Igoshin [Sun, 6 May 2018 13:35:37 +0000 (16:35 +0300)]
[Feature] support for CommuniGate Pro self-generated messages

6 years ago[Feture] Allow external preprocessors in libucl
Vsevolod Stakhov [Sat, 5 May 2018 13:58:37 +0000 (14:58 +0100)]
[Feture] Allow external preprocessors in libucl

6 years ago[Minor] Disable warning if cannot normalize in-place
Vsevolod Stakhov [Sat, 5 May 2018 13:21:23 +0000 (14:21 +0100)]
[Minor] Disable warning if cannot normalize in-place

6 years ago[Minor] Fix compilation
Vsevolod Stakhov [Sat, 5 May 2018 12:05:16 +0000 (13:05 +0100)]
[Minor] Fix compilation

6 years ago[Feature] Use common jit cache for all regexps
Vsevolod Stakhov [Sat, 5 May 2018 11:41:20 +0000 (12:41 +0100)]
[Feature] Use common jit cache for all regexps

6 years ago[Minor] Sync from libucl
Vsevolod Stakhov [Sat, 5 May 2018 11:09:42 +0000 (12:09 +0100)]
[Minor] Sync from libucl

6 years ago[Minor] Try to allow disabling JIT in PCRE
Vsevolod Stakhov [Fri, 4 May 2018 18:20:42 +0000 (19:20 +0100)]
[Minor] Try to allow disabling JIT in PCRE

6 years agoMerge pull request #2219 from moisseev/patch-1
Vsevolod Stakhov [Fri, 4 May 2018 17:20:03 +0000 (18:20 +0100)]
Merge pull request #2219 from moisseev/patch-1

[Minor] Allow image/pjpeg CT for JPEG compressed images

6 years ago[Feature] Allow to print scores in subject and further extensions
Vsevolod Stakhov [Fri, 4 May 2018 17:18:58 +0000 (18:18 +0100)]
[Feature] Allow to print scores in subject and further extensions

6 years ago[Fix] Fix importing static maps from UCL
Vsevolod Stakhov [Fri, 4 May 2018 16:58:17 +0000 (17:58 +0100)]
[Fix] Fix importing static maps from UCL

Issue: #2216

6 years ago[Minor] Allow image/pjpeg CT for JPEG compressed images 2219/head
Alexander Moisseev [Fri, 4 May 2018 16:12:32 +0000 (19:12 +0300)]
[Minor] Allow image/pjpeg CT for JPEG compressed images

6 years agoMerge pull request #2217 from michal-adamek/master
Vsevolod Stakhov [Fri, 4 May 2018 15:05:45 +0000 (16:05 +0100)]
Merge pull request #2217 from michal-adamek/master

Fixed typo

6 years ago[Fix] Fix raw_mime regexp on HTML part with no text content
Vsevolod Stakhov [Fri, 4 May 2018 15:03:51 +0000 (16:03 +0100)]
[Fix] Fix raw_mime regexp on HTML part with no text content

Issue: #2218
Closes: #2218
6 years ago[Minor] Avoid shared memory usage in file scan mode
Vsevolod Stakhov [Fri, 4 May 2018 12:55:10 +0000 (13:55 +0100)]
[Minor] Avoid shared memory usage in file scan mode

6 years ago[Minor] Set correct HTTP method when proxying connections
Vsevolod Stakhov [Fri, 4 May 2018 12:38:05 +0000 (13:38 +0100)]
[Minor] Set correct HTTP method when proxying connections

6 years agoFixed typo 2217/head
Michal Adamek [Fri, 4 May 2018 09:50:41 +0000 (11:50 +0200)]
Fixed typo

6 years ago[Minor] Improve usability of configwizard statconvert
Vsevolod Stakhov [Thu, 3 May 2018 16:17:55 +0000 (17:17 +0100)]
[Minor] Improve usability of configwizard statconvert

6 years ago[Minor] Remove stupid leftover
Vsevolod Stakhov [Thu, 3 May 2018 14:14:00 +0000 (15:14 +0100)]
[Minor] Remove stupid leftover

6 years ago[Minor] Fix build on Solaris
Vsevolod Stakhov [Thu, 3 May 2018 12:52:10 +0000 (13:52 +0100)]
[Minor] Fix build on Solaris

Issue: #2213
Closes: #2213
6 years ago[CritFix] Do not use volatile Lua strings as UCL keys
Vsevolod Stakhov [Wed, 2 May 2018 18:04:21 +0000 (19:04 +0100)]
[CritFix] Do not use volatile Lua strings as UCL keys

Issue: #2211
Closes: #2211
6 years ago[Minor] Update version to 1.7.5
Vsevolod Stakhov [Tue, 1 May 2018 15:55:20 +0000 (16:55 +0100)]
[Minor] Update version to 1.7.5

6 years agoMerge pull request #2212 from andy-igoshin/master
Vsevolod Stakhov [Wed, 2 May 2018 15:49:59 +0000 (16:49 +0100)]
Merge pull request #2212 from andy-igoshin/master

[Fix] Fix AuthservId

6 years ago[Fix] Fix AuthservId 2212/head
Andrey Igoshin [Wed, 2 May 2018 10:41:02 +0000 (13:41 +0300)]
[Fix] Fix AuthservId

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