]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 years ago[Minor] Improve functions pcall invocations
Vsevolod Stakhov [Wed, 20 May 2020 19:51:28 +0000 (20:51 +0100)]
[Minor] Improve functions pcall invocations

4 years ago[Feature] Initial support of subscribe command in lua_redis
Vsevolod Stakhov [Tue, 19 May 2020 20:00:16 +0000 (21:00 +0100)]
[Feature] Initial support of subscribe command in lua_redis

4 years ago[Fix] Fix clen length for hiredis...
Vsevolod Stakhov [Tue, 19 May 2020 19:53:42 +0000 (20:53 +0100)]
[Fix] Fix clen length for hiredis...

4 years ago[Minor] Fix config-less tests
Vsevolod Stakhov [Tue, 19 May 2020 16:29:31 +0000 (17:29 +0100)]
[Minor] Fix config-less tests

4 years ago[Minor] Add `max_recipients` config knob
Vsevolod Stakhov [Tue, 19 May 2020 16:18:43 +0000 (17:18 +0100)]
[Minor] Add `max_recipients` config knob

4 years ago[Minor] Add a simple way to limit number of email addresses
Vsevolod Stakhov [Tue, 19 May 2020 16:00:25 +0000 (17:00 +0100)]
[Minor] Add a simple way to limit number of email addresses

4 years ago[Minor] Allow to specify flags mode when getting urls
Vsevolod Stakhov [Mon, 18 May 2020 15:56:25 +0000 (16:56 +0100)]
[Minor] Allow to specify flags mode when getting urls

4 years ago[Fix] Fix get_urls table invocation
Vsevolod Stakhov [Mon, 18 May 2020 15:33:14 +0000 (16:33 +0100)]
[Fix] Fix get_urls table invocation

4 years agoMerge pull request #3374 from moisseev/test
Vsevolod Stakhov [Mon, 18 May 2020 14:45:31 +0000 (15:45 +0100)]
Merge pull request #3374 from moisseev/test

[Test] Downgrade stylelint

4 years ago[Minor] Fix luajit search
Vsevolod Stakhov [Mon, 18 May 2020 14:42:32 +0000 (15:42 +0100)]
[Minor] Fix luajit search

4 years ago[Test] Downgrade stylelint 3374/head
moisseev [Mon, 18 May 2020 07:29:19 +0000 (10:29 +0300)]
[Test] Downgrade stylelint

as 13.4.0 is broken

4 years ago[Rework] Remove old FindLua module, disable lua fallback when LuaJIT is enabled
Vsevolod Stakhov [Sun, 17 May 2020 19:22:23 +0000 (20:22 +0100)]
[Rework] Remove old FindLua module, disable lua fallback when LuaJIT is enabled

4 years agoMerge pull request #3363 from membero/fix/rbl-email-lowercase
Vsevolod Stakhov [Sat, 16 May 2020 19:08:29 +0000 (20:08 +0100)]
Merge pull request #3363 from membero/fix/rbl-email-lowercase

[Fix] lowercase for emails checked on RBLs

4 years ago[Minor] Replies: Make var local
Vsevolod Stakhov [Fri, 15 May 2020 11:42:59 +0000 (12:42 +0100)]
[Minor] Replies: Make var local

4 years agoMerge pull request #3372 from citrin/replies-plugin-logs
Vsevolod Stakhov [Fri, 15 May 2020 10:27:17 +0000 (11:27 +0100)]
Merge pull request #3372 from citrin/replies-plugin-logs

[Minor] Improve replies plugin logs

4 years ago[Minor] Improve replies plugin logs 3372/head
Anton Yuzhaninov [Fri, 15 May 2020 10:22:59 +0000 (11:22 +0100)]
[Minor] Improve replies plugin logs

4 years ago[Fix] Fix regexp selector and add flattening
Vsevolod Stakhov [Thu, 14 May 2020 12:16:06 +0000 (13:16 +0100)]
[Fix] Fix regexp selector and add flattening

4 years ago[Minor] Fix captures checking in lua_regexp
Vsevolod Stakhov [Thu, 14 May 2020 12:15:52 +0000 (13:15 +0100)]
[Minor] Fix captures checking in lua_regexp

4 years ago[Fix] Slashing fix: fix captures matching API
Vsevolod Stakhov [Thu, 14 May 2020 12:15:24 +0000 (13:15 +0100)]
[Fix] Slashing fix: fix captures matching API

4 years ago[Fix] Fix passing of methods arguments
Vsevolod Stakhov [Thu, 14 May 2020 11:43:32 +0000 (12:43 +0100)]
[Fix] Fix passing of methods arguments

4 years ago[Test] Add some missing tests for selectors
Vsevolod Stakhov [Thu, 14 May 2020 11:43:19 +0000 (12:43 +0100)]
[Test] Add some missing tests for selectors

4 years ago[Fix] Fix calling of methods in selectors
Vsevolod Stakhov [Thu, 14 May 2020 11:15:41 +0000 (12:15 +0100)]
[Fix] Fix calling of methods in selectors

4 years agoMerge pull request #3368 from HeinleinSupport/oletools_rework
Vsevolod Stakhov [Thu, 14 May 2020 09:33:54 +0000 (10:33 +0100)]
Merge pull request #3368 from HeinleinSupport/oletools_rework

lua_scanner - oletools / common rework

4 years ago[Project] Add `lower` method to lua_text
Vsevolod Stakhov [Wed, 13 May 2020 15:35:23 +0000 (16:35 +0100)]
[Project] Add `lower` method to lua_text

4 years ago[Fix] Fix incomplete utf8 sequences handling
Vsevolod Stakhov [Wed, 13 May 2020 15:22:37 +0000 (16:22 +0100)]
[Fix] Fix incomplete utf8 sequences handling

4 years ago[Project] Add text:sub method
Vsevolod Stakhov [Wed, 13 May 2020 15:02:55 +0000 (16:02 +0100)]
[Project] Add text:sub method

4 years ago[Project] Allow rspamd_text based selectors
Vsevolod Stakhov [Wed, 13 May 2020 14:37:48 +0000 (15:37 +0100)]
[Project] Allow rspamd_text based selectors

4 years agoMerge pull request #3367 from HeinleinSupport/icap_default_port
Vsevolod Stakhov [Tue, 12 May 2020 20:00:57 +0000 (21:00 +0100)]
Merge pull request #3367 from HeinleinSupport/icap_default_port

[Minor] lua_scanners - Fix ICAP default port

4 years ago[Minor] lua_scanners - Fix ICAP default port 3367/head
Carsten Rosenberg [Tue, 12 May 2020 18:19:42 +0000 (20:19 +0200)]
[Minor] lua_scanners - Fix ICAP default port

4 years agoMerge pull request #3366 from bauruine/fix_3365
Vsevolod Stakhov [Tue, 12 May 2020 14:39:12 +0000 (15:39 +0100)]
Merge pull request #3366 from bauruine/fix_3365

[Fix] Segmentation fault in contrib/lua-lpeg/lpvm.c on ppc64el

4 years ago[Fix] Segmentation fault in contrib/lua-lpeg/lpvm.c on ppc64el 3366/head
Spühler Stefan [Tue, 12 May 2020 12:23:42 +0000 (14:23 +0200)]
[Fix] Segmentation fault in contrib/lua-lpeg/lpvm.c on ppc64el

This disables a workaround only intended for aarch64 if the target
architecture is powerpc.

Issue: #3365

4 years ago[Minor] Further improve patterns
Vsevolod Stakhov [Mon, 11 May 2020 16:03:00 +0000 (17:03 +0100)]
[Minor] Further improve patterns

4 years ago[Minor] Remove redundant pattern
Vsevolod Stakhov [Mon, 11 May 2020 16:00:01 +0000 (17:00 +0100)]
[Minor] Remove redundant pattern

4 years ago[Minor] Improve pdf magic detection
Vsevolod Stakhov [Mon, 11 May 2020 15:31:30 +0000 (16:31 +0100)]
[Minor] Improve pdf magic detection

4 years ago[Fix] Pdf: Support some weird objects with no newline before endobj
Vsevolod Stakhov [Sun, 10 May 2020 18:33:37 +0000 (19:33 +0100)]
[Fix] Pdf: Support some weird objects with no newline before endobj

4 years ago[Minor] Rbl: Add aliases to avoid users confusion
Vsevolod Stakhov [Fri, 8 May 2020 19:27:28 +0000 (20:27 +0100)]
[Minor] Rbl: Add aliases to avoid users confusion

4 years ago[Minor] Improve error message + fix misprint
Vsevolod Stakhov [Thu, 7 May 2020 19:58:04 +0000 (20:58 +0100)]
[Minor] Improve error message + fix misprint

Issue: #3328

4 years ago[Fix] Fix sockets leak in the client
Vsevolod Stakhov [Thu, 7 May 2020 19:55:31 +0000 (20:55 +0100)]
[Fix] Fix sockets leak in the client

Issue: #3328

4 years ago[Minor] Allow to pass socket's ownership to http connection object
Vsevolod Stakhov [Thu, 7 May 2020 19:55:12 +0000 (20:55 +0100)]
[Minor] Allow to pass socket's ownership to http connection object

4 years ago[Minor] Log source IP
Vsevolod Stakhov [Thu, 7 May 2020 13:40:14 +0000 (14:40 +0100)]
[Minor] Log source IP

4 years ago[Minor] Get rid of numeric string:match in honor of tonumber
Vsevolod Stakhov [Thu, 7 May 2020 13:38:09 +0000 (14:38 +0100)]
[Minor] Get rid of numeric string:match in honor of tonumber

4 years ago[Feature] Allow to specify nonces manually
Vsevolod Stakhov [Wed, 6 May 2020 16:08:22 +0000 (17:08 +0100)]
[Feature] Allow to specify nonces manually

4 years agoMerge pull request #3362 from kakochang/patch-1
Vsevolod Stakhov [Tue, 5 May 2020 14:57:29 +0000 (15:57 +0100)]
Merge pull request #3362 from kakochang/patch-1

[Minor] Improve FREEMAIL_REPLYTO_NEQ_FROM_DOM

4 years ago[Minor] Rbl: Add `content_urls` attribute
Vsevolod Stakhov [Tue, 5 May 2020 14:50:23 +0000 (15:50 +0100)]
[Minor] Rbl: Add `content_urls` attribute

4 years ago[Minor] Allow to get content urls in extract_specific routine
Vsevolod Stakhov [Tue, 5 May 2020 14:48:06 +0000 (15:48 +0100)]
[Minor] Allow to get content urls in extract_specific routine

4 years ago[Minor] Add mime_part:get_urls method
Vsevolod Stakhov [Tue, 5 May 2020 14:17:52 +0000 (15:17 +0100)]
[Minor] Add mime_part:get_urls method

4 years ago[Minor] Attach pdf urls to mime parts
Vsevolod Stakhov [Tue, 5 May 2020 14:11:40 +0000 (15:11 +0100)]
[Minor] Attach pdf urls to mime parts

4 years ago[Minor] Allow attaching of urls to the mime parts
Vsevolod Stakhov [Tue, 5 May 2020 13:59:33 +0000 (14:59 +0100)]
[Minor] Allow attaching of urls to the mime parts

4 years agoFix lowercase for emails checked on RBLs 3363/head
Oliver Dick [Tue, 5 May 2020 11:03:28 +0000 (13:03 +0200)]
Fix lowercase for emails checked on RBLs

4 years ago[Fix] Fix FREEMAIL_REPLYTO_NEQ_FROM_DOM 3362/head
Kako, Chang [Tue, 5 May 2020 10:35:20 +0000 (18:35 +0800)]
[Fix] Fix FREEMAIL_REPLYTO_NEQ_FROM_DOM

4 years ago[Minor] Fix some issues found
Vsevolod Stakhov [Tue, 5 May 2020 08:50:35 +0000 (09:50 +0100)]
[Minor] Fix some issues found

4 years ago[Minor] Lua_text: Improve base64 method
Vsevolod Stakhov [Mon, 4 May 2020 19:34:40 +0000 (20:34 +0100)]
[Minor] Lua_text: Improve base64 method

4 years ago[Minor] Lua_text: Add randombytes constructor
Vsevolod Stakhov [Mon, 4 May 2020 19:27:56 +0000 (20:27 +0100)]
[Minor] Lua_text: Add randombytes constructor

4 years ago[Feature] Lua_text: Add encoding methods
Vsevolod Stakhov [Mon, 4 May 2020 19:08:59 +0000 (20:08 +0100)]
[Feature] Lua_text: Add encoding methods

4 years ago[Feature] Lua_cryptobox: Add secretbox API
Vsevolod Stakhov [Mon, 4 May 2020 17:07:02 +0000 (18:07 +0100)]
[Feature] Lua_cryptobox: Add secretbox API

4 years ago[Minor] Allow to pre-allocate lua_text
Vsevolod Stakhov [Mon, 4 May 2020 16:38:58 +0000 (17:38 +0100)]
[Minor] Allow to pre-allocate lua_text

4 years agoMerge pull request #3355 from gauthierc/fixES7support
Vsevolod Stakhov [Sun, 3 May 2020 19:13:02 +0000 (20:13 +0100)]
Merge pull request #3355 from gauthierc/fixES7support

[fix] add support ElasticSearch>=7 for elastic module

4 years ago[Minor] Store symcache item type
Vsevolod Stakhov [Sat, 2 May 2020 19:48:08 +0000 (20:48 +0100)]
[Minor] Store symcache item type

4 years ago[Fix] Fix lua_parse_symbol_type function logic
Vsevolod Stakhov [Fri, 1 May 2020 19:13:43 +0000 (20:13 +0100)]
[Fix] Fix lua_parse_symbol_type function logic

4 years agoMerge pull request #3359 from korgoth1/master
Vsevolod Stakhov [Fri, 1 May 2020 13:57:58 +0000 (14:57 +0100)]
Merge pull request #3359 from korgoth1/master

[TEST] FROM_NEQ_ENVFROM fix

4 years ago[TEST] FROM_NEQ_ENVFROM fix 3359/head
korgoth1 [Fri, 1 May 2020 13:31:10 +0000 (16:31 +0300)]
[TEST] FROM_NEQ_ENVFROM fix

4 years agoMerge pull request #3358 from korgoth1/master
Vsevolod Stakhov [Fri, 1 May 2020 13:18:19 +0000 (14:18 +0100)]
Merge pull request #3358 from korgoth1/master

[TEST] utf8 fix

4 years agoMerge pull request #3357 from citrin/from_neq_envfrom
Vsevolod Stakhov [Fri, 1 May 2020 13:17:51 +0000 (14:17 +0100)]
Merge pull request #3357 from citrin/from_neq_envfrom

[Fix] Fix FROM_NEQ_ENVFROM

4 years ago[TEST] Some rules + FROM_NEQ_ENVFROM 3358/head
korgoth1 [Fri, 1 May 2020 13:07:42 +0000 (16:07 +0300)]
[TEST] Some rules + FROM_NEQ_ENVFROM

4 years ago[Fix] Fix FROM_NEQ_ENVFROM 3357/head
Anton Yuzhaninov [Fri, 1 May 2020 12:43:42 +0000 (13:43 +0100)]
[Fix] Fix FROM_NEQ_ENVFROM

Regression was introduced in 23675060063301aaa3c93044e0029fda553d4e8f

4 years agoMerge pull request #3356 from korgoth1/master
Vsevolod Stakhov [Fri, 1 May 2020 12:57:49 +0000 (13:57 +0100)]
Merge pull request #3356 from korgoth1/master

[TEST] Some rules + FROM_NEQ_ENVFROM

4 years ago[TEST] Some rules + FROM_NEQ_ENVFROM 3356/head
korgoth1 [Fri, 1 May 2020 12:51:21 +0000 (15:51 +0300)]
[TEST] Some rules + FROM_NEQ_ENVFROM

4 years ago[Fix] One more fix to skip images that are not urls
Vsevolod Stakhov [Fri, 1 May 2020 12:12:11 +0000 (13:12 +0100)]
[Fix] One more fix to skip images that are not urls

4 years agoRevert "[Minor] Do not append unbalanced closing tags"
Vsevolod Stakhov [Thu, 30 Apr 2020 15:55:22 +0000 (16:55 +0100)]
Revert "[Minor] Do not append unbalanced closing tags"

This reverts commit e1339c646f9a910f4cc1805020af35a7c1f82a1d.

4 years ago[Minor] Use more strict checks for image urls
Vsevolod Stakhov [Thu, 30 Apr 2020 15:53:24 +0000 (16:53 +0100)]
[Minor] Use more strict checks for image urls

4 years ago[Minor] Fix flags and protocols checks
Vsevolod Stakhov [Thu, 30 Apr 2020 14:25:29 +0000 (15:25 +0100)]
[Minor] Fix flags and protocols checks

4 years ago[Minor] More fixes to digests selectors + added tests
Vsevolod Stakhov [Thu, 30 Apr 2020 12:21:08 +0000 (13:21 +0100)]
[Minor] More fixes to digests selectors + added tests

4 years ago[Minor] Lua_text: Add cookie for metatable
Vsevolod Stakhov [Thu, 30 Apr 2020 11:46:51 +0000 (12:46 +0100)]
[Minor] Lua_text: Add cookie for metatable

4 years ago[Minor] Selectors: Optimize the case
Vsevolod Stakhov [Thu, 30 Apr 2020 11:44:42 +0000 (12:44 +0100)]
[Minor] Selectors: Optimize the case

4 years ago[Minor] Selectors: Fix digests and add compatibility with blake2b used in C
Vsevolod Stakhov [Thu, 30 Apr 2020 11:37:37 +0000 (12:37 +0100)]
[Minor] Selectors: Fix digests and add compatibility with blake2b used in C

4 years ago[Minor] Add common selectors functions
Vsevolod Stakhov [Thu, 30 Apr 2020 11:11:57 +0000 (12:11 +0100)]
[Minor] Add common selectors functions

4 years ago[Fix] Unify selectors digest functions
Vsevolod Stakhov [Thu, 30 Apr 2020 11:11:37 +0000 (12:11 +0100)]
[Fix] Unify selectors digest functions

4 years ago[Minor] Fix default behaviour of task:get_urls
Vsevolod Stakhov [Wed, 29 Apr 2020 19:08:25 +0000 (20:08 +0100)]
[Minor] Fix default behaviour of task:get_urls

4 years ago[Minor] Add limit for number of files processed in archives
Vsevolod Stakhov [Tue, 28 Apr 2020 14:48:57 +0000 (15:48 +0100)]
[Minor] Add limit for number of files processed in archives

4 years ago[Minor] Allow to limit number of files returned by archive:get_files
Vsevolod Stakhov [Tue, 28 Apr 2020 14:44:18 +0000 (15:44 +0100)]
[Minor] Allow to limit number of files returned by archive:get_files

4 years ago[Fix] Disable text detection heuristics for encrypted parts
Vsevolod Stakhov [Tue, 28 Apr 2020 14:38:47 +0000 (15:38 +0100)]
[Fix] Disable text detection heuristics for encrypted parts

Issue: #3349

4 years ago[Minor] Reduce priority of replies to avoid interference with settings
Vsevolod Stakhov [Mon, 27 Apr 2020 16:22:42 +0000 (17:22 +0100)]
[Minor] Reduce priority of replies to avoid interference with settings

4 years ago[Minor] One more fix for spaces at the end of boundary
Vsevolod Stakhov [Mon, 27 Apr 2020 16:03:41 +0000 (17:03 +0100)]
[Minor] One more fix for spaces at the end of boundary

4 years ago[Fix] Skip spaces at the boundary end
Vsevolod Stakhov [Mon, 27 Apr 2020 16:00:33 +0000 (17:00 +0100)]
[Fix] Skip spaces at the boundary end

4 years ago[Minor] Allow to disable logging for modules on reload
Vsevolod Stakhov [Mon, 27 Apr 2020 15:17:24 +0000 (16:17 +0100)]
[Minor] Allow to disable logging for modules on reload

4 years ago[Minor] Do not append unbalanced closing tags
Vsevolod Stakhov [Mon, 27 Apr 2020 15:03:45 +0000 (16:03 +0100)]
[Minor] Do not append unbalanced closing tags

4 years ago[Fix] Distinguish type from flags in register_symbol
Vsevolod Stakhov [Mon, 27 Apr 2020 12:26:09 +0000 (13:26 +0100)]
[Fix] Distinguish type from flags in register_symbol

4 years ago[Minor] Replies: Fix predicate
Vsevolod Stakhov [Mon, 27 Apr 2020 10:01:21 +0000 (11:01 +0100)]
[Minor] Replies: Fix predicate

4 years ago[fix] add support ElasticSearch>=7 for elastic module 3355/head
Gauthier C [Mon, 27 Apr 2020 09:14:10 +0000 (11:14 +0200)]
[fix] add support ElasticSearch>=7 for elastic module

Since version 7.x of ElasticSearch, logs type is not supported.

Close #3324

4 years agoMerge pull request #3346 from jendis/from_rules
Vsevolod Stakhov [Sun, 26 Apr 2020 20:17:51 +0000 (21:17 +0100)]
Merge pull request #3346 from jendis/from_rules

[Rules] Add FROM_INVALID and ENVFROM_INVALID rules

4 years agoMerge pull request #3344 from jendis/raw_envfrom
Vsevolod Stakhov [Sat, 25 Apr 2020 15:56:48 +0000 (16:56 +0100)]
Merge pull request #3344 from jendis/raw_envfrom

[Feature] extend lua api

4 years ago[Minor] Workaround for \0 character (poor API choice)
Vsevolod Stakhov [Fri, 24 Apr 2020 20:42:11 +0000 (21:42 +0100)]
[Minor] Workaround for \0 character (poor API choice)

4 years ago[Feature] Controller: Allow to pass query arguments to the lua webui plugins
Vsevolod Stakhov [Fri, 24 Apr 2020 20:29:11 +0000 (21:29 +0100)]
[Feature] Controller: Allow to pass query arguments to the lua webui plugins

4 years ago[Minor] Lua_ip: Add address comparison method
Vsevolod Stakhov [Fri, 24 Apr 2020 19:13:56 +0000 (20:13 +0100)]
[Minor] Lua_ip: Add address comparison method

4 years agoMerge pull request #3313 from arkamar/hiredis
Vsevolod Stakhov [Fri, 24 Apr 2020 14:08:40 +0000 (15:08 +0100)]
Merge pull request #3313 from arkamar/hiredis

Revert "[Fix] Fix hiredis stupidity" and use the hiredis api as intended

4 years ago[Minor] Replies: Check all recipients
Vsevolod Stakhov [Fri, 24 Apr 2020 14:07:51 +0000 (15:07 +0100)]
[Minor] Replies: Check all recipients

4 years ago[Minor] Replies: Use milliseconds resolution for expiration
Vsevolod Stakhov [Fri, 24 Apr 2020 11:57:42 +0000 (12:57 +0100)]
[Minor] Replies: Use milliseconds resolution for expiration

4 years ago[Minor] Selectors: Add scan_result extractor
Vsevolod Stakhov [Thu, 23 Apr 2020 15:13:26 +0000 (16:13 +0100)]
[Minor] Selectors: Add scan_result extractor

4 years ago[Minor] Lua_selectors: Add optional shadow result name
Vsevolod Stakhov [Thu, 23 Apr 2020 15:10:48 +0000 (16:10 +0100)]
[Minor] Lua_selectors: Add optional shadow result name

4 years ago[Minor] Lua_task: Add support of shadow results
Vsevolod Stakhov [Thu, 23 Apr 2020 15:07:52 +0000 (16:07 +0100)]
[Minor] Lua_task: Add support of shadow results