]>
source.dussan.org Git - rspamd.git/log
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
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
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.
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
Vsevolod Stakhov [Wed, 1 Jan 2020 19:45:48 +0000 (19:45 +0000)]
[Minor] Move function to the common routines
Vsevolod Stakhov [Tue, 31 Dec 2019 18:42:10 +0000 (18:42 +0000)]
[Minor] Add support question template
Vsevolod Stakhov [Mon, 30 Dec 2019 20:05:06 +0000 (20:05 +0000)]
[Minor] Lua_tcp: Do not decrease item refcount with no watcher
Vsevolod Stakhov [Mon, 30 Dec 2019 12:13:49 +0000 (12:13 +0000)]
Merge pull request #3201 from korgoth1/master
[Test] SPF uppercase elements
korgoth1 [Sun, 29 Dec 2019 14:41:29 +0000 (17:41 +0300)]
[Test] SPF uppercase elements
Vsevolod Stakhov [Fri, 27 Dec 2019 10:23:45 +0000 (10:23 +0000)]
[Minor] Fix misprint
Vsevolod Stakhov [Thu, 26 Dec 2019 16:34:59 +0000 (16:34 +0000)]
Merge pull request #3198 from doj/master
[Minor] Fix NULL pointer use when JIT compiling a regular expression.
Dirk Jagdmann [Thu, 26 Dec 2019 04:44:11 +0000 (20:44 -0800)]
fix NULL pointer use when JIT compiling a regular expression.
Vsevolod Stakhov [Wed, 25 Dec 2019 20:52:14 +0000 (20:52 +0000)]
[Minor] Add more redis prefixes
Vsevolod Stakhov [Wed, 25 Dec 2019 16:23:31 +0000 (16:23 +0000)]
[Minor] Add some redis prefixes registration
Vsevolod Stakhov [Wed, 25 Dec 2019 13:05:01 +0000 (13:05 +0000)]
[Minor] Remove enforced "-O3" from contrib libraries
Vsevolod Stakhov [Wed, 25 Dec 2019 13:04:49 +0000 (13:04 +0000)]
[Feature] Send quit command to Redis
Vsevolod Stakhov [Tue, 24 Dec 2019 17:07:14 +0000 (17:07 +0000)]
[Minor] Fix build with no hyperscan
Vsevolod Stakhov [Tue, 24 Dec 2019 17:00:56 +0000 (17:00 +0000)]
[Project] Implement slow rules sanity protection
Vsevolod Stakhov [Tue, 24 Dec 2019 17:00:46 +0000 (17:00 +0000)]
[Minor] Move functions
Vsevolod Stakhov [Tue, 24 Dec 2019 16:31:40 +0000 (16:31 +0000)]
[Minor] Slightly change fp logic
Vsevolod Stakhov [Tue, 24 Dec 2019 16:27:32 +0000 (16:27 +0000)]
[Minor] Enable profiling on slow regexps
Vsevolod Stakhov [Tue, 24 Dec 2019 16:26:12 +0000 (16:26 +0000)]
[Project] Add logic to break execution when processing symbols
Vsevolod Stakhov [Tue, 24 Dec 2019 16:25:57 +0000 (16:25 +0000)]
[Minor] Fix order in the switch..case
Vsevolod Stakhov [Tue, 24 Dec 2019 16:25:46 +0000 (16:25 +0000)]
[Minor] Improve log message
Vsevolod Stakhov [Mon, 23 Dec 2019 19:48:21 +0000 (19:48 +0000)]
[Minor] Sync ffi defs
Vsevolod Stakhov [Mon, 23 Dec 2019 19:27:04 +0000 (19:27 +0000)]
[Project] Track more memory allocations in a task