On 9/18/10 9:01 AM, Steven Jan Springl wrote: > Tcfilters entry: > > eth0:33 2.2.2.2 1.1.1.1 tcp :22 > > produces the following message: > > ERROR: Invalid/Unknown 6 port/service (0) : /etc/shorewall2/tcfilters (line > 13)
Thanks, Steven This should fix it. -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 \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/IPAddrs.pm
b/Shorewall/Perl/Shorewall/IPAddrs.pm
index 5399b64..3f60349 100644
--- a/Shorewall/Perl/Shorewall/IPAddrs.pm
+++ b/Shorewall/Perl/Shorewall/IPAddrs.pm
@@ -445,7 +445,7 @@ sub expand_port_range( $$ ) {
#
# Validate the ports
#
- ( $first , $last ) = ( validate_port( $proto, $first ) , validate_port(
$proto, $last ) );
+ ( $first , $last ) = ( validate_port( $proto, $first || 1 ) ,
validate_port( $proto, $last ) );
$last++; #Increment last address for limit testing.
#
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
