]> source.dussan.org Git - rspamd.git/log
rspamd.git
5 years agouse 'message body' instead of 'mail' for rule description 2616/head
heraklit256 [Tue, 5 Mar 2019 16:02:53 +0000 (17:02 +0100)]
use 'message body' instead of 'mail' for rule description

5 years agoimprove rule descriptions
heraklit256 [Mon, 4 Mar 2019 17:57:06 +0000 (18:57 +0100)]
improve rule descriptions

5 years agoset score of URIBL_PBL to +0.01 (be less penalising here)
heraklit256 [Mon, 4 Mar 2019 17:53:23 +0000 (18:53 +0100)]
set score of URIBL_PBL to +0.01 (be less penalising here)

6 years agoalso query resolved IPs against Spamhaus ZEN
heraklit256 [Mon, 29 Oct 2018 20:06:36 +0000 (21:06 +0100)]
also query resolved IPs against Spamhaus ZEN

6 years agoMerge pull request #7 from rspamd/master
heraklit256 [Sat, 13 Oct 2018 18:43:34 +0000 (18:43 +0000)]
Merge pull request #7 from rspamd/master

merge upstream into local master

6 years ago[Minor] Python...
Vsevolod Stakhov [Sat, 13 Oct 2018 14:35:59 +0000 (15:35 +0100)]
[Minor] Python...

6 years ago[Minor] Python...
Vsevolod Stakhov [Sat, 13 Oct 2018 14:24:34 +0000 (15:24 +0100)]
[Minor] Python...

6 years ago[Minor] Fucking python
Vsevolod Stakhov [Sat, 13 Oct 2018 13:59:48 +0000 (14:59 +0100)]
[Minor] Fucking python

6 years ago[Feature] Add only unique elements to Clickhouse url arrays
Vsevolod Stakhov [Sat, 13 Oct 2018 13:57:56 +0000 (14:57 +0100)]
[Feature] Add only unique elements to Clickhouse url arrays

6 years ago[Minor] Another try to fix bloody python
Vsevolod Stakhov [Sat, 13 Oct 2018 13:48:01 +0000 (14:48 +0100)]
[Minor] Another try to fix bloody python

6 years ago[Minor] Set number of threads on load as precaution
Vsevolod Stakhov [Sat, 13 Oct 2018 13:41:09 +0000 (14:41 +0100)]
[Minor] Set number of threads on load as precaution

6 years ago[Minor] Always set number of threads when performing learn
Vsevolod Stakhov [Sat, 13 Oct 2018 13:40:19 +0000 (14:40 +0100)]
[Minor] Always set number of threads when performing learn

6 years ago[Minor] Further try to fix bloody python
Vsevolod Stakhov [Sat, 13 Oct 2018 13:33:28 +0000 (14:33 +0100)]
[Minor] Further try to fix bloody python

6 years ago[Minor] Allow to edit empty maps
Vsevolod Stakhov [Sat, 13 Oct 2018 13:23:00 +0000 (14:23 +0100)]
[Minor] Allow to edit empty maps

6 years ago[Minor] Use python3
Vsevolod Stakhov [Sat, 13 Oct 2018 13:19:14 +0000 (14:19 +0100)]
[Minor] Use python3

6 years ago[Minor] Include module name when setting pre result
Vsevolod Stakhov [Sat, 13 Oct 2018 12:30:07 +0000 (13:30 +0100)]
[Minor] Include module name when setting pre result

6 years agoUpdate README.md
Vsevolod Stakhov [Sat, 13 Oct 2018 12:26:51 +0000 (13:26 +0100)]
Update README.md

6 years agoDrone speedup (#2588)
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

6 years ago[Minor] Improve errors logging
Vsevolod Stakhov [Fri, 12 Oct 2018 16:57:08 +0000 (17:57 +0100)]
[Minor] Improve errors logging

6 years ago[Minor] Do not call legacy API in modern OpenSSL
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
6 years agoMerge pull request #2586 from moisseev/eslint
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

6 years ago[Test] Fix tests that are not RFC conformant
Vsevolod Stakhov [Fri, 12 Oct 2018 16:33:20 +0000 (17:33 +0100)]
[Test] Fix tests that are not RFC conformant

6 years ago[Minor] Fix some tests
Vsevolod Stakhov [Fri, 12 Oct 2018 16:09:10 +0000 (17:09 +0100)]
[Minor] Fix some tests

6 years ago[Rework] Completely rewrite DMARC checks logic
Vsevolod Stakhov [Fri, 12 Oct 2018 15:44:21 +0000 (16:44 +0100)]
[Rework] Completely rewrite DMARC checks logic

6 years ago[Minor] Remove stupid debugging
Vsevolod Stakhov [Fri, 12 Oct 2018 15:44:01 +0000 (16:44 +0100)]
[Minor] Remove stupid debugging

6 years ago[CritFix] Fix options insertion
Vsevolod Stakhov [Fri, 12 Oct 2018 08:48:58 +0000 (09:48 +0100)]
[CritFix] Fix options insertion

6 years ago[WebUI] Add symbols sorting buttons 2586/head
Alexander Moisseev [Mon, 8 Oct 2018 11:25:50 +0000 (14:25 +0300)]
[WebUI] Add symbols sorting buttons

to detail history rows

6 years ago[Minor] Add some fail-safety
Vsevolod Stakhov [Thu, 11 Oct 2018 19:48:50 +0000 (20:48 +0100)]
[Minor] Add some fail-safety

6 years ago[Minor] Fix stack index
Vsevolod Stakhov [Thu, 11 Oct 2018 17:41:18 +0000 (18:41 +0100)]
[Minor] Fix stack index

6 years ago[Conf] Log forced action by default
Vsevolod Stakhov [Thu, 11 Oct 2018 16:27:07 +0000 (17:27 +0100)]
[Conf] Log forced action by default

6 years ago[Minor] Add logging variable for forced actions
Vsevolod Stakhov [Thu, 11 Oct 2018 16:26:02 +0000 (17:26 +0100)]
[Minor] Add logging variable for forced actions

6 years ago[Minor] Fix score set in passthrough mode
Vsevolod Stakhov [Thu, 11 Oct 2018 16:19:00 +0000 (17:19 +0100)]
[Minor] Fix score set in passthrough mode

6 years ago[Project] Finish rework of passthrough actions
Vsevolod Stakhov [Thu, 11 Oct 2018 14:35:07 +0000 (15:35 +0100)]
[Project] Finish rework of passthrough actions

6 years ago[Rework] Always create result for a task
Vsevolod Stakhov [Thu, 11 Oct 2018 13:32:11 +0000 (14:32 +0100)]
[Rework] Always create result for a task

6 years ago[Minor] Fix comments with multiple addresses
Vsevolod Stakhov [Wed, 10 Oct 2018 10:26:19 +0000 (11:26 +0100)]
[Minor] Fix comments with multiple addresses

Issue: #2578
Closes: #2578
6 years ago[Feature] Allow to disable actions by users settings
Vsevolod Stakhov [Tue, 9 Oct 2018 17:30:35 +0000 (18:30 +0100)]
[Feature] Allow to disable actions by users settings

6 years agoMerge pull request #2581 from negram/drone-ci
Vsevolod Stakhov [Tue, 9 Oct 2018 16:19:04 +0000 (17:19 +0100)]
Merge pull request #2581 from negram/drone-ci

Drone ci

6 years ago[Minor] Adopted merger to work with drone 2581/head
Mikhail Galanin [Tue, 9 Oct 2018 16:17:25 +0000 (17:17 +0100)]
[Minor] Adopted merger to work with drone

6 years ago[Minor] Add .drone.yml
Mikhail Galanin [Tue, 9 Oct 2018 16:17:04 +0000 (17:17 +0100)]
[Minor] Add .drone.yml

6 years ago[Minor] Fixes for the previous project
Vsevolod Stakhov [Tue, 9 Oct 2018 13:58:44 +0000 (14:58 +0100)]
[Minor] Fixes for the previous project

6 years ago[Conf] Add composite to negate policies when fuzzy/bayes found
Vsevolod Stakhov [Tue, 9 Oct 2018 11:37:30 +0000 (12:37 +0100)]
[Conf] Add composite to negate policies when fuzzy/bayes found

6 years ago[Feature] Allow `g+:` and `g-:` composite atoms
Vsevolod Stakhov [Tue, 9 Oct 2018 11:37:02 +0000 (12:37 +0100)]
[Feature] Allow `g+:` and `g-:` composite atoms

6 years ago[Minor] Add more operations sanity check in expressions parser
Vsevolod Stakhov [Tue, 9 Oct 2018 11:36:23 +0000 (12:36 +0100)]
[Minor] Add more operations sanity check in expressions parser

6 years ago[Conf] Increase default bayes score
Vsevolod Stakhov [Tue, 9 Oct 2018 11:11:10 +0000 (12:11 +0100)]
[Conf] Increase default bayes score

6 years ago[Feature] Store url object in images
Vsevolod Stakhov [Tue, 9 Oct 2018 11:07:28 +0000 (12:07 +0100)]
[Feature] Store url object in images

6 years ago[Conf] Add dkim checks for some surbl rules
Vsevolod Stakhov [Tue, 9 Oct 2018 10:59:30 +0000 (11:59 +0100)]
[Conf] Add dkim checks for some surbl rules

6 years ago[Feature] Allow dkim domains check in surbl
Vsevolod Stakhov [Tue, 9 Oct 2018 10:59:17 +0000 (11:59 +0100)]
[Feature] Allow dkim domains check in surbl

6 years agoMerge pull request #2579 from negram/fixed-unit-test
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

6 years ago[Test] fixed unit test 2579/head
Mikhail Galanin [Tue, 9 Oct 2018 08:24:49 +0000 (09:24 +0100)]
[Test] fixed unit test

6 years agoMerge pull request #2577 from negram/fix-edge-case
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

6 years agoMerge pull request #2576 from negram/more-coverage
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

6 years agoMerge pull request #2575 from negram/coverage-doc
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

6 years ago[Test] one more test case 2577/head
Mikhail Galanin [Mon, 8 Oct 2018 16:53:50 +0000 (17:53 +0100)]
[Test] one more test case

6 years ago[Minor] Fix checking table size when inserting/deleting
Mikhail Galanin [Mon, 8 Oct 2018 16:53:33 +0000 (17:53 +0100)]
[Minor] Fix checking table size when inserting/deleting

6 years ago[Minor] Add missing #endif
Vsevolod Stakhov [Mon, 8 Oct 2018 16:34:24 +0000 (17:34 +0100)]
[Minor] Add missing #endif

6 years ago[Minor] Update cached libevent time when possible
Vsevolod Stakhov [Mon, 8 Oct 2018 16:29:51 +0000 (17:29 +0100)]
[Minor] Update cached libevent time when possible

6 years ago[Fix] Stop libevent from using cached time in rspamadm
Vsevolod Stakhov [Mon, 8 Oct 2018 16:15:19 +0000 (17:15 +0100)]
[Fix] Stop libevent from using cached time in rspamadm

6 years ago[Minor] Check for cached libevent time routines
Vsevolod Stakhov [Mon, 8 Oct 2018 16:08:38 +0000 (17:08 +0100)]
[Minor] Check for cached libevent time routines

6 years ago[Test] Collect coverage in all functional tests 2576/head
Mikhail Galanin [Mon, 8 Oct 2018 15:28:55 +0000 (16:28 +0100)]
[Test] Collect coverage in all functional tests

6 years agoMerge pull request #2543 from heraklit256/extended-dnswl-scores
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

6 years agolower weight of RCVD_DKIM_ARC_DNSWL_HI to -1.0 2543/head
heraklit256 [Mon, 8 Oct 2018 15:03:03 +0000 (17:03 +0200)]
lower weight of RCVD_DKIM_ARC_DNSWL_HI to -1.0

6 years ago[Minor] Added coverage collection documentation 2575/head
Mikhail Galanin [Mon, 8 Oct 2018 14:52:22 +0000 (15:52 +0100)]
[Minor] Added coverage collection documentation

6 years ago[Minor] Print timestamps when rspamadm is started in debug mode
Vsevolod Stakhov [Mon, 8 Oct 2018 11:21:31 +0000 (12:21 +0100)]
[Minor] Print timestamps when rspamadm is started in debug mode

6 years ago[Fix] Various fixes in redis sync interface
Vsevolod Stakhov [Mon, 8 Oct 2018 10:51:09 +0000 (11:51 +0100)]
[Fix] Various fixes in redis sync interface

6 years ago[CritFix] Plug memory leak in redis pool
Vsevolod Stakhov [Mon, 8 Oct 2018 10:50:53 +0000 (11:50 +0100)]
[CritFix] Plug memory leak in redis pool

6 years agoMerge pull request #2574 from negram/store-and-merge-lua-coverage
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

6 years ago[Test] Reworked build script to correctly collect merge coverage data 2574/head
Mikhail Galanin [Mon, 8 Oct 2018 08:00:25 +0000 (09:00 +0100)]
[Test] Reworked build script to correctly collect merge coverage data

6 years ago[Test] Coverage merge/push script
Mikhail Galanin [Mon, 8 Oct 2018 07:59:23 +0000 (08:59 +0100)]
[Test] Coverage merge/push script

6 years ago[Test] Collect coverage from rspamd workers
Mikhail Galanin [Mon, 8 Oct 2018 07:58:50 +0000 (08:58 +0100)]
[Test] Collect coverage from rspamd workers

6 years agoMerge pull request #2573 from moisseev/eslint
Vsevolod Stakhov [Sun, 7 Oct 2018 18:53:12 +0000 (19:53 +0100)]
Merge pull request #2573 from moisseev/eslint

[WebUI] Fix symbol description tooltips display

6 years ago[WebUI] Fix symbol description tooltips display 2573/head
Alexander Moisseev [Sun, 7 Oct 2018 07:51:08 +0000 (10:51 +0300)]
[WebUI] Fix symbol description tooltips display

when the total number of rows is less than number of rows per page

6 years ago[Minor] Fix desctruction order
Vsevolod Stakhov [Sat, 6 Oct 2018 16:15:24 +0000 (17:15 +0100)]
[Minor] Fix desctruction order

6 years ago[Fix] Fix parsing address with comments
Vsevolod Stakhov [Sat, 6 Oct 2018 16:13:12 +0000 (17:13 +0100)]
[Fix] Fix parsing address with comments

6 years ago[Minor] Fix event pending checks
Vsevolod Stakhov [Sat, 6 Oct 2018 12:35:14 +0000 (13:35 +0100)]
[Minor] Fix event pending checks

6 years ago[Minor] Fix symbols cache saving
Vsevolod Stakhov [Sat, 6 Oct 2018 12:35:02 +0000 (13:35 +0100)]
[Minor] Fix symbols cache saving

6 years ago[Fix] Fix boundaries detection and rework stop words algorithm
Vsevolod Stakhov [Sat, 6 Oct 2018 09:29:32 +0000 (10:29 +0100)]
[Fix] Fix boundaries detection and rework stop words algorithm

Issue: #2541
Closes: #2541
6 years ago[Fix] Remove one letter stop words
Vsevolod Stakhov [Sat, 6 Oct 2018 08:52:32 +0000 (09:52 +0100)]
[Fix] Remove one letter stop words

6 years ago[Minor] Fix CMA calculations
Vsevolod Stakhov [Sat, 6 Oct 2018 08:28:10 +0000 (09:28 +0100)]
[Minor] Fix CMA calculations

6 years ago[Minor] Don't load torch unless really needed
Vsevolod Stakhov [Sat, 6 Oct 2018 08:26:18 +0000 (09:26 +0100)]
[Minor] Don't load torch unless really needed

6 years ago[Conf] Slashing: use lua rules from local confdir instead of confdir
Vsevolod Stakhov [Sat, 6 Oct 2018 08:25:55 +0000 (09:25 +0100)]
[Conf] Slashing: use lua rules from local confdir instead of confdir

6 years ago[Minor] Support local confdir in lua
Vsevolod Stakhov [Sat, 6 Oct 2018 08:23:03 +0000 (09:23 +0100)]
[Minor] Support local confdir in lua

6 years ago[Fix] Slashing: backport chunk logic from libucl
Vsevolod Stakhov [Fri, 5 Oct 2018 19:01:28 +0000 (20:01 +0100)]
[Fix] Slashing: backport chunk logic from libucl

6 years agoMerge pull request #2572 from negram/fix-fatal-flag
Vsevolod Stakhov [Fri, 5 Oct 2018 16:26:14 +0000 (17:26 +0100)]
Merge pull request #2572 from negram/fix-fatal-flag

[Minor] is_successful != fatal

6 years ago[Minor] is_successful != fatal 2572/head
Mikhail Galanin [Fri, 5 Oct 2018 16:25:08 +0000 (17:25 +0100)]
[Minor] is_successful != fatal

6 years agoMerge pull request #2571 from negram/misprint-2
Vsevolod Stakhov [Fri, 5 Oct 2018 13:30:14 +0000 (14:30 +0100)]
Merge pull request #2571 from negram/misprint-2

[Minor] misprint

6 years agoMerge pull request #2570 from negram/lua-coverage-collector
Vsevolod Stakhov [Fri, 5 Oct 2018 13:29:59 +0000 (14:29 +0100)]
Merge pull request #2570 from negram/lua-coverage-collector

Lua coverage collector

6 years ago[Minor] misprint 2571/head
Mikhail Galanin [Fri, 5 Oct 2018 13:16:08 +0000 (14:16 +0100)]
[Minor] misprint

6 years ago[Test] global variable for coverage collector 2570/head
Mikhail Galanin [Fri, 5 Oct 2018 11:35:56 +0000 (12:35 +0100)]
[Test] global variable for coverage collector

6 years ago[Test] use the coverage collector in tests
Mikhail Galanin [Fri, 5 Oct 2018 11:35:31 +0000 (12:35 +0100)]
[Test] use the coverage collector in tests

6 years ago[Test] added Lua test coverage collector for functional tests
Mikhail Galanin [Fri, 5 Oct 2018 11:34:37 +0000 (12:34 +0100)]
[Test] added Lua test coverage collector for functional tests

6 years ago[Minor] Prevent race condition in Redis ctx refcounting
Vsevolod Stakhov [Thu, 4 Oct 2018 16:21:16 +0000 (17:21 +0100)]
[Minor] Prevent race condition in Redis ctx refcounting

6 years agoMerge pull request #6 from rspamd/master
heraklit256 [Thu, 4 Oct 2018 15:55:12 +0000 (15:55 +0000)]
Merge pull request #6 from rspamd/master

merge upstream into local master

6 years agolower weight for RCVD_DKIM_ARC_DNSWL_MED and RCVD_DKIM_ARC_DNSWL_HIGH
heraklit256 [Thu, 4 Oct 2018 15:49:26 +0000 (17:49 +0200)]
lower weight for RCVD_DKIM_ARC_DNSWL_MED and RCVD_DKIM_ARC_DNSWL_HIGH

These were too high as other symbols - such as ARC_ALLOW - already
introduce some negative scores.

Thanks to @moisseev for reporting this.

6 years ago[Fix] Do not load torch on each rspamadm invocation
Vsevolod Stakhov [Thu, 4 Oct 2018 14:32:27 +0000 (15:32 +0100)]
[Fix] Do not load torch on each rspamadm invocation

6 years agoMerge pull request #2565 from krestenk/master
Vsevolod Stakhov [Thu, 4 Oct 2018 14:23:43 +0000 (15:23 +0100)]
Merge pull request #2565 from krestenk/master

Added "text/calendar" as a legal mimetype for .ics files.

6 years agoMerge pull request #2563 from negram/lua_http-doc
Vsevolod Stakhov [Thu, 4 Oct 2018 14:23:36 +0000 (15:23 +0100)]
Merge pull request #2563 from negram/lua_http-doc

[Minor] Described some parameters for rspamd_http.request

6 years agoMerge pull request #2562 from negram/fix-c-coverage-collection
Vsevolod Stakhov [Thu, 4 Oct 2018 14:23:27 +0000 (15:23 +0100)]
Merge pull request #2562 from negram/fix-c-coverage-collection

[Minor] set umask 0000 when building rspamd

6 years agoAdded "text/calendar" as a legal mimetype for .ics files. Files are failing this... 2565/head
Kresten [Thu, 4 Oct 2018 11:54:11 +0000 (13:54 +0200)]
Added "text/calendar" as a legal mimetype for .ics files. Files are failing this test, and "text/calendar" seems to be the correct one from https://tools.ietf.org/html/rfc5545

6 years ago[Minor] Described some parameters for rspamd_http.request 2563/head
Mikhail Galanin [Thu, 4 Oct 2018 10:08:56 +0000 (11:08 +0100)]
[Minor] Described some parameters for rspamd_http.request

6 years ago[Minor] set umask 0000 when building rspamd 2562/head
Mikhail Galanin [Thu, 4 Oct 2018 07:57:32 +0000 (08:57 +0100)]
[Minor] set umask 0000 when building rspamd

To allow rspamd dumpring coverage data.
In functional tests it runs under "nobody" user and became unable to do this