From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 13:09:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9001716A4CE for ; Tue, 22 Mar 2005 13:09:16 +0000 (GMT) Received: from ns.mccme.ru (ns.mccme.ru [62.117.108.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFA9F43D41 for ; Tue, 22 Mar 2005 13:09:15 +0000 (GMT) (envelope-from emin@mccme.ru) Received: from mccme.ru (IDENT:root@mccme.ru [62.117.108.7]) by ns.mccme.ru (8.12.10/8.12.10) with ESMTP id j2MDFYO1048745; Tue, 22 Mar 2005 16:15:34 +0300 (MSK) (envelope-from emin@mccme.ru) Received: from mccme.ru (IDENT:emin@localhost.mccme.ru [127.0.0.1]) by mccme.ru (8.9.3/8.9.3) with SMTP id QAA30466; Tue, 22 Mar 2005 16:09:00 +0300 Date: Tue, 22 Mar 2005 16:09:00 +0300 From: "Eugene M. Minkovskii" To: "Peter N. M. Hansteen" Message-ID: <20050322130900.GC3137@mccme.ru> References: <20050320093159.GA3213@mccme.ru> <861xaamf9t.fsf@amidala.datadok.no> <20050321071227.GA29429@mccme.ru> <86eke9fn7o.fsf@amidala.datadok.no> <20050322120451.GA3137@mccme.ru> <86hdj36fho.fsf@amidala.datadok.no> <20050322124220.GB3137@mccme.ru> <86d5tr6e1r.fsf@amidala.datadok.no> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86d5tr6e1r.fsf@amidala.datadok.no> User-Agent: Mutt/1.4.2.1i Organization: MCCME Moscow X-MCCME-Spam: No, score=0.018 required=5 tests=AWL,FORGED_RCVD_HELO,SPF_HELO_PASS cc: freebsd-questions@freebsd.org Subject: Re: OpenBSD's pf and traffic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 13:09:16 -0000 " " In a word, yes. The 'keep state' in these examples, would AFAIK mean " that the counters would keep track of all traffic for a connection, so " traffic initiated from the inside would match the pass out rule's " counters, while connections opened from the outside would count on the " pass in rules. " Unfortunely, this mean, that OpenBSD's pf can not measure traffic, because we can not separate incoming and outgoing traffic in bidirectional rule. Or we must not use keep state feature. -- Sensory yours, Eugene Minkovskii Сенсорно ваш, Евгений Миньковский