summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/ratelimit.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* [Feature] Use new redis API in ratelimit pluginVsevolod Stakhov2016-06-221-39/+44
|
* [Feature] Use generic global string split functionVsevolod Stakhov2016-05-281-29/+3
|
* [Feature] Use universal redis definitions in rspamd pluginsVsevolod Stakhov2016-05-281-17/+11
|
* [Fix] Fix ratelimit initializationVsevolod Stakhov2016-05-031-7/+10
|
* [Feature] Rework ratelimit module to set expirationVsevolod Stakhov2016-04-261-22/+14
|
* [Feature] Use new version of register_symbol in rspamd pluginsVsevolod Stakhov2016-04-221-1/+5
|
* [Fix] Fix ratelimit ctime settingVsevolod Stakhov2016-04-201-1/+5
|
* [Feature] Add maximum delay to ratelimit moduleVsevolod Stakhov2016-04-171-50/+77
|
* Fix users ratelimitsVsevolod Stakhov2016-02-121-1/+1
|
* Switch the rest to apache 2Vsevolod Stakhov2016-02-041-22/+12
|
* ratelimit: avoid possible indexing of nil value (Fixes #498)Andrew Lewis2016-01-251-1/+1
|
* Reduce log severity for ratelimit missing serversVsevolod Stakhov2016-01-191-2/+2
|
* Rework ratelimit pluginVsevolod Stakhov2015-11-301-15/+38
| | | | | | | | | - Switch to `rates` instead of old and stupid strings to setup - Check if a bucket is zero and disable the corresponding limits - Turn off all buckets by default - Check either `rcpt` or `user` buckets, not all together - Document new `rates` and `symbol` options - Inform user about what buckets are used in the configuration
* Add guard for ratelimit checksVsevolod Stakhov2015-11-281-1/+3
|
* Allow ratelimit plugin to set symbol instead of pre-resultVsevolod Stakhov2015-11-211-19/+28
|
* Fix pluginsVsevolod Stakhov2015-11-201-17/+17
|
* Update logging in lua modules.Vsevolod Stakhov2015-09-011-10/+10
|
* Fix issues with bounces From processing.Vsevolod Stakhov2015-06-231-1/+1
|
* Whitelisted ip map should be radix, not hash.Vsevolod Stakhov2015-05-121-1/+1
|
* Fix closure parameters.Vsevolod Stakhov2015-02-261-3/+4
|
* Do not set negative values for ratelimits.Vsevolod Stakhov2015-02-261-0/+3
|
* Fix ratelimit plugin.Vsevolod Stakhov2015-02-261-23/+26
|
* Remove old redis invocation.Vsevolod Stakhov2015-02-251-2/+0
|
* Rework and optimize ratelimit plugin.Vsevolod Stakhov2015-02-251-74/+101
|
* Reformat ratelimit plugin.Vsevolod Stakhov2015-02-251-262/+261
|
* Clarify copyright for lua plugins.Vsevolod Stakhov2015-02-131-0/+26
|
* set empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 ↵eneq1232015-02-111-3/+5
| | | | defined error message transport)
* Fix IP validity checks.Vsevolod Stakhov2014-11-101-3/+3
|
* Fix upstreams in ratelimit.Vsevolod Stakhov2014-10-301-9/+11
|
* Restore soft reject for rate limit.Vsevolod Stakhov2014-09-231-1/+1
|
* Use `reject` action for ratelimit.Vsevolod Stakhov2014-09-231-2/+1
|
* action: soft_reject -> "soft reject"eneq1232014-09-221-2/+2
|
* Adopt ratelimit filter.Vsevolod Stakhov2014-08-251-0/+4
|
* Fix plugins.Vsevolod Stakhov2014-08-181-20/+7
|
* * use the "User:" rspamc proto param for ratelimiteneq1232014-05-071-3/+15
| | | | | * fix rspamd_actions typo * rspamd_logger added for 'Ratelimit exceeded' case
* Remove duplicated resolving functions from task.Vsevolod Stakhov2013-11-191-2/+2
|
* Replace gfind with gmatch.Vsevolod Stakhov2013-11-081-1/+1
| | | | Reported by: Andrew Lewis
* Final update for 0.5.4.Vsevolod Stakhov2013-02-021-2/+3
|
* * Avoid DoS while sending a message with a lot of recipients in 'To' header.Vsevolod Stakhov2012-05-281-1/+12
| | | | | Fix possible deadlock in lua_redis. Version is now 0.4.8 as there are enough changes.
* * Add ratelimit pluginVsevolod Stakhov2012-04-061-0/+315
Some polishing of lua task api.