From owner-freebsd-bugs Tue Oct 27 16:20:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19028 for freebsd-bugs-outgoing; Tue, 27 Oct 1998 16:20:10 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19009 for ; Tue, 27 Oct 1998 16:20:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA19156; Tue, 27 Oct 1998 16:20:01 -0800 (PST) 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 ; 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 Reply-To: archie@whistle.com To: FreeBSD-gnats-submit@FreeBSD.ORG, jkb@best.com X-Send-Pr-Version: 3.2 Subject: bin/8471: ipfw(8) should not allow unimplemented "tee" action Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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