tempallow sets inout instead of just in

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

tempallow sets inout instead of just in

Post by marcele »

Just noticed this on csf 5.60. Command always sets "inout" instead of just "in"

Command
# csf --tempallow 8.8.8.8 3600 -p 53 -d in

Result
1347711303|8.8.8.8|53|inout|3600|Manually added
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: tempallow sets inout instead of just in

Post by ForumAdmin »

Thank you for reporting the issue. Well have it fixed when we release version 5.61. In the meantime, if you need the correct functionality, you can add the following to csf.pl at line 2702:

Code: Select all

	if ($portdir =~ /\-d\s*in/i) {$inout = "in"}
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: tempallow sets inout instead of just in

Post by ForumAdmin »

This should now be resolved in v2.61:
http://blog.configserver.com/index.php?itemid=672
Post Reply