]>
source.dussan.org Git - rspamd.git/log
Larry Hynes [Thu, 26 May 2016 21:35:50 +0000 (22:35 +0100)]
Correct migration.md, small change to writing_rules.md
Larry Hynes [Mon, 16 May 2016 21:20:52 +0000 (22:20 +0100)]
[Doc] Final changes to writing_rules.md
Larry Hynes [Fri, 13 May 2016 23:24:57 +0000 (00:24 +0100)]
[Doc] Initial changes to writing_rules.md
Larry Hynes [Fri, 13 May 2016 22:57:48 +0000 (23:57 +0100)]
[Doc] Update migrate_sa.md
Larry Hynes [Fri, 13 May 2016 22:18:12 +0000 (23:18 +0100)]
[Doc] Update tutorials index
Larry Hynes [Fri, 13 May 2016 22:14:18 +0000 (23:14 +0100)]
[Doc] Update Documentation index
Larry Hynes [Fri, 13 May 2016 18:45:03 +0000 (19:45 +0100)]
Merge remote-tracking branch 'upstream/master'
* upstream/master: (36 commits)
[Feature] Add versions to fuzzy storage
[Fix] Another fix for maps scheduling
[Fix] Fix events handling when scheduling map wacth
[Fix] Try to fix false positive URL detections in text parts
[Fix] Include fuzzy key to distinguish storages with different keys
[Feature] Rework and improve fuzzy storage
[Test] Add static test for shingles
[Minor] Adjust hashes
[Feature] Use metrohash as well
[Minor] 8 bytes fits perfect for mumhash
[Fix] Fix handling of the same words
[Feature] Further micro-optimizations for hashing and shingles
[Feature] Optimize alignment to speed up hashing
[Feature] Try to select the optimal possible function for input
[Feature] Limit logging of elements that could have too many items
[Feature] Add more algorithms for shingles generation
[Fix] Fix compilation issue
[Feature] Use mumhash for words hashing
[Feature] Add and use mumhash for non-crypto hashing
[Feature] Add a simple script to evaluate rspamd rules in the logs
...
Vsevolod Stakhov [Fri, 13 May 2016 14:58:01 +0000 (15:58 +0100)]
[Feature] Add versions to fuzzy storage
Vsevolod Stakhov [Fri, 13 May 2016 14:57:49 +0000 (15:57 +0100)]
[Fix] Another fix for maps scheduling
Vsevolod Stakhov [Fri, 13 May 2016 10:10:42 +0000 (11:10 +0100)]
[Fix] Fix events handling when scheduling map wacth
Vsevolod Stakhov [Thu, 12 May 2016 13:42:50 +0000 (14:42 +0100)]
[Fix] Try to fix false positive URL detections in text parts
Vsevolod Stakhov [Thu, 12 May 2016 12:56:06 +0000 (13:56 +0100)]
[Fix] Include fuzzy key to distinguish storages with different keys
Vsevolod Stakhov [Thu, 12 May 2016 12:50:10 +0000 (13:50 +0100)]
[Feature] Rework and improve fuzzy storage
- Allow multiple algorithms in fuzzy rules
- Cache fuzzy requests to avoid expensive calculations for multiple
fuzzy storages
- Simplify request generating procedure
Vsevolod Stakhov [Thu, 12 May 2016 11:48:03 +0000 (12:48 +0100)]
[Test] Add static test for shingles
Vsevolod Stakhov [Thu, 12 May 2016 11:45:37 +0000 (12:45 +0100)]
[Minor] Adjust hashes
Vsevolod Stakhov [Thu, 12 May 2016 11:45:17 +0000 (12:45 +0100)]
[Feature] Use metrohash as well
Vsevolod Stakhov [Thu, 12 May 2016 10:41:44 +0000 (11:41 +0100)]
[Minor] 8 bytes fits perfect for mumhash
Vsevolod Stakhov [Thu, 12 May 2016 10:29:20 +0000 (11:29 +0100)]
[Fix] Fix handling of the same words
Vsevolod Stakhov [Thu, 12 May 2016 08:48:29 +0000 (09:48 +0100)]
[Feature] Further micro-optimizations for hashing and shingles
Vsevolod Stakhov [Wed, 11 May 2016 18:06:41 +0000 (19:06 +0100)]
[Feature] Optimize alignment to speed up hashing
Vsevolod Stakhov [Wed, 11 May 2016 15:28:07 +0000 (16:28 +0100)]
[Feature] Try to select the optimal possible function for input
Vsevolod Stakhov [Wed, 11 May 2016 15:11:13 +0000 (16:11 +0100)]
[Feature] Limit logging of elements that could have too many items
Vsevolod Stakhov [Wed, 11 May 2016 14:54:47 +0000 (15:54 +0100)]
[Feature] Add more algorithms for shingles generation
Vsevolod Stakhov [Wed, 11 May 2016 14:14:49 +0000 (15:14 +0100)]
[Fix] Fix compilation issue
Vsevolod Stakhov [Wed, 11 May 2016 14:01:04 +0000 (15:01 +0100)]
[Feature] Use mumhash for words hashing
Vsevolod Stakhov [Wed, 11 May 2016 13:59:29 +0000 (14:59 +0100)]
[Feature] Add and use mumhash for non-crypto hashing
Vsevolod Stakhov [Wed, 11 May 2016 13:23:36 +0000 (14:23 +0100)]
[Feature] Add a simple script to evaluate rspamd rules in the logs
Vsevolod Stakhov [Tue, 10 May 2016 15:38:43 +0000 (16:38 +0100)]
[Feature] New abstract hashing API in cryptobox
Vsevolod Stakhov [Tue, 10 May 2016 15:27:11 +0000 (16:27 +0100)]
[CritFix] Fix levenshtein distance calculations
Vsevolod Stakhov [Tue, 10 May 2016 14:29:05 +0000 (15:29 +0100)]
[Feature] Adopt plugins for new maps API
Vsevolod Stakhov [Tue, 10 May 2016 14:15:55 +0000 (15:15 +0100)]
[Feature] Use new maps API for local addrs
Vsevolod Stakhov [Tue, 10 May 2016 14:06:54 +0000 (15:06 +0100)]
[Feature] Use extended map types in lua map, unify code
Vsevolod Stakhov [Tue, 10 May 2016 13:37:55 +0000 (14:37 +0100)]
[Feature] Allow to extract ucl_object from lua using common API
Vsevolod Stakhov [Tue, 10 May 2016 13:33:30 +0000 (14:33 +0100)]
[Feature] Implement constructing of map from UCL
Vsevolod Stakhov [Tue, 10 May 2016 12:53:40 +0000 (13:53 +0100)]
[Fix] Further fixes in maps code
Vsevolod Stakhov [Tue, 10 May 2016 10:34:03 +0000 (11:34 +0100)]
[Fix] Fix memory corruption
Vsevolod Stakhov [Tue, 10 May 2016 09:10:23 +0000 (10:10 +0100)]
[Fix] Varioud fixes to the maps code
Vsevolod Stakhov [Tue, 10 May 2016 08:27:22 +0000 (09:27 +0100)]
[Feature] Allow to have specific settings for mirrored traffic
Vsevolod Stakhov [Mon, 9 May 2016 17:59:46 +0000 (18:59 +0100)]
[Rework] Partly fix controller
Issue: #616
Vsevolod Stakhov [Mon, 9 May 2016 17:55:45 +0000 (18:55 +0100)]
[Rework] Adopt new maps code
Issue: #616
Vsevolod Stakhov [Mon, 9 May 2016 17:38:36 +0000 (18:38 +0100)]
[Rework] Fix lua maps API
Vsevolod Stakhov [Mon, 9 May 2016 17:19:49 +0000 (18:19 +0100)]
[Rework] Start the complete maps rework
Issue: #616
Larry Hynes [Mon, 9 May 2016 15:45:07 +0000 (16:45 +0100)]
Merge remote-tracking branch 'upstream/master'
* upstream/master:
[Fix] Try to handle multiline history in a more sane way
[Minor] Some output fixes
[Feature] Add dot commands for lua REPL:
[Feature] Fix task functions to work without rspamd_config
[Fix] Fix REPL output
[Feature] Add the initial version of LUA repl to rspamadm
[Feature] Distinguish luajit from lua
[Rework] Import linenoise for line editing
[Minor] Use shorter keys for replies module
[Feature] Add replies plugin
Vsevolod Stakhov [Mon, 9 May 2016 14:45:43 +0000 (15:45 +0100)]
[Feature] Add utility method to convert ftok to C string
Vsevolod Stakhov [Mon, 9 May 2016 12:58:27 +0000 (13:58 +0100)]
[Fix] Try to handle multiline history in a more sane way
Vsevolod Stakhov [Mon, 9 May 2016 12:40:13 +0000 (13:40 +0100)]
[Minor] Some output fixes
Vsevolod Stakhov [Mon, 9 May 2016 12:36:51 +0000 (13:36 +0100)]
[Feature] Add dot commands for lua REPL:
* .help - shows help
* .load - loads lua script
* .message - scans messages using the specified lua callback
Vsevolod Stakhov [Mon, 9 May 2016 12:35:37 +0000 (13:35 +0100)]
[Feature] Fix task functions to work without rspamd_config
Vsevolod Stakhov [Mon, 9 May 2016 10:13:52 +0000 (11:13 +0100)]
[Fix] Fix REPL output
Vsevolod Stakhov [Mon, 9 May 2016 09:12:26 +0000 (10:12 +0100)]
Merge branch 'lua-repl'
Vsevolod Stakhov [Mon, 9 May 2016 09:11:53 +0000 (10:11 +0100)]
[Feature] Add the initial version of LUA repl to rspamadm
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
Larry Hynes [Sat, 7 May 2016 21:39:14 +0000 (22:39 +0100)]
Merge remote-tracking branch 'upstream/master'
* upstream/master: (37 commits)
[Fix] Fix build
[Feature] Propagate HTTP result string when using proxy
[Feature] Better lua_redis logging
[Fix] Do not greylist messages if redis has failed somehow
[Feature] Better deal with backend errors
[Fix] Fix more issues with scripts processing
[Fix] Fix lua compare function init
[Fix] Fix proxying of the encrypted messages
[Fix] Adjust body/body_buf when stealing encrypted message
[Fix] Properly init and free session structures
[Fix] Another try to fix hanged redis sessions
[Minor] Print task pointer to simplify debug
[Feature] Implement compare scripts for mirrors results
[Feature] Implement compare scripts setup
[Feature] Implement mirroring in rspamd proxy
[Feature] Add method to copy message from http connection
[Feature] Add utility function to return random number from 0 to 1
[Feature] Add results parsing code
[Rework] Separate method to close backend connections
[Feature] Split main connection from mirrored connections
...
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
Larry Hynes [Thu, 5 May 2016 13:14:01 +0000 (14:14 +0100)]
Merge remote-tracking branch 'upstream/master'
* upstream/master:
[Fix] Try to fix redis crashes
[Fix] Cleanup stack from global vars
[Feature] Improve logging lua 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