Shortly after I uploaded Beta 2, I discovered a rather nasty defect so I chose not to announce Beta 2. Beta 3 is now available for testing.
Changes since Beta 1: 1) Mangle actions may now be inlined using the 'inline' option in the actions file. 2) An issue involving nested inlined action and macro invocations has been resolved. 3) The 'check -r' command now uses the PAGER program unless the -d option is also specified. Additionally, when the compiler runs with 'trace', the PAGER program is used unless -d is set. 4) It is now possible to raise an error if a condition isn't met using the ?ERROR directive. ?ERROR <message> The text after ?ERROR is displayed in a standard Shorewall error message. 5) Using the new ?ERROR directive, embedded Perl has been eliminated from a number of standard actions. Example from action.GlusterFS: ?if @1 !~ /^\d+/ || ! @1 || @1 > 1024 ?error Invalid value for Bricks (@1) ?elsif @2 !~ /^[01]$/ ?error Invalid value for IB (@2) ?endif The above logic insures that the first action paramater is a non-zero number <= 1024 and that the second parameter is either 0 or 1. If 2000 is passed for the first parameter, the following error message is generated: ERROR: Invalid value for Bricks (2000) /usr/share/shorewall/action.GlusterFS (line 15) from /etc/shorewall/rules (line 45) 6) Previously, inline matches were placed after column-generated matches in the generated rule. This meant that "-p' could not be used in inline matches. Beginning with this release, if the first non-blank character in an inline match is '+', then the remainder of the inline matches are placed at the front of the generated rule. 7) The TCPFlags action has been modified to use '+' in inline matches rather than embedded Perl with perl_action_tcp_handler() calls. Thank you for testing, -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 \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users