]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Thu, 4 Aug 2016 12:03:19 +0000 (13:03 +0100)]
[Minor] Add some debug for multimap depends
Andrew Lewis [Thu, 4 Aug 2016 10:29:45 +0000 (11:29 +0100)]
[Test] Unify some configs
Vsevolod Stakhov [Thu, 4 Aug 2016 11:20:05 +0000 (12:20 +0100)]
Merge pull request #805 from fatalbanana/cdb
[Test] Add test for CDB maps
Vsevolod Stakhov [Thu, 4 Aug 2016 11:19:47 +0000 (12:19 +0100)]
Merge pull request #804 from fatalbanana/warnings
[Minor] Silence warning
Vsevolod Stakhov [Thu, 4 Aug 2016 11:19:41 +0000 (12:19 +0100)]
Merge pull request #803 from fatalbanana/lua
[Minor] Remove duplicated element from task:get_metric_score()
Vsevolod Stakhov [Thu, 4 Aug 2016 11:17:37 +0000 (12:17 +0100)]
[Feature] Allow all types of symbols to be added via __newindex method
Andrew Lewis [Thu, 4 Aug 2016 09:48:48 +0000 (10:48 +0100)]
[Test] Add test for CDB maps
Vsevolod Stakhov [Thu, 4 Aug 2016 09:42:33 +0000 (10:42 +0100)]
[Fix] Parse CGP envelope data
Andrew Lewis [Wed, 3 Aug 2016 21:23:23 +0000 (23:23 +0200)]
[Minor] Silence warning
Andrew Lewis [Wed, 3 Aug 2016 19:35:39 +0000 (21:35 +0200)]
[Minor] Remove duplicated element from task:get_metric_score()
Vsevolod Stakhov [Wed, 3 Aug 2016 17:10:57 +0000 (18:10 +0100)]
[Fix] Fix buffering in CGP integration
Vsevolod Stakhov [Wed, 3 Aug 2016 14:33:26 +0000 (15:33 +0100)]
[Minor] Print the real version of rspamd in Server header
Vsevolod Stakhov [Wed, 3 Aug 2016 13:12:23 +0000 (14:12 +0100)]
[Fix] Decode entitles in href parts
Vsevolod Stakhov [Wed, 3 Aug 2016 11:42:42 +0000 (12:42 +0100)]
Merge pull request #800 from fatalbanana/json
[Test] Some basic tests for JSON sanity
Andrew Lewis [Wed, 3 Aug 2016 10:38:45 +0000 (11:38 +0100)]
[Test] Some basic tests for JSON sanity
Vsevolod Stakhov [Wed, 3 Aug 2016 10:27:28 +0000 (11:27 +0100)]
[Fix] Fix largest possible TLD behaviour
Vsevolod Stakhov [Wed, 3 Aug 2016 09:51:21 +0000 (10:51 +0100)]
Merge pull request #798 from fatalbanana/nan
[Fix] Avoid returning NaN as score on scan
Vsevolod Stakhov [Wed, 3 Aug 2016 09:51:05 +0000 (10:51 +0100)]
Merge pull request #796 from bryongloden/patch-2
Update local_scan.c
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:58 +0000 (10:50 +0100)]
Merge pull request #794 from bryongloden/patch-1
Update acism_create.c
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:33 +0000 (10:50 +0100)]
Merge pull request #793 from fatalbanana/dmarc
[Fix] Fix DMARC_BAD_POLICY symbol
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:18 +0000 (10:50 +0100)]
Merge pull request #792 from fatalbanana/tests
[Test] Add DKIM sign + verify tests
Vsevolod Stakhov [Wed, 3 Aug 2016 09:50:00 +0000 (10:50 +0100)]
Merge pull request #789 from moisseev/defined-array
[Fix] rspamd_stats: remove deprecated defined(@array)
Vsevolod Stakhov [Wed, 3 Aug 2016 09:49:42 +0000 (10:49 +0100)]
Merge pull request #795 from fatalbanana/ci
[Minor] Unbreak tests on pull requests
Vsevolod Stakhov [Wed, 3 Aug 2016 09:17:18 +0000 (10:17 +0100)]
[Minor] Do not abort on empty input for regexp maps
Andrew Lewis [Tue, 2 Aug 2016 23:46:38 +0000 (01:46 +0200)]
[Fix] Avoid returning NaN as score on scan
Bryon Gloden, CISSP® [Tue, 2 Aug 2016 21:49:49 +0000 (17:49 -0400)]
Update local_scan.c
[../rspamd-master/contrib/exim/local_scan.c:630]: (error) Uninitialized variable: rej
It's always good to initialize integer variables, at least to 0, because if you try to retrieve its value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior.
Found by https://github.com/bryongloden/cppcheck
Andrew Lewis [Tue, 2 Aug 2016 21:34:37 +0000 (22:34 +0100)]
[Minor] Unbreak tests on pull requests
Bryon Gloden, CISSP® [Tue, 2 Aug 2016 21:19:19 +0000 (17:19 -0400)]
Update acism_create.c
Passing one pointer into realloc() and assigning the result directly into that same pointer variable can cause a memory leak if the reallocation fails, because the original allocation will still exist. The correct way to do this is to use a temporary pointer variable.
Credit: http://stackoverflow.com/a/
11548901
Found by https://github.com/bryongloden/cppcheck
Andrew Lewis [Tue, 2 Aug 2016 18:22:53 +0000 (19:22 +0100)]
[Test] Add DKIM sign + verify tests
Andrew Lewis [Tue, 2 Aug 2016 19:45:57 +0000 (21:45 +0200)]
[Fix] Fix DMARC_BAD_POLICY symbol
Vsevolod Stakhov [Tue, 2 Aug 2016 16:16:28 +0000 (17:16 +0100)]
[Fix] Fix last token folding
Vsevolod Stakhov [Tue, 2 Aug 2016 16:06:29 +0000 (17:06 +0100)]
[Fix] Add spaces to dkim signature to allow folding
Vsevolod Stakhov [Tue, 2 Aug 2016 15:50:33 +0000 (16:50 +0100)]
[Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
Vsevolod Stakhov [Tue, 2 Aug 2016 15:50:21 +0000 (16:50 +0100)]
[Minor] Really save privkey in file
Vsevolod Stakhov [Tue, 2 Aug 2016 15:32:33 +0000 (16:32 +0100)]
[Fix] Fix folding for semicolon separated tokens
Vsevolod Stakhov [Tue, 2 Aug 2016 15:28:49 +0000 (16:28 +0100)]
[Feature] Rspamc can now add dkim signature in mime mode
Vsevolod Stakhov [Tue, 2 Aug 2016 15:09:42 +0000 (16:09 +0100)]
[Fix] Do not stress redis with KEYS command (#791)
Issue: #791
Reported by: @wociscz
Vsevolod Stakhov [Tue, 2 Aug 2016 14:33:10 +0000 (15:33 +0100)]
Merge pull request #790 from fatalbanana/coverage
[Minor] Integrate coveralls
Andrew Lewis [Tue, 2 Aug 2016 14:18:29 +0000 (15:18 +0100)]
[Minor] Integrate coveralls
Alexander Moisseev [Tue, 2 Aug 2016 14:13:33 +0000 (17:13 +0300)]
[Fix] rspamd_stats: remove deprecated defined(@array)
Vsevolod Stakhov [Tue, 2 Aug 2016 13:49:03 +0000 (14:49 +0100)]
[Feature] Allow to create settings for authenticated users
Use `authenticated = true;` for this feature
Vsevolod Stakhov [Tue, 2 Aug 2016 13:13:45 +0000 (14:13 +0100)]
[Feature] Add experimental CGP integration
Vsevolod Stakhov [Tue, 2 Aug 2016 09:13:28 +0000 (10:13 +0100)]
Merge pull request #786 from fatalbanana/www
[WebUI] Try harder to clear password on disconnect
Vsevolod Stakhov [Tue, 2 Aug 2016 09:13:16 +0000 (10:13 +0100)]
Merge pull request #788 from moisseev/ct-case
[Fix] Ignore content type/subtype case
Vsevolod Stakhov [Tue, 2 Aug 2016 09:13:08 +0000 (10:13 +0100)]
Merge pull request #787 from fatalbanana/tests
[Test] Replace get_process_children with psutil function
Alexander Moisseev [Tue, 2 Aug 2016 08:26:49 +0000 (11:26 +0300)]
[Fix] Ignore content type/subtype case
to comply with RFC 2045
Andrew Lewis [Mon, 1 Aug 2016 23:10:19 +0000 (01:10 +0200)]
[Test] Replace get_process_children with psutil function
Andrew Lewis [Mon, 1 Aug 2016 17:35:28 +0000 (19:35 +0200)]
[WebUI] Try harder to clear password on disconnect
Vsevolod Stakhov [Mon, 1 Aug 2016 16:41:31 +0000 (17:41 +0100)]
Merge pull request #785 from fatalbanana/www
[WebUI] Clear connect password (#783)
Vsevolod Stakhov [Mon, 1 Aug 2016 16:05:21 +0000 (17:05 +0100)]
[Feature] Add a special symbol for SPF DNS errors: R_SPF_DNSFAIL
Vsevolod Stakhov [Mon, 1 Aug 2016 16:04:58 +0000 (17:04 +0100)]
[Fix] Do not cache SPF records with DNS errors
Vsevolod Stakhov [Mon, 1 Aug 2016 15:51:12 +0000 (16:51 +0100)]
[Feature] Improve DNS failures when dealing with SPF
Andrew Lewis [Mon, 1 Aug 2016 15:21:24 +0000 (17:21 +0200)]
[WebUI] Clear connect password (#783)
Vsevolod Stakhov [Mon, 1 Aug 2016 13:27:15 +0000 (14:27 +0100)]
[Minor] Update version to 1.3.2
Vsevolod Stakhov [Mon, 1 Aug 2016 12:49:33 +0000 (13:49 +0100)]
Release 1.3.1
* [CritFix] Fix catena passwords validation
* [CritFix] Fix crash when the first received is faked
* [Feature] Add DMARC_BAD_POLICY symbol when DMARC policy was invalid
* [Feature] Allow for matching hostnames in multimap (#773)
* [Feature] Allow for setting action based on DMARC disposition
* [Feature] Allow limiting of the inbound message size
* [Feature] Allow maps with multiple symbols and scores
* [Feature] Allow regexps in the emails maps
* [Feature] Allow to register metric symbols from multimap
* [Feature] Allow to reset redis tokens instead of appendig values
* [Feature] Allow to store strings in radix maps
* [Feature] Check UTF validity when there are utf regexps in a map
* [Feature] Correctly work when there is no hard reject action
* [Feature] Implement dependencies for maps
* [Fix] Another effort to unbreak sqlite locking
* [Fix] Avoid crash when closing mmapped file
* [Fix] Do not break history on NaN in required score
* [Fix] Ensure that hyperscan cache written is written properly
* [Fix] Filter NaN from scores in history
* [Fix] Fix DNSBL maps
* [Fix] Fix another locking issue in sqlite
* [Fix] Fix another locking issue with mapped files
* [Fix] Fix deadlock in mmaped file stats
* [Fix] Fix dependencies in multimap plugin
* [Fix] Fix emails module configuration
* [Fix] Fix greylist plugin (#755)
* [Fix] Fix greylisting plugin variable usage
* [Fix] Fix installed permissions for rspamd_stats
* [Fix] Fix locking in mmapped statistics
* [Fix] Fix paths in tests
* [Fix] Fix prefilter mode for multimap
* [Fix] Forgot to commit leftover changes
* [Fix] Really fix local.d includes
* [Fix] Restore selective greylisting behaviour
* [Fix] Set max size on per connection basis
* [Fix] Use temporary storage for hyperscan cache
* [Rework] Remove systemd socket activation
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Mon, 1 Aug 2016 11:03:25 +0000 (12:03 +0100)]
[Fix] Fix another locking issue with mapped files
Vsevolod Stakhov [Mon, 1 Aug 2016 10:00:08 +0000 (11:00 +0100)]
Merge pull request #781 from fatalbanana/www
[WebUI] Fix saving actions from web interface (#769)
Andrew Lewis [Mon, 1 Aug 2016 09:53:39 +0000 (11:53 +0200)]
[WebUI] Fix saving actions from web interface (#769)
Vsevolod Stakhov [Mon, 1 Aug 2016 09:35:58 +0000 (10:35 +0100)]
Merge pull request #780 from fatalbanana/greylist
Disable greylisting for authenticated users
Vsevolod Stakhov [Mon, 1 Aug 2016 09:35:38 +0000 (10:35 +0100)]
Merge pull request #779 from fatalbanana/el6
Fix RPM spec for CentOS 6
Vsevolod Stakhov [Mon, 1 Aug 2016 09:35:29 +0000 (10:35 +0100)]
Merge pull request #778 from moisseev/patch-1
Add missed MIME types
Vsevolod Stakhov [Mon, 1 Aug 2016 09:35:13 +0000 (10:35 +0100)]
Merge pull request #777 from moisseev/rspamd_stats
[Minor] rspamd_stats: check all symbols by default
Vsevolod Stakhov [Mon, 1 Aug 2016 09:34:58 +0000 (10:34 +0100)]
Merge pull request #775 from fatalbanana/multimap
Allow for matching hostnames in multimap (#773)
Vsevolod Stakhov [Mon, 1 Aug 2016 09:20:44 +0000 (10:20 +0100)]
[Feature] Check UTF validity when there are utf regexps in a map
Andrew Lewis [Mon, 1 Aug 2016 08:01:10 +0000 (09:01 +0100)]
[Minor] Disable greylisting for authenticated users
Andrew Lewis [Mon, 1 Aug 2016 07:51:20 +0000 (08:51 +0100)]
[Minor] Fix RPM spec for CentOS 6
Alexander Moisseev [Mon, 1 Aug 2016 06:24:42 +0000 (09:24 +0300)]
Add missed MIME types
Reported by: @xpunkt via IRC
Andrew Lewis [Sun, 31 Jul 2016 20:52:32 +0000 (22:52 +0200)]
[Minor] Support filters for hostnames in multimap
Alexander Moisseev [Sun, 31 Jul 2016 18:05:51 +0000 (21:05 +0300)]
[Minor] rspamd_stats: check all symbols by default
Andrew Lewis [Sun, 31 Jul 2016 14:03:56 +0000 (16:03 +0200)]
[Test] Add test for hostname map
Vsevolod Stakhov [Sun, 31 Jul 2016 14:53:35 +0000 (15:53 +0100)]
Merge pull request #774 from fatalbanana/dmarc
Allow for setting action based on DMARC disposition
Andrew Lewis [Sun, 31 Jul 2016 13:52:29 +0000 (15:52 +0200)]
[Test] Some minor fixes for tests
Andrew Lewis [Sun, 31 Jul 2016 13:30:05 +0000 (15:30 +0200)]
[Feature] Allow for matching hostnames in multimap (#773)
Andrew Lewis [Sun, 31 Jul 2016 13:34:38 +0000 (15:34 +0200)]
[Feature] Allow for setting action based on DMARC disposition
Andrew Lewis [Sun, 31 Jul 2016 13:33:48 +0000 (15:33 +0200)]
[Feature] Add DMARC_BAD_POLICY symbol when DMARC policy was invalid
Vsevolod Stakhov [Sun, 31 Jul 2016 11:44:58 +0000 (12:44 +0100)]
[Test] Add a simple multimap utf test
Vsevolod Stakhov [Sun, 31 Jul 2016 11:20:36 +0000 (12:20 +0100)]
[Fix] Fix locking in mmapped statistics
Vsevolod Stakhov [Sat, 30 Jul 2016 12:56:04 +0000 (13:56 +0100)]
[Fix] Set max size on per connection basis
Vsevolod Stakhov [Sat, 30 Jul 2016 10:44:53 +0000 (11:44 +0100)]
[Feature] Allow limiting of the inbound message size
- Set default limit to 50MB
- Reply even in case of HTTP errors
Vsevolod Stakhov [Fri, 29 Jul 2016 16:43:48 +0000 (17:43 +0100)]
[Minor] Update version to 1.3.1
Vsevolod Stakhov [Fri, 29 Jul 2016 16:10:44 +0000 (17:10 +0100)]
[Fix] Filter NaN from scores in history
Vsevolod Stakhov [Fri, 29 Jul 2016 15:30:31 +0000 (16:30 +0100)]
[Fix] Do not break history on NaN in required score
Issue: #763
Reported by: @fatalbanana
Vsevolod Stakhov [Fri, 29 Jul 2016 15:28:57 +0000 (16:28 +0100)]
Merge pull request #771 from fatalbanana/fun
[Test] Help rspamd find fun.lua
Andrew Lewis [Fri, 29 Jul 2016 15:05:56 +0000 (16:05 +0100)]
[Test] Help rspamd find fun.lua
Vsevolod Stakhov [Fri, 29 Jul 2016 14:59:06 +0000 (15:59 +0100)]
[Fix] Forgot to commit leftover changes
Vsevolod Stakhov [Fri, 29 Jul 2016 14:24:01 +0000 (15:24 +0100)]
Merge pull request #768 from fatalbanana/robot
[Test] Some minor fixes & improvements for tests
Andrew Lewis [Thu, 28 Jul 2016 19:33:26 +0000 (20:33 +0100)]
[Test] Some minor fixes & improvements for tests
- Also machine-format test data again
Vsevolod Stakhov [Fri, 29 Jul 2016 13:10:18 +0000 (14:10 +0100)]
Merge pull request #762 from fatalbanana/no-more-socket-activation
[Rework] Remove systemd socket activation (Fixes #759)
Vsevolod Stakhov [Fri, 29 Jul 2016 13:09:17 +0000 (14:09 +0100)]
Merge pull request #770 from fatalbanana/gl
[Fix] Restore selective greylisting behaviour (Fixes #764)
Vsevolod Stakhov [Fri, 29 Jul 2016 13:05:02 +0000 (14:05 +0100)]
[Fix] Use temporary storage for hyperscan cache
Vsevolod Stakhov [Fri, 29 Jul 2016 13:04:35 +0000 (14:04 +0100)]
[Fix] Fix prefilter mode for multimap
Vsevolod Stakhov [Fri, 29 Jul 2016 12:54:58 +0000 (13:54 +0100)]
[Fix] Ensure that hyperscan cache written is written properly
Andrew Lewis [Fri, 29 Jul 2016 11:55:31 +0000 (13:55 +0200)]
[Fix] Restore selective greylisting behaviour
Vsevolod Stakhov [Fri, 29 Jul 2016 12:44:08 +0000 (13:44 +0100)]
[Feature] Allow maps with multiple symbols and scores
Vsevolod Stakhov [Fri, 29 Jul 2016 12:43:45 +0000 (13:43 +0100)]
[Fix] Fix dependencies in multimap plugin
Vsevolod Stakhov [Fri, 29 Jul 2016 12:43:12 +0000 (13:43 +0100)]
[Feature] Allow to store strings in radix maps
Vsevolod Stakhov [Fri, 29 Jul 2016 11:29:37 +0000 (12:29 +0100)]
[Feature] Allow to register metric symbols from multimap
Vsevolod Stakhov [Fri, 29 Jul 2016 10:07:25 +0000 (11:07 +0100)]
[Fix] Fix another locking issue in sqlite
Vsevolod Stakhov [Fri, 29 Jul 2016 09:05:46 +0000 (10:05 +0100)]
[CritFix] Fix crash when the first received is faked
Vsevolod Stakhov [Thu, 28 Jul 2016 17:40:11 +0000 (18:40 +0100)]
[Fix] Fix installed permissions for rspamd_stats