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.
2 posts Page 1 of 1
Junior Member
Posts: 5
Joined: 16 Jul 2014, 13:52


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

Posts: 1433
Joined: 01 Oct 2008, 09:24

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