Commit Graph

17073 Commits

Author SHA1 Message Date
Vsevolod Stakhov
9ce6af1378 [Minor] Lua_text: Add cookie for metatable 2020-04-30 12:46:51 +01:00
Vsevolod Stakhov
1f68d27762 [Minor] Selectors: Optimize the case 2020-04-30 12:44:42 +01:00
Vsevolod Stakhov
f2a5e351ef [Minor] Selectors: Fix digests and add compatibility with blake2b used in C 2020-04-30 12:37:37 +01:00
Vsevolod Stakhov
f7b9b38901 [Minor] Add common selectors functions 2020-04-30 12:11:57 +01:00
Vsevolod Stakhov
ab5767eb8b [Fix] Unify selectors digest functions 2020-04-30 12:11:37 +01:00
Vsevolod Stakhov
89db3241ed [Minor] Fix default behaviour of task:get_urls 2020-04-29 20:08:25 +01:00
Vsevolod Stakhov
f5299d51ba [Minor] Add limit for number of files processed in archives 2020-04-28 15:48:57 +01:00
Vsevolod Stakhov
dd4b3cdeef [Minor] Allow to limit number of files returned by archive:get_files 2020-04-28 15:44:18 +01:00
Vsevolod Stakhov
a89cf52149 [Fix] Disable text detection heuristics for encrypted parts
Issue: #3349
2020-04-28 15:38:47 +01:00
Vsevolod Stakhov
d0e464183b [Minor] Reduce priority of replies to avoid interference with settings 2020-04-27 17:22:42 +01:00
Vsevolod Stakhov
026b6b09d0 [Minor] One more fix for spaces at the end of boundary 2020-04-27 17:03:41 +01:00
Vsevolod Stakhov
3ff27cd87a [Fix] Skip spaces at the boundary end 2020-04-27 17:00:33 +01:00
Vsevolod Stakhov
7ffb32ce0b [Minor] Allow to disable logging for modules on reload 2020-04-27 16:17:24 +01:00
Vsevolod Stakhov
e1339c646f [Minor] Do not append unbalanced closing tags 2020-04-27 16:03:45 +01:00
Vsevolod Stakhov
f6722f0534 [Fix] Distinguish type from flags in register_symbol 2020-04-27 13:26:09 +01:00
Vsevolod Stakhov
4951493fad [Minor] Replies: Fix predicate 2020-04-27 11:01:40 +01:00
Gauthier C
c946d45b1b [fix] add support ElasticSearch>=7 for elastic module
Since version 7.x of ElasticSearch, logs type is not supported.

Close #3324
2020-04-27 11:14:10 +02:00
Vsevolod Stakhov
544e12fbe7
Merge pull request #3346 from jendis/from_rules
[Rules] Add FROM_INVALID and ENVFROM_INVALID rules
2020-04-26 21:17:51 +01:00
Vsevolod Stakhov
c2a26412ba
Merge pull request #3344 from jendis/raw_envfrom
[Feature] extend lua api
2020-04-25 16:56:48 +01:00
Vsevolod Stakhov
74e8f0076b [Minor] Workaround for \0 character (poor API choice) 2020-04-24 21:42:11 +01:00
Vsevolod Stakhov
40e941010d [Feature] Controller: Allow to pass query arguments to the lua webui plugins 2020-04-24 21:29:11 +01:00
Vsevolod Stakhov
215882ae3d [Minor] Lua_ip: Add address comparison method 2020-04-24 20:13:56 +01:00
Vsevolod Stakhov
4e269dc2f8
Merge pull request #3313 from arkamar/hiredis
Revert "[Fix] Fix hiredis stupidity" and use the hiredis api as intended
2020-04-24 15:08:40 +01:00
Vsevolod Stakhov
5088000ff5 [Minor] Replies: Check all recipients 2020-04-24 15:07:51 +01:00
Vsevolod Stakhov
2ec4b53477 [Minor] Replies: Use milliseconds resolution for expiration 2020-04-24 12:57:42 +01:00
Vsevolod Stakhov
86c11386cf [Minor] Selectors: Add scan_result extractor 2020-04-23 16:13:26 +01:00
Vsevolod Stakhov
e6556d52c2 [Minor] Lua_selectors: Add optional shadow result name 2020-04-23 16:10:48 +01:00
Vsevolod Stakhov
1d5ddb1345 [Minor] Lua_task: Add support of shadow results 2020-04-23 16:07:52 +01:00
Vsevolod Stakhov
6b471b2c54 [Minor] Prevent controller results from being cached
Issue: #3330
2020-04-22 11:23:53 +01:00
Vsevolod Stakhov
e9dd145859
Merge pull request #3345 from jendis/fix_3249
[Fix] Url_redirector: fix issue #3249
2020-04-22 10:53:46 +01:00
Vsevolod Stakhov
d68773eabf [Minor] Fix the case of empty flags :( 2020-04-21 19:52:01 +01:00
Vsevolod Stakhov
4385e17015 [Rework] Further rework of lua urls extraction API 2020-04-21 16:07:40 +01:00
Vsevolod Stakhov
2a7ad79943 [Minor] Add lua_geti compat method 2020-04-21 16:07:25 +01:00
Vsevolod Stakhov
fc08274623 [Minor] Amend doc string 2020-04-21 14:34:31 +01:00
Vsevolod Stakhov
1bf5eb0209 [Minor] Set content flag on urls extracted from pdf 2020-04-21 14:33:40 +01:00
Vsevolod Stakhov
c5c2eaf6b0 [Rework] Rework url flags handling API 2020-04-21 14:27:20 +01:00
Jan Smutny
4cd7179dc1 [Fix] #3249 2020-04-21 14:37:19 +02:00
Vsevolod Stakhov
d4bd976fd9 [Rework] Rework urls extraction 2020-04-21 13:09:16 +01:00
Jan Smutny
ebfde82556 [Feature] extend lua api
add new value accessible by key 'raw' to the table returned by util:parse_mail_address and task:get_from
2020-04-20 22:57:05 +02:00
Vsevolod Stakhov
cfcecb66f8 [Minor] Oops, fix test 2020-04-20 20:39:36 +01:00
Vsevolod Stakhov
d43846dfcb [Minor] Rbl: Adjust whitelisting one more time 2020-04-20 20:28:59 +01:00
Vsevolod Stakhov
913c37391f [Fix] Rbl: Fix ignore_defaults in conjunction with ignore_whitelists 2020-04-20 16:52:30 +01:00
Vsevolod Stakhov
9d44d461ab [Minor] Erm, forgot one more place to debug 2020-04-20 16:27:25 +01:00
Vsevolod Stakhov
447681fc80 [Minor] Add more whitelists debugging 2020-04-20 16:23:12 +01:00
Vsevolod Stakhov
7457d466d9
Merge pull request #3343 from chkpnt/dschung/luacheck
[Minor] Pet luacheck
2020-04-19 21:27:43 +01:00
Vsevolod Stakhov
509109df4c
Merge pull request #3342 from chkpnt/dschung/fix-reject-mail-message
[Fix] Do not flag pre-result of virus scanners as least if action is reject
2020-04-19 21:27:11 +01:00
Gregor Dschung
7a55c51038 [Minor] Pet luacheck 2020-04-19 11:13:55 +02:00
Gregor Dschung
1b2b501ceb [Fix] Do not flag pre-result of virus scanners as least if action is reject
fixes #3279
2020-04-19 10:50:18 +02:00
Jan Smutny
1795539829 rules/headers_checks.lua: add [ENV]FROM_INVALID 2020-04-19 00:22:14 +02:00
Jan Smutny
2367506006 rules/headers_checks.lua: make CHECK_FROM callback a bit more efficient 2020-04-19 00:22:14 +02:00