aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Feature] Add map:set_sign_key and map:get_sign_keyVsevolod Stakhov2016-03-071-0/+79
|
* [Feature] Add map:get_proto lua API methodVsevolod Stakhov2016-03-071-0/+42
|
* [Feature] Add map:is_signed methodVsevolod Stakhov2016-03-071-1/+41
|
* [Fix] Temporary disable ignoring of bad HTML tagsVsevolod Stakhov2016-03-071-2/+8
|
* Merge pull request #547 from kristous/patch-1Vsevolod Stakhov2016-03-071-1/+1
|\ | | | | Update phishing.md
| * Update phishing.mdkristous2016-03-061-1/+1
| | | | | | found a small typo :-)
* | [Rework] Move maps code to a separate lua unitVsevolod Stakhov2016-03-065-419/+475
| |
* | [Feature] Return map object for further actionsVsevolod Stakhov2016-03-063-15/+24
|/ | | | Map object could be used to manage maps, for example, by LUA API.
* [Minor] Use utf8 length for subjectVsevolod Stakhov2016-03-051-1/+1
|
* [Feature] Add util.strlen_utf8 lua functionVsevolod Stakhov2016-03-051-4/+40
|
* Merge pull request #546 from moisseev/patch-2Vsevolod Stakhov2016-03-051-0/+14
|\ | | | | Add LONG_SUBJ rule
| * Add LONG_SUBJ ruleAlexander Moisseev2016-03-051-0/+14
|/
* [Feature] Rework and abstract lua maps APIVsevolod Stakhov2016-03-053-147/+155
| | | | | | | | - Now all maps share the same lua object table. - Remove bad destructions code since objects are reallocated during maps operations - Fix and unify various parts of maps management - Pass map object to lua callbacks
* [MajorFeature] Add preliminary version of updatesVsevolod Stakhov2016-03-051-0/+116
| | | | | This plugin is intended to load dynamic updates for rspamd. Now its functionality is very limited.
* [Minor] Fix lua_cryptobox registrationVsevolod Stakhov2016-03-051-1/+1
|
* [Minor] Add guards for NaN valuesVsevolod Stakhov2016-03-042-2/+3
|
* [Feature] Add support for WLBLEval SA pluginVsevolod Stakhov2016-03-041-1/+98
|
* [Minor] Fix actions settingVsevolod Stakhov2016-03-041-18/+25
|
* [Fix] Properly set priority for rules with negative scoreVsevolod Stakhov2016-03-041-0/+4
|
* [Fix] Fix race condition in lua_tcp moduleVsevolod Stakhov2016-03-041-1/+1
|
* [Feature] Add task:set_metric_action lua API methodVsevolod Stakhov2016-03-031-6/+78
| | | | | | | | | | | | | | | | | | rspamd_config:set_metric_symbol({table}) Set the value of a specified symbol in a metric. This function accepts table with the following elements: - `name`: name of symbol (string) - `score`: score for symbol (number) - `metric`: name of metric (string, optional) - `description`: description of symbol (string, optional) - `group`: name of group for symbol (string, optional) - `one_shot`: turn off multiple hits for a symbol (boolean, optional) - `flags`: comma separated string of flags: + `ignore`: do not strictly check validity of symbol and corresponding rule + `one_shot`: turn off multiple hits for a symbol - `priority`: priority of symbol's definition
* [Fix] Set 'ignore' flags from symbols coming from SAVsevolod Stakhov2016-03-031-1/+1
|
* [Feature] Allow to specify flags for metric symbolsVsevolod Stakhov2016-03-031-3/+12
|
* [Fix] Add watcher for lua_tcp moduleVsevolod Stakhov2016-03-031-0/+4
|
* [Fix] Lowercase and cache the principal recipientVsevolod Stakhov2016-03-031-3/+43
| | | | | Issue: #544 Reported by: @sativouf
* [Feature] Improve tests for siphashVsevolod Stakhov2016-03-032-104/+185
| | | | | | - Add fuzz tests - Add variable length input tests - Check sanity of siphash implementation on start
* [Fix] Don't use _memcpy in assemblyVsevolod Stakhov2016-03-031-1/+6
|
* [Feature] Add AVX2 version of siphashVsevolod Stakhov2016-03-034-1/+237
| | | | | | | This version has been taken from the google code at https://github.com/google/highwayhash/ The final code is obtained by compiling c++ using clang-3.8 compiler.
* [Minor] Disable shutdown workaround for HTTPVsevolod Stakhov2016-03-031-1/+2
|
* Merge pull request #543 from fatalbanana/masterVsevolod Stakhov2016-03-031-0/+1
|\ | | | | [Fix] Avoid problematic operation on possibly nil value in once_received
| * [Fix] Avoid problematic operation on possibly nil value in once_receivedAndrew Lewis2016-03-031-0/+1
|/
* [Fix] Add more guards for IP addressVsevolod Stakhov2016-03-021-1/+1
|
* [Feature] SA plugin can now set missing scores for rspamdVsevolod Stakhov2016-03-021-5/+16
|
* [Minor] Fix spelling in log messageVsevolod Stakhov2016-03-021-2/+2
|
* [Fix] Handle some bad IP URLsVsevolod Stakhov2016-03-021-1/+6
|
* [Feature] Export versions vars to UCLVsevolod Stakhov2016-03-011-0/+12
|
* [Feature] Add rspamd_version function to LUA APIVsevolod Stakhov2016-03-012-0/+156
|
* [Minor] Temporary disable scheduler optimizationVsevolod Stakhov2016-02-291-10/+11
| | | | | It is not very well investigated and might decrease performance in some cases I care about.
* [Feature] Improve symbols sorting functionVsevolod Stakhov2016-02-291-19/+23
|
* [Fix] Fix redis stats to avoid double freeVsevolod Stakhov2016-02-291-1/+17
|
* [Feature] Add lockless loggingVsevolod Stakhov2016-02-293-6/+51
| | | | | | Sometimes, it is needed to turn off logging mutex to avoid recursive mutex obtaining. It is especially useful to do it within children wait code in the main processes dispatcher.
* [Minor] Fix race condition when removing hashVsevolod Stakhov2016-02-291-1/+1
|
* [Minor] Fix closing race in fuzzy storageVsevolod Stakhov2016-02-291-2/+5
|
* [Fix] Fix sorting order for symbols cacheVsevolod Stakhov2016-02-291-4/+9
|
* [Fix] Fix `all` in spf redirectsVsevolod Stakhov2016-02-291-2/+4
| | | | | Issue: #542 Reported by: @sativouf
* [Fix] Fix crash on scanVsevolod Stakhov2016-02-291-1/+2
|
* [Minor] Fix reject action parsingVsevolod Stakhov2016-02-291-1/+1
|
* [Minor] Hide rdrand checks for non-x86 platformsVsevolod Stakhov2016-02-291-8/+9
|
* [Feature] Add priorities for actionsVsevolod Stakhov2016-02-286-46/+135
| | | | | | Add dedicated API to modify action limits with priorities from different configuration place. This follows the logic of symbols' priorities and will be used for dynamic rules and override definitions.
* [CritFix] Fix issue with inconsistent resortingVsevolod Stakhov2016-02-281-15/+75
| | | | | | | | | | | | | This is a long term issue that was in rspamd for many years. Sometimes, some rules are not scanned or scanned twice. That happened because of resorting called during pending tasks exist in the wait queue. In this case, resorting breaks logic of symbols processing, causing unprocessed rules to be treated as processed and, vice versa, processed rules as unprocessed. This commit introduces refcounted approach for resorting keeping state for each individual task. This allows to resort independently from the existing tasks waiting in the queue.