From owner-freebsd-bugs Thu May 29 03:10:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA05675 for bugs-outgoing; Thu, 29 May 1997 03:10:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA05667; Thu, 29 May 1997 03:10:01 -0700 (PDT) Date: Thu, 29 May 1997 03:10:01 -0700 (PDT) Message-Id: <199705291010.DAA05667@hub.freebsd.org> To: freebsd-bugs Cc: From: Poul-Henning Kamp Subject: Re: kern/3707: IP Accounting counts packets to virtual servers more than once Reply-To: Poul-Henning Kamp Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3707; it has been noted by GNATS. From: Poul-Henning Kamp To: mw@FreibergNet.DE Cc: phk@dk.tfs.com (Poul-Henning Kamp), FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/3707: IP Accounting counts packets to virtual servers more than once Date: Thu, 29 May 1997 12:04:25 +0200 >As I stated later in my PR, I can't tell exactly when I transfer data >via ftp. A `ping -c 1' is definitely counted twice. > >Does it have something to do with IP accounting collecting it's data >depending on the network device (here the loopback device)? No, but it will count them both in and outgoing on the interfaces. Try to say ipfw ...... in They the packets should only be counted once in both cases. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.