Vsevolod Stakhov
fa56ac77de
[Fix] Do not read out-of-boundary when doing base64 encoding
3 days ago
Vsevolod Stakhov
990a9dc8db
[Minor] Further normalization
4 days ago
Vsevolod Stakhov
26ac157abc
[Minor] Jitter backpressure
4 days ago
Vsevolod Stakhov
e66c993097
[Project] Implement fuzzy check retransmits backpressure
4 days ago
Vsevolod Stakhov
bd44de491a
[Minor] Change log logic in fuzzy_check
4 days ago
Vsevolod Stakhov
917cdf87bf
[Minor] Add function to reschedule events at specific timer
4 days ago
Vsevolod Stakhov
6dd417bc9f
[Minor] Deal with descriptors in the wait queue
5 days ago
Vsevolod Stakhov
af228fdec3
[Minor] Do not use pointers to local variables, sigh
5 days ago
Vsevolod Stakhov
bd95a45f15
[Minor] Try to fix mess with refcounts
5 days ago
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.
5 days ago
Vsevolod Stakhov
7c84769997
[Minor] Support UTF8 in Received flags
Issue: #4919
1 week ago
Vsevolod Stakhov
6cf9ca1f97
[Fix] If we have one statfile disabled we need to disable all
1 week ago
aduernberger
20f6d7103e
[Fix] Always set the unlearn flag when relearning
Treat relearning from ham to spam the same as relearning from spam to ham. `res` is only set to true if the mail is already learned.
1 week ago
Dmitriy Alekseev
7d14e4af43
[Enhancement] Exclude false positives of MIME_DOUBLE_BAD_EXTENSION
If we detected extension of the file and this extension is equal to the real extension then we should not pass second extension to check function as it will trigger false positive for MIME_DOUBLE_BAD_EXTENSION.
2 weeks ago
Andrew Lewis
1c07c471bb
[Minor] Fix grow_factor
2 weeks ago
Vsevolod Stakhov
a96ff38346
[Project] Adjust some final bits
2 weeks ago
Vsevolod Stakhov
d1e16266e1
[Project] Write a function to adjust grow factor properly
2 weeks ago
Vsevolod Stakhov
ae103665a2
[Project] Rework grow factor as it is currently broken
2 weeks ago
Vsevolod Stakhov
b2ba70cf7a
[Fix] Honor dynamic thresholds for greylisting module
3 weeks ago
Vsevolod Stakhov
2715f24536
[Minor] Remove redundant metric name
3 weeks ago
Vsevolod Stakhov
2edcc63aea
[Fix] Update greylisting threshold as it can be easily dynamic
Issue: #4908
Closes: #4908
3 weeks ago
Vsevolod Stakhov
f4f89705b3
[Fix] Fix shared memory proxying when compression is set
3 weeks ago
Vsevolod Stakhov
fbc6e35dba
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
3 weeks ago
Andrew Lewis
7769774962
[Minor] Fix format of example setting (rspamd.com#736)
1 month ago
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
1 month ago
Vsevolod Stakhov
05636d9af8
[Minor] Deny zero length in regexp search functions
1 month ago
Vsevolod Stakhov
10577f1f79
[Fix] Fix inconsistent nesting in mime parts
We should do like MUAs do: imlicitly close incomplete mime parts
and treat them as ususal. It is weird and utterly stupid but that's
what MUA do.
Issue: #4740
Closes: #4740
1 month ago
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
1 month 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.
1 month ago
Vsevolod Stakhov
8637480155
[Minor] Another similar `getline` fix
1 month ago
Vsevolod Stakhov
edc43a68f7
[Minor] Fix irrelevant issue with the `getline` invocation
1 month ago
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
1 month ago
Vsevolod Stakhov
a73a67f91d
[Fix] Fuzzy add/delete handlers are badly broken for compression
1 month ago
Vsevolod Stakhov
b606954ac3
[Minor] Use zstd compression by default in the client
No reasons why not to do it, as there are no supported versions without compression support
1 month ago
Vsevolod Stakhov
bc1d4d92f5
[Feature] Use msgpack in the client
1 month ago
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
1 month 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.
1 month ago
Vsevolod Stakhov
a4de9b2ebb
[Rework] Another rework of the dkim signing logic
1 month ago
Vsevolod Stakhov
3de247b318
[Rework] Allow multiple conditions for dkim signing when using vault/redis
1 month ago
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
1 month ago
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
1 month ago
Vsevolod Stakhov
0e1c723643
[Feature] Further optimization to the hot path
We check userdata very frequently, so the idea here is the following:
- Store the address of classname (converted to int) in the metatable at index 1
- When we need to check some udata, we can just compare the static address with
the integer stored in metatable
- This avoid quite an expensive `lua_rawequal` call for two tables as we know that
our classes are quite static
1 month ago
Vsevolod Stakhov
bcd36f7959
[Rework] Rework dynamic usage
1 month ago
Vsevolod Stakhov
dd284d1c1e
[Minor] Fix lua_tensor usage
1 month ago
Vsevolod Stakhov
900f364e36
[Rework] Use direct hashing instead of string hashing
1 month ago
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
1 month ago
Vsevolod Stakhov
72539a7ad1
[Minor] Forgotten files
1 month ago
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
1 month ago
Vsevolod Stakhov
24b189a91a
[Fix] Update `nconns` in proxy
1 month ago
Vsevolod Stakhov
d093bb5e0a
[Minor] Ask for utf8 string from libarchive
1 month ago