]> source.dussan.org Git - rspamd.git/log
rspamd.git
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 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 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

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

9 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

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

9 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

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

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

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

9 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

9 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

9 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

9 years agoFix condrestart in CentOS init script 214/head
Andrew Lewis [Thu, 12 Mar 2015 13:28:25 +0000 (15:28 +0200)]
Fix condrestart in CentOS init script

9 years agoRPM: don't break rspamd on upgrade
Andrew Lewis [Thu, 12 Mar 2015 12:06:59 +0000 (14:06 +0200)]
RPM: don't break rspamd on upgrade

9 years agoRPM: Patch systemd service for CentOS7 & fix broken filesystem attributes
Andrew Lewis [Thu, 12 Mar 2015 06:05:57 +0000 (08:05 +0200)]
RPM: Patch systemd service for CentOS7 & fix broken filesystem attributes

9 years agoMore RPM... 212/head
Andrew Lewis [Wed, 11 Mar 2015 20:27:27 +0000 (22:27 +0200)]
More RPM...

9 years agoFix RPM packaging properly 210/head
Andrew Lewis [Wed, 11 Mar 2015 19:45:06 +0000 (21:45 +0200)]
Fix RPM packaging properly

9 years agoUnify systemd support
Mikhail Gusarov [Sat, 7 Mar 2015 09:53:04 +0000 (09:53 +0000)]
Unify systemd support

- Move it from debian/ and centos/
- Ensure Debian package installs .service/.socket
- Enable socket-activated service
- Clean up redundant CentOS config files

9 years agoFixes for RPM packaging 208/head
Andrew Lewis [Wed, 11 Mar 2015 17:34:11 +0000 (19:34 +0200)]
Fixes for RPM packaging

9 years agoUse rspamd.sysvinit.conf for sysvinit init scripts
Mikhail Gusarov [Sat, 7 Mar 2015 10:53:16 +0000 (10:53 +0000)]
Use rspamd.sysvinit.conf for sysvinit init scripts

9 years agoFilter double-dots in rbl.lua validate_dns 206/head
Andrew Lewis [Wed, 11 Mar 2015 12:35:22 +0000 (14:35 +0200)]
Filter double-dots in rbl.lua validate_dns

9 years agoFix missing symbol registration
Andrew Lewis [Wed, 11 Mar 2015 12:22:33 +0000 (14:22 +0200)]
Fix missing symbol registration

9 years agoBackport fix from libucl.
Vsevolod Stakhov [Wed, 11 Mar 2015 11:57:17 +0000 (11:57 +0000)]
Backport fix from libucl.

9 years agoDo not check for lua5.2 when luajit is enabled.
Vsevolod Stakhov [Wed, 11 Mar 2015 10:26:58 +0000 (10:26 +0000)]
Do not check for lua5.2 when luajit is enabled.

9 years agoEliminate GRegexp in surbl module.
Vsevolod Stakhov [Tue, 10 Mar 2015 18:21:07 +0000 (18:21 +0000)]
Eliminate GRegexp in surbl module.

9 years agoFix flags in pcre jit fast path.
Vsevolod Stakhov [Tue, 10 Mar 2015 11:51:54 +0000 (11:51 +0000)]
Fix flags in pcre jit fast path.

9 years agoFix allocated_len calculation found by fuzz testing.
Vsevolod Stakhov [Mon, 9 Mar 2015 23:44:28 +0000 (23:44 +0000)]
Fix allocated_len calculation found by fuzz testing.

9 years agoAdd fuzz testing for base32.
Vsevolod Stakhov [Mon, 9 Mar 2015 23:44:19 +0000 (23:44 +0000)]
Add fuzz testing for base32.

9 years agoAdd basic base32 tests.
Vsevolod Stakhov [Mon, 9 Mar 2015 23:01:05 +0000 (23:01 +0000)]
Add basic base32 tests.

9 years agoUse portable macro to get global variable.
Vsevolod Stakhov [Sun, 8 Mar 2015 23:45:29 +0000 (23:45 +0000)]
Use portable macro to get global variable.

9 years agoDo not fail if pid file is not specified in config
Mikhail Gusarov [Sat, 7 Mar 2015 10:15:16 +0000 (10:15 +0000)]
Do not fail if pid file is not specified in config

9 years agoFix cache usage for rspamd_regexp.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:46:13 +0000 (22:46 +0000)]
Fix cache usage for rspamd_regexp.

9 years agoAllow storage of auxiliary userdata inside regexp structure.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:43:23 +0000 (22:43 +0000)]
Allow storage of auxiliary userdata inside regexp structure.

9 years agoMore additions to the regexp module.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:21:31 +0000 (22:21 +0000)]
More additions to the regexp module.

9 years agoStart moving to the rspamd regexps.
Vsevolod Stakhov [Sat, 7 Mar 2015 22:00:14 +0000 (22:00 +0000)]
Start moving to the rspamd regexps.

9 years agoMerge pull request #199 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 7 Mar 2015 19:13:11 +0000 (19:13 +0000)]
Merge pull request #199 from AlexeySa/patch-3

Hfilter: Fix FQDN check expression

9 years agoHfilter: Fix FQDN check expression 199/head
Alexey AL [Fri, 6 Mar 2015 13:59:58 +0000 (16:59 +0300)]
Hfilter: Fix FQDN check expression

9 years agoImplement lua regexp split, write test case.
Vsevolod Stakhov [Fri, 6 Mar 2015 13:59:07 +0000 (13:59 +0000)]
Implement lua regexp split, write test case.

9 years agoMore fixes to SA plugin.
Vsevolod Stakhov [Fri, 6 Mar 2015 13:30:32 +0000 (13:30 +0000)]
More fixes to SA plugin.

9 years agoDistinguish match and search in lua regexp.
Vsevolod Stakhov [Fri, 6 Mar 2015 13:07:30 +0000 (13:07 +0000)]
Distinguish match and search in lua regexp.

9 years agoFix some issues in rspamd_regexp.
Vsevolod Stakhov [Fri, 6 Mar 2015 12:40:15 +0000 (12:40 +0000)]
Fix some issues in rspamd_regexp.

9 years agom,, regexps are to be treated as strict match.
Vsevolod Stakhov [Fri, 6 Mar 2015 11:41:28 +0000 (11:41 +0000)]
m,, regexps are to be treated as strict match.

9 years agoInitialize regexp library.
Vsevolod Stakhov [Fri, 6 Mar 2015 11:27:17 +0000 (11:27 +0000)]
Initialize regexp library.

9 years agoMore fixes to regexp module.
Vsevolod Stakhov [Fri, 6 Mar 2015 00:25:39 +0000 (00:25 +0000)]
More fixes to regexp module.

9 years agopcre_free_study is only valid when JIT is supported.
Vsevolod Stakhov [Thu, 5 Mar 2015 23:40:49 +0000 (23:40 +0000)]
pcre_free_study is only valid when JIT is supported.

9 years agoAdopt lua regexps for rspamd_regexp.
Vsevolod Stakhov [Thu, 5 Mar 2015 23:32:14 +0000 (23:32 +0000)]
Adopt lua regexps for rspamd_regexp.

9 years agoInitialize regexp library.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:58:00 +0000 (18:58 +0000)]
Initialize regexp library.

9 years agoFix study invocation.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:56:59 +0000 (18:56 +0000)]
Fix study invocation.

9 years agoProperly link rspamd_server on darwin.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:33:25 +0000 (18:33 +0000)]
Properly link rspamd_server on darwin.

9 years agoFix linking on Darwin.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:29:46 +0000 (18:29 +0000)]
Fix linking on Darwin.

9 years agoFix clock_gettime invocation.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:25:13 +0000 (18:25 +0000)]
Fix clock_gettime invocation.

9 years agoAdd portable get_ticks function.
Vsevolod Stakhov [Thu, 5 Mar 2015 18:16:28 +0000 (18:16 +0000)]
Add portable get_ticks function.

9 years agoImplement match.
Vsevolod Stakhov [Thu, 5 Mar 2015 16:51:36 +0000 (16:51 +0000)]
Implement match.

9 years agoImplement regexp search.
Vsevolod Stakhov [Thu, 5 Mar 2015 16:49:27 +0000 (16:49 +0000)]
Implement regexp search.

9 years agoInitialization code for JIT regexps.
Vsevolod Stakhov [Thu, 5 Mar 2015 14:40:19 +0000 (14:40 +0000)]
Initialization code for JIT regexps.

9 years agoFix initialization.
Vsevolod Stakhov [Thu, 5 Mar 2015 14:40:10 +0000 (14:40 +0000)]
Fix initialization.

9 years agoAdd JIT detection macro.
Vsevolod Stakhov [Thu, 5 Mar 2015 14:39:49 +0000 (14:39 +0000)]
Add JIT detection macro.

9 years agoCheck for JIT support in pcre.
Vsevolod Stakhov [Thu, 5 Mar 2015 12:23:33 +0000 (12:23 +0000)]
Check for JIT support in pcre.

9 years agoRestore build id parsing.
Vsevolod Stakhov [Thu, 5 Mar 2015 11:35:42 +0000 (11:35 +0000)]
Restore build id parsing.

9 years agoFix linkage with luajit on osx.
Vsevolod Stakhov [Thu, 5 Mar 2015 10:38:40 +0000 (10:38 +0000)]
Fix linkage with luajit on osx.

9 years agoImplement cache functions.
Vsevolod Stakhov [Thu, 5 Mar 2015 09:50:25 +0000 (09:50 +0000)]
Implement cache functions.

9 years agoWrite skeleton of rspamd fast regexps.
Vsevolod Stakhov [Wed, 4 Mar 2015 21:59:48 +0000 (21:59 +0000)]
Write skeleton of rspamd fast regexps.

9 years agoAdd unit test for lua regexp.
Vsevolod Stakhov [Wed, 4 Mar 2015 16:01:14 +0000 (16:01 +0000)]
Add unit test for lua regexp.

9 years agoFix match behaviour.
Vsevolod Stakhov [Wed, 4 Mar 2015 16:00:55 +0000 (16:00 +0000)]
Fix match behaviour.

9 years agoSupport m,, patterns in lua regexps.
Vsevolod Stakhov [Wed, 4 Mar 2015 15:29:19 +0000 (15:29 +0000)]
Support m,, patterns in lua regexps.

9 years agoFix iconv detection.
Vsevolod Stakhov [Tue, 3 Mar 2015 18:22:09 +0000 (18:22 +0000)]
Fix iconv detection.

9 years agoFix build under Darwin.
Vsevolod Stakhov [Tue, 3 Mar 2015 16:49:21 +0000 (16:49 +0000)]
Fix build under Darwin.

9 years agoClosure fixes.
Vsevolod Stakhov [Tue, 3 Mar 2015 00:25:12 +0000 (00:25 +0000)]
Closure fixes.

9 years agoAdd method to get all raw headers in LUA.
Vsevolod Stakhov [Tue, 3 Mar 2015 00:17:27 +0000 (00:17 +0000)]
Add method to get all raw headers in LUA.

9 years agoImprove SA parse logic.
Vsevolod Stakhov [Tue, 3 Mar 2015 00:05:21 +0000 (00:05 +0000)]
Improve SA parse logic.

- Add ALL:raw support
- Add header:(addr) function
- Add header:(raw) modifier

9 years agoLimited support of MESSAGEID.
Vsevolod Stakhov [Mon, 2 Mar 2015 22:40:25 +0000 (22:40 +0000)]
Limited support of MESSAGEID.

9 years agoStart splitting statistic processing to separate stages.
Vsevolod Stakhov [Mon, 2 Mar 2015 17:35:34 +0000 (17:35 +0000)]
Start splitting statistic processing to separate stages.

9 years agoImplement runtime creation for redis.
Vsevolod Stakhov [Mon, 2 Mar 2015 16:32:22 +0000 (16:32 +0000)]
Implement runtime creation for redis.

9 years agoFix issues found by unit testing.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:14:01 +0000 (14:14 +0000)]
Fix issues found by unit testing.

9 years agoFix url extraction tests.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:13:46 +0000 (14:13 +0000)]
Fix url extraction tests.

9 years agoAdd utility function for testing purposes.
Vsevolod Stakhov [Mon, 2 Mar 2015 14:13:29 +0000 (14:13 +0000)]
Add utility function for testing purposes.

9 years agoAdd unit test for url extraction.
Vsevolod Stakhov [Mon, 2 Mar 2015 13:24:05 +0000 (13:24 +0000)]
Add unit test for url extraction.

9 years agoFix broken asserts.
Vsevolod Stakhov [Mon, 2 Mar 2015 13:22:35 +0000 (13:22 +0000)]
Fix broken asserts.

9 years agoFix bug with port setup.
Vsevolod Stakhov [Mon, 2 Mar 2015 10:15:49 +0000 (10:15 +0000)]
Fix bug with port setup.

9 years agoPort fix from libucl.
Vsevolod Stakhov [Sun, 1 Mar 2015 21:34:26 +0000 (21:34 +0000)]
Port fix from libucl.

9 years agoAdd test cases.
Vsevolod Stakhov [Sat, 28 Feb 2015 23:02:27 +0000 (23:02 +0000)]
Add test cases.

9 years agoAdd routines to set recipients and sender for a task.
Vsevolod Stakhov [Sat, 28 Feb 2015 22:43:48 +0000 (22:43 +0000)]
Add routines to set recipients and sender for a task.

9 years agoAdd explicit dependency for rspamd-test on rspamd-server
Vsevolod Stakhov [Sat, 28 Feb 2015 22:23:56 +0000 (22:23 +0000)]
Add explicit dependency for rspamd-test on rspamd-server

9 years agoWrite unit test for redis substitution and fix a bug found.
Vsevolod Stakhov [Sat, 28 Feb 2015 22:23:28 +0000 (22:23 +0000)]
Write unit test for redis substitution and fix a bug found.

9 years agoInclude the whole rspamd-server for ffi.
Vsevolod Stakhov [Sat, 28 Feb 2015 22:15:23 +0000 (22:15 +0000)]
Include the whole rspamd-server for ffi.

9 years agoAdd utf lc test case and fix the bug.
Vsevolod Stakhov [Sat, 28 Feb 2015 10:31:47 +0000 (10:31 +0000)]
Add utf lc test case and fix the bug.

9 years agoAdopt RSA test for telescope.
Vsevolod Stakhov [Sat, 28 Feb 2015 00:24:13 +0000 (00:24 +0000)]
Adopt RSA test for telescope.

9 years agoRework lua tests one more time.
Vsevolod Stakhov [Sat, 28 Feb 2015 00:11:56 +0000 (00:11 +0000)]
Rework lua tests one more time.

9 years agoMerge branch 'redis-stat'
Vsevolod Stakhov [Fri, 27 Feb 2015 17:15:36 +0000 (17:15 +0000)]
Merge branch 'redis-stat'

9 years agoRemove expired.
Vsevolod Stakhov [Fri, 27 Feb 2015 17:13:52 +0000 (17:13 +0000)]
Remove expired.

9 years agoRework lua tests structure, require external busted.
Vsevolod Stakhov [Fri, 27 Feb 2015 17:12:41 +0000 (17:12 +0000)]
Rework lua tests structure, require external busted.

9 years agoFix lua tests copying.
Vsevolod Stakhov [Fri, 27 Feb 2015 16:12:43 +0000 (16:12 +0000)]
Fix lua tests copying.

9 years agoReorganize lua tests.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:55:46 +0000 (15:55 +0000)]
Reorganize lua tests.

9 years agoAdd lua test framework.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:33:58 +0000 (15:33 +0000)]
Add lua test framework.

9 years agosnprintf->rspamd_snprintf.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:33:28 +0000 (15:33 +0000)]
snprintf->rspamd_snprintf.

9 years agoFix some syntax issues.
Vsevolod Stakhov [Fri, 27 Feb 2015 15:08:56 +0000 (15:08 +0000)]
Fix some syntax issues.

9 years agoAdd busted lua testing framework.
Vsevolod Stakhov [Fri, 27 Feb 2015 14:46:28 +0000 (14:46 +0000)]
Add busted lua testing framework.

9 years agoAdd prefix expansion function.
Vsevolod Stakhov [Fri, 27 Feb 2015 14:41:07 +0000 (14:41 +0000)]
Add prefix expansion function.