echofish icon indicating copy to clipboard operation
echofish copied to clipboard

FR: Grey listing?

Open jinnatar opened this issue 6 years ago • 4 comments

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.

jinnatar avatar Feb 04 '19 06:02 jinnatar

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.

proditis avatar Feb 06 '19 09:02 proditis

Any news on this one?

jinnatar avatar Mar 04 '20 20:03 jinnatar

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.

proditis avatar Mar 05 '20 06:03 proditis

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.

jinnatar avatar Mar 08 '20 18:03 jinnatar