Vsevolod Stakhov
bd43881c90
[Minor] Make valgrind happy again
2018-06-15 15:31:16 +01:00
Vsevolod Stakhov
87162d5b1c
[Fix] Fix memory leak in parsing comments
2018-06-15 13:21:06 +01:00
Vsevolod Stakhov
99dfcd6992
[Minor] Add special codes to mark invalid request/reply
2018-06-11 16:37:26 +01:00
Vsevolod Stakhov
f30371e886
[Minor] Fix hash lookup
2018-06-11 15:43:22 +01:00
Vsevolod Stakhov
6b07a361d0
[Minor] Improve fake names processing
2018-06-11 14:49:10 +01:00
Vsevolod Stakhov
906e7cfaaa
[Feature] Add support of fake DNS records
2018-06-08 12:03:33 +01:00
Vsevolod Stakhov
fcaf800bd6
[Feature] Suppress duplicate warning on very large radix tries
2018-06-01 11:09:37 +01:00
Vsevolod Stakhov
6f1ac61c71
[Minor] Try to improve help message
2018-05-29 13:46:27 +01:00
Vsevolod Stakhov
2f08a47d85
[Minor] Fix various cmake issues
2018-05-25 12:41:57 +01:00
Vsevolod Stakhov
714eb56e17
[Minor] Move lua contrib libraries to lua- prefix
2018-05-23 18:14:15 +01:00
Vsevolod Stakhov
220a51ff68
[Minor] Import lua-argparse library
2018-05-23 17:54:17 +01:00
Vsevolod Stakhov
b6156175b6
[Minor] Backport fixes from t1ha
2018-05-22 14:15:47 +01:00
Vsevolod Stakhov
11334a875a
[Feature] Support encrypted configs in UCL
2018-05-19 14:51:30 +01:00
Vsevolod Stakhov
6f80cd3299
[Fix] Relax alignment requirements
...
Issue: #2222
2018-05-18 23:47:37 +01:00
Vsevolod Stakhov
8b456a8bd8
[Minor] Improve clang support (backported from t1ha)
2018-05-14 18:18:36 +01:00
Vsevolod Stakhov
974d1dbcab
[Minor] Backport unaligned access fixes from t1ha
...
Issue: #2222
2018-05-14 16:14:58 +01:00
Paul Arthur
eea6b5ea92
[Minor] Don't double-escape lua strings in libucl
...
Strings are escaped during JSON/UCL output, so escaping them while
building the object results in doubly escaped strings.
2018-05-10 16:46:53 +00:00
Paul Arthur
dcfbf5ea8c
[Fix] Fix vertical tab handling in libucl
...
626c7a170f
is an incomplete fix and emits
invalid JSON.
The vertical tab has a short escape in C but not JSON, so we should
emit the long escape. (libucl won't choke on \v in UCL input but
it doesn't properly round-trip: 'foo\vbar' will be parsed into
'foovbar'.)
libucl has an option to escape strings during parsing, so I modified
that in a similar fashion to 626c7a17
.
2018-05-10 16:44:28 +00:00
Vsevolod Stakhov
bc3af6861a
[Minor] Store hostname in elastic
2018-05-09 12:56:30 +01:00
Vsevolod Stakhov
b563e16adb
[Fix] Fix build on non-x86 platforms
...
Issue: #2226
2018-05-08 20:51:51 +01:00
Vsevolod Stakhov
a3191bd7b3
[Feture] Allow external preprocessors in libucl
2018-05-05 14:58:37 +01:00
Vsevolod Stakhov
22bac56f25
[Minor] Sync from libucl
2018-05-05 12:41:40 +01:00
Vsevolod Stakhov
7f596814c1
[Minor] Fix build on Solaris
...
Issue: #2213
Closes : #2213
2018-05-03 13:52:10 +01:00
Vsevolod Stakhov
0d217fc888
[CritFix] Do not use volatile Lua strings as UCL keys
...
Issue: #2211
Closes : #2211
2018-05-02 19:05:14 +01:00
Vsevolod Stakhov
486435c147
[Minor] Remove t1ha0 as it causes too many issues
2018-04-30 12:40:14 +01:00
Vsevolod Stakhov
c5d65b9430
[Minor] Try to fix endiannes detection on Solaris
...
Issue: #2204
2018-04-29 21:22:22 +01:00
Vsevolod Stakhov
dec86ca07d
[Minor] Try to fix build for old compilers...
2018-04-28 14:26:56 +01:00
Vsevolod Stakhov
12da94dc1d
[Feature] Upgrade t1ha distribution
2018-04-28 13:38:11 +01:00
Vsevolod Stakhov
9e9785cf2d
[Minor] Export function to get terminal width from linenoise
2018-04-24 18:12:17 +01:00
Vsevolod Stakhov
da89d96176
[Minor] Unify types
2018-04-24 17:37:45 +01:00
Vsevolod Stakhov
3efef0fad2
[Fix] Propagate key when import implicit array from Lua
2018-04-24 17:35:06 +01:00
Vsevolod Stakhov
38f05a24a5
[CritFix] Fix ucl escape for bad symbols
...
Issue: #2194
2018-04-23 17:40:30 +01:00
Vsevolod Stakhov
9763975bf0
[Fix] Do not check pid/state when using PRNG
2018-04-17 16:04:07 +01:00
Vsevolod Stakhov
626c7a170f
[Fix] Fix processing of '\v' in libucl
...
Issue: #2045
2018-03-29 13:57:41 +01:00
Vsevolod Stakhov
2a59b34f18
[Minor] Import nan support from libucl
2018-03-29 13:47:38 +01:00
Vsevolod Stakhov
5187b13d01
[Minor] Fix some warnings
2018-03-22 15:32:33 +00:00
Vsevolod Stakhov
15cc016434
[Feature] Support single quotes in config
...
Issue: #2080
2018-03-21 15:03:16 +00:00
Vsevolod Stakhov
97a25eff3d
[Minor] Sync from libucl
2018-03-21 13:09:52 +00:00
Andrew Lewis
91db59c597
[Minor] Sync public suffix list
2018-03-19 14:49:43 +02:00
Vsevolod Stakhov
bde5ef4100
[Minor] Fix kibana template
2018-03-09 16:26:04 +00:00
Vsevolod Stakhov
08ed498894
[Fix] Further fixes to support ES 6
2018-03-09 14:47:17 +00:00
Vsevolod Stakhov
60ad874a29
[Minor] Fix broken include in torch
2018-03-07 08:49:31 +00:00
Vsevolod Stakhov
cf527ffe3e
[Minor] Always allow sse in 64bit mode
2018-03-06 17:03:36 +00:00
Vsevolod Stakhov
bc328b1fd0
[Minor] Some local fixes in torch
2018-03-06 16:44:05 +00:00
Vsevolod Stakhov
478687cd46
[Feature] Add torch-optim contrib package
2018-03-06 10:20:22 +00:00
Vsevolod Stakhov
0fed6e67db
[Minor] Unlink ottery from torch to fix build on some platforms
2018-03-02 19:20:22 +00:00
Vsevolod Stakhov
845460a852
[Fix] Fix brain-damaged torch build system
2018-03-02 19:10:51 +00:00
Vsevolod Stakhov
411e80f59a
Merge pull request #2046 from LorbusChris/depinfo
...
Add contrib/DEPENDENCY_INFO.md
2018-03-02 14:15:47 +00:00
Vsevolod Stakhov
0d89c44f58
[Minor] Try to fix linking issue
2018-03-02 09:18:59 +00:00
Christian Glombek
59cba8d41b
Add contrib/DEPENDENCY_INFO.md
2018-03-01 15:53:28 +01:00
Vsevolod Stakhov
b2edec9720
[Minor] Support threads for MKL blas
2018-03-01 14:23:05 +00:00
Vsevolod Stakhov
db9dff1c16
[Minor] Fix broken usage of strerror_r
2018-02-28 17:35:16 +00:00
Vsevolod Stakhov
9ef70a3754
[Feature] Preliminary import of the elasticsearch module
2018-02-18 15:46:58 +00:00
Andrew Lewis
10fd37f7c5
[Minor] Sync public suffix list
2018-02-16 12:44:44 +02:00
Vsevolod Stakhov
413bb725fc
[Feature] Improve allocation policy when interacting with Lua
2018-02-14 14:45:25 +00:00
Vsevolod Stakhov
57747dfc45
[Fix] Fix deletion from hash
2018-02-14 14:45:25 +00:00
Vsevolod Stakhov
9f0a4220de
[Feature] Allow to reserve elements in libucl
2018-02-14 14:45:25 +00:00
Vsevolod Stakhov
a755e38112
[Minor] Allow to parse ucl object from rspamd_text
2018-02-14 14:45:25 +00:00
Vsevolod Stakhov
66bebc21e2
[Minor] Treat EPERM specially
...
Issue: #1996
2018-02-12 20:49:33 +00:00
Vsevolod Stakhov
347cf7c15b
[Minor] Use more words and remove some languages
2018-02-07 21:01:37 +00:00
Vsevolod Stakhov
92b68a6154
[Minor] Remove another confusing language
2018-02-07 09:18:23 +00:00
Vsevolod Stakhov
cdc6ea2e0d
[Minor] Remove local minor languages
2018-02-07 08:47:45 +00:00
Vsevolod Stakhov
fe48a8c61b
[Project] Add n-gramms data files
2017-12-30 20:19:12 +00:00
Vsevolod Stakhov
6af040cf29
[Fix] Do not try to connect to non-supported addresses
2017-11-25 12:50:02 +00:00
Vsevolod Stakhov
4ca425a057
[Minor] Lots of style and C coding fixes
2017-11-21 18:36:38 +00:00
Vsevolod Stakhov
b8d0b8e0c5
[Minor] Reformat code
2017-11-21 18:21:58 +00:00
Vsevolod Stakhov
f7001fb675
Merge pull request #1913 from AlexeySa/master
...
Dlfunc library for Exim
2017-11-19 21:43:52 +00:00
Vsevolod Stakhov
84c2524e85
[Fix] Deal with nan and inf encoding in json/ucl
2017-11-16 18:56:17 +00:00
Viktor Szépe
afa3c9ff6b
Typo: zerogradParamters
2017-11-14 21:37:25 +01:00
Viktor Szépe
e3689ecb77
Typo: non-existent
2017-11-14 21:36:49 +01:00
Viktor Szépe
971b8df19c
Typo: compatibilty
2017-11-14 21:36:03 +01:00
Viktor Szépe
9eee090ab6
Typo : occurence
2017-11-14 21:35:26 +01:00
Viktor Szépe
6ca56ad823
typo: supercede
2017-11-14 21:34:07 +01:00
AL
8697fdc0fa
Update dlfunc README
2017-11-12 14:56:42 +03:00
AL
a2cba47734
Optimize exim dlfunc
2017-11-12 14:50:51 +03:00
AL
1d4d609502
Dlfunc compile and install instructions
2017-11-12 03:53:54 +03:00
AL
fce6b37831
Example Exim config
2017-11-12 03:48:02 +03:00
AL
a02111a6a3
Dlfunc library for Exim
...
With support http, json, checkv2
2017-11-12 03:46:38 +03:00
Vsevolod Stakhov
80b59a48c8
[Fix] Fix random forests module
2017-11-11 16:32:54 +00:00
Vsevolod Stakhov
900d06b607
[Fix] Fix merging of the implicit arrays
2017-11-06 22:19:22 +00:00
Vsevolod Stakhov
33fed07599
[Feature] Add torch-decisiontree package
...
https://github.com/twitter/torch-decisiontree
This project implements random forests and gradient boosted decision
trees (GBDT). The latter uses gradient tree boosting. Both use ensemble
learning to produce ensembles of decision trees (that is, forests).
2017-11-05 14:34:22 +00:00
Vsevolod Stakhov
4656af8e69
[Feature] Save real ucl types when exporting to Lua
2017-11-05 10:06:41 +00:00
Vsevolod Stakhov
a864c89f80
[Feature] Add aes-rng PRF to libottery
2017-10-29 13:42:45 +00:00
Vsevolod Stakhov
a0d34edd00
[Fix] Fix couple of warnings
2017-10-27 10:55:20 +01:00
Andrew Lewis
e9b77979a4
[Minor] Update public suffix list
2017-10-21 21:01:26 +02:00
Vsevolod Stakhov
2d053b6fac
[Minor] Update aho-corasic implementation
2017-09-26 21:18:08 +01:00
Vsevolod Stakhov
0050cedd31
[Minor] Update bundled zstd
2017-09-20 07:58:12 +01:00
Vsevolod Stakhov
8308d6a677
[Fix] Another try to fix threading in torch
2017-09-17 10:00:20 +01:00
Vsevolod Stakhov
edc5920854
[Minor] Another try to fix brain-damaged torch build system
2017-09-16 19:50:23 +01:00
Vsevolod Stakhov
048c80ae85
[Minor] Disable sse4.2 for torch...
2017-09-16 19:05:52 +01:00
Andrew Lewis
9e425476ae
[Minor] Import updates from public suffix list
2017-09-10 10:41:13 +02:00
Vsevolod Stakhov
3c9f4621d2
[Minor] Allow to get rspamd text from torch storage
2017-08-27 12:36:19 +01:00
Vsevolod Stakhov
e460a6dc4b
[Minor] Fix randomness part in torch
2017-07-22 12:59:14 +01:00
Vsevolod Stakhov
e311547942
[Minor] Further fixes for torch RPATH
2017-07-22 12:37:59 +01:00
Vsevolod Stakhov
f409a6f3e0
[Minor] Do not use avx/avx2 in torch as their detection is broken
2017-07-22 10:49:25 +01:00
Vsevolod Stakhov
004535e400
[Minor] Avoid obsolete function usage
2017-07-22 10:27:56 +01:00
Vsevolod Stakhov
a2e2cb74d0
[Minor] Fix install path for torch libpaths
2017-07-22 10:19:45 +01:00
Vsevolod Stakhov
43a0868d49
[Minor] Fix installation directory for shared libs
2017-07-21 11:41:06 +01:00
Vsevolod Stakhov
57ad67a4b4
[Feature] Import torch to Rspamd...
2017-07-16 16:39:35 +01:00
Andrew Lewis
b1d6eb4b40
[Minor] Import changes from public suffix list
2017-07-07 10:10:23 +02:00
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