]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years ago[Minor] Slighlty reduce PHISHING score
Vsevolod Stakhov [Wed, 4 May 2016 13:04:25 +0000 (14:04 +0100)]
[Minor] Slighlty reduce PHISHING score

8 years ago[Minor] Always return constant number of results from lua redis
Vsevolod Stakhov [Wed, 4 May 2016 13:00:34 +0000 (14:00 +0100)]
[Minor] Always return constant number of results from lua redis

8 years ago[Minor] Improve string to action function
Vsevolod Stakhov [Wed, 4 May 2016 12:13:42 +0000 (13:13 +0100)]
[Minor] Improve string to action function

8 years agoMerge pull request #618 from moisseev/phishing
Vsevolod Stakhov [Wed, 4 May 2016 13:00:26 +0000 (14:00 +0100)]
Merge pull request #618 from moisseev/phishing

Updates to phishing module

8 years ago[Fix] Do not greylist on rejection
Vsevolod Stakhov [Wed, 4 May 2016 10:48:08 +0000 (11:48 +0100)]
[Fix] Do not greylist on rejection

8 years ago[Fix] Fix ratelimit initialization
Vsevolod Stakhov [Tue, 3 May 2016 17:40:55 +0000 (18:40 +0100)]
[Fix] Fix ratelimit initialization

8 years ago[Feature] Various improvements in greylist module
Vsevolod Stakhov [Tue, 3 May 2016 17:18:43 +0000 (18:18 +0100)]
[Feature] Various improvements in greylist module

8 years agoRevert "[CritFix] Pre-filters and post-filters were completely broken"
Vsevolod Stakhov [Tue, 3 May 2016 16:02:51 +0000 (17:02 +0100)]
Revert "[CritFix] Pre-filters and post-filters were completely broken"

This reverts commit 88c10484ff3802b59d8bcc7e9832e9fe97c9bb89.

8 years ago[CritFix] Really skip filters in case of pre-result set
Vsevolod Stakhov [Tue, 3 May 2016 15:51:09 +0000 (16:51 +0100)]
[CritFix] Really skip filters in case of pre-result set

8 years ago[CritFix] Pre-filters and post-filters were completely broken
Vsevolod Stakhov [Tue, 3 May 2016 15:49:59 +0000 (16:49 +0100)]
[CritFix] Pre-filters and post-filters were completely broken

8 years ago[CritFix] Restore the intended pre-filters behaviour
Vsevolod Stakhov [Tue, 3 May 2016 15:23:34 +0000 (16:23 +0100)]
[CritFix] Restore the intended pre-filters behaviour

Previously, filters and post-filters were checked even if pre-filter has
set some result. Now pre-result efficienly makes a trapdoor to writing
reply (as it was before 1.0).

8 years ago[Feature] Implement order of pre/post filters
Vsevolod Stakhov [Tue, 3 May 2016 14:37:08 +0000 (15:37 +0100)]
[Feature] Implement order of pre/post filters

8 years ago[Feature] Add preliminary greylist plugin
Vsevolod Stakhov [Tue, 3 May 2016 12:16:47 +0000 (13:16 +0100)]
[Feature] Add preliminary greylist plugin

Issue: #611

8 years ago[Fix] One more fix in redis destructor
Vsevolod Stakhov [Tue, 3 May 2016 12:16:30 +0000 (13:16 +0100)]
[Fix] One more fix in redis destructor

8 years ago[Fix] Fix ipv6 mask application
Vsevolod Stakhov [Tue, 3 May 2016 12:02:35 +0000 (13:02 +0100)]
[Fix] Fix ipv6 mask application

8 years ago[Fix] Reverse options when received
Vsevolod Stakhov [Tue, 3 May 2016 11:59:13 +0000 (12:59 +0100)]
[Fix] Reverse options when received

8 years ago[Feature] Allow setting scores and actions from lua
Vsevolod Stakhov [Tue, 3 May 2016 11:23:18 +0000 (12:23 +0100)]
[Feature] Allow setting scores and actions from lua

8 years ago[Feature] Add more encodingsto cryptobox hash API
Vsevolod Stakhov [Tue, 3 May 2016 10:11:15 +0000 (11:11 +0100)]
[Feature] Add more encodingsto cryptobox hash API

8 years ago[Feature] Allow partial hash updates
Vsevolod Stakhov [Tue, 3 May 2016 09:51:36 +0000 (10:51 +0100)]
[Feature] Allow partial hash updates

8 years ago[Feature] Add task:get_rawbody method
Vsevolod Stakhov [Tue, 3 May 2016 09:06:55 +0000 (10:06 +0100)]
[Feature] Add task:get_rawbody method

8 years ago[Feature] Now cryptobox lua API accepts rspamd text as input
Vsevolod Stakhov [Tue, 3 May 2016 08:23:26 +0000 (09:23 +0100)]
[Feature] Now cryptobox lua API accepts rspamd text as input

8 years ago[Feature] Add some time manipulation functions for lua APi
Vsevolod Stakhov [Tue, 3 May 2016 08:14:05 +0000 (09:14 +0100)]
[Feature] Add some time manipulation functions for lua APi

8 years ago[Minor] Add whitelist for phishing module 618/head
Alexander Moisseev [Mon, 2 May 2016 14:34:32 +0000 (17:34 +0300)]
[Minor] Add whitelist for phishing module

8 years ago[Minor fix] Limit PHISHING to one shot
Alexander Moisseev [Mon, 2 May 2016 14:22:00 +0000 (17:22 +0300)]
[Minor fix] Limit PHISHING to one shot

8 years ago[Minor] Add redirector's TLD to PHISHING symbol options
Alexander Moisseev [Mon, 2 May 2016 14:13:56 +0000 (17:13 +0300)]
[Minor] Add redirector's TLD to PHISHING symbol options

8 years ago[Fix] Do not send NaN in json
Vsevolod Stakhov [Mon, 2 May 2016 13:44:25 +0000 (14:44 +0100)]
[Fix] Do not send NaN in json

Issue: #615
Reported by: @moisseev

8 years ago[Feature] Add 'symbols_enabled' and 'groups_enabled' to settings
Vsevolod Stakhov [Mon, 2 May 2016 12:49:01 +0000 (13:49 +0100)]
[Feature] Add 'symbols_enabled' and 'groups_enabled' to settings

8 years agoMerge pull request #614 from Sp1l/patch-1
Vsevolod Stakhov [Sat, 30 Apr 2016 21:00:32 +0000 (22:00 +0100)]
Merge pull request #614 from Sp1l/patch-1

Fix build with unmodified LibreSSL opensslv.h

8 years agoFix build with unmodified LibreSSL opensslv.h 614/head
Bernard Spil [Sat, 30 Apr 2016 18:06:52 +0000 (20:06 +0200)]
Fix build with unmodified LibreSSL opensslv.h

Add test for LibreSSL to use "old" methods when OPENSSL_VERSION_NUMBER is 0x20000000L

8 years ago[Feature] Add learn condition to the default configuration
Vsevolod Stakhov [Sat, 30 Apr 2016 14:51:08 +0000 (15:51 +0100)]
[Feature] Add learn condition to the default configuration

8 years ago[Fix] Fix conditional learning
Vsevolod Stakhov [Sat, 30 Apr 2016 14:44:45 +0000 (15:44 +0100)]
[Fix] Fix conditional learning

8 years ago[Fix] Fix return value for couple of lua functions
Vsevolod Stakhov [Sat, 30 Apr 2016 14:44:25 +0000 (15:44 +0100)]
[Fix] Fix return value for couple of lua functions

8 years ago[Fix] Fix setting of the lua top
Vsevolod Stakhov [Sat, 30 Apr 2016 14:37:58 +0000 (15:37 +0100)]
[Fix] Fix setting of the lua top

8 years ago[Minor] Add 'learn_condition' alias
Vsevolod Stakhov [Sat, 30 Apr 2016 12:35:22 +0000 (13:35 +0100)]
[Minor] Add 'learn_condition' alias

8 years ago[Feature] Implement conditional learning for classifiers
Vsevolod Stakhov [Sat, 30 Apr 2016 12:21:27 +0000 (13:21 +0100)]
[Feature] Implement conditional learning for classifiers

Issue: #613

8 years ago[Minor] Remove deprecated lua functions
Vsevolod Stakhov [Sat, 30 Apr 2016 12:21:08 +0000 (13:21 +0100)]
[Minor] Remove deprecated lua functions

8 years ago[Feature] Add learn conditions for classifiers
Vsevolod Stakhov [Sat, 30 Apr 2016 11:33:53 +0000 (12:33 +0100)]
[Feature] Add learn conditions for classifiers

Issue: #613

8 years ago[Feature] Save bayes probability in memory pool var
Vsevolod Stakhov [Sat, 30 Apr 2016 11:11:18 +0000 (12:11 +0100)]
[Feature] Save bayes probability in memory pool var

Issue: #613

8 years ago[Fix] More guards for redis free
Vsevolod Stakhov [Fri, 29 Apr 2016 16:18:54 +0000 (17:18 +0100)]
[Fix] More guards for redis free

8 years agoRelease 1.2.6
Vsevolod Stakhov [Fri, 29 Apr 2016 15:30:22 +0000 (16:30 +0100)]
Release 1.2.6

* Fix parsing of URLs in texts
* Fix creating of URLs from LUA
* Fix some more URL detector issues
* Fix unit tests
* Fix JIT compilation for PCRE2 expressions
* Fix JIT usage for PCRE2
* Fix UTF8 mode in PCRE2
* Add workaround for pre-historic compilers (#605)
* Fix and rescore R_PARTS_DIFFER logic
* Properly set lua paths for tests
* Fix SA rawbody processing - exclude top part
* Store text parts content with newlines stripped
* Properly support SA body regexps
* Fix body rules in SA plugin
* Fix setting of score for parts differ
* More fixes to parts distance calculations
    - Use hashed words instead of full words for speed
    - Improve levenstein distance calculations and penalise replaces
    - Always return number from 0 to 1
    - Use g_malloc instead of alloca
* Fix percents output in R_PARTS_DIFFER
* Plug memory leak in dkim module
* Plug minor memory leak in regexps creation

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years ago[Fix] Inverse logic for saving ANN
Vsevolod Stakhov [Fri, 29 Apr 2016 13:55:38 +0000 (14:55 +0100)]
[Fix] Inverse logic for saving ANN

8 years ago[Minor] Plug minor memory leak in regexps creation
Vsevolod Stakhov [Fri, 29 Apr 2016 13:18:44 +0000 (14:18 +0100)]
[Minor] Plug minor memory leak in regexps creation

8 years ago[Fix] Further tweaks to redis garbadge collection
Vsevolod Stakhov [Fri, 29 Apr 2016 13:04:07 +0000 (14:04 +0100)]
[Fix] Further tweaks to redis garbadge collection

8 years ago[CritFix] Plug memory leak in dkim module
Vsevolod Stakhov [Fri, 29 Apr 2016 13:01:48 +0000 (14:01 +0100)]
[CritFix] Plug memory leak in dkim module

8 years ago[Minor] Fix percents output in R_PARTS_DIFFER
Vsevolod Stakhov [Fri, 29 Apr 2016 12:23:40 +0000 (13:23 +0100)]
[Minor] Fix percents output in R_PARTS_DIFFER

8 years ago[Fix] More fixes to parts distance calculations
Vsevolod Stakhov [Fri, 29 Apr 2016 11:34:12 +0000 (12:34 +0100)]
[Fix] More fixes to parts distance calculations

- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca

8 years ago[Minor] Use more portable constants for uint64_t
Vsevolod Stakhov [Fri, 29 Apr 2016 07:58:52 +0000 (08:58 +0100)]
[Minor] Use more portable constants for uint64_t

8 years ago[Fix] Fix fann rewrite
Vsevolod Stakhov [Thu, 28 Apr 2016 17:52:36 +0000 (18:52 +0100)]
[Fix] Fix fann rewrite

8 years ago[Fix] Fix body rules in SA plugin
Vsevolod Stakhov [Thu, 28 Apr 2016 15:59:30 +0000 (16:59 +0100)]
[Fix] Fix body rules in SA plugin

8 years ago[CritFix] Properly support SA body regexps
Vsevolod Stakhov [Thu, 28 Apr 2016 15:58:55 +0000 (16:58 +0100)]
[CritFix] Properly support SA body regexps

8 years ago[Feature] Store text parts content with newlines stripped
Vsevolod Stakhov [Thu, 28 Apr 2016 15:58:13 +0000 (16:58 +0100)]
[Feature] Store text parts content with newlines stripped

8 years ago[CritFix] Fix SA rawbody processing - exclude top part
Vsevolod Stakhov [Thu, 28 Apr 2016 14:05:28 +0000 (15:05 +0100)]
[CritFix] Fix SA rawbody processing - exclude top part

8 years ago[Fix] Fix setting of score for parts differ
Vsevolod Stakhov [Thu, 28 Apr 2016 12:07:06 +0000 (13:07 +0100)]
[Fix] Fix setting of score for parts differ

8 years ago[Fix] Fix dynamic scoring of subject symbols
Vsevolod Stakhov [Thu, 28 Apr 2016 11:13:41 +0000 (12:13 +0100)]
[Fix] Fix dynamic scoring of subject symbols

Reported by: @moisseev

8 years ago[Minor] Rework subject rules as lua rules
Vsevolod Stakhov [Thu, 28 Apr 2016 08:46:10 +0000 (09:46 +0100)]
[Minor] Rework subject rules as lua rules

8 years agoMerge pull request #608 from moisseev/subject
Vsevolod Stakhov [Thu, 28 Apr 2016 08:28:23 +0000 (09:28 +0100)]
Merge pull request #608 from moisseev/subject

[Minor] Improve subject rules

8 years ago[Test] Properly set lua paths for tests
Vsevolod Stakhov [Thu, 28 Apr 2016 08:24:36 +0000 (09:24 +0100)]
[Test] Properly set lua paths for tests

8 years ago[Test] Disable broken tests
Vsevolod Stakhov [Thu, 28 Apr 2016 08:18:00 +0000 (09:18 +0100)]
[Test] Disable broken tests

8 years ago[Minor] Improve subject rules 608/head
Alexander Moisseev [Thu, 28 Apr 2016 07:46:15 +0000 (10:46 +0300)]
[Minor] Improve subject rules

Make scores depend on subject length
Also resolves #548

8 years ago[Minor] Reduce debug level
Vsevolod Stakhov [Wed, 27 Apr 2016 15:07:37 +0000 (16:07 +0100)]
[Minor] Reduce debug level

8 years ago[Fix] Fix varargs loop
Vsevolod Stakhov [Wed, 27 Apr 2016 15:07:13 +0000 (16:07 +0100)]
[Fix] Fix varargs loop

8 years ago[Fix] Fix and rescore R_PARTS_DIFFER logic
Vsevolod Stakhov [Wed, 27 Apr 2016 15:05:15 +0000 (16:05 +0100)]
[Fix] Fix and rescore R_PARTS_DIFFER logic

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years ago[Fix] Fix timeouts processing in lua_redis
Vsevolod Stakhov [Wed, 27 Apr 2016 14:25:40 +0000 (15:25 +0100)]
[Fix] Fix timeouts processing in lua_redis

8 years ago[Feature] Lock ANN file when loading
Vsevolod Stakhov [Wed, 27 Apr 2016 14:09:53 +0000 (15:09 +0100)]
[Feature] Lock ANN file when loading

8 years ago[Feature] Add more file utilities to lua_util
Vsevolod Stakhov [Wed, 27 Apr 2016 14:06:44 +0000 (15:06 +0100)]
[Feature] Add more file utilities to lua_util

8 years ago[Feature] Add locking routines for lua_util
Vsevolod Stakhov [Wed, 27 Apr 2016 13:21:25 +0000 (14:21 +0100)]
[Feature] Add locking routines for lua_util

8 years ago[Feature] Rework fann module to understand settings
Vsevolod Stakhov [Wed, 27 Apr 2016 13:07:33 +0000 (14:07 +0100)]
[Feature] Rework fann module to understand settings

8 years ago[Feature] Save settings id hash for convenience
Vsevolod Stakhov [Wed, 27 Apr 2016 12:56:44 +0000 (13:56 +0100)]
[Feature] Save settings id hash for convenience

8 years ago[Feature] Allow to get settings and settings id hash from lua_task
Vsevolod Stakhov [Wed, 27 Apr 2016 12:56:21 +0000 (13:56 +0100)]
[Feature] Allow to get settings and settings id hash from lua_task

8 years ago[Feature] Pass settings id to lua script from log helper
Vsevolod Stakhov [Wed, 27 Apr 2016 12:31:36 +0000 (13:31 +0100)]
[Feature] Pass settings id to lua script from log helper

8 years ago[Feature] Pass settings id to log helper
Vsevolod Stakhov [Wed, 27 Apr 2016 12:09:10 +0000 (13:09 +0100)]
[Feature] Pass settings id to log helper

8 years ago[Feature] Rework ratelimit module to set expiration
Vsevolod Stakhov [Tue, 26 Apr 2016 16:52:00 +0000 (17:52 +0100)]
[Feature] Rework ratelimit module to set expiration

8 years ago[Fix] Fix refcounts in lua_redis
Vsevolod Stakhov [Tue, 26 Apr 2016 16:51:41 +0000 (17:51 +0100)]
[Fix] Fix refcounts in lua_redis

8 years ago[Feature] Add simplier versions of refcounts
Vsevolod Stakhov [Tue, 26 Apr 2016 16:39:14 +0000 (17:39 +0100)]
[Feature] Add simplier versions of refcounts

Now REF_RETAIN and REF_RELEASE cannot be used for
interprocess/interthreads refcounting. However, for a single process
their performance should slightly increased.

New REF_RETAIN_ATOMIC and REF_RELEASE_ATOMIC are implemented to replace
old semantics.

8 years ago[Feature] Allow pipelining for redis.make_request
Vsevolod Stakhov [Tue, 26 Apr 2016 14:41:50 +0000 (15:41 +0100)]
[Feature] Allow pipelining for redis.make_request

8 years ago[Feature] Implement pipelining for redis async interface
Vsevolod Stakhov [Tue, 26 Apr 2016 13:49:28 +0000 (14:49 +0100)]
[Feature] Implement pipelining for redis async interface

8 years agoMerge pull request #607 from moisseev/patch-1
Vsevolod Stakhov [Tue, 26 Apr 2016 12:53:12 +0000 (13:53 +0100)]
Merge pull request #607 from moisseev/patch-1

[Minor] Combine `header` and `headers` metric groups

8 years ago[Minor] Combine `header` and `headers` metric groups 607/head
Alexander Moisseev [Tue, 26 Apr 2016 12:51:59 +0000 (15:51 +0300)]
[Minor] Combine `header` and `headers` metric groups

8 years agoMerge pull request #606 from smfreegard/rules_260416
Vsevolod Stakhov [Tue, 26 Apr 2016 12:40:58 +0000 (13:40 +0100)]
Merge pull request #606 from smfreegard/rules_260416

Rules updates

8 years agoAdd MISSING_FROM test 606/head
Steve Freegard [Tue, 26 Apr 2016 12:06:41 +0000 (13:06 +0100)]
Add MISSING_FROM test

8 years agoUpdate MULTIPLE_UNIQUE_HEADER to include RFC5322 rules
Steve Freegard [Tue, 26 Apr 2016 11:45:28 +0000 (12:45 +0100)]
Update MULTIPLE_UNIQUE_HEADER to include RFC5322 rules

8 years agoRaise MISSING_DATE on empty string
Steve Freegard [Tue, 26 Apr 2016 11:44:26 +0000 (12:44 +0100)]
Raise MISSING_DATE on empty string

8 years ago[Fix] Add more priority for config file symbols registered from UCL
Vsevolod Stakhov [Tue, 26 Apr 2016 11:16:58 +0000 (12:16 +0100)]
[Fix] Add more priority for config file symbols registered from UCL

8 years agoMerge pull request #604 from moisseev/patch-2
Vsevolod Stakhov [Tue, 26 Apr 2016 08:35:13 +0000 (09:35 +0100)]
Merge pull request #604 from moisseev/patch-2

Fix `RCVD_TLS_ALL` rule  when there are no `Received` headers

8 years ago[Minor] Add workaround for pre-historic compilers
Vsevolod Stakhov [Tue, 26 Apr 2016 08:33:25 +0000 (09:33 +0100)]
[Minor] Add workaround for pre-historic compilers

Issue: #605

8 years ago[Fix] Restore compatibility with old lua API behaviour
Vsevolod Stakhov [Mon, 25 Apr 2016 22:16:04 +0000 (23:16 +0100)]
[Fix] Restore compatibility with old lua API behaviour

8 years ago[Fix] Fix smtp grammar issues
Vsevolod Stakhov [Mon, 25 Apr 2016 16:12:34 +0000 (17:12 +0100)]
[Fix] Fix smtp grammar issues

8 years ago[Test] Add speed test for addr parser
Vsevolod Stakhov [Mon, 25 Apr 2016 16:12:22 +0000 (17:12 +0100)]
[Test] Add speed test for addr parser

8 years agoFix `RCVD_TLS_ALL` rule when there are no `Received` headers 604/head
Alexander Moisseev [Mon, 25 Apr 2016 15:29:00 +0000 (18:29 +0300)]
Fix `RCVD_TLS_ALL` rule  when there are no `Received` headers

8 years ago[Fix] Remove bad FANN file to save computational resources
Vsevolod Stakhov [Mon, 25 Apr 2016 11:25:44 +0000 (12:25 +0100)]
[Fix] Remove bad FANN file to save computational resources

8 years ago[Feature] Add util.unlink function
Vsevolod Stakhov [Mon, 25 Apr 2016 11:25:06 +0000 (12:25 +0100)]
[Feature] Add util.unlink function

8 years ago[Feature] Add support of address with at-domain list
Vsevolod Stakhov [Mon, 25 Apr 2016 10:01:39 +0000 (11:01 +0100)]
[Feature] Add support of address with at-domain list

8 years ago[Fix] Fix issue with missing recipients
Vsevolod Stakhov [Mon, 25 Apr 2016 09:54:58 +0000 (10:54 +0100)]
[Fix] Fix issue with missing recipients

8 years ago[Feature] Unescape and unquote smtp addresses
Vsevolod Stakhov [Mon, 25 Apr 2016 09:10:16 +0000 (10:10 +0100)]
[Feature] Unescape and unquote smtp addresses

8 years ago[Test] Add more tests for smtp address
Vsevolod Stakhov [Mon, 25 Apr 2016 09:09:56 +0000 (10:09 +0100)]
[Test] Add more tests for smtp address

8 years ago[Feature] Normalize quoted addresses
Vsevolod Stakhov [Mon, 25 Apr 2016 08:51:00 +0000 (09:51 +0100)]
[Feature] Normalize quoted addresses

8 years ago[Fix] Fix SMTP address parsing machine
Vsevolod Stakhov [Mon, 25 Apr 2016 08:40:00 +0000 (09:40 +0100)]
[Fix] Fix SMTP address parsing machine

8 years ago[Test] Improve SMTP address tests
Vsevolod Stakhov [Mon, 25 Apr 2016 08:39:50 +0000 (09:39 +0100)]
[Test] Improve SMTP address tests

8 years ago[Fix] Do not check recursion for non-DNS SPF record types
Vsevolod Stakhov [Mon, 25 Apr 2016 08:08:03 +0000 (09:08 +0100)]
[Fix] Do not check recursion for non-DNS SPF record types

8 years ago[Fix] Adopt lua task API for the new email addresses structure
Vsevolod Stakhov [Sun, 24 Apr 2016 12:11:24 +0000 (13:11 +0100)]
[Fix] Adopt lua task API for the new email addresses structure