aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Fix missing non_en false due to fill_empty_strings functionDmitriy Alekseev2024-11-081-0/+2
| | | | | |
| * | | | | Merge branch 'master' into actualize-elastic-moduleDmitriy Alekseev2024-11-044-12/+20
| |\ \ \ \ \
| * | | | | | * add more validation on empty strings, required to not face errors in ↵Dmitriy Alekseev2024-11-031-30/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | saving logs to elastic * remove max_size as it was looking to rows elements count, not strings size in total, such check will be too much compute intensive * increase default errors max_fail as usually elastic not recover so quickly and needs a bit more time
| * | | | | | better check from to exclude cases when its emptyDmitriy Alekseev2024-10-221-9/+22
| | | | | | |
| * | | | | | use rspamd_ip object in sender_ip to avoid posting ipv4:portDmitriy Alekseev2024-10-211-1/+1
| | | | | | |
| * | | | | | Merge branch 'master' into actualize-elastic-moduleDmitriy Alekseev2024-10-218-243/+259
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| * | | | | | strip also port from sender_ipDmitriy Alekseev2024-10-211-1/+1
| | | | | | |
| * | | | | | do not allow empty headers, fix stripping of headers by limit of symbols ↵Dmitriy Alekseev2024-10-211-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | count and add headers count limit
| * | | | | | do not allow empty fromDmitriy Alekseev2024-10-211-8/+8
| | | | | | |
| * | | | | | round scores and weightDmitriy Alekseev2024-10-171-4/+10
| | | | | | |
| * | | | | | Merge branch 'master' into actualize-elastic-moduleDmitriy Alekseev2024-10-179-33/+86
| |\ \ \ \ \ \
| * | | | | | | fix variables for ucl errorsDmitriy Alekseev2024-10-171-2/+2
| | | | | | | |
| * | | | | | | return item status and reasons on bulk push errorDmitriy Alekseev2024-10-161-1/+11
| | | | | | | |
| * | | | | | | Fix from and rcptDmitriy Alekseev2024-10-151-3/+3
| | | | | | | |
| * | | | | | | do not retry on errors in body as it will create duplicated logsDmitriy Alekseev2024-10-151-24/+6
| | | | | | | |
| * | | | | | | Merge branch 'master' into actualize-elastic-moduleDmitriy Alekseev2024-10-152-1/+2
| |\ \ \ \ \ \ \
| * | | | | | | | We need take 2nd hopDmitriy Alekseev2024-10-141-2/+3
| | | | | | | | |
| * | | | | | | | Use received for all logs, fix directionDmitriy Alekseev2024-10-141-15/+22
| | | | | | | | |
| * | | | | | | | round time_diff to seconds on interval check, improve log message readabilityDmitriy Alekseev2024-10-141-3/+4
| | | | | | | | |
| * | | | | | | | reuse http_request dataDmitriy Alekseev2024-10-141-35/+20
| | | | | | | | |
| * | | | | | | | fix tabulationDmitriy Alekseev2024-10-141-2/+1
| | | | | | | | |
| * | | | | | | | align conf and module settings in luaDmitriy Alekseev2024-10-141-1/+1
| | | | | | | | |
| * | | | | | | | add missing change in configured state when no update is needed on index_policyDmitriy Alekseev2024-10-141-1/+4
| | | | | | | | |
| * | | | | | | | resolve linter issues and remove custom deep_compare function in favor of ↵Dmitriy Alekseev2024-10-141-62/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lua_util.table_cmp
| * | | | | | | | Update src/plugins/lua/elastic.luaDmitriy Alekseev2024-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
| * | | | | | | | Update src/plugins/lua/elastic.luaDmitriy Alekseev2024-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
| * | | | | | | | Update src/plugins/lua/elastic.luaDmitriy Alekseev2024-10-141-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
| * | | | | | | | [Rework] Breaking: Actualize elastic module, support Elastic 8 & OpenSearch ↵Dmitriy Alekseev2024-10-141-324/+1429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2, add index policy with logs retention and many more Signed-off-by: Dmytro Alieksieiev <1865999+dragoangel@users.noreply.github.com>
* | | | | | | | | Merge pull request #5207 from twesterhever/temp-attachment-rdpVsevolod Stakhov2024-11-051-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | [Minor] Score *.rdp attachments as bad
| * | | | | | | | | [Minor] Score *.rdp attachments as badtwesterhever2024-11-041-0/+1
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Rationale: https://www.microsoft.com/en-us/security/blog/2024/10/29/midnight-blizzard-conducts-large-scale-spear-phishing-campaign-using-rdp-files/
* / | | | | | | | [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
| |\ \