From owner-freebsd-stable Thu Oct 25 2:30:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id 2799437B40B for ; Thu, 25 Oct 2001 02:30:22 -0700 (PDT) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id LAA87777; Thu, 25 Oct 2001 11:30:05 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "Johansson Jan" , "'stable@freebsd.org'" Subject: RE: ipfw operations? Date: Thu, 25 Oct 2001 11:33:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jan, try this: # for rule in `ipfw pipe 8 show | tr " " "_"` > do > echo $rule > done This should list all the existing rules for pipe 8 (with spaces replaced by _), something like this: 00008:__32.000_Kbit/s____0_ms__50_sl.__--_0_pkts_(0_B)_789_drops 00008:__24.000_Kbit/s____0_ms__50_sl.__--_0_pkts_(0_B)_124_drops 00008:__48.000_Kbit/s____0_ms__50_sl.__--_0_pkts_(0_B)_903_drops If that worked, and the rules displayed are the ones you want to delete, then change the "echo" line to "ipfw pipe delete 8", like so: # for rule in `ipfw pipe 8 show | tr " " "_"` > do > ipfw pipe delete 8 > done Patrick. > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Johansson Jan > Sent: 25 October 2001 10:44 > To: 'stable@freebsd.org' > Subject: ipfw operations? > > > I manged to add several pipes in dummynet, like > > ipfw add pipe 8 ip from 127.0.0.1 to 192.168.0.23 > > and repeated that command a few times. > > Now, ipfw del pipe 8 removes the first of those, but if i repeat > that command, the remaining pipes are still in the ipfw show > list. How to i remove those? > > > Jan Johansson > > WM-data eApplications AB > > Grafiska Vägen 18 > > Box 14383 S-400 20 Göteborg > > Tel +46-31-7331217 > > Mob: +46-706-434935 > > Fax +46-31-7331200 > > mailto: jajoa@wmdata.com > > http://www.wmdata.se > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message