]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sat, 24 Sep 2016 12:33:54 +0000 (13:33 +0100)]
[Minor] Improve handling of directories for rspamc
Vsevolod Stakhov [Sat, 24 Sep 2016 12:16:01 +0000 (13:16 +0100)]
[Fix] Fix issues with the recent SPF changes
Vsevolod Stakhov [Sat, 24 Sep 2016 12:11:53 +0000 (13:11 +0100)]
[Minor] Fix build with glib < 2.40
Vsevolod Stakhov [Sat, 24 Sep 2016 11:24:55 +0000 (12:24 +0100)]
[Minor] Allow regexp patterns for HTTP router
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
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
Andrew Lewis [Fri, 23 Sep 2016 13:58:54 +0000 (15:58 +0200)]
[Feature] Rules for scoring Google Message-ID fixes
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
Vsevolod Stakhov [Fri, 23 Sep 2016 13:38:34 +0000 (14:38 +0100)]
[Fix] Do not add extra newline in MIME mode
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
Vsevolod Stakhov [Fri, 23 Sep 2016 12:45:19 +0000 (13:45 +0100)]
[Minor] Allow to parse GString memory pool vars
Vsevolod Stakhov [Fri, 23 Sep 2016 12:34:46 +0000 (13:34 +0100)]
[Fix] More spaces fix in DKIM signature
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
Vsevolod Stakhov [Fri, 23 Sep 2016 10:58:24 +0000 (11:58 +0100)]
[Minor] More fixes to headers folding
Vsevolod Stakhov [Fri, 23 Sep 2016 10:12:10 +0000 (11:12 +0100)]
[Fix] Fix DKIM calculations
Vsevolod Stakhov [Thu, 22 Sep 2016 17:10:43 +0000 (18:10 +0100)]
[Feature] Try to guess line endings when folding headers
Vsevolod Stakhov [Thu, 22 Sep 2016 16:35:46 +0000 (17:35 +0100)]
[Feature] Allow to store settings in redis
Vsevolod Stakhov [Thu, 22 Sep 2016 11:49:04 +0000 (12:49 +0100)]
[Feature] Use FFI to optimize SA module
Vsevolod Stakhov [Thu, 22 Sep 2016 11:48:41 +0000 (12:48 +0100)]
[Feature] Add ffi friendly version of process_regexp function
Vsevolod Stakhov [Thu, 22 Sep 2016 08:24:28 +0000 (09:24 +0100)]
[Fix] Another fix for rdns write errors
Issue: #971
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
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
Andrew Lewis [Wed, 21 Sep 2016 15:25:21 +0000 (17:25 +0200)]
[Test] Some tests for SPF
Andrew Lewis [Wed, 21 Sep 2016 12:55:08 +0000 (14:55 +0200)]
[Fix] Yield R_SPF_DNSFAIL if lookup of included record fails
Andrew Lewis [Wed, 21 Sep 2016 11:30:18 +0000 (13:30 +0200)]
[Minor] Return policy in DMARC_POLICY_ACCEPT options
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
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
Vsevolod Stakhov [Tue, 20 Sep 2016 21:57:22 +0000 (22:57 +0100)]
[Fix] Fix DNS write errors processing
Issue: #971
MFH: true
Vsevolod Stakhov [Tue, 20 Sep 2016 13:16:55 +0000 (14:16 +0100)]
[Minor] MX checks should be one_shot
Vsevolod Stakhov [Tue, 20 Sep 2016 13:04:32 +0000 (14:04 +0100)]
[Fix] Use memmove for overlapping regions
Issue: #961
MFH: true
Vsevolod Stakhov [Tue, 20 Sep 2016 13:04:16 +0000 (14:04 +0100)]
[Minor] Allow port-less connections for lua_tcp
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
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
Andrew Lewis [Mon, 19 Sep 2016 14:56:16 +0000 (16:56 +0200)]
[Feature] Add R_DKIM_PERMFAIL symbol
Alexander Moisseev [Mon, 19 Sep 2016 18:38:45 +0000 (21:38 +0300)]
[Fix] mid: handle incorrect rgexps in the map
Vsevolod Stakhov [Mon, 19 Sep 2016 15:49:55 +0000 (16:49 +0100)]
[Minor] Fix ASN caching
Vsevolod Stakhov [Mon, 19 Sep 2016 15:37:39 +0000 (16:37 +0100)]
Merge pull request #960 from fatalbanana/minor
[Minor] Clarify display message
Vsevolod Stakhov [Mon, 19 Sep 2016 13:28:01 +0000 (14:28 +0100)]
[Feature] Add redis cache to asn module
Alexander Moisseev [Mon, 19 Sep 2016 13:38:46 +0000 (17:38 +0400)]
[Fix] mid: fix map initialization
Andrew Lewis [Mon, 19 Sep 2016 08:27:55 +0000 (10:27 +0200)]
[Test] Test DKIM permfail
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
Andrew Lewis [Mon, 19 Sep 2016 08:47:59 +0000 (10:47 +0200)]
[Minor] Clarify display message
Alexander Moisseev [Mon, 19 Sep 2016 06:48:38 +0000 (09:48 +0300)]
[Minor] Disable ONCE_RECEIVED for local networks
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
Alexander Moisseev [Sat, 17 Sep 2016 09:01:10 +0000 (12:01 +0300)]
[Feature] Add `mid` Lua module
Alexander Moisseev [Sun, 18 Sep 2016 08:02:44 +0000 (11:02 +0300)]
[Fix] Skip MX check for authenticated users and local networks
Vsevolod Stakhov [Sat, 17 Sep 2016 17:31:19 +0000 (18:31 +0100)]
[Minor] Resolve A record if all MXes are absent
Vsevolod Stakhov [Sat, 17 Sep 2016 17:28:59 +0000 (18:28 +0100)]
[Minor] Use HELO when SMTP from is empty
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
Vsevolod Stakhov [Sat, 17 Sep 2016 15:35:07 +0000 (16:35 +0100)]
[Minor] Some fixes to lua_tcp module
Vsevolod Stakhov [Sat, 17 Sep 2016 12:35:15 +0000 (13:35 +0100)]
[Minor] Allow to set timeout for a connection
Vsevolod Stakhov [Sat, 17 Sep 2016 12:28:22 +0000 (13:28 +0100)]
[Minor] Use byte array not gstring for input buffer
Vsevolod Stakhov [Sat, 17 Sep 2016 12:22:20 +0000 (13:22 +0100)]
[Feature] Rework lua tcp module
Vsevolod Stakhov [Fri, 16 Sep 2016 17:45:43 +0000 (18:45 +0100)]
[Fix] Fix parsing of lua comments with empty lines
Vsevolod Stakhov [Fri, 16 Sep 2016 11:18:04 +0000 (12:18 +0100)]
[Minor] Improve logging for fann train
Vsevolod Stakhov [Fri, 16 Sep 2016 11:05:20 +0000 (12:05 +0100)]
[Minor] Reduce log noise
Vsevolod Stakhov [Thu, 15 Sep 2016 11:09:40 +0000 (12:09 +0100)]
[Minor] Fix compilation
Vsevolod Stakhov [Thu, 15 Sep 2016 10:57:34 +0000 (11:57 +0100)]
[Minor] Use attachments filenames as bayes tokens
Vsevolod Stakhov [Wed, 14 Sep 2016 22:53:01 +0000 (23:53 +0100)]
[Minor] Improve constant memcmp function
Vsevolod Stakhov [Wed, 14 Sep 2016 10:02:44 +0000 (11:02 +0100)]
Merge pull request #952 from fatalbanana/rlimit4
Ratelimit fixes
Vsevolod Stakhov [Wed, 14 Sep 2016 09:55:08 +0000 (10:55 +0100)]
[Minor] Use mime recipients count as a metatoken
Andrew Lewis [Wed, 14 Sep 2016 08:39:20 +0000 (10:39 +0200)]
[Minor] Fix whitelisted_user map initialisation
Andrew Lewis [Wed, 14 Sep 2016 06:56:24 +0000 (08:56 +0200)]
[Minor] Ratelimit: don't copy data
Vsevolod Stakhov [Tue, 13 Sep 2016 15:26:21 +0000 (16:26 +0100)]
[Fix] Allow plain IP addresses in Rspamd maps
MFH: true
Vsevolod Stakhov [Tue, 13 Sep 2016 13:08:47 +0000 (14:08 +0100)]
Merge pull request #950 from fatalbanana/rlimit3
More ratelimit cleanup
Andrew Lewis [Tue, 13 Sep 2016 13:01:52 +0000 (15:01 +0200)]
[Minor] Remove more useless code from ratelimit
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
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
Vsevolod Stakhov [Tue, 13 Sep 2016 12:22:38 +0000 (13:22 +0100)]
[Feature] Normalize all ANN inputs
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
Andrew Lewis [Tue, 13 Sep 2016 08:01:43 +0000 (10:01 +0200)]
[Minor] RBL: Display matched IP instead of thing being matched against
Vsevolod Stakhov [Mon, 12 Sep 2016 17:24:28 +0000 (18:24 +0100)]
[Minor] Do not use shortcut ANNs
Vsevolod Stakhov [Mon, 12 Sep 2016 16:47:35 +0000 (17:47 +0100)]
[Minor] Fix fann inputs count check
Vsevolod Stakhov [Mon, 12 Sep 2016 16:34:38 +0000 (17:34 +0100)]
[Minor] Remove debug message
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
Andrew Lewis [Mon, 12 Sep 2016 16:23:04 +0000 (18:23 +0200)]
[Minor] Fix ratelimit rework: don't recycle stale value
Vsevolod Stakhov [Mon, 12 Sep 2016 15:17:49 +0000 (16:17 +0100)]
Merge pull request #945 from fatalbanana/rlimit3
[Feature] User-defined ratelimits
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.
Vsevolod Stakhov [Mon, 12 Sep 2016 15:15:12 +0000 (16:15 +0100)]
[Feature] Allow to pass extra data from plugins to log helper
Vsevolod Stakhov [Mon, 12 Sep 2016 15:14:49 +0000 (16:14 +0100)]
[Feature] Return symbol scores when getting resulting symbols
Andrew Lewis [Mon, 12 Sep 2016 15:12:05 +0000 (17:12 +0200)]
[Feature] User-defined ratelimits
Vsevolod Stakhov [Mon, 12 Sep 2016 12:23:25 +0000 (13:23 +0100)]
[Minor] Set symmetric activation functions for ANN
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
Vsevolod Stakhov [Sun, 11 Sep 2016 21:03:57 +0000 (22:03 +0100)]
[Minor] Explicitly reinit libevent PRNG on fork
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
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
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
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
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
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
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
Andrew Lewis [Fri, 9 Sep 2016 15:13:24 +0000 (17:13 +0200)]
[Minor] Generate XUnit output from tests
Andrew Lewis [Fri, 9 Sep 2016 14:55:17 +0000 (16:55 +0200)]
[Fix] Fix setting ratelimit key for 'ip' bucket
Vsevolod Stakhov [Fri, 9 Sep 2016 13:09:56 +0000 (14:09 +0100)]
[Fix] Fix processing of redirect in SPF includes
MFH: true
Vsevolod Stakhov [Fri, 9 Sep 2016 13:06:18 +0000 (14:06 +0100)]
[Fix] Fix processing of fuzzy learns from Lua
Vsevolod Stakhov [Fri, 9 Sep 2016 12:50:37 +0000 (13:50 +0100)]
[Feature] Add decompression support in rspamd client
Vsevolod Stakhov [Fri, 9 Sep 2016 12:39:09 +0000 (13:39 +0100)]
[Feature] Add replies compression
Vsevolod Stakhov [Fri, 9 Sep 2016 11:39:38 +0000 (12:39 +0100)]
[Feature] Preserve decompression context between tasks
Vsevolod Stakhov [Fri, 9 Sep 2016 11:08:35 +0000 (12:08 +0100)]
[Feature] Add support for dictionary in client compression
Vsevolod Stakhov [Fri, 9 Sep 2016 10:20:29 +0000 (11:20 +0100)]
[Feature] Allow to use dictionaries for compression