summaryrefslogtreecommitdiffstats
path: root/src/libserver/re_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Fix some minor issuesVsevolod Stakhov2018-09-171-1/+1
|
* [Minor] Fixes to regexp selectorsVsevolod Stakhov2018-09-171-1/+1
|
* [Feature] Cache selectors results in re runtimeVsevolod Stakhov2018-09-171-14/+59
|
* [Project] Implement selectors support in re_cacheVsevolod Stakhov2018-09-151-0/+104
|
* [Project] Implement selectors registration for regular expressionsVsevolod Stakhov2018-09-151-0/+50
|
* [Project] Add initial support for selectors in regexpsVsevolod Stakhov2018-09-151-3/+3
|
* [Fix] Fix bug in processing of pcre regexpsVsevolod Stakhov2018-09-131-1/+1
|
* [Rework] Rework utf content processing in text partsVsevolod Stakhov2018-09-051-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 contentVsevolod Stakhov2018-05-041-15/+23
| | | | | Issue: #2218 Closes: #2218
* [Minor] Allow to specify hs_ext data for regular expressionsVsevolod Stakhov2018-03-141-1/+7
|
* [Minor] Exorcise the hyperscan witchAlexander Moisseev2018-03-101-1/+1
|
* [Project] Convert all C modules to fast debug infrastructureVsevolod Stakhov2018-01-201-4/+7
|
* [Fix] Replace space like characters in headers with plain spaceVsevolod Stakhov2017-12-261-2/+3
|
* [Rework] Kill metrics!11Vsevolod Stakhov2017-11-041-1/+1
|
* [Minor] Further portion of g_slice eliminationVsevolod Stakhov2017-10-281-16/+16
|
* [Fix] Fix ticks processingVsevolod Stakhov2017-10-271-2/+2
|
* [Fix] Fix extra hits in PCRE mode for regular expressionsVsevolod Stakhov2017-10-261-3/+2
| | | | | MFH: rspamd-1.6 Issue: #1880
* [Feature] Use rdtsc where possibleVsevolod Stakhov2017-10-261-2/+2
|
* [Minor] Fix addition in pcre fallbackVsevolod Stakhov2017-05-201-1/+2
|
* [Fix] Allow to follow symlinks when safeVsevolod Stakhov2017-05-091-1/+1
| | | | Issue: #1625
* [Fix] Further memory leaks fixesVsevolod Stakhov2017-01-181-0/+5
|
* [Rework|Minor] More updates for mime parsingVsevolod Stakhov2016-12-161-5/+5
|
* [Rework] Add preliminary implementation of the mime parserVsevolod Stakhov2016-12-131-1/+1
|
* [Fix] Fix re cache initialisationVsevolod Stakhov2016-11-251-1/+1
|
* [Minor] Fix hyperscan-less buildVsevolod Stakhov2016-11-171-1/+1
|
* [Minor] Improve debugging for re_cacheVsevolod Stakhov2016-11-171-26/+35
|
* [CritFix] Introduce raw content to text partsVsevolod Stakhov2016-10-311-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 performanceVsevolod Stakhov2016-09-281-4/+3
|
* [Feature] Add ffi friendly version of process_regexp functionVsevolod Stakhov2016-09-221-2/+23
|
* [CritFix] Fix hyperscan compilation on regexp changeVsevolod Stakhov2016-09-091-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 loadingVsevolod Stakhov2016-08-091-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 changesVsevolod Stakhov2016-07-291-1/+16
|
* [Fix] Ensure that hyperscan cache written is written properlyVsevolod Stakhov2016-07-291-1/+10
|
* [Fix] Don't mix hyperscan and pcre processing within a same taskVsevolod Stakhov2016-07-191-2/+7
|
* [Feature] Reduce number of timers queriesVsevolod Stakhov2016-07-191-6/+12
|
* [Rework] Rename mime parts structuresVsevolod Stakhov2016-07-041-1/+1
|
* [Minor] Add guards for header regexpsVsevolod Stakhov2016-05-241-2/+2
|
* [Minor] Use xxhash indirectlyVsevolod Stakhov2016-05-231-1/+2
|
* [Feature] New abstract hashing API in cryptoboxVsevolod Stakhov2016-05-101-7/+7
|
* [Minor] Use more portable constants for uint64_tVsevolod Stakhov2016-04-291-11/+12
|
* [CritFix] Properly support SA body regexpsVsevolod Stakhov2016-04-281-52/+75
|
* [CritFix] Fix SA rawbody processing - exclude top partVsevolod Stakhov2016-04-281-0/+9
|
* [Feature] Optimize rspamd_re_cache_type_from_stringVsevolod Stakhov2016-04-121-18/+34
|
* [Minor] Properly place timers calculationsVsevolod Stakhov2016-04-121-7/+7
|
* [Fix] Fix sabody rules in regexp cacheVsevolod Stakhov2016-04-111-14/+35
|
* [CritFix] Fix regexps results combinationVsevolod Stakhov2016-04-111-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 regexpsVsevolod Stakhov2016-04-111-0/+46
|
* [Feature] Add support of mime headers expressionsVsevolod Stakhov2016-04-091-0/+46
|
* [Feature] Implement vectored mode for hyperscanVsevolod Stakhov2016-03-291-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 regexpsVsevolod Stakhov2016-03-111-0/+2
|