aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Some more fixesVsevolod Stakhov2024-11-161-4/+4
|
* [Fix] Some more fixesVsevolod Stakhov2024-11-161-4/+10
|
* [Rework] Rewrite rfc2047 encoding as it was totally brokenVsevolod Stakhov2024-11-161-68/+46
|
* [Minor] Get rid of glib utf8 functionsVsevolod Stakhov2024-11-161-13/+16
|
* [Fix] Milter headers: fold before encodingVsevolod Stakhov2024-11-151-4/+5
|
* Merge pull request #5162 from left-try/masterVsevolod Stakhov2024-11-111-1/+4
|\ | | | | Store LRU cache of last filled ratelimit buckets
| * Merge branch 'master' into masterVsevolod Stakhov2024-11-066-21/+30
| |\
| * \ Merge branch 'rspamd:master' into masterIvan Stakhov2024-10-233-0/+6
| |\ \
| * \ \ Merge branch 'rspamd:master' into masterIvan Stakhov2024-10-1918-278/+343
| |\ \ \
| * | | | [Minor] Small fix upLeftTry2024-09-301-1/+1
| | | | |
| * | | | [Minor] Make names more informativeLeftTry2024-09-291-4/+4
| | | | |
| * | | | Merge remote-tracking branch 'origin/master'LeftTry2024-09-2914-182/+69
| |\ \ \ \
| * | | | | [Feature] Add LRU cache for last filled ratelimit bucketsLeftTry2024-09-291-1/+4
| | | | | |
* | | | | | Merge pull request #5186 from dragoangel/actualize-elastic-moduleVsevolod Stakhov2024-11-111-332/+1436
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | [Rework] Breaking: Actualize elastic module
| * | | | | 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
|/ / / / /