]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sun, 15 Jan 2017 17:38:25 +0000 (17:38 +0000)]
[Minor] Check mmap return code
Vsevolod Stakhov [Sat, 14 Jan 2017 13:34:51 +0000 (13:34 +0000)]
[Fix] Fix processing errors in lua_tcp
Issue: #1341
Reported by: @AlexeySa
Vsevolod Stakhov [Sat, 14 Jan 2017 12:39:50 +0000 (12:39 +0000)]
[Minor] Add more sanity checks to redis pool
Vsevolod Stakhov [Sat, 14 Jan 2017 12:26:40 +0000 (12:26 +0000)]
[WebUI] Avoid extra graph redraw and alerts glitching
Vsevolod Stakhov [Sat, 14 Jan 2017 12:11:37 +0000 (12:11 +0000)]
[WebUI] Fix soft reject in pie chart
Vsevolod Stakhov [Fri, 13 Jan 2017 17:34:43 +0000 (17:34 +0000)]
[Minor] Avoid double free
Vsevolod Stakhov [Fri, 13 Jan 2017 16:55:57 +0000 (16:55 +0000)]
[Minor] Fix potential leak in lua send fuzzy command
Vsevolod Stakhov [Fri, 13 Jan 2017 16:28:56 +0000 (16:28 +0000)]
[Fix] Fix errors handling in fuzzy backend initialization
Vsevolod Stakhov [Fri, 13 Jan 2017 14:47:58 +0000 (14:47 +0000)]
[WebUI] Fix pie chart displaying
Vsevolod Stakhov [Fri, 13 Jan 2017 14:47:46 +0000 (14:47 +0000)]
[WebUI] Add soft reject to auth stats
Vsevolod Stakhov [Fri, 13 Jan 2017 14:22:38 +0000 (14:22 +0000)]
[WebUI] Fix case when no cluster is defined
Issue: #1334
Reported by: @dehnli
Vsevolod Stakhov [Fri, 13 Jan 2017 13:41:57 +0000 (13:41 +0000)]
[Feature] Allow SOA requests in lua dns
Vsevolod Stakhov [Fri, 13 Jan 2017 13:30:31 +0000 (13:30 +0000)]
[Minor] Add phishing flag
Vsevolod Stakhov [Fri, 13 Jan 2017 13:28:03 +0000 (13:28 +0000)]
[Feature] Reuse URL tags in SURBL module
Vsevolod Stakhov [Fri, 13 Jan 2017 12:33:01 +0000 (12:33 +0000)]
[Minor] Add url tags in surbl module
Vsevolod Stakhov [Fri, 13 Jan 2017 09:25:41 +0000 (09:25 +0000)]
[Minor] Add auto type to the parser method
Vsevolod Stakhov [Fri, 13 Jan 2017 09:24:19 +0000 (09:24 +0000)]
[Feature] Allow custom parse types in lua ucl
Vsevolod Stakhov [Thu, 12 Jan 2017 19:10:28 +0000 (19:10 +0000)]
[Minor] Improve URL tags
Vsevolod Stakhov [Thu, 12 Jan 2017 17:17:51 +0000 (17:17 +0000)]
Merge pull request #1327 from fatalbanana/u
[Feature] URL reputation plugin
Vsevolod Stakhov [Thu, 12 Jan 2017 15:11:43 +0000 (15:11 +0000)]
Merge pull request #1339 from fatalbanana/hf
[Minor] Don't disrespect .online GTLD in hfilter (Fixes #1338)
Vsevolod Stakhov [Thu, 12 Jan 2017 15:04:11 +0000 (15:04 +0000)]
[Fix] Fix possible memory corruption in redis pool
MFH: true
Vsevolod Stakhov [Thu, 12 Jan 2017 14:34:36 +0000 (14:34 +0000)]
[Fix] Plug memory leak in learning fuzzy storage
MFH: true
Vsevolod Stakhov [Thu, 12 Jan 2017 13:08:51 +0000 (13:08 +0000)]
[Fix] Avoid extensive reallocs
MFH: true
Andrew Lewis [Thu, 12 Jan 2017 13:03:20 +0000 (15:03 +0200)]
[Minor] Don't disrespect .online GTLD in hfilter (Fixes #1338)
Andrew Lewis [Wed, 11 Jan 2017 14:15:58 +0000 (16:15 +0200)]
[Feature] Dynamic reputation in URL reputation plugin
Vsevolod Stakhov [Thu, 12 Jan 2017 12:00:46 +0000 (12:00 +0000)]
[CritFix] Repair PTR_ARRAY_FOREACH macro
MFH: true
Vsevolod Stakhov [Thu, 12 Jan 2017 11:55:57 +0000 (11:55 +0000)]
[Minor] Use VALGRIND env var to detect valgrind
Vsevolod Stakhov [Wed, 11 Jan 2017 16:50:16 +0000 (16:50 +0000)]
[Minor] Plug memory leak on failed updates
Vsevolod Stakhov [Wed, 11 Jan 2017 14:31:30 +0000 (14:31 +0000)]
Merge pull request #1337 from fatalbanana/fixtests
[Test] Fix tests
Andrew Lewis [Wed, 11 Jan 2017 14:20:47 +0000 (16:20 +0200)]
[Test] Fix tests
Vsevolod Stakhov [Wed, 11 Jan 2017 14:19:27 +0000 (14:19 +0000)]
Merge pull request #1336 from fatalbanana/redir
Clean up redirectors.inc
Vsevolod Stakhov [Wed, 11 Jan 2017 14:06:18 +0000 (14:06 +0000)]
[Fix] Stop hardcoding of lua in C
Vsevolod Stakhov [Wed, 11 Jan 2017 13:50:17 +0000 (13:50 +0000)]
[Feature] Add CORS support to the controller
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
Andrew Lewis [Wed, 11 Jan 2017 08:17:12 +0000 (10:17 +0200)]
[Minor] Remove commented entries & unregistered domains
Andrew Lewis [Wed, 11 Jan 2017 07:41:18 +0000 (09:41 +0200)]
[Minor] Sort redirectors.inc
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
Andrew Lewis [Mon, 9 Jan 2017 13:50:45 +0000 (15:50 +0200)]
[Feature] URL reputation plugin
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