From owner-freebsd-ipfw@FreeBSD.ORG Tue Apr 6 12:34:40 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759B316A4CE for ; Tue, 6 Apr 2004 12:34:40 -0700 (PDT) Received: from mailhost.wsf.at (server202.serveroffice.com [217.196.72.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF89443D41 for ; Tue, 6 Apr 2004 12:34:38 -0700 (PDT) (envelope-from tw@wsf.at) Received: from mailhost.wsf.at (root@localhost)i36JURTx055274 for ; Tue, 6 Apr 2004 21:30:28 +0200 (CEST) (envelope-from tw@wsf.at) Received: from mailhost.wsf.at (http.wsf.at [217.196.72.203]) i36JURqY055247; Tue, 6 Apr 2004 21:30:27 +0200 (CEST) (envelope-from tw@wsf.at) Date: Tue, 6 Apr 2004 19:30:27 -0000 To: An Tran , freebsd-ipfw@freebsd.org From: Thomas Wolf X-Mailer: twiggi 1.10.3 Message-ID: <20040406213027.2a5tp308z3msk@.mailhost.wsf.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Optional NOT operator of ports problem X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tw@wsf.at List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 19:34:40 -0000 An Tran schrieb: > Hi all, > > I was having a problem with the optional NOT operator of ports. I have tested this rule but it didn't worked: > > #ipfw add xxx allow ip from xx.xx.xx.xx to any not 25 > ipfw: unknown argument ``not'' > AFAIK this works only with ipfw2: gateway# ipfw -n add 1 count all from any to any not 25 00001 count ip from any to any not dst-port 25 Thomas -- Thomas Wolf Wiener Software Fabrik Dubas u. Wolf GMBH 1050 Wien, Mittersteig 4