From owner-freebsd-bugs Wed May 15 11: 1:23 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 48B8C37BB35 for ; Wed, 15 May 2002 11:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4FI03F73790; Wed, 15 May 2002 11:00:03 -0700 (PDT) (envelope-from gnats) Date: Wed, 15 May 2002 11:00:03 -0700 (PDT) Message-Id: <200205151800.g4FI03F73790@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "james brown" Subject: Re: bin/37602: netstat -i -b does not count outgoing packets for ip aliases Reply-To: "james brown" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/37602; it has been noted by GNATS. From: "james brown" To: cjclark@alum.mit.edu, FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/37602: netstat -i -b does not count outgoing packets for ip aliases Date: Wed, 15 May 2002 10:56:34 -0700 (PDT) > But as you've found, you're not going to get it with netstat(1). That > information simply isn't tracked. Figuring out what alias address a thanks, that answered my question. > You can make ipfw(8) track in and out separately. In fact, I really > don't see how you could get it to track in and out combined, yes, i was wrong about that. > Feel free to take a look in sys/netinet/ip_output.c and see if you can > find a place to do the accounting without creating too much additional > overhead. if i learn network programming maybe i'll get around to that some day. thank you for the reply and helping me with this. james To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message