On 08/27/2012 08:57 AM, Benny Pedersen wrote:
Den 2012-08-27 16:22, Tom Eastep skrev:
the blrules file. This can be worked around by placing an empty
COMMENT
line at the end of blrules.
rules in shorewall rules gets comment from blrules here
thanks for the workaround, but why is this happend ?
It's a bug. Patch attached.
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
commit 3aca90811ccd642fc65e09521f7268907ac96893
Author: Tom Eastep <teas...@shorewall.net>
Date: Mon Aug 27 07:29:47 2012 -0700
Clear the current comment at the end of the blrules file.
Signed-off-by: Tom Eastep <teas...@shorewall.net>
diff --git a/Shorewall/Perl/Shorewall/Rules.pm
b/Shorewall/Perl/Shorewall/Rules.pm
index c029e8e..40ceb80 100644
--- a/Shorewall/Perl/Shorewall/Rules.pm
+++ b/Shorewall/Perl/Shorewall/Rules.pm
@@ -2460,6 +2460,8 @@ sub process_rules( $ ) {
);
process_rule while read_a_line( NORMAL_READ );
+
+ clear_comment;
}
$section = '';
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users