]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Wed, 10 Jun 2015 15:03:01 +0000 (11:03 -0400)]
Fix dependencies operations.
Vsevolod Stakhov [Wed, 10 Jun 2015 13:33:48 +0000 (09:33 -0400)]
Implement watching for async symbols.
Vsevolod Stakhov [Wed, 10 Jun 2015 12:17:22 +0000 (08:17 -0400)]
Merge pull request #290 from andrejzverev/master
show msgid for bad URLs
Vsevolod Stakhov [Tue, 9 Jun 2015 17:02:49 +0000 (18:02 +0100)]
Another try to fix event-less tasks.
Vsevolod Stakhov [Tue, 9 Jun 2015 17:02:29 +0000 (18:02 +0100)]
Check DNS resolver return value.
Vsevolod Stakhov [Tue, 9 Jun 2015 13:49:05 +0000 (14:49 +0100)]
Fix DNSless run.
Andrej Zverev [Tue, 9 Jun 2015 11:14:01 +0000 (14:14 +0300)]
show msgid for bad URLs
Vsevolod Stakhov [Tue, 9 Jun 2015 10:04:28 +0000 (11:04 +0100)]
Pass session data to event watchers.
Vsevolod Stakhov [Mon, 8 Jun 2015 16:41:17 +0000 (17:41 +0100)]
Distinguish between check start and finish.
Vsevolod Stakhov [Mon, 8 Jun 2015 16:34:47 +0000 (17:34 +0100)]
Rework symbols processing.
Vsevolod Stakhov [Mon, 8 Jun 2015 16:19:48 +0000 (17:19 +0100)]
Add dependencies check for symbols.
Vsevolod Stakhov [Sun, 7 Jun 2015 15:43:16 +0000 (16:43 +0100)]
Misprint.
Vsevolod Stakhov [Sun, 7 Jun 2015 15:42:35 +0000 (16:42 +0100)]
Do not return NULL resolver.
Vsevolod Stakhov [Sun, 7 Jun 2015 15:13:09 +0000 (16:13 +0100)]
Rework filters processing.
Vsevolod Stakhov [Sun, 7 Jun 2015 14:03:53 +0000 (15:03 +0100)]
Add API to register deps from LUA.
Vsevolod Stakhov [Sun, 7 Jun 2015 12:57:23 +0000 (13:57 +0100)]
Implement dependencies addition.
Vsevolod Stakhov [Sat, 6 Jun 2015 21:10:13 +0000 (22:10 +0100)]
Improve linear processing slightly.
Vsevolod Stakhov [Sat, 6 Jun 2015 20:54:56 +0000 (21:54 +0100)]
Fix misprint.
Vsevolod Stakhov [Fri, 5 Jun 2015 15:15:06 +0000 (16:15 +0100)]
Extend filters savepoint to support dependencies.
Vsevolod Stakhov [Fri, 5 Jun 2015 14:03:22 +0000 (15:03 +0100)]
Save persistent order of items indexed by id.
Vsevolod Stakhov [Thu, 4 Jun 2015 17:27:40 +0000 (18:27 +0100)]
Fix calculation of pool free space.
Vsevolod Stakhov [Thu, 4 Jun 2015 17:19:10 +0000 (18:19 +0100)]
Fix symbols items loading.
Vsevolod Stakhov [Tue, 2 Jun 2015 18:43:24 +0000 (19:43 +0100)]
Adopt for the new headers structure.
Vsevolod Stakhov [Tue, 2 Jun 2015 18:31:25 +0000 (19:31 +0100)]
Avoid copying when parsing headers.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:36:51 +0000 (16:36 +0100)]
Merge branch 'filters-rework'
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.