]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Wed, 11 Jan 2017 13:40:33 +0000 (13:40 +0000)]
[Minor] Treat special HTTP methods specially
Vsevolod Stakhov [Wed, 11 Jan 2017 13:02:18 +0000 (13:02 +0000)]
[WebUI] Add Access-Control-Allow-Origin for cluster management
Vsevolod Stakhov [Wed, 11 Jan 2017 12:56:44 +0000 (12:56 +0000)]
[Minor] Allow to append headers for rspamd http router
Vsevolod Stakhov [Wed, 11 Jan 2017 12:08:48 +0000 (12:08 +0000)]
[Fix] Fix adding maps from config in Lua
Vsevolod Stakhov [Wed, 11 Jan 2017 11:54:23 +0000 (11:54 +0000)]
[Minor] Fix double free
Vsevolod Stakhov [Tue, 10 Jan 2017 17:41:08 +0000 (17:41 +0000)]
[Minor] Fix default path from '/rspamd' to '/'
Vsevolod Stakhov [Tue, 10 Jan 2017 17:40:49 +0000 (17:40 +0000)]
[WebUI] Fix disabled state
Vsevolod Stakhov [Tue, 10 Jan 2017 17:33:11 +0000 (17:33 +0000)]
[WebUI] Rework neighbours query function
Vsevolod Stakhov [Tue, 10 Jan 2017 16:35:59 +0000 (16:35 +0000)]
Merge pull request #1333 from AnnaStakhova/master
[WebUI] clusters for the chart
Anna Stakhova [Tue, 10 Jan 2017 16:35:11 +0000 (16:35 +0000)]
[WebUI] clusters for the chart
Vsevolod Stakhov [Tue, 10 Jan 2017 16:09:36 +0000 (16:09 +0000)]
[Fix] Fix timezones parsing
Vsevolod Stakhov [Tue, 10 Jan 2017 14:12:16 +0000 (14:12 +0000)]
Merge pull request #1331 from moisseev/rrd-summary
[WebUI] Fix graph selectors state resetting
Vsevolod Stakhov [Tue, 10 Jan 2017 13:59:27 +0000 (13:59 +0000)]
[Fix] Plug termination memory leaks
Vsevolod Stakhov [Tue, 10 Jan 2017 12:39:02 +0000 (12:39 +0000)]
[Fix] Fix heuristical CTE detection for QP encoding
Vsevolod Stakhov [Tue, 10 Jan 2017 12:36:12 +0000 (12:36 +0000)]
[Fix] Fix usage of unsafe ucl iterators
Vsevolod Stakhov [Tue, 10 Jan 2017 12:35:55 +0000 (12:35 +0000)]
[Feature] Add ucl_object_iterate_full function
Vsevolod Stakhov [Tue, 10 Jan 2017 11:36:03 +0000 (11:36 +0000)]
[Fix] Plug memory leak in lua_tcp
Vsevolod Stakhov [Tue, 10 Jan 2017 11:10:27 +0000 (11:10 +0000)]
[Minor] Url tld file is not a map
Vsevolod Stakhov [Mon, 9 Jan 2017 17:42:59 +0000 (17:42 +0000)]
[Minor] Use deterministic ids for maps
Vsevolod Stakhov [Mon, 9 Jan 2017 17:42:40 +0000 (17:42 +0000)]
[Minor] Add t1ha to the list of the specific hashes
Vsevolod Stakhov [Mon, 9 Jan 2017 17:33:30 +0000 (17:33 +0000)]
[Conf] Allow to edit all local maps from WebUI by default
Vsevolod Stakhov [Mon, 9 Jan 2017 17:32:31 +0000 (17:32 +0000)]
[Minor] Fix backends display in webui
Vsevolod Stakhov [Mon, 9 Jan 2017 17:32:18 +0000 (17:32 +0000)]
[Fix] Fix surbl plugin to work with composite maps
Vsevolod Stakhov [Mon, 9 Jan 2017 17:15:36 +0000 (17:15 +0000)]
[Feature] Multiple improvements in the maps
- Allow to create maps if directory is writable
- Show all backends for all maps
- Index backend istead of map
- Improve locking logic to retry on failure
Vsevolod Stakhov [Mon, 9 Jan 2017 16:37:44 +0000 (16:37 +0000)]
[Minor] Do not use glib PRNG
Vsevolod Stakhov [Mon, 9 Jan 2017 16:37:31 +0000 (16:37 +0000)]
[Minor] Add id for each rspamd map backend
Alexander Moisseev [Mon, 9 Jan 2017 16:33:01 +0000 (19:33 +0300)]
[WebUI] Reduce font size of graph's legend
Fixes labels overlapping on page zoom out.
Vsevolod Stakhov [Mon, 9 Jan 2017 16:15:38 +0000 (16:15 +0000)]
[Fix] Fix plugins callbacks in webui
Alexander Moisseev [Mon, 9 Jan 2017 16:10:38 +0000 (19:10 +0300)]
[WebUI] Fix graph selectors state resetting
on reconnect / reload
Reported by: @denhli
Vsevolod Stakhov [Mon, 9 Jan 2017 16:08:00 +0000 (16:08 +0000)]
[Feature] Add plugins list path in WebUI
Vsevolod Stakhov [Mon, 9 Jan 2017 13:33:47 +0000 (13:33 +0000)]
[Minor] Be more strict about bad mime structure
Vsevolod Stakhov [Mon, 9 Jan 2017 13:15:43 +0000 (13:15 +0000)]
[Feature] Add heuristic to detect broken messages
Vsevolod Stakhov [Mon, 9 Jan 2017 11:19:25 +0000 (11:19 +0000)]
[Fix] Fix parsing messages with no body
Vsevolod Stakhov [Mon, 9 Jan 2017 11:02:47 +0000 (11:02 +0000)]
Merge pull request #1326 from AnnaStakhova/master
[WebUI] Fix config ID
Anna Stakhova [Mon, 9 Jan 2017 11:00:15 +0000 (11:00 +0000)]
[WebUI] Fix config ID
Anna Stakhova [Sun, 8 Jan 2017 22:58:46 +0000 (22:58 +0000)]
Merge remote-tracking branch 'refs/remotes/vstakhov/master'
Vsevolod Stakhov [Sun, 8 Jan 2017 19:09:42 +0000 (19:09 +0000)]
Merge pull request #1321 from dehnli/update-github-template
[Minor] Update github issue template
Vsevolod Stakhov [Sun, 8 Jan 2017 18:59:40 +0000 (18:59 +0000)]
[Fix] Normalize path in HTTP router
Vsevolod Stakhov [Sun, 8 Jan 2017 18:57:41 +0000 (18:57 +0000)]
[Minor] Normalize paths in URLs detected by Rspamd
Vsevolod Stakhov [Sun, 8 Jan 2017 18:37:07 +0000 (18:37 +0000)]
[Test] More test cases
Vsevolod Stakhov [Sun, 8 Jan 2017 18:24:53 +0000 (18:24 +0000)]
[Test] Add tests, fix normalization algorithm
Vsevolod Stakhov [Sun, 8 Jan 2017 16:47:03 +0000 (16:47 +0000)]
[Feature] Add function to normalize HTTP paths
dehnli [Sun, 8 Jan 2017 16:11:32 +0000 (20:11 +0400)]
[Minor] Update github issue template
Vsevolod Stakhov [Sun, 8 Jan 2017 12:06:10 +0000 (12:06 +0000)]
Merge pull request #1318 from moisseev/rrd-summary
[WebUI] Add summary to the Throughput tab
Vsevolod Stakhov [Sun, 8 Jan 2017 12:05:59 +0000 (12:05 +0000)]
Merge pull request #1319 from AnnaStakhova/master
[WebUI] Initial clusters support
Anna Stakhova [Sat, 7 Jan 2017 23:57:16 +0000 (23:57 +0000)]
Merge branch 'master' of https://github.com/AnnaStakhova/rspamd
Anna Stakhova [Sat, 7 Jan 2017 23:57:08 +0000 (23:57 +0000)]
[WebUI] Initial clusters support
Vsevolod Stakhov [Sat, 7 Jan 2017 18:58:14 +0000 (18:58 +0000)]
[Feature] Allow plugins to register webui handlers
Example of usage:
~~~lua
rspamd_plugins.multimap = {
webui = {
test = {
handler = function(task, conn)
conn:send_ucl({success = true})
end
}
}
}
Alexander Moisseev [Sat, 7 Jan 2017 18:37:13 +0000 (21:37 +0300)]
[WebUI] RRD summary: Hide inner labels of tiny pie sectors
Alexander Moisseev [Sat, 7 Jan 2017 18:07:55 +0000 (21:07 +0300)]
[WebUI] RRD summary: Respect undefined values
Vsevolod Stakhov [Sat, 7 Jan 2017 18:00:59 +0000 (18:00 +0000)]
Merge pull request #1317 from fatalbanana/m
[Feature] New URL filters in multimap
Alexander Moisseev [Sat, 7 Jan 2017 16:37:07 +0000 (19:37 +0300)]
[WebUI] Fix RRD summary pie chart position
Alexander Moisseev [Fri, 6 Jan 2017 17:30:33 +0000 (20:30 +0300)]
[WebUI] Add summary to the Throughput tab
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