]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years ago[Minor] Improve handling of directories for rspamc
Vsevolod Stakhov [Sat, 24 Sep 2016 12:33:54 +0000 (13:33 +0100)]
[Minor] Improve handling of directories for rspamc

8 years ago[Fix] Fix issues with the recent SPF changes
Vsevolod Stakhov [Sat, 24 Sep 2016 12:16:01 +0000 (13:16 +0100)]
[Fix] Fix issues with the recent SPF changes

8 years ago[Minor] Fix build with glib < 2.40
Vsevolod Stakhov [Sat, 24 Sep 2016 12:11:53 +0000 (13:11 +0100)]
[Minor] Fix build with glib < 2.40

8 years ago[Minor] Allow regexp patterns for HTTP router
Vsevolod Stakhov [Sat, 24 Sep 2016 11:24:55 +0000 (12:24 +0100)]
[Minor] Allow regexp patterns for HTTP router

8 years agoMerge pull request #975 from fatalbanana/spf
Vsevolod Stakhov [Fri, 23 Sep 2016 15:11:27 +0000 (16:11 +0100)]
Merge pull request #975 from fatalbanana/spf

[Feature] Add R_SPF_PERMFAIL symbol

8 years agoMerge pull request #976 from fatalbanana/google
Vsevolod Stakhov [Fri, 23 Sep 2016 15:11:01 +0000 (16:11 +0100)]
Merge pull request #976 from fatalbanana/google

[Feature] Rules for scoring Google Message-ID fixes

8 years ago[Feature] Rules for scoring Google Message-ID fixes 976/head
Andrew Lewis [Fri, 23 Sep 2016 13:58:54 +0000 (15:58 +0200)]
[Feature] Rules for scoring Google Message-ID fixes

8 years ago[Fix] Fix DKIM signing for messages with no newline at the end
Vsevolod Stakhov [Fri, 23 Sep 2016 13:38:48 +0000 (14:38 +0100)]
[Fix] Fix DKIM signing for messages with no newline at the end

8 years ago[Fix] Do not add extra newline in MIME mode
Vsevolod Stakhov [Fri, 23 Sep 2016 13:38:34 +0000 (14:38 +0100)]
[Fix] Do not add extra newline in MIME mode

8 years ago[Feature] Add R_SPF_PERMFAIL symbol 975/head
Andrew Lewis [Thu, 22 Sep 2016 09:55:07 +0000 (11:55 +0200)]
[Feature] Add R_SPF_PERMFAIL symbol

 - Also yield R_SPF_DNSFAIL on bogus redirect
 - Also grow SPF tests

8 years ago[Minor] Allow to parse GString memory pool vars
Vsevolod Stakhov [Fri, 23 Sep 2016 12:45:19 +0000 (13:45 +0100)]
[Minor] Allow to parse GString memory pool vars

8 years ago[Fix] More spaces fix in DKIM signature
Vsevolod Stakhov [Fri, 23 Sep 2016 12:34:46 +0000 (13:34 +0100)]
[Fix] More spaces fix in DKIM signature

8 years ago[Fix] Fix crash on OpenBSD in `url_email_start`
Vsevolod Stakhov [Fri, 23 Sep 2016 11:38:45 +0000 (12:38 +0100)]
[Fix] Fix crash on OpenBSD in `url_email_start`

Issue: #969
MFH: true

8 years ago[Minor] More fixes to headers folding
Vsevolod Stakhov [Fri, 23 Sep 2016 10:58:24 +0000 (11:58 +0100)]
[Minor] More fixes to headers folding

8 years ago[Fix] Fix DKIM calculations
Vsevolod Stakhov [Fri, 23 Sep 2016 10:12:10 +0000 (11:12 +0100)]
[Fix] Fix DKIM calculations

8 years ago[Feature] Try to guess line endings when folding headers
Vsevolod Stakhov [Thu, 22 Sep 2016 17:10:43 +0000 (18:10 +0100)]
[Feature] Try to guess line endings when folding headers

8 years ago[Feature] Allow to store settings in redis
Vsevolod Stakhov [Thu, 22 Sep 2016 16:35:46 +0000 (17:35 +0100)]
[Feature] Allow to store settings in redis

8 years ago[Feature] Use FFI to optimize SA module
Vsevolod Stakhov [Thu, 22 Sep 2016 11:49:04 +0000 (12:49 +0100)]
[Feature] Use FFI to optimize SA module

8 years ago[Feature] Add ffi friendly version of process_regexp function
Vsevolod Stakhov [Thu, 22 Sep 2016 11:48:41 +0000 (12:48 +0100)]
[Feature] Add ffi friendly version of process_regexp function

8 years ago[Fix] Another fix for rdns write errors
Vsevolod Stakhov [Thu, 22 Sep 2016 08:24:28 +0000 (09:24 +0100)]
[Fix] Another fix for rdns write errors

Issue: #971

8 years agoMerge pull request #974 from fatalbanana/spf
Vsevolod Stakhov [Wed, 21 Sep 2016 17:21:12 +0000 (18:21 +0100)]
Merge pull request #974 from fatalbanana/spf

[Fix] Yield R_SPF_DNSFAIL if lookup of included record fails

8 years agoMerge pull request #973 from fatalbanana/dmarc
Vsevolod Stakhov [Wed, 21 Sep 2016 17:21:03 +0000 (18:21 +0100)]
Merge pull request #973 from fatalbanana/dmarc

[Minor] Return policy in DMARC_POLICY_ACCEPT options

8 years ago[Test] Some tests for SPF 974/head
Andrew Lewis [Wed, 21 Sep 2016 15:25:21 +0000 (17:25 +0200)]
[Test] Some tests for SPF

8 years ago[Fix] Yield R_SPF_DNSFAIL if lookup of included record fails
Andrew Lewis [Wed, 21 Sep 2016 12:55:08 +0000 (14:55 +0200)]
[Fix] Yield R_SPF_DNSFAIL if lookup of included record fails

8 years ago[Minor] Return policy in DMARC_POLICY_ACCEPT options 973/head
Andrew Lewis [Wed, 21 Sep 2016 11:30:18 +0000 (13:30 +0200)]
[Minor] Return policy in DMARC_POLICY_ACCEPT options

8 years ago[Fix] Another try to fix RDNS events processing logic
Vsevolod Stakhov [Wed, 21 Sep 2016 11:38:05 +0000 (12:38 +0100)]
[Fix] Another try to fix RDNS events processing logic

Issue: #971
MFH: true

8 years ago[Fix] Fix format string usage in controller errors handling
Vsevolod Stakhov [Tue, 20 Sep 2016 22:05:07 +0000 (23:05 +0100)]
[Fix] Fix format string usage in controller errors handling

Issue: #970
MFH: true

8 years ago[Fix] Fix DNS write errors processing
Vsevolod Stakhov [Tue, 20 Sep 2016 21:57:22 +0000 (22:57 +0100)]
[Fix] Fix DNS write errors processing

Issue: #971
MFH: true

8 years ago[Minor] MX checks should be one_shot
Vsevolod Stakhov [Tue, 20 Sep 2016 13:16:55 +0000 (14:16 +0100)]
[Minor] MX checks should be one_shot

8 years ago[Fix] Use memmove for overlapping regions
Vsevolod Stakhov [Tue, 20 Sep 2016 13:04:32 +0000 (14:04 +0100)]
[Fix] Use memmove for overlapping regions

Issue: #961
MFH: true

8 years ago[Minor] Allow port-less connections for lua_tcp
Vsevolod Stakhov [Tue, 20 Sep 2016 13:04:16 +0000 (14:04 +0100)]
[Minor] Allow port-less connections for lua_tcp

8 years agoMerge pull request #936 from fatalbanana/dkim
Vsevolod Stakhov [Mon, 19 Sep 2016 20:42:13 +0000 (21:42 +0100)]
Merge pull request #936 from fatalbanana/dkim

[Feature] Add R_DKIM_PERMFAIL symbol

8 years agoMerge pull request #951 from moisseev/mid
Vsevolod Stakhov [Mon, 19 Sep 2016 20:41:58 +0000 (21:41 +0100)]
Merge pull request #951 from moisseev/mid

[Feature] Add `mid` Lua module

8 years ago[Feature] Add R_DKIM_PERMFAIL symbol 936/head
Andrew Lewis [Mon, 19 Sep 2016 14:56:16 +0000 (16:56 +0200)]
[Feature] Add R_DKIM_PERMFAIL symbol

8 years ago[Fix] mid: handle incorrect rgexps in the map 951/head
Alexander Moisseev [Mon, 19 Sep 2016 18:38:45 +0000 (21:38 +0300)]
[Fix] mid: handle incorrect rgexps in the map

8 years ago[Minor] Fix ASN caching
Vsevolod Stakhov [Mon, 19 Sep 2016 15:49:55 +0000 (16:49 +0100)]
[Minor] Fix ASN caching

8 years agoMerge pull request #960 from fatalbanana/minor
Vsevolod Stakhov [Mon, 19 Sep 2016 15:37:39 +0000 (16:37 +0100)]
Merge pull request #960 from fatalbanana/minor

[Minor] Clarify display message

8 years ago[Feature] Add redis cache to asn module
Vsevolod Stakhov [Mon, 19 Sep 2016 13:28:01 +0000 (14:28 +0100)]
[Feature] Add redis cache to asn module

8 years ago[Fix] mid: fix map initialization
Alexander Moisseev [Mon, 19 Sep 2016 13:38:46 +0000 (17:38 +0400)]
[Fix] mid: fix map initialization

8 years ago[Test] Test DKIM permfail
Andrew Lewis [Mon, 19 Sep 2016 08:27:55 +0000 (10:27 +0200)]
[Test] Test DKIM permfail

8 years agoMerge pull request #958 from moisseev/once_received
Vsevolod Stakhov [Mon, 19 Sep 2016 12:38:00 +0000 (13:38 +0100)]
Merge pull request #958 from moisseev/once_received

[Minor] Disable ONCE_RECEIVED for local networks

8 years ago[Minor] Clarify display message 960/head
Andrew Lewis [Mon, 19 Sep 2016 08:47:59 +0000 (10:47 +0200)]
[Minor] Clarify display message

8 years ago[Minor] Disable ONCE_RECEIVED for local networks 958/head
Alexander Moisseev [Mon, 19 Sep 2016 06:48:38 +0000 (09:48 +0300)]
[Minor] Disable ONCE_RECEIVED for local networks

8 years agoMerge pull request #956 from moisseev/patch-1
Vsevolod Stakhov [Sun, 18 Sep 2016 20:33:25 +0000 (21:33 +0100)]
Merge pull request #956 from moisseev/patch-1

[Fix] Skip MX check for authenticated users and local networks

8 years ago[Feature] Add `mid` Lua module
Alexander Moisseev [Sat, 17 Sep 2016 09:01:10 +0000 (12:01 +0300)]
[Feature] Add `mid` Lua module

8 years ago[Fix] Skip MX check for authenticated users and local networks 956/head
Alexander Moisseev [Sun, 18 Sep 2016 08:02:44 +0000 (11:02 +0300)]
[Fix] Skip MX check for authenticated users and local networks

8 years ago[Minor] Resolve A record if all MXes are absent
Vsevolod Stakhov [Sat, 17 Sep 2016 17:31:19 +0000 (18:31 +0100)]
[Minor] Resolve A record if all MXes are absent

8 years ago[Minor] Use HELO when SMTP from is empty
Vsevolod Stakhov [Sat, 17 Sep 2016 17:28:59 +0000 (18:28 +0100)]
[Minor] Use HELO when SMTP from is empty

8 years ago[Feature] Add plugin to check MX'es for the sender's domain
Vsevolod Stakhov [Sat, 17 Sep 2016 15:35:35 +0000 (16:35 +0100)]
[Feature] Add plugin to check MX'es for the sender's domain

8 years ago[Minor] Some fixes to lua_tcp module
Vsevolod Stakhov [Sat, 17 Sep 2016 15:35:07 +0000 (16:35 +0100)]
[Minor] Some fixes to lua_tcp module

8 years ago[Minor] Allow to set timeout for a connection
Vsevolod Stakhov [Sat, 17 Sep 2016 12:35:15 +0000 (13:35 +0100)]
[Minor] Allow to set timeout for a connection

8 years ago[Minor] Use byte array not gstring for input buffer
Vsevolod Stakhov [Sat, 17 Sep 2016 12:28:22 +0000 (13:28 +0100)]
[Minor] Use byte array not gstring for input buffer

8 years ago[Feature] Rework lua tcp module
Vsevolod Stakhov [Sat, 17 Sep 2016 12:22:20 +0000 (13:22 +0100)]
[Feature] Rework lua tcp module

8 years ago[Fix] Fix parsing of lua comments with empty lines
Vsevolod Stakhov [Fri, 16 Sep 2016 17:45:43 +0000 (18:45 +0100)]
[Fix] Fix parsing of lua comments with empty lines

8 years ago[Minor] Improve logging for fann train
Vsevolod Stakhov [Fri, 16 Sep 2016 11:18:04 +0000 (12:18 +0100)]
[Minor] Improve logging for fann train

8 years ago[Minor] Reduce log noise
Vsevolod Stakhov [Fri, 16 Sep 2016 11:05:20 +0000 (12:05 +0100)]
[Minor] Reduce log noise

8 years ago[Minor] Fix compilation
Vsevolod Stakhov [Thu, 15 Sep 2016 11:09:40 +0000 (12:09 +0100)]
[Minor] Fix compilation

8 years ago[Minor] Use attachments filenames as bayes tokens
Vsevolod Stakhov [Thu, 15 Sep 2016 10:57:34 +0000 (11:57 +0100)]
[Minor] Use attachments filenames as bayes tokens

8 years ago[Minor] Improve constant memcmp function
Vsevolod Stakhov [Wed, 14 Sep 2016 22:53:01 +0000 (23:53 +0100)]
[Minor] Improve constant memcmp function

8 years agoMerge pull request #952 from fatalbanana/rlimit4
Vsevolod Stakhov [Wed, 14 Sep 2016 10:02:44 +0000 (11:02 +0100)]
Merge pull request #952 from fatalbanana/rlimit4

Ratelimit fixes

8 years ago[Minor] Use mime recipients count as a metatoken
Vsevolod Stakhov [Wed, 14 Sep 2016 09:55:08 +0000 (10:55 +0100)]
[Minor] Use mime recipients count as a metatoken

8 years ago[Minor] Fix whitelisted_user map initialisation 952/head
Andrew Lewis [Wed, 14 Sep 2016 08:39:20 +0000 (10:39 +0200)]
[Minor] Fix whitelisted_user map initialisation

8 years ago[Minor] Ratelimit: don't copy data
Andrew Lewis [Wed, 14 Sep 2016 06:56:24 +0000 (08:56 +0200)]
[Minor] Ratelimit: don't copy data

8 years ago[Fix] Allow plain IP addresses in Rspamd maps
Vsevolod Stakhov [Tue, 13 Sep 2016 15:26:21 +0000 (16:26 +0100)]
[Fix] Allow plain IP addresses in Rspamd maps

MFH: true

8 years agoMerge pull request #950 from fatalbanana/rlimit3
Vsevolod Stakhov [Tue, 13 Sep 2016 13:08:47 +0000 (14:08 +0100)]
Merge pull request #950 from fatalbanana/rlimit3

More ratelimit cleanup

8 years ago[Minor] Remove more useless code from ratelimit 950/head
Andrew Lewis [Tue, 13 Sep 2016 13:01:52 +0000 (15:01 +0200)]
[Minor] Remove more useless code from ratelimit

8 years agoMerge pull request #949 from fatalbanana/rbl
Vsevolod Stakhov [Tue, 13 Sep 2016 12:26:06 +0000 (13:26 +0100)]
Merge pull request #949 from fatalbanana/rbl

[Minor] RBL: Display matched IP instead of thing being matched against

8 years agoMerge pull request #948 from fatalbanana/rlimit3
Vsevolod Stakhov [Tue, 13 Sep 2016 12:25:58 +0000 (13:25 +0100)]
Merge pull request #948 from fatalbanana/rlimit3

[Minor] Some small changes to ratelimit

8 years ago[Feature] Normalize all ANN inputs
Vsevolod Stakhov [Tue, 13 Sep 2016 12:22:38 +0000 (13:22 +0100)]
[Feature] Normalize all ANN inputs

8 years ago[Minor] Some small changes to ratelimit 948/head
Andrew Lewis [Tue, 13 Sep 2016 09:02:44 +0000 (11:02 +0200)]
[Minor] Some small changes to ratelimit

 - Don't bother calling init() on builtin keywords
 - Adjust adaptive ratelimits to better deal with new model
 - Populate user_data from custom keyword file
 - Restore & extend user-specific ratelimit behaviour

8 years ago[Minor] RBL: Display matched IP instead of thing being matched against 949/head
Andrew Lewis [Tue, 13 Sep 2016 08:01:43 +0000 (10:01 +0200)]
[Minor] RBL: Display matched IP instead of thing being matched against

8 years ago[Minor] Do not use shortcut ANNs
Vsevolod Stakhov [Mon, 12 Sep 2016 17:24:28 +0000 (18:24 +0100)]
[Minor] Do not use shortcut ANNs

8 years ago[Minor] Fix fann inputs count check
Vsevolod Stakhov [Mon, 12 Sep 2016 16:47:35 +0000 (17:47 +0100)]
[Minor] Fix fann inputs count check

8 years ago[Minor] Remove debug message
Vsevolod Stakhov [Mon, 12 Sep 2016 16:34:38 +0000 (17:34 +0100)]
[Minor] Remove debug message

8 years agoMerge pull request #946 from fatalbanana/rlimit3
Vsevolod Stakhov [Mon, 12 Sep 2016 16:35:50 +0000 (17:35 +0100)]
Merge pull request #946 from fatalbanana/rlimit3

[Minor] Fix ratelimit rework: don't recycle stale value

8 years ago[Minor] Fix ratelimit rework: don't recycle stale value 946/head
Andrew Lewis [Mon, 12 Sep 2016 16:23:04 +0000 (18:23 +0200)]
[Minor] Fix ratelimit rework: don't recycle stale value

8 years agoMerge pull request #945 from fatalbanana/rlimit3
Vsevolod Stakhov [Mon, 12 Sep 2016 15:17:49 +0000 (16:17 +0100)]
Merge pull request #945 from fatalbanana/rlimit3

[Feature] User-defined ratelimits

8 years ago[Feature] Fann scores now uses metadata from a message
Vsevolod Stakhov [Mon, 12 Sep 2016 15:15:44 +0000 (16:15 +0100)]
[Feature] Fann scores now uses metadata from a message

By introducing of extra data, it is now possible to train ANN with
metadata of messages improving quality of filtering.

8 years ago[Feature] Allow to pass extra data from plugins to log helper
Vsevolod Stakhov [Mon, 12 Sep 2016 15:15:12 +0000 (16:15 +0100)]
[Feature] Allow to pass extra data from plugins to log helper

8 years ago[Feature] Return symbol scores when getting resulting symbols
Vsevolod Stakhov [Mon, 12 Sep 2016 15:14:49 +0000 (16:14 +0100)]
[Feature] Return symbol scores when getting resulting symbols

8 years ago[Feature] User-defined ratelimits 945/head
Andrew Lewis [Mon, 12 Sep 2016 15:12:05 +0000 (17:12 +0200)]
[Feature] User-defined ratelimits

8 years ago[Minor] Set symmetric activation functions for ANN
Vsevolod Stakhov [Mon, 12 Sep 2016 12:23:25 +0000 (13:23 +0100)]
[Minor] Set symmetric activation functions for ANN

8 years ago[Fix] Do not classify when a message has not enough tokens
Vsevolod Stakhov [Mon, 12 Sep 2016 11:31:43 +0000 (12:31 +0100)]
[Fix] Do not classify when a message has not enough tokens

Issue: #556
MFH: true

8 years ago[Minor] Explicitly reinit libevent PRNG on fork
Vsevolod Stakhov [Sun, 11 Sep 2016 21:03:57 +0000 (22:03 +0100)]
[Minor] Explicitly reinit libevent PRNG on fork

8 years agoMerge pull request #942 from fatalbanana/rlimit
Vsevolod Stakhov [Sat, 10 Sep 2016 15:24:14 +0000 (16:24 +0100)]
Merge pull request #942 from fatalbanana/rlimit

Ratelimit: handle nil values & fix nonconformant key

8 years ago[Fix] Properly handle nil values in ratelimit plugin 942/head
Andrew Lewis [Fri, 9 Sep 2016 20:42:38 +0000 (22:42 +0200)]
[Fix] Properly handle nil values in ratelimit plugin

 - Also fix nonconformant ratelimit key

8 years agoMerge pull request #941 from fatalbanana/xunit
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:40 +0000 (16:37 +0100)]
Merge pull request #941 from fatalbanana/xunit

[Minor] Generate XUnit output from tests

8 years agoMerge pull request #940 from fatalbanana/rlimit
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:33 +0000 (16:37 +0100)]
Merge pull request #940 from fatalbanana/rlimit

[Fix] Fix setting ratelimit key for 'ip' bucket

8 years agoMerge pull request #939 from fatalbanana/hfilter
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:27 +0000 (16:37 +0100)]
Merge pull request #939 from fatalbanana/hfilter

[Minor] Mostly disable Hfilter for local networks as well

8 years agoMerge pull request #938 from fatalbanana/rbl
Vsevolod Stakhov [Fri, 9 Sep 2016 15:37:08 +0000 (16:37 +0100)]
Merge pull request #938 from fatalbanana/rbl

[Feature] Descriptive options for RBL symbols

8 years ago[CritFix] Fix hyperscan compilation on regexp change
Vsevolod Stakhov [Fri, 9 Sep 2016 15:17:49 +0000 (16:17 +0100)]
[CritFix] Fix hyperscan compilation on regexp change

Rspamd could use an incorrect hyperscan database in the case when a
single regexp has been changed. In this case, Rspamd did not recalculate
the cached files causing shifting of regexp IDs. Subsequently, that
caused random regexp to match whilst completely different patterns were
expected.

With this change, Rspamd also takes care about the order of regexps
(by including it in the crypto hash). This change eliminates the issue
and Rspamd can deal with regexps changes correctly.

MFH: true

8 years ago[Minor] Generate XUnit output from tests 941/head
Andrew Lewis [Fri, 9 Sep 2016 15:13:24 +0000 (17:13 +0200)]
[Minor] Generate XUnit output from tests

8 years ago[Fix] Fix setting ratelimit key for 'ip' bucket 940/head
Andrew Lewis [Fri, 9 Sep 2016 14:55:17 +0000 (16:55 +0200)]
[Fix] Fix setting ratelimit key for 'ip' bucket

8 years ago[Fix] Fix processing of redirect in SPF includes
Vsevolod Stakhov [Fri, 9 Sep 2016 13:09:56 +0000 (14:09 +0100)]
[Fix] Fix processing of redirect in SPF includes

MFH: true

8 years ago[Fix] Fix processing of fuzzy learns from Lua
Vsevolod Stakhov [Fri, 9 Sep 2016 13:06:18 +0000 (14:06 +0100)]
[Fix] Fix processing of fuzzy learns from Lua

8 years ago[Feature] Add decompression support in rspamd client
Vsevolod Stakhov [Fri, 9 Sep 2016 12:50:37 +0000 (13:50 +0100)]
[Feature] Add decompression support in rspamd client

8 years ago[Feature] Add replies compression
Vsevolod Stakhov [Fri, 9 Sep 2016 12:39:09 +0000 (13:39 +0100)]
[Feature] Add replies compression

8 years ago[Feature] Preserve decompression context between tasks
Vsevolod Stakhov [Fri, 9 Sep 2016 11:39:38 +0000 (12:39 +0100)]
[Feature] Preserve decompression context between tasks

8 years ago[Feature] Add support for dictionary in client compression
Vsevolod Stakhov [Fri, 9 Sep 2016 11:08:35 +0000 (12:08 +0100)]
[Feature] Add support for dictionary in client compression

8 years ago[Feature] Allow to use dictionaries for compression
Vsevolod Stakhov [Fri, 9 Sep 2016 10:20:29 +0000 (11:20 +0100)]
[Feature] Allow to use dictionaries for compression