Commit Graph

654 Commits

Author SHA1 Message Date
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
Vsevolod Stakhov
206c3b4c8e Remove dead variable. 2013-12-21 23:03:28 +00:00
Vsevolod Stakhov
a48634eb03 Update to 0.6.5. 2013-12-20 15:57:07 +00:00
Vsevolod Stakhov
803fde1b13 Do not link unneeded libraries if possible. 2013-12-19 18:12:05 +00:00
Vsevolod Stakhov
fcfb1c550f Update version to 0.6.4. 2013-12-18 15:15:43 +00:00
Vsevolod Stakhov
d6e68afac2 Update version. 2013-12-09 13:56:30 +00:00
Vsevolod Stakhov
05599df1c3 Fix debian build files. 2013-12-04 17:13:38 +00:00
Vsevolod Stakhov
703fb40d6e Rework fuzzy check module.
- Now all checks are organized to rules.
- Allow to specify read_only rules to avoid problems on learning.
- Use better normalizer for fuzzy module and it now returns values
  from 0 to 1.0 (like bayes does).
- Update configuration accordingly.
- Drop legacy configuration support.
- Detect tanh as well and provide some reasonable (linear) fallback.
2013-12-04 13:41:26 +00:00
Vsevolod Stakhov
0e196f75f2 Workaround for FreeBSD ports. 2013-12-02 14:42:36 +00:00
Vsevolod Stakhov
4d58641eb7 Do not overwrite config files. 2013-12-02 14:19:25 +00:00
Vsevolod Stakhov
7e607ce3d9 Update version to 0.6.1. 2013-12-02 12:27:06 +00:00
Vsevolod Stakhov
3cc51971db Install default configs. 2013-11-25 13:45:38 +00:00
Vsevolod Stakhov
d963f874aa Set rpath correctly. 2013-11-21 14:55:00 +00:00
Vsevolod Stakhov
c370177c68 Check for libutil more strictly. 2013-11-20 16:14:20 +00:00
Vsevolod Stakhov
4abb85d399 Rework build and install paths. 2013-11-19 16:17:13 +00:00
Vsevolod Stakhov
8dc300fc2c Fix work with lua 5.2 eventually. 2013-11-05 22:38:03 +00:00
Vsevolod Stakhov
b7a0873dac Replace RCL to UCL from libucl to avoid duplicity in the code. 2013-10-22 17:04:20 +01:00
Vsevolod Stakhov
4c7e732db7 Improve lua detection. 2013-09-24 22:19:09 +01:00
Vsevolod Stakhov
93de67cb66 Revert PIC change, as it is required for compiling. 2013-09-24 13:55:47 +01:00
Vsevolod Stakhov
37336d8d4e Improve compiler flags handling. 2013-09-24 13:40:57 +01:00
Vsevolod Stakhov
fc9211cf8d Add ability to sign configs using rspamd. 2013-08-22 14:57:03 +01:00
Vsevolod Stakhov
48ca1ed786 Link libcurl/fetch to rcl directly. 2013-08-19 16:25:27 +01:00
Vsevolod Stakhov
cade3789f8 Add detecting of libfetch/libcurl for rcl. 2013-08-19 00:09:50 +01:00
Vsevolod Stakhov
98c33370d1 Honor CMAKE_INSTALL_PREFIX. 2013-08-08 15:18:01 +01:00
Vsevolod Stakhov
c6949b0fd2 Another fix for id broken logic. 2013-08-08 15:08:04 +01:00
Vsevolod Stakhov
27a17847f9 Remove git id support as it is bad actually. 2013-08-08 14:50:10 +01:00
Vsevolod Stakhov
a9cb85bea3 Add skeleton files for RCL library. 2013-08-04 17:02:33 +01:00
Vsevolod Stakhov
617bfb5da5 The preliminary API of rspamd configuration language.
Include UTHash for faster and more convenient hash functions than
g_hash_table is. Implement the basic API for RCL parser.
2013-08-04 00:28:28 +01:00
Vsevolod Stakhov
8abd76b18f Allow listening on multiply addresses.
Now rspamd can listen on multiply ipv4/ipv6 addresses.
Removed legacy workers (lmtp, kvstorage) as they are never used
in production.
Try to unify workers initialization.
2013-07-20 18:42:29 +01:00
Vsevolod Stakhov
62238026d4 Forgotten in the previous commit. 2013-06-20 15:32:54 +01:00
Vsevolod Stakhov
a2b3adbcd3 Add a hack to fix libcrypto dependency for Solaris. 2013-06-20 15:15:57 +01:00
Vsevolod Stakhov
cc379455b9 More fixes for Solaris. 2013-06-20 12:47:11 +01:00
Vsevolod Stakhov
9a357fb282 Fix portability on Solaris. 2013-06-20 12:21:38 +01:00
Vsevolod Stakhov
c3fa424487 The first step to 0.6. 2013-06-12 15:41:56 +01:00
Vsevolod Stakhov
c6bc0ad68e Detect exp2l as well. Update to 0.5.6. 2013-06-10 13:20:45 +01:00
Vsevolod Stakhov
48197c2ea1 Test for expl function presence. 2013-06-09 15:47:34 +01:00
Vsevolod Stakhov
7cc8754ad9 Adopt to lua 5.2. 2013-06-08 16:07:25 +01:00
Vsevolod Stakhov
dbd4da5413 Allow explicit turning off of options.
Now there is a way to specify cmake to skip linking with undesired
libraries.

Fix rpm spec to include libevent and optional Judy.
2013-06-07 15:37:24 +01:00
Vsevolod Stakhov
31de590fa4 Check for getaddrinfo presence on a build system. 2013-06-02 23:57:19 +01:00
Vsevolod Stakhov
685d079dae Remove useless file from installation. 2013-05-26 20:26:26 +01:00
Vsevolod Stakhov
08466d2908 Mark as 0.5.5. 2013-05-23 20:43:25 +01:00
Vsevolod Stakhov
1650f051c1 Fix CentOS 5 build. 2013-03-27 11:53:05 +00:00
Vsevolod Stakhov
9fb28304cd Final update for 0.5.4. 2013-02-02 23:27:55 +04:00
Vsevolod Stakhov
393a7c39ec Add webui handler for rspamd (skeleton).
Fix url detector.
Add group option for modules options.
Some fixes in controller and rrd code.
2013-01-05 20:29:26 +04:00
Vsevolod Stakhov
9289af21db Fix test build and shlibs depends. 2012-12-15 14:41:15 +04:00
Vsevolod Stakhov
6787741087 Update version to 0.5.3. 2012-11-21 16:53:39 +04:00
Vsevolod Stakhov
7fd1411a1f Update to 0.5.2. 2012-08-23 18:10:26 +04:00
Vsevolod Stakhov
a8f8278902 Check for gthread as well while checking for glib. 2012-08-07 15:59:20 +04:00
Vsevolod Stakhov
a052132551 More fixed for debian build. 2012-08-03 17:04:03 +04:00
Vsevolod Stakhov
7fe1dd2bc3 Set version to 0.5.1 due to massive lua changes. 2012-07-26 21:51:39 +04:00
Vsevolod Stakhov
e1a8ed5013 * Add lua worker type and lua worker bindings.
* Add lua utility library for basic utils.
* Fixes lua_buffer code.
Fix lua loading error.
Added some other lua utility functions.
2012-07-26 21:50:13 +04:00
Vsevolod Stakhov
2e615083e4 Fix build on FreeBSD 9.1 and Current. Thanks to Anton Yuzjaninov for testing. 2012-07-26 16:43:36 +04:00
Vsevolod Stakhov
4c1013a28f Use gmime-2.6 if gmime-2.4 is not found. 2012-07-03 19:45:03 +04:00
Vsevolod Stakhov
56b591bcb2 * Allow to use other composites inside a composite's expression
Fix for cmake 2.6.
2012-06-14 22:20:50 +04:00
Vsevolod Stakhov
b1cb2de69a Allow NO_SHARED build to use static archives for internal libraries.
Check for -fPIC/-fpic support.
2012-06-07 19:48:27 +04:00
Vsevolod Stakhov
73ded9877f Avoid using global 'counters' hash, include it in struct rspamd_main.
Move worker related utils to separate file and include it in rspamd-mime library.
Add some cross-dependencies.
2012-06-07 19:06:09 +04:00
Vsevolod Stakhov
8a6fa6ab3b Strict prototypes. 2012-06-05 20:52:41 +04:00
Vsevolod Stakhov
20c329815f Fix static build.
As there are too many changes from 0.4.7 mark this version as 0.5.0.
2012-06-05 19:22:57 +04:00
Vsevolod Stakhov
35cb2b6e2f * Split rspamd build to several independent libraries to reduce overhead. 2012-06-05 18:21:49 +04:00
Vsevolod Stakhov
8d8638b1a2 Make 'simple' dkim canonization working. 2012-05-29 20:39:14 +04:00
Vsevolod Stakhov
eccece67e6 * Add signing and simple canonization support (not finished yet, work in progress). 2012-05-28 21:31:56 +04:00
Vsevolod Stakhov
da6966d272 Check received for not more than 5 recipients.
Install lua configuration by default (as user's one should be in rspamd.local.lua).
2012-05-28 17:33:54 +04:00
Vsevolod Stakhov
00c7c62977 * Avoid DoS while sending a message with a lot of recipients in 'To' header.
Fix possible deadlock in lua_redis.
Version is now 0.4.8 as there are enough changes.
2012-05-28 17:26:38 +04:00
Vsevolod Stakhov
4d4668a0d4 * Fix spf plugin that was broken in 0.4.7
* Add partial ipv6 support for some rspamd modules.
2012-04-20 20:02:28 +04:00
Vsevolod Stakhov
e389ab727d Detect amd64. 2012-03-27 18:58:04 +04:00
Vsevolod Stakhov
d450657c90 Use 64 bit offset while compiled in 32 bit mode. 2012-03-27 18:46:21 +04:00