Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Fix] Another story about char sign | Vsevolod Stakhov | 2024-11-04 | 1 | -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` invocations | Vsevolod Stakhov | 2024-11-01 | 4 | -12/+20 |
| | |||||
* | [CritFix] Fix ARC-Seal signing | Jan Schär | 2024-10-20 | 1 | -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-openmetrics | Vsevolod Stakhov | 2024-10-20 | 2 | -0/+2 |
|\ | | | | | add EOF to openmetrics response in proxy and server | ||||
| * | add EOF to openmetrics response in proxy and server | Henry Spanka | 2024-10-18 | 2 | -0/+2 |
| | | |||||
* | | [Rework] Allow `Content-Encoding` standard header for zstd compressionvstakhov-zstd-headers | Vsevolod Stakhov | 2024-10-17 | 6 | -243/+253 |
|/ | |||||
* | [Fix] Restore propagation of spam/ham learns | Vsevolod Stakhov | 2024-10-16 | 2 | -5/+8 |
| | |||||
* | [Fix] Load "default" provider as well as "legacy" | Vsevolod Stakhov | 2024-10-15 | 1 | -1/+8 |
| | |||||
* | [Minor] Use OSSL_PROVIDER_load on RHEL based distrosvstakhov-some-build-fixes | Vsevolod Stakhov | 2024-10-15 | 1 | -3/+9 |
| | |||||
* | [Minor] Remove bogus DEBIAN_BUILD constant | Vsevolod Stakhov | 2024-10-15 | 3 | -6/+6 |
| | |||||
* | [Minor] Thank you OpenSSL for all those new names | Vsevolod Stakhov | 2024-10-15 | 1 | -1/+1 |
| | |||||
* | [Fix] Do not abort when OpenSSL is broken, report that to a uservstakhov-openssl-provider-message | Vsevolod Stakhov | 2024-10-15 | 3 | -19/+56 |
| | | | | Issue: #5181 | ||||
* | [Fix] Use unsigned char for ragel machines | Vsevolod Stakhov | 2024-10-14 | 1 | -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 Stakhov | 2024-10-14 | 1 | -0/+5 |
| | | | | This reverts commit 0d962621f158e0b64693e947beecb3242a229fd2. | ||||
* | [Minor] Fix GCC sanitizer | Vsevolod Stakhov | 2024-10-14 | 1 | -1/+1 |
| | |||||
* | [Minor] Remove custom ragel flags to test arm64 bug | Vsevolod Stakhov | 2024-10-14 | 1 | -5/+0 |
| | |||||
* | [Fix] Avoid null-bytes in Log-Tag header value. | Sebastian Marsching | 2024-10-08 | 1 | -1/+2 |
| | | | | This fixes #5178. | ||||
* | [Minor] Make API consistent | Vsevolod Stakhov | 2024-09-27 | 1 | -4/+4 |
| | |||||
* | Merge pull request #5056 from rspamd/vstakhov-utf8-mime | Vsevolod Stakhov | 2024-09-27 | 8 | -16/+57 |
|\ | | | | | [Feature] MIME UTF8 support | ||||
| * | Merge branch 'master' into vstakhov-utf8-mimevstakhov-utf8-mime | Vsevolod Stakhov | 2024-09-24 | 11 | -112/+254 |
| |\ | |||||
| * \ | Merge branch 'master' into vstakhov-utf8-mime | Vsevolod Stakhov | 2024-09-17 | 8 | -247/+380 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into vstakhov-utf8-mime | Vsevolod Stakhov | 2024-09-05 | 1 | -28/+80 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'master' into vstakhov-utf8-mime | Vsevolod Stakhov | 2024-09-05 | 47 | -2480/+1632 |
| |\ \ \ \ | |||||
| * | | | | | [Minor] Disable mime utf by default | Vsevolod Stakhov | 2024-07-17 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | [Fix] Encode headers that we send to milter add header | Vsevolod Stakhov | 2024-07-17 | 1 | -2/+9 |
| | | | | | | |||||
| * | | | | | [Minor] Add flag for mime utf operations | Vsevolod Stakhov | 2024-07-16 | 4 | -1/+33 |
| | | | | | | |||||
| * | | | | | [Minor] Fix grammar rule | Vsevolod Stakhov | 2024-07-15 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | [Minor] Allow u-labels | Vsevolod Stakhov | 2024-07-15 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | [Project] Start support of MIME UTF8 | Vsevolod Stakhov | 2024-07-15 | 3 | -11/+13 |
| | | | | | | |||||
* | | | | | | [Rework] Remove control block supportvstakhov-remove-control-block | Vsevolod Stakhov | 2024-09-26 | 4 | -166/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | It has been buggy and never really used by anyone I suppose. | ||||
* | | | | | | [Fix] Fix glib internals by setting locale in `rspamc` | Vsevolod Stakhov | 2024-09-25 | 1 | -0/+2 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | [Fix] Iterate over dynamic keys in fuzzy storage | Vsevolod Stakhov | 2024-09-24 | 1 | -0/+6 |
| | | | | | |||||
* | | | | | [Minor] Another compatibility fix | Vsevolod Stakhov | 2024-09-24 | 1 | -0/+4 |
| | | | | | |||||
* | | | | | [Minor] Use portable macro for old OpenSSLvstakhov-ssl-fixes | Vsevolod Stakhov | 2024-09-24 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | [Minor] Another compatibility fix | Vsevolod Stakhov | 2024-09-24 | 1 | -2/+9 |
| | | | | | |||||
* | | | | | [Fix] Get rid of EVP_PKEY_CTX_set1_rsa_keygen_pubexp | Vsevolod Stakhov | 2024-09-23 | 2 | -21/+0 |
| | | | | | | | | | | | | | | | | | | | | OpenSSL uses 65537 by default, no need in explicit set. | ||||
* | | | | | [Rework] Allow more flexible keypair encodingvstakhov-keypair-encoding | Vsevolod Stakhov | 2024-09-21 | 8 | -88/+167 |
| | | | | | |||||
* | | | | | Merge branch 'master' into vstakhov-cpu-detectionvstakhov-cpu-detection | Vsevolod Stakhov | 2024-09-20 | 1 | -0/+12 |
|\ \ \ \ \ | |||||
| * | | | | | [Feature] DMARC: Implement reporting.only_domains setting | Andrew Lewis | 2024-09-18 | 1 | -0/+12 |
| | |_|_|/ | |/| | | | |||||
* / | | | | [Rework] Use __builtin_cpu_supports where possible | Vsevolod Stakhov | 2024-09-16 | 1 | -0/+55 |
|/ / / / | |||||
* | | | | [Minor] Sigh, so hard to fix it | Vsevolod Stakhov | 2024-09-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | [Minor] C varargs suck | Vsevolod Stakhov | 2024-09-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | [Minor] Slight explanations of the decision made | Vsevolod Stakhov | 2024-09-12 | 1 | -2/+5 |
| | | | | |||||
* | | | | [Project] Implement expiration | Vsevolod Stakhov | 2024-09-11 | 1 | -0/+25 |
| | | | | |||||
* | | | | [Project] Implement per-key ratelimit | Vsevolod Stakhov | 2024-09-11 | 1 | -4/+54 |
| | | | | |||||
* | | | | [Project] Add parsing of key limits and expire date | Vsevolod Stakhov | 2024-09-11 | 1 | -3/+16 |
| | | | | |||||
* | | | | [Project] Add ratelimit parsing for fuzzy keys | Vsevolod Stakhov | 2024-09-11 | 1 | -5/+43 |
| | | | | |||||
* | | | | [Project] Move ratelimit parsing stuff to a common library | Vsevolod Stakhov | 2024-09-11 | 2 | -138/+28 |
| | | | | |||||
* | | | | [Project] Rework ratelimits check | Vsevolod Stakhov | 2024-09-10 | 1 | -52/+91 |
| | | | | |||||
* | | | | [Minor] Fix some unsafe chmod | Vsevolod Stakhov | 2024-09-10 | 1 | -6/+12 |
| | | | |