Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 1998 07:00:01 -0700 (PDT)
From:      Niall Smart <rotel@indigo.ie>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/7101: /sbin/ipfw unexpected variant treatment of port number expansion
Message-ID:  <199806291400.HAA05297@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR bin/7101; it has been noted by GNATS.

From: Niall Smart <rotel@indigo.ie>
To: jhs@FreeBSD.ORG, FreeBSD-gnats-submit@FreeBSD.ORG
Cc: julian@FreeBSD.ORG, julian@whistle.com
Subject: Re: bin/7101: /sbin/ipfw unexpected variant treatment of port number expansion
Date: Mon, 29 Jun 1998 14:50:25 +0000

 On Jun 28,  9:16pm, jhs@FreeBSD.ORG wrote:
 } Subject: bin/7101: /sbin/ipfw unexpected variant treatment of port number 
 > 
 > /sbin/ipfw on 2.2.6: variant treatment of port number:
 > failed expansion of '-' if uucp-path is first param, otherwise not
 > expanded & doesn't fail.
 > 
 > /sbin/ipfw add pass log tcp from 193.174.4.84 uucp-path,uucp-rlogin to 193.174.4.10 out via isppp0
 > 	fails with
 > ipfw: unknown port ``path''
 > 
 > /sbin/ipfw add pass log tcp from 193.174.4.84 uucp,uucp-path,uucp-rlogin to 193.174.4.10 out via isppp0
 > 	works
 > 
 
 How about introducing an escape character so you would use uucp\-path,
 or how about disallowing ranges which use service names (i.e. only
 accept port numbers)  I prefer the latter.
 
 
 Niall
 
 
 -- 
 Niall Smart.        PGP: finger njs3@motmot.doc.ic.ac.uk
 FreeBSD: Turning PC's into Workstations: www.freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message


help

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