Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Fix] Fix extra hits in PCRE mode for regular expressions | Vsevolod Stakhov | 2018-01-24 | 1 | -3/+2 |
| | | | | | MFH: rspamd-1.6 Issue: #1880 | ||||
* | [Minor] Fix addition in pcre fallback | Vsevolod Stakhov | 2017-05-20 | 1 | -1/+2 |
| | |||||
* | [Fix] Allow to follow symlinks when safe | Vsevolod Stakhov | 2017-05-09 | 1 | -1/+1 |
| | | | | Issue: #1625 | ||||
* | [Fix] Further memory leaks fixes | Vsevolod Stakhov | 2017-01-18 | 1 | -0/+5 |
| | |||||
* | [Rework|Minor] More updates for mime parsing | Vsevolod Stakhov | 2016-12-16 | 1 | -5/+5 |
| | |||||
* | [Rework] Add preliminary implementation of the mime parser | Vsevolod Stakhov | 2016-12-13 | 1 | -1/+1 |
| | |||||
* | [Fix] Fix re cache initialisation | Vsevolod Stakhov | 2016-11-25 | 1 | -1/+1 |
| | |||||
* | [Minor] Fix hyperscan-less build | Vsevolod Stakhov | 2016-11-17 | 1 | -1/+1 |
| | |||||
* | [Minor] Improve debugging for re_cache | Vsevolod Stakhov | 2016-11-17 | 1 | -26/+35 |
| | |||||
* | [CritFix] Introduce raw content to text parts | Vsevolod Stakhov | 2016-10-31 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Previously we had the following types of text content: - `orig`: MIME *decoded* content - `content`: same as `orig` but converted to utf8 and without HTML tags - `stripped`: same as `content` but without newlines Now we add `raw`: - `raw`: raw mime content as it was in an original message This also fixes R_BAD_CTE_7BIT rule | ||||
* | [Feature] Stop using of GLists for headers, improve performance | Vsevolod Stakhov | 2016-09-28 | 1 | -4/+3 |
| | |||||
* | [Feature] Add ffi friendly version of process_regexp function | Vsevolod Stakhov | 2016-09-22 | 1 | -2/+23 |
| | |||||
* | [CritFix] Fix hyperscan compilation on regexp change | Vsevolod Stakhov | 2016-09-09 | 1 | -0/+10 |
| | | | | | | | | | | | | | | Rspamd could use an incorrect hyperscan database in the case when a single regexp has been changed. In this case, Rspamd did not recalculate the cached files causing shifting of regexp IDs. Subsequently, that caused random regexp to match whilst completely different patterns were expected. With this change, Rspamd also takes care about the order of regexps (by including it in the crypto hash). This change eliminates the issue and Rspamd can deal with regexps changes correctly. MFH: true | ||||
* | [CritFix] Check hyperscan cache sanity before loading | Vsevolod Stakhov | 2016-08-09 | 1 | -2/+40 |
| | | | | | | | | | | | | | | | | When regexp database is changed it is possible that hyperscan cache will contain some invalid or shifted regexps IDs. In this situation, Rspamd could not correctly detect that such an event occurred and loaded an incorrect database. This commit adds strict crc checking that includes: 1. HS ids 2. HS flags 3. HS serialized blob If this crc fails to match then Rspamd recompiles the corrupted cache file. | ||||
* | [Fix] Forgot to commit leftover changes | Vsevolod Stakhov | 2016-07-29 | 1 | -1/+16 |
| | |||||
* | [Fix] Ensure that hyperscan cache written is written properly | Vsevolod Stakhov | 2016-07-29 | 1 | -1/+10 |
| | |||||
* | [Fix] Don't mix hyperscan and pcre processing within a same task | Vsevolod Stakhov | 2016-07-19 | 1 | -2/+7 |
| | |||||
* | [Feature] Reduce number of timers queries | Vsevolod Stakhov | 2016-07-19 | 1 | -6/+12 |
| | |||||
* | [Rework] Rename mime parts structures | Vsevolod Stakhov | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | [Minor] Add guards for header regexps | Vsevolod Stakhov | 2016-05-24 | 1 | -2/+2 |
| | |||||
* | [Minor] Use xxhash indirectly | Vsevolod Stakhov | 2016-05-23 | 1 | -1/+2 |
| | |||||
* | [Feature] New abstract hashing API in cryptobox | Vsevolod Stakhov | 2016-05-10 | 1 | -7/+7 |
| | |||||
* | [Minor] Use more portable constants for uint64_t | Vsevolod Stakhov | 2016-04-29 | 1 | -11/+12 |
| | |||||
* | [CritFix] Properly support SA body regexps | Vsevolod Stakhov | 2016-04-28 | 1 | -52/+75 |
| | |||||
* | [CritFix] Fix SA rawbody processing - exclude top part | Vsevolod Stakhov | 2016-04-28 | 1 | -0/+9 |
| | |||||
* | [Feature] Optimize rspamd_re_cache_type_from_string | Vsevolod Stakhov | 2016-04-12 | 1 | -18/+34 |
| | |||||
* | [Minor] Properly place timers calculations | Vsevolod Stakhov | 2016-04-12 | 1 | -7/+7 |
| | |||||
* | [Fix] Fix sabody rules in regexp cache | Vsevolod Stakhov | 2016-04-11 | 1 | -14/+35 |
| | |||||
* | [CritFix] Fix regexps results combination | Vsevolod Stakhov | 2016-04-11 | 1 | -2/+7 |
| | | | | | | When converting to vectored mode we need to remember results between consequent calls of regexp match engine. Prior to this patch this behaviour was broken and caused regexp rules to be matched incorrectly. | ||||
* | [Feature] Implement SA compatible body regexps | Vsevolod Stakhov | 2016-04-11 | 1 | -0/+46 |
| | |||||
* | [Feature] Add support of mime headers expressions | Vsevolod Stakhov | 2016-04-09 | 1 | -0/+46 |
| | |||||
* | [Feature] Implement vectored mode for hyperscan | Vsevolod Stakhov | 2016-03-29 | 1 | -102/+202 |
| | | | | | Rspamd can now use the fastest possible mode of hyperscan to allow further speed up in regexps matching. | ||||
* | [Feature] Add more information about regexps | Vsevolod Stakhov | 2016-03-11 | 1 | -0/+2 |
| | |||||
* | Add more sanity checks when loading hyperscan cache | Vsevolod Stakhov | 2016-02-18 | 1 | -8/+50 |
| | |||||
* | Pcre2 compilation support | Vsevolod Stakhov | 2016-02-09 | 1 | -5/+16 |
| | |||||
* | Switch the rest to apache 2 | Vsevolod Stakhov | 2016-02-04 | 1 | -21/+12 |
| | |||||
* | Add warning for slow regexps | Vsevolod Stakhov | 2016-01-27 | 1 | -15/+30 |
| | |||||
* | Rework hyperscan notifies to reduce noise level | Vsevolod Stakhov | 2016-01-18 | 1 | -14/+34 |
| | |||||
* | Fix warnings. | Vsevolod Stakhov | 2016-01-15 | 1 | -4/+6 |
| | |||||
* | Do not free HS database after deserialization | Vsevolod Stakhov | 2016-01-15 | 1 | -12/+14 |
| | |||||
* | Fix a huge memory leak in hyperscan | Vsevolod Stakhov | 2016-01-15 | 1 | -0/+15 |
| | |||||
* | Improve hyperscan compiler helper logging | Vsevolod Stakhov | 2016-01-04 | 1 | -2/+2 |
| | |||||
* | Fix multiple regexp in the cache for lua API | Vsevolod Stakhov | 2015-12-26 | 1 | -2/+0 |
| | |||||
* | Fix issue with non-unique regexps in the cache | Vsevolod Stakhov | 2015-12-26 | 1 | -13/+23 |
| | |||||
* | Fix issue with changing number of regexps in a cache | Vsevolod Stakhov | 2015-12-24 | 1 | -4/+12 |
| | |||||
* | Log on info level about HS prefilters | Vsevolod Stakhov | 2015-12-24 | 1 | -1/+1 |
| | |||||
* | Grr, really fix the logging | Vsevolod Stakhov | 2015-12-24 | 1 | -12/+32 |
| | |||||
* | Fix logging as headers now have \0 at the end | Vsevolod Stakhov | 2015-12-24 | 1 | -2/+2 |
| | |||||
* | Minor fixes | Vsevolod Stakhov | 2015-12-22 | 1 | -0/+2 |
| | |||||
* | Assume empty input as failed scan | Vsevolod Stakhov | 2015-12-14 | 1 | -5/+8 |
| |