From owner-cvs-all Tue Oct 2 4:47:51 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3811737B40A; Tue, 2 Oct 2001 04:47:44 -0700 (PDT) Received: (from ru@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f92BliF96608; Tue, 2 Oct 2001 04:47:44 -0700 (PDT) (envelope-from ru) Message-Id: <200110021147.f92BliF96608@freefall.freebsd.org> From: Ruslan Ermilov Date: Tue, 2 Oct 2001 04:47:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libalias alias_ftp.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ru 2001/10/02 04:47:44 PDT Modified files: (Branch: RELENG_4) lib/libalias alias_ftp.c Log: MFC: 1.14: Fixed the bug that prevented communication with FTP servers behind NAT in extended passive mode if the server's public IP address was different from the main NAT address. This caused a wrong aliasing link to be created that did not route the incoming packets back to the original IP address of the server. natd -v -n pub0 -redirect_address localFTP publicFTP Note that even if localFTP == publicFTP, one still needs to supply the -redirect_address directive. It is needed as a helper because extended passive mode's 229 reply does not contain the IP address. Revision Changes Path 1.5.2.5 +5 -4 src/lib/libalias/alias_ftp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message