Add custom text field quick allow / deny

Post Reply
jpeters
Junior Member
Posts: 36
Joined: 19 Jun 2009, 14:11
Location: the Netherlands

Add custom text field quick allow / deny

Post by jpeters »

Hello,
i would be nice to have a text field next to the quick allow / quick deny to add some text why that ip is allowed or deny'd.
that text shows in the csf.deny and csf.allow file

[currently]
111.112.113.114 # Manually allowed - Sun Mar 14 15:59:54 2010

[example]
111.112.113.114 # Manually allowed - Sun Mar 14 15:59:54 2010 # give acces to configserver support
Sergio
Junior Member
Posts: 1712
Joined: 12 Dec 2006, 14:56

Post by Sergio »

This is already set in CSF, have you read the README.TXT file?

It says how to use this.

So, if you want to manually block an IP;. in WHM write in the QUICK DENY the IP followed by your text, something like this:

xxx.xxx.xxx.xxx blocked because I don't like it.

Or, if you don't want an IP to be deleted from the CSF.DENY file when it reaches the maximum number of IPs, then write something like this:

xxx.xxx.xxx.xxx DO NOT DELETE, FB.

It is worth it to read the manuals.
Post Reply