]>
source.dussan.org Git - rspamd.git/log
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
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 [Thu, 1 Sep 2016 11:45:22 +0000 (12:45 +0100)]
Release 1.3.5
* [CritFix] Fix issue with finding of end of lines pointers
* [Feature] Add DMARC_NA symbol
* [Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols
* [Feature] Add spamhaus DROP dnsbl
* [Feature] Add termination callbacks for workers
* [Feature] Add user-agent for rspamc
* [Feature] Allow parsing of mailbox messages from the commandline
* [Feature] Support excluding selected users from ratelimits
* [Feature] Yield DMARC_DNSFAIL on lookup failure
* [Fix] Banish table.maxn from Lua parts
* [Fix] Do not use headers to calculate messages digests
* [Fix] Fix absurdic scores for HFILTER_URL_ONLY
* [Fix] Fix actrie patterns
* [Fix] Fix format string
* [Fix] Fix handling of '\0' in lua_tcp
* [Fix] Fix issue with empty messages and dkim
* [Fix] Fix min_learns option
* [Fix] Fix options for SPF dnsfail symbol
* [Fix] Fix processing of symbols when reject limit is reached
* [Fix] Settings: fix `authenticated` parameter (#886)
* [Fix] Try to avoid race condition when using rrd
* [Fix] Use the correct macro to get the size of controller
* [Fix] Fix build and tests on OpenBSD
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Andrew Lewis [Thu, 1 Sep 2016 08:22:50 +0000 (10:22 +0200)]
[Fix] Banish table.maxn from Lua parts
Andrew Lewis [Thu, 1 Sep 2016 07:42:12 +0000 (09:42 +0200)]
[Minor] Don't yield R_DKIM_NA for local/authenticated/whitelisted senders
Vsevolod Stakhov [Thu, 1 Sep 2016 10:34:46 +0000 (11:34 +0100)]
[Fix] Use the correct macro to get the size of control
Vsevolod Stakhov [Wed, 31 Aug 2016 20:37:27 +0000 (21:37 +0100)]
[Minor] Do not blame about unsupported file locks
Vsevolod Stakhov [Wed, 31 Aug 2016 16:07:44 +0000 (17:07 +0100)]
[Fix] Fix actrie patterns
Andrew Lewis [Wed, 31 Aug 2016 15:00:22 +0000 (17:00 +0200)]
[Minor] Silence RBL log
Vsevolod Stakhov [Wed, 31 Aug 2016 14:33:58 +0000 (15:33 +0100)]
[Minor] Tune printf for hex and base32 input strings
Vsevolod Stakhov [Wed, 31 Aug 2016 20:40:34 +0000 (21:40 +0100)]
Merge pull request #918 from fatalbanana/rspamd-1.3
[Minor] Remove artefact
Andrew Lewis [Wed, 31 Aug 2016 11:21:56 +0000 (13:21 +0200)]
[Minor] Remove artefact
Vsevolod Stakhov [Wed, 31 Aug 2016 10:54:00 +0000 (11:54 +0100)]
[Fix] Fix format string
Vsevolod Stakhov [Wed, 31 Aug 2016 10:40:03 +0000 (11:40 +0100)]
[Fix] Fix min_learns option
Andrew Lewis [Wed, 31 Aug 2016 08:37:50 +0000 (10:37 +0200)]
[Feature] Support excluding selected users from ratelimits
Andrew Lewis [Wed, 31 Aug 2016 06:34:14 +0000 (08:34 +0200)]
[Minor] Disable IP Score for authenticated users & local networks
Andrew Lewis [Tue, 30 Aug 2016 20:48:13 +0000 (22:48 +0200)]
[Minor] Fix forcing actions in DMARC plugin
Andrew Lewis [Tue, 30 Aug 2016 15:06:34 +0000 (17:06 +0200)]
[Minor] Yield DMARC_NA when From header is missing
- Also make DMARC symbols configurable
- Register some additional symbols
Vsevolod Stakhov [Tue, 30 Aug 2016 11:49:02 +0000 (12:49 +0100)]
[Fix] Fix options for SPF dnsfail symbol
Vsevolod Stakhov [Tue, 30 Aug 2016 11:46:42 +0000 (12:46 +0100)]
[Fix] Fix processing of symbols when reject limit is reached
Andrew Lewis [Mon, 29 Aug 2016 12:41:12 +0000 (14:41 +0200)]
[Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols
Andrew Lewis [Mon, 29 Aug 2016 10:21:35 +0000 (12:21 +0200)]
[Minor] Rein in excess QP/base64 symbols
Vsevolod Stakhov [Sun, 28 Aug 2016 16:35:46 +0000 (17:35 +0100)]
[Feature] Add spamhaus DROP dnsbl
Vsevolod Stakhov [Fri, 26 Aug 2016 13:32:36 +0000 (14:32 +0100)]
[Fix] Fix issue with empty messages and dkim
Issue: #880
Andrew Lewis [Fri, 26 Aug 2016 12:11:53 +0000 (14:11 +0200)]
[Feature] Add DMARC_NA symbol
- Also allow forcing action on DMARC_NA; DMARC_DNSFAIL; DMARC_BAD_POLICY
Vsevolod Stakhov [Thu, 25 Aug 2016 15:32:23 +0000 (16:32 +0100)]
[Fix] Fix absurdic scores for HFILTER_URL_ONLY
Andrew Lewis [Thu, 25 Aug 2016 12:47:18 +0000 (14:47 +0200)]
[Feature] Yield DMARC_DNSFAIL on lookup failure
Vsevolod Stakhov [Thu, 25 Aug 2016 12:11:31 +0000 (13:11 +0100)]
[CritFix] Fix issue with finding of end of lines pointers
Vsevolod Stakhov [Wed, 24 Aug 2016 20:45:20 +0000 (21:45 +0100)]
[Fix] Try to avoid race condition when using rrd
Vsevolod Stakhov [Wed, 24 Aug 2016 20:27:16 +0000 (21:27 +0100)]
[Feature] Add termination callbacks for workers
Andrew Lewis [Wed, 24 Aug 2016 09:54:59 +0000 (11:54 +0200)]
[Fix] Settings: fix `authenticated` parameter (#886)
Vsevolod Stakhov [Wed, 24 Aug 2016 09:33:33 +0000 (10:33 +0100)]
[Fix] Do not use headers to calculate messages digests
Andrew Lewis [Wed, 24 Aug 2016 09:05:10 +0000 (11:05 +0200)]
[Minor] Skip greylisting for local networks as well
Andrew Lewis [Wed, 24 Aug 2016 07:07:22 +0000 (09:07 +0200)]
[Minor] Disable DKIM for authed users & local networks (#888)
Vsevolod Stakhov [Tue, 23 Aug 2016 18:14:12 +0000 (19:14 +0100)]
[Fix] Fix handling of '\0' in lua_tcp
Vsevolod Stakhov [Tue, 23 Aug 2016 14:48:43 +0000 (15:48 +0100)]
[Feature] Allow parsing of mailbox messages from the commandline
Vsevolod Stakhov [Tue, 23 Aug 2016 14:40:48 +0000 (15:40 +0100)]
[Feature] Add user-agent for rspamc
Vsevolod Stakhov [Tue, 23 Aug 2016 12:16:56 +0000 (13:16 +0100)]
Release 1.3.4
* [Feature] ASN module; support matching ASN/country in multimap
* [Feature] Add SPF method in spf return result
* [Feature] Add Yandex and Mail.ru forwarding rules
* [Feature] Add mempool maps in multimap
* [Feature] Add rule for identifying mail sent by eval()'d PHP code
* [Feature] Add support of stub DNSSEC resolver to rdns
* [Feature] Add task:get_digest method
* [Feature] Allow for more fine-grained scoring for ip_score
* [Feature] Allow to get digest of a mime part from lua
* [Feature] Allow to print message digest in logs
* [Feature] Fold DKIM-Signature header
* [Feature] Implement encrypted logs
* [Feature] Log URLs encrypted if we have log encryption pubkey
* [Feature] Pass authenticated bit to lua
* [Feature] Read redis backend statistics configuration from global section
* [Feature] Show the exact value matched for multima symbols
* [Feature] Store task checksum
* [Fix] Avoid setting limits when required elements are missing
* [Fix] DMARC: Fix alignment checking for subdomains
* [Fix] DMARC: deal with missing and spurious spaces
* [Fix] Defer insertion of results in ip_score to avoid skewing stats
* [Fix] Disable DMARC for local/authorized mail
* [Fix] Fix handling of proxied headers in controller
* [Fix] Fix hex printing of strings
* [Fix] Fix issue with spaces in maps
* [Fix] Fix parsing of forwarded IP
* [Fix] Fix reload in some plugins and workers
* [Fix] Fix reloading on SIGHUP
* [Fix] Fix some border cases for DKIM canonicalization
* [Fix] Fix url maps
* [Fix] Make dnssec configurable option disabled by default for now
* [Fix] rspamadm statconvert: force db to be a string
* [Fix] rspamadm statconvert: use db/password for learn cache
* [Rework] Rework flags in rspamd logger
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Tue, 23 Aug 2016 11:57:37 +0000 (12:57 +0100)]
[Fix] Fix parsing of commas
Vsevolod Stakhov [Tue, 23 Aug 2016 11:36:21 +0000 (12:36 +0100)]
[Fix] Fix parsing of forwarded IP
Vsevolod Stakhov [Tue, 23 Aug 2016 11:24:08 +0000 (12:24 +0100)]
[Fix] Fix handling of proxied headers in controller
Vsevolod Stakhov [Tue, 23 Aug 2016 11:23:52 +0000 (12:23 +0100)]
[Feature] Add rspamd_memrchr utility function
Vsevolod Stakhov [Mon, 22 Aug 2016 17:12:22 +0000 (18:12 +0100)]
Revert "Disable reload command in rc scripts"
This reverts commit
869af99b494d89e6d100657db4d5430cc6539f51 .
Vsevolod Stakhov [Mon, 22 Aug 2016 14:23:49 +0000 (15:23 +0100)]
[Fix] Fix some border cases for DKIM canonicalization
Issue: #880
Vsevolod Stakhov [Mon, 22 Aug 2016 13:58:52 +0000 (14:58 +0100)]
Merge pull request #882 from fatalbanana/dmarc
[Fix] DMARC: Fix alignment checking for subdomains
Andrew Lewis [Mon, 22 Aug 2016 12:47:18 +0000 (14:47 +0200)]
[Fix] DMARC: Fix alignment checking for subdomains
Vsevolod Stakhov [Mon, 22 Aug 2016 13:36:54 +0000 (14:36 +0100)]
Merge pull request #879 from fatalbanana/mmpre
[Minor] Fix registration of prefilters in multimap (#878)
Vsevolod Stakhov [Mon, 22 Aug 2016 13:36:37 +0000 (14:36 +0100)]
Merge pull request #877 from fatalbanana/c
Composites
Andrew Lewis [Mon, 22 Aug 2016 10:24:15 +0000 (12:24 +0200)]
[Minor] Fix registration of prefilters in multimap (#878)
Andrew Lewis [Mon, 22 Aug 2016 09:38:33 +0000 (11:38 +0200)]
[Minor] Composite: Don't penalise for SPF/DKIM failure when DMARC passed
Andrew Lewis [Mon, 22 Aug 2016 09:07:09 +0000 (11:07 +0200)]
[Minor] Composite: Remove FORGED_RECIPIENTS if it's forwarding
Vsevolod Stakhov [Mon, 22 Aug 2016 08:45:05 +0000 (09:45 +0100)]
Merge pull request #876 from moisseev/d3Evolution
[WebUI] Update d3evolution
Vsevolod Stakhov [Mon, 22 Aug 2016 08:44:44 +0000 (09:44 +0100)]
Merge pull request #875 from fatalbanana/c
[Minor] Fix composite (#874)
Alexander Moisseev [Mon, 22 Aug 2016 08:13:02 +0000 (11:13 +0300)]
[WebUI] Update d3evolution
Update to moisseev/D3Evolution@
3e5867b9940eadf14b677fa2cd333e02a0929e4e
- Fix stacked area yScale for negative values
Andrew Lewis [Mon, 22 Aug 2016 07:47:32 +0000 (09:47 +0200)]
[Minor] Fix composite (#874)
Vsevolod Stakhov [Sun, 21 Aug 2016 22:41:07 +0000 (23:41 +0100)]
Merge pull request #872 from fatalbanana/d
[Minor] Fix log message
Andrew Lewis [Sun, 21 Aug 2016 16:21:28 +0000 (18:21 +0200)]
[Minor] Fix log message
- Also clean up X_PHP_EVAL rule
Vsevolod Stakhov [Sun, 21 Aug 2016 15:33:07 +0000 (16:33 +0100)]
Merge pull request #866 from fatalbanana/whitelist
[Minor] Sort & clean up spf-dkim/dmarc whitelist
Vsevolod Stakhov [Sun, 21 Aug 2016 15:31:37 +0000 (16:31 +0100)]
Merge pull request #867 from xpunkt/patch-1
kam_lotto7 moved to r_lotto_subject
Vsevolod Stakhov [Sun, 21 Aug 2016 15:27:57 +0000 (16:27 +0100)]
[Fix] Disable DMARC for local/authorized mail
Vsevolod Stakhov [Sun, 21 Aug 2016 15:04:19 +0000 (16:04 +0100)]
Merge pull request #870 from AlexeySa/master
[Feature] Add Yandex and Mail.ru forwarding rules
Alexey AL [Sun, 21 Aug 2016 12:14:46 +0000 (15:14 +0300)]
Update forwarding.lua
Alexey AL [Sun, 21 Aug 2016 11:54:09 +0000 (14:54 +0300)]
Update composites.conf
Alexey AL [Sun, 21 Aug 2016 11:52:41 +0000 (14:52 +0300)]
Update composites.conf
Alexey AL [Sun, 21 Aug 2016 11:45:31 +0000 (14:45 +0300)]
Fix Mail.ru forwarding (bad SPF)
Alexey AL [Sun, 21 Aug 2016 11:44:02 +0000 (14:44 +0300)]
[Feature] Add Yandex and Mail.ru forwarding rules
Benny Pedersen [Sat, 20 Aug 2016 23:40:13 +0000 (01:40 +0200)]
kam_lotto7 moved to r_lotto_subject
hopefully i did this right
Andrew Lewis [Sat, 20 Aug 2016 20:14:39 +0000 (22:14 +0200)]
[Minor] Sort & clean up spf-dkim/dmarc whitelists
- Removed domains with SPF records indicating no authorised sources
- Removed 'bad' domains
Vsevolod Stakhov [Sat, 20 Aug 2016 15:49:12 +0000 (16:49 +0100)]
[Fix] Fix url maps
Vsevolod Stakhov [Sat, 20 Aug 2016 15:39:34 +0000 (16:39 +0100)]
[Feature] Show the exact value matched for multima symbols
Vsevolod Stakhov [Sat, 20 Aug 2016 15:28:05 +0000 (16:28 +0100)]
[Fix] Fix issue with spaces in maps
Vsevolod Stakhov [Fri, 19 Aug 2016 19:29:44 +0000 (20:29 +0100)]
Merge pull request #865 from fatalbanana/dmarc
[Fix] DMARC: deal with missing and spurious spaces
Vsevolod Stakhov [Fri, 19 Aug 2016 19:29:28 +0000 (20:29 +0100)]
Merge pull request #864 from fatalbanana/xphp
[Feature] Add rule for identifying mail sent by eval()'d PHP code
Andrew Lewis [Fri, 19 Aug 2016 19:26:23 +0000 (21:26 +0200)]
[Fix] DMARC: deal with missing and spurious spaces
Vsevolod Stakhov [Fri, 19 Aug 2016 16:13:00 +0000 (17:13 +0100)]
[Minor] Do not traverse empty HTML tree
Andrew Lewis [Fri, 19 Aug 2016 14:57:58 +0000 (16:57 +0200)]
[Feature] Add rule for identifying mail sent by eval()'d PHP code
Vsevolod Stakhov [Fri, 19 Aug 2016 12:47:47 +0000 (13:47 +0100)]
Merge pull request #862 from fatalbanana/userdata
Make REDIS_REPLY_NIL non-nil again
Andrew Lewis [Fri, 19 Aug 2016 11:45:53 +0000 (13:45 +0200)]
[Minor] Deal with non-nil REDIS_NIL in multimap
Andrew Lewis [Fri, 19 Aug 2016 11:43:32 +0000 (13:43 +0200)]
Revert "[Fix] Fix returning of REDIS_NIL"
This reverts commit
ca2374d88c09759f2a46e68801e5eb557eee7d3b .
Vsevolod Stakhov [Fri, 19 Aug 2016 10:26:50 +0000 (11:26 +0100)]
Merge pull request #861 from fatalbanana/scoring
[Minor] Zero scoring on some informational symbols
Vsevolod Stakhov [Fri, 19 Aug 2016 10:26:27 +0000 (11:26 +0100)]
Merge pull request #860 from fatalbanana/ipscore2
[Feature] Allow for more fine-grained scoring for ip_score
Andrew Lewis [Fri, 19 Aug 2016 10:10:11 +0000 (12:10 +0200)]
[Minor] Zero scoring on some informational symbols
Andrew Lewis [Fri, 19 Aug 2016 09:37:46 +0000 (11:37 +0200)]
[Feature] Allow for more fine-grained scoring for ip_score
- Also simplify some funny math
Vsevolod Stakhov [Fri, 19 Aug 2016 09:27:43 +0000 (10:27 +0100)]
[Feature] Add SPF method in spf return result
Issue: #831
Reported by: @moisseev
Vsevolod Stakhov [Thu, 18 Aug 2016 15:13:24 +0000 (16:13 +0100)]
[Fix] Make dnssec configurable option disabled by default for now
Vsevolod Stakhov [Thu, 18 Aug 2016 15:00:44 +0000 (16:00 +0100)]
[Feature] Pass authenticated bit to lua
Vsevolod Stakhov [Thu, 18 Aug 2016 14:51:14 +0000 (15:51 +0100)]
[Minor] Make function to punycode DNS values publicly available
Vsevolod Stakhov [Thu, 18 Aug 2016 14:34:14 +0000 (15:34 +0100)]
[Feature] Add support of stub DNSSEC resolver to rdns
Vsevolod Stakhov [Thu, 18 Aug 2016 13:18:04 +0000 (14:18 +0100)]
[Feature] Read redis backend statistics configuration from global section
Issue: #766
Vsevolod Stakhov [Thu, 18 Aug 2016 12:25:07 +0000 (13:25 +0100)]
Merge pull request #858 from fatalbanana/ipscore
[Fix] Defer insertion of results in ip_score to avoid skewing stats
Vsevolod Stakhov [Thu, 18 Aug 2016 12:24:43 +0000 (13:24 +0100)]
Merge pull request #857 from fatalbanana/mempool
[Feature] Add mempool maps in multimap (instead of ASN/country)
Vsevolod Stakhov [Thu, 18 Aug 2016 12:21:05 +0000 (13:21 +0100)]
[Fix] Fix reload in some plugins and workers
Vsevolod Stakhov [Thu, 18 Aug 2016 12:20:48 +0000 (13:20 +0100)]
[Fix] Fix reloading on SIGHUP
Andrew Lewis [Thu, 18 Aug 2016 09:23:30 +0000 (11:23 +0200)]
[Feature] Add mempool maps in multimap
Andrew Lewis [Thu, 18 Aug 2016 06:58:56 +0000 (08:58 +0200)]
[Fix] Defer insertion of results in ip_score to avoid skewing stats
Vsevolod Stakhov [Wed, 17 Aug 2016 13:07:10 +0000 (14:07 +0100)]
[Minor] Remove google.com from whitelist because of spam abuse
Vsevolod Stakhov [Wed, 17 Aug 2016 10:12:38 +0000 (11:12 +0100)]
Merge pull request #856 from fatalbanana/asn
[Feature] Dedicated module for getting ASN information (Fixes #197)
Andrew Lewis [Wed, 17 Aug 2016 09:33:06 +0000 (11:33 +0200)]
[Feature] ASN module; support matching ASN/country in multimap
- Also removed stuff from ip_score
- Updated tests
Vsevolod Stakhov [Tue, 16 Aug 2016 16:03:07 +0000 (17:03 +0100)]
[Feature] Log URLs encrypted if we have log encryption pubkey
Vsevolod Stakhov [Tue, 16 Aug 2016 15:45:34 +0000 (16:45 +0100)]
[Feature] Implement encrypted logs