From owner-freebsd-pf@FreeBSD.ORG Fri Aug 24 09:00:10 2007 Return-Path: Delivered-To: freebsd-pf@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDE5A16A419; Fri, 24 Aug 2007 09:00:10 +0000 (UTC) (envelope-from dhartmei@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 56BB813C4A6; Fri, 24 Aug 2007 09:00:10 +0000 (UTC) (envelope-from dhartmei@FreeBSD.org) Received: from freefall.freebsd.org (dhartmei@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7O90Ars062975; Fri, 24 Aug 2007 09:00:10 GMT (envelope-from dhartmei@freefall.freebsd.org) Received: (from dhartmei@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7O909Hd062967; Fri, 24 Aug 2007 09:00:09 GMT (envelope-from dhartmei) Date: Fri, 24 Aug 2007 09:00:09 GMT Message-Id: <200708240900.l7O909Hd062967@freefall.freebsd.org> To: t@dim.kiev.ua, dhartmei@FreeBSD.org, freebsd-pf@FreeBSD.org From: dhartmei@FreeBSD.org Cc: Subject: Re: kern/110174: [pf] pf pass route-to does not assign correct IP for the packets created on the same pf-host X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 09:00:10 -0000 Synopsis: [pf] pf pass route-to does not assign correct IP for the packets created on the same pf-host State-Changed-From-To: open->closed State-Changed-By: dhartmei State-Changed-When: Fri Aug 24 08:57:48 UTC 2007 State-Changed-Why: pf can't influence what address a socket gets bound to, the route-to happens much later in the process. you can use pf nat to translate the source address at this point. http://www.freebsd.org/cgi/query-pr.cgi?pr=110174