From owner-freebsd-questions@FreeBSD.ORG Mon Nov 1 16:27:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58AE816A4CE for ; Mon, 1 Nov 2004 16:27:54 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2BD943D31 for ; Mon, 1 Nov 2004 16:27:53 +0000 (GMT) (envelope-from adnichols@gmail.com) Received: by wproxy.gmail.com with SMTP id 64so77225wri for ; Mon, 01 Nov 2004 08:27:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=TtKRl82sbAWr8m0VxfblwIkFOT6r1p7+mNNOtQfMzZCA50XI/YwuDCI57OCyUZZ+XJU10qvfquAs0hoGLOetOXUD/bz0zX/kU/W6Z2roL2/aX0MbMn7YcYSt1GFCipJLAjmny464K+7jlGemccR00BqrJ4mRAqYo4rFQQnL/2CU= Received: by 10.54.37.63 with SMTP id k63mr65919wrk; Mon, 01 Nov 2004 08:27:50 -0800 (PST) Received: by 10.54.35.52 with HTTP; Mon, 1 Nov 2004 08:27:50 -0800 (PST) Message-ID: Date: Mon, 1 Nov 2004 08:27:50 -0800 From: Aaron Nichols To: Bill Eccles In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200410312349.08193.4711@chello.at> cc: freebsd-questions@freebsd.org Subject: Re: ipfw configuration to intercept SMTP traffic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aaron Nichols List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 16:27:54 -0000 > I believe you'll have one additional problem to resolve. Even if you > successfully modify the destination IP address and get it pointed to > the upstream server, the source IP will be unmodified and will still > be the originator. Since the source IP is unmodified - the upstream > mail server will send an ACK back to the originators IP (not yours) > which will most likely get discarded and the connection will fail. > Most sane TCP/IP stacks will reject an ACK from an IP address to which > it did not send a request. Since the ACK is not going to run back > through your host (thus allowing natd another go at reversing the > translation) this likely wont work. Sorry all - I had missed the post regarding use of the -proxy_rule option, which may address this issue. Didn't mean to futher confuse the issue. Aaron