]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Sat, 18 Jan 2020 09:45:20 +0000 (09:45 +0000)]
[Minor] Check type of resources
Vsevolod Stakhov [Fri, 17 Jan 2020 16:18:15 +0000 (16:18 +0000)]
Merge pull request #3224 from korgoth1/master
[Test] excluding external relay ip example from spf.conf
Vsevolod Stakhov [Fri, 17 Jan 2020 16:05:43 +0000 (16:05 +0000)]
Merge pull request #3220 from cgzones/compiler_warnings
[Minor] Fix some compiler warnings
Vsevolod Stakhov [Fri, 17 Jan 2020 15:00:54 +0000 (15:00 +0000)]
[Minor] Another try to fix shifting
Vsevolod Stakhov [Fri, 17 Jan 2020 13:10:58 +0000 (13:10 +0000)]
[Minor] Fix race condition in slow timer
Vsevolod Stakhov [Fri, 17 Jan 2020 13:01:25 +0000 (13:01 +0000)]
[Minor] Another try to fix urls shifting when decoding
Vsevolod Stakhov [Fri, 17 Jan 2020 12:39:49 +0000 (12:39 +0000)]
[Minor] Reset slow flag on checks pause
korgoth1 [Fri, 17 Jan 2020 12:25:41 +0000 (15:25 +0300)]
[Test] excluding external relay ip example from spf.conf
Vsevolod Stakhov [Fri, 17 Jan 2020 11:32:44 +0000 (11:32 +0000)]
[Minor] Forgot in the previous commit
Vsevolod Stakhov [Fri, 17 Jan 2020 10:24:08 +0000 (10:24 +0000)]
Merge pull request #3223 from moisseev/webui
[WebUI] Update favicon
Vsevolod Stakhov [Fri, 17 Jan 2020 10:20:22 +0000 (10:20 +0000)]
[Minor] Postpone log closing unless we have opened a new one
Vsevolod Stakhov [Thu, 16 Jan 2020 20:04:11 +0000 (20:04 +0000)]
Merge pull request #3215 from korgoth1/master
[Feature] SPF: Convert external IP to a map
Christian Göttsche [Thu, 16 Jan 2020 14:09:46 +0000 (15:09 +0100)]
[Minor] do not pass invalid C warnings to C++ flags
cc1plus: warning: command line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
Christian Göttsche [Thu, 16 Jan 2020 14:36:53 +0000 (15:36 +0100)]
[Minor] use modern name -Wextra instead of -W
Christian Göttsche [Thu, 16 Jan 2020 14:01:19 +0000 (15:01 +0100)]
[Minor] silence redefinition of macro
[74/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpprint.c.o
In file included from ../contrib/lua-lpeg/lpprint.c:11:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
15 | #define NDEBUG
|
<command-line>: note: this is the location of the previous definition
[75/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpcap.c.o
In file included from ../contrib/lua-lpeg/lpcap.h:9,
from ../contrib/lua-lpeg/lpcap.c:9:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
15 | #define NDEBUG
|
<command-line>: note: this is the location of the previous definition
[77/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpvm.c.o
In file included from ../contrib/lua-lpeg/lpcap.h:9,
from ../contrib/lua-lpeg/lpvm.c:15:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
15 | #define NDEBUG
|
<command-line>: note: this is the location of the previous definition
[79/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lpcode.c.o
In file included from ../contrib/lua-lpeg/lpcode.c:12:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
15 | #define NDEBUG
|
<command-line>: note: this is the location of the previous definition
[81/340] Building C object contrib/lua-lpeg/CMakeFiles/rspamd-lpeg.dir/lptree.c.o
In file included from ../contrib/lua-lpeg/lptree.c:15:
../contrib/lua-lpeg/lptypes.h:15: warning: "NDEBUG" redefined
15 | #define NDEBUG
|
<command-line>: note: this is the location of the previous definition
Christian Göttsche [Thu, 16 Jan 2020 13:57:46 +0000 (14:57 +0100)]
[Minor] silence -Wmisleading-indentation in contrib/snowball/
../contrib/snowball/compiler/analyser.c: In function ‘check_name_type’:
../contrib/snowball/compiler/analyser.c:210:19: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
210 | case 'r': if (p->type == t_routine ||
| ^~
../contrib/snowball/compiler/analyser.c:211:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
211 | p->type == t_external) return; break;
| ^~~~~
../contrib/snowball/compiler/analyser.c: In function ‘read_program’:
../contrib/snowball/compiler/analyser.c:859:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
859 | if (q->used && q->definition == 0) error4(a, q); break;
| ^~
../contrib/snowball/compiler/analyser.c:859:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
859 | if (q->used && q->definition == 0) error4(a, q); break;
| ^~~~~
../contrib/snowball/compiler/analyser.c:861:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
861 | if (q->used && q->grouping == 0) error4(a, q); break;
| ^~
../contrib/snowball/compiler/analyser.c:861:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
861 | if (q->used && q->grouping == 0) error4(a, q); break;
| ^~~~~
korgoth1 [Thu, 16 Jan 2020 18:35:21 +0000 (21:35 +0300)]
[Test] SPF external IP map
moisseev [Thu, 16 Jan 2020 18:09:17 +0000 (21:09 +0300)]
[WebUI] Update favicon
Issue #3207
Vsevolod Stakhov [Thu, 16 Jan 2020 17:20:18 +0000 (17:20 +0000)]
[Minor] Lua_task: Remove unused crap
Issue: #3220
Vsevolod Stakhov [Thu, 16 Jan 2020 15:54:32 +0000 (15:54 +0000)]
Merge pull request #3219 from cgzones/interface_cruft
[Minor] remove cruft files from webui
Vsevolod Stakhov [Thu, 16 Jan 2020 15:53:59 +0000 (15:53 +0000)]
Merge pull request #3218 from cgzones/no_replxx
[Minor] fix compilation without replxx
Vsevolod Stakhov [Thu, 16 Jan 2020 15:53:21 +0000 (15:53 +0000)]
Merge pull request #3217 from cgzones/exampledir
[Minor] remove unused examplesdir
Vsevolod Stakhov [Thu, 16 Jan 2020 15:52:21 +0000 (15:52 +0000)]
Merge pull request #3216 from cgzones/spellings
[Minor] fix spelling
Christian Göttsche [Thu, 16 Jan 2020 15:05:48 +0000 (16:05 +0100)]
[Minor] fix spelling
Christian Göttsche [Thu, 16 Jan 2020 15:02:58 +0000 (16:02 +0100)]
[Minor] remove unused examplesdir
Christian Göttsche [Thu, 16 Jan 2020 14:57:46 +0000 (15:57 +0100)]
[Minor] fix compilation without replxx
../src/rspamadm/lua_repl.c: In function ‘rspamadm_lua_run_repl’:
../src/rspamadm/lua_repl.c:615:8: warning: unused variable ‘i’ [-Wunused-variable]
615 | gsize i;
| ^
../src/rspamadm/lua_repl.c:614:11: warning: unused variable ‘tb’ [-Wunused-variable]
614 | GString *tb = NULL;
| ^~
../src/rspamadm/lua_repl.c:613:11: warning: unused variable ‘is_multiline’ [-Wunused-variable]
613 | gboolean is_multiline = FALSE;
| ^~~~~~~~~~~~
../src/rspamadm/lua_repl.c: In function ‘rspamadm_lua’:
../src/rspamadm/lua_repl.c:1007:3: warning: implicit declaration of function ‘replxx_set_max_history_size’ [-Wimplicit-function-declaration]
1007 | replxx_set_max_history_size (rx_instance, max_history);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/rspamadm/lua_repl.c:1007:32: error: ‘rx_instance’ undeclared (first use in this function)
1007 | replxx_set_max_history_size (rx_instance, max_history);
| ^~~~~~~~~~~
../src/rspamadm/lua_repl.c:1007:32: note: each undeclared identifier is reported only once for each function it appears in
../src/rspamadm/lua_repl.c:1008:3: warning: implicit declaration of function ‘replxx_history_load’ [-Wimplicit-function-declaration]
1008 | replxx_history_load (rx_instance, histfile);
| ^~~~~~~~~~~~~~~~~~~
../src/rspamadm/lua_repl.c:1010:3: warning: implicit declaration of function ‘replxx_history_save’ [-Wimplicit-function-declaration]
1010 | replxx_history_save (rx_instance, histfile);
| ^~~~~~~~~~~~~~~~~~~
Christian Göttsche [Thu, 16 Jan 2020 14:53:28 +0000 (15:53 +0100)]
[Minor] remove cruft files from webui
korgoth1 [Thu, 16 Jan 2020 12:59:23 +0000 (15:59 +0300)]
[Test] SPF external IP map
Vsevolod Stakhov [Thu, 16 Jan 2020 12:55:24 +0000 (12:55 +0000)]
[Minor] Check string length to avoid OOB reading
Vsevolod Stakhov [Thu, 16 Jan 2020 12:30:16 +0000 (12:30 +0000)]
Merge pull request #3153 from resec/smembers
[Minor] Eliminate redis SMEMBERS usage
Vsevolod Stakhov [Thu, 16 Jan 2020 12:24:35 +0000 (12:24 +0000)]
Merge pull request #3214 from Lekensteyn/fix-dkim-policy-check
[Minor] Dkim_signing: correct is_skip_sign logic
Vsevolod Stakhov [Thu, 16 Jan 2020 12:23:44 +0000 (12:23 +0000)]
[Project] Lua_content: Add preliminary fonts handling
Vsevolod Stakhov [Thu, 16 Jan 2020 12:13:35 +0000 (12:13 +0000)]
[Minor] Try to fix slow timer race condition
korgoth1 [Thu, 16 Jan 2020 12:06:54 +0000 (15:06 +0300)]
[Test] SPF external IP map
Peter Wu [Thu, 16 Jan 2020 01:11:49 +0000 (01:11 +0000)]
[Minor] Dkim_signing: correct is_skip_sign logic
If any of "sign_networks", "auth_only", or "sign_local" are disabled,
then it should not automatically proceed with signing if the enabled
conditions all fail. For example, if only the auth_only setting is
enabled, and is_authed is false, then signing should be skipped.
An earlier check luckily prevents this correctness issue from being
exploitable ("ignoring unauthenticated mail"), but fix the logic anyway.
korgoth1 [Wed, 15 Jan 2020 20:39:24 +0000 (23:39 +0300)]
[Test] SPF external IP map
korgoth1 [Wed, 15 Jan 2020 20:35:46 +0000 (23:35 +0300)]
[Test] SPF external IP map
Vsevolod Stakhov [Wed, 15 Jan 2020 11:21:56 +0000 (11:21 +0000)]
[Fix] Fix urls shifting when doing decode to include separators
Vsevolod Stakhov [Wed, 15 Jan 2020 10:55:23 +0000 (10:55 +0000)]
Merge pull request #3213 from citrin/url-frag-test
[Test] Add a test case for URL parsing
Vsevolod Stakhov [Wed, 15 Jan 2020 10:21:48 +0000 (10:21 +0000)]
[Minor] Just another try to avoid race
Anton Yuzhaninov [Tue, 14 Jan 2020 16:31:13 +0000 (16:31 +0000)]
[Test] Add a test case for URL parsing
Currently it fails because fragment is not extracted correctly.
Vsevolod Stakhov [Tue, 14 Jan 2020 16:16:39 +0000 (16:16 +0000)]
[Project] Lua_content: Implement url's extraction from PDF files
Vsevolod Stakhov [Tue, 14 Jan 2020 15:01:38 +0000 (15:01 +0000)]
[Project] Lua_content: Implement ObjStm decoding
Vsevolod Stakhov [Tue, 14 Jan 2020 10:26:15 +0000 (10:26 +0000)]
Merge pull request #3212 from moisseev/patch-1
[Minor] bayes_expiry: Fix type check (https://github.com/antirez/redis/issues/3231)
Alexander Moisseev [Tue, 14 Jan 2020 08:13:08 +0000 (11:13 +0300)]
[Minor] bayes_expiry: Fix type check
Vsevolod Stakhov [Mon, 13 Jan 2020 21:50:25 +0000 (21:50 +0000)]
[Project] Lua_content: Add preliminary support of compound objects
Vsevolod Stakhov [Mon, 13 Jan 2020 21:37:59 +0000 (21:37 +0000)]
[Minor] Lua_text: Set class properly
Vsevolod Stakhov [Mon, 13 Jan 2020 19:59:48 +0000 (19:59 +0000)]
[Project] Lua_content: Massive rework of the parsing structure
Vsevolod Stakhov [Mon, 13 Jan 2020 17:47:12 +0000 (17:47 +0000)]
[Minor] Lua_content: Similar hang fix
Vsevolod Stakhov [Mon, 13 Jan 2020 17:23:25 +0000 (17:23 +0000)]
[Minor] Lua_content: Fix some more crappy pdf issues
Vsevolod Stakhov [Mon, 13 Jan 2020 17:05:07 +0000 (17:05 +0000)]
[Minor] Lua_content: Fix hang
Vsevolod Stakhov [Mon, 13 Jan 2020 13:58:42 +0000 (13:58 +0000)]
[Fix] Fix urls encode function
Vsevolod Stakhov [Mon, 13 Jan 2020 13:16:30 +0000 (13:16 +0000)]
[Fix] Avoid double escaping
Vsevolod Stakhov [Mon, 13 Jan 2020 13:16:13 +0000 (13:16 +0000)]
[Fix] Fix dealing with `\0` in ucl strings and JSON
Vsevolod Stakhov [Mon, 13 Jan 2020 10:50:13 +0000 (10:50 +0000)]
[Minor] Another try to fix race
Vsevolod Stakhov [Mon, 13 Jan 2020 10:06:31 +0000 (10:06 +0000)]
[Minor] Sigh - another try to avoid races
Vsevolod Stakhov [Mon, 13 Jan 2020 09:41:52 +0000 (09:41 +0000)]
[Minor] Bayes_expiry: Test type before trying to evaluate
Issue: #3208
Vsevolod Stakhov [Sun, 12 Jan 2020 19:10:25 +0000 (19:10 +0000)]
Merge pull request #3210 from moisseev/spamtrap
[Conf] Update spamtrap map path example
moisseev [Sun, 12 Jan 2020 07:11:59 +0000 (10:11 +0300)]
[Conf] Update spamtrap map path example
Vsevolod Stakhov [Sat, 11 Jan 2020 14:36:57 +0000 (14:36 +0000)]
[Minor] Rbl: Fix resolve ip options insertion
Vsevolod Stakhov [Sat, 11 Jan 2020 14:08:59 +0000 (14:08 +0000)]
Merge pull request #3206 from korgoth1/master
[Test] SURBL resolve ip
Vsevolod Stakhov [Sat, 11 Jan 2020 13:38:26 +0000 (13:38 +0000)]
[Minor] Add trailing slash when reconstructing numeric url
korgoth1 [Fri, 10 Jan 2020 22:18:46 +0000 (01:18 +0300)]
[Test] SURBL resolve ip
Vsevolod Stakhov [Fri, 10 Jan 2020 16:16:56 +0000 (16:16 +0000)]
[Test] Add more tests
Vsevolod Stakhov [Fri, 10 Jan 2020 16:16:41 +0000 (16:16 +0000)]
[Minor] Fixes in urls fragments/queries parsing
korgoth1 [Fri, 10 Jan 2020 15:47:06 +0000 (18:47 +0300)]
[Test] SURBL resolve ip
korgoth1 [Fri, 10 Jan 2020 15:42:35 +0000 (18:42 +0300)]
[Test] SURBL resolve ip
Vsevolod Stakhov [Fri, 10 Jan 2020 11:25:39 +0000 (11:25 +0000)]
[Test] Improve unit tests
Vsevolod Stakhov [Fri, 10 Jan 2020 11:25:23 +0000 (11:25 +0000)]
[Fix] Fix processing of numeric url's
korgoth1 [Thu, 9 Jan 2020 19:00:14 +0000 (22:00 +0300)]
[Test] SPF external relay map
Vsevolod Stakhov [Thu, 9 Jan 2020 18:23:42 +0000 (18:23 +0000)]
[Minor] Fix reseted connections handling
Vsevolod Stakhov [Thu, 9 Jan 2020 15:22:14 +0000 (15:22 +0000)]
[Minor] Do not try to detect utf8 using heuristic
Vsevolod Stakhov [Thu, 9 Jan 2020 15:00:54 +0000 (15:00 +0000)]
[Fix] More fixes in html tag content calculations
Vsevolod Stakhov [Thu, 9 Jan 2020 14:48:36 +0000 (14:48 +0000)]
[Minor] Check contents object type
Vsevolod Stakhov [Wed, 8 Jan 2020 16:07:47 +0000 (16:07 +0000)]
[Fix] Fix gpg parts misdetection
Issue: #3205
Vsevolod Stakhov [Wed, 8 Jan 2020 13:28:00 +0000 (13:28 +0000)]
[Minor] Add workaround for old libicu (bug in libicu)
Vsevolod Stakhov [Tue, 7 Jan 2020 18:10:53 +0000 (18:10 +0000)]
[Project] Lua_content: Attach text to page objects via contents
Vsevolod Stakhov [Tue, 7 Jan 2020 16:46:24 +0000 (16:46 +0000)]
[Project] Lua_content: More work to process pdf objects
Vsevolod Stakhov [Tue, 7 Jan 2020 13:10:10 +0000 (13:10 +0000)]
[Project] Lua_content: Add pdf configuration options and support multiple filters
Vsevolod Stakhov [Mon, 6 Jan 2020 17:08:02 +0000 (17:08 +0000)]
[Rework] Rework HTML tags content attachment
Vsevolod Stakhov [Mon, 6 Jan 2020 16:14:33 +0000 (16:14 +0000)]
[Minor] Restore debug for now
Vsevolod Stakhov [Mon, 6 Jan 2020 14:52:43 +0000 (14:52 +0000)]
[Minor] Fix GError oversetting in DKIM code
Vsevolod Stakhov [Mon, 6 Jan 2020 14:42:25 +0000 (14:42 +0000)]
[Project] Lua_content: Start pdf grammar implementation for texts
Vsevolod Stakhov [Mon, 6 Jan 2020 14:42:05 +0000 (14:42 +0000)]
[Feature] Lua_text: Implement flattening of the input tables
Vsevolod Stakhov [Mon, 6 Jan 2020 10:27:53 +0000 (10:27 +0000)]
[Project] Lua_content: Add text blocks search logic
Vsevolod Stakhov [Mon, 6 Jan 2020 09:50:49 +0000 (09:50 +0000)]
[Porject] Lua_content: Dedicate generic PDF grammar elements
Vsevolod Stakhov [Sun, 5 Jan 2020 09:54:18 +0000 (09:54 +0000)]
[Project] Lua_content: Ignore fonts
Vsevolod Stakhov [Sat, 4 Jan 2020 18:12:14 +0000 (18:12 +0000)]
[Project] Lua_content: Add flags to pdf table
Vsevolod Stakhov [Sat, 4 Jan 2020 18:12:03 +0000 (18:12 +0000)]
[Project] Improve inflation
Vsevolod Stakhov [Fri, 3 Jan 2020 15:03:02 +0000 (15:03 +0000)]
[Project] Lua_content: Add a sample of pdf exctraction
Vsevolod Stakhov [Fri, 3 Jan 2020 15:02:45 +0000 (15:02 +0000)]
[Project] Add inflate utility
Vsevolod Stakhov [Fri, 3 Jan 2020 14:11:52 +0000 (14:11 +0000)]
[Project] Lua_util: Allow to set size limit for gzip decompress
Vsevolod Stakhov [Fri, 3 Jan 2020 13:41:35 +0000 (13:41 +0000)]
[Project] Lua_content: Add pdf objects parsing
Vsevolod Stakhov [Fri, 3 Jan 2020 13:00:01 +0000 (13:00 +0000)]
[Project] Lua_content: Remebered about booleans
Vsevolod Stakhov [Fri, 3 Jan 2020 12:53:26 +0000 (12:53 +0000)]
[Project] Lua_content: Add PDF grammar
Vsevolod Stakhov [Thu, 2 Jan 2020 14:24:29 +0000 (14:24 +0000)]
Merge pull request #3202 from vitalvas/feature/tune-dmarc-report
[Minor] Dmarc: Tune DMARC report - message-id from
Issue: #3200
Vsevolod Stakhov [Thu, 2 Jan 2020 14:13:48 +0000 (14:13 +0000)]
[Project] Lua_content: Detect pdf object numbers
Vsevolod Stakhov [Thu, 2 Jan 2020 13:10:37 +0000 (13:10 +0000)]
[Project] Lua_content: Add pdf objects and streams initial support
Vitaliy Vasilenko [Wed, 1 Jan 2020 22:48:23 +0000 (00:48 +0200)]
Tune DMARC report
Add customization - message-id from
Vsevolod Stakhov [Wed, 1 Jan 2020 19:46:01 +0000 (19:46 +0000)]
[Feature] Lua_text: Add regexp split iterator method