From owner-freebsd-ipfw@FreeBSD.ORG Fri Feb 24 09:41:31 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org 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 825CE16A420 for ; Fri, 24 Feb 2006 09:41:31 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3C3F43D4C for ; Fri, 24 Feb 2006 09:41:30 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:djtuB05kqoytI/1KEd2hl0Dk3C8DXHt5TiXA9rrHt+cKmrVUDifYmx6K++chC0AX@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.4/8.13.4) with ESMTP/inet6 id k1O9fPTM055059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Feb 2006 18:41:25 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 24 Feb 2006 18:41:25 +0900 Message-ID: From: Hajimu UMEMOTO To: JoaoBR In-Reply-To: <200602240630.53797.joao@matik.com.br> References: <200602200300.k1K30TZr050863@freefall.freebsd.org> <200602201721.50781.joao@matik.com.br> <200602240630.53797.joao@matik.com.br> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd5.5) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 5.5-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.3 (ameno.mahoroba.org [IPv6:::1]); Fri, 24 Feb 2006 18:41:25 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ameno.mahoroba.org Cc: freebsd-ipfw@freebsd.org Subject: Re: kern/93422: Re: ipfw divert rule X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 09:41:31 -0000 Hi, >>>>> On Fri, 24 Feb 2006 06:30:53 -0300 >>>>> JoaoBR said: joao> so would something as joao> ipfw add 1000 divert 8669 dst-ip 0.0.0.0 src-ip 0.0.0.0 joao> work than? It should work. joao> How should I rewrite my rules or better regressing to the old "ip from any to joao> any" ? It should work as expected, too. You need to pay attention to the use of `ip', `ipv4' and `ipv6' with `proto' keyword. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/