]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoFix mmaped files deinitialization.
Vsevolod Stakhov [Fri, 19 Jun 2015 15:05:05 +0000 (16:05 +0100)]
Fix mmaped files deinitialization.

9 years agoImplement statistics closing.
Vsevolod Stakhov [Fri, 19 Jun 2015 14:25:10 +0000 (15:25 +0100)]
Implement statistics closing.

9 years agoFix strcmp return value checking.
Vsevolod Stakhov [Fri, 19 Jun 2015 12:48:08 +0000 (13:48 +0100)]
Fix strcmp return value checking.

9 years agoUnify open and create.
Vsevolod Stakhov [Thu, 18 Jun 2015 19:04:43 +0000 (20:04 +0100)]
Unify open and create.

9 years agoImplement sqlite3 database creation.
Vsevolod Stakhov [Thu, 18 Jun 2015 18:51:00 +0000 (19:51 +0100)]
Implement sqlite3 database creation.

9 years agoAllow to return values from prepared statements.
Vsevolod Stakhov [Thu, 18 Jun 2015 18:31:10 +0000 (19:31 +0100)]
Allow to return values from prepared statements.

9 years agoWrite skeleton for sqlite3 backend.
Vsevolod Stakhov [Thu, 18 Jun 2015 16:20:13 +0000 (17:20 +0100)]
Write skeleton for sqlite3 backend.

9 years agoSimplify declaring of backends.
Vsevolod Stakhov [Thu, 18 Jun 2015 14:15:15 +0000 (15:15 +0100)]
Simplify declaring of backends.

9 years agoSimplify backend definition.
Vsevolod Stakhov [Thu, 18 Jun 2015 13:47:32 +0000 (14:47 +0100)]
Simplify backend definition.

9 years agoFix selecting URLs for sending to redirector.
Vsevolod Stakhov [Wed, 17 Jun 2015 13:33:54 +0000 (14:33 +0100)]
Fix selecting URLs for sending to redirector.

9 years agoSort dependencies.
Vsevolod Stakhov [Tue, 16 Jun 2015 18:13:53 +0000 (19:13 +0100)]
Sort dependencies.

9 years agoStore partial results in memcached.
Vsevolod Stakhov [Tue, 16 Jun 2015 18:09:36 +0000 (19:09 +0100)]
Store partial results in memcached.

9 years agoFix loops in POE.
Vsevolod Stakhov [Tue, 16 Jun 2015 18:09:27 +0000 (19:09 +0100)]
Fix loops in POE.

9 years agoReformat redirector code (no functional changes).
Vsevolod Stakhov [Tue, 16 Jun 2015 17:24:20 +0000 (18:24 +0100)]
Reformat redirector code (no functional changes).

9 years agoFix numerous issues with redirector startup.
Vsevolod Stakhov [Tue, 16 Jun 2015 17:20:30 +0000 (18:20 +0100)]
Fix numerous issues with redirector startup.

9 years agoUse specific POE loop for some systems.
Vsevolod Stakhov [Tue, 16 Jun 2015 16:39:26 +0000 (17:39 +0100)]
Use specific POE loop for some systems.

9 years agoFix shebang.
Vsevolod Stakhov [Tue, 16 Jun 2015 15:31:39 +0000 (16:31 +0100)]
Fix shebang.

9 years agoFix redirector installation.
Vsevolod Stakhov [Tue, 16 Jun 2015 15:31:15 +0000 (16:31 +0100)]
Fix redirector installation.

9 years agoUpdate->add
Vsevolod Stakhov [Tue, 16 Jun 2015 14:32:44 +0000 (15:32 +0100)]
Update->add

9 years agoFix digest invocation.
Vsevolod Stakhov [Tue, 16 Jun 2015 14:16:53 +0000 (15:16 +0100)]
Fix digest invocation.

9 years agoFix variable name.
Vsevolod Stakhov [Tue, 16 Jun 2015 13:33:33 +0000 (14:33 +0100)]
Fix variable name.

9 years agoFix issues with redirector HTTP response.
Vsevolod Stakhov [Tue, 16 Jun 2015 13:22:38 +0000 (14:22 +0100)]
Fix issues with redirector HTTP response.

9 years agoUse watching for http sessions.
Vsevolod Stakhov [Mon, 15 Jun 2015 18:19:40 +0000 (19:19 +0100)]
Use watching for http sessions.

9 years agoUse common routine for jittering time values.
Vsevolod Stakhov [Sun, 14 Jun 2015 18:17:29 +0000 (14:17 -0400)]
Use common routine for jittering time values.

9 years agoRemove useless checks.
Vsevolod Stakhov [Sun, 14 Jun 2015 17:56:43 +0000 (13:56 -0400)]
Remove useless checks.

9 years agoImprove dependencies for lua_dns.
Vsevolod Stakhov [Sat, 13 Jun 2015 15:42:54 +0000 (11:42 -0400)]
Improve dependencies for lua_dns.

9 years agoFix dependencies for surbl module.
Vsevolod Stakhov [Fri, 12 Jun 2015 19:43:27 +0000 (15:43 -0400)]
Fix dependencies for surbl module.

9 years agoFix dependencies for SPF module.
Vsevolod Stakhov [Fri, 12 Jun 2015 18:06:12 +0000 (14:06 -0400)]
Fix dependencies for SPF module.

9 years agoFix dkim cache expiration.
Vsevolod Stakhov [Fri, 12 Jun 2015 17:57:00 +0000 (13:57 -0400)]
Fix dkim cache expiration.

9 years agofabs/abs misuse.
Vsevolod Stakhov [Fri, 12 Jun 2015 01:28:36 +0000 (21:28 -0400)]
fabs/abs misuse.

9 years agoJust re-sort items by timeout.
Vsevolod Stakhov [Wed, 10 Jun 2015 20:03:13 +0000 (16:03 -0400)]
Just re-sort items by timeout.

9 years agoFix more issues with dependencies and processing.
Vsevolod Stakhov [Wed, 10 Jun 2015 20:03:01 +0000 (16:03 -0400)]
Fix more issues with dependencies and processing.

9 years agoImprove watcher check.
Vsevolod Stakhov [Wed, 10 Jun 2015 20:02:24 +0000 (16:02 -0400)]
Improve watcher check.

9 years agoFix dependencies in case of dkim plugin.
Vsevolod Stakhov [Wed, 10 Jun 2015 20:01:46 +0000 (16:01 -0400)]
Fix dependencies in case of dkim plugin.

9 years agoExtend watchers functionality.
Vsevolod Stakhov [Wed, 10 Jun 2015 17:11:31 +0000 (13:11 -0400)]
Extend watchers functionality.

It is now possible to add fake watcher events that delays guarded events
untill it is really completed.

9 years agoMore fixes to dependencies logic.
Vsevolod Stakhov [Wed, 10 Jun 2015 15:53:32 +0000 (11:53 -0400)]
More fixes to dependencies logic.

9 years agoFix dependencies operations.
Vsevolod Stakhov [Wed, 10 Jun 2015 15:03:01 +0000 (11:03 -0400)]
Fix dependencies operations.

9 years agoImplement watching for async symbols.
Vsevolod Stakhov [Wed, 10 Jun 2015 13:33:48 +0000 (09:33 -0400)]
Implement watching for async symbols.

9 years agoMerge pull request #290 from andrejzverev/master
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

9 years agoAnother try to fix event-less tasks.
Vsevolod Stakhov [Tue, 9 Jun 2015 17:02:49 +0000 (18:02 +0100)]
Another try to fix event-less tasks.

9 years agoCheck DNS resolver return value.
Vsevolod Stakhov [Tue, 9 Jun 2015 17:02:29 +0000 (18:02 +0100)]
Check DNS resolver return value.

9 years agoFix DNSless run.
Vsevolod Stakhov [Tue, 9 Jun 2015 13:49:05 +0000 (14:49 +0100)]
Fix DNSless run.

9 years agoshow msgid for bad URLs 290/head
Andrej Zverev [Tue, 9 Jun 2015 11:14:01 +0000 (14:14 +0300)]
show msgid for bad URLs

9 years agoPass session data to event watchers.
Vsevolod Stakhov [Tue, 9 Jun 2015 10:04:28 +0000 (11:04 +0100)]
Pass session data to event watchers.

9 years agoDistinguish between check start and finish.
Vsevolod Stakhov [Mon, 8 Jun 2015 16:41:17 +0000 (17:41 +0100)]
Distinguish between check start and finish.

9 years agoRework symbols processing.
Vsevolod Stakhov [Mon, 8 Jun 2015 16:34:47 +0000 (17:34 +0100)]
Rework symbols processing.

9 years agoAdd dependencies check for symbols.
Vsevolod Stakhov [Mon, 8 Jun 2015 16:19:48 +0000 (17:19 +0100)]
Add dependencies check for symbols.

9 years agoMisprint.
Vsevolod Stakhov [Sun, 7 Jun 2015 15:43:16 +0000 (16:43 +0100)]
Misprint.

9 years agoDo not return NULL resolver.
Vsevolod Stakhov [Sun, 7 Jun 2015 15:42:35 +0000 (16:42 +0100)]
Do not return NULL resolver.

9 years agoRework filters processing.
Vsevolod Stakhov [Sun, 7 Jun 2015 15:13:09 +0000 (16:13 +0100)]
Rework filters processing.

9 years agoAdd API to register deps from LUA.
Vsevolod Stakhov [Sun, 7 Jun 2015 14:03:53 +0000 (15:03 +0100)]
Add API to register deps from LUA.

9 years agoImplement dependencies addition.
Vsevolod Stakhov [Sun, 7 Jun 2015 12:57:23 +0000 (13:57 +0100)]
Implement dependencies addition.

9 years agoImprove linear processing slightly.
Vsevolod Stakhov [Sat, 6 Jun 2015 21:10:13 +0000 (22:10 +0100)]
Improve linear processing slightly.

9 years agoFix misprint.
Vsevolod Stakhov [Sat, 6 Jun 2015 20:54:56 +0000 (21:54 +0100)]
Fix misprint.

9 years agoExtend filters savepoint to support dependencies.
Vsevolod Stakhov [Fri, 5 Jun 2015 15:15:06 +0000 (16:15 +0100)]
Extend filters savepoint to support dependencies.

9 years agoSave persistent order of items indexed by id.
Vsevolod Stakhov [Fri, 5 Jun 2015 14:03:22 +0000 (15:03 +0100)]
Save persistent order of items indexed by id.

9 years agoFix calculation of pool free space.
Vsevolod Stakhov [Thu, 4 Jun 2015 17:27:40 +0000 (18:27 +0100)]
Fix calculation of pool free space.

9 years agoFix symbols items loading.
Vsevolod Stakhov [Thu, 4 Jun 2015 17:19:10 +0000 (18:19 +0100)]
Fix symbols items loading.

9 years agoAdopt for the new headers structure.
Vsevolod Stakhov [Tue, 2 Jun 2015 18:43:24 +0000 (19:43 +0100)]
Adopt for the new headers structure.

9 years agoAvoid copying when parsing headers.
Vsevolod Stakhov [Tue, 2 Jun 2015 18:31:25 +0000 (19:31 +0100)]
Avoid copying when parsing headers.

9 years agoMerge branch 'filters-rework'
Vsevolod Stakhov [Tue, 2 Jun 2015 15:36:51 +0000 (16:36 +0100)]
Merge branch 'filters-rework'

9 years agoSet processed flag on task.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:36:12 +0000 (16:36 +0100)]
Set processed flag on task.

9 years agoAdd checkpoint to avoid endless iteration.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:28:48 +0000 (16:28 +0100)]
Add checkpoint to avoid endless iteration.

9 years agoUse most significant bit, not least significant one.
Vsevolod Stakhov [Tue, 2 Jun 2015 15:28:27 +0000 (16:28 +0100)]
Use most significant bit, not least significant one.

9 years agoRestore build.
Vsevolod Stakhov [Tue, 2 Jun 2015 14:34:43 +0000 (15:34 +0100)]
Restore build.

9 years agoFix internal libraries.
Vsevolod Stakhov [Tue, 2 Jun 2015 13:54:55 +0000 (14:54 +0100)]
Fix internal libraries.

9 years agoAdopt LUA API.
Vsevolod Stakhov [Tue, 2 Jun 2015 13:26:56 +0000 (14:26 +0100)]
Adopt LUA API.

9 years agoRework task processing.
Vsevolod Stakhov [Tue, 2 Jun 2015 13:19:55 +0000 (14:19 +0100)]
Rework task processing.

9 years agoRework and fix several issues in mime processing.
Vsevolod Stakhov [Tue, 2 Jun 2015 12:19:22 +0000 (13:19 +0100)]
Rework and fix several issues in mime processing.

9 years agoRework task errors and loading.
Vsevolod Stakhov [Tue, 2 Jun 2015 12:02:27 +0000 (13:02 +0100)]
Rework task errors and loading.

9 years agoReorganize structure of filter components.
Vsevolod Stakhov [Tue, 2 Jun 2015 11:37:22 +0000 (12:37 +0100)]
Reorganize structure of filter components.

9 years agoMove bits compatibility function.
Vsevolod Stakhov [Tue, 2 Jun 2015 10:54:32 +0000 (11:54 +0100)]
Move bits compatibility function.

9 years agoRework task states definition.
Vsevolod Stakhov [Tue, 2 Jun 2015 08:39:50 +0000 (09:39 +0100)]
Rework task states definition.

9 years agoPrepend the correct object.
Vsevolod Stakhov [Tue, 2 Jun 2015 14:39:08 +0000 (15:39 +0100)]
Prepend the correct object.

9 years agoAlign pointers by 16 bytes boundary.
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.

9 years agoCleanup crap from memory pool code.
Vsevolod Stakhov [Mon, 1 Jun 2015 16:04:21 +0000 (17:04 +0100)]
Cleanup crap from memory pool code.

9 years agoAvoid double free when extending HTTP message.
Vsevolod Stakhov [Fri, 29 May 2015 10:47:22 +0000 (11:47 +0100)]
Avoid double free when extending HTTP message.

9 years agoNormalize symbols in the cache.
Vsevolod Stakhov [Thu, 28 May 2015 17:22:12 +0000 (18:22 +0100)]
Normalize symbols in the cache.

9 years agoImplement frequency incrementing.
Vsevolod Stakhov [Thu, 28 May 2015 16:20:47 +0000 (17:20 +0100)]
Implement frequency incrementing.

9 years agoImplement cache resorting.
Vsevolod Stakhov [Thu, 28 May 2015 15:40:29 +0000 (16:40 +0100)]
Implement cache resorting.

9 years agoAdd routine to generate jittered timeout.
Vsevolod Stakhov [Thu, 28 May 2015 14:38:28 +0000 (15:38 +0100)]
Add routine to generate jittered timeout.

9 years agoFix symbols sorting.
Vsevolod Stakhov [Thu, 28 May 2015 13:27:49 +0000 (14:27 +0100)]
Fix symbols sorting.

9 years agoFix lua symbols registration.
Vsevolod Stakhov [Thu, 28 May 2015 12:34:45 +0000 (13:34 +0100)]
Fix lua symbols registration.

9 years agoFix iterations.
Vsevolod Stakhov [Thu, 28 May 2015 12:03:40 +0000 (13:03 +0100)]
Fix iterations.

9 years agoFix lua plugins.
Vsevolod Stakhov [Thu, 28 May 2015 11:59:13 +0000 (12:59 +0100)]
Fix lua plugins.

9 years agoAdopt internal modules.
Vsevolod Stakhov [Thu, 28 May 2015 11:25:25 +0000 (12:25 +0100)]
Adopt internal modules.

9 years agoFix registering of composites.
Vsevolod Stakhov [Thu, 28 May 2015 10:59:08 +0000 (11:59 +0100)]
Fix registering of composites.

9 years agoAdopt LUA API for symbols registration changes.
Vsevolod Stakhov [Thu, 28 May 2015 08:30:09 +0000 (09:30 +0100)]
Adopt LUA API for symbols registration changes.

9 years agoAssign parent weight and avg_time on load.
Vsevolod Stakhov [Thu, 28 May 2015 08:15:52 +0000 (09:15 +0100)]
Assign parent weight and avg_time on load.

9 years agoChange behaviour of callback and virtual symbols.
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.

9 years agoRegistering symbols now returns their id.
Vsevolod Stakhov [Thu, 28 May 2015 07:44:40 +0000 (08:44 +0100)]
Registering symbols now returns their id.

9 years agoRefactor and unify function names.
Vsevolod Stakhov [Wed, 27 May 2015 16:33:56 +0000 (17:33 +0100)]
Refactor and unify function names.

9 years agoRestore `counters` command.
Vsevolod Stakhov [Wed, 27 May 2015 16:30:06 +0000 (17:30 +0100)]
Restore `counters` command.

9 years agoFix cache file open flags.
Vsevolod Stakhov [Wed, 27 May 2015 16:10:27 +0000 (17:10 +0100)]
Fix cache file open flags.

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

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

9 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.

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

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

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