csf tempallow/tempdeny comment bug
Posted: 01 Jul 2013, 17:16
Thanks for adding the ability to use comments for temp banned IPs. It looks like it isn't parsing all the options correctly The direction option always seems to get added to the comments.
Syntax:
-ta, --tempallow ip ttl [-p port] [-d direction] [comment]
Example:
csf --tempallow 203.0.113.1 3600 -p 3306 -d in Test comment
Result in csf.tempallow :
1372695223|203.0.113.1|3306|in|3600|-din Test comment
Syntax:
-ta, --tempallow ip ttl [-p port] [-d direction] [comment]
Example:
csf --tempallow 203.0.113.1 3600 -p 3306 -d in Test comment
Result in csf.tempallow :
1372695223|203.0.113.1|3306|in|3600|-din Test comment