]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Mon, 5 Nov 2018 18:12:49 +0000 (18:12 +0000)]
[Minor] Do not bother about parts with no filename
Vsevolod Stakhov [Mon, 5 Nov 2018 18:11:56 +0000 (18:11 +0000)]
[Minor] Add mime traces
Vsevolod Stakhov [Mon, 5 Nov 2018 17:58:27 +0000 (17:58 +0000)]
[Minor] Add ID to mime parts
Vsevolod Stakhov [Mon, 5 Nov 2018 17:36:42 +0000 (17:36 +0000)]
[Minor] Store part data when making request to fuzzy
Vsevolod Stakhov [Mon, 5 Nov 2018 14:32:51 +0000 (14:32 +0000)]
[Minor] Add dependency on mime types
Vsevolod Stakhov [Mon, 5 Nov 2018 14:30:51 +0000 (14:30 +0000)]
[Project] Add logic to check content type
Vsevolod Stakhov [Sun, 4 Nov 2018 11:00:12 +0000 (11:00 +0000)]
[Feature] Ignore cookies in the future and too old in the past
Vsevolod Stakhov [Sun, 4 Nov 2018 10:52:49 +0000 (10:52 +0000)]
[Minor] Allow to print timestamp
Vsevolod Stakhov [Sun, 4 Nov 2018 10:52:35 +0000 (10:52 +0000)]
[Minor] Fix timestamp filling
Vsevolod Stakhov [Sun, 4 Nov 2018 10:47:35 +0000 (10:47 +0000)]
[Minor] Return cookie timestamp when decrypting
Vsevolod Stakhov [Sun, 4 Nov 2018 10:36:23 +0000 (10:36 +0000)]
[Feature] Add `rspamadm cookie` utility
Vsevolod Stakhov [Sun, 4 Nov 2018 10:01:41 +0000 (10:01 +0000)]
[Feature] Add support of cookies in replies module
Vsevolod Stakhov [Sun, 4 Nov 2018 10:00:52 +0000 (10:00 +0000)]
[Minor] Rework nonce structure for cookies
Vsevolod Stakhov [Sat, 3 Nov 2018 13:05:19 +0000 (13:05 +0000)]
[Feature] Allow to create lua regexps from glob or plain patterns
Vsevolod Stakhov [Fri, 2 Nov 2018 19:09:43 +0000 (19:09 +0000)]
[Fix] Fix urls insertion in Clickhouse module
Vsevolod Stakhov [Fri, 2 Nov 2018 15:00:30 +0000 (15:00 +0000)]
[Project] Add images check logic
Vsevolod Stakhov [Fri, 2 Nov 2018 09:53:52 +0000 (09:53 +0000)]
[Project] Add logic for checking of the text parts
Vsevolod Stakhov [Fri, 2 Nov 2018 09:39:29 +0000 (09:39 +0000)]
[Minor] Disable useless noisy warning
Vsevolod Stakhov [Thu, 1 Nov 2018 17:20:23 +0000 (17:20 +0000)]
[Project] Initial addition of lua helpers for fuzzy
Vsevolod Stakhov [Thu, 1 Nov 2018 17:16:08 +0000 (17:16 +0000)]
[Minor] Remove unused macros
Vsevolod Stakhov [Thu, 1 Nov 2018 12:18:09 +0000 (12:18 +0000)]
[Minor] Remove redundant refcount increase
Vsevolod Stakhov [Wed, 31 Oct 2018 22:36:29 +0000 (22:36 +0000)]
[Fix] Restore URLs exporting in ClickHouse plugin
Vsevolod Stakhov [Wed, 31 Oct 2018 21:35:27 +0000 (21:35 +0000)]
[Minor] Ignore skipped tasks
TODO: write a generic framework for that stuff
Vsevolod Stakhov [Wed, 31 Oct 2018 10:08:28 +0000 (10:08 +0000)]
[Minor] Fix symbol usage in reputation plugin
Vsevolod Stakhov [Tue, 30 Oct 2018 21:12:21 +0000 (21:12 +0000)]
Merge pull request #2618 from moisseev/ci
[Test] Add test for composites with symbol groups
Vsevolod Stakhov [Tue, 30 Oct 2018 21:12:01 +0000 (21:12 +0000)]
Merge pull request #2619 from citrin/fedora-clang
Test build with clang
Alexander Moisseev [Tue, 30 Oct 2018 18:56:22 +0000 (21:56 +0300)]
[Test] Add test for composites with symbol groups
Anton Yuzhaninov [Tue, 30 Oct 2018 19:38:12 +0000 (15:38 -0400)]
Turn off TORCH for clang build
It turned out that clang significantly slower than gcc on rspamd code
(at least with -O0). Switch off torch to decrease build time.
Anton Yuzhaninov [Tue, 30 Oct 2018 19:12:18 +0000 (15:12 -0400)]
Remove unused function
gboolean support was removed in commit
91287bb8407e3b9022bc663b07870510aedabbc3 .
Anton Yuzhaninov [Tue, 30 Oct 2018 18:51:12 +0000 (14:51 -0400)]
Enable clang plugin
Build clang plugin and use it to check rspamd printf-like functions
(rspamd_printf, rspamd_fprintf, rspamd_default_log_function, e.t.c).
Anton Yuzhaninov [Tue, 30 Oct 2018 18:45:51 +0000 (14:45 -0400)]
Don't use LLVM_CXX_FLAGS/LLVM_C_FLAGS
llvm-config --cxxflags shows CFLAGS used to compile clang. If clang
installed from package and package was build using GCC then it will
contain GCC specific flags. In case of clang installed as RPM packge
-specs= flags also added. There is not point to use them to
compile plugin. For now hardcode flags in clang-plugin/CMakeLists.txt
Add -O2 - we want plugin to work fast even if we to compiling rspamd
code with -O0.
Vsevolod Stakhov [Tue, 30 Oct 2018 16:23:21 +0000 (16:23 +0000)]
[Minor] Fix expiry config overriding
Vsevolod Stakhov [Tue, 30 Oct 2018 16:23:02 +0000 (16:23 +0000)]
Merge pull request #2617 from moisseev/ci
[Test] Add composites test
Alexander Moisseev [Tue, 30 Oct 2018 06:51:32 +0000 (09:51 +0300)]
[Test] Add composites test
Vsevolod Stakhov [Tue, 30 Oct 2018 15:26:49 +0000 (15:26 +0000)]
[Minor] Do not parse raw regexp for explicitly utf expressions
Vsevolod Stakhov [Tue, 30 Oct 2018 15:17:22 +0000 (15:17 +0000)]
Merge pull request #2614 from citrin/remove-libnsl-dependency
Stop linking with -lnsl on Linux
Vsevolod Stakhov [Tue, 30 Oct 2018 14:49:09 +0000 (14:49 +0000)]
[Feature] Detect orphaned parts and attach them to message
Anton Yuzhaninov [Tue, 30 Oct 2018 03:33:36 +0000 (23:33 -0400)]
Don't set PREFIX variable in cmake
As I can see this variable is not used by rspamd build system. Remove it
because setting it causes a lot of warning with
-DENABLE_CLANG_PLUGIN=ON - PREFIX variable is not documented but used by
cmake internally.
Anton Yuzhaninov [Tue, 30 Oct 2018 01:24:16 +0000 (21:24 -0400)]
build with -O0
Compilation with -O2/-O3 is slow.
Anton Yuzhaninov [Tue, 30 Oct 2018 00:51:31 +0000 (20:51 -0400)]
Build with clang
Anton Yuzhaninov [Mon, 29 Oct 2018 22:45:11 +0000 (18:45 -0400)]
Stop linking with -lnsl on Linux
As far as I know on Linux libnsl is used only for NIS/NIS+ support.
It is highly unlikey that Rspamd users use NIS in 2018.
Keep linking with libnsl on Solaris - there it is likely needed even if
NIS is not used.
Vsevolod Stakhov [Mon, 29 Oct 2018 17:49:46 +0000 (17:49 +0000)]
[Minor] Ops, fix symbol name
Vsevolod Stakhov [Mon, 29 Oct 2018 17:41:17 +0000 (17:41 +0000)]
[Conf] Add DWL support in the default configuration
Vsevolod Stakhov [Mon, 29 Oct 2018 17:35:18 +0000 (17:35 +0000)]
[Fix] Fix DKIM based RBLs
Vsevolod Stakhov [Mon, 29 Oct 2018 16:51:39 +0000 (16:51 +0000)]
[Rules] Add LEAKED_PASSWORD_SCAM rule
Vsevolod Stakhov [Mon, 29 Oct 2018 13:19:14 +0000 (13:19 +0000)]
[Rework] Change time handling
Vsevolod Stakhov [Mon, 29 Oct 2018 13:04:48 +0000 (13:04 +0000)]
[Minor] Fix deps
Vsevolod Stakhov [Mon, 29 Oct 2018 12:58:58 +0000 (12:58 +0000)]
[Project] Rework dynamic parts of symcache items
Vsevolod Stakhov [Mon, 29 Oct 2018 12:22:46 +0000 (12:22 +0000)]
[Project] Another rework for symbols cache
Vsevolod Stakhov [Mon, 29 Oct 2018 10:04:39 +0000 (10:04 +0000)]
[Minor] g_abort requires quite a recent glib
Vsevolod Stakhov [Sun, 28 Oct 2018 11:38:54 +0000 (11:38 +0000)]
[Minor] Fix dependencies resolution
Vsevolod Stakhov [Sun, 28 Oct 2018 10:32:51 +0000 (10:32 +0000)]
[Minor] Sigh, another issue with classifier pseudo-filter
Vsevolod Stakhov [Sun, 28 Oct 2018 10:25:13 +0000 (10:25 +0000)]
Merge pull request #2612 from citrin/luacov-merge
Speedup lua coverage collecting for functional test
Vsevolod Stakhov [Sun, 28 Oct 2018 10:21:21 +0000 (10:21 +0000)]
[Minor] Another hack for classifiers
Vsevolod Stakhov [Sun, 28 Oct 2018 10:17:34 +0000 (10:17 +0000)]
[Minor] Allow to add conditions for bayes symbol
Anton Yuzhaninov [Sat, 27 Oct 2018 21:22:40 +0000 (17:22 -0400)]
Sync lua coverage with .drone.yml
Vsevolod Stakhov [Sat, 27 Oct 2018 17:55:44 +0000 (18:55 +0100)]
[Minor] Convert some enums to static macros
Anton Yuzhaninov [Sat, 27 Oct 2018 17:18:04 +0000 (13:18 -0400)]
Speedup lua coverage collecting for functional test
luacov-coveralls merge mode (-j flag) was created to join reports
containing coverage for different source files (e.g. C and Lua code).
Coverage for the same file in two report is not merged, instead one
source file is added several times to source_files array in JSON. As
a result if we use luacov-coveralls -j on report for same source files
it ends up spending a lot of time on parsing and dumping big JSON files.
This change reduces functional test time from 7+ minutes to 4+ minutes.
Vsevolod Stakhov [Sat, 27 Oct 2018 17:18:00 +0000 (18:18 +0100)]
[Feature] Allow to add 3rd party clang plugins
Vsevolod Stakhov [Sat, 27 Oct 2018 17:03:27 +0000 (18:03 +0100)]
[Minor] Fix format strings
Vsevolod Stakhov [Sat, 27 Oct 2018 16:56:47 +0000 (17:56 +0100)]
[Fix] Remove ambigious format flag from printf
Vsevolod Stakhov [Sat, 27 Oct 2018 16:41:06 +0000 (17:41 +0100)]
[Minor] Fix LLVM detection
Vsevolod Stakhov [Sat, 27 Oct 2018 14:23:40 +0000 (15:23 +0100)]
[Fix] Fix squeezed symbols when using settings
Vsevolod Stakhov [Fri, 26 Oct 2018 16:09:58 +0000 (17:09 +0100)]
[Minor] Various fixes around async events
Vsevolod Stakhov [Fri, 26 Oct 2018 15:37:28 +0000 (16:37 +0100)]
[Minor] Improve debugging for lua squeeze
Vsevolod Stakhov [Fri, 26 Oct 2018 15:22:17 +0000 (16:22 +0100)]
[Minor] Improve debug traces for async events
Vsevolod Stakhov [Fri, 26 Oct 2018 15:06:12 +0000 (16:06 +0100)]
[Rework] Add more traces to async events, get rid of GQuarks
Vsevolod Stakhov [Fri, 26 Oct 2018 14:30:10 +0000 (15:30 +0100)]
[Minor] Fix variable name
Vsevolod Stakhov [Fri, 26 Oct 2018 14:27:47 +0000 (15:27 +0100)]
[Minor] Fix var name
Vsevolod Stakhov [Fri, 26 Oct 2018 14:25:41 +0000 (15:25 +0100)]
[Rework] Completely rework symbols cache management
Vsevolod Stakhov [Fri, 26 Oct 2018 13:17:17 +0000 (14:17 +0100)]
[Minor] Add more attributes
Vsevolod Stakhov [Fri, 26 Oct 2018 13:08:49 +0000 (14:08 +0100)]
[Minor] Add specific attributes to mempool functions
Vsevolod Stakhov [Thu, 25 Oct 2018 16:24:18 +0000 (17:24 +0100)]
[Minor] Try harder to track DNS based chaining
Vsevolod Stakhov [Thu, 25 Oct 2018 16:08:52 +0000 (17:08 +0100)]
[Minor] Fix lua warnings
Vsevolod Stakhov [Thu, 25 Oct 2018 13:22:20 +0000 (14:22 +0100)]
[Minor] Fix configwizard behaviour when DB is empty
Vsevolod Stakhov [Thu, 25 Oct 2018 13:22:06 +0000 (14:22 +0100)]
[Minor] Fix debugm logic
Vsevolod Stakhov [Thu, 25 Oct 2018 13:21:42 +0000 (14:21 +0100)]
[Minor] Add ability to debug lua redis calls
Vsevolod Stakhov [Thu, 25 Oct 2018 13:21:27 +0000 (14:21 +0100)]
[Minor] Fix error callback invocation
Vsevolod Stakhov [Thu, 25 Oct 2018 12:30:22 +0000 (13:30 +0100)]
[Minor] Remove assertion as this case can actually happen
Vsevolod Stakhov [Thu, 25 Oct 2018 11:25:10 +0000 (12:25 +0100)]
[Minor] Remove last elt optimization for now
Vsevolod Stakhov [Thu, 25 Oct 2018 09:56:32 +0000 (10:56 +0100)]
Merge pull request #2610 from citrin/functional-test-fix
Fix test case: Cases.210 Clickhouse.001
Vsevolod Stakhov [Thu, 25 Oct 2018 09:56:10 +0000 (10:56 +0100)]
Merge pull request #2607 from citrin/drone_improvements
Run GDB on cores dumped by functional test
Vsevolod Stakhov [Thu, 25 Oct 2018 09:47:19 +0000 (10:47 +0100)]
Merge pull request #2609 from HeinleinSupport/master
[Fix] Antivirus - virus names with 0 were recognized as tables
Anton Yuzhaninov [Thu, 25 Oct 2018 01:08:31 +0000 (21:08 -0400)]
TCP Connect robot keyword
* reduce timeout to a reasonable value
* explicitly close socket, don't wait for GC
Anton Yuzhaninov [Thu, 25 Oct 2018 00:16:50 +0000 (20:16 -0400)]
Filter Wait Until Keyword Succeeds in robot log
Remove all but the last failing keyword inside `BuiltIn.Wait Until
Keyword Succeeds` to reduce amount of useless information in robot log.
Anton Yuzhaninov [Thu, 25 Oct 2018 00:13:58 +0000 (20:13 -0400)]
Filter Wait Until Keyword Succeeds in robot log
Remove all but the last failing keyword inside `BuiltIn.Wait Until
Keyword Succeeds` to reduse amount of useless inforamtion in robot log.
Anton Yuzhaninov [Thu, 25 Oct 2018 00:10:14 +0000 (20:10 -0400)]
Fix race in Cases.210 Clickhouse.001
Clickhouse test sometimes fails with an error:
ConnectionError: HTTPConnectionPool(host='localhost', port=18123): Max retries exceeded with url: /?default_format=JSONEachRow (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f40ad96fdd0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Fix this by waiting for TCP port instead pid file.
Anton Yuzhaninov [Wed, 24 Oct 2018 22:46:11 +0000 (18:46 -0400)]
Add variable for clickhouse port
Carsten Rosenberg [Wed, 24 Oct 2018 20:25:10 +0000 (22:25 +0200)]
[FIX] Antivirus - virus names #2
Carsten Rosenberg [Wed, 24 Oct 2018 20:13:36 +0000 (22:13 +0200)]
[Fix] Antivirus - virus names with 0 were recognized as tables
Vsevolod Stakhov [Wed, 24 Oct 2018 17:26:07 +0000 (18:26 +0100)]
[Minor] Some fixes in surbl module events processing
Vsevolod Stakhov [Wed, 24 Oct 2018 15:34:33 +0000 (16:34 +0100)]
[Minor] Avoid double quoting
Vsevolod Stakhov [Wed, 24 Oct 2018 15:13:32 +0000 (16:13 +0100)]
[Minor] Optimize symbols execution
Vsevolod Stakhov [Wed, 24 Oct 2018 12:41:51 +0000 (13:41 +0100)]
[Minor] Restore item when pushing redis result
Vsevolod Stakhov [Wed, 24 Oct 2018 09:54:50 +0000 (10:54 +0100)]
[Minor] Add safety guards for fuzzy checks
Vsevolod Stakhov [Wed, 24 Oct 2018 09:30:38 +0000 (10:30 +0100)]
[Minor] Fix dns resolve with no current item
Vsevolod Stakhov [Tue, 23 Oct 2018 18:50:30 +0000 (19:50 +0100)]
[Feature] Add specialised functions for generating encrypted cookies
Anton Yuzhaninov [Tue, 23 Oct 2018 17:36:22 +0000 (13:36 -0400)]
gdb invocation nitpick
* pagination is disabled by --batch
* use options order like in gdb docs
Anton Yuzhaninov [Tue, 23 Oct 2018 17:35:11 +0000 (13:35 -0400)]
Merge branch 'master' into drone_improvements
Anton Yuzhaninov [Tue, 23 Oct 2018 17:26:32 +0000 (13:26 -0400)]
Print backtrace for cores dumped by functional test