aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Fixes, fixesvstakhov-llm-anonymizeVsevolod Stakhov5 days1-4/+13
|
* [Minor] Oops, fix invocationVsevolod Stakhov5 days1-1/+1
|
* [Feature] Preliminary implementation of LLM based anonymizingVsevolod Stakhov5 days2-73/+216
|
* [Minor] Fix race condition when uploading redis scriptsVsevolod Stakhov6 days1-2/+7
|
* [Minor] Fix transposed results in `rspamadm fuzzy_ping`Andrew Lewis8 days1-1/+1
|
* [Minor] Slightly improve loggingVsevolod Stakhov10 days1-20/+25
|
* [CritFix] Allow to reupload scripts when Redis is restartedVsevolod Stakhov10 days1-0/+2
| | | | Issue: #5256
* [Fix] Fix usage of the logging functionVsevolod Stakhov13 days1-1/+2
|
* [Rework] Multimap should use only distinct text parts for content matchingVsevolod Stakhov14 days1-0/+43
| | | | Issue: #5248
* Merge pull request #5240 from rspamd/vstakhov-anonymize-mimeVsevolod Stakhov2024-12-102-0/+330
|\ | | | | Add tool to anonymize messages content
| * [Minor] Some adjustmentsVsevolod Stakhov2024-12-101-3/+3
| |
| * [Minor] Make urls and emails uniquevstakhov-anonymize-mimeVsevolod Stakhov2024-12-091-4/+5
| |
| * [Minor] Fix urls path issueVsevolod Stakhov2024-12-091-1/+1
| |
| * [Feature] Add include/exclude logic for headersVsevolod Stakhov2024-12-072-10/+64
| |
| * [Minor] Fix misprintVsevolod Stakhov2024-12-051-1/+1
| |
| * [Minor] Some more adjustmentsVsevolod Stakhov2024-12-021-5/+15
| |
| * [Feature] Unify displayed part selectionVsevolod Stakhov2024-11-301-24/+62
| |
| * [Project] Add tool to rspamadmVsevolod Stakhov2024-11-292-18/+67
| |
| * [Project] Initial stuff to implement messages anonymizationVsevolod Stakhov2024-11-291-0/+178
| |
* | [Fix] Some fixes to `rspamadm ratelimit`Vsevolod Stakhov2024-12-091-115/+133
| |
* | Merge branch 'master' into issue#5148Vsevolod Stakhov2024-12-072-0/+214
|\|
| * [Project] Various fixes and `rspamadm mime strip` commandvstakhov-strip-attachmentsVsevolod Stakhov2024-11-252-77/+131
| |
| * [Project] Add routine to strip attachmentsVsevolod Stakhov2024-11-251-0/+160
| |
* | Merge branch 'rspamd:master' into issue#5148Ivan Stakhov2024-11-261-1/+39
|\|
| * [Minor] Do not fail on empty limitsVsevolod Stakhov2024-11-251-2/+7
| |
| * [Minor] Some display/adding fixesVsevolod Stakhov2024-11-251-3/+9
| |
| * [Minor] Improve formatVsevolod Stakhov2024-11-251-2/+2
| |
| * [Feature] Show stats in rspamadmVsevolod Stakhov2024-11-251-1/+28
| |
* | Merge remote-tracking branch 'origin/issue#5148' into issue#5148left-try2024-11-161-9/+11
|\ \
| * | Merge branch 'rspamd:master' into issue#5148Ivan Stakhov2024-11-161-9/+11
| |\|
| | * [Fix] Dmarc: Properly encode structured headersVsevolod Stakhov2024-11-151-9/+11
| | | | | | | | | | | | Issue: #5221
* | | [Minor] Make unused function usedleft-try2024-11-161-7/+7
|/ /
* | [Minor] Clean up code and fix some mistakesleft-try2024-11-161-30/+36
| |
* | [Minor] Small clean upleft-try2024-11-141-4/+3
| |
* | [Minor] Small clean up for error handlingleft-try2024-11-141-12/+26
| |
* | Merge branch 'rspamd:master' into issue#5148Ivan Stakhov2024-11-111-0/+5
|\|
| * Merge branch 'rspamd:master' into masterIvan Stakhov2024-10-021-6/+11
| |\
| * | [Minor] Make names more informativeLeftTry2024-09-291-4/+4
| | |
| * | [Minor] Change wrong logic of LRU cache to the right oneLeftTry2024-09-291-1/+1
| | |
| * | [Feature] Add LRU cache for last filled ratelimit bucketsLeftTry2024-09-291-0/+5
| | |
* | | [Feature] Add ratelimit util to manage last filled ratelimit bucketsleft-try2024-11-071-0/+189
| |/ |/|
* | [Fix] Fix DCC `rep` handlingvstakhov-fix-dccVsevolod Stakhov2024-09-271-6/+11
|/ | | | Issue: #5158
* [Feature] Add rspamadm secretbox commandIvan Stakhov2024-09-182-5/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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>
* [Minor] Do not autolearn messages without queue idVsevolod Stakhov2024-09-141-0/+7
| | | | Suggested by: @moisseev
* [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
* [Project] Move ratelimit parsing stuff to a common libraryVsevolod Stakhov2024-09-111-0/+155
|
* [Fix] Another fix for Redis schemaVsevolod Stakhov2024-09-071-4/+6
| | | | Issue: #5112
* [Feature] Add tooling to encrypt strings in LuaIvan Stakhov2024-09-051-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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>
* deduplicate url_encode_stringTarmo Oja2024-09-042-14/+5
|