]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoImprove test regexp.
Vsevolod Stakhov [Tue, 24 Mar 2015 13:42:32 +0000 (13:42 +0000)]
Improve test regexp.

9 years agoIncrease log buffer size when BUFSIZ is too small.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:56:16 +0000 (12:56 +0000)]
Increase log buffer size when BUFSIZ is too small.

9 years agoAllow global lua functions in mime_regexp.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:44:53 +0000 (12:44 +0000)]
Allow global lua functions in mime_regexp.

9 years agoFix parsing of regexp atoms.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:44:36 +0000 (12:44 +0000)]
Fix parsing of regexp atoms.

9 years agoFix parsing of function atoms with braces.
Vsevolod Stakhov [Tue, 24 Mar 2015 12:05:30 +0000 (12:05 +0000)]
Fix parsing of function atoms with braces.

9 years agoReset variable to avoid unexpected results.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:33:05 +0000 (22:33 +0000)]
Reset variable to avoid unexpected results.

9 years agoFix function invocation.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:25:55 +0000 (22:25 +0000)]
Fix function invocation.

9 years agoFix composites parsing.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:21:21 +0000 (22:21 +0000)]
Fix composites parsing.

9 years agoUse port when calculating listen socket hash.
Vsevolod Stakhov [Mon, 23 Mar 2015 22:13:39 +0000 (22:13 +0000)]
Use port when calculating listen socket hash.

9 years agoFix setting of the expression element.
Vsevolod Stakhov [Mon, 23 Mar 2015 21:54:26 +0000 (21:54 +0000)]
Fix setting of the expression element.

9 years agoMerge branch 'expr-rework'
Vsevolod Stakhov [Mon, 23 Mar 2015 16:33:43 +0000 (16:33 +0000)]
Merge branch 'expr-rework'

9 years agoImprove mime expressions processing.
Vsevolod Stakhov [Mon, 23 Mar 2015 16:32:34 +0000 (16:32 +0000)]
Improve mime expressions processing.

9 years agoFixes to mime regexp parsing.
Vsevolod Stakhov [Mon, 23 Mar 2015 16:17:39 +0000 (16:17 +0000)]
Fixes to mime regexp parsing.

9 years agoFix printing of GError *.
Vsevolod Stakhov [Mon, 23 Mar 2015 15:59:48 +0000 (15:59 +0000)]
Fix printing of GError *.

9 years agoIntegrate mime_expressions to the regexp module.
Vsevolod Stakhov [Mon, 23 Mar 2015 15:47:47 +0000 (15:47 +0000)]
Integrate mime_expressions to the regexp module.

9 years agoAdd %e modifier for GError clever printing.
Vsevolod Stakhov [Mon, 23 Mar 2015 15:26:57 +0000 (15:26 +0000)]
Add %e modifier for GError clever printing.

9 years agoMerge branch 'expr-rework'
Vsevolod Stakhov [Mon, 23 Mar 2015 00:38:04 +0000 (00:38 +0000)]
Merge branch 'expr-rework'

9 years agoFix lua composites API.
Vsevolod Stakhov [Mon, 23 Mar 2015 00:37:36 +0000 (00:37 +0000)]
Fix lua composites API.

9 years agoRestore compiling of plugins.
Vsevolod Stakhov [Mon, 23 Mar 2015 00:37:12 +0000 (00:37 +0000)]
Restore compiling of plugins.

9 years agoRework expression functions.
Vsevolod Stakhov [Sun, 22 Mar 2015 23:41:59 +0000 (23:41 +0000)]
Rework expression functions.

9 years agoConstify cache add key argument.
Vsevolod Stakhov [Sun, 22 Mar 2015 23:20:12 +0000 (23:20 +0000)]
Constify cache add key argument.

9 years agoMove specific functions to mime_expr.
Vsevolod Stakhov [Sat, 21 Mar 2015 22:32:41 +0000 (22:32 +0000)]
Move specific functions to mime_expr.

9 years agoRemove unused include from expressions.
Vsevolod Stakhov [Sat, 21 Mar 2015 22:06:36 +0000 (22:06 +0000)]
Remove unused include from expressions.

9 years agoFix composites parsing.
Vsevolod Stakhov [Sat, 21 Mar 2015 22:03:44 +0000 (22:03 +0000)]
Fix composites parsing.

9 years agoUpdate composites logic.
Vsevolod Stakhov [Sat, 21 Mar 2015 21:48:55 +0000 (21:48 +0000)]
Update composites logic.

9 years agoMerge pull request #240 from fatalbanana/master
Vsevolod Stakhov [Sat, 21 Mar 2015 17:33:43 +0000 (17:33 +0000)]
Merge pull request #240 from fatalbanana/master

Correct bad syntax

9 years agoCorrect bad syntax 240/head
Andrew Lewis [Sat, 21 Mar 2015 17:23:26 +0000 (19:23 +0200)]
Correct bad syntax

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

9 years agoSet WITH_LUA=1 for luajit too 237/head
Andrew Lewis [Sat, 21 Mar 2015 11:46:05 +0000 (13:46 +0200)]
Set WITH_LUA=1 for luajit too

9 years agoRather use pkg-config to find luajit
Andrew Lewis [Sat, 21 Mar 2015 10:56:54 +0000 (12:56 +0200)]
Rather use pkg-config to find luajit

Conflicts:
CMakeLists.txt

9 years agoStart to rework composites.
Vsevolod Stakhov [Sat, 21 Mar 2015 01:14:05 +0000 (01:14 +0000)]
Start to rework composites.

9 years agoAdd guards for function arguments.
Vsevolod Stakhov [Fri, 20 Mar 2015 17:04:45 +0000 (17:04 +0000)]
Add guards for function arguments.

9 years agoFix functions invocation.
Vsevolod Stakhov [Fri, 20 Mar 2015 17:02:37 +0000 (17:02 +0000)]
Fix functions invocation.

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

9 years agoAdd IPv6 loopback to secure_ip setting 236/head
Andrew Lewis [Fri, 20 Mar 2015 12:31:17 +0000 (14:31 +0200)]
Add IPv6 loopback to secure_ip setting

9 years agoFix implicit arrays handling in string list parsing.
Vsevolod Stakhov [Fri, 20 Mar 2015 15:16:40 +0000 (15:16 +0000)]
Fix implicit arrays handling in string list parsing.

9 years agoAllow multiple values for `secure_ip` option.
Vsevolod Stakhov [Fri, 20 Mar 2015 14:19:20 +0000 (14:19 +0000)]
Allow multiple values for `secure_ip` option.

Issue: #234

9 years agoMerge pull request #233 from fatalbanana/master
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)

9 years agoProcess regexps from atom process function.
Vsevolod Stakhov [Thu, 19 Mar 2015 22:31:53 +0000 (22:31 +0000)]
Process regexps from atom process function.

9 years agoUnify regexp match function.
Vsevolod Stakhov [Thu, 19 Mar 2015 22:07:43 +0000 (22:07 +0000)]
Unify regexp match function.

9 years agoMove regexp process code from the plugin.
Vsevolod Stakhov [Thu, 19 Mar 2015 19:00:28 +0000 (19:00 +0000)]
Move regexp process code from the plugin.

9 years agoAdd re cache logic to task routines.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:57:43 +0000 (18:57 +0000)]
Add re cache logic to task routines.

9 years agoUse regexp hash functions for task re_cache.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:43:03 +0000 (18:43 +0000)]
Use regexp hash functions for task re_cache.

9 years agoAdd global limit for mime regular expressions.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:24:09 +0000 (18:24 +0000)]
Add global limit for mime regular expressions.

9 years agoAdd code to destroy mime atom.
Vsevolod Stakhov [Thu, 19 Mar 2015 18:14:23 +0000 (18:14 +0000)]
Add code to destroy mime atom.

9 years agoImplement parsing of internal functions.
Vsevolod Stakhov [Thu, 19 Mar 2015 17:19:43 +0000 (17:19 +0000)]
Implement parsing of internal functions.

9 years agoRemove expressions pollutions from parts of rspamd.
Vsevolod Stakhov [Thu, 19 Mar 2015 16:19:09 +0000 (16:19 +0000)]
Remove expressions pollutions from parts of rspamd.

9 years agoAdd basic atom parsing utility.
Vsevolod Stakhov [Thu, 19 Mar 2015 16:18:54 +0000 (16:18 +0000)]
Add basic atom parsing utility.

9 years agoRemove upstart job from Debian package (because it's breaking stuff) 233/head
Andrew Lewis [Thu, 19 Mar 2015 16:15:34 +0000 (18:15 +0200)]
Remove upstart job from Debian package (because it's breaking stuff)

9 years agoWrite atom parser skeleton.
Vsevolod Stakhov [Thu, 19 Mar 2015 15:18:18 +0000 (15:18 +0000)]
Write atom parser skeleton.

9 years agoStart removing old stuff.
Vsevolod Stakhov [Thu, 19 Mar 2015 15:07:22 +0000 (15:07 +0000)]
Start removing old stuff.

9 years agoAdd unit tests for expressions processing.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:47:31 +0000 (13:47 +0000)]
Add unit tests for expressions processing.

9 years agoFix processing of a single element.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:47:19 +0000 (13:47 +0000)]
Fix processing of a single element.

9 years agoFix + expressions optimizations.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:33:37 +0000 (13:33 +0000)]
Fix + expressions optimizations.

9 years agoFix parsing of limits.
Vsevolod Stakhov [Thu, 19 Mar 2015 13:13:57 +0000 (13:13 +0000)]
Fix parsing of limits.

9 years agoSelect operand on OR operation.
Vsevolod Stakhov [Thu, 19 Mar 2015 12:24:15 +0000 (12:24 +0000)]
Select operand on OR operation.

9 years agoFix issues when calling for process atoms.
Vsevolod Stakhov [Thu, 19 Mar 2015 12:19:07 +0000 (12:19 +0000)]
Fix issues when calling for process atoms.

9 years agoAdd lua-expr:process method.
Vsevolod Stakhov [Thu, 19 Mar 2015 11:56:10 +0000 (11:56 +0000)]
Add lua-expr:process method.

9 years agoFinish expression evaluation.
Vsevolod Stakhov [Thu, 19 Mar 2015 11:50:04 +0000 (11:50 +0000)]
Finish expression evaluation.

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

9 years agoFix luajit/lua headers confusion 230/head
Andrew Lewis [Thu, 19 Mar 2015 12:34:17 +0000 (14:34 +0200)]
Fix luajit/lua headers confusion

Conflicts:
CMakeLists.txt

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

9 years agoFix debian/control 229/head
Andrew Lewis [Thu, 19 Mar 2015 10:31:27 +0000 (12:31 +0200)]
Fix debian/control

9 years agoFix finding headers from luajit
Andrew Lewis [Thu, 19 Mar 2015 10:11:48 +0000 (12:11 +0200)]
Fix finding headers from luajit

9 years agoWrite optimizator for plus operator.
Vsevolod Stakhov [Thu, 19 Mar 2015 10:04:56 +0000 (10:04 +0000)]
Write optimizator for plus operator.

9 years agoPrefer processed elements during optimizations.
Vsevolod Stakhov [Thu, 19 Mar 2015 09:14:27 +0000 (09:14 +0000)]
Prefer processed elements during optimizations.

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

9 years agoPull changelogs from rspamd-0.8 227/head
Mikhail Gusarov [Wed, 18 Mar 2015 23:13:39 +0000 (23:13 +0000)]
Pull changelogs from rspamd-0.8

9 years agoFix references.
Vsevolod Stakhov [Wed, 18 Mar 2015 21:21:25 +0000 (21:21 +0000)]
Fix references.

9 years agoFix length when parsing ip4/ip6.
Vsevolod Stakhov [Wed, 18 Mar 2015 21:21:13 +0000 (21:21 +0000)]
Fix length when parsing ip4/ip6.

9 years agoFix some more issues in spf.
Vsevolod Stakhov [Wed, 18 Mar 2015 20:03:48 +0000 (20:03 +0000)]
Fix some more issues in spf.

9 years agoFix issues in spf plugin.
Vsevolod Stakhov [Wed, 18 Mar 2015 19:55:04 +0000 (19:55 +0000)]
Fix issues in spf plugin.

9 years agoUse const pointer for LRU cache search.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:38:13 +0000 (17:38 +0000)]
Use const pointer for LRU cache search.

9 years agoFix errors.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:36:48 +0000 (17:36 +0000)]
Fix errors.

9 years agoMerge branch 'spf-rework'
Vsevolod Stakhov [Wed, 18 Mar 2015 17:24:08 +0000 (17:24 +0000)]
Merge branch 'spf-rework'

9 years agoFix refcounts.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:23:30 +0000 (17:23 +0000)]
Fix refcounts.

9 years agoFix spf plugin.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:21:33 +0000 (17:21 +0000)]
Fix spf plugin.

9 years agoRework flattening and callback logic.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:10:16 +0000 (17:10 +0000)]
Rework flattening and callback logic.

9 years agoRework plain ip6/ip4 parsing.
Vsevolod Stakhov [Wed, 18 Mar 2015 17:10:00 +0000 (17:10 +0000)]
Rework plain ip6/ip4 parsing.

9 years agoAdd records flattening logic.
Vsevolod Stakhov [Wed, 18 Mar 2015 16:43:46 +0000 (16:43 +0000)]
Add records flattening logic.

9 years agoRework DNS callback.
Vsevolod Stakhov [Wed, 18 Mar 2015 16:13:21 +0000 (16:13 +0000)]
Rework DNS callback.

9 years agoUnify hostmask parsing.
Vsevolod Stakhov [Wed, 18 Mar 2015 15:14:45 +0000 (15:14 +0000)]
Unify hostmask parsing.

9 years agoFix parsing routines.
Vsevolod Stakhov [Wed, 18 Mar 2015 15:13:04 +0000 (15:13 +0000)]
Fix parsing routines.

9 years agoStart rework for spf structures.
Vsevolod Stakhov [Wed, 18 Mar 2015 15:12:39 +0000 (15:12 +0000)]
Start rework for spf structures.

9 years agoRework address matching algorithm in SPF plugin.
Vsevolod Stakhov [Wed, 18 Mar 2015 12:25:04 +0000 (12:25 +0000)]
Rework address matching algorithm in SPF plugin.

9 years ago2 more test cases.
Vsevolod Stakhov [Wed, 18 Mar 2015 11:41:38 +0000 (11:41 +0000)]
2 more test cases.

9 years agoAdd more unit tests.
Vsevolod Stakhov [Wed, 18 Mar 2015 10:54:42 +0000 (10:54 +0000)]
Add more unit tests.

9 years agoUse reft-associativity by default for all ops.
Vsevolod Stakhov [Wed, 18 Mar 2015 10:54:22 +0000 (10:54 +0000)]
Use reft-associativity by default for all ops.

9 years agoTreat '+' as operator symbol.
Vsevolod Stakhov [Wed, 18 Mar 2015 10:54:06 +0000 (10:54 +0000)]
Treat '+' as operator symbol.

9 years agoInitialize state.
Vsevolod Stakhov [Wed, 18 Mar 2015 10:22:27 +0000 (10:22 +0000)]
Initialize state.

9 years agoFix more issues in expressions parser.
Vsevolod Stakhov [Tue, 17 Mar 2015 23:29:27 +0000 (23:29 +0000)]
Fix more issues in expressions parser.

9 years agoFix expressions unit test.
Vsevolod Stakhov [Tue, 17 Mar 2015 22:22:04 +0000 (22:22 +0000)]
Fix expressions unit test.

9 years agoMerge pull request #225 from fatalbanana/master
Vsevolod Stakhov [Tue, 17 Mar 2015 21:57:23 +0000 (21:57 +0000)]
Merge pull request #225 from fatalbanana/master

Try include rspamd.conf.local.override with high priority

9 years agoAdd specific workaround for debian. 225/head
Vsevolod Stakhov [Fri, 13 Mar 2015 11:23:31 +0000 (11:23 +0000)]
Add specific workaround for debian.

9 years agoReiterate on systemd.
Vsevolod Stakhov [Fri, 13 Mar 2015 11:11:58 +0000 (11:11 +0000)]
Reiterate on systemd.

Conflicts:
CMakeLists.txt

9 years agoUse Systemd for Linux family and SysV for other systems.
Andrej Zverev [Wed, 11 Mar 2015 22:25:26 +0000 (01:25 +0300)]
Use Systemd for Linux family and SysV for other systems.
We are creating conf/rspamd.conf.in as template and
declaring two new variables for CMake:
DEFAULTS (for SysV):
 RSPAMD_WORKER_NORMAL = "*:11333"
 RSPAMD_WORKER_CONTROLLER = "*:11334"
For Linux (for Systemd):
 RSPAMD_WORKER_NORMAL = "systemd:0"
 RSPAMD_WORKER_CONTROLLER = "systemd:1"

During build we replace template with correct values.

Conflicts:
CMakeLists.txt

9 years agoMore to lazy evaluation logic.
Vsevolod Stakhov [Tue, 17 Mar 2015 18:50:52 +0000 (18:50 +0000)]
More to lazy evaluation logic.

9 years agoAdd processing for AND, NOT and OR operations.
Vsevolod Stakhov [Tue, 17 Mar 2015 18:35:42 +0000 (18:35 +0000)]
Add processing for AND, NOT and OR operations.

9 years agoAdapt debian/control for 0.9.x
Andrew Lewis [Tue, 17 Mar 2015 17:47:21 +0000 (19:47 +0200)]
Adapt debian/control for 0.9.x

9 years agoMerge branch 'new-expr'
Vsevolod Stakhov [Tue, 17 Mar 2015 17:29:21 +0000 (17:29 +0000)]
Merge branch 'new-expr'