]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sun, 16 Jul 2017 15:39:35 +0000 (16:39 +0100)]
[Feature] Import torch to Rspamd...
Vsevolod Stakhov [Sun, 16 Jul 2017 15:33:28 +0000 (16:33 +0100)]
[Fix] Fix setting of path and cpath for Lua
Vsevolod Stakhov [Sun, 16 Jul 2017 13:53:43 +0000 (14:53 +0100)]
Merge pull request #1751 from dupondje/fix_maillist_detection
Fix maillist detection
Vsevolod Stakhov [Sun, 16 Jul 2017 13:53:00 +0000 (14:53 +0100)]
Merge pull request #1753 from mkuron/multimap_cidr
IP netmask support for Redis multimap
Michael Kuron [Sun, 16 Jul 2017 13:19:59 +0000 (15:19 +0200)]
Minimum netmask in Redis multimap
Michael Kuron [Sun, 16 Jul 2017 10:04:34 +0000 (12:04 +0200)]
Use HMGET to query all netmasks at once in multimap
Vsevolod Stakhov [Sat, 15 Jul 2017 22:26:54 +0000 (23:26 +0100)]
[Feature] Add expected ip check for emails plugin
Vsevolod Stakhov [Sat, 15 Jul 2017 22:17:18 +0000 (23:17 +0100)]
Merge pull request #1748 from fatalbanana/lua53
[Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
Vsevolod Stakhov [Sat, 15 Jul 2017 22:16:50 +0000 (23:16 +0100)]
Merge pull request #1749 from dupondje/fix_indent
Fix indent in metrics.conf
Vsevolod Stakhov [Sat, 15 Jul 2017 22:16:03 +0000 (23:16 +0100)]
[Fix] Parse HREF urls without explicit prefix
Issue: #1752
Michael Kuron [Sat, 15 Jul 2017 14:11:51 +0000 (16:11 +0200)]
IP netmask support for multimap
Jean-Louis Dupond [Fri, 14 Jul 2017 12:24:04 +0000 (14:24 +0200)]
[Fix] Detection of maillist optimized and fixed
Some maillists were not detected correctly. Because by default all mails were checked for 'List-Unsubscribe' and 'List-Post' headers.
But those headers do not exist on all maillists.
For example majordomo detection was broken because of this.
Vsevolod Stakhov [Fri, 14 Jul 2017 07:46:30 +0000 (08:46 +0100)]
[Feature] Allow to set custom mempool variables from settings
Vsevolod Stakhov [Fri, 14 Jul 2017 07:40:58 +0000 (08:40 +0100)]
[Fetaure] Add auto detection for the key passed to the signing cb
Vsevolod Stakhov [Fri, 14 Jul 2017 07:18:16 +0000 (08:18 +0100)]
[Feature] Allow to receive signing keys from mempool vars
Vsevolod Stakhov [Thu, 13 Jul 2017 20:12:49 +0000 (21:12 +0100)]
[Fix] Avoid changing content-transfer-encoding header's value
Vsevolod Stakhov [Thu, 13 Jul 2017 18:33:42 +0000 (19:33 +0100)]
[CritFix] Fix semicolons parsing in the content type
Vsevolod Stakhov [Thu, 13 Jul 2017 18:18:12 +0000 (19:18 +0100)]
[Rules] Penalise R_BAD_CTE_7BIT for utf8 messages
Vsevolod Stakhov [Thu, 13 Jul 2017 18:17:51 +0000 (19:17 +0100)]
[Minor] Fix types when iterating hash
Vsevolod Stakhov [Thu, 13 Jul 2017 18:07:43 +0000 (19:07 +0100)]
[Feature] Add method to get all content-type attributes in Lua
Vsevolod Stakhov [Thu, 13 Jul 2017 17:50:40 +0000 (18:50 +0100)]
[Minor] Fix clickhouse operations
Vsevolod Stakhov [Wed, 12 Jul 2017 17:29:09 +0000 (18:29 +0100)]
[Feature] Automatically create tables in clickhouse
Jean-Louis Dupond [Wed, 12 Jul 2017 18:36:36 +0000 (20:36 +0200)]
Fix indent in metrics.conf
Andrew Lewis [Wed, 12 Jul 2017 11:45:01 +0000 (13:45 +0200)]
[Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
Vsevolod Stakhov [Wed, 12 Jul 2017 09:16:30 +0000 (10:16 +0100)]
Merge pull request #1747 from andryyy/patch-11
Escape all the things \o/
André Peters [Wed, 12 Jul 2017 09:05:43 +0000 (11:05 +0200)]
Escape all the things \o/
Vsevolod Stakhov [Wed, 12 Jul 2017 07:16:39 +0000 (08:16 +0100)]
[Minor] Fix init order for dkim module
Vsevolod Stakhov [Wed, 12 Jul 2017 07:11:56 +0000 (08:11 +0100)]
[Minor] Do not load ARC plugin if dkim module is disabled
Andrew Lewis [Tue, 11 Jul 2017 15:55:09 +0000 (17:55 +0200)]
[Feature] Metadata Exporter: e-Mail Alerts: support multiple recipients; alerting senders/recipients/users (#1600)
Andrew Lewis [Tue, 11 Jul 2017 07:40:55 +0000 (09:40 +0200)]
[Fix] Milter headers: custom headers: removing headers
Vsevolod Stakhov [Tue, 11 Jul 2017 07:25:11 +0000 (08:25 +0100)]
[Feature] Allow to attach stat signature to messages
Vsevolod Stakhov [Tue, 11 Jul 2017 07:14:42 +0000 (08:14 +0100)]
[Minor] Move stats signatures generation to tokenization stage
Andrew Lewis [Mon, 10 Jul 2017 16:47:15 +0000 (18:47 +0200)]
[Fix] Header checks: REPLYTO_UNPARSEABLE rule
Andrew Lewis [Mon, 10 Jul 2017 16:40:01 +0000 (18:40 +0200)]
[Fix] Header checks: Fix get_raw_header method
Andrew Lewis [Mon, 10 Jul 2017 12:42:12 +0000 (14:42 +0200)]
[Feature] Antivirus: ordered pattern matches
Vsevolod Stakhov [Mon, 10 Jul 2017 10:24:01 +0000 (11:24 +0100)]
Merge pull request #1744 from fatalbanana/wow
[Minor] WHITE_ON_WHITE: Use per-part transparency length
Andrew Lewis [Mon, 10 Jul 2017 09:34:23 +0000 (11:34 +0200)]
[Minor] WHITE_ON_WHITE: Use per-part transparency length
Vsevolod Stakhov [Mon, 10 Jul 2017 08:21:37 +0000 (09:21 +0100)]
Merge pull request #1743 from fatalbanana/wow
[Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the …
Andrew Lewis [Mon, 10 Jul 2017 08:18:21 +0000 (10:18 +0200)]
[Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
Vsevolod Stakhov [Mon, 10 Jul 2017 07:32:23 +0000 (08:32 +0100)]
Merge pull request #1742 from flowerysong/homographs
Fix lua_util_is_utf_spoofed logic
Paul Arthur [Sun, 9 Jul 2017 23:01:07 +0000 (23:01 +0000)]
Fix lua_util_is_utf_spoofed logic
When compiled against libicu < 51 the list of allowed characters was
set to none, so all strings were flagged as spoofed.
Fixes #1689.
Vsevolod Stakhov [Sun, 9 Jul 2017 16:46:11 +0000 (17:46 +0100)]
Merge pull request #1739 from andryyy/patch-10
Escape HTML in cells by using underscores escaper, fixes #1738
André Peters [Sun, 9 Jul 2017 16:30:01 +0000 (18:30 +0200)]
More htmlEscapes.
Andrew Lewis [Sun, 9 Jul 2017 11:39:03 +0000 (13:39 +0200)]
[Minor] Ratelimit: Custom limits: Pass task to get_limit
Andrew Lewis [Sun, 9 Jul 2017 10:21:31 +0000 (12:21 +0200)]
[Feature] Milter headers: support adding/removing arbitrary headers from config
André Peters [Sun, 9 Jul 2017 08:26:06 +0000 (10:26 +0200)]
Also escape message ID
André Peters [Sat, 8 Jul 2017 20:56:21 +0000 (22:56 +0200)]
Escape HTML in cells by using underscores escaper
Vsevolod Stakhov [Sat, 8 Jul 2017 13:43:46 +0000 (14:43 +0100)]
[Minor] Free memory
Vsevolod Stakhov [Sat, 8 Jul 2017 13:39:53 +0000 (14:39 +0100)]
[Feature] Implement bayes signatures storage
Vsevolod Stakhov [Sat, 8 Jul 2017 08:52:41 +0000 (09:52 +0100)]
[Minor] Update version to 1.7.0
Vsevolod Stakhov [Sat, 8 Jul 2017 08:49:48 +0000 (09:49 +0100)]
Release 1.6.2
* [Conf] Remove Rambler email bl for now
* [Conf] Switch RAMBLER_URIBL to a locally managed source
* [CritFix] Switch from ragel to C for Content-Type parsing
* [Feature] Add `-e` option for lua_repl
* [Feature] Add per-domain emails normalisation rules
* [Feature] Add sessions cache to debug dangling sessions
* [Feature] Add short_text_direct_hash for fuzzy check module
* [Feature] Add text_part:get_stats function
* [Feature] Allow to add custom processing script for surbl
* [Feature] Allow to check reply-to email
* [Feature] Allow to customize spam header, remove existing spam headers
* [Feature] Allow to disable specific workers in the config
* [Feature] Allow to discard messages instead of rejection
* [Feature] Allow to specify custom delimiter in emails plugin
* [Feature] Allow to specify custom User-Agent for rspamc
* [Feature] Allow to store symbols data in Clickhouse
* [Feature] Allow to use HTTPS when connecting to Clickhouse
* [Feature] Enable sessions cache tracking for milter connections
* [Feature] Implement per-line mode in lua_repl (like `perl -p`)
* [Feature] Implement rdns-curve plugin based on rspamd cryptobox
* [Feature] Improve maps cached data lifetime
* [Feature] Improve maps checking frequency
* [Feature] Improve monitored timeouts logic
* [Feature] milter_headers: add `extended_headers_rcpt` option
* [Feature] Milter headers: Add X-Spam-Flag to rmilter-compatibility headers
* [Feature] Milter headers: remove-header routine
* [Feature] Multimap: received filters for extracting TLDs from hostnames
* [Feature] Normalize email aliases in emails module
* [Feature] Re-add rambler email bl (as hashed list)
* [Feature] Reload file maps more frequently
* [Feature] Rework newlines strip parser one more time
* [Feature] Skip updates for messages scanned via controller
* [Feature] Split long DKIM public keys
* [Feature] Store more data when stripping newlines
* [Feature] Support SPF macros transformations
* [Feature] Support suppressing DMARC reports for some domains
* [Fix] Add missing `break` statement
* [Fix] Allow modifiers in SPF macros
* [Fix] DKIM sign tools: edge-cases around use_esld
* [Fix] Do not cache SPF records with macros
* [Fix] Do not overwrite score when setting pre-action
* [Fix] Fix comparision logic
* [Fix] Fix DKIM base64 folding for milter flagged messages
* [Fix] Fix emails module configuration
* [Fix] Fix folding for arc headers when milter interface is used
* [Fix] Fix gmail dots removal
* [Fix] Fix rspamc detection in greylist module
* [Fix] Fix some more issues with HTTP maps
* [Fix] Milter sessions can live forever
* [Fix] Normalize fuzzy probability better
* [Fix] Plug memory leak
* [Fix] RBL: Fixed hashed email address lookups
* [Fix] Try to deal with brain-damaged milter behaviour
* [Fix] Use `\n` to fold headers for milter
* [Rework] Allow to use custom callback for monitored checks
* [Rework] Further steps towards one process monitoring
* [Rework] Send health checks from a single worker
* [WebUI] Round-up throughput summary values
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Sat, 8 Jul 2017 08:45:57 +0000 (09:45 +0100)]
[Fix] Fix some more issues with HTTP maps
Andrew Lewis [Fri, 7 Jul 2017 19:51:16 +0000 (21:51 +0200)]
[Minor] Fix config
Vsevolod Stakhov [Fri, 7 Jul 2017 18:42:36 +0000 (19:42 +0100)]
[Minor] Download updated data even if cache is still available
Vsevolod Stakhov [Fri, 7 Jul 2017 18:40:15 +0000 (19:40 +0100)]
[Feature] Re-add rambler email bl (as hashed list)
Vsevolod Stakhov [Fri, 7 Jul 2017 18:38:21 +0000 (19:38 +0100)]
[Fix] Fix emails module configuration
Vsevolod Stakhov [Fri, 7 Jul 2017 18:16:31 +0000 (19:16 +0100)]
[Feature] Allow to specify custom delimiter in emails plugin
Vsevolod Stakhov [Fri, 7 Jul 2017 18:13:10 +0000 (19:13 +0100)]
[Minor] Leave the real url request instead of Lua processed
Vsevolod Stakhov [Fri, 7 Jul 2017 18:09:41 +0000 (19:09 +0100)]
[Conf] Switch RAMBLER_URIBL to a locally managed source
Vsevolod Stakhov [Fri, 7 Jul 2017 17:54:50 +0000 (18:54 +0100)]
[Feature] Improve maps checking frequency
Vsevolod Stakhov [Fri, 7 Jul 2017 17:45:56 +0000 (18:45 +0100)]
Merge pull request #1735 from moisseev/patch-1
[Minor] Update redirectors list
Vsevolod Stakhov [Fri, 7 Jul 2017 17:45:47 +0000 (18:45 +0100)]
Merge pull request #1734 from fatalbanana/maps
[Feature] Reload file maps more frequently
Alexander Moisseev [Fri, 7 Jul 2017 17:23:03 +0000 (20:23 +0300)]
[Minor] Update redirectors list
Andrew Lewis [Fri, 7 Jul 2017 10:14:28 +0000 (12:14 +0200)]
[Feature] Reload file maps more frequently
Andrew Lewis [Fri, 7 Jul 2017 08:25:38 +0000 (10:25 +0200)]
[Minor] RBL: don't register duplicate monitoring
Andrew Lewis [Thu, 6 Jul 2017 09:58:19 +0000 (11:58 +0200)]
[Minor] Import changes from public suffix list
Vsevolod Stakhov [Fri, 7 Jul 2017 08:08:12 +0000 (09:08 +0100)]
[Feature] Allow to add custom processing script for surbl
Vsevolod Stakhov [Fri, 7 Jul 2017 07:36:11 +0000 (08:36 +0100)]
[Feature] Improve maps cached data lifetime
Vsevolod Stakhov [Thu, 6 Jul 2017 18:36:39 +0000 (19:36 +0100)]
[Minor] Further fixes to the monitored logic
Vsevolod Stakhov [Thu, 6 Jul 2017 18:35:02 +0000 (19:35 +0100)]
[Feature] Improve monitored timeouts logic
We now reduce timeout on the first error when a monitored object is used
and reduce it when we have subsequent errors when a monitored object is
dead. In conjunction with the previous changes, it should make
monitoring really clever and responsive.
Vsevolod Stakhov [Thu, 6 Jul 2017 18:08:15 +0000 (19:08 +0100)]
[Rework] Send health checks from a single worker
Vsevolod Stakhov [Thu, 6 Jul 2017 07:56:02 +0000 (08:56 +0100)]
[Rework] Further steps towards one process monitoring
Vsevolod Stakhov [Thu, 6 Jul 2017 07:32:21 +0000 (08:32 +0100)]
[Rework] Allow to use custom callback for monitored checks
Vsevolod Stakhov [Thu, 6 Jul 2017 07:23:00 +0000 (08:23 +0100)]
[Feature] Add `-e` option for lua_repl
Vsevolod Stakhov [Thu, 6 Jul 2017 07:10:48 +0000 (08:10 +0100)]
[Feature] Implement per-line mode in lua_repl (like `perl -p`)
Vsevolod Stakhov [Wed, 5 Jul 2017 07:33:41 +0000 (08:33 +0100)]
[Minor] Reduce hfilter log noise
Vsevolod Stakhov [Wed, 5 Jul 2017 07:31:17 +0000 (08:31 +0100)]
[Feature] Allow to discard messages instead of rejection
Issue: #1723
Vsevolod Stakhov [Wed, 5 Jul 2017 07:22:57 +0000 (08:22 +0100)]
[Minor] Add /ping path to the controller
Vsevolod Stakhov [Wed, 5 Jul 2017 07:17:11 +0000 (08:17 +0100)]
[Fix] Milter sessions can live forever
Vsevolod Stakhov [Wed, 5 Jul 2017 07:14:59 +0000 (08:14 +0100)]
[Fix] Plug memory leak
Issue: #1697
Vsevolod Stakhov [Tue, 4 Jul 2017 07:49:57 +0000 (08:49 +0100)]
[Minor] Tweaks for sessions cache
Vsevolod Stakhov [Tue, 4 Jul 2017 07:44:54 +0000 (08:44 +0100)]
[Feature] Enable sessions cache tracking for milter connections
Vsevolod Stakhov [Tue, 4 Jul 2017 07:33:18 +0000 (08:33 +0100)]
[Feature] Add sessions cache to debug dangling sessions
Vsevolod Stakhov [Tue, 4 Jul 2017 07:33:00 +0000 (08:33 +0100)]
[Minor] Add configuration knobs for sessions cache
Vsevolod Stakhov [Mon, 3 Jul 2017 18:22:53 +0000 (19:22 +0100)]
[Minor] Do not overwrite score occasionally
Vsevolod Stakhov [Mon, 3 Jul 2017 18:03:51 +0000 (19:03 +0100)]
[Fix] Fix gmail dots removal
Vsevolod Stakhov [Mon, 3 Jul 2017 07:52:31 +0000 (08:52 +0100)]
[Fix] Do not cache SPF records with macros
Vsevolod Stakhov [Mon, 3 Jul 2017 07:47:30 +0000 (08:47 +0100)]
[Feature] Support SPF macros transformations
Vsevolod Stakhov [Sun, 2 Jul 2017 22:25:58 +0000 (23:25 +0100)]
[Fix] Allow modifiers in SPF macros
Vsevolod Stakhov [Sat, 1 Jul 2017 15:41:46 +0000 (16:41 +0100)]
[Fix] Add missing `break` statement
Vsevolod Stakhov [Sat, 1 Jul 2017 15:28:06 +0000 (16:28 +0100)]
[Feature] Allow to specify custom User-Agent for rspamc
Vsevolod Stakhov [Sat, 1 Jul 2017 15:19:44 +0000 (16:19 +0100)]
[Fix] Normalize fuzzy probability better
Vsevolod Stakhov [Sat, 1 Jul 2017 15:11:45 +0000 (16:11 +0100)]
[Feature] Skip updates for messages scanned via controller
Rationale: controller worker is not designed to perform scan jobs,
hence, we check for `Password` header or check `User-Agent` for `rspamc`
and skip some of rules parts:
- DMARC reports
- Greylisting
- Ratelimits
- Ip score update
- Clickhouse export
Vsevolod Stakhov [Fri, 30 Jun 2017 20:59:03 +0000 (21:59 +0100)]
[Minor] Reduce logger level
Vsevolod Stakhov [Fri, 30 Jun 2017 20:57:10 +0000 (21:57 +0100)]
[Minor] Fix aliases removal function
Vsevolod Stakhov [Fri, 30 Jun 2017 20:53:30 +0000 (21:53 +0100)]
[Fix] Do not overwrite score when setting pre-action
Andrew Lewis [Fri, 30 Jun 2017 11:55:18 +0000 (13:55 +0200)]
[Minor] Tests: don't try bind ports
Andrew Lewis [Fri, 30 Jun 2017 09:59:53 +0000 (11:59 +0200)]
[Minor] Clickhouse: add missing comma
Vsevolod Stakhov [Fri, 30 Jun 2017 07:52:05 +0000 (08:52 +0100)]
[Feature] Implement rdns-curve plugin based on rspamd cryptobox
Vsevolod Stakhov [Fri, 30 Jun 2017 07:51:40 +0000 (08:51 +0100)]
[Minor] Do not redefine uthash allocation routines