]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 years agoFix cache file open flags.
Vsevolod Stakhov [Wed, 27 May 2015 16:10:27 +0000 (17:10 +0100)] 
Fix cache file open flags.

10 years agoFix cache open/close.
Vsevolod Stakhov [Wed, 27 May 2015 16:08:42 +0000 (17:08 +0100)] 
Fix cache open/close.

10 years agoFix uintptr conversions.
Vsevolod Stakhov [Wed, 27 May 2015 16:01:30 +0000 (17:01 +0100)] 
Fix uintptr conversions.

10 years agoFix states logic broken by the previous commit.
Vsevolod Stakhov [Wed, 27 May 2015 15:45:08 +0000 (16:45 +0100)] 
Fix states logic broken by the previous commit.

10 years agoFix no delayed symbols processing.
Vsevolod Stakhov [Wed, 27 May 2015 15:20:32 +0000 (16:20 +0100)] 
Fix no delayed symbols processing.

10 years agoFix sort function.
Vsevolod Stakhov [Wed, 27 May 2015 15:10:43 +0000 (16:10 +0100)] 
Fix sort function.

10 years agoFix plugins registration.
Vsevolod Stakhov [Wed, 27 May 2015 14:33:40 +0000 (15:33 +0100)] 
Fix plugins registration.

10 years agoRework cache validation.
Vsevolod Stakhov [Wed, 27 May 2015 13:33:59 +0000 (14:33 +0100)] 
Rework cache validation.

10 years agoFix double free if multiple classifiers are defined.
Vsevolod Stakhov [Wed, 27 May 2015 10:08:41 +0000 (11:08 +0100)] 
Fix double free if multiple classifiers are defined.

10 years agoMerge branch 'symbols-cache-rework'
Vsevolod Stakhov [Tue, 26 May 2015 21:28:24 +0000 (22:28 +0100)] 
Merge branch 'symbols-cache-rework'

10 years agoAdopt the rest of the code.
Vsevolod Stakhov [Tue, 26 May 2015 21:27:39 +0000 (22:27 +0100)] 
Adopt the rest of the code.

10 years agoAdopt lua API.
Vsevolod Stakhov [Tue, 26 May 2015 21:08:09 +0000 (22:08 +0100)] 
Adopt lua API.

10 years agoRework symbols processing.
Vsevolod Stakhov [Tue, 26 May 2015 18:04:09 +0000 (19:04 +0100)] 
Rework symbols processing.

10 years agoUpdate public API.
Vsevolod Stakhov [Tue, 26 May 2015 17:38:03 +0000 (18:38 +0100)] 
Update public API.

10 years agoRework symbols registration.
Vsevolod Stakhov [Tue, 26 May 2015 17:36:41 +0000 (18:36 +0100)] 
Rework symbols registration.

10 years agoRework structure.
Vsevolod Stakhov [Tue, 26 May 2015 17:17:35 +0000 (18:17 +0100)] 
Rework structure.

10 years agoAnother step for cache init/deinit rework.
Vsevolod Stakhov [Tue, 26 May 2015 17:07:56 +0000 (18:07 +0100)] 
Another step for cache init/deinit rework.

10 years agoIf replacement cannot be applied, just remove regexp.
Vsevolod Stakhov [Tue, 26 May 2015 16:37:45 +0000 (17:37 +0100)] 
If replacement cannot be applied, just remove regexp.

10 years agoFix misprint in spamassassin plugin.
Vsevolod Stakhov [Tue, 26 May 2015 16:03:09 +0000 (17:03 +0100)] 
Fix misprint in spamassassin plugin.

10 years agoRework initialization.
Vsevolod Stakhov [Tue, 26 May 2015 16:01:11 +0000 (17:01 +0100)] 
Rework initialization.

10 years agoRework saving and load of symbols cache.
Vsevolod Stakhov [Tue, 26 May 2015 15:21:39 +0000 (16:21 +0100)] 
Rework saving and load of symbols cache.

10 years agoUpdate copyright.
Vsevolod Stakhov [Tue, 26 May 2015 13:37:22 +0000 (14:37 +0100)] 
Update copyright.

10 years agoRefactor events API.
Vsevolod Stakhov [Tue, 26 May 2015 13:00:03 +0000 (14:00 +0100)] 
Refactor events API.

10 years agoFix i386 cpuid invocation.
Vsevolod Stakhov [Tue, 26 May 2015 11:33:04 +0000 (12:33 +0100)] 
Fix i386 cpuid invocation.

10 years agoMerge branch 'sessions_rework'
Vsevolod Stakhov [Tue, 26 May 2015 11:29:18 +0000 (12:29 +0100)] 
Merge branch 'sessions_rework'

10 years agoFix hashing.
Vsevolod Stakhov [Tue, 26 May 2015 11:28:56 +0000 (12:28 +0100)] 
Fix hashing.

10 years agoAdd assertion to find bugs with events.
Vsevolod Stakhov [Tue, 26 May 2015 10:44:39 +0000 (11:44 +0100)] 
Add assertion to find bugs with events.

10 years agoRemove useless locking.
Vsevolod Stakhov [Tue, 26 May 2015 10:41:17 +0000 (11:41 +0100)] 
Remove useless locking.

10 years agoRemove threading support at all.
Vsevolod Stakhov [Tue, 26 May 2015 10:37:48 +0000 (11:37 +0100)] 
Remove threading support at all.

10 years agoFix hashing.
Vsevolod Stakhov [Tue, 26 May 2015 09:09:03 +0000 (10:09 +0100)] 
Fix hashing.

10 years agoFix lua session.
Vsevolod Stakhov [Tue, 26 May 2015 09:08:54 +0000 (10:08 +0100)] 
Fix lua session.

10 years agoCall watchers on event group completion.
Vsevolod Stakhov [Tue, 26 May 2015 08:57:26 +0000 (09:57 +0100)] 
Call watchers on event group completion.

10 years agoImpelement concept of watched events.
Vsevolod Stakhov [Tue, 26 May 2015 08:50:18 +0000 (09:50 +0100)] 
Impelement concept of watched events.

10 years agoRemove async threads for now.
Vsevolod Stakhov [Tue, 26 May 2015 08:38:47 +0000 (09:38 +0100)] 
Remove async threads for now.

They are anyway broken in the asynchronous world.

10 years agoUpdate copyright.
Vsevolod Stakhov [Tue, 26 May 2015 08:20:29 +0000 (09:20 +0100)] 
Update copyright.

10 years agoAdd unit tests for b64 decoding and native encoding.
Vsevolod Stakhov [Mon, 25 May 2015 16:52:38 +0000 (17:52 +0100)] 
Add unit tests for b64 decoding and native encoding.

10 years agoFix ownership issues for zero-copy decode.
Vsevolod Stakhov [Mon, 25 May 2015 16:52:14 +0000 (17:52 +0100)] 
Fix ownership issues for zero-copy decode.

10 years agoAllow __len metamethod on rspamd{text}.
Vsevolod Stakhov [Mon, 25 May 2015 16:51:57 +0000 (17:51 +0100)] 
Allow __len metamethod on rspamd{text}.

10 years agoAdd base64 decoding lua utility.
Vsevolod Stakhov [Mon, 25 May 2015 15:44:24 +0000 (16:44 +0100)] 
Add base64 decoding lua utility.

10 years agoFix build on FreeBSD < 10.
Vsevolod Stakhov [Sun, 24 May 2015 17:00:41 +0000 (18:00 +0100)] 
Fix build on FreeBSD < 10.

10 years agoSkip spaces at the beginning of mime message.
Vsevolod Stakhov [Sun, 24 May 2015 15:53:13 +0000 (16:53 +0100)] 
Skip spaces at the beginning of mime message.

10 years agoDBL_ABUSE_REDIR should not have significant weight.
Vsevolod Stakhov [Sat, 23 May 2015 21:18:59 +0000 (22:18 +0100)] 
DBL_ABUSE_REDIR should not have significant weight.

10 years agoAllow to split by lua_regexp rspamd{text} objects.
Vsevolod Stakhov [Sat, 23 May 2015 20:59:00 +0000 (21:59 +0100)] 
Allow to split by lua_regexp rspamd{text} objects.

10 years agoAllow to specify custom stop pattern for lua_tcp.
Vsevolod Stakhov [Thu, 21 May 2015 17:26:20 +0000 (18:26 +0100)] 
Allow to specify custom stop pattern for lua_tcp.

10 years agoRelease 0.9.4 0.9.4
Vsevolod Stakhov [Thu, 21 May 2015 13:28:22 +0000 (14:28 +0100)] 
Release 0.9.4

* Fix critical bugs in tokenization algorithm
* Write unit tests for tokenization
* Add documentation for lua_tcp
* Switch off legacy tokenization by default.
* Fix critical bugs in words normalization
* Add lua bindings to tokenizer.
* Implement storing of HTTP headers inside task
* Add lua API to accerss HTTP headers data
* Implemented base64 encoding suitable for MIME
* Use caseless hash and equal functions for HTTP request headers.
* Improve debian architectures support (by @dottedmag)

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
10 years agoFix possible illegal memory access.
Vsevolod Stakhov [Thu, 21 May 2015 13:10:52 +0000 (14:10 +0100)] 
Fix possible illegal memory access.

10 years agoMerge pull request #287 from dottedmag/master
Vsevolod Stakhov [Thu, 21 May 2015 13:20:31 +0000 (14:20 +0100)] 
Merge pull request #287 from dottedmag/master

Debian changes for 0.9.4

10 years agoSwitch off legacy tokenization by default.
Vsevolod Stakhov [Thu, 21 May 2015 12:31:39 +0000 (13:31 +0100)] 
Switch off legacy tokenization by default.

10 years agoDo not stem exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 12:31:28 +0000 (13:31 +0100)] 
Do not stem exceptions.

10 years agoUse not common name for tokenization exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 11:52:54 +0000 (12:52 +0100)] 
Use not common name for tokenization exceptions.

10 years agoFix memory issues with tokens normalization.
Vsevolod Stakhov [Thu, 21 May 2015 11:47:40 +0000 (12:47 +0100)] 
Fix memory issues with tokens normalization.

10 years agoAdd more unit tests for tokenization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:52 +0000 (10:23 +0100)] 
Add more unit tests for tokenization.

10 years agoMore fixes to tokenization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:41 +0000 (10:23 +0100)] 
More fixes to tokenization.

10 years agoReverse list of exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:26 +0000 (10:23 +0100)] 
Reverse list of exceptions.

10 years agoAdd tests for tokenizer bug.
Vsevolod Stakhov [Wed, 20 May 2015 21:53:09 +0000 (22:53 +0100)] 
Add tests for tokenizer bug.

10 years agoFix critical bug in tokenization logic.
Vsevolod Stakhov [Wed, 20 May 2015 21:52:46 +0000 (22:52 +0100)] 
Fix critical bug in tokenization logic.

10 years agoAdd a simple unit test for tokenizer.
Vsevolod Stakhov [Wed, 20 May 2015 21:37:33 +0000 (22:37 +0100)] 
Add a simple unit test for tokenizer.

10 years agoAdd lua bindings to tokenizer.
Vsevolod Stakhov [Wed, 20 May 2015 21:17:45 +0000 (22:17 +0100)] 
Add lua bindings to tokenizer.

10 years agoUpdate changelog 287/head
Mikhail Gusarov [Wed, 20 May 2015 18:37:14 +0000 (18:37 +0000)] 
Update changelog

10 years agoRestrict luajit B-D to architectures it is available
Mikhail Gusarov [Wed, 20 May 2015 18:35:44 +0000 (18:35 +0000)] 
Restrict luajit B-D to architectures it is available

10 years agoUse caseless hash and equal functions for request headers.
Vsevolod Stakhov [Wed, 20 May 2015 16:34:15 +0000 (17:34 +0100)] 
Use caseless hash and equal functions for request headers.

10 years agoAdd API to get/set request headers from lua.
Vsevolod Stakhov [Wed, 20 May 2015 16:28:36 +0000 (17:28 +0100)] 
Add API to get/set request headers from lua.

10 years agoSave all HTTP headers as request headers.
Vsevolod Stakhov [Wed, 20 May 2015 15:30:56 +0000 (16:30 +0100)] 
Save all HTTP headers as request headers.

10 years agoAdd unit test for base64 encoding.
Vsevolod Stakhov [Wed, 20 May 2015 13:59:24 +0000 (14:59 +0100)] 
Add unit test for base64 encoding.

10 years agoFix issues in base64 encoding.
Vsevolod Stakhov [Wed, 20 May 2015 13:59:10 +0000 (14:59 +0100)] 
Fix issues in base64 encoding.

10 years agoAdd lua bindings for base64.
Vsevolod Stakhov [Wed, 20 May 2015 11:40:19 +0000 (12:40 +0100)] 
Add lua bindings for base64.

10 years agoAllow owning lua_text.
Vsevolod Stakhov [Wed, 20 May 2015 11:03:46 +0000 (12:03 +0100)] 
Allow owning lua_text.

10 years agoAdd base64 encoding routine.
Vsevolod Stakhov [Wed, 20 May 2015 10:49:51 +0000 (11:49 +0100)] 
Add base64 encoding routine.

10 years agoAdd documentation for lua_tcp.
Vsevolod Stakhov [Tue, 19 May 2015 17:38:09 +0000 (18:38 +0100)] 
Add documentation for lua_tcp.

10 years agoRelease 0.9.3 0.9.3
Vsevolod Stakhov [Tue, 19 May 2015 16:20:19 +0000 (17:20 +0100)] 
Release 0.9.3

* Revert incorrect regexp change that broke the default rules
* Fix lua_tcp module

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
10 years agoFix issues with lua_tcp.
Vsevolod Stakhov [Tue, 19 May 2015 16:16:31 +0000 (17:16 +0100)] 
Fix issues with lua_tcp.

10 years agoRevert automatic capture in regexps as it breaks things.
Vsevolod Stakhov [Tue, 19 May 2015 15:56:27 +0000 (16:56 +0100)] 
Revert automatic capture in regexps as it breaks things.

10 years agoRelease 0.9.2 0.9.2
Vsevolod Stakhov [Tue, 19 May 2015 15:34:21 +0000 (16:34 +0100)] 
Release 0.9.2

* Fix error on spawning unique workers.
* Add preliminary version of generic LUA TCP requests API.
* Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
* Fix fuzzy mime strings with only type.
* Improve thunderbird sanity checks.
* Fix critical bug on matching regular expressions.
* Make hiredis optional dependency.
* Fix multiple bugs in daemon reloading

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
10 years agoFix reload.
Vsevolod Stakhov [Tue, 19 May 2015 15:29:03 +0000 (16:29 +0100)] 
Fix reload.

10 years agoFix reloading in logger.
Vsevolod Stakhov [Tue, 19 May 2015 15:28:56 +0000 (16:28 +0100)] 
Fix reloading in logger.

10 years agoOne more try to fix memset.
Vsevolod Stakhov [Tue, 19 May 2015 15:28:42 +0000 (16:28 +0100)] 
One more try to fix memset.

10 years agoFix reloading of C plugins.
Vsevolod Stakhov [Tue, 19 May 2015 14:37:31 +0000 (15:37 +0100)] 
Fix reloading of C plugins.

10 years agoFix reloading of modules.
Vsevolod Stakhov [Tue, 19 May 2015 14:37:20 +0000 (15:37 +0100)] 
Fix reloading of modules.

10 years agoDo not try dereference NULL pointer.
Vsevolod Stakhov [Tue, 19 May 2015 14:37:02 +0000 (15:37 +0100)] 
Do not try dereference NULL pointer.

10 years agoMerge pull request #284 from dottedmag/master
Vsevolod Stakhov [Tue, 19 May 2015 13:34:18 +0000 (14:34 +0100)] 
Merge pull request #284 from dottedmag/master

Updates for 0.9.2 Debian release

10 years agoAdd method to detect the full size of message.
Vsevolod Stakhov [Tue, 19 May 2015 12:58:07 +0000 (13:58 +0100)] 
Add method to detect the full size of message.

10 years agoFallback to plain lua if luajit has not been found.
Vsevolod Stakhov [Tue, 19 May 2015 12:51:50 +0000 (13:51 +0100)] 
Fallback to plain lua if luajit has not been found.

10 years agoMake hiredis optional dependency.
Vsevolod Stakhov [Tue, 19 May 2015 12:43:26 +0000 (13:43 +0100)] 
Make hiredis optional dependency.

10 years agoFix critical bug on matching regular expressions.
Vsevolod Stakhov [Tue, 19 May 2015 12:32:09 +0000 (13:32 +0100)] 
Fix critical bug on matching regular expressions.

Issue: #186
Reported by: @moisseev

10 years agoImprove thunderbird sanity checks.
Vsevolod Stakhov [Tue, 19 May 2015 12:31:40 +0000 (13:31 +0100)] 
Improve thunderbird sanity checks.

Submitted by: corvax

10 years agoFix fuzzy mime strings with only type.
Vsevolod Stakhov [Tue, 19 May 2015 10:23:21 +0000 (11:23 +0100)] 
Fix fuzzy mime strings with only type.

Issue: #283
Reported by: @moisseev

10 years agoUpdate changelog 284/head
Mikhail Gusarov [Mon, 18 May 2015 16:57:10 +0000 (16:57 +0000)] 
Update changelog

10 years agoUse lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
Mikhail Gusarov [Mon, 18 May 2015 16:35:05 +0000 (16:35 +0000)] 
Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)

10 years agoRequire fixed version of libhiredis to drop workaround
Mikhail Gusarov [Mon, 18 May 2015 16:32:25 +0000 (16:32 +0000)] 
Require fixed version of libhiredis to drop workaround

10 years agoUpdate changelog
Mikhail Gusarov [Sun, 17 May 2015 15:46:43 +0000 (15:46 +0000)] 
Update changelog

10 years agoImplement IO in lua tcp.
Vsevolod Stakhov [Mon, 18 May 2015 15:54:55 +0000 (16:54 +0100)] 
Implement IO in lua tcp.

10 years agoAdd helper to use GString in pool destructors.
Vsevolod Stakhov [Mon, 18 May 2015 15:54:29 +0000 (16:54 +0100)] 
Add helper to use GString in pool destructors.

10 years agoAdd preliminary version of generic LUA TCP requests.
Vsevolod Stakhov [Mon, 18 May 2015 15:09:03 +0000 (16:09 +0100)] 
Add preliminary version of generic LUA TCP requests.

10 years agoFix error on spawning unique workers.
Vsevolod Stakhov [Mon, 18 May 2015 12:22:18 +0000 (13:22 +0100)] 
Fix error on spawning unique workers.

Issue: #282
Reported by: @moisseev

10 years agoRelease 0.9.1. 0.9.1
Vsevolod Stakhov [Sun, 17 May 2015 15:24:08 +0000 (16:24 +0100)] 
Release 0.9.1.

* Restore utf8 validation for regular expressions to avoid crashes
* Fix symbols displaying in the interface
* Add symbol groups to the interface
* Fix maps ID parsing in the controller
* Add multimap and regexp modules documentation
* Backport fixes from libucl
* Fix debian package (by @dottedmag)
* Rework XXH32 invocations

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
10 years agoAdopt xxhash invocation.
Vsevolod Stakhov [Sun, 17 May 2015 15:11:12 +0000 (16:11 +0100)] 
Adopt xxhash invocation.

10 years agoDo not free xxh32_state to work with static states.
Vsevolod Stakhov [Sun, 17 May 2015 15:10:47 +0000 (16:10 +0100)] 
Do not free xxh32_state to work with static states.

10 years agoBackport fixes from libucl.
Vsevolod Stakhov [Sun, 17 May 2015 15:10:29 +0000 (16:10 +0100)] 
Backport fixes from libucl.

10 years agoMerge pull request #281 from dottedmag/master
Vsevolod Stakhov [Sun, 17 May 2015 14:36:02 +0000 (15:36 +0100)] 
Merge pull request #281 from dottedmag/master

Debian changes for 0.9.x

10 years agoUpdate changelog 281/head
Mikhail Gusarov [Sat, 16 May 2015 18:56:53 +0000 (18:56 +0000)] 
Update changelog