aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [Project] Reduce default window size of OSB tokenizer to 2Vsevolod Stakhov2024-06-111-1/+1
|
* [Fix] Fix documentation nestingVsevolod Stakhov2024-06-081-3/+3
|
* [Feature] Make min_resolve_interval configurableVsevolod Stakhov2024-06-083-5/+25
|
* [Minor] Set negative default scoresmoisseev2024-06-061-2/+2
| | | | for known senders
* [Fix] Resgore the collaterally removed lineVsevolod Stakhov2024-06-041-1/+1
| | | | Issue: #4981
* 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
| |
* | [Minor] Fix typo in Prometheus helper message for rspamd_ham_totalLucas Rolff2024-05-301-1/+1
|/
* [Fix] Unset autolearn flag if we learn explicitlyVsevolod Stakhov2024-05-241-0/+3
|
* [Fix] Fix dynamic_symbols in the multimap pluginVsevolod Stakhov2024-05-201-2/+2
|
* [Minor] Tweak some checksVsevolod Stakhov2024-05-181-2/+11
|
* [Minor] Oops, fix the buildVsevolod Stakhov2024-05-181-2/+2
|
* [Feature] Verify sanity of l= tag in DKIMVsevolod Stakhov2024-05-181-2/+16
|
* [Fix] Allow autolearn for the controller workerVsevolod Stakhov2024-05-183-5/+1
|
* Merge pull request #4973 from rspamd/vstakhov-fix-dmarc-ruaVsevolod Stakhov2024-05-171-3/+11
|\ | | | | Fix parsing of DMARC records with spaces
| * [Minor] Relax mailto processing with no TLDVsevolod Stakhov2024-05-161-3/+11
| |
* | [Minor] Make log message less confusingVsevolod Stakhov2024-05-131-1/+1
| |
* | [Fix] Check nconns when firing the final termination eventVsevolod Stakhov2024-05-131-1/+44
|/ | | | Issue: #4941
* SUBJ_ALL_CAPS is overkillIKEDA Soji2024-05-031-4/+9
| | | | It should consider characters in unicase scripts as being not uppercase.
* [Fix] Allow to set 0 as number of rows to disable roll historyVsevolod Stakhov2024-04-293-6/+9
| | | | | Issue: #4947 Closes: #4947
* [Fix] Fix another corner case that allows candidates to be freed without initVsevolod Stakhov2024-04-291-8/+9
|
* [Fix] Apply detection phase if fasttext could not detect languageVsevolod Stakhov2024-04-281-71/+93
| | | | Issue: #4929
* [Minor] Add bad file types commonly found in archives attached to malspamtwesterhever2024-04-281-0/+4
|
* [Fix] Do not read out-of-boundary when doing base64 encodingVsevolod Stakhov2024-04-241-3/+3
|
* [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
|
* [Minor] Add function to reschedule events at specific timerVsevolod Stakhov2024-04-232-3/+44
|
* [Minor] Deal with descriptors in the wait queueVsevolod Stakhov2024-04-221-2/+39
|
* [Minor] Do not use pointers to local variables, sighVsevolod Stakhov2024-04-221-8/+11
|
* [Minor] Try to fix mess with refcountsVsevolod Stakhov2024-04-221-9/+9
|
* [Rework] Serialize control commandsVsevolod Stakhov2024-04-222-68/+169
| | | | | | | In fact, we cannot send multiple commands and read them through the pipe. It has caused multiple weird issues in the past but I can now see clearly how it should be done. We should send commands and serialize all requests pending to let them being sent one by one, after reply for the previous command has been received.
* Merge pull request #4933 from rspamd/vstakhov-utf8-receivedVsevolod Stakhov2024-04-202-6/+20
|\ | | | | Support UTF8 flag for the received headers
| * [Minor] Support UTF8 in Received flagsVsevolod Stakhov2024-04-192-6/+20
| | | | | | | | Issue: #4919
* | Merge pull request #4932 from rspamd/vstakhov-fix-bayes-disableVsevolod Stakhov2024-04-201-0/+12
|\| | | | | Fix statfile symbols disabling
| * [Fix] If we have one statfile disabled we need to disable allVsevolod Stakhov2024-04-191-0/+12
| |
* | [Fix] Always set the unlearn flag when relearningaduernberger2024-04-181-1/+1
| | | | | | Treat relearning from ham to spam the same as relearning from spam to ham. `res` is only set to true if the mail is already learned.
* | [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.
* | [Minor] Fix grow_factorAndrew Lewis2024-04-101-1/+1
| |
* | [Project] Adjust some final bitsVsevolod Stakhov2024-04-082-9/+17
| |
* | [Project] Write a function to adjust grow factor properlyVsevolod Stakhov2024-04-081-0/+42
| |
* | [Project] Rework grow factor as it is currently brokenVsevolod Stakhov2024-04-083-44/+10
|/
* [Fix] Honor dynamic thresholds for greylisting moduleVsevolod Stakhov2024-04-052-1/+42
|
* [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
* [Fix] Fix shared memory proxying when compression is setVsevolod Stakhov2024-04-031-68/+67
|
* [Feature] Allow custom milter quarantine and tempfail messagesVsevolod Stakhov2024-04-023-20/+73
| | | | | Issue: #4892 Closes: #4892