Vsevolod Stakhov
1e1103916f
[Project] Some rework of the CTA defaults
2 months ago
Vsevolod Stakhov
6245101b5e
Merge branch 'master' into vstakhov-html-features
2 months ago
Vsevolod Stakhov
848ea6502b
[Project] Take button weight into consideration
2 months ago
Vsevolod Stakhov
4273c0c77a
[Project] Add CTA analytics engine
2 months ago
Vsevolod Stakhov
3eb75c4f26
[Minor] Fix NULL check
2 months ago
Vsevolod Stakhov
3fc6c1c37d
[Minor] Fix build
2 months ago
Vsevolod Stakhov
8487ea2055
[Project] Extract more features from HTML messages
2 months ago
Vsevolod Stakhov
6289acb1ce
Merge pull request #5607 from moisseev/webui
[Minor] Update Bootstrap 5.3.7 → 5.3.8
2 months ago
Vsevolod Stakhov
1a1ef4a55c
Merge pull request #5606 from moisseev/e2e-scan
[Test] Add WebUI E2E scan flow test
2 months ago
Alexander Moisseev
bdc84fdf68
[Minor] Update Bootstrap 5.3.7 → 5.3.8
2 months ago
Alexander Moisseev
528ee6fc86
[Test] Add WebUI E2E scan flow test
Covers reading counters before scanning, scanning two test messages,
verifying history, resetting history, and checking updated counters.
2 months ago
Alexander Moisseev
dfa709d9e0
[Test] Enable history_redis module
2 months ago
Vsevolod Stakhov
2e2921b04f
Merge pull request #5604 from rspamd/vstakhov-lua-headers-fold
Unify folding for the headers
2 months ago
Vsevolod Stakhov
951638624a
Merge pull request #5553 from dragoangel/patch-13
Disable invalid mime from and rcpt in case of 8bit and enable_mime_utf
2 months ago
Vsevolod Stakhov
e8b90e0e10
[Minor] Update plugins that are using headers modifications
2 months ago
Vsevolod Stakhov
eb5e132631
[Feature] Add lua_util.fold_header_with_encoding
2 months ago
Vsevolod Stakhov
befcaf37ff
Merge pull request #5603 from rspamd/vstakhov-upstream-revive-rework
Improve upstream resilience: add probe mode and remove force-revive
2 months ago
Vsevolod Stakhov
9848f16510
[Project] Implement backoff for upstreams revival
2 months ago
Vsevolod Stakhov
c132ade98b
[Project] Start to implement better revive strategy for upstreams
2 months ago
Vsevolod Stakhov
51c66d11b7
Merge pull request #5601 from rspamd/vstakhov-dns-resolving
[Feature] Resolve DNS nameservers names using getaddrinfo
2 months ago
Vsevolod Stakhov
c0a16d53b0
[Minor] Optimise re-resolving for known IPs
2 months ago
Vsevolod Stakhov
3a3b4f5d07
Merge pull request #5596 from moisseev/webui
[Fix] Prevent WebUI crash with empty RRD
2 months ago
Vsevolod Stakhov
fa1f0c1942
Merge pull request #5598 from fatalbanana/de_cgp
[Minor] Remove cgp.inc from configuration
2 months ago
Vsevolod Stakhov
3ffc665243
[Feature] Resolve DNS nameservers names using getaddrinfo
2 months ago
Vsevolod Stakhov
e966fc3a4f
Merge pull request #5600 from flesueur/master
Fix score calculation for dcc - Fixes #5451
2 months ago
Francois Lesueur
8062166f70
Fix score calculation for dcc
2 months ago
Andrew Lewis
0e14d81034
[Minor] Remove cgp.inc from configuration
2 months ago
Alexander Moisseev
0c97a531ab
[Fix] Prevent WebUI crash with empty RRD
on Throughput tab switching
2 months ago
Vsevolod Stakhov
bf425b618b
Merge pull request #5579 from rspamd/vstakhov-neural-rework
Neural module rework: provider-based feature fusion, LLM embeddings, normalization, and v3 schema
2 months ago
Vsevolod Stakhov
2f83fa5ec7
Merge pull request #5593 from rspamd/vstakhov-dkim-canon-rework
Fix DKIM relaxed body canonicalization and optimize performance
2 months ago
Vsevolod Stakhov
01a1032107
[Fix] Fix l= calculations again
2 months ago
Vsevolod Stakhov
2f52cdf2e1
Fix DKIM relaxed body canonicalization and optimize performance
This PR addresses critical issues in DKIM relaxed body canonicalization and modernizes the codebase by replacing GLib types with standard C types.
- **RFC Compliance**: Fixed incorrect canonicalization of lines containing only whitespace. Previously, such lines were not properly handled according to RFC 6376, which could lead to DKIM signature verification failures.
- **Memory Safety**: Fixed incorrect pointer dereference in `rspamd_dkim_skip_empty_lines` that could cause undefined behavior.
- **Zero-copy Optimization**: Reimplemented `rspamd_dkim_relaxed_body_step` to avoid unnecessary memory copies. The new implementation:
- Processes input data directly without intermediate buffers
- Reduces the number of `EVP_DigestUpdate` calls by processing larger chunks
- Improves CPU cache efficiency
- Results in significantly better performance for large email bodies
- Replaced all GLib types with standard C equivalents:
- `gsize` → `size_t`
- `gssize` → `ssize_t`
- `gboolean` → `bool`
- `TRUE/FALSE` → `true/false`
- And other GLib-specific types
- Added necessary standard headers (`stdbool.h`, `stdint.h`, `limits.h`)
- Added comprehensive debug logging for:
- Chunk processing with size information
- Empty line detection and skipping
- Space collapsing operations
Issue: #5590
2 months ago
Vsevolod Stakhov
24b7f24447
Merge pull request #5581 from rekup/fix/dkim-vault
[Fix] fix error check in lua_dkim_tools.lua
2 months ago
Vsevolod Stakhov
a6f0660120
Merge pull request #5580 from fatalbanana/rearm_ci
[Test] Run CI on ARM again
2 months ago
Vsevolod Stakhov
eecfa77eab
Merge pull request #5585 from heptalium/meissner-update-maps
Update included fallback maps with data from maps.rspamd.com
2 months ago
Vsevolod Stakhov
ef1bc56a79
Merge pull request #5592 from arkamar/unify-cxx-standard
[Fix] Use C++20 standard consistently to resolve ODR violations
2 months ago
Petr Vaněk
bf41ad1e54
[Fix] Use C++20 standard consistently to resolve ODR violations
This commit resolves an ODR violations when compiling with -flto and
-Werror=odr [1]. The main project used a newer C++20 standard, while the
backward-cpp and simdutf libraries used an older C++11 standard. This
difference caused the linker to fail.
Setting C++20 standard in both libraries resolves the ODR issue.
Link: https://bugs.gentoo.org/962041 [1]
2 months ago
Vsevolod Stakhov
9a1efa09bc
[Minor] Pet luacheck
2 months ago
Vsevolod Stakhov
69db7c992f
[Project] Add tests for LLM provider, fix various issues with metatokens
2 months ago
Vsevolod Stakhov
a1975b95a9
[Project] Fix various other issues
2 months ago
Vsevolod Stakhov
597ae4da82
[Project] Rework rspamc to allow training of different neural types
2 months ago
Vsevolod Stakhov
e6fdc3b42f
[Fix] GPT: Fix occasional damage
2 months ago
Vsevolod Stakhov
e735d265fe
Merge pull request #5583 from fatalbanana/el10_fix
[Minor] Further RPM changes for EL10
2 months ago
Jens Meißner
6a97fc80d5
Update included fallback maps with data from maps.rspamd.com
2 months ago
Andrew Lewis
199a29ad9c
[Minor] Further RPM changes for EL10
2 months ago
Reto Kupferschmid
d8b550d7a1
[Fix] fix error check in lua_dkim_tools.lua
3 months ago
Andrew Lewis
f36c4bf057
[Test] Run CI on ARM again
3 months ago
Vsevolod Stakhov
7e408d48e4
[Project] Add controller learn endpoints
3 months ago
Vsevolod Stakhov
8c59bd7c2f
[Minor] Move common stuff to a separate function
3 months ago
Vsevolod Stakhov
f60a55f6c5
[Minor] Don't use coroutines
3 months ago