"Include" in csf.redirect causing error
Posted: 23 Apr 2018, 16:27
I attempted to use an include in csf.redirect and received this error on executing csf -ra.
I removed the Include line and started csf with no issue.
Point of clarification: The readme.txt specifically states not to use comments at the end of the lines in the include file but mentions nothing about comments on lines by themselves. Is this acceptable?
Also, in one of your blog posts, you stated that there would be 23 files where an Include statement could be used. The readme.txt lists 22.
Terry
Code: Select all
Error: csf: Incorrect csf.redirect setting ([]): [Include /etc/csf/csf.redirect.local], at line 3172
Point of clarification: The readme.txt specifically states not to use comments at the end of the lines in the include file but mentions nothing about comments on lines by themselves. Is this acceptable?
Also, in one of your blog posts, you stated that there would be 23 files where an Include statement could be used. The readme.txt lists 22.
- /etc/csf/csf.allow
- /etc/csf/csf.blocklists
- /etc/csf/csf.cloudflare
- /etc/csf/csf.deny
- /etc/csf/csf.dirwatch
- /etc/csf/csf.dyndns
- /etc/csf/csf.fignore
- /etc/csf/csf.ignore
- /etc/csf/csf.logfiles
- /etc/csf/csf.logignore
- /etc/csf/csf.mignore
- /etc/csf/csf.pignore
- /etc/csf/csf.rblconf
- /etc/csf/csf.redirect
- /etc/csf/csf.rignore
- /etc/csf/csf.signore
- /etc/csf/csf.sips
- /etc/csf/csf.smtpauth
- /etc/csf/csf.suignore
- /etc/csf/csf.syslogs
- /etc/csf/csf.syslogusers
- /etc/csf/csf.uidignore
Terry