]> source.dussan.org Git - rspamd.git/log
rspamd.git
7 years ago[Fix] Fix processing of multipart parts with no headers
Vsevolod Stakhov [Wed, 2 Aug 2017 17:36:31 +0000 (18:36 +0100)]
[Fix] Fix processing of multipart parts with no headers

Issue: #1783
Closes: #1783
7 years ago[Feature] Add ability to match score in force_actions module
Vsevolod Stakhov [Wed, 2 Aug 2017 17:22:23 +0000 (18:22 +0100)]
[Feature] Add ability to match score in force_actions module

7 years ago[Minor] Use '--' instead of 'UN' for unknown values
Vsevolod Stakhov [Wed, 2 Aug 2017 17:22:07 +0000 (18:22 +0100)]
[Minor] Use '--' instead of 'UN' for unknown values

7 years ago[Fix] Fix pushing country to clickhouse asn table
Vsevolod Stakhov [Wed, 2 Aug 2017 17:12:17 +0000 (18:12 +0100)]
[Fix] Fix pushing country to clickhouse asn table

7 years ago[Feature] Allow rule specific min_bytes in fuzzy check
Vsevolod Stakhov [Wed, 2 Aug 2017 07:04:53 +0000 (08:04 +0100)]
[Feature] Allow rule specific min_bytes in fuzzy check

7 years ago[Minor] Fann_redis: Fix iterator
Andrew Lewis [Tue, 1 Aug 2017 07:22:30 +0000 (09:22 +0200)]
[Minor] Fann_redis: Fix iterator

7 years ago[Feature] Implement per-user ANN support
Vsevolod Stakhov [Tue, 1 Aug 2017 07:17:50 +0000 (08:17 +0100)]
[Feature] Implement per-user ANN support

7 years ago[Minor] Add task:get_principal_recipient method
Vsevolod Stakhov [Tue, 1 Aug 2017 07:12:38 +0000 (08:12 +0100)]
[Minor] Add task:get_principal_recipient method

7 years ago[Feature] Implement manual ANN train mode
Vsevolod Stakhov [Tue, 1 Aug 2017 07:05:06 +0000 (08:05 +0100)]
[Feature] Implement manual ANN train mode

7 years ago[Minor] Revert layers number change: output layer is added explicitly
Vsevolod Stakhov [Mon, 31 Jul 2017 17:34:10 +0000 (18:34 +0100)]
[Minor] Revert layers number change: output layer is added explicitly

7 years agoMerge pull request #1781 from fatalbanana/fann
Vsevolod Stakhov [Mon, 31 Jul 2017 17:33:04 +0000 (18:33 +0100)]
Merge pull request #1781 from fatalbanana/fann

[Minor] Fann_redis: Fix iterator & some warnings

7 years agoMerge pull request #1780 from moisseev/mail-ru-base64
Vsevolod Stakhov [Mon, 31 Jul 2017 17:32:33 +0000 (18:32 +0100)]
Merge pull request #1780 from moisseev/mail-ru-base64

[Minor] Suppress MIME_BASE64_TEXT for Mail.Ru Mailer

7 years ago[Minor] Fann_redis: Fix iterators & some warnings 1781/head
Andrew Lewis [Mon, 31 Jul 2017 12:54:13 +0000 (14:54 +0200)]
[Minor] Fann_redis: Fix iterators & some warnings

 - Also number of layers

7 years ago[Minor] Suppress MIME_BASE64_TEXT for Mail.Ru Mailer 1780/head
Alexander Moisseev [Mon, 31 Jul 2017 08:48:59 +0000 (11:48 +0300)]
[Minor] Suppress MIME_BASE64_TEXT for Mail.Ru Mailer

7 years agoMerge pull request #1779 from fatalbanana/urls
Vsevolod Stakhov [Mon, 31 Jul 2017 07:29:10 +0000 (08:29 +0100)]
Merge pull request #1779 from fatalbanana/urls

[Fix] Crash in URL processing

7 years ago[Minor] Fix iteration issue noticed by @moisseev
Vsevolod Stakhov [Mon, 31 Jul 2017 07:27:49 +0000 (08:27 +0100)]
[Minor] Fix iteration issue noticed by @moisseev

7 years ago[Fix] Crash in URL processing 1779/head
Andrew Lewis [Mon, 31 Jul 2017 07:23:25 +0000 (09:23 +0200)]
[Fix] Crash in URL processing

7 years ago[Fix] Allow to set any layers number for fann rules
Vsevolod Stakhov [Sun, 30 Jul 2017 14:34:44 +0000 (15:34 +0100)]
[Fix] Allow to set any layers number for fann rules

7 years ago[Minor] Fix rules usage in couple of places in the plugin
Vsevolod Stakhov [Sun, 30 Jul 2017 09:56:17 +0000 (10:56 +0100)]
[Minor] Fix rules usage in couple of places in the plugin

7 years ago[Feature] Allow multiple fann rules
Vsevolod Stakhov [Sun, 30 Jul 2017 08:56:52 +0000 (09:56 +0100)]
[Feature] Allow multiple fann rules

7 years ago[Minor] Some more minor fixes to lua
Vsevolod Stakhov [Sat, 29 Jul 2017 15:22:46 +0000 (16:22 +0100)]
[Minor] Some more minor fixes to lua

7 years ago[Minor] Some fixes after rework
Vsevolod Stakhov [Sat, 29 Jul 2017 15:06:21 +0000 (16:06 +0100)]
[Minor] Some fixes after rework

7 years ago[Feature] Improve symbol type parsing in Lua API
Vsevolod Stakhov [Sat, 29 Jul 2017 14:46:33 +0000 (15:46 +0100)]
[Feature] Improve symbol type parsing in Lua API

7 years agoMerge pull request #1772 from smfreegard/mid_updates
Vsevolod Stakhov [Sat, 29 Jul 2017 14:33:13 +0000 (15:33 +0100)]
Merge pull request #1772 from smfreegard/mid_updates

Improve CTYPE_MIXED_BOGUS and MIME_BASE64_TEXT rules

7 years ago[Feature] Skip certain symbols from ANN classify
Vsevolod Stakhov [Sat, 29 Jul 2017 14:31:44 +0000 (15:31 +0100)]
[Feature] Skip certain symbols from ANN classify

7 years ago[Feature] Rework fann plugin to be a normal post-filter
Vsevolod Stakhov [Sat, 29 Jul 2017 14:23:39 +0000 (15:23 +0100)]
[Feature] Rework fann plugin to be a normal post-filter

7 years ago[Minor] Apply tanh to scores
Vsevolod Stakhov [Sat, 29 Jul 2017 14:23:30 +0000 (15:23 +0100)]
[Minor] Apply tanh to scores

7 years ago[Minor] Allow to get symbols results as statistical tokens
Vsevolod Stakhov [Sat, 29 Jul 2017 14:08:32 +0000 (15:08 +0100)]
[Minor] Allow to get symbols results as statistical tokens

7 years ago[Minor] Add auxiliary functions for symbols cache
Vsevolod Stakhov [Sat, 29 Jul 2017 14:08:03 +0000 (15:08 +0100)]
[Minor] Add auxiliary functions for symbols cache

7 years ago[Fix] Do not stop monitored on dns errors
Vsevolod Stakhov [Sat, 29 Jul 2017 13:22:54 +0000 (14:22 +0100)]
[Fix] Do not stop monitored on dns errors

7 years ago[Fix] Fix clickhouse schema
Vsevolod Stakhov [Fri, 28 Jul 2017 18:10:06 +0000 (19:10 +0100)]
[Fix] Fix clickhouse schema

Issue: #1775
Closes: #1775
7 years ago[Fix] Do not fail rbl plugin when there are no received or emails
Vsevolod Stakhov [Fri, 28 Jul 2017 17:59:46 +0000 (18:59 +0100)]
[Fix] Do not fail rbl plugin when there are no received or emails

7 years ago[Feature] Allow to get CPU flags from Lua
Vsevolod Stakhov [Fri, 28 Jul 2017 07:39:40 +0000 (08:39 +0100)]
[Feature] Allow to get CPU flags from Lua

7 years ago[Minor] Some improvements to utility functions
Vsevolod Stakhov [Thu, 27 Jul 2017 21:51:21 +0000 (22:51 +0100)]
[Minor] Some improvements to utility functions

7 years agoImprove CTYPE_MIXED_BOGUS and MIME_BASE64_TEXT rules 1772/head
Steve Freegard [Thu, 27 Jul 2017 12:22:36 +0000 (13:22 +0100)]
Improve CTYPE_MIXED_BOGUS and MIME_BASE64_TEXT rules

7 years agoMerge pull request #1771 from Alex-Gramm/master
Vsevolod Stakhov [Thu, 27 Jul 2017 10:06:23 +0000 (11:06 +0100)]
Merge pull request #1771 from Alex-Gramm/master

[Fix] Clickhouse: Insertion in the symbols table

7 years ago[Fix] Clickhouse: Insertion in the symbols table 1771/head
Alex Gramm [Thu, 27 Jul 2017 10:00:19 +0000 (13:00 +0300)]
[Fix] Clickhouse: Insertion in the symbols table

7 years agoMerge pull request #1770 from smfreegard/mid_updates
Vsevolod Stakhov [Thu, 27 Jul 2017 07:21:26 +0000 (08:21 +0100)]
Merge pull request #1770 from smfreegard/mid_updates

Update Message-ID rules with new observed patterns

7 years agoUpdate Message-ID rules with new observed patterns 1770/head
Steve Freegard [Wed, 26 Jul 2017 21:55:35 +0000 (22:55 +0100)]
Update Message-ID rules with new observed patterns

7 years ago[Fix] Lua_http: freeing
Andrew Lewis [Wed, 26 Jul 2017 11:11:57 +0000 (13:11 +0200)]
[Fix] Lua_http: freeing

7 years agoMerge pull request #1767 from moisseev/webui
Vsevolod Stakhov [Wed, 26 Jul 2017 07:19:32 +0000 (08:19 +0100)]
Merge pull request #1767 from moisseev/webui

[WebUI] Fix history table

7 years ago[Minor] Use rspamd_socketpair in spawn_subprocess
Vsevolod Stakhov [Tue, 25 Jul 2017 07:45:42 +0000 (08:45 +0100)]
[Minor] Use rspamd_socketpair in spawn_subprocess

7 years ago[Fix] Fix setting of signals when spawning a thread
Vsevolod Stakhov [Tue, 25 Jul 2017 07:45:11 +0000 (08:45 +0100)]
[Fix] Fix setting of signals when spawning a thread

7 years ago[Minor] Use rspamd_socketpair everywhere
Vsevolod Stakhov [Tue, 25 Jul 2017 07:41:27 +0000 (08:41 +0100)]
[Minor] Use rspamd_socketpair everywhere

7 years ago[Fix] Set CLOEXEC flag on files opened
Vsevolod Stakhov [Tue, 25 Jul 2017 07:38:23 +0000 (08:38 +0100)]
[Fix] Set CLOEXEC flag on files opened

7 years ago[Minor] Allow to get worker object from a task
Vsevolod Stakhov [Tue, 25 Jul 2017 07:10:33 +0000 (08:10 +0100)]
[Minor] Allow to get worker object from a task

7 years ago[Minor] Further fixes for subprocess spawning logic
Vsevolod Stakhov [Mon, 24 Jul 2017 07:57:24 +0000 (08:57 +0100)]
[Minor] Further fixes for subprocess spawning logic

7 years ago[Minor] Prevent data corruption when dealing with signals
Vsevolod Stakhov [Mon, 24 Jul 2017 07:43:42 +0000 (08:43 +0100)]
[Minor] Prevent data corruption when dealing with signals

7 years ago[Minor] Store parent pid inside workers
Vsevolod Stakhov [Mon, 24 Jul 2017 07:33:49 +0000 (08:33 +0100)]
[Minor] Store parent pid inside workers

7 years ago[Rework] Run post-loads when all initialization is completed
Vsevolod Stakhov [Mon, 24 Jul 2017 07:13:45 +0000 (08:13 +0100)]
[Rework] Run post-loads when all initialization is completed

7 years ago[Minor] Treat skipped error properly
Vsevolod Stakhov [Sun, 23 Jul 2017 10:21:05 +0000 (11:21 +0100)]
[Minor] Treat skipped error properly

7 years ago[Feature] Allow to skip specific hashes in fuzzy storage
Vsevolod Stakhov [Sun, 23 Jul 2017 10:16:29 +0000 (11:16 +0100)]
[Feature] Allow to skip specific hashes in fuzzy storage

7 years ago[WebUI] Escape strings inside HTML in history 1767/head
Alexander Moisseev [Sun, 23 Jul 2017 09:59:57 +0000 (12:59 +0300)]
[WebUI] Escape strings inside HTML in history

7 years agoRevert "Merge pull request #1747 from andryyy/patch-11"
Alexander Moisseev [Sun, 23 Jul 2017 06:22:32 +0000 (09:22 +0300)]
Revert "Merge pull request #1747 from andryyy/patch-11"

This reverts commit 3be2002b3605f3792221122283cacb3f7c5c0cb9, reversing
changes made to df28dfea4a624b9b6d73808817be4967e3f3bfbc.

7 years ago[Feature] Allow to spawn asynchronous processes from Lua
Vsevolod Stakhov [Sat, 22 Jul 2017 19:36:04 +0000 (20:36 +0100)]
[Feature] Allow to spawn asynchronous processes from Lua

7 years ago[Feature] Allow to reuse signal handlers chains
Vsevolod Stakhov [Sat, 22 Jul 2017 19:35:06 +0000 (20:35 +0100)]
[Feature] Allow to reuse signal handlers chains

7 years ago[Minor] Fix randomness part in torch
Vsevolod Stakhov [Sat, 22 Jul 2017 11:59:14 +0000 (12:59 +0100)]
[Minor] Fix randomness part in torch

7 years ago[Minor] Further fixes for torch RPATH
Vsevolod Stakhov [Sat, 22 Jul 2017 11:37:59 +0000 (12:37 +0100)]
[Minor] Further fixes for torch RPATH

7 years ago[Feature] Allow to set headers from settings
Vsevolod Stakhov [Sat, 22 Jul 2017 10:09:35 +0000 (11:09 +0100)]
[Feature] Allow to set headers from settings

7 years ago[Minor] Do not use avx/avx2 in torch as their detection is broken
Vsevolod Stakhov [Sat, 22 Jul 2017 09:49:25 +0000 (10:49 +0100)]
[Minor] Do not use avx/avx2 in torch as their detection is broken

7 years ago[Minor] Avoid obsolete function usage
Vsevolod Stakhov [Sat, 22 Jul 2017 09:27:56 +0000 (10:27 +0100)]
[Minor] Avoid obsolete function usage

7 years ago[Minor] Fix install path for torch libpaths
Vsevolod Stakhov [Sat, 22 Jul 2017 09:19:45 +0000 (10:19 +0100)]
[Minor] Fix install path for torch libpaths

7 years ago[Minor] Remove unused file
Vsevolod Stakhov [Sat, 22 Jul 2017 09:12:00 +0000 (10:12 +0100)]
[Minor] Remove unused file

7 years ago[Minor] Set lua cpath to RSPAMD_LIBDIR, not LUALIBDIR
Vsevolod Stakhov [Fri, 21 Jul 2017 10:14:25 +0000 (11:14 +0100)]
[Minor] Set lua cpath to RSPAMD_LIBDIR, not LUALIBDIR

7 years ago[Minor] Fix installation directory for shared libs
Vsevolod Stakhov [Fri, 21 Jul 2017 10:07:34 +0000 (11:07 +0100)]
[Minor] Fix installation directory for shared libs

7 years ago[Feature] Multimap: checking of symbol options
Andrew Lewis [Thu, 20 Jul 2017 11:26:10 +0000 (13:26 +0200)]
[Feature] Multimap: checking of symbol options

7 years ago[Fix] Relax pem signature detection
Vsevolod Stakhov [Thu, 20 Jul 2017 07:27:18 +0000 (08:27 +0100)]
[Fix] Relax pem signature detection

7 years agoMerge pull request #1762 from outtersg/master
Vsevolod Stakhov [Thu, 20 Jul 2017 07:19:49 +0000 (08:19 +0100)]
Merge pull request #1762 from outtersg/master

[Fix] Lua: lpeg to be loaded with rspamd_lua_add_preload

7 years ago[Feature] Allow to configure monitored
Vsevolod Stakhov [Thu, 20 Jul 2017 07:18:10 +0000 (08:18 +0100)]
[Feature] Allow to configure monitored

7 years ago[Fix] Lua: lpeg to be loaded with rspamd_lua_add_preload, to avoid "rspamd_config_rea... 1762/head
Guillaume Outters [Thu, 20 Jul 2017 00:47:51 +0000 (02:47 +0200)]
[Fix] Lua: lpeg to be loaded with rspamd_lua_add_preload, to avoid "rspamd_config_read: rcl parse error: cannot init lua file […] module 'lpeg' not found"

7 years ago[Minor] Add some sanity checks when managing monitoring timeouts
Vsevolod Stakhov [Wed, 19 Jul 2017 20:15:05 +0000 (21:15 +0100)]
[Minor] Add some sanity checks when managing monitoring timeouts

7 years ago[Minor] Revert back logic error introduced
Vsevolod Stakhov [Wed, 19 Jul 2017 19:49:33 +0000 (20:49 +0100)]
[Minor] Revert back logic error introduced

Issue: #1757

7 years ago[Feature] Redis settings: support checking multiple keys
Andrew Lewis [Wed, 19 Jul 2017 13:18:42 +0000 (15:18 +0200)]
[Feature] Redis settings: support checking multiple keys

7 years ago[Feature] Add EBL to the default config
Vsevolod Stakhov [Wed, 19 Jul 2017 07:41:23 +0000 (08:41 +0100)]
[Feature] Add EBL to the default config

7 years ago[Minor] Remove reduntant debug
Vsevolod Stakhov [Tue, 18 Jul 2017 19:15:24 +0000 (20:15 +0100)]
[Minor] Remove reduntant debug

7 years ago[Fix] Fix crashes in the rspamd_control path
Vsevolod Stakhov [Tue, 18 Jul 2017 18:53:25 +0000 (19:53 +0100)]
[Fix] Fix crashes in the rspamd_control path

Issue: #1757

7 years ago[Minor] Add lua source code information to monitored
Vsevolod Stakhov [Tue, 18 Jul 2017 18:49:41 +0000 (19:49 +0100)]
[Minor] Add lua source code information to monitored

7 years ago[Fix] Add workaround for IPv6 in sendmail
Vsevolod Stakhov [Tue, 18 Jul 2017 18:44:22 +0000 (19:44 +0100)]
[Fix] Add workaround for IPv6 in sendmail

Issue: #1760

7 years ago[Fix] Fix get_content method
Vsevolod Stakhov [Tue, 18 Jul 2017 18:37:40 +0000 (19:37 +0100)]
[Fix] Fix get_content method

Issue: #1759

7 years agoMerge pull request #1756 from dupondje/fix_whitelists
Vsevolod Stakhov [Mon, 17 Jul 2017 20:35:38 +0000 (21:35 +0100)]
Merge pull request #1756 from dupondje/fix_whitelists

[Fix] Don't use whitelist/greylist maps as regexp, but as map

7 years ago[Fix] Don't use whitelist/greylist maps as regexp, but as map 1756/head
Jean-Louis Dupond [Mon, 17 Jul 2017 19:54:28 +0000 (21:54 +0200)]
[Fix] Don't use whitelist/greylist maps as regexp, but as map

In whitelist & greylist module, the domain files (like spf_dkim_whitelist.inc, etc) were read as regexp map.
This caused the following false whitelists:
WHITELIST_SPF_DKIM(-3)[onmicrosoft.com]
this while only 'microsoft.com' was in the list!

Reading the maps as 'map'/'hash' instead of 'regexp' fixes the issue.

7 years ago[Feature] Implement forked workers children monitoring
Vsevolod Stakhov [Mon, 17 Jul 2017 07:40:00 +0000 (08:40 +0100)]
[Feature] Implement forked workers children monitoring

7 years ago[Feature] Import torch to Rspamd...
Vsevolod Stakhov [Sun, 16 Jul 2017 15:39:35 +0000 (16:39 +0100)]
[Feature] Import torch to Rspamd...

7 years ago[Fix] Fix setting of path and cpath for Lua
Vsevolod Stakhov [Sun, 16 Jul 2017 15:33:28 +0000 (16:33 +0100)]
[Fix] Fix setting of path and cpath for Lua

7 years agoMerge pull request #1751 from dupondje/fix_maillist_detection
Vsevolod Stakhov [Sun, 16 Jul 2017 13:53:43 +0000 (14:53 +0100)]
Merge pull request #1751 from dupondje/fix_maillist_detection

Fix maillist detection

7 years agoMerge pull request #1753 from mkuron/multimap_cidr
Vsevolod Stakhov [Sun, 16 Jul 2017 13:53:00 +0000 (14:53 +0100)]
Merge pull request #1753 from mkuron/multimap_cidr

IP netmask support for Redis multimap

7 years agoMinimum netmask in Redis multimap 1753/head 1761/head
Michael Kuron [Sun, 16 Jul 2017 13:19:59 +0000 (15:19 +0200)]
Minimum netmask in Redis multimap

7 years agoUse HMGET to query all netmasks at once in multimap
Michael Kuron [Sun, 16 Jul 2017 10:04:34 +0000 (12:04 +0200)]
Use HMGET to query all netmasks at once in multimap

7 years ago[Feature] Add expected ip check for emails plugin
Vsevolod Stakhov [Sat, 15 Jul 2017 22:26:54 +0000 (23:26 +0100)]
[Feature] Add expected ip check for emails plugin

7 years agoMerge pull request #1748 from fatalbanana/lua53
Vsevolod Stakhov [Sat, 15 Jul 2017 22:17:18 +0000 (23:17 +0100)]
Merge pull request #1748 from fatalbanana/lua53

[Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer

7 years agoMerge pull request #1749 from dupondje/fix_indent
Vsevolod Stakhov [Sat, 15 Jul 2017 22:16:50 +0000 (23:16 +0100)]
Merge pull request #1749 from dupondje/fix_indent

Fix indent in metrics.conf

7 years ago[Fix] Parse HREF urls without explicit prefix
Vsevolod Stakhov [Sat, 15 Jul 2017 22:16:03 +0000 (23:16 +0100)]
[Fix] Parse HREF urls without explicit prefix

Issue: #1752

7 years agoIP netmask support for multimap
Michael Kuron [Sat, 15 Jul 2017 14:11:51 +0000 (16:11 +0200)]
IP netmask support for multimap

7 years ago[Fix] Detection of maillist optimized and fixed 1751/head
Jean-Louis Dupond [Fri, 14 Jul 2017 12:24:04 +0000 (14:24 +0200)]
[Fix] Detection of maillist optimized and fixed

Some maillists were not detected correctly. Because by default all mails were checked for 'List-Unsubscribe' and 'List-Post' headers.
But those headers do not exist on all maillists.
For example majordomo detection was broken because of this.

7 years ago[Feature] Allow to set custom mempool variables from settings
Vsevolod Stakhov [Fri, 14 Jul 2017 07:46:30 +0000 (08:46 +0100)]
[Feature] Allow to set custom mempool variables from settings

7 years ago[Fetaure] Add auto detection for the key passed to the signing cb
Vsevolod Stakhov [Fri, 14 Jul 2017 07:40:58 +0000 (08:40 +0100)]
[Fetaure] Add auto detection for the key passed to the signing cb

7 years ago[Feature] Allow to receive signing keys from mempool vars
Vsevolod Stakhov [Fri, 14 Jul 2017 07:18:16 +0000 (08:18 +0100)]
[Feature] Allow to receive signing keys from mempool vars

7 years ago[Fix] Avoid changing content-transfer-encoding header's value
Vsevolod Stakhov [Thu, 13 Jul 2017 20:12:49 +0000 (21:12 +0100)]
[Fix] Avoid changing content-transfer-encoding header's value

7 years ago[CritFix] Fix semicolons parsing in the content type
Vsevolod Stakhov [Thu, 13 Jul 2017 18:33:42 +0000 (19:33 +0100)]
[CritFix] Fix semicolons parsing in the content type

7 years ago[Rules] Penalise R_BAD_CTE_7BIT for utf8 messages
Vsevolod Stakhov [Thu, 13 Jul 2017 18:18:12 +0000 (19:18 +0100)]
[Rules] Penalise R_BAD_CTE_7BIT for utf8 messages