]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years ago[CritFix] Introduce raw content to text parts
Vsevolod Stakhov [Mon, 31 Oct 2016 15:08:16 +0000 (15:08 +0000)]
[CritFix] Introduce raw content to text parts

Previously we had the following types of text content:

- `orig`: MIME *decoded* content
- `content`: same as `orig` but converted to utf8 and without HTML tags
- `stripped`: same as `content` but without newlines

Now we add `raw`:

- `raw`: raw mime content as it was in an original message

This also fixes R_BAD_CTE_7BIT rule

8 years ago[Rework] Rework parsing of DMARC records
Vsevolod Stakhov [Mon, 31 Oct 2016 14:19:38 +0000 (14:19 +0000)]
[Rework] Rework parsing of DMARC records

8 years ago[Fix] Fix caching and compressed maps
Vsevolod Stakhov [Mon, 31 Oct 2016 13:15:16 +0000 (13:15 +0000)]
[Fix] Fix caching and compressed maps

8 years ago[Minor] Use .zst as possible compressed extension
Vsevolod Stakhov [Mon, 31 Oct 2016 11:42:56 +0000 (11:42 +0000)]
[Minor] Use .zst as possible compressed extension

8 years ago[Feature] Support compressed maps
Vsevolod Stakhov [Mon, 31 Oct 2016 10:41:08 +0000 (10:41 +0000)]
[Feature] Support compressed maps

8 years ago[Fix] Fix statconvert tool
Vsevolod Stakhov [Sun, 30 Oct 2016 20:02:46 +0000 (20:02 +0000)]
[Fix] Fix statconvert tool

8 years ago[Minor] Fix issue with metric-less symbols
Vsevolod Stakhov [Sat, 29 Oct 2016 17:53:35 +0000 (18:53 +0100)]
[Minor] Fix issue with metric-less symbols

8 years agoMerge pull request #1079 from fatalbanana/docs
Vsevolod Stakhov [Fri, 28 Oct 2016 12:25:55 +0000 (14:25 +0200)]
Merge pull request #1079 from fatalbanana/docs

[Minor] Document some lua_tcp request parameters

8 years agoMerge pull request #1078 from fatalbanana/monitoring
Vsevolod Stakhov [Fri, 28 Oct 2016 12:19:00 +0000 (14:19 +0200)]
Merge pull request #1078 from fatalbanana/monitoring

[Feature] Preliminary version of metric exporter module

8 years agoMerge pull request #1077 from AlexeySa/patch-6
Vsevolod Stakhov [Fri, 28 Oct 2016 12:18:13 +0000 (14:18 +0200)]
Merge pull request #1077 from AlexeySa/patch-6

[Minor] Add var for premature greylisting

8 years agoMerge pull request #1076 from AlexeySa/patch-5
Vsevolod Stakhov [Fri, 28 Oct 2016 12:17:48 +0000 (14:17 +0200)]
Merge pull request #1076 from AlexeySa/patch-5

[Minor] Greylist first message with invalid MX

8 years ago[Minor] Document some lua_tcp request parameters 1079/head
Andrew Lewis [Fri, 28 Oct 2016 08:02:05 +0000 (10:02 +0200)]
[Minor] Document some lua_tcp request parameters

8 years ago[Feature] Preliminary version of metric exporter module 1078/head
Andrew Lewis [Thu, 27 Oct 2016 08:51:33 +0000 (10:51 +0200)]
[Feature] Preliminary version of metric exporter module

8 years agoAnother way for greylist "MX_INVALID" message 1076/head
AL [Thu, 27 Oct 2016 13:06:31 +0000 (16:06 +0300)]
Another way for  greylist "MX_INVALID" message

8 years ago[Minor] Add var for premature greylisting 1077/head
AL [Thu, 27 Oct 2016 13:03:18 +0000 (16:03 +0300)]
[Minor] Add var for premature greylisting

8 years agoMerge pull request #1075 from fatalbanana/tcp
Vsevolod Stakhov [Thu, 27 Oct 2016 11:32:44 +0000 (13:32 +0200)]
Merge pull request #1075 from fatalbanana/tcp

[Feature] Support requests without reads in lua_tcp

8 years ago[Minor] Greylist first message with invalid MX
AL [Thu, 27 Oct 2016 11:32:18 +0000 (14:32 +0300)]
[Minor] Greylist first message with invalid MX

8 years ago[Feature] Support requests without reads in lua_tcp 1075/head
Andrew Lewis [Thu, 27 Oct 2016 10:11:49 +0000 (12:11 +0200)]
[Feature] Support requests without reads in lua_tcp

8 years ago[Minor] Add one_param to MX symbols
Vsevolod Stakhov [Thu, 27 Oct 2016 08:34:15 +0000 (10:34 +0200)]
[Minor] Add one_param to MX symbols

8 years ago[Feature] Add `one_param` flag for metric symbols
Vsevolod Stakhov [Thu, 27 Oct 2016 08:32:45 +0000 (10:32 +0200)]
[Feature] Add `one_param` flag for metric symbols

8 years ago[Minor] Use one MX in options
Vsevolod Stakhov [Thu, 27 Oct 2016 08:32:34 +0000 (10:32 +0200)]
[Minor] Use one MX in options

8 years ago[Fix] Check for socket error before connection in lua_tcp
Vsevolod Stakhov [Wed, 26 Oct 2016 12:37:16 +0000 (14:37 +0200)]
[Fix] Check for socket error before connection in lua_tcp

8 years ago[Minor] Load dynamic conf as soon as possible
Vsevolod Stakhov [Wed, 26 Oct 2016 11:20:56 +0000 (13:20 +0200)]
[Minor] Load dynamic conf as soon as possible

8 years ago[Feature] Allow to plan new periodics at different time
Vsevolod Stakhov [Wed, 26 Oct 2016 11:20:41 +0000 (13:20 +0200)]
[Feature] Allow to plan new periodics at different time

8 years ago[Minor] Use alpha cmp for scores in dynamic conf
Vsevolod Stakhov [Wed, 26 Oct 2016 11:16:19 +0000 (13:16 +0200)]
[Minor] Use alpha cmp for scores in dynamic conf

8 years ago[Fix] Fix various errors in lua dynamic conf plugin
Vsevolod Stakhov [Wed, 26 Oct 2016 10:19:02 +0000 (12:19 +0200)]
[Fix] Fix various errors in lua dynamic conf plugin

8 years ago[Fix] Fix applying of lua dynamic confg
Vsevolod Stakhov [Wed, 26 Oct 2016 10:18:49 +0000 (12:18 +0200)]
[Fix] Fix applying of lua dynamic confg

8 years ago[Feature] Store enabled flag for webui session
Vsevolod Stakhov [Wed, 26 Oct 2016 09:41:36 +0000 (11:41 +0200)]
[Feature] Store enabled flag for webui session

8 years ago[Fix] Fix stats for backend-less classifiers
Vsevolod Stakhov [Wed, 26 Oct 2016 09:41:19 +0000 (11:41 +0200)]
[Fix] Fix stats for backend-less classifiers

8 years agoMerge pull request #1074 from fatalbanana/retransmits
Vsevolod Stakhov [Wed, 26 Oct 2016 07:31:15 +0000 (09:31 +0200)]
Merge pull request #1074 from fatalbanana/retransmits

[Test] Try improve reliability of fuzzy tests

8 years ago[Test] Try improve reliability of fuzzy tests 1074/head
Andrew Lewis [Wed, 26 Oct 2016 07:23:34 +0000 (09:23 +0200)]
[Test] Try improve reliability of fuzzy tests

8 years ago[Minor] Fix warnings
Vsevolod Stakhov [Wed, 26 Oct 2016 07:19:05 +0000 (09:19 +0200)]
[Minor] Fix warnings

8 years agoMerge pull request #1073 from fatalbanana/luajit
Vsevolod Stakhov [Wed, 26 Oct 2016 06:52:04 +0000 (08:52 +0200)]
Merge pull request #1073 from fatalbanana/luajit

[Minor] Fix build with dev version of luajit

8 years ago[Minor] Report redis error when getting stats keys
Vsevolod Stakhov [Tue, 25 Oct 2016 14:44:32 +0000 (16:44 +0200)]
[Minor] Report redis error when getting stats keys

8 years ago[CritFix] Fix iteration over headers array (introduced in 1.4)
Vsevolod Stakhov [Tue, 25 Oct 2016 13:41:16 +0000 (15:41 +0200)]
[CritFix] Fix iteration over headers array (introduced in 1.4)

8 years ago[Fix] Process headers only once
Vsevolod Stakhov [Tue, 25 Oct 2016 13:07:39 +0000 (15:07 +0200)]
[Fix] Process headers only once

8 years ago[Minor] Fix build with dev version of luajit 1073/head
Andrew Lewis [Tue, 25 Oct 2016 13:15:50 +0000 (15:15 +0200)]
[Minor] Fix build with dev version of luajit

8 years agoMerge pull request #1072 from AlexeySa/patch-4
Vsevolod Stakhov [Tue, 25 Oct 2016 12:12:42 +0000 (14:12 +0200)]
Merge pull request #1072 from AlexeySa/patch-4

Change logic for MX-check plugin

8 years ago[Fix] Fix on_finish scripts and async handlers
Vsevolod Stakhov [Tue, 25 Oct 2016 11:58:09 +0000 (13:58 +0200)]
[Fix] Fix on_finish scripts and async handlers

8 years agoUpdate mx_check.lua 1072/head
AL [Tue, 25 Oct 2016 11:06:33 +0000 (14:06 +0300)]
Update mx_check.lua

8 years agoUpdate mx_check.lua
AL [Tue, 25 Oct 2016 11:05:50 +0000 (14:05 +0300)]
Update mx_check.lua

8 years agoChange logic for MX-check plugin
AL [Tue, 25 Oct 2016 10:59:38 +0000 (13:59 +0300)]
Change logic for MX-check plugin

Old version: FROM <one@test.vov.ru> realy check "vov.ru"
New version: FROM <one@test.vov.ru> realy check "test.vov.ru"

8 years agoMerge pull request #1070 from AlexeySa/patch-3
Vsevolod Stakhov [Tue, 25 Oct 2016 08:57:32 +0000 (10:57 +0200)]
Merge pull request #1070 from AlexeySa/patch-3

[Minor] Add expire setting for non valid mxes

8 years agoMerge pull request #1067 from fatalbanana/av
Vsevolod Stakhov [Tue, 25 Oct 2016 08:57:05 +0000 (10:57 +0200)]
Merge pull request #1067 from fatalbanana/av

[Feature] Allow for excluding messages from AV scanning based on size

8 years ago[Feature] Allow to update dynamic conf in Redis
Vsevolod Stakhov [Tue, 25 Oct 2016 08:07:49 +0000 (10:07 +0200)]
[Feature] Allow to update dynamic conf in Redis

8 years ago[Minor] Add expire setting for non valid mxes 1070/head
AL [Tue, 25 Oct 2016 00:29:51 +0000 (03:29 +0300)]
[Minor] Add expire setting for non valid mxes

For MX plugin

8 years agoMerge pull request #1060 from xpunkt/patch-3
Vsevolod Stakhov [Mon, 24 Oct 2016 12:20:46 +0000 (14:20 +0200)]
Merge pull request #1060 from xpunkt/patch-3

ham domains added

8 years agoMerge pull request #1068 from fatalbanana/stat
Vsevolod Stakhov [Mon, 24 Oct 2016 12:20:11 +0000 (14:20 +0200)]
Merge pull request #1068 from fatalbanana/stat

[Feature] Allow for getting worker stats from Lua

8 years ago[Feature] Allow for getting worker stats from Lua 1068/head
Andrew Lewis [Mon, 24 Oct 2016 10:13:07 +0000 (12:13 +0200)]
[Feature] Allow for getting worker stats from Lua

8 years ago[Feature] Allow for excluding messages from AV scanning based on size 1067/head
Andrew Lewis [Mon, 24 Oct 2016 09:40:49 +0000 (11:40 +0200)]
[Feature] Allow for excluding messages from AV scanning based on size

8 years ago[Fix] Fix rspamd{session} class in Lua API
Vsevolod Stakhov [Mon, 24 Oct 2016 11:34:14 +0000 (13:34 +0200)]
[Fix] Fix rspamd{session} class in Lua API

8 years agoMerge pull request #1064 from fatalbanana/tcp
Vsevolod Stakhov [Mon, 24 Oct 2016 10:37:10 +0000 (11:37 +0100)]
Merge pull request #1064 from fatalbanana/tcp

[Minor] Fix task-less lua tcp

8 years ago[Feature] Add preliminary support of dynamic conf updates in Redis
Vsevolod Stakhov [Mon, 24 Oct 2016 07:41:38 +0000 (08:41 +0100)]
[Feature] Add preliminary support of dynamic conf updates in Redis

8 years ago[Feature] Add ability to enable/disable symbols via dynamic_conf
Vsevolod Stakhov [Mon, 24 Oct 2016 07:11:58 +0000 (08:11 +0100)]
[Feature] Add ability to enable/disable symbols via dynamic_conf

8 years ago[Minor] Add methods to enable and disable symbols from Lua API
Vsevolod Stakhov [Mon, 24 Oct 2016 07:09:58 +0000 (08:09 +0100)]
[Minor] Add methods to enable and disable symbols from Lua API

8 years ago[Feature] Add method to enable/disable symbols in config
Vsevolod Stakhov [Mon, 24 Oct 2016 07:01:13 +0000 (08:01 +0100)]
[Feature] Add method to enable/disable symbols in config

8 years ago[Fix] Fix float usage in util:get_time
Vsevolod Stakhov [Sun, 23 Oct 2016 10:11:12 +0000 (11:11 +0100)]
[Fix] Fix float usage in util:get_time

Issue: #1065
Reported by: @AlexeySa

8 years ago[Minor] Fix task-less lua tcp 1064/head
Andrew Lewis [Sat, 22 Oct 2016 18:18:48 +0000 (20:18 +0200)]
[Minor] Fix task-less lua tcp

8 years ago[Minor] Show real message on lua load errors
Vsevolod Stakhov [Sat, 22 Oct 2016 11:26:45 +0000 (12:26 +0100)]
[Minor] Show real message on lua load errors

8 years ago[Fix] Fix refcounts when map is specified by IP
Vsevolod Stakhov [Fri, 21 Oct 2016 16:43:52 +0000 (17:43 +0100)]
[Fix] Fix refcounts when map is specified by IP

8 years ago[Feature] Add a very basic interface to access workers data from on_load
Vsevolod Stakhov [Fri, 21 Oct 2016 16:36:12 +0000 (17:36 +0100)]
[Feature] Add a very basic interface to access workers data from on_load

8 years ago[Minor] Rename lua_worker metatable
Vsevolod Stakhov [Fri, 21 Oct 2016 16:35:56 +0000 (17:35 +0100)]
[Minor] Rename lua_worker metatable

8 years ago[Feature] Allow HTTPS requests in lua_http
Vsevolod Stakhov [Fri, 21 Oct 2016 14:06:47 +0000 (15:06 +0100)]
[Feature] Allow HTTPS requests in lua_http

8 years ago[Minor] Fix task-less lua HTTP
Vsevolod Stakhov [Fri, 21 Oct 2016 09:16:41 +0000 (10:16 +0100)]
[Minor] Fix task-less lua HTTP

8 years ago[Feature] Add new dynamic conf module
Vsevolod Stakhov [Thu, 20 Oct 2016 18:08:13 +0000 (19:08 +0100)]
[Feature] Add new dynamic conf module

This module is intended to load and save (not implemented yet) dynamic
configuration for an Rspamd cluster in Redis storage and synchronize it
over all Rspamd servers.

8 years ago[Fix] Fix periodic events and redis
Vsevolod Stakhov [Thu, 20 Oct 2016 18:07:57 +0000 (19:07 +0100)]
[Fix] Fix periodic events and redis

8 years ago[Feature] Add methods to get metric's actions and symbols from Lua
Vsevolod Stakhov [Thu, 20 Oct 2016 16:38:52 +0000 (17:38 +0100)]
[Feature] Add methods to get metric's actions and symbols from Lua

8 years ago[CritFix] Fix race condition in checking of cached maps
Vsevolod Stakhov [Thu, 20 Oct 2016 15:20:38 +0000 (16:20 +0100)]
[CritFix] Fix race condition in checking of cached maps

8 years agoham domains added 1060/head
Benny Pedersen [Thu, 20 Oct 2016 12:17:06 +0000 (14:17 +0200)]
ham domains added

# domains can be ignored if seen as spam domains, here its more likely grey

8 years agoMerge pull request #1059 from fatalbanana/retransmits
Vsevolod Stakhov [Thu, 20 Oct 2016 10:33:00 +0000 (11:33 +0100)]
Merge pull request #1059 from fatalbanana/retransmits

[Test] Increase DNS retransmits

8 years ago[Test] Increase DNS retransmits 1059/head
Andrew Lewis [Thu, 20 Oct 2016 10:31:27 +0000 (12:31 +0200)]
[Test] Increase DNS retransmits

8 years agoMerge pull request #1057 from fatalbanana/mapreload
Vsevolod Stakhov [Thu, 20 Oct 2016 10:15:13 +0000 (11:15 +0100)]
Merge pull request #1057 from fatalbanana/mapreload

[Test] Add map reload test

8 years ago[Fix] One more check for readdir...
Vsevolod Stakhov [Wed, 19 Oct 2016 16:09:11 +0000 (17:09 +0100)]
[Fix] One more check for readdir...

8 years ago[Test] Add map reload test 1057/head
Andrew Lewis [Wed, 19 Oct 2016 16:04:01 +0000 (18:04 +0200)]
[Test] Add map reload test

8 years ago[Fix] Avoid double frees in HEAD requests
Vsevolod Stakhov [Wed, 19 Oct 2016 15:45:38 +0000 (16:45 +0100)]
[Fix] Avoid double frees in HEAD requests

8 years ago[Fix] Another try to deal with posix idiotizm
Vsevolod Stakhov [Wed, 19 Oct 2016 13:54:42 +0000 (14:54 +0100)]
[Fix] Another try to deal with posix idiotizm

8 years agoMerge pull request #1055 from fatalbanana/sophos
Vsevolod Stakhov [Wed, 19 Oct 2016 13:29:14 +0000 (14:29 +0100)]
Merge pull request #1055 from fatalbanana/sophos

[Minor] Fix virus name match for Sophos

8 years ago[Minor] Fix virus name match for Sophos 1055/head
Andrew Lewis [Wed, 19 Oct 2016 08:45:26 +0000 (10:45 +0200)]
[Minor] Fix virus name match for Sophos

8 years ago[Feature] Add Sophos antivirus support
Vsevolod Stakhov [Tue, 18 Oct 2016 17:34:48 +0000 (18:34 +0100)]
[Feature] Add Sophos antivirus support

Contributed by: golden_receiver at #rspamd/freenode

8 years ago[Minor] Fix settings of the metric action score from lua
Vsevolod Stakhov [Tue, 18 Oct 2016 17:33:41 +0000 (18:33 +0100)]
[Minor] Fix settings of the metric action score from lua

8 years ago[Feature] Allow to run rspamadm lua just as a lua interpreter
Vsevolod Stakhov [Tue, 18 Oct 2016 15:06:31 +0000 (16:06 +0100)]
[Feature] Allow to run rspamadm lua just as a lua interpreter

8 years ago[Fix] Fix handling of HTTP HEAD methods
Vsevolod Stakhov [Tue, 18 Oct 2016 14:17:42 +0000 (15:17 +0100)]
[Fix] Fix handling of HTTP HEAD methods

8 years ago[Fix] Fix HTTP methods other than GET and POST
Vsevolod Stakhov [Tue, 18 Oct 2016 12:46:32 +0000 (13:46 +0100)]
[Fix] Fix HTTP methods other than GET and POST

8 years ago[Feature] Add periodic events support for lua_config
Vsevolod Stakhov [Tue, 18 Oct 2016 12:46:10 +0000 (13:46 +0100)]
[Feature] Add periodic events support for lua_config

8 years agoMerge pull request #1054 from AlexeySa/patch-2
Vsevolod Stakhov [Tue, 18 Oct 2016 11:48:42 +0000 (12:48 +0100)]
Merge pull request #1054 from AlexeySa/patch-2

Rework greylist plugin

8 years agoMerge pull request #1040 from AlexeySa/patch-3
Vsevolod Stakhov [Tue, 18 Oct 2016 11:48:35 +0000 (12:48 +0100)]
Merge pull request #1040 from AlexeySa/patch-3

Add freemail hostnames for greylisting plugin

8 years agoMerge pull request #1039 from AlexeySa/patch-2
Vsevolod Stakhov [Tue, 18 Oct 2016 11:48:29 +0000 (12:48 +0100)]
Merge pull request #1039 from AlexeySa/patch-2

Add whitelist file for greylisting plugin

8 years agoMerge pull request #1051 from fatalbanana/dns
Vsevolod Stakhov [Tue, 18 Oct 2016 11:12:37 +0000 (12:12 +0100)]
Merge pull request #1051 from fatalbanana/dns

[Feature] Support looking up NS records in lua_dns

8 years agoMerge pull request #1053 from moisseev/tld
Vsevolod Stakhov [Tue, 18 Oct 2016 11:12:14 +0000 (12:12 +0100)]
Merge pull request #1053 from moisseev/tld

[Minor] Fix `get_tld()` functions descriptions

8 years agoMerge pull request #1048 from fatalbanana/messages
Vsevolod Stakhov [Tue, 18 Oct 2016 11:12:00 +0000 (12:12 +0100)]
Merge pull request #1048 from fatalbanana/messages

[Feature] Support setting task message from Lua (Fixes #1046)

8 years agoRework greylist plugin 1054/head
AL [Tue, 18 Oct 2016 10:58:52 +0000 (13:58 +0300)]
Rework greylist plugin

- Implement whitelist domains
- Add action setting
- Fix ip variable name
- Fix read settings

8 years ago[Minor] Fix `get_tld()` functions descriptions 1053/head
Alexander Moisseev [Tue, 18 Oct 2016 10:24:52 +0000 (13:24 +0300)]
[Minor] Fix `get_tld()` functions descriptions

8 years ago[Fix] Fix actions in rolling history
Vsevolod Stakhov [Tue, 18 Oct 2016 09:57:46 +0000 (10:57 +0100)]
[Fix] Fix actions in rolling history

8 years ago[Feature] Support looking up NS records in lua_dns 1051/head
Andrew Lewis [Tue, 18 Oct 2016 09:37:44 +0000 (11:37 +0200)]
[Feature] Support looking up NS records in lua_dns

8 years ago[Feature] Support setting task message from Lua 1048/head
Andrew Lewis [Tue, 18 Oct 2016 06:49:00 +0000 (08:49 +0200)]
[Feature] Support setting task message from Lua

 - Issue: #1046

8 years ago[Feature] Execute on_load scripts with ev_base ready
Vsevolod Stakhov [Mon, 17 Oct 2016 16:01:59 +0000 (17:01 +0100)]
[Feature] Execute on_load scripts with ev_base ready

8 years agoMerge pull request #1044 from fatalbanana/ports
Vsevolod Stakhov [Mon, 17 Oct 2016 15:45:51 +0000 (16:45 +0100)]
Merge pull request #1044 from fatalbanana/ports

[Test] Wait for ports to be confirmed-free inbetween runs

8 years ago[Fix] Remove mentions of deleted include
Vsevolod Stakhov [Mon, 17 Oct 2016 15:29:50 +0000 (16:29 +0100)]
[Fix] Remove mentions of deleted include

8 years ago[Minor] Update module documentation
Vsevolod Stakhov [Mon, 17 Oct 2016 15:24:46 +0000 (16:24 +0100)]
[Minor] Update module documentation

8 years ago[Rework] Adopt plugins
Vsevolod Stakhov [Mon, 17 Oct 2016 15:23:45 +0000 (16:23 +0100)]
[Rework] Adopt plugins