aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update ci_rspamd_build.ymlvstakhov-ci-tryVsevolod Stakhov2024-09-231-5/+5
|
* Update ci.ymlVsevolod Stakhov2024-09-231-3/+3
|
* Create ci_rspamd_build.ymlVsevolod Stakhov2024-09-231-0/+51
|
* Add more build targetsVsevolod Stakhov2024-09-231-0/+18
| | | Issue: #5152
* [Minor] Our version should be 3.10Vsevolod Stakhov2024-09-231-2/+2
|
* Merge pull request #5144 from rspamd/vstakhov-keypair-encodingVsevolod Stakhov2024-09-228-88/+167
|\ | | | | [Rework] Allow more flexible keypair encoding
| * [Rework] Allow more flexible keypair encodingvstakhov-keypair-encodingVsevolod Stakhov2024-09-218-88/+167
|/
* Merge pull request #5140 from rspamd/vstakhov-cpu-detectionVsevolod Stakhov2024-09-203-0/+63
|\ | | | | [Feature] Detect CPU using __builtin_cpu_supports where it's possible
| * Merge branch 'master' into vstakhov-cpu-detectionvstakhov-cpu-detectionVsevolod Stakhov2024-09-206-9/+326
| |\ | |/ |/|
* | [Feature] Add rspamadm secretbox commandIvan Stakhov2024-09-185-9/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Minor] Small fix for error messages * [Feature] Create rspamadm util to decrypt header * [Feature] Create python example to encrypt/decrypt header * [Minor] Small clean up * [Minor] Change c-rspamadm util to lua-rspamadm util * [Minor] Small clean up * [Minor] Add some debug * [Feature] Add secretbox command * [Minor] Debug * [Minor] Add additional return for encrypted string(noce + encrypted string * [Minor] Small debug * [Minor] Add a way to provide encrypted text concatenated with nonce * [Minor] Add nonce to encrypt text * [Minor] Clean up * [Minor] Clean up unused variable * [Minor] Small fix * [Minor] Fix return issue * [Minor] Add blake2b for key derivation * [Minor] Small upgrade to debug * [Minor] Small clean up * [Minor] Change return to more convenient form * [Minor] Change print to test form * [Test] Provide tests for encrypt/decrypt with rspamadm util and python script * [Minor] Change python to python3 * [Minor] Add stderr check * [Minor] Make the function return nonce+text * [Minor] Change unit tests to new return format * [Minor] Add flag to manage encodings * [Minor] Add --encoding argument to manage encodings * [Minor] Change tests for new input format * [Minor] Fix lua format * [Minor] Small fix * [Minor] Provide full support for new return format of maybe_encrypt_header * [Test] Test small fix * [Test] Small fix * [Minor] Clean up * [Minor] Small fix for name of variable * [Minor] Small clean up * [Minor] Change format of command to a mre convenient * [Minor] Change tests to be same as a format of a command * [Minor] Change description of flags * [Minor] Small fix --------- Co-authored-by: Ivan Stakhov <50211739+LeftTry@users.noreply.github.com>
* | Merge pull request #5142 from fatalbanana/dmarc_only_domainsVsevolod Stakhov2024-09-181-0/+12
|\ \ | | | | | | [Feature] DMARC: Implement reporting.only_domains setting
| * | [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] Detect __builtin_cpu_supportsVsevolod Stakhov2024-09-162-0/+8
|/
* [Minor] Do not autolearn messages without queue idVsevolod Stakhov2024-09-141-0/+7
| | | | Suggested by: @moisseev
* Merge pull request #5133 from moisseev/testVsevolod Stakhov2024-09-142-239/+184
|\ | | | | [Test] Upgrade linters
| * [Test] Upgrade lintersAlexander Moisseev2024-09-112-239/+184
| | | | | | | | | | | | - Upgraded `eslint` from 9.7.0 to 9.10.0 - Upgraded `@stylistic/eslint-plugin` from 2.3.0 to 2.8.0 - Upgraded `stylelint` from 16.7.0 to 16.9.0
* | Merge pull request #5139 from spacefreak86/fix-dmarc-grammarVsevolod Stakhov2024-09-131-4/+4
|\ \ | | | | | | [Fix] Rework DMARC grammar to correctly handle spaces in values
| * | [Minor] remove unnecessary calls of lpeg.P in DMARC grammarThomas Oettli2024-09-131-2/+2
| | | | | | | | | | | | Just to make to code more readable.
| * | [Fix] Rework DMARC to correctly handle spaces in DMARC recordsThomas Oettli2024-09-121-3/+3
|/ / | | | | | | Issue: #4906
* | Merge pull request #5135 from rspamd/vstakhov-fuzzy-keys-limitsVsevolod Stakhov2024-09-123-195/+408
|\ \ | |/ |/| Implement individual limits for fuzzy keys
| * [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-113-138/+183
| |
| * [Project] Rework ratelimits checkVsevolod Stakhov2024-09-101-52/+91
|/
* [Minor] Fix some unsafe chmodVsevolod Stakhov2024-09-101-6/+12
|
* [Minor] Fix some SSL issuesVsevolod Stakhov2024-09-101-16/+4
|
* Merge pull request #5131 from rspamd/vstakhov-fuzzy-modeVsevolod Stakhov2024-09-101-15/+43
|\ | | | | [Feature] Allow different modes for fuzzy rules
| * [Feature] Allow differen modes for fuzzy rulesVsevolod Stakhov2024-09-091-15/+43
|/
* Merge pull request #5129 from rspamd/vstakhov-redis-schemaVsevolod Stakhov2024-09-084-8/+10
|\ | | | | [Fix] Another fix for Redis schema
| * [Fix] Another fix for Redis schemaVsevolod Stakhov2024-09-074-8/+10
|/ | | | Issue: #5112
* Merge pull request #5127 from rspamd/vstakhov-fuzzy-symbolsVsevolod Stakhov2024-09-052-11/+64
|\ | | | | Rework fuzzy symbols
| * [Rework] Implement new replies logic on the server's sideVsevolod Stakhov2024-09-051-10/+13
| |
| * [Minor] Add `encryption_required` symbolVsevolod Stakhov2024-09-051-0/+18
| |
| * [Minor] s/BLOCKED/FORBIDDEN/Vsevolod Stakhov2024-09-051-4/+4
| | | | | | | | We want it to be more informative and to distinguish from FUZZY_DENIED
| * [Rework] Change fuzzy error symbolsVsevolod Stakhov2024-09-051-1/+33
|/ | | | | FUZZY_BLOCKED -> FUZZY_RATELIMITED FUZZY_BLOCKED - new symbol for permanent bans
* [Feature] Add tooling to encrypt strings in LuaIvan Stakhov2024-09-053-28/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Fix] Provide support for OpenSSL 3.0 * [Feature] Provide function to encode header with configured public key * [Feature] Provide function to decode header with configured public key * [Test] Add tests for maybe encode/decode header * [Minor] Fix tests for encode/decode header * [Minor] Small clean up * [Minor] Small clean up * [Minor] Small fix for OpenSSL 3.0 support * [Minor] Provide logging * [Minor] Small fix * [Fix] Fix typo error * [Fix] Another typo * [Minor] Little clean up * [Minor] Little fix * [Minor] Small fix * [Minor] Small fix * [Minor] Rewrite the arguments of secretbox:encrypt/decrypt functions to a more understandable format * [Fix] Fix problem with nonce was not provided * [Test] Add test for nonce * [Minor] Little clean up * [Minor] Little clean up * [Test] Test * [Test] Test * [Test] Test * [Minor] Little fix * [Minor] Small fix * [Minor] Small fix * [Test] Small fix * [Test] Test * [Test] Test * [Test] Test * [Test] Test * [Minor] Small fix for fips provider * [Minor] Change provider apply logic * [Test] Little fix for provider * [Minor] Provide OpenSSL <3.0 support * [Test] Possible provider fix * [Test] Possible provider fix * [Test] Little fix * [Minor] Fix provider issue * [Minor] Small clean up * [Minor] Change logging errors * Update lualib/lua_util.lua --------- Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
* Merge pull request #5126 from rspamd/vstakhov-change-passthroughVsevolod Stakhov2024-09-053-20/+32
|\ | | | | [Rework] Change the logic of skipping symbols
| * [Rework] Change the logic of skipping symbolsVsevolod Stakhov2024-09-043-20/+32
|/ | | | | We now do not skip pre/post filters even if the task result has reached threshold.
* Merge pull request #5111 from oliyks/fix-icap-url-encodeVsevolod Stakhov2024-09-043-15/+27
|\ | | | | [Fix] ICAP: encode constructed path to be URL safe.
| * deduplicate url_encode_stringTarmo Oja2024-09-042-14/+5
| |
| * Merge branch 'master' into fix-icap-url-encodeTarmo Oja2024-09-047-453/+469
| |\ | |/ |/|
* | Merge pull request #5125 from rspamd/vstakhov-lua-fix-register-symbolsVsevolod Stakhov2024-09-021-442/+410
|\ \ | | | | | | [Fix] Unify lua symbols registration
| * | [Minor] Forgot to handle `parent`Vsevolod Stakhov2024-09-021-3/+27
| | |
| * | [Minor] Restore legacy way to register symbols...Vsevolod Stakhov2024-09-021-6/+88
| | |