IKEDA Soji
2e742c5491
SUBJ_ALL_CAPS is overkill
It should consider characters in unicase scripts as being not uppercase.
1 周之前
Vsevolod Stakhov
12f965bf98
[Fix] Allow to set 0 as number of rows to disable roll history
Issue: #4947
Closes: #4947
1 周之前
Vsevolod Stakhov
9866fae90e
[Fix] Fix another corner case that allows candidates to be freed without init
1 周之前
Vsevolod Stakhov
2a894821db
[Fix] Apply detection phase if fasttext could not detect language
Issue: #4929
1 周之前
twesterhever
76b39f2c84
[Minor] Add bad file types commonly found in archives attached to malspam
2 週之前
twesterhever
60499c0563
Revert "[Enhancement] Implement Message-ID RHS checks against DNSBLs"
This reverts commit 5e84a82f87
.
2 週之前
twesterhever
5e84a82f87
[Enhancement] Implement Message-ID RHS checks against DNSBLs
1 月之前
Vsevolod Stakhov
fa56ac77de
[Fix] Do not read out-of-boundary when doing base64 encoding
2 週之前
Vsevolod Stakhov
990a9dc8db
[Minor] Further normalization
2 週之前
Vsevolod Stakhov
26ac157abc
[Minor] Jitter backpressure
2 週之前
Vsevolod Stakhov
e66c993097
[Project] Implement fuzzy check retransmits backpressure
2 週之前
Vsevolod Stakhov
bd44de491a
[Minor] Change log logic in fuzzy_check
2 週之前
Vsevolod Stakhov
917cdf87bf
[Minor] Add function to reschedule events at specific timer
2 週之前
Vsevolod Stakhov
6dd417bc9f
[Minor] Deal with descriptors in the wait queue
2 週之前
Vsevolod Stakhov
af228fdec3
[Minor] Do not use pointers to local variables, sigh
2 週之前
Vsevolod Stakhov
bd95a45f15
[Minor] Try to fix mess with refcounts
2 週之前
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.
2 週之前
Vsevolod Stakhov
7c84769997
[Minor] Support UTF8 in Received flags
Issue: #4919
3 週之前
Vsevolod Stakhov
6cf9ca1f97
[Fix] If we have one statfile disabled we need to disable all
3 週之前
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.
3 週之前
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.
1 月之前
Andrew Lewis
1c07c471bb
[Minor] Fix grow_factor
1 月之前
Vsevolod Stakhov
a96ff38346
[Project] Adjust some final bits
1 月之前
Vsevolod Stakhov
d1e16266e1
[Project] Write a function to adjust grow factor properly
1 月之前
Vsevolod Stakhov
ae103665a2
[Project] Rework grow factor as it is currently broken
1 月之前
Vsevolod Stakhov
b2ba70cf7a
[Fix] Honor dynamic thresholds for greylisting module
1 月之前
Vsevolod Stakhov
2715f24536
[Minor] Remove redundant metric name
1 月之前
Vsevolod Stakhov
2edcc63aea
[Fix] Update greylisting threshold as it can be easily dynamic
Issue: #4908
Closes: #4908
1 月之前
Vsevolod Stakhov
f4f89705b3
[Fix] Fix shared memory proxying when compression is set
1 月之前
Vsevolod Stakhov
fbc6e35dba
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
1 月之前
Andrew Lewis
7769774962
[Minor] Fix format of example setting (rspamd.com#736)
1 月之前
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
1 月之前
Vsevolod Stakhov
05636d9af8
[Minor] Deny zero length in regexp search functions
1 月之前
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 月之前
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
1 月之前
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 月之前
Vsevolod Stakhov
8637480155
[Minor] Another similar `getline` fix
1 月之前
Vsevolod Stakhov
edc43a68f7
[Minor] Fix irrelevant issue with the `getline` invocation
1 月之前
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
1 月之前
Vsevolod Stakhov
a73a67f91d
[Fix] Fuzzy add/delete handlers are badly broken for compression
1 月之前
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
2 月之前
Vsevolod Stakhov
bc1d4d92f5
[Feature] Use msgpack in the client
2 月之前
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
2 月之前
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 月之前
Vsevolod Stakhov
a4de9b2ebb
[Rework] Another rework of the dkim signing logic
2 月之前
Vsevolod Stakhov
3de247b318
[Rework] Allow multiple conditions for dkim signing when using vault/redis
2 月之前
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
2 月之前
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
2 月之前
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
2 月之前
Vsevolod Stakhov
bcd36f7959
[Rework] Rework dynamic usage
2 月之前