From owner-freebsd-security@FreeBSD.ORG Fri Feb 6 02:15:01 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BE8B16A4CE for ; Fri, 6 Feb 2004 02:15:01 -0800 (PST) Received: from ns.tern.ru (mail.tern.ru [195.210.170.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DAF743D54 for ; Fri, 6 Feb 2004 02:14:59 -0800 (PST) (envelope-from freebsd@tern.ru) Received: from mail.tern.ru (mail.tern.ru [192.168.1.140]) by ns.tern.ru (X/X) with ESMTP id i16AG7Yj077208 for ; Fri, 6 Feb 2004 13:16:07 +0300 X-Spam-Filter: check_local@ns.tern.ru by digitalanswers.org Received: from mail.tern.ru (localhost.tern.ru [127.0.0.1]) by mail.tern.ru (X/X) with ESMTP id i16AHUH6011930 for ; Fri, 6 Feb 2004 13:17:31 +0300 (MSK) Received: (from root@localhost) by mail.tern.ru (X/X) id i16AHUlW011929 for freebsd-security@freebsd.org.VIRCHECK; Fri, 6 Feb 2004 13:17:30 +0300 (MSK) Received: from snork.tern.ru (snork.tern.ru [192.168.1.133]) by mail.tern.ru (X/X) with ESMTP id i16AHUH6011921 for ; Fri, 6 Feb 2004 13:17:30 +0300 (MSK) Date: Fri, 6 Feb 2004 13:17:06 +0300 From: freebsd@tern.ru X-Priority: 3 (Normal) Message-ID: <614479869.20040206131706@tern.ru> To: freebsd-security@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ipfw question X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 10:15:01 -0000 Dear All. I want to use 'not' for 2 addresses (for both) in ipfw2 rule. The only way that looks like what I need is # ipfw add count from IP1 to not IP2,IP3 But does this rule indeed makes what I want? Does it count all packets destined to addresses other then IP2 AND IP3?! No other syntax works. For example more logically correct not IP2 AND not IP3 or even not { IP2 or IP3 } are understood by ipfw2 man does not contain the good description of this Can somebody clear this up for me?