From owner-freebsd-pf@FreeBSD.ORG Thu Oct 1 10:49:05 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7702106566B for ; Thu, 1 Oct 2009 10:49:05 +0000 (UTC) (envelope-from voovoos-fpf@killfile.pl) Received: from mailhub.media4u.pl (mailhub.media4u.pl [194.79.24.10]) by mx1.freebsd.org (Postfix) with ESMTP id 839B98FC1C for ; Thu, 1 Oct 2009 10:49:05 +0000 (UTC) Received: from mail.media4u.pl ([194.79.24.11]:60688) by mailhub.media4u.pl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MtJDc-000AqM-Al for freebsd-pf@freebsd.org; Thu, 01 Oct 2009 12:49:04 +0200 Received: from gw.media4u.net.pl ([194.79.25.15]:52903 helo=[192.168.9.33]) by mail.media4u.pl with esmtpa (Exim 4.63) (envelope-from ) id 1MtJDY-00010v-Gd for freebsd-pf@freebsd.org; Thu, 01 Oct 2009 12:49:00 +0200 Message-ID: <4AC4891C.4090403@killfile.pl> Date: Thu, 01 Oct 2009 12:49:00 +0200 From: Maciej Wierzbicki Organization: =?UTF-8?B?xbt5amVteSB3IEtyYWp1IEN1ZG93bnljaCBNZXRhZm9y?= User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: <20091001070641.GA78518@mail.media4u.pl> <4b4a8f2b0910010245u2a02b1c9nae6e5645f583f2cd@mail.gmail.com> In-Reply-To: <4b4a8f2b0910010245u2a02b1c9nae6e5645f583f2cd@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [FreeBSD 7.2] snmp_pf.so X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 10:49:05 -0000 Ondoy wrote on 2009-10-01 11:45: > without specifying OID, it only walks the mib-2 subtree. > try > # bsnmpwalk fokus > the objects under 1.3.6.1.4.1.12325.1.200 are the pf stuff. Indeed, thanks. But then I have another question. bsnmpwalk parses some of pf oids and then returns an error: Agent localhost:snmp returned error 1.3.6.1.4.1.12325.1.200.1.9.2.1.20.1 caused error - General error Its pfTablesTblPktsOutXPass in pfTables, I believe. That error is a known issue or I am missing something again? PS also, is it possible to count traffic on interface using snmp per ip address bound to it (not per whole interface)? PPS maybe I should address this discussion to freebsd-net instead? -- * Maciej Wierzbicki * At paranoia's poison door * * VOO1-RIPE *