]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Thu, 26 Mar 2015 14:13:31 +0000 (14:13 +0000)]
Fix socket length calculations for UDP sockets.
Vsevolod Stakhov [Thu, 26 Mar 2015 13:54:01 +0000 (13:54 +0000)]
Fix composites processing.
Vsevolod Stakhov [Wed, 25 Mar 2015 22:25:40 +0000 (22:25 +0000)]
Initialize variable.
Vsevolod Stakhov [Wed, 25 Mar 2015 21:52:39 +0000 (21:52 +0000)]
Cache atom results.
Vsevolod Stakhov [Wed, 25 Mar 2015 21:48:07 +0000 (21:48 +0000)]
Add support for 'full' and 'uri' rules.
Vsevolod Stakhov [Wed, 25 Mar 2015 18:26:23 +0000 (18:26 +0000)]
Rewrite SA plugin for the new expressions.
Vsevolod Stakhov [Wed, 25 Mar 2015 18:24:58 +0000 (18:24 +0000)]
Another tricky case of test.
Vsevolod Stakhov [Wed, 25 Mar 2015 18:23:24 +0000 (18:23 +0000)]
Do not store zeroes in hash table.
Vsevolod Stakhov [Wed, 25 Mar 2015 18:23:06 +0000 (18:23 +0000)]
Fix removing of elements from the stack.
Vsevolod Stakhov [Wed, 25 Mar 2015 18:12:10 +0000 (18:12 +0000)]
Fix adding values to the cache.
Vsevolod Stakhov [Wed, 25 Mar 2015 17:43:58 +0000 (17:43 +0000)]
Add lua interfaces to re cache.
Vsevolod Stakhov [Wed, 25 Mar 2015 00:01:34 +0000 (00:01 +0000)]
Use cumulative moving average for time values.
The previous version with exponential moving average cannot work well
with the rspamd usage pattern.
Vsevolod Stakhov [Wed, 25 Mar 2015 00:00:59 +0000 (00:00 +0000)]
Rework sorting logic of symbols cache.
Use minimizing execution time greedy pattern for that purpose.
Vsevolod Stakhov [Tue, 24 Mar 2015 22:53:17 +0000 (22:53 +0000)]
Fix processing of some stupid expressions.
Vsevolod Stakhov [Tue, 24 Mar 2015 18:04:39 +0000 (18:04 +0000)]
Allocate enough space for two bits per composite.
Vsevolod Stakhov [Tue, 24 Mar 2015 17:30:00 +0000 (17:30 +0000)]
Fix some priority issues in expressions.
Vsevolod Stakhov [Tue, 24 Mar 2015 16:57:32 +0000 (16:57 +0000)]
Fix some border cases while parsing expressions.
Vsevolod Stakhov [Tue, 24 Mar 2015 16:43:27 +0000 (16:43 +0000)]
Fix composite atoms parsing.
Vsevolod Stakhov [Tue, 24 Mar 2015 16:39:04 +0000 (16:39 +0000)]
Output error messages when a composite cannot be parsed.
Vsevolod Stakhov [Tue, 24 Mar 2015 15:58:54 +0000 (15:58 +0000)]
Use some more advanced heuristic to find packages.
Vsevolod Stakhov [Tue, 24 Mar 2015 14:02:41 +0000 (14:02 +0000)]
Fix rspamd_parts_distance function.
Vsevolod Stakhov [Tue, 24 Mar 2015 13:51:46 +0000 (13:51 +0000)]
Remove deprecated test.
Vsevolod Stakhov [Tue, 24 Mar 2015 13:49:13 +0000 (13:49 +0000)]
Fix inversion logic.
Vsevolod Stakhov [Tue, 24 Mar 2015 13:42:32 +0000 (13:42 +0000)]
Improve test regexp.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:56:16 +0000 (12:56 +0000)]
Increase log buffer size when BUFSIZ is too small.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:44:53 +0000 (12:44 +0000)]
Allow global lua functions in mime_regexp.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:44:36 +0000 (12:44 +0000)]
Fix parsing of regexp atoms.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:05:30 +0000 (12:05 +0000)]
Fix parsing of function atoms with braces.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:33:05 +0000 (22:33 +0000)]
Reset variable to avoid unexpected results.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:25:55 +0000 (22:25 +0000)]
Fix function invocation.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:21:21 +0000 (22:21 +0000)]
Fix composites parsing.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:13:39 +0000 (22:13 +0000)]
Use port when calculating listen socket hash.
Vsevolod Stakhov [Mon, 23 Mar 2015 21:54:26 +0000 (21:54 +0000)]
Fix setting of the expression element.
Vsevolod Stakhov [Mon, 23 Mar 2015 16:33:43 +0000 (16:33 +0000)]
Merge branch 'expr-rework'
Vsevolod Stakhov [Mon, 23 Mar 2015 16:32:34 +0000 (16:32 +0000)]
Improve mime expressions processing.
Vsevolod Stakhov [Mon, 23 Mar 2015 16:17:39 +0000 (16:17 +0000)]
Fixes to mime regexp parsing.
Vsevolod Stakhov [Mon, 23 Mar 2015 15:59:48 +0000 (15:59 +0000)]
Fix printing of GError *.
Vsevolod Stakhov [Mon, 23 Mar 2015 15:47:47 +0000 (15:47 +0000)]
Integrate mime_expressions to the regexp module.
Vsevolod Stakhov [Mon, 23 Mar 2015 15:26:57 +0000 (15:26 +0000)]
Add %e modifier for GError clever printing.
Vsevolod Stakhov [Mon, 23 Mar 2015 00:38:04 +0000 (00:38 +0000)]
Merge branch 'expr-rework'
Vsevolod Stakhov [Mon, 23 Mar 2015 00:37:36 +0000 (00:37 +0000)]
Fix lua composites API.
Vsevolod Stakhov [Mon, 23 Mar 2015 00:37:12 +0000 (00:37 +0000)]
Restore compiling of plugins.
Vsevolod Stakhov [Sun, 22 Mar 2015 23:41:59 +0000 (23:41 +0000)]
Rework expression functions.
Vsevolod Stakhov [Sun, 22 Mar 2015 23:20:12 +0000 (23:20 +0000)]
Constify cache add key argument.
Vsevolod Stakhov [Sat, 21 Mar 2015 22:32:41 +0000 (22:32 +0000)]
Move specific functions to mime_expr.
Vsevolod Stakhov [Sat, 21 Mar 2015 22:06:36 +0000 (22:06 +0000)]
Remove unused include from expressions.
Vsevolod Stakhov [Sat, 21 Mar 2015 22:03:44 +0000 (22:03 +0000)]
Fix composites parsing.
Vsevolod Stakhov [Sat, 21 Mar 2015 21:48:55 +0000 (21:48 +0000)]
Update composites logic.
Vsevolod Stakhov [Sat, 21 Mar 2015 17:33:43 +0000 (17:33 +0000)]
Merge pull request #240 from fatalbanana/master
Correct bad syntax
Andrew Lewis [Sat, 21 Mar 2015 17:23:26 +0000 (19:23 +0200)]
Correct bad syntax
Vsevolod Stakhov [Sat, 21 Mar 2015 11:51:20 +0000 (11:51 +0000)]
Merge pull request #237 from fatalbanana/master
Rather use pkg-config to find luajit
Andrew Lewis [Sat, 21 Mar 2015 11:46:05 +0000 (13:46 +0200)]
Set WITH_LUA=1 for luajit too
Andrew Lewis [Sat, 21 Mar 2015 10:56:54 +0000 (12:56 +0200)]
Rather use pkg-config to find luajit
Conflicts:
CMakeLists.txt
Vsevolod Stakhov [Sat, 21 Mar 2015 01:14:05 +0000 (01:14 +0000)]
Start to rework composites.
Vsevolod Stakhov [Fri, 20 Mar 2015 17:04:45 +0000 (17:04 +0000)]
Add guards for function arguments.
Vsevolod Stakhov [Fri, 20 Mar 2015 17:02:37 +0000 (17:02 +0000)]
Fix functions invocation.
Vsevolod Stakhov [Fri, 20 Mar 2015 16:58:06 +0000 (16:58 +0000)]
Merge pull request #236 from fatalbanana/master
Add IPv6 loopback to secure_ip setting
Andrew Lewis [Fri, 20 Mar 2015 12:31:17 +0000 (14:31 +0200)]
Add IPv6 loopback to secure_ip setting
Vsevolod Stakhov [Fri, 20 Mar 2015 15:16:40 +0000 (15:16 +0000)]
Fix implicit arrays handling in string list parsing.
Vsevolod Stakhov [Fri, 20 Mar 2015 14:19:20 +0000 (14:19 +0000)]
Allow multiple values for `secure_ip` option.
Issue: #234
Vsevolod Stakhov [Thu, 19 Mar 2015 22:40:55 +0000 (22:40 +0000)]
Merge pull request #233 from fatalbanana/master
Remove upstart job from Debian package (because it's breaking stuff)
Vsevolod Stakhov [Thu, 19 Mar 2015 22:31:53 +0000 (22:31 +0000)]
Process regexps from atom process function.
Vsevolod Stakhov [Thu, 19 Mar 2015 22:07:43 +0000 (22:07 +0000)]
Unify regexp match function.
Vsevolod Stakhov [Thu, 19 Mar 2015 19:00:28 +0000 (19:00 +0000)]
Move regexp process code from the plugin.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:57:43 +0000 (18:57 +0000)]
Add re cache logic to task routines.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:43:03 +0000 (18:43 +0000)]
Use regexp hash functions for task re_cache.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:24:09 +0000 (18:24 +0000)]
Add global limit for mime regular expressions.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:14:23 +0000 (18:14 +0000)]
Add code to destroy mime atom.
Vsevolod Stakhov [Thu, 19 Mar 2015 17:19:43 +0000 (17:19 +0000)]
Implement parsing of internal functions.
Vsevolod Stakhov [Thu, 19 Mar 2015 16:19:09 +0000 (16:19 +0000)]
Remove expressions pollutions from parts of rspamd.
Vsevolod Stakhov [Thu, 19 Mar 2015 16:18:54 +0000 (16:18 +0000)]
Add basic atom parsing utility.
Andrew Lewis [Thu, 19 Mar 2015 16:15:34 +0000 (18:15 +0200)]
Remove upstart job from Debian package (because it's breaking stuff)
Vsevolod Stakhov [Thu, 19 Mar 2015 15:18:18 +0000 (15:18 +0000)]
Write atom parser skeleton.
Vsevolod Stakhov [Thu, 19 Mar 2015 15:07:22 +0000 (15:07 +0000)]
Start removing old stuff.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:47:31 +0000 (13:47 +0000)]
Add unit tests for expressions processing.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:47:19 +0000 (13:47 +0000)]
Fix processing of a single element.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:33:37 +0000 (13:33 +0000)]
Fix + expressions optimizations.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:13:57 +0000 (13:13 +0000)]
Fix parsing of limits.
Vsevolod Stakhov [Thu, 19 Mar 2015 12:24:15 +0000 (12:24 +0000)]
Select operand on OR operation.
Vsevolod Stakhov [Thu, 19 Mar 2015 12:19:07 +0000 (12:19 +0000)]
Fix issues when calling for process atoms.
Vsevolod Stakhov [Thu, 19 Mar 2015 11:56:10 +0000 (11:56 +0000)]
Add lua-expr:process method.
Vsevolod Stakhov [Thu, 19 Mar 2015 11:50:04 +0000 (11:50 +0000)]
Finish expression evaluation.
Vsevolod Stakhov [Thu, 19 Mar 2015 12:42:06 +0000 (12:42 +0000)]
Merge pull request #230 from fatalbanana/master
Fix luajit/lua headers confusion
Andrew Lewis [Thu, 19 Mar 2015 12:34:17 +0000 (14:34 +0200)]
Fix luajit/lua headers confusion
Conflicts:
CMakeLists.txt
Vsevolod Stakhov [Thu, 19 Mar 2015 10:53:09 +0000 (10:53 +0000)]
Merge pull request #229 from fatalbanana/master
Fix finding headers from luajit
Andrew Lewis [Thu, 19 Mar 2015 10:31:27 +0000 (12:31 +0200)]
Fix debian/control
Andrew Lewis [Thu, 19 Mar 2015 10:11:48 +0000 (12:11 +0200)]
Fix finding headers from luajit
Vsevolod Stakhov [Thu, 19 Mar 2015 10:04:56 +0000 (10:04 +0000)]
Write optimizator for plus operator.
Vsevolod Stakhov [Thu, 19 Mar 2015 09:14:27 +0000 (09:14 +0000)]
Prefer processed elements during optimizations.
Vsevolod Stakhov [Wed, 18 Mar 2015 23:18:42 +0000 (23:18 +0000)]
Merge pull request #227 from dottedmag/master
Pull changelogs from rspamd-0.8
Mikhail Gusarov [Wed, 18 Mar 2015 23:13:39 +0000 (23:13 +0000)]
Pull changelogs from rspamd-0.8
Vsevolod Stakhov [Wed, 18 Mar 2015 21:21:25 +0000 (21:21 +0000)]
Fix references.
Vsevolod Stakhov [Wed, 18 Mar 2015 21:21:13 +0000 (21:21 +0000)]
Fix length when parsing ip4/ip6.
Vsevolod Stakhov [Wed, 18 Mar 2015 20:03:48 +0000 (20:03 +0000)]
Fix some more issues in spf.
Vsevolod Stakhov [Wed, 18 Mar 2015 19:55:04 +0000 (19:55 +0000)]
Fix issues in spf plugin.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:38:13 +0000 (17:38 +0000)]
Use const pointer for LRU cache search.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:36:48 +0000 (17:36 +0000)]
Fix errors.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:24:08 +0000 (17:24 +0000)]
Merge branch 'spf-rework'
Vsevolod Stakhov [Wed, 18 Mar 2015 17:23:30 +0000 (17:23 +0000)]
Fix refcounts.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:21:33 +0000 (17:21 +0000)]
Fix spf plugin.