Page 1 of 1

csfpost bug in version 4.12

Posted: 17 Oct 2008, 03:20
by sparek
Looks like on line 327 in csf.pl in version 4.12 the line is:

Code: Select all

if (-e "/etc/csf/csfpost.sh\n") {
and it should be:

Code: Select all

if (-e "/etc/csf/csfpost.sh") {
The extra "\n" is causing the csfpost.sh script to not be found and not executed.

I compared this with version 4.11 and it looks like 4.11 has this correct.

Posted: 17 Oct 2008, 04:44
by Sergio
Where is the CSFPOST.SH file?

Posted: 17 Oct 2008, 04:55
by sparek
Its an optional file.

You can create it at /etc/csf/csfpost.sh and it is run after CSF is started or restarted.

It is not a required file for csf to work.

Posted: 17 Oct 2008, 09:24
by chirpy
Thanks for the report. I'll release a fix for the bug shortly.