Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 09:30:20 -0700 (PDT)
From:      Luigi Rizzo <rizzo@icir.org>
To:        ipfw@FreeBSD.org
Subject:   Re: bin/50749: ipfw2 incorrectly parses ports and port ranges
Message-ID:  <200306281630.h5SGUKsk093282@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/50749; it has been noted by GNATS.

From: Luigi Rizzo <rizzo@icir.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/50749: ipfw2 incorrectly parses ports and port ranges
Date: Sat, 28 Jun 2003 09:25:34 -0700

 as the ipfw manpage says, dashes in service names must be
 escaped by a backslash (which in the shell must be escaped by
 a backslash, so you have to write
 
 	ipfw add 1000 allow tcp from any to any ftp,ftp\\-data,ssh,www
 
 to make it work). So that part of the patch certainly does not
 apply. I agree that the parser should not silently drop the
 remaining of the string in case of an error.
 
 	cheers
 	luigi


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306281630.h5SGUKsk093282>