Date: Sun, 28 Jun 1998 21:16:33 +0200 From: jhs@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: julian@FreeBSD.ORG Subject: bin/7101: /sbin/ipfw unexpected variant treatment of port number expansion Message-ID: <199806281916.VAA01634@jhs.muc.de>
index | next in thread | raw e-mail
>Number: 7101
>Category: bin
>Synopsis: /sbin/ipfw unexpected variant treatment of port number expansion
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 28 12:30:01 PDT 1998
>Last-Modified:
>Originator: Julian Stacey
>Organization:
>Release: FreeBSD 2.2.6-RELEASE i386
>Environment:
>Description:
/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.
>How-To-Repeat:
/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
>Fix:
Sorry, no C code patch, but I notice Julian Elsicher announced intention
to go do other ectension work to ipfw soon, so he may care to look at this.
(PS on that score , a syntax extension to support
via interface_a,interface_b
would be nice if you can be bothered to do it Julian E.
My temporary work around is to do:
$fwcmd add pass tcp from ${js_muc} uucp to ${uucp_muc} out via ${muc_if}
$fwcmd add pass log tcp from ${js_muc} uucp,uucp-path,uucp-rlogin to ${uucp_muc} out via ${muc_if}
Although I had originally wanted
$fwcmd add pass tcp from ${js_muc} uucp to ${uucp_muc} out via ${muc_if}
$fwcmd add pass log tcp from ${js_muc} uucp-path,uucp-rlogin to ${uucp_muc} out via ${muc_if}
Julian
Julian H. Stacey jhs@freebsd.org
>Audit-Trail:
>Unformatted:
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?199806281916.VAA01634>
