]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years agoFight with hiredis API
Vsevolod Stakhov [Fri, 8 Jan 2016 18:46:09 +0000 (18:46 +0000)]
Fight with hiredis API

8 years agoFix setting of number of learns.
Vsevolod Stakhov [Fri, 8 Jan 2016 17:21:12 +0000 (17:21 +0000)]
Fix setting of number of learns.

8 years ago-1 is a *very* bad unit64_t
Vsevolod Stakhov [Fri, 8 Jan 2016 16:21:10 +0000 (16:21 +0000)]
-1 is a *very* bad unit64_t

8 years agoImplement the case of incrementing backends for bayes
Vsevolod Stakhov [Fri, 8 Jan 2016 16:08:07 +0000 (16:08 +0000)]
Implement the case of incrementing backends for bayes

8 years agoImpelement the concept when classifier values are integers
Vsevolod Stakhov [Fri, 8 Jan 2016 15:57:15 +0000 (15:57 +0000)]
Impelement the concept when classifier values are integers

8 years agoFix precendence for ! and &
Vsevolod Stakhov [Fri, 8 Jan 2016 15:46:37 +0000 (15:46 +0000)]
Fix precendence for ! and &

8 years agoFix redis queries
Vsevolod Stakhov [Fri, 8 Jan 2016 15:46:31 +0000 (15:46 +0000)]
Fix redis queries

8 years agoFix format string
Vsevolod Stakhov [Fri, 8 Jan 2016 15:29:41 +0000 (15:29 +0000)]
Fix format string

8 years agoRedis replies can also be strings
Vsevolod Stakhov [Fri, 8 Jan 2016 15:28:32 +0000 (15:28 +0000)]
Redis replies can also be strings

8 years agoReorder learn procedure.
Vsevolod Stakhov [Fri, 8 Jan 2016 15:17:02 +0000 (15:17 +0000)]
Reorder learn procedure.

8 years agoImplement redis learning
Vsevolod Stakhov [Fri, 8 Jan 2016 15:16:52 +0000 (15:16 +0000)]
Implement redis learning

8 years agoUbuntu 12.04 contains totally broken hiredis
Vsevolod Stakhov [Fri, 8 Jan 2016 13:45:36 +0000 (13:45 +0000)]
Ubuntu 12.04 contains totally broken hiredis

8 years agoAdd conditions for using redis stat backend
Vsevolod Stakhov [Thu, 7 Jan 2016 23:54:09 +0000 (23:54 +0000)]
Add conditions for using redis stat backend

8 years agoImplement redis classification
Vsevolod Stakhov [Thu, 7 Jan 2016 18:19:53 +0000 (18:19 +0000)]
Implement redis classification

8 years agoMove redis.c to redis_backend.c
Vsevolod Stakhov [Thu, 7 Jan 2016 16:58:40 +0000 (16:58 +0000)]
Move redis.c to redis_backend.c

8 years agoAdd missing backend methods
Vsevolod Stakhov [Thu, 7 Jan 2016 16:43:24 +0000 (16:43 +0000)]
Add missing backend methods

8 years agoRestore redis backend compilation.
Vsevolod Stakhov [Thu, 7 Jan 2016 16:12:22 +0000 (16:12 +0000)]
Restore redis backend compilation.

8 years agoFix parsing of strings lists from implicit arrays
Vsevolod Stakhov [Thu, 7 Jan 2016 12:53:13 +0000 (12:53 +0000)]
Fix parsing of strings lists from implicit arrays

8 years agoFix tests
Vsevolod Stakhov [Thu, 7 Jan 2016 11:27:41 +0000 (11:27 +0000)]
Fix tests

8 years agoAllow lua script call for autolearn
Vsevolod Stakhov [Thu, 7 Jan 2016 09:19:48 +0000 (09:19 +0000)]
Allow lua script call for autolearn

8 years agoAllow to set autolearn to [ham_score, spam_score]
Vsevolod Stakhov [Thu, 7 Jan 2016 09:10:27 +0000 (09:10 +0000)]
Allow to set autolearn to [ham_score, spam_score]

8 years agoFix autolearn switch
Vsevolod Stakhov [Thu, 7 Jan 2016 09:03:06 +0000 (09:03 +0000)]
Fix autolearn switch

8 years agoDo not autolearn if we have the same class for this message
Vsevolod Stakhov [Wed, 6 Jan 2016 23:03:25 +0000 (23:03 +0000)]
Do not autolearn if we have the same class for this message

8 years agoDo not treat autolearn errors as fatal
Vsevolod Stakhov [Wed, 6 Jan 2016 22:27:44 +0000 (22:27 +0000)]
Do not treat autolearn errors as fatal

8 years agoImplement autolearn
Vsevolod Stakhov [Wed, 6 Jan 2016 18:18:07 +0000 (18:18 +0000)]
Implement autolearn

8 years agoAdd a simple workaround to avoid configtest crashes
Vsevolod Stakhov [Wed, 6 Jan 2016 17:46:09 +0000 (17:46 +0000)]
Add a simple workaround to avoid configtest crashes

8 years agoRestore statistics for libstat
Vsevolod Stakhov [Wed, 6 Jan 2016 17:41:28 +0000 (17:41 +0000)]
Restore statistics for libstat

8 years agoRework and refactor memory pools code
Vsevolod Stakhov [Wed, 6 Jan 2016 17:19:04 +0000 (17:19 +0000)]
Rework and refactor memory pools code

8 years agoFix parsing of string lists.
Vsevolod Stakhov [Wed, 6 Jan 2016 17:18:53 +0000 (17:18 +0000)]
Fix parsing of string lists.

8 years agoAdd preliminary support of async events in libstat
Vsevolod Stakhov [Wed, 6 Jan 2016 16:19:48 +0000 (16:19 +0000)]
Add preliminary support of async events in libstat

8 years agoFix several memory corruption issues
Vsevolod Stakhov [Wed, 6 Jan 2016 16:05:16 +0000 (16:05 +0000)]
Fix several memory corruption issues

8 years agoAdd cleanup code for statistics
Vsevolod Stakhov [Wed, 6 Jan 2016 16:00:32 +0000 (16:00 +0000)]
Add cleanup code for statistics

8 years agoStore event base in statistics library
Vsevolod Stakhov [Wed, 6 Jan 2016 15:25:07 +0000 (15:25 +0000)]
Store event base in statistics library

8 years agoFix learning.
Vsevolod Stakhov [Wed, 6 Jan 2016 15:08:48 +0000 (15:08 +0000)]
Fix learning.

8 years agoAdd learning implementation.
Vsevolod Stakhov [Wed, 6 Jan 2016 14:24:07 +0000 (14:24 +0000)]
Add learning implementation.

8 years agoMerge branch 'stat-rework'
Vsevolod Stakhov [Tue, 5 Jan 2016 19:04:40 +0000 (19:04 +0000)]
Merge branch 'stat-rework'

8 years agoFix init/deinit of statistics
Vsevolod Stakhov [Tue, 5 Jan 2016 19:04:24 +0000 (19:04 +0000)]
Fix init/deinit of statistics

8 years agoFix statistics processing
Vsevolod Stakhov [Tue, 5 Jan 2016 18:55:56 +0000 (18:55 +0000)]
Fix statistics processing

8 years agoFix cache init
Vsevolod Stakhov [Tue, 5 Jan 2016 18:07:27 +0000 (18:07 +0000)]
Fix cache init

8 years agoFix bayes classifier for the new architecture
Vsevolod Stakhov [Tue, 5 Jan 2016 18:02:47 +0000 (18:02 +0000)]
Fix bayes classifier for the new architecture

8 years agoDisable redis until rework is done
Vsevolod Stakhov [Tue, 5 Jan 2016 18:02:32 +0000 (18:02 +0000)]
Disable redis until rework is done

8 years agoFix configuration issues
Vsevolod Stakhov [Tue, 5 Jan 2016 17:30:58 +0000 (17:30 +0000)]
Fix configuration issues

8 years agoSimplify learn and process functions
Vsevolod Stakhov [Tue, 5 Jan 2016 17:24:40 +0000 (17:24 +0000)]
Simplify learn and process functions

8 years agoFix tokenization
Vsevolod Stakhov [Tue, 5 Jan 2016 16:59:02 +0000 (16:59 +0000)]
Fix tokenization

8 years agoRework mmapped file backend
Vsevolod Stakhov [Tue, 5 Jan 2016 16:37:40 +0000 (16:37 +0000)]
Rework mmapped file backend

8 years agoRework sqlite backend
Vsevolod Stakhov [Tue, 5 Jan 2016 16:03:17 +0000 (16:03 +0000)]
Rework sqlite backend

8 years agoAnother fix to the whole libstat architecture
Vsevolod Stakhov [Tue, 5 Jan 2016 15:45:57 +0000 (15:45 +0000)]
Another fix to the whole libstat architecture

8 years agoStart rework
Vsevolod Stakhov [Tue, 5 Jan 2016 15:20:28 +0000 (15:20 +0000)]
Start rework

8 years agoAdopt confighelp for required and default attrs
Vsevolod Stakhov [Mon, 4 Jan 2016 18:50:19 +0000 (18:50 +0000)]
Adopt confighelp for required and default attrs

8 years agoAdd 'required' and 'default' values for doc strings
Vsevolod Stakhov [Mon, 4 Jan 2016 18:44:18 +0000 (18:44 +0000)]
Add 'required' and 'default' values for doc strings

8 years agoAdd doc strings for fuzzy check module
Vsevolod Stakhov [Mon, 4 Jan 2016 18:39:16 +0000 (18:39 +0000)]
Add doc strings for fuzzy check module

8 years agoAdd doc strings for regexp module
Vsevolod Stakhov [Mon, 4 Jan 2016 18:09:36 +0000 (18:09 +0000)]
Add doc strings for regexp module

8 years agoSlightly improve documentation style
Vsevolod Stakhov [Mon, 4 Jan 2016 14:03:14 +0000 (14:03 +0000)]
Slightly improve documentation style

8 years agoImprove hyperscan compiler helper logging
Vsevolod Stakhov [Mon, 4 Jan 2016 13:59:56 +0000 (13:59 +0000)]
Improve hyperscan compiler helper logging

8 years agoFix another critical issue with memory corruption and ownership
Vsevolod Stakhov [Mon, 4 Jan 2016 13:34:46 +0000 (13:34 +0000)]
Fix another critical issue with memory corruption and ownership

8 years agoAdd more information about lua regexp to the structure
Vsevolod Stakhov [Mon, 4 Jan 2016 13:16:09 +0000 (13:16 +0000)]
Add more information about lua regexp to the structure

8 years agoAvoid cached regexps
Vsevolod Stakhov [Mon, 4 Jan 2016 12:58:37 +0000 (12:58 +0000)]
Avoid cached regexps

8 years agoDo not use cached regexps to avoid unnecessary gc
Vsevolod Stakhov [Mon, 4 Jan 2016 12:58:13 +0000 (12:58 +0000)]
Do not use cached regexps to avoid unnecessary gc

8 years agoAdd docstrings for spf module
Vsevolod Stakhov [Mon, 4 Jan 2016 09:59:08 +0000 (09:59 +0000)]
Add docstrings for spf module

8 years agoMerge pull request #472 from fatalbanana/master
Vsevolod Stakhov [Mon, 4 Jan 2016 10:00:08 +0000 (10:00 +0000)]
Merge pull request #472 from fatalbanana/master

Oops: fix conditions in SURBL plugin

8 years agoOops: fix conditions in SURBL plugin 472/head
Andrew Lewis [Sun, 3 Jan 2016 21:41:30 +0000 (23:41 +0200)]
Oops: fix conditions in SURBL plugin

8 years agoMerge pull request #471 from fatalbanana/rbl
Vsevolod Stakhov [Sun, 3 Jan 2016 18:27:45 +0000 (18:27 +0000)]
Merge pull request #471 from fatalbanana/rbl

RBL module: remove `private_ips` setting in favour of `local_addrs`

8 years agoRBL module: remove `private_ips` setting in favour of `local_addrs` 471/head
Andrew Lewis [Sun, 3 Jan 2016 18:10:40 +0000 (20:10 +0200)]
RBL module: remove `private_ips` setting in favour of `local_addrs`

8 years agoAdd some more networks as defined in RFC as private
Vsevolod Stakhov [Sun, 3 Jan 2016 17:17:37 +0000 (17:17 +0000)]
Add some more networks as defined in RFC as private

8 years agoAdd local_addrs/local_networks option
Vsevolod Stakhov [Sun, 3 Jan 2016 17:13:14 +0000 (17:13 +0000)]
Add local_addrs/local_networks option

8 years agoFix IPv4 loopback detection
Vsevolod Stakhov [Sun, 3 Jan 2016 17:12:58 +0000 (17:12 +0000)]
Fix IPv4 loopback detection

8 years agoAdd local addrs extension available in the conviguration
Vsevolod Stakhov [Sun, 3 Jan 2016 17:00:56 +0000 (17:00 +0000)]
Add local addrs extension available in the conviguration

8 years agoConstify radix tree search code
Vsevolod Stakhov [Sun, 3 Jan 2016 17:00:40 +0000 (17:00 +0000)]
Constify radix tree search code

8 years agoAdd ip:is_local method to lua API
Vsevolod Stakhov [Sun, 3 Jan 2016 16:39:55 +0000 (16:39 +0000)]
Add ip:is_local method to lua API

8 years agoMerge pull request #470 from fatalbanana/uribl
Vsevolod Stakhov [Sun, 3 Jan 2016 16:39:16 +0000 (16:39 +0000)]
Merge pull request #470 from fatalbanana/uribl

Add URIBL_BLOCKED symbol

8 years agoAdd URIBL_BLOCKED symbol 470/head
Andrew Lewis [Sun, 3 Jan 2016 16:37:10 +0000 (18:37 +0200)]
Add URIBL_BLOCKED symbol

8 years agoSkip SPF from local addresses
Vsevolod Stakhov [Sun, 3 Jan 2016 11:40:46 +0000 (11:40 +0000)]
Skip SPF from local addresses

Issue: #469

8 years agoAdd method to check if IP is local
Vsevolod Stakhov [Sun, 3 Jan 2016 11:35:45 +0000 (11:35 +0000)]
Add method to check if IP is local

8 years agoMerge pull request #469 from fatalbanana/spf
Vsevolod Stakhov [Sun, 3 Jan 2016 11:19:42 +0000 (11:19 +0000)]
Merge pull request #469 from fatalbanana/spf

Unconditionally disable SPF for authenticated users

8 years agoUnconditionally disable SPF for authenticated users 469/head
Andrew Lewis [Sun, 3 Jan 2016 10:58:51 +0000 (12:58 +0200)]
Unconditionally disable SPF for authenticated users

8 years agoMerge pull request #467 from fatalbanana/surblfallthrough
Vsevolod Stakhov [Sun, 3 Jan 2016 01:30:47 +0000 (01:30 +0000)]
Merge pull request #467 from fatalbanana/surblfallthrough

SURBL: allow fallthrough to default symbol

8 years agoMerge pull request #468 from fatalbanana/settings
Vsevolod Stakhov [Sun, 3 Jan 2016 01:30:39 +0000 (01:30 +0000)]
Merge pull request #468 from fatalbanana/settings

Settings: fix IP match

8 years agoSURBL: Divorce config from RBL config 467/head
Andrew Lewis [Sat, 2 Jan 2016 21:56:30 +0000 (23:56 +0200)]
SURBL: Divorce config from RBL config

8 years agoSURBL: Add missing symbols to metric
Andrew Lewis [Sat, 2 Jan 2016 21:55:12 +0000 (23:55 +0200)]
SURBL: Add missing symbols to metric

8 years agoSettings: fix IP match 468/head
Andrew Lewis [Sat, 2 Jan 2016 21:44:38 +0000 (23:44 +0200)]
Settings: fix IP match

8 years agoSURBL: Allow fallthrough to default symbol
Andrew Lewis [Sat, 2 Jan 2016 21:41:47 +0000 (23:41 +0200)]
SURBL: Allow fallthrough to default symbol

8 years agoAdd DKIM module help
Vsevolod Stakhov [Sat, 2 Jan 2016 19:22:06 +0000 (19:22 +0000)]
Add DKIM module help

8 years agoAllow NULL path to add top level documentation strings
Vsevolod Stakhov [Sat, 2 Jan 2016 19:04:02 +0000 (19:04 +0000)]
Allow NULL path to add top level documentation strings

8 years agoSlightly improve help output
Vsevolod Stakhov [Sat, 2 Jan 2016 18:46:06 +0000 (18:46 +0000)]
Slightly improve help output

8 years agoAdd documentation strings for SURBL module
Vsevolod Stakhov [Sat, 2 Jan 2016 18:35:17 +0000 (18:35 +0000)]
Add documentation strings for SURBL module

8 years agoAdd method to insert documentation to the specific path
Vsevolod Stakhov [Sat, 2 Jan 2016 17:37:28 +0000 (17:37 +0000)]
Add method to insert documentation to the specific path

8 years agoImplement printing of scores in the log file
Vsevolod Stakhov [Sat, 2 Jan 2016 00:00:59 +0000 (00:00 +0000)]
Implement printing of scores in the log file

8 years agoAdd symbols_scores in log file
Vsevolod Stakhov [Fri, 1 Jan 2016 23:56:58 +0000 (23:56 +0000)]
Add symbols_scores in log file

8 years agoAdd another override to fix packaging
Vsevolod Stakhov [Fri, 1 Jan 2016 17:38:09 +0000 (17:38 +0000)]
Add another override to fix packaging

8 years agoAnother try to fix debug packages
Vsevolod Stakhov [Fri, 1 Jan 2016 16:23:38 +0000 (16:23 +0000)]
Another try to fix debug packages

8 years agoAdd debuginfo package
Vsevolod Stakhov [Thu, 31 Dec 2015 18:04:17 +0000 (18:04 +0000)]
Add debuginfo package

8 years agoAdd another bunch of missed files.
Vsevolod Stakhov [Thu, 31 Dec 2015 17:54:04 +0000 (17:54 +0000)]
Add another bunch of missed files.

8 years agoAdd CR_SURBL
Vsevolod Stakhov [Thu, 31 Dec 2015 17:51:55 +0000 (17:51 +0000)]
Add CR_SURBL

8 years agoAnother missing file.
Vsevolod Stakhov [Thu, 31 Dec 2015 17:48:16 +0000 (17:48 +0000)]
Another missing file.

8 years agoFix snowball distribution.
Vsevolod Stakhov [Thu, 31 Dec 2015 17:43:49 +0000 (17:43 +0000)]
Fix snowball distribution.

8 years agoRemove bloody submodules.
Vsevolod Stakhov [Thu, 31 Dec 2015 17:38:02 +0000 (17:38 +0000)]
Remove bloody submodules.

8 years agoMerge pull request #444 from lzmths/master
Vsevolod Stakhov [Thu, 31 Dec 2015 17:06:09 +0000 (17:06 +0000)]
Merge pull request #444 from lzmths/master

Refactoring conditional directives that break parts of statements.

8 years agoMerge pull request #465 from fatalbanana/docs
Vsevolod Stakhov [Thu, 31 Dec 2015 17:05:45 +0000 (17:05 +0000)]
Merge pull request #465 from fatalbanana/docs

Fix documentation inaccuracy WRT history_file

8 years agoMerge pull request #464 from fatalbanana/surbl
Vsevolod Stakhov [Thu, 31 Dec 2015 17:05:36 +0000 (17:05 +0000)]
Merge pull request #464 from fatalbanana/surbl

Drop deprecated SURBL bits; rename JP_SURBL_MULTI to ABUSE_SURBL; add SURBL_BLOCKED

8 years agoAdd SURBL_BLOCKED symbol 464/head
Andrew Lewis [Thu, 31 Dec 2015 12:24:41 +0000 (14:24 +0200)]
Add SURBL_BLOCKED symbol