From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 21:31:17 2009 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 E3759106568F for ; Wed, 7 Oct 2009 21:31:17 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-yw0-f186.google.com (mail-yw0-f186.google.com [209.85.211.186]) by mx1.freebsd.org (Postfix) with ESMTP id A1A538FC20 for ; Wed, 7 Oct 2009 21:31:17 +0000 (UTC) Received: by ywh16 with SMTP id 16so4756528ywh.13 for ; Wed, 07 Oct 2009 14:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dpXCamdlKS1YCrVNnqJIMQXTs0X5sbCWdmVAYrXPM7o=; b=yEcOXeEYb47wHVwwMvVWzxNN7+k9qmZ1STR1/BUST3hfrb8uIY9hC/VIv8flpm7AMz zdADl0fdmpLGhQpVgUtBBpLsfXkty/pnQ4NxxwDiMsHT+Q+3E+ur/aCo0qEEucDOdWfb hHNgfvvqmRPvJXnJhfd+NQTcThK+EiCaAy09I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=twDZa/7uwcNKk7ZX0/xksCnwg4OwxVCDTSyubXBieO+BGFeO4PlCn/8vOVxilQglt1 W1yi21kxFSokr6wdi6KHTvCvmBrEVkoAn9v03x8CONL8D3lm9brOSi2rGG2mR16f1b6p 4xpttER3yuH2aX7McnfU12ybXbhO8v2iC4Fg4= MIME-Version: 1.0 Received: by 10.90.127.20 with SMTP id z20mr229118agc.118.1254949729346; Wed, 07 Oct 2009 14:08:49 -0700 (PDT) In-Reply-To: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> References: <26ddd1750910071222n3d2b82ebn72ae4c00ddeaa9a4@mail.gmail.com> Date: Wed, 7 Oct 2009 17:08:49 -0400 Message-ID: <5d6848b00910071408t7f923act2957e7bed869ea93@mail.gmail.com> From: Kevin Wilcox To: Maxim Khitrov Content-Type: text/plain; charset=UTF-8 Cc: Free BSD Questions list Subject: Re: Show bandwidth usage by IP address (through pf) 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: Wed, 07 Oct 2009 21:31:18 -0000 2009/10/7 Maxim Khitrov : > I have pf filtering traffic to our network. Is there any easy way to > see the current bandwidth usage sorted by ip? Someone is using up > almost 100% of total bandwidth and parsing "pfctl -ss -v" isn't > getting me anywhere. It's overkill and does a ton more than what you're asking for...but have you looked at ipaudit? Or, more specifically, ipaudit-web? I ended up installing apache/gnuplot/etc from ports but installed ipaudit from source as the version in ports is *incredibly* outdated. kmw -- Whenever there is in any country, uncultivated lands and unemployed poor, it is clear that the laws of property have been so far extended as to violate natural right. The earth is given as a common stock for man to labour and live on. -- Thomas Jefferson, 1785