]>
source.dussan.org Git - rspamd.git/log
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
Vsevolod Stakhov [Mon, 31 Oct 2016 14:19:38 +0000 (14:19 +0000)]
[Rework] Rework parsing of DMARC records
Vsevolod Stakhov [Mon, 31 Oct 2016 13:15:16 +0000 (13:15 +0000)]
[Fix] Fix caching and compressed maps
Vsevolod Stakhov [Mon, 31 Oct 2016 11:42:56 +0000 (11:42 +0000)]
[Minor] Use .zst as possible compressed extension
Vsevolod Stakhov [Mon, 31 Oct 2016 10:41:08 +0000 (10:41 +0000)]
[Feature] Support compressed maps
Vsevolod Stakhov [Sun, 30 Oct 2016 20:02:46 +0000 (20:02 +0000)]
[Fix] Fix statconvert tool
Vsevolod Stakhov [Sat, 29 Oct 2016 17:53:35 +0000 (18:53 +0100)]
[Minor] Fix issue with metric-less symbols
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
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
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
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
Andrew Lewis [Fri, 28 Oct 2016 08:02:05 +0000 (10:02 +0200)]
[Minor] Document some lua_tcp request parameters
Andrew Lewis [Thu, 27 Oct 2016 08:51:33 +0000 (10:51 +0200)]
[Feature] Preliminary version of metric exporter module
AL [Thu, 27 Oct 2016 13:06:31 +0000 (16:06 +0300)]
Another way for greylist "MX_INVALID" message
AL [Thu, 27 Oct 2016 13:03:18 +0000 (16:03 +0300)]
[Minor] Add var for premature greylisting
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
AL [Thu, 27 Oct 2016 11:32:18 +0000 (14:32 +0300)]
[Minor] Greylist first message with invalid MX
Andrew Lewis [Thu, 27 Oct 2016 10:11:49 +0000 (12:11 +0200)]
[Feature] Support requests without reads in lua_tcp
Vsevolod Stakhov [Thu, 27 Oct 2016 08:34:15 +0000 (10:34 +0200)]
[Minor] Add one_param to MX symbols
Vsevolod Stakhov [Thu, 27 Oct 2016 08:32:45 +0000 (10:32 +0200)]
[Feature] Add `one_param` flag for metric symbols
Vsevolod Stakhov [Thu, 27 Oct 2016 08:32:34 +0000 (10:32 +0200)]
[Minor] Use one MX in options
Vsevolod Stakhov [Wed, 26 Oct 2016 12:37:16 +0000 (14:37 +0200)]
[Fix] Check for socket error before connection in lua_tcp
Vsevolod Stakhov [Wed, 26 Oct 2016 11:20:56 +0000 (13:20 +0200)]
[Minor] Load dynamic conf as soon as possible
Vsevolod Stakhov [Wed, 26 Oct 2016 11:20:41 +0000 (13:20 +0200)]
[Feature] Allow to plan new periodics at different time
Vsevolod Stakhov [Wed, 26 Oct 2016 11:16:19 +0000 (13:16 +0200)]
[Minor] Use alpha cmp for scores in dynamic conf
Vsevolod Stakhov [Wed, 26 Oct 2016 10:19:02 +0000 (12:19 +0200)]
[Fix] Fix various errors in lua dynamic conf plugin
Vsevolod Stakhov [Wed, 26 Oct 2016 10:18:49 +0000 (12:18 +0200)]
[Fix] Fix applying of lua dynamic confg
Vsevolod Stakhov [Wed, 26 Oct 2016 09:41:36 +0000 (11:41 +0200)]
[Feature] Store enabled flag for webui session
Vsevolod Stakhov [Wed, 26 Oct 2016 09:41:19 +0000 (11:41 +0200)]
[Fix] Fix stats for backend-less classifiers
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
Andrew Lewis [Wed, 26 Oct 2016 07:23:34 +0000 (09:23 +0200)]
[Test] Try improve reliability of fuzzy tests
Vsevolod Stakhov [Wed, 26 Oct 2016 07:19:05 +0000 (09:19 +0200)]
[Minor] Fix warnings
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
Vsevolod Stakhov [Tue, 25 Oct 2016 14:44:32 +0000 (16:44 +0200)]
[Minor] Report redis error when getting stats keys
Vsevolod Stakhov [Tue, 25 Oct 2016 13:41:16 +0000 (15:41 +0200)]
[CritFix] Fix iteration over headers array (introduced in 1.4)
Vsevolod Stakhov [Tue, 25 Oct 2016 13:07:39 +0000 (15:07 +0200)]
[Fix] Process headers only once
Andrew Lewis [Tue, 25 Oct 2016 13:15:50 +0000 (15:15 +0200)]
[Minor] Fix build with dev version of luajit
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
Vsevolod Stakhov [Tue, 25 Oct 2016 11:58:09 +0000 (13:58 +0200)]
[Fix] Fix on_finish scripts and async handlers
AL [Tue, 25 Oct 2016 11:06:33 +0000 (14:06 +0300)]
Update mx_check.lua
AL [Tue, 25 Oct 2016 11:05:50 +0000 (14:05 +0300)]
Update mx_check.lua
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"
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
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
Vsevolod Stakhov [Tue, 25 Oct 2016 08:07:49 +0000 (10:07 +0200)]
[Feature] Allow to update dynamic conf in Redis
AL [Tue, 25 Oct 2016 00:29:51 +0000 (03:29 +0300)]
[Minor] Add expire setting for non valid mxes
For MX plugin
Vsevolod Stakhov [Mon, 24 Oct 2016 12:20:46 +0000 (14:20 +0200)]
Merge pull request #1060 from xpunkt/patch-3
ham domains added
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
Andrew Lewis [Mon, 24 Oct 2016 10:13:07 +0000 (12:13 +0200)]
[Feature] Allow for getting worker stats from Lua
Andrew Lewis [Mon, 24 Oct 2016 09:40:49 +0000 (11:40 +0200)]
[Feature] Allow for excluding messages from AV scanning based on size
Vsevolod Stakhov [Mon, 24 Oct 2016 11:34:14 +0000 (13:34 +0200)]
[Fix] Fix rspamd{session} class in Lua API
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
Vsevolod Stakhov [Mon, 24 Oct 2016 07:41:38 +0000 (08:41 +0100)]
[Feature] Add preliminary support of dynamic conf updates in Redis
Vsevolod Stakhov [Mon, 24 Oct 2016 07:11:58 +0000 (08:11 +0100)]
[Feature] Add ability to enable/disable symbols via dynamic_conf
Vsevolod Stakhov [Mon, 24 Oct 2016 07:09:58 +0000 (08:09 +0100)]
[Minor] Add methods to enable and disable symbols from Lua API
Vsevolod Stakhov [Mon, 24 Oct 2016 07:01:13 +0000 (08:01 +0100)]
[Feature] Add method to enable/disable symbols in config
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
Andrew Lewis [Sat, 22 Oct 2016 18:18:48 +0000 (20:18 +0200)]
[Minor] Fix task-less lua tcp
Vsevolod Stakhov [Sat, 22 Oct 2016 11:26:45 +0000 (12:26 +0100)]
[Minor] Show real message on lua load errors
Vsevolod Stakhov [Fri, 21 Oct 2016 16:43:52 +0000 (17:43 +0100)]
[Fix] Fix refcounts when map is specified by IP
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
Vsevolod Stakhov [Fri, 21 Oct 2016 16:35:56 +0000 (17:35 +0100)]
[Minor] Rename lua_worker metatable
Vsevolod Stakhov [Fri, 21 Oct 2016 14:06:47 +0000 (15:06 +0100)]
[Feature] Allow HTTPS requests in lua_http
Vsevolod Stakhov [Fri, 21 Oct 2016 09:16:41 +0000 (10:16 +0100)]
[Minor] Fix task-less lua HTTP
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.
Vsevolod Stakhov [Thu, 20 Oct 2016 18:07:57 +0000 (19:07 +0100)]
[Fix] Fix periodic events and redis
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
Vsevolod Stakhov [Thu, 20 Oct 2016 15:20:38 +0000 (16:20 +0100)]
[CritFix] Fix race condition in checking of cached maps
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
Vsevolod Stakhov [Thu, 20 Oct 2016 10:33:00 +0000 (11:33 +0100)]
Merge pull request #1059 from fatalbanana/retransmits
[Test] Increase DNS retransmits
Andrew Lewis [Thu, 20 Oct 2016 10:31:27 +0000 (12:31 +0200)]
[Test] Increase DNS retransmits
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
Vsevolod Stakhov [Wed, 19 Oct 2016 16:09:11 +0000 (17:09 +0100)]
[Fix] One more check for readdir...
Andrew Lewis [Wed, 19 Oct 2016 16:04:01 +0000 (18:04 +0200)]
[Test] Add map reload test
Vsevolod Stakhov [Wed, 19 Oct 2016 15:45:38 +0000 (16:45 +0100)]
[Fix] Avoid double frees in HEAD requests
Vsevolod Stakhov [Wed, 19 Oct 2016 13:54:42 +0000 (14:54 +0100)]
[Fix] Another try to deal with posix idiotizm
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
Andrew Lewis [Wed, 19 Oct 2016 08:45:26 +0000 (10:45 +0200)]
[Minor] Fix virus name match for Sophos
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
Vsevolod Stakhov [Tue, 18 Oct 2016 17:33:41 +0000 (18:33 +0100)]
[Minor] Fix settings of the metric action score from lua
Vsevolod Stakhov [Tue, 18 Oct 2016 15:06:31 +0000 (16:06 +0100)]
[Feature] Allow to run rspamadm lua just as a lua interpreter
Vsevolod Stakhov [Tue, 18 Oct 2016 14:17:42 +0000 (15:17 +0100)]
[Fix] Fix handling of HTTP HEAD methods
Vsevolod Stakhov [Tue, 18 Oct 2016 12:46:32 +0000 (13:46 +0100)]
[Fix] Fix HTTP methods other than GET and POST
Vsevolod Stakhov [Tue, 18 Oct 2016 12:46:10 +0000 (13:46 +0100)]
[Feature] Add periodic events support for lua_config
Vsevolod Stakhov [Tue, 18 Oct 2016 11:48:42 +0000 (12:48 +0100)]
Merge pull request #1054 from AlexeySa/patch-2
Rework greylist plugin
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
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
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
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
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)
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
Alexander Moisseev [Tue, 18 Oct 2016 10:24:52 +0000 (13:24 +0300)]
[Minor] Fix `get_tld()` functions descriptions
Vsevolod Stakhov [Tue, 18 Oct 2016 09:57:46 +0000 (10:57 +0100)]
[Fix] Fix actions in rolling history
Andrew Lewis [Tue, 18 Oct 2016 09:37:44 +0000 (11:37 +0200)]
[Feature] Support looking up NS records in lua_dns
Andrew Lewis [Tue, 18 Oct 2016 06:49:00 +0000 (08:49 +0200)]
[Feature] Support setting task message from Lua
- Issue: #1046
Vsevolod Stakhov [Mon, 17 Oct 2016 16:01:59 +0000 (17:01 +0100)]
[Feature] Execute on_load scripts with ev_base ready
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
Vsevolod Stakhov [Mon, 17 Oct 2016 15:29:50 +0000 (16:29 +0100)]
[Fix] Remove mentions of deleted include
Vsevolod Stakhov [Mon, 17 Oct 2016 15:24:46 +0000 (16:24 +0100)]
[Minor] Update module documentation
Vsevolod Stakhov [Mon, 17 Oct 2016 15:23:45 +0000 (16:23 +0100)]
[Rework] Adopt plugins