Commit Graph

719 Commits

Author SHA1 Message Date
Vsevolod Stakhov
2bc1d15750 [Minor] Another try to fix bloody gmime search path 2016-11-26 12:31:27 +00:00
Vsevolod Stakhov
b74d2ce530 [Minor] More fixes for bloody gmime 2016-11-26 12:19:24 +00:00
Vsevolod Stakhov
92c6f988cf [Fix] Fix build with custom glib/gmime 2016-11-26 12:09:12 +00:00
Vsevolod Stakhov
f7466e9e38 [Minor] Add lua 5.3 support 2016-11-25 13:47:27 +00:00
Vsevolod Stakhov
db3ce11f4d [Minor] Update version to 1.4.1 2016-11-22 12:06:14 +00:00
Vsevolod Stakhov
e1cb7814b2 [Minor] Allways compile with symbols 2016-11-17 15:55:10 +00:00
Andrew Lewis
868c11401b [Minor] Fix build with dev version of luajit 2016-10-25 15:15:50 +02:00
Vsevolod Stakhov
82bb01e1f8 [Fix] Another try to deal with posix idiotizm 2016-10-19 14:55:02 +01:00
Vsevolod Stakhov
bd10330aa7 [Feature] Add zstd compression library 2016-09-08 17:00:14 +01:00
Vsevolod Stakhov
798d515290 [Fix] Do not be cheated by system hiredis 2016-08-30 18:36:14 +01:00
Vsevolod Stakhov
343ec6cd4f [Minor] Update to 1.4.0 2016-08-23 13:18:28 +01:00
Vsevolod Stakhov
30499880c6 [Minor] Update to 1.3.4 2016-08-15 14:46:59 +01:00
Andrew Lewis
f93a66780d [Test] Some fixes for code coverage 2016-08-10 13:57:14 +01:00
Vsevolod Stakhov
73119605ba [Minor] Update to 1.3.3 2016-08-08 16:59:01 +01:00
Andrew Lewis
924a4b40a8 [Minor] Integrate coveralls 2016-08-02 15:18:29 +01:00
Vsevolod Stakhov
9ae4337be5 [Minor] Update version to 1.3.2 2016-08-01 14:27:15 +01:00
Vsevolod Stakhov
7d8e070281 [Minor] Update version to 1.3.1 2016-07-29 17:43:48 +01:00
Vsevolod Stakhov
6c9b754334 Merge pull request #762 from fatalbanana/no-more-socket-activation
[Rework] Remove systemd socket activation (Fixes #759)
2016-07-29 14:10:18 +01:00
Vsevolod Stakhov
ed80e0873f [Fix] Fix installed permissions for rspamd_stats 2016-07-28 18:40:11 +01:00
Andrew Lewis
638ba136d0 [Rework] Remove systemd socket activation 2016-07-27 16:43:45 +01:00
Vsevolod Stakhov
ec4475e63f [Minor] Install rspamd_stats 2016-07-24 17:58:58 +01:00
Andrew Lewis
72fbc5e849 [Fix] Skip setting RPATH for static builds 2016-07-22 13:51:04 +01:00
Vsevolod Stakhov
c4055be589 [Feature] Dynamically detect if a CPU is incompatible with hyperscan 2016-07-22 10:24:21 +01:00
Vsevolod Stakhov
298a04db37 [Fix] Fix misprints for lto usage 2016-07-14 14:34:31 +01:00
Vsevolod Stakhov
1dd5531694 [Fix] Further fixes for lto and static linking 2016-07-14 13:57:10 +01:00
Vsevolod Stakhov
99a6e4a1e3 Revert "[Fix] PIE is required for static build"
This reverts commit fcea960519.
2016-07-14 13:18:04 +01:00
Vsevolod Stakhov
fcea960519 [Fix] PIE is required for static build 2016-07-14 12:59:37 +01:00
Vsevolod Stakhov
bcde3b0e53 [Feature] Use -flto if possible when optimizations are enabled 2016-07-14 12:54:41 +01:00
Vsevolod Stakhov
ce0579f6cc [Minor] Remove incorrect library linkage 2016-07-14 12:49:21 +01:00
Vsevolod Stakhov
d2af2a1d52 [Minor] Do not bother about sign-compare 2016-07-13 17:07:23 +01:00
Vsevolod Stakhov
4bedefb1e7 [Minor] Another fix for shmem detection on build 2016-07-11 14:25:11 +01:00
Vsevolod Stakhov
abc650b3df [Fix] Always use shmem on linux 2016-07-05 13:40:50 +01:00
Vsevolod Stakhov
2d0e4061c7 [Minor] Fix couple of warnings and disable -pedantic mode 2016-07-05 12:57:58 +01:00
Vsevolod Stakhov
5f450d88f7 [Feature] Add test to check shared memory support sanity 2016-06-29 14:51:50 +01:00
Vsevolod Stakhov
f0448d158b [Fix] Avoid linking with actrie if hyperscan is enabled 2016-06-25 13:39:35 +01:00
Vsevolod Stakhov
3c967aea98 [Feature] Improve ragel build target 2016-06-14 20:36:50 +01:00
Vsevolod Stakhov
8e86e00a86 [Rework] Compile ragel sources when building rspamd 2016-06-14 20:17:15 +01:00
Vsevolod Stakhov
7c9830991c [Feature] Search for SSL_set_tlsext_host_name support 2016-06-13 17:31:29 +01:00
Vsevolod Stakhov
78ba3dfdbf [Feature] Initialize ssl library to use SSL connections 2016-06-11 12:40:25 +01:00
Vsevolod Stakhov
565c37fca0 [Fix] Link lpeg to rspamd lua library 2016-05-28 18:42:45 +01:00
Vsevolod Stakhov
07c6066639 [Feature] Distinguish luajit from lua 2016-05-09 10:11:33 +01:00
Vsevolod Stakhov
917e1ca945 [Rework] Import linenoise for line editing 2016-05-08 20:22:38 +01:00
Vsevolod Stakhov
6bb2daddb0 [Fix] Repair optional dependencies 2016-05-04 14:21:05 +01:00
Vsevolod Stakhov
f6efe0a869 [Minor] Update to 1.3.0 2016-04-20 14:57:53 +01:00
Vsevolod Stakhov
1514f82a54 [Minor] Support DragonFly build
Issue: #595
2016-04-18 15:17:44 +01:00
Vsevolod Stakhov
daea922b4f
[Minor] Update version to 1.2.4 2016-04-12 13:07:21 +01:00
Vsevolod Stakhov
f36e38a2a4 [Feature] Allow building rspamd with jemalloc 2016-04-11 11:23:47 +01:00
Vsevolod Stakhov
c7c8ff17c9 [Minor] Update version to 1.2.3 2016-04-01 15:22:15 +01:00
Vsevolod Stakhov
6b73e307d3 [Minor] Update version to 1.2.2 2016-03-25 16:08:13 +00:00
Vsevolod Stakhov
63acf9fede [Minor] Update version to 1.2.1 2016-03-22 10:35:36 +00:00
Vsevolod Stakhov
091633c9af [Feature] Add LOCAL_CONFDIR option 2016-03-10 17:35:49 +00:00
Vsevolod Stakhov
5c25ee027e Add new warnings supported by gcc-6 2016-02-16 13:44:25 +00:00
Vsevolod Stakhov
20c9bfdc2d More steps to support dynamic workers 2016-02-12 16:11:30 +00:00
Vsevolod Stakhov
d54124d738 Add versions to rspamd modules and workers 2016-02-12 13:34:17 +00:00
Vsevolod Stakhov
34b41a21d7 Add Level-Compressed Tree Bitmap contrib code
Implementation by: Geoffrey T. Dairiki <dairiki@dairiki.org>
2016-02-11 09:57:13 +00:00
Vsevolod Stakhov
cbb129cba4 Add pcre2 detection 2016-02-09 11:26:16 +00:00
Vsevolod Stakhov
eff7d62249 Fix setting include variable in the cache 2016-02-09 11:26:05 +00:00
Vsevolod Stakhov
1da1ff145d Start 1.2 branching 2016-02-04 22:28:57 +00:00
Vsevolod Stakhov
63f8b66c21 Add plain open file API method 2016-02-02 23:42:42 +00:00
Vsevolod Stakhov
56583a05d4 Support c11 if available 2016-01-30 10:55:32 +01:00
Vsevolod Stakhov
a876d62a4b Update version to 1.1.3 2016-01-29 18:13:56 +00:00
Vsevolod Stakhov
a8f5d99585 Try to fix build issue 2016-01-26 21:23:41 +00:00
Vsevolod Stakhov
9285e9f52e Fix build with custom pcre 2016-01-26 17:11:52 +00:00
Vsevolod Stakhov
dbd49ad6c5 Update version to 1.1.2 2016-01-21 16:15:09 +00:00
Vsevolod Stakhov
945b56bed3 Update version to 1.1.1 2016-01-19 15:00:05 +00:00
Vsevolod Stakhov
8681b3d813 Fix default paths for the source build 2016-01-16 21:07:26 +00:00
Vsevolod Stakhov
e8b103d9a1 Enable redis conditional missed somehow 2016-01-14 17:22:39 +00:00
Vsevolod Stakhov
4fc834d623 Embed hiredis as it is broken literally everywhere 2016-01-11 16:04:50 +00:00
Vsevolod Stakhov
c2ff857a70 Add detection of libfann 2015-12-21 12:28:41 +00:00
Vsevolod Stakhov
bef452ccbc Hyperscan is available for x86_64 only so far 2015-12-20 21:23:24 +00:00
Vsevolod Stakhov
5914e5c6e2 Support GIT_ID variable 2015-12-18 14:24:01 +00:00
Vsevolod Stakhov
160b0a033b Use perl instead of bloody cmake for string manipulation 2015-12-15 14:36:12 +00:00
Vsevolod Stakhov
3effda3570 Try to fix build 2015-12-11 19:18:25 +00:00
Vsevolod Stakhov
99666be61c Remove unnecessary definition 2015-12-11 19:08:36 +00:00
Vsevolod Stakhov
b290d0de90 Find nftw definition 2015-12-11 16:30:37 +00:00
Vsevolod Stakhov
864f980038 Fix pthread linkage 2015-12-10 11:24:53 +00:00
Vsevolod Stakhov
813685c8e0 Add hyperscan initialization 2015-12-07 15:24:41 +00:00
Vsevolod Stakhov
be2034ea24 Start hyperscan support 2015-12-07 14:29:25 +00:00
Vsevolod Stakhov
ee98688103 Add LPeg support to rspamd 2015-12-07 13:52:41 +00:00
Vsevolod Stakhov
86c5962983 Use atomic ops if possible 2015-11-26 18:50:03 +00:00
Vsevolod Stakhov
0677cd4451 Test for atomic ops. 2015-11-23 09:10:12 +00:00
Vsevolod Stakhov
7ea334cd83 Add libmagic dependency 2015-11-12 14:36:48 +00:00
Vsevolod Stakhov
620bcca373 Perl is merely needed when snowball is enabled 2015-11-12 14:34:07 +00:00
Vsevolod Stakhov
5570704c53 Start implemetation of static analysis plugin 2015-11-09 18:51:25 +00:00
Vsevolod Stakhov
2068591f5c Start new feature release. 2015-11-05 15:32:03 +03:00
Vsevolod Stakhov
f9a22e7ea6 Update version. 2015-10-27 13:21:43 +00:00
Vsevolod Stakhov
11803de9a6 Update version. 2015-10-27 11:20:04 +00:00
Vsevolod Stakhov
b294e38a47 Update version. 2015-10-26 16:14:36 +00:00
Vsevolod Stakhov
13d9c7e421 Remove previous blake2 implementation. 2015-10-25 22:45:51 +00:00
Vsevolod Stakhov
c5e769ec0c Allow conditional build of snowball. 2015-10-23 11:51:53 +01:00
Vsevolod Stakhov
a28e2fa052 Additional issues with static build. 2015-10-21 13:17:34 +01:00
Vsevolod Stakhov
ccc7ba9b42 More fixes to the static build 2015-10-21 13:05:10 +01:00
Vsevolod Stakhov
c0864168aa Add a simple http server for benchmarks 2015-10-20 10:10:35 +01:00
Vsevolod Stakhov
16a32a9397 Update version. 2015-10-16 15:08:26 +01:00
Vsevolod Stakhov
4537114d00 Update version to 1.0.6 2015-10-14 17:03:23 +01:00
Vsevolod Stakhov
58171591de Check for async IO support. 2015-10-08 18:50:39 +01:00
Vsevolod Stakhov
694ef3873d Check for SOCK_SEQPACKET definition. 2015-10-08 16:56:50 +01:00
Vsevolod Stakhov
18a45837c5 Update version. 2015-10-05 17:20:23 +01:00
Vsevolod Stakhov
275602c0ea Fix dirent include. 2015-10-03 16:09:58 +01:00
Vsevolod Stakhov
668ed90e8d Try to avoid collision with locally installed includes. 2015-09-29 13:32:47 +01:00
Vsevolod Stakhov
5fe7a9e322 Update version to 1.0.4 2015-09-28 18:23:34 +01:00
Vsevolod Stakhov
4c2a6e952d Add preliminary documentation for rspamadm. 2015-09-28 16:45:01 +01:00
Vsevolod Stakhov
9f433cc70a Update version to 1.0.3 2015-09-23 17:39:57 +01:00
Vsevolod Stakhov
174f338b5d Update version number to 1.0.2. 2015-09-22 17:24:41 +01:00
Vsevolod Stakhov
35f8137b1d Update version to 1.0.1 2015-09-18 14:40:20 +01:00
Vsevolod Stakhov
e6ef36e2da Fix luajit detection if lua is also installed. 2015-09-01 14:37:58 +01:00
Vsevolod Stakhov
9f29c394e3 Fix installation rules. 2015-08-07 16:23:24 +01:00
Vsevolod Stakhov
91878c78e1 Rework rules installation. 2015-08-07 14:40:05 +01:00
Vsevolod Stakhov
95d140298a Use unquoted expansion. 2015-08-04 16:20:44 +01:00
Vsevolod Stakhov
2b2c4414ae Build with -O2 by default. 2015-07-21 15:04:01 +01:00
Vsevolod Stakhov
871b3c9758 Avoid dependency on ARCH dep header. 2015-07-14 00:10:49 +01:00
Vsevolod Stakhov
e95ca5c778 Rework cmake caching. 2015-07-08 15:51:16 +01:00
Vsevolod Stakhov
1d5ca1753f Fix openssl handling. 2015-07-08 14:15:46 +01:00
Vsevolod Stakhov
452eba8b86 Remove workaround for local cmake. 2015-07-08 14:07:01 +01:00
Vsevolod Stakhov
376e6fa835 More fixes to cmake script. 2015-07-08 13:41:14 +01:00
Vsevolod Stakhov
a63fad69b1 Another try to fix cmake configuration. 2015-07-08 13:00:14 +01:00
Vsevolod Stakhov
a9c1d1ada6 Adopt for the new ProcessPackage. 2015-07-07 23:57:21 +01:00
Vsevolod Stakhov
8e6dc6924a Rework ProcessPackage macro. 2015-07-07 19:16:26 +01:00
Vsevolod Stakhov
3c0c3bf092 Try to rework FindLua macro. 2015-07-07 16:45:58 +01:00
Vsevolod Stakhov
bd10b85e39 Update version to distinguish master. 2015-07-03 12:52:20 +01:00
Vsevolod Stakhov
3675f4b9ae Allow bundling for sqlite3. 2015-07-03 12:52:20 +01:00
Vsevolod Stakhov
f826e627cf Support dist on FreeBSD and Darwin. 2015-06-30 14:50:55 +01:00
Vsevolod Stakhov
72cd49153a Fix loops in POE. 2015-06-16 19:09:27 +01:00
Vsevolod Stakhov
60e5f7d446 Use specific POE loop for some systems. 2015-06-16 17:39:26 +01:00
Vsevolod Stakhov
9b5f1aca62 Fix redirector installation. 2015-06-16 16:31:15 +01:00
Vsevolod Stakhov
2eb837459e Fix build on FreeBSD < 10. 2015-05-24 18:00:41 +01:00
Vsevolod Stakhov
29572e62d5 Release 0.9.4
* Fix critical bugs in tokenization algorithm
* Write unit tests for tokenization
* Add documentation for lua_tcp
* Switch off legacy tokenization by default.
* Fix critical bugs in words normalization
* Add lua bindings to tokenizer.
* Implement storing of HTTP headers inside task
* Add lua API to accerss HTTP headers data
* Implemented base64 encoding suitable for MIME
* Use caseless hash and equal functions for HTTP request headers.
* Improve debian architectures support (by @dottedmag)

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-21 14:28:22 +01:00
Vsevolod Stakhov
3e91739b5c Release 0.9.3
* Revert incorrect regexp change that broke the default rules
* Fix lua_tcp module

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-19 17:20:19 +01:00
Vsevolod Stakhov
5a32a554b8 Release 0.9.2
* Fix error on spawning unique workers.
* Add preliminary version of generic LUA TCP requests API.
* Use lua 5.1 if luajit is not available (Arm64, PowerPC, s390x etc)
* Fix fuzzy mime strings with only type.
* Improve thunderbird sanity checks.
* Fix critical bug on matching regular expressions.
* Make hiredis optional dependency.
* Fix multiple bugs in daemon reloading

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-19 16:34:21 +01:00
Vsevolod Stakhov
762fdd196a Fallback to plain lua if luajit has not been found. 2015-05-19 13:51:50 +01:00
Vsevolod Stakhov
b4cfe06003 Make hiredis optional dependency. 2015-05-19 13:43:26 +01:00
Vsevolod Stakhov
87120745fe Release 0.9.1.
* Restore utf8 validation for regular expressions to avoid crashes
* Fix symbols displaying in the interface
* Add symbol groups to the interface
* Fix maps ID parsing in the controller
* Add multimap and regexp modules documentation
* Backport fixes from libucl
* Fix debian package (by @dottedmag)
* Rework XXH32 invocations

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2015-05-17 16:24:08 +01:00
Vsevolod Stakhov
fec2e1314d More fixes to luajit detection. 2015-05-12 13:24:03 +01:00
Vsevolod Stakhov
5912f1002b Fix finding of luajit library. 2015-05-12 12:10:42 +01:00
Vsevolod Stakhov
ecc9191f17 Libutil is useless everywhere but FreeBSD. 2015-05-11 17:08:58 +01:00
Vsevolod Stakhov
2b79a6ac22 Try to fix libutil... 2015-05-11 15:38:25 +01:00
Vsevolod Stakhov
48c605c605 Another workaround for pcre jit. 2015-05-11 15:10:56 +01:00
Vsevolod Stakhov
93317a1d04 Another try to fixup the mess. 2015-05-11 14:53:48 +01:00
Vsevolod Stakhov
6fa3f56319 Another iteration of libraries detection rework. 2015-05-11 14:17:15 +01:00
Vsevolod Stakhov
9987019e75 Unify search paths. 2015-05-11 13:43:16 +01:00
Vsevolod Stakhov
af966d44f3 Relax glib requirements to 2.28. 2015-05-11 13:06:42 +01:00
Vsevolod Stakhov
65da8816b9 Add hints for finding paths. 2015-05-11 13:05:31 +01:00
Vsevolod Stakhov
4c7e7cb362 Some pcre distributions are brain damaged. 2015-05-06 12:27:35 +01:00
Vsevolod Stakhov
9aa7f9490a Fix stupid cmake syntax. 2015-04-30 16:18:16 +01:00
Vsevolod Stakhov
7f8ab548d3 Another round of linking issues fixup. 2015-04-28 17:01:00 +01:00
Vsevolod Stakhov
dffdfc8492 Fix misprint in library path. 2015-04-26 21:09:40 +01:00
Andrew Lewis
549402f683 Try fix RPATH 2015-04-24 22:21:39 +02:00
Vsevolod Stakhov
a7de8c10d8 Try to fix mess with rpath. 2015-04-24 17:08:04 +01:00
Vsevolod Stakhov
f33dfad974 Remove old siphash implementation. 2015-04-08 13:07:51 +01:00
Andrew Lewis
f616e29708 Fix publicsuffix install path 2015-04-06 23:24:08 +02:00
Vsevolod Stakhov
34690b4854 One more rename. 2015-04-06 18:18:05 +01:00
Vsevolod Stakhov
e35607288e Import aho-corasic by Mischa Sandberg. 2015-04-06 16:47:22 +01:00
Vsevolod Stakhov
ca78852de1 Use publicsuffix list for url search (too slow now). 2015-04-06 16:02:51 +01:00
Vsevolod Stakhov
f97231861e Use some more advanced heuristic to find packages. 2015-03-24 15:58:54 +00:00
Andrew Lewis
e8cfcb0367 Correct bad syntax 2015-03-21 19:23:26 +02:00
Andrew Lewis
2da679950a Set WITH_LUA=1 for luajit too 2015-03-21 13:46:05 +02:00
Andrew Lewis
bb92fec558 Rather use pkg-config to find luajit
Conflicts:
	CMakeLists.txt
2015-03-21 13:06:51 +02:00
Vsevolod Stakhov
6c25c54581 Merge pull request #230 from fatalbanana/master
Fix luajit/lua headers confusion
2015-03-19 12:42:06 +00:00
Andrew Lewis
5a419ac94f Fix luajit/lua headers confusion
Conflicts:
	CMakeLists.txt
2015-03-19 14:35:49 +02:00
Vsevolod Stakhov
8c7f8e2283 Merge pull request #229 from fatalbanana/master
Fix finding headers from luajit
2015-03-19 10:53:09 +00:00
Andrew Lewis
112eda459c Fix finding headers from luajit 2015-03-19 12:30:34 +02:00
Vsevolod Stakhov
cc544380dd Merge pull request #225 from fatalbanana/master
Try include rspamd.conf.local.override with high priority
2015-03-17 21:57:23 +00:00
Vsevolod Stakhov
63b38d572f Add specific workaround for debian. 2015-03-17 23:43:10 +02:00
Vsevolod Stakhov
ea03c989d5 Reiterate on systemd.
Conflicts:
	CMakeLists.txt
2015-03-17 21:34:07 +02:00
Andrej Zverev
d8f17b0618 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
2015-03-17 21:31:35 +02:00
Mikhail Gusarov
0b5d9e932a Fix installing conf/ files 2015-03-17 18:56:52 +02:00
Vsevolod Stakhov
77cb03664e Use __get_cpuid if available. 2015-03-14 19:56:22 +00:00
Vsevolod Stakhov
94f5ecf44d Cleanup shit. 2015-03-13 12:05:43 +00:00
Vsevolod Stakhov
0717444133 Add specific workaround for debian. 2015-03-13 12:03:28 +00:00
Vsevolod Stakhov
e7bafe926e Reiterate on systemd.
Conflicts:
	CMakeLists.txt
	conf/rspamd.systemd.conf
2015-03-13 12:03:18 +00:00
Vsevolod Stakhov
8447e942c2 Require glib 2.30 at least. 2015-03-12 14:18:38 +00:00
Vsevolod Stakhov
94ea1a337e Do not check for lua5.2 when luajit is enabled. 2015-03-11 10:26:58 +00:00
Vsevolod Stakhov
a95cb759f5 Check for JIT support in pcre. 2015-03-05 12:23:33 +00:00
Vsevolod Stakhov
17ffcdc70c Restore build id parsing. 2015-03-05 11:35:42 +00:00
Vsevolod Stakhov
71993413ec Fix linkage with luajit on osx. 2015-03-05 10:38:40 +00:00
Vsevolod Stakhov
5dabcdd94f Fix iconv detection. 2015-03-03 18:22:09 +00:00
Andrew Lewis
5f22ee118d Install fun.lua to correct location 2015-02-25 14:13:45 +02:00
Vsevolod Stakhov
e9c050ea60 Set robust flag for mutexes to avoid dead locks. 2015-02-24 17:08:26 +00:00
Vsevolod Stakhov
d0f501c230 Move cdb to contrib as well. 2015-02-21 18:35:54 +00:00
Vsevolod Stakhov
6e121a026f Move ucl and rdns to contrib. 2015-02-21 18:11:12 +00:00
Vsevolod Stakhov
1e0c0c6852 Explicitly unset variable when looking for lua. 2015-02-20 12:03:39 +00:00
Vsevolod Stakhov
e2946e9a9c Fix luajit detection. 2015-02-18 17:31:40 +00:00
Vsevolod Stakhov
4b49bdd927 Enable luajit by default. 2015-02-18 15:56:25 +00:00
Vsevolod Stakhov
9dad3bc528 Fix cmake message. 2015-02-18 15:56:15 +00:00
Vsevolod Stakhov
6854375771 Remove bundled hiredis. 2015-02-18 15:35:14 +00:00
Vsevolod Stakhov
195bfd320c Import lua-functional for plugins stuff. 2015-02-16 16:35:18 +00:00
Vsevolod Stakhov
2fcf5d83cf Remove tweetnacl for now. 2015-02-15 16:14:20 +00:00
Vsevolod Stakhov
384770006a Another try to fix build. 2015-02-14 00:49:34 +00:00
Vsevolod Stakhov
1b94a3560c Eliminate mess with linking. 2015-02-13 23:45:06 +00:00
Vsevolod Stakhov
58725e3ff0 Find iconv. 2015-02-09 10:52:23 +00:00
Vsevolod Stakhov
f4d4c9b648 Some more BSD fixes. 2015-02-09 10:20:03 +00:00
Vsevolod Stakhov
369799644b One more push to pthread_mutexattr_setpshared 2015-02-09 10:12:59 +00:00
Vsevolod Stakhov
896a33677a More precise detection of pthread_mutexattr_setpshared. 2015-02-09 10:04:37 +00:00
Alexey AL
bff11b8665 Add static build internal libs 2015-02-09 01:21:43 +03:00
Vsevolod Stakhov
82f9e6dff5 Add optimized versions of ChaCha20 by @floodyberry 2015-02-06 13:49:17 +00:00
Vsevolod Stakhov
60228b266b Start cryptobox library. 2015-02-06 11:37:55 +00:00
Vsevolod Stakhov
b5e9a22e49 Add explicit_memzero function. 2015-02-03 22:03:22 +00:00
Andrew Lewis
2fa2e9b3e7 Cosmetic changes 2015-02-03 14:53:18 +02:00
Vsevolod Stakhov
75865261eb Adopt tweetnacl for rspamd. 2015-01-28 15:56:49 +00:00
Vsevolod Stakhov
b5597411a2 Reorganize statfiles and classifiers into libstat. 2015-01-16 15:28:40 +00:00
Vsevolod Stakhov
ffd95d7c71 Update version to 0.9 WIP. 2015-01-16 14:06:31 +00:00
Andrew Lewis
3ad4de4158 Add toggle for disabling installation of systemd units on Linux 2015-01-15 13:43:48 +02:00
Vsevolod Stakhov
e48a8c5e6f Remove checks from debian build. 2014-12-20 17:03:30 +00:00
Vsevolod Stakhov
b26afb57c8 Start total rework of fuzzy_storage. 2014-12-19 14:35:31 +00:00
Vsevolod Stakhov
37cfe206be Add blake2 hash contrib code. 2014-12-18 20:58:17 +00:00
Vsevolod Stakhov
78322da18c Search for liblmdb. 2014-12-17 21:40:59 +00:00
Vsevolod Stakhov
e771cd9604 Add custom targets check and run-test. 2014-12-17 17:28:07 +00:00
Vsevolod Stakhov
4178270ca5 Add siphash contrib code. 2014-12-17 14:27:04 +00:00
Vsevolod Stakhov
8da9cf3c42 Add snowball stemmer to the build. 2014-12-17 11:58:42 +00:00
Vsevolod Stakhov
6a45a186ab Start work on rspamd 0.8 2014-12-09 17:21:15 +00:00
Vsevolod Stakhov
20c12e03f6 Update version to 0.7.6. 2014-11-23 22:31:26 +00:00
Vsevolod Stakhov
cbb4039324 Update version to 0.7.5. 2014-11-13 22:22:41 +00:00
Vsevolod Stakhov
3f1247e926 Update version to 0.7.4. 2014-11-08 18:38:11 +00:00
Vsevolod Stakhov
5567c33f05 Try to detect systems without shared mutexes. 2014-11-08 15:46:03 +00:00
Vsevolod Stakhov
f6dfb706de Update version to 0.7.3 2014-11-02 17:19:00 +00:00
Vsevolod Stakhov
2eed87e9b8 Use PTHREAD_PROCESS_SHARED mutexes if possible. 2014-11-01 22:11:15 +00:00
Vsevolod Stakhov
235a763157 Update to 0.7.2. 2014-10-15 17:18:46 +01:00
Vsevolod Stakhov
7a83d76dc1 Release 0.7.1.
* Fix typo in stat output.
* Fix issues with includes crossing with the system includes
* Restore testing framework
* Add radix trie test suite
* Implement new path-compressed radix trie.
    - The performance benefit over the old algorithm is about 1.5 times.
        - Memory usage is significantly lower as well.
    - Now radix trie can accept any IPv4/IPv6 values
* Various improvements to the memory pools code
* Fix writing reply to a client when no filters are defined
* Write base32 encoded fuzzy
* Fix 'soft reject' action
* Fix rspamd reload and modules reconfiguration
* Fix subject rewriting for the default subject
* Fix states for processing task and pre-filters
* Fix issues with connection closing
* Fix crashes in rdns
* Fix ratelimit pre-filter
* Update exim patch.
        - Update to the recent exim version
        - Strip extra leading src/ from the patch
        - Remove sendfile since it was broken
        - Fix rspamd spam report for exim
* Improve documentation

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
2014-09-30 12:53:05 +01:00
Vsevolod Stakhov
8cf4740696 Resatore check for sched_yield. 2014-09-18 13:08:37 +01:00
Vsevolod Stakhov
ad29a3dd73 Include our source directories before any tests. 2014-09-12 10:37:18 +01:00
Vsevolod Stakhov
e48534950a Add 'dist' target. 2014-09-05 11:21:42 +01:00
Vsevolod Stakhov
a509f5c41a Prepare for release. 2014-09-01 11:59:51 +01:00
Vsevolod Stakhov
e4358b2b8e Pre-compile config.h 2014-08-29 10:38:50 +01:00
Sebastian Wiedenroth
e49963d163 Help CMake find Lua on pkgsrc systems 2014-05-14 18:18:18 +02:00
Vsevolod Stakhov
e713036bd3 Add WWWDIR macro to rspamd configuration. 2014-04-24 18:15:33 +01:00
Vsevolod Stakhov
61555065f3 Rework project structure, remove trash files. 2014-04-21 16:25:51 +01:00
Vsevolod Stakhov
e4a490dee6 Do not link to libintl explicitly on BSD. 2014-04-11 15:13:55 -07:00
Vsevolod Stakhov
a9fba6f528 Move some rarely used includes from config.h 2014-04-10 15:48:08 -07:00
Vsevolod Stakhov
a17cfff992 Use libucl as git submodule. 2014-04-10 15:21:59 -07:00
Vsevolod Stakhov
3d3ca37ed6 In ubuntu hiredis is libhiredis. 2014-04-03 12:05:15 +01:00
Mikhail Gusarov
18c0d55ea7 Add systemd unit 2014-03-29 10:36:57 +01:00
Mikhail Gusarov
ae1829b48c Fix name of pkg-config snippet for hiredis 2014-02-24 13:16:41 +00:00
Vsevolod Stakhov
5b78ecce46 Integrate rspamd with librdns. 2014-02-19 17:29:23 +00:00
Vsevolod Stakhov
c73632361a Add rdns as a submodule. 2014-02-19 13:50:31 +00:00
Vsevolod Stakhov
29962c678a Move xxhash to contrib. 2014-02-18 18:14:53 +00:00
Vsevolod Stakhov
667ffddf01 Remove judy and use glib hash tables.
There is no significant advantage to use Judy arrays over glib
HashTables to store hashes in fuzzy storage. Therefore, drop support of
Judy completely. Also rename `use_judy` parameter to `strict_hash`
indicating that hashes are matched strictly (not a fuzzy match but a hash
lookup).
2014-02-18 17:57:59 +00:00
Vsevolod Stakhov
ff62d93b0e Use libottery for secure random numbers.
Libottery itself is hosted here:
https://github.com/nmathewson/libottery

This import is a rough adoptation of libottery to use it for secure
random numbers in rspamd when needed (and in DNS resolver specifically).
This import makes the internal chacha20 code useless, hence it is
removed now.
2014-02-04 16:37:37 +00:00
Vsevolod Stakhov
a07a5da0cf Cleanup. 2014-01-29 17:35:59 +00:00
Vsevolod Stakhov
9bb4dccead Rework resolver library. 2014-01-27 16:12:27 +00:00
Vsevolod Stakhov
44b9ea9f74 Remove legacy client and rework build system.
--HG--
rename : lib/CMakeLists.txt => src/CMakeLists.txt
2014-01-19 16:11:34 +00:00
Vsevolod Stakhov
fd31d7375b Break, break, break. 2014-01-12 18:16:34 +00:00
Vsevolod Stakhov
7c4b9f811f Start new HTTP based reply handler. 2014-01-12 18:13:33 +00:00
Vsevolod Stakhov
45de589561 Stop for 0.6.7. 2014-01-10 17:15:26 +00:00
Vsevolod Stakhov
8e3f82730a 0.7 era start. 2014-01-09 15:52:27 +00:00
Vsevolod Stakhov
2883047899 Fix simultaneous bind to ipv6 and ipv6 sockets. 2014-01-09 15:49:29 +00:00
Vsevolod Stakhov
4e4ae88f0e Implement http server using http_parser. 2014-01-08 17:32:24 +00:00
Bradley Giesbrecht
6e08ff77f2 rspamd:
- Fix building shared on OS X.
2013-12-26 13:33:10 -08:00
Vsevolod Stakhov
32a9833bd7 Fix linking libraries. 2013-12-26 15:38:17 +00:00
Vsevolod Stakhov
e15ac66903 Rework build system. 2013-12-26 15:28:02 +00:00
Vsevolod Stakhov
b3a62f0ac6 Slowly move to 0.6.6 2013-12-24 18:29:15 +00:00