aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [Fix] Another story about char signVsevolod Stakhov2024-11-041-9/+9
| | | | | | | Ragel still produces a wrong state machine if `const char *` is used for characters representation that are actually utf8. This PR changes all types to `unsigned char *` for consistency.
* [Fix] Fix memory leak in `lua_new_text` invocationsVsevolod Stakhov2024-11-014-12/+20
|
* [CritFix] Fix ARC-Seal signingJan Schär2024-10-201-0/+4
| | | | | | | | | | | | | | | | | Signing of ARC-Seal headers was recently broken; the created signatures failed to validate. Most likely, this was caused by commit 1e661a2fc6e3, which changed the way signatures are created in lua_rsa_sign_memory without adding the calls to EVP_PKEY_CTX_set_rsa_padding and EVP_PKEY_CTX_set_signature_md needed with the new interface. After fixing this, some existing tests failed, because the test values passed to the hash parameter did not have the correct size for a sha256 hash. I fixed these by adjusting the length of the test values. Additionally, I extended the "RSA sign" unit test to compare the created signature against the expected one. This is possible because RSA signing is deterministic, and should prevent the same bug from occuring again. Fixes: https://github.com/rspamd/rspamd/issues/5173
* Merge pull request #5192 from henry-spanka/add-eof-to-openmetricsVsevolod Stakhov2024-10-202-0/+2
|\ | | | | add EOF to openmetrics response in proxy and server
| * add EOF to openmetrics response in proxy and serverHenry Spanka2024-10-182-0/+2
| |
* | [Rework] Allow `Content-Encoding` standard header for zstd compressionvstakhov-zstd-headersVsevolod Stakhov2024-10-176-243/+253
|/
* [Fix] Restore propagation of spam/ham learnsVsevolod Stakhov2024-10-162-5/+8
|
* [Fix] Load "default" provider as well as "legacy"Vsevolod Stakhov2024-10-151-1/+8
|
* [Minor] Use OSSL_PROVIDER_load on RHEL based distrosvstakhov-some-build-fixesVsevolod Stakhov2024-10-151-3/+9
|
* [Minor] Remove bogus DEBIAN_BUILD constantVsevolod Stakhov2024-10-153-6/+6
|
* [Minor] Thank you OpenSSL for all those new namesVsevolod Stakhov2024-10-151-1/+1
|
* [Fix] Do not abort when OpenSSL is broken, report that to a uservstakhov-openssl-provider-messageVsevolod Stakhov2024-10-153-19/+56
| | | | Issue: #5181
* [Fix] Use unsigned char for ragel machinesVsevolod Stakhov2024-10-141-0/+1
| | | | | | | It seems that on aarch64 Linux char is signed by default, so Ragel produces a wrong code that is "optimized" by a compiler simply to `false`. Issue: #5172
* Revert "[Minor] Remove custom ragel flags to test arm64 bug"Vsevolod Stakhov2024-10-141-0/+5
| | | | This reverts commit 0d962621f158e0b64693e947beecb3242a229fd2.
* [Minor] Fix GCC sanitizerVsevolod Stakhov2024-10-141-1/+1
|
* [Minor] Remove custom ragel flags to test arm64 bugVsevolod Stakhov2024-10-141-5/+0
|
* [Fix] Avoid null-bytes in Log-Tag header value.Sebastian Marsching2024-10-081-1/+2
| | | | This fixes #5178.
* [Minor] Make API consistentVsevolod Stakhov2024-09-271-4/+4
|
* Merge pull request #5056 from rspamd/vstakhov-utf8-mimeVsevolod Stakhov2024-09-278-16/+57
|\ | | | | [Feature] MIME UTF8 support
| * Merge branch 'master' into vstakhov-utf8-mimevstakhov-utf8-mimeVsevolod Stakhov2024-09-2411-112/+254
| |\
| * \ Merge branch 'master' into vstakhov-utf8-mimeVsevolod Stakhov2024-09-178-247/+380
| |\ \
| * \ \ Merge branch 'master' into vstakhov-utf8-mimeVsevolod Stakhov2024-09-051-28/+80
| |\ \ \
| * \ \ \ Merge branch 'master' into vstakhov-utf8-mimeVsevolod Stakhov2024-09-0547-2480/+1632
| |\ \ \ \
| * | | | | [Minor] Disable mime utf by defaultVsevolod Stakhov2024-07-171-1/+1
| | | | | |
| * | | | | [Fix] Encode headers that we send to milter add headerVsevolod Stakhov2024-07-171-2/+9
| | | | | |
| * | | | | [Minor] Add flag for mime utf operationsVsevolod Stakhov2024-07-164-1/+33
| | | | | |
| * | | | | [Minor] Fix grammar ruleVsevolod Stakhov2024-07-151-1/+1
| | | | | |
| * | | | | [Minor] Allow u-labelsVsevolod Stakhov2024-07-151-1/+1
| | | | | |
| * | | | | [Project] Start support of MIME UTF8Vsevolod Stakhov2024-07-153-11/+13
| | | | | |
* | | | | | [Rework] Remove control block supportvstakhov-remove-control-blockVsevolod Stakhov2024-09-264-166/+4
| | | | | | | | | | | | | | | | | | | | | | | | It has been buggy and never really used by anyone I suppose.
* | | | | | [Fix] Fix glib internals by setting locale in `rspamc`Vsevolod Stakhov2024-09-251-0/+2
| |_|_|_|/ |/| | | |
* | | | | [Fix] Iterate over dynamic keys in fuzzy storageVsevolod Stakhov2024-09-241-0/+6
| | | | |
* | | | | [Minor] Another compatibility fixVsevolod Stakhov2024-09-241-0/+4
| | | | |
* | | | | [Minor] Use portable macro for old OpenSSLvstakhov-ssl-fixesVsevolod Stakhov2024-09-241-1/+1
| | | | |
* | | | | [Minor] Another compatibility fixVsevolod Stakhov2024-09-241-2/+9
| | | | |
* | | | | [Fix] Get rid of EVP_PKEY_CTX_set1_rsa_keygen_pubexpVsevolod Stakhov2024-09-232-21/+0
| | | | | | | | | | | | | | | | | | | | OpenSSL uses 65537 by default, no need in explicit set.
* | | | | [Rework] Allow more flexible keypair encodingvstakhov-keypair-encodingVsevolod Stakhov2024-09-218-88/+167
| | | | |
* | | | | Merge branch 'master' into vstakhov-cpu-detectionvstakhov-cpu-detectionVsevolod Stakhov2024-09-201-0/+12
|\ \ \ \ \
| * | | | | [Feature] DMARC: Implement reporting.only_domains settingAndrew Lewis2024-09-181-0/+12
| | |_|_|/ | |/| | |
* / | | | [Rework] Use __builtin_cpu_supports where possibleVsevolod Stakhov2024-09-161-0/+55
|/ / / /
* | | | [Minor] Sigh, so hard to fix itVsevolod Stakhov2024-09-121-1/+1
| | | |
* | | | [Minor] C varargs suckVsevolod Stakhov2024-09-121-1/+1
| | | |
* | | | [Minor] Slight explanations of the decision madeVsevolod Stakhov2024-09-121-2/+5
| | | |
* | | | [Project] Implement expirationVsevolod Stakhov2024-09-111-0/+25
| | | |
* | | | [Project] Implement per-key ratelimitVsevolod Stakhov2024-09-111-4/+54
| | | |
* | | | [Project] Add parsing of key limits and expire dateVsevolod Stakhov2024-09-111-3/+16
| | | |
* | | | [Project] Add ratelimit parsing for fuzzy keysVsevolod Stakhov2024-09-111-5/+43
| | | |
* | | | [Project] Move ratelimit parsing stuff to a common libraryVsevolod Stakhov2024-09-112-138/+28
| | | |
* | | | [Project] Rework ratelimits checkVsevolod Stakhov2024-09-101-52/+91
| | | |
* | | | [Minor] Fix some unsafe chmodVsevolod Stakhov2024-09-101-6/+12
| | | |