From archie@whistle.com  Tue Oct 27 16:12:37 1998
Received: from whistle.com (s205m131.whistle.com [207.76.205.131])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA18140
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Oct 1998 16:12:36 -0800 (PST)
          (envelope-from archie@whistle.com)
Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id QAA29785; Tue, 27 Oct 1998 16:11:58 -0800 (PST)
Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3)
	id sma029780; Tue Oct 27 16:11:49 1998
Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id QAA14392; Tue, 27 Oct 1998 16:11:49 -0800 (PST)
Message-Id: <199810280011.QAA14392@bubba.whistle.com>
Date: Tue, 27 Oct 1998 16:11:49 -0800 (PST)
From: Archie Cobbs <archie@whistle.com>
Reply-To: archie@whistle.com
To: FreeBSD-gnats-submit@freebsd.org, jkb@best.com
Subject: ipfw(8) should not allow unimplemented "tee" action
X-Send-Pr-Version: 3.2

>Number:         8471
>Category:       bin
>Synopsis:       ipfw(8) should not allow unimplemented "tee" action
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 27 16:20:01 PST 1998
>Closed-Date:    Sun Dec 6 22:01:59 PST 1998
>Last-Modified:  Sun Dec  6 22:02:15 PST 1998
>Originator:     Archie Cobbs
>Release:        FreeBSD 2.2.6-RELEASE i386
>Organization:
Whistle Communications, Inc.
>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;

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: archie 
State-Changed-When: Sun Dec 6 22:01:59 PST 1998 
State-Changed-Why:  
patch applied. 
>Unformatted:
