Commit Graph

444 Commits

Author SHA1 Message Date
Vsevolod Stakhov
be22540eeb [Feature] Implement rdns-curve plugin based on rspamd cryptobox 2017-06-30 08:52:05 +01:00
Vsevolod Stakhov
9f95da2df7 Merge pull request #1711 from moisseev/spelling
[Refactor] Correct misspellings in program code
2017-06-29 18:47:12 +01:00
Alexander Moisseev
bbc2a2a18a [Oops] Restore a proper name
Found by @dimejo
2017-06-28 16:33:28 +03:00
Alexander Moisseev
0a5db37306 [Refactor] Fix misspelled variable name in cdb_make.c 2017-06-28 10:53:11 +03:00
Alexander Moisseev
0f44e6037d [Refactor] Correct misspelled function name in Rspamd agent for Exim 2017-06-28 10:49:56 +03:00
Alexander Moisseev
bb5a9f8e45 [Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
2017-06-27 10:44:19 +03:00
Andrew Lewis
ba02569100 [Minor] Import updates from public suffix list 2017-06-14 15:09:36 +02:00
Vsevolod Stakhov
34a8c93ce3 [Fix] Fix crashes when socket write errors occur 2017-06-14 10:26:55 +01:00
Vsevolod Stakhov
639c67dbd8 [Fix] Fix parsing IPv6 nameservers in resolv.conf 2017-06-14 09:30:08 +01:00
Vsevolod Stakhov
9ee06af6e5 [Fix] Do not crash when resolver failed to initialize 2017-06-13 21:12:02 +01:00
Andrew Lewis
960964f5d2 [Minor] Import changes from public suffix list 2017-06-12 13:05:46 +02:00
Vsevolod Stakhov
13659ea7ca [Minor] Fix another hiredis issue with uninitialized access 2017-06-12 10:44:51 +01:00
Vsevolod Stakhov
c1184c7823 [Fix] Fix objects merging in UCL 2017-06-02 14:42:10 +01:00
Vsevolod Stakhov
871e834af7 [Minor] Forgot to add a file 2017-05-15 18:46:24 +01:00
Vsevolod Stakhov
e3f66510f2 [Minor] Update bundled zstd to version 1.3 2017-05-15 18:37:28 +01:00
Vsevolod Stakhov
cdac77e4c3 [Feature] Allow to use custom callback when parsing resolv.conf 2017-05-15 15:21:08 +01:00
Andrew Lewis
74a3a2ede2 [Feature] UCL: register parser variables from Lua 2017-04-18 16:32:42 +02:00
Andrew Lewis
b84aa7ae33 [Minor] Import changes from public suffix list 2017-04-18 09:52:14 +02:00
Vsevolod Stakhov
e70b7fcd7f [Minor] Remove unportable constructions 2017-04-11 10:31:08 +01:00
Andrew Lewis
fce8a98933 [Minor] Import public suffix list updates 2017-04-07 16:10:28 +02:00
Vsevolod Stakhov
88711bead1 [Minor] More inline fixes 2017-04-07 15:05:07 +01:00
Vsevolod Stakhov
042380a524 [Feature] Add escaped version of lua_ucl import 2017-04-07 11:15:26 +01:00
Vsevolod Stakhov
c38454330c [Minor] Fix aarch64 build 2017-03-19 18:36:35 +00:00
Vsevolod Stakhov
d3c57dbed5 [Minor] Update lua-fun 2017-03-17 11:18:14 +00:00
Vsevolod Stakhov
8164a21476 [Fix] Update issues in ac-trie 2017-03-13 11:37:14 +00:00
Vsevolod Stakhov
7c2e2dc6d6 [Fix] Fix freeing of arrays iterators
Issue: #1497
2017-03-08 15:55:26 +00:00
Andrew Lewis
57f5ed2bb6 [Minor] Update public suffix list 2017-03-07 15:20:24 +02:00
Andrew Lewis
265e732cbc [Minor] Update public suffix list 2017-02-28 15:53:59 +02:00
Vsevolod Stakhov
016d429d8d [Minor] Do not set file vars by default in lua ucl 2017-02-19 15:59:09 +00:00
Vsevolod Stakhov
456c2f66f3 [Minor] Add ability to skip setting of file vars in UCL 2017-02-19 15:54:25 +00:00
Vsevolod Stakhov
60a221d3e4 [Fix] Strictly filter bad characters when emittin json 2017-02-08 13:46:57 +00:00
Vsevolod Stakhov
8b7e04c87a [Feature] Improve url redirector module
- Use HEAD instead of GET
- Limit body length
- Check for cached results before testing them on HTTP
- Really limit number of nested queries
2017-02-06 14:32:19 +00:00
Vsevolod Stakhov
3162eafdfe Merge pull request #1388 from fatalbanana/b3
rspamadm grep
2017-02-01 16:50:29 +00:00
Andrew Lewis
29802ac374 [Minor] Recreate grep tool as rspamadm grep 2017-02-01 17:31:08 +02:00
Vsevolod Stakhov
41dc9d8aff [Minor] Improve portability 2017-02-01 13:07:43 +00:00
Andrew Lewis
5ad02a7ad9 [Minor] Fixes for rspamdgrep 2017-01-31 20:57:45 +02:00
Andrew Lewis
a897c86cfa [Feature] Implement rspamdgrep tool 2017-01-31 15:46:49 +02:00
Vsevolod Stakhov
ccdc07b5e3 [Minor] One more definition missed on Linux 2017-01-19 10:57:44 +00:00
Vsevolod Stakhov
928fc904eb [Minor] Add missing macro 2017-01-19 10:51:57 +00:00
Vsevolod Stakhov
b8588cdab3 [Minor] Fix build with gcc 4.2
Issue: #1351
Reported by: @brad0
2017-01-19 10:42:02 +00:00
Vsevolod Stakhov
6eec897d8c [Fix] More fixes for iterators cleanup 2017-01-17 19:19:34 +00:00
Vsevolod Stakhov
e5da64bb8b [Fix] Fix memory leak in safe ucl iterators 2017-01-17 19:03:46 +00:00
Andrew Lewis
6d0163d68c [Minor] Update public suffix list 2017-01-17 13:13:03 +02:00
Vsevolod Stakhov
85e2e9a16e [Minor] Add auto type to the parser method 2017-01-13 09:25:41 +00:00
Vsevolod Stakhov
d9f7a74a1c [Feature] Allow custom parse types in lua ucl 2017-01-13 09:24:19 +00:00
Vsevolod Stakhov
cb846eabcd [Feature] Add ucl_object_iterate_full function 2017-01-10 12:35:55 +00:00
Vsevolod Stakhov
16c8c89c35 [Fix] Fix name of var
MFH: true
2017-01-02 12:39:29 +00:00
Vsevolod Stakhov
f47ab50fd5 [Fix] Plug memory leak
MFH: true
2017-01-01 17:58:33 +00:00
Vsevolod Stakhov
6eecb5ce7c [Minor] Add enable full debug option 2016-12-25 16:23:02 +00:00
Vsevolod Stakhov
9eca6f6a7b [Fix] Use rspamd hashes in embedded ucl 2016-12-08 13:49:52 +00:00
Vsevolod Stakhov
84793e0fe5 [Feature] Use t1ha instead of metrohash and xxhash32 2016-12-08 13:49:52 +00:00
Andreas Schneider
32a6a19cd2 acism: Add missing glib dependency
This library uses g_ascii_tolower()
2016-11-28 13:15:12 +01:00
Vsevolod Stakhov
2a1dc20915 [Minor] Fix build with clang and BMI 2016-11-27 15:24:01 +00:00
Vsevolod Stakhov
92c6f988cf [Fix] Fix build with custom glib/gmime 2016-11-26 12:09:12 +00:00
Vsevolod Stakhov
8297507d93 [Minor] Update tld file 2016-11-23 13:07:29 +00:00
Vsevolod Stakhov
e19be6e738 [Fix] Another fix for brain-damaged hiredis 2016-11-20 17:52:55 +00:00
Vsevolod Stakhov
6fd9dcb0d8 [Fix] Fix handling of HTTP HEAD methods 2016-10-18 15:17:42 +01:00
Vsevolod Stakhov
f59abfc9be [Fix] Fix HTTP methods other than GET and POST 2016-10-18 13:47:52 +01:00
Vsevolod Stakhov
03165efaa6 [Minor] Try to fix some memory inconsistencies 2016-09-30 12:12:17 +01:00
Andrew Lewis
3c56454896 [Minor] Don't hide errors in librdns 2016-09-27 15:28:33 +02:00
Vsevolod Stakhov
502559ceab [Fix] Do not replan retransmits if merely one server is defined 2016-09-26 17:15:51 +01:00
Vsevolod Stakhov
93afc2d45f [Fix] Another fix for rdns write errors
Issue: #971
2016-09-22 09:27:45 +01:00
Vsevolod Stakhov
f5c26fc396 [Fix] Another try to fix RDNS events processing logic
Issue: #971
MFH: true
2016-09-21 12:38:05 +01:00
Vsevolod Stakhov
b0ecc727aa [Fix] Fix DNS write errors processing
Issue: #971
MFH: true
2016-09-20 22:57:22 +01:00
Vsevolod Stakhov
9866dd4260 [Feature] Allow to use dictionaries for compression 2016-09-09 13:51:26 +01:00
Vsevolod Stakhov
bd10330aa7 [Feature] Add zstd compression library 2016-09-08 17:00:14 +01:00
Vsevolod Stakhov
b05b9bf904 [Fix] Fix hiredis stupidity 2016-09-08 15:25:12 +01:00
Vsevolod Stakhov
d0522a1504 [Minor] Fix parsing of 'nxdomain' rcode 2016-08-27 14:35:15 +01:00
Vsevolod Stakhov
1eb80a4b72 [Minor] Add another helper for rdns 2016-08-26 15:58:51 +01:00
Vsevolod Stakhov
71fee73561 [Minor] Add function to parse string to rdns request type 2016-08-26 14:37:21 +01:00
Vsevolod Stakhov
4435b4ec2d [Fix] Make dnssec configurable option disabled by default for now 2016-08-18 16:13:24 +01:00
Vsevolod Stakhov
bdf9d36628 [Minor] Make function to punycode DNS values publicly available 2016-08-18 15:51:14 +01:00
Vsevolod Stakhov
795fe5c42f [Feature] Add support of stub DNSSEC resolver to rdns 2016-08-18 15:34:14 +01:00
Vsevolod Stakhov
082bd24c8f Merge pull request #796 from bryongloden/patch-2
Update local_scan.c
2016-08-03 10:51:05 +01:00
Bryon Gloden, CISSP®
8086172ad1 Update local_scan.c
[../rspamd-master/contrib/exim/local_scan.c:630]: (error) Uninitialized variable: rej

It's always good to initialize integer variables, at least to 0, because if you try to retrieve its value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior.

Found by https://github.com/bryongloden/cppcheck
2016-08-02 17:49:49 -04:00
Bryon Gloden, CISSP®
a7abc83488 Update acism_create.c
Passing one pointer into realloc() and assigning the result directly into that same pointer variable can cause a memory leak if the reallocation fails, because the original allocation will still exist. The correct way to do this is to use a temporary pointer variable.

Credit: http://stackoverflow.com/a/11548901

Found by https://github.com/bryongloden/cppcheck
2016-08-02 17:19:19 -04:00
Andrew Lewis
5d0467f495 [Minor] Sync public suffix list with upstream 2016-07-25 10:53:43 +01:00
Vsevolod Stakhov
39fec823f1 [Fix] Fix potential NULL dereference 2016-07-05 12:37:17 +01:00
Vsevolod Stakhov
363cbd0b04 [Feature] Update mumhash 2016-06-10 14:49:13 +01:00
Vsevolod Stakhov
565c37fca0 [Fix] Link lpeg to rspamd lua library 2016-05-28 18:42:45 +01:00
Andrew Lewis
f34a5a98ae [Fix] Fix Exim shutdown patch 2016-05-15 18:29:58 +02:00
Vsevolod Stakhov
7957b1cfb9 [Fix] Unbreak build on gcc < 4.9 2016-05-15 14:04:15 +01:00
Vsevolod Stakhov
17bdc86430 [Fix] Update mumhash implementation 2016-05-15 13:56:31 +01:00
Vsevolod Stakhov
b00d4cd3cc [Feature] Use metrohash as well 2016-05-12 12:45:17 +01:00
Vsevolod Stakhov
931615a2e0 [Feature] Further micro-optimizations for hashing and shingles 2016-05-12 09:48:29 +01:00
Vsevolod Stakhov
bcb5eaadd0 [Fix] Fix compilation issue 2016-05-11 15:14:49 +01:00
Vsevolod Stakhov
63eb2e6020 [Feature] Add and use mumhash for non-crypto hashing 2016-05-11 14:59:29 +01:00
Vsevolod Stakhov
917e1ca945 [Rework] Import linenoise for line editing 2016-05-08 20:22:38 +01:00
Vsevolod Stakhov
5654f98427 [Minor] Add workaround for pre-historic compilers
Issue: #605
2016-04-26 09:33:25 +01:00
Vsevolod Stakhov
f789d85b3a [Fix] Backport fix for empty files inclusion from libucl
Issue: #596
Reported by: @assistcontrol
2016-04-18 18:30:08 +01:00
Andrew Lewis
782603601b Update Exim patches 2016-04-09 14:39:13 +02:00
Vsevolod Stakhov
cba661ad9b [Feature] Add punycoded versions for IDN domains
Issue: #554
Reported by: @moisseev
2016-03-17 11:06:39 +00:00
Vsevolod Stakhov
844e34179a [Feature] Rework librdns to interact with external upstreams 2016-03-15 12:55:03 +00:00
Vsevolod Stakhov
71d33dd221 [Minor] Zero new nodes in btrie 2016-03-09 15:55:35 +00:00
Vsevolod Stakhov
f775891354 Update from the recent libucl 2016-02-22 17:16:14 +00:00
Vsevolod Stakhov
ad03eeb99a Backport fix from libucl 2016-02-20 22:22:29 +00:00
Vsevolod Stakhov
ad53cbd75f Backport fixes from libucl 2016-02-18 11:42:50 +00:00
Vsevolod Stakhov
3256178a24 Fix couple of issues found by gcc-6 2016-02-16 13:44:35 +00:00
Vsevolod Stakhov
d2612bbd21 Port fix from libucl 2016-02-16 13:22:17 +00:00
Vsevolod Stakhov
6bc5286496 Refactor UCL API 2016-02-16 09:59:52 +00:00
Vsevolod Stakhov
d212dc2bf8 Backport fixes from libucl 2016-02-14 13:34:42 +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
ff660e595f Update libucl 2016-02-08 18:26:58 +00:00
Vsevolod Stakhov
d685ecb20e Fix warnings 2016-02-01 11:34:42 +00:00
Vsevolod Stakhov
a85edb5fd8 Oops, fix typename for rnds 2016-01-20 16:25:43 +00:00
Vsevolod Stakhov
9ac81649d3 Another fix to punycode 2016-01-20 16:24:22 +00:00
Vsevolod Stakhov
ef66ecf224 Fix memory corruption on punycode 2016-01-20 16:15:19 +00:00
Vsevolod Stakhov
538335a717 Fix some compiler warnings 2016-01-18 18:11:32 +00:00
Vsevolod Stakhov
bc97fb8dd4 Fix order 2016-01-15 16:15:55 +00:00
Vsevolod Stakhov
248d1ceb58 Add workaround for bug in valgrind and rdrand 2016-01-15 16:11:53 +00:00
Vsevolod Stakhov
27e45bef83 Fix warnings. 2016-01-15 15:54:43 +00:00
Vsevolod Stakhov
91516a1fd6 Fix issues with freeing of bad rdns requests 2016-01-14 14:15:01 +00:00
Vsevolod Stakhov
7c74c6281b Update from publicsuffix 2016-01-11 16:54:10 +00:00
Vsevolod Stakhov
83034f4027 Fix GNU version of strerror_r (hiredis is broken) 2016-01-11 16:21:43 +00:00
Vsevolod Stakhov
d543bb540d Try to fix brain damage of cmake 2016-01-11 16:08:30 +00:00
Vsevolod Stakhov
4fc834d623 Embed hiredis as it is broken literally everywhere 2016-01-11 16:04:50 +00:00
Vsevolod Stakhov
9632becffb Add another bunch of missed files. 2015-12-31 17:54:04 +00:00
Vsevolod Stakhov
246a74cab8 Another missing file. 2015-12-31 17:48:16 +00:00
Vsevolod Stakhov
9f23c1e7a3 Fix snowball distribution. 2015-12-31 17:43:49 +00:00
Vsevolod Stakhov
2375dba898 Remove bloody submodules. 2015-12-31 17:38:02 +00:00
Vsevolod Stakhov
1543c98d38 Merge pull request #444 from lzmths/master
Refactoring conditional directives that break parts of statements.
2015-12-31 17:06:09 +00:00
Vsevolod Stakhov
2275d0b9eb Sync with libucl 2015-12-27 15:12:28 +00:00
lzmths
df353b050f Refactoring conditional directives that break parts of statements. 2015-12-08 20:20:52 -03:00
Vsevolod Stakhov
ee98688103 Add LPeg support to rspamd 2015-12-07 13:52:41 +00:00
Vsevolod Stakhov
13d9c7e421 Remove previous blake2 implementation. 2015-10-25 22:45:51 +00:00
Vsevolod Stakhov
c0646f71d6 Add special hacks to allow static build. 2015-10-21 12:57:12 +01:00
Vsevolod Stakhov
d181d0c46e Merge from libucl. 2015-10-19 18:53:39 +01:00
Vsevolod Stakhov
572f8723c8 Use cryptobox chacha for libottery. 2015-10-15 12:38:41 +01:00
Vsevolod Stakhov
b8bc9298b1 More fixes to libottery. 2015-10-15 11:46:21 +01:00
Vsevolod Stakhov
33a845c0ed Another try to fix macro. 2015-10-15 11:44:59 +01:00
Vsevolod Stakhov
dd72c18a08 Another GCCism. 2015-10-15 11:43:57 +01:00
Vsevolod Stakhov
6ceac089b6 Fix some portability issues. 2015-10-15 11:28:41 +01:00
Vsevolod Stakhov
bb4a6a9ae9 Sync with libucl. 2015-10-13 17:05:19 +01:00
Vsevolod Stakhov
eb737947eb Reorganize includes to reduce namespace pollution. 2015-10-08 13:15:15 +01:00
Vsevolod Stakhov
a22ea751b6 Update libucl and use UCL_RANDOM_FUNCTION. 2015-08-18 13:17:16 +01:00
Vsevolod Stakhov
df59914345 Forgot to add file in ucl import. 2015-07-28 17:03:56 +01:00
Vsevolod Stakhov
c9d280cb3d Import the recent libucl. 2015-07-28 16:57:15 +01:00
Vsevolod Stakhov
94a86fe0a1 Avoid large enums. 2015-07-25 20:58:57 +01:00
Vsevolod Stakhov
c7fb13cdc3 Remove bats tests. 2015-07-09 14:40:56 +01:00
Vsevolod Stakhov
f20d566909 Start functional tests. 2015-07-02 17:05:17 +01:00
Vsevolod Stakhov
b8e9fedf23 Merge pull request #306 from fatalbanana/master
Update public suffix list; add RWL_SPAMHAUS_WL as whitelist_exception
2015-06-25 15:57:37 +01:00
Vsevolod Stakhov
5fcec0fcdb Avoid extra linking. 2015-06-25 15:56:02 +01:00
Andrew Lewis
b64a727563 Import updated public suffix list 2015-06-25 16:53:16 +02:00
Vsevolod Stakhov
0f38bb097e Do not free xxh32_state to work with static states. 2015-05-17 16:10:47 +01:00
Vsevolod Stakhov
253aee289e Backport fixes from libucl. 2015-05-17 16:10:29 +01:00
Vsevolod Stakhov
7f8ab548d3 Another round of linking issues fixup. 2015-04-28 17:01:00 +01:00
Vsevolod Stakhov
4cd7b69799 Import fixes from libucl. 2015-04-28 14:39:25 +01:00
Vsevolod Stakhov
fe57024591 Fix libucl priority include bug. 2015-04-27 17:09:19 +01:00
Vsevolod Stakhov
fc95ba4863 Fix some contrib libraries. 2015-04-27 10:31:25 +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
8f6bde8c1e Install ac-trie to the private library dir. 2015-04-24 16:44:06 +01:00
Vsevolod Stakhov
504dfa8d1d Fix unref for implicit arrays. 2015-04-23 18:28:34 +01:00
Vsevolod Stakhov
9973cb75c8 Backport array removal fix. 2015-04-18 16:10:47 +01:00
Vsevolod Stakhov
b48bec57d5 Fix ucl from lua arrays. 2015-04-18 13:51:53 +01:00
Vsevolod Stakhov
43ed41fdd2 Fix xxhash invocation. 2015-04-14 13:43:10 +01:00
Vsevolod Stakhov
05d4142379 Fix resolv.conf parsing with comments. 2015-04-08 14:03:08 +01:00
Vsevolod Stakhov
f33dfad974 Remove old siphash implementation. 2015-04-08 13:07:51 +01:00
Vsevolod Stakhov
75a8e1fa37 Fix pushing array to lua from UCL. 2015-04-07 18:19:20 +01:00
Vsevolod Stakhov
efaf25c90f Allow caseless trie search. 2015-04-07 15:04:28 +01:00
Vsevolod Stakhov
8eca74d277 Corasic -> Corasick. 2015-04-06 18:04:58 +01:00
Vsevolod Stakhov
d6724d926d Use new ac_trie for url extraction. 2015-04-06 18:03:49 +01:00
Vsevolod Stakhov
680a2b66cb Slightly adopt actrie for rspamd. 2015-04-06 17:14:21 +01:00
Vsevolod Stakhov
e35607288e Import aho-corasic by Mischa Sandberg. 2015-04-06 16:47:22 +01:00
Vsevolod Stakhov
7c2a321e83 Fix siphash static initializer. 2015-04-06 16:09:18 +01:00
Vsevolod Stakhov
9d8c61c149 Use rspamd specific include. 2015-04-06 16:06:23 +01:00
Vsevolod Stakhov
29cbfb6337 Readd siphash. 2015-04-06 16:05:34 +01:00
Vsevolod Stakhov
69a0d19b22 Remove siphash as submodule. 2015-04-06 16:04:43 +01:00
Vsevolod Stakhov
cf77f3392c Add public suffixes to rspamd. 2015-04-06 14:42:09 +01:00
Vsevolod Stakhov
fa0e3fbb91 Try to fit options in 6 bits. 2015-03-11 15:18:49 +00:00
Vsevolod Stakhov
ea26cfd92c Distinguish RSPAMC from SPAMC. 2015-03-11 14:18:19 +00:00
Vsevolod Stakhov
e1aaa10d62 Backport fix from libucl. 2015-03-11 11:57:17 +00:00
Vsevolod Stakhov
fa71f023a9 Port fix from libucl. 2015-03-01 21:34:26 +00:00
Vsevolod Stakhov
fcf8994d52 Import the proper version of lua-functional. 2015-02-26 14:06:01 +00:00
Vsevolod Stakhov
32d054c318 Remove unused chacha implementation from libottery 2015-02-21 22:28:54 +00:00
Vsevolod Stakhov
d0f501c230 Move cdb to contrib as well. 2015-02-21 18:35:54 +00:00
Vsevolod Stakhov
f1c22fe6f3 Add legacy XXH32_init. 2015-02-21 18:30:09 +00:00
Vsevolod Stakhov
ff4acb5109 Avoid copies of xxhash. 2015-02-21 18:12:29 +00:00
Vsevolod Stakhov
6e121a026f Move ucl and rdns to contrib. 2015-02-21 18:11:12 +00:00
Vsevolod Stakhov
f9d2d85d14 Update xxhash. 2015-02-21 17:51:40 +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
141e7673fa Merge pull request #146 from fatalbanana/master
Update RBL module etc
2015-02-11 16:07:56 +00:00
Andrew Lewis
e77f51f874 Make Exim pass usernames to Rspamd 2015-02-11 15:48:37 +02:00
Vsevolod Stakhov
c4e4a60be8 Small fixes. 2015-02-09 10:52:31 +00:00
Vsevolod Stakhov
9c825e98d3 Macro ambiguity hell. 2015-02-09 10:23:07 +00:00
Vsevolod Stakhov
544fea1f9f Unify align macro. 2015-02-08 22:27:04 +00:00
Vsevolod Stakhov
f1718ac592 Publish afternm_detached 2015-02-02 22:28:36 +00:00
Andrew Lewis
571955cc19 Fix bad change in Exim patch 2015-02-02 22:39:58 +02:00
Vsevolod Stakhov
b21bad88bb Merge pull request #131 from fatalbanana/master
Update Exim patch
2015-02-01 10:35:36 +00:00
Andrew Lewis
48ccad6194 Update Exim patch 2015-01-31 20:46:54 +02:00
Vsevolod Stakhov
d6c756289e Fix cryptobox code. 2015-01-30 17:47:01 +00:00
Vsevolod Stakhov
268fea1999 Fix blocks chaining. 2015-01-30 01:44:56 +00:00
Vsevolod Stakhov
023abb060f Fix detached cryptobox. 2015-01-29 23:48:13 +00:00
Vsevolod Stakhov
175d7c8cc6 Add prototypes. 2015-01-28 22:22:21 +00:00
Vsevolod Stakhov
db6de9a110 Implement detached cryptobox. 2015-01-28 22:19:28 +00:00
Vsevolod Stakhov
bebc8737c8 Use more targeted compile flags setup. 2015-01-28 21:39:38 +00:00
Vsevolod Stakhov
3dbb173515 Do not pad encrypted messages. 2015-01-28 21:39:18 +00:00
Vsevolod Stakhov
62c3edb074 Forgot to add. 2015-01-28 21:39:08 +00:00
Vsevolod Stakhov
75865261eb Adopt tweetnacl for rspamd. 2015-01-28 15:56:49 +00:00
Vsevolod Stakhov
b45251c416 Import tweetnacl. 2015-01-28 15:43:52 +00:00
Andrew Lewis
96a3a241b8 Make Exim pass hostnames to rspamd 2015-01-03 23:46:21 +02:00
Vsevolod Stakhov
35295fe9ea Allow to listen on ipv6 IP. 2014-12-25 18:35:49 +00:00
Vsevolod Stakhov
83c6e88470 Arrays are no longer lists in UCL. 2014-12-25 18:24:54 +00:00
Vsevolod Stakhov
a75c10a8b1 Lemmatize words for fuzzy check. 2014-12-23 15:57:14 +00:00
Vsevolod Stakhov
dd1134f06b Compile external tools with optimizations. 2014-12-19 10:55:28 +00:00
Vsevolod Stakhov
47be073a75 Use blake2 as KDF instead of sha256. 2014-12-18 21:05:02 +00:00
Vsevolod Stakhov
37cfe206be Add blake2 hash contrib code. 2014-12-18 20:58:17 +00:00
Vsevolod Stakhov
e771cd9604 Add custom targets check and run-test. 2014-12-17 17:28:07 +00:00
Vsevolod Stakhov
7eb5a5745b Add preliminary shingles version. 2014-12-17 16:44:52 +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
774c8be4b3 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
2014-09-29 14:46:39 +01:00
Vsevolod Stakhov
0556a597ba Allow strcase uthash. 2014-08-24 17:00:13 +01:00
Vsevolod Stakhov
ffedc6bef9 Update to the recent versions. 2014-07-19 09:42:05 -07:00
Vsevolod Stakhov
50412eaeae Support legacy 'RSPAMC' protocol line. 2014-04-23 11:58:34 +01:00
Vsevolod Stakhov
a3262faeeb Add compatibility layer with old spamc. 2014-04-05 16:45:06 -07: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
b4bc6269d9 Remove autogenerated Makefile. 2014-02-04 16:39:41 +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
0894d44904 Import http parser code. 2014-01-07 22:11:53 +00: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
0039ba84e6 Forgot to add. 2013-10-22 17:12:49 +01:00
Vsevolod Stakhov
3d218a89ec Fix warning about murmur hash macro. 2013-09-30 16:42:12 +01:00
Vsevolod Stakhov
5787cb0597 Keys in hash table are const pointers. 2013-08-23 23:49:48 +01:00
Vsevolod Stakhov
655ca0dfc4 Start rcl parser implementation. 2013-08-05 17:50:05 +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
4f6ae1b003 Fix warning for printf like function in exim patch. 2013-07-12 17:37:02 +01:00
Vsevolod Stakhov
cc379455b9 More fixes for Solaris. 2013-06-20 12:47:11 +01:00
Vsevolod Stakhov
6205f36ee1 * Add dynamic configuration dumping.
* Add labels support to the statfiles (would be used for meta-classification)
* Rewrite exim spam.c patch to work with both rspamd and SA by using 'variant=rspamd' option
  in spam_server line.
2012-10-01 22:08:36 +04:00
Vsevolod Stakhov
9023eb3f1e Adopt rspamd for the next glib release.
Fix several issues in threads handling inside keystorage.
Fix sigsuspend usage in keystorage.
2012-01-31 20:59:10 +04:00
Vsevolod Stakhov
7ca658607c Add detecting of libhiredis for communicating with kvstorage.
Add internal hiredis if it is not found in system.
2011-12-09 19:13:00 +03:00
Vsevolod Stakhov
d031614b5c Fix output for spamc proto. 2011-08-15 17:59:52 +04:00
Vsevolod Stakhov
40fbda609f Another fix for out-source build.
Unbreak FreeBSD build.
2011-07-30 00:14:57 +04:00
Vsevolod Stakhov
4c4773d96b * Fix build under CentOS 5 with old glib 2.12
* Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR
Rework include style.
2011-07-29 20:35:00 +04:00
Vsevolod Stakhov
dac3240ef6 Fix patch for exim.
Fix parsing of wrong headers.
2011-02-21 21:19:07 +03:00
Vsevolod Stakhov
eb5a3b7749 Add patch for exim spam.c to use rspamd. 2011-02-21 17:56:47 +03:00
Vsevolod Stakhov
4fa8c7af5c * Add new version of exim's local scan rspamd scanner 2010-10-18 20:21:24 +04:00
Vsevolod Stakhov
d608ddf908 * Fix issue with folding multiline headers (submitted by Anton Nekhoroshikh). 2010-05-26 15:23:00 +04:00
Vsevolod Stakhov
4010409631 * Fix issues in documentation
* Fix rspamd url
2010-05-25 18:23:57 +04:00
cebka@lenovo-laptop
f57b47be64 * Add a little review of rspamd
* Add local_scan.c from Anton Nekhoroshikh for exim MTA
2010-02-04 20:58:47 +03:00