Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Feature] Add map:set_sign_key and map:get_sign_key | Vsevolod Stakhov | 2016-03-07 | 1 | -0/+79 | |
| | ||||||
* | [Feature] Add map:get_proto lua API method | Vsevolod Stakhov | 2016-03-07 | 1 | -0/+42 | |
| | ||||||
* | [Feature] Add map:is_signed method | Vsevolod Stakhov | 2016-03-07 | 1 | -1/+41 | |
| | ||||||
* | [Fix] Temporary disable ignoring of bad HTML tags | Vsevolod Stakhov | 2016-03-07 | 1 | -2/+8 | |
| | ||||||
* | Merge pull request #547 from kristous/patch-1 | Vsevolod Stakhov | 2016-03-07 | 1 | -1/+1 | |
|\ | | | | | Update phishing.md | |||||
| * | Update phishing.md | kristous | 2016-03-06 | 1 | -1/+1 | |
| | | | | | | found a small typo :-) | |||||
* | | [Rework] Move maps code to a separate lua unit | Vsevolod Stakhov | 2016-03-06 | 5 | -419/+475 | |
| | | ||||||
* | | [Feature] Return map object for further actions | Vsevolod Stakhov | 2016-03-06 | 3 | -15/+24 | |
|/ | | | | Map object could be used to manage maps, for example, by LUA API. | |||||
* | [Minor] Use utf8 length for subject | Vsevolod Stakhov | 2016-03-05 | 1 | -1/+1 | |
| | ||||||
* | [Feature] Add util.strlen_utf8 lua function | Vsevolod Stakhov | 2016-03-05 | 1 | -4/+40 | |
| | ||||||
* | Merge pull request #546 from moisseev/patch-2 | Vsevolod Stakhov | 2016-03-05 | 1 | -0/+14 | |
|\ | | | | | Add LONG_SUBJ rule | |||||
| * | Add LONG_SUBJ rule | Alexander Moisseev | 2016-03-05 | 1 | -0/+14 | |
|/ | ||||||
* | [Feature] Rework and abstract lua maps API | Vsevolod Stakhov | 2016-03-05 | 3 | -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 updates | Vsevolod Stakhov | 2016-03-05 | 1 | -0/+116 | |
| | | | | | This plugin is intended to load dynamic updates for rspamd. Now its functionality is very limited. | |||||
* | [Minor] Fix lua_cryptobox registration | Vsevolod Stakhov | 2016-03-05 | 1 | -1/+1 | |
| | ||||||
* | [Minor] Add guards for NaN values | Vsevolod Stakhov | 2016-03-04 | 2 | -2/+3 | |
| | ||||||
* | [Feature] Add support for WLBLEval SA plugin | Vsevolod Stakhov | 2016-03-04 | 1 | -1/+98 | |
| | ||||||
* | [Minor] Fix actions setting | Vsevolod Stakhov | 2016-03-04 | 1 | -18/+25 | |
| | ||||||
* | [Fix] Properly set priority for rules with negative score | Vsevolod Stakhov | 2016-03-04 | 1 | -0/+4 | |
| | ||||||
* | [Fix] Fix race condition in lua_tcp module | Vsevolod Stakhov | 2016-03-04 | 1 | -1/+1 | |
| | ||||||
* | [Feature] Add task:set_metric_action lua API method | Vsevolod Stakhov | 2016-03-03 | 1 | -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 SA | Vsevolod Stakhov | 2016-03-03 | 1 | -1/+1 | |
| | ||||||
* | [Feature] Allow to specify flags for metric symbols | Vsevolod Stakhov | 2016-03-03 | 1 | -3/+12 | |
| | ||||||
* | [Fix] Add watcher for lua_tcp module | Vsevolod Stakhov | 2016-03-03 | 1 | -0/+4 | |
| | ||||||
* | [Fix] Lowercase and cache the principal recipient | Vsevolod Stakhov | 2016-03-03 | 1 | -3/+43 | |
| | | | | | Issue: #544 Reported by: @sativouf | |||||
* | [Feature] Improve tests for siphash | Vsevolod Stakhov | 2016-03-03 | 2 | -104/+185 | |
| | | | | | | - Add fuzz tests - Add variable length input tests - Check sanity of siphash implementation on start | |||||
* | [Fix] Don't use _memcpy in assembly | Vsevolod Stakhov | 2016-03-03 | 1 | -1/+6 | |
| | ||||||
* | [Feature] Add AVX2 version of siphash | Vsevolod Stakhov | 2016-03-03 | 4 | -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 HTTP | Vsevolod Stakhov | 2016-03-03 | 1 | -1/+2 | |
| | ||||||
* | Merge pull request #543 from fatalbanana/master | Vsevolod Stakhov | 2016-03-03 | 1 | -0/+1 | |
|\ | | | | | [Fix] Avoid problematic operation on possibly nil value in once_received | |||||
| * | [Fix] Avoid problematic operation on possibly nil value in once_received | Andrew Lewis | 2016-03-03 | 1 | -0/+1 | |
|/ | ||||||
* | [Fix] Add more guards for IP address | Vsevolod Stakhov | 2016-03-02 | 1 | -1/+1 | |
| | ||||||
* | [Feature] SA plugin can now set missing scores for rspamd | Vsevolod Stakhov | 2016-03-02 | 1 | -5/+16 | |
| | ||||||
* | [Minor] Fix spelling in log message | Vsevolod Stakhov | 2016-03-02 | 1 | -2/+2 | |
| | ||||||
* | [Fix] Handle some bad IP URLs | Vsevolod Stakhov | 2016-03-02 | 1 | -1/+6 | |
| | ||||||
* | [Feature] Export versions vars to UCL | Vsevolod Stakhov | 2016-03-01 | 1 | -0/+12 | |
| | ||||||
* | [Feature] Add rspamd_version function to LUA API | Vsevolod Stakhov | 2016-03-01 | 2 | -0/+156 | |
| | ||||||
* | [Minor] Temporary disable scheduler optimization | Vsevolod Stakhov | 2016-02-29 | 1 | -10/+11 | |
| | | | | | It is not very well investigated and might decrease performance in some cases I care about. | |||||
* | [Feature] Improve symbols sorting function | Vsevolod Stakhov | 2016-02-29 | 1 | -19/+23 | |
| | ||||||
* | [Fix] Fix redis stats to avoid double free | Vsevolod Stakhov | 2016-02-29 | 1 | -1/+17 | |
| | ||||||
* | [Feature] Add lockless logging | Vsevolod Stakhov | 2016-02-29 | 3 | -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 hash | Vsevolod Stakhov | 2016-02-29 | 1 | -1/+1 | |
| | ||||||
* | [Minor] Fix closing race in fuzzy storage | Vsevolod Stakhov | 2016-02-29 | 1 | -2/+5 | |
| | ||||||
* | [Fix] Fix sorting order for symbols cache | Vsevolod Stakhov | 2016-02-29 | 1 | -4/+9 | |
| | ||||||
* | [Fix] Fix `all` in spf redirects | Vsevolod Stakhov | 2016-02-29 | 1 | -2/+4 | |
| | | | | | Issue: #542 Reported by: @sativouf | |||||
* | [Fix] Fix crash on scan | Vsevolod Stakhov | 2016-02-29 | 1 | -1/+2 | |
| | ||||||
* | [Minor] Fix reject action parsing | Vsevolod Stakhov | 2016-02-29 | 1 | -1/+1 | |
| | ||||||
* | [Minor] Hide rdrand checks for non-x86 platforms | Vsevolod Stakhov | 2016-02-29 | 1 | -8/+9 | |
| | ||||||
* | [Feature] Add priorities for actions | Vsevolod Stakhov | 2016-02-28 | 6 | -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 resorting | Vsevolod Stakhov | 2016-02-28 | 1 | -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. |