echofish
echofish copied to clipboard
FR: Grey listing?
I find myself wanting grey listing every now and then. For example, some cron failures are due to temporarily failed DNS lookups every now and then and it's frequent enough to be annoying. But, if I whitelist it I won't see a situation where DNS fails constantly.
Proposal at a high level:
- Add field to whitelist entries called rate limit or perhaps disable threshold?
- rate limit would be X matches in Y time
- if rate limit is tripped, stop applying the filter to subsequent messages
Benefit: I can whitelist something that fails every now and then by it's nature but still catch if it starts failing more then usual.
Hello @Artanicus,
That sounds like a good idea. I could certainly see this work under a lot of different situations.
I'll start work on the design of it a little bit and post back with my progress.
Any news on this one?
Sorry but I'm quite busy with other projects atm and haven't got the time to look into this.
If you feel up to it give it a go, otherwise it will have to wait a "bit" longer.
Took a look at the triggers that perform whitelist filtering and I don't see a way to implement rules specific to a whitelist that wouldn't have a bad performance hit. In any case it would require a significant rework of core functionality. Sadly I don't think I have the skills for it.