]>
source.dussan.org Git - rspamd.git/log
Andrew Lewis [Fri, 6 Jan 2017 15:03:38 +0000 (17:03 +0200)]
[Feature] New URL filters in multimap
Vsevolod Stakhov [Fri, 6 Jan 2017 14:27:16 +0000 (14:27 +0000)]
[Fix] Fix argument returned on redis backend errors
MFH: true
Vsevolod Stakhov [Fri, 6 Jan 2017 13:29:47 +0000 (13:29 +0000)]
Release 1.4.2
* [CritFix] Deal with absent headers in DKIM
* [CritFix] Do not trust remote shingles count
* [CritFix] Fix headers selection in DKIM verification
* [Feature] Add EXT_CSS rule
* [Feature] Add toggle for disabling SURBLs
* [Feature] Extend redis lock when learning spawned
* [Feature] Parse <link> HTML tags
* [Fix] Avoid reusing g_error (Fixes #1262)
* [Fix] Do not reset loaded ANN when learning is requested
* [Fix] Fix another issue with external deps in SA
* [Fix] Fix body trie matching
* [Fix] Fix checking of DKIM bodies that needs just `\n` to be added
* [Fix] Fix fuzzy hashes count
* [Fix] Fix keys names
* [Fix] Fix length calculations for url encoded urls
* [Fix] Fix matching of the same patterns from different tries
* [Fix] Fix name of var
* [Fix] Fix parsing of URLs with spaces and other bad chars
* [Fix] Fix probability calculations for fuzzy redis backend
* [Fix] Fix signing headers creation in DKIM
* [Fix] Plug memory leak
* [Fix] Really fix chained SA dependencies
* [Fix] Really increase lock lifetime
* [Fix] Use checksum to avoid intersection between different ANNs
* [Fix] Use rspamd hashes in embedded ucl
* [Fix] Yet another change for testing external deps
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 6 Jan 2017 13:11:18 +0000 (13:11 +0000)]
Merge pull request #1316 from dehnli/master
[Minor] Update `mid` list
dehnli [Fri, 6 Jan 2017 13:09:00 +0000 (17:09 +0400)]
[Minor] Update `mid` list
Vsevolod Stakhov [Fri, 6 Jan 2017 12:58:49 +0000 (12:58 +0000)]
Merge pull request #1315 from mneumann/dragonfly-fix-shm
Fix shm on DragonFly
Vsevolod Stakhov [Fri, 6 Jan 2017 12:41:35 +0000 (12:41 +0000)]
[Feature] Send config id to the WebUI
Vsevolod Stakhov [Fri, 6 Jan 2017 12:38:15 +0000 (12:38 +0000)]
[Feature] Implement sane checksum for config file
Michael Neumann [Fri, 6 Jan 2017 11:58:18 +0000 (12:58 +0100)]
Fix shm on DragonFly
Rspamd tried to call shm_open(3) with a path in the root filesystem
(e.g. /rhm.
3f0fd440d46fac91e1b4 ). But DragonFly uses regular files
for shm. Obviously, this fails, because rspamd has no permissions
to create files in the root (/).
Lots of lines like the following were found in
/var/log/rspamd/rspamd.log before this patch:
rspamd_shmem_mkstemp: /usr/obj/dports/mail/rspamd/rspamd-1.4.1/src
/libutil/util.c:1970: failed to create temp shmem
/rhm.
3f0fd440d46fac91e1b4 : Permission denied
Also, rspamd made the receiving of mail very slow, when used
in the pre-accept rmilter setting, due to these errors. Even
worse, it just didn't filter emails at all.
This patch fixes the problem by creating the shm files in /tmp
for DragonFly. With this patch applied, these lines are gone from
the log and emails now correctly contain the X-Spamd-Result header,
AND receiving mails is now much much faster.
For rspamd 1.4.1, we will fix it in dports:
https://github.com/DragonFlyBSD/DeltaPorts/pull/727
Vsevolod Stakhov [Thu, 5 Jan 2017 17:20:13 +0000 (17:20 +0000)]
[Feature] Add neighbours option to support Rspamd cluster in WebUI
Vsevolod Stakhov [Thu, 5 Jan 2017 15:36:43 +0000 (15:36 +0000)]
[Feature] Implement url tags concept
Vsevolod Stakhov [Thu, 5 Jan 2017 14:11:46 +0000 (14:11 +0000)]
[Minor] Add type of fuzzy to log files
Vsevolod Stakhov [Thu, 5 Jan 2017 14:08:25 +0000 (14:08 +0000)]
[Fix] Fix probability calculations for fuzzy redis backend
Vsevolod Stakhov [Thu, 5 Jan 2017 13:05:15 +0000 (13:05 +0000)]
[Feature] Add fallback if too many updates are failing
Vsevolod Stakhov [Thu, 5 Jan 2017 12:44:33 +0000 (12:44 +0000)]
[CritFix] Do not trust remote shingles count
MFH: true
Vsevolod Stakhov [Thu, 5 Jan 2017 12:15:29 +0000 (12:15 +0000)]
[Fix] Fix build
Vsevolod Stakhov [Thu, 5 Jan 2017 12:04:31 +0000 (12:04 +0000)]
[Fix] Fix fuzzy hashes count
Vsevolod Stakhov [Thu, 5 Jan 2017 11:17:44 +0000 (11:17 +0000)]
[Minor] Add `compat_messages` for compatibility with legacy protocol
MFH: true
Vsevolod Stakhov [Wed, 4 Jan 2017 13:27:58 +0000 (13:27 +0000)]
Merge pull request #1304 from moisseev/graph
[WebUI] Add graph legend entries for new DSes
Alexander Moisseev [Wed, 4 Jan 2017 13:02:01 +0000 (16:02 +0300)]
[WebUI] Add graph legend entries for new DSes
Resolves #1300
Vsevolod Stakhov [Wed, 4 Jan 2017 11:54:34 +0000 (11:54 +0000)]
[Fix] Fix rra_ptr conversion
Vsevolod Stakhov [Wed, 4 Jan 2017 10:37:24 +0000 (10:37 +0000)]
[Fix] Fix rrd file conversion
Vsevolod Stakhov [Tue, 3 Jan 2017 17:05:57 +0000 (17:05 +0000)]
[Feature] Ignore too wide elements in SPF
Issue: #216
Reported by: @fatalbanana
Vsevolod Stakhov [Tue, 3 Jan 2017 16:44:38 +0000 (16:44 +0000)]
[Fix] Fix assertion in graph handling
Vsevolod Stakhov [Tue, 3 Jan 2017 16:06:22 +0000 (16:06 +0000)]
Merge pull request #1298 from moisseev/totals
[WebUI] Turn d3pie's stuff into a reusable function,
Alexander Moisseev [Tue, 3 Jan 2017 15:52:46 +0000 (18:52 +0300)]
[WebUI] Turn d3pie's stuff into a reusable function,
do not destroy pie on data update
Vsevolod Stakhov [Tue, 3 Jan 2017 14:21:59 +0000 (14:21 +0000)]
[Minor] Move hiredis inclusion to the proper place
Vsevolod Stakhov [Tue, 3 Jan 2017 13:32:14 +0000 (13:32 +0000)]
[Fix] Fix new rrd updates
Vsevolod Stakhov [Tue, 3 Jan 2017 13:22:59 +0000 (13:22 +0000)]
[Feature] Rework RRD ds count, add conversion path
Vsevolod Stakhov [Tue, 3 Jan 2017 13:22:43 +0000 (13:22 +0000)]
[Minor] Move common functions from libmime
Vsevolod Stakhov [Mon, 2 Jan 2017 12:39:29 +0000 (12:39 +0000)]
[Fix] Fix name of var
MFH: true
Vsevolod Stakhov [Mon, 2 Jan 2017 12:37:57 +0000 (12:37 +0000)]
[Minor] Fix posix_memalign -> malloc transition
Vsevolod Stakhov [Sun, 1 Jan 2017 17:57:59 +0000 (17:57 +0000)]
[Fix] Plug memory leak
MFH: true
Vsevolod Stakhov [Sun, 1 Jan 2017 15:56:33 +0000 (15:56 +0000)]
Merge pull request #1296 from moisseev/visibility
[WebUI] Add Throughput graph autorefreshing (#820)
Vsevolod Stakhov [Sun, 1 Jan 2017 15:18:09 +0000 (15:18 +0000)]
[Minor] Set smaller alignment for mem_pool
Vsevolod Stakhov [Sun, 1 Jan 2017 15:08:32 +0000 (15:08 +0000)]
[Minor] Relax alignment requirements for fstring
Alexander Moisseev [Sun, 1 Jan 2017 15:13:22 +0000 (18:13 +0300)]
[WebUI] Add Throughput graph autorefreshing (#820)
Vsevolod Stakhov [Sun, 1 Jan 2017 11:39:49 +0000 (11:39 +0000)]
Merge pull request #1295 from moisseev/gc
[WebUI] Remove orphaned font duplicates
Alexander Moisseev [Sun, 1 Jan 2017 09:14:21 +0000 (12:14 +0300)]
[WebUI] Remove orphaned font duplicates
Vsevolod Stakhov [Sat, 31 Dec 2016 19:17:12 +0000 (19:17 +0000)]
Merge pull request #1294 from moisseev/visibility
[WebUI] Use unified tab click event handler,
Alexander Moisseev [Sat, 31 Dec 2016 17:58:07 +0000 (20:58 +0300)]
[WebUI] Use unified tab click event handler,
stop refreshing widgets on hidden tabs,
make `refresh` button functional for some more tabs
Vsevolod Stakhov [Fri, 30 Dec 2016 18:02:51 +0000 (18:02 +0000)]
[Fix] Fix signing headers creation in DKIM
MFH: true
Vsevolod Stakhov [Fri, 30 Dec 2016 17:53:07 +0000 (17:53 +0000)]
[CritFix] Deal with absent headers in DKIM
MFH: true
Vsevolod Stakhov [Fri, 30 Dec 2016 17:49:53 +0000 (17:49 +0000)]
[CritFix] Fix headers selection in DKIM verification
Found by: @moisseev
MFH: true
Vsevolod Stakhov [Fri, 30 Dec 2016 17:01:28 +0000 (17:01 +0000)]
Merge pull request #1292 from moisseev/visibility
[WebUI] Stop stats refreshing if the page is hidden
Vsevolod Stakhov [Fri, 30 Dec 2016 17:01:02 +0000 (17:01 +0000)]
Merge pull request #1291 from fatalbanana/g
[Minor] Avoid reusing GError
Vsevolod Stakhov [Fri, 30 Dec 2016 16:59:40 +0000 (16:59 +0000)]
[Minor] Ignore space chars when detect CTE
Vsevolod Stakhov [Fri, 30 Dec 2016 16:56:49 +0000 (16:56 +0000)]
[Fix] Fix CTE detection heuristic
Vsevolod Stakhov [Fri, 30 Dec 2016 16:56:26 +0000 (16:56 +0000)]
[Fix] Fix checking of DKIM bodies that needs just `\n` to be added
Vsevolod Stakhov [Fri, 30 Dec 2016 16:46:37 +0000 (16:46 +0000)]
[Feature] Do not trust CTE, check base64 and qp strictly
Alexander Moisseev [Fri, 30 Dec 2016 13:49:16 +0000 (16:49 +0300)]
[WebUI] Stop stats refreshing if the page is hidden
Andrew Lewis [Fri, 30 Dec 2016 14:19:34 +0000 (16:19 +0200)]
[Minor] Avoid reusing GError
Alexander Moisseev [Fri, 30 Dec 2016 13:14:00 +0000 (16:14 +0300)]
[WebUI] Add Visibility.js library
Vsevolod Stakhov [Fri, 30 Dec 2016 12:49:31 +0000 (12:49 +0000)]
[Minor] Add support for unix connections for redis stats backend
Vsevolod Stakhov [Fri, 30 Dec 2016 12:46:28 +0000 (12:46 +0000)]
[Fix] Support unix sockets for lua redis
Issue: #1277
Reported by: @athanp
Vsevolod Stakhov [Thu, 29 Dec 2016 18:57:56 +0000 (18:57 +0000)]
[Minor] Add example of new TCP logic
Vsevolod Stakhov [Thu, 29 Dec 2016 18:56:55 +0000 (18:56 +0000)]
[Minor] More fixes for lua_tcp
Vsevolod Stakhov [Thu, 29 Dec 2016 17:58:47 +0000 (17:58 +0000)]
[Fix] Miltiple fixes to new lua_tcp, add debugging
Vsevolod Stakhov [Thu, 29 Dec 2016 16:38:44 +0000 (16:38 +0000)]
[Feature] Add new methods for lua_tcp
Vsevolod Stakhov [Thu, 29 Dec 2016 16:02:12 +0000 (16:02 +0000)]
[Minor] Special case for partial requests
Vsevolod Stakhov [Thu, 29 Dec 2016 15:54:07 +0000 (15:54 +0000)]
[Minor] Call read callback when no stop_pattern is specified
Vsevolod Stakhov [Thu, 29 Dec 2016 15:50:29 +0000 (15:50 +0000)]
[Rework] Rework lua_tcp to allow TCP dialog
- Now, lua_tcp has a chain of read and write events that are processed
in order
- The old API wasn't touched, however, new style API will be possible
- Partial lua_tcp might be broken, so I need to revisit all plugins that
use lua_tcp
Issue: #1224
Vsevolod Stakhov [Thu, 29 Dec 2016 15:55:18 +0000 (15:55 +0000)]
Merge pull request #1290 from moisseev/d3evolution
[WebUI] Update D3Evolution to 0.0.1
Alexander Moisseev [Thu, 29 Dec 2016 09:12:32 +0000 (12:12 +0300)]
[WebUI] Update D3Evolution to 0.0.1
Vsevolod Stakhov [Wed, 28 Dec 2016 18:13:25 +0000 (18:13 +0000)]
[WebUI] Update d3.js
Vsevolod Stakhov [Wed, 28 Dec 2016 17:34:44 +0000 (17:34 +0000)]
[Minor] Add copyright comments for js libs
Vsevolod Stakhov [Wed, 28 Dec 2016 16:41:36 +0000 (16:41 +0000)]
[Fix] Fix keys names
Vsevolod Stakhov [Wed, 28 Dec 2016 16:25:06 +0000 (16:25 +0000)]
[Minor] Fix length in email addresses heuristic
Vsevolod Stakhov [Wed, 28 Dec 2016 15:23:01 +0000 (15:23 +0000)]
[Feature] Add heuristic to process broken email addresses
Vsevolod Stakhov [Wed, 28 Dec 2016 11:48:38 +0000 (11:48 +0000)]
[Fix] Use checksum to avoid intersection between different ANNs
Vsevolod Stakhov [Wed, 28 Dec 2016 11:48:19 +0000 (11:48 +0000)]
[Minor] Add methods to get symbols cache checksum
Vsevolod Stakhov [Wed, 28 Dec 2016 11:33:24 +0000 (11:33 +0000)]
[Minor] Add checksum for symbols cache
Vsevolod Stakhov [Tue, 27 Dec 2016 23:01:14 +0000 (23:01 +0000)]
[Fix] Really increase lock lifetime
Vsevolod Stakhov [Tue, 27 Dec 2016 17:14:43 +0000 (17:14 +0000)]
[Minor] Disable redis cache for ASN module
Vsevolod Stakhov [Mon, 26 Dec 2016 15:47:14 +0000 (15:47 +0000)]
[Fix] Disable zero-copy mode for text parts to avoid crashes
Vsevolod Stakhov [Mon, 26 Dec 2016 11:09:29 +0000 (11:09 +0000)]
[Minor] Add missing debian dependency
Issue: #1286
Reported by: @LynxChaus
Vsevolod Stakhov [Mon, 26 Dec 2016 11:00:27 +0000 (11:00 +0000)]
[Minor] Add optimization option to debian rules
Vsevolod Stakhov [Mon, 26 Dec 2016 00:33:03 +0000 (00:33 +0000)]
[Minor] Initialize DCT matrix
Vsevolod Stakhov [Mon, 26 Dec 2016 00:30:48 +0000 (00:30 +0000)]
[Minor] Add length check for array iteration
Vsevolod Stakhov [Mon, 26 Dec 2016 00:29:01 +0000 (00:29 +0000)]
[Minor] Initialize variable
Vsevolod Stakhov [Mon, 26 Dec 2016 00:27:33 +0000 (00:27 +0000)]
[Fix] Fix out of bounds access
Vsevolod Stakhov [Sun, 25 Dec 2016 23:53:36 +0000 (23:53 +0000)]
[Minor] Another try to fix race condition in lua_redis
Vsevolod Stakhov [Sun, 25 Dec 2016 23:16:01 +0000 (23:16 +0000)]
[Fix] Add additional check to mark redis connection inactive
Vsevolod Stakhov [Sun, 25 Dec 2016 16:23:02 +0000 (16:23 +0000)]
[Minor] Add enable full debug option
Vsevolod Stakhov [Sun, 25 Dec 2016 14:52:37 +0000 (14:52 +0000)]
[Fix] Try to fix race condition in redis_pool
Vsevolod Stakhov [Sun, 25 Dec 2016 12:44:30 +0000 (12:44 +0000)]
[Minor] Oops, fix indexes one more time
Vsevolod Stakhov [Sun, 25 Dec 2016 12:42:32 +0000 (12:42 +0000)]
[Fix] Fix indexes in array access, interleave loop
Vsevolod Stakhov [Sun, 25 Dec 2016 11:42:32 +0000 (11:42 +0000)]
Merge pull request #1284 from moisseev/spinner
[WebUI] Replace spinner with animated glyphicon
Alexander Moisseev [Sat, 24 Dec 2016 12:23:40 +0000 (15:23 +0300)]
[WebUI] Replace spinner with animated glyphicon
Vsevolod Stakhov [Sat, 24 Dec 2016 10:58:17 +0000 (10:58 +0000)]
[Fix] Fix parsing of messages with no content type
Issue: #1283
Reported by: @moisseev
Vsevolod Stakhov [Sat, 24 Dec 2016 10:49:53 +0000 (10:49 +0000)]
[Fix] Fix memory leak in parsing of mime names
Vsevolod Stakhov [Fri, 23 Dec 2016 15:46:09 +0000 (15:46 +0000)]
[Minor] Use gmt dates if possible
Vsevolod Stakhov [Fri, 23 Dec 2016 14:52:16 +0000 (14:52 +0000)]
[Fix] Fix byte array expansion during toutf8 conversion
Vsevolod Stakhov [Fri, 23 Dec 2016 14:25:57 +0000 (14:25 +0000)]
[Fix] Revert bad offset calculation
Vsevolod Stakhov [Fri, 23 Dec 2016 13:21:52 +0000 (13:21 +0000)]
Merge pull request #1280 from moisseev/refresh
[WebUI] Fix excessive refreshing
Vsevolod Stakhov [Fri, 23 Dec 2016 13:21:29 +0000 (13:21 +0000)]
Merge pull request #1278 from fatalbanana/c
[Feature] Add mechanism for disabling composites (Fixes #1270)
Vsevolod Stakhov [Fri, 23 Dec 2016 13:21:01 +0000 (13:21 +0000)]
Merge pull request #1281 from fatalbanana/dates
[Fix] Date header timezone adjustments (#1279)
Andrew Lewis [Fri, 23 Dec 2016 10:23:40 +0000 (12:23 +0200)]
[Fix] Date header timezone adjustments (#1279)
Alexander Moisseev [Fri, 23 Dec 2016 10:07:17 +0000 (13:07 +0300)]
[WebUI] Prevent multiple clicks on `Refresh`
Alexander Moisseev [Fri, 23 Dec 2016 10:01:17 +0000 (13:01 +0300)]
[WebUI] Fix stat widgets timers multiplication on `Refresh` click