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

Post Reply
314fingers
Junior Member
Posts: 3
Joined: 29 Mar 2016, 06:16

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

Post 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
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

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

Post by ForumAdmin »

You can put comments in csf.ignore the same as csf.allow and csf.deny
314fingers
Junior Member
Posts: 3
Joined: 29 Mar 2016, 06:16

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

Post by 314fingers »

Thanks very much for that.

We very much appreciate your reply, especially so quickly.
Post Reply