From owner-freebsd-ports Thu Jan 23 2:12:24 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7C3C37B401; Thu, 23 Jan 2003 02:12:22 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust47.cdif.cable.ntl.com [81.101.150.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 300D543F13; Thu, 23 Jan 2003 02:12:21 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.12) id 18beLI-0000lt-00; Thu, 23 Jan 2003 10:12:16 +0000 Date: Thu, 23 Jan 2003 10:12:16 +0000 From: Ceri Davies To: Peter Pentchev Cc: Julian Mayer , knu@FreeBSD.org, ports@FreeBSD.org Subject: Re: FreeBSD Port: portupgrade-20021216 Message-ID: <20030123101216.GA2856@submonkey.net> Mail-Followup-To: Ceri Davies , Peter Pentchev , Julian Mayer , knu@FreeBSD.org, ports@FreeBSD.org References: <20030123081224.GA471@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123081224.GA471@straylight.oblivion.bg> X-message-flag: All your linuxconf-configured redhat are belong to us. X-message-flag-attribution: suresh, sdm. User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 10:12:24AM +0200, Peter Pentchev wrote: > On Thu, Jan 23, 2003 at 01:09:29AM +0100, Julian Mayer wrote: > > hello > > there is a bug in portupgrade-20021216: when you change the FTP port in > > /etc/services to run the FTP demon on another port, portupgrade is > > unable to download ports/packages via ftp > > is there a workaround? > > Errr.. this is not a bug in portupgrade, but the way most (all?) FTP > clients work. If you change the port for the 'ftp' service, *any* > program that asks about the 'ftp' service will use the new port, > including all FTP clients that try to make outgoing connections. In that case, it sounds like a bug in our stock ftpd. DESCRIPTION Ftpd is the Internet File Transfer Protocol server process. The server uses the TCP protocol and listens at the port specified in the ``ftp'' service specification; see services(5). If this breaks outgoing ftp connections, then that's quite serious. > The appropriate way to "fix" that problem is to NOT change the port for > the 'ftp' service, but merely specify a different port on which to run > the FTP server. RTF ftpd(8) manual - there isn't any other (documented) way to do it. If I'm not missing something obvious, then I'll file a PR for this later. Ceri -- My Urgrosh seeks your devastation! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message