]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 years ago[Minor] Lua_task: Remove unused crap
Vsevolod Stakhov [Thu, 16 Jan 2020 17:20:18 +0000 (17:20 +0000)]
[Minor] Lua_task: Remove unused crap

Issue: #3220

4 years agoMerge pull request #3219 from cgzones/interface_cruft
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

4 years agoMerge pull request #3218 from cgzones/no_replxx
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

4 years agoMerge pull request #3217 from cgzones/exampledir
Vsevolod Stakhov [Thu, 16 Jan 2020 15:53:21 +0000 (15:53 +0000)]
Merge pull request #3217 from cgzones/exampledir

[Minor] remove unused examplesdir

4 years agoMerge pull request #3216 from cgzones/spellings
Vsevolod Stakhov [Thu, 16 Jan 2020 15:52:21 +0000 (15:52 +0000)]
Merge pull request #3216 from cgzones/spellings

[Minor] fix spelling

4 years ago[Minor] fix spelling 3216/head
Christian Göttsche [Thu, 16 Jan 2020 15:05:48 +0000 (16:05 +0100)]
[Minor] fix spelling

4 years ago[Minor] remove unused examplesdir 3217/head
Christian Göttsche [Thu, 16 Jan 2020 15:02:58 +0000 (16:02 +0100)]
[Minor] remove unused examplesdir

4 years ago[Minor] fix compilation without replxx 3218/head
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);
      |   ^~~~~~~~~~~~~~~~~~~

4 years ago[Minor] remove cruft files from webui 3219/head
Christian Göttsche [Thu, 16 Jan 2020 14:53:28 +0000 (15:53 +0100)]
[Minor] remove cruft files from webui

4 years ago[Minor] Check string length to avoid OOB reading
Vsevolod Stakhov [Thu, 16 Jan 2020 12:55:24 +0000 (12:55 +0000)]
[Minor] Check string length to avoid OOB reading

4 years agoMerge pull request #3153 from resec/smembers
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

4 years agoMerge pull request #3214 from Lekensteyn/fix-dkim-policy-check
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

4 years ago[Project] Lua_content: Add preliminary fonts handling
Vsevolod Stakhov [Thu, 16 Jan 2020 12:23:44 +0000 (12:23 +0000)]
[Project] Lua_content: Add preliminary fonts handling

4 years ago[Minor] Try to fix slow timer race condition
Vsevolod Stakhov [Thu, 16 Jan 2020 12:13:35 +0000 (12:13 +0000)]
[Minor] Try to fix slow timer race condition

4 years ago[Minor] Dkim_signing: correct is_skip_sign logic 3214/head
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.

4 years ago[Fix] Fix urls shifting when doing decode to include separators
Vsevolod Stakhov [Wed, 15 Jan 2020 11:21:56 +0000 (11:21 +0000)]
[Fix] Fix urls shifting when doing decode to include separators

4 years agoMerge pull request #3213 from citrin/url-frag-test
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

4 years ago[Minor] Just another try to avoid race
Vsevolod Stakhov [Wed, 15 Jan 2020 10:21:48 +0000 (10:21 +0000)]
[Minor] Just another try to avoid race

4 years ago[Test] Add a test case for URL parsing 3213/head
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.

4 years ago[Project] Lua_content: Implement url's extraction from PDF files
Vsevolod Stakhov [Tue, 14 Jan 2020 16:16:39 +0000 (16:16 +0000)]
[Project] Lua_content: Implement url's extraction from PDF files

4 years ago[Project] Lua_content: Implement ObjStm decoding
Vsevolod Stakhov [Tue, 14 Jan 2020 15:01:38 +0000 (15:01 +0000)]
[Project] Lua_content: Implement ObjStm decoding

4 years agoMerge pull request #3212 from moisseev/patch-1
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)

4 years ago[Minor] bayes_expiry: Fix type check 3212/head
Alexander Moisseev [Tue, 14 Jan 2020 08:13:08 +0000 (11:13 +0300)]
[Minor] bayes_expiry: Fix type check

4 years ago[Project] Lua_content: Add preliminary support of compound objects
Vsevolod Stakhov [Mon, 13 Jan 2020 21:50:25 +0000 (21:50 +0000)]
[Project] Lua_content: Add preliminary support of compound objects

4 years ago[Minor] Lua_text: Set class properly
Vsevolod Stakhov [Mon, 13 Jan 2020 21:37:59 +0000 (21:37 +0000)]
[Minor] Lua_text: Set class properly

4 years ago[Project] Lua_content: Massive rework of the parsing structure
Vsevolod Stakhov [Mon, 13 Jan 2020 19:59:48 +0000 (19:59 +0000)]
[Project] Lua_content: Massive rework of the parsing structure

4 years ago[Minor] Lua_content: Similar hang fix
Vsevolod Stakhov [Mon, 13 Jan 2020 17:47:12 +0000 (17:47 +0000)]
[Minor] Lua_content: Similar hang fix

4 years ago[Minor] Lua_content: Fix some more crappy pdf issues
Vsevolod Stakhov [Mon, 13 Jan 2020 17:23:25 +0000 (17:23 +0000)]
[Minor] Lua_content: Fix some more crappy pdf issues

4 years ago[Minor] Lua_content: Fix hang
Vsevolod Stakhov [Mon, 13 Jan 2020 17:05:07 +0000 (17:05 +0000)]
[Minor] Lua_content: Fix hang

4 years ago[Fix] Fix urls encode function
Vsevolod Stakhov [Mon, 13 Jan 2020 13:58:42 +0000 (13:58 +0000)]
[Fix] Fix urls encode function

4 years ago[Fix] Avoid double escaping
Vsevolod Stakhov [Mon, 13 Jan 2020 13:16:30 +0000 (13:16 +0000)]
[Fix] Avoid double escaping

4 years ago[Fix] Fix dealing with `\0` in ucl strings and JSON
Vsevolod Stakhov [Mon, 13 Jan 2020 13:16:13 +0000 (13:16 +0000)]
[Fix] Fix dealing with `\0` in ucl strings and JSON

4 years ago[Minor] Another try to fix race
Vsevolod Stakhov [Mon, 13 Jan 2020 10:50:13 +0000 (10:50 +0000)]
[Minor] Another try to fix race

4 years ago[Minor] Sigh - another try to avoid races
Vsevolod Stakhov [Mon, 13 Jan 2020 10:06:31 +0000 (10:06 +0000)]
[Minor] Sigh - another try to avoid races

4 years ago[Minor] Bayes_expiry: Test type before trying to evaluate
Vsevolod Stakhov [Mon, 13 Jan 2020 09:41:52 +0000 (09:41 +0000)]
[Minor] Bayes_expiry: Test type before trying to evaluate

Issue: #3208

4 years agoMerge pull request #3210 from moisseev/spamtrap
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

4 years ago[Conf] Update spamtrap map path example 3210/head
moisseev [Sun, 12 Jan 2020 07:11:59 +0000 (10:11 +0300)]
[Conf] Update spamtrap map path example

4 years ago[Minor] Rbl: Fix resolve ip options insertion
Vsevolod Stakhov [Sat, 11 Jan 2020 14:36:57 +0000 (14:36 +0000)]
[Minor] Rbl: Fix resolve ip options insertion

4 years agoMerge pull request #3206 from korgoth1/master
Vsevolod Stakhov [Sat, 11 Jan 2020 14:08:59 +0000 (14:08 +0000)]
Merge pull request #3206 from korgoth1/master

[Test] SURBL resolve ip

4 years ago[Minor] Add trailing slash when reconstructing numeric url
Vsevolod Stakhov [Sat, 11 Jan 2020 13:38:26 +0000 (13:38 +0000)]
[Minor] Add trailing slash when reconstructing numeric url

4 years ago[Test] SURBL resolve ip 3206/head
korgoth1 [Fri, 10 Jan 2020 22:18:46 +0000 (01:18 +0300)]
[Test] SURBL resolve ip

4 years ago[Test] Add more tests
Vsevolod Stakhov [Fri, 10 Jan 2020 16:16:56 +0000 (16:16 +0000)]
[Test] Add more tests

4 years ago[Minor] Fixes in urls fragments/queries parsing
Vsevolod Stakhov [Fri, 10 Jan 2020 16:16:41 +0000 (16:16 +0000)]
[Minor] Fixes in urls fragments/queries parsing

4 years ago[Test] SURBL resolve ip
korgoth1 [Fri, 10 Jan 2020 15:47:06 +0000 (18:47 +0300)]
[Test] SURBL resolve ip

4 years ago[Test] SURBL resolve ip
korgoth1 [Fri, 10 Jan 2020 15:42:35 +0000 (18:42 +0300)]
[Test] SURBL resolve ip

4 years ago[Test] Improve unit tests
Vsevolod Stakhov [Fri, 10 Jan 2020 11:25:39 +0000 (11:25 +0000)]
[Test] Improve unit tests

4 years ago[Fix] Fix processing of numeric url's
Vsevolod Stakhov [Fri, 10 Jan 2020 11:25:23 +0000 (11:25 +0000)]
[Fix] Fix processing of numeric url's

4 years ago[Test] SPF external relay map
korgoth1 [Thu, 9 Jan 2020 19:00:14 +0000 (22:00 +0300)]
[Test] SPF external relay map

4 years ago[Minor] Fix reseted connections handling
Vsevolod Stakhov [Thu, 9 Jan 2020 18:23:42 +0000 (18:23 +0000)]
[Minor] Fix reseted connections handling

4 years ago[Minor] Do not try to detect utf8 using heuristic
Vsevolod Stakhov [Thu, 9 Jan 2020 15:22:14 +0000 (15:22 +0000)]
[Minor] Do not try to detect utf8 using heuristic

4 years ago[Fix] More fixes in html tag content calculations
Vsevolod Stakhov [Thu, 9 Jan 2020 15:00:54 +0000 (15:00 +0000)]
[Fix] More fixes in html tag content calculations

4 years ago[Minor] Check contents object type
Vsevolod Stakhov [Thu, 9 Jan 2020 14:48:36 +0000 (14:48 +0000)]
[Minor] Check contents object type

4 years ago[Fix] Fix gpg parts misdetection
Vsevolod Stakhov [Wed, 8 Jan 2020 16:07:47 +0000 (16:07 +0000)]
[Fix] Fix gpg parts misdetection

Issue: #3205

4 years ago[Minor] Add workaround for old libicu (bug in libicu)
Vsevolod Stakhov [Wed, 8 Jan 2020 13:28:00 +0000 (13:28 +0000)]
[Minor] Add workaround for old libicu (bug in libicu)

4 years ago[Project] Lua_content: Attach text to page objects via contents
Vsevolod Stakhov [Tue, 7 Jan 2020 18:10:53 +0000 (18:10 +0000)]
[Project] Lua_content: Attach text to page objects via contents

4 years ago[Project] Lua_content: More work to process pdf objects
Vsevolod Stakhov [Tue, 7 Jan 2020 16:46:24 +0000 (16:46 +0000)]
[Project] Lua_content: More work to process pdf objects

4 years ago[Project] Lua_content: Add pdf configuration options and support multiple filters
Vsevolod Stakhov [Tue, 7 Jan 2020 13:10:10 +0000 (13:10 +0000)]
[Project] Lua_content: Add pdf configuration options and support multiple filters

4 years ago[Rework] Rework HTML tags content attachment
Vsevolod Stakhov [Mon, 6 Jan 2020 17:08:02 +0000 (17:08 +0000)]
[Rework] Rework HTML tags content attachment

4 years ago[Minor] Restore debug for now
Vsevolod Stakhov [Mon, 6 Jan 2020 16:14:33 +0000 (16:14 +0000)]
[Minor] Restore debug for now

4 years ago[Minor] Fix GError oversetting in DKIM code
Vsevolod Stakhov [Mon, 6 Jan 2020 14:52:43 +0000 (14:52 +0000)]
[Minor] Fix GError oversetting in DKIM code

4 years ago[Project] Lua_content: Start pdf grammar implementation for texts
Vsevolod Stakhov [Mon, 6 Jan 2020 14:42:25 +0000 (14:42 +0000)]
[Project] Lua_content: Start pdf grammar implementation for texts

4 years ago[Feature] Lua_text: Implement flattening of the input tables
Vsevolod Stakhov [Mon, 6 Jan 2020 14:42:05 +0000 (14:42 +0000)]
[Feature] Lua_text: Implement flattening of the input tables

4 years ago[Project] Lua_content: Add text blocks search logic
Vsevolod Stakhov [Mon, 6 Jan 2020 10:27:53 +0000 (10:27 +0000)]
[Project] Lua_content: Add text blocks search logic

4 years ago[Porject] Lua_content: Dedicate generic PDF grammar elements
Vsevolod Stakhov [Mon, 6 Jan 2020 09:50:49 +0000 (09:50 +0000)]
[Porject] Lua_content: Dedicate generic PDF grammar elements

4 years ago[Project] Lua_content: Ignore fonts
Vsevolod Stakhov [Sun, 5 Jan 2020 09:54:18 +0000 (09:54 +0000)]
[Project] Lua_content: Ignore fonts

4 years ago[Project] Lua_content: Add flags to pdf table
Vsevolod Stakhov [Sat, 4 Jan 2020 18:12:14 +0000 (18:12 +0000)]
[Project] Lua_content: Add flags to pdf table

4 years ago[Project] Improve inflation
Vsevolod Stakhov [Sat, 4 Jan 2020 18:12:03 +0000 (18:12 +0000)]
[Project] Improve inflation

4 years ago[Project] Lua_content: Add a sample of pdf exctraction
Vsevolod Stakhov [Fri, 3 Jan 2020 15:03:02 +0000 (15:03 +0000)]
[Project] Lua_content: Add a sample of pdf exctraction

4 years ago[Project] Add inflate utility
Vsevolod Stakhov [Fri, 3 Jan 2020 15:02:45 +0000 (15:02 +0000)]
[Project] Add inflate utility

4 years ago[Project] Lua_util: Allow to set size limit for gzip decompress
Vsevolod Stakhov [Fri, 3 Jan 2020 14:11:52 +0000 (14:11 +0000)]
[Project] Lua_util: Allow to set size limit for gzip decompress

4 years ago[Project] Lua_content: Add pdf objects parsing
Vsevolod Stakhov [Fri, 3 Jan 2020 13:41:35 +0000 (13:41 +0000)]
[Project] Lua_content: Add pdf objects parsing

4 years ago[Project] Lua_content: Remebered about booleans
Vsevolod Stakhov [Fri, 3 Jan 2020 13:00:01 +0000 (13:00 +0000)]
[Project] Lua_content: Remebered about booleans

4 years ago[Project] Lua_content: Add PDF grammar
Vsevolod Stakhov [Fri, 3 Jan 2020 12:53:26 +0000 (12:53 +0000)]
[Project] Lua_content: Add PDF grammar

4 years agoMerge pull request #3202 from vitalvas/feature/tune-dmarc-report
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

4 years ago[Project] Lua_content: Detect pdf object numbers
Vsevolod Stakhov [Thu, 2 Jan 2020 14:13:48 +0000 (14:13 +0000)]
[Project] Lua_content: Detect pdf object numbers

4 years ago[Project] Lua_content: Add pdf objects and streams initial support
Vsevolod Stakhov [Thu, 2 Jan 2020 13:10:37 +0000 (13:10 +0000)]
[Project] Lua_content: Add pdf objects and streams initial support

4 years agoTune DMARC report 3202/head
Vitaliy Vasilenko [Wed, 1 Jan 2020 22:48:23 +0000 (00:48 +0200)]
Tune DMARC report

Add customization - message-id from

4 years ago[Feature] Lua_text: Add regexp split iterator method
Vsevolod Stakhov [Wed, 1 Jan 2020 19:46:01 +0000 (19:46 +0000)]
[Feature] Lua_text: Add regexp split iterator method

4 years ago[Minor] Move function to the common routines
Vsevolod Stakhov [Wed, 1 Jan 2020 19:45:48 +0000 (19:45 +0000)]
[Minor] Move function to the common routines

4 years ago[Minor] Add support question template
Vsevolod Stakhov [Tue, 31 Dec 2019 18:42:10 +0000 (18:42 +0000)]
[Minor] Add support question template

4 years ago[Minor] Lua_tcp: Do not decrease item refcount with no watcher
Vsevolod Stakhov [Mon, 30 Dec 2019 20:05:06 +0000 (20:05 +0000)]
[Minor] Lua_tcp: Do not decrease item refcount with no watcher

4 years agoMerge pull request #3201 from korgoth1/master
Vsevolod Stakhov [Mon, 30 Dec 2019 12:13:49 +0000 (12:13 +0000)]
Merge pull request #3201 from korgoth1/master

[Test] SPF uppercase elements

4 years ago[Test] SPF uppercase elements 3201/head
korgoth1 [Sun, 29 Dec 2019 14:41:29 +0000 (17:41 +0300)]
[Test] SPF uppercase elements

4 years ago[Minor] Fix misprint
Vsevolod Stakhov [Fri, 27 Dec 2019 10:23:45 +0000 (10:23 +0000)]
[Minor] Fix misprint

4 years agoMerge pull request #3198 from doj/master
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.

4 years agofix NULL pointer use when JIT compiling a regular expression. 3198/head
Dirk Jagdmann [Thu, 26 Dec 2019 04:44:11 +0000 (20:44 -0800)]
fix NULL pointer use when JIT compiling a regular expression.

4 years ago[Minor] Add more redis prefixes
Vsevolod Stakhov [Wed, 25 Dec 2019 20:52:14 +0000 (20:52 +0000)]
[Minor] Add more redis prefixes

4 years ago[Minor] Add some redis prefixes registration
Vsevolod Stakhov [Wed, 25 Dec 2019 16:23:31 +0000 (16:23 +0000)]
[Minor] Add some redis prefixes registration

4 years ago[Minor] Remove enforced "-O3" from contrib libraries
Vsevolod Stakhov [Wed, 25 Dec 2019 13:05:01 +0000 (13:05 +0000)]
[Minor] Remove enforced "-O3" from contrib libraries

4 years ago[Feature] Send quit command to Redis
Vsevolod Stakhov [Wed, 25 Dec 2019 13:04:49 +0000 (13:04 +0000)]
[Feature] Send quit command to Redis

4 years ago[Minor] Fix build with no hyperscan
Vsevolod Stakhov [Tue, 24 Dec 2019 17:07:14 +0000 (17:07 +0000)]
[Minor] Fix build with no hyperscan

4 years ago[Project] Implement slow rules sanity protection
Vsevolod Stakhov [Tue, 24 Dec 2019 17:00:56 +0000 (17:00 +0000)]
[Project] Implement slow rules sanity protection

4 years ago[Minor] Move functions
Vsevolod Stakhov [Tue, 24 Dec 2019 17:00:46 +0000 (17:00 +0000)]
[Minor] Move functions

4 years ago[Minor] Slightly change fp logic
Vsevolod Stakhov [Tue, 24 Dec 2019 16:31:40 +0000 (16:31 +0000)]
[Minor] Slightly change fp logic

4 years ago[Minor] Enable profiling on slow regexps
Vsevolod Stakhov [Tue, 24 Dec 2019 16:27:32 +0000 (16:27 +0000)]
[Minor] Enable profiling on slow regexps

4 years ago[Project] Add logic to break execution when processing symbols
Vsevolod Stakhov [Tue, 24 Dec 2019 16:26:12 +0000 (16:26 +0000)]
[Project] Add logic to break execution when processing symbols

4 years ago[Minor] Fix order in the switch..case
Vsevolod Stakhov [Tue, 24 Dec 2019 16:25:57 +0000 (16:25 +0000)]
[Minor] Fix order in the switch..case

4 years ago[Minor] Improve log message
Vsevolod Stakhov [Tue, 24 Dec 2019 16:25:46 +0000 (16:25 +0000)]
[Minor] Improve log message

4 years ago[Minor] Sync ffi defs
Vsevolod Stakhov [Mon, 23 Dec 2019 19:48:21 +0000 (19:48 +0000)]
[Minor] Sync ffi defs

4 years ago[Project] Track more memory allocations in a task
Vsevolod Stakhov [Mon, 23 Dec 2019 19:27:04 +0000 (19:27 +0000)]
[Project] Track more memory allocations in a task