]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Tue, 13 Dec 2016 11:03:31 +0000 (11:03 +0000)]
[Minor] Fix cast
Vsevolod Stakhov [Tue, 13 Dec 2016 11:01:33 +0000 (11:01 +0000)]
[Minor] Do not treat IDN urls as bad URLs
Vsevolod Stakhov [Mon, 23 Jan 2017 11:34:03 +0000 (11:34 +0000)]
Merge pull request #1362 from fatalbanana/rspamd-1.4
Rspamd 1.4: [Fix] Replies module: fix symbol weight
Andrew Lewis [Mon, 23 Jan 2017 07:19:08 +0000 (09:19 +0200)]
[Fix] Replies module: fix symbol weight
Vsevolod Stakhov [Thu, 19 Jan 2017 10:57:44 +0000 (10:57 +0000)]
[Minor] One more definition missed on Linux
Vsevolod Stakhov [Thu, 19 Jan 2017 10:51:57 +0000 (10:51 +0000)]
[Minor] Add missing macro
Vsevolod Stakhov [Thu, 19 Jan 2017 10:42:02 +0000 (10:42 +0000)]
[Minor] Fix build with gcc 4.2
Issue: #1351
Reported by: @brad0
Vsevolod Stakhov [Wed, 18 Jan 2017 14:19:04 +0000 (14:19 +0000)]
Release 1.4.3
* [CritFix] Backport PTR_ARRAY_FOREACH fix
* [CritFix] Fix descriptors leak on reload
* [Feature] Add `caseless_hash` method to `lua_util`
* [Feature] Use t1ha for hashes, allow inlining
* [Feature] Use t1ha instead of metrohash and xxhash32
* [Fix] Another try to fix descriptors leak
* [Fix] Another try to fix reload and logger
* [Fix] Avoid extensive reallocs
* [Fix] Avoid race condition on saving cache and reload
* [Fix] Backport redis pool fixes from master
* [Fix] Break pool connection on fatal redis errors
* [Fix] Fix argument returned on redis backend errors
* [Fix] Fix errors handling in fuzzy backend initialization
* [Fix] Fix race condition in SIGUSR2 handler
* [Fix] Fix reload and hyperscan ready event
* [Fix] More fixes to logger initialization
* [Fix] Plug memory leak in learning fuzzy storage
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Tue, 17 Jan 2017 14:09:30 +0000 (14:09 +0000)]
[Fix] Avoid race condition on saving cache and reload
MFH: true
Vsevolod Stakhov [Tue, 17 Jan 2017 14:04:58 +0000 (14:04 +0000)]
[Fix] Fix reload and hyperscan ready event
MFH: true
Vsevolod Stakhov [Tue, 17 Jan 2017 13:36:14 +0000 (13:36 +0000)]
[Fix] Fix race condition in SIGUSR2 handler
MFH: true
Vsevolod Stakhov [Tue, 17 Jan 2017 13:35:43 +0000 (13:35 +0000)]
[Fix] Break pool connection on fatal redis errors
MFH: true
Vsevolod Stakhov [Tue, 17 Jan 2017 10:45:24 +0000 (10:45 +0000)]
[Minor] Update version to 1.4.3
Vsevolod Stakhov [Tue, 17 Jan 2017 11:34:20 +0000 (11:34 +0000)]
Merge pull request #1347 from fatalbanana/rspamd-1.4
Rspamd 1.4: backports
Andrew Lewis [Tue, 6 Dec 2016 10:52:28 +0000 (12:52 +0200)]
[WebUI] Set focus to password field (#1230)
Reported-by: @madorin
Andrew Lewis [Tue, 17 Jan 2017 11:13:03 +0000 (13:13 +0200)]
[Minor] Update public suffix list
Andrew Lewis [Wed, 11 Jan 2017 08:17:12 +0000 (10:17 +0200)]
[Minor] Remove commented entries & unregistered domains
Andrew Lewis [Tue, 17 Jan 2017 11:10:05 +0000 (13:10 +0200)]
[Minor] Sort redirectors.inc
Vsevolod Stakhov [Tue, 17 Jan 2017 10:31:09 +0000 (10:31 +0000)]
Merge pull request #1346 from fatalbanana/rspamd-1.4
Rspamd 1.4: DMARC: always return policy
Andrew Lewis [Tue, 17 Jan 2017 09:16:34 +0000 (11:16 +0200)]
[Minor] DMARC: always return policy
Vsevolod Stakhov [Mon, 16 Jan 2017 18:04:21 +0000 (18:04 +0000)]
[Fix] Another try to fix reload and logger
MFH: true
Vsevolod Stakhov [Mon, 16 Jan 2017 17:34:35 +0000 (17:34 +0000)]
[Fix] Another try to fix descriptors leak
MFH: true
Vsevolod Stakhov [Mon, 16 Jan 2017 15:03:22 +0000 (15:03 +0000)]
[Fix] More fixes to logger initialization
MFH: true
Vsevolod Stakhov [Mon, 16 Jan 2017 14:27:39 +0000 (14:27 +0000)]
[CritFix] Fix descriptors leak on reload
MFH: true
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:23:21 +0000 (14:23 +0000)]
Merge pull request #1342 from fatalbanana/rspamd-1.4
Rspamd 1.4: more missing dependencies for FANN (#1325)
Vsevolod Stakhov [Thu, 22 Dec 2016 18:03:32 +0000 (18:03 +0000)]
[Feature] Use t1ha for hashes, allow inlining
Vsevolod Stakhov [Thu, 22 Dec 2016 21:25:08 +0000 (21:25 +0000)]
[Feature] Add `caseless_hash` method to `lua_util`
Vsevolod Stakhov [Thu, 12 Jan 2017 15:11:36 +0000 (15:11 +0000)]
Merge pull request #1340 from fatalbanana/rspamd-1.4
Rspamd 1.4: backports
Vsevolod Stakhov [Thu, 12 Jan 2017 13:08:51 +0000 (13:08 +0000)]
[Fix] Avoid extensive reallocs
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 15:05:35 +0000 (15:05 +0000)]
[Fix] Backport redis pool fixes from master
Andrew Lewis [Thu, 12 Jan 2017 13:03:20 +0000 (15:03 +0200)]
[Minor] Don't disrespect .online GTLD in hfilter (Fixes #1338)
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 [Thu, 12 Jan 2017 12:02:03 +0000 (12:02 +0000)]
[CritFix] Backport PTR_ARRAY_FOREACH fix
Vsevolod Stakhov [Sat, 10 Dec 2016 14:29:22 +0000 (14:29 +0000)]
[Minor] Leftover for i386
Vsevolod Stakhov [Sat, 10 Dec 2016 13:21:24 +0000 (13:21 +0000)]
[Minor] Try to fix build on non x86 architectures
Vsevolod Stakhov [Mon, 9 Jan 2017 13:48:43 +0000 (13:48 +0000)]
Merge pull request #1330 from fatalbanana/rspamd-1.4
Rspamd 1.4: really fix build
Vsevolod Stakhov [Thu, 8 Dec 2016 13:41:45 +0000 (13:41 +0000)]
[Feature] Use t1ha instead of metrohash and xxhash32
Vsevolod Stakhov [Mon, 9 Jan 2017 13:26:28 +0000 (13:26 +0000)]
Merge pull request #1329 from fatalbanana/rspamd-1.4
Rspamd 1.4: fix build
Vsevolod Stakhov [Wed, 28 Dec 2016 11:33:24 +0000 (11:33 +0000)]
[Minor] Add checksum for symbols cache
Vsevolod Stakhov [Mon, 9 Jan 2017 12:10:37 +0000 (12:10 +0000)]
Merge pull request #1328 from fatalbanana/rspamd-1.4
Rspamd 1.4: backport missing API (#1325)
Vsevolod Stakhov [Wed, 28 Dec 2016 11:48:19 +0000 (11:48 +0000)]
[Minor] Add methods to get symbols cache checksum
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>
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 16:29:06 +0000 (16:29 +0000)]
Merge pull request #1314 from fatalbanana/rspamd-1.4
Rspamd 1.4: fuzzy fixes
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 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:22:23 +0000 (11:22 +0000)]
Merge pull request #1313 from fatalbanana/rspamd-1.4
[Minor] Add `compat_messages` for compatibility with legacy protocol
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 12:31:33 +0000 (12:31 +0000)]
Merge pull request #1303 from fatalbanana/rspamd-1.4
Rspamd 1.4: fann_redis fixes
Vsevolod Stakhov [Wed, 28 Dec 2016 16:41:36 +0000 (16:41 +0000)]
[Fix] Fix keys names
Vsevolod Stakhov [Wed, 28 Dec 2016 11:48:38 +0000 (11:48 +0000)]
[Fix] Use checksum to avoid intersection between different ANNs
Vsevolod Stakhov [Tue, 27 Dec 2016 23:01:14 +0000 (23:01 +0000)]
[Fix] Really increase lock lifetime
Andrew Lewis [Wed, 7 Dec 2016 08:12:52 +0000 (10:12 +0200)]
[Minor] fann_redis: Try harder to reload redis scripts if needed
Vsevolod Stakhov [Tue, 6 Dec 2016 12:34:38 +0000 (12:34 +0000)]
[Feature] Extend redis lock when learning spawned
Vsevolod Stakhov [Wed, 4 Jan 2017 11:52:06 +0000 (11:52 +0000)]
Merge pull request #1302 from fatalbanana/rspamd-1.4
Rspamd 1.4: backport memory leak fix/other fixes
Vsevolod Stakhov [Mon, 2 Jan 2017 12:39:29 +0000 (12:39 +0000)]
[Fix] Fix name of var
MFH: true
Vsevolod Stakhov [Thu, 8 Dec 2016 13:49:30 +0000 (13:49 +0000)]
[Fix] Use rspamd hashes in embedded ucl
Vsevolod Stakhov [Fri, 16 Dec 2016 11:19:54 +0000 (11:19 +0000)]
[Fix] Fix matching of the same patterns from different tries
MFH: true
Vsevolod Stakhov [Fri, 16 Dec 2016 11:19:35 +0000 (11:19 +0000)]
[Fix] Fix body trie matching
MFH: true
Vsevolod Stakhov [Sun, 1 Jan 2017 17:57:59 +0000 (17:57 +0000)]
[Fix] Plug memory leak
MFH: true
Vsevolod Stakhov [Tue, 3 Jan 2017 14:07:11 +0000 (14:07 +0000)]
Merge pull request #1297 from fatalbanana/rspamd-1.4
Rspamd 1.4: backport DKIM fixes
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
Conflicts:
src/libserver/dkim.c
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
Andrew Lewis [Wed, 21 Dec 2016 13:49:57 +0000 (15:49 +0200)]
[Fix] Avoid reusing g_error (Fixes #1262)
Reported by: @jhejl
Vsevolod Stakhov [Mon, 5 Dec 2016 10:46:14 +0000 (10:46 +0000)]
Merge pull request #1223 from fatalbanana/surbl
[Feature] Add toggle for disabling SURBLs
Andrew Lewis [Mon, 5 Dec 2016 10:29:17 +0000 (12:29 +0200)]
[Feature] Add toggle for disabling SURBLs
Vsevolod Stakhov [Sun, 4 Dec 2016 22:55:52 +0000 (22:55 +0000)]
[Minor] Remove unused global var
Vsevolod Stakhov [Sun, 4 Dec 2016 22:37:36 +0000 (22:37 +0000)]
Merge pull request #1222 from moisseev/patch-4
[Minor] Avoid `nil` index
Alexander Moisseev [Sun, 4 Dec 2016 17:19:59 +0000 (20:19 +0300)]
[Minor] Avoid `nil` index
Vsevolod Stakhov [Sun, 4 Dec 2016 17:13:34 +0000 (17:13 +0000)]
Merge pull request #1221 from moisseev/patch-3
[Minor] Fix typo
Vsevolod Stakhov [Sun, 4 Dec 2016 17:13:16 +0000 (17:13 +0000)]
Merge pull request #1219 from moisseev/patch-2
[Minor] Avoid nil index
Alexander Moisseev [Sun, 4 Dec 2016 17:06:45 +0000 (20:06 +0300)]
[Minor] Fix condition, avoid `nil` index
Alexander Moisseev [Sun, 4 Dec 2016 07:24:14 +0000 (10:24 +0300)]
[Minor] Avoid nil index
Alexander Moisseev [Sat, 3 Dec 2016 18:34:34 +0000 (21:34 +0300)]
[Minor] Fix typo
Alexander Moisseev [Sat, 3 Dec 2016 18:20:43 +0000 (21:20 +0300)]
[Minor] Avoid nil index
Vsevolod Stakhov [Fri, 2 Dec 2016 19:07:42 +0000 (19:07 +0000)]
[Minor] Allow to set lock expire for ANN module
Vsevolod Stakhov [Fri, 2 Dec 2016 12:59:20 +0000 (12:59 +0000)]
[Fix] Fix length calculations for url encoded urls
Vsevolod Stakhov [Fri, 2 Dec 2016 12:58:58 +0000 (12:58 +0000)]
[Fix] Fix parsing of URLs with spaces and other bad chars
Vsevolod Stakhov [Thu, 1 Dec 2016 17:16:11 +0000 (17:16 +0000)]
[Feature] Add EXT_CSS rule
Vsevolod Stakhov [Thu, 1 Dec 2016 16:41:32 +0000 (16:41 +0000)]
[Feature] Parse <link> HTML tags
Vsevolod Stakhov [Thu, 1 Dec 2016 14:25:10 +0000 (14:25 +0000)]
Merge pull request #1216 from fatalbanana/t
[Test] Improve SpamAssassin dependencies tests
Andrew Lewis [Thu, 1 Dec 2016 14:21:48 +0000 (16:21 +0200)]
[Test] Improve SpamAssassin dependencies tests
Vsevolod Stakhov [Thu, 1 Dec 2016 14:10:37 +0000 (14:10 +0000)]
[Fix] Do not reset loaded ANN when learning is requested
Vsevolod Stakhov [Thu, 1 Dec 2016 14:06:05 +0000 (14:06 +0000)]
[Fix] Yet another change for testing external deps
Vsevolod Stakhov [Thu, 1 Dec 2016 12:30:20 +0000 (12:30 +0000)]
[Fix] Fix another issue with external deps in SA
Vsevolod Stakhov [Thu, 1 Dec 2016 11:56:21 +0000 (11:56 +0000)]
Merge pull request #1211 from moisseev/patch-1
[WebUI] Load graph data on reconnect if the tab is active
Vsevolod Stakhov [Thu, 1 Dec 2016 11:48:36 +0000 (11:48 +0000)]
[Fix] Really fix chained SA dependencies
Alexander Moisseev [Wed, 30 Nov 2016 15:56:48 +0000 (18:56 +0300)]
[WebUI] Load graph data on reconnect if the tab is active
Vsevolod Stakhov [Wed, 30 Nov 2016 14:16:19 +0000 (14:16 +0000)]
[Minor] Update to 1.4.2
Vsevolod Stakhov [Wed, 30 Nov 2016 14:15:14 +0000 (14:15 +0000)]
Release 1.4.1
* [Feature] ASN support in Clickhouse module
* [Feature] Add clickhouse plugin
* [Feature] Add generic tool to add universal maps for lua modules
* [Feature] Add logger.debugm to debug lua modules
* [Feature] Allow to register metrics symbols using register_symbol
* [Feature] Allow to specify prefix for fann_redis
* [Feature] Clickhouse: support different masks for IPv4/IPv6
* [Feature] Support forcing action in antivirus plugin
* [Fix] Add handling of regexp maps
* [Fix] Allow backslashes in http urls
* [Fix] Avoid mapping of empty files
* [Fix] Do not load tld file to speed up rspamadm
* [Fix] Do not resolve numeric IP addresses due to ipv6 insanity
* [Fix] Filter incorrect training data
* [Fix] Fix Fuzzyconvert tool when password or DB is given
* [Fix] Fix build with custom glib/gmime
* [Fix] Fix converting of learn count from sqlite to redis
* [Fix] Fix crashes with invalid received and task:set_from_ip
* [Fix] Fix external dependencies for SA module
* [Fix] Fix fann_redis when number of scores has been changed
* [Fix] Fix hyperscan usage for non compatible platforms
* [Fix] Fix loading of maps from UCL objects
* [Fix] Fix memory leak for task-less redis requests
* [Fix] Fix mid module with new maps syntax
* [Fix] Fix parsing of URLs with username
* [Fix] Fix re cache initialisation
* [Fix] Fix replacements to sanitize '%' character
* [Fix] Fix set and regexp like static maps
* [Fix] Fix some issues in redis settings
* [Fix] Fix static IP maps
* [Fix] Fix total learns counter for redis stats
* [Fix] Fix usage of config during reload
* [Fix] Fix various warnings and issues
* [Fix] Invalidate ANN if training data is incorrect
* [Fix] Miltiple fixes to fann_redis module
* [Fix] More fixes for URLs with backslashes
* [Fix] Properly get options for ip_score module
* [Fix] Relax requirements for Received as gmail cannot RFC
* [Fix] Remove or fix hyperscan incompatible regexps
* [Fix] Settings: correctly read redis config
* [Rework] Rework lua logger interface slightly
* [Rework] Use new maps add function
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Wed, 30 Nov 2016 13:58:43 +0000 (13:58 +0000)]
Merge pull request #1209 from AnnaStakhova/master
Make status responsive
Anna Stakhova [Wed, 30 Nov 2016 13:52:00 +0000 (13:52 +0000)]
[WebUI] Improve uptime responsive
Vsevolod Stakhov [Wed, 30 Nov 2016 13:38:54 +0000 (13:38 +0000)]
Merge pull request #1208 from moisseev/patch-1
[WebUI] Fix graph percentage mode resetting