Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 1998 16:11:49 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG, jkb@best.com
Subject:   bin/8471: ipfw(8) should not allow unimplemented "tee" action
Message-ID:  <199810280011.QAA14392@bubba.whistle.com>

next in thread | raw e-mail | index | archive | help

>Number:         8471
>Category:       bin
>Synopsis:       ipfw(8) should not allow unimplemented "tee" action
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 27 16:20:01 PST 1998
>Last-Modified:
>Originator:     Archie Cobbs
>Organization:
Whistle Communications, Inc.
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	FreeBSD 2.2.7, 3.0

>Description:

	ipfw tee is unimplemented, yet this is not so obvious.

>How-To-Repeat:


>Fix:

Index: ipfw.8
===================================================================
RCS file: /cvs/freebsd/src/sbin/ipfw/ipfw.8,v
retrieving revision 1.43
diff -u -r1.43 ipfw.8
--- ipfw.8	1998/07/06 03:20:09	1.43
+++ ipfw.8	1998/10/28 00:11:38
@@ -540,6 +540,8 @@
 are not.
 .Pp
 Port aliases containing dashes cannot be first in a list.
+.Pp
+The ``tee'' action is unimplemented.
 .Sh AUTHORS
 .An Ugen J. S. Antsilevich ,
 .An Poul-Henning Kamp ,
Index: ipfw.c
===================================================================
RCS file: /cvs/freebsd/src/sbin/ipfw/ipfw.c,v
retrieving revision 1.58
diff -u -r1.58 ipfw.c
--- ipfw.c	1998/07/06 03:20:10	1.58
+++ ipfw.c	1998/10/28 00:11:38
@@ -901,6 +901,9 @@
 			else
 				show_usage("illegal divert port");
 		}
+#ifndef IPFW_TEE_IS_FINALLY_IMPLEMENTED
+		err(EX_USAGE, "``tee'' is not implemented");
+#endif
 	} else if (!strncmp(*av,"fwd",strlen(*av)) ||
 		   !strncmp(*av,"forward",strlen(*av))) {
 		struct in_addr dummyip;

>Audit-Trail:
>Unformatted:

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



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