

Debian bug report logs - #925
debian.cps FTP server badly violates FTP protocol

Package: (ftp site) ; Reported by: iwj10@thor.cam.ac.uk (Ian Jackson);
22 days old.
-----------------------------------------------------------------------

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Mon May 29 16:29:27 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sGEFT-0005z9A; Mon, 29 May 95 16:29 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA05238
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 29 May 1995 
16:28:02 -0700
Received: by bootes.cus.cam.ac.uk 
        (Smail-3.1.29.0 #36) id m0sGEFO-000BzVA; Tue, 30 May 95 00:29 
BST
Received: by chiark
        id <m0sGDwJ-0000XQA@chiark.al.cl.cam.ac.uk>
        (Debian /\oo/\ Smail3.1.29.1 #29.31); Tue, 30 May 95 00:09 BST
Message-Id: <m0sGDwJ-0000XQA@chiark.al.cl.cam.ac.uk>
Date: Tue, 30 May 95 00:09 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@Pixar.com
Subject: Re: Bug#925: debian.cps FTP server badly violates FTP protocol
Precedence: air-mail

My bug report seems to have been misunderstood.  I didn't intend it to
come across as "belly-acheing about this machine running BSD".

Matt Bailey and David Brinks have indeed put in an awful lot of time
for us and generally been most helpful, and I for one am very grateful
to them.  I should have said this in my message to start with.

After I posted my message I realised that I left out a smiley after my
comment about the stability of BSD's network code, which I agree is
indeed more stable than Linux and probably more appropriate for
running such a site.  That's irrelevant, though - we have no business
telling people who are being so generous with their time, effort and
hardware what do to.

However, I do think it is a bug and so I don't think I was wrong to
report it.

Incidentally, BSD-based ftp clients' `reset' command can be used to
get it to discard the superfluous response data.  Unfortunately NcFTP
doesn't have a `reset' command.

Ian.
-----------------------------------------------------------------------
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson) :
Extra info received and forwarded. Full text available.
-----------------------------------------------------------------------
Information forwarded to debian-devel@pixar.com :
Bug#925 ; Package (ftp site) . Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From thor.cam.ac.uk!iwj10 Mon May 29 10:18:35 1995
Return-Path: <iwj10@thor.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sG8SY-0005kIC; Mon, 29 May 95 10:18 PDT
Received: from hammer.thor.cam.ac.uk by pixar.com with SMTP id AA27289
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 29 May 1995 
10:17:08 -0700
Received: by hammer.thor.cam.ac.uk 
        (Smail-3.1.29.0 #77) id m0sG8SU-000Jf2C; Mon, 29 May 95 18:18 
BST
Message-Id: <m0sG8SU-000Jf2C@hammer.thor.cam.ac.uk>
Date: Mon, 29 May 95 18:18 BST
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: debian-bugs@Pixar.com
Subject: Re: Bug#925: debian.cps FTP server badly violates FTP protocol
In-Reply-To: <199505291544.LAA29503@hrothgar.mindspring.com>
References: <m0sG5eG-000Jf9C@hammer.thor.cam.ac.uk>
        <199505291544.LAA29503@hrothgar.mindspring.com>

Robert Sanders writes ("Re: Bug#925: debian.cps FTP server badly 
violates FTP protocol"):
> On Mon, 29 May 1995 10:34:54 EDT, iwj10@thor.cam.ac.uk (Ian Jackson) 
said:
> > cwd /pub/debian/private/project
> > 250 CWD command successful.
> > pwd
> > 550 j10@thor.cam.ac.uk: pwd
> 
> Why do you think this is broken?  550 just says "permission denied",
> which it was.

Because it said `.' on a line by itself immediately afterwards.

Ian.
-----------------------------------------------------------------------
Acknowledgement sent to iwj10@thor.cam.ac.uk (Ian Jackson) :
Extra info received and forwarded. Full text available.
-----------------------------------------------------------------------
Information forwarded to debian-devel@pixar.com :
Bug#925 ; Package (ftp site) . Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From mindspring.com!rsanders Mon May 29 08:42:53 1995
Return-Path: <rsanders@mindspring.com>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sG6xx-0005z9C; Mon, 29 May 95 08:42 PDT
Received: from hrothgar.mindspring.com by pixar.com with SMTP id AA25425
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 29 May 1995 
08:41:27 -0700
Received: (from rsanders@localhost) by hrothgar.mindspring.com 
(8.6.9/8.6.9) id LAA29503; Mon, 29 May 1995 11:44:21 -0400
Date: Mon, 29 May 1995 11:44:21 -0400
From: Robert Sanders <rsanders@mindspring.com>
Message-Id: <199505291544.LAA29503@hrothgar.mindspring.com>
To: iwj10@thor.cam.ac.uk (Ian Jackson), debian-bugs@Pixar.com
In-Reply-To: iwj10@thor.cam.ac.uk's message of Mon, 29 May 1995 10:34:54 
EDT
Subject: Re: Bug#925: debian.cps FTP server badly violates FTP protocol
References: <m0sG5eG-000Jf9C@hammer.thor.cam.ac.uk>

On Mon, 29 May 1995 10:34:54 EDT, iwj10@thor.cam.ac.uk (Ian Jackson) 
said:

> cwd /pub/debian/private/project
> 250 CWD command successful.
> pwd
> 550 j10@thor.cam.ac.uk: pwd

Why do you think this is broken?  550 just says "permission denied",
which it was.

  -- Robert
-----------------------------------------------------------------------
Acknowledgement sent to Robert Sanders <rsanders@mindspring.com> :
Extra info received and forwarded. Full text available.
-----------------------------------------------------------------------
Information forwarded to debian-devel@pixar.com :
Bug#925 ; Package (ftp site) . Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From thor.cam.ac.uk!iwj10 Mon May 29 07:18:34 1995
Return-Path: <iwj10@thor.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sG5eM-0005K7C; Mon, 29 May 95 07:18 PDT
Received: from hammer.thor.cam.ac.uk by pixar.com with SMTP id AA23862
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 29 May 1995 
07:17:08 -0700
Received: by hammer.thor.cam.ac.uk 
        (Smail-3.1.29.0 #77) id m0sG5eG-000Jf9C; Mon, 29 May 95 15:18 
BST
Message-Id: <m0sG5eG-000Jf9C@hammer.thor.cam.ac.uk>
Date: Mon, 29 May 95 15:18 BST
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: debian-bugs@pixar.com
Subject: debian.cps FTP server badly violates FTP protocol

Package: (ftp site)

As you can see from the session transcript below, the FTP server on
debian.cps breaks if you execute the `PWD' command within the private
tree.  (I used `telnet' to interact with the FTP server to be sure
that I was seeing everything that was going on - I didn't need to do a
data transfer, anyway.)

This is probably what was causing NcFTP to break (NcFTP does PWD and
some other things behind the user's back, in a way that vanilla ftp's
usually don't).

It breaks SunOS 4.1.3 ftp as well, if you say `pwd' after entering
private/project.

What was that about BSD-du-jour having reliable networking ?

Ian.

grus:~/out> telnet debian.cps.cmich.edu ftp
Trying 141.209.21.3 ...
Connected to debian.cps.cmich.edu.
Escape character is '^]'.
220 debian.cps.cmich.edu FTP server (Version wu-2.4(1) Tue May 23 
01:24:12 EDT 1995) ready.
user anonymous
331 Guest login ok, send your complete e-mail address as password.
pass iwj10@thor.cam.ac.uk
230-*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*
230-Welcome to our NEW archive
230-We are currently running a P5-90 with 48megs of RAM
230-with 7gigs of drive space.
230-
230-User from grus.cus.cam.ac.uk
230-you gave ftp 
230-as your password if that is incorrect 
230-please log off and enter the correct password
230-
230-It is currently Mon May 29 10:11:37 1995 EST5EDT
230-
230-Archive Maintainer
230-ftpadmin@ftp.cps.cmich.edu
230-
230-You are currently user 3 out of a possible 40
230-
230 Guest login ok, access restrictions apply.
cwd /pub/debian/private/project
250 CWD command successful.
pwd
550 j10@thor.cam.ac.uk: pwd
.
pwd
550 j10@thor.cam.ac.uk: pwd
.
quit
221 Goodbye.
Connection closed by foreign host.
grus:~/out> 
-----------------------------------------------------------------------
Acknowledgement sent to iwj10@thor.cam.ac.uk (Ian Jackson) :
New bug report received and forwarded. Full text available.
-----------------------------------------------------------------------
Report forwarded to debian-devel@pixar.com :
Bug#925 ; Package (ftp site) . Full text available.
-----------------------------------------------------------------------
Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking
mechanism
This page last modified 06:43:02 GMT Wed 21 Jun