From owner-freebsd-questions Mon Jan 5 20:16:57 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA24546 for questions-outgoing; Mon, 5 Jan 1998 20:16:57 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA24531 for ; Mon, 5 Jan 1998 20:16:52 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id UAA01681; Mon, 5 Jan 1998 20:16:35 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 5 Jan 1998 20:16:34 -0800 (PST) From: Doug White Reply-To: Doug White To: Anthony Hill cc: questions@FreeBSD.ORG Subject: Re: Traffic accounting and stats. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 5 Jan 1998, Anthony Hill wrote: > I am using 2.2.1-RELEASE as a router to route between my ~15 host > LAN and the async ppp link to my ISP. I would like to get detailed traffic > stats for each host on the network. > > ie. how much traffic went from LAN machine A to LAN machine B. How much > went from LAN machine C out over the ppp link. How much traffic came > in over the ppp link to LAN machine D. etc etc. > > Any idea how to go about this ? > > It would also be REALLY cool if I could tell what the composition of the > traffic was. ie 50% of the externally sourced traffic destined for LAN > machine E was TCP on port 80, and the rest was TCP on port 23. > > Please reply to this email address, as I dont have access to news, and > I dont contribute enough to warrant a subscription to the mailing list. ipfw can be set up to log this type of information. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major