]> source.dussan.org Git - rspamd.git/log
rspamd.git
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 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

4 years ago[Minor] Prevent controller results from being cached
Vsevolod Stakhov [Wed, 22 Apr 2020 10:23:53 +0000 (11:23 +0100)]
[Minor] Prevent controller results from being cached

Issue: #3330

4 years agoMerge pull request #3345 from jendis/fix_3249
Vsevolod Stakhov [Wed, 22 Apr 2020 09:53:46 +0000 (10:53 +0100)]
Merge pull request #3345 from jendis/fix_3249

[Fix] Url_redirector: fix issue #3249

4 years ago[Minor] Fix the case of empty flags :(
Vsevolod Stakhov [Tue, 21 Apr 2020 18:52:01 +0000 (19:52 +0100)]
[Minor] Fix the case of empty flags :(

4 years ago[Rework] Further rework of lua urls extraction API
Vsevolod Stakhov [Tue, 21 Apr 2020 15:07:40 +0000 (16:07 +0100)]
[Rework] Further rework of lua urls extraction API

4 years ago[Minor] Add lua_geti compat method
Vsevolod Stakhov [Tue, 21 Apr 2020 15:07:25 +0000 (16:07 +0100)]
[Minor] Add lua_geti compat method

4 years ago[Minor] Amend doc string
Vsevolod Stakhov [Tue, 21 Apr 2020 13:34:31 +0000 (14:34 +0100)]
[Minor] Amend doc string

4 years ago[Minor] Set content flag on urls extracted from pdf
Vsevolod Stakhov [Tue, 21 Apr 2020 13:33:40 +0000 (14:33 +0100)]
[Minor] Set content flag on urls extracted from pdf

4 years ago[Rework] Rework url flags handling API
Vsevolod Stakhov [Tue, 21 Apr 2020 13:27:20 +0000 (14:27 +0100)]
[Rework] Rework url flags handling API

4 years ago[Fix] #3249 3345/head
Jan Smutny [Tue, 21 Apr 2020 12:37:19 +0000 (14:37 +0200)]
[Fix] #3249

4 years ago[Rework] Rework urls extraction
Vsevolod Stakhov [Tue, 21 Apr 2020 12:09:16 +0000 (13:09 +0100)]
[Rework] Rework urls extraction

4 years ago[Feature] extend lua api 3344/head
Jan Smutny [Sun, 19 Apr 2020 21:32:30 +0000 (23:32 +0200)]
[Feature] extend lua api

add new value accessible by key 'raw' to the table returned by util:parse_mail_address and task:get_from

4 years ago[Minor] Oops, fix test
Vsevolod Stakhov [Mon, 20 Apr 2020 19:39:36 +0000 (20:39 +0100)]
[Minor] Oops, fix test

4 years ago[Minor] Rbl: Adjust whitelisting one more time
Vsevolod Stakhov [Mon, 20 Apr 2020 19:28:59 +0000 (20:28 +0100)]
[Minor] Rbl: Adjust whitelisting one more time

4 years ago[Fix] Rbl: Fix ignore_defaults in conjunction with ignore_whitelists
Vsevolod Stakhov [Mon, 20 Apr 2020 15:52:30 +0000 (16:52 +0100)]
[Fix] Rbl: Fix ignore_defaults in conjunction with ignore_whitelists

4 years ago[Minor] Erm, forgot one more place to debug
Vsevolod Stakhov [Mon, 20 Apr 2020 15:27:25 +0000 (16:27 +0100)]
[Minor] Erm, forgot one more place to debug

4 years ago[Minor] Add more whitelists debugging
Vsevolod Stakhov [Mon, 20 Apr 2020 15:22:54 +0000 (16:22 +0100)]
[Minor] Add more whitelists debugging

4 years agoMerge pull request #3343 from chkpnt/dschung/luacheck
Vsevolod Stakhov [Sun, 19 Apr 2020 20:27:43 +0000 (21:27 +0100)]
Merge pull request #3343 from chkpnt/dschung/luacheck

[Minor] Pet luacheck

4 years agoMerge pull request #3342 from chkpnt/dschung/fix-reject-mail-message
Vsevolod Stakhov [Sun, 19 Apr 2020 20:27:11 +0000 (21:27 +0100)]
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

4 years ago[Minor] Pet luacheck 3343/head
Gregor Dschung [Sun, 19 Apr 2020 09:13:55 +0000 (11:13 +0200)]
[Minor] Pet luacheck

4 years ago[Fix] Do not flag pre-result of virus scanners as least if action is reject 3342/head
Gregor Dschung [Sun, 19 Apr 2020 08:33:17 +0000 (10:33 +0200)]
[Fix] Do not flag pre-result of virus scanners as least if action is reject

fixes #3279

4 years agorules/headers_checks.lua: add [ENV]FROM_INVALID 3346/head
Jan Smutny [Sat, 18 Apr 2020 22:20:32 +0000 (00:20 +0200)]
rules/headers_checks.lua: add [ENV]FROM_INVALID

4 years agorules/headers_checks.lua: make CHECK_FROM callback a bit more efficient
Jan Smutny [Sat, 18 Apr 2020 19:17:06 +0000 (21:17 +0200)]
rules/headers_checks.lua: make CHECK_FROM callback a bit more efficient

4 years ago[Minor] Link libicu to replxx
Vsevolod Stakhov [Sat, 18 Apr 2020 19:32:00 +0000 (20:32 +0100)]
[Minor] Link libicu to replxx

4 years agoMerge pull request #3336 from rm-minus-rf/master
Vsevolod Stakhov [Sat, 18 Apr 2020 09:19:05 +0000 (10:19 +0100)]
Merge pull request #3336 from rm-minus-rf/master

[Feature] allow variables in force_actions messages

4 years ago[Minor] selectors: cleaner symbol extractor 3336/head
rm-minus-rf [Fri, 17 Apr 2020 22:17:29 +0000 (00:17 +0200)]
[Minor] selectors: cleaner symbol extractor

'symbol' extractor returns a table
'to_ascii' transform can handle tables

4 years agoMerge pull request #3341 from jendis/fix_lua_api
Vsevolod Stakhov [Fri, 17 Apr 2020 15:32:27 +0000 (16:32 +0100)]
Merge pull request #3341 from jendis/fix_lua_api

[Minor] Improve lua api

4 years agosrc/lua/lua_util.c: remove unused function 3341/head
Jan Smutny [Fri, 17 Apr 2020 15:31:50 +0000 (17:31 +0200)]
src/lua/lua_util.c: remove unused function

4 years ago[Rework] add alias util:parse_addr for util:parse_mail_address
Jan Smutny [Fri, 17 Apr 2020 13:28:37 +0000 (15:28 +0200)]
[Rework] add alias util:parse_addr for util:parse_mail_address

4 years ago[Rework] get rid of util:parse_addr duplicating the util:parse_mail_address, replace...
Jan Smutny [Fri, 17 Apr 2020 11:50:50 +0000 (13:50 +0200)]
[Rework] get rid of util:parse_addr duplicating the util:parse_mail_address, replace where used

4 years ago[Minor] complete comment part of util:parse_addr and util:parse_mail_address method
Jan Smutny [Fri, 17 Apr 2020 11:38:38 +0000 (13:38 +0200)]
[Minor] complete comment part of util:parse_addr and util:parse_mail_address method

4 years ago[Minor] complete doc part of task:get_from method
Jan Smutny [Fri, 17 Apr 2020 09:23:22 +0000 (11:23 +0200)]
[Minor] complete doc part of task:get_from method