Page 1 of 1

hook or custom script when LFD triggers

Posted: 14 Mar 2022, 21:06
by jmginer
Hi, I would like to run my own script when an LFD alert is generated.

Is this possible?

Thank you!

Re: hook or custom script when LFD triggers

Posted: 31 Jul 2022, 12:28
by Sarah
The option BLOCK_REPORT allows you to run your own external script whenever lfd blocks an IP. See the readme.txt for more information. If you want some action performed on other alerts besides blocks, there is no inbuilt way to do this. You could write your own daemon to monitor the lfd log, or scan the log periodically, and run a script when a specific alert occurs

Re: hook or custom script when LFD triggers

Posted: 09 Aug 2022, 17:49
by Sergio
Yes, BLOCK_REPORT is the way to go to have your own scripts.