]> source.dussan.org Git - rspamd.git/log
rspamd.git
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 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

6 years ago[Test] One more domain to faking records
Mikhail Galanin [Mon, 10 Sep 2018 08:23:10 +0000 (09:23 +0100)]
[Test] One more domain to faking records

6 years agoMerge pull request #2474 from heraklit256/composites-1
Vsevolod Stakhov [Sun, 9 Sep 2018 17:22:13 +0000 (18:22 +0100)]
Merge pull request #2474 from heraklit256/composites-1

some housekeeping of composite rulesets

6 years ago[Minor] Initialise candidates even in shortage of words case
Vsevolod Stakhov [Sun, 9 Sep 2018 17:11:22 +0000 (18:11 +0100)]
[Minor] Initialise candidates even in shortage of words case

6 years agoadd rule for domains trying to stay anonymous 2474/head
heraklit256 [Sun, 9 Sep 2018 16:28:17 +0000 (18:28 +0200)]
add rule for domains trying to stay anonymous

6 years agoimprove composite rules for phish messages
heraklit256 [Sun, 9 Sep 2018 16:21:12 +0000 (18:21 +0200)]
improve composite rules for phish messages

6 years agoadd some missing composite rule description
heraklit256 [Sun, 9 Sep 2018 16:19:02 +0000 (18:19 +0200)]
add some missing composite rule description

6 years agoMerge pull request #2473 from moisseev/eslint
Vsevolod Stakhov [Sat, 8 Sep 2018 20:30:09 +0000 (21:30 +0100)]
Merge pull request #2473 from moisseev/eslint

[Minor] main.js code cleanup

6 years ago[Minor] main.js code cleanup 2473/head
Alexander Moisseev [Sat, 8 Sep 2018 18:32:55 +0000 (21:32 +0300)]
[Minor] main.js code cleanup

6 years agoMerge pull request #2470 from heraklit256/composites-1
Vsevolod Stakhov [Sat, 8 Sep 2018 15:52:53 +0000 (16:52 +0100)]
Merge pull request #2470 from heraklit256/composites-1

add composite rules against private health insurance spam

6 years agoMerge pull request #2469 from negram/dummy-refactoring
Vsevolod Stakhov [Sat, 8 Sep 2018 15:52:35 +0000 (16:52 +0100)]
Merge pull request #2469 from negram/dummy-refactoring

[Test] Small refactoring in dummy services test

6 years agoMerge pull request #2472 from heraklit256/composites-2
Vsevolod Stakhov [Sat, 8 Sep 2018 15:52:21 +0000 (16:52 +0100)]
Merge pull request #2472 from heraklit256/composites-2

add low positive score to RCVD_NO_TLS_LAST

6 years ago[Minor] Do not apply ngramms detection for short texts
Vsevolod Stakhov [Sat, 8 Sep 2018 15:46:49 +0000 (16:46 +0100)]
[Minor] Do not apply ngramms detection for short texts

6 years ago[Fix] Fix various corner cases for language detection
Vsevolod Stakhov [Sat, 8 Sep 2018 15:40:05 +0000 (16:40 +0100)]
[Fix] Fix various corner cases for language detection

6 years agoadd low positive score to RCVD_NO_TLS_LAST 2472/head
heraklit256 [Sat, 8 Sep 2018 10:55:28 +0000 (12:55 +0200)]
add low positive score to RCVD_NO_TLS_LAST

6 years agoadd rule for spammy mails with detailled sender but generic recipients 2470/head
heraklit256 [Sat, 8 Sep 2018 10:30:05 +0000 (12:30 +0200)]
add rule for spammy mails with detailled sender but generic recipients

6 years agoadd rule for phish messages containing emotional subjects
heraklit256 [Sat, 8 Sep 2018 10:11:36 +0000 (12:11 +0200)]
add rule for phish messages containing emotional subjects

6 years agoadd rule for spammy PHP generated mails
heraklit256 [Sat, 8 Sep 2018 10:02:02 +0000 (12:02 +0200)]
add rule for spammy PHP generated mails

6 years agoMerge pull request #4 from rspamd/master
heraklit256 [Sat, 8 Sep 2018 09:47:39 +0000 (11:47 +0200)]
Merge pull request #4 from rspamd/master

Merge rspamd/rspamd into heraklit256/rspamd

6 years ago[Minor] Check language detector prior to usage
Vsevolod Stakhov [Fri, 7 Sep 2018 21:40:33 +0000 (22:40 +0100)]
[Minor] Check language detector prior to usage

6 years ago[Minor] Do not use too recent additions to libicu
Vsevolod Stakhov [Fri, 7 Sep 2018 19:04:09 +0000 (20:04 +0100)]
[Minor] Do not use too recent additions to libicu

6 years agoMerge pull request #2468 from negram/fix-symbol-registering
Vsevolod Stakhov [Fri, 7 Sep 2018 18:59:48 +0000 (19:59 +0100)]
Merge pull request #2468 from negram/fix-symbol-registering

[Minor] Fixed symbol registering in antivirus module - parent is expe…

6 years agoMerge pull request #2464 from negram/fix-fatal-log
Vsevolod Stakhov [Fri, 7 Sep 2018 18:59:33 +0000 (19:59 +0100)]
Merge pull request #2464 from negram/fix-fatal-log

[Minor] Add newline on fatal log, removed extra info

6 years ago[Fix] Fix stop words detection and loading logic
Vsevolod Stakhov [Fri, 7 Sep 2018 18:57:43 +0000 (19:57 +0100)]
[Fix] Fix stop words detection and loading logic

6 years ago[Minor] Use JSON escapes for UTF8
Vsevolod Stakhov [Fri, 7 Sep 2018 18:57:08 +0000 (19:57 +0100)]
[Minor] Use JSON escapes for UTF8

6 years ago[Feature] Add preliminary stop words detection support
Vsevolod Stakhov [Fri, 7 Sep 2018 17:40:54 +0000 (18:40 +0100)]
[Feature] Add preliminary stop words detection support

6 years ago[Test] Small refactoring in dummy services test 2469/head
Mikhail Galanin [Fri, 7 Sep 2018 16:59:28 +0000 (17:59 +0100)]
[Test] Small refactoring in dummy services test

Moved code for pid writing and terminating into a separated module.
Also added cleanup: in some cases, processes remained in the system after test is done. It should not happen anymore

6 years ago[Minor] Fixed symbol registering in antivirus module - parent is expected to be double 2468/head
Mikhail Galanin [Fri, 7 Sep 2018 16:51:57 +0000 (17:51 +0100)]
[Minor] Fixed symbol registering in antivirus module - parent is expected to be double

For some reasons, it is affecting rarely. Related tests are failing one out of 10 times

6 years ago[Minor] Add stop words
Vsevolod Stakhov [Fri, 7 Sep 2018 16:02:06 +0000 (17:02 +0100)]
[Minor] Add stop words

6 years ago[Rework] Rework language detector
Vsevolod Stakhov [Fri, 7 Sep 2018 15:43:58 +0000 (16:43 +0100)]
[Rework] Rework language detector

6 years ago[Minor] Properly set flag on text tokens
Vsevolod Stakhov [Fri, 7 Sep 2018 14:42:19 +0000 (15:42 +0100)]
[Minor] Properly set flag on text tokens

6 years ago[Minor] Fix types
Vsevolod Stakhov [Fri, 7 Sep 2018 14:19:47 +0000 (15:19 +0100)]
[Minor] Fix types

6 years ago[Minor] More fixes to languages, remove hebrew languages
Vsevolod Stakhov [Fri, 7 Sep 2018 14:06:56 +0000 (15:06 +0100)]
[Minor] More fixes to languages, remove hebrew languages

6 years ago[Minor] Remove mono script languages
Vsevolod Stakhov [Fri, 7 Sep 2018 13:07:15 +0000 (14:07 +0100)]
[Minor] Remove mono script languages

6 years ago[Minor] Further fixes in tokenization algorithm
Vsevolod Stakhov [Fri, 7 Sep 2018 08:26:27 +0000 (09:26 +0100)]
[Minor] Further fixes in tokenization algorithm

6 years ago[Feature] Implement new text tokenizer based on libicu
Vsevolod Stakhov [Thu, 6 Sep 2018 18:49:44 +0000 (19:49 +0100)]
[Feature] Implement new text tokenizer based on libicu

6 years ago[Minor] Add UText wrapper for stripped content
Vsevolod Stakhov [Thu, 6 Sep 2018 15:24:28 +0000 (16:24 +0100)]
[Minor] Add UText wrapper for stripped content

6 years agoMerge pull request #2463 from negram/misprint
Vsevolod Stakhov [Thu, 6 Sep 2018 16:53:41 +0000 (17:53 +0100)]
Merge pull request #2463 from negram/misprint

[Minor] Misprint

6 years agoMerge pull request #2466 from negram/check-for-segfault
Vsevolod Stakhov [Thu, 6 Sep 2018 16:53:08 +0000 (17:53 +0100)]
Merge pull request #2466 from negram/check-for-segfault

[Test] Added check if there was no segfault during the test run

6 years ago[Test] Added check if there was no segfault during the test run 2466/head
Mikhail Galanin [Thu, 6 Sep 2018 16:43:59 +0000 (17:43 +0100)]
[Test] Added check if there was no segfault during the test run

6 years ago[Minor] Add signing symbols to the corresponding groups
Vsevolod Stakhov [Thu, 6 Sep 2018 13:25:46 +0000 (14:25 +0100)]
[Minor] Add signing symbols to the corresponding groups

6 years ago[Minor] Add newline on fatal log, removed extra info 2464/head
Mikhail Galanin [Thu, 6 Sep 2018 12:49:45 +0000 (13:49 +0100)]
[Minor] Add newline on fatal log, removed extra info

6 years ago[Minor] Load urls before breaking text into words
Vsevolod Stakhov [Thu, 6 Sep 2018 10:12:04 +0000 (11:12 +0100)]
[Minor] Load urls before breaking text into words

6 years ago[Minor] It's too early to test rspamadm with redis
Mikhail Galanin [Thu, 6 Sep 2018 08:30:25 +0000 (09:30 +0100)]
[Minor] It's too early to test rspamadm with redis

6 years ago[Minor] Misprint 2463/head
Mikhail Galanin [Thu, 6 Sep 2018 08:23:58 +0000 (09:23 +0100)]
[Minor] Misprint

6 years ago[Minor] Reworked other parts of rspamadm to handle asynchronous events
Mikhail Galanin [Thu, 6 Sep 2018 08:19:57 +0000 (09:19 +0100)]
[Minor] Reworked other parts of rspamadm to handle asynchronous events

6 years ago[Minor] Sigh, fix non-empty parts this time
Vsevolod Stakhov [Wed, 5 Sep 2018 17:20:28 +0000 (18:20 +0100)]
[Minor] Sigh, fix non-empty parts this time

6 years ago[Minor] Fix processing of empty parts
Vsevolod Stakhov [Wed, 5 Sep 2018 17:05:29 +0000 (18:05 +0100)]
[Minor] Fix processing of empty parts

6 years ago[Rework] Rework utf content processing in text parts
Vsevolod Stakhov [Wed, 5 Sep 2018 16:43:20 +0000 (17:43 +0100)]
[Rework] Rework utf content processing in text parts

- Store unicode in UTF parts
- Store unicode for HTML parts
- Rename struct fields and split them into unicode/utf components

6 years ago[Test] Added more test for rspamadm and test for lua tcp client invoked via rspamadm
Mikhail Galanin [Wed, 5 Sep 2018 12:43:21 +0000 (13:43 +0100)]
[Test] Added more test for rspamadm and test for lua tcp client invoked via rspamadm

6 years ago[Minor] Added coroutines and async events support to rspamadm commands
Mikhail Galanin [Wed, 5 Sep 2018 12:39:53 +0000 (13:39 +0100)]
[Minor] Added coroutines and async events support to rspamadm commands

6 years agoMerge pull request #2451 from negram/coroutines-tcp
Vsevolod Stakhov [Wed, 5 Sep 2018 10:23:18 +0000 (11:23 +0100)]
Merge pull request #2451 from negram/coroutines-tcp

Coroutines tcp

6 years ago[Minor] timeout in seconds everywhere (as documentation says) 2451/head
Mikhail Galanin [Wed, 5 Sep 2018 10:18:34 +0000 (11:18 +0100)]
[Minor] timeout in seconds everywhere (as documentation says)

6 years ago[Minor] Add descriptions to the selectors
Vsevolod Stakhov [Wed, 5 Sep 2018 09:34:43 +0000 (10:34 +0100)]
[Minor] Add descriptions to the selectors

6 years ago[Minor] Add methods to display selectors lists
Vsevolod Stakhov [Tue, 4 Sep 2018 18:54:30 +0000 (19:54 +0100)]
[Minor] Add methods to display selectors lists

6 years ago[Minor] Fix unsigned clockid_t case
Vsevolod Stakhov [Tue, 4 Sep 2018 18:51:32 +0000 (19:51 +0100)]
[Minor] Fix unsigned clockid_t case

6 years agoMerge pull request #2458 from moisseev/eslint
Vsevolod Stakhov [Tue, 4 Sep 2018 06:34:37 +0000 (07:34 +0100)]
Merge pull request #2458 from moisseev/eslint

[Test] Disable warning

6 years ago[Test] Disable warning 2458/head
Alexander Moisseev [Tue, 4 Sep 2018 06:26:52 +0000 (09:26 +0300)]
[Test] Disable warning

as `u` flag is not supported in ES5

6 years agoMerge pull request #2457 from negram/hs-worker-fix
Vsevolod Stakhov [Mon, 3 Sep 2018 20:25:15 +0000 (21:25 +0100)]
Merge pull request #2457 from negram/hs-worker-fix

[Minor] Fixed HyperScan worker build

6 years ago[Minor] Fixed HyperScan worker build 2457/head
Mikhail Galanin [Mon, 3 Sep 2018 08:39:48 +0000 (09:39 +0100)]
[Minor] Fixed HyperScan worker build

6 years ago[Minor] function -> method
Mikhail Galanin [Mon, 3 Sep 2018 08:34:41 +0000 (09:34 +0100)]
[Minor] function -> method

6 years ago[Minor] Review fixes
Mikhail Galanin [Mon, 3 Sep 2018 08:10:07 +0000 (09:10 +0100)]
[Minor] Review fixes

6 years agoMerge pull request #2456 from moisseev/eslint
Vsevolod Stakhov [Sun, 2 Sep 2018 22:14:40 +0000 (23:14 +0100)]
Merge pull request #2456 from moisseev/eslint

[WebUI] Add progress bar for AJAX requests

6 years ago[WebUI] Add progress bar for AJAX requests 2456/head
Alexander Moisseev [Sun, 2 Sep 2018 19:24:06 +0000 (22:24 +0300)]
[WebUI] Add progress bar for AJAX requests

6 years agoMerge pull request #2454 from moisseev/eslint
Vsevolod Stakhov [Sat, 1 Sep 2018 20:16:23 +0000 (21:16 +0100)]
Merge pull request #2454 from moisseev/eslint

[WebUI] Fix tables destroying

6 years ago[WebUI] Fix tables destroying 2454/head
Alexander Moisseev [Sat, 1 Sep 2018 12:25:11 +0000 (15:25 +0300)]
[WebUI] Fix tables destroying

It seems there is a bug in Footable.
FooTable doesn't remove the table body if the table was initialized without contents.

6 years ago[WebUI] Destroy summary table on disconnect
Alexander Moisseev [Thu, 30 Aug 2018 08:38:35 +0000 (11:38 +0300)]
[WebUI] Destroy summary table on disconnect

6 years ago[Minor] Fixed class naming
Mikhail Galanin [Fri, 31 Aug 2018 13:00:52 +0000 (14:00 +0100)]
[Minor] Fixed class naming

6 years ago[Test] Read the whole response from dummy http
Mikhail Galanin [Fri, 31 Aug 2018 09:12:36 +0000 (10:12 +0100)]
[Test] Read the whole response from dummy http

6 years agoMerge branch 'master' into coroutines-tcp
Mikhail Galanin [Fri, 31 Aug 2018 08:52:56 +0000 (09:52 +0100)]
Merge branch 'master' into coroutines-tcp

6 years agoMerge pull request #2450 from negram/log-should-not-be-tied-to-config
Vsevolod Stakhov [Thu, 30 Aug 2018 21:58:41 +0000 (22:58 +0100)]
Merge pull request #2450 from negram/log-should-not-be-tied-to-config

[Minor] Log should not depend on config

6 years agoMerge pull request #2449 from negram/fix-cbref-check
Vsevolod Stakhov [Thu, 30 Aug 2018 21:56:59 +0000 (22:56 +0100)]
Merge pull request #2449 from negram/fix-cbref-check

[Minor] cbref is initialised with -1 by default

6 years ago[Minor] test
Mikhail Galanin [Thu, 30 Aug 2018 16:20:31 +0000 (17:20 +0100)]
[Minor] test

6 years ago[Test] Test for TCP library
Mikhail Galanin [Thu, 30 Aug 2018 15:51:55 +0000 (16:51 +0100)]
[Test] Test for TCP library

6 years ago[Minor] Added coroutines support for TCP library
Mikhail Galanin [Thu, 30 Aug 2018 15:50:55 +0000 (16:50 +0100)]
[Minor] Added coroutines support for TCP library

6 years ago[Minor] Log should not depend on config 2450/head
Mikhail Galanin [Thu, 30 Aug 2018 13:03:01 +0000 (14:03 +0100)]
[Minor] Log should not depend on config

When config is being closed, some destructors could be called, and that dtors could write into log. Hence, it is better to terminate config and only then close log. And log should not refer disposed config

6 years ago[Minor] cbref is initilised with -1 by default 2449/head
Mikhail Galanin [Thu, 30 Aug 2018 09:54:16 +0000 (10:54 +0100)]
[Minor] cbref is initilised with -1 by default

6 years ago[Minor] Fix byte array allocation
Vsevolod Stakhov [Wed, 29 Aug 2018 22:17:44 +0000 (23:17 +0100)]
[Minor] Fix byte array allocation

6 years agoMerge pull request #2446 from heraklit256/extended-dnswl-scores
Vsevolod Stakhov [Wed, 29 Aug 2018 17:20:15 +0000 (18:20 +0100)]
Merge pull request #2446 from heraklit256/extended-dnswl-scores

also trigger DNSWL score rule in case mails are properly ARC signed

6 years agoMerge pull request #2447 from moisseev/patch-1
Vsevolod Stakhov [Tue, 28 Aug 2018 16:54:48 +0000 (17:54 +0100)]
Merge pull request #2447 from moisseev/patch-1

[Conf] Fix whitelist.conf

6 years ago[Conf] Fix whitelist.conf 2447/head
Alexander Moisseev [Tue, 28 Aug 2018 16:50:29 +0000 (19:50 +0300)]
[Conf] Fix whitelist.conf

Reported by @bjo81 via Telegram group

6 years agoMerge pull request #2445 from heraklit256/rbl_groupname
Vsevolod Stakhov [Mon, 27 Aug 2018 17:53:48 +0000 (18:53 +0100)]
Merge pull request #2445 from heraklit256/rbl_groupname

adjust Spamhaus group name for received IPs

6 years agoMerge pull request #2444 from moisseev/eslint
Vsevolod Stakhov [Mon, 27 Aug 2018 17:53:29 +0000 (18:53 +0100)]
Merge pull request #2444 from moisseev/eslint

[WebUI] Avoid history table reinitialization

6 years ago[Minor] Use loop to destroy graphs and tables 2444/head
Alexander Moisseev [Mon, 27 Aug 2018 16:29:04 +0000 (19:29 +0300)]
[Minor] Use loop to destroy graphs and tables

6 years agoalso trigger DNSWL score rule in case mails are properly ARC signed 2446/head
heraklit256 [Mon, 27 Aug 2018 16:27:03 +0000 (18:27 +0200)]
also trigger DNSWL score rule in case mails are properly ARC signed

6 years ago[Minor] Destroy symbols table on disconnect
Alexander Moisseev [Mon, 27 Aug 2018 16:26:44 +0000 (19:26 +0300)]
[Minor] Destroy symbols table on disconnect

6 years agoadjust Spamhaus group name for received IPs 2445/head
heraklit256 [Mon, 27 Aug 2018 16:19:50 +0000 (18:19 +0200)]
adjust Spamhaus group name for received IPs

6 years ago[WebUI] Avoid errors table reinitialization
Alexander Moisseev [Sun, 26 Aug 2018 19:50:24 +0000 (22:50 +0300)]
[WebUI] Avoid errors table reinitialization