From owner-freebsd-isp Thu Oct 23 14:32:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA29343 for isp-outgoing; Thu, 23 Oct 1997 14:32:18 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from grunt.vl.net.ua (daemon@grunt.vl.net.ua [193.124.76.209]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id OAA29299 for ; Thu, 23 Oct 1997 14:31:35 -0700 (PDT) (envelope-from news@grunt.vl.net.ua) Received: from news by grunt.vl.net.ua with local (Exim 1.71 #1) id 0xOUvx-0000bl-00; Fri, 24 Oct 1997 00:36:50 +0300 To: freebsd-isp@freebsd.org Subject: Re: Traffic calculation Date: 24 Oct 1997 00:36:45 +0300 Message-ID: <62og1d$290$1@grunt.vl.net.ua> X-Newsreader: TIN [UNIX 1.3 unoff BETA 970709; i386 FreeBSD 2.2-970911-RELENG] X-Via: News-To-Mail v1.0 From: Vladimir Litovka Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello! Daniel Podolsky wrote: > Is it possible to get my router (FreeBSD box) traffic statistic using > tcpdump and tcptrace? Try using ipfw. Setup allow rules such as ipfw add 100 allow all from any to any via desired_interface and then ipfw show Third column will contain bytes count from setting rule or last ipfw zero 100 -- Vladimir Litovka , hostmaster of vl.net.ua ======== Don't trouble trouble until trouble troubles you.