timeout value not sent to csf cluster members on tempbans

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
csurgi
Junior Member
Posts: 5
Joined: 16 Jul 2014, 13:52

timeout value not sent to csf cluster members on tempbans

Post by csurgi »

Hi,

LFD sends fixed 0 as timeout to the cluster members:

/usr/sbin/lfd line 7496:

Code: Select all

if ($config{CLUSTER_BLOCK} and $config{CLUSTER_SENDTO} and !$cluster) {&lfdclient($perm,"",$ip,"$port","$inout","0")}
It shoud be:

Code: Select all

if ($config{CLUSTER_BLOCK} and $config{CLUSTER_SENDTO} and !$cluster) {&lfdclient($perm,"",$ip,"$port","$inout","$timeout")}
I'm using csf:v9.11

Regards,
Csurgi

ForumAdmin
Moderator
Posts: 1460
Joined: 01 Oct 2008, 09:24

Re: timeout value not sent to csf cluster members on tempbans

Post by ForumAdmin »

Thank you for reporting this. We will have a fix in the next release of csf.

Post Reply