Process other Logfiles

2 posts Page 1 of 1
JDStallings
Junior Member
Posts: 55
Joined: 10 Dec 2006, 10:04


I am not sure if this is possible as I have not been able to find it, but can you configure CSF to look at another logfile and based on information cause a lock on an IP or PORT based on what it sees?

Example: I have another application that allows people to log on and would like CSF to watch that applications log files and issue a block if they have x number of invalid attempts.

I know I might be able to write another process that checks the logfile and issues a csf command to block the account but would be nice to do it all in CSF.

Thanks!
ForumAdmin
Moderator
Posts: 1433
Joined: 01 Oct 2008, 09:24


You can write your own regex hook using /etc/csf/regex.custom.pm
2 posts Page 1 of 1