Andrew Lewis
7769774962
[Minor] Fix format of example setting (rspamd.com#736)
3 月之前
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
3 月之前
Vsevolod Stakhov
05636d9af8
[Minor] Deny zero length in regexp search functions
3 月之前
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
3 月之前
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
3 月之前
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.
3 月之前
Vsevolod Stakhov
8637480155
[Minor] Another similar `getline` fix
3 月之前
Vsevolod Stakhov
edc43a68f7
[Minor] Fix irrelevant issue with the `getline` invocation
3 月之前
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
3 月之前
Vsevolod Stakhov
a73a67f91d
[Fix] Fuzzy add/delete handlers are badly broken for compression
3 月之前
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
3 月之前
Vsevolod Stakhov
bc1d4d92f5
[Feature] Use msgpack in the client
3 月之前
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
3 月之前
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.
3 月之前
Vsevolod Stakhov
a4de9b2ebb
[Rework] Another rework of the dkim signing logic
3 月之前
Vsevolod Stakhov
3de247b318
[Rework] Allow multiple conditions for dkim signing when using vault/redis
3 月之前
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
3 月之前
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
3 月之前
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
3 月之前
Vsevolod Stakhov
bcd36f7959
[Rework] Rework dynamic usage
3 月之前
Vsevolod Stakhov
dd284d1c1e
[Minor] Fix lua_tensor usage
3 月之前
Vsevolod Stakhov
900f364e36
[Rework] Use direct hashing instead of string hashing
3 月之前
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
3 月之前
Vsevolod Stakhov
72539a7ad1
[Minor] Forgotten files
3 月之前
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
3 月之前
Vsevolod Stakhov
24b189a91a
[Fix] Update `nconns` in proxy
3 月之前
Vsevolod Stakhov
d093bb5e0a
[Minor] Ask for utf8 string from libarchive
4 月之前
Vsevolod Stakhov
35085a042f
[Minor] Detect encryption when libarchive is used
4 月之前
Vsevolod Stakhov
8e8a09ffbf
[Project] Use libarchive for troublesome archives
4 月之前
Vsevolod Stakhov
269243987f
[Fix] Allow different template expansion parameters
Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
4 月之前
Vsevolod Stakhov
923a70bbce
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
4 月之前
Vsevolod Stakhov
50e9652789
[Fix] Fix history key, as we use `{=` and not `{{` in templates
4 月之前
Vsevolod Stakhov
6c8e9a3378
[Minor] Allow to have only dynamic keys in fuzzy storage
4 月之前
Vsevolod Stakhov
8cf1f0698b
[Minor] Improve logging
4 月之前
Vsevolod Stakhov
6296080e41
[Fix] Fix initial maps load
4 月之前
Vsevolod Stakhov
20bd3eecb7
[Feature] Implement dynamic keys map in fuzzy storage
4 月之前
Vsevolod Stakhov
a3866372a6
[Minor] Add refcounts on fuzzy keys for shared usage
4 月之前
Vsevolod Stakhov
c5da2ff5e9
[Rework] Use khash instead of glib hashes for many reasons
4 月之前
Vsevolod Stakhov
8d7081d885
[Fix] Encode headers in metadata exporter
Issue: #4808
4 月之前
Vsevolod Stakhov
dca0a49e6d
[Fix] Make stat tokens allocation consistent
4 月之前
Vsevolod Stakhov
f8210a5ba9
[Test] Add unit tests
4 月之前
Vsevolod Stakhov
d3a56d9509
[Fix] Try to fix url path issue
4 月之前
Vsevolod Stakhov
c6514d44c8
[Minor] Slightly improve log message
4 月之前
Vsevolod Stakhov
52d1dfb9ac
[Feature] Lua_url: Add `to_http` method
4 月之前
Vsevolod Stakhov
cb6478111d
[Minor] Add LOG_CONS flag to `openlog`
4 月之前
Vsevolod Stakhov
d650562632
[Feature] Support JSON logging when in syslog mode
4 月之前
Andrew Lewis
b66bbcbea1
[Minor] rspamd_task API docs: fix broken link
4 月之前
Vsevolod Stakhov
500fac7fd7
[Fix] Resolve issue with bayes stat in `rspamadm` mode
4 月之前
Vsevolod Stakhov
c8dc2b00f9
[Fix] Deal with `Connection` and `Host` headers on proxying
5 月之前
Vsevolod Stakhov
66fde72a40
[Minor] Fix doc string
5 月之前