]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Tue, 2 Jun 2015 15:36:12 +0000 (16:36 +0100)]
Set processed flag on task.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:28:48 +0000 (16:28 +0100)]
Add checkpoint to avoid endless iteration.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:28:27 +0000 (16:28 +0100)]
Use most significant bit, not least significant one.
Vsevolod Stakhov [Tue, 2 Jun 2015 14:34:43 +0000 (15:34 +0100)]
Restore build.
Vsevolod Stakhov [Tue, 2 Jun 2015 13:54:55 +0000 (14:54 +0100)]
Fix internal libraries.
Vsevolod Stakhov [Tue, 2 Jun 2015 13:26:56 +0000 (14:26 +0100)]
Adopt LUA API.
Vsevolod Stakhov [Tue, 2 Jun 2015 13:19:55 +0000 (14:19 +0100)]
Rework task processing.
Vsevolod Stakhov [Tue, 2 Jun 2015 12:19:22 +0000 (13:19 +0100)]
Rework and fix several issues in mime processing.
Vsevolod Stakhov [Tue, 2 Jun 2015 12:02:27 +0000 (13:02 +0100)]
Rework task errors and loading.
Vsevolod Stakhov [Tue, 2 Jun 2015 11:37:22 +0000 (12:37 +0100)]
Reorganize structure of filter components.
Vsevolod Stakhov [Tue, 2 Jun 2015 10:54:32 +0000 (11:54 +0100)]
Move bits compatibility function.
Vsevolod Stakhov [Tue, 2 Jun 2015 08:39:50 +0000 (09:39 +0100)]
Rework task states definition.
Vsevolod Stakhov [Tue, 2 Jun 2015 14:39:08 +0000 (15:39 +0100)]
Prepend the correct object.
Vsevolod Stakhov [Mon, 1 Jun 2015 16:14:56 +0000 (17:14 +0100)]
Align pointers by 16 bytes boundary.
Many operations on x86 are much faster if the pointers are aligned
properly. Obviously, that would increase memory usage slightly, however,
rspamd always prefers speed to compactness.
Vsevolod Stakhov [Mon, 1 Jun 2015 16:04:21 +0000 (17:04 +0100)]
Cleanup crap from memory pool code.
Vsevolod Stakhov [Fri, 29 May 2015 10:47:22 +0000 (11:47 +0100)]
Avoid double free when extending HTTP message.
Vsevolod Stakhov [Thu, 28 May 2015 17:22:12 +0000 (18:22 +0100)]
Normalize symbols in the cache.
Vsevolod Stakhov [Thu, 28 May 2015 16:20:47 +0000 (17:20 +0100)]
Implement frequency incrementing.
Vsevolod Stakhov [Thu, 28 May 2015 15:40:29 +0000 (16:40 +0100)]
Implement cache resorting.
Vsevolod Stakhov [Thu, 28 May 2015 14:38:28 +0000 (15:38 +0100)]
Add routine to generate jittered timeout.
Vsevolod Stakhov [Thu, 28 May 2015 13:27:49 +0000 (14:27 +0100)]
Fix symbols sorting.
Vsevolod Stakhov [Thu, 28 May 2015 12:34:45 +0000 (13:34 +0100)]
Fix lua symbols registration.
Vsevolod Stakhov [Thu, 28 May 2015 12:03:40 +0000 (13:03 +0100)]
Fix iterations.
Vsevolod Stakhov [Thu, 28 May 2015 11:59:13 +0000 (12:59 +0100)]
Fix lua plugins.
Vsevolod Stakhov [Thu, 28 May 2015 11:25:25 +0000 (12:25 +0100)]
Adopt internal modules.
Vsevolod Stakhov [Thu, 28 May 2015 10:59:08 +0000 (11:59 +0100)]
Fix registering of composites.
Vsevolod Stakhov [Thu, 28 May 2015 08:30:09 +0000 (09:30 +0100)]
Adopt LUA API for symbols registration changes.
Vsevolod Stakhov [Thu, 28 May 2015 08:15:52 +0000 (09:15 +0100)]
Assign parent weight and avg_time on load.
Vsevolod Stakhov [Thu, 28 May 2015 08:10:08 +0000 (09:10 +0100)]
Change behaviour of callback and virtual symbols.
Virtual symbols now have parent symbol that must contain callback.
Callback symbols might have no name as it's normally meaningless for
such symbols.
Vsevolod Stakhov [Thu, 28 May 2015 07:44:40 +0000 (08:44 +0100)]
Registering symbols now returns their id.
Vsevolod Stakhov [Wed, 27 May 2015 16:33:56 +0000 (17:33 +0100)]
Refactor and unify function names.
Vsevolod Stakhov [Wed, 27 May 2015 16:30:06 +0000 (17:30 +0100)]
Restore `counters` command.
Vsevolod Stakhov [Wed, 27 May 2015 16:10:27 +0000 (17:10 +0100)]
Fix cache file open flags.
Vsevolod Stakhov [Wed, 27 May 2015 16:08:42 +0000 (17:08 +0100)]
Fix cache open/close.
Vsevolod Stakhov [Wed, 27 May 2015 16:01:30 +0000 (17:01 +0100)]
Fix uintptr conversions.
Vsevolod Stakhov [Wed, 27 May 2015 15:45:08 +0000 (16:45 +0100)]
Fix states logic broken by the previous commit.
Vsevolod Stakhov [Wed, 27 May 2015 15:20:32 +0000 (16:20 +0100)]
Fix no delayed symbols processing.
Vsevolod Stakhov [Wed, 27 May 2015 15:10:43 +0000 (16:10 +0100)]
Fix sort function.
Vsevolod Stakhov [Wed, 27 May 2015 14:33:40 +0000 (15:33 +0100)]
Fix plugins registration.
Vsevolod Stakhov [Wed, 27 May 2015 13:33:59 +0000 (14:33 +0100)]
Rework cache validation.
Vsevolod Stakhov [Wed, 27 May 2015 10:08:41 +0000 (11:08 +0100)]
Fix double free if multiple classifiers are defined.
Vsevolod Stakhov [Tue, 26 May 2015 21:28:24 +0000 (22:28 +0100)]
Merge branch 'symbols-cache-rework'
Vsevolod Stakhov [Tue, 26 May 2015 21:27:39 +0000 (22:27 +0100)]
Adopt the rest of the code.
Vsevolod Stakhov [Tue, 26 May 2015 21:08:09 +0000 (22:08 +0100)]
Adopt lua API.
Vsevolod Stakhov [Tue, 26 May 2015 18:04:09 +0000 (19:04 +0100)]
Rework symbols processing.
Vsevolod Stakhov [Tue, 26 May 2015 17:38:03 +0000 (18:38 +0100)]
Update public API.
Vsevolod Stakhov [Tue, 26 May 2015 17:36:41 +0000 (18:36 +0100)]
Rework symbols registration.
Vsevolod Stakhov [Tue, 26 May 2015 17:17:35 +0000 (18:17 +0100)]
Rework structure.
Vsevolod Stakhov [Tue, 26 May 2015 17:07:56 +0000 (18:07 +0100)]
Another step for cache init/deinit rework.
Vsevolod Stakhov [Tue, 26 May 2015 16:37:45 +0000 (17:37 +0100)]
If replacement cannot be applied, just remove regexp.
Vsevolod Stakhov [Tue, 26 May 2015 16:03:09 +0000 (17:03 +0100)]
Fix misprint in spamassassin plugin.
Vsevolod Stakhov [Tue, 26 May 2015 16:01:11 +0000 (17:01 +0100)]
Rework initialization.
Vsevolod Stakhov [Tue, 26 May 2015 15:21:39 +0000 (16:21 +0100)]
Rework saving and load of symbols cache.
Vsevolod Stakhov [Tue, 26 May 2015 13:37:22 +0000 (14:37 +0100)]
Update copyright.
Vsevolod Stakhov [Tue, 26 May 2015 13:00:03 +0000 (14:00 +0100)]
Refactor events API.
Vsevolod Stakhov [Tue, 26 May 2015 11:33:04 +0000 (12:33 +0100)]
Fix i386 cpuid invocation.
Vsevolod Stakhov [Tue, 26 May 2015 11:29:18 +0000 (12:29 +0100)]
Merge branch 'sessions_rework'
Vsevolod Stakhov [Tue, 26 May 2015 11:28:56 +0000 (12:28 +0100)]
Fix hashing.
Vsevolod Stakhov [Tue, 26 May 2015 10:44:39 +0000 (11:44 +0100)]
Add assertion to find bugs with events.
Vsevolod Stakhov [Tue, 26 May 2015 10:41:17 +0000 (11:41 +0100)]
Remove useless locking.
Vsevolod Stakhov [Tue, 26 May 2015 10:37:48 +0000 (11:37 +0100)]
Remove threading support at all.
Vsevolod Stakhov [Tue, 26 May 2015 09:09:03 +0000 (10:09 +0100)]
Fix hashing.
Vsevolod Stakhov [Tue, 26 May 2015 09:08:54 +0000 (10:08 +0100)]
Fix lua session.
Vsevolod Stakhov [Tue, 26 May 2015 08:57:26 +0000 (09:57 +0100)]
Call watchers on event group completion.
Vsevolod Stakhov [Tue, 26 May 2015 08:50:18 +0000 (09:50 +0100)]
Impelement concept of watched events.
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.
Vsevolod Stakhov [Tue, 26 May 2015 08:20:29 +0000 (09:20 +0100)]
Update copyright.
Vsevolod Stakhov [Mon, 25 May 2015 16:52:38 +0000 (17:52 +0100)]
Add unit tests for b64 decoding and native encoding.
Vsevolod Stakhov [Mon, 25 May 2015 16:52:14 +0000 (17:52 +0100)]
Fix ownership issues for zero-copy decode.
Vsevolod Stakhov [Mon, 25 May 2015 16:51:57 +0000 (17:51 +0100)]
Allow __len metamethod on rspamd{text}.
Vsevolod Stakhov [Mon, 25 May 2015 15:44:24 +0000 (16:44 +0100)]
Add base64 decoding lua utility.
Vsevolod Stakhov [Sun, 24 May 2015 17:00:41 +0000 (18:00 +0100)]
Fix build on FreeBSD < 10.
Vsevolod Stakhov [Sun, 24 May 2015 15:53:13 +0000 (16:53 +0100)]
Skip spaces at the beginning of mime message.
Vsevolod Stakhov [Sat, 23 May 2015 21:18:59 +0000 (22:18 +0100)]
DBL_ABUSE_REDIR should not have significant weight.
Vsevolod Stakhov [Sat, 23 May 2015 20:59:00 +0000 (21:59 +0100)]
Allow to split by lua_regexp rspamd{text} objects.
Vsevolod Stakhov [Thu, 21 May 2015 17:26:20 +0000 (18:26 +0100)]
Allow to specify custom stop pattern for lua_tcp.
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>
Vsevolod Stakhov [Thu, 21 May 2015 13:10:52 +0000 (14:10 +0100)]
Fix possible illegal memory access.
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
Vsevolod Stakhov [Thu, 21 May 2015 12:31:39 +0000 (13:31 +0100)]
Switch off legacy tokenization by default.
Vsevolod Stakhov [Thu, 21 May 2015 12:31:28 +0000 (13:31 +0100)]
Do not stem exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 11:52:54 +0000 (12:52 +0100)]
Use not common name for tokenization exceptions.
Vsevolod Stakhov [Thu, 21 May 2015 11:47:40 +0000 (12:47 +0100)]
Fix memory issues with tokens normalization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:52 +0000 (10:23 +0100)]
Add more unit tests for tokenization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:41 +0000 (10:23 +0100)]
More fixes to tokenization.
Vsevolod Stakhov [Thu, 21 May 2015 09:23:26 +0000 (10:23 +0100)]
Reverse list of exceptions.
Vsevolod Stakhov [Wed, 20 May 2015 21:53:09 +0000 (22:53 +0100)]
Add tests for tokenizer bug.
Vsevolod Stakhov [Wed, 20 May 2015 21:52:46 +0000 (22:52 +0100)]
Fix critical bug in tokenization logic.
Vsevolod Stakhov [Wed, 20 May 2015 21:37:33 +0000 (22:37 +0100)]
Add a simple unit test for tokenizer.
Vsevolod Stakhov [Wed, 20 May 2015 21:17:45 +0000 (22:17 +0100)]
Add lua bindings to tokenizer.
Mikhail Gusarov [Wed, 20 May 2015 18:37:14 +0000 (18:37 +0000)]
Update changelog
Mikhail Gusarov [Wed, 20 May 2015 18:35:44 +0000 (18:35 +0000)]
Restrict luajit B-D to architectures it is available
Vsevolod Stakhov [Wed, 20 May 2015 16:34:15 +0000 (17:34 +0100)]
Use caseless hash and equal functions for request headers.
Vsevolod Stakhov [Wed, 20 May 2015 16:28:36 +0000 (17:28 +0100)]
Add API to get/set request headers from lua.
Vsevolod Stakhov [Wed, 20 May 2015 15:30:56 +0000 (16:30 +0100)]
Save all HTTP headers as request headers.
Vsevolod Stakhov [Wed, 20 May 2015 13:59:24 +0000 (14:59 +0100)]
Add unit test for base64 encoding.
Vsevolod Stakhov [Wed, 20 May 2015 13:59:10 +0000 (14:59 +0100)]
Fix issues in base64 encoding.
Vsevolod Stakhov [Wed, 20 May 2015 11:40:19 +0000 (12:40 +0100)]
Add lua bindings for base64.
Vsevolod Stakhov [Wed, 20 May 2015 11:03:46 +0000 (12:03 +0100)]
Allow owning lua_text.
Vsevolod Stakhov [Wed, 20 May 2015 10:49:51 +0000 (11:49 +0100)]
Add base64 encoding routine.