Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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. | ||||
* | [Feature] Rework dynamic symbols for new metrics API | Vsevolod Stakhov | 2016-02-28 | 1 | -5/+9 |
| | |||||
* | [Fix] Fix some cases for RDNS_NONE | Vsevolod Stakhov | 2016-02-27 | 1 | -4/+8 |
| | |||||
* | [Fix] Don't set default values for hostname and helo | Vsevolod Stakhov | 2016-02-27 | 1 | -2/+2 |
| | |||||
* | [Feature] Add ignore_received option | Vsevolod Stakhov | 2016-02-27 | 3 | -2/+10 |
| | | | | | In this mode rspamd ignores data from the first received (it might be produced by some third party and not our MTA) | ||||
* | [Fix] Fix placement of RDNS checks | Vsevolod Stakhov | 2016-02-27 | 1 | -12/+12 |
| | |||||
* | [Feature] Add RDNS_NONE rule | Vsevolod Stakhov | 2016-02-27 | 1 | -21/+20 |
| | |||||
* | [Minor] Implement workaround for legacy clients | Vsevolod Stakhov | 2016-02-27 | 6 | -4/+28 |
| | |||||
* | Steal lua_text ownership to prevent gc | Vsevolod Stakhov | 2016-02-26 | 1 | -0/+7 |
| | |||||
* | Add more reasonable errors for lua_tcp module | Vsevolod Stakhov | 2016-02-26 | 1 | -9/+20 |
| | |||||
* | Add more guards for mutable cache | Vsevolod Stakhov | 2016-02-26 | 1 | -0/+14 |
| | |||||
* | Implement versioning in symbols cache to allow modiifications on fly | Vsevolod Stakhov | 2016-02-26 | 1 | -1/+3 |
| | |||||
* | Allow to set redis db and password in lua_redis | Vsevolod Stakhov | 2016-02-26 | 1 | -0/+26 |
| | |||||
* | Use object priority when adding symbols from ucl | Vsevolod Stakhov | 2016-02-26 | 1 | -0/+3 |
| | |||||
* | Allow overwrite scores with the same priority | Vsevolod Stakhov | 2016-02-26 | 1 | -1/+1 |
| | |||||
* | Cleanup event | Vsevolod Stakhov | 2016-02-25 | 1 | -0/+2 |
| | |||||
* | Destroy session if a client has gone. | Vsevolod Stakhov | 2016-02-25 | 1 | -0/+44 |
| | |||||
* | Add special timeout when spending too much in sync processing | Vsevolod Stakhov | 2016-02-25 | 1 | -6/+42 |
| | |||||
* | Increase stack size after fork | Vsevolod Stakhov | 2016-02-25 | 2 | -0/+9 |
| | |||||
* | Fix non-UTF regexps for pcre2 | Vsevolod Stakhov | 2016-02-25 | 1 | -1/+1 |
| | |||||
* | Fix task:has_flag method | Vsevolod Stakhov | 2016-02-25 | 1 | -2/+1 |
| | |||||
* | Some fixes to the previous commit | Vsevolod Stakhov | 2016-02-25 | 2 | -13/+15 |
| | |||||
* | Add auth support and db selection for redis stats | Vsevolod Stakhov | 2016-02-25 | 2 | -0/+81 |
| | |||||
* | Fix a stupid mistake | Vsevolod Stakhov | 2016-02-24 | 1 | -1/+1 |
| | |||||
* | Rework system of symbols registration | Vsevolod Stakhov | 2016-02-24 | 5 | -121/+140 |
| | | | | | | It is possible now to use priorities when adding symbols to metrics and override scores for symbols with lower priority with the scores with high priority. | ||||
* | Rework lua errors reporting | Vsevolod Stakhov | 2016-02-24 | 1 | -99/+139 |
| | |||||
* | Fix DKIM verification for empty DKIM signatures | Vsevolod Stakhov | 2016-02-24 | 2 | -2/+17 |
| | |||||
* | Temporary disable JIT when using valgrind | Vsevolod Stakhov | 2016-02-24 | 1 | -3/+9 |
| | |||||
* | Fix pcre jit fast path (one more time) | Vsevolod Stakhov | 2016-02-23 | 2 | -9/+25 |
| | |||||
* | Fix has_symbol method | Vsevolod Stakhov | 2016-02-23 | 1 | -0/+2 |
| | |||||
* | Try to workaround for double free in redis | Vsevolod Stakhov | 2016-02-23 | 1 | -0/+7 |
| | |||||
* | Add sanity guards for ip_score | Vsevolod Stakhov | 2016-02-23 | 1 | -1/+1 |
| | | | | | Issue: #536 Reported by: @AlexeySa | ||||
* | Fix some more issues found by coverity | Vsevolod Stakhov | 2016-02-22 | 7 | -10/+30 |
| | |||||
* | Oops, fix task:get_user | Vsevolod Stakhov | 2016-02-22 | 1 | -3/+7 |
| | |||||
* | Add more strict checks of arguments to lua_task | Vsevolod Stakhov | 2016-02-22 | 1 | -39/+119 |
| | |||||
* | Handle srv protocol timeouts in a specific way | Vsevolod Stakhov | 2016-02-22 | 1 | -16/+24 |
| | |||||
* | Add command to sync fuzzy storage | Vsevolod Stakhov | 2016-02-22 | 4 | -1/+66 |
| | | | | | | | It should be as simple as `rspamadm control fuzzy_sync` Issue: #533 Reported by: @moisseev | ||||
* | More doc fixes | Vsevolod Stakhov | 2016-02-22 | 1 | -16/+16 |
| | |||||
* | Fix doc comments | Vsevolod Stakhov | 2016-02-22 | 1 | -18/+9 |
| | |||||
* | Add hash API for lua_cryptobox | Vsevolod Stakhov | 2016-02-22 | 1 | -0/+186 |
| | |||||
* | Add high level signing API for libcryptobox | Vsevolod Stakhov | 2016-02-22 | 2 | -0/+103 |
| | |||||
* | Add missing features for cryptobox lua api | Vsevolod Stakhov | 2016-02-22 | 1 | -57/+136 |
| | |||||
* | Add some more replacements | Vsevolod Stakhov | 2016-02-21 | 1 | -1/+8 |
| | |||||
* | Better dependencies support between SA and rspamd | Vsevolod Stakhov | 2016-02-21 | 1 | -13/+77 |
| | | | | | Now SA rules can depend on the corresponding rspamd rules applying the replacement table. | ||||
* | Fix interaction with clients with no local Received | Vsevolod Stakhov | 2016-02-21 | 1 | -5/+50 |
| | |||||
* | Continue work on cryptobox API | Vsevolod Stakhov | 2016-02-20 | 1 | -3/+52 |
| | |||||
* | Add preliminary lua API for libcryptobox | Vsevolod Stakhov | 2016-02-19 | 2 | -1/+675 |
| | |||||
* | Set is_spam = true for all but 'no action' or 'greylist' | Vsevolod Stakhov | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | In lua, number cannot be used in boolean context | Vsevolod Stakhov | 2016-02-18 | 1 | -2/+1 |
| |