From owner-freebsd-hackers Fri Sep 21 21:14:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 3D52337B413 for ; Fri, 21 Sep 2001 21:14:04 -0700 (PDT) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id GAA64667; Sat, 22 Sep 2001 06:04:35 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200109220404.GAA64667@info.iet.unipi.it> Subject: Re: ipfw and dummynet In-Reply-To: <3BAA47DF.5924E6B6@lmco.com> from rick norman at "Sep 20, 2001 12:47:44 pm" To: rick norman Date: Sat, 22 Sep 2001 06:04:35 +0200 (CEST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, can you show me the output of ipfw show and ipfw pipe show Reading your questions, i have the feeling you are doing something wrong in the commands. For the last one, the client will keep generating its stream of data, it is just after going through the pipe that you will see the limitation in effect. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone (510) 666 2927 . ----------------------------------+----------------------------------------- > I tried "questions" for this but no answer. > > I am attempting to use ipfw and dummynet to instrument some network > traffic tests. I am running freebsd 4.3 release and have built the > kernel > with ipfirewall, dummynet, and default to enabled. For a simple test, I > > added a pipe "ipfw add pipe 1 icmp from any to any". When I ping this > machine, I can do "ipfw pipe 1 show" and watch the counters increment, > but the machine doing the pinging does not see a response to the ping. > That's > my first question. Next, when I try to delete the pipe, "ipfw pipe 1 > delete", it > won't delete. The only way I can get rid of it is to do a flush. That's > > the second > question. Third question, if I type "ipfw pipe 1 config bw 10Bytes/s", > I would > expect the bw to be limited and the counters to reflect this limit. The > > counters > indicate no change in the 64 byte/s generated by my windows client. > > I have read the man pages for ipfw, dummynet, and ipfirewall. If these > are > obvious questions, I would appreciate a pointer to a good reference. > > Thanks > > > > -- > > Logically speaking, logic is not the answer. > > Rick Norman > rick.norman@lmco.com > 408 742 1619 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message