]> source.dussan.org Git - rspamd.git/log
rspamd.git
6 years ago[Minor] Change function name to a more appropriate one
Vsevolod Stakhov [Mon, 17 Sep 2018 14:48:16 +0000 (15:48 +0100)]
[Minor] Change function name to a more appropriate one

6 years ago[Minor] Allow spaces and stars as separators in selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 14:36:41 +0000 (15:36 +0100)]
[Minor] Allow spaces and stars as separators in selectors

6 years ago[Minor] Fix some minor issues
Vsevolod Stakhov [Mon, 17 Sep 2018 13:09:56 +0000 (14:09 +0100)]
[Minor] Fix some minor issues

6 years ago[Project] Add implicit conversion logic to selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 12:55:22 +0000 (13:55 +0100)]
[Project] Add implicit conversion logic to selectors

6 years ago[Project] Rework selectors logic
Vsevolod Stakhov [Mon, 17 Sep 2018 12:27:38 +0000 (13:27 +0100)]
[Project] Rework selectors logic

6 years ago[Minor] Fixes to regexp selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 10:51:10 +0000 (11:51 +0100)]
[Minor] Fixes to regexp selectors

6 years ago[Minor] Allow to set custom delimiter for regexp selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 10:22:29 +0000 (11:22 +0100)]
[Minor] Allow to set custom delimiter for regexp selectors

6 years ago[Feature] Cache selectors results in re runtime
Vsevolod Stakhov [Mon, 17 Sep 2018 09:47:12 +0000 (10:47 +0100)]
[Feature] Cache selectors results in re runtime

6 years agoMerge pull request #2487 from moisseev/eslint
Vsevolod Stakhov [Sun, 16 Sep 2018 16:32:33 +0000 (17:32 +0100)]
Merge pull request #2487 from moisseev/eslint

[Minor] JS code style changes

6 years ago[Minor] Enforce consistent key-value spacing 2487/head
Alexander Moisseev [Sun, 16 Sep 2018 16:31:14 +0000 (19:31 +0300)]
[Minor] Enforce consistent  key-value spacing

6 years ago[Minor] Fix selectors invocation
Vsevolod Stakhov [Sun, 16 Sep 2018 10:45:04 +0000 (11:45 +0100)]
[Minor] Fix selectors invocation

6 years ago[Minor] Add implicit header type for regexps
Vsevolod Stakhov [Sun, 16 Sep 2018 09:00:55 +0000 (10:00 +0100)]
[Minor] Add implicit header type for regexps

6 years ago[Minor] Add more methods to lua selectors
Vsevolod Stakhov [Sun, 16 Sep 2018 08:56:42 +0000 (09:56 +0100)]
[Minor] Add more methods to lua selectors

6 years agoMerge pull request #2486 from heraklit256/rbl-blocklist
Vsevolod Stakhov [Sat, 15 Sep 2018 18:51:21 +0000 (19:51 +0100)]
Merge pull request #2486 from heraklit256/rbl-blocklist

make sure blocklist.de-rule for Received IPs only triggers once

6 years ago[Minor] Enforce return after callback
Alexander Moisseev [Sat, 15 Sep 2018 16:32:20 +0000 (19:32 +0300)]
[Minor] Enforce return after callback

6 years ago[Minor] Drop Crockford's `switch` indentation
Alexander Moisseev [Sat, 15 Sep 2018 15:32:40 +0000 (18:32 +0300)]
[Minor] Drop Crockford's `switch` indentation

6 years ago[Minor] Initialize variables at declaration
Alexander Moisseev [Sat, 15 Sep 2018 15:09:47 +0000 (18:09 +0300)]
[Minor] Initialize variables at declaration

6 years ago[Minor] Fix invocation
Vsevolod Stakhov [Sat, 15 Sep 2018 14:30:50 +0000 (15:30 +0100)]
[Minor] Fix invocation

6 years ago[Minor] Require capitalized constructor names
Alexander Moisseev [Sat, 15 Sep 2018 14:29:43 +0000 (17:29 +0300)]
[Minor] Require capitalized constructor names

6 years ago[Project] Implement selectors support in re_cache
Vsevolod Stakhov [Sat, 15 Sep 2018 13:58:21 +0000 (14:58 +0100)]
[Project] Implement selectors support in re_cache

6 years ago[Project] Implement selectors registration for regular expressions
Vsevolod Stakhov [Sat, 15 Sep 2018 13:35:33 +0000 (14:35 +0100)]
[Project] Implement selectors registration for regular expressions

6 years ago[Minor] Add method create_selector_closure
Vsevolod Stakhov [Sat, 15 Sep 2018 12:15:48 +0000 (13:15 +0100)]
[Minor] Add method create_selector_closure

6 years ago[Project] Add initial support for selectors in regexps
Vsevolod Stakhov [Sat, 15 Sep 2018 11:38:45 +0000 (12:38 +0100)]
[Project] Add initial support for selectors in regexps

6 years ago[Minor] Rework multimap regexp rules registration
Vsevolod Stakhov [Fri, 14 Sep 2018 16:48:18 +0000 (17:48 +0100)]
[Minor] Rework multimap regexp rules registration

6 years ago[Minor] Fix glob flag set
Vsevolod Stakhov [Fri, 14 Sep 2018 16:48:05 +0000 (17:48 +0100)]
[Minor] Fix glob flag set

6 years ago[Minor] Fix strlcpy_safe return value
Vsevolod Stakhov [Fri, 14 Sep 2018 16:27:36 +0000 (17:27 +0100)]
[Minor] Fix strlcpy_safe return value

6 years ago[Feature] Support multi flag in regexp and glob maps
Vsevolod Stakhov [Fri, 14 Sep 2018 16:10:18 +0000 (17:10 +0100)]
[Feature] Support multi flag in regexp and glob maps

6 years ago[Minor] Add glob_multi map type
Vsevolod Stakhov [Fri, 14 Sep 2018 15:55:36 +0000 (16:55 +0100)]
[Minor] Add glob_multi map type

6 years agomake sure blocklist.de-rule for Received IPs only triggers once 2486/head
heraklit256 [Fri, 14 Sep 2018 14:37:56 +0000 (16:37 +0200)]
make sure blocklist.de-rule for Received IPs only triggers once

6 years ago[Fix] Deprecate task:inc_dns_req as it is redundant
Vsevolod Stakhov [Fri, 14 Sep 2018 13:35:54 +0000 (14:35 +0100)]
[Fix] Deprecate task:inc_dns_req as it is redundant

6 years ago[Minor] More places where utext_close is required
Vsevolod Stakhov [Fri, 14 Sep 2018 10:04:54 +0000 (11:04 +0100)]
[Minor] More places where utext_close is required

6 years ago[Minor] Add take_n/drop_n processing functions
Vsevolod Stakhov [Thu, 13 Sep 2018 14:26:42 +0000 (15:26 +0100)]
[Minor] Add take_n/drop_n processing functions

6 years ago[Minor] Add generic list type for processors in selectors
Vsevolod Stakhov [Thu, 13 Sep 2018 14:16:08 +0000 (15:16 +0100)]
[Minor] Add generic list type for processors in selectors

6 years ago[Minor] Another out-of-boundary access fix
Vsevolod Stakhov [Thu, 13 Sep 2018 13:06:40 +0000 (14:06 +0100)]
[Minor] Another out-of-boundary access fix

6 years ago[Minor] Fix format string
Vsevolod Stakhov [Thu, 13 Sep 2018 12:56:07 +0000 (13:56 +0100)]
[Minor] Fix format string

6 years ago[Fix] Fix bug in processing of pcre regexps
Vsevolod Stakhov [Thu, 13 Sep 2018 12:35:37 +0000 (13:35 +0100)]
[Fix] Fix bug in processing of pcre regexps

6 years ago[Minor] Another fix to lua_tcp watchers
Vsevolod Stakhov [Thu, 13 Sep 2018 12:28:58 +0000 (13:28 +0100)]
[Minor] Another fix to lua_tcp watchers

6 years ago[Minor] Reduce severity of warnings
Vsevolod Stakhov [Thu, 13 Sep 2018 11:57:01 +0000 (12:57 +0100)]
[Minor] Reduce severity of warnings

6 years ago[Fix] Fix watchers in lua_tcp
Vsevolod Stakhov [Thu, 13 Sep 2018 11:45:50 +0000 (12:45 +0100)]
[Fix] Fix watchers in lua_tcp

6 years ago[Minor] Add support for address sanitizer
Vsevolod Stakhov [Thu, 13 Sep 2018 11:43:49 +0000 (12:43 +0100)]
[Minor] Add support for address sanitizer

6 years ago[Fix] Implement watchers replacement to handle nested calls
Vsevolod Stakhov [Thu, 13 Sep 2018 09:15:47 +0000 (10:15 +0100)]
[Fix] Implement watchers replacement to handle nested calls

6 years ago[Fix] Fix more issues with watching of async events
Vsevolod Stakhov [Wed, 12 Sep 2018 16:29:15 +0000 (17:29 +0100)]
[Fix] Fix more issues with watching of async events

6 years ago[Minor] Another try to fix brain damaged Circle CI
Vsevolod Stakhov [Wed, 12 Sep 2018 15:43:04 +0000 (16:43 +0100)]
[Minor] Another try to fix brain damaged Circle CI

6 years ago[Minor] Try to fix CI
Vsevolod Stakhov [Wed, 12 Sep 2018 13:54:10 +0000 (14:54 +0100)]
[Minor] Try to fix CI

6 years ago[Minor] Enable libunwind in circleci
Vsevolod Stakhov [Wed, 12 Sep 2018 13:39:20 +0000 (14:39 +0100)]
[Minor] Enable libunwind in circleci

6 years ago[Fix] Fix another cleanup race condition
Vsevolod Stakhov [Wed, 12 Sep 2018 13:23:15 +0000 (14:23 +0100)]
[Fix] Fix another cleanup race condition

6 years ago[Fix] Do not allow events deletions on cleanup
Vsevolod Stakhov [Wed, 12 Sep 2018 12:01:03 +0000 (13:01 +0100)]
[Fix] Do not allow events deletions on cleanup

6 years ago[Minor] Fix minor leak in fuzzy storage on exit
Vsevolod Stakhov [Wed, 12 Sep 2018 11:56:39 +0000 (12:56 +0100)]
[Minor] Fix minor leak in fuzzy storage on exit

6 years agoMerge pull request #2471 from heraklit256/rbl-blocklist
Vsevolod Stakhov [Wed, 12 Sep 2018 11:00:50 +0000 (12:00 +0100)]
Merge pull request #2471 from heraklit256/rbl-blocklist

Add blocklist.de RBL

6 years agoMerge pull request #2485 from negram/dns-api-test
Vsevolod Stakhov [Wed, 12 Sep 2018 11:00:34 +0000 (12:00 +0100)]
Merge pull request #2485 from negram/dns-api-test

[Test] Added test for DNS api

6 years agoMerge pull request #2484 from negram/test-new-redis-api
Vsevolod Stakhov [Wed, 12 Sep 2018 10:38:21 +0000 (11:38 +0100)]
Merge pull request #2484 from negram/test-new-redis-api

[Test] Added test for new version of Redis API

6 years agoMerge pull request #2483 from moisseev/eslint
Vsevolod Stakhov [Wed, 12 Sep 2018 10:38:13 +0000 (11:38 +0100)]
Merge pull request #2483 from moisseev/eslint

[WebUI] Notify user on module loading failure

6 years ago[Minor] Removed extra whitespace 2485/head
Mikhail Galanin [Wed, 12 Sep 2018 08:23:55 +0000 (09:23 +0100)]
[Minor] Removed extra whitespace

6 years ago[Minor] Removed unused variable 2484/head
Mikhail Galanin [Wed, 12 Sep 2018 08:22:18 +0000 (09:22 +0100)]
[Minor] Removed unused variable

6 years ago[Test] Added test for DNS api
Mikhail Galanin [Wed, 12 Sep 2018 08:01:31 +0000 (09:01 +0100)]
[Test] Added test for DNS api

6 years ago[Test] Added test for new version of Redis API
Mikhail Galanin [Wed, 12 Sep 2018 07:57:23 +0000 (08:57 +0100)]
[Test] Added test for new version of Redis API

6 years ago[WebUI] Notify user on module loading failure 2483/head
Alexander Moisseev [Tue, 11 Sep 2018 17:31:27 +0000 (20:31 +0300)]
[WebUI] Notify user on module loading failure

6 years ago[Fix] Fix byte array allocation in the pool
Vsevolod Stakhov [Tue, 11 Sep 2018 17:22:59 +0000 (18:22 +0100)]
[Fix] Fix byte array allocation in the pool

6 years ago[Minor] Plug utexts leak
Vsevolod Stakhov [Tue, 11 Sep 2018 17:16:30 +0000 (18:16 +0100)]
[Minor] Plug utexts leak

6 years ago[Minor] Try harder to do a "proper" SSL shutdown
Vsevolod Stakhov [Tue, 11 Sep 2018 17:13:10 +0000 (18:13 +0100)]
[Minor] Try harder to do a "proper" SSL shutdown

6 years ago[Minor] Add lua_redis.connect method
Vsevolod Stakhov [Tue, 11 Sep 2018 15:24:22 +0000 (16:24 +0100)]
[Minor] Add lua_redis.connect method

6 years ago[Fix] Fix words decay algorithm
Vsevolod Stakhov [Tue, 11 Sep 2018 15:03:30 +0000 (16:03 +0100)]
[Fix] Fix words decay algorithm

6 years ago[Minor] Explicitly enable SSL sessions cache
Vsevolod Stakhov [Tue, 11 Sep 2018 14:08:51 +0000 (15:08 +0100)]
[Minor] Explicitly enable SSL sessions cache

6 years ago[Minor] Fix error message
Vsevolod Stakhov [Tue, 11 Sep 2018 13:44:19 +0000 (14:44 +0100)]
[Minor] Fix error message

6 years ago[Minor] Add method to init DNS subsystem
Vsevolod Stakhov [Tue, 11 Sep 2018 13:42:28 +0000 (14:42 +0100)]
[Minor] Add method to init DNS subsystem

6 years ago[Minor] Fix type check error message
Vsevolod Stakhov [Tue, 11 Sep 2018 13:42:06 +0000 (14:42 +0100)]
[Minor] Fix type check error message

6 years ago[Minor] Add utility to get a logger singleton
Vsevolod Stakhov [Tue, 11 Sep 2018 13:41:51 +0000 (14:41 +0100)]
[Minor] Add utility to get a logger singleton

6 years agoMerge pull request #2479 from negram/redis-coroutines
Vsevolod Stakhov [Tue, 11 Sep 2018 10:09:00 +0000 (11:09 +0100)]
Merge pull request #2479 from negram/redis-coroutines

[Project] Redis coroutines

6 years agoMerge branch 'master' into redis-coroutines 2479/head
Mikhail Galanin [Tue, 11 Sep 2018 10:07:58 +0000 (11:07 +0100)]
Merge branch 'master' into redis-coroutines

6 years agoMerge pull request #2478 from negram/down-tcp-test-case
Vsevolod Stakhov [Tue, 11 Sep 2018 10:04:25 +0000 (11:04 +0100)]
Merge pull request #2478 from negram/down-tcp-test-case

[Test] Added test case for error handling check

6 years ago[Minor] Add a generic redis request method
Vsevolod Stakhov [Tue, 11 Sep 2018 10:02:30 +0000 (11:02 +0100)]
[Minor] Add a generic redis request method

6 years ago[Minor] Use shallowcopy from lua_util
Vsevolod Stakhov [Tue, 11 Sep 2018 10:02:17 +0000 (11:02 +0100)]
[Minor] Use shallowcopy from lua_util

6 years ago[Minor] Add shallowcopy utility
Vsevolod Stakhov [Tue, 11 Sep 2018 10:01:18 +0000 (11:01 +0100)]
[Minor] Add shallowcopy utility

6 years ago[Minor] rspamd_session_is_destroying -> rspamd_session_blocked
Mikhail Galanin [Mon, 10 Sep 2018 16:36:28 +0000 (17:36 +0100)]
[Minor] rspamd_session_is_destroying -> rspamd_session_blocked

6 years agoMerge branch 'master' into redis-coroutines
Mikhail Galanin [Mon, 10 Sep 2018 16:29:44 +0000 (17:29 +0100)]
Merge branch 'master' into redis-coroutines

6 years ago[Fix] Another try to fix race conditions on config unload
Vsevolod Stakhov [Mon, 10 Sep 2018 15:27:37 +0000 (16:27 +0100)]
[Fix] Another try to fix race conditions on config unload

6 years agoMerge branch 'master' into redis-coroutines
Mikhail Galanin [Mon, 10 Sep 2018 15:03:11 +0000 (16:03 +0100)]
Merge branch 'master' into redis-coroutines

6 years agoMerge pull request #2480 from negram/fix-declaration
Vsevolod Stakhov [Mon, 10 Sep 2018 14:45:11 +0000 (15:45 +0100)]
Merge pull request #2480 from negram/fix-declaration

[Minor] Fixed function declaration

6 years ago[Test] Mark error with symbol in response 2478/head
Mikhail Galanin [Mon, 10 Sep 2018 14:35:52 +0000 (15:35 +0100)]
[Test] Mark error with symbol in response

6 years ago[Minor] More declaration fixes 2480/head
Mikhail Galanin [Mon, 10 Sep 2018 14:33:36 +0000 (15:33 +0100)]
[Minor] More declaration fixes

6 years ago[Minor] Fixed function declaration
Mikhail Galanin [Mon, 10 Sep 2018 14:26:55 +0000 (15:26 +0100)]
[Minor] Fixed function declaration

6 years agoMerge branch 'master' into redis-coroutines
Mikhail Galanin [Mon, 10 Sep 2018 14:21:40 +0000 (15:21 +0100)]
Merge branch 'master' into redis-coroutines

6 years ago[Test] Added test for Redis API
Mikhail Galanin [Mon, 10 Sep 2018 14:19:16 +0000 (15:19 +0100)]
[Test] Added test for Redis API

6 years ago[Minor] Updated Lua to comply the new call semantic
Mikhail Galanin [Mon, 10 Sep 2018 14:17:14 +0000 (15:17 +0100)]
[Minor] Updated Lua to comply the new call semantic

6 years ago[Minor] Change deinit order
Mikhail Galanin [Mon, 10 Sep 2018 14:14:05 +0000 (15:14 +0100)]
[Minor] Change deinit order

some destructors in Lua could require Redis pool, that is why the pool should be shud down after lua_state.
While redis pool is created in the mempool.

6 years ago[Minor] Added coroutines to redis API
Mikhail Galanin [Mon, 10 Sep 2018 14:12:22 +0000 (15:12 +0100)]
[Minor] Added coroutines to redis API

6 years ago[Fix] Fix crashes on task cleanup
Vsevolod Stakhov [Mon, 10 Sep 2018 13:54:08 +0000 (14:54 +0100)]
[Fix] Fix crashes on task cleanup

6 years ago[Test] Added test case for error handling check
Mikhail Galanin [Mon, 10 Sep 2018 13:50:13 +0000 (14:50 +0100)]
[Test] Added test case for error handling check

6 years agoMerge pull request #2477 from negram/dont-use-task
Vsevolod Stakhov [Mon, 10 Sep 2018 13:11:19 +0000 (14:11 +0100)]
Merge pull request #2477 from negram/dont-use-task

[Minor] There is no need to refer task for thread pool/lua_state: it …

6 years ago[Minor] There is no need to refer task for thread pool/lua_state: it is sometimes... 2477/head
Mikhail Galanin [Mon, 10 Sep 2018 13:09:22 +0000 (14:09 +0100)]
[Minor] There is no need to refer task for thread pool/lua_state: it is sometimes missing

6 years ago[Minor] Fix build for outdated systems
Vsevolod Stakhov [Mon, 10 Sep 2018 10:48:48 +0000 (11:48 +0100)]
[Minor] Fix build for outdated systems

6 years agoMerge pull request #2476 from negram/fix-milter-test
Vsevolod Stakhov [Mon, 10 Sep 2018 10:22:12 +0000 (11:22 +0100)]
Merge pull request #2476 from negram/fix-milter-test

Fix milter test

6 years agoMerge pull request #2475 from negram/dnssec-mock
Vsevolod Stakhov [Mon, 10 Sep 2018 10:17:53 +0000 (11:17 +0100)]
Merge pull request #2475 from negram/dnssec-mock

[Test] One more domain to faking records

6 years agoMerge pull request #2461 from negram/rspamadm-coroutines
Vsevolod Stakhov [Mon, 10 Sep 2018 10:17:31 +0000 (11:17 +0100)]
Merge pull request #2461 from negram/rspamadm-coroutines

[Project] Rspamadm coroutines

6 years agoMerge branch 'master' into rspamadm-coroutines 2461/head
Mikhail Galanin [Mon, 10 Sep 2018 10:02:47 +0000 (11:02 +0100)]
Merge branch 'master' into rspamadm-coroutines

6 years ago[Test] More fake recors 2475/head
Mikhail Galanin [Mon, 10 Sep 2018 10:00:41 +0000 (11:00 +0100)]
[Test] More fake recors

to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases

6 years ago[Test] More debug info 2476/head
Mikhail Galanin [Mon, 10 Sep 2018 09:38:36 +0000 (10:38 +0100)]
[Test] More debug info

6 years ago[Test] Mark "connection" resource as freed
Mikhail Galanin [Mon, 10 Sep 2018 09:37:59 +0000 (10:37 +0100)]
[Test] Mark "connection" resource as freed

mt.disconnect() performs free(). If we call it twice with the same argument, we will get double free()

6 years ago[Test] Use dofile instead of require
Mikhail Galanin [Mon, 10 Sep 2018 09:36:47 +0000 (10:36 +0100)]
[Test] Use dofile instead of require

require implies module loading via standard mechanism (which is have to present in LUA_PATH). Here we just load the specific files.

6 years ago[Test] And another fake domain
Mikhail Galanin [Mon, 10 Sep 2018 08:44:56 +0000 (09:44 +0100)]
[Test] And another fake domain

Used in "Blacklist" test and slows it down when no connection