Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Minor] Fix some minor issues | Vsevolod Stakhov | 2018-09-17 | 1 | -1/+1 |
| | |||||
* | [Minor] Fixes to regexp selectors | Vsevolod Stakhov | 2018-09-17 | 1 | -1/+1 |
| | |||||
* | [Feature] Cache selectors results in re runtime | Vsevolod Stakhov | 2018-09-17 | 1 | -14/+59 |
| | |||||
* | [Project] Implement selectors support in re_cache | Vsevolod Stakhov | 2018-09-15 | 1 | -0/+104 |
| | |||||
* | [Project] Implement selectors registration for regular expressions | Vsevolod Stakhov | 2018-09-15 | 1 | -0/+50 |
| | |||||
* | [Project] Add initial support for selectors in regexps | Vsevolod Stakhov | 2018-09-15 | 1 | -3/+3 |
| | |||||
* | [Fix] Fix bug in processing of pcre regexps | Vsevolod Stakhov | 2018-09-13 | 1 | -1/+1 |
| | |||||
* | [Rework] Rework utf content processing in text parts | Vsevolod Stakhov | 2018-09-05 | 1 | -5/+5 |
| | | | | | | - Store unicode in UTF parts - Store unicode for HTML parts - Rename struct fields and split them into unicode/utf components | ||||
* | [Fix] Fix raw_mime regexp on HTML part with no text content | Vsevolod Stakhov | 2018-05-04 | 1 | -15/+23 |
| | | | | | Issue: #2218 Closes: #2218 | ||||
* | [Minor] Allow to specify hs_ext data for regular expressions | Vsevolod Stakhov | 2018-03-14 | 1 | -1/+7 |
| | |||||
* | [Minor] Exorcise the hyperscan witch | Alexander Moisseev | 2018-03-10 | 1 | -1/+1 |
| | |||||
* | [Project] Convert all C modules to fast debug infrastructure | Vsevolod Stakhov | 2018-01-20 | 1 | -4/+7 |
| | |||||
* | [Fix] Replace space like characters in headers with plain space | Vsevolod Stakhov | 2017-12-26 | 1 | -2/+3 |
| | |||||
* | [Rework] Kill metrics!11 | Vsevolod Stakhov | 2017-11-04 | 1 | -1/+1 |
| | |||||
* | [Minor] Further portion of g_slice elimination | Vsevolod Stakhov | 2017-10-28 | 1 | -16/+16 |
| | |||||
* | [Fix] Fix ticks processing | Vsevolod Stakhov | 2017-10-27 | 1 | -2/+2 |
| | |||||
* | [Fix] Fix extra hits in PCRE mode for regular expressions | Vsevolod Stakhov | 2017-10-26 | 1 | -3/+2 |
| | | | | | MFH: rspamd-1.6 Issue: #1880 | ||||
* | [Feature] Use rdtsc where possible | Vsevolod Stakhov | 2017-10-26 | 1 | -2/+2 |
| | |||||
* | [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 |
| |