aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Set negative default scoresmoisseev2024-06-061-2/+2
| | | | for known senders
* Merge pull request #4987 from twesterhever/temp-txzVsevolod Stakhov2024-06-031-0/+2
|\ | | | | [Minor] Treat *.txz attachments as archives and harmful
| * [Minor] Treat *.txz attachments as archives and harmfultwesterhever2024-05-271-0/+2
| | | | | | | | Rationale: https://dshield.org/diary/Files%20with%20TXZ%20extension%20used%20as%20malspam%20attachments/30958
* | Upgraded replies and known senders modules (#4895)Ivan Stakhov2024-06-032-17/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * FIXED. Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Added pre-test for replies set * Update functional of replies_set * Few changes to replies and added check for incoming mail * Few changes in known_senders in check_known_incoming_mail_callback * Few changes in known_senders and replies * An attempt to write test(not tested) * Clean up * Clean up * Clean up * Added tests for replies and known_senders (all tests failed, debug required) * Moved replies test to the 001_merged * Cleared up code * Few changes to replies * Small changes in score of CHECK_INC_MAIL symbol * Small debug in known_senders * Plugin known_senders is fully working * Troubleshooting replies module * Changed symbol for check_known_incoming_mail_callback * Added test for failed incoming mail check * Little rework * Rewritten test for more appropriate * Rewritten tests for replies module. All test passed(debugging not adding to global set) * Debugged replies module * Replies module works and tested(needs performance improvements) * Cleaned up code * Improved readability and cleaned up code * Connected auth back(Tests not working, needs user) * Added test for incoming mail check in known senders module * Debugged. Works normally(tested, needs to add user) * Debug + clean up. Tested. Works. User auth required for tests * Improved performance * Small changes * Changed adding to global replies set logic + improved logs messaging * Added authenticated user to tests * Cleaned up * Made a few changes according to the comments on pull request * [Rework] Added removal of extra senders and recipients in global and local replies sets * [Minor] Small cleanup * [Minor] Cleaned up code * [Fix] Fixed call of incorrect function when making key * [Rework] Reworked scripts. Added ZADD redis call for local and global replies set * [Minor] Cleaned up code * [Fix] Improved performance and eliminated unnecessary invocations * [Minor] Reassigned script ids * [Feature] Made a check for local set * [Fix] Upgraded tests for known senders * [Fix] Upgraded tests for known senders * [Fix] Fixed performance of verification of local replies set * [Minor] Cleaned up code * [Feature] Added new test to the known_senders tests * [Test] Ubuntu test * [Fix] Fixing local replies test check * [Fix] Fixed code for local replies set check(was not working in previous versions of redis) * [Fix] Reorganized code to more convenient style and made better loading for scripts * [Minor] Code has been rewritten in a more appropriate format * [Minor] Fixed debug messaging * [Fix] Reworked expiration of replies sets * [Minor] Upgrade code style * [Fix] Small fix * [Feature] Change LFU logic of global replies set to LRU logic * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * FIXED. Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Made the individual replies_set for senders and their recipients. Made the global replies_set for verified recipients. * Added pre-test for replies set * Update functional of replies_set * Few changes to replies and added check for incoming mail * Few changes in known_senders in check_known_incoming_mail_callback * Few changes in known_senders and replies * An attempt to write test(not tested) * Clean up * Clean up * Clean up * Added tests for replies and known_senders (all tests failed, debug required) * Moved replies test to the 001_merged * Cleared up code * Few changes to replies * Small changes in score of CHECK_INC_MAIL symbol * Small debug in known_senders * Plugin known_senders is fully working * Troubleshooting replies module * Changed symbol for check_known_incoming_mail_callback * Added test for failed incoming mail check * Little rework * Rewritten test for more appropriate * Rewritten tests for replies module. All test passed(debugging not adding to global set) * Debugged replies module * Replies module works and tested(needs performance improvements) * Cleaned up code * Improved readability and cleaned up code * Connected auth back(Tests not working, needs user) * Added test for incoming mail check in known senders module * Debugged. Works normally(tested, needs to add user) * Debug + clean up. Tested. Works. User auth required for tests * Improved performance * Small changes * Changed adding to global replies set logic + improved logs messaging * Added authenticated user to tests * Cleaned up * Made a few changes according to the comments on pull request * [Rework] Added removal of extra senders and recipients in global and local replies sets * [Minor] Small cleanup * [Minor] Cleaned up code * [Fix] Fixed call of incorrect function when making key * [Rework] Reworked scripts. Added ZADD redis call for local and global replies set * [Minor] Cleaned up code * [Fix] Improved performance and eliminated unnecessary invocations * [Minor] Reassigned script ids * [Feature] Made a check for local set * [Fix] Upgraded tests for known senders * [Fix] Upgraded tests for known senders * [Fix] Fixed performance of verification of local replies set * [Minor] Cleaned up code * [Feature] Added new test to the known_senders tests * [Test] Ubuntu test * [Fix] Fixing local replies test check * [Fix] Fixed code for local replies set check(was not working in previous versions of redis) * [Fix] Reorganized code to more convenient style and made better loading for scripts * [Minor] Code has been rewritten in a more appropriate format * [Minor] Fixed debug messaging * [Fix] Reworked expiration of replies sets * [Minor] Upgrade code style * [Fix] Small fix * [Feature] Change LFU logic of global replies set to LRU logic * [Fix] Fix test conflict * [Minor] Revert rename * [Minor] Clean up code * [Fix] Fix commit history
* | Fix hfilter checks_hello_badipDmitriy Alekseev2024-05-311-21/+21
|/
* [Fix] Fix dynamic_symbols in the multimap pluginVsevolod Stakhov2024-05-201-2/+2
|
* [Minor] Add bad file types commonly found in archives attached to malspamtwesterhever2024-04-281-0/+4
|
* [Minor] Further normalizationVsevolod Stakhov2024-04-231-0/+2
|
* [Minor] Jitter backpressureVsevolod Stakhov2024-04-231-0/+2
|
* [Project] Implement fuzzy check retransmits backpressureVsevolod Stakhov2024-04-231-56/+96
|
* [Minor] Change log logic in fuzzy_checkVsevolod Stakhov2024-04-231-8/+15
|
* [Enhancement] Exclude false positives of MIME_DOUBLE_BAD_EXTENSIONDmitriy Alekseev2024-04-111-1/+6
| | | If we detected extension of the file and this extension is equal to the real extension then we should not pass second extension to check function as it will trigger false positive for MIME_DOUBLE_BAD_EXTENSION.
* [Fix] Honor dynamic thresholds for greylisting moduleVsevolod Stakhov2024-04-051-1/+1
|
* [Minor] Remove redundant metric nameVsevolod Stakhov2024-04-051-1/+1
|
* [Fix] Update greylisting threshold as it can be easily dynamicVsevolod Stakhov2024-04-051-7/+4
| | | | | Issue: #4908 Closes: #4908
* [Minor] Fix format of example setting (rspamd.com#736)Andrew Lewis2024-03-251-1/+1
|
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-184-345/+345
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-184-23/+23
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Fix] Fuzzy add/delete handlers are badly broken for compressionVsevolod Stakhov2024-03-141-2/+7
|
* [Rework] Another rework of the dkim signing logicVsevolod Stakhov2024-03-091-21/+18
|
* [Rework] Allow multiple conditions for dkim signing when using vault/redisVsevolod Stakhov2024-03-091-1/+1
|
* [Project] Convert the remainingVsevolod Stakhov2024-03-051-1/+1
|
* [Project] Start optimization of userdata hashingVsevolod Stakhov2024-03-052-5/+5
|
* [Fix] Allow different template expansion parametersVsevolod Stakhov2024-02-211-3/+3
| | | | Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
* Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"Vsevolod Stakhov2024-02-211-1/+1
|
* [Fix] Fix history key, as we use `{=` and not `{{` in templatesVsevolod Stakhov2024-02-211-1/+1
|
* [Fix] Encode headers in metadata exporterVsevolod Stakhov2024-02-131-7/+8
| | | | Issue: #4808
* [Minor] Fix doc stringVsevolod Stakhov2024-01-291-1/+1
|
* [Feature] Allow to add templates to redis history prefixVsevolod Stakhov2024-01-291-11/+14
| | | | | Issue: #4793 Closes: #4793
* [Rework] Breaking: Do not report module as actionAlexander Moisseev2024-01-281-2/+1
| | | | | | | | in the /history response since we have the `passthrough_module` key for that purpose. While that might be handy in some situations, mixing actions and module names is confusing in general.
* [Minor] Allow the same logic for recipientsVsevolod Stakhov2024-01-271-5/+41
|
* [Feature] Add extraction type for `from` mapsVsevolod Stakhov2024-01-271-5/+29
| | | | | | | | | Attribute name: `extract_from`. Possible values: * `default` - try smtp, if not exists try mime * `mime` - check mime only * `smtp` - check smtp only * `both` - try to match both
* [Minor] rbl: fix warningAndrew Lewis2024-01-251-1/+1
|
* [Fix] multimap: rawtext: use decoded partsAndrew Lewis2024-01-191-1/+1
|
* [Feature] Support suppressing DMARC reporting for particular recipientsAndrew Lewis2024-01-101-1/+13
|
* [Minor] Fix typo in hfilter mapmoisseev2023-12-241-2/+2
|
* [Minor] Log a debug message when ratelimit skippedmoisseev2023-12-221-0/+1
| | | | for a local request
* [Minor] ratelimit: make per-bucket symbol behave like global symbolAndrew Lewis2023-12-211-1/+1
|
* [Feature] rbl: support disabling or replacing url_whitelist per RBLAndrew Lewis2023-12-121-2/+2
|
* [Rework] Use a more sane data structure and refactorVsevolod Stakhov2023-11-211-13/+25
|
* [Minor] Fix overrideVsevolod Stakhov2023-11-101-1/+1
|
* [Minor] Various fixesVsevolod Stakhov2023-11-101-16/+40
|
* [Minor] Fix events messVsevolod Stakhov2023-11-101-9/+6
|
* [Project] Add some major stuff to implement client side of the fuzzy pingVsevolod Stakhov2023-11-091-0/+357
|
* [Minor] Allow to list storages configured from LuaVsevolod Stakhov2023-11-091-0/+62
|
* [Fix] known_senders: fix config handlingAndrew Lewis2023-11-091-2/+3
|
* [Minor] force_actions: set a group for symbolsAndrew Lewis2023-11-041-1/+3
|
* Merge pull request #4678 from fatalbanana/rbl_exclude_localVsevolod Stakhov2023-11-031-4/+2
|\ | | | | [Fix] rbl: unbreak `exclude_local`
| * [Fix] rbl: fix `exclude_local`Andrew Lewis2023-11-031-4/+2
| |
* | [Minor] Treat *.zpaq attachments as archives and harmfultwesterhever2023-11-031-0/+2
|/ | | | Rationale: https://dshield.org/diary/Malware+Dropped+Through+a+ZPAQ+Archive/30366/