]>
source.dussan.org Git - rspamd.git/log
Andrew Lewis [Tue, 3 Oct 2017 12:39:30 +0000 (14:39 +0200)]
[Fix] Authentication Results: Fix SPF smtp.mail_from
- MFH: rspamd-1.6
Andrew Lewis [Tue, 3 Oct 2017 08:52:19 +0000 (10:52 +0200)]
Merge pull request #1854 from moisseev/test
[Test] Add test for next-to-last double bad extension
Alexander Moisseev [Tue, 3 Oct 2017 06:54:51 +0000 (09:54 +0300)]
[Test] Add test for next-to-last double bad extension
Vsevolod Stakhov [Mon, 2 Oct 2017 19:49:25 +0000 (20:49 +0100)]
[Fix] Fix DKIM forgeries via multiple headers
MFH: rspamd-1.6
URL: http://noxxi.de/research/breaking-dkim-on-purpose-and-by-chance.html
Vsevolod Stakhov [Mon, 2 Oct 2017 19:42:40 +0000 (20:42 +0100)]
[Feature] Implement headers flags in mime parser
MFH: rspamd-1.6
Vsevolod Stakhov [Mon, 2 Oct 2017 17:00:43 +0000 (18:00 +0100)]
Merge pull request #1852 from moisseev/mime-types
[Feature] Catch next-to-last bad extension
Alexander Moisseev [Mon, 2 Oct 2017 11:44:31 +0000 (14:44 +0300)]
[Feature] Catch next-to-last bad extension
e.g. .scr.xz
This technique is commonly used by spammers as xz and bzip2 strip out extension on decompression.
Also it catches xz and bzip2 compressed files with faked extensions like .scr.gz .scr.lzh .scr.uue.
Vsevolod Stakhov [Sun, 1 Oct 2017 11:55:22 +0000 (12:55 +0100)]
[Minor] Skip non-needed attributes in 7z
Vsevolod Stakhov [Sun, 1 Oct 2017 11:55:06 +0000 (12:55 +0100)]
[Minor] Fix utf16 conversion
Vsevolod Stakhov [Sun, 1 Oct 2017 11:30:23 +0000 (12:30 +0100)]
[Feature] Finalize 7zip files support
Vsevolod Stakhov [Sat, 30 Sep 2017 18:27:54 +0000 (19:27 +0100)]
[Minor] Add 7z files parsing
Vsevolod Stakhov [Sat, 30 Sep 2017 17:28:52 +0000 (18:28 +0100)]
[Minor] Another useless 7zip section parser
Vsevolod Stakhov [Sat, 30 Sep 2017 16:47:20 +0000 (17:47 +0100)]
[Minor] Further additions to 7zip parser
Vsevolod Stakhov [Sat, 30 Sep 2017 13:58:02 +0000 (14:58 +0100)]
[Minor] More 7zip format support knobs
Vsevolod Stakhov [Sat, 30 Sep 2017 10:32:54 +0000 (11:32 +0100)]
[Rework] Use floating point arithmetics in Rspamd expressions
Vsevolod Stakhov [Sat, 30 Sep 2017 10:32:40 +0000 (11:32 +0100)]
[Fix] Deal with zero scores symbols
Vsevolod Stakhov [Fri, 29 Sep 2017 18:24:55 +0000 (19:24 +0100)]
[Fix] Do not allow garbadge when checking url domain
Andrew Lewis [Thu, 28 Sep 2017 18:53:52 +0000 (20:53 +0200)]
[Minor] Silence warning
Vsevolod Stakhov [Thu, 28 Sep 2017 18:16:32 +0000 (19:16 +0100)]
[Fix] Fix enormous scores for R_WHITE_ON_WHITE
MFH: 1.6
Vsevolod Stakhov [Thu, 28 Sep 2017 18:02:18 +0000 (19:02 +0100)]
[Fix] Fix user settings check
Issue: #1835
Andrew Lewis [Thu, 28 Sep 2017 14:36:01 +0000 (16:36 +0200)]
[Fix] Milter headers: X-Spamd-Result header if X-Virus ran first
- Fixes: #1851
- Reported by: @iflyhigh
- MFH: rspamd-1.6
Andrew Lewis [Thu, 28 Sep 2017 11:19:25 +0000 (13:19 +0200)]
[Fix] Milter headers: skip_local / skip_authenticated settings
- Fixes: #1850
- Reported by: @iflyhigh
- MFH: rspamd-1.6
Vsevolod Stakhov [Wed, 27 Sep 2017 19:44:56 +0000 (20:44 +0100)]
[Fix] Check for magic when checking for an archive
Issue: #1848
Closes: #1848
MFH: 1.6
Vsevolod Stakhov [Tue, 26 Sep 2017 20:18:08 +0000 (21:18 +0100)]
[Minor] Update aho-corasic implementation
Vsevolod Stakhov [Tue, 26 Sep 2017 19:58:56 +0000 (20:58 +0100)]
Merge pull request #1847 from fatalbanana/ar
[Minor] Insert Authentication-Results at top of headers
Andrew Lewis [Tue, 26 Sep 2017 14:48:43 +0000 (16:48 +0200)]
[Minor] Insert Authentication-Results at top of headers
Vsevolod Stakhov [Mon, 25 Sep 2017 07:27:25 +0000 (08:27 +0100)]
[Feature] Allow to adjust symbols scores from Lua
Vsevolod Stakhov [Sun, 24 Sep 2017 20:57:13 +0000 (21:57 +0100)]
[Minor] Try to deal with idempotent symbols processing
Issue: #1846
Vsevolod Stakhov [Sun, 24 Sep 2017 10:41:55 +0000 (11:41 +0100)]
Merge pull request #1838 from fatalbanana/redisexpand
[Feature] Generic key name expansion for Redis keys
Vsevolod Stakhov [Sun, 24 Sep 2017 10:41:45 +0000 (11:41 +0100)]
Merge pull request #1845 from moisseev/webui
[WebUI] Migrate widgets to D3 v4
Alexander Moisseev [Sat, 23 Sep 2017 17:41:00 +0000 (20:41 +0300)]
[WebUI] Migrate widgets to D3 v4
Vsevolod Stakhov [Sat, 23 Sep 2017 14:44:54 +0000 (15:44 +0100)]
[Fix] Fix loading of per-user redis backend for statistics
Issue: #1843
Closes: #1843
Vsevolod Stakhov [Sat, 23 Sep 2017 13:58:12 +0000 (14:58 +0100)]
[Minor] Move DKIM signature after received
Vsevolod Stakhov [Sat, 23 Sep 2017 13:51:07 +0000 (14:51 +0100)]
[Feature] Allow to insert headers into specific position
Vsevolod Stakhov [Sat, 23 Sep 2017 13:43:17 +0000 (14:43 +0100)]
[Feature] More metatokens
Vsevolod Stakhov [Sat, 23 Sep 2017 12:44:57 +0000 (13:44 +0100)]
[Feature] Add more text attributes
Vsevolod Stakhov [Sat, 23 Sep 2017 12:44:40 +0000 (13:44 +0100)]
[Feature] Add more metafunctions, improve logging
Vsevolod Stakhov [Sat, 23 Sep 2017 12:12:36 +0000 (13:12 +0100)]
[Minor] Support INSHEADER in the milter API
Vsevolod Stakhov [Sat, 23 Sep 2017 11:38:27 +0000 (12:38 +0100)]
[Fix] Deal with URLs with no slashes after protocol
Vsevolod Stakhov [Thu, 21 Sep 2017 18:16:37 +0000 (19:16 +0100)]
[Fix] Select the correct signature when doing simple canon
Issue: #1841
Closes: #1841
MFH: rspamd-1.6
Vsevolod Stakhov [Wed, 20 Sep 2017 06:58:12 +0000 (07:58 +0100)]
[Minor] Update bundled zstd
Vsevolod Stakhov [Tue, 19 Sep 2017 18:32:34 +0000 (19:32 +0100)]
[Minor] Avoid using alloca
Andrew Lewis [Tue, 19 Sep 2017 15:52:26 +0000 (17:52 +0200)]
[Feature] Generic key name expansion for Redis keys
Andrew Lewis [Tue, 19 Sep 2017 08:58:36 +0000 (10:58 +0200)]
[Minor] Silence warning
Vsevolod Stakhov [Mon, 18 Sep 2017 17:46:43 +0000 (18:46 +0100)]
[Minor] Add preliminary 7z support
Vsevolod Stakhov [Sun, 17 Sep 2017 09:36:07 +0000 (10:36 +0100)]
[Feature] Improve subprocesses termination handle
Vsevolod Stakhov [Sun, 17 Sep 2017 09:04:59 +0000 (10:04 +0100)]
[Feature] Allow to specify number of threads for ANN learning
Vsevolod Stakhov [Sun, 17 Sep 2017 09:00:20 +0000 (10:00 +0100)]
[Fix] Another try to fix threading in torch
Vsevolod Stakhov [Sun, 17 Sep 2017 09:00:06 +0000 (10:00 +0100)]
[Fix] Kill spawned processes on termination
Vsevolod Stakhov [Sun, 17 Sep 2017 08:01:09 +0000 (09:01 +0100)]
[Fix] Multiple fixes in torch based ANN plugins
- Fix ANNs load
- Fix disabling torch
- Remove normalisation as we have tanh on output
Vsevolod Stakhov [Sun, 17 Sep 2017 07:48:42 +0000 (08:48 +0100)]
[Minor] Disable threaded mode in openblas by default
Vsevolod Stakhov [Sat, 16 Sep 2017 20:11:44 +0000 (21:11 +0100)]
[Feature] Allow to disable torch and skip train samples for ANN
Vsevolod Stakhov [Sat, 16 Sep 2017 18:50:23 +0000 (19:50 +0100)]
[Minor] Another try to fix brain-damaged torch build system
Vsevolod Stakhov [Sat, 16 Sep 2017 18:05:52 +0000 (19:05 +0100)]
[Minor] Disable sse4.2 for torch...
Vsevolod Stakhov [Sat, 16 Sep 2017 17:09:53 +0000 (18:09 +0100)]
[Minor] Fix some warnings
Vsevolod Stakhov [Sat, 16 Sep 2017 14:56:28 +0000 (15:56 +0100)]
[Fix] Fix ANN checks
Vsevolod Stakhov [Sat, 16 Sep 2017 14:33:39 +0000 (15:33 +0100)]
[Fix] Skip nostat tokens when get number of tokens
Vsevolod Stakhov [Sat, 16 Sep 2017 14:33:26 +0000 (15:33 +0100)]
[Fix] Further fixes to ANN module
Vsevolod Stakhov [Sat, 16 Sep 2017 12:52:43 +0000 (13:52 +0100)]
[Fix] Do not include idempotent/nostat symbols to checksum
Vsevolod Stakhov [Sat, 16 Sep 2017 12:28:45 +0000 (13:28 +0100)]
[Fix] Various fixes to fann_redis instantiation
Vsevolod Stakhov [Sat, 16 Sep 2017 11:22:23 +0000 (12:22 +0100)]
[Minor] Fix function call
Vsevolod Stakhov [Fri, 15 Sep 2017 18:26:52 +0000 (19:26 +0100)]
[Minor] Improve tags lookup slightly
Vsevolod Stakhov [Thu, 14 Sep 2017 18:11:33 +0000 (19:11 +0100)]
[Feature] Improve parsing of DKIM keys: parse algorithm
Vsevolod Stakhov [Thu, 14 Sep 2017 17:42:34 +0000 (18:42 +0100)]
Merge pull request #1836 from realbugi/master
lua auth_results: authres header needs property for "policy". Make it as a comment for dmarc. Fixes some parsers.
BuGi [Thu, 14 Sep 2017 12:33:49 +0000 (14:33 +0200)]
lua auth_results: authres header needs property for "policy". Make it as a comment for dmarc. Fixes some parsers.
Signed-off-by: BuGi <bugi@aloneinthespace.cf>
Andrew Lewis [Mon, 11 Sep 2017 14:54:10 +0000 (16:54 +0200)]
[Test] Relax controller errors check
Vsevolod Stakhov [Wed, 13 Sep 2017 18:37:08 +0000 (19:37 +0100)]
[Feature] Add preliminary ecdsa keys support in DKIM
Vsevolod Stakhov [Wed, 13 Sep 2017 18:06:02 +0000 (19:06 +0100)]
[Feature] Support sha512 in DKIM signatures
Vsevolod Stakhov [Tue, 12 Sep 2017 18:13:55 +0000 (19:13 +0100)]
[Minor] Use libicu to find uppercase letters
Vsevolod Stakhov [Mon, 11 Sep 2017 20:02:07 +0000 (21:02 +0100)]
[Minor] Fix misprint
Vsevolod Stakhov [Mon, 11 Sep 2017 19:29:35 +0000 (20:29 +0100)]
Merge remote-tracking branch 'origin/master'
Vsevolod Stakhov [Mon, 11 Sep 2017 18:13:21 +0000 (19:13 +0100)]
[Minor] Improve logging in antivirus module
Andrew Lewis [Mon, 11 Sep 2017 14:05:51 +0000 (16:05 +0200)]
[Minor] Fix tests
Andrew Lewis [Mon, 11 Sep 2017 13:13:24 +0000 (15:13 +0200)]
[Feature] Authentication-Results: support hiding usernames
Andrew Lewis [Sun, 10 Sep 2017 08:41:13 +0000 (10:41 +0200)]
[Minor] Import updates from public suffix list
Vsevolod Stakhov [Sat, 9 Sep 2017 21:55:53 +0000 (22:55 +0100)]
[Minor] Rebalance IP score coefficients
Vsevolod Stakhov [Sat, 9 Sep 2017 14:55:45 +0000 (15:55 +0100)]
[Minor] Fix some lua issues
Vsevolod Stakhov [Sat, 9 Sep 2017 14:40:15 +0000 (15:40 +0100)]
[Feature] Allow to load and use dynamic ANNs with torch
Vsevolod Stakhov [Sat, 9 Sep 2017 12:34:02 +0000 (13:34 +0100)]
[Fix] Relax unicode properties requirements for chartable module
Vsevolod Stakhov [Sat, 9 Sep 2017 11:25:20 +0000 (12:25 +0100)]
Merge pull request #1829 from fatalbanana/subject
Restore task:set_metric_subject() function
Andrew Lewis [Fri, 8 Sep 2017 18:51:25 +0000 (20:51 +0200)]
[Test] SPF PTR macro
Vsevolod Stakhov [Fri, 8 Sep 2017 18:17:34 +0000 (19:17 +0100)]
[Fix] Do not cache SPF records with PTR elements
Andrew Lewis [Fri, 8 Sep 2017 08:09:26 +0000 (10:09 +0200)]
[Fix] Rewriting subjects via force actions module
Vsevolod Stakhov [Fri, 8 Sep 2017 07:00:42 +0000 (08:00 +0100)]
[Minor] More efforts to handle SPF PTR properly
Andrew Lewis [Thu, 7 Sep 2017 19:49:48 +0000 (21:49 +0200)]
Revert "[Fix] Remove incorrect method `task:set_metric_subject`"
This reverts commit
e809039a9e84cb6235a6447d1c9c8fc34ddcf8c6 .
Andrew Lewis [Thu, 7 Sep 2017 19:49:41 +0000 (21:49 +0200)]
Revert "[Minor] Avoid usage of the incorrect API"
This reverts commit
7b207cf0f21f89f78f41ca15ef8c0bddfb5bc264 .
Vsevolod Stakhov [Thu, 7 Sep 2017 18:04:01 +0000 (19:04 +0100)]
[Fix] Fix PTR processing in SPF
Issue: #1828
Vsevolod Stakhov [Thu, 7 Sep 2017 17:56:54 +0000 (18:56 +0100)]
[Fix] Rebalance and slightly rework MX check plugin
Andrew Lewis [Thu, 7 Sep 2017 17:43:11 +0000 (19:43 +0200)]
[Minor] Fix previous commit: avoid doing useless things
Andrew Lewis [Thu, 7 Sep 2017 17:18:42 +0000 (19:18 +0200)]
[Fix] Auth-Results: Multiple DKIM signatures
Andrew Lewis [Thu, 7 Sep 2017 11:29:01 +0000 (13:29 +0200)]
[Minor] Clarify RCVD_VIA_SMTP_AUTH description
- Issue: #1825
Vsevolod Stakhov [Wed, 6 Sep 2017 18:28:14 +0000 (19:28 +0100)]
[Minor] Zero structure before usage
Vsevolod Stakhov [Tue, 5 Sep 2017 18:33:01 +0000 (19:33 +0100)]
[Minor] Avoid usage of the incorrect API
Vsevolod Stakhov [Tue, 5 Sep 2017 18:29:32 +0000 (19:29 +0100)]
[Fix] Remove incorrect method `task:set_metric_subject`
Andrew Lewis [Tue, 5 Sep 2017 13:08:51 +0000 (15:08 +0200)]
[Test] Some tests for whitelist module
Vsevolod Stakhov [Mon, 4 Sep 2017 18:25:10 +0000 (19:25 +0100)]
[Fix] Fix blacklists and DMARC in whitelist
Issue: #1824
Vsevolod Stakhov [Sun, 3 Sep 2017 19:05:11 +0000 (20:05 +0100)]
[Minor] Add some extra debug to ip_score module
Vsevolod Stakhov [Wed, 26 Jul 2017 20:46:55 +0000 (21:46 +0100)]
Release 1.6.3
* [CritFix] Fix semicolons parsing in the content type
* [Feature] Add EBL to the default config
* [Feature] Allow to configure monitored
* [Feature] Allow to skip specific hashes in fuzzy storage
* [Feature] Multimap: checking of symbol options
* [Feature] Redis settings: support checking multiple keys
* [Fix] ARC: Fix Lua 5.3 compatibility; timestamp should be integer
* [Fix] Avoid changing content-transfer-encoding header's value
* [Fix] Don't use whitelist/greylist maps as regexp, but as map
* [Fix] Fix get_content method
* [Fix] Header checks: Fix get_raw_header method
* [Fix] Header checks: REPLYTO_UNPARSEABLE rule
* [Fix] Lua_http: freeing
* [Fix] Milter headers: custom headers: removing headers
* [Fix] Parse HREF urls without explicit prefix
* [Fix] WHITE_ON_WHITE: Ensure score is matched to part that fired the rule
* [WebUI] Escape strings inside HTML in history
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Sun, 3 Sep 2017 11:28:10 +0000 (12:28 +0100)]
[Minor] Fix variable name
Vsevolod Stakhov [Sun, 3 Sep 2017 11:20:36 +0000 (12:20 +0100)]
[Feature] Implement torch based ANN learning