aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* [Feature] Rework dynamic symbols for new metrics APIVsevolod Stakhov2016-02-281-5/+9
|
* [Fix] Fix some cases for RDNS_NONEVsevolod Stakhov2016-02-271-4/+8
|
* [Fix] Don't set default values for hostname and heloVsevolod Stakhov2016-02-271-2/+2
|
* [Feature] Add ignore_received optionVsevolod Stakhov2016-02-273-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 checksVsevolod Stakhov2016-02-271-12/+12
|
* [Feature] Add RDNS_NONE ruleVsevolod Stakhov2016-02-271-21/+20
|
* [Minor] Implement workaround for legacy clientsVsevolod Stakhov2016-02-276-4/+28
|
* Steal lua_text ownership to prevent gcVsevolod Stakhov2016-02-261-0/+7
|
* Add more reasonable errors for lua_tcp moduleVsevolod Stakhov2016-02-261-9/+20
|
* Add more guards for mutable cacheVsevolod Stakhov2016-02-261-0/+14
|
* Implement versioning in symbols cache to allow modiifications on flyVsevolod Stakhov2016-02-261-1/+3
|
* Allow to set redis db and password in lua_redisVsevolod Stakhov2016-02-261-0/+26
|
* Use object priority when adding symbols from uclVsevolod Stakhov2016-02-261-0/+3
|
* Allow overwrite scores with the same priorityVsevolod Stakhov2016-02-261-1/+1
|
* Cleanup eventVsevolod Stakhov2016-02-251-0/+2
|
* Destroy session if a client has gone.Vsevolod Stakhov2016-02-251-0/+44
|
* Add special timeout when spending too much in sync processingVsevolod Stakhov2016-02-251-6/+42
|
* Increase stack size after forkVsevolod Stakhov2016-02-252-0/+9
|
* Fix non-UTF regexps for pcre2Vsevolod Stakhov2016-02-251-1/+1
|
* Fix task:has_flag methodVsevolod Stakhov2016-02-251-2/+1
|
* Some fixes to the previous commitVsevolod Stakhov2016-02-252-13/+15
|
* Add auth support and db selection for redis statsVsevolod Stakhov2016-02-252-0/+81
|
* Fix a stupid mistakeVsevolod Stakhov2016-02-241-1/+1
|
* Rework system of symbols registrationVsevolod Stakhov2016-02-245-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 reportingVsevolod Stakhov2016-02-241-99/+139
|
* Fix DKIM verification for empty DKIM signaturesVsevolod Stakhov2016-02-242-2/+17
|
* Temporary disable JIT when using valgrindVsevolod Stakhov2016-02-241-3/+9
|
* Fix pcre jit fast path (one more time)Vsevolod Stakhov2016-02-232-9/+25
|
* Fix has_symbol methodVsevolod Stakhov2016-02-231-0/+2
|
* Try to workaround for double free in redisVsevolod Stakhov2016-02-231-0/+7
|
* Add sanity guards for ip_scoreVsevolod Stakhov2016-02-231-1/+1
| | | | | Issue: #536 Reported by: @AlexeySa
* Fix some more issues found by coverityVsevolod Stakhov2016-02-227-10/+30
|
* Oops, fix task:get_userVsevolod Stakhov2016-02-221-3/+7
|
* Add more strict checks of arguments to lua_taskVsevolod Stakhov2016-02-221-39/+119
|
* Handle srv protocol timeouts in a specific wayVsevolod Stakhov2016-02-221-16/+24
|
* Add command to sync fuzzy storageVsevolod Stakhov2016-02-224-1/+66
| | | | | | | It should be as simple as `rspamadm control fuzzy_sync` Issue: #533 Reported by: @moisseev
* More doc fixesVsevolod Stakhov2016-02-221-16/+16
|
* Fix doc commentsVsevolod Stakhov2016-02-221-18/+9
|
* Add hash API for lua_cryptoboxVsevolod Stakhov2016-02-221-0/+186
|
* Add high level signing API for libcryptoboxVsevolod Stakhov2016-02-222-0/+103
|
* Add missing features for cryptobox lua apiVsevolod Stakhov2016-02-221-57/+136
|
* Add some more replacementsVsevolod Stakhov2016-02-211-1/+8
|
* Better dependencies support between SA and rspamdVsevolod Stakhov2016-02-211-13/+77
| | | | | Now SA rules can depend on the corresponding rspamd rules applying the replacement table.
* Fix interaction with clients with no local ReceivedVsevolod Stakhov2016-02-211-5/+50
|
* Continue work on cryptobox APIVsevolod Stakhov2016-02-201-3/+52
|
* Add preliminary lua API for libcryptoboxVsevolod Stakhov2016-02-192-1/+675
|
* Set is_spam = true for all but 'no action' or 'greylist'Vsevolod Stakhov2016-02-181-1/+1
|
* In lua, number cannot be used in boolean contextVsevolod Stakhov2016-02-181-2/+1
|