]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 years ago[Minor] lua_scanners - fix detected parts_match 3385/head
Carsten Rosenberg [Fri, 29 May 2020 20:43:59 +0000 (22:43 +0200)]
[Minor] lua_scanners - fix detected parts_match

4 years ago[Fix] Spamassassin: Rework metas processing
Vsevolod Stakhov [Wed, 27 May 2020 16:15:13 +0000 (17:15 +0100)]
[Fix] Spamassassin: Rework metas processing

4 years ago[Rework] Lua_task: Add more methods to deal with shadow results
Vsevolod Stakhov [Wed, 27 May 2020 15:52:33 +0000 (16:52 +0100)]
[Rework] Lua_task: Add more methods to deal with shadow results

4 years ago[Rework] Allow to specify exat metric result when adding a symbol
Vsevolod Stakhov [Wed, 27 May 2020 15:52:10 +0000 (16:52 +0100)]
[Rework] Allow to specify exat metric result when adding a symbol

4 years ago[Minor] PDF: Increase JS size limit for fuzzy hashes
Vsevolod Stakhov [Wed, 27 May 2020 15:14:31 +0000 (16:14 +0100)]
[Minor] PDF: Increase JS size limit for fuzzy hashes

4 years ago[Minor] Do not try to unpack streams with Predictor attribute
Vsevolod Stakhov [Wed, 27 May 2020 15:06:57 +0000 (16:06 +0100)]
[Minor] Do not try to unpack streams with Predictor attribute

4 years ago[Minor] Mime_types: Fix bad archive extension check if there are many files in an...
Vsevolod Stakhov [Tue, 26 May 2020 16:04:20 +0000 (17:04 +0100)]
[Minor] Mime_types: Fix bad archive extension check if there are many files in an archive

4 years ago[Minor] Mime_types: Fix FP with double dots
Vsevolod Stakhov [Tue, 26 May 2020 15:55:34 +0000 (16:55 +0100)]
[Minor] Mime_types: Fix FP with double dots

4 years ago[Minor] Fix some compile issues
Vsevolod Stakhov [Tue, 26 May 2020 13:02:29 +0000 (14:02 +0100)]
[Minor] Fix some compile issues

4 years ago[Minor] Add derive notice to contrib/google-ced
Vsevolod Stakhov [Tue, 26 May 2020 10:33:20 +0000 (11:33 +0100)]
[Minor] Add derive notice to contrib/google-ced

4 years ago[Rework] Use google-ced instead of libicu chardet as the former sucks
Vsevolod Stakhov [Tue, 26 May 2020 10:31:47 +0000 (11:31 +0100)]
[Rework] Use google-ced instead of libicu chardet as the former sucks

4 years ago[Minor] Properly register callback symbols
Vsevolod Stakhov [Tue, 26 May 2020 10:16:35 +0000 (11:16 +0100)]
[Minor] Properly register callback symbols

4 years ago[Minor] Allow to disable fuzzy rules
Vsevolod Stakhov [Mon, 25 May 2020 19:40:44 +0000 (20:40 +0100)]
[Minor] Allow to disable fuzzy rules

4 years ago[Minor] Improve dependencies logging
Vsevolod Stakhov [Mon, 25 May 2020 19:33:33 +0000 (20:33 +0100)]
[Minor] Improve dependencies logging

4 years agoMerge pull request #3380 from beatjoerg/fix-spamtrap-map-description
Vsevolod Stakhov [Mon, 25 May 2020 10:05:04 +0000 (11:05 +0100)]
Merge pull request #3380 from beatjoerg/fix-spamtrap-map-description

[Minor] Fix spamtrap map description

4 years ago[Minor] Fix spamtrap map description 3380/head
Beat Jörg [Mon, 25 May 2020 06:36:57 +0000 (08:36 +0200)]
[Minor] Fix spamtrap map description

String is not correctly interpolated. Shows %s in WebUI.

4 years ago[Minor] Fix pthreads linking
Vsevolod Stakhov [Sun, 24 May 2020 20:14:37 +0000 (21:14 +0100)]
[Minor] Fix pthreads linking

4 years agoMerge pull request #3379 from fatalbanana/2020052401
Vsevolod Stakhov [Sun, 24 May 2020 19:44:02 +0000 (20:44 +0100)]
Merge pull request #3379 from fatalbanana/2020052401

[Test] Settings: empty symbols_enabled / groups_enabled

4 years ago[Test] Empty symbols_enabled / groups_enabled 3379/head
Andrew Lewis [Sun, 24 May 2020 10:30:28 +0000 (12:30 +0200)]
[Test] Empty symbols_enabled / groups_enabled

4 years ago[Minor] Try to deal with empty symbols_enabled/disabled
Vsevolod Stakhov [Sat, 23 May 2020 19:47:54 +0000 (20:47 +0100)]
[Minor] Try to deal with empty symbols_enabled/disabled

4 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Fri, 22 May 2020 13:15:25 +0000 (14:15 +0100)]
[Minor] Pet luacheck

4 years ago[Feature] PDF: Add timeouts for expensive operations
Vsevolod Stakhov [Fri, 22 May 2020 13:02:26 +0000 (14:02 +0100)]
[Feature] PDF: Add timeouts for expensive operations

4 years ago[Minor] Add rules that observes limits in pdf files
Vsevolod Stakhov [Fri, 22 May 2020 12:02:32 +0000 (13:02 +0100)]
[Minor] Add rules that observes limits in pdf files

4 years ago[Feature] Improve limits in pdf scanning
Vsevolod Stakhov [Fri, 22 May 2020 12:02:16 +0000 (13:02 +0100)]
[Feature] Improve limits in pdf scanning

4 years ago[Minor] Add small sanity check to avoid extensive computations
Vsevolod Stakhov [Thu, 21 May 2020 16:26:47 +0000 (17:26 +0100)]
[Minor] Add small sanity check to avoid extensive computations

4 years ago[Minor] Trim array instead of skipping checks
Vsevolod Stakhov [Thu, 21 May 2020 13:35:43 +0000 (14:35 +0100)]
[Minor] Trim array instead of skipping checks

4 years ago[Minor] Clickhouse: Allow to have explicit order of extra columns
Vsevolod Stakhov [Thu, 21 May 2020 13:30:15 +0000 (14:30 +0100)]
[Minor] Clickhouse: Allow to have explicit order of extra columns

4 years ago[Fix] Fix aliases in forged recipients and limit number of iterations
Vsevolod Stakhov [Thu, 21 May 2020 13:14:08 +0000 (14:14 +0100)]
[Fix] Fix aliases in forged recipients and limit number of iterations

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