Tom Eastep wrote: > Tom Eastep wrote: >> Steven Jan Springl wrote: >>> Tom >>> >>> Specifying a port with a leading zero, eg rule: >>> >>> ACCEPT p2 all tcp 080 >>> >>> produces the following error: >>> >>> Use of uninitialized value $port in concatenation (.) or string >>> at /usr/share/shorewall/Shorewall/IPAddrs.pm line 312, <$currentfile> line >>> 80. >>> ERROR: Invalid/Unknown tcp port/service () : /etc/shorewall2/rules (line >>> 80) >> '8' is an illegal octal digit -- that's what leads to this error. >> > > Commit 5ec7759d81973876daba213aa6dd0609dde3793c avoids the run-time error.
And for consistency, aad8ea837af468d60196d341254a1560d8be8d3c allows port numbers to be specified in hex. -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
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
