From owner-freebsd-questions@FreeBSD.ORG Mon Aug 13 00:50:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 882E616A417 for ; Mon, 13 Aug 2007 00:50:45 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id 5F71E13C468 for ; Mon, 13 Aug 2007 00:50:45 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by rv-out-0910.google.com with SMTP id f1so917044rvb for ; Sun, 12 Aug 2007 17:50:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hqIuu24iWC7/aq/DNEHdi5eMm81/TkbRSx/BXewOQzDPUs+oyemW1mgQsMhrOQs8LnFxo/8NnyKlGKno1Ud+VEPFDr3/33rU8uhw4Q2SF+LvLsgUBeC6H0aKm4L52xvGrrreqmn8ieUSIggRRrNITsNyfUSG26/i0j+OCmXyb9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QRoQqE4aB2Cn5GCyMFYRcpPCuZOHQhUmJBq8vqb15XhYj+N5RPdOyAtgq25CRyDCvODBIHPS8My8s4e5r72/ctn0wpkfzzM8p9CSmEycpowg7V8C25yv+KSp/6WM1BvA18aS7xujF6waBYEYxvXmXDSgJmVVpcetacwyBO9YsZQ= Received: by 10.141.51.15 with SMTP id d15mr2357922rvk.1186966244787; Sun, 12 Aug 2007 17:50:44 -0700 (PDT) Received: by 10.140.207.2 with HTTP; Sun, 12 Aug 2007 17:50:44 -0700 (PDT) Message-ID: <64c038660708121750l47c05379r52d775e6a45b5620@mail.gmail.com> Date: Sun, 12 Aug 2007 18:50:44 -0600 From: Modulok To: jackbarnett@gmail.com In-Reply-To: <46BF9DD1.8010906@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46BF9DD1.8010906@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Network Monitor? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 00:50:45 -0000 On 8/12/07, Jack Barnett wrote: > > Is there a way to monitor what traffic is coming in/out of my network? > For example: so me how much bandwidth emails are taking, how much http > traffic (both in and outgoing), etc. > I'd like a report broken down by "traffic type" like in windows. If you're using ipfw(8) on a machine acting as a gateway and your ruleset is configured with one rule per port, you can read the packet and byte counters for each rule: (root)# ipfw show; By knowing what standard services correlate to each port (http on port 80, FTP on port 21, etc), you can get a pretty good idea of traffic. It's not exactly the ideal solution, but it's a thought. -Modulok-