Vsevolod Stakhov
f73fddc5f1
[Minor] Tweak some checks
hace 5 días
Vsevolod Stakhov
c77ae32828
[Minor] Oops, fix the build
hace 5 días
Vsevolod Stakhov
8e245d29b2
[Feature] Verify sanity of l= tag in DKIM
hace 5 días
Vsevolod Stakhov
95215c625a
[Fix] Allow autolearn for the controller worker
hace 5 días
Vsevolod Stakhov
0ecec4a2d2
[Minor] Relax mailto processing with no TLD
hace 1 semana
Vsevolod Stakhov
958837d1cd
[Minor] Make log message less confusing
hace 1 semana
Vsevolod Stakhov
004e512835
[Fix] Check nconns when firing the final termination event
Issue: #4941
hace 1 semana
Vsevolod Stakhov
12f965bf98
[Fix] Allow to set 0 as number of rows to disable roll history
Issue: #4947
Closes: #4947
hace 3 semanas
Vsevolod Stakhov
6dd417bc9f
[Minor] Deal with descriptors in the wait queue
hace 1 mes
Vsevolod Stakhov
af228fdec3
[Minor] Do not use pointers to local variables, sigh
hace 1 mes
Vsevolod Stakhov
bd95a45f15
[Minor] Try to fix mess with refcounts
hace 1 mes
Vsevolod Stakhov
6d1762d85e
[Rework] Serialize control commands
In fact, we cannot send multiple commands and read them through the pipe. It has
caused multiple weird issues in the past but I can now see clearly how it should
be done. We should send commands and serialize all requests pending to let them
being sent one by one, after reply for the previous command has been received.
hace 1 mes
Vsevolod Stakhov
a96ff38346
[Project] Adjust some final bits
hace 1 mes
Vsevolod Stakhov
ae103665a2
[Project] Rework grow factor as it is currently broken
hace 1 mes
Vsevolod Stakhov
f4f89705b3
[Fix] Fix shared memory proxying when compression is set
hace 1 mes
Vsevolod Stakhov
fbc6e35dba
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
hace 1 mes
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
hace 2 meses
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
hace 2 meses
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.
hace 2 meses
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
hace 2 meses
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
hace 2 meses
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.
hace 2 meses
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
hace 2 meses
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
hace 2 meses
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
hace 2 meses
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
hace 2 meses
Vsevolod Stakhov
6296080e41
[Fix] Fix initial maps load
hace 3 meses
Vsevolod Stakhov
f8210a5ba9
[Test] Add unit tests
hace 3 meses
Vsevolod Stakhov
d3a56d9509
[Fix] Try to fix url path issue
hace 3 meses
Vsevolod Stakhov
cb6478111d
[Minor] Add LOG_CONS flag to `openlog`
hace 3 meses
Vsevolod Stakhov
d650562632
[Feature] Support JSON logging when in syslog mode
hace 3 meses
Vsevolod Stakhov
4015346e2f
[Fix] Fix potential double free by expclicitly zeroing pointers
hace 3 meses
Julien Voisin
177e3e6f61
Update cfg_utils.cxx
Fix another dumb s/NULL/nullptr/g
hace 4 meses
Julien Voisin
2a8909f88b
Update cfg_rcl.cxx
Fixed an overzealous s/NULL/nullptr/g
hace 4 meses
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.
hace 5 meses
Vsevolod Stakhov
b4d6ebf474
[Project] Move the whole backend to C++
Easier to work further.
hace 5 meses
Vsevolod Stakhov
1e02b32deb
[Rework] Use a more sane data structure and refactor
hace 6 meses
Vsevolod Stakhov
f3c299ded9
[Fix] Fix some corner cases when parsing maps with no newlines
hace 6 meses
Vsevolod Stakhov
d907a95ac2
[Minor] Fix build with no hyperscan
Issue: #4702
hace 6 meses
Vsevolod Stakhov
3e29be1422
[Fix] Another try to fix setproctitle
hace 6 meses
Vsevolod Stakhov
2da8749c23
[Fix] Fix various issues with canonicalisation of the paths
hace 6 meses
Vsevolod Stakhov
aca7d247cc
[Fix] Fix bad access when printing pending events on failure path
hace 6 meses
Vsevolod Stakhov
1fbc13099e
[Feature] Support ping command in fuzzy storage
hace 6 meses
Vsevolod Stakhov
3e228133bb
[Minor] Document `gtube_patterns`
hace 6 meses
Vsevolod Stakhov
c203493c90
[Feature] Reiterate on gtube patterns
hace 6 meses
Vsevolod Stakhov
843b08d0b9
[Minor] Improve diagnostic by rising log level
hace 6 meses
Vsevolod Stakhov
e50a30ca35
[Minor] Use floating point ts instead of microseconds
hace 6 meses
Vsevolod Stakhov
be7504e393
[Fix] Do not cleanup hyperscan files unless new ones are loaded
hace 6 meses
Vsevolod Stakhov
52c535ad6a
[Feature] Escape JSON when needed
hace 6 meses
Vsevolod Stakhov
5a56747242
[Minor] Fix some minor issues
hace 6 meses