]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 9 May 2016 09:11:33 +0000 (10:11 +0100)]
[Feature] Distinguish luajit from lua
Vsevolod Stakhov [Sun, 8 May 2016 19:22:38 +0000 (20:22 +0100)]
[Rework] Import linenoise for line editing
Vsevolod Stakhov [Sun, 8 May 2016 16:13:00 +0000 (17:13 +0100)]
[Minor] Use shorter keys for replies module
Vsevolod Stakhov [Sun, 8 May 2016 16:03:28 +0000 (17:03 +0100)]
Merge pull request #625 from fatalbanana/master
[Feature] Add replies plugin
Andrew Lewis [Sun, 8 May 2016 14:37:12 +0000 (16:37 +0200)]
[Feature] Add replies plugin
Vsevolod Stakhov [Sat, 7 May 2016 12:39:13 +0000 (13:39 +0100)]
[Fix] Fix build
Vsevolod Stakhov [Sat, 7 May 2016 12:33:21 +0000 (13:33 +0100)]
[Feature] Propagate HTTP result string when using proxy
Vsevolod Stakhov [Sat, 7 May 2016 12:33:05 +0000 (13:33 +0100)]
[Feature] Better lua_redis logging
Vsevolod Stakhov [Sat, 7 May 2016 12:23:27 +0000 (13:23 +0100)]
[Fix] Do not greylist messages if redis has failed somehow
Vsevolod Stakhov [Sat, 7 May 2016 12:13:27 +0000 (13:13 +0100)]
[Feature] Better deal with backend errors
Vsevolod Stakhov [Sat, 7 May 2016 11:36:50 +0000 (12:36 +0100)]
[Fix] Fix more issues with scripts processing
Vsevolod Stakhov [Sat, 7 May 2016 11:28:20 +0000 (12:28 +0100)]
[Fix] Fix lua compare function init
Vsevolod Stakhov [Sat, 7 May 2016 11:21:34 +0000 (12:21 +0100)]
[Fix] Fix proxying of the encrypted messages
Vsevolod Stakhov [Sat, 7 May 2016 11:21:15 +0000 (12:21 +0100)]
[Fix] Adjust body/body_buf when stealing encrypted message
Vsevolod Stakhov [Sat, 7 May 2016 11:10:06 +0000 (12:10 +0100)]
[Fix] Properly init and free session structures
Vsevolod Stakhov [Fri, 6 May 2016 16:28:46 +0000 (17:28 +0100)]
[Fix] Another try to fix hanged redis sessions
Vsevolod Stakhov [Fri, 6 May 2016 16:26:42 +0000 (17:26 +0100)]
[Minor] Print task pointer to simplify debug
Vsevolod Stakhov [Fri, 6 May 2016 16:22:44 +0000 (17:22 +0100)]
Merge branch 'rspamd-test-proxy'
Vsevolod Stakhov [Fri, 6 May 2016 16:21:35 +0000 (17:21 +0100)]
[Feature] Implement compare scripts for mirrors results
Vsevolod Stakhov [Fri, 6 May 2016 16:13:13 +0000 (17:13 +0100)]
[Feature] Implement compare scripts setup
Vsevolod Stakhov [Fri, 6 May 2016 15:51:10 +0000 (16:51 +0100)]
[Feature] Implement mirroring in rspamd proxy
Vsevolod Stakhov [Fri, 6 May 2016 15:50:52 +0000 (16:50 +0100)]
[Feature] Add method to copy message from http connection
Vsevolod Stakhov [Fri, 6 May 2016 15:50:35 +0000 (16:50 +0100)]
[Feature] Add utility function to return random number from 0 to 1
Vsevolod Stakhov [Fri, 6 May 2016 15:00:53 +0000 (16:00 +0100)]
[Feature] Add results parsing code
Vsevolod Stakhov [Fri, 6 May 2016 14:40:50 +0000 (15:40 +0100)]
[Rework] Separate method to close backend connections
Vsevolod Stakhov [Fri, 6 May 2016 14:38:40 +0000 (15:38 +0100)]
[Feature] Split main connection from mirrored connections
Vsevolod Stakhov [Fri, 6 May 2016 14:09:21 +0000 (15:09 +0100)]
[Feature] Add mirrors feature
Vsevolod Stakhov [Fri, 6 May 2016 13:29:54 +0000 (14:29 +0100)]
[Feature] Improve logging in proxy and add refcounts
Vsevolod Stakhov [Fri, 6 May 2016 13:19:00 +0000 (14:19 +0100)]
[Feature] Perform files expansion on proxying
Vsevolod Stakhov [Fri, 6 May 2016 12:28:56 +0000 (13:28 +0100)]
[Rework] Rename http proxy to rspamd proxy
Vsevolod Stakhov [Fri, 6 May 2016 11:27:52 +0000 (12:27 +0100)]
[Fix] Remove event before closing of fd to avoid race conditions
Vsevolod Stakhov [Fri, 6 May 2016 10:10:15 +0000 (11:10 +0100)]
[Fix] Fix max_train setup in ANN module
Vsevolod Stakhov [Fri, 6 May 2016 09:10:52 +0000 (10:10 +0100)]
Merge pull request #622 from moisseev/patch-1
[Minor] Fix percent sign in statistics learning condition
Vsevolod Stakhov [Fri, 6 May 2016 09:05:15 +0000 (10:05 +0100)]
[Fix] Reduce the default thresholds for learning
Issue: #624
Reported by: @moisseev
Alexander Moisseev [Fri, 6 May 2016 06:07:36 +0000 (09:07 +0300)]
[Minor] Fix percent sign in statistics learning condition
Vsevolod Stakhov [Thu, 5 May 2016 16:02:39 +0000 (17:02 +0100)]
[Feature] Sort symbols when displaying them in log
Vsevolod Stakhov [Thu, 5 May 2016 15:36:58 +0000 (16:36 +0100)]
[Fix] Another rework for lua_redis events handling
Issue: #609
Vsevolod Stakhov [Thu, 5 May 2016 13:26:20 +0000 (14:26 +0100)]
[Feature] Use rspamd specific type checks for userdata
Vsevolod Stakhov [Thu, 5 May 2016 13:26:02 +0000 (14:26 +0100)]
[Fix] Improve lua redis handling
Vsevolod Stakhov [Thu, 5 May 2016 13:25:09 +0000 (14:25 +0100)]
[CritFix] Fix redis structure by adding {NULL, NULL} member
Issue: #609
Reported by: @moisseev
Vsevolod Stakhov [Thu, 5 May 2016 13:24:16 +0000 (14:24 +0100)]
[Feature] Add better method to check lua userdata types
Vsevolod Stakhov [Thu, 5 May 2016 12:25:36 +0000 (13:25 +0100)]
[Fix] Use custom error function for pre and post filters
Vsevolod Stakhov [Thu, 5 May 2016 10:42:49 +0000 (11:42 +0100)]
[Fix] Initialize vars to avoid warnings
Vsevolod Stakhov [Thu, 5 May 2016 10:41:26 +0000 (11:41 +0100)]
[Fix] Fix order of arguments
Vsevolod Stakhov [Thu, 5 May 2016 08:27:20 +0000 (09:27 +0100)]
[Fix] Try to fix redis crashes
Vsevolod Stakhov [Thu, 5 May 2016 08:27:00 +0000 (09:27 +0100)]
[Fix] Cleanup stack from global vars
Vsevolod Stakhov [Thu, 5 May 2016 08:26:43 +0000 (09:26 +0100)]
[Feature] Improve logging lua types
Vsevolod Stakhov [Wed, 4 May 2016 15:11:37 +0000 (16:11 +0100)]
[Feature] Add more domains to redirectors list
Vsevolod Stakhov [Wed, 4 May 2016 15:06:25 +0000 (16:06 +0100)]
[Doc] Add preliminary FANN documentation
Vsevolod Stakhov [Wed, 4 May 2016 14:46:25 +0000 (15:46 +0100)]
[Feature] Print userdata using tostring if possible
Vsevolod Stakhov [Wed, 4 May 2016 14:22:28 +0000 (15:22 +0100)]
[Feature] Improve phishing plugin
- Ignore redirected URLs
- Fix levenshtein distance calculations
Vsevolod Stakhov [Wed, 4 May 2016 14:20:24 +0000 (15:20 +0100)]
[Feature] Improve levenshtein distance function
- Use g_malloc instead of alloca
- Allow to set variable replacement cost
- Update lua util.levenshtein_distance
Vsevolod Stakhov [Wed, 4 May 2016 13:21:05 +0000 (14:21 +0100)]
[Fix] Repair optional dependencies
Vsevolod Stakhov [Wed, 4 May 2016 13:04:25 +0000 (14:04 +0100)]
[Minor] Slighlty reduce PHISHING score
Vsevolod Stakhov [Wed, 4 May 2016 13:00:34 +0000 (14:00 +0100)]
[Minor] Always return constant number of results from lua redis
Vsevolod Stakhov [Wed, 4 May 2016 12:13:42 +0000 (13:13 +0100)]
[Minor] Improve string to action function
Vsevolod Stakhov [Wed, 4 May 2016 13:00:26 +0000 (14:00 +0100)]
Merge pull request #618 from moisseev/phishing
Updates to phishing module
Vsevolod Stakhov [Wed, 4 May 2016 10:48:08 +0000 (11:48 +0100)]
[Fix] Do not greylist on rejection
Vsevolod Stakhov [Tue, 3 May 2016 17:40:55 +0000 (18:40 +0100)]
[Fix] Fix ratelimit initialization
Vsevolod Stakhov [Tue, 3 May 2016 17:18:43 +0000 (18:18 +0100)]
[Feature] Various improvements in greylist module
Vsevolod Stakhov [Tue, 3 May 2016 16:02:51 +0000 (17:02 +0100)]
Revert "[CritFix] Pre-filters and post-filters were completely broken"
This reverts commit
88c10484ff3802b59d8bcc7e9832e9fe97c9bb89 .
Vsevolod Stakhov [Tue, 3 May 2016 15:51:09 +0000 (16:51 +0100)]
[CritFix] Really skip filters in case of pre-result set
Vsevolod Stakhov [Tue, 3 May 2016 15:49:59 +0000 (16:49 +0100)]
[CritFix] Pre-filters and post-filters were completely broken
Vsevolod Stakhov [Tue, 3 May 2016 15:23:34 +0000 (16:23 +0100)]
[CritFix] Restore the intended pre-filters behaviour
Previously, filters and post-filters were checked even if pre-filter has
set some result. Now pre-result efficienly makes a trapdoor to writing
reply (as it was before 1.0).
Vsevolod Stakhov [Tue, 3 May 2016 14:37:08 +0000 (15:37 +0100)]
[Feature] Implement order of pre/post filters
Vsevolod Stakhov [Tue, 3 May 2016 12:16:47 +0000 (13:16 +0100)]
[Feature] Add preliminary greylist plugin
Issue: #611
Vsevolod Stakhov [Tue, 3 May 2016 12:16:30 +0000 (13:16 +0100)]
[Fix] One more fix in redis destructor
Vsevolod Stakhov [Tue, 3 May 2016 12:02:35 +0000 (13:02 +0100)]
[Fix] Fix ipv6 mask application
Vsevolod Stakhov [Tue, 3 May 2016 11:59:13 +0000 (12:59 +0100)]
[Fix] Reverse options when received
Vsevolod Stakhov [Tue, 3 May 2016 11:23:18 +0000 (12:23 +0100)]
[Feature] Allow setting scores and actions from lua
Vsevolod Stakhov [Tue, 3 May 2016 10:11:15 +0000 (11:11 +0100)]
[Feature] Add more encodingsto cryptobox hash API
Vsevolod Stakhov [Tue, 3 May 2016 09:51:36 +0000 (10:51 +0100)]
[Feature] Allow partial hash updates
Vsevolod Stakhov [Tue, 3 May 2016 09:06:55 +0000 (10:06 +0100)]
[Feature] Add task:get_rawbody method
Vsevolod Stakhov [Tue, 3 May 2016 08:23:26 +0000 (09:23 +0100)]
[Feature] Now cryptobox lua API accepts rspamd text as input
Vsevolod Stakhov [Tue, 3 May 2016 08:14:05 +0000 (09:14 +0100)]
[Feature] Add some time manipulation functions for lua APi
Alexander Moisseev [Mon, 2 May 2016 14:34:32 +0000 (17:34 +0300)]
[Minor] Add whitelist for phishing module
Alexander Moisseev [Mon, 2 May 2016 14:22:00 +0000 (17:22 +0300)]
[Minor fix] Limit PHISHING to one shot
Alexander Moisseev [Mon, 2 May 2016 14:13:56 +0000 (17:13 +0300)]
[Minor] Add redirector's TLD to PHISHING symbol options
Vsevolod Stakhov [Mon, 2 May 2016 13:44:25 +0000 (14:44 +0100)]
[Fix] Do not send NaN in json
Issue: #615
Reported by: @moisseev
Vsevolod Stakhov [Mon, 2 May 2016 12:49:01 +0000 (13:49 +0100)]
[Feature] Add 'symbols_enabled' and 'groups_enabled' to settings
Vsevolod Stakhov [Sat, 30 Apr 2016 21:00:32 +0000 (22:00 +0100)]
Merge pull request #614 from Sp1l/patch-1
Fix build with unmodified LibreSSL opensslv.h
Bernard Spil [Sat, 30 Apr 2016 18:06:52 +0000 (20:06 +0200)]
Fix build with unmodified LibreSSL opensslv.h
Add test for LibreSSL to use "old" methods when OPENSSL_VERSION_NUMBER is 0x20000000L
Vsevolod Stakhov [Sat, 30 Apr 2016 14:51:08 +0000 (15:51 +0100)]
[Feature] Add learn condition to the default configuration
Vsevolod Stakhov [Sat, 30 Apr 2016 14:44:45 +0000 (15:44 +0100)]
[Fix] Fix conditional learning
Vsevolod Stakhov [Sat, 30 Apr 2016 14:44:25 +0000 (15:44 +0100)]
[Fix] Fix return value for couple of lua functions
Vsevolod Stakhov [Sat, 30 Apr 2016 14:37:58 +0000 (15:37 +0100)]
[Fix] Fix setting of the lua top
Vsevolod Stakhov [Sat, 30 Apr 2016 12:35:22 +0000 (13:35 +0100)]
[Minor] Add 'learn_condition' alias
Vsevolod Stakhov [Sat, 30 Apr 2016 12:21:27 +0000 (13:21 +0100)]
[Feature] Implement conditional learning for classifiers
Issue: #613
Vsevolod Stakhov [Sat, 30 Apr 2016 12:21:08 +0000 (13:21 +0100)]
[Minor] Remove deprecated lua functions
Vsevolod Stakhov [Sat, 30 Apr 2016 11:33:53 +0000 (12:33 +0100)]
[Feature] Add learn conditions for classifiers
Issue: #613
Vsevolod Stakhov [Sat, 30 Apr 2016 11:11:18 +0000 (12:11 +0100)]
[Feature] Save bayes probability in memory pool var
Issue: #613
Vsevolod Stakhov [Fri, 29 Apr 2016 16:18:54 +0000 (17:18 +0100)]
[Fix] More guards for redis free
Vsevolod Stakhov [Fri, 29 Apr 2016 15:30:22 +0000 (16:30 +0100)]
Release 1.2.6
* Fix parsing of URLs in texts
* Fix creating of URLs from LUA
* Fix some more URL detector issues
* Fix unit tests
* Fix JIT compilation for PCRE2 expressions
* Fix JIT usage for PCRE2
* Fix UTF8 mode in PCRE2
* Add workaround for pre-historic compilers (#605)
* Fix and rescore R_PARTS_DIFFER logic
* Properly set lua paths for tests
* Fix SA rawbody processing - exclude top part
* Store text parts content with newlines stripped
* Properly support SA body regexps
* Fix body rules in SA plugin
* Fix setting of score for parts differ
* More fixes to parts distance calculations
- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca
* Fix percents output in R_PARTS_DIFFER
* Plug memory leak in dkim module
* Plug minor memory leak in regexps creation
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
Vsevolod Stakhov [Fri, 29 Apr 2016 13:55:38 +0000 (14:55 +0100)]
[Fix] Inverse logic for saving ANN
Vsevolod Stakhov [Fri, 29 Apr 2016 13:18:44 +0000 (14:18 +0100)]
[Minor] Plug minor memory leak in regexps creation
Vsevolod Stakhov [Fri, 29 Apr 2016 13:04:07 +0000 (14:04 +0100)]
[Fix] Further tweaks to redis garbadge collection
Vsevolod Stakhov [Fri, 29 Apr 2016 13:01:48 +0000 (14:01 +0100)]
[CritFix] Plug memory leak in dkim module
Vsevolod Stakhov [Fri, 29 Apr 2016 12:23:40 +0000 (13:23 +0100)]
[Minor] Fix percents output in R_PARTS_DIFFER
Vsevolod Stakhov [Fri, 29 Apr 2016 11:34:12 +0000 (12:34 +0100)]
[Fix] More fixes to parts distance calculations
- Use hashed words instead of full words for speed
- Improve levenstein distance calculations and penalise replaces
- Always return number from 0 to 1
- Use g_malloc instead of alloca
Vsevolod Stakhov [Fri, 29 Apr 2016 07:58:52 +0000 (08:58 +0100)]
[Minor] Use more portable constants for uint64_t