Vsevolod Stakhov
f4f89705b3
[Fix] Fix shared memory proxying when compression is set
2 months ago
Vsevolod Stakhov
fbc6e35dba
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
2 months ago
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
2 months ago
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
2 months ago
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
2 months ago
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
2 months ago
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
2 months ago
Vsevolod Stakhov
9b78be4f03
[Feature] Support reply in message pack format
Rspamd currently sends reply in JSON format. However, message pack seems to
be a better choice for a compatible client. It is faster and does not need
escaping or even UTF8 validation. This is a surface for further updates.
2 months ago
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
3 months ago
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
3 months ago
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
3 months ago
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
3 months ago
Vsevolod Stakhov
6296080e41
[Fix] Fix initial maps load
3 months ago
Vsevolod Stakhov
f8210a5ba9
[Test] Add unit tests
3 months ago
Vsevolod Stakhov
d3a56d9509
[Fix] Try to fix url path issue
3 months ago
Vsevolod Stakhov
cb6478111d
[Minor] Add LOG_CONS flag to `openlog`
3 months ago
Vsevolod Stakhov
d650562632
[Feature] Support JSON logging when in syslog mode
3 months ago
Vsevolod Stakhov
4015346e2f
[Fix] Fix potential double free by expclicitly zeroing pointers
4 months ago
Julien Voisin
177e3e6f61
Update cfg_utils.cxx
Fix another dumb s/NULL/nullptr/g
5 months ago
Julien Voisin
2a8909f88b
Update cfg_rcl.cxx
Fixed an overzealous s/NULL/nullptr/g
5 months ago
Adam Majer
8ff289c53d
[CritFix] - Fix reported length of logging structure
The logging code contains one place where the apparent size of the
logging structure is defined and then it's actually utilized in another
place. Re-writes and refactoring this code ended up with these
values to not co-relate what was previously there resulting in a stack
overwrite in last version or currently in log truncation.
Move assignment of logging structure to the place where it's actually
used, reducing future logic de-sync dangers. Also move the g_assert() to
the end as it should be a development aid only.
6 months ago
Vsevolod Stakhov
b4d6ebf474
[Project] Move the whole backend to C++
Easier to work further.
6 months ago
Vsevolod Stakhov
1e02b32deb
[Rework] Use a more sane data structure and refactor
6 months ago
Vsevolod Stakhov
f3c299ded9
[Fix] Fix some corner cases when parsing maps with no newlines
6 months ago
Vsevolod Stakhov
d907a95ac2
[Minor] Fix build with no hyperscan
Issue: #4702
6 months ago
Vsevolod Stakhov
3e29be1422
[Fix] Another try to fix setproctitle
6 months ago
Vsevolod Stakhov
2da8749c23
[Fix] Fix various issues with canonicalisation of the paths
6 months ago
Vsevolod Stakhov
aca7d247cc
[Fix] Fix bad access when printing pending events on failure path
6 months ago
Vsevolod Stakhov
1fbc13099e
[Feature] Support ping command in fuzzy storage
7 months ago
Vsevolod Stakhov
3e228133bb
[Minor] Document `gtube_patterns`
7 months ago
Vsevolod Stakhov
c203493c90
[Feature] Reiterate on gtube patterns
7 months ago
Vsevolod Stakhov
843b08d0b9
[Minor] Improve diagnostic by rising log level
7 months ago
Vsevolod Stakhov
e50a30ca35
[Minor] Use floating point ts instead of microseconds
7 months ago
Vsevolod Stakhov
be7504e393
[Fix] Do not cleanup hyperscan files unless new ones are loaded
7 months ago
Vsevolod Stakhov
52c535ad6a
[Feature] Escape JSON when needed
7 months ago
Vsevolod Stakhov
5a56747242
[Minor] Fix some minor issues
7 months ago
Vsevolod Stakhov
bae5cd020f
[Project] Preliminary support of JSON logging
7 months ago
Vsevolod Stakhov
ae8621d2fb
[Minor] Really fix the issue
7 months ago
Vsevolod Stakhov
8d70c4a501
[Fix] A workaround for brain-damaged std::filesystem behaviour
Issue: #4665
7 months ago
Vsevolod Stakhov
48fffd3548
[Minor] Simplify by using <filesystem>
7 months ago
Vsevolod Stakhov
65bb5ba99e
[Feature] Allow to set HTTP auth parameters for the maps
8 months ago
Vsevolod Stakhov
b59249576f
[Minor] Refactor logging function to join console and file
8 months ago
Vsevolod Stakhov
ac2ee05594
[Fix] Do not pollute public headers with libev internals
8 months ago
Vsevolod Stakhov
1adcfb1e23
[Feature] Use backward-cpp instead of manual libunwind stuff
8 months ago
Vsevolod Stakhov
89f2c5d327
[Minor] Use a more standard way to initialize libunwind
8 months ago
Linus Nordberg
557597166e
Update src/libserver/worker_util.c
Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
9 months ago
Linus Nordberg
865705f043
Update src/libserver/worker_util.c
Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
9 months ago
Vsevolod Stakhov
0835db27a1
[Minor] Fix some warnings
9 months ago
Linus Nordberg
3744f8326e
[Fix] Correct format string for unw_word_t
On x86_64 unw_word_t is uint64_t.
NOTE: Possibly incorrect for !x86_64.
9 months ago
Linus Nordberg
58d8005dac
[Fix] Correct format pattern for RE tree tempfile name
Triggered by -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DENABLE_CLANG_PLUGIN=ON -DENABLE_HYPERSCAN=ON.
9 months ago