From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 1 07:16:00 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72021106564A for ; Mon, 1 Sep 2008 07:16:00 +0000 (UTC) (envelope-from cbeckham@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4118FC0A for ; Mon, 1 Sep 2008 07:16:00 +0000 (UTC) (envelope-from cbeckham@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so958588yxb.13 for ; Mon, 01 Sep 2008 00:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=r+19PXhGXFPXA8Rw9tsgVQ8/H1nJo9k69y5vofI9bTA=; b=CTLHGbKPB6VenJBTcCcLlLK3hPAL0Q/EzMgwsqMPqWEmcbelJ7rkmOPqamRyjrXoFp 6sA88XJXyMdYnpbriIE9nfwHJcdYnOYuMGPcZb8LjoIVhawExqAmSukwKW8rxsJH+dRP ZVbIKu/eEvkm/P+VGDhk9HWq/Q9APDrzO3qr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=DPklttQZUA8txd/3/sWoDyANthGOOHufdwkdl0dAVlS+g/JV3Uh5VFJzCRUE+nZmYo gJdFQgwPNZEA8L6tp2tpc2Bki/TN/5Vo2zNN4Tn13SrHFWIC9MXe5N2E1SShVlNYpRMA mK2JfjLVFCq25gxy8ym5E2C1Sxsmhxl7VcR+M= Received: by 10.150.230.15 with SMTP id c15mr6287643ybh.156.1220251596074; Sun, 31 Aug 2008 23:46:36 -0700 (PDT) Received: by 10.151.109.2 with HTTP; Sun, 31 Aug 2008 23:46:36 -0700 (PDT) Message-ID: Date: Sun, 31 Aug 2008 23:46:36 -0700 From: "Charles Beckham" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Obytes counter in netstat not incrementing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2008 07:16:00 -0000 after configuring some rrd's and expecting to grab the data from netstat to log, i noticed that most addresses on the system arn't having the OBytes counter increased. is this just me, or am i missing something? i also have ipfw count rules for each address on the system, to check if the problem was maybe my command line. below is some snippets. x# netstat -ibdnW | grep 208.110.87.83 | perl -p -e 's/ */ /g' fxp0 1500 208.110.87 208.110.87.83 148701705 - 3765807065 1520 - 136897 - - x# ipfw show 5000 | grep 208.110.87.83 05000 423144 18533923 count ip from any to 208.110.87.83 05000 419195 85561587 count ip from 208.110.87.83 to any x# netstat -ibdnW | grep 208.110.87.83 | perl -p -e 's/ */ /g' fxp0 1500 208.110.87 208.110.87.83 148702426 - 3765843377 1520 - 136897 - - x# ipfw show 5000 | grep 208.110.87.83 05000 423198 18536930 count ip from any to 208.110.87.83 05000 419228 85565367 count ip from 208.110.87.83 to any x# netstat -ibdnW | grep 208.110.87.83 | perl -p -e 's/ */ /g' fxp0 1500 208.110.87 208.110.87.83 148702600 - 3765853440 1520 - 136897 - - as you can see, the ipfw counters are increasing, but not the netstat output, any ideas, or am i missing something? -- - Charles Beckham