hook or custom script when LFD triggers

Post Reply
jmginer
Junior Member
Posts: 12
Joined: 18 Feb 2015, 20:46

hook or custom script when LFD triggers

Post by jmginer »

Hi, I would like to run my own script when an LFD alert is generated.

Is this possible?

Thank you!
Sarah
Moderator
Posts: 892
Joined: 09 Dec 2006, 22:49

Re: hook or custom script when LFD triggers

Post 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
Sergio
Junior Member
Posts: 1594
Joined: 12 Dec 2006, 14:56

Re: hook or custom script when LFD triggers

Post by Sergio »

Yes, BLOCK_REPORT is the way to go to have your own scripts.
Post Reply