csf tempallow/tempdeny comment bug

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

csf tempallow/tempdeny comment bug

Post by marcele »

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

Re: csf tempallow/tempdeny comment bug

Post by ForumAdmin »

Thank you for reporting that. IT will be fixed in the next release.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: csf tempallow/tempdeny comment bug

Post by ForumAdmin »

This should now be fixed in csf v6.21:
http://blog.configserver.com/?p=1840
Post Reply