]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
10 years agoCorrect bad syntax 240/head
Andrew Lewis [Sat, 21 Mar 2015 17:23:26 +0000 (19:23 +0200)] 
Correct bad syntax

10 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

10 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

10 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

10 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

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

10 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

10 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)

10 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)

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

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

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

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

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

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

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

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

10 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

10 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

10 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

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

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

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

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

10 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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

Conflicts:
CMakeLists.txt

10 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

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

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

10 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

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

10 years agoDistinguish between logic and arithmetic ops.
Vsevolod Stakhov [Tue, 17 Mar 2015 17:28:11 +0000 (17:28 +0000)] 
Distinguish between logic and arithmetic ops.

10 years agoAdd lua unit test for expressions.
Vsevolod Stakhov [Tue, 17 Mar 2015 17:25:24 +0000 (17:25 +0000)] 
Add lua unit test for expressions.

10 years agoAdd LUA api for expressions.
Vsevolod Stakhov [Tue, 17 Mar 2015 17:09:05 +0000 (17:09 +0000)] 
Add LUA api for expressions.

10 years agoConstify subr structure.
Vsevolod Stakhov [Tue, 17 Mar 2015 17:08:02 +0000 (17:08 +0000)] 
Constify subr structure.

10 years agoTry include rspamd.conf.local.override with high priority
Andrew Lewis [Tue, 17 Mar 2015 15:09:29 +0000 (17:09 +0200)] 
Try include rspamd.conf.local.override with high priority

10 years agoRemove obsolete conffiles on upgrade
Mikhail Gusarov [Sat, 7 Mar 2015 10:45:32 +0000 (10:45 +0000)] 
Remove obsolete conffiles on upgrade

10 years agoExplicitly set tmpdir in config file
Mikhail Gusarov [Sat, 7 Mar 2015 10:41:05 +0000 (10:41 +0000)] 
Explicitly set tmpdir in config file

10 years agoWork around Debian mishandling of systemd socket-activated units
Mikhail Gusarov [Sat, 7 Mar 2015 10:23:13 +0000 (10:23 +0000)] 
Work around Debian mishandling of systemd socket-activated units

If there is a backward compatibility sysvinit script, then
even socket-activated services are started automatically after
install/upgrade.

10 years agoFix syntax error in worker-normal.inc
Mikhail Gusarov [Sat, 7 Mar 2015 10:12:47 +0000 (10:12 +0000)] 
Fix syntax error in worker-normal.inc

10 years agoBump Standards-Version
Mikhail Gusarov [Sat, 7 Mar 2015 10:02:11 +0000 (10:02 +0000)] 
Bump Standards-Version

10 years agoFix installing conf/ files
Mikhail Gusarov [Sat, 7 Mar 2015 09:58:58 +0000 (09:58 +0000)] 
Fix installing conf/ files

10 years agoReorganize configuration files for systemd
Mikhail Gusarov [Fri, 6 Mar 2015 23:09:04 +0000 (23:09 +0000)] 
Reorganize configuration files for systemd

Common systemd/non-systemd options were moved to .inc
files. rspamd.conf is systemd-enabled one,
rspamd.sysvinit.conf is sysvinit-compatible one.

10 years agoAllow to check mempool on any position in the stack.
Vsevolod Stakhov [Tue, 17 Mar 2015 16:34:20 +0000 (16:34 +0000)] 
Allow to check mempool on any position in the stack.

10 years agoAdd conversion from expr to string.
Vsevolod Stakhov [Tue, 17 Mar 2015 15:22:19 +0000 (15:22 +0000)] 
Add conversion from expr to string.

10 years agoAdd destruction routine for exprs and atoms.
Vsevolod Stakhov [Tue, 17 Mar 2015 15:08:20 +0000 (15:08 +0000)] 
Add destruction routine for exprs and atoms.

10 years agoAdd expressions parsing code.
Vsevolod Stakhov [Tue, 17 Mar 2015 15:01:52 +0000 (15:01 +0000)] 
Add expressions parsing code.

10 years agoAdd utility functions.
Vsevolod Stakhov [Tue, 17 Mar 2015 11:54:28 +0000 (11:54 +0000)] 
Add utility functions.

10 years agoAdd skeleton for the new expressions.
Vsevolod Stakhov [Tue, 17 Mar 2015 11:27:01 +0000 (11:27 +0000)] 
Add skeleton for the new expressions.

10 years agoSOL_IPV6 is not defined on Darwin.
Vsevolod Stakhov [Tue, 17 Mar 2015 11:25:05 +0000 (11:25 +0000)] 
SOL_IPV6 is not defined on Darwin.

10 years agoFix redis invocation and timeouts from lua.
Vsevolod Stakhov [Mon, 16 Mar 2015 17:32:58 +0000 (17:32 +0000)] 
Fix redis invocation and timeouts from lua.

10 years agoTerminate connection if got EOF on HTTP.
Vsevolod Stakhov [Mon, 16 Mar 2015 16:58:48 +0000 (16:58 +0000)] 
Terminate connection if got EOF on HTTP.

10 years agoImport spec tunes from OBS.
Vsevolod Stakhov [Mon, 16 Mar 2015 12:06:59 +0000 (12:06 +0000)] 
Import spec tunes from OBS.

10 years agoUnbreak 32bit declarations.
Vsevolod Stakhov [Sun, 15 Mar 2015 10:25:13 +0000 (10:25 +0000)] 
Unbreak 32bit declarations.

Issue: #222

10 years agoAdd inet addr unit test.
Vsevolod Stakhov [Sat, 14 Mar 2015 22:25:54 +0000 (22:25 +0000)] 
Add inet addr unit test.

10 years agoFix upstream test.
Vsevolod Stakhov [Sat, 14 Mar 2015 21:51:53 +0000 (21:51 +0000)] 
Fix upstream test.

10 years agoUse __get_cpuid if available.
Vsevolod Stakhov [Sat, 14 Mar 2015 19:56:22 +0000 (19:56 +0000)] 
Use __get_cpuid if available.

10 years agoMerge pull request #221 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Mar 2015 14:12:12 +0000 (14:12 +0000)] 
Merge pull request #221 from fatalbanana/master

Add rspamd.sysvinit.conf to RPM packaging list

10 years agoDo not check uninitialized bytes.
Vsevolod Stakhov [Fri, 13 Mar 2015 13:59:59 +0000 (13:59 +0000)] 
Do not check uninitialized bytes.

10 years agoCheck boundary prior to dereferencing.
Vsevolod Stakhov [Fri, 13 Mar 2015 13:44:35 +0000 (13:44 +0000)] 
Check boundary prior to dereferencing.

10 years agoSet length accordingly to stipped size.
Vsevolod Stakhov [Fri, 13 Mar 2015 13:41:04 +0000 (13:41 +0000)] 
Set length accordingly to stipped size.

10 years agoAdd default host and helo for a client.
Vsevolod Stakhov [Fri, 13 Mar 2015 13:09:15 +0000 (13:09 +0000)] 
Add default host and helo for a client.

10 years agoAdd workaround for certain types of urls.
Vsevolod Stakhov [Fri, 13 Mar 2015 12:59:19 +0000 (12:59 +0000)] 
Add workaround for certain types of urls.

10 years agoAdd rspamd.sysvinit.conf to RPM packaging list 221/head
Andrew Lewis [Fri, 13 Mar 2015 12:33:07 +0000 (14:33 +0200)] 
Add rspamd.sysvinit.conf to RPM packaging list

10 years agoCleanup shit.
Vsevolod Stakhov [Fri, 13 Mar 2015 12:05:43 +0000 (12:05 +0000)] 
Cleanup shit.

10 years agoFixes to spec.
Vsevolod Stakhov [Fri, 13 Mar 2015 12:01:16 +0000 (12:01 +0000)] 
Fixes to spec.

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

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

Conflicts:
CMakeLists.txt
conf/rspamd.systemd.conf

10 years agoMerge pull request #219 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Mar 2015 10:37:36 +0000 (10:37 +0000)] 
Merge pull request #219 from fatalbanana/master

 RPM: clean up & fixes for CentOS7/Fedora

10 years agoTry to workaround V6_V6ONLY.
Vsevolod Stakhov [Fri, 13 Mar 2015 10:28:02 +0000 (10:28 +0000)] 
Try to workaround V6_V6ONLY.

10 years agoRPM: Clean up and unbreak future upgrades on Fedora/CentOS7 219/head
Andrew Lewis [Fri, 13 Mar 2015 10:12:38 +0000 (12:12 +0200)] 
RPM: Clean up and unbreak future upgrades on Fedora/CentOS7

10 years agoFix sockets initialization.
Vsevolod Stakhov [Fri, 13 Mar 2015 10:21:19 +0000 (10:21 +0000)] 
Fix sockets initialization.

10 years agoRPM: move patch out of wrong part of specfile
Andrew Lewis [Fri, 13 Mar 2015 08:15:47 +0000 (10:15 +0200)] 
RPM: move patch out of wrong part of specfile