From owner-freebsd-bugs Fri Jan 12 0:30:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F3C8D37B400 for ; Fri, 12 Jan 2001 00:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0C8U4S84716; Fri, 12 Jan 2001 00:30:04 -0800 (PST) (envelope-from gnats) Date: Fri, 12 Jan 2001 00:30:04 -0800 (PST) Message-Id: <200101120830.f0C8U4S84716@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: misc/24048: natd/libalias doesn't always properly modify FTP PORT command Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24048; it has been noted by GNATS. From: Ruslan Ermilov To: alo@iki.fi Cc: bug-followup@FreeBSD.org Subject: Re: misc/24048: natd/libalias doesn't always properly modify FTP PORT command Date: Fri, 12 Jan 2001 10:22:40 +0200 On Wed, Jan 03, 2001 at 05:58:14AM -0800, alo@iki.fi wrote: > > natd (actually libalias/alias_db.c) only modifies FTP PORT commands > if they are immediately in the beginning of a new line. > This is implemented by having a flag which is set when a CR/LF > pair is detected. This works well except when PORT command > happens to be first command in the FTP session. > I don't see the major problem with this change, but is this allowed by FTP protocol specs? (The first command being a PORT command.) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message