From owner-freebsd-bugs Fri Dec 27 15:20: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF7B737B401 for ; Fri, 27 Dec 2002 15:20:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 877D643ED4 for ; Fri, 27 Dec 2002 15:20:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBRNK8NS081986 for ; Fri, 27 Dec 2002 15:20:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBRNK7VV081985; Fri, 27 Dec 2002 15:20:07 -0800 (PST) Date: Fri, 27 Dec 2002 15:20:07 -0800 (PST) Message-Id: <200212272320.gBRNK7VV081985@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Manuel Kasper Subject: Re: kern/46564: IPFilter and IPFW processing order is not sensible Reply-To: Manuel Kasper Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/46564; it has been noted by GNATS. From: Manuel Kasper To: , Cc: Subject: Re: kern/46564: IPFilter and IPFW processing order is not sensible Date: Sat, 28 Dec 2002 00:13:03 +0100 SORRY, I confused the ordering - the description is wrong! Actually, at the moment, ipfilter is always checked BEFORE ipfw for both incoming and outgoing packets, so the order really is: incoming: -> ipnat -> ipfilter -> ipfw outgoing: -> ipfilter -> ipnat -> ipfw The problem is still the same (outgoing packets are seen with a public source IP address, incoming packets will have a private/internal destination address when used with ipnat), and the fix is correct. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message