Page 1 of 1

tempallow sets inout instead of just in

Posted: 15 Sep 2012, 13:22
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

Re: tempallow sets inout instead of just in

Posted: 15 Sep 2012, 17:19
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"}

Re: tempallow sets inout instead of just in

Posted: 21 Sep 2012, 09:45
by ForumAdmin
This should now be resolved in v2.61:
http://blog.configserver.com/index.php?itemid=672