David Sparks wrote:
> Hi,
> 
> Shorewall is a great project -- I've used it for a while now and it
> really does a great job.  Thanks to all the people who put their work
> into it.
> 
> I've stumbled across a bug while preparing to make a change to my rules
> file.  It seems that the backslash character "\" continues comment
> lines.  I don't think this is desirable behavior as it causes very
> unexpected behavior when you comment out a line that ends in "\".
> 
> 
> Backstory: While preparing to make a change to the rules file, new rules
> were added in a commented state.  shorewall restart was run at some
> point which caused strange brokeness in the firewall.  diffs against the
> last know working config which was untouched for months showed only the
> addition of the commented rules which led to a very puzzled debugging
> session.
> 
> The new commented rule was added like this, which seems to have turned
> the entire rule into a comment:
> 
> #DNAT   net:x.x.x.x,y.y.y.y \
> DNAT    net:x.x.x.x \
>                         internal:10.0.0.123 tcp     3306    -       z.z.z.z
> 

This is a function of the shell -- Shorewall has no control over it.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to