Page 1 of 1

Can We Put IP Comments into csf.ignore like in csf.allow ?

Posted: 29 Mar 2016, 06:38
by 314fingers
:confused: Hi,

We see that the cPanel interface for CSF generates our "Quick Allow" comments inside the file at /etc/csf/csf.allow

For example we can "Quick Allow" xxx.yyy.zzz.aaa through the cPanel interface and at the same time add a comment underneath the "Quick Allow" field. That comment is then inserted along with the IP address in the file at /etc/csf/csf.allow as shown below:

xxx.yyy.zzz.aaa # Here is a comment about the IP which was inserted via the cPanel "Quick Allow" interface

Therefore we have been confident about simply editing csf.allow and adding the comments directly through the command line.

What we'd like to know is whether it Is OK to add these same kind of comments after each IP into the file at /etc/csf/csf.ignore

We ask this because the cPanel interface does not seem to have a field to enter comments at "Quick Ignore".

Thanks

Re: Can We Put IP Comments into csf.ignore like in csf.allow ?

Posted: 29 Mar 2016, 09:30
by ForumAdmin
You can put comments in csf.ignore the same as csf.allow and csf.deny

Re: Can We Put IP Comments into csf.ignore like in csf.allow ?

Posted: 29 Mar 2016, 11:22
by 314fingers
Thanks very much for that.

We very much appreciate your reply, especially so quickly.