From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nils M Holm" Date: Fri, 26 Jun 2015 10:22:14 +0200 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20150626082214.GA2410@ananda.local> References: <20150625172536.GA1214@ananda.local> <20150625182812.9A0E9B827@mail.bitblocks.com> <20150625195149.GA2779@ananda.local> <20150625201653.49F79B82A@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150625201653.49F79B82A@mail.bitblocks.com> Subject: Re: [9fans] ftpfs shows empty /n/ftp after login Topicbox-Message-UUID: 5b8b8b2e-ead9-11e9-9d60-3106f5b1d025 On 2015-06-25T13:16:53-0700, Bakul Shah wrote: > On Thu, 25 Jun 2015 21:51:49 +0200 "Nils M Holm" wrote: > > > My guess is ftpfs requires active > > > mode connection (but should be easy to change). > > Looking at the ftpfs sources, I see that it should do passive > mode fine. You should debug! Looks like ftpfs and ftpd cannot agree on a port for passive mode: PASV 227 Entering passive mode (127,0,0,1,212,96) passive mode connect to /net/tcp!127.0.0.1!54368 failed: connection refused PORT 10,0,2,15,131,19 500 Illegal PORT range rejected. Looks like on the Plan 9 side, the kernel is picking the port, so I guess the next step would be to have a look at the ftpd sources. -- Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org