]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Tue, 2 May 2017 12:52:19 +0000 (13:52 +0100)]
[CritFix] Fix corruption when multiple fuzzy are defined
If there are two fuzzy storages with the same algorithm but one of them
uses encryption, then the encryption procedure could corrupt
non-encrypted requests. This patch decouples encryption from caching
removing this issue.
Issue: #1611
Vsevolod Stakhov [Fri, 28 Apr 2017 11:12:31 +0000 (12:12 +0100)]
[Minor] Fix warnings
Andrew Lewis [Fri, 28 Apr 2017 13:27:58 +0000 (15:27 +0200)]
[Minor] Fix build with pcre2
Vsevolod Stakhov [Fri, 28 Apr 2017 11:48:52 +0000 (12:48 +0100)]
[Fix] Fix REPLYTO_UNPARSEABLE rule
Vsevolod Stakhov [Fri, 28 Apr 2017 10:54:21 +0000 (11:54 +0100)]
[CritFix] Fix learn condition in fuzzy check
Vsevolod Stakhov [Fri, 28 Apr 2017 09:07:45 +0000 (10:07 +0100)]
[Minor] Allow session-less lua dns requests
Alexander Moisseev [Thu, 27 Apr 2017 17:37:37 +0000 (20:37 +0300)]
[Minor] Avoid `nil` table
Vsevolod Stakhov [Thu, 27 Apr 2017 16:51:11 +0000 (17:51 +0100)]
[Fix] Fix couple of issues in FORWARDED rule
Vsevolod Stakhov [Wed, 26 Apr 2017 19:34:41 +0000 (20:34 +0100)]
[Fix] Fix passing data to log helper when many symbols defined
Andrew Lewis [Wed, 26 Apr 2017 14:12:43 +0000 (16:12 +0200)]
[Feature] DKIM signing: sign_networks/local address specific use_domain settings
- Issue: #1582
Andrew Lewis [Tue, 25 Apr 2017 15:19:29 +0000 (17:19 +0200)]
[Minor] Silence warning
Andrew Lewis [Tue, 25 Apr 2017 14:36:34 +0000 (16:36 +0200)]
[Fix] Rspamadm grep: Disable Lua patterns in string search by default
Vsevolod Stakhov [Tue, 25 Apr 2017 12:44:16 +0000 (13:44 +0100)]
[Feature] Add rules to detect bad 8bit characters in From and To
Vsevolod Stakhov [Tue, 25 Apr 2017 12:29:13 +0000 (13:29 +0100)]
[Minor] Push email flags to the lua API
Vsevolod Stakhov [Tue, 25 Apr 2017 12:21:51 +0000 (13:21 +0100)]
[Fix] Deal with 8bit characters in email addresses
Vsevolod Stakhov [Tue, 25 Apr 2017 09:43:07 +0000 (10:43 +0100)]
[Fix] Fix setting of email address
Vsevolod Stakhov [Tue, 25 Apr 2017 09:08:12 +0000 (10:08 +0100)]
[Minor] Fix rule
Andrew Lewis [Tue, 25 Apr 2017 08:50:38 +0000 (10:50 +0200)]
[Minor] Silence some warnings
Vsevolod Stakhov [Mon, 24 Apr 2017 16:06:55 +0000 (17:06 +0100)]
[Fix] Fix R_BAD_CTE_7BIT rule
Issue: #1590
Vsevolod Stakhov [Mon, 24 Apr 2017 15:59:10 +0000 (16:59 +0100)]
[Minor] Add lua methods to detect if a part has 8bit characters
Vsevolod Stakhov [Mon, 24 Apr 2017 15:52:59 +0000 (16:52 +0100)]
[Fetaure] Add method that detects 8 bit characters in text parts
Vsevolod Stakhov [Sun, 23 Apr 2017 10:10:31 +0000 (11:10 +0100)]
[Feature] Support numeric arguments for Redis requests
Vsevolod Stakhov [Sun, 23 Apr 2017 10:10:17 +0000 (11:10 +0100)]
[Minor] Format floating point number
Vsevolod Stakhov [Sun, 23 Apr 2017 09:59:34 +0000 (10:59 +0100)]
[Minor] Add Lua 5.3 workaround
Andrew Lewis [Fri, 21 Apr 2017 15:01:01 +0000 (17:01 +0200)]
[WebUI] Fix add header filter in history
- Issue: #1604
- Reported by: @dimejo
Vsevolod Stakhov [Thu, 20 Apr 2017 19:01:46 +0000 (20:01 +0100)]
[Minor] Allow to append greylist end time to message reported
Vsevolod Stakhov [Thu, 20 Apr 2017 19:09:06 +0000 (20:09 +0100)]
[Minor] Try all hostname regexps to find the most significant one
Vsevolod Stakhov [Thu, 20 Apr 2017 18:52:05 +0000 (19:52 +0100)]
[Minor] Disable dkim_signing if redis is specified but not configured
Vsevolod Stakhov [Wed, 19 Apr 2017 16:10:21 +0000 (17:10 +0100)]
Release 1.5.6
* [Feature] Add unigramms support in bayes
* [Feature] Allow configurable sign headers for DKIM
* [Feature] Allow to add unigramm metatokens from Lua
* [Feature] DKIM Signing: envelope match exception for local IPs
* [Feature] UCL: register parser variables from Lua
* [Fix] Always try to adjust filename
* [Fix] Do extra copy to ensure that original content is never touched
* [Fix] Fix SPOOF_REPLYTO rule
* [Fix] Ignore Rmilter added Received
* [Fix] More fixes for hashed email dnsbls
* [Fix] Plug memory leak in chartable module
* [WebUI] Display multiple alerts at once
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Wed, 19 Apr 2017 15:16:07 +0000 (16:16 +0100)]
Merge pull request #1602 from smfreegard/rules_20170419
Add INFO_TO_INFO_LU rule
Steve Freegard [Wed, 19 Apr 2017 15:01:56 +0000 (16:01 +0100)]
Add INFO_TO_INFO_LU rule
Vsevolod Stakhov [Wed, 19 Apr 2017 14:02:21 +0000 (15:02 +0100)]
[Minor] Lower CTYPE_MIXED_BOGUS score
Vsevolod Stakhov [Wed, 19 Apr 2017 13:53:49 +0000 (14:53 +0100)]
[Minor] Remove confusing warning about exp overflow
Vsevolod Stakhov [Tue, 18 Apr 2017 17:52:46 +0000 (18:52 +0100)]
Merge pull request #1601 from fatalbanana/ucl
[Feature] UCL: register parser variables from Lua
Vsevolod Stakhov [Tue, 18 Apr 2017 17:50:15 +0000 (18:50 +0100)]
[Fix] Fix SPOOF_REPLYTO rule
Andrew Lewis [Tue, 18 Apr 2017 14:32:42 +0000 (16:32 +0200)]
[Feature] UCL: register parser variables from Lua
Vsevolod Stakhov [Tue, 18 Apr 2017 09:03:05 +0000 (10:03 +0100)]
[Fix] Do extra copy to ensure that original content is never touched
Andrew Lewis [Tue, 18 Apr 2017 07:52:14 +0000 (09:52 +0200)]
[Minor] Import changes from public suffix list
Andrew Lewis [Tue, 18 Apr 2017 07:51:03 +0000 (09:51 +0200)]
[Minor] DKIM signing: deal with ambiguous settings better
Vsevolod Stakhov [Mon, 17 Apr 2017 17:11:37 +0000 (18:11 +0100)]
Merge pull request #1596 from cpragadeesh/html_test_improv
HTML content extraction tests improvement
Vsevolod Stakhov [Mon, 17 Apr 2017 16:42:31 +0000 (17:42 +0100)]
[Minor] Disable IPv6 for SEM RBL
Vsevolod Stakhov [Mon, 17 Apr 2017 16:25:40 +0000 (17:25 +0100)]
[Minor] Reduce log noise
Vsevolod Stakhov [Mon, 17 Apr 2017 09:55:37 +0000 (10:55 +0100)]
Merge pull request #1599 from moisseev/headers
[Minor] Suppress CTYPE_MIXED_BOGUS for yandex.ru web-mail
Alexander Moisseev [Mon, 17 Apr 2017 08:51:21 +0000 (11:51 +0300)]
[Minor] Suppress CTYPE_MIXED_BOGUS for yandex.ru web-mail
Vsevolod Stakhov [Sun, 16 Apr 2017 19:54:54 +0000 (20:54 +0100)]
[Minor] Slightly increase weight of URL_IN_SUBJECT rule
Vsevolod Stakhov [Sun, 16 Apr 2017 13:46:43 +0000 (14:46 +0100)]
[Fix] Ignore Rmilter added Received
Issue: #1587
Vsevolod Stakhov [Fri, 14 Apr 2017 19:17:36 +0000 (20:17 +0100)]
[Minor] Explicitly reset all fields in context on init
Pragadeesh C [Fri, 14 Apr 2017 13:32:37 +0000 (06:32 -0700)]
html content extraction test improv
Vsevolod Stakhov [Fri, 14 Apr 2017 08:46:17 +0000 (09:46 +0100)]
[Feature] Allow configurable sign headers for DKIM
Issue: #1595
Vsevolod Stakhov [Fri, 14 Apr 2017 08:24:07 +0000 (09:24 +0100)]
[Fix] Always try to adjust filename
Issue: #1591
Vsevolod Stakhov [Thu, 13 Apr 2017 17:01:07 +0000 (18:01 +0100)]
[Feature] Allow to add unigramm metatokens from Lua
Vsevolod Stakhov [Thu, 13 Apr 2017 16:47:57 +0000 (17:47 +0100)]
[Feature] Add unigramms support in bayes
Andrew Lewis [Thu, 13 Apr 2017 15:00:25 +0000 (17:00 +0200)]
[Feature] DKIM Signing: envelope match exception for local IPs
- Also for sign_networks
Andrew Lewis [Thu, 13 Apr 2017 11:44:57 +0000 (13:44 +0200)]
[Minor] Fix configuration example
Andrew Lewis [Thu, 13 Apr 2017 10:41:34 +0000 (12:41 +0200)]
Merge pull request #1589 from smfreegard/rules_20170411
Fix HTTP_TO_IP in the same way as HTTP_TO_HTTPS
Steve Freegard [Thu, 13 Apr 2017 10:38:41 +0000 (11:38 +0100)]
Fix HTTP_TO_IP in the same way as HTTP_TO_HTTPS
Andrew Lewis [Thu, 13 Apr 2017 09:16:36 +0000 (11:16 +0200)]
Merge pull request #1588 from smfreegard/rules_20170411
Fix HTTP_TO_HTTPS where message is_html but get_html returns nil
Steve Freegard [Thu, 13 Apr 2017 08:00:42 +0000 (09:00 +0100)]
Fix HTTP_TO_HTTPS where message is_html but get_html returns nil
Vsevolod Stakhov [Wed, 12 Apr 2017 15:46:50 +0000 (16:46 +0100)]
[Minor] Improve protocol debugging
Vsevolod Stakhov [Wed, 12 Apr 2017 15:23:01 +0000 (16:23 +0100)]
[Minor] Slightly optimise maillist plugin
Vsevolod Stakhov [Wed, 12 Apr 2017 14:58:21 +0000 (15:58 +0100)]
Merge pull request #1586 from smfreegard/rules_20170411
New rules
Steve Freegard [Tue, 11 Apr 2017 15:13:05 +0000 (16:13 +0100)]
New rules
Vsevolod Stakhov [Tue, 11 Apr 2017 16:32:58 +0000 (17:32 +0100)]
[Minor] Fix one more issue with empty maps
Vsevolod Stakhov [Tue, 11 Apr 2017 16:05:44 +0000 (17:05 +0100)]
[Minor] Store full timestamp when checking logs
Vsevolod Stakhov [Tue, 11 Apr 2017 15:40:17 +0000 (16:40 +0100)]
[Minor] Properly show warning
Vsevolod Stakhov [Tue, 11 Apr 2017 13:25:47 +0000 (14:25 +0100)]
[Minor] Improve symbols in emails module
Vsevolod Stakhov [Tue, 11 Apr 2017 12:23:17 +0000 (13:23 +0100)]
[Fix] More fixes for hashed email dnsbls
Vsevolod Stakhov [Tue, 11 Apr 2017 09:31:08 +0000 (10:31 +0100)]
[Minor] Remove unportable constructions
Vsevolod Stakhov [Mon, 10 Apr 2017 15:35:03 +0000 (16:35 +0100)]
[Fix] Plug memory leak in chartable module
Vsevolod Stakhov [Mon, 10 Apr 2017 10:16:32 +0000 (11:16 +0100)]
[Minor] Update version to 1.5.6
Vsevolod Stakhov [Mon, 10 Apr 2017 10:13:29 +0000 (11:13 +0100)]
Release 1.5.5
* [CritFix] Fix classifier learning with Redis backend
* [CritFix] Fix issue when parsing encoded rfc822/messages
* [Feature] Add escaped version of lua_ucl import
* [Feature] Add task:headers_foreach function
* [Feature] Allow to process filenames from content type
* [Feature] Allow to query hashed emails
* [Feature] Ignore bayes with mostly metatokens or with too few text
* [Feature] Probabilistically skip metatokens
* [Feature] Retrieve all virus names from SAVAPI
* [Feature] Rework classifiers lua metatokens
* [Feature] Store headers order
* [Feature] Store text tokens inside bayes tokens
* [Feature] Use cached shingles keys
* [Fix] Add missing score normalisation for HFILTER_URL_ONLY
* [Fix] Avoid lookup in absent hash
* [Fix] Check return values from Lua functions called from C
* [Fix] Do not count sending and loading time in rspamc
* [Fix] Escape json strings for controller rejplies from Lua
* [Fix] Fix archive scans for savapi
* [Fix] Fix domain_only emails RBL
* [Fix] Fix ip_score map configuration
* [Fix] Fix JSON output for history_redis
* [Fix] Fix one character length substrings search
* [Fix] Fix parsing of non-RFC compatible Exim received
* [Fix] Fix parsing of options for workers with the same type
* [Fix] Fix processing of small tokens vectors
* [Fix] Fix rfc2047 tokenization
* [Fix] Fix typo
* [Fix] More fixes for inplace decoding
* [Fix] Try to avoid modifications of the original data
* [Fix] URL redirector: Fix call to is_redirector
* [Rework] Set token data as uint64_t instead of chars array
* [WebUI] Check if neighbours' history backend versions match
* [WebUI] Disable phrase connectors replacement in history filtering
* [WebUI] Disable phrase connectors replacement in symbols filtering
* [WebUI] Do not hide messages with bad subject, just replace it with '???'
* [WebUI] Fix error message
* [WebUI] Fix history v2 display
* [WebUI] Fix legacy history
* [WebUI] history: break To address lists on commas
* [WebUI] Increase default timeout to 20 seconds
* [WebUI] Save some history table space
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Sun, 9 Apr 2017 10:07:02 +0000 (11:07 +0100)]
Merge pull request #1584 from moisseev/webui
[WebUI] Display multiple alerts at once
Vsevolod Stakhov [Sun, 9 Apr 2017 10:06:26 +0000 (11:06 +0100)]
[WebUI] Do not hide messages with bad subject, just replace it with '???'
Vsevolod Stakhov [Sun, 9 Apr 2017 10:01:50 +0000 (11:01 +0100)]
[Minor] More strict boundaries checks and composites policies fix
Vsevolod Stakhov [Sun, 9 Apr 2017 09:46:51 +0000 (10:46 +0100)]
[Minor] Filter bad utf8 subjects
Vsevolod Stakhov [Sun, 9 Apr 2017 09:46:38 +0000 (10:46 +0100)]
[Minor] Add lua routine to validate utf8
Vsevolod Stakhov [Sun, 9 Apr 2017 09:40:30 +0000 (10:40 +0100)]
[WebUI] Fix history v2 display
Vsevolod Stakhov [Sun, 9 Apr 2017 09:39:01 +0000 (10:39 +0100)]
[Fix] Fix JSON output for history_redis
Alexander Moisseev [Sat, 8 Apr 2017 16:03:53 +0000 (19:03 +0300)]
[WebUI] Display multiple alerts at once
Now user have a chance to see all thrown alerts not just the latest one.
Vsevolod Stakhov [Sat, 8 Apr 2017 09:09:36 +0000 (10:09 +0100)]
[Minor] Use normal string allocation
Vsevolod Stakhov [Sat, 8 Apr 2017 09:01:42 +0000 (10:01 +0100)]
Merge pull request #1583 from moisseev/webui
[WebUI] Check if neighbours' history backend versions match
Vsevolod Stakhov [Sat, 8 Apr 2017 09:00:03 +0000 (10:00 +0100)]
[Minor] Fix couple of format arguments issues
Vsevolod Stakhov [Sat, 8 Apr 2017 08:56:09 +0000 (09:56 +0100)]
[Minor] Support time_t args in clang plugin
Vsevolod Stakhov [Sat, 8 Apr 2017 08:11:16 +0000 (09:11 +0100)]
[Minor] Remove minor warnings
Vsevolod Stakhov [Sat, 8 Apr 2017 08:06:27 +0000 (09:06 +0100)]
[Minor] Remove redundant function
Alexander Moisseev [Sat, 8 Apr 2017 07:58:14 +0000 (10:58 +0300)]
[WebUI] Check if neighbours' history backend versions match
Vsevolod Stakhov [Fri, 7 Apr 2017 21:52:55 +0000 (22:52 +0100)]
[Minor] More bounds checks
Vsevolod Stakhov [Fri, 7 Apr 2017 21:47:46 +0000 (22:47 +0100)]
[Minor] Use proper substring search
Vsevolod Stakhov [Fri, 7 Apr 2017 15:56:51 +0000 (16:56 +0100)]
[Minor] Add some more boundaries checks
Vsevolod Stakhov [Fri, 7 Apr 2017 15:02:52 +0000 (16:02 +0100)]
[Fix] Fix one character length substrings search
Andrew Lewis [Fri, 7 Apr 2017 14:10:28 +0000 (16:10 +0200)]
[Minor] Import public suffix list updates
Vsevolod Stakhov [Fri, 7 Apr 2017 14:04:57 +0000 (15:04 +0100)]
[Minor] More inline fixes
Vsevolod Stakhov [Fri, 7 Apr 2017 13:56:18 +0000 (14:56 +0100)]
[Minor] Fix inline issues
Andrew Lewis [Fri, 7 Apr 2017 13:50:09 +0000 (15:50 +0200)]
[Minor] Antivirus: don't set action if all results were whitelisted
Vsevolod Stakhov [Fri, 7 Apr 2017 13:42:58 +0000 (14:42 +0100)]
[Minor] Unify substring search routines
Andrew Lewis [Fri, 7 Apr 2017 13:29:27 +0000 (15:29 +0200)]
[Minor] Antivirus: process table results correctly; prettify logging
Andrew Lewis [Fri, 7 Apr 2017 12:36:09 +0000 (14:36 +0200)]
[Minor] Try fix antivirus plugin
Vsevolod Stakhov [Fri, 7 Apr 2017 12:22:58 +0000 (13:22 +0100)]
[Minor] Check bounds
Vsevolod Stakhov [Fri, 7 Apr 2017 12:17:42 +0000 (13:17 +0100)]
[Minor] Use safe version of utf8 macro
Vsevolod Stakhov [Fri, 7 Apr 2017 12:07:34 +0000 (13:07 +0100)]
[Minor] Disable noisy warning in gcc7