]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Wed, 17 Oct 2018 10:32:43 +0000 (11:32 +0100)]
Merge pull request #2596 from citrin/run-gdb-on-core-dump
Run gdb on core dump
Anton Yuzhaninov [Tue, 16 Oct 2018 19:14:50 +0000 (15:14 -0400)]
Indent shell command for readability
Anton Yuzhaninov [Tue, 16 Oct 2018 18:53:21 +0000 (14:53 -0400)]
Improve comment
Vsevolod Stakhov [Tue, 16 Oct 2018 17:32:57 +0000 (18:32 +0100)]
[Minor] Update version to 1.8.2
Vsevolod Stakhov [Tue, 16 Oct 2018 17:30:16 +0000 (18:30 +0100)]
Release 1.8.1
* [CritFix] Fix options insertion
* [CritFix] Fix words decay one more time (affects long messages)
* [CritFix] Increase default words_decay
* [CritFix] Plug memory leak in redis pool
* [Feature] Add `check_violation` feature to DKIM/ARC signing
* [Feature] Add only unique elements to Clickhouse url arrays
* [Feature] Allow `g+:` and `g-:` composite atoms
* [Feature] Allow dkim domains check in surbl
* [Feature] Allow maps with HTTP auth
* [Feature] Allow to disable actions by users settings
* [Feature] Extend whitelisting options
* [Feature] Store url object in images
* [Feature] Use verdict instead of the plain action in plugins
* [Fix] Allow to call fstring append with NULL string
* [Fix] DCC - luacheck
* [Fix] Do not load torch on each rspamadm invocation
* [Fix] Fix boundaries detection and rework stop words algorithm
* [Fix] Fix dependencies for DNS_SIGNED symbol
* [Fix] Fix errors when dealing with dynamic rates/bursts in Ratelimit
* [Fix] Fix groups mess
* [Fix] Fix groups mess
* [Fix] Fix parsing address with comments
* [Fix] Fix resolving in DMARC reports
* [Fix] Fix various issues with parsing of the received headers
* [Fix] Fix watchers issue in lua_tcp when doing no resolving
* [Fix] Plug memory leak in language detector (affects reloads)
* [Fix] Remove one letter stop words
* [Fix] Slashing: backport chunk logic from libucl
* [Fix] Stop libevent from using cached time in rspamadm
* [Fix] Try to fix watchers chaining
* [Fix] Various fixes in redis sync interface
* [Fix] ip_score - respect check_authed and check_local settings from config
* [Project] Rework passthrough actions
* [Project] Clustering module
* [Rework] Always create result for a task
* [Rework] Completely rewrite DMARC checks logic
* [Rework] Rework and fix whitelist plugin
* [WebUI] Add symbols sorting buttons
* [WebUI] Change symbols order without updating history
* [WebUI] Colorize symbols
* [WebUI] Do not display password form when secure_ip is set
* [WebUI] Fix symbol description tooltips display
* [WebUI] History: add sorting by symbol score value
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Anton Yuzhaninov [Tue, 16 Oct 2018 16:42:16 +0000 (12:42 -0400)]
Set limit to allow core dump writing
Anton Yuzhaninov [Tue, 16 Oct 2018 16:19:25 +0000 (12:19 -0400)]
Run gdb if rspamd-test dumped core
Vsevolod Stakhov [Tue, 16 Oct 2018 16:01:00 +0000 (17:01 +0100)]
[Test] Try to fix test segfault
Vsevolod Stakhov [Tue, 16 Oct 2018 14:04:31 +0000 (15:04 +0100)]
[Minor] Fix test build with lua >= 5.3
Vsevolod Stakhov [Tue, 16 Oct 2018 13:23:39 +0000 (14:23 +0100)]
[Minor] Fix build
Vsevolod Stakhov [Tue, 16 Oct 2018 11:45:27 +0000 (12:45 +0100)]
[Minor] Improve crash logging
Vsevolod Stakhov [Tue, 16 Oct 2018 11:33:23 +0000 (12:33 +0100)]
Merge pull request #2595 from citrin/coveralls
Add git repo info to coveralls payload
Vsevolod Stakhov [Tue, 16 Oct 2018 11:29:01 +0000 (12:29 +0100)]
[Fix] Fix various issues with parsing of the received headers
Vsevolod Stakhov [Tue, 16 Oct 2018 11:28:42 +0000 (12:28 +0100)]
[Minor] Add log_usec option to the default config as an example
Vsevolod Stakhov [Tue, 16 Oct 2018 11:28:13 +0000 (12:28 +0100)]
[Minor] Try to use a faster timer if available
Vsevolod Stakhov [Tue, 16 Oct 2018 08:10:26 +0000 (09:10 +0100)]
[Minor] Another log invocation fixed
Vsevolod Stakhov [Tue, 16 Oct 2018 08:09:40 +0000 (09:09 +0100)]
[Minor] Fix logger invocation
Anton Yuzhaninov [Tue, 16 Oct 2018 01:01:58 +0000 (21:01 -0400)]
Add git repo info to coveralls payload
Again other implementations were used as reference, because API is not
fully documented.
Vsevolod Stakhov [Mon, 15 Oct 2018 17:08:03 +0000 (18:08 +0100)]
[Conf] Extend BAD_POLICIES composite
Vsevolod Stakhov [Mon, 15 Oct 2018 17:05:46 +0000 (18:05 +0100)]
[Minor] Some fixes towards epsilon comparison
Vsevolod Stakhov [Mon, 15 Oct 2018 16:13:51 +0000 (17:13 +0100)]
[Minor] Prevent use-after-free
Vsevolod Stakhov [Mon, 15 Oct 2018 15:23:30 +0000 (16:23 +0100)]
[Fix] Fix errors when dealing with dynamic rates/bursts in Ratelimit
Vsevolod Stakhov [Mon, 15 Oct 2018 15:23:18 +0000 (16:23 +0100)]
[Minor] Fix function invocation
Vsevolod Stakhov [Mon, 15 Oct 2018 15:23:00 +0000 (16:23 +0100)]
[Minor] Fix error when using plain unix socket in DCC plugin
Vsevolod Stakhov [Mon, 15 Oct 2018 14:56:38 +0000 (15:56 +0100)]
[Feature] Use verdict instead of the plain action in plugins
Vsevolod Stakhov [Mon, 15 Oct 2018 14:50:01 +0000 (15:50 +0100)]
[Minor] Add function lua_util.get_task_verdict
Vsevolod Stakhov [Mon, 15 Oct 2018 14:22:47 +0000 (15:22 +0100)]
[Minor] Add task:get_metric_result() method
Vsevolod Stakhov [Mon, 15 Oct 2018 14:22:33 +0000 (15:22 +0100)]
[Minor] Store more information about symbols added
Vsevolod Stakhov [Sun, 14 Oct 2018 14:24:23 +0000 (15:24 +0100)]
Merge pull request #2590 from heraklit256/onion-uri-2
add rule for .onion URIs
Anton Yuzhaninov [Sun, 14 Oct 2018 08:38:57 +0000 (04:38 -0400)]
Drone coverage fix (#2592)
* Build as nobody
This showld fix coverage files writing. At least some coverage files
(*.gcda, *.gcno) are written by rspamd running as nobody.
* Comment luacov-coveralls
* Run rspamd-test as nobody too
* Run coveralls from build root (/rspamd/build)
It need to find all `.gcda` files.
* Hack for coveralls was moved to Docker image
* Add test debug
* More debug
* Workaround to writing *.gcda from different users
*.gcda files written in parallel by root and by nobody
* Remove debug
* Use current build number instead of previous
* Remove unused variable
* Add more parameters
- If CI detected we don't need to check if service_job_id and other
fields in json already filled - this info anyway comes from environment
- coveralls.io API is not documented. Code from:
https://github.com/lemurheavy/coveralls-ruby/
and
https://github.com/coveralls-clients/coveralls-python/
was used as an example.
* In case of error there is no url in json respnse
Print message field anyway - it can contain useful error message.
* Add debug
* Simplify
* Fix: for pull request CI_BUILD_EVENT set to 'pull_request'
* Remove debug
Vsevolod Stakhov [Sun, 14 Oct 2018 08:38:42 +0000 (09:38 +0100)]
Merge pull request #2593 from moisseev/eslint
[WebUI] Colorize symbols
Alexander Moisseev [Sun, 14 Oct 2018 07:52:09 +0000 (10:52 +0300)]
[Minor] Remove unused CSS rule-sets
heraklit256 [Sat, 13 Oct 2018 18:47:23 +0000 (20:47 +0200)]
add HAS_ONION_URI to HAS_ANON_DOMAIN
heraklit256 [Sat, 13 Oct 2018 18:46:56 +0000 (20:46 +0200)]
add HAS_ONION_URI rule
heraklit256 [Sat, 13 Oct 2018 18:43:34 +0000 (18:43 +0000)]
Merge pull request #7 from rspamd/master
merge upstream into local master
Alexander Moisseev [Sat, 13 Oct 2018 17:46:53 +0000 (20:46 +0300)]
[WebUI] Colorize symbols
Vsevolod Stakhov [Sat, 13 Oct 2018 14:35:59 +0000 (15:35 +0100)]
[Minor] Python...
Vsevolod Stakhov [Sat, 13 Oct 2018 14:24:34 +0000 (15:24 +0100)]
[Minor] Python...
Vsevolod Stakhov [Sat, 13 Oct 2018 13:59:48 +0000 (14:59 +0100)]
[Minor] Fucking python
Vsevolod Stakhov [Sat, 13 Oct 2018 13:57:56 +0000 (14:57 +0100)]
[Feature] Add only unique elements to Clickhouse url arrays
Vsevolod Stakhov [Sat, 13 Oct 2018 13:48:01 +0000 (14:48 +0100)]
[Minor] Another try to fix bloody python
Vsevolod Stakhov [Sat, 13 Oct 2018 13:41:09 +0000 (14:41 +0100)]
[Minor] Set number of threads on load as precaution
Vsevolod Stakhov [Sat, 13 Oct 2018 13:40:19 +0000 (14:40 +0100)]
[Minor] Always set number of threads when performing learn
Vsevolod Stakhov [Sat, 13 Oct 2018 13:33:28 +0000 (14:33 +0100)]
[Minor] Further try to fix bloody python
Vsevolod Stakhov [Sat, 13 Oct 2018 13:23:00 +0000 (14:23 +0100)]
[Minor] Allow to edit empty maps
Vsevolod Stakhov [Sat, 13 Oct 2018 13:19:14 +0000 (14:19 +0100)]
[Minor] Use python3
Vsevolod Stakhov [Sat, 13 Oct 2018 12:30:07 +0000 (13:30 +0100)]
[Minor] Include module name when setting pre result
Vsevolod Stakhov [Sat, 13 Oct 2018 12:26:51 +0000 (13:26 +0100)]
Update README.md
Anton Yuzhaninov [Sat, 13 Oct 2018 10:16:34 +0000 (06:16 -0400)]
Drone speedup (#2588)
* Start switchind test to custom Docker images
Using Docker images with pre-installed delendencies will speedup
testing.
* Debug build in drone.io
* Use variable instead hardcoded path to the source
* Debug variable substitution by drone
Also according to comments in code DRONE_WORKSPACE is deprecated and
CI_WORKSPACE is a new form.
* One more try to use variables.
It looks like drone uses same rules as docker-compose:
https://docs.docker.com/compose/compose-file/#variable-substitution
* Cleanup debug
* Less verbose make output
* Be consistent in variable escaping
It works without escaping only becuse ${VAR} currently expanded by
drone, but $VAR is not.
* Use alpine base image for nodejs
It is smaller.
* Return rspamd-test
* Revert variable escaping
Wihtout escaping it is more easy to copy-past command for testing.
Just don't use ${var} when var should be expanded by shell and not
drone.
* Add debug
* Fix yaml parsing error
* Fix exit code capture
It should be done on the same line, because drone insert 'echo + cmd'
between commands.
* Remove debug
* Readability
No functional changes.
* Return functional tests
* Be consistent
* Add git stub for coveralls
* Send coverage
* Fix yaml parsing error
* Add links to Dockerfiles
* Send test log in case of test failure
XXX if rspamd-test failed, but functional was successful robot log will be
attached (but not useful).
* Don't run rspamd-test and functional tests in parallel
It looks like there is a race condition in writing coverage files.
* Try to run tests in parallel
* Add debug
* Fix parallel test run
test/rspamd-test and functional test both use luacov.stats.out file
in current directory. Run ./rspamd-test from anther directory.
* Use drone condition for sending coveralls report
Also don't send report if empty tocken was provided.
* Add mininal python3 compatibility
Vsevolod Stakhov [Fri, 12 Oct 2018 16:57:08 +0000 (17:57 +0100)]
[Minor] Improve errors logging
Vsevolod Stakhov [Fri, 12 Oct 2018 16:43:49 +0000 (17:43 +0100)]
[Minor] Do not call legacy API in modern OpenSSL
Issue: #2587
Closes: #2587
Vsevolod Stakhov [Fri, 12 Oct 2018 16:40:34 +0000 (17:40 +0100)]
Merge pull request #2586 from moisseev/eslint
[WebUI] Add symbols sorting buttons
Vsevolod Stakhov [Fri, 12 Oct 2018 16:33:20 +0000 (17:33 +0100)]
[Test] Fix tests that are not RFC conformant
Vsevolod Stakhov [Fri, 12 Oct 2018 16:09:10 +0000 (17:09 +0100)]
[Minor] Fix some tests
Vsevolod Stakhov [Fri, 12 Oct 2018 15:44:21 +0000 (16:44 +0100)]
[Rework] Completely rewrite DMARC checks logic
Vsevolod Stakhov [Fri, 12 Oct 2018 15:44:01 +0000 (16:44 +0100)]
[Minor] Remove stupid debugging
Vsevolod Stakhov [Fri, 12 Oct 2018 08:48:58 +0000 (09:48 +0100)]
[CritFix] Fix options insertion
Alexander Moisseev [Mon, 8 Oct 2018 11:25:50 +0000 (14:25 +0300)]
[WebUI] Add symbols sorting buttons
to detail history rows
Vsevolod Stakhov [Thu, 11 Oct 2018 19:48:50 +0000 (20:48 +0100)]
[Minor] Add some fail-safety
Vsevolod Stakhov [Thu, 11 Oct 2018 17:41:18 +0000 (18:41 +0100)]
[Minor] Fix stack index
Vsevolod Stakhov [Thu, 11 Oct 2018 16:27:07 +0000 (17:27 +0100)]
[Conf] Log forced action by default
Vsevolod Stakhov [Thu, 11 Oct 2018 16:26:02 +0000 (17:26 +0100)]
[Minor] Add logging variable for forced actions
Vsevolod Stakhov [Thu, 11 Oct 2018 16:19:00 +0000 (17:19 +0100)]
[Minor] Fix score set in passthrough mode
Vsevolod Stakhov [Thu, 11 Oct 2018 14:35:07 +0000 (15:35 +0100)]
[Project] Finish rework of passthrough actions
Vsevolod Stakhov [Thu, 11 Oct 2018 13:32:11 +0000 (14:32 +0100)]
[Rework] Always create result for a task
Vsevolod Stakhov [Wed, 10 Oct 2018 10:26:19 +0000 (11:26 +0100)]
[Minor] Fix comments with multiple addresses
Issue: #2578
Closes: #2578
Vsevolod Stakhov [Tue, 9 Oct 2018 17:30:35 +0000 (18:30 +0100)]
[Feature] Allow to disable actions by users settings
Vsevolod Stakhov [Tue, 9 Oct 2018 16:19:04 +0000 (17:19 +0100)]
Merge pull request #2581 from negram/drone-ci
Drone ci
Mikhail Galanin [Tue, 9 Oct 2018 16:17:25 +0000 (17:17 +0100)]
[Minor] Adopted merger to work with drone
Mikhail Galanin [Tue, 9 Oct 2018 16:17:04 +0000 (17:17 +0100)]
[Minor] Add .drone.yml
Vsevolod Stakhov [Tue, 9 Oct 2018 13:58:44 +0000 (14:58 +0100)]
[Minor] Fixes for the previous project
Vsevolod Stakhov [Tue, 9 Oct 2018 11:37:30 +0000 (12:37 +0100)]
[Conf] Add composite to negate policies when fuzzy/bayes found
Vsevolod Stakhov [Tue, 9 Oct 2018 11:37:02 +0000 (12:37 +0100)]
[Feature] Allow `g+:` and `g-:` composite atoms
Vsevolod Stakhov [Tue, 9 Oct 2018 11:36:23 +0000 (12:36 +0100)]
[Minor] Add more operations sanity check in expressions parser
Vsevolod Stakhov [Tue, 9 Oct 2018 11:11:10 +0000 (12:11 +0100)]
[Conf] Increase default bayes score
Vsevolod Stakhov [Tue, 9 Oct 2018 11:07:28 +0000 (12:07 +0100)]
[Feature] Store url object in images
Vsevolod Stakhov [Tue, 9 Oct 2018 10:59:30 +0000 (11:59 +0100)]
[Conf] Add dkim checks for some surbl rules
Vsevolod Stakhov [Tue, 9 Oct 2018 10:59:17 +0000 (11:59 +0100)]
[Feature] Allow dkim domains check in surbl
Vsevolod Stakhov [Tue, 9 Oct 2018 10:24:11 +0000 (11:24 +0100)]
Merge pull request #2579 from negram/fixed-unit-test
[Test] fixed unit test
Mikhail Galanin [Tue, 9 Oct 2018 08:24:49 +0000 (09:24 +0100)]
[Test] fixed unit test
Vsevolod Stakhov [Mon, 8 Oct 2018 17:07:41 +0000 (18:07 +0100)]
Merge pull request #2577 from negram/fix-edge-case
Fix edge case
Vsevolod Stakhov [Mon, 8 Oct 2018 17:07:25 +0000 (18:07 +0100)]
Merge pull request #2576 from negram/more-coverage
[Test] Collect coverage in all functional tests
Vsevolod Stakhov [Mon, 8 Oct 2018 17:07:16 +0000 (18:07 +0100)]
Merge pull request #2575 from negram/coverage-doc
[Minor] Added coverage collection documentation
Mikhail Galanin [Mon, 8 Oct 2018 16:53:50 +0000 (17:53 +0100)]
[Test] one more test case
Mikhail Galanin [Mon, 8 Oct 2018 16:53:33 +0000 (17:53 +0100)]
[Minor] Fix checking table size when inserting/deleting
Vsevolod Stakhov [Mon, 8 Oct 2018 16:34:24 +0000 (17:34 +0100)]
[Minor] Add missing #endif
Vsevolod Stakhov [Mon, 8 Oct 2018 16:29:51 +0000 (17:29 +0100)]
[Minor] Update cached libevent time when possible
Vsevolod Stakhov [Mon, 8 Oct 2018 16:15:19 +0000 (17:15 +0100)]
[Fix] Stop libevent from using cached time in rspamadm
Vsevolod Stakhov [Mon, 8 Oct 2018 16:08:38 +0000 (17:08 +0100)]
[Minor] Check for cached libevent time routines
Mikhail Galanin [Mon, 8 Oct 2018 15:28:55 +0000 (16:28 +0100)]
[Test] Collect coverage in all functional tests
Vsevolod Stakhov [Mon, 8 Oct 2018 15:22:43 +0000 (16:22 +0100)]
Merge pull request #2543 from heraklit256/extended-dnswl-scores
leaving original symbols if DNSWL composite rules are triggered
heraklit256 [Mon, 8 Oct 2018 15:03:03 +0000 (17:03 +0200)]
lower weight of RCVD_DKIM_ARC_DNSWL_HI to -1.0
Mikhail Galanin [Mon, 8 Oct 2018 14:52:22 +0000 (15:52 +0100)]
[Minor] Added coverage collection documentation
Vsevolod Stakhov [Mon, 8 Oct 2018 11:21:31 +0000 (12:21 +0100)]
[Minor] Print timestamps when rspamadm is started in debug mode
Vsevolod Stakhov [Mon, 8 Oct 2018 10:51:09 +0000 (11:51 +0100)]
[Fix] Various fixes in redis sync interface
Vsevolod Stakhov [Mon, 8 Oct 2018 10:50:53 +0000 (11:50 +0100)]
[CritFix] Plug memory leak in redis pool
Vsevolod Stakhov [Mon, 8 Oct 2018 09:41:12 +0000 (10:41 +0100)]
Merge pull request #2574 from negram/store-and-merge-lua-coverage
Store and merge lua coverage
Mikhail Galanin [Mon, 8 Oct 2018 08:00:25 +0000 (09:00 +0100)]
[Test] Reworked build script to correctly collect merge coverage data
Mikhail Galanin [Mon, 8 Oct 2018 07:59:23 +0000 (08:59 +0100)]
[Test] Coverage merge/push script
Mikhail Galanin [Mon, 8 Oct 2018 07:58:50 +0000 (08:58 +0100)]
[Test] Collect coverage from rspamd workers