From owner-wu-ftpd@wugate.wustl.edu Mon May  1 01:38:59 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s5r0J-0003EEC; Mon, 1 May 95 01:38 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id DAA27320; Mon, 1 May 1995 03:28:14 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id DAA27226 for <wu-ftpd@mail.wustl.edu>; Mon, 1 May 1995 03:24:25 -0500
Received: from online.rednet.co.uk (luggage.rednet.co.uk)
 by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HPZ2T0MHLS001UOK@wunet.wustl.edu>; Mon, 01 May 1995 03:22:37 -0500 (CDT)
Received: from [193.131.68.112] (rednet112.rednet.co.uk)
 by online.rednet.co.uk (SMI-8.6.4) id AA28123; Mon, 1 May 95 09:21:30 BST
Message-Id: <v01510102abca4ad3a21a@[193.131.68.112]>
Date: Mon, 01 May 1995 09:29:12 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rizvi_r@rednet.co.uk (Raza Rizvi)
To: WU-FTPD@wunet.wustl.edu
Subject: Problem with DIR command in WU-FTPD 2.4
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"
Content-transfer-encoding: 7BIT
X-Sender: rizvi_r@online.rednet.co.uk
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Some time ago on this list I reported a problem using FETCH with WU-FTPD
2.4, I had little response so took the tack of reporting it as a bug in
FETCH which produced a bit more info....

Fetch 2.1.1 on PPC 7100/66 with System 7.5 connecting to Sun Sparc 4.1.3_U1
with the WU-FTPD 2.4

Works fine for real and anonymous users but WUFTP allows Guest Users who
are CHROOTed to a particular directory by specifying their home directory
slightly differently in /etc/passwd. It would be represented as
/usr/users/whatever/./userdir    which means that the first directory shown
is userdir but the user appears to have their root directory immediately
above.

For this scenario, the user connects okay but is not presented with a file
listing for their home directory or the (new) root directory.

If the same user logs in from another Unix machine, all is well.

A transcript of the session is shown below:
*******
220 luggage FTP server (Version wu-2.4(1) Mon Nov 14 16:01:35 GMT 1994) ready.
USER user1
331 Password required for user1.
PASS
230 User user1 logged in.  Access restrictions apply.
SYST
215 UNIX Type: L8
PWD
257 "/user1" is current directory.
PORT 193,131,68,112,60,7
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
CWD /
250-This area is for downloading files. Access to some of the
250-directories may be restricted.  If you have any problems
250-please email support@rednet.co.uk with an explanation of
250-your problem.  Alternatively, telephone the onLine support
250-team on 01494 513333.
250-
250-The directory /incoming/general is NOT for scratch storage !
250-Please do not try to download files to it unless you have been
250-asked to do so explicitly. If you do so you will not be able to
250-retrieve them.
250-
250-Thankyou
250-
250 CWD command successful.
PWD
257 "/" is current directory.
PORT 193,131,68,112,22,241
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
*******

Now it seems that if a UNIX FTP terminal users issue a DIR, which is what
FETCH issues, they get no file listing back. They do if they issue a LS.

Any suggestions?

Is it due to /bin/ls not being found?
Am I the only one using FETCH as a client!

Raza

Raza Rizvi (rizvi_r@rednet.co.uk)
RedNet Ltd, High Wycombe, England
Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374


From owner-wu-ftpd@wugate.wustl.edu Mon May  1 02:22:07 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s5rfw-0002c3C; Mon, 1 May 95 02:21 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA28132; Mon, 1 May 1995 04:11:20 -0500
Received: from haymarket.ed.ac.uk (haymarket.ed.ac.uk [129.215.128.53]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id EAA28070 for <wu-ftpd@wugate.wustl.edu>; Mon, 1 May 1995 04:09:24 -0500
Received: from aiai.ed.ac.uk (skye-alter.aiai.ed.ac.uk [192.41.104.6]) by haymarket.ed.ac.uk (8.6.10/8.6.10) with SMTP id KAA28519 for <wu-ftpd%wugate.wustl.edu@haymarket.ed.ac.uk>; Mon, 1 May 1995 10:09:10 +0100
Received: from subnode.aiai.ed.ac.uk (dibble) by aiai.ed.ac.uk; Mon, 1 May 95 10:08:20 BST
Message-Id: <283.9505010908@subnode.aiai.ed.ac.uk>
Date: Mon, 1 May 95 10:08:19 BST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Elliot <johne@aiai.ed.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
In-Reply-To: Raza Rizvi's message of Mon, 01 May 1995 09:29:12 +0100
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Works fine for real and anonymous users but WUFTP allows Guest Users who
> are CHROOTed to a particular directory by specifying their home directory
> slightly differently in /etc/passwd. It would be represented as
> /usr/users/whatever/./userdir    which means that the first directory shown
> is userdir but the user appears to have their root directory immediately
> above.
> 
> For this scenario, the user connects okay but is not presented with a file
> listing for their home directory or the (new) root directory.

> Now it seems that if a UNIX FTP terminal users issue a DIR, which is what
> FETCH issues, they get no file listing back. They do if they issue a LS.

I had a similar problem when setting up wu-ftpd.  As I understand it, LS
is built into wu-ftpd, and so does not require any binaries or libraries
within the chrooted directories.  DIR however runs /bin/ls - so you need
this binary within your chrooted directory.  Under 2.4 /bin/ls also needs a 
whole load of libraries.  Our /usr/lib dir has (This may be overkill, but
it works ......) :

ls -l ~ftp/usr/lib/
total 1422
lrwxrwxrwx  1 root            9 Jan 16 19:57 ld.so -> ./ld.so.1
-r-xr-xr-x  1 root        90312 Oct 20  1994 ld.so.1*
lrwxrwxrwx  1 root           11 Jan 16 19:57 libc.so -> ./libc.so.1
-r-xr-xr-x  1 root       563012 Oct 20  1994 libc.so.1*
lrwxrwxrwx  1 root           12 Jan 16 19:57 libdl.so -> ./libdl.so.1
-r-xr-xr-x  1 root         3296 Oct 20  1994 libdl.so.1*
-rwxr-xr-x  1 root        68088 Nov  8 16:57 libelf.so.1*
lrwxrwxrwx  1 root           14 Jan 16 19:57 libintl.so -> ./libintl.so.1
-r-xr-xr-x  1 root        12764 Oct 20  1994 libintl.so.1*
lrwxrwxrwx  1 root           13 Jan 16 19:57 libnsl.so -> ./libnsl.so.1
-r-xr-xr-x  1 root       481612 Oct 20  1994 libnsl.so.1*
lrwxrwxrwx  1 root           16 Jan 16 19:57 libsocket.so -> ./libsocket.so.1
-r-xr-xr-x  1 root        73900 Oct 20  1994 libsocket.so.1*
lrwxrwxrwx  1 root           11 Jan 16 19:57 libw.so -> ./libw.so.1
-r-xr-xr-x  1 root        33052 Oct 20  1994 libw.so.1*
lrwxrwxrwx  1 root           14 Jan 16 19:57 nss_dns.so -> ./nss_dns.so.1
-r-xr-xr-x  1 root        10496 Oct 20  1994 nss_dns.so.1*
lrwxrwxrwx  1 root           16 Jan 16 19:57 nss_files.so -> ./nss_files.so.1
-r-xr-xr-x  1 root        16304 Oct 20  1994 nss_files.so.1*
lrwxrwxrwx  1 root           14 Jan 16 19:57 nss_nis.so -> ./nss_nis.so.1
-r-xr-xr-x  1 root        25584 Oct 20  1994 nss_nis.so.1*
lrwxrwxrwx  1 root           18 Jan 16 19:57 nss_nisplus.so -> ./nss_nisplus.so.1
-r-xr-xr-x  1 root        28828 Oct 20  1994 nss_nisplus.so.1*
lrwxrwxrwx  1 root           12 Jan 16 19:57 straddr.so -> straddr.so.2
-r-xr-xr-x  1 root         9264 Oct 20  1994 straddr.so.2*

Hope this helps

John.



From owner-wu-ftpd@wugate.wustl.edu Mon May  1 10:09:39 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s5yyS-0002VcC; Mon, 1 May 95 10:09 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA16227; Mon, 1 May 1995 12:01:12 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA16049 for <wu-ftpd@mail.wustl.edu>; Mon, 1 May 1995 11:57:43 -0500
Received: from romeo.ic.ac.uk by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HPZKQD5IDS001U3C@wunet.wustl.edu>; Mon, 01 May 1995 11:55:54 -0500 (CDT)
Received: from prawn.sp.ph.ic.ac.uk by romeo.ic.ac.uk with SMTP (PP); Mon,
 1 May 1995 17:19:52 +0100
Received: from crab by prawn.sp.ph.ic.ac.uk (5.65/4.0) id AA07595; Mon,
 1 May 1995 17:23:27 +0100
Message-Id: <4949.9505011618@crab.ph.ic.ac.uk>
Date: Mon, 01 May 1995 17:18:39 +0100
Reply-To: a.etemadi@ic.ac.uk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: a.etemadi@ic.ac.uk
To: wu-ftpd@wunet.wustl.edu
Subject: Help with ftpaccess
Content-transfer-encoding: 7BIT
X-Sender: a.etemadi@ic.ac.uk
X-Received: from localhost by crab.ph.ic.ac.uk; Mon, 1 May 1995 17:18:46 +0100
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


G'Day

I am a newbie in use of wu-ftp and I would appreciate some help.
My problem is to do with setting up a passworded link to a directory 
via an http server. Lets say I have a directory under my ftp hierarchy
called 'cluster'. What I want to do is to give only certain people 
outside my site ftp access to this directory. The way I hope it would
work is this:

I set up a username/password protected link to this directory from my 
WWW server. I can now create a .htaccess file and as new users come along, 
I edit this file and give them a new username/password so individual 
users have different username/passwords.

Then I want ONLY these users to be able to access the 'cluster'
directory via ftp so they can get their data. Is this possible ? If so, 
how do I go about it ? I will make a summary of responses and post them 
to the list. Any help would be greatly appreciated.

	best regards
		Ata <(|)>.
--
 Mail          Dr Ata Etemadi, Blackett Laboratory,                          
               Imperial College of Science and Technology,                   
               Prince Consort Road, London SW7 2BZ, ENGLAND                  
 Phone         +44 (0)171 594 7678
 Fax           +44 (0)171 594 7772 Attn. Dr Ata Etemadi,                      
 Telex         929484 (IMPCOL G)   Attn. Dr Ata Etemadi,                      
 Email         a.etemadi@ic.ac.uk or spva::atae on SPAN

From owner-wu-ftpd@wugate.wustl.edu Mon May  1 14:12:13 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from nwnexus.wa.com by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s62lD-0003DEC; Mon, 1 May 95 14:12 PDT
Received: from relay1.UU.NET by nwnexus.wa.com with SMTP id AA08279
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Mon, 1 May 1995 14:10:57 -0700
Received: from wugate.wustl.edu by relay1.UU.NET with SMTP 
	id QQynwu24420; Mon, 1 May 1995 17:07:13 -0400
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA01101; Mon, 1 May 1995 15:50:09 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA00975 for <wu-ftpd@mail.wustl.edu>; Mon, 1 May 1995 15:48:17 -0500
Received: from dunix.drake.edu by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HPZSSCW3M8001VH0@wunet.wustl.edu>; Mon, 01 May 1995 15:46:32 -0500 (CDT)
Received: by dunix.drake.edu (5.57/Ultrix3.0-C) id AA20970; Mon,
 1 May 95 15:48:09 -0500
Message-Id: <Pine.ULT.3.91.950501154424.20902A-100000@dunix.drake.edu>
Date: Mon, 01 May 1995 15:48:08 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Terry Asher <ta2321s@dunix.drake.edu>
To: wu-ftpd@wunet.wustl.edu
Subject: build ult
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	I have Ultrix 4.2A and am trying to build the ftpd files.  As a normal
user and not as root - I type build ult and this is the error I get:
build: building sequence file for database ult
Cannot open "ult.seq" in init(): No such file or directory
	Thanks for any help at all.
	Terry Asher
*******************************************************************************
*  UNIX Administrator                | Yours through INTERNET,                *
*  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
*  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
*  Drake University                  |                                        *
*  2407 Carpenter                    |For the listener who listens in the snow*
*  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
*  (515) 271-3677                    |that is not there and that is there.    *
*       Web home page at http://www.drake.edu/public/ta2321s_home.html        *
*******************************************************************************


From owner-wu-ftpd@wugate.wustl.edu Mon May  1 14:18:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s62r4-0002ZbC; Mon, 1 May 95 14:18 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA02447; Mon, 1 May 1995 16:10:36 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id QAA02286 for <wu-ftpd@mail.wustl.edu>; Mon, 1 May 1995 16:09:12 -0500
Received: from noc.tor.hookup.net by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HPZTIAG1TC001QXX@wunet.wustl.edu>; Mon, 01 May 1995 16:07:26 -0500 (CDT)
Received: from berserk.toronto.com (pigeon.the-wire.com [198.53.192.53])
 by noc.tor.hookup.net (8.6.12/1.348) with SMTP id RAA11556; Mon,
 1 May 1995 17:09:03 -0400
Message-Id: <199505012109.RAA11556@noc.tor.hookup.net>
Date: Mon, 01 May 1995 17:03:15 -0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Manfred Humphries <manfredh@hookup.net>
To: wu-ftpd@wunet.wustl.edu
Subject: ftp filename case conversions
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
X-Mailer: Mozilla 1.1b3 (Windows; I; 16bit)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am trying to use Microsoft's MSFTP client to upload files under script   
control - works like a charm, except that either MSFTP or WU-FTPD changes 
the case of the filename from lower case on the client to UPPERCASE on   
the server.  This is causing me some real headaches.  Do you have any   
ideas about configuring FTPD to prevent this?


From owner-wu-ftpd@wugate.wustl.edu Tue May  2 08:54:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6KHZ-00036XC; Tue, 2 May 95 08:54 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA24573; Tue, 2 May 1995 10:53:28 -0500
Received: from blinky.ccmail.com (blinky.ccmail.COM [192.216.79.99]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA23970 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 10:43:32 -0500
Received: from smtpgate.ccmail.com by blinky.ccmail.com (4.1/SMI-4.1)
	id AA09099; Tue, 2 May 95 08:44:49 PDT
Received: from ccMail by smtpgate.ccmail.com (SMTPLINK V2.10.04)
	id AA799429021; Tue, 02 May 95 08:34:17 pst
Message-Id: <9504027994.AA799429021@smtpgate.ccmail.com>
Date: Tue, 02 May 95 08:34:17 pst
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: snemetz@ccmail.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp filename case conversions
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     This is a problem with Microsoft's FTP. It will do this when uploading 
     files to any FTP server. While I have run into the problem before, I 
     haven't taken the time to see if Microsoft's FTP can be configured to 
     not do this.
     
     Steven Nemetz                       snemetz@ccmail.com
     Lotus Development Corporation       http://www.lotus.com

______________________________ Reply Separator _________________________________
Subject: ftp filename case conversions
Author:  wu-ftpd@wugate.wustl.edu at internet-mail
Date:    5/1/95 3:39 PM


I am trying to use Microsoft's MSFTP client to upload files under script   
control - works like a charm, except that either MSFTP or WU-FTPD changes 
the case of the filename from lower case on the client to UPPERCASE on   
the server.  This is causing me some real headaches.  Do you have any   
ideas about configuring FTPD to prevent this?
     
     

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 09:24:25 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6KkB-0003BlC; Tue, 2 May 95 09:24 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA26716; Tue, 2 May 1995 11:19:35 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA26316 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 11:14:45 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA02380; Tue, 2 May 1995 11:10:13 -0500
Message-Id: <Chameleon.950502111352.mbrennen@mbrennen.intecom.com>
Date: Tue,  2 May 95 08:50:24 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: RE: ftp filename case conversions 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

wu.ftpd, being a Unix server with case sensitive file names, 
has no reason to monkey with the case of incoming file names. 
For my part I would not want wu.ftpd to touch a file name; that 
will only open up confusion with ftp clients that want the file 
name to stay like it was originally sent.

The problem is Microsoft.  I just ran FTP32 from a Windows 3.11 
system here inhouse, and it did just what you described - it 
capitalized the file name for me.  They must think they can 
take the liberty of doing what they want with the file name, 
not understanding that the vast majority of servers around are 
case sensitive and that users might care what case the file 
ends up.  I have no idea if there are configuration options on 
TCP32 to change this; I wouldn't much expect it.

Don't know what options are available to run from scripts - I 
primarily use WS_FTP, which is a windows oriented ftp client.  
There may be good freeware command line clients available, I 
just don't know any.  Hope you find something...

Michael

On Mon, 01 May 1995 17:03:15 -0300  Manfred Humphries wrote:
>I am trying to use Microsoft's MSFTP client to upload files 
under script   
>control - works like a charm, except that either MSFTP or 
WU-FTPD changes 
>the case of the filename from lower case on the client to 
UPPERCASE on   
>the server.  This is causing me some real headaches.  Do you 
have any   
>ideas about configuring FTPD to prevent this?
>
>


From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:12:57 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6LV0-00039uC; Tue, 2 May 95 10:12 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02324; Tue, 2 May 1995 12:03:08 -0500
Received: from albert.wes.army.mil (albert.wes.army.mil [134.164.104.199]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA02018 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 11:59:47 -0500
Received: by albert.wes.army.mil; id AA08666; Tue, 2 May 1995 11:59:48 -0500
Message-Id: <Pine.OSF.3.91.950502114617.3159L-100000@albert.wes.army.mil>
Date: Tue, 2 May 1995 11:59:47 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Cary Talbot <talbot@albert.wes.army.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Compress/Decompress Problems
In-Reply-To: <Chameleon.950502111352.mbrennen@mbrennen.intecom.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello:

I just subscribed to this list and therefore apologize if this topic has
been recently discussed...

I recently installed the Wu-ftpd server on my machine and it seems to be
working just fine except for one thing... 
The decompression/compression of files by omitting/adding the .Z or .gz 
extensions does not work.  To the best of my understanding, I have 
specified the proper options in the config files and placed copies of 
the executables in the ~ftp/bin area.  However, whenever I try to use
this feature, ftpd responds with the 
"150 Opening BINARY mode data connection for /bin/gunzip" or
"150 Opening BINARY mode data connection for /bin/gzip" 
but then the transfer abruptly concludes, leaving a the correct file name 
but the file is of zero length.  The "xferlog" shows (correctly) that the
file was transfered but that the file length was 0 bytes.  

Does anyone have any ideas?  Here is the relevant portion of my 
ftpaccess file:
...
compress        yes             local remote
tar             yes             local remote
...

and from my ftpconversions file:

 :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
 :.gz: :  :/bin/gunzip -c %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
 :   : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
 :   : :.tar:/bin/gtar -c -f - %s:T_REG|T_DIR:O_TAR:TAR
 :   : :.tar.Z:/bin/gtar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
 :   : :.tar.gz:/bin/gtar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

Any help would be most appreciated.  I will post a summary of replies for
those who might be experiencing similar problems.

TIA,

Cary Talbot

_____________________________________________________________________
Cary A. Talbot, Hydraulic Engineer         US Army Corps of Engineers
ATTN: CEWES-HH-G                         Waterways Experiment Station
3909 Halls Ferry Road
Vicksburg, Mississippi 39180
phone:(601)634-4286   fax:(601)634-4208  email:talbot@hl.wes.army.mil


From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:23:57 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6Lft-0003AtC; Tue, 2 May 95 10:23 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02892; Tue, 2 May 1995 12:09:53 -0500
Received: from online.rednet.co.uk (luggage.rednet.co.uk [193.131.68.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02169 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:01:03 -0500
Received: from [193.131.68.112] (rednet112.rednet.co.uk) by online.rednet.co.uk (SMI-8.6.4) 
	id AA04875; Tue, 2 May 95 17:58:06 BST
Message-Id: <v01510108abcc16b389ca@[193.131.68.112]>
Date: Tue, 2 May 1995 18:05:51 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rizvi_r@rednet.co.uk (Raza Rizvi)
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with DIR command in WU-FTPD 2.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: rizvi_r@online.rednet.co.uk
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I had a very odd response back from the server when I sent this on Monday
so here it is again, apologies if it is a repeat :-)

Some time ago on this list I reported a problem using FETCH with WU-FTPD
2.4, I had little response so took the tack of reporting it as a bug in
FETCH which produced a bit more info....

Fetch 2.1.1 on PPC 7100/66 with System 7.5 connecting to Sun Sparc 4.1.3_U1
with the WU-FTPD 2.4

Works fine for real and anonymous users but WUFTP allows Guest Users who
are CHROOTed to a particular directory by specifying their home directory
slightly differently in /etc/passwd. It would be represented as
/usr/users/whatever/./userdir    which means that the first directory shown
is userdir but the user appears to have their root directory immediately
above.

For this scenario, the user connects okay but is not presented with a file
listing for their home directory or the (new) root directory.

If the same user logs in from another Unix machine, all is well.

A transcript of the session is shown below:
*******
220 luggage FTP server (Version wu-2.4(1) Mon Nov 14 16:01:35 GMT 1994) ready.
USER user1
331 Password required for user1.
PASS
230 User user1 logged in.  Access restrictions apply.
SYST
215 UNIX Type: L8
PWD
257 "/user1" is current directory.
PORT 193,131,68,112,60,7
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
CWD /
250-This area is for downloading files. Access to some of the
250-directories may be restricted.  If you have any problems
250-please email support@rednet.co.uk with an explanation of
250-your problem.  Alternatively, telephone the onLine support
250-team on 01494 513333.
250-
250-The directory /incoming/general is NOT for scratch storage !
250-Please do not try to download files to it unless you have been
250-asked to do so explicitly. If you do so you will not be able to
250-retrieve them.
250-
250-Thankyou
250-
250 CWD command successful.
PWD
257 "/" is current directory.
PORT 193,131,68,112,22,241
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
*******

Now it seems that if a UNIX FTP terminal users issue a DIR, which is what
FETCH issues, they get no file listing back. They do if they issue a LS.

Any suggestions?

Is it due to /bin/ls not being found?
Am I the only one using FETCH as a client!

Raza

Raza Rizvi (rizvi_r@rednet.co.uk)
RedNet Ltd, High Wycombe, England
Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374


From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:31:53 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6LnY-0003J1C; Tue, 2 May 95 10:31 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA04348; Tue, 2 May 1995 12:26:07 -0500
Received: from slc5.INS.CWRU.Edu (slc5.INS.CWRU.Edu [129.22.8.107]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA03985 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:22:45 -0500
Received: from [129.22.138.4] (lit35332.LIT.CWRU.Edu [129.22.138.4]) by slc5.INS.CWRU.Edu with SMTP (8.6.10+cwru/CWRU-2.1-freenet-gw)
	id NAA19984; Tue, 2 May 1995 13:22:41 -0400 (from jms20@po.cwru.edu for <wu-ftpd@wugate.wustl.edu>)
Message-Id: <v02110101abcc283652c7@[129.22.138.4]>
Date: Tue, 2 May 1995 13:22:45 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jms20@po.cwru.edu (John M. Sully)
To: wu-ftpd@wugate.wustl.edu
Subject: pid file problem
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jms20@pop.cwru.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Greetings,
   We have just setup wu-ftpd 2.4 on our Sparc 20 running Solaris 2.3 and
are having some problems.  In /var/adm/messages we are getting litterally
hundreds
of meassages which read

Date Time Machine ftpd[number]: open of pid file failed: no such file or
directory.

I thought I had everything configured correctly (obviously I don't...).
Can anyone offer any suggestions as to what the problem is and how to fix
it?

Thanks!
John

----------------------------------------------------------------------
|John M. Sully                      |  Freiberger Library Room 305   |
|Information Technologies Engineer  |   email: jms20@po.cwru.edu     |
|Library Information Technologies   |   phone: (216)368-8989         |
|Case Western Reserve University    |     fax: (216)368-8720         |
|--------------------------------------------------------------------|
|       WWW Homepage: http://litwww.cwru.edu/home/jms20.html         |
----------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:33:09 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6Lom-00038UC; Tue, 2 May 95 10:33 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA04609; Tue, 2 May 1995 12:28:33 -0500
Received: from gate.ti.com (news.ti.com [192.94.94.33]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA04104 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:24:40 -0500
Received: from tlsun5a.itg.ti.com ([128.247.21.237]) by gate.ti.com (8.6.10/) with ESMTP id MAA02366 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:24:29 -0500
Received: from mongo.itg.ti.com (mongo.itg.ti.com [128.247.183.211]) by tlsun5a.itg.ti.com (8.6.11/8.6.11) with SMTP id MAA23773 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:21:00 -0500
Received: by mongo.itg.ti.com
	(1.38.193.4/16.2) id AA16286; Tue, 2 May 1995 12:21:16 -0500
Message-Id: <199505021721.MAA23773@tlsun5a.itg.ti.com>
Date: Tue, 2 May 1995 12:21:16 -0500
Reply-To: mikey@ti.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Michael P. McIntyre" <mikey@mongo.itg.ti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Support for Kerberos V5.x
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Has anyone had experience "kerberizing" wuftpd? I currently have a
Kerberos V5 implementation in-house and am being requested to 
incorporate kerberos authentication into it. Any and all help
would be greatly appreciated.

Thanks,
Mike McIntyre

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:38:52 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6LuG-0003JLC; Tue, 2 May 95 10:38 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA05149; Tue, 2 May 1995 12:34:28 -0500
Received: from cps201.cps.cmich.edu (cps201.cps.cmich.edu [141.209.20.201]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA04930 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:31:24 -0500
Received: (from mbailey@localhost) by cps201.cps.cmich.edu (8.6.9/8.6.9) id NAA04644; Tue, 2 May 1995 13:31:21 -0400
Message-Id: <Pine.SUN.3.91.950502133046.4566A-100000@cps201>
Date: Tue, 2 May 1995 13:31:18 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: M BAILEY <mbailey@cps.cmich.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
In-Reply-To: <v02110101abcc283652c7@[129.22.138.4]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mbailey@cps201
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 2 May 1995, John M. Sully wrote:

> Greetings,
>    We have just setup wu-ftpd 2.4 on our Sparc 20 running Solaris 2.3 and
> are having some problems.  In /var/adm/messages we are getting litterally
> hundreds
> of meassages which read
> 
> Date Time Machine ftpd[number]: open of pid file failed: no such file or
> directory.
> 
> I thought I had everything configured correctly (obviously I don't...).
> Can anyone offer any suggestions as to what the problem is and how to fix
> it?
> 
> Thanks!
> John
> 
Look in the makefile for this I know it is in there somewhere since I had 
to fix this problem.

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:45:00 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6M0G-0003JZC; Tue, 2 May 95 10:44 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA05639; Tue, 2 May 1995 12:39:48 -0500
Received: from wayback.er.usgs.gov (wayback.er.usgs.gov [131.247.143.100]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA05461 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:37:12 -0500
Received: from rocky.er.usgs.gov by wayback.er.usgs.gov (4.1/SMI-4.1)
	id AA06951; Tue, 2 May 95 13:38:13 EDT
Received: by rocky.er.usgs.gov (4.1/SMI-4.1)
	id AA25358; Tue, 2 May 95 13:36:01 EDT
Message-Id: <9505021736.AA25358@rocky.er.usgs.gov>
Date: Tue, 2 May 95 13:36:01 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: townsley@rocky.er.usgs.gov (Bill Townsley)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I too am getting hundreds of messages saying:


ftpd[25357]: open of pid file failed: No such file or directory


on my SPARC-2, SunOS 4.1.3.  Does anybody know why this happens?

|====================================|
| Bill Townsley, Computer Specialist |
|  USGS Center for Coastal Geology   |
|   St. Petersburg, Florida 33701    |
|    townsley@rocky.er.usgs.gov      |
|      813-893-3100 ext. 3019        |
|====================================|

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:47:20 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6M2S-0003KdC; Tue, 2 May 95 10:47 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA05926; Tue, 2 May 1995 12:43:00 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA05574 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:39:06 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA13654 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 95 10:39:03 MST
Received: from motsps.sps.mot.com by mogate (4.1/SMI-4.1/Email-2.0)
	id AA01984; Tue, 2 May 95 10:39:02 MST
Received: from risc.sps.mot.com by motsps.sps.mot.com (4.1/SMI-4.1/Email-2.1)
	id AA22592 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 95 10:39:00 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA11200; Tue, 2 May 95 12:38:57 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA14557; Tue, 2 May 1995 12:39:40 -0500
Message-Id: <9505021739.AA14557@miaow.sps.mot.com>
Date: Tue, 2 May 1995 12:39:40 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compress/Decompress Problems
In-Reply-To: <Pine.OSF.3.91.950502114617.3159L-100000@albert.wes.army.mil> from "Cary Talbot" at May 2, 95 11:59:47 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Cary Talbot writes: ]
> The decompression/compression of files by omitting/adding the .Z or .gz 
> extensions does not work. [...]
> but then the transfer abruptly concludes, leaving a the correct file name 
> but the file is of zero length.  The "xferlog" shows (correctly) that the
> file was transfered but that the file length was 0 bytes.  

When I had this problem it was because the gzip/gtar executables in
my chroot tree were failing to run. Did you do static links of these
executables or did you copy the necessary dynamic libraries into the
chroot tree? ldd or a similar utility will tell you of all 1st-level
dynamic dependencies.

A similar problem cropped up when gtar was getting errors because it
expected /dev/zero to exist (may have been another /dev node it wanted
as well, but I don't remember now). Try doing a chroot and running the
equivalent command(s) to see if they work that way. I've had it work
when chrooted but not under wu-ftpd, but it does display error messages
that are otherwise lost.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 10:55:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6MAi-0003KIC; Tue, 2 May 95 10:55 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA06746; Tue, 2 May 1995 12:50:51 -0500
Received: from nic.iii.net (nic.iii.net [199.232.40.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA06541 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:48:59 -0500
Received: from iii.net (iii1.iii.net [199.232.40.10]) by nic.iii.net (8.6.8/8.6.6) with ESMTP id NAA05878 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 13:48:54 -0400
Received: (from eric@localhost) by iii.net (8.6.8/8.6.6) id NAA23377 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 1995 13:48:33 -0400
Message-Id: <199505021748.NAA23377@iii.net>
Date: Tue, 2 May 1995 13:48:33 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Eric C Buda <eric@iii.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>From owner-wu-ftpd@wugate.wustl.edu Tue May  2 13:43:45 1995
>Date: Tue, 2 May 95 13:36:01 EDT
>Reply-To: wu-ftpd@wugate.wustl.edu
>Sender: owner-wu-ftpd@wugate.wustl.edu
>From: townsley@rocky.er.usgs.gov (Bill Townsley)
>To: wu-ftpd@wugate.wustl.edu
>Subject: Re: pid file problem
>X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I too am getting hundreds of messages saying:


>ftpd[25357]: open of pid file failed: No such file or directory


>on my SPARC-2, SunOS 4.1.3.  Does anybody know why this happens?

>|====================================|
>| Bill Townsley, Computer Specialist |
>|  USGS Center for Coastal Geology   |
>|   St. Petersburg, Florida 33701    |
>|    townsley@rocky.er.usgs.gov      |
>|      813-893-3100 ext. 3019        |
>|====================================|



Its needs you to make the directory where it can make the pid file, then it will find it.

What directory its looking for should be in your Makefile, like a previous 
post said.

Mine is /usr/local/daemon/ftpd, don't know if thats the default or not, its
been a while since I compiled.

Eric

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 11:01:43 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6MGQ-0003I5C; Tue, 2 May 95 11:01 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA07319; Tue, 2 May 1995 12:57:46 -0500
Received: from visionware.com (sioux.visionware.COM [132.147.64.29]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA07066 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:54:22 -0500
Received: by visionware.com (4.1/SMI-4.1)
	id AA17520; Tue, 2 May 95 10:53:37 PDT
Message-Id: <9505021753.AA17520@visionware.com>
Date: Tue, 2 May 95 10:53:37 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pats@visionware.com (Patrick Salsbury)
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
In-Reply-To: <v01510108abcc16b389ca@[193.131.68.112]> (rizvi_r@rednet.co.uk)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

-Now it seems that if a UNIX FTP terminal users issue a DIR, which is what
-FETCH issues, they get no file listing back. They do if they issue a LS.
-
-Any suggestions?
-
-Is it due to /bin/ls not being found?
	I had this problem. Turned out my /usr/lib dir was chmod 111. Doing a
chmod 555 on it fixed the problem. (People could execute the directory, but
couldn't read the libraries out of it, so the dir version of ls didn't work.
Only the built-in version did.

-Am I the only one using FETCH as a client!
-
-Raza
-Raza Rizvi (rizvi_r@rednet.co.uk)
-RedNet Ltd, High Wycombe, England
-Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374

	Possibly. ;^) 
	I don't know. I'm not familiar with that one....

Pat
-------------------------------------------------------------------------------
	  Patrick Salsbury 	              SCO/IXI/Visionware           
	Sys Admin/Webmaster                   330 Encinal Street
	Voice: 408-429-4529	             Santa Cruz, CA 95060
     email: pats@visionware.com		       FAX: 408-427-5460	
		      X/UNIX/PC Integration Specialists
  Check out <A HREF="http://www.visionware.com/">The Visionware Homepage</A>

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 11:20:07 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6MYC-0003JLC; Tue, 2 May 95 11:20 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA08995; Tue, 2 May 1995 13:16:20 -0500
Received: from slc5.INS.CWRU.Edu (slc5.INS.CWRU.Edu [129.22.8.107]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA08790 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 13:14:12 -0500
Received: from [129.22.138.4] (lit35332.LIT.CWRU.Edu [129.22.138.4]) by slc5.INS.CWRU.Edu with SMTP (8.6.10+cwru/CWRU-2.1-freenet-gw)
	id OAA22463; Tue, 2 May 1995 14:14:09 -0400 (from jms20@po.cwru.edu for <wu-ftpd@wugate.wustl.edu>)
Message-Id: <v02120c01abcc34a73e6b@[129.22.138.4]>
Date: Tue, 2 May 1995 14:14:13 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jms20@po.cwru.edu (John M. Sully)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jms20@pop.cwru.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks for everyones help...I found the problem.  I had pathnames.h looking
for the directory /usr/local/bin/daemons/ftpd and the directory was
/usr/local/bin/daemons/ftp...oops :-)  I must have been pretty out of it
when I set this up...

Thanks!
John

----------------------------------------------------------------------
|John M. Sully                      |  Freiberger Library Room 305   |
|Information Technologies Engineer  |   email: jms20@po.cwru.edu     |
|Library Information Technologies   |   phone: (216)368-8989         |
|Case Western Reserve University    |     fax: (216)368-8720         |
|--------------------------------------------------------------------|
|       WWW Homepage: http://litwww.cwru.edu/home/jms20.html         |
----------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Tue May  2 11:31:03 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6Mio-0003KLC; Tue, 2 May 95 11:30 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA09803; Tue, 2 May 1995 13:26:13 -0500
Received: from ftms.ftms.com (bajor.ftms.com [198.150.23.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA09484 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 13:21:32 -0500
Received: (from brown@localhost) by ftms.ftms.com (8.6.9/8.6.9) id NAA00675 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 1995 13:20:37 -0500
Message-Id: <199505021820.NAA00675@ftms.ftms.com>
Date: Tue, 2 May 1995 13:20:31 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vidiot <brown@ftms.COM>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
In-Reply-To: <9505021736.AA25358@rocky.er.usgs.gov> from "Bill Townsley" at May 2, 95 01:36:01 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24alpha4]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bill:

<ftpd[25357]: open of pid file failed: No such file or directory
<
<on my SPARC-2, SunOS 4.1.3.  Does anybody know why this happens?

Do you have the directory set up for the PID files to go?  In my case, the
main ftp directory is /etc/ftp.  Inside there is a ftpd directory.  Into it
is where the PID files go.

MB
-- 
System Administrator - Extrel FTMS - Madison WI.
e-mail: brown@ftms.com
phone: (608) 273-8262  fax: (608) 273-8719  voice-mail: (800) 426-6488 ext 6293
Visit - http://www.ftms.com/vidiot/  (Your link to the world of Star Trek)

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 11:33:13 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6Mks-0002TbC; Tue, 2 May 95 11:33 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA10089; Tue, 2 May 1995 13:30:11 -0500
Received: from wayback.er.usgs.gov (wayback.er.usgs.gov [131.247.143.100]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA09584 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 13:22:38 -0500
Received: from rocky.er.usgs.gov by wayback.er.usgs.gov (4.1/SMI-4.1)
	id AA07057; Tue, 2 May 95 14:24:37 EDT
Received: by rocky.er.usgs.gov (4.1/SMI-4.1)
	id AA25642; Tue, 2 May 95 14:22:32 EDT
Message-Id: <9505021822.AA25642@rocky.er.usgs.gov>
Date: Tue, 2 May 95 14:22:32 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: townsley@rocky.er.usgs.gov (Bill Townsley)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks folks, I had made the same error as John Sully.  Sorry
to bother you with such a wimpy problem.  

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 11:41:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6MtD-0003KBC; Tue, 2 May 95 11:41 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA10714; Tue, 2 May 1995 13:37:08 -0500
Received: from relay4.UU.NET (relay4.UU.NET [192.48.96.14]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA10157 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 13:30:37 -0500
Received: from aquilla.netcon.co.za by relay4.UU.NET with SMTP 
	id QQyoac24796; Tue, 2 May 1995 14:30:03 -0400
Received: from adrian.netcon.co.za by aquilla.netcon.co.za id aa03553;
          2 May 95 19:59 SAST
Message-Id: <9505021959.aa03553@aquilla.netcon.co.za>
Date: Tue, 2 May 1995 21:43:26 -200
Reply-To: adrian@netcon.co.za
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Adrian Karth <adrian@netcon.co.za>
To: wu-ftpd@wugate.wustl.edu
Subject: Setting up WU-FTPD
X-Sender: adrian@netcon.co.za
X-mailer: Pegasus Mail/Windows (v1.22)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi
Can anyone tell me how to configure wu-ftpd-2.4 or tell me where to 
get the readme/faq's for it.

Thanks Adrian

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 12:53:44 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6O0m-0003EIC; Tue, 2 May 95 12:53 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA16049; Tue, 2 May 1995 14:50:02 -0500
Received: from optical.fiber.net ([204.250.13.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA15793 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 14:46:37 -0500
Received: by optical.fiber.net (NX5.67e/NX3.0M)
	id AA12803; Tue, 2 May 95 13:43:35 -0600
Received: by NeXT.Mailer (1.118.2)
Message-Id: <9505021943.AA12803@optical.fiber.net>
Date: Tue,  2 May 95 13:43:33 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carl Payne <cpayne@optical.fiber.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Where is the FAQ?
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

My problem's got to be so simple it's in there.  Any pointers?

Carl

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 12:58:42 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6MPj-00039xC; Tue, 2 May 95 11:11 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA08216; Tue, 2 May 1995 13:07:19 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA07901 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 13:03:31 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA19770 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 95 11:03:28 MST
Received: from motsps.sps.mot.com by mogate (4.1/SMI-4.1/Email-2.0)
	id AA02519; Tue, 2 May 95 11:03:23 MST
Received: from risc.sps.mot.com by motsps.sps.mot.com (4.1/SMI-4.1/Email-2.1)
	id AA25071 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 95 11:03:22 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA11312; Tue, 2 May 95 13:03:20 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA16667; Tue, 2 May 1995 13:04:02 -0500
Message-Id: <9505021804.AA16667@miaow.sps.mot.com>
Date: Tue, 2 May 1995 13:04:02 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: pid file problem
In-Reply-To: <v02110101abcc283652c7@[129.22.138.4]> from "John M. Sully" at May 2, 95 01:22:45 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ John M. Sully writes: ]
>    We have just setup wu-ftpd 2.4 on our Sparc 20 running Solaris 2.3 and
> are having some problems.  In /var/adm/messages we are getting litterally
> hundreds
> of meassages which read
> 
> Date Time Machine ftpd[number]: open of pid file failed: no such file or
> directory.
> 
> I thought I had everything configured correctly (obviously I don't...).
> Can anyone offer any suggestions as to what the problem is and how to fix
> it?

I saw this for guest and anon ftp logons because when wu-ftpd chroots,
the syslog library can't find the /etc/syslog.pid file to get the daemon
pid in order to send syslog messages to it. I edited my rc syslogd
startup to wait for the file to get created by syslogd and then copied
it to the chroot /etc. Also helps tremendously in debugging other
problems to have the syslog messages.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 14:43:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6PjJ-0002VbC; Tue, 2 May 95 14:43 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA26138; Tue, 2 May 1995 16:38:32 -0500
Received: from ACPGate.ACP.ORG ([149.28.226.101]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA25964 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 16:36:18 -0500
Received: from ACP-Message_Server by ACPGate.ACP.ORG
	with Novell_GroupWise; Tue, 02 May 1995 17:35:59 -0400
Message-Id: <sfa66d7f.059@ACPGate.ACP.ORG>
Date: Tue, 02 May 1995 17:36:11 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Egan <egan@aps.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Web browser can't connect wu-ftp on a Sequent
X-Mailer: Novell GroupWise 4.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

Has anyone experienced a problem where certain web browser can not
connect to wu-ftp?  I am running wu-ftpd version 2.4 on a Sequent
DYNIX/ptx V4.0.1 i386.  The only web browser that we know of to
connect is the unix version of Mosaic.  The windows version of
Netscape and Mosaic are get stuck after they have issued the PASV
command.  The unix version of lynx and Netscape seem to passing
commands to wu-ftp, but no results are ever returned.  Our anonymous
ftp server is located at "aps.org".  Thanks in advance for any assistance.

Jim Egan

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 15:31:24 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6QTO-00035dC; Tue, 2 May 95 15:31 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA00320; Tue, 2 May 1995 17:28:35 -0500
Received: from relay1.UU.NET (relay1.UU.NET [192.48.96.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA29878 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 17:24:28 -0500
Received: from shu.edu by relay1.UU.NET with SMTP 
	id QQyoar27220; Tue, 2 May 1995 18:23:53 -0400
Received: by shu.edu (5.x/SMI-SVR4)
	id AA19123; Tue, 2 May 1995 18:04:46 -0400
Message-Id: <9505022204.AA19123@shu.edu>
Date: Tue, 2 May 1995 18:04:46 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: andrewpu@pirate.shu.edu (C. Andrew Pu)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Web browser can't connect wu-ftp on a Sequent
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Our ftpd ( wu-ftpd 2.4 ) on Sun Solaris 2.4 is accessible by Mosaic 2.b4 ( windows ).
Netscape on our sun gets a broken pipe when trying to connect to aps.org yet is 
able to access ftp.shu.edu and other wu-ftpd server.  Is your ftpd new ? 

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 15:40:46 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6QcS-0003AzC; Tue, 2 May 95 15:40 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA01312; Tue, 2 May 1995 17:38:00 -0500
Received: from ftms.ftms.com (bajor.ftms.com [198.150.23.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA00283 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 17:28:12 -0500
Received: (from brown@localhost) by ftms.ftms.com (8.6.9/8.6.9) id RAA12302 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 1995 17:27:41 -0500
Message-Id: <199505022227.RAA12302@ftms.ftms.com>
Date: Tue, 2 May 1995 17:27:36 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vidiot <brown@ftms.COM>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Web browser can't connect wu-ftp on a Sequent
In-Reply-To: <sfa66d7f.059@ACPGate.ACP.ORG> from "Jim Egan" at May 2, 95 05:36:11 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24alpha4]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Jim:

<Has anyone experienced a problem where certain web browser can not
<connect to wu-ftp?  I am running wu-ftpd version 2.4 on a Sequent
<DYNIX/ptx V4.0.1 i386.  The only web browser that we know of to
<connect is the unix version of Mosaic.  The windows version of
<Netscape and Mosaic are get stuck after they have issued the PASV
<command.  The unix version of lynx and Netscape seem to passing
<commands to wu-ftp, but no results are ever returned.  Our anonymous
<ftp server is located at "aps.org".  Thanks in advance for any assistance.

Strange, I have Netscape 1.1N for Unix (SunOS 4.1.3 version) and it connects
to my wu-ftp 2.4 without a problem.  The stupid part is that Netscape won't
let go of the connection until Netscape is killed off.  I've already informed
the Netscape people about that problem.

MB
-- 
System Administrator - Extrel FTMS - Madison WI.
e-mail: brown@ftms.com
phone: (608) 273-8262  fax: (608) 273-8719  voice-mail: (800) 426-6488 ext 6293
Visit - http://www.ftms.com/vidiot/  (Your link to the world of Star Trek)

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 18:23:47 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6TA8-00035xC; Tue, 2 May 95 18:23 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA07982; Tue, 2 May 1995 20:19:52 -0500
Received: from qrz.com (qrz.com [199.245.125.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA07871 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 20:17:16 -0500
Received: (from flloyd@localhost) by qrz.com (8.6.9/8.6.9) id SAA16820 for wu-ftpd@wugate.wustl.edu; Tue, 2 May 1995 18:17:14 -0700
Message-Id: <199505030117.SAA16820@qrz.com>
Date: Tue, 2 May 1995 18:17:14 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fred Lloyd <flloyd@qrz.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem under solaris 2.4
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm running wu-2.4(5) and my problem is that the server leaves
zombie processes running long after the user has logged out.  THey
seem to never go away.

   root 15029   109 39 14:15:17 ?        0:00 ftpd -a -i -o -t600

I usally have several dozen of these laying around.

Just looking at the code it appears that an alarm(0) call is
made which terminates the timeout clock.  This, however, does
not get reinstated for whatever reason and the process never
times out.

Has anyone else seen this?

-fred

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 18:50:06 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6TZh-000352C; Tue, 2 May 95 18:50 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA09010; Tue, 2 May 1995 20:47:44 -0500
Received: from han.hana.nm.kr (han.hana.nm.kr [128.134.1.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA08814 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 20:44:27 -0500
Received: from kuccgx.korea.ac.kr by han.hana.nm.kr (4.1/KUM-0.1)
	id AA00477; Wed, 3 May 95 10:47:01 KST
Received: from cslab1.korea.ac.kr by kuccgx.korea.ac.kr (AIX 3.2/UCB 5.64/4.03)
          id AA33529; Wed, 3 May 1995 10:42:24 +0900
Received: by cslab1.korea.ac.kr (4.1/SMI-4.1)
	id AA15557; Wed, 3 May 95 09:41:48 KST
Message-Id: <9505030041.AA15557@cslab1.korea.ac.kr>
Date: Wed, 3 May 1995 09:41:48 +0900 (KST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: csu@cslab1.korea.ac.kr (Seong-Uk Choi)
To: wu-ftpd@wugate.wustl.edu
Subject: Checking e-mail address from password...
Content-Type: text
X-Mailer: ELM [version 2.4 PL21-h3]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Wu-ftpd recognizes the hostname of login users.
and it requires the e-mail address as password.

I want to know where the e-maill address of login users is logged.
How can I check the who login my system, and what he/she do in my host.
There are only logging for trasfer in /usr/adm/xferlog.

Please, inform me.

Thanks,
-- 
Seong-Uk Choi
 
-------------------------------------------------------------------------
Computer Systems Lab.            |  e-mail : csu@cslab1.korea.ac.kr
Dept. of Computer Science        |  FAX    : +82-2-953-0771       
Korea University                 |   
Seoul 136-701, Korea             |   
-------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Tue May  2 20:33:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6VBz-0002N7C; Tue, 2 May 95 20:33 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id WAA12429; Tue, 2 May 1995 22:30:51 -0500
Received: from gate.ti.com (news.ti.com [192.94.94.33]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id WAA12284 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 22:27:22 -0500
Received: from tlsun5a.itg.ti.com ([128.247.21.237]) by gate.ti.com (8.6.10/) with ESMTP id MAA00364 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:19:33 -0500
Received: from itg.ti.com (magic.itg.ti.com [128.247.93.50]) by tlsun5a.itg.ti.com (8.6.11/8.6.11) with SMTP id MAA23406 for <wu-ftpd@wugate.wustl.edu>; Tue, 2 May 1995 12:18:46 -0500
Received: from micro.ti.com (wotangate.micro.ti.com) by itg.ti.com (4.1/ITG-1.1)
	id AA01172; Tue, 2 May 95 12:18:46 CDT
Received: from candide.micro.ti.com by micro.ti.com (4.1/SMI-4.1-941013)
	id AA27760; Tue, 2 May 95 12:19:00 CDT
Received: by candide.micro.ti.com
	(1.38.193.4/16.2) id AA01970; Tue, 2 May 1995 12:18:48 -0500
Message-Id: <Pine.HPP.3.91.950502121604.1960C@candide.micro.ti.com>
Date: Tue, 2 May 1995 12:18:47 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Venkatesh Reddy <reddy@micro.ti.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Compress/Decompress Problems
In-Reply-To: <Pine.OSF.3.91.950502114617.3159L-100000@albert.wes.army.mil>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 2 May 1995, Cary Talbot wrote:

> Subject: Compress/Decompress Problems
> 
> Hello:
> 
> I just subscribed to this list and therefore apologize if this topic has
> been recently discussed...
> 
> I recently installed the Wu-ftpd server on my machine and it seems to be
> working just fine except for one thing... 
> The decompression/compression of files by omitting/adding the .Z or .gz 
> extensions does not work.  To the best of my understanding, I have 
> specified the proper options in the config files and placed copies of 
> the executables in the ~ftp/bin area.  However, whenever I try to use
> this feature, ftpd responds with the 
> "150 Opening BINARY mode data connection for /bin/gunzip" or
> "150 Opening BINARY mode data connection for /bin/gzip" 
> but then the transfer abruptly concludes, leaving a the correct file name 
> but the file is of zero length.  The "xferlog" shows (correctly) that the
> file was transfered but that the file length was 0 bytes.  
> 
> Does anyone have any ideas?  Here is the relevant portion of my 
> ftpaccess file:
  I think the binaries "gzip", "gtar", etc. are dynamically linked.
  Execute the command "file gzip" and see if they are dynamically
  linked. If so, you need to create statically linked executables.

Venkatesh Reddy

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 02:13:59 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6aVF-00039IC; Wed, 3 May 95 02:13 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA21946; Wed, 3 May 1995 04:10:19 -0500
Received: from xss001.ccc.cranfield.ac.uk (xss001.ccc.cranfield.ac.uk [138.250.1.8]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA21721 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 04:00:47 -0500
Received: from xdm039.pegasus.cranfield.ac.uk by xss001.ccc.cranfield.ac.uk 
          with SMTP (PP) id <12419-0@xss001.ccc.cranfield.ac.uk>;
          Wed, 3 May 1995 10:07:31 +0100
Received: by xdm039.ccc.cranfield.ac.uk (5.65/4.7) id AA01876;
          Wed, 3 May 1995 10:00:24 +0100
Message-Id: <9505030900.AA01876@xdm039.ccc.cranfield.ac.uk>
Date: Wed, 03 May 95 10:00:21 BST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Peter Lister Email: p.lister@cranfield.ac.uk" <P.Lister@cranfield.ac.uk>
To: mikey@ti.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Support for Kerberos V5.x
In-Reply-To: Your message of "Tue, 02 May 95 12:21:16 CDT." <199505021721.MAA23773@tlsun5a.itg.ti.com>
X-Mailer: exmh version 1.3gamma 3/18/94
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Has anyone had experience "kerberizing" wuftpd? I currently have a
> Kerberos V5 implementation in-house and am being requested to 
> incorporate kerberos authentication into it. Any and all help
> would be greatly appreciated.

If you mean passing a cleartext password to wu-ftpd so that it can obtain a 
Kerberos 4 ticket for a file system, yes. If you mean fancy stuff like using a 
krb5 forwardable ticket, then no, but I'd be interested to know if this exists.

Yes, I do know that handing cleartext passwords around is not a good idea, but 
believe me it's the best of bad options here.

Peter Lister                             Email: p.lister@cranfield.ac.uk
Computer Centre, Cranfield University    Voice: +44 1234 754200 ext 2828
Cranfield, Bedfordshire MK43 0AL UK        Fax: +44 1234 751814
 -- No cute furry animals were hurt in the making of this signature. --

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 02:46:15 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6b0V-0003EOC; Wed, 3 May 95 02:46 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA22670; Wed, 3 May 1995 04:44:02 -0500
Received: from samoa.unice.fr (samoa.unice.fr [134.59.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id EAA22464 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 04:36:10 -0500
Received: from localhost (localhost [127.0.0.1]) by samoa.unice.fr (8.6.12/8.6.12) with SMTP id LAA29972 for wu-ftpd@wugate.wustl.edu; Wed, 3 May 1995 11:36:22 +0200
Message-Id: <199505030936.LAA29972@samoa.unice.fr>
Date: Wed, 03 May 95 11:36:22 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Denery.FENOUIL" <fenouil@samoa.unice.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: groups for anon-users
X-Authentication-Warning: samoa.unice.fr: Host localhost didn't use HELO protocol
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I just subscribed and were not able to retrieve the FAQ so apologize
if this has already been discussed.

I use wu-ftpd 2.4 on ultrix 4.4

Forgive my poor english.

Before you start reading this long post, let me summarize :
- I would appreciate comments on my configuration (especially in the
security domain)
- I propose a little modification of ftpd, for a better consistency
in files/directory creation under anonymous login.

Here we want authorized people to be able to publicly distribute files.
We do not want these "approved" people to have a real account on the
ftp-server since they do not need it but we want their "public" files
to be protected against deletion/modification.
We also want the "safe" approved-anon-upload to NOT require any admin
action.

So, we use the "SITE GROUP" facility to enhance privileges of anonymous
users who have to upload.
Here is a sample of our "ftpaccess" file :

--------------------------------
upload /usr/users/ftp  * no
upload /usr/users/ftp  /pub/incoming yes ftp daemon 644 nodirs
upload /usr/users/ftp  /pub/HOME_GROUP1 yes root FTPGRP1 664 dirs
--------------------------------

and of course, here is the /etc/ftpgroups file :

--------------------------------
GROUP1:dfNZNcD0ggOHg:FTPGRP1
--------------------------------

line #1 : all uploads disabled
line #2 : exception to #1 : /pub/incoming is writable by everyone
line #3 : exception to #1 : /pub/HOME_GROUP1 is writable by members of
ftp-group "GROUP1" (which system-counterpart is "FTPGRP1").

So, an "approved" uploader will connect using anonymous login, use
SITE GROUP GROUP1 and SITE GPASS xxxx to enter system-group FTPGRP1
and will be able to upload files in /pub/GROUP1 (files will be mode
664 and owned root.FTPGRP1)

This is fine BUT here is (was) my problem :

Files uploaded in /pub/GROUP1 have correct mode and owner but
directories created (yes, we want directory creation too) are NOT :
they inherit default mode and ownership (755, guest) !
And now any anon-user can go there and PUT,DELE,etc everything :(

So, I slightly modified src/ftpd.c in order to let directory creation
follow the same rules as file creation (ok this is quick-&-dirty but ...
it works !) :

btw, the first "PATCH" is because fchown() produces a "not owner" error
despite seteuid(0) ; chown() works fine however.

#diff src/ftpd.c src/ftpd.c.org
1537,1540c1537
< /* PATCH start ; Denery FENOUIL 95/04/15 */
< /*       if ((fchown(fdout, uid, gid)) < 0) { */
<         if ((chown(name, uid, gid)) < 0) {
< /* PATCH end */
---
>         if ((fchown(fdout, uid, gid)) < 0) {
1542c1539
<             perror_reply(550, "chown");
---
>             perror_reply(550, "fchown");
2276,2281d2272
< /* PATCH start ; Denery FENOUIL 95/04/15 */
< #if 1
<       {
<         int f_mode;
<         int oldid;
<           struct passwd *pwent;
2283,2305d2273
<         if ( (pwent = getpwnam("ftp")) && (geteuid () == pwent->pw_uid) ) {
<           if (upl_check(name, &uid, &gid, &f_mode, &valid) >= 0) {
<             oldid = geteuid();
<             (void) seteuid((uid_t) 0);
<             if ((chown(name, uid, gid)) < 0) {
<               (void) seteuid(oldid);
<               perror_reply(550, "chown");
<               return;
<             }
<             if (f_mode & 0400) f_mode |= 0100;
<             if (f_mode & 0040) f_mode |= 0010;
<             if (f_mode & 0004) f_mode |= 0001;
<             if (chmod (name, f_mode) < 0) {
<               (void) seteuid(oldid);
<               perror_reply(550, "chmod");
<               return;
<             }
<             (void) seteuid(oldid);
<           }
<         }
<       }
< #endif
< /* PATCH end */


Thanks for your comments and sorry for this long post.

---
Denery Fenouil (fenouil@unice.fr)


From owner-wu-ftpd@wugate.wustl.edu Wed May  3 04:27:43 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6cai-0003GMC; Wed, 3 May 95 04:27 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA25111; Wed, 3 May 1995 06:25:43 -0500
Received: from wayback.er.usgs.gov (wayback.er.usgs.gov [131.247.143.100]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA25030 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 06:23:05 -0500
Received: from rocky.er.usgs.gov by wayback.er.usgs.gov (4.1/SMI-4.1)
	id AA01334; Wed, 3 May 95 07:25:11 EDT
Received: by rocky.er.usgs.gov (4.1/SMI-4.1)
	id AA25946; Wed, 3 May 95 07:23:04 EDT
Message-Id: <9505031123.AA25946@rocky.er.usgs.gov>
Date: Wed, 3 May 95 07:23:04 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: townsley@rocky.er.usgs.gov (Bill Townsley)
To: wu-ftpd@wugate.wustl.edu
Subject: address checking
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I know that wuftp can be configured to resolve the address
of the host machine of remote users and allow only those
will resolveable addresses access to the system.  Is it 
possible to log this address regardless of an actual login.
That is, I'd like to be able to log the host address for
everyone who attempts to log into my system.  Or to log the
address of everyone who logs in successfully regardless of 
any file transfers. Is that possible?


|====================================|
| Bill Townsley, Computer Specialist |
|  USGS Center for Coastal Geology   |
|   St. Petersburg, Florida 33701    |
|    townsley@rocky.er.usgs.gov      |
|      813-893-3100 ext. 3019        |
|====================================|

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 04:51:04 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6cxC-0002PJC; Wed, 3 May 95 04:50 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA25832; Wed, 3 May 1995 06:49:04 -0500
Received: from online.rednet.co.uk (luggage.rednet.co.uk [193.131.68.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA25697 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 06:46:04 -0500
Received: from [193.131.68.112] (rednet112.rednet.co.uk) by online.rednet.co.uk (SMI-8.6.4) 
	id AA24321; Wed, 3 May 95 12:43:14 BST
Message-Id: <v01510106abcd1df1778c@[193.131.68.112]>
Date: Wed, 3 May 1995 12:51:02 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rizvi_r@rednet.co.uk (Raza Rizvi)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: rizvi_r@online.rednet.co.uk
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>-Now it seems that if a UNIX FTP terminal users issue a DIR, which is what
>-FETCH issues, they get no file listing back. They do if they issue a LS.
>-
>-Any suggestions?
>-
>-Is it due to /bin/ls not being found?
>        I had this problem. Turned out my /usr/lib dir was chmod 111. Doing a
>chmod 555 on it fixed the problem. (People could execute the directory, but
>couldn't read the libraries out of it, so the dir version of ls didn't work.
>Only the built-in version did.

My directory is okay but the library files themselves are almost all no
execute for the world, you don't have any idea which one in particular it
is (very long boring listing follows:

ls -aldg lib

drwxr-sr-x 22 bin      bin          3584 Apr 15 12:29 lib

...

ls -aldg lib*

-rw-r--r--  1 bin      staff        2367 Jan 20  1994 lib.b
-rw-r--r--  1 root     staff       10870 Jan 20  1994 lib300.a
-rw-r--r--  1 root     staff       10418 Jan 20  1994 lib300s.a
-rw-r--r--  1 root     staff        8252 Jan 20  1994 lib4013.a
-rw-r--r--  1 root     staff        8838 Jan 20  1994 lib4014.a
-rw-r--r--  1 root     staff       10804 Jan 20  1994 lib450.a
-rw-r--r--  1 root     staff       15386 Jan 21  1994 libbsdmalloc.a
-rw-r--r--  1 root     staff      661708 Jan 21  1994 libc.a
-rw-r--r--  1 root     staff        7996 Jan 20  1994 libc.sa.1.9
-rwxr-xr-x  1 root     staff      516096 Jan 21  1994 libc.so.1.9
-rw-r--r--  1 root     staff      766272 Jan 21  1994 libc_p.a
-rw-r--r--  1 root     staff       52416 Jan 20  1994 libcurses.a
-rw-r--r--  1 root     staff       57140 Jan 20  1994 libcurses_p.a
-rw-r--r--  1 root     staff       10644 Jan 20  1994 libdbm.a
-rwxr-xr-x  1 root     staff       24576 Jan 20  1994 libdl.so.1.0
-rw-r--r--  1 root     staff        3764 Jan 20  1994 libf77plot.a
-rw-r--r--  1 root     staff          68 Jan 20  1994 libg.a
lrwxrwxrwx  1 root     bin            15 Oct 27  1994 libkvm.a ->
../kvm/libkvm.a
lrwxrwxrwx  1 root     bin            20 Oct 27  1994 libkvm.so.0.3 ->
../kvm/libkvm.so.0.3
lrwxrwxrwx  1 root     bin            17 Oct 27  1994 libkvm_p.a ->
../kvm/libkvm_p.a
-rw-r--r--  2 root     staff        4802 Jan 20  1994 libl.a
-rw-r--r--  2 root     staff        4802 Jan 20  1994 libln.a
-rw-r--r--  1 root     staff      127066 Jan 20  1994 liblwp.a
-rw-r--r--  1 root     staff      208390 Jan 20  1994 libm.a
-rw-r--r--  1 root     staff       21160 Jan 20  1994 libm.il
-rw-r--r--  1 root     staff      266904 Jan 20  1994 libm_p.a
-rw-r--r--  1 root     staff       14158 Jan 20  1994 libmp.a
-rw-r--r--  1 root     staff       10692 Jan 20  1994 libnbio.a
-rw-r--r--  1 bin      staff      465586 Jan 20  1994 libpixrect.a
-rw-r--r--  1 bin      staff         950 Jan 20  1994 libpixrect.sa.2.14
-rwxr-xr-x  1 bin      staff      335872 Jan 20  1994 libpixrect.so.2.14
-rw-r--r--  1 bin      staff      480518 Jan 20  1994 libpixrect_p.a
-rw-r--r--  1 root     staff        8924 Jan 20  1994 libplot.a
-rw-r--r--  1 root     staff       29116 Jan 20  1994 libplot2648.a
-rw-r--r--  1 root     staff       13194 Jan 20  1994 libplot7221.a
-rw-r--r--  1 root     staff       12058 Jan 20  1994 libplotaed.a
-rw-r--r--  1 root     staff       10194 Jan 20  1994 libplotbg.a

-rw-r--r--  1 root     staff       10026 Jan 20  1994 libplotdumb.a
-rw-r--r--  1 root     staff       11160 Jan 20  1994 libplotgigi.a
-rw-r--r--  1 root     staff       11052 Jan 20  1994 libplotimagen.a
-rw-r--r--  1 root     staff       18914 Jan 20  1994 libposix.a
-rw-r--r--  1 root     staff       37504 Apr 15 14:58 libresolv.a
-rw-r--r--  1 root     bin         31708 Apr 15 12:29 libresolv.a.orig
-rw-r--r--  1 root     staff       31082 Jan 21  1994 librpcsvc.a
-rw-r--r--  1 root     staff      949580 Jan 20  1994 libsuntool.a
-rw-r--r--  1 root     staff        5788 Jan 20  1994 libsuntool.sa.0.54
-rwxr-xr-x  1 root     staff      753664 Jan 20  1994 libsuntool.so.0.54
-rw-r--r--  1 root     staff     1062618 Jan 20  1994 libsuntool_p.a
-rw-r--r--  1 root     staff      294546 Jan 20  1994 libsunwindow.a
-rw-r--r--  1 root     staff        1988 Jan 20  1994 libsunwindow.sa.0.55
-rwxr-xr-x  1 root     staff      229376 Jan 20  1994 libsunwindow.so.0.55
-rw-r--r--  1 root     staff      345406 Jan 20  1994 libsunwindow_p.a
-rw-r--r--  2 root     staff        7522 Jan 20  1994 libtermcap.a
-rw-r--r--  2 root     staff        7872 Jan 20  1994 libtermcap_p.a
-rw-r--r--  2 root     staff        7522 Jan 20  1994 libtermlib.a
-rw-r--r--  2 root     staff        7872 Jan 20  1994 libtermlib_p.a
-rw-r--r--  1 root     staff        6712 Jan 20  1994 libvt0.a
-rw-r--r--  1 root     staff        3554 Sep 26  1991 libxgl.sa.2.0
-rw-r--r--  1 root     staff     2859008 Sep 26  1991 libxgl.so.2.0
-rw-r--r--  1 root     staff         680 Jan 20  1994 liby.a

Raza

PS> Do you think I should have execute on for all of them!

Raza Rizvi (rizvi_r@rednet.co.uk)
RedNet Ltd, High Wycombe, England
Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374


From owner-wu-ftpd@wugate.wustl.edu Wed May  3 06:45:14 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6ejm-0002XCC; Wed, 3 May 95 06:45 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA00137; Wed, 3 May 1995 08:42:53 -0500
Received: from remus.nrl.navy.mil (remus.nrl.navy.mil [132.250.167.10]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA29829 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 08:39:38 -0500
Received: (from harrell@localhost) by remus.nrl.navy.mil (8.6.12/8.6.12) id JAA13693 for wu-ftpd@wugate.wustl.edu; Wed, 3 May 1995 09:39:31 -0400
Message-Id: <199505031339.JAA13693@remus.nrl.navy.mil>
Date: Wed, 3 May 1995 09:39:31 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Matthew Harrell <harrell@remus.nrl.navy.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: address checking
In-Reply-To: <9505031123.AA25946@rocky.er.usgs.gov> from "Bill Townsley" at May 3, 95 07:23:04 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

: 
: I know that wuftp can be configured to resolve the address
: of the host machine of remote users and allow only those
: will resolveable addresses access to the system.  Is it 
: possible to log this address regardless of an actual login.
: That is, I'd like to be able to log the host address for
: everyone who attempts to log into my system.  Or to log the
: address of everyone who logs in successfully regardless of 
: any file transfers. Is that possible?
: 

My present configuration does exactly this, but I can't figure
out how to get wu-ftpd to do it when I compile it myself.  At
present, all login attempts (failed or not) are logged to
/var/adm/syslog/daemon.log.  When I compile the program, this
feature goes away.
-- 
        /-------------------\              Phonenet address:
       /  Matthew Harrell      \             202.767.4085
      /   Naval Research Lab     \ 
      /   Code 7640                \       Internet address:
       \  Washington, DC   ___==== /         harrell@remus.nrl.navy.mil
        |--------------------\               
        |====================/             Friends don't let friends do DOS.

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 07:04:14 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6f29-0002SvC; Wed, 3 May 95 07:04 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA01405; Wed, 3 May 1995 09:02:05 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA01197 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 08:59:27 -0500
Received: from worldcom-18.worldcom.com (worldcom-18.worldcom.com [198.64.193.9]) by worldcom.com (8.6.11/8.6.9) with SMTP id IAA21100 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 08:26:01 -0500
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA5328; Wed, 03 May 95 08:24:43 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  73F22064832801A3862561B100495062; Wed,  3 May 95 08:24:42 
Message-Id: <9505031524.AA5328@worldcom-18.worldcom.com>
Date: 3 May 95  8:15:16 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: Jim Egan <egan@aps.org>
Cc: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: Web browser can't connect wu-ftp on a Sequent
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

You said:
>  The windows version of Netscape and Mosaic are get stuck after they have
> issued the PASV command.  The unix version of lynx and Netscape seem to
> passing commands to wu-ftp, but no results are ever returned.
Check your router filters.  In PASV mode, the client (outside your firewall)
needs to connect to a high numbered port on the server (running ftpd).  This
is commonly filtered out.

Dan Thorson
seagate.com

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 07:13:08 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6fAl-0002b6C; Wed, 3 May 95 07:13 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA01985; Wed, 3 May 1995 09:09:53 -0500
Received: from zork.tiac.net (zork.tiac.net [199.0.65.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA01765 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 09:06:42 -0500
Received: from sfnctr (sfnctr.tiac.net [199.3.133.239]) by zork.tiac.net (8.6.9/8.6.6.Beta9) with SMTP id KAA09245 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 10:06:40 -0400
Message-Id: <199505031406.KAA09245@zork.tiac.net>
Date: Wed, 3 May 1995 10:06:40 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sarao@tiac.net (SARAO)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Web browser can't connect wu-ftp on a Sequent
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: sarao@tiac.net
X-Mailer: <PC Eudora Version 1.4>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks Jim,

        I thought I was going to have to fight this battle by myself.
We have a web site www.powersoft.com and we found that Netscape was
the biggest culprit. Mosaic has no problems and Internetworks worked
fine in getting to our ftp site via the web. I even put the port number on
the URL and netscape changes the port. For example our URL could be

ftp://ftp.powersoft.com:21/pub 

and the Netscape browser (any version) translates that to

199.93.177.4:1222 (1222 is arbitrary and it constantly changes)

I would be quite appreciative if someone knows a fix because Netscape
says its a problem on my end...

                                        /Sarao


>Hi,
>
>Has anyone experienced a problem where certain web browser can not
>connect to wu-ftp?  I am running wu-ftpd version 2.4 on a Sequent
>DYNIX/ptx V4.0.1 i386.  The only web browser that we know of to
>connect is the unix version of Mosaic.  The windows version of
>Netscape and Mosaic are get stuck after they have issued the PASV
>command.  The unix version of lynx and Netscape seem to passing
>commands to wu-ftp, but no results are ever returned.  Our anonymous
>ftp server is located at "aps.org".  Thanks in advance for any assistance.
>
>Jim Egan
>
>
>
           ************************************************
           *    The lone wolf travels fastest.            *
           *                         -NN09-               *
           ************************************************

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 07:24:52 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6fM8-0002ZrC; Wed, 3 May 95 07:24 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA02834; Wed, 3 May 1995 09:21:03 -0500
Received: from sgf.fv.com (sgf.fv.com [199.171.113.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA02650 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 09:18:41 -0500
Received: by sgf.fv.com (Smail3.1.28.1 #52)
	id m0s6fEO-000GrsC; Wed, 3 May 95 10:16 EDT
Message-Id: <Pine.3.89.9505031000.S728-0100000@sgf.fv.com>
Date: Wed, 3 May 1995 10:16:48 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: FV Admin mail <fvadmin@sgf.fv.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem under solaris 2.4
In-Reply-To: <199505030117.SAA16820@qrz.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 2 May 1995, Fred Lloyd wrote:
> Just looking at the code it appears that an alarm(0) call is
> made which terminates the timeout clock.  This, however, does
> not get reinstated for whatever reason and the process never
> times out.

> Has anyone else seen this?

Yes. We solved it by putting in an alarm(9000) or some such, so an alarm 
clock is always running.  This causes trouble when we try to FTP a 
gigabyte file via modem, so the *real* fix would be to put an alarm 
around each read() and write() call. --Darren

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 07:29:13 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6fQH-0002c5C; Wed, 3 May 95 07:29 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA03195; Wed, 3 May 1995 09:26:40 -0500
Received: from sgf.fv.com (sgf.fv.com [199.171.113.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA02947 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 09:22:36 -0500
Received: by sgf.fv.com (Smail3.1.28.1 #52)
	id m0s6fI5-000GrtC; Wed, 3 May 95 10:20 EDT
Message-Id: <Pine.3.89.9505031053.A1202-0100000@sgf.fv.com>
Date: Wed, 3 May 1995 10:20:37 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: FV Admin mail <fvadmin@sgf.fv.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Web browser can't connect wu-ftp on a Sequent
In-Reply-To: <199505022227.RAA12302@ftms.ftms.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> <Has anyone experienced a problem where certain web browser can not
> <connect to wu-ftp?  I am running wu-ftpd version 2.4 on a Sequent

The web browser may be trying to use PASV, which implies the server is 
going to make connections on arbitrary ports rather than the client 
accepting them. If your wu-ftpd does that yet you have a firewall between 
your FTP server and the client (or the client's firewall) then the data 
connection may time out while the control connection is fine.

I'm told that most browsers will take a 500 from PASV and fall back on 
PORT, but I haven't had a chance to patch our code yet.

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 07:35:02 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6fVu-0002aGC; Wed, 3 May 95 07:34 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA03566; Wed, 3 May 1995 09:32:05 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA03147 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 09:25:27 -0500
Received: from worldcom-18.worldcom.com (worldcom-18.worldcom.com [198.64.193.9]) by worldcom.com (8.6.11/8.6.9) with SMTP id IAA21390 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 08:40:48 -0500
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA5649; Wed, 03 May 95 08:39:01 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  808FA616C844EF19862561B1004A8D02; Wed,  3 May 95 08:39:00 
Message-Id: <9505031539.AA5649@worldcom-18.worldcom.com>
Date: 3 May 95  8:25:13 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: Fred Lloyd <flloyd@qrz.com>
Cc: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: Problem under solaris 2.4
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've tried posting this problem to the wu-ftpd@wusage.wustl.edu list before but 
with no luck.  The problem you are seeing is due to a client using PASV, but 
aborting before actually making the connection to the server.  You can 
replicate the problem my:
 telnet server 21
 user anonymous
 pass dan@
 pasv
 list
and then do a ^]q to abort the telnet session.  Use the data returned from the 
server for the PASV command to find an open socket on the server in the LISTEN 
state.

The bug is in ftpd.c at the "accept()" call.  "accept()" will wait forever for 
a connection.

I've tried to post a patch to ftpd.c to this list, but with no success (to 
date).  If folks like, I could post the "diff" file on my anonymous ftp server 
here at Seagate.

Let me know.

Dan Thorson
dan_thorson@notes.seagate.com postmaster@seagate.com

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 08:20:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6gEE-0002YAC; Wed, 3 May 95 08:20 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA06236; Wed, 3 May 1995 10:16:33 -0500
Received: from camco.celestial.com (camco.celestial.com [192.136.111.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA06073 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 10:13:27 -0500
Received: by camco.celestial.com (Smail3.1.29.1 #1)
	id m0s6g6a-0002STC; Wed, 3 May 95 08:12 PDT
Message-Id: <m0s6g6a-0002STC@camco.celestial.com>
Date: Wed, 3 May 1995 08:12:48 -0700 (PDT)
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bill@celestial.com (Bill Campbell)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: address checking
In-Reply-To: <9505031123.AA25946@rocky.er.usgs.gov> from "Bill Townsley" at May 3, 95 07:23:04 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> I know that wuftp can be configured to resolve the address
> of the host machine of remote users and allow only those
> will resolveable addresses access to the system.  Is it 
> possible to log this address regardless of an actual login.
> That is, I'd like to be able to log the host address for
> everyone who attempts to log into my system.  Or to log the
> address of everyone who logs in successfully regardless of 
> any file transfers. Is that possible?
> 
We use tcp_wrappers around wuftp and it provides a consistent way to
log and permit/deny access to any upd/tcp port accessed through inetd.
It also has a keepalive option that will kill connections if the other
end goes away (not uncommon with more MS-Windows clients in use every
day and Windows crashing with some degree of regularity).

Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 2835 82nd Avenue S.E. S-100
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence.
        -- Charles A. Beard

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 08:37:28 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6gUL-00036gC; Wed, 3 May 95 08:37 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA07722; Wed, 3 May 1995 10:35:18 -0500
Received: from volitans.MorningStar.Com (volitans.MorningStar.Com [137.175.2.11]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA07446 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 10:32:15 -0500
Received: from cowfish.MorningStar.Com by volitans.MorningStar.Com (5.65a/94040804)
	id AA25799; Wed, 3 May 95 11:31:48 -0400
Received: by cowfish.MorningStar.Com (5.65a/94063001)
	id AA00709; Wed, 3 May 95 11:31:47 -0400
Message-Id: <9505031531.AA00709@cowfish.MorningStar.Com>
Date: Wed, 3 May 95 11:31:47 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Sutterfield <bob@MorningStar.Com>
To: wu-ftpd@wugate.wustl.edu, support@netscape.com
Subject: Re: Web browser can't connect wu-ftp on a Sequent
In-Reply-To: <199505031406.KAA09245@zork.tiac.net>
References: <199505031406.KAA09245@zork.tiac.net>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

sarao@tiac.net writes:
   Dan Thorson writes:
      You said:
         The windows version of Netscape and Mosaic are get stuck
         after they have issued the PASV command.  The unix version of
         lynx and Netscape seem to passing commands to wu-ftp, but no
         results are ever returned.

      Check your router filters.  In PASV mode, the client (outside
      your firewall) needs to connect to a high numbered port on the
      server (running ftpd).  This is commonly filtered out.
      
   I thought I was going to have to fight this battle by myself.  We
   have a web site www.powersoft.com and we found that Netscape was
   the biggest culprit. Mosaic has no problems and Internetworks
   worked fine in getting to our ftp site via the web. I even put the
   port number on the URL and netscape changes the port. For example
   our URL could be
   
   ftp://ftp.powersoft.com:21/pub
   
   and the Netscape browser (any version) translates that to
   
   199.93.177.4:1222 (1222 is arbitrary and it constantly changes)
   
   I would be quite appreciative if someone knows a fix because
   Netscape says its a problem on my end...

FV Admin writes:
   The web browser may be trying to use PASV, which implies the server
   is going to make connections on arbitrary ports rather than the
   client accepting them. If your wu-ftpd does that yet you have a
   firewall between your FTP server and the client (or the client's
   firewall) then the data connection may time out while the control
   connection is fine.
   
   I'm told that most browsers will take a 500 from PASV and fall back
   on PORT, but I haven't had a chance to patch our code yet.
   
If your FTP server (any server, not just wu-ftpd) lies behind a
screening (packet-filtering) firewall router, and you want people to
be able to use your archive using tools like Netscape's WWW browser
client, you have two choices:

(1) Allow all high-TCP-port connections all the time

(2) Use a router with a dynamic packet filter that can watch the FTP
    command stream and use the port negotiations there to create
    temporary pass-through openings in the filter.

The vulnerabilities associated with option (1) are what lead people to
create sophisticated double-gateway DMZ firewalls.  I could suggest a
vendor of routers that can accomplish (2) but that would be
advertising, which would be unwelcome here :-)

But if you're interested (for educational reasons) in a more complete
discussion of the technique, complete with an example of a secure way
to handle PASV and everything else that FTP clients and servers try to
exchange, visit http://www.MorningStar.Com/dynamic-filter.html.
--
Bob Sutterfield, Network Environmentalist
Morning Star Technologies, Inc.                                 +1 614 451 1883
3518 Riverside Dr, Suite 101, Columbus Ohio USA, 43221-1754     +1 800 558 7827
bob@MorningStar.Com   http://www.MorningStar.Com/bob.html  Fax: +1 614 459 5054

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 08:59:31 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6gpX-00032rC; Wed, 3 May 95 08:59 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA09315; Wed, 3 May 1995 10:57:12 -0500
Received: from tigger.dir.texas.gov (tigger.dir.STATE.TX.US [141.198.192.97]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA08965 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 10:53:14 -0500
Received: from DIR-Message_Server by tigger.dir.texas.gov
	with Novell_GroupWise; Wed, 03 May 1995 11:01:19 -0500
Message-Id: <sfa7627f.088@tigger.dir.texas.gov>
Date: Wed, 03 May 1995 10:56:08 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Clyde Poole <clyde.poole@dir.texas.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Can't create data socket?
X-Mailer: Novell GroupWise 4.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have installed wu-ftpd 2.4 on an Sun running Solaris 2.4.  I have built an "ls"
binary without shared libraries (the GNU ls) and I get the following error when I
do an "ls" command:

425 Can't create data socket (0.0.0.0,20): Bad file number.

What in the world is wrong and how can I fix it?

ctp
-----
Clyde T. Poole
Statewide Planning Analyst
Texas Dept. of Information Resources
clyde.poole@dir.state.tx.us

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 10:28:55 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6iEB-0003BiC; Wed, 3 May 95 10:28 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA14240; Wed, 3 May 1995 12:24:45 -0500
Received: from nobozo.CS.Berkeley.EDU (nobozo.CS.Berkeley.EDU [128.32.34.58]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA14058 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 12:21:26 -0500
Received: (forrest@localhost) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) id KAA29623 for wu-ftpd@wugate.wustl.edu; Wed, 3 May 1995 10:21:26 -0700
Message-Id: <199505031721.KAA29623@nobozo.CS.Berkeley.EDU>
Date: Wed, 3 May 1995 10:21:26 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jon Forrest <forrest@postgres.Berkeley.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Workaround For The Never Ending Connection Problem
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Like nearly everyone else, I'm also bothered with ftp connections that don't
go away. So, I hacked the ftpcount program to check how long each connection
has been going and to kill it if it has been around longer than a certain
amount of time. I run the result manually but you could put it in
a crontab. I use this on a Sparc10 running SunOS 4.1.3.

Here's the context diffs to ftpcount.c and the new function check_proc.

Jon

---------

***************
*** 210,223 ****
  #elif defined(M_UNIX)
                      sprintf(line,"/bin/ps -f -p %d",buf[which]);
  #else
!                     sprintf(line,"/bin/ps -u%d",buf[which]);
  #endif
                      ZeFile = popen(line, "r");
                      rewind(ZeFile);
                      fgets(line, 1024, ZeFile);
                      fgets(line, 1024, ZeFile);
!                     check_proc(line);
!                     /* printf("%s",line); */
                      pclose(ZeFile);
                  }
                  count++;
--- 210,222 ----
  #elif defined(M_UNIX)
                      sprintf(line,"/bin/ps -f -p %d",buf[which]);
  #else
!                     sprintf(line,"/bin/ps %d",buf[which]);
  #endif
                      ZeFile = popen(line, "r");
                      rewind(ZeFile);
                      fgets(line, 1024, ZeFile);
                      fgets(line, 1024, ZeFile);
!                     printf("%s",line);
                      pclose(ZeFile);
                  }
                  count++;
***************

/* Number of hours an ftp connection is allowed to live */
#define TIME_LIMIT    6
check_proc(char *line)
{
      register int i;
      time_t cur_time;
      char *c_ptr;
      char *delim = " \t";
      struct tm *tm_ptr;
      int pid;
      int cur_hour, starting_hour;

      /* This gets the token 'ftp' */
      c_ptr = strtok(line, delim);

      /* This gets the process id */
      c_ptr = strtok(NULL, delim);
      pid = atoi(c_ptr);

      /* Get the current hour in order to compare it to the
      ** starting time of each ftp process. We do this each time
      ** the function is called because we might have added 24 to
      ** the current hour below. Also, there's a chance the hour
      ** has changed from 23 to 0.
      */
      (void) time(&cur_time);
      tm_ptr = localtime(&cur_time);

      /* Go through the rest of the tokens until we get to the
      ** start time.
      */
      for (i = 0; i < 7; i++)
              c_ptr = strtok(NULL, delim);

      cur_hour = tm_ptr->tm_hour;
      starting_hour = atoi(c_ptr);

      /* If the cur_hour is less than the starting hour, then we're
      ** seeing a starting hour from yesterday. This isn't supposed
      ** to happen, according to the 'ps' man page, but it does.
      ** When it does, add 24 hours to cur_hour to make the time
      ** check come out right.
      */
      if (cur_hour < starting_hour)
              cur_hour += 24;

      /* If the first character of the start time isn't a
      ** number then it's a month name, meaning that the starting
      ** time for the process was sometime yesterday so kill it.
      ** If the start time is a number and the number if less than
      ** TIME_LIMIT hours from the current hour then kill it.
      */
      if (!isdigit(*c_ptr) || ((cur_hour - starting_hour) >= TIME_LIMIT))
      {
              printf("killing %d\n", pid);
              kill(pid, SIGKILL);
      }
}

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 10:52:01 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6iaO-0002XUC; Wed, 3 May 95 10:51 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA15644; Wed, 3 May 1995 12:49:19 -0500
Received: from allegro.stanford.edu (allegro.Stanford.EDU [171.65.16.127]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA15515 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 12:47:14 -0500
Received: (from dhinds@localhost) by allegro.stanford.edu (940816.SGI.8.6.9/8.6.6) id KAA08871 for wu-ftpd@wugate.wustl.edu; Wed, 3 May 1995 10:47:13 -0700
Message-Id: <199505031747.KAA08871@allegro.stanford.edu>
Date: Wed, 3 May 1995 10:47:12 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Hinds <dhinds@allegro.stanford.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Never ending connections
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This patch seems to fix our problems with hung wu-ftpd-2.4 processes
due to unexpected loss of connections.  Unlike the other solutions
mentioned, this does not interfere with legitimate connections over
slow links.

	-- Dave Hinds
	   dhinds@allegro.stanford.edu


--- src/ftpd.c~	Mon Apr 10 12:03:14 1995
+++ src/ftpd.c	Sun Apr 23 17:04:30 1995
@@ -1690,6 +1690,13 @@
     return (NULL);
 }
 
+static void
+toolong()
+{
+    reply(425, "Can't open data connection -- timed out.");
+    dologout(1);
+}
+
 FILE *
 dataconn(char *name, off_t size, char *mode)
 {
@@ -1711,7 +1718,10 @@
         int s,
           fromlen = sizeof(from);
 
+	(void) signal(SIGALRM, toolong);
+	(void) alarm((unsigned) timeout);
         s = accept(pdata, (struct sockaddr *) &from, &fromlen);
+	(void) alarm(0);
         if (s < 0) {
             reply(425, "Can't open data connection.");
             (void) close(pdata);

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 11:25:35 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6j6F-00039MC; Wed, 3 May 95 11:24 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA17431; Wed, 3 May 1995 13:21:17 -0500
Received: from nis.ans.net (nis.ans.net [147.225.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA17270 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 13:17:57 -0500
Received: from iserver.iie.org by nis.ans.net with SMTP id AA28251
  (5.65c/IDA-1.4.4 for <wu-ftpd@wugate.wustl.edu>); Wed, 3 May 1995 14:17:54 -0400
Received: by iserver.iie.org (AIX 3.2/UCB 5.64/4.03)
          id AA09348; Wed, 3 May 1995 14:17:15 -0400
Message-Id: <Pine.A32.3.91.950503141403.12142A-100000@iserver.iie.org>
Date: Wed, 3 May 1995 14:17:14 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ariel Spivakovsky <spiv@iserver.iie.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
In-Reply-To: <v01510106abcd1df1778c@[193.131.68.112]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Reading the man page for ftpd on my machine (AIX 3.2.5) helped me with this.
It should tell you what the shared libs. you should need, if any.

Cheers
Ari

On Wed, 3 May 1995, Raza Rizvi wrote:

> >-Now it seems that if a UNIX FTP terminal users issue a DIR, which is what
> >-FETCH issues, they get no file listing back. They do if they issue a LS.
> >-
> >-Any suggestions?
> >-
> >-Is it due to /bin/ls not being found?
> >        I had this problem. Turned out my /usr/lib dir was chmod 111. Doing a
> >chmod 555 on it fixed the problem. (People could execute the directory, but
> >couldn't read the libraries out of it, so the dir version of ls didn't work.
> >Only the built-in version did.
> 
> My directory is okay but the library files themselves are almost all no
> execute for the world, you don't have any idea which one in particular it
> is (very long boring listing follows:
> 
> ls -aldg lib
> 
> drwxr-sr-x 22 bin      bin          3584 Apr 15 12:29 lib
> 
> ...
> 
> ls -aldg lib*
> 
> -rw-r--r--  1 bin      staff        2367 Jan 20  1994 lib.b
> -rw-r--r--  1 root     staff       10870 Jan 20  1994 lib300.a
> -rw-r--r--  1 root     staff       10418 Jan 20  1994 lib300s.a
> -rw-r--r--  1 root     staff        8252 Jan 20  1994 lib4013.a
> -rw-r--r--  1 root     staff        8838 Jan 20  1994 lib4014.a
> -rw-r--r--  1 root     staff       10804 Jan 20  1994 lib450.a
> -rw-r--r--  1 root     staff       15386 Jan 21  1994 libbsdmalloc.a
> -rw-r--r--  1 root     staff      661708 Jan 21  1994 libc.a
> -rw-r--r--  1 root     staff        7996 Jan 20  1994 libc.sa.1.9
> -rwxr-xr-x  1 root     staff      516096 Jan 21  1994 libc.so.1.9
> -rw-r--r--  1 root     staff      766272 Jan 21  1994 libc_p.a
> -rw-r--r--  1 root     staff       52416 Jan 20  1994 libcurses.a
> -rw-r--r--  1 root     staff       57140 Jan 20  1994 libcurses_p.a
> -rw-r--r--  1 root     staff       10644 Jan 20  1994 libdbm.a
> -rwxr-xr-x  1 root     staff       24576 Jan 20  1994 libdl.so.1.0
> -rw-r--r--  1 root     staff        3764 Jan 20  1994 libf77plot.a
> -rw-r--r--  1 root     staff          68 Jan 20  1994 libg.a
> lrwxrwxrwx  1 root     bin            15 Oct 27  1994 libkvm.a ->
> ../kvm/libkvm.a
> lrwxrwxrwx  1 root     bin            20 Oct 27  1994 libkvm.so.0.3 ->
> ../kvm/libkvm.so.0.3
> lrwxrwxrwx  1 root     bin            17 Oct 27  1994 libkvm_p.a ->
> ../kvm/libkvm_p.a
> -rw-r--r--  2 root     staff        4802 Jan 20  1994 libl.a
> -rw-r--r--  2 root     staff        4802 Jan 20  1994 libln.a
> -rw-r--r--  1 root     staff      127066 Jan 20  1994 liblwp.a
> -rw-r--r--  1 root     staff      208390 Jan 20  1994 libm.a
> -rw-r--r--  1 root     staff       21160 Jan 20  1994 libm.il
> -rw-r--r--  1 root     staff      266904 Jan 20  1994 libm_p.a
> -rw-r--r--  1 root     staff       14158 Jan 20  1994 libmp.a
> -rw-r--r--  1 root     staff       10692 Jan 20  1994 libnbio.a
> -rw-r--r--  1 bin      staff      465586 Jan 20  1994 libpixrect.a
> -rw-r--r--  1 bin      staff         950 Jan 20  1994 libpixrect.sa.2.14
> -rwxr-xr-x  1 bin      staff      335872 Jan 20  1994 libpixrect.so.2.14
> -rw-r--r--  1 bin      staff      480518 Jan 20  1994 libpixrect_p.a
> -rw-r--r--  1 root     staff        8924 Jan 20  1994 libplot.a
> -rw-r--r--  1 root     staff       29116 Jan 20  1994 libplot2648.a
> -rw-r--r--  1 root     staff       13194 Jan 20  1994 libplot7221.a
> -rw-r--r--  1 root     staff       12058 Jan 20  1994 libplotaed.a
> -rw-r--r--  1 root     staff       10194 Jan 20  1994 libplotbg.a
> 
> -rw-r--r--  1 root     staff       10026 Jan 20  1994 libplotdumb.a
> -rw-r--r--  1 root     staff       11160 Jan 20  1994 libplotgigi.a
> -rw-r--r--  1 root     staff       11052 Jan 20  1994 libplotimagen.a
> -rw-r--r--  1 root     staff       18914 Jan 20  1994 libposix.a
> -rw-r--r--  1 root     staff       37504 Apr 15 14:58 libresolv.a
> -rw-r--r--  1 root     bin         31708 Apr 15 12:29 libresolv.a.orig
> -rw-r--r--  1 root     staff       31082 Jan 21  1994 librpcsvc.a
> -rw-r--r--  1 root     staff      949580 Jan 20  1994 libsuntool.a
> -rw-r--r--  1 root     staff        5788 Jan 20  1994 libsuntool.sa.0.54
> -rwxr-xr-x  1 root     staff      753664 Jan 20  1994 libsuntool.so.0.54
> -rw-r--r--  1 root     staff     1062618 Jan 20  1994 libsuntool_p.a
> -rw-r--r--  1 root     staff      294546 Jan 20  1994 libsunwindow.a
> -rw-r--r--  1 root     staff        1988 Jan 20  1994 libsunwindow.sa.0.55
> -rwxr-xr-x  1 root     staff      229376 Jan 20  1994 libsunwindow.so.0.55
> -rw-r--r--  1 root     staff      345406 Jan 20  1994 libsunwindow_p.a
> -rw-r--r--  2 root     staff        7522 Jan 20  1994 libtermcap.a
> -rw-r--r--  2 root     staff        7872 Jan 20  1994 libtermcap_p.a
> -rw-r--r--  2 root     staff        7522 Jan 20  1994 libtermlib.a
> -rw-r--r--  2 root     staff        7872 Jan 20  1994 libtermlib_p.a
> -rw-r--r--  1 root     staff        6712 Jan 20  1994 libvt0.a
> -rw-r--r--  1 root     staff        3554 Sep 26  1991 libxgl.sa.2.0
> -rw-r--r--  1 root     staff     2859008 Sep 26  1991 libxgl.so.2.0
> -rw-r--r--  1 root     staff         680 Jan 20  1994 liby.a
> 
> Raza
> 
> PS> Do you think I should have execute on for all of them!
> 
> Raza Rizvi (rizvi_r@rednet.co.uk)
> RedNet Ltd, High Wycombe, England
> Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 11:29:53 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6jBC-0003C7C; Wed, 3 May 95 11:29 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA18075; Wed, 3 May 1995 13:27:27 -0500
Received: from jagware.bcc.com (bcc.com [204.182.11.115]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA17797 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 13:23:35 -0500
Received: by jagware.bcc.com (/\oo/\ Smail3.1.29.1 #29.1)
	id <m0s6j5F-0000CZC@jagware.bcc.com>; Wed, 3 May 95 11:23 PDT
Message-Id: <m0s6j5F-0000CZC@jagware.bcc.com>
Date: Wed, 3 May 1995 11:23:37 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jjb@jagware.bcc.com (J.J.Bailey)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't create data socket?
In-Reply-To: <sfa7627f.088@tigger.dir.texas.gov> from "Clyde Poole" at May 3, 95 10:56:08 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> I have installed wu-ftpd 2.4 on an Sun running Solaris 2.4.  I have built
> an "ls" binary without shared libraries (the GNU ls) and I get the
> following error when I do an "ls" command:
> 
> 425 Can't create data socket (0.0.0.0,20): Bad file number.
> 
> What in the world is wrong and how can I fix it?
> 
> ctp
> -----
> Clyde T. Poole
> Statewide Planning Analyst
> Texas Dept. of Information Resources
> clyde.poole@dir.state.tx.us
> 
> 

I'm having the same problem on Interactive 4.1.  In my case, it's only
when a user logs in as "anonymous."  When I use my own login, no problem.

I traced this error to a failed socket() call (ENOENT).  The code looks
correct, so I'm leaving this to a day when I can role my sleeves up for
a few hours.

-- 
J.J.Bailey
Consultant
jjb@jagware.bcc.com

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 11:41:54 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6jMq-0002ZeC; Wed, 3 May 95 11:41 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA18993; Wed, 3 May 1995 13:38:06 -0500
Received: from vm1.ulg.ac.be (vm1.ulg.ac.be [139.165.32.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA18696 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 13:33:45 -0500
Received: from duvel.fmv.ulg.ac.be by vm1.ulg.ac.be (IBM VM SMTP V2R2) with TCP;
   Wed, 03 May 95 20:33:28 +0200
Received: by duvel.fmv.ulg.ac.be (5.0/SMI-SVR4)
	id AA00480; Wed, 3 May 1995 20:32:06 +0000
Message-Id: <9505031932.AA00480@duvel.fmv.ulg.ac.be>
Date: Wed, 3 May 1995 20:32:06 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: danny@duvel.fmv.ulg.ac.be (Danny Wagenaar)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't create data socket?
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> From owner-wu-ftpd@wugate.wustl.edu Wed May  3 20:26 WET 1995
> Date: Wed, 3 May 1995 11:23:37 -0700 (PDT)
> From: jjb@jagware.bcc.com (J.J.Bailey)
> To: wu-ftpd@wugate.wustl.edu
> Subject: Re: Can't create data socket?
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> > 
> > I have installed wu-ftpd 2.4 on an Sun running Solaris 2.4.  I have built
> > an "ls" binary without shared libraries (the GNU ls) and I get the
> > following error when I do an "ls" command:
> > 
> > 425 Can't create data socket (0.0.0.0,20): Bad file number.
> > 
> > What in the world is wrong and how can I fix it?
> > 
> > ctp
> > -----
> > Clyde T. Poole
> > Statewide Planning Analyst
> > Texas Dept. of Information Resources
> > clyde.poole@dir.state.tx.us
> > 
> > 
> 
> I'm having the same problem on Interactive 4.1.  In my case, it's only
> when a user logs in as "anonymous."  When I use my own login, no problem.
> 
> I traced this error to a failed socket() call (ENOENT).  The code looks
> correct, so I'm leaving this to a day when I can role my sleeves up for
> a few hours.
> 
> -- 
> J.J.Bailey
> Consultant
> jjb@jagware.bcc.com

You have to make ~ftp/dev with a zero and a tcp device, see the INSTALL file
for the correct settings

-----------------------------------------------------------------------
| Danny Wagenaar                   | Email: danny@stat.fmv.ulg.ac.be  |
| Universite de Liege              |    or: danny@duvel.fmv.ulg.ac.be |
| Faculte de Medicine Veterinaire  | Fax  : 32-41-664122              |
| Department of Genetics           |                                  |
-----------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 11:54:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6jZ8-00032VC; Wed, 3 May 95 11:54 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA19676; Wed, 3 May 1995 13:49:23 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA19569 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 13:46:47 -0500
Received: from worldcom-18.worldcom.com (worldcom-18.worldcom.com [198.64.193.9]) by worldcom.com (8.6.11/8.6.9) with SMTP id NAA26469 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 13:15:37 -0500
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA1473; Wed, 03 May 95 13:14:51 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  EAFC44399672AEC8862561B100642FE6; Wed,  3 May 95 13:14:51 
Message-Id: <9505032014.AA1473@worldcom-18.worldcom.com>
Date: 3 May 95 13:04:43 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Potential patch for hanging sockets
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,
Here's a diff -e for what I did.  It's (as yet) untested, but it looks like
it should work.  I've not tested it cuz I would have to make my main ftp site
the "beta" test!  If somebody's got a system they can try this out on, that'd
be cool.  The comments within the patch have stuff for testing the bug.

The file is "ftpd.c" from the wustl-ftpd release v2.4.

Question:
Is anybody making "official" patches to 2.4?  This is a serious enough problem
(and seems easy enough to fix) that it should become "official".  The docs
w/2.4 say that Wash Univ isn't planing on doing anything more to it (something
about working on 3.x, I guess).

Dan T

p.s. Your comments appreciated!

Here's the diff ---------------------------------------------------------------
{aegis} diff -e ftpd.c ftpd-dan.c
1709a
        { /* D. Thorson hack - */
          /*    Establish a timeout for PASV mode clients who never actually */
          /*    connect.  This should help reduce the number "zombie"        */
          /*    processes and open sockets.  This problem was first seen (by */
          /*    Dan) on a Sun SPARC-1+ running SunOS 4.1.3_U1.               */
          /* Problem replication:                                            */
          /*    type the following:                                          */
          /*       telnet thishost 21                                        */
          /*       user anonymous                                            */
          /*       pass me@thishost                                          */
          /*       pasv                  <- port is defined on server        */
          /*       list                  <- request is made & port opened    */
          /*    If you now ^]-z out of telnet, and type:                     */
          /*       netstat -fn inet | grep <port-number-returned-from-pasv>  */
          /*    you'll see the open connection.  The high numbered open port */
          /*    may be cleared by typing:                                    */
          /*       telnet thishost <pasv-port-number>                        */
          /*                                                                 */
            fd_set fds;
            struct timeval timeout_str;
            int status;
            timeout_str.tv_sec = 120;
            timeout_str.tv_usec= 0;
            FD_ZERO(&fds);
            FD_SET(pdata, &fds);
            status = select(1, &fds, NULL, NULL, &timeout_str);
            if (status <= 0) {
                if (status == 0)    /* timeout during select() */
                    reply(421, "Timeout (%d sec): closing data connection.", 
                                                   timeout_str.tv_sec);
                else                /* misc error from select() */
                    perror_reply(451, "Local resource failure: select()");
                (void) close(pdata);
                pdata = -1;
                return (NULL);
            }
        }

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 13:02:55 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6jn6-0002ZAC; Wed, 3 May 95 12:08 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA20811; Wed, 3 May 1995 14:03:14 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA20376 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 13:58:34 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id NAA20944 for wu-ftpd@wugate.wustl.edu; Wed, 3 May 1995 13:58:28 -0500
Message-Id: <199505031858.NAA20944@academ.com>
Date: Wed, 3 May 1995 13:58:27 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Potential patch for hanging sockets
In-Reply-To: Dan Thorson  <Dan_Thorson@notes.seagate.com>
       "Potential patch for hanging sockets" (May  3,  1:04pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'd be happy to maintain an official patch site for 2.4 if folks are interested
in seeing that done.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 15:15:35 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6lPP-0003BYC; Wed, 3 May 95 13:52 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA27090; Wed, 3 May 1995 15:41:55 -0500
Received: from swan.doc.ic.ac.uk (swan.doc.ic.ac.uk [155.198.191.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA26427 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 15:30:34 -0500
Received: from doc.ic.ac.uk by swan.doc.ic.ac.uk id <00216-0@swan.doc.ic.ac.uk>;
          Wed, 3 May 1995 21:30:14 +0100
Message-Id: <"swan.doc.i.237:03.04.95.20.30.17"@doc.ic.ac.uk>
Date: Wed, 3 May 1995 21:30:12 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lee McLoughlin <lmjm@doc.ic.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Workaround For The Never Ending Connection Problem
In-Reply-To: Jon Forrest <forrest@postgres.Berkeley.EDU> "Workaround For The Never Ending Connection Problem" (May 3, 10:21am)
X-Mailer: Mail User's Shell (7.2.3 5/22/91)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On May 3, 10:21am, Jon Forrest wrote:
} Subject: Workaround For The Never Ending Connection Problem
} 
} So, I hacked the ftpcount program to check how long each connection
} has been going and to kill it if it has been around longer than a certain
} amount of time.

That was a good idea.  I wrote a seperate perl program, which uses some
system 5-ism's, to do the same thing.  I then extended to stomp on my
other regular "hangers on".

I also had a problem with processes holding onto files on our 35 Gig metadisk
during shutdown.  This meant the disk had to be fsck'd on reboot.  So I
run my script in the shutdown sequence to kill off anything that might be
doing this.  (BTW it can take about 40 minutes to fsck 35 Gig.)

I run this on sunsite.doc.ic.ac.uk which has no real users on so the
patterns I use to match old jobs with are unlikely to match non-archive
commands.

If anyone wants to use it a copy is below.  But it should be used with
	EXTREME CAUTION
and don't blame me if it all goes horribly wrong!


#!/usr/local/bin/perl -s
# Find and kill old jobs.
# (Uses the fact that /proc files are timestamped with the last active time.)
# Usage: zap-old-jobs [-all] [-s sig] [-m pat]
#   eg: zap-old-jobs -s -m spat mpat
#
#  -m pat = match pat against the process name
#  -all = zap all matching processes reguardless of age
#  -s sig  = send sig to all matching processes
#
# This is called from cron and when the system is about to shutdown.

# exit unless $test;

$sig = 1;
if( $s ){
	$sig = shift;
}

$MIN = 60;
$HOUR = 60 * $MIN;
$DAY = 24 * $HOUR;

@proclimits = (
	'root.*ftpd.new',	12 * $HOUR,
	'root.*in.ftpd',	12 * $HOUR,
	'nobody.*httpd',	30 * $MIN,
	'nobody.*archieplex',	30 * $MIN,
	'nobody.*gofake',	30 * $MIN,
	'root.*gofake',		30 * $MIN,
	'root.*mirror.nightly',	23 * $HOUR,
	'root.*mirror -p',	22 * $HOUR,
);

if( $m ){
	$procpat = shift;
}

$limit = 12 * $HOUR;
if( $l ){
	$limit = $l;
}

# I may be running my special daemonised ftpd.
$ftpdpid = '';
if( open( pidf, "/etc/ftpd.pid" ) ){
	chop( $ftpdpid = <pidf> );
	close( pidf );
}

# I may be running my special daemonised gofake.
$gofpid = '';
if( open( pidf, "/etc/gofake.pid" ) ){
	chop( $gofpid = <pidf> );
	close( pidf );
}

open( ps, "ps -ef |" ) || die "cannot run ps";
while( <ps> ){
	chop;
	@F = split;
	$pid = $F[ 2 ];

	# Don't kill myself, ignore the title line
	next if $pid == $$ || $pid eq 'PID';

	if( $m ){
		next unless /$procpat/;
	}
	else {
		$N = 0;
		$found = 0;
		while( $N < $#proclimits ){
			$procpat = $proclimits[ $N++ ];
			$limit = $proclimits[ $N++ ];
			if( /$procpat/ ){
				$found = 1;
				last;
			}
		}
		next if ! $found;
	}
	$age = &proc_age( $pid );
	next if $age == 0;

	# Don't kill off the master ftpd or gofake unless everthing is being
	# killed
	next if !$all && ($pid == $ftpdpid || $pid == $gofpid);

	if( $all || $age >= $limit ){
		warn "kill: $_ ($age)\n" if $debug;
		push( @pids, $pid );
	}
}
close( ps );
$count = $#pids + 1;
print "[$count] @pids\n" if $debug || $show;
kill $sig, @pids unless $debug;

sub proc_age
{
	local( $pid ) = @_;
	local( $now ) = time;
	local( $dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
	       $atime,$mtime,$ctime,$blksize,$blocks ) = stat( "/proc/$pid" );
	if( $ctime eq '' || $ctime == 0 ){
		# ctime must be invalid, maybe proc has died?
		warn "***** no ctime proc died\n" if $debug;
		return 0;
	}
	return $now - $ctime;
}






-- 
--
Lee McLoughlin.                          Phone: +44 171 594 8388
Dept of Computing, Imperial College,     Fax: +44 171 584 8301
180 Queens Gate, London, SW7 2BZ, UK.    Email: L.McLoughlin@doc.ic.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 17:34:35 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6osA-00039eC; Wed, 3 May 95 17:34 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA08128; Wed, 3 May 1995 19:30:50 -0500
Received: from reef.mbari.org (reef.mbari.org [134.89.2.236]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id TAA07962 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 19:27:44 -0500
Received: by reef.mbari.org
	(1.37.109.16/16.2) id AA137077263; Wed, 3 May 1995 17:27:43 -0700
Message-Id: <9505031727.ZM13705@reef.mbari.org>
Date: Wed, 3 May 1995 17:27:43 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "David Mostardi" <david@mbari.org>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftp server immediately dies
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.1 15feb95)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am running wu-ftp on an HP9000/380 running HP-UX 9.03.
Whenever I start the server, it immediately dies with
this error:

   220 wave FTP server (Version wu-2.4(1) Wed Apr 19 13:11:10 PDT 1995) ready.
   221 Server shutting down.  Goodbye.

It seems to me that the server is dying too soon for
a configuration problem: perhaps a compile problem?

Thank you,
-------------------------------------------------------------------
David Mostardi                              Email: david@mbari.org
Systems Administrator                       Phone: (408) 647-3734
Monterey Bay Aquarium Research Institute      FAX: (408) 649-8587
160 Central Ave., Pacific Grove CA 93950

     Q. Why do bagpipers walk while they play?
     A. To get away from the noise.

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 17:47:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6p4Y-00037jC; Wed, 3 May 95 17:47 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA08574; Wed, 3 May 1995 19:44:03 -0500
Received: from iceland.c4west.eds.com (iceland.ug.eds.com [134.244.123.12]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA08449 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 19:41:04 -0500
Received: by iceland.c4west.eds.com
	(1.38.193.4/16.2) id AA12282; Wed, 3 May 1995 17:42:48 -0700
Message-Id: <199505040041.TAA08449@wugate.wustl.edu>
Date: Wed, 3 May 95 17:42:48 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Peter Hawkins <hawkins@c4west.eds.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp server immediately dies
In-Reply-To: <9505031727.ZM13705@reef.mbari.org>; from "David Mostardi" at May 3, 95 5:27 pm
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hey Dave,

Makes you want to pull your hair out doesn't it?

You probably shut the server down using shutdown, now you can't start
it again.  Correct?

There is a shudown file called shutmsg or something like that.  Look 
in the include file to find out where it's being kept.  ftp/etc ?

Anyway, edit the shutmsg file to at date long after the current date.

Maybe there's a better way but that's what I've done.

This is from memory, I don't have the server running right now.

Pete
> 
> I am running wu-ftp on an HP9000/380 running HP-UX 9.03.
> Whenever I start the server, it immediately dies with
> this error:
> 
>    220 wave FTP server (Version wu-2.4(1) Wed Apr 19 13:11:10 PDT 1995) ready.
>    221 Server shutting down.  Goodbye.
> 
> It seems to me that the server is dying too soon for
> a configuration problem: perhaps a compile problem?
> 
> Thank you,
> -------------------------------------------------------------------
> David Mostardi                              Email: david@mbari.org
> Systems Administrator                       Phone: (408) 647-3734
> Monterey Bay Aquarium Research Institute      FAX: (408) 649-8587
> 160 Central Ave., Pacific Grove CA 93950
> 
>      Q. Why do bagpipers walk while they play?
>      A. To get away from the noise.
> 


--
EDS - C4 Technology West
Bellevue, Washington
hawkins@c4west.eds.com

From owner-wu-ftpd@wugate.wustl.edu Wed May  3 19:18:36 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6qUk-0002YGC; Wed, 3 May 95 19:18 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA11810; Wed, 3 May 1995 21:15:47 -0500
Received: from reef.mbari.org (reef.mbari.org [134.89.2.236]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id VAA11649 for <wu-ftpd@wugate.wustl.edu>; Wed, 3 May 1995 21:12:54 -0500
Received: by reef.mbari.org
	(1.37.109.16/16.2) id AA146623573; Wed, 3 May 1995 19:12:53 -0700
Message-Id: <9505031912.ZM14660@reef.mbari.org>
Date: Wed, 3 May 1995 19:12:52 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "David Mostardi" <david@mbari.org>
To: wu-ftpd@wugate.wustl.edu
Subject: SUMMARY: wu-ftp server immediately dies
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.1 15feb95)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

PROBLEM
-------
I am running wu-ftp on an HP9000/380 running HP-UX 9.03.
Whenever I start the server, it immediately dies with
this error:

   220 wave FTP server (Version wu-2.4(1) Wed Apr 19 13:11:10 PDT 1995) ready.
   221 Server shutting down.  Goodbye.


SOLUTION
--------
Peter Hawkins <hawkins@c4west.eds.com> pointed out
that my "/etc/shutmsg" file (mentioned in ftpaccess(5))
was malformed.  I had the shutdown text, but not the
datestamp line that precedes it.


-------------------------------------------------------------------
David Mostardi                              Email: david@mbari.org
Systems Administrator                       Phone: (408) 647-3734
Monterey Bay Aquarium Research Institute      FAX: (408) 649-8587
160 Central Ave., Pacific Grove CA 93950

     Q. Why do bagpipers walk while they play?
     A. To get away from the noise.

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 01:46:40 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6wYF-0002dHC; Thu, 4 May 95 01:46 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id DAA23004; Thu, 4 May 1995 03:44:01 -0500
Received: from online.rednet.co.uk (luggage.rednet.co.uk [193.131.68.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id DAA22731 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 03:33:17 -0500
Received: from [193.131.68.112] (rednet112.rednet.co.uk) by online.rednet.co.uk (SMI-8.6.4) 
	id AA16611; Thu, 4 May 95 09:30:25 BST
Message-Id: <v01510104abce40ca91b4@[193.131.68.112]>
Date: Thu, 4 May 1995 09:38:15 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rizvi_r@rednet.co.uk (Raza Rizvi)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: rizvi_r@online.rednet.co.uk
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've had a couple of good suggestions now, but still no luck!

My /usr/ftp/usr/lib contains the libraries I need
(ld.so,libc.so.1.9,libdl.so.1.0) according to the man pages for ftpd, and
they are both readable and executable. They are also readable and
executable in /usr/lib.

The /usr/ftp/usr and /usr/ftp/usr/lib directories are chmod 555.

The file /usr/ftp/bin is executable and the file /usr/ftp/bin/ls is
read/execute.

WU-FTPD Guest UNIX FTP terminal users issuing a DIR, or Mac FETCH users
(who issue a DIR unbeknown to them), get no file listing back. They do if
they issue a LS.

A transcript is below:

luggage# ftp ftp.rednet.co.uk
Connected to ftp.rednet.co.uk.
220 luggage FTP server (Version wu-2.4(1) Mon Nov 14 16:01:35 GMT 1994) ready.
Name (ftp.rednet.co.uk:rizvi_r): user1
331 Password required for user1.
Password:
230 User user1 logged in.  Access restrictions apply.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
test
not-so-simple.cf
226 Transfer complete.
24 bytes received in 0.0062 seconds (3.8 Kbytes/s)
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> quit
221 Goodbye.

I am open to further suggestions and will post a summary to the list (oh
and this time I will try to make sure that I don't goof up and send the
reply to any answers BACK to the list :-) )

Raza

Raza Rizvi (rizvi_r@rednet.co.uk)
RedNet Ltd, High Wycombe, England
Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374


From owner-wu-ftpd@wugate.wustl.edu Thu May  4 04:33:04 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s6z9L-0003C2C; Thu, 4 May 95 04:32 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA26527; Thu, 4 May 1995 06:31:04 -0500
Received: from mail-relay.ja.net (mail-relay.ja.net [193.63.105.200]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA26390 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 06:26:29 -0500
Received: from loki.cee.hw.ac.uk by mail-relay.ja.net with JANET SMTP id <sg.26666-0@mail-relay.ja.net>; Thu, 4 May 1995 12:26:12 +0100
Received: from cyclops.tvc.hw.ac.uk by loki.cee.hw.ac.uk with smtp 
	(Smail3.1.28.1 #97) id m0s6yyn-000eH5C; Thu, 4 May 95 12:22 BST
Received: from [137.195.160.4] by cyclops.tvc.hw.ac.uk; Thu, 4 May 95 12:20:12 BST
Message-Id: <1786.9505041120@cyclops.tvc.hw.ac.uk>
Date: Thu, 4 May 95 12:20:11 BST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: terry@tvc.hw.ac.uk (Terry Shannon)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't create data socket?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I have installed wu-ftpd 2.4 on an Sun running Solaris 2.4.  I have built an
>"ls"
>binary without shared libraries (the GNU ls) and I get the following error
>when I
>do an "ls" command:
>
>425 Can't create data socket (0.0.0.0,20): Bad file number.
>
>What in the world is wrong and how can I fix it?
>
>ctp
>-----


I'm fairly new to this so I'm going to give you all the info I have.  I had
the same problem at one time and it had to do with either directory
permissions or missing files in the directories.  Below is the directory
tree for an ftp directory (and any other user you want to set up).  Below
that there is the text you should put in a script to create zero and tcp in
the ~ftp/dev directory.  (This can be found with 'man ftpd').  Also note
the permissions on the files -- I'm told nothing should be owned by ftp (or
any other user).  I'm taking it that you know how to create the link file
~ftp/usr/bin.  Some people put passwd etc. in ~ftp/etc but I don't need it.
I hope this isn't overkill and I hope I'm not insulting anyone's
intelligence but, as I say, I'm new to this and this is the kind of info I
could have done with.

total 14
-rw-r--r--   1 root     other        194 May  1 10:11 welcome.msg
dr-xr-xr-x   3 root     other        512 Jan 27 15:37 usr
drwxrwxr-x   2 root     staff        512 Apr 26 16:48 pub
drwx-wx-wx   2 root     other        512 May  1 10:12 incoming
d--x--x--x   2 root     other        512 Apr 27 09:43 etc
dr-xr-xr-x   2 root     other        512 Jan 30 12:03 dev
d--x--x--x   2 root     other        512 Jan 27 11:03 bin

./usr:
total 4
dr-xr-xr-x   2 root     other        512 Mar 30 12:00 lib
lrwxrwxrwx   1 root     other          3 Jan 27 15:37 bin -> bin

./usr/lib:
total 1386
-rwxr-xr-x   1 root     other      31248 Jan 27 14:57 libw.so.1
-rwxr-xr-x   1 root     other      14508 Jan 27 14:57 libintl.so.1
-rwxr-xr-x   1 root     other       4776 Mar 30 12:00 libdl.so.1
-rwxr-xr-x   1 root     other     546860 Mar 30 12:00 libc.so.1
-rwxr-xr-x   1 root     other      74476 Mar 30 11:59 ld.so.1
-rwxr-xr-x   1 root     other      24576 Mar 30 12:00 ld.so
-rw-r--r--   1 root     other         62 Jan 30 12:01 README

./pub:

./incoming:

./etc:

./dev:
total 4
crw-rw-rw-   1 root     other     13, 12 Jan 27 14:15 zero
crw-rw-rw-   1 root     other     11, 42 Jan 27 14:15 tcp
-rw-r--r--   1 root     other        464 Jan 27 14:15 devscript
-rw-r--r--   1 root     other         45 Jan 30 12:03 README

./bin:
total 40
---x--x--x   1 root     other      19896 Jan 27 11:03 ls


The script for creating zero and tcp in ~ftp/dev.  Note that you should
change <user name> to the name of the user (e.g. ftp or guest or whatever)
because the script looks up the directory in the passwd file.

                 FTP="`grep <user name>: /etc/passwd | cut -d: -f6`"
                 MAJORMINOR="`ls -lL /dev/tcp | nawk '{ gsub(/,/,
                 ""); print $5, $6}'`"
                 mknod $FTP/dev/tcp c $MAJORMINOR
                 chmod 666 $FTP/dev/tcp


               MAJORMINOR="`ls  -lL   /dev/zero   |   nawk   '{
                 gsub(/,/, ""); print $5, $6}'`"
                 mknod $FTP/dev/zero c $MAJORMINOR
                 chmod 666 $FTP/dev/zero




From owner-wu-ftpd@wugate.wustl.edu Thu May  4 07:00:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s71SW-0002deC; Thu, 4 May 95 07:00 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA01687; Thu, 4 May 1995 08:57:46 -0500
Received: from albert.wes.army.mil (albert.wes.army.mil [134.164.104.199]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA00998 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 08:44:31 -0500
Received: by albert.wes.army.mil; id AA11168; Thu, 4 May 1995 08:44:32 -0500
Message-Id: <Pine.OSF.3.91.950504083839.3159N-100000@albert.wes.army.mil>
Date: Thu, 4 May 1995 08:44:32 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Cary Talbot <talbot@albert.wes.army.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: SUMMARY: Compress/Decompress Problems
In-Reply-To: <Pine.HPP.3.91.950502121604.1960C@candide.micro.ti.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Original problem:

> > The decompression/compression of files by omitting/adding the .Z or .gz 
> > extensions does not work.  

Solution:

By default compress, gzip, and gtar are dynamically linked executables. So
being, you must either recompile them as statically linked or provide the
dynamic link libraries in your ~ftp area (for anonymous servers).  I chose 
the option of recompiling them as statically linked and it the problem has
been solved.  

Many thanks to the two individuals who provided insight into this problem:

Venkatesh Reddy, reddy@micro.ti.com 
David Wolfe, david_wolfe@risc.sps.mot.com

_____________________________________________________________________
Cary A. Talbot, Hydraulic Engineer         US Army Corps of Engineers
ATTN: CEWES-HH-G                         Waterways Experiment Station
3909 Halls Ferry Road
Vicksburg, Mississippi 39180
phone:(601)634-4286   fax:(601)634-4208  email:talbot@hl.wes.army.mil


From owner-wu-ftpd@wugate.wustl.edu Thu May  4 07:31:16 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s71vo-0003AEC; Thu, 4 May 95 07:31 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA03524; Thu, 4 May 1995 09:28:52 -0500
Received: from oracorp.com (scylla.oracorp.com [192.76.175.102]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA02857 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 09:16:40 -0500
Received: from calypso.oracorp.com by oracorp.com (4.1/2.1-ORA Corporation)
	id AA08538; Thu, 4 May 95 10:13:41 EDT
Received: by calypso.oracorp.com (4.1/1.3-ORA Corporation)
	id AA02211; Thu, 4 May 95 10:13:38 EDT
Message-Id: <Pine.SUN.3.91.950504100148.2189B-100000@calypso>
Date: Thu, 4 May 1995 10:13:35 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sally Moore <moore@oracorp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Help logging ACTUAL login names
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: moore@calypso
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is there a way to log the login name which appears immediately after the 
banner announcement?  I currently have daemon.info turned on in 
/etc/syslog.conf.  Turning on daemon.debug still doesn't give the 
information I wish to log.

e.g.
220 news FTP server (Version wu-2.4(2) Tue May 2 13:04:57 EDT 1995) ready.
Name (ftp:moore): 
          ^^^^^
The log file indicates the machine name and IP address.  However, users 
are not required to give their actual userid or hostid.  They can enter 
anything they want as long as it conforms to the rfc822 standard.  I'd 
like to grab this information somehow.

e.g.  /var/log/syslog

May  4 10:03:55 ftp ftpd[2147]: connection from calypso [192.76.175.130]
May  4 10:05:04 ftp ftpd[2147]: USER anonymous
May  4 10:05:29 ftp ftpd[2147]: PASS big.bad.wolf@woodcutters.shack.woods
May  4 10:05:29 ftp ftpd[2147]: ANONYMOUS FTP LOGIN FROM calypso 
[192.76.175.130], big.bad.wolf@woodcutters.shack.woods

Thanks in advance.

Sally Moore
o==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==o
| Systems Adminstrator/UNIX-Novell-DOS * Odyssey Research Associates, Inc. |
|           moore@oracorp.com          *           301 Dates Drive         |
| VOICE:607-277-2020 FAX:607-277-3206  *         Ithaca NY  14850 USA      |
o==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==o


From owner-wu-ftpd@wugate.wustl.edu Thu May  4 08:12:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s72a2-00032bC; Thu, 4 May 95 08:12 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA05859; Thu, 4 May 1995 10:09:30 -0500
Received: from jagware.bcc.com (bcc.com [204.182.11.115]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA05639 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 10:05:50 -0500
Received: by jagware.bcc.com (/\oo/\ Smail3.1.29.1 #29.1)
	id <m0s72TN-0000InC@jagware.bcc.com>; Thu, 4 May 95 08:05 PDT
Message-Id: <m0s72TN-0000InC@jagware.bcc.com>
Date: Thu, 4 May 1995 08:05:49 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jjb@jagware.bcc.com (J.J.Bailey)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't create data socket?
In-Reply-To: <1786.9505041120@cyclops.tvc.hw.ac.uk> from "Terry Shannon" at May 4, 95 12:20:11 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> The script for creating zero and tcp in ~ftp/dev.  Note that you should
> change <user name> to the name of the user (e.g. ftp or guest or whatever)
> because the script looks up the directory in the passwd file.
> 
>                  FTP="`grep <user name>: /etc/passwd | cut -d: -f6`"
>                  MAJORMINOR="`ls -lL /dev/tcp | nawk '{ gsub(/,/,
>                  ""); print $5, $6}'`"
>                  mknod $FTP/dev/tcp c $MAJORMINOR
>                  chmod 666 $FTP/dev/tcp
> 
> 
>                MAJORMINOR="`ls  -lL   /dev/zero   |   nawk   '{
>                  gsub(/,/, ""); print $5, $6}'`"
>                  mknod $FTP/dev/zero c $MAJORMINOR
>                  chmod 666 $FTP/dev/zero
> 

Hmm...  Try this instead:

# cd /
# ls dev/tcp dev/zero | cpio -pdvm ~ftp

-- 
J.J.Bailey
Consultant
jjb@jagware.bcc.com

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 08:16:04 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s72d8-00032vC; Thu, 4 May 95 08:15 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA06151; Thu, 4 May 1995 10:13:30 -0500
Received: from godot.atg.aol.com (godot.atg.aol.com [152.163.100.37]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA05683 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 10:07:12 -0500
Received: by godot.atg.aol.com
	(1.38.193.3/16.2) id AA23001; Thu, 4 May 95 11:01:22 -0400
Message-Id: <199505041507.KAA05683@wugate.wustl.edu>
Date: Thu, 4 May 95 11:01:21 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Hirsh <rbh@aol.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help logging ACTUAL login names
In-Reply-To: <Pine.SUN.3.91.950504100148.2189B-100000@calypso>; from "Sally Moore" at May 4, 95 10:13 am
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Is there a way to log the login name which appears immediately after the 
> banner announcement?  I currently have daemon.info turned on in 
> /etc/syslog.conf.  Turning on daemon.debug still doesn't give the 
> information I wish to log.
> 
> e.g.
> 220 news FTP server (Version wu-2.4(2) Tue May 2 13:04:57 EDT 1995) ready.
> Name (ftp:moore): 
>           ^^^^^

No, not on the FTP server side.  The "moore" is filled in by the FTP
client as the default login, but that information is not sent over as
part of the FTP protocol.

Regards,

-- Bob

===============================================================
  Robert Hirsh              |        Internet: rbh@aol.net   
  % America Online          |  America Online: RHirsh        
  8619 Westwood Center Dr.  |           Voice: (703) 448-5039
  Vienna, VA  22182-2285    |             FAX: (703) 883-1514
===============================================================

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 09:00:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s72ml-0002d4C; Thu, 4 May 95 08:25 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA06861; Thu, 4 May 1995 10:24:02 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA06673 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 10:21:13 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA21532 for wu-ftpd@wugate.wustl.edu; Thu, 4 May 95 08:21:11 MST
Received: from motsps.sps.mot.com by mogate (4.1/SMI-4.1/Email-2.0)
	id AA07146; Thu, 4 May 95 08:21:10 MST
Received: from risc.sps.mot.com by motsps.sps.mot.com (4.1/SMI-4.1/Email-2.1)
	id AA18995 for wu-ftpd@wugate.wustl.edu; Thu, 4 May 95 08:21:08 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA22640; Thu, 4 May 95 10:21:05 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA20953; Thu, 4 May 1995 10:21:49 -0500
Message-Id: <9505041521.AA20953@miaow.sps.mot.com>
Date: Thu, 4 May 1995 10:21:49 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SUMMARY: Compress/Decompress Problems
In-Reply-To: <Pine.OSF.3.91.950504083839.3159N-100000@albert.wes.army.mil> from "Cary Talbot" at May 4, 95 08:44:32 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Cary Talbot writes: ]
> 
> Original problem:
> 
> > > The decompression/compression of files by omitting/adding the .Z or .gz 
> > > extensions does not work.  
> 
> Solution:
> 
> By default compress, gzip, and gtar are dynamically linked executables. So
> being, you must either recompile them as statically linked or provide the
> dynamic link libraries in your ~ftp area (for anonymous servers).  I chose 
> the option of recompiling them as statically linked and it the problem has
> been solved.  
> 
> Many thanks to the two individuals who provided insight into this problem:

You're welcome! Something I forgot to mention in my message was
that Gnu tar, when the z flag is specified, expects to find gzip in
/usr/bin/gzip, so I had to create a symlink in my chroot environment
from /usr/bin -> bin (all my binaries were in /bin), otherwise
retrieving a directory as a compressed tar file, i.e dir.tar.gz or
dir.tgz, fails even though it can be retrieved as just a tar file and
files can be retrieved as compressed files. The whereabouts of gzip
might be a configuration option in gtar, but it's easier to just create
the symlink.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 09:01:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s73LR-0003F9C; Thu, 4 May 95 09:01 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA09813; Thu, 4 May 1995 10:59:33 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id KAA09654 for <wu-ftpd@mail.wustl.edu>; Thu, 4 May 1995 10:56:03 -0500
Received: from lightning.safb.af.mil by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQ3PFTHE40001Y6A@wunet.wustl.edu>; Thu, 04 May 1995 10:54:07 -0500 (CDT)
Received: by lightning.safb.af.mil (AIX 3.2/UCB 5.64/4.03) id AA24636; Thu,
 4 May 1995 10:53:27 -0500
Message-Id: <Pine.A32.3.91.950504105143.43779A-100000@lightning.safb.af.mil>
Date: Thu, 04 May 1995 10:53:27 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "TSgt Todd C. Knauer" <syctck@lightning.safb.af.mil>
To: "Wash U. ftpd" <wu-ftpd@wunet.wustl.edu>
Subject: Local/Zulu time in wuftp.log
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


  Just curious, from all the info I have read that comes with wu-ftpd the 
program should log file transfers with the "local" time stamp.  Mine is 
logging "Zulu" time.  I am running on an RS/6000, can I make it log local 
time?

							Todd

---------------------------------------------------
              United States Air Force
    Environmental Technical Applications Center
---------------------------------------------------
Todd Knauer        -  syctck@lightning.safb.af.mil
Network Management -  Network Administrator
Scott AFB, Il.     -  System/Application Programmer
---------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu May  4 09:16:59 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s73a9-0003CFC; Thu, 4 May 95 09:16 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA10678; Thu, 4 May 1995 11:15:01 -0500
Received: from allegro.stanford.edu (allegro.Stanford.EDU [171.65.16.127]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA10475 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 11:11:59 -0500
Received: (from dhinds@localhost) by allegro.stanford.edu (940816.SGI.8.6.9/8.6.6) id JAA12386 for wu-ftpd@wugate.wustl.edu; Thu, 4 May 1995 09:11:58 -0700
Message-Id: <199505041611.JAA12386@allegro.stanford.edu>
Date: Thu, 4 May 1995 09:11:58 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Hinds <dhinds@allegro.stanford.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Local/Zulu time in wuftp.log
In-Reply-To: <Pine.A32.3.91.950504105143.43779A-100000@lightning.safb.af.mil> from "TSgt Todd C. Knauer" at May 4, 95 10:53:27 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
>   Just curious, from all the info I have read that comes with wu-ftpd the 
> program should log file transfers with the "local" time stamp.  Mine is 
> logging "Zulu" time.  I am running on an RS/6000, can I make it log local 
> time?

I bet this happens for the same reason it happens on IRIX 5.3.  The
reason is that wu-ftpd does some evil stuff to change its process name
as displayed by "ps", by writing over the "argv" strings it gets at
startup.  The problem is that under IRIX 5.3 (and AIX, I guess), these
are followed in memory by environment strings that include the TZ
string, which is used by the syslog() library function when it gets
the time stamp.  So, wu-ftpd clobbers the TZ.

In your config file (under src/config), change:

#define SETPROCTITLE

to:

#undef SETPROCTITLE

This should be made the default for config.aix and config.sgi in
future releases.

-- Dave Hinds
   dhinds@allegro.stanford.edu

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 10:00:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s74Al-0003CfC; Thu, 4 May 95 09:54 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA13080; Thu, 4 May 1995 11:51:33 -0500
Received: from reef.mbari.org (reef.mbari.org [134.89.2.236]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA12763 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 11:46:37 -0500
Received: by reef.mbari.org
	(1.37.109.16/16.2) id AA219965995; Thu, 4 May 1995 09:46:35 -0700
Message-Id: <9505040946.ZM21994@reef.mbari.org>
Date: Thu, 4 May 1995 09:46:35 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "David Mostardi" <david@mbari.org>
To: wu-ftpd@wugate.wustl.edu
Subject: %F cookie under HP-UX 9.x?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.1 15feb95)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am running wu-ftp on an HP9000/380 running HP-UX 9.03.
The %F magic cookie (free disk space) does not appear
to be supported.  Has anyone hacked this feature in?

Thank you,
-------------------------------------------------------------------
David Mostardi                              Email: david@mbari.org
Systems Administrator                       Phone: (408) 647-3734
Monterey Bay Aquarium Research Institute      FAX: (408) 649-8587
160 Central Ave., Pacific Grove CA 93950

     Q. Why do bagpipers walk while they play?
     A. To get away from the noise.

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 10:01:01 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s74Gl-0003CfC; Thu, 4 May 95 10:00 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA13551; Thu, 4 May 1995 11:59:09 -0500
Received: from hub.ubc.ca (hub.ubc.ca [137.82.1.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA13400 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 11:56:46 -0500
Received: from pulmonary.ubc.ca by hub.ubc.ca (4.1/1.14)
	id AA11149; Thu, 4 May 95 09:56:43 PDT
Received: by pulmonary.ubc.ca (4.1/1.14)
	id AA01924; Thu, 4 May 95 09:56:40 PDT
Message-Id: <9505041656.AA01924@pulmonary.ubc.ca>
Date: Thu, 4 May 95 09:56:40 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Christopher Corman <ccorman@pulmonary.ubc.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: unsubscibe
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	unsubscribe  ccorman

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 10:56:28 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s758O-0003HzC; Thu, 4 May 95 10:56 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA16663; Thu, 4 May 1995 12:53:36 -0500
Received: from lightning.safb.af.mil (lightning.safb.af.mil [140.175.63.14]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA16476 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 12:50:01 -0500
Received: by lightning.safb.af.mil (AIX 3.2/UCB 5.64/4.03)
          id AA27638; Thu, 4 May 1995 12:47:35 -0500
Message-Id: <Pine.A32.3.91.950504123857.46719C-100000@lightning.safb.af.mil>
Date: Thu, 4 May 1995 12:47:34 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "TSgt Todd C. Knauer" <syctck@lightning.safb.af.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Local/Zulu time in wuftp.log
In-Reply-To: <199505041611.JAA12386@allegro.stanford.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> >   Just curious, from all the info I have read that comes with wu-ftpd the 
> > program should log file transfers with the "local" time stamp.  Mine is 
> > logging "Zulu" time.  I am running on an RS/6000, can I make it log local 
> > time?
> 
> I bet this happens for the same reason it happens on IRIX 5.3.  The
> reason is that wu-ftpd does some evil stuff to change its process name
> as displayed by "ps", by writing over the "argv" strings it gets at
> startup.  The problem is that under IRIX 5.3 (and AIX, I guess), these
> are followed in memory by environment strings that include the TZ
> string, which is used by the syslog() library function when it gets
> the time stamp.  So, wu-ftpd clobbers the TZ.
> 
> In your config file (under src/config), change:
> 
> #define SETPROCTITLE
> 
> to:
> 
> #undef SETPROCTITLE
> 
> This should be made the default for config.aix and config.sgi in
> future releases.

  Well, I tried the above and it didn't work, then I realized I am not 
using the syslog option.  I am logging by setting the _PATH_XFERLOG to 
/somewhere/ftp.log in the "src/pathnames.h" file.  ftpd then just opens 
the file and writes the buffer and here is the section that fills the 
buffer and writes to the log in ftpd.c:
------ snip from ftpd.c ------
        sprintf(msg, "%.24s %d %s %d %s %c %s %c %c %s ftp %d %s\n",
                ctime(&curtime),
                xfertime,
                remotehost,
                byte_count,
                namebuf,
                (type == TYPE_A) ? 'a' : 'b',
                opt_string(options),
                'o',
                anonymous ? 'a' : 'r',
                anonymous ? guestpw : pw->pw_name,
                authenticated,
                authenticated ? authuser : "*"
            );
        write(xferlog, msg, strlen(msg));
------ end snip --------------

 I will have to write some test code to see if maybe I have to modify the 
"ctime()" call to suit my system.....

							Todd

---------------------------------------------------
              United States Air Force
    Environmental Technical Applications Center
---------------------------------------------------
Todd Knauer        -  syctck@lightning.safb.af.mil
Network Management -  Network Administrator
Scott AFB, Il.     -  System/Application Programmer
---------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu May  4 12:11:28 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s75Jz-0002cuC; Thu, 4 May 95 11:08 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA17432; Thu, 4 May 1995 13:06:35 -0500
Received: from lightning.safb.af.mil (lightning.safb.af.mil [140.175.63.14]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA17194 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 13:02:30 -0500
Received: by lightning.safb.af.mil (AIX 3.2/UCB 5.64/4.03)
          id AA33964; Thu, 4 May 1995 12:59:53 -0500
Message-Id: <Pine.A32.3.91.950504125836.47291A-100000@lightning.safb.af.mil>
Date: Thu, 4 May 1995 12:59:53 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "TSgt Todd C. Knauer" <syctck@lightning.safb.af.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Local/Zulu time in wuftp.log
In-Reply-To: <Pine.A32.3.91.950504123857.46719C-100000@lightning.safb.af.mil>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 4 May 1995, TSgt Todd C. Knauer wrote:

> > I bet this happens for the same reason it happens on IRIX 5.3.  The
> > reason is that wu-ftpd does some evil stuff to change its process name
> > as displayed by "ps", by writing over the "argv" strings it gets at
> > startup.  The problem is that under IRIX 5.3 (and AIX, I guess), these
> > are followed in memory by environment strings that include the TZ
> > string, which is used by the syslog() library function when it gets
> > the time stamp.  So, wu-ftpd clobbers the TZ.
> > 
> > In your config file (under src/config), change:

  Disregard my last message, you were right, it did fix it.  For some 
reason I "thought" I made the change to the config.h file and in reality 
I was just halucinating :)  I made the change and it fixed it....

					Thanks!
					 Todd

---------------------------------------------------
              United States Air Force
    Environmental Technical Applications Center
---------------------------------------------------
Todd Knauer        -  syctck@lightning.safb.af.mil
Network Management -  Network Administrator
Scott AFB, Il.     -  System/Application Programmer
---------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu May  4 14:13:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s78DE-00034aC; Thu, 4 May 95 14:13 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA29391; Thu, 4 May 1995 16:11:18 -0500
Received: from visionware.com (sioux.visionware.COM [132.147.64.29]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA29179 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 16:08:26 -0500
Received: by visionware.com (4.1/SMI-4.1)
	id AA20110; Thu, 4 May 95 14:07:36 PDT
Message-Id: <9505042107.AA20110@visionware.com>
Date: Thu, 4 May 95 14:07:36 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pats@visionware.com (Patrick Salsbury)
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
In-Reply-To: <v01510106abcd1df1778c@[193.131.68.112]> (rizvi_r@rednet.co.uk)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

->        I had this problem. Turned out my /usr/lib dir was chmod 111. Doing a
->chmod 555 on it fixed the problem. (People could execute the directory, but
->couldn't read the libraries out of it, so the dir version of ls didn't work.
->Only the built-in version did.
-
-My directory is okay but the library files themselves are almost all no
-execute for the world, you don't have any idea which one in particular it
-is (very long boring listing follows:
-
-ls -aldg lib
-
-drwxr-sr-x 22 bin      bin          3584 Apr 15 12:29 lib
-
-Raza
-
-PS> Do you think I should have execute on for all of them!
-
-Raza Rizvi (rizvi_r@rednet.co.uk)
-RedNet Ltd, High Wycombe, England
-Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374
-
	No, it's just the directory itself. I think the libraries need to be
readable, but not executable. The directory needs to be executable (to access
it) and readable (to find out the names of the libraries in it.)

	Looks like that part of your configuration is fine. Anyone else have
an idea?

Pat
-------------------------------------------------------------------------------
	  Patrick Salsbury 	              SCO/IXI/Visionware           
	Sys Admin/Webmaster                   330 Encinal Street
	Voice: 408-429-4529	             Santa Cruz, CA 95060
     email: pats@visionware.com		       FAX: 408-427-5460	
		      X/UNIX/PC Integration Specialists
  Check out <A HREF="http://www.visionware.com/">The Visionware Homepage</A>

From owner-wu-ftpd@wugate.wustl.edu Thu May  4 17:59:07 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7BjS-0002TLC; Thu, 4 May 95 17:59 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA08544; Thu, 4 May 1995 19:57:29 -0500
Received: from visionware.com (sioux.visionware.COM [132.147.64.29]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA08455 for <wu-ftpd@wugate.wustl.edu>; Thu, 4 May 1995 19:55:32 -0500
Received: by visionware.com (4.1/SMI-4.1)
	id AA27268; Thu, 4 May 95 17:00:52 PDT
Message-Id: <9505050000.AA27268@visionware.com>
Date: Thu, 4 May 95 17:00:52 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pats@visionware.com (Patrick Salsbury)
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Potential patch for hanging sockets
In-Reply-To: <199505031858.NAA20944@academ.com> (sob@academ.com)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

-Date: Wed, 3 May 1995 13:58:27 CDT
-Reply-To: wu-ftpd@wugate.wustl.edu
-Sender: owner-wu-ftpd@wugate.wustl.edu
-From: sob@academ.com (Stan Barber)
-X-Mailer: Mail User's Shell (7.2.5 10/14/92)
-X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
-
-I'd be happy to maintain an official patch site for 2.4 if folks are interested
-in seeing that done.
-
--- 
-Stan   | Academ Consulting Services        |internet: sob@academ.com
-Olan   | For more info on academ, see this |uucp: bcm!academ!sob
-Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.
-
	I would be. I'm still new to patching, and just today I've seen 3
different ones for the hanging connections. (Which I'm happy about, as I've
just developed the problem on my new server. It wasn't much of an issue before
on the old one, but I think we're getting more traffic, now.)

	Are these context diffs just something you'd run through 'patch' or
is there more to it? 

	I'd like to see a patch site. And if 3.x is coming, when would that
be? Any rumors?

Pat
-------------------------------------------------------------------------------
	  Patrick Salsbury 	              SCO/IXI/Visionware           
	Sys Admin/Webmaster                   330 Encinal Street
	Voice: 408-429-4529	             Santa Cruz, CA 95060
     email: pats@visionware.com		       FAX: 408-427-5460	
		      X/UNIX/PC Integration Specialists
  Check out <A HREF="http://www.visionware.com/">The Visionware Homepage</A>

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 06:19:08 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7NHY-0002OhC; Fri, 5 May 95 06:19 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA26630; Fri, 5 May 1995 08:16:53 -0500
Received: from www (www.isr.umich.edu [141.211.126.28]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA26261 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 08:06:34 -0500
Received: by www (5.x/SMI-SVR4)
	id AA02110; Fri, 5 May 1995 09:06:31 -0400
Message-Id: <9505051306.AA02110@www>
Date: Fri, 5 May 1995 09:06:31 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: nhinkle@www.isr.umich.edu (NW Hinkle-DeGroot)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Potential patch for hanging sockets
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Date: Wed, 3 May 1995 13:58:27 CDT
> From: sob@academ.com (Stan Barber)
> To: wu-ftpd@wugate.wustl.edu
> Subject: Re: Potential patch for hanging sockets
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> I'd be happy to maintain an official patch site for 2.4 if folks are interested
> in seeing that done.
> 
> -- 
> Stan   | Academ Consulting Services        |internet: sob@academ.com
> Olan   | For more info on academ, see this |uucp: bcm!academ!sob
> Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

I'm interested in an official patch site. I see a variety of patch levels all
over the net. Is there a list of recommended patches or fixes somewhere?

Thanks.

/Nick
+-------------- "For with much wisdom comes much sorrow; ----------------+
| Nicholas Hinkle-De Groot             http://www.isr.umich.edu/~nhinkle |
| Institute for Social Research, SRC              University of Michigan |
+----------- the more knowledge, the more grief." Ecc 1:18 --------------+

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 07:36:53 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7OUm-0002SjC; Fri, 5 May 95 07:36 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA01093; Fri, 5 May 1995 09:35:34 -0500
Received: from dunix.drake.edu (dunix.drake.edu [204.42.32.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA00914 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 09:32:33 -0500
Received: by dunix.drake.edu (5.57/Ultrix3.0-C)
	id AA05705; Fri, 5 May 95 09:32:25 -0500
Message-Id: <Pine.ULT.3.91.950505092348.5388A-100000@dunix.drake.edu>
Date: Fri, 5 May 1995 09:32:21 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Terry Asher <ta2321s@dunix.drake.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Users can not ftp to their account
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	Emergency!  Help!
	I've put on wu-ftpd-2.4 and anonymous ftp works fine.  I do use
the ftpaccess file.  Now users can not ftp to our machine using their
own username with their password.  I do have passwd-check on, but I
thought that was only for anonymous ftp?  Also, I do not understand
the format of the limit command in the ftpaccess file.  What does the
times format mean?  10 for example?  I'll include the ftpaccess file.

class   all   real,guest,anonymous  *

limit   all   10   Any              /etc/msgs/msg.dead

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             local remote
tar             yes             local remote

log commands anonymous,real
log transfers anonymous,real inbound,outbound

shutdown /etc/shutmsg

passwd-check trivial enforce

email ta2321s@dunix.drake.edu

	Thanks in advance.
	Terry Asher
*******************************************************************************
*  UNIX Administrator                | Yours through INTERNET,                *
*  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
*  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
*  Drake University                  |                                        *
*  2407 Carpenter                    |For the listener who listens in the snow*
*  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
*  (515) 271-3677                    |that is not there and that is there.    *
*       Web home page at http://www.drake.edu/public/ta2321s_home.html        *
*******************************************************************************

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 10:03:30 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7QPv-0002N5C; Fri, 5 May 95 09:39 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA08486; Fri, 5 May 1995 11:37:05 -0500
Received: from macau.ctm.net (macau.ctm.net [202.64.33.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA08275 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 11:34:08 -0500
Received: by macau.ctm.net (4.1/SMI-4.1)
	id AA12673; Sat, 6 May 95 00:25:33 HKT
Message-Id: <9505051625.AA12673@macau.ctm.net>
Date: Sat, 6 May 1995 00:25:32 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: demo2@macau.ctm.net (demo_2)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
In-Reply-To: <9505042107.AA20110@visionware.com> from "Patrick Salsbury" at May 4, 95 02:07:36 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> -My directory is okay but the library files themselves are almost all no
> -execute for the world, you don't have any idea which one in particular it
> -is (very long boring listing follows:
> -
> -ls -aldg lib
> -
> -drwxr-sr-x 22 bin      bin          3584 Apr 15 12:29 lib
> -
> -Raza
> -
> -PS> Do you think I should have execute on for all of them!
> -
> -Raza Rizvi (rizvi_r@rednet.co.uk)
> -RedNet Ltd, High Wycombe, England
> -Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374
> -
> 	No, it's just the directory itself. I think the libraries need to be
> readable, but not executable. The directory needs to be executable (to access
> it) and readable (to find out the names of the libraries in it.)
> 
> 	Looks like that part of your configuration is fine. Anyone else have
> an idea?
> 
> Pat
Except the lib and the command, e.g. ls, you need to make the devive in dir of
[ftp]/dev. The device files are allways necessary, e.g. zero, null.... You can
man the ftpd to read what devices are necessary. To make the devices file, you 
can't cp them from /dev. You should use the command--mknod. If you want the
detail, try to use man mknod.

-- 
=============================================
 ^^^^^       Name: James Leong
<* J *>     email: demo2@macau.ctm.net
 \ v / 
   =        Have a nice day!
==============================================

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 11:37:36 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7RDX-0002Y5C; Fri, 5 May 95 10:31 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA11537; Fri, 5 May 1995 12:24:44 -0500
Received: from zoom.bga.com (zoom.bga.com [198.3.118.20]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA11373 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 12:21:32 -0500
Received: (from starfire@localhost) by zoom.bga.com (8.6.12/8.6.10) id MAA23992 for wu-ftpd@wugate.wustl.edu; Fri, 5 May 1995 12:21:28 -0500
Message-Id: <199505051721.MAA23992@zoom.bga.com>
Date: Fri, 5 May 1995 12:21:21 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Warren T. Macy" <starfire@bga.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: unsubscibe
In-Reply-To: <9505041656.AA01924@pulmonary.ubc.ca> from "Christopher Corman" at May 4, 95 09:56:40 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 	unsubscribe  ccorman
> 
You sent your message to the list, it should be addressed to the listserver
for you to have the desired result.


---
warren

+-----------------------------+---------------------------------------------+
|  Warren Macy                |  What do you call 1,000,000,000,000 lawyers |
|  warren@macy.com            |  chained together at the neck at the bottom |
|  starfire@bga.com           |  of the sea ?         - A good start!       |
+-----------------------------+---------------------------------------------+

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 11:37:51 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7ROS-0003G9C; Fri, 5 May 95 10:42 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA12578; Fri, 5 May 1995 12:40:39 -0500
Received: from cfox.bchs.uh.edu (CFox.BCHS.UH.EDU [129.7.2.104]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA12208 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 12:36:37 -0500
Received: (from michael@localhost) by cfox.bchs.uh.edu (8.6.11/8.6.9) id MAA07825 for wu-ftpd@wugate.wustl.edu; Fri, 5 May 1995 12:35:51 -0500
Message-Id: <199505051735.MAA07825@cfox.bchs.uh.edu>
Date: Fri, 5 May 1995 12:35:50 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Rice <michael@cfox.bchs.uh.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: unsubscibe
In-Reply-To: <199505051721.MAA23992@zoom.bga.com> from "Warren T. Macy" at May 5, 95 12:21:21 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> > 
> > 	unsubscribe  ccorman
> > 
> You sent your message to the list, it should be addressed to the listserver
> for you to have the desired result.
> 

Hah!  Mail to neither listserv nor wu-ftpd-owner nor owner-wu-ftpd
has resulted in an unsubscribe.  I've even tried all the possible (!?)
mail addresses that it could be delivered to (even the one apparent
in the mail header).  But I'm still subscribed.  


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael A. Rice                        mrice@uh.edu 
   University of Houston               
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        "Sometimes I think that the surest sign that 
         intellegent life exists elsewhere in the universe 
         is that none of it has tried to contact us."          -Calvin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 12:38:46 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7TCt-00032kC; Fri, 5 May 95 12:38 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA21070; Fri, 5 May 1995 14:37:41 -0500
Received: from gater3.sematech.org (GATER3.SEMATECH.ORG [192.73.53.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id OAA20870 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 14:35:04 -0500
Received: from GATEV4.SEMATECH.ORG 
	by gater3.sematech.org (8.6.12/F-1.8) with ESMTP
	id OAA08973; Fri, 5 May 1995 14:35:02 -0500
Received: from thecount.eng.sematech.org by SEMATECH.Org (PMDF V4.3-13 #5463)
 id <01HQ5BEUU3KG9JGR01@SEMATECH.Org>; Fri, 05 May 1995 14:34:04 -0500 (CDT)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.12/I-1.8) with SMTP id OAA07789; Fri, 5 May 1995 14:33:53 -0500
Message-Id: <199505051933.OAA07789@thecount.eng.sematech.org>
Date: Fri, 05 May 1995 14:33:52 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: problem - wu-ftpd-2.4, AIX 3.2.5, can't use LIST
Content-transfer-encoding: 7BIT
X-Authentication-Warning: thecount.eng.sematech.org: Host
 localhost.eng.sematech.org didn't use HELO protocol
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have built version 2.4 of WU-ftpd on AIX3.2.5 using both 
the AIX cc and GNU cc, and with both versions I have a similar problem.
The 'ls -l' and 'dir' commands fail for the anonymous user, while
'ls' and 'get' work.

I actually suspect an AIX problem rather than a WU-ftpd problem.
I have built version 2.4 for other AIX systems  before that have
worked fine.

I have installed ftpd in /usr/local/etc, with various versions of ftpaccess.
ftpd works with non-anonymous logins, but when I connect as the anonymous
user the NLIST command fails.  I can 'see' a directory listing using 
the ftp client 'ls' command, but both 'dir' and 'ls -l' fail, as
you can see in the session below.

I am able to retrieve files as the anonymous user.
I do have a copy of '/bin/ls' available in ~ftp.

I built ftpd with:
	build clean
	build aix
A few pointer->integer errors were reported, but nothing that looked
serious.

I did patch my ftp.h file.

Does anyone have any suggestions as to what to do next?

Thanks,
	Quentin

	$ ftp et
	Connected to et
	220 et FTP server (Version wu-2.4(7) Fri May 5 10:51:55 CDT 1995) ready.
	Name (et:fennessq): ftp
	331 Guest login ok, send your complete e-mail address as password.
	Password:
	230 Guest login ok, access restrictions apply.
	ftp> dir
	200 PORT command successful.
fails:	150 Opening ASCII mode data connection for /bin/ls.
fails:	226 Transfer complete.
	ftp> ls -l
	200 PORT command successful.
fails:	150 Opening ASCII mode data connection for /bin/ls.
fails:	226 Transfer complete.
	ftp> ls
works:	200 PORT command successful.
works:	150 Opening ASCII mode data connection for file list.
works:	online
	abstract
	bin
	summary
	.sh_history
	document
	software
	etc
	.rhosts
	.forward
	lib
	usr
	public
	226 Transfer complete.
	ftp> 221 Goodbye.

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:00:36 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7TY8-0003CgC; Fri, 5 May 95 13:00 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA22247; Fri, 5 May 1995 14:59:41 -0500
Received: from dunix.drake.edu (dunix.drake.edu [204.42.32.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA22118 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 14:57:17 -0500
Received: by dunix.drake.edu (5.57/Ultrix3.0-C)
	id AA17955; Fri, 5 May 95 14:57:14 -0500
Message-Id: <Pine.ULT.3.91.950505144203.17445A-100000@dunix.drake.edu>
Date: Fri, 5 May 1995 14:57:11 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Terry Asher <ta2321s@dunix.drake.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Error:  530 Login incorrect was users can't ftp
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	It's me again.  I think I've found the code that prevents users from
ftp'ing into their own account.  It is from the src/ftpd.c file and I quote:

#ifdef ULTRIX_AUTH
        if ((numfails = ultrix_check_pass(passwd, xpasswd)) < 0) {
#else
        /* The strcmp does not catch null passwords! */
        if (pw == NULL || *pw->pw_passwd == '\0' ||
            strcmp(xpasswd, pw->pw_passwd)) {
#endif
            reply(530, "Login incorrect.");

So ultrix_check_pass is not finding the correct encrypted password.  I have
upgrade security level with Ultrix 4.2A.
Anybody with any ideas?
	Terry Asher
*******************************************************************************
*  UNIX Administrator                | Yours through INTERNET,                *
*  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
*  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
*  Drake University                  |                                        *
*  2407 Carpenter                    |For the listener who listens in the snow*
*  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
*  (515) 271-3677                    |that is not there and that is there.    *
*       Web home page at http://www.drake.edu/public/ta2321s_home.html        *
*******************************************************************************

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:28:09 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7STP-0002UTC; Fri, 5 May 95 11:51 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA17640; Fri, 5 May 1995 13:49:42 -0500
Received: from dunix.drake.edu (dunix.drake.edu [204.42.32.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA16906 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 13:38:15 -0500
Received: by dunix.drake.edu (5.57/Ultrix3.0-C)
	id AA14635; Fri, 5 May 95 13:38:11 -0500
Message-Id: <Pine.ULT.3.91.950505132948.14263A-100000@dunix.drake.edu>
Date: Fri, 5 May 1995 13:38:09 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Terry Asher <ta2321s@dunix.drake.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Update on users can't ftp to their account
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	I've had one answer, but that wasn't correct.  It was suggested
that I look at the /etc/shells file to make sure that they were using
a shell that I had defined.  I used my own account with tcsh enabled
and I still couldn't get pass the password prompt with the correct password.
I should have said that I am on Ultrix 4.2A and am using the ftp file
that Digital sent with the operating system.  It is dated Mar 19, 1991
and has 167,936 bytes in the executable file.  Also, the ftpd file that
Digital sent works fine with ftp'ing to a user's account and gladly
accepts their telnet password.  Is the problem with the ftpaccess file?
	Hopelessly mired,
	Terry Asher
*******************************************************************************
*  UNIX Administrator                | Yours through INTERNET,                *
*  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
*  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
*  Drake University                  |                                        *
*  2407 Carpenter                    |For the listener who listens in the snow*
*  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
*  (515) 271-3677                    |that is not there and that is there.    *
*       Web home page at http://www.drake.edu/public/ta2321s_home.html        *
*******************************************************************************

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:28:15 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from camco1.celestial.com by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7SXD-00035nC; Fri, 5 May 95 11:55 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7Re1-0003bfC; Fri, 5 May 95 10:58 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA13515; Fri, 5 May 1995 12:52:31 -0500
Received: from eta.com (sun1.eta.com [192.132.21.100]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA13281 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 12:49:30 -0500
Received: by eta.com (4.1/SMI-4.1)
	id AA06616; Fri, 5 May 95 13:50:24 EDT
Message-Id: <9505051750.AA06616@eta.com>
Date: Fri, 5 May 95 13:50:24 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: chrisa@eta.com (Chris Allamon)
To: wu-ftpd@wugate.wustl.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Same here,
 tried to unsubscribe at listserv and I'm still subscribed

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:28:33 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from camco1.celestial.com by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7SXF-000335C; Fri, 5 May 95 11:55 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7Rmw-0003QBC; Fri, 5 May 95 11:07 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA13969; Fri, 5 May 1995 12:59:58 -0500
Received: from godot.atg.aol.com (godot.atg.aol.com [152.163.100.37]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA13772 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 12:56:27 -0500
Received: by godot.atg.aol.com
	(1.38.193.3/16.2) id AA26998; Fri, 5 May 95 13:50:36 -0400
Message-Id: <199505051756.MAA13772@wugate.wustl.edu>
Date: Fri, 5 May 95 13:50:35 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Hirsh <rbh@aol.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: unsubscibe
In-Reply-To: <199505051735.MAA07825@cfox.bchs.uh.edu>; from "Michael Rice" at May 5, 95 12:35 (noon)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> > > 	unsubscribe  ccorman
> > > 
> > You sent your message to the list, it should be addressed to the listserver
> > for you to have the desired result.
> > 
> 
> Hah!  Mail to neither listserv nor wu-ftpd-owner nor owner-wu-ftpd
> has resulted in an unsubscribe.  I've even tried all the possible (!?)
> mail addresses that it could be delivered to (even the one apparent
> in the mail header).  But I'm still subscribed.  

>From the welcome notice when I first subscribed:

  To get more information on how to use this service, please send the command
  HELP in a line by itself in a mail message to listproc@mail.wustl.edu.

  To signoff from the list, email to listproc@mail.wustl.edu with the
  following request:

                signoff WU-FTPD
  or
                unsubscribe WU-FTPD

Hope this helps,

-- Bob

===============================================================
  Robert Hirsh              |        Internet: rbh@aol.net   
  % America Online          |  America Online: RHirsh        
  8619 Westwood Center Dr.  |           Voice: (703) 448-5039
  Vienna, VA  22182-2285    |             FAX: (703) 883-1514
===============================================================

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:29:13 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7Sz3-0002deC; Fri, 5 May 95 12:24 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA19945; Fri, 5 May 1995 14:22:44 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id OAA19686 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 14:18:32 -0500
Received: from worldcom-18.worldcom.com (worldcom-18.worldcom.com [198.64.193.9]) by worldcom.com (8.6.11/8.6.9) with SMTP id NAA29589 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 13:58:28 -0500
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA1540; Fri, 05 May 95 13:57:37 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  CBB6B108CDD98064862561B3006761A4; Fri,  5 May 95 13:57:36 
Message-Id: <9505052057.AA1540@worldcom-18.worldcom.com>
Date: 5 May 95 13:32:07 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: Michael Rice <michael@cfox.bchs.uh.edu>
Cc: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: unsubscibe
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

For all of you who deleted the auto-reply when you subscribed, here it is.  
Note the last few lines re: unsubscribing:

dct

forwarded msg.......................................
Welcome to WU-FTPD!

  The purpose of this list is to discuss configuration of, enhancements
to, or problems with the wuarchive ftpd.
 
  There is also an wuarchive ftpd announcement list.  You may subscribe
to this list by sending a mail message with a body of 
    SUBSCRIBE WU-FTPD-ANNOUNCE <your full name>
to the list server (listproc@mail.wustl.edu).

Please save this message for future reference.

=============================================================================
The following information was generated by the LISTproc server:

Welcome to list WU-FTPD (wu-ftpd@mail.wustl.edu).
The system has recorded your address as

   Dan_Thorson@notes.seagate.com

and it is required that you send your postings from that address, unless
the list does not require subscription for posting.

For help with any of the lists on mail.wustl.edu, please contact

   listmaster@mail.wustl.edu

For help with this list, send mail to

   WU-FTPD-request@mail.wustl.edu

Please do not send requests to this list; instead direct them to:

   listproc@mail.wustl.edu

The system has assigned you an initial password: 799424995
You may change it by sending the following request to
listproc@mail.wustl.edu:

  set WU-FTPD password 799424995 <new-password>

WARNING: You should NOT use your login password as this is not a secure
mechanism.

This password is to be used when connecting to this server over Internet
for interactive processing of requests (send a 'help live' request for more
information)

To get more information on how to use this service, please send the command
HELP in a line by itself in a mail message to listproc@mail.wustl.edu.

To signoff from the list, email to listproc@mail.wustl.edu with the
following request:

  signoff WU-FTPD
or
  unsubscribe WU-FTPD
 

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:36:31 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7U6o-000373C; Fri, 5 May 95 13:36 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA24509; Fri, 5 May 1995 15:35:31 -0500
Received: from ACPGate.ACP.ORG ([149.28.226.101]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA24286 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 15:31:51 -0500
Received: from ACP-Message_Server by ACPGate.ACP.ORG
	with Novell_GroupWise; Fri, 05 May 1995 16:31:46 -0400
Message-Id: <sfaa52f2.011@ACPGate.ACP.ORG>
Date: Fri, 05 May 1995 16:32:00 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Egan <egan@aps.org>
To: wu-ftpd@wugate.wustl.edu
Subject: getsockname (ftpd): Socket operation on non-socket
X-Mailer: Novell GroupWise 4.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi:

I am trying to install wu-ftpd v2.4 on a Sequent/ptx v2.04.  When anyone
tries to ftp to the server, the error in syslog is "syslog: getpeername
(ftpd): Socket operation on non-socket" and then I get
"syslog:getsockname (ftpd): Socket operation on non-socket"..  I have
created the following files in ~ftp/dev:  tcp, null, zero.  I would appreciate
any help.  Thanks in advance.

Jim Egan

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:50:15 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7UK6-0003DAC; Fri, 5 May 95 13:50 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA25276; Fri, 5 May 1995 15:49:11 -0500
Received: from gater3.sematech.org (GATER3.SEMATECH.ORG [192.73.53.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA25087 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 15:45:59 -0500
Received: from GATEV4.SEMATECH.ORG 
	by gater3.sematech.org (8.6.12/F-1.8) with ESMTP
	id PAA13627; Fri, 5 May 1995 15:45:58 -0500
Received: from thecount.eng.sematech.org by SEMATECH.Org (PMDF V4.3-13 #5463)
 id <01HQ5DWTVLWG9JGQF7@SEMATECH.Org>; Fri, 05 May 1995 15:45:47 -0500 (CDT)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.12/I-1.8) with SMTP id PAA27727; Fri, 5 May 1995 15:45:38 -0500
Message-Id: <199505052045.PAA27727@thecount.eng.sematech.org>
Date: Fri, 05 May 1995 15:45:37 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: problem - wu-ftpd-2.4, AIX 3.2.5, can't use LIST
Content-transfer-encoding: 7BIT
X-Mailer: exmh version 1.6epsilon 4/17/95
X-Authentication-Warning: thecount.eng.sematech.org: Host
 localhost.eng.sematech.org didn't use HELO protocol
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I solved my problem due to some inspiration from Dave Wolfe.  Dave
advised me to run the AIX command 'dump -H' on ~ftp/bin/ls to ensure
I had the correct shared libs.  I emailed Dave and assured him this
was already taken care of.

I decided to be safe and took Dave's suggestion.  I ran 'dump -H'
and dump refused to recognize 'ls.'
I had the correct shared lib -- but I had a SPARC /bin/ls, not an AIX
/bin/ls!   AAAAHHHHHHHHHH!!!!!  I could have finished this project last
week except for my own stupidity!

Thanks to dwolfe@risc.sps.mot.com (Dave Wolfe) and
Brad Christensen for their suggestions.

Quentin

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 13:57:06 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7UQk-0003ANC; Fri, 5 May 95 13:56 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA25616; Fri, 5 May 1995 15:55:24 -0500
Received: from nis.ans.net (nis.ans.net [147.225.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA25510 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 15:53:25 -0500
Received: from iserver.iie.org by nis.ans.net with SMTP id AA16361
  (5.65c/IDA-1.4.4 for <wu-ftpd@wugate.wustl.edu>); Fri, 5 May 1995 16:53:22 -0400
Received: by iserver.iie.org (AIX 3.2/UCB 5.64/4.03)
          id AA11677; Fri, 5 May 1995 16:52:45 -0400
Message-Id: <Pine.A32.3.91.950505165015.10213A-100000@iserver.iie.org>
Date: Fri, 5 May 1995 16:52:44 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ariel Spivakovsky <spiv@iserver.iie.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with DIR command in WU-FTPD 2.4
In-Reply-To: <v01510104abce40ca91b4@[193.131.68.112]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

What platform are you runing on?
Try doing a man ftpd.

This one bugged me for a week.
Good luck 
Ari

On Thu, 4 May 1995, Raza Rizvi wrote:

> I've had a couple of good suggestions now, but still no luck!
> 
> My /usr/ftp/usr/lib contains the libraries I need
> (ld.so,libc.so.1.9,libdl.so.1.0) according to the man pages for ftpd, and
> they are both readable and executable. They are also readable and
> executable in /usr/lib.
> 
> The /usr/ftp/usr and /usr/ftp/usr/lib directories are chmod 555.
> 
> The file /usr/ftp/bin is executable and the file /usr/ftp/bin/ls is
> read/execute.
> 
> WU-FTPD Guest UNIX FTP terminal users issuing a DIR, or Mac FETCH users
> (who issue a DIR unbeknown to them), get no file listing back. They do if
> they issue a LS.
> 
> A transcript is below:
> 
> luggage# ftp ftp.rednet.co.uk
> Connected to ftp.rednet.co.uk.
> 220 luggage FTP server (Version wu-2.4(1) Mon Nov 14 16:01:35 GMT 1994) ready.
> Name (ftp.rednet.co.uk:rizvi_r): user1
> 331 Password required for user1.
> Password:
> 230 User user1 logged in.  Access restrictions apply.
> ftp> ls
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for file list.
> test
> not-so-simple.cf
> 226 Transfer complete.
> 24 bytes received in 0.0062 seconds (3.8 Kbytes/s)
> ftp> dir
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> 226 Transfer complete.
> ftp> quit
> 221 Goodbye.
> 
> I am open to further suggestions and will post a summary to the list (oh
> and this time I will try to make sure that I don't goof up and send the
> reply to any answers BACK to the list :-) )
> 
> Raza
> 
> Raza Rizvi (rizvi_r@rednet.co.uk)
> RedNet Ltd, High Wycombe, England
> Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 14:20:56 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7Unp-0003DBC; Fri, 5 May 95 14:20 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA27203; Fri, 5 May 1995 16:20:03 -0500
Received: from nis.ans.net (nis.ans.net [147.225.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA26917 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 16:16:08 -0500
Received: from iserver.iie.org by nis.ans.net with SMTP id AA09547
  (5.65c/IDA-1.4.4 for <wu-ftpd@wugate.wustl.edu>); Fri, 5 May 1995 17:16:06 -0400
Received: by iserver.iie.org (AIX 3.2/UCB 5.64/4.03)
          id AA06328; Fri, 5 May 1995 17:15:28 -0400
Message-Id: <Pine.A32.3.91.950505171350.10213B-100000@iserver.iie.org>
Date: Fri, 5 May 1995 17:15:28 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ariel Spivakovsky <spiv@iserver.iie.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Users can not ftp to their account
In-Reply-To: <Pine.ULT.3.91.950505092348.5388A-100000@dunix.drake.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Make sure you have an "/etc/shells" file; Some systems don't(AIX).If not 
put one in, and make sure all the users shells are in it.

Cheers
Ari

On Fri, 5 May 1995, Terry Asher wrote:

> 	Emergency!  Help!
> 	I've put on wu-ftpd-2.4 and anonymous ftp works fine.  I do use
> the ftpaccess file.  Now users can not ftp to our machine using their
> own username with their password.  I do have passwd-check on, but I
> thought that was only for anonymous ftp?  Also, I do not understand
> the format of the limit command in the ftpaccess file.  What does the
> times format mean?  10 for example?  I'll include the ftpaccess file.
> 
> class   all   real,guest,anonymous  *
> 
> limit   all   10   Any              /etc/msgs/msg.dead
> 
> readme  README*    login
> readme  README*    cwd=*
> 
> message /welcome.msg            login
> message .message                cwd=*
> 
> compress        yes             local remote
> tar             yes             local remote
> 
> log commands anonymous,real
> log transfers anonymous,real inbound,outbound
> 
> shutdown /etc/shutmsg
> 
> passwd-check trivial enforce
> 
> email ta2321s@dunix.drake.edu
> 
> 	Thanks in advance.
> 	Terry Asher
> *******************************************************************************
> *  UNIX Administrator                | Yours through INTERNET,                *
> *  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
> *  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
> *  Drake University                  |                                        *
> *  2407 Carpenter                    |For the listener who listens in the snow*
> *  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
> *  (515) 271-3677                    |that is not there and that is there.    *
> *       Web home page at http://www.drake.edu/public/ta2321s_home.html        *
> *******************************************************************************
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Fri May  5 16:45:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7X46-0003FcC; Fri, 5 May 95 16:45 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA03305; Fri, 5 May 1995 18:45:03 -0500
Received: from sf1.sf.net (sf1.sf.net [140.174.245.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id SAA03172 for <wu-ftpd@wugate.wustl.edu>; Fri, 5 May 1995 18:42:11 -0500
Received: (from mark@localhost) by sf1.sf.net id QAA00682
  (8.6.10/IDA-1.6); Fri, 5 May 1995 16:42:02 -0700
Message-Id: <Pine.SOL.3.91.950505164014.435B-100000@sf1>
Date: Fri, 5 May 1995 16:42:02 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Spruiell <mark@sf.net>
To: wu-ftpd-users <wu-ftpd@wugate.wustl.edu>
Subject: Not-so-anonymous FTP
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mark@sf1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We're exploring ways to deliver software via FTP.  We don't want to use
anonymous FTP because we need more control and want to track transfers
by username.  But we also don't want to create *real* accounts on our
FTP server if we don't have to.

I've hacked up an ftpd to provide a hybrid real/anonymous account.  It
uses an /etc/ftppasswd file, which looks just like an /etc/passwd
file:

  username:password:uid:gid:gecos:homedir:shell

During the login process, ftpd checks /etc/ftppasswd for the account.
If the account is found and the correct password is entered, ftpd behaves
like anonymous FTP, in that it chroots to the specified home directory.
All of the uids and gids in the /etc/ftppasswd file would be set to the
same harmless account (e.g. nobody/nogroup).

What I like about it:

  * We don't have to create real system accounts, but we still get
    transfer records by username

  * The user is operating in an isolated file-system, a la anonymous
    FTP

  * The /etc/ftppasswd file can be read-write root only, similar to a
    shadow password file

  * We have a library of routines for safely querying and modifying the
    /etc/ftppasswd file

What I don't like about it:

  * It's a hack

  * We have to prepare each account's home directory with all of the
    anonymous-FTP trappings, i.e. /dev, /bin/ls, /usr/lib, etc.

What do you all think?  Is there an easier way that I'm overlooking?

Thanks,

Mark Spruiell
mark@sf.net

From owner-wu-ftpd@wugate.wustl.edu Sat May  6 00:08:12 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7dyB-0003GRC; Sat, 6 May 95 00:08 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA15693; Sat, 6 May 1995 02:07:08 -0500
Received: from gater3.sematech.org ([192.73.53.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id BAA15413 for <wu-ftpd@wugate.wustl.edu>; Sat, 6 May 1995 01:58:10 -0500
Received: from gatev3.sematech.org 
	by gater3.sematech.org (8.6.12/F-1.8) with ESMTP
	id BAA05135; Sat, 6 May 1995 01:58:08 -0500
Received: from thecount.eng.sematech.org by SEMATECH.Org (PMDF V4.3-13 #5463)
 id <01HQ5ZATLUB49JGTAH@SEMATECH.Org>; Sat, 06 May 1995 01:57:58 -0500 (CDT)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.12/I-1.8) with SMTP id BAA04597; Sat, 6 May 1995 01:57:53 -0500
Message-Id: <199505060657.BAA04597@thecount.eng.sematech.org>
Date: Sat, 06 May 1995 01:57:52 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Cc: fq@thecount.eng.sematech.org
Subject: re: Not-so-anonymous FTP
Content-transfer-encoding: 7BIT
X-Authentication-Warning: thecount.eng.sematech.org: Host
 localhost.eng.sematech.org didn't use HELO protocol
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Mark Spruiell <mark@sf.net> asked:
> I've hacked up an ftpd to provide a hybrid real/anonymous account.  It
> uses an /etc/ftppasswd file, which looks just like an /etc/passwd
> file:
> 
>   username:password:uid:gid:gecos:homedir:shell
> 
> During the login process, ftpd checks /etc/ftppasswd for the account.
> If the account is found and the correct password is entered, ftpd behaves
> like anonymous FTP, in that it chroots to the specified home directory.
> All of the uids and gids in the /etc/ftppasswd file would be set to the
> same harmless account (e.g. nobody/nogroup).
> 
> 
> What do you all think?  Is there an easier way that I'm overlooking?

Hi Mark-
	I have similar requirements, and I think the guestgroup option
mentioned in the ftpaccess file will do the job for me.  Of course, I
still have to create real 'heavyweight' account with a real password
entry, and I do have to supply the chrooted universe including
~ftp/bin/ls and shared libraries, etc.

	I still like my approach because I did not have to hack ftpd--
I am using an existing facility.  Below I have compared your pros and
cons with mine:

Mark Spruiell <mark@sf.net> continued:
> What I like about it:
> 
>   * We don't have to create real system accounts, but we still get
>     transfer records by username

I have to create real accounts, but the 'work' necessary is similar--
a *passwd account in a file somewhere.

>   * The user is operating in an isolated file-system, a la anonymous
>     FTP
Ditto.

>   * The /etc/ftppasswd file can be read-write root only, similar to a
>     shadow password file
Ditto.

>   * We have a library of routines for safely querying and modifying the
>     /etc/ftppasswd file
I am using AIX (aches) and it offers some facilities like this.  Other
OS's may lack them.

> What I don't like about it:
>  * It's a hack
Mine isn't-- I am using an existing facility.

> * We have to prepare each account's home directory with all of the
>   anonymous-FTP trappings, i.e. /dev, /bin/ls, /usr/lib, etc.
So do I.

Mark-
	The downside I see to my approach (guestgroup) is that I
am creating multiple UNIX accounts with the attendant security
'possibilities.'  It looks like all you have to worry about are your
modifications to ftpd and their security.

Quentin


From owner-wu-ftpd@wugate.wustl.edu Sat May  6 00:56:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7ejF-0002j3C; Sat, 6 May 95 00:56 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA16632; Sat, 6 May 1995 02:56:02 -0500
Received: from nas03.kpi.edu.tw ([140.127.177.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA16463 for <wu-ftpd@wugate.wustl.edu>; Sat, 6 May 1995 02:50:04 -0500
Received: by nas03.kpi.edu.tw (5.57/Ultrix3.0-C)
	id AA04814; Sat, 6 May 95 15:40:43 +0800
Message-Id: <9505060740.AA04814@nas03.kpi.edu.tw>
Date: Sat, 6 May 95 15:40:43 +0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: b8003042@nas03.kpi.edu.tw (8003042)
To: wu-ftpd@wugate.wustl.edu
Subject: What kind of files
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi all:
I am new here and have some question to ask for help.
I am trying to build an experimental ftp site, it's not not large in disk 
space. So I want mirror some most used files, but I don't have any statistic
number and don't know how to find the information about files most used.
Is there any recommended list?
Thanks.
====================================                                       
= Morpheus                         =
= Dept of Information Engineering  =
= Kaohsiung Polytechnic Institute  =
= Email: b8003042@nas07.kpi.edu.tw =
====================================

From owner-wu-ftpd@wugate.wustl.edu Sat May  6 07:28:59 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7kql-00039vC; Sat, 6 May 95 07:28 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA24858; Sat, 6 May 1995 09:28:13 -0500
Received: from andrew.cmu.edu (ANDREW.CMU.EDU [128.2.10.101]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA24684 for <wu-ftpd@wugate.wustl.edu>; Sat, 6 May 1995 09:21:28 -0500
Received: (from postman@localhost) by andrew.cmu.edu (8.6.12/8.6.12) id KAA02017 for wu-ftpd@wugate.wustl.edu; Sat, 6 May 1995 10:21:25 -0400
Received: via switchmail; Sat,  6 May 1995 10:21:24 -0400 (EDT)
Received: from unix22.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q004/QF.ojesKLy00YUyE0fkVI>;
          Sat,  6 May 1995 10:20:08 -0400 (EDT)
Received: from unix22.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr14/jc7j/.Outgoing/QF.IjesKLK00YUyA53W4G>;
          Sat,  6 May 1995 10:20:07 -0400 (EDT)
Received: from BatMail.robin.v2.14.CUILIB.3.45.SNAP.NOT.LINKED.unix22.andrew.cmu.edu.sun4c.411
          via MS.5.6.unix22.andrew.cmu.edu.sun4c_411;
          Sat,  6 May 1995 10:20:07 -0400 (EDT)
Message-Id: <YjesKLG00YUyI53Vx6@andrew.cmu.edu>
Date: Sat,  6 May 1995 10:20:07 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Jae W. Chang" <jae+@CMU.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Potential patch for hanging sockets
In-Reply-To: <199505031858.NAA20944@academ.com>
References: <199505031858.NAA20944@academ.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

sob@academ.com (Stan Barber) writes:
> I'd be happy to maintain an official patch site for 2.4 if folks are interested
> in seeing that done.

Great, I posted a while ago about a lack of support for patches,
current revisions, etc., and I've got a couple fixes I've made to
contribute, too.

Jae

--------------------------
jae+@cmu.edu 

From owner-wu-ftpd@wugate.wustl.edu Sat May  6 12:05:30 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7pAL-000339C; Sat, 6 May 95 12:05 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA02899; Sat, 6 May 1995 14:04:34 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA02668 for <wu-ftpd@mail.wustl.edu>; Sat, 6 May 1995 13:58:21 -0500
Received: from academ.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQ6OEG0RRK001Z2N@wunet.wustl.edu>; Sat, 06 May 1995 13:56:20 -0500 (CDT)
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9)
 id NAA25017 for wu-ftpd@wunet.wustl.edu; Sat, 6 May 1995 13:58:15 -0500
Message-Id: <199505061858.NAA25017@academ.com>
Date: Sat, 06 May 1995 13:58:15 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wunet.wustl.edu
Subject: archive in place
Content-transfer-encoding: 7BIT
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have set up an archive site for patched wu-ftpd 2.4 at ftp.academ.com.
The URL is: ftp://ftp.academ.com/pub/wu-ftpd

Please get that version and send me patches relative to that version and
I will patch them in and put up more patched versions.

Please contact me directly for the best ways to get the patches to me.

Note: this version only contains patches I did to get it to work correctly
on BSDI.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Sat May  6 17:18:21 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s7u36-0002Z4C; Sat, 6 May 95 17:18 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA10789; Sat, 6 May 1995 19:17:03 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA10646 for <wu-ftpd@wugate.wustl.edu>; Sat, 6 May 1995 19:13:11 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA21646 for wu-ftpd@wugate.wustl.edu; Sat, 6 May 95 17:13:09 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA12742; Sat, 6 May 95 17:13:09 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA24529 for wu-ftpd@wugate.wustl.edu; Sat, 6 May 95 17:13:08 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA03663; Sat, 6 May 95 19:13:06 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA13204; Sat, 6 May 1995 19:13:48 -0500
Message-Id: <9505070013.AA13204@miaow.sps.mot.com>
Date: Sat, 6 May 1995 19:13:48 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Cc: mark@sf.net
Subject: Re: Not-so-anonymous FTP
In-Reply-To: <Pine.SOL.3.91.950505164014.435B-100000@sf1> from "Mark Spruiell" at May 5, 95 04:42:02 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Mark Spruiell writes: ]
> 
> We're exploring ways to deliver software via FTP.  We don't want to use
> anonymous FTP because we need more control and want to track transfers
> by username.  But we also don't want to create *real* accounts on our
> FTP server if we don't have to.
> 
> I've hacked up an ftpd to provide a hybrid real/anonymous account.

Why not just set the shell on regular logons to /bin/true or some such?
(I use a little 3-line C program I call noshell that prints a message
and disconnects, which is a little more polite than just disconnecting.)
That way it's not a *real* account but it allows ftp access. If the
user's group matches a "guest" wu-ftpd account, then they're chrooted
just like anonymous ftp. No hacks, no special files, no real shell
accounts, no unrestricted access. Just be sure to add /bin/true or
/usr/local/bin/noshell to your /etc/shells file if appropriate for your
system.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Sun May  7 09:14:57 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s88yq-0002lNC; Sun, 7 May 95 09:14 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA08442; Sun, 7 May 1995 11:13:12 -0500
Received: from sf1.sf.net (sf1.sf.net [140.174.245.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA07164 for <wu-ftpd@wugate.wustl.edu>; Sun, 7 May 1995 11:04:57 -0500
Received: (from mark@localhost) by sf1.sf.net id JAA02870
  (8.6.10/IDA-1.6); Sun, 7 May 1995 09:04:40 -0700
Message-Id: <Pine.SOL.3.91.950507090021.2778A-100000@sf1>
Date: Sun, 7 May 1995 09:04:39 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Spruiell <mark@sf.net>
To: David Wolfe <david_wolfe@risc.sps.mot.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Not-so-anonymous FTP
In-Reply-To: <9505070013.AA13204@miaow.sps.mot.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mark@sf1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dave,

On Sat, 6 May 1995, Dave Wolfe wrote:

> [ Mark Spruiell writes: ]
> > 
> > We're exploring ways to deliver software via FTP.  We don't want to use
> > anonymous FTP because we need more control and want to track transfers
> > by username.  But we also don't want to create *real* accounts on our
> > FTP server if we don't have to.
> > 
> > I've hacked up an ftpd to provide a hybrid real/anonymous account.
> 
> Why not just set the shell on regular logons to /bin/true or some such?
> (I use a little 3-line C program I call noshell that prints a message
> and disconnects, which is a little more polite than just disconnecting.)
> That way it's not a *real* account but it allows ftp access. If the
> user's group matches a "guest" wu-ftpd account, then they're chrooted
> just like anonymous ftp. No hacks, no special files, no real shell
> accounts, no unrestricted access. Just be sure to add /bin/true or
> /usr/local/bin/noshell to your /etc/shells file if appropriate for your
> system.

I thought about the guestgroup mechanism, but we will probably need to
have a different home directory for each user, which complicates things
quite a bit.  To do it with vanilla wu-ftpd would require a unique
group id and a corresponding guestgroup entry for each new group.  I'm
not sure which alternative is worse...

Mark

From owner-wu-ftpd@wugate.wustl.edu Sun May  7 15:34:18 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8Etv-0002bfC; Sun, 7 May 95 15:34 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA19653; Sun, 7 May 1995 17:33:20 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA19509 for <wu-ftpd@wugate.wustl.edu>; Sun, 7 May 1995 17:29:46 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA17827 for wu-ftpd@wugate.wustl.edu; Sun, 7 May 95 15:29:45 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA17782; Sun, 7 May 95 15:29:44 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA17263 for wu-ftpd@wugate.wustl.edu; Sun, 7 May 95 15:29:43 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA05213; Sun, 7 May 95 17:29:40 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA13198; Sun, 7 May 1995 17:30:24 -0500
Message-Id: <9505072230.AA13198@miaow.sps.mot.com>
Date: Sun, 7 May 1995 17:30:24 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Cc: mark@sf.net
Subject: Re: Not-so-anonymous FTP
In-Reply-To: <Pine.SOL.3.91.950507090021.2778A-100000@sf1> from "Mark Spruiell" at May 7, 95 09:04:39 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Mark Spruiell writes: ]
> On Sat, 6 May 1995, Dave Wolfe wrote:
> > [ Mark Spruiell writes: ]
> > > 
> > > We're exploring ways to deliver software via FTP.  We don't want to use
> > > anonymous FTP because we need more control and want to track transfers
> > > by username.  But we also don't want to create *real* accounts on our
> > > FTP server if we don't have to.
> > > 
> > > I've hacked up an ftpd to provide a hybrid real/anonymous account.
> > 
> > Why not just set the shell on regular logons to /bin/true or some
> > such? If the user's group matches a "guest" wu-ftpd account, then
> > they're chrooted just like anonymous ftp.
> 
> I thought about the guestgroup mechanism, but we will probably need to
> have a different home directory for each user, which complicates things
> quite a bit.  To do it with vanilla wu-ftpd would require a unique
> group id and a corresponding guestgroup entry for each new group.  I'm
> not sure which alternative is worse...

I fail to see how setting up a home ftp directory for each guest user
complicates things more than hacking on wu-ftpd and maintaining a
separate ftppasswd file: you just specify it after a '.' node in the
passwd file, e.g. /ftp/./home/joeuser. wu chroots to /ftp and sets the
cwd of the user as /home/joeuser (relative to the chroot). Generating
unique group ids and entries in the ftpaccess file is as simple as
operating an editor, especially if you use it to write a script to add
users. That's what I did, so it takes one command with a couple of
parameters to add a user.

Let's see, which is worse: hacking on a tried and true program and
introducing who knows what kind of bugs and security holes or using a
simple existing mechanism. Hmmm... tough choice.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 08:46:27 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8V0m-0002XPC; Mon, 8 May 95 08:46 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA11224; Mon, 8 May 1995 10:36:50 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id KAA09113 for <wu-ftpd@mail.wustl.edu>; Mon, 8 May 1995 10:00:00 -0500
Received: from Adonis.Dorm10.NCTU.edu.tw by wunet.wustl.edu
 (PMDF V4.3-10 #8766) id <01HQ98MYOFWW00281O@wunet.wustl.edu>; Mon,
 08 May 1995 09:57:50 -0500 (CDT)
Received: (from jdli@localhost) by Adonis.Dorm10.NCTU.edu.tw (8.6.11/8.6.9)
 id WAA15842 for wu-ftpd@wunet.wustl.edu; Mon, 8 May 1995 22:59:58 +0800
Message-Id: <199505081459.WAA15842@Adonis.Dorm10.NCTU.edu.tw>
Date: Mon, 08 May 1995 22:59:58 +0800 (CST)
Reply-To: jdli@csie.nctu.edu.tw
Sender: owner-wu-ftpd@wugate.wustl.edu
From: =?UNKNOWN?Q?=BEK=A5=CD=B9=DA=A6=BA_=B5L=A8=A5=A5H=B9=EF?=
 <jdli@Adonis.Dorm10.NCTU.edu.tw>
To: wu-ftpd@wunet.wustl.edu
Subject: Smart CD command patch for wu-ftpd 2.4
MIME-version: 1.0
Content-type: text/PLAIN
Content-transfer-encoding: QUOTED-PRINTABLE
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


=09Hi :
=09
=09This is my patch to make ftp users CD easier...
=09It is not optimized, and doesn't have a good algorithm,
=09but at least it works, and I like it so much.
=09This patch is against wu-ftpd-2.4, only ftpd.c was modified.

=3D=3D=3D=3D=3D=3D=3D< cut here >=3D=3D=3D=3D=3D=3D
begin 644 wu-ftpd.2.4-SmartCD.patch
M*BHJ(&9T<&0N8RYO<FEG"5-U;B!$96,@,3@@,34Z,#(Z,S`@,3DY-`HM+2T@
M9G1P9"YC"5-U;B!$96,@,3@@,34Z,#@Z,C$@,3DY-`HJ*BHJ*BHJ*BHJ*BHJ
M*BH**BHJ(#(R,#@L,C(Q,R`J*BHJ"BTM+2`R,C`X+#(S-3`@+2TM+0H@("`@
M("!A8VLH(D1%3$4B*3L*("!]"B`@"BL@"BL@(VEF9&5F(%--05)47T-$"BL@
M"BL@+RH@"BL@("H@(%-M87)T($-$+"!W<FET=3D&5N(&)Y(&ID;&E`8W-I92YN
M8W1U+F5D=3D2YT=3DRP@3F]V+B`R,"`Q.3DT"BL@("H**R`@*B`@5&AI<R!I<R!A
M(')E<&QA8V5M96YT(&9O<B!O<FEG:6YA;"!#1"P@:70@<VAO=3D6QD(&%C=3D"!A
M;&UO<W0@;&EK90HK("`J("!T:&4@9G1P9"!A=3D"!F=3D'`N961U+G1W("A)(&AO
M<&4I("P@>6]U(&%R92!F<F5E;'D@=3D&\@;6]N9&EF>2!I=3D"X**R`@*B`@4&QE
M87-E(&YO=3D&EC92!F;VQL;W=3DI;F<@=3D&AI;F=3DS(&EF('EO=3D2!W86YT('1O(&=
UO
M;F1I9GD@.@HK("`J("`M(%!L96%S92!U<V4@82!B971T97(@86QG;W)I=3D&AM
M(&(G8V]S(&UI;F4@:7,@<W1U<&ED("A)('1H:6YK*0HK("`J("`M(&%N9"!P
M;&5A<V4@;F]T:6-E('1H92!O=3DF5R:&5A9"P@;65M;W)Y('5S96%G92!A;F0@
M<&5R9F]R;6%N8V4N"BL@("H@("T@06YD+"!P;&5A<V4@<V5N9"!A('!A=3D&-H
M('1O(&UE+"!T:&%N:W,@82!L;W0@(2$@("`Z+2D**R`@*@HK("`J+PHK(`HK
M(&-H87(@*G-T<G-T<FDH8VAA<B`J<W1R+"!C:&%R("IW;W)D*0HK('L**R`@
M8VAA<B!T;7!?<W1R6TU!6%!!5$A,14X@*R`Q72P@=3D&UP7W=3DO<F1;34%84$%4
M2$Q%3B`K(#%=3D+"`J8W`["BL@(&EN=3D"!I.PHK("`**R`@9F]R("AI/3`[(&D@
M/"!S=3D')L96XH<W1R*3L@:2LK*2!["BL@("`@=3D&UP7W-T<EMI72`]('1O=3D7!P
M97(H<W1R6VE=3D*3L**R`@?0HK("!F;W(@*&D],#L@:2`\('-T<FQE;BAW;W)D
M*3L@:2LK*2!["BL@("`@=3D&UP7W=3DO<F1;:5T@/2!T;W5P<&5R*'=3DO<F1;:5TI
M.PHK("!]"BL@('1M<%]S=3D');<W1R;&5N*'-T<BE=3D(#T@=3D&UP7W=3DO<F1;<W1R
M;&5N*'=3DO<F0I72`]("=3D<,"<["BL@(&EF("@H8W`@/2!S=3D')S=3D'(H=3D&UP7W=
-T
M<BP@=3D&UP7W=3DO<F0I*2`A/2!.54Q,*2!["BL@("`@<F5T=3D7)N("@H8VAA<B`J
M*2AS=3D'(@*R`H8W`@+2!T;7!?<W1R*2DI.PHK("!]"BL@(')E=3D'5R;B`H*&-H
M87(@*BD@3E5,3"D["BL@?0HK(`HK(&-W9"AC:&%R("IP871H*0HK('L**R`@
M("`@97AT97)N(&EN=3D"!M871C:"AC:&%R("IS+"!C:&%R("IP*3L**R`@("`@
M<W1R=3D6-T(&%C;&UE;6)E<B`J96YT<GD@/2!.54Q,.PHK("`@("!C:&%R(&-D
M<&%T:%M-05A0051(3$5.("L@,5TL(&1I<FYA;65;34%84$%42$Q%3B`K(#%=3D
M.PHK("`@("!$25(@*F1I<G`@/2!.54Q,.PHK("`@("!C:&%R('!A<W,Q7V-D
M<&%T:%M-05A0051(3$5.("L@,5TL('!A<W,R7V-D<&%T:%M-05A0051(3$5.
M("L@,5TL("IT;7!?8W`["BL@("`@(&EN=3D"!P87-S,5]P;VEN=3D"P@<&%S<S)?
M<&]I;G0L('1M<%]P;VEN=3D#L**R`**R`C:69D968@2$%615]$25)%3E0**R`@
M("`@<W1R=3D6-T(&1I<F5N=3D"`J9&ER.PHK("-E;'-E"BL@("`@('-T<G5C=3D"!D
M:7)E8W0@*F1I<CL**R`C96YD:68**R`**R`**R`C:69D968@2$%615]'151#
M5T0**R`@("`@97AT97)N(&-H87(@*F=3DE=3D&-W9"@I.PHK("-E;'-E"BL@("`@
M(&5X=3D&5R;B!C:&%R("IG971W9"AC:&%R("HI.PHK("-E;F1I9@HK(`HK("`@
M("!I9B`H8VAD:7(H<&%T:"D@/"`P*2!["BL@(VEF9&5F($A!5D5?1T540U=3D$
M"BL@"6=3DE=3D&-W9"AD:7)N86UE+"!-05A0051(3$5.*3L**R`C96QS90HK(`EG
M971W9"AD:7)N86UE*3L**R`C96YD:68**R`)+RH**R`)("H@57-E('1W;RUP
M87-S(&%L9V]R:71H;0HK(`D@*B!087-S(&]N92P@8V%S92US96YS:71I=3DF4*
M*R`)("H@4&%S<R!T=3DV\L(&-A<V4M:6YS96YS:71I=3DF4**R`)("HO"BL@"2`@
M"BL@"6EF("@H9&ER<"`](&]P96YD:7(H9&ER;F%M92DI("$]($Y53$PI('L*
M*R`)("`@('!A<W,Q7W!O:6YT(#T@<&%S<S)?<&]I;G0@/2`Q-S`X-#L@("\J
M(%=3DH>2`Q-S`X-"`_"BL@"2`@("`)"0D)"2`@($UY(%-C:&]O;"!)1"!I<R`X
M,3$W,#@T"BL@"2`@("`)"0D)"2`@($UA:V4@:70@/B`P(&ES(&9I;F4@*B\*
M*R`)("`@('=3DH:6QE("@H9&ER(#T@<F5A9&1I<BAD:7)P*2D@(3T@3E5,3"D@
M>PHK(`D@("`@("`@("\J(%!A<W,@;VYE("HO"BL@"2`@("`@("`@:68@*"@H
M=3D&UP7V-P(#T@<W1R<W1R*&1I<BT^9%]N86UE+"!P871H*2D@(3T@3E5,3"D*
M*R`)"2`@("`F)B`H*'1M<%]P;VEN=3D"`]("AI;G0I("AT;7!?8W`@+2!D:7(M
M/F1?;F%M92DI(#P@<&%S<S%?<&]I;G0I*2!["BL@"2`@("`@("`@("!P87-S
M,5]P;VEN=3D"`]('1M<%]P;VEN=3D#L**R`)("`@("`@("`@('-T<F-P>2AP87-S
M,5]C9'!A=3D&@L(&1I<BT^9%]N86UE*3L**R`)("`@("`@("!]"BL@"2`@("`@
M("`@+RH@4&%S<R!T=3DV\@*B\**R`)("`@("`@("!I9B`H*"AT;7!?8W`@/2!S
M=3D')S=3D')I*&1I<BT^9%]N86UE+"!P871H*2D@(3T@3E5,3"D**R`)"2`@("`F
M)B`H*'1M<%]P;VEN=3D"`]("AI;G0I("AT;7!?8W`@+2!D:7(M/F1?;F%M92DI
M(#P@<&%S<S)?<&]I;G0I*2!["BL@"2`@("`@("`@("!P87-S,E]P;VEN=3D"`]
M('1M<%]P;VEN=3D#L**R`)("`@("`@("`@('-T<F-P>2AP87-S,E]C9'!A=3D&@L
M(&1I<BT^9%]N86UE*3L**R`)("`@("`@("!]"BL@"2`@("!]"BL@"7T**R`)
M*'9O:60I(&-L;W-E9&ER*&1I<G`I.PHK(`HK(`ET;7!?8W`@/2`H8VAA<B`J
M*2!.54Q,.PHK(`EI9B`H<&%S<S%?<&]I;G0@(3T@,3<P.#0I("\J(#$W,#@T
M(&UE86YS(&YO=3D&AI;F<@8G5T(&UY('-C:&]O;"!I9"`J+PHK(`D@('1M<%]C
M<"`]('!A<W,Q7V-D<&%T:#L**R`)96QS92!I9B`H<&%S<S)?<&]I;G0@(3T@
M,3<P.#0I"BL@"2`@=3D&UP7V-P(#T@<&%S<S)?8V1P871H.PHK(`HK(`EI9B`H
M=3D&UP7V-P("8F("AC:&1I<BAT;7!?8W`I(#X](#`I*2!["BL@"2`@<VAO=3DU]M
M97-S86=3DE*#(U,"P@0U]71"D["BL@"2`@<VAO=3DU]R96%D;64H,C4P+"!#7U=3D$
M*3L**R`)("!R97!L>2@R-3`L(")396%R8VAI;F<@2V5Y.B!<(B5S7"(N($-H
M86YG92!T;R!A;B!A<'!R;W!R:6%T92!D:7)E8W1O<GD@7"(E<UPB+B(L('!A
M=3D&@L('1M<%]C<"D["BL@"2`@<F5T=3D7)N.PHK(`E]"BL@"0HK("`@("`@("`@
M+RH@86QI87,@8VAE8VMI;F<@*B\**R`@("`@("`@('=3DH:6QE("AG971A8VQE
M;G1R>2@B86QI87,B+"`F96YT<GDI("8F($%21S`@)B8@05)',2`A/2!.54Q,
M*2!["BL@("`@("`@("`@("`@:68@*"%S=3D')C87-E8VUP*$%21S`L('!A=3D&@I
M*2![(`HK("`@("`@("`@("`@("`@("!I9B`H8VAD:7(H05)',2D@/"`P*0HK
M("`@("`@("`@("`@("`@("`@("`@<&5R<F]R7W)E<&QY*#4U,"P@<&%T:"D[
M"BL@("`@("`@("`@("`@("`@(&5L<V4@>PHK("`@("`@("`@("`@("`@("`@
M("`@<VAO=3DU]M97-S86=3DE*#(U,"P@0U]71"D["BL@("`@("`@("`@("`@("`@
M("`@("!S:&]W7W)E861M92@R-3`L($-?5T0I.PHK(`D)("`@(')E<&QY*#(U
M,"P@(D-H86YG92!A;&EA<R!T;R!T:&4@9&ER96-T;W)Y(%PB)7-<(BXB+"!P
M871H*3L**R`@("`@("`@("`@("`@("`@?0HK("`@("`@("`@("`@("`@("!R
M971U<FX["BL@("`@("`@("`@("`@?0HK("`@("`@("`@?0HK("`@("`O*B!C
M:&5C:R!F;W(@(F-D<&%T:"(@9&ER96-T;W)I97,N("HO"BL@("`@("`@("!E
M;G1R>2`]("AS=3D')U8W0@86-L;65M8F5R("HI($Y53$P["BL@("`@("`@("!W
M:&EL92`H9V5T86-L96YT<GDH(F-D<&%T:"(L("9E;G1R>2D@)B8@05)',"`A
M/2!.54Q,*2!["BL@("`@("`@("!S=3D')C<'DH8V1P871H+$%21S`I.PHK("`@
M("`@("`@<W1R8V%T*&-D<&%T:"PB+R(I.PHK("`@("`@("`@<W1R8V%T*&-D
M<&%T:"P@<&%T:"D["BL@("`@("`@("`@("`@:68@*&-H9&ER*&-D<&%T:"D@
M/CT@,"D@>PHK("`@("`@("`@("`@("`@("!S:&]W7VUE<W-A9V4H,C4P+"!#
M7U=3D$*3L**R`@("`@("`@("`@("`@("`@<VAO=3DU]R96%D;64H,C4P+"!#7U=3D$
M*3L**R`)"7)E<&QY*#(U,"P@(D-H86YG92!C9'!A=3D&@@=3D&\@=3D&AE(&1I<F5C
M=3D&]R>2!<(B5S7"(N(BP@<&%T:"D["BL@("`@("`@("`@("`@("`@(')E=3D'5R
M;CL**R`@("`@("`@("`@("!]"BL@("`@("`@("!]"BL@"7)E<&QY*#(U,"P@
M(E5N86)L92!T;R!L;V-A=3D&4@86X@87!P<F]P<FEA=3D&4@9&ER96-T;W)Y(&9O
M<B!<(B5S7"(@:6X@7"(E<UPB+B(L('!A=3D&@L(&1I<FYA;64I.PHK("`@("!]
M(&5L<V4@>PHK("`@("`@("`@<VAO=3DU]M97-S86=3DE*#(U,"P@0U]71"D["BL@
M("`@("`@("!S:&]W7W)E861M92@R-3`L($-?5T0I.PHK(`ER97!L>2@R-3`L
M(")#:&%N9V4@97AA8W1L>2!T;R!T:&4@9&ER96-T;W)Y(%PB)7-<(BXB+"!P
M871H*3L**R`@("`@?0HK('T**R`**R`C96QS92`O*B!O<FEG:6YA;"!#1"!#
M3TU-04Y$("HO"BL@"B`@8W=3DD*&-H87(@*G!A=3D&@I"B`@>PH@("`@("!S=3D')U
M8W0@86-L;65M8F5R("IE;G1R>2`]($Y53$P["BHJ*BHJ*BHJ*BHJ*BHJ*@HJ
M*BH@,C(T-RPR,C4R("HJ*BH*+2TM(#(S.#0L,C,Y,2`M+2TM"B`@("`@("`@
M("!A8VLH(D-71"(I.PH@("`@("!]"B`@?0HK(`HK("-E;F1I9B`O*B!E;F1I
K9B!334%25%]#1"`J+PH@(`H@(&UA:V5D:7(H8VAA<B`J;F%M92D*("!["F1I
`
end
=3D=3D=3D=3D=3D=3D=3D=3D< cut here >=3D=3D=3D=3D=3D=3D=3D=3D
--=20

                                           =A7=F5 =AB=D8 =B9F  (Adoni=
s) =A5=E6=A4j=B8=EA=A4u
                                           Mail: jdli@csie.nctu.edu.t=
w

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 09:19:12 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8VWV-00038GC; Mon, 8 May 95 09:19 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA13709; Mon, 8 May 1995 11:13:15 -0500
Received: from pixelnet.pixel.com.mx (pixelnet.pixel.com.mx [192.100.203.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA09745 for <wu-ftpd@wugate.wustl.edu>; Mon, 8 May 1995 10:11:17 -0500
Received: from tesla.pixel.com.mx by pixelnet.pixel.com.mx with SMTP (5.65/1.2-eef)
	id AA16781; Mon, 8 May 95 09:11:36 -0500
Message-Id: <9505081411.AA16781@pixelnet.pixel.com.mx>
Date: Mon, 8 May 95 09:11:36 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: lhernand@pixelnet.pixel.com.mx
To: wu-ftpd@wugate.wustl.edu
Subject: anonymous FTP - Under SCO 3.2
X-Mailer: AIR Mail 3.X (SPRY, Inc.)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	Hi, Someone can help me :
	how can startup a wu-ftp under SCO UNIX
	my interest is annonymous ftp 
	I have the wu-ftp for SCO (compiled) but I don't know
	how to work it and what I needs to do.

	Tanks in advance

Luis Enrique Hernandez Bravo
lhernand@pixelnet.pixel.com.mx
Monterrey, N.L. Mexico
(8) 335-8166
(8) 335-6498

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 10:55:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8X1w-00031dC; Mon, 8 May 95 10:55 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA21512; Mon, 8 May 1995 12:39:39 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA17446 for <wu-ftpd@wugate.wustl.edu>; Mon, 8 May 1995 11:59:17 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA20611 for wu-ftpd@wugate.wustl.edu; Mon, 8 May 95 09:58:57 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA28833; Mon, 8 May 95 09:58:54 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA27680 for wu-ftpd@wugate.wustl.edu; Mon, 8 May 95 09:58:53 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA09171; Mon, 8 May 95 11:58:50 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA19960; Mon, 8 May 1995 11:59:35 -0500
Message-Id: <9505081659.AA19960@miaow.sps.mot.com>
Date: Mon, 8 May 1995 11:59:35 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chown command, etc for wuftpd?
In-Reply-To: <199505081531.LAA19297@garnet.engin.swarthmore.edu> from "Ye He" at May 8, 95 11:31:51 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Ye He writes: ]
> 
> Is it so that if I put more in ~ftp/bin, then an ftp user can use
> more, and the same thing holds for chown, etc?  However without
> more in ~ftp/bin, I can still do "get file |more", and with chown
> there, I still cannot do chown (however chmod IS recognized by
> wuftpd).  Could someone tell me what the relationship between the
> system commands and the wuftpd commands? If I want an ftp user to 
> be able to chown his or her files, what should I do?  Thanks much.

I don't find a chown anywhere in wu-ftpd but it'd be a big security
problem to allow ftp to chown files. Most systems don't allow anyone
other than root to chown a file anyway. If you set up guest logons
instead of anonymous ftp, each user runs as themselves and owns all
files they create.

As for the relationship between executables in the chroot environment
and wu-ftpd commands, wu uses some external (to itself) command
processors, e.g. ls, tar, gzip, compress (all but ls are specified in
the ftpconversions file); others present can be accessed via the 'site
exec file' command.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 11:33:28 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8XcO-0003BGC; Mon, 8 May 95 11:33 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA24624; Mon, 8 May 1995 13:24:52 -0500
Received: from graphon.com (graphon.com [204.188.153.8]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA24014 for <wu-ftpd@wugate.wustl.edu>; Mon, 8 May 1995 13:15:27 -0500
Received: by graphon.com (Smail3.1.28.1 #25)
	id m0s8XPD-00015BC; Mon, 8 May 95 11:19 PDT
Message-Id: <Pine.LNX.3.91.950508111533.8467C-100000@aurica.graphon.com>
Date: Mon, 8 May 1995 11:19:42 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Troy Morrison <troy@aurica.graphon.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: chown command, etc for wuftpd?
In-Reply-To: <9505081659.AA19960@miaow.sps.mot.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 8 May 1995, Dave Wolfe wrote:

> [ Ye He writes: ]
> > 
> > Is it so that if I put more in ~ftp/bin, then an ftp user can use
> > more, and the same thing holds for chown, etc?  However without
> > more in ~ftp/bin, I can still do "get file |more", and with chown
> > there, I still cannot do chown (however chmod IS recognized by
> > wuftpd).  Could someone tell me what the relationship between the
> > system commands and the wuftpd commands? If I want an ftp user to 
> > be able to chown his or her files, what should I do?  Thanks much.

Realize that the "chmod" you are using is being provided by the ftpd and 
*not* the ~ftp/bin/chmod program you installed.  Similarly, the more 
command you're running executes on the machine running ftp, NOT the 
server running ftpd.

As far as "how to let an ftp user chown his or her files", I can only 
suggest, as Dave Wolf did, looking into the "site exec command" syntax 
(although you may have problems, as Dave pointed out, because usually 
only root can chown files).

Troy

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 11:41:02 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8VxX-0003H0C; Mon, 8 May 95 09:47 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA15553; Mon, 8 May 1995 11:35:50 -0500
Received: from garnet.engin.swarthmore.edu (garnet.engin.swarthmore.edu [130.58.71.17]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id KAA11198 for <wu-ftpd@wugate.wustl.edu>; Mon, 8 May 1995 10:36:35 -0500
Received: (from he@localhost) by garnet.engin.swarthmore.edu (8.6.8/8.6.6) id LAA19297 for wu-ftpd@wugate.wustl.edu; Mon, 8 May 1995 11:31:52 -0400
Message-Id: <199505081531.LAA19297@garnet.engin.swarthmore.edu>
Date: Mon, 8 May 1995 11:31:51 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ye He <he@engin.swarthmore.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: chown command, etc for wuftpd?
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Howdy,
Is it so that if I put more in ~ftp/bin, then an ftp user can use
more, and the same thing holds for chown, etc?  However without
more in ~ftp/bin, I can still do "get file |more", and with chown
there, I still cannot do chown (however chmod IS recognized by
wuftpd).  Could someone tell me what the relationship between the
system commands and the wuftpd commands? If I want an ftp user to 
be able to chown his or her files, what should I do?  Thanks much.

--
Ye

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 11:42:14 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8WSk-0003JpC; Mon, 8 May 95 10:19 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA17955; Mon, 8 May 1995 12:04:31 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA13154 for <wu-ftpd@mail.wustl.edu>; Mon, 8 May 1995 11:05:56 -0500
Received: from academ.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQ9AY91HIO0027CU@wunet.wustl.edu>; Mon, 08 May 1995 11:03:49 -0500 (CDT)
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id LAA02189; Mon,
 8 May 1995 11:05:09 -0500
Message-Id: <199505081605.LAA02189@academ.com>
Date: Mon, 08 May 1995 11:05:09 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: jdli@csie.nctu.edu.tw, wu-ftpd@wunet.wustl.edu
Subject: Re: Smart CD command patch for wu-ftpd 2.4
In-Reply-To: =?UNKNOWN?Q?=BEK=A5=CD=B9=DA=A6=BA_=B5L=A8=A5=A5H=B9=EF?=
 <jdli@Adonis.Dorm10.NCTU.edu.tw> "Smart CD command patch for wu-ftpd 2.4" (May
 8, 10:59pm)
Content-transfer-encoding: 7BIT
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Your patch suggestion is noted.
Thanks

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Mon May  8 12:34:24 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8YZO-0003ANC; Mon, 8 May 95 12:34 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA28322; Mon, 8 May 1995 14:23:58 -0500
Received: from dunix.drake.edu (dunix.drake.edu [204.42.32.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA27913 for <wu-ftpd@wugate.wustl.edu>; Mon, 8 May 1995 14:17:29 -0500
Received: by dunix.drake.edu (5.57/Ultrix3.0-C)
	id AA16212; Mon, 8 May 95 14:17:28 -0500
Message-Id: <Pine.ULT.3.91.950508141411.16104A-100000@dunix.drake.edu>
Date: Mon, 8 May 1995 14:17:26 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Terry Asher <ta2321s@dunix.drake.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Error: 530 Login incorrect was users can't ftp (fwd)
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	I have wu-ftpd-2.4 and it is working correctly for anonymous ftp
users, but will not let users ftp to their own account.
        Several people have suggested the /etc/shells file, but that is
not the answer because I have Ultrix 4.2A and I have enough different
shells in that file to cover every shell.
	I think I've found the code that prevents users from
ftp'ing into their own account.  It is from the src/ftpd.c file and I quote:

#ifdef ULTRIX_AUTH
        if ((numfails = ultrix_check_pass(passwd, xpasswd)) < 0) {
#else
        /* The strcmp does not catch null passwords! */
        if (pw == NULL || *pw->pw_passwd == '\0' ||
            strcmp(xpasswd, pw->pw_passwd)) {
#endif
            reply(530, "Login incorrect.");

So ultrix_check_pass is not finding the correct encrypted password.  I have
upgrade security level with Ultrix 4.2A.
Anybody with any ideas?  Should I just comment this out and re-compile?
	Terry Asher
*******************************************************************************
*  UNIX Administrator                | Yours through INTERNET,                *
*  Dial Center for Computer Sciences | Terry Asher  <TA2321S@ACAD.DRAKE.EDU>  *
*  Academic Computing Services       | UNIX-INTERNET<TA2321S@DUNIX.DRAKE.EDU> *
*  Drake University                  |                                        *
*  2407 Carpenter                    |For the listener who listens in the snow*
*  Des Moines, Iowa  50311  USA      |and nothing himself, beholds the nothing*
*  (515) 271-3677                    |that is not there and that is there.    *
*       Web home page at http://www.drake.edu/public/ta2321s_home.html        *
*******************************************************************************


From owner-wu-ftpd@wugate.wustl.edu Tue May  9 06:10:59 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8p3t-0002XjC; Tue, 9 May 95 06:10 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA06868; Tue, 9 May 1995 08:07:51 -0500
Received: from rspac.ivv.nasa.gov (rspac.ivv.nasa.gov [129.164.40.100]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id HAA06490 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 07:58:25 -0500
Received: from tigger ([129.164.40.111]) by rspac.ivv.nasa.gov (8.6.9/8.6.9) with SMTP id IAA03616 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 08:00:48 -0400
Message-Id: <199505091200.IAA03616@rspac.ivv.nasa.gov>
Date: Tue, 9 May 1995 08:00:48 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jlang@rspac.ivv.nasa.gov (Janice Lang)
To: wu-ftpd@wugate.wustl.edu
Subject: Not so anonymous ftp
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jlang@rspac.ivv.nasa.gov
X-Mailer: <PC Eudora Version 1.4>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have attempted to use the guestgroup facility in wu-ftpd running on solaris
2.4.  I have set up the user as a guest in the ftpaccess file.  I have created
a 'real account' for the user as well as an account within the ftp group and
passwd files.  When I attempt to log in as that user, I get the following error:

        550 Can't set group privileges

I had a suggestion that perhaps the directory before or after the /./ 
doesn't exist but I have ensured that it does.  The suggestion also included 
the possibility that I don't have the /./ in the password file but I have 
ensured that this is also not the case.  

Also I had a suggestion that perhaps my permissions are not set correctly.  I
have reviewed them and think that they are correct but perhaps they are not.  

I will attach the relevant part of my ftpaccess file, my passwd entry, and a 
directory listing.  If anybody has any more suggestions, I would greatly
appreciate hearing them. 

ftpaccess file:

        class local real *       
        class anon anonymous *
        class jht guest *
 
        limit anon 25 Any              /apps/wu-ftpd-2.4/msgs/msg.toomany
 
        guestgroup jht
         
        loginfails 3


/etc/passwd file entry:

   jht:x:202:202:Guest FTP Account:/home/ftp/pub/./home/ftp/pub/jht:/bin/false

directory listing:
/
drwxr-xr-x  16 root     root         512 May  5 11:27 home

./home
dr-xr-xr-x   9 root     other        512 May  9 08:49 ftp  

./ftp
dr-xr-xr-x   9 root     other        512 May  9 08:45 .                         
drwxr-xr-x  16 root     root         512 May  5 11:27 ..
d--x--x--x   2 root     other        512 Apr  3 09:51 bin
d--x--x--x   2 root     other        512 Apr  3 09:27 dev
d--x--x--x   2 root     other        512 Mar 21 11:48 devices
-rw-r--r--   1 root     other          0 May  9 08:45 dir.txt
d--x--x--x   2 root     other        512 Apr 28 15:56 etc
dr-xr-xr-x   2 root     other        512 Mar 20 11:09 msgs
drwxrwxrwx   7 root     other        512 May  8 14:21 pub
d--x--x--x   3 root     other        512 Apr  3 10:57 usr      

./pub:
total 16                                                                        
drwxrwxrwx   7 root     other        512 May  8 14:21 .
dr-xr-xr-x   9 root     other        512 May  9 08:45 ..
drwxr-xr-x   2 root     other        512 May  8 14:16 docs
d-wx-wx-wx   2 root     other        512 May  8 14:10 incoming
drwxr-xr-x   2 ftp      jht          512 May  8 14:22 jht
drwxrwxr-x   5 ftp      ftp         1536 May  8 21:10 stratis
drwxr-xr-x   5 root     other        512 May  8 14:12 utils  


Thanks in advance,
Janice Lang
BDM Federal Inc.
NASA IVV Facility
Fairmont WV 26505

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 06:26:37 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8pJ2-0003DmC; Tue, 9 May 95 06:26 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07709; Tue, 9 May 1995 08:24:07 -0500
Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07515 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 08:21:19 -0500
Received: from gaia.cs.utwente.nl by utrhcs.cs.utwente.nl (5.0/csrelayMX-SVR4_1.1tmp/RB)
	id AA18351; Tue, 9 May 1995 15:21:15 --100
Received: from countach.cs.utwente.nl by gaia.cs.utwente.nl (4.1/RBCS-2.2P)
	id AA00225; Tue, 9 May 95 15:21:10 +0200
Received: by countach.cs.utwente.nl (5.x/SMI-SVR4)
	id AA19901; Tue, 9 May 1995 15:21:12 +0200
Message-Id: <9505091321.AA19901@countach.cs.utwente.nl>
Date: Tue, 9 May 1995 15:21:12 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ronald.Hello@cs.utwente.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Not so anonymous ftp
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

rh>
rh>
rh>/etc/passwd file entry:
rh>
rh>   jht:x:202:202:Guest FTP Account:/home/ftp/pub/./home/ftp/pub/jht:/bin/false

jht:x:202:202:Guest FTP Account:/home/ftp/./pub/jht:/bin/false
                                ^^^^^^^^^
                                chroot part
                                           ^^^^^^^^
                                           cd part

/etc/group:
jht:*:202:

rh>
rh>directory listing:
rh>/
rh>drwxr-xr-x  16 root     root         512 May  5 11:27 home
rh>
rh>./home
rh>dr-xr-xr-x   9 root     other        512 May  9 08:49 ftp  
rh>
rh>./ftp
rh>dr-xr-xr-x   9 root     other        512 May  9 08:45 .                         
rh>drwxr-xr-x  16 root     root         512 May  5 11:27 ..
rh>d--x--x--x   2 root     other        512 Apr  3 09:51 bin
rh>d--x--x--x   2 root     other        512 Apr  3 09:27 dev
rh>d--x--x--x   2 root     other        512 Mar 21 11:48 devices
rh>-rw-r--r--   1 root     other          0 May  9 08:45 dir.txt
rh>d--x--x--x   2 root     other        512 Apr 28 15:56 etc
rh>dr-xr-xr-x   2 root     other        512 Mar 20 11:09 msgs
rh>drwxrwxrwx   7 root     other        512 May  8 14:21 pub
rh>d--x--x--x   3 root     other        512 Apr  3 10:57 usr      
rh>
rh>./pub:
rh>total 16                                                                        
rh>drwxrwxrwx   7 root     other        512 May  8 14:21 .
rh>dr-xr-xr-x   9 root     other        512 May  9 08:45 ..
rh>drwxr-xr-x   2 root     other        512 May  8 14:16 docs
rh>d-wx-wx-wx   2 root     other        512 May  8 14:10 incoming
rh>drwxr-xr-x   2 ftp      jht          512 May  8 14:22 jht
rh>drwxrwxr-x   5 ftp      ftp         1536 May  8 21:10 stratis
rh>drwxr-xr-x   5 root     other        512 May  8 14:12 utils  
rh>
rh>
rh>Thanks in advance,
rh>Janice Lang
rh>BDM Federal Inc.
rh>NASA IVV Facility
rh>Fairmont WV 26505
rh>
rh>

Hope this helps,

Ronald.

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 07:39:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8pfo-0003AhC; Tue, 9 May 95 06:50 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA09136; Tue, 9 May 1995 08:47:02 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA08881 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 08:42:58 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA19389 for wu-ftpd@wugate.wustl.edu; Tue, 9 May 95 06:42:57 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA13293; Tue, 9 May 95 06:42:56 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA01423 for wu-ftpd@wugate.wustl.edu; Tue, 9 May 95 06:42:54 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA13562; Tue, 9 May 95 08:42:52 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA14398; Tue, 9 May 1995 08:43:37 -0500
Message-Id: <9505091343.AA14398@miaow.sps.mot.com>
Date: Tue, 9 May 1995 08:43:37 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Not so anonymous ftp
In-Reply-To: <199505091200.IAA03616@rspac.ivv.nasa.gov> from "Janice Lang" at May 9, 95 08:00:48 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Janice Lang writes: ]
> /etc/passwd file entry:
> 
>    jht:x:202:202:Guest FTP Account:/home/ftp/pub/./home/ftp/pub/jht:/bin/false

[ I wrote: ]
| 1)  the directory after the "/./" in the home directory specified in
                    ^^^^^^^^^^^^^^^
|     /etc/passwd doesn't exist in the chroot environment and thus wu-ftpd
                                ^^^^^^^^^^^^^^^^^^^^^^^^^
|     can't chdir to it,

Once wu-ftpd chroots (change root), the directory specified in the
chroot call becomes the root, i.e. "/", thus nothing above that level is
visible. Your home directory specification causes wu to chroot to
/home/ftp/pub, which leaves only the files and subdirectories of pub
visible. Since there is no directory named "home" there, it cannot chdir
and the guest login fails. Try "/home/ftp/./pub/jht".

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 07:39:29 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8pTI-0003CUC; Tue, 9 May 95 06:37 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA08379; Tue, 9 May 1995 08:34:26 -0500
Received: from haymarket.ed.ac.uk (haymarket.ed.ac.uk [129.215.128.53]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA08285 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 08:32:33 -0500
Received: from aiai.ed.ac.uk (skye-alter.aiai.ed.ac.uk [192.41.104.6]) by haymarket.ed.ac.uk (8.6.10/8.6.10) with SMTP id OAA15985 for <wu-ftpd%wugate.wustl.edu@haymarket.ed.ac.uk>; Tue, 9 May 1995 14:32:26 +0100
Received: from subnode.aiai.ed.ac.uk (dibble) by aiai.ed.ac.uk; Tue, 9 May 95 14:31:29 BST
Message-Id: <3239.9505091331@subnode.aiai.ed.ac.uk>
Date: Tue, 9 May 95 14:31:28 BST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Elliot <johne@aiai.ed.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Not so anonymous ftp
In-Reply-To: Janice Lang's message of Tue, 9 May 1995 08:00:48 -0400
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I have attempted to use the guestgroup facility in wu-ftpd running on solaris
> 2.4.  I have set up the user as a guest in the ftpaccess file.  I have created
> a 'real account' for the user as well as an account within the ftp group and
> passwd files.  When I attempt to log in as that user, I get the following error:
> 
>         550 Can't set group privileges
> 

> /etc/passwd file entry:
> 
>    jht:x:202:202:Guest FTP Account:/home/ftp/pub/./home/ftp/pub/jht:/bin/false

This is (at least part) of your problem.  The home directory entry is wrong.
The part after the . is a continuation of the pathname, you do not specify
the entire pathname again.  It should read :

/home/ftp/pub/./jht

Hope this helps

John.

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 07:39:32 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8pua-0003IsC; Tue, 9 May 95 07:05 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA10165; Tue, 9 May 1995 09:01:01 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA09883 for <wu-ftpd@mail.wustl.edu>; Tue, 9 May 1995 08:58:28 -0500
Received: from worldcom.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQAKSGR1800023AD@wunet.wustl.edu>; Tue, 09 May 1995 08:56:16 -0500 (CDT)
Received: from worldcom-18.worldcom.com
 (worldcom-18.worldcom.com [198.64.193.9]) by worldcom.com (8.6.11/8.6.9)
 with SMTP id IAA05162 for <wu-ftpd@wunet.wustl.edu>; Tue,
 9 May 1995 08:33:17 -0500
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
 id AA1975; Tue, 09 May 95 08:25:17 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id
 954794FE9EB58419862561B70049AD71; Tue,  9 May 95 08:25:16
Message-Id: <9505091525.AA1975@worldcom-18.worldcom.com>
Date: Tue, 09 May 1995 08:18:37 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson <Dan_Thorson@notes.seagate.com>
To: Stan Barber <sob@academ.com>
Cc: wu-ftpd <wu-ftpd@wunet.wustl.edu>
Subject: Re: archive in place
MIME-version: 1.0
Content-type: Text/Plain
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I have set up an archive site for patched wu-ftpd 2.4 at ftp.academ.com.
> The URL is: ftp://ftp.academ.com/pub/wu-ftpd
cool

> Please get that version and send me patches relative to that version and
> I will patch them in and put up more patched versions.
Who's gonna verify that they're right?  Also, will you keep some kind of a 
patch list so that folks can pick/choose what they want?  (or something like 
that)

dct

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 08:10:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8qvQ-0002bZC; Tue, 9 May 95 08:10 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA14286; Tue, 9 May 1995 10:07:10 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id KAA14078 for <wu-ftpd@mail.wustl.edu>; Tue, 9 May 1995 10:04:44 -0500
Received: from worldcom.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQAN3MK41S0025KV@wunet.wustl.edu>; Tue, 09 May 1995 10:02:31 -0500 (CDT)
Received: from worldcom-18.worldcom.com
 (worldcom-18.worldcom.com [198.64.193.9]) by worldcom.com (8.6.11/8.6.9)
 with SMTP id JAA06520 for <wu-ftpd@wunet.wustl.edu>; Tue,
 9 May 1995 09:45:39 -0500
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
 id AA3574; Tue, 09 May 95 09:38:31 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id
 7EC8957A92C9A350862561B700506B28; Tue,  9 May 95 09:38:31
Message-Id: <9505091638.AA3574@worldcom-18.worldcom.com>
Date: Tue, 09 May 1995 09:24:12 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson <Dan_Thorson@notes.seagate.com>
To: wu-ftpd <wu-ftpd@wunet.wustl.edu>
Subject: getpeername/getsockname syslog messages
MIME-version: 1.0
Content-type: Text/Plain
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,
 Every once in a while I get these messages in my /var/adm/messages file.  They 
always appear as a group of four messages.  The only thing that changes from 
one occurrence to another is the date/time.  I can see where they're generated 
in the source, but I don't know what causes them.  All else seems to work, and 
no other suspicious messages appear in any of the logs.  Comments?

messages:May  4 13:11:13 aegis syslog: getpeername (wu-ftpd): No such file or 
directory
messages:May  4 13:11:13 aegis syslog: getpeername (wu-ftpd): No such file or 
directory
messages:May  4 13:11:13 aegis syslog: getsockname (wu-ftpd): Invalid argument
messages:May  4 13:11:13 aegis syslog: getsockname (wu-ftpd): Invalid argument

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 09:27:51 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8s8R-0003BaC; Tue, 9 May 95 09:27 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA18761; Tue, 9 May 1995 11:24:20 -0500
Received: from macau.ctm.net (macau.ctm.net [202.64.33.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA18440 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 11:19:15 -0500
Received: by macau.ctm.net (4.1/SMI-4.1)
	id AA11769; Wed, 10 May 95 00:15:31 HKT
Message-Id: <9505091615.AA11769@macau.ctm.net>
Date: Wed, 10 May 1995 00:15:31 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: demo2@macau.ctm.net (demo_2)
To: wu-ftpd@wugate.wustl.edu
Subject: limit anonymous ftp
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

 I have a misunderstanding relative to the anonymous ftp of my ftp site. 
 Whenerver a user anonymous-ftp my site, he can randomly input the passwd and
 my site will accept it. If fact, it should be his email account, e.g. hoo@.
 How do I fix this problem?
 
 By the way, may I ask how to write perl and can gopher run perl so that I 
 can download program drectly via clicking the item not via pressing shift-d.
 
  -- 
 =============================================
  ^^^^^       Name: James Leong
 <* J *>     email: demo2@macau.ctm.net
  \ v / 
    =        Have a nice day!
 ==============================================
 
 


-- 
=============================================
 ^^^^^       Name: James Leong
<* J *>     email: demo2@macau.ctm.net
 \ v / 
   =        Have a nice day!
==============================================

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 10:00:16 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8sdn-0003CmC; Tue, 9 May 95 10:00 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20775; Tue, 9 May 1995 11:56:42 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20187 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 11:48:22 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA29955 for wu-ftpd@wugate.wustl.edu; Tue, 9 May 95 09:48:17 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA17366; Tue, 9 May 95 09:48:15 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA15384 for wu-ftpd@wugate.wustl.edu; Tue, 9 May 95 09:48:13 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA14921; Tue, 9 May 95 11:48:09 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA14988; Tue, 9 May 1995 11:48:53 -0500
Message-Id: <9505091648.AA14988@miaow.sps.mot.com>
Date: Tue, 9 May 1995 11:48:53 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Cc: demo2@macau.ctm.net
Subject: Re: limit anonymous ftp
In-Reply-To: <9505091615.AA11769@macau.ctm.net> from "demo_2" at May 10, 95 00:15:31 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ demo_2 (James Leong) writes: ]
> 
>  I have a misunderstanding relative to the anonymous ftp of my ftp site. 
>  Whenerver a user anonymous-ftp my site, he can randomly input the passwd and
>  my site will accept it. If fact, it should be his email account, e.g. hoo@.
>  How do I fix this problem?

Set "passwd-check rfc822 enforce" in your ftpaccess file. See the
ftpaccess(5) man page for details.

>  By the way, may I ask how to write perl and can gopher run perl so that I 
>  can download program drectly via clicking the item not via pressing shift-d.

What does this have to do with wu-ftpd?

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 10:13:06 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8sqE-0003IcC; Tue, 9 May 95 10:13 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA21716; Tue, 9 May 1995 12:10:11 -0500
Received: from rspac.ivv.nasa.gov (rspac.ivv.nasa.gov [129.164.40.100]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA20372 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 11:50:57 -0500
Received: from tigger ([129.164.40.111]) by rspac.ivv.nasa.gov (8.6.9/8.6.9) with SMTP id LAA04542 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 11:53:24 -0400
Message-Id: <199505091553.LAA04542@rspac.ivv.nasa.gov>
Date: Tue, 9 May 1995 11:53:24 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jlang@rspac.ivv.nasa.gov (Janice Lang)
To: wu-ftpd@wugate.wustl.edu
Subject: not so anonymous ftp problem solved
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jlang@rspac.ivv.nasa.gov
X-Mailer: <PC Eudora Version 1.4>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks for everyone's help.

Janice Lang

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 10:21:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8syD-0003InC; Tue, 9 May 95 10:21 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA22339; Tue, 9 May 1995 12:18:06 -0500
Received: from aurora (AURORA.PHYS.UTK.EDU [128.169.207.157]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA21748 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 12:10:41 -0500
Received: by aurora (Linux Smail3.1.28.1 #4)
	id m0s8vlh-00007wC; Tue, 9 May 95 13:20 PDT
Message-Id: <Pine.LNX.3.91.950509131900.12976A-100000@aurora.phys.utk.edu>
Date: Tue, 9 May 1995 13:20:33 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Blass <swb@aurora.phys.utk.edu>
To: David Wolfe <david_wolfe@risc.sps.mot.com>
Cc: wu-ftpd@wugate.wustl.edu, demo2@macau.ctm.net
Subject: Re: limit anonymous ftp
In-Reply-To: <9505091648.AA14988@miaow.sps.mot.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



<...> 
> Set "passwd-check rfc822 enforce" in your ftpaccess file. See the
> ftpaccess(5) man page for details.
> 

My question is can wu-ftpd actually enforce that the anonymous passwd 
match the originating account and host ?


From owner-wu-ftpd@wugate.wustl.edu Tue May  9 10:53:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8tTW-0003LHC; Tue, 9 May 95 10:53 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA24423; Tue, 9 May 1995 12:48:20 -0500
Received: from gater3.sematech.org (GATER3.SEMATECH.ORG [192.73.53.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA24276 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 12:45:48 -0500
Received: from gatev3.sematech.org 
	by gater3.sematech.org (8.6.12/F-1.8) with ESMTP
	id MAA10167; Tue, 9 May 1995 12:45:41 -0500
Received: from thecount.eng.sematech.org by SEMATECH.Org (PMDF V4.3-13 #5463)
 id <01HQASSOWEK09JH1S1@SEMATECH.Org>; Tue, 09 May 1995 12:45:31 -0500 (CDT)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.12/I-1.8) with SMTP id MAA17721; Tue, 9 May 1995 12:45:24 -0500
Message-Id: <199505091745.MAA17721@thecount.eng.sematech.org>
Date: Tue, 09 May 1995 12:45:24 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
Content-transfer-encoding: 7BIT
X-Mailer: exmh version 1.6epsilon 4/17/95
X-Authentication-Warning: thecount.eng.sematech.org: Host
 localhost.eng.sematech.org didn't use HELO protocol
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Wu-ftpd cannot enforce that the anonymous email-like password
match that of the person connecting to wu-ftpd.

I believe this is a silly thing to worry about.  This is all about
_anonymous_ ftp.  Anonymous, as in, I don't know who and I really
don't care who is using this server.  Best bet is to let anyone
use whatever string they care to.  

Quentin

PS You can still check the logs for an originating IP address.

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 11:13:26 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8ss1-0002WgC; Tue, 9 May 95 10:14 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA21923; Tue, 9 May 1995 12:12:24 -0500
Received: from visionware.com (sioux.visionware.COM [132.147.64.29]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20926 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 11:58:52 -0500
Received: by visionware.com (4.1/SMI-4.1)
	id AA28927; Tue, 9 May 95 09:58:00 PDT
Message-Id: <9505091658.AA28927@visionware.com>
Date: Tue, 9 May 95 09:58:00 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pats@visionware.com (Patrick Salsbury)
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <9505091615.AA11769@macau.ctm.net> (demo2@macau.ctm.net)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

- By the way, may I ask how to write perl and can gopher run perl so that I 
- can download program drectly via clicking the item not via pressing shift-d.
- 
-  -- 
- =============================================
-  ^^^^^       Name: James Leong
- <* J *>     email: demo2@macau.ctm.net
-  \ v / 
-    =        Have a nice day!
- ==============================================

	O'Reilly & Associates has a good book called (you guessed it)
"Learning Perl." Check it out....

Pat
-------------------------------------------------------------------------------
	  Patrick Salsbury 	              SCO/IXI/Visionware           
	Sys Admin/Webmaster                   330 Encinal Street
	Voice: 408-429-4529	             Santa Cruz, CA 95060
     email: pats@visionware.com		       FAX: 408-427-5460	
		      X/UNIX/PC Integration Specialists
  Check out <A HREF="http://www.visionware.com/">The Visionware Homepage</A>

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 11:25:37 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8tyO-0003D2C; Tue, 9 May 95 11:25 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA26041; Tue, 9 May 1995 13:17:24 -0500
Received: from graphon.com (graphon.com [204.188.153.8]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA25955 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 13:16:28 -0500
Received: by graphon.com (Smail3.1.28.1 #25)
	id m0s8tu7-00015BC; Tue, 9 May 95 11:21 PDT
Message-Id: <Pine.LNX.3.91.950509111854.14074B-100000@aurica.graphon.com>
Date: Tue, 9 May 1995 11:21:06 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Troy Morrison <troy@aurica.graphon.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <Pine.LNX.3.91.950509134203.12976E-100000@aurora.phys.utk.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> > > Set "passwd-check rfc822 enforce" in your ftpaccess file. See the
> > > ftpaccess(5) man page for details.
> 
> My question's been answered - NO it can't - which I figured was the case.
> tcp_wrappers can't either out of the box but with the wrappers on and 
> wu-ftpd running with -l flag the logging is quite copius and that will do.

Is there any patch to use the IDENT or TAP protocols to attempt to 
authenticate the "anonymous password"?  Ie. FTP connection arrives from 
some.remote.host, sends USER anonymous and then PASSWD 
me@some.remote.host, then wu-ftpd calls an IDENT server at 
some.remote.host and checks to see if it really is me?

Realizing that anonymous FTP is by definition anonymous, such 
authentication would be useful for a semi-anonymous FTP.

Troy

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 11:42:51 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8tGQ-0003DoC; Tue, 9 May 95 10:40 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA23697; Tue, 9 May 1995 12:37:09 -0500
Received: from aurora (AURORA.PHYS.UTK.EDU [128.169.207.157]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA23509 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 12:34:53 -0500
Received: by aurora (Linux Smail3.1.28.1 #4)
	id m0s8w9K-00007wC; Tue, 9 May 95 13:44 PDT
Message-Id: <Pine.LNX.3.91.950509134203.12976E-100000@aurora.phys.utk.edu>
Date: Tue, 9 May 1995 13:44:57 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Blass <swb@aurora.phys.utk.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <Pine.LNX.3.91.950509131900.12976A-100000@aurora.phys.utk.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



> 
> <...> 
> > Set "passwd-check rfc822 enforce" in your ftpaccess file. See the
> > ftpaccess(5) man page for details.
> > 
> 
> My question is can wu-ftpd actually enforce that the anonymous passwd 
> match the originating account and host ?
> 

My question's been answered - NO it can't - which I figured was the case.
tcp_wrappers can't either out of the box but with the wrappers on and 
wu-ftpd running with -l flag the logging is quite copius and that will do.

Thanks

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 12:40:44 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8uFU-0003DmC; Tue, 9 May 95 11:43 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA28752; Tue, 9 May 1995 13:40:33 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA28526 for <wu-ftpd@mail.wustl.edu>; Tue, 9 May 1995 13:39:30 -0500
Received: from sndsu1.sedalia.sinet.slb.com (sinet.slb.com)
 by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQAULSSKA8001GV6@wunet.wustl.edu>; Tue, 09 May 1995 13:37:14 -0500 (CDT)
Received: from houston.Geco-Prakla.slb.com
 (mailman.houston.Geco-Prakla.slb.com [163.185.13.199])
 by sndsu1.sedalia.sinet.slb.com (8.6.9/8.6.9) with SMTP id SAA21967 for
 <wu-ftpd@wunet.wustl.edu>; Tue, 9 May 1995 18:39:18 GMT
Received: from mpp00s.houstondp ([163.185.13.41])
 by houston.Geco-Prakla.slb.com (4.1/SMI-4.1) id AA07484; Tue,
 9 May 95 13:39:52 CDT
Message-Id: <9505091839.AA07484@houston.Geco-Prakla.slb.com>
Date: Tue, 09 May 1995 13:39:52 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: oneill@houston.Geco-Prakla.slb.com (Dennis O'Neill)
To: wu-ftpd@wunet.wustl.edu
Cc: oneill@houston.Geco-Prakla.slb.com (Dennis M. O'Neill)
Subject: 'chmod' capability
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have been running Version wu-2.4 for about a year with good results.
Recently we have found a need to allow 'real' users the ability to
change permissions on a file. Up to that point we had been running with

chmod           no      guest,anonymous    # chmod permission?

in ftpaccess. According tot he docs, this should have let 'real' users
to do the chmod. However, regardless of whether I trust the default, or
add 

chmod           yes     real

to ftpaccess, we still get

ftp> chmod 0700 foo
?Invalid command
ftp>

Any ideas on what's going on here?

Thanks,

Dennis

-- 
--------------------------------------------------------------------------
* Dennis M. O'Neill                  oneill@houston.geco-prakla.slb.com  *
* Schlumberger Geco-Prakla                       (713) 596-6103 (Office) *
* 1325 S. Dairy Ashford                          (713) 596-1885 (FAX)    *
* Houston, TX 77077                                                      *
--------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 12:40:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8uip-0003JyC; Tue, 9 May 95 12:13 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA01127; Tue, 9 May 1995 14:09:55 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA01035 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 14:09:11 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA27750 for wu-ftpd@wugate.wustl.edu; Tue, 9 May 95 12:09:09 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA20423; Tue, 9 May 95 12:09:08 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA27432 for wu-ftpd@wugate.wustl.edu; Tue, 9 May 95 12:09:06 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA15808; Tue, 9 May 95 14:09:02 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA04749; Tue, 9 May 1995 14:09:47 -0500
Message-Id: <9505091909.AA04749@miaow.sps.mot.com>
Date: Tue, 9 May 1995 14:09:47 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Cc: oneill@houston.Geco-Prakla.slb.com (Dennis M. O'Neill)
Subject: Re: 'chmod' capability
In-Reply-To: <9505091839.AA07484@houston.Geco-Prakla.slb.com> from "Dennis O'Neill" at May 9, 95 01:39:52 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Dennis O'Neill writes: ]
> ftp> chmod 0700 foo
> ?Invalid command
> ftp>
> 
> Any ideas on what's going on here?

Your ftp *client* doesn't recognize a 'chmod' command. Try 'site chmod
0700 foo'.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 17:40:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s8zCi-0003HTC; Tue, 9 May 95 17:00 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA16989; Tue, 9 May 1995 18:58:06 -0500
Received: from iceland.c4west.eds.com (iceland.ug.eds.com [134.244.123.12]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA16769 for <wu-ftpd@wugate.wustl.edu>; Tue, 9 May 1995 18:52:07 -0500
Received: by iceland.c4west.eds.com
	(1.38.193.4/16.2) id AA13701; Tue, 9 May 1995 16:53:40 -0700
Message-Id: <199505092352.SAA16769@wugate.wustl.edu>
Date: Tue, 9 May 95 16:53:39 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Peter Hawkins <hawkins@c4west.eds.com>
To: wu-ftpd@wugate.wustl.edu
Subject: SKey logon to ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Below is my problem of the day.  Care to take
a stab at it?

User Requirement:

  To distribute files that contain
  sensitive information to a selected
  group of 200 people.

  User is uncomfortable with encrypting files
  and does not want to use it.

Possible solutions:

  I wish user would encrypt files and allow me
  to use a regular old ftp server, but it seems
  to be out of the question.

  User thinks logon and password for ftp would
  be secure enough.  Shaaaaa right!

  I'm starting to like the idea of a "Secure Key"
  type of logon to wu-ftp.  Have any of you done
  this?  Other ideas?

Example:

  Logon: Username
  Challenge: 1234412
  Password: Generated key from challenge key

Pete
--
EDS - C4 Technology West
Bellevue, Washington
hawkins@c4west.eds.com

From owner-wu-ftpd@wugate.wustl.edu Tue May  9 18:56:05 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s90O2-00032SC; Tue, 9 May 95 18:16 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA19380; Tue, 9 May 1995 20:13:23 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA19275 for <wu-ftpd@mail.wustl.edu>; Tue, 9 May 1995 20:10:59 -0500
Received: from academ.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQB8A8YPHS0027X0@wunet.wustl.edu>; Tue, 09 May 1995 20:08:47 -0500 (CDT)
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id UAA10664; Tue,
 9 May 1995 20:10:45 -0500
Message-Id: <199505100110.UAA10664@academ.com>
Date: Tue, 09 May 1995 20:10:44 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: Dan Thorson <Dan_Thorson@notes.seagate.com>
Cc: wu-ftpd <wu-ftpd@wunet.wustl.edu>
Subject: Re: archive in place
In-Reply-To: Dan Thorson  <Dan_Thorson@notes.seagate.com>
 "Re: archive in place" (May  9,  8:18am)
Content-transfer-encoding: 7BIT
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I will check the patched versions on test machines that I have access to
and offer them up as "beta" version to folks who want to check them out.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 05:38:31 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Af4-0002daC; Wed, 10 May 95 05:14 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id HAA04879; Wed, 10 May 1995 07:11:00 -0500
Received: from online.rednet.co.uk (luggage.rednet.co.uk [193.131.68.3]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id HAA04670 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 07:03:31 -0500
Received:  from [193.131.68.112] by online.rednet.co.uk (8.6.12/RedNet 1.20)
	id NAA05343; Wed, 10 May 1995 13:00:47 +0100
Message-Id: <v0151010dabd6503badea@[193.131.68.112]>
Date: Wed, 10 May 1995 13:08:52 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rizvi_r@rednet.co.uk (Raza Rizvi)
To: wu-ftpd@wugate.wustl.edu
Subject: SUMMARY:  Problem with DIR command in WU-FTPD 2.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: rizvi_r@online.rednet.co.uk
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Firstly thank you to all who contributed to this problem.

Summary of Problem:

Fetch 2.1.1 on PPC 7100/66 with System 7.5 connecting to Sun Sparc 4.1.3_U1
with the WU-FTPD 2.4

Works fine for real and anonymous users but Guest Users who are CHROOTed to
a particular directory connect okay but are not presented with a file
listing for their home directory or the (new) root directory.

If the same user logs in from another Unix machine, all is well.

If a UNIX FTP terminal users issue a DIR, which is what FETCH issues, they
get no file listing back. They do if they issue a LS.

Solution:

No one gave the correct answer which was "YOU ARE STUPID. CHECK THAT THE
/BIN DIRECTORY IS HANGING OF THE ROOT DIRECTORY" :-()

I include the edited replies below for your files, my comments are between
the **'s.


Patrick Salsbury        (pats@visionware.com)
I had this problem. Turned out my /usr/lib dir was chmod 111. Doing a
chmod 555 on it fixed the problem. (People could execute the directory, but
couldn't read the libraries out of it, so the dir version of ls didn't work.
Only the built-in version did. I think the libraries need to be readable,
but not executable. The directory needs to be executable (to access it) and
readable (to find out the names of the libraries in it.)

**The /usr/ftp/usr and /usr/ftp/usr/lib directories are chmod 555. The file
/usr/ftp/bin is executable and the file /usr/ftp/bin/ls is
read/execute.**


Ariel Spivakovsky <spiv@iserver.iie.org>
Reading the man page for ftpd on my machine (AIX 3.2.5) helped me with this.
It should tell you what the shared libs. you should need, if any.

**For a Sun running SunOS /usr/ftp/usr/lib contains the libraries I need
(ld.so,libc.so.1.9,libdl.so.1.0) according to the man pages for ftpd, and
they are both readable and executable. They are also readable and
executable in /usr/lib.**


Dave Wolfe (dwolfe@risc.sps.mot.com)
If you haven't already, try running the same ls command from a chroot
directly. That should display any error messages coming from the system
or ls itself. My bet is on ls flags defined in your wu-ftpd for the long
form that ls doesn't know about, so it just outputs an error message on
stderr, e.g.:

$ ls -lA
UX:ls: ERROR: Illegal option -- A
UX:ls: TO FIX: Usage: ls -1RadCxmnlogrtucpFbqisfL [files]

**When tried from a csh shell login, ls, ls -al, ls -lA, all work okay**

I'm sorry, but your examples just don't convince me you've done what I
suggested.

% strings /usr/local/etc/ftpd | grep /bin/ls
/bin/ls -lA
/bin/ls -lA
/bin/ls %s

These are the commands and options wu-ftpd uses to implement the dir
command.

# chroot /usr/ftp /bin/ls -lA
[ output deleted ]

This simulates what wu-ftpd does in response to a dir command.

**It failed and lead me to realise that I had been unnaturally stupid and
created the root directory one level below where i thought it was**

James Leong (demo2@macau.ctm.net)
You need to make the device in dir of [ftp]/dev. The device files are
always necessary, e.g. zero, null.... You can man the ftpd to read what
devices are necessary. To make the devices file, you can't cp them from
/dev. You should use the command--mknod. If you want the detail, try to use
man mknod.

**This had been done but as an aside can give the same symptoms**


Thanks to everyone once again, and I hope this summary helps someone else.

Raza






Raza Rizvi (rizvi_r@rednet.co.uk)
RedNet Ltd, High Wycombe, England
Tel - +44 (0)1494 513333  Fax - +44 (0)1494 443374


From owner-wu-ftpd@wugate.wustl.edu Wed May 10 06:23:37 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Bjh-00032EC; Wed, 10 May 95 06:23 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07925; Wed, 10 May 1995 08:21:17 -0500
Received: from albert.cs.gmr.com (albert.cs.gmr.com [129.124.8.45]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07761 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 08:18:20 -0500
Received: by albert.cs.gmr.com (5.x/GMR-2.1)
	id AA04918; Wed, 10 May 1995 09:18:17 -0400
Message-Id: <9505101318.AA04918@albert.cs.gmr.com>
Date: Wed, 10 May 1995 09:18:17 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rhaar@albert.cs.gmr.com (Bob Haar)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Well, we now have two contradictory answers from people who both
sound sure of the answer. Which is correct?

>  --><...>
>  -->> Set "passwd-check rfc822 enforce" in your ftpaccess file. See the
>  -->> ftpaccess(5) man page for details.
>  -->>
>  -->
>  -->My question is can wu-ftpd actually enforce that the anonymous passwd
>  -->match the originating account and host ?
>  -->

> From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
> 
> Wu-ftpd cannot enforce that the anonymous email-like password
> match that of the person connecting to wu-ftpd.
> 
> I believe this is a silly thing to worry about.  This is all about
> _anonymous_ ftp.  Anonymous, as in, I don't know who and I really
> don't care who is using this server.  Best bet is to let anyone
> use whatever string they care to.  

Well, we do worry about it. We want to make information available
to anyone in the company without having to set up login ids for
them, but keep accurate access logs and prevent access from outside.

We already enforce DNS machine identification and restrict access
to compnay sites, but our security policies require logging the
person, not the machine. Can we at least force users to give
a valid e-mail address?

> 

> From: "Kerr, James A." <jak7@OPSIRM1.EM.CDC.GOV>
> 
> 
> Yes it can.  IF your question wasn't already answered let me know and I will 
> Email you instructions.
> Jim
>  ----------

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 06:38:11 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9BeO-0002OXC; Wed, 10 May 95 06:18 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07571; Wed, 10 May 1995 08:14:39 -0500
Received: from goggins.bath.ac.uk (goggins.bath.ac.uk [138.38.32.13]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA07474 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 08:12:06 -0500
Received: from ee.bath.ac.uk (actually host dmsun4) by goggins.bath.ac.uk 
          with SMTP (PP); Wed, 10 May 1995 14:10:06 +0100
Received: from phoenix.noname by ee.bath.ac.uk; Wed, 10 May 95 14:11:11 BST
Message-Id: <4593.9505101311@ee.bath.ac.uk>
Date: Wed, 10 May 95 14:11:11 BST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jeremy Nicholls <jez@ee.bath.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Can't unsubscribe !
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Help. I can't get myself off the list :(

If I send to listserv with the message 'unsubscribe wu-ftpd' it returns :-

----
Error processing the command: unsubscribe wu-ftpd
Unable to find the address jez@ee.bath.ac.uk in the mailing list WU-FTPD
%MAILSERV-W-NOSUCHADR, no such address subscribed to the mailing list
Use the HELP command to get a list of legal MAILSERV commands.
----

But that's the address the mail's going to ! Anybody know what I can do ?

Thanks
Jez.
--
Jeremy Nicholls           _._. .... ._ ___ ...        Telephone +44 1225 826886
Office: 2E 4.2                                        e-mail  jez@ee.bath.ac.uk
Video Coding Group.              "Marmalade, I like marmalade", "Ooh me flakes"
University Of Bath, UK.       These quotes courtesy of Alan, APB, AHM, PF, 1971

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 07:29:28 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9ClP-0003AeC; Wed, 10 May 95 07:29 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA11573; Wed, 10 May 1995 09:26:59 -0500
Received: from achamp.gsfc.nasa.gov (achamp.gsfc.nasa.gov [128.183.57.208]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA11499 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 09:26:08 -0500
Message-Id: <950510102606.40600532@hrs.gsfc.nasa.gov>
Date: Wed, 10 May 1995 10:26:06 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "The best things in life ... are fantasy." <HRSVENER@hrs.gsfc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Excuse me, but how can it enforce that match? All it enforces is that it
obey a certain syntax. It can be totally bogus otherwise. Or am I missing
something?

PCVS

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 07:39:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Bxs-0002SmC; Wed, 10 May 95 06:38 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA08753; Wed, 10 May 1995 08:35:19 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA08554 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 08:32:33 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA22240 for wu-ftpd@wugate.wustl.edu; Wed, 10 May 95 06:32:31 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA02925; Wed, 10 May 95 06:32:28 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA16241 for wu-ftpd@wugate.wustl.edu; Wed, 10 May 95 06:32:27 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA19212; Wed, 10 May 95 08:32:25 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA18422; Wed, 10 May 1995 08:33:10 -0500
Message-Id: <9505101333.AA18422@miaow.sps.mot.com>
Date: Wed, 10 May 1995 08:33:09 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SKey logon to ftp
In-Reply-To: <199505092352.SAA16769@wugate.wustl.edu> from "Peter Hawkins" at May 9, 95 04:53:39 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Peter Hawkins writes: ]
>   User thinks logon and password for ftp would
>   be secure enough.  Shaaaaa right!

Point out to the user that ftp always sends user ID and password in the
clear, even over public networks, so any tcp sniffer can easily filter
packets for USER and PASS identifiers to obtain logons complete with
passwords. Insist on encryption or get agreement that the data isn't
worth protecting.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 07:55:35 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9DAf-0003I2C; Wed, 10 May 95 07:55 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA13087; Wed, 10 May 1995 09:52:43 -0500
Received: from achamp.gsfc.nasa.gov (achamp.gsfc.nasa.gov [128.183.57.208]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA12926 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 09:50:37 -0500
Message-Id: <950510105035.40600532@hrs.gsfc.nasa.gov>
Date: Wed, 10 May 1995 10:50:35 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "The best things in life ... are fantasy." <HRSVENER@hrs.gsfc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Actually, a source address is logged if you have the command logging option
switched on. So if you just run a filtering routine through the log then
you can find out where the bogus password address came from and deal with 
them accordingly.

PCVS

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 09:40:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9EHI-00035cC; Wed, 10 May 95 09:06 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA16513; Wed, 10 May 1995 10:54:26 -0500
Received: from achamp.gsfc.nasa.gov (achamp.gsfc.nasa.gov [128.183.57.208]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA16424 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 10:53:22 -0500
Message-Id: <950510115320.40600532@hrs.gsfc.nasa.gov>
Date: Wed, 10 May 1995 11:53:20 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "The best things in life ... are fantasy." <HRSVENER@hrs.gsfc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi Minna,

Did you rtemember to edit your syslog.conf adding a line saying where
the log is to be sent? ie:
daemon.info	/var/log/daemon.info
This is what I have. Then do a kill -HUP <pid_of_syslog>
Then it should work.

Good luck,
PCVS

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 09:40:30 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from camco1.celestial.com by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9EKx-0003LZC; Wed, 10 May 95 09:10 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9EJA-0003XNC; Wed, 10 May 95 09:08 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA16036; Wed, 10 May 1995 10:47:38 -0500
Received: from milo.math.scarolina.edu (milo.math.scarolina.edu [129.252.12.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA15938 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 10:46:13 -0500
Received:  by milo.math.scarolina.edu (4.1/6.0s-FWP);
	   id AA01304; Wed, 10 May 95 11:44:38 EDT
Message-Id: <9505101544.AA01304@milo.math.scarolina.edu>
Date: Wed, 10 May 1995 11:44:38 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Minna Moore <minna@math.scarolina.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <950510105035.40600532@hrs.gsfc.nasa.gov> from "The best things in life ... are fantasy." at May 10, 95 10:50:35 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> Actually, a source address is logged if you have the command logging option
> switched on. So if you just run a filtering routine through the log then
> you can find out where the bogus password address came from and deal with 
> them accordingly.
> 
I have the -l option with ftpd, but address logging does not seem to work.
The doc says that it will log in the syslog file. What do I missed?
Thanks for any pointer.
-- 
 Minna Moore                   | University of South Carolina 
 minna@math.scarolina.edu      | Department of Mathematics 
 (803) 777-8847                | Columbia, SC 29208

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 09:44:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9EsD-00036tC; Wed, 10 May 95 09:44 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA19854; Wed, 10 May 1995 11:41:46 -0500
Received: from milo.math.scarolina.edu (milo.math.scarolina.edu [129.252.12.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA19667 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 11:39:06 -0500
Received:  by milo.math.scarolina.edu (4.1/6.0s-FWP);
	   id AA01923; Wed, 10 May 95 12:37:25 EDT
Message-Id: <9505101637.AA01923@milo.math.scarolina.edu>
Date: Wed, 10 May 1995 12:37:25 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Minna Moore <minna@math.scarolina.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <950510115320.40600532@hrs.gsfc.nasa.gov> from "The best things in life ... are fantasy." at May 10, 95 11:53:20 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Did you rtemember to edit your syslog.conf adding a line saying where
> the log is to be sent? ie:
> daemon.info	/var/log/daemon.info
> This is what I have. Then do a kill -HUP <pid_of_syslog>
> Then it should work.
> 
I did that, but still have the same problem.
I got the following message in /var/adm/message file. Does it 
related to the above problem? 
  "ftpd[4303]: open of pid file failed: No such file or diretory"
Thanks for your help.

-- 
 Minna Moore                   | University of South Carolina 
 minna@math.scarolina.edu      | Department of Mathematics 
 (803) 777-8847                | Columbia, SC 29208

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 10:46:29 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Fq5-00031WC; Wed, 10 May 95 10:46 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA23690; Wed, 10 May 1995 12:43:51 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA23368 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 12:41:07 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA15339 for wu-ftpd@wugate.wustl.edu; Wed, 10 May 95 10:41:05 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA08287; Wed, 10 May 95 10:41:02 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA06960 for wu-ftpd@wugate.wustl.edu; Wed, 10 May 95 10:41:02 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA21286; Wed, 10 May 95 12:40:57 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA17557; Wed, 10 May 1995 12:41:43 -0500
Message-Id: <9505101741.AA17557@miaow.sps.mot.com>
Date: Wed, 10 May 1995 12:41:42 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <9505101637.AA01923@milo.math.scarolina.edu> from "Minna Moore" at May 10, 95 12:37:25 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Minna Moore writes: ]
> 
> > Did you rtemember to edit your syslog.conf adding a line saying where
> > the log is to be sent? ie:
> > daemon.info	/var/log/daemon.info
> > This is what I have. Then do a kill -HUP <pid_of_syslog>
> > Then it should work.
> > 
> I did that, but still have the same problem.
> I got the following message in /var/adm/message file. Does it 
> related to the above problem? 
>   "ftpd[4303]: open of pid file failed: No such file or diretory"

This sounds like your syslog works like my SVR4 syslog: the syslog
library function reads a file, /etc/syslog.pid, to get the pid of
syslogd so it can send the message via an IPC message queue to it. When
wu-ftpd chroots for guest or anonymous logins, the pid file must be in
the chroot environment or you get this message (and further ftpd logging
stops). However, I did get the connection through receiving the password
in the daemon log.

I added some lines to my syslog rc file to wait for the pid file to
appear and copy it to the chroot environment(s). It's a hack, but the
file gets deleted and the chroots are on different file systems, so
links won't work (no, not even a symlink because it can't get outside
the chroot). A better (or just different?) hack might be to modify
wu-ftpd to copy the file before it chroots.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 11:38:27 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Fhr-0003HfC; Wed, 10 May 95 10:37 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA22683; Wed, 10 May 1995 12:34:16 -0500
Received: from sorbet.gsfc.nasa.gov (sorbet.gsfc.nasa.gov [128.183.57.47]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA22597 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 12:33:24 -0500
Message-Id: <950510133322.406005a8@hrs.gsfc.nasa.gov>
Date: Wed, 10 May 1995 13:33:22 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "The best things in life ... are fantasy." <HRSVENER@hrs.gsfc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi Minna,

To be honest I am not that well versed in the ins and outs of
system administration, but perhaps you might try to `touch' 
the file thus creating it in advance. Maybe someone more
knowledgeble could jump in here?

Thanks, and good luck.
PCVS

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 11:51:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Gql-00039pC; Wed, 10 May 95 11:51 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA27877; Wed, 10 May 1995 13:48:41 -0500
Received: from oracorp.com (scylla.oracorp.com [192.76.175.102]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA27412 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 13:43:06 -0500
Received: from calypso.oracorp.com by oracorp.com (4.1/2.1-ORA Corporation)
	id AA19086; Wed, 10 May 95 14:40:09 EDT
Received: by calypso.oracorp.com (4.1/1.3-ORA Corporation)
	id AA05483; Wed, 10 May 95 14:40:05 EDT
Message-Id: <Pine.SUN.3.91.950510141048.4940P-100000@calypso>
Date: Wed, 10 May 1995 14:40:04 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sally Moore <moore@oracorp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <9505101637.AA01923@milo.math.scarolina.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: moore@calypso
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Wed, 10 May 1995, Minna Moore wrote:

> I did that, but still have the same problem.
> I got the following message in /var/adm/message file. Does it
> related to the above problem?
>   "ftpd[4303]: open of pid file failed: No such file or diretory"

I got this message when I had created an unwritable
"/usr/local/daemon/ftpd"  directory in which the file "ftp.pids-%s"
resides.  The directory was on an nfs mounted partition (/usr/local) which
didn't allow root access, so it was unable to write the pid file.  I had
to edit the "wu-ftpd-2.4/src/pathnames.h" file to point to a directory
which was root-writable (in my case, this was /usr): 

Distribution:
#define _PATH_PIDNAMES  "/usr/local/daemon/ftpd/ftp.pids-%s"

My change:
#define _PATH_PIDNAMES  "/usr/ftp/daemon/ftpd/ftp.pids-%s"

Sally


From owner-wu-ftpd@wugate.wustl.edu Wed May 10 13:04:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Gl2-0003BfC; Wed, 10 May 95 11:45 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA27368; Wed, 10 May 1995 13:42:20 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA27014 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 13:37:53 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA27709 for wu-ftpd@wugate.wustl.edu; Wed, 10 May 95 11:37:51 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA09497; Wed, 10 May 95 11:37:49 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA11687 for wu-ftpd@wugate.wustl.edu; Wed, 10 May 95 11:37:47 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA21581; Wed, 10 May 95 13:37:43 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA17105; Wed, 10 May 1995 13:38:27 -0500
Message-Id: <9505101838.AA17105@miaow.sps.mot.com>
Date: Wed, 10 May 1995 13:38:27 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: troy@aurica.graphon.com (Troy Morrison)
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: limit anonymous ftp
In-Reply-To: <Pine.LNX.3.91.950510110528.23610F-100000@aurica.graphon.com> from "Troy Morrison" at May 10, 95 11:06:43 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Troy Morrison writes: ]
> On Wed, 10 May 1995, Dave Wolfe wrote:
> 
> > [ Minna Moore writes: ]
> > > I did that, but still have the same problem.
> > > I got the following message in /var/adm/message file. Does it 
> > > related to the above problem? 
> > >   "ftpd[4303]: open of pid file failed: No such file or diretory"
> > 
> > This sounds like your syslog works like my SVR4 syslog: the syslog
> > library function reads a file, /etc/syslog.pid, to get the pid of
> 
> Uh... you mean this isn't the non-existance of the /var directory where 
> wu-ftp logs it's running pids?  That was why I was getting that 
> message... besides, how can wu-ftpd not be able to get the syslog pid if 
> it's logging the error to the syslog?

Oops! You're right, I was mis-remembering how I tracked this down (I
read the log message from truss output, not from any log file). If I'd
have read more carefully, it's obvious that the message was from ftpd
and not the syslog function. Sorry for the noise; please disregard my
earlier response.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 14:32:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9JMz-00032YC; Wed, 10 May 95 14:32 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA09184; Wed, 10 May 1995 16:30:26 -0500
Received: from island.amtsgi.bc.ca (Island.IslandNet.com [198.53.172.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA08959 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 16:27:33 -0500
Received: by island.amtsgi.bc.ca (Smail3.1.28.1 #1)
	id m0s9JLM-000L1zC; Wed, 10 May 95 14:30 PDT
Message-Id: <m0s9JLM-000L1zC@island.amtsgi.bc.ca>
Date: Wed, 10 May 1995 14:30:56 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: info@IslandNet.com (Info Account)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpd configuration
In-Reply-To: <Pine.SOL.3.91.950510141036.6074B-100000@ihost> from "Ed Jankovsky" at May 10, 95 02:13:11 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Mailer: ELM [version 2.4 PL0]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> The end result I want is to have a user, kha, login with password but be 
> limited to certain directories, much like anonymous.  But from what I've 
> read so far, it looks as if this is only possible for anon and guest?

This is exactly what I want to do too..  I want to specify a starting
location, but not let them access files above that directory, or cd out of it,
etc.

Any way to do this?

Mark

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 14:39:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9JTC-0002YIC; Wed, 10 May 95 14:39 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA09495; Wed, 10 May 1995 16:35:17 -0500
Received: from homer.louisville.edu (homer.louisville.edu [136.165.1.20]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA09291 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 16:31:41 -0500
Received: by homer.louisville.edu; (5.65/1.1.8.2/03Jun94-0854PM)
	id AA08235; Wed, 10 May 1995 17:31:40 -0400
Message-Id: <9505102131.AA08235@homer.louisville.edu>
Date: Wed, 10 May 1995 17:31:40 -0500 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Jason A. Dour" <jadour01@homer.louisville.edu>
To: wu-ftpd@wugate.wustl.edu (Washington University FTPD LIST)
Subject: installing wuftpd
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL22]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello, I'm a member of the Unix Technical Support team here at the
University of Louisville.  We are trying to jump start an FTP server now
that a machine has become available for FTP use.  I've compiled to software
and done a 'build install,' as well as perused every document I can lay my 
hands on, yet I am still at a loss when configuring the server.
Documentation seems to be non-existent.  I want to use the extended
capabilities of this server, but am at a loss when trying to set it up.
I desperately need help with the settings in the configuration files, along
with a better description of file and directory locations and what
protections are needed, et cetera.

I would me much appreciative of any person who could start either a phone
or email communication with me to get this server started ASAP.  It has
become a priority for our goals at the university, and we are on a fast
track to nowhere at this moment...a situation I wish to remedy.  If more
extensive documentation exists, could someone please point me in the right
direction...

Any help is greatly appreciated,
Jason

+- Jason A. Dour ----------------------------------- Dark Father Amadeus -+
|----------- jadour01@[homer|ftp|ulkyvx|ulkyvm].louisville.edu -----------|
|--------- Home Page : http://www.louisville.edu/~jadour01/     ----------|
+--------- PJ Harvey : http://www.louisville.edu/~jadour01/pjh/ ----------+

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 14:43:11 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9JX5-0002c5C; Wed, 10 May 95 14:43 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA09957; Wed, 10 May 1995 16:40:11 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA09621 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 16:36:39 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA24058; Wed, 10 May 1995 16:31:57 -0500
Message-Id: <Chameleon.950510163501.mbrennen@mbrennen.intecom.com>
Date: Wed, 10 May 95 16:30:49 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpd configuration 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

guest ftp will do this.  Pay attention to the home directory 
login path, the /etc/group file and 'guestgroup' in the 
/etc/ftpaccess file.  The docs are pretty good at this.

Michael


On Wed, 10 May 1995 14:30:56 -0700 (PDT)  Info Account wrote:
>>The end result I want is to have a user, kha, login with 
>>password but be limited to certain directories, much like 
>>anonymous.  But from what I've read so far, it looks as if 
>>this is only possible for anon and guest?
>
>This is exactly what I want to do too..  I want to specify a 
>starting location, but not let them access files above that 
>directory, or cd out of it, etc.
>
>Any way to do this?
>
>Mark
>


From owner-wu-ftpd@wugate.wustl.edu Wed May 10 15:04:56 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9JBr-0003NxC; Wed, 10 May 95 14:21 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA08116; Wed, 10 May 1995 16:15:45 -0500
Received: from azfms.com (slip015.mega.net [204.137.143.240]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA07876 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 16:13:14 -0500
Received: by azfms.com (5.x/SMI-SVR4)
	id AA06094; Wed, 10 May 1995 14:13:11 -0700
Message-Id: <Pine.SOL.3.91.950510141036.6074B-100000@ihost>
Date: Wed, 10 May 1995 14:13:11 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed Jankovsky <d1044@azfms.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpd configuration
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: d1044@ihost
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello, I'm very new to configuring this daemon and have some 
questions/problems.

The end result I want is to have a user, kha, login with password but be 
limited to certain directories, much like anonymous.  But from what I've 
read so far, it looks as if this is only possible for anon and guest?

Which brings me to another problem.  When I set up the anonymous user, with a
locked in directory, it signs in ok, but once I try to do an ls, I get

"200 PORT command successful. 
425 Can't create data socket (0.0.0.0,20): Bad file number."

What am I missing?

Thanks

+=- .                                                    . .. -=*
|                                                               |
. Ed Jankovsky                                  edj@azfms.com   .
  Arizona Department of Transportation    syrinx@primenet.com                
. Freeway Management System                                     
|                                                               .
+=- .. .                                                     . -+

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 15:12:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9JzL-0003GCC; Wed, 10 May 95 15:12 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA11475; Wed, 10 May 1995 17:09:12 -0500
Received: from rspac.ivv.nasa.gov ([129.164.40.100]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA11051 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 17:01:50 -0500
Received: from tigger ([129.164.40.111]) by rspac.ivv.nasa.gov (8.6.9/8.6.9) with SMTP id RAA03808 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 17:03:45 -0400
Message-Id: <199505102103.RAA03808@rspac.ivv.nasa.gov>
Date: Wed, 10 May 1995 17:03:45 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jlang@rspac.ivv.nasa.gov (Janice Lang)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpd configuration
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jlang@rspac.ivv.nasa.gov
X-Mailer: <PC Eudora Version 1.4>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

02:13pm 5/10/95, Ed Jankovsky writes:

I am pretty new to configure this daemon as well but I've just worked 
through a number of problems of my own.

>
>Hello, I'm very new to configuring this daemon and have some 
>questions/problems.
>
>The end result I want is to have a user, kha, login with password but be 
>limited to certain directories, much like anonymous.  But from what I've 
>read so far, it looks as if this is only possible for anon and guest?

>From what I understand of your problem, it sounds like you want to set your 
kha user up as a guest account.  Here's what you need to do to do this:

I have this pertinant information in my ftpaccess file:
NOTE: jht=my guests name

        class jht guest *                                                    
           
        guestgroup jht

You also need to put an entry in your /etc/passwd file for this person.  
Here is mine:

 jht:passwd:202:202:Guest FTP account:/home/ftp/pub/jht/./:/bin/false
                                                ^^^^^^^^^^^^^^   ^
      /home/ftp/pub/jht is the guests root directory.
      / is the 'home' directory that the guest is logged into - in my case the 
         root directory is the same as the home directory.
>
>Which brings me to another problem.  When I set up the anonymous user, with a
>locked in directory, it signs in ok, but once I try to do an ls, I get
>
>"200 PORT command successful. 
>425 Can't create data socket (0.0.0.0,20): Bad file number."
>
>What am I missing?
>

You need to create a tcp device file within the ftp directory structure.  
Use the mknod command to do this.  

>Thanks
>
>+=- .                                                    . .. -=*
>|                                                               |
>. Ed Jankovsky                                  edj@azfms.com   .
>  Arizona Department of Transportation    syrinx@primenet.com                
>. Freeway Management System                                     
>|                                                               .
>+=- .. .                                                     . -+
>


Janice Lang
BDM Federal, Inc.
NASA/IVV Facility
Fairmont WV 26554


From owner-wu-ftpd@wugate.wustl.edu Wed May 10 18:43:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Mio-0003DJC; Wed, 10 May 95 18:07 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA18232; Wed, 10 May 1995 20:04:33 -0500
Received: from dag.XC.Org (dag.XC.Org [137.175.2.104]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA18045 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 20:01:19 -0500
Received: by dag.XC.Org (8.6.9+revalias#3/95032201)
	id VAA28200; Wed, 10 May 1995 21:01:18 -0400
Message-Id: <199505110101.VAA28200@dag.XC.Org>
Date: Wed, 10 May 1995 21:01:17 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jonathan Marsden <jonathan@XC.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd 2.4(x) -- what is "x" and what does it matter?
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We just picked up wu-ftpd 2.4 sources and compiled them.  Install is
OK, now we're working on the ftpaccess file etc configuration!

However, I see some sites running 2.4(6), but mine says 2.4(5) (in the
welcome line displayed to ftp clients).

I assume (?) this parenthesized number is a patch level?

If so where can I get the latest and greatest patches?
If not... what *is* that number in parens? :-)

Thanks,

Jonathan
-- 
Jonathan Marsden <jm@xc.org>    | Phone: +1 (719) 495 8789
12175 Howells Road              | FAX:   +1 (719) 495 8789
Colorado Springs, CO 80907, USA | Organization: CrossConnect

From owner-wu-ftpd@wugate.wustl.edu Wed May 10 18:57:27 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9MuZ-0002aXC; Wed, 10 May 95 18:19 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA18762; Wed, 10 May 1995 20:17:24 -0500
Received: from aurora (AURORA.PHYS.UTK.EDU [128.169.207.157]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA18609 for <wu-ftpd@wugate.wustl.edu>; Wed, 10 May 1995 20:13:35 -0500
Received: by aurora (Linux Smail3.1.28.1 #4)
	id m0s9Pn2-00007wC; Wed, 10 May 95 21:23 PDT
Message-Id: <Pine.LNX.3.91.950510212243.14377C-100000@aurora.phys.utk.edu>
Date: Wed, 10 May 1995 21:23:55 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Blass <swb@aurora.phys.utk.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd 2.4(x) -- what is "x" and what does it matter?
In-Reply-To: <199505110101.VAA28200@dag.XC.Org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

The number in parenetheses is a counter that indicates how many times
the software has been built.  The number is stored in ~/src/edit and
incremented by ~/src/newvers.sh which recreates ~/vers.c each time.

cool huh ?

On Wed, 10 May 1995, Jonathan Marsden wrote:

> We just picked up wu-ftpd 2.4 sources and compiled them.  Install is
> OK, now we're working on the ftpaccess file etc configuration!
> 
> However, I see some sites running 2.4(6), but mine says 2.4(5) (in the
> welcome line displayed to ftp clients).
> 
> I assume (?) this parenthesized number is a patch level?
> 
> If so where can I get the latest and greatest patches?
> If not... what *is* that number in parens? :-)
> 
> Thanks,
> 
> Jonathan
> -- 
> Jonathan Marsden <jm@xc.org>    | Phone: +1 (719) 495 8789
> 12175 Howells Road              | FAX:   +1 (719) 495 8789
> Colorado Springs, CO 80907, USA | Organization: CrossConnect
> 

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 04:06:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9W4p-0003EBC; Thu, 11 May 95 04:06 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA03831; Thu, 11 May 1995 06:04:22 -0500
Received: from polaris.inta.es (polaris.inta.es [130.206.84.14]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id FAA03628 for <wu-ftpd@mail.wustl.edu>; Thu, 11 May 1995 05:55:06 -0500
Received: from cc:Mail by aldout.inta.es
	id AA800222090 Thu, 11 May 95 12:54:50 utc
Message-Id: <9504118002.AA800222090@aldout.inta.es>
Date: Thu, 11 May 95 12:54:50 utc
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ferrerp@inta.es
To: wu-ftpd@wugate.wustl.edu
Subject: Setting up the server
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

Iom new to this list, and I have just installed wu-ftpd-2.4 but I canot get 
it working. Here is what happens:

vega# ftp vega
Connected to vega.
220-Servidor FTP INTA
220-
220 vega FTP server (Version wu-2.4(2) Wed May 10 13:49:57 MET DST 1995) 
ready.
Name (vega:root): anonymous
221 Server shutting down.  Goodbye.
421 Service not available, remote server has closed connection
ftp> bye
vega#

Could someone point me to a FAQ or some other document about the 
configuration of wu-ftpd ?

Thanks,

        Peter.

------------------------------------------------------------------
Pedro Ferrer            Instituto Nacional de Tecnica Aeroespacial
ferrerp@inta.es                    "Esteban Terradas"
                                          Spain
------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 05:02:12 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9WwS-0003HgC; Thu, 11 May 95 05:02 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id HAA05125; Thu, 11 May 1995 07:00:09 -0500
Received: from ikaros.pei.edu (ikaros.pei.edu [192.245.42.247]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id GAA05012 for <wu-ftpd@wugate.wustl.edu>; Thu, 11 May 1995 06:58:18 -0500
Received: (from robert@localhost) by ikaros.pei.edu (8.6.10/8.6.6) id GAA08143; Thu, 11 May 1995 06:47:50 -0500
Message-Id: <Pine.SOL.3.91.950511064614.8121B-100000@ikaros.pei.edu>
Date: Thu, 11 May 1995 06:47:49 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Rowland <robert@pei.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpd configuration
In-Reply-To: <199505102103.RAA03808@rspac.ivv.nasa.gov>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I see that I can make guest users locked into certain subdirs.
I had hacked the code to allow _all_ users only to be able to move 
around in their home directory tree. Can I set up all users as guest
users restricting them away from any of the important areas ?

thank you -robert


Robert Rowland
System Administrator
robert@pei.edu

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 05:41:34 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9WqF-0002UfC; Thu, 11 May 95 04:55 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA04831; Thu, 11 May 1995 06:53:55 -0500
Received: from mis.cpc.ku.ac.th (MIS.cpc.ku.ac.th [158.108.2.70]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA04703 for <wu-ftpd@wugate.wustl.edu>; Thu, 11 May 1995 06:49:38 -0500
Received: by mis.cpc.ku.ac.th id AA16537
  (5.67b8/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Thu, 11 May 1995 18:50:20 +0700 ; 
Message-Id: <Pine.SUN.3.91.950511184807.16496A-100000@mis.cpc.ku.ac.th>
Date: Thu, 11 May 1995 18:50:19 +0700 (GMT+0700)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Poon Rojanasoonthon <s36prs@mis.cpc.ku.ac.th>
To: wu-ftpd@wugate.wustl.edu
Subject: FTPHOSTS
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	Hi all,
	How can I make an access with netmask eg.
	xxx.xxx.xxx.xxx/255.255.255.192 ?
	I don't want to use tcpwrapper, does wu-ftpd have this feature?

							Regards,
						Poon Rojanasoonthon

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 05:47:43 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9XeU-0003NjC; Thu, 11 May 95 05:47 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id HAA06350; Thu, 11 May 1995 07:44:18 -0500
Received: from sarenet.es  ([192.148.167.16]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id HAA06227 for <wu-ftpd@wugate.wustl.edu>; Thu, 11 May 1995 07:40:51 -0500
Received: from esi.es (OFFICE.esi.es) by sarenet.es  (5.x/SMI-SVR4)
	id AA05488; Thu, 11 May 1995 14:37:23 +0200
Received: from OFFICE/MERCURY by esi.es (Mercury 1.21);
    11 May 95 14:36:52 GMT+0100
Received: from MERCURY by OFFICE (Mercury 1.21); 11 May 95 14:35:53 GMT+0100
Received: from MUL.esi.es by esi.es (Mercury 1.21);
    11 May 95 14:35:08 GMT+0100
Message-Id: <190FC41429B@esi.es>
Date: Thu, 11 May 1995 14:35:08 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Miren U. Libano" <libano@esi.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Setting up the server
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Sender: libano@esi.es
X-Mailer: <Windows Eudora Version 1.4.2b16>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Pedro, I do not know what the problem is but some days ago there was an
interchange of messages for the same problem. The following is a summary of
those messages hopefully it will help you. Bye, Usua.

----------------------------------------------------------------------------
Return-path: <owner-wu-ftpd@wugate.wustl.edu>
Date: Wed, 3 May 1995 19:12:52 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "David Mostardi" <david@mbari.org>
To: wu-ftpd@wugate.wustl.edu
Subject: SUMMARY: wu-ftp server immediately dies
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

PROBLEM
-------
I am running wu-ftp on an HP9000/380 running HP-UX 9.03.
Whenever I start the server, it immediately dies with
this error:

   220 wave FTP server (Version wu-2.4(1) Wed Apr 19 13:11:10 PDT 1995)=
 ready.
   221 Server shutting down.  Goodbye.


SOLUTION
--------
Peter Hawkins <hawkins@c4west.eds.com> pointed out
that my "/etc/shutmsg" file (mentioned in ftpaccess(5))
was malformed.  I had the shutdown text, but not the
datestamp line that precedes it.


-------------------------------------------------------------------
David Mostardi                              Email: david@mbari.org
Systems Administrator                       Phone: (408) 647-3734
Monterey Bay Aquarium Research Institute      FAX: (408) 649-8587
160 Central Ave., Pacific Grove CA 93950

     Q. Why do bagpipers walk while they play?
     A. To get away from the noise.
____________________________________________________________________________
____________________________________________________________________________=
__


Miren Usua Libano Albert
B.S. Computer Science
European Software Institute
Parque Tecnol=F3gico
E-48016 Zamudio (Bilbao)
Bizkaia - Spain
Tel: ++34-4-420-95-19
Fax: ++34-4-420-94-20
e-mail: libano@esi.es

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 06:41:18 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Y8l-0003NNC; Thu, 11 May 95 06:18 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07596; Thu, 11 May 1995 08:15:16 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA07498 for <wu-ftpd@wugate.wustl.edu>; Thu, 11 May 1995 08:14:37 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA06823 for wu-ftpd@wugate.wustl.edu; Thu, 11 May 95 06:14:35 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA22851; Thu, 11 May 95 06:14:35 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA09602 for wu-ftpd@wugate.wustl.edu; Thu, 11 May 95 06:14:34 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA24810; Thu, 11 May 95 08:14:31 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA12135; Thu, 11 May 1995 08:15:17 -0500
Message-Id: <9505111315.AA12135@miaow.sps.mot.com>
Date: Thu, 11 May 1995 08:15:17 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: installing wuftpd
In-Reply-To: <9505102131.AA08235@homer.louisville.edu> from "Jason A. Dour" at May 10, 95 05:31:40 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Jason A. Dour writes: ]
> If more
> extensive documentation exists, could someone please point me in the right
> direction...

Read the ftpaccess man page (in wu-ftpd package). Read the native ftpd
man page for your system. Detail what you have set up thus far and we'll
go from there.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 09:06:42 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9Zmu-00039dC; Thu, 11 May 95 08:04 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA13380; Thu, 11 May 1995 10:02:01 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA12783 for <wu-ftpd@mail.wustl.edu>; Thu, 11 May 1995 09:50:44 -0500
Received: from mail.Germany.EU.net by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQDD1772LC00222R@wunet.wustl.edu>; Thu, 11 May 1995 08:46:38 -0500 (CDT)
Received: by mail.Germany.EU.net with ESMTP (8.6.5:29/EUnetD-2.5.1.f)
 via EUnet id PAA07962; Thu, 11 May 1995 15:50:34 +0200
Received: from localhost.Germany.EU.net by homer.Germany.EU.net with SMTP
 (8.6.4/EUnetDlan-1.14-1.2.0) via EUnet for [ftp.germany.eu.net] id PAA03934;
 Thu, 11 May 1995 15:55:53 +0200
Message-Id: <199505111355.PAA03934@homer.Germany.EU.net>
Date: Thu, 11 May 1995 15:55:52 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Holger Muenx <Holger.Muenx@Germany.EU.net>
To: wu-ftpd@wunet.wustl.edu
Cc: archive-admin@ftp.Germany.EU.net
Subject: Idle timeout does not work?
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-Mailer: exmh version 1.6 4/21/95
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Guten Tag!

Unfortunately, we here at ftp.germany.eu.net have a rather bizarre problem
with the wuarchive ftp server, version 2.4(5): Although there is an idle
timeout period of 900 seconds configured the ftpd tends to not log out idle
users so we have to kick them out "by hand" with kill.

Do you know of any circumstances which may cause the idle timeout mechanism
of the wuarchive ftpd to fail? Are there any bugs in the alarm() system call
which is used for the idle timeout? Our machine is a Sparcstation 5 with
"uname -a" reporting "SunOS simpson 4.1.3_U1 1 sun4m".

It is important that we can fix this problem because our ftp services are
quite often blocked by idle users.

Thank you in advance for you help!

Holger Muenx (hm@germany.eu.net)

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 09:56:18 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9bWy-00035OC; Thu, 11 May 95 09:56 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20182; Thu, 11 May 1995 11:53:43 -0500
Received: from island.amtsgi.bc.ca (Island.IslandNet.com [198.53.172.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA19971 for <wu-ftpd@wugate.wustl.edu>; Thu, 11 May 1995 11:50:31 -0500
Received: by island.amtsgi.bc.ca (Smail3.1.28.1 #1)
	id m0s9bUo-000L03C; Thu, 11 May 95 09:53 PDT
Message-Id: <m0s9bUo-000L03C@island.amtsgi.bc.ca>
Date: Thu, 11 May 1995 09:53:54 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: info@IslandNet.com (Info Account)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpd configuration
In-Reply-To: <Pine.SOL.3.91.950511064614.8121B-100000@ikaros.pei.edu> from "Robert Rowland" at May 11, 95 06:47:49 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Mailer: ELM [version 2.4 PL0]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> I see that I can make guest users locked into certain subdirs.
> I had hacked the code to allow _all_ users only to be able to move 
> around in their home directory tree. Can I set up all users as guest
> users restricting them away from any of the important areas ?
> 

Can I get a copy of the version you hacked?  That's *exactly* what I
want to be able to do (restrict them to their home directories).

Mark

From owner-wu-ftpd@wugate.wustl.edu Thu May 11 12:34:07 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0s9dzh-0003BCC; Thu, 11 May 95 12:33 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA28295; Thu, 11 May 1995 14:28:43 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA28191 for <wu-ftpd@wugate.wustl.edu>; Thu, 11 May 1995 14:27:26 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA02832 for wu-ftpd@wugate.wustl.edu; Thu, 11 May 95 12:27:24 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA01462; Thu, 11 May 95 12:27:21 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA09447 for wu-ftpd@wugate.wustl.edu; Thu, 11 May 95 12:27:18 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA27711; Thu, 11 May 95 14:27:15 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA18828; Thu, 11 May 1995 13:56:01 -0500
Message-Id: <9505111856.AA18828@miaow.sps.mot.com>
Date: Thu, 11 May 1995 13:56:00 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpd configuration
In-Reply-To: <m0s9bUo-000L03C@island.amtsgi.bc.ca> from "Info Account" at May 11, 95 09:53:54 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Info Account writes: ]
> 
> > I see that I can make guest users locked into certain subdirs.
> > I had hacked the code to allow _all_ users only to be able to move 
> > around in their home directory tree. Can I set up all users as guest
> > users restricting them away from any of the important areas ?
> 
> Can I get a copy of the version you hacked?  That's *exactly* what I
> want to be able to do (restrict them to their home directories).

Y'all ever hear of ownership and permissions? But I'm curious what you
think users are going to do if all they can see is their own home
directories.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 16:38:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA3eY-0002jAC; Fri, 12 May 95 15:57 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA00537; Fri, 12 May 1995 17:55:54 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA00213 for <wu-ftpd@mail.wustl.edu>; Fri, 12 May 1995 17:48:54 -0500
Received: from pluto.njcc.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQFA6X6K4W002CLB@wunet.wustl.edu>; Fri, 12 May 1995 17:46:31 -0500 (CDT)
Received: (from bjkramer@localhost) by pluto.njcc.com (8.6.11/8.6.6)
 id SAA26169 for wu-ftpd@wunet.wustl.edu; Fri, 12 May 1995 18:48:50 -0400
Message-Id: <199505122248.SAA26169@pluto.njcc.com>
Date: Fri, 12 May 1995 18:48:50 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Kramer <bjkramer@pluto.njcc.com>
To: wu-ftpd@wunet.wustl.edu
Subject: Virtual Servers
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is there a way to setup virtual ftp servers?

I'd like to have IP 1.2.3.4 and IP 4.5.6.7 both be on the same physical
machine (which I know how to do), but have 1.2.3.4 (ftp.1domain.com)
and ftp 4.5.6.7 (ftp.2domain.com) appear to be completely different
servers and have different directories.

Anyone doing this?

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 16:39:04 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA3TW-0003A3C; Fri, 12 May 95 15:46 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA29903; Fri, 12 May 1995 17:43:03 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA29679 for <wu-ftpd@mail.wustl.edu>; Fri, 12 May 1995 17:36:16 -0500
Received: from worldcom.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQF9Q9BL9C002DR5@wunet.wustl.edu>; Fri, 12 May 1995 17:33:54 -0500 (CDT)
Received: (from smtp@localhost) by worldcom.com (8.6.11/8.6.9)
 id RAA23781 for <wu-ftpd@wunet.wustl.edu>; Fri, 12 May 1995 17:23:00 -0500
Received: from worldcom-18.worldcom.com(198.64.193.9)
 by worldcom.com via smap (V1.3) id sma023758; Fri May 12 17:22:38 1995
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
 id AA2632; Fri, 12 May 95 17:23:18 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id
 901DCD321C326FBA862561BA007AF318; Fri, 12 May 95 17:23:18
Message-Id: <9505130023.AA2632@worldcom-18.worldcom.com>
Date: Fri, 12 May 1995 17:11:05 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson <Dan_Thorson@notes.seagate.com>
To: wu-ftpd <wu-ftpd@wunet.wustl.edu>
Cc: jprice <jprice@eden.com>
Subject: hanging sockets problem tested & available
MIME-version: 1.0
Content-type: Text/Plain
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi all.
I've received a confirmation that my "hanging sockets" patch worked
[Thanks to JP Price (jprice@eden.com)], and have now tested it myself
on ftp.seagate.com.... and all looks good!

If folks would like to check out the returned messages, they should
feel free to telnet to ftp.seagate.com i.e.:
 telnet ftp.seagate.com 21
 user anonymous
 pass yourname@yourhost
 pasv
 list
and then wait 120 seconds.  You'll see a timeout message on your screen,
and what _was_ a hanging socket connection on my machine will have gone
away cleanly.

Oh, and then
 quit
the telnet session.  If you've missed the patch, or can't find it on the 
non-wustl-sanctioned-but-it's-all-we've-got patch server (where was that
again?) you can pick it up at URL:

 ftp://ftp.seagate.com/pub/wu-ftpd-2.4.patch

Dan Thorson
satisfied at last!

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 16:39:20 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA42g-0002aUC; Fri, 12 May 95 16:22 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA01222; Fri, 12 May 1995 18:19:48 -0500
Received: from cps199.cps.cmich.edu (cps199.cps.cmich.edu [141.209.20.199]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id SAA01109 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 18:16:03 -0500
Received: (from mbailey@localhost) by cps199.cps.cmich.edu (8.6.9/8.6.9) id TAA00333; Fri, 12 May 1995 19:16:02 -0400
Message-Id: <Pine.SUN.3.91.950512191537.307A-100000@cps199>
Date: Fri, 12 May 1995 19:16:01 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: M BAILEY <mbailey@cps.cmich.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <199505122248.SAA26169@pluto.njcc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mbailey@cps199
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 12 May 1995, Brian Kramer wrote:

> Is there a way to setup virtual ftp servers?
> 
> I'd like to have IP 1.2.3.4 and IP 4.5.6.7 both be on the same physical
> machine (which I know how to do), but have 1.2.3.4 (ftp.1domain.com)
> and ftp 4.5.6.7 (ftp.2domain.com) appear to be completely different
> servers and have different directories.
> 
> Anyone doing this?
> 
If someone is doing this let me know I would be very interested in how to 
et something like this up.
Thanks

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 17:39:12 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA4nU-0000JDC; Fri, 12 May 95 17:11 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA02725; Fri, 12 May 1995 19:06:45 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id TAA02596 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 19:03:14 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id TAA28956; Fri, 12 May 1995 19:03:11 -0500
Message-Id: <199505130003.TAA28956@academ.com>
Date: Fri, 12 May 1995 19:03:11 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu, wu-ftpd <wu-ftpd@wunet.wustl.edu>
Cc: jprice <jprice@eden.com>
Subject: Re: hanging sockets problem tested & available
In-Reply-To: Dan Thorson <Dan_Thorson@notes.seagate.com>
       "hanging sockets problem tested & available" (May 12,  5:11pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks for the note. I will get this and put it in my distirbution as a beta
and other folks can test it before I make it main line.

this should happen this weekend.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 18:38:56 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA5E0-00035IC; Fri, 12 May 95 17:38 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA03525; Fri, 12 May 1995 19:36:33 -0500
Received: from matrix.eden.com (matrix.eden.com [199.171.21.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id TAA03435 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 19:34:12 -0500
Received: from dingo_baby.eden.com (dingo_baby.eden.com [199.171.21.10]) by matrix.eden.com (8.6.12.1/8.6.5) with SMTP id TAA17346; Fri, 12 May 1995 19:34:08 -0500
Received: by dingo_baby.eden.com with Microsoft Mail
	id <01BA209E.78FEDC40@dingo_baby.eden.com>; Fri, 12 May 1995 19:27:51 -0500
Message-Id: <01BA209E.78FEDC40@dingo_baby.eden.com>
Date: Fri, 12 May 1995 19:27:49 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: JP Price <jprice@eden.com>
To: "'Stan Barber'" <sob@academ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: hanging sockets problem tested & available
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hmm, it appears that this only fixes processes that go zombie, and doesn't catch
 processes that just go idle for a long time.

I was using ps -aux | grep ftp to catch the processes, but have been informed that
I should ps -auxww | grep ftp to see everything.

Apparently the idle timeout doesn't work, but at least this patch does clean out the
zombie processes.

 -patrick


----------
From: 	Stan Barber[SMTP:sob@academ.com]
Sent: 	Friday, May 12, 1995 7:03 PM
To: 	wu-ftpd@wugate.wustl.edu; wu-ftpd
Cc: 	jprice
Subject: 	Re: hanging sockets problem tested & available

Thanks for the note. I will get this and put it in my distirbution as a beta
and other folks can test it before I make it main line.

this should happen this weekend.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.


From owner-wu-ftpd@wugate.wustl.edu Fri May 12 18:39:15 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA5MW-0002bzC; Fri, 12 May 95 17:47 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id TAA03828; Fri, 12 May 1995 19:45:15 -0500
Received: from ccvcom.auckland.ac.nz (ccvcom.auckland.ac.nz [130.216.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id TAA03746 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 19:42:50 -0500
Received: from ccu1.auckland.ac.nz by ccvcom.auckland.ac.nz (PMDF V4.3-7 #2864)
 id <01HQGDUFAWWW8XC3XC@ccvcom.auckland.ac.nz>; Sat,
 13 May 1995 12:42:36 GMT+1200
Received: by ccu1.auckland.ac.nz (931110.SGI/940509)
 for wu-ftpd@wugate.wustl.edu id AA00855; Sat, 13 May 95 12:42:29 +1200
Message-Id: <9505130042.AA00855@ccu1.auckland.ac.nz>
Date: Sat, 13 May 1995 12:42:29 +1200 (NZT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: r.street@auckland.ac.nz (Russell Street)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <199505122248.SAA26169@pluto.njcc.com> from "Brian Kramer" at May
 12, 95 06:48:50 pm
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> Is there a way to setup virtual ftp servers?

>From the README of the TCP wrappers (archie for "tcp_wrapper").

You can get a package called 'vif' (Virtual Interface) that allows
similiar things on SunOS and HP-UX.  I believe there are also similiar
packages in the works for Linux.

People on SGIs are (for the most part) out of luck, but I believe you
can do hacks with the PPP interfaces to achieve the effect --- check
the FAQ.

You are going to have to edit the code of the two servers to use
different 'ftp' entries in the /etc/passwd file for the different
binaries, of course.

Good luck...
Russell

4.6 - Multiple ftp/gopher/www archives on one host
--------------------------------------------------

Imagine one host with multiple internet addresses. These addresses do
not need to have the same internet hostname. Thus, it is possible to
offer services with different internet hostnames from just one host.

Service providers can use this to offer organizations a presence on the
"net" with their own internet hostname, even when those organizations
aren't connected to the Internet at all.  To the end user it makes no
difference, because applications use internet hostnames.

There are several ways to assign multiple addresses to one machine.
The nice way is to take an existing network interface and to assign
additional internet addresses with the `ifconfig' command. Examples:

    Solaris 2:	ifconfig le0:1 <address> netmask <mask> up
    4.4 BSD:	ifconfig en0 alias <address> netmask <mask>

On other systems one has to increase the number of network interfaces:
either with hardware interfaces, or with pseudo interfaces like SLIP or
PPP.  The interfaces do not need to be attached to anything. They just
need to be up and to be assigned a suitable internet address and mask.

With the wrapper software, `daemon@host' access control patterns can be
used to distinguish requests by the network address that they are aimed
at.  Judicious use of the `twist' option (see the hosts_options.5 file,
`nroff -man' format) can guide the requests to the right server.  These
can be servers that live in separate chroot areas, or servers modified
to take additional context from the command line, or a combination.

Another way is to modify gopher or www listeners so that they bind to
only one specific network address. Multiple gopher or www servers can
then be run side by side, each taking requests sent to its respective
network address.



 -------------------------------------------------------------------
 Russell Street (r.street@auckland.ac.nz) +64 (9) 373-7599 extn 6487
   UNIX Systems Programmer, Computer Centre, University of Auckland
	     http://www.auckland.ac.nz/cc/People/RS.html

   Like the blind man in the dark room looking for the black cat
			  that isn't there

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 18:39:27 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA60l-0003A6C; Fri, 12 May 95 18:28 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA04669; Fri, 12 May 1995 20:25:47 -0500
Received: from thesphere.com (centerof.thesphere.com [199.182.213.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA04577 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 20:23:50 -0500
Received: by thesphere.com (5.x/SMI-SVR4)
	id AA13444; Fri, 12 May 1995 18:23:22 -0700
Message-Id: <9505130123.AA13444@thesphere.com>
Date: Fri, 12 May 1995 18:23:21 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dlp@thesphere.com (Dan Pritchett)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <9505130042.AA00855@ccu1.auckland.ac.nz> from "Russell Street" at May 13, 95 12:42:29 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL21]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
> > Is there a way to setup virtual ftp servers?
> 
> >From the README of the TCP wrappers (archie for "tcp_wrapper").
> 
> You can get a package called 'vif' (Virtual Interface) that allows
> similiar things on SunOS and HP-UX.  I believe there are also similiar
> packages in the works for Linux.
> 
> People on SGIs are (for the most part) out of luck, but I believe you
> can do hacks with the PPP interfaces to achieve the effect --- check
> the FAQ.
> 
People on SGI's will do just fine up to 64 virtual hosts. Check out
http://www.thesphere.com/~dlp/TwoServers/ for a description of how to
get multiple interfaces on a variety of platforms.


-- 
Dan Pritchett                               The Sphere Information Services
dlp@thesphere.com                           http://www.thesphere.com
(800)664-7434/(408)369-9105                 FAX: (408)266-4376

For my PGP public key, send mail to key@four11.com with
dlp@thesphere.com in the message body.

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 20:05:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA6ox-0003G4C; Fri, 12 May 95 19:20 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA05859; Fri, 12 May 1995 21:18:42 -0500
Received: from webcom.com (webcom.com [165.227.43.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id VAA05776 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 21:15:05 -0500
Received: by webcom.com
	(1.37.109.15/16.2) id AA037011135; Fri, 12 May 1995 19:12:15 -0700
Message-Id: <199505130215.VAA05776@wugate.wustl.edu>
Date: Fri, 12 May 1995 19:12:15 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Leavitt <leavitt@webcom.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <9505130042.AA00855@ccu1.auckland.ac.nz>; from "Russell Street" at May 13, 95 12:42 (noon)
X-Mailer: Elm [revision: 109.14]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
> > Is there a way to setup virtual ftp servers?
> 
> >From the README of the TCP wrappers (archie for "tcp_wrapper").
> 
> You can get a package called 'vif' (Virtual Interface) that allows

Could you point me to a location where I can find "vif" or more information
about it? This is something we are very much interested in.

> similiar things on SunOS and HP-UX.  I believe there are also similiar
> packages in the works for Linux.
> 
> People on SGIs are (for the most part) out of luck, but I believe you
> can do hacks with the PPP interfaces to achieve the effect --- check
> the FAQ.
> 
> You are going to have to edit the code of the two servers to use
> different 'ftp' entries in the /etc/passwd file for the different
> binaries, of course.
> 
> Good luck...
> Russell
> 
> 4.6 - Multiple ftp/gopher/www archives on one host
> --------------------------------------------------
> 
> Imagine one host with multiple internet addresses. These addresses do
> not need to have the same internet hostname. Thus, it is possible to
> offer services with different internet hostnames from just one host.
> 
> Service providers can use this to offer organizations a presence on the
> "net" with their own internet hostname, even when those organizations
> aren't connected to the Internet at all.  To the end user it makes no
> difference, because applications use internet hostnames.
> 
> There are several ways to assign multiple addresses to one machine.
> The nice way is to take an existing network interface and to assign
> additional internet addresses with the `ifconfig' command. Examples:
> 
>     Solaris 2:	ifconfig le0:1 <address> netmask <mask> up
>     4.4 BSD:	ifconfig en0 alias <address> netmask <mask>
> 
> On other systems one has to increase the number of network interfaces:
> either with hardware interfaces, or with pseudo interfaces like SLIP or
> PPP.  The interfaces do not need to be attached to anything. They just
> need to be up and to be assigned a suitable internet address and mask.
> 
> With the wrapper software, `daemon@host' access control patterns can be
> used to distinguish requests by the network address that they are aimed
> at.  Judicious use of the `twist' option (see the hosts_options.5 file,
> `nroff -man' format) can guide the requests to the right server.  These
> can be servers that live in separate chroot areas, or servers modified
> to take additional context from the command line, or a combination.
> 
> Another way is to modify gopher or www listeners so that they bind to
> only one specific network address. Multiple gopher or www servers can
> then be run side by side, each taking requests sent to its respective
> network address.
> 
> 
> 
>  -------------------------------------------------------------------
>  Russell Street (r.street@auckland.ac.nz) +64 (9) 373-7599 extn 6487
>    UNIX Systems Programmer, Computer Centre, University of Auckland
> 	     http://www.auckland.ac.nz/cc/People/RS.html
> 
>    Like the blind man in the dark room looking for the black cat
> 			  that isn't there
> 


--
Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.
 
Web Communications Home Page <URL:http://www.webcom.com/>

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 20:05:27 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA6UR-00039oC; Fri, 12 May 95 18:59 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA05332; Fri, 12 May 1995 20:57:27 -0500
Received: from ccvcom.auckland.ac.nz (ccvcom.auckland.ac.nz [130.216.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA05258 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 20:55:32 -0500
Received: from ccu1.auckland.ac.nz by ccvcom.auckland.ac.nz (PMDF V4.3-7 #2864)
 id <01HQGGEJS1OW8X5U1D@ccvcom.auckland.ac.nz>; Sat,
 13 May 1995 13:55:16 GMT+1200
Received: by ccu1.auckland.ac.nz (931110.SGI/940509)
 for wu-ftpd@wugate.wustl.edu id AA02378; Sat, 13 May 95 13:55:10 +1200
Message-Id: <9505130155.AA02378@ccu1.auckland.ac.nz>
Date: Sat, 13 May 1995 13:55:10 +1200 (NZT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: r.street@auckland.ac.nz (Russell Street)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <9505130123.AA13444@thesphere.com> from "Dan Pritchett" at May 12,
 95 06:23:21 pm
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> > People on SGIs are (for the most part) out of luck, but I believe you
> > can do hacks with the PPP interfaces to achieve the effect --- check
> > the FAQ.

> People on SGI's will do just fine up to 64 virtual hosts.

As I said, hacks with the PPP interfaces.  I am sure you are going get
a lot of support from the SGI TAC if any problems came up with doing
this, or it mysteriously stops working after an upgrade.

Comments by Dave Olson (of SGI) in the newsgroups about multiple
addresses on the same interface were not encouraging.

cf, the Solaris 2.x and BSD methods with are officially supported.

> Check out
> http://www.thesphere.com/~dlp/TwoServers/ for a description of how to
> get multiple interfaces on a variety of platforms.

A most useful resource.

Russell

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 22:41:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA9aO-0003AMC; Fri, 12 May 95 22:17 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id AAA10599; Sat, 13 May 1995 00:15:56 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id AAA10109 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 00:06:09 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id AAA00355 for wu-ftpd@wugate.wustl.edu; Sat, 13 May 1995 00:06:02 -0500
Message-Id: <199505130506.AAA00355@academ.com>
Date: Sat, 13 May 1995 00:06:02 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp setup references
In-Reply-To: Mark Williamson <mark@rigel.nist.gov> and do not reflect NIST policy or agreement.
       "ftp setup references" (May 13, 12:53am)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Alot of things are specific to the version of UNIX. A good generic 
reference is in the O'Reilly book "Managing Internet Information Services"....


-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 22:42:03 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA9NQ-0003FBC; Fri, 12 May 95 22:04 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id AAA10029; Sat, 13 May 1995 00:02:12 -0500
Received: from rigel.nist.gov (rigel.nist.gov [129.6.182.76]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id XAA09811 for <wu-ftpd@wugate.wustl.edu>; Fri, 12 May 1995 23:55:02 -0500
Received: by rigel.nist.gov (4.1/NIST-markw)
	id AA14627; Sat, 13 May 95 00:53:20 EDT
Message-Id: <9505130453.AA14627@rigel.nist.gov>
Date: Sat, 13 May 95 00:53:20 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Williamson <mark@rigel.nist.gov>
	and do not reflect NIST policy or agreement.
To: wu-ftpd@wugate.wustl.edu
Subject: ftp setup references
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Being very new to UNIX, I am trying to setup an anonymous ftp account and a
group ftp account.  The group account must be password protected and be read
only with an incomming directory.  Are there any good COOKBOOK references that
will step me through this?

Thanks and Regards,
Mark Williamson, NIST

From owner-wu-ftpd@wugate.wustl.edu Fri May 12 22:42:12 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sA9oQ-0003AAC; Fri, 12 May 95 22:32 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id AAA11179; Sat, 13 May 1995 00:30:25 -0500
Received: from ccvcom.auckland.ac.nz (ccvcom.auckland.ac.nz [130.216.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id AAA10978 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 00:26:03 -0500
Received: from ccu1.auckland.ac.nz by ccvcom.auckland.ac.nz (PMDF V4.3-7 #2864)
 id <01HQGNQNKO0W8XCILU@ccvcom.auckland.ac.nz>; Sat,
 13 May 1995 17:25:50 GMT+1200
Received: by ccu1.auckland.ac.nz (931110.SGI/940509)
 for wu-ftpd@wugate.wustl.edu id AA06307; Sat, 13 May 95 17:25:47 +1200
Message-Id: <9505130525.AA06307@ccu1.auckland.ac.nz>
Date: Sat, 13 May 1995 17:25:47 +1200 (NZT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: r.street@auckland.ac.nz (Russell Street)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp setup references
In-Reply-To: <9505130453.AA14627@rigel.nist.gov> from "Mark Williamson" at May
 13, 95 00:53:20 am
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Grovelling around your favourite news.answers archive should be able
to find a document 'How to set up an anonymous FTP site'.

I can not remember the exact location off hand, but it is out there.

Failing that, reading your vendor's ftpd man page would be a good
first approximation.

Russell


From owner-wu-ftpd@wugate.wustl.edu Sat May 13 02:39:51 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sACks-0003GaC; Sat, 13 May 95 01:40 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id DAA15680; Sat, 13 May 1995 03:38:24 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id DAA15617 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 03:35:53 -0500
Received: from owlman.academ.com (OWLMAN.ACADEM.COM [198.137.249.5]) by academ.com (8.6.12/8.6.9) with SMTP id DAA01749 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 03:35:51 -0500
Message-Id: <199505130835.DAA01749@academ.com>
Date: Sat, 13 May 95 03:35:52 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stan Barber <sob@academ.com>
To: wu-ftpd@wugate.wustl.edu
Subject: URL for a guide to setting up a secure FTP server
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Sender: sob@academ.com
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 1.1 i386)
X-URL: ftp://sunsite.unc.edu/pub/sun-info/sun-faq/FAQs/SettingUpSecureFTP.faq
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

ftp://sunsite.unc.edu/pub/sun-info/sun-faq/FAQs/SettingUpSecureFTP.faq

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.


From owner-wu-ftpd@wugate.wustl.edu Sat May 13 19:38:39 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sASoC-00039SC; Sat, 13 May 95 18:49 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA04804; Sat, 13 May 1995 20:47:31 -0500
Received: from pluto.njcc.com (pluto.njcc.com [165.254.117.52]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA04653 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 20:43:48 -0500
Received: (from bjkramer@localhost) by pluto.njcc.com (8.6.11/8.6.6) id VAA00305 for wu-ftpd@wugate.wustl.edu; Sat, 13 May 1995 21:43:47 -0400
Message-Id: <199505140143.VAA00305@pluto.njcc.com>
Date: Sat, 13 May 1995 21:43:47 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Kramer <bjkramer@pluto.njcc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual FTP Hosts
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've setup virtual Web Servers by aliasing multiple ip numbers on one machine
and basing what is show based on which ip # is used to connect.  Is this
possible to do with ftp too?  Anyone have any patches to the ftpd so that
if a user typed "ftp ftp.host1.com" it would get one set of directories, 
and if a user did "ftp ftp.host2.com" it would get another.  But both
would run off the standard port on the same machine.

Any ideas?

From owner-wu-ftpd@wugate.wustl.edu Sat May 13 21:38:42 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAUqe-0003DdC; Sat, 13 May 95 21:00 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id WAA07684; Sat, 13 May 1995 22:58:17 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id WAA07625 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 22:56:46 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id WAA03439 for wu-ftpd@wugate.wustl.edu; Sat, 13 May 1995 22:56:44 -0500
Message-Id: <199505140356.WAA03439@academ.com>
Date: Sat, 13 May 1995 22:56:43 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: BETA of wu-ftpd-2.4.1
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

A beta of the wu-ftpd-2.4.1 is now available. It contains changes to permit
the software to compile and work on Solaris 2.4, Unixware and BSDOS 1.1.

It contains patches to hostacc.c for Linux from Jaakko Hyvatti.
It contains patches for PASV clients that never connect from Dan Thorson.

The URL is: ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.1-beta-1.tar

REMEMBER, this is a BETA. There may be bugs. Please report them to me or
to the list. In particular, I want to be sure this works well on
Unixware and Solaris 2.4. It also should work on other System V Release 4 
systems. I'd like managers of thos systems to check that out as well.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Sat May 13 21:39:16 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAUXd-0003BZC; Sat, 13 May 95 20:40 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id WAA06980; Sat, 13 May 1995 22:38:30 -0500
Received: from macau.ctm.net (macau.ctm.net [202.64.33.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id WAA06894 for <wu-ftpd@wugate.wustl.edu>; Sat, 13 May 1995 22:36:17 -0500
Received: by macau.ctm.net (4.1/SMI-4.1)
	id AA25918; Sun, 14 May 95 11:32:36 HKT
Message-Id: <9505140332.AA25918@macau.ctm.net>
Date: Sun, 14 May 1995 11:32:35 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: demo2@macau.ctm.net (demo_2)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual FTP Hosts
In-Reply-To: <199505140143.VAA00305@pluto.njcc.com> from "Brian Kramer" at May 13, 95 09:43:47 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> I've setup virtual Web Servers by aliasing multiple ip numbers on one machine
            ^^^^^^^^^^^^^^^^^^^^^
Who could tell me more about it? I want to know how to make it?
Or, who can tell me the listserv discussing the Web.
> and basing what is show based on which ip # is used to connect.  Is this
> possible to do with ftp too?  Anyone have any patches to the ftpd so that
> if a user typed "ftp ftp.host1.com" it would get one set of directories, 
> and if a user did "ftp ftp.host2.com" it would get another.  But both
> would run off the standard port on the same machine.
> 


-- 
=============================================
 ^^^^^       Name: James Leong
<* J *>     email: demo2@macau.ctm.net
 \ v / 		   lsk@macau.ctm.net
   =        Have a nice day!
==============================================

From owner-wu-ftpd@wugate.wustl.edu Sun May 14 00:38:55 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAY6z-0003IiC; Sun, 14 May 95 00:29 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA11828; Sun, 14 May 1995 02:26:22 -0500
Received: from krisse.www.fi (krisse.www.fi [194.100.2.209]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id CAA11728 for <wu-ftpd@wugate.wustl.edu>; Sun, 14 May 1995 02:21:36 -0500
Received: (from jaakko@localhost) by krisse.www.fi (8.6.10/8.6.10) id KAA01297 for wu-ftpd@wugate.wustl.edu; Sun, 14 May 1995 10:31:51 +0300
Message-Id: <199505140731.KAA01297@krisse.www.fi>
Date: Sun, 14 May 1995 10:31:50 +0200 (EET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jaakko Hyvatti <Jaakko.Hyvatti@www.fi>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Setting up the server
In-Reply-To: <9504118002.AA800222090@aldout.inta.es> from "ferrerp@inta.es" at May 11, 95 12:54:50 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL22]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Iom new to this list, and I have just installed wu-ftpd-2.4 but I canot get 
> it working. Here is what happens:
> 
> vega# ftp vega
> Connected to vega.
> 220-Servidor FTP INTA
> 220-
> 220 vega FTP server (Version wu-2.4(2) Wed May 10 13:49:57 MET DST 1995) 
> ready.
> Name (vega:root): anonymous
> 221 Server shutting down.  Goodbye.
> 421 Service not available, remote server has closed connection
> ftp> bye
> vega#

  I'm not sure but looks like there is something wrong with the server
program, like if it was compiled wrong or had some bug that kills it.
Try to debug it if possible.  I have debugged wu-ftpd server process
by attaching to it with gdb.

  That way I found one memory allocation bug that had not been harmful
in any other plattform than linux.  This shows that wu-ftpd may still
contain bugs.

-- 
# Jaakko Hyvätti	   Jaakko.Hyvatti@WWW.FI		+358 40 5011222
echo 'movl $36,%eax;int $128;movl $0,%ebx;movl $1,%eax;int $128'|as -o/bin/sync

From owner-wu-ftpd@wugate.wustl.edu Sun May 14 04:39:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAbtX-0002anC; Sun, 14 May 95 04:31 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA15973; Sun, 14 May 1995 06:29:41 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id GAA15905 for <wu-ftpd@mail.wustl.edu>; Sun, 14 May 1995 06:27:22 -0500
Received: from wugate.wustl.edu by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQHEYJG15C002AHS@wunet.wustl.edu>; Sun, 14 May 1995 06:24:54 -0500 (CDT)
Received: from gizmo.lut.ac.uk (gizmo.lut.ac.uk [158.125.96.46])
 by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id GAA15901 for
 <wu-ftpd@wunet.wustl.edu>; Sun, 14 May 1995 06:27:15 -0500
Received: from localhost (martin@localhost) by gizmo.lut.ac.uk (8.6.12/8.6.9)
 with SMTP id MAA24555 for <wu-ftpd@wunet.wustl.edu>; Sun,
 14 May 1995 12:25:52 +0100
Message-Id: <199505141125.MAA24555@gizmo.lut.ac.uk>
Date: Sun, 14 May 1995 12:25:52 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Martin Hamilton <martin@mrrl.lut.ac.uk>
To: wu-ftpd@wunet.wustl.edu
Subject: patch for s/key support
MIME-version: 1.0
Content-type: multipart/mixed ; boundary="===_0_Sun_May_14_12:24:38_BST_1995"
Content-transfer-encoding: 7BIT
X-URI: <URL:http://www.mrrl.lut.ac.uk/~martin>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This is a multipart MIME message.

--===_0_Sun_May_14_12:24:38_BST_1995
Content-Type: text/plain; charset=us-ascii

Here's a quick hack from me to add S/Key support to vanilla 2.4

It uses Wietse Venema's version of S/Key
cf. <URL:ftp://ftp.win.tue.nl/pub/security/logdaemon-4.9.tar.gz>

You need to modify the Makefile for your system, e.g.

  IFLAGS   = -I.. -I../support -I../../logdaemon-4.9/skey
  LFLAGS   = -L../support -L../../logdaemon-4.9/skey
  CFLAGS   = $(OPT) -DSKEY -DDEBUG ${IFLAGS} ${LFLAGS}
  LIBES    = -lsupport -lskey

Let me know if you see any problems with it

Stan - feel free to incorporate this into your code

Cheerio,

Martin



--===_0_Sun_May_14_12:24:38_BST_1995
Content-Type: application/x-patch
Content-Description: wu-ftpd.patch

*** ftpd.c.orig	Sun May 14 12:09:15 1995
--- ftpd.c	Sun May 14 12:11:13 1995
***************
*** 116,121 ****
--- 116,126 ----
  #include <sys/dir.h>
  #endif
  
+ #ifdef SKEY
+ #include <skey.h>
+ int pwok = 0;
+ #endif
+ 
  #ifndef TRUE
  #define  TRUE   1
  #endif
***************
*** 692,697 ****
--- 697,706 ----
      char *shell;
      char *getusershell();
      int   why = 0;
+ #ifdef SKEY
+     struct skey skey;
+     static char buf[128];
+ #endif
  
  #ifdef HOST_ACCESS                     /* 19-Mar-93    BM              */
      if (!rhost_ok(name, remotehost, remoteaddr))
***************
*** 878,884 ****
--- 887,903 ----
      } else
          acl_setfunctions();
  
+ #ifdef SKEY
+     pwok = skeyaccess(name, (char *) 0, remotehost, remoteaddr);
+     if (pwok == 0 || skeyinfo(&skey, name, buf) != 0)
+       reply(331, "%s required for %s.",
+               pwok ? "Password" : "S/Key password", name);
+     else
+       reply(331, buf);
+ #else
      reply(331, "Password required for %s.", name);
+ #endif
+ 
      askpasswd = 1;
      /* Delay before reading passwd after first failed attempt to slow down
       * passwd-guessing programs. */
***************
*** 1006,1011 ****
--- 1025,1032 ----
              salt = pw->pw_passwd;
  #ifdef KERBEROS
          xpasswd = crypt16(passwd, salt);
+ #elif defined(SKEY)
+ 	xpasswd = skey_crypt(passwd, salt, pw, pwok);
  #else
          xpasswd = crypt(passwd, salt);
  #endif

--===_0_Sun_May_14_12:24:38_BST_1995--


From owner-wu-ftpd@wugate.wustl.edu Sun May 14 05:38:53 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAbyQ-0002RHC; Sun, 14 May 95 04:36 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA16171; Sun, 14 May 1995 06:34:50 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id GAA16060 for <wu-ftpd@mail.wustl.edu>; Sun, 14 May 1995 06:31:42 -0500
Received: from gizmo.lut.ac.uk by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQHF3W5IDS001PK2@wunet.wustl.edu>; Sun, 14 May 1995 06:29:14 -0500 (CDT)
Received: from localhost (martin@localhost) by gizmo.lut.ac.uk (8.6.12/8.6.9)
 with SMTP id MAA24591 for <wu-ftpd@wunet.wustl.edu>; Sun,
 14 May 1995 12:31:37 +0100
Message-Id: <199505141131.MAA24591@gizmo.lut.ac.uk>
Date: Sun, 14 May 1995 12:31:37 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Martin Hamilton <martin@mrrl.lut.ac.uk>
To: wu-ftpd@wunet.wustl.edu
Subject: patch for rfc 931 magic cookie
MIME-version: 1.0
Content-type: multipart/mixed ; boundary="===_0_Sun_May_14_12:28:54_BST_1995"
Content-transfer-encoding: 7BIT
X-URI: <URL:http://www.mrrl.lut.ac.uk/~martin>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This is a multipart MIME message.

--===_0_Sun_May_14_12:28:54_BST_1995
Content-Type: text/plain; charset=us-ascii

Here's a quick hack from me to add a new magic cookie

  %A => result of rfc 931 (identity server) lookup

1023 seems to be a safe limit ? :-)

Cheerio,

Martin

--===_0_Sun_May_14_12:28:54_BST_1995
Content-Type: application/x-patch
Content-Description: extensions.c.patch

*** extensions.c.orig	Sun May 14 12:05:22 1995
--- extensions.c	Sun May 14 12:18:55 1995
***************
*** 143,148 ****
--- 143,150 ----
      int limit;
      extern struct passwd *pw;
      struct aclmember *entry = NULL;
+     extern char authuser[];
+     extern int *authenticated;
  
      (void) time(&curtime);
      (void) acl_getclass(buffer);
***************
*** 154,159 ****
--- 156,164 ----
              *outptr++ = *inptr;
          else {
              switch (*++inptr) {
+ 	    case 'A':
+ 		strncpy(outptr, authenticated ? authuser : "user", 1023);
+ 		break;
              case 'E':
                  if ( (getaclentry("email", &entry)) && ARG0 )
                      sprintf(outptr, "%s", ARG0); 

--===_0_Sun_May_14_12:28:54_BST_1995--


From owner-wu-ftpd@wugate.wustl.edu Sun May 14 11:39:21 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAiQ7-0003IcC; Sun, 14 May 95 11:29 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA24329; Sun, 14 May 1995 13:27:17 -0500
Received: from bugfix.ikos2.iao.fhg.de (bugfix.ikos2.iao.fhg.de [141.58.133.88]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA24234 for <wu-ftpd@wugate.wustl.edu>; Sun, 14 May 1995 13:24:43 -0500
Received: by bugfix.ikos2.iao.fhg.de
	(ikos2.iao.fhg.de:9503230) id UAA00964; Sun, 14 May 1995 20:25:17 +0200
Message-Id: <199505141825.UAA00964@bugfix.ikos2.iao.fhg.de>
Date: Sun, 14 May 1995 20:25:17 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Wolfram Schmidt <Wolfram.Schmidt@iao.fhg.de>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: BETA of wu-ftpd-2.4.1
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello,

] A beta of the wu-ftpd-2.4.1 is now available. It contains changes to permit
] the software to compile and work on Solaris 2.4, Unixware and BSDOS 1.1.
] 
] It contains patches to hostacc.c for Linux from Jaakko Hyvatti.
] It contains patches for PASV clients that never connect from Dan Thorson.
] 
] The URL is: ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.1-beta-1.tar
] 
] REMEMBER, this is a BETA. There may be bugs. Please report them to me or
] to the list. In particular, I want to be sure this works well on
] Unixware and Solaris 2.4. It also should work on other System V Release 4 
] systems. I'd like managers of thos systems to check that out as well.

It still does not check for overrun of member->acl in src/acl.c line 114, 115

Regards,

-Wolfram
-- 
Email: Wolfram.Schmidt@iao.fhg.de
Voice: +49 711 970 2431, +49 711 121 3806
Fax: +49 711 970 2401
Office: Fraunhofer-Institut IAO, Holzgartenstr. 17, 70174 Stuttgart, Germany

From owner-wu-ftpd@wugate.wustl.edu Sun May 14 12:39:10 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAir3-0002acC; Sun, 14 May 95 11:57 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA25068; Sun, 14 May 1995 13:55:38 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA24945 for <wu-ftpd@wugate.wustl.edu>; Sun, 14 May 1995 13:53:10 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id NAA04899 for wu-ftpd@wugate.wustl.edu; Sun, 14 May 1995 13:53:02 -0500
Message-Id: <199505141853.NAA04899@academ.com>
Date: Sun, 14 May 1995 13:53:01 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: BETA of wu-ftpd-2.4.1
In-Reply-To: Wolfram Schmidt <Wolfram.Schmidt@iao.fhg.de>
       "Re: BETA of wu-ftpd-2.4.1" (May 14,  8:25pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Wolfram,
Please send a patch if you can for this problem.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Sun May 14 18:40:55 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAoer-0003E9C; Sun, 14 May 95 18:09 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA02914; Sun, 14 May 1995 20:07:08 -0500
Received: from sonnet.com (sonnet1.sonnet.com [204.250.8.10]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA02835 for <wu-ftpd@wugate.wustl.edu>; Sun, 14 May 1995 20:05:16 -0500
Received: by sonnet.com id AA08986
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Sun, 14 May 1995 18:05:15 -0700
Message-Id: <Pine.3.89.9505141818.B8947-0100000@sonnet1.sonnet.com>
Date: Sun, 14 May 1995 18:05:15 -47900
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Curnow <bcurnow@sonnet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd on Linux
In-Reply-To: <199505150027.UAA01132@sentinel.synapse.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have the wu-ftpd 2.4 distribution from sunsite for Linux.  I have 
applied the Linux patches that are located with the distribution.  
Following some things I read here, I set up -DSHADOW_PASSWORD and 
-lshadow .  I also removed a definition from config.h for mode_t (or 
similar) since it seemed to conflict with something somewhere else.  I 
then had to manually make vers.o, since it wasn't doing that.  At this 
point, it seems to successfully compile everything except ftpd, where 
there are numberous errors on arg 2 of __bsd_signal, etc.  Any ideas?  Is 
there a better assembled distribution out there?

------------ Brian  Curnow ---------

From owner-wu-ftpd@wugate.wustl.edu Sun May 14 22:47:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAs79-0002WcC; Sun, 14 May 95 21:50 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id XAA07263; Sun, 14 May 1995 23:47:44 -0500
Received: from CCCA.NCTU.edu.tw (CCCA.nctu.edu.tw [140.113.5.150]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id XAA07167 for <wu-ftpd@wugate.wustl.edu>; Sun, 14 May 1995 23:43:36 -0500
Received: (from jason@localhost) by CCCA.NCTU.edu.tw (8.6.12/8.6.12) id MAA07340 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 1995 12:27:59 +0800
Message-Id: <199505150427.MAA07340@CCCA.NCTU.edu.tw>
Date: Mon, 15 May 1995 12:27:57 +0800 (WST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: CQ CQ de Jason <jason@CCCA.NCTU.edu.tw>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd on Linux
In-Reply-To: <Pine.3.89.9505141818.B8947-0100000@sonnet1.sonnet.com> from "Brian Curnow" at May 14, 95 06:05:15 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL21]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
> I have the wu-ftpd 2.4 distribution from sunsite for Linux.  I have 
> applied the Linux patches that are located with the distribution.  
> Following some things I read here, I set up -DSHADOW_PASSWORD and 
> -lshadow .  I also removed a definition from config.h for mode_t (or 
> similar) since it seemed to conflict with something somewhere else.  I 
> then had to manually make vers.o, since it wasn't doing that.  At this 
> point, it seems to successfully compile everything except ftpd, where 
> there are numberous errors on arg 2 of __bsd_signal, etc.  Any ideas?  Is 
> there a better assembled distribution out there?

	Try NCTUCCCA.edu.tw:
	/Operating-Systems/Linux/collect/source/network/wuftpd-2.4.tgz

	Jason Chang

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 03:43:45 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAwbt-0002xrC; Mon, 15 May 95 02:38 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA13109; Mon, 15 May 1995 04:34:05 -0500
Received: from cambridge.cadcentre.co.uk (cambridge.cadcentre.co.uk [193.130.24.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id EAA12882 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 04:22:00 -0500
Received: from internet.cadcentre.co.uk by cambridge.cadcentre.co.uk with ESMTP id KAA29775; Mon, 15 May 1995 10:21:19 +0100
Received: from sp23 by internet.cadcentre.co.uk with SMTP id KAA17431; Mon, 15 May 1995 10:20:42 +0100
Received: by sp23 (5.0) id AA03206; Mon, 15 May 1995 10:20:41 +0000
Message-Id: <9505150920.AA03206@sp23>
Date: Mon, 15 May 1995 10:20:41 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "D.Ashton-Reader" <dar@cadcentre.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dan Pritchett wrote:

> People on SGI's will do just fine up to 64 virtual hosts. Check out
> http://www.thesphere.com/~dlp/TwoServers/ for a description of how to
> get multiple interfaces on a variety of platforms.

Last time I tried to use that (on IRIX 5.3) I could not get it 
to work for 2 IP addresses with different IP network addresses

(e.g. I could not get 192.200.9.155 and 193.130.24.167 to work)

Can anyone confirm whether or not that should work OK on an SG?

(BTW: I can confirm that the above is possible on Solaris 5.2 :)

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 03:45:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sAwzB-000319C; Mon, 15 May 95 03:02 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA13769; Mon, 15 May 1995 04:59:38 -0500
Received: from pluto.njcc.com (pluto.njcc.com [165.254.117.52]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id EAA13678 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 04:56:10 -0500
Received: (from bjkramer@localhost) by pluto.njcc.com (8.6.11/8.6.6) id FAA12013; Mon, 15 May 1995 05:56:09 -0400
Message-Id: <Pine.BSI.3.91.950515055538.11986D@pluto.njcc.com>
Date: Mon, 15 May 1995 05:56:08 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Kramer <bjkramer@pluto.njcc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <9505150920.AA03206@sp23>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 15 May 1995, D.Ashton-Reader wrote:

> Dan Pritchett wrote:
> 
> > People on SGI's will do just fine up to 64 virtual hosts. Check out
> > http://www.thesphere.com/~dlp/TwoServers/ for a description of how to
> > get multiple interfaces on a variety of platforms.

Right, I know how to setup the multiple IP addresses.  I don't know how
to patch the ftp server to handle the two different ones though.

Brian Kramer - Owner/Systems Administrator - bjkramer@pluto.njcc.com
New Jersey Computer Connection - Public Access Unix Site - pluto.njcc.com
Voice: 609-896-2799 - Fax: 609-896-2994 - Dialups: 609-896-3191 & 896-2722
Web: http://www.njcc.com/  Telnet/Dialup: pluto.njcc.com login as guest. 

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 07:41:30 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB122-00039BC; Mon, 15 May 95 07:22 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA21270; Mon, 15 May 1995 09:17:10 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA21158 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 09:15:21 -0500
Received: (from smtp@localhost) by worldcom.com (8.6.11/8.6.9) id IAA12863 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 08:52:39 -0500
Received: from worldcom-18.worldcom.com(198.64.193.9) by worldcom.com via smap (V1.3)
	id sma012807; Mon May 15 08:52:12 1995
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA7136; Mon, 15 May 95 08:50:42 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  2B7F68B8CFDCC286862561BD004BFAB2; Mon, 15 May 95 08:50:40 
Message-Id: <9505151550.AA7136@worldcom-18.worldcom.com>
Date: 15 May 95  8:30:26 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: JP Price <jprice@eden.com>
Cc: "'Stan Barber'" <sob@academ.com>,
        "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: hanging sockets problem tested & available
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Hmm, it appears that this only fixes processes that go zombie,
> and doesn't catch processes that just go idle for a long time.

It's not supposed to.

> I was using ps -aux | grep ftp to catch the processes, but have
> been informed that I should ps -auxww | grep ftp to see everything.
> Apparently the idle timeout doesn't work, but at least this patch
> does clean out the zombie processes.

I believe that what you're seeing is the initial (control) connection
is staying up.  These should time out based on the "normal" timeout 
functions.... i.e. -T and -t command line switches.

I've been running with the patch since last Friday (5/12/95).  As of
this morning (Monday 5/15) I'm seeing zero zombies, and nothing called
ftpd appears when I do any form of ps.
[ and yes, I _am_ seeing occasional "valid" connections :-) ]

Bottom line is that my confidence is 100% in this patch  (Uh oh, I
heard Murphy chuckling when I typed that!)

dct

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 08:40:51 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB1FL-0002l5C; Mon, 15 May 95 07:35 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA22041; Mon, 15 May 1995 09:31:17 -0500
Received: from alsys1.aecom.yu.edu (alsys1.aecom.yu.edu [129.98.1.4]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA21966 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 09:30:20 -0500
Received: from [129.98.1.80] (atlas.aecom.yu.edu) by alsys1.aecom.yu.edu with SMTP id AA12940
  (5.67b/IDA-1.5/AECOM-RIT for <wu-ftpd@wugate.wustl.edu>); Mon, 15 May 1995 10:30:15 -0400
Message-Id: <v01510102abdcdcba3d05@[129.98.1.80]>
Date: Mon, 15 May 1995 10:30:15 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jacek@aecom.yu.edu (Jacek A. Ponarski)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: BETA of wu-ftpd-2.4.1
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: ponarski@mailserver.aecom.yu.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>A beta of the wu-ftpd-2.4.1 is now available. It contains changes to permit
>the software to compile and work on Solaris 2.4, Unixware and BSDOS 1.1.
>
>It contains patches to hostacc.c for Linux from Jaakko Hyvatti.
>It contains patches for PASV clients that never connect from Dan Thorson.
>
>The URL is: ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.1-beta-1.tar


I just ftped over there and it seems like this directory is empty ?!...

--Jacek

------------------------------------------------------------------
Jacek A. Ponarski                 email: ponarski@aecom.yu.edu
Research Information Technology   fax:   (718)430-2488
AECOM, Bronx, NY                  tel:   (718)430-4211
------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Mon May 15 08:41:33 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB1P9-000319C; Mon, 15 May 95 07:45 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA22625; Mon, 15 May 1995 09:40:12 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA22412 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 09:37:51 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id JAA23339 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 1995 09:37:48 -0500
Message-Id: <199505151437.JAA23339@academ.com>
Date: Mon, 15 May 1995 09:37:48 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: BETA of wu-ftpd-2.4.1
In-Reply-To: jacek@aecom.yu.edu (Jacek A. Ponarski)
       "Re: BETA of wu-ftpd-2.4.1" (May 15, 10:30am)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

The directory is private. You can't see what is in it, but you can get
this file.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 08:43:53 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB23M-0002OQC; Mon, 15 May 95 08:27 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA25610; Mon, 15 May 1995 10:24:12 -0500
Received: from spsgate.sps.mot.com (spsgate.sps.mot.com [192.70.231.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA25369 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 10:21:03 -0500
Received: from mogate (mogate.sps.mot.com) by spsgate.sps.mot.com (4.1/SMI-4.1/Email 2.1 10/25/93)
	id AA03770 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 95 08:21:01 MST
Received: from motsps by mogate (4.1/SMI-4.1/Email-2.0)
	id AA15131; Mon, 15 May 95 08:21:00 MST
Received: from risc.sps.mot.com by motsps (4.1/SMI-4.1/Email-2.1)
	id AA17076 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 95 08:20:59 MST
Received: from miaow.sps.mot.com by risc.sps.mot.com (4.1/SMI-3.0DEV3)
	id AA08846; Mon, 15 May 95 10:20:55 CDT
Received: by miaow.sps.mot.com (AIX 3.2/UCB 5.64/4.03)
          id AA14660; Mon, 15 May 1995 10:21:38 -0500
Message-Id: <9505151521.AA14660@miaow.sps.mot.com>
Date: Mon, 15 May 1995 10:21:38 -0500 (CDT)
Reply-To: David Wolfe <david_wolfe@risc.sps.mot.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Setting up the server
In-Reply-To: <199505140731.KAA01297@krisse.www.fi> from "Jaakko Hyvatti" at May 14, 95 10:31:50 am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24 PGP2]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[ Jaakko Hyvatti writes: ]
> 
> > Iom new to this list, and I have just installed wu-ftpd-2.4 but I canot get 
> > it working. Here is what happens:
> > 
> > vega# ftp vega
> > Connected to vega.
> > 220-Servidor FTP INTA
> > 220-
> > 220 vega FTP server (Version wu-2.4(2) Wed May 10 13:49:57 MET DST 1995) 
> > ready.
> > Name (vega:root): anonymous
> > 221 Server shutting down.  Goodbye.
> > 421 Service not available, remote server has closed connection
> > ftp> bye
> > vega#
> 
>   I'm not sure but looks like there is something wrong with the server
> program, like if it was compiled wrong or had some bug that kills it.
> Try to debug it if possible.  I have debugged wu-ftpd server process
> by attaching to it with gdb.

Or just trace it with truss if you have that. Someone else mentioned
previously in response to a similar request for help that the
shutdown file was causing this. Check the ftpshut man page and the
<ftpchroot>/etc/shutmsg file (may not be the right pathname, but I can't
get to my ftp host to check it right now).

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 10:47:15 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB3x1-00037rC; Mon, 15 May 95 10:29 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02730; Mon, 15 May 1995 12:24:28 -0500
Received: from aurora (AURORA.PHYS.UTK.EDU [128.169.207.157]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02584 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 12:23:12 -0500
Received: by aurora (Linux Smail3.1.28.1 #4)
	id m0sB6qR-00007wC; Mon, 15 May 95 13:34 PDT
Message-Id: <Pine.LNX.3.91.950515133339.16894B-100000@aurora.phys.utk.edu>
Date: Mon, 15 May 1995 13:34:27 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Blass <swb@aurora.phys.utk.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd on Linux
In-Reply-To: <Pine.3.89.9505141818.B8947-0100000@sonnet1.sonnet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

It exists as part of the slackware distribution and seems to work just fine.
It would be found on one of the n? disks.
--

On Sun, 14 May 1995, Brian Curnow wrote:

> 
> I have the wu-ftpd 2.4 distribution from sunsite for Linux.  I have 
> applied the Linux patches that are located with the distribution.  
> Following some things I read here, I set up -DSHADOW_PASSWORD and 
> -lshadow .  I also removed a definition from config.h for mode_t (or 
> similar) since it seemed to conflict with something somewhere else.  I 
> then had to manually make vers.o, since it wasn't doing that.  At this 
> point, it seems to successfully compile everything except ftpd, where 
> there are numberous errors on arg 2 of __bsd_signal, etc.  Any ideas?  Is 
> there a better assembled distribution out there?
> 
> ------------ Brian  Curnow ---------
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 13:41:00 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB6Dk-0003GvC; Mon, 15 May 95 12:54 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA11020; Mon, 15 May 1995 14:50:49 -0500
Received: from ridgisd (ridgisd.er.usgs.gov [130.11.48.107]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA10849 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 14:49:27 -0500
Received: by ridgisd (5.4R2.01/140.2)
	id AA02169; Mon, 15 May 1995 15:44:08 -0400
Message-Id: <9505151944.AA02169@ridgisd>
Date: Mon, 15 May 1995 15:44:08 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ckim@ridgisd (Charlie Kim (ISD) x5494)
To: wu-ftpd@wugate.wustl.edu
Subject: Not Compiling on Solaris 2.X
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

H all,
	I'm in the process of installing WU-FTPD version 2.4 on my
Solaris 2.3 system, but I'm getting this error message when
I run the following command.  Does anyone have any clue?

Thanks in advance,
Charlie

# ./build install
make args are : 
make opts are : 
mv -f /usr/opt/wuftpd/etc/ftpd /usr/opt/wuftpd/etc/ftpd-old
Installing binaries.
install -o bin -g bin -m 755 bin/ftpd /usr/opt/wuftpd/etc/ftpd
usage: install [options] file [dir1 ...]
make: *** [install] Error 2
# 

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 13:41:44 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB6mY-0003FzC; Mon, 15 May 95 13:30 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA13183; Mon, 15 May 1995 15:26:42 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA13076 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 15:25:39 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id PAA27069 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 1995 15:25:37 -0500
Message-Id: <199505152025.PAA27069@academ.com>
Date: Mon, 15 May 1995 15:25:37 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Not Compiling on Solaris 2.X
In-Reply-To: ckim@ridgisd (Charlie Kim (ISD) x5494)
       "Not Compiling on Solaris 2.X" (May 15,  3:44pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

If you get the one from academ.com, it will not have this problem.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 14:40:27 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB6t2-0003K4C; Mon, 15 May 95 13:37 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA13855; Mon, 15 May 1995 15:34:48 -0500
Received: from aurora (AURORA.PHYS.UTK.EDU [128.169.207.157]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA13703 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 15:32:33 -0500
Received: by aurora (Linux Smail3.1.28.1 #4)
	id m0sB9no-00007wC; Mon, 15 May 95 16:43 PDT
Message-Id: <Pine.LNX.3.91.950515164336.17071C-100000@aurora.phys.utk.edu>
Date: Mon, 15 May 1995 16:43:56 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Blass <swb@aurora.phys.utk.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Not Compiling on Solaris 2.X
In-Reply-To: <9505151944.AA02169@ridgisd>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

You need to 
	build sol
first.

On Mon, 15 May 1995, Charlie Kim (ISD) x5494 wrote:

> H all,
> 	I'm in the process of installing WU-FTPD version 2.4 on my
> Solaris 2.3 system, but I'm getting this error message when
> I run the following command.  Does anyone have any clue?
> 
> Thanks in advance,
> Charlie
> 
> # ./build install
> make args are : 
> make opts are : 
> mv -f /usr/opt/wuftpd/etc/ftpd /usr/opt/wuftpd/etc/ftpd-old
> Installing binaries.
> install -o bin -g bin -m 755 bin/ftpd /usr/opt/wuftpd/etc/ftpd
> usage: install [options] file [dir1 ...]
> make: *** [install] Error 2
> # 
> 

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 14:50:42 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB6xw-0003N1C; Mon, 15 May 95 13:42 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA14314; Mon, 15 May 1995 15:40:09 -0500
Received: from peach.epix.net (peach.epix.net [199.224.64.20]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA14091 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 15:37:14 -0500
Received: from [199.224.69.7] (lwbyppp3.epix.net [199.224.69.7]) by peach.epix.net (8.6.10/950112.08ccg) with SMTP id QAA11263 for <wu-ftpd@mail.wustl.edu>; Mon, 15 May 1995 16:33:39 -0400
Message-Id: <v02110106abdd79f01813@[199.224.69.7]>
Date: Mon, 15 May 1995 16:38:12 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bselack@epix.net (Barrie Selack)
To: wu-ftpd@wugate.wustl.edu
Subject: build on BSDI BSD/OS 2.0
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bselack@mailhost.epix.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is there additional info somewhere detailing the build on BSDI BSD/OS 2.0.
Using the bsd option generates errors... (including malloc errors) and I am
not a UN*X programmer.

Thanks ...  Barrie Selack

------------------------------------------------------------------------

Barrie L. Selack Jr.                      bselack@epix.net
Rockhopper Communications, Inc.           bselack@rockhopper.com
280 Pleasant Hill Road                    (717) 938-1581 - Voice
Lewisberry, PA 17339                      (717) 932-1026 - FAX



From owner-wu-ftpd@wugate.wustl.edu Mon May 15 14:51:24 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB7Qj-00035rC; Mon, 15 May 95 14:11 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA16105; Mon, 15 May 1995 16:09:14 -0500
Received: from campus.mty.itesm.mx (campus.mty.itesm.mx [131.178.4.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id QAA15940 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 16:07:30 -0500
Received: from roxette (roxette.mty.itesm.mx [131.178.17.100]) by campus.mty.itesm.mx (8.6.9/8.6.9) with SMTP id PAA73739 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 15:07:28 -0600
Message-Id: <Pine.NXT.3.91.950515150540.381C-100000@roxette>
Date: Mon, 15 May 1995 15:07:27 -0600 (GMT-0600)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pablo E Romo <promo@campus.mty.itesm.mx>
To: wu-ftpd@wugate.wustl.edu
Subject: Compiling wu-ftpd-2.4.1 on NeXTstep 3.0
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: promo@roxette
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	I'm trying to compile the BETA of the wu-ftpd on nextstep 3.0 and 
i'm getting the following errors:

cc -O2 -I.. -L../support -c vers.c
cc -O2 -I.. -L../support -c access.c
cc -O2 -I.. -L../support -c extensions.c
cc -O2 -I.. -L../support -c realpath.c
cc -O2 -I.. -L../support -c acl.c
cc -O2 -I.. -L../support -c private.c
cc -O2 -I.. -L../support -c authenticate.c
authenticate.c:36: header file 'authuser.h' not found        
*** Exit 1
Stop.

Making ftpcount.
cc -O2 -I.. -L../support -o ftpcount ftpcount.c vers.o -lsupport

Making ftpshut.
cc -O2 -I.. -L../support -o ftpshut ftpshut.c vers.o -lsupport

Making ckconfig.
cc -O2 -I.. -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
size: bin/ftpd not found
__TEXT  __DATA  __OBJC  others  dec     hex
8192    8192    0       57344   73728   12000   bin/ftpcount
8192    8192    0       49152   65536   10000   bin/ftpshut
8192    8192    0       57344   73728   12000   bin/ftpwho
8192    8192    0       40960   57344   e000    bin/ckconfig
Done


	Any hints?

-----------------------------------------------------------------------
Pablo Ernesto Romo Ochoa         NeXTMAIL: promo@roxette.mty.itesm.mx
ITESM Campus Monterrey           Internet: promo@mtecv2.mty.itesm.mx
Administrador de Equipos UNIX
Departamento de Tecnologia Computacional/DINF (8) 358-20-00 Ext 4082
    +------------------------------------------------------------------+
                                 \\\|///     " The absence of danger 
                                \\ ~ ~ //      signal does NOT mean 
                                (/ @ @ /)      that everything is OK "
    +-------------------------oOOo-(_)-oOOo-----------------------------+


From owner-wu-ftpd@wugate.wustl.edu Mon May 15 15:44:23 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB7wq-0003IlC; Mon, 15 May 95 14:45 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA18617; Mon, 15 May 1995 16:42:59 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id QAA18530 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 16:41:47 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id QAA27620 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 1995 16:41:44 -0500
Message-Id: <199505152141.QAA27620@academ.com>
Date: Mon, 15 May 1995 16:41:44 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: build on BSDI BSD/OS 2.0
In-Reply-To: bselack@epix.net (Barrie Selack)
       "build on BSDI BSD/OS 2.0" (May 15,  4:38pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

If the versions of wu-ftpd from academ.com is known to build fine
using a specific BSDI build.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 15:49:52 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sB82b-0003MkC; Mon, 15 May 95 14:51 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA19088; Mon, 15 May 1995 16:48:25 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id QAA18671 for <wu-ftpd@wugate.wustl.edu>; Mon, 15 May 1995 16:44:08 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id QAA27810 for wu-ftpd@wugate.wustl.edu; Mon, 15 May 1995 16:44:05 -0500
Message-Id: <199505152144.QAA27810@academ.com>
Date: Mon, 15 May 1995 16:44:05 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compiling wu-ftpd-2.4.1 on NeXTstep 3.0
In-Reply-To: Pablo E Romo <promo@campus.mty.itesm.mx>
       "Compiling wu-ftpd-2.4.1 on NeXTstep 3.0" (May 15,  3:07pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Nope, but I will check it and get back to you tomorrow.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 23:39:36 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBFnC-0003JNC; Mon, 15 May 95 23:07 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id BAA04955; Tue, 16 May 1995 01:05:13 -0500
Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id AAA04317 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 00:44:32 -0500
Received: from gaia.cs.utwente.nl by utrhcs.cs.utwente.nl (5.0/csrelayMX-SVR4_1.1tmp/RB)
	id AA25893; Tue, 16 May 1995 07:44:30 --100
Received: from countach.cs.utwente.nl by gaia.cs.utwente.nl (4.1/RBCS-2.2P)
	id AA24941; Tue, 16 May 95 07:44:27 +0200
Received: by countach.cs.utwente.nl (5.x/SMI-SVR4)
	id AA10128; Tue, 16 May 1995 07:44:28 +0200
Message-Id: <9505160544.AA10128@countach.cs.utwente.nl>
Date: Tue, 16 May 1995 07:44:28 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ronald.Hello@cs.utwente.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Not Compiling on Solaris 2.X
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

rh>
rh>H all,
rh>	I'm in the process of installing WU-FTPD version 2.4 on my
rh>Solaris 2.3 system, but I'm getting this error message when
rh>I run the following command.  Does anyone have any clue?
rh>
rh>Thanks in advance,
rh>Charlie
rh>
rh># ./build install
rh>make args are : 
rh>make opts are : 
rh>mv -f /usr/opt/wuftpd/etc/ftpd /usr/opt/wuftpd/etc/ftpd-old
rh>Installing binaries.
rh>install -o bin -g bin -m 755 bin/ftpd /usr/opt/wuftpd/etc/ftpd
rh>usage: install [options] file [dir1 ...]
rh>make: *** [install] Error 2
rh># 
rh>

Change install to /usr/ucb/install in the makefiles.

Ronald.

__
// Ronald Hello  (Ronald.Hello@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands

From owner-wu-ftpd@wugate.wustl.edu Mon May 15 23:39:43 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBFZg-00036TC; Mon, 15 May 95 22:53 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id AAA04441; Tue, 16 May 1995 00:50:57 -0500
Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id AAA04261 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 00:42:30 -0500
Received: from gaia.cs.utwente.nl by utrhcs.cs.utwente.nl (5.0/csrelayMX-SVR4_1.1tmp/RB)
	id AA25890; Tue, 16 May 1995 07:42:25 --100
Received: from countach.cs.utwente.nl by gaia.cs.utwente.nl (4.1/RBCS-2.2P)
	id AA24938; Tue, 16 May 95 07:42:21 +0200
Received: by countach.cs.utwente.nl (5.x/SMI-SVR4)
	id AA10125; Tue, 16 May 1995 07:42:22 +0200
Message-Id: <9505160542.AA10125@countach.cs.utwente.nl>
Date: Tue, 16 May 1995 07:42:22 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ronald.Hello@cs.utwente.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Setting up the server
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

rh>
rh>Or just trace it with truss if you have that. Someone else mentioned
rh>previously in response to a similar request for help that the
rh>shutdown file was causing this. Check the ftpshut man page and the
rh><ftpchroot>/etc/shutmsg file (may not be the right pathname, but I can't
rh>get to my ftp host to check it right now).
rh>

The name of this file should be in your ftpaccess file.

Ronald.

__
// Ronald Hello  (Ronald.Hello@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands

From owner-wu-ftpd@wugate.wustl.edu Tue May 16 02:39:53 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBI61-00036gC; Tue, 16 May 95 01:35 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id DAA07823; Tue, 16 May 1995 03:33:26 -0500
Received: from iem.mhsg.ac.at (iem.mhsg.ac.at [193.170.129.55]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id DAA07752 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 03:30:34 -0500
Received: by iem.mhsg.ac.at (NX5.67e/NX3.0M)
	id AA05511; Tue, 16 May 95 10:24:06 +0200
Received: by NeXT.Mailer (1.118.2.RR)
Message-Id: <9505160824.AA05511@iem.mhsg.ac.at>
Date: Tue, 16 May 95 10:24:04 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: DI Winfried Ritsch <ritsch@iem.mhsg.ac.at>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compiling wu-ftpd-2.4.1 on NeXTstep 3.0
References: <Pine.NXT.3.91.950515150540.381C-100000@roxette>
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I had the same problem and heres the solution:

=========
because of:
  authenticate.c:36: header file 'authuser.h' not found
I changed in a it:
[...]
/*#include "authuser.h"*/
#include "../support/authuser.h"
[...]

and it worked with some warnings as before.

=====
Then I did:

iem:8# build install
make args are :
make opts are :
mv -f /usr/local/etc/ftpd /usr/local/etc/ftpd-old
Installing binaries.
install -o bin -g bin -m 755 bin/ftpd /usr/local/etc/ftpd
chown: unknown user id: bin
*** Exit 1
Stop.
iem:9#

It didnt work because in my NeXT NeXTStep3.2 (and Ichanged nothing) is no  
usr "bin", so I changed in the Makefile "bin" to be "root" and because there  
is no local man, even in the manpath of the system /usr/local/man in  
/usr/man:
BINDIR=         /usr/local/bin
ETCDIR=         /usr/local/etc
MANDIR=         /usr/man
MANEXT=         8

all:
        @ echo 'Use the "build" command (shell script) to make ftpd.'
        @ echo 'You can say "build help" for details on how it works.'

install: bin/ftpd bin/ftpcount bin/ftpshut
        -mv -f ${ETCDIR}/ftpd ${ETCDIR}/ftpd-old
        @echo Installing binaries.
        install -o root -g bin -m 755 bin/ftpd ${ETCDIR}/ftpd
        install -o root -g bin -m 755 bin/ftpshut ${BINDIR}/ftpshut
        install -o root -g bin -m 755 bin/ftpcount ${BINDIR}/ftpcount
        install -o root -g bin -m 755 bin/ftpwho ${BINDIR}/ftpwho
        @echo Installing manpages.
        install -o root -g bin -m 755 doc/ftpd.8 ${MANDIR}/man8/ftpd.8
        install -o root -g bin -m 755 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
        install -o root -g bin -m 755 doc/ftpwho.1 ${MANDIR}/man1/ftpwho.1
        install -o root -g bin -m 755 doc/ftpshut.8 ${MANDIR}/man8/ftpshut.8
        install -o root -g bin -m 755 doc/ftpaccess.5 ${MANDIR}/man5/ftpaccess.5
        install -o root -g bin -m 755 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
        install -o root -g bin -m 755 doc/ftpconversions.5  
${MANDIR}/man5/ftpconversions.5
        install -o root -g bin -m 755 doc/xferlog.5 ${MANDIR}/man5/xferlog.5

[...]

Since the I had no problems and it worked perfect except the on the fly  
conversion (I dont know how to statically compile gnutar and so on :-( ), if  
you did this please mail me

> 	I'm trying to compile the BETA of the wu-ftpd on nextstep 3.0 and
> i'm getting the following errors:
>
> cc -O2 -I.. -L../support -c vers.c
> cc -O2 -I.. -L../support -c access.c
> cc -O2 -I.. -L../support -c extensions.c
> cc -O2 -I.. -L../support -c realpath.c
> cc -O2 -I.. -L../support -c acl.c
> cc -O2 -I.. -L../support -c private.c
> cc -O2 -I.. -L../support -c authenticate.c
> authenticate.c:36: header file 'authuser.h' not found
> *** Exit 1
>
Stop.

Making ftpcount.
cc -O2 -I.. -L../support -o ftpcount ftpcount.c vers.o -lsupport

Making ftpshut.
cc -O2 -I.. -L../support -o ftpshut ftpshut.c vers.o -lsupport

Making ckconfig.
cc -O2 -I.. -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
size: bin/ftpd not found
__TEXT  __DATA  __OBJC  others  dec     hex
8192    8192    0       57344   73728   12000   bin/ftpcount
8192    8192    0       49152   65536   10000   bin/ftpshut
8192    8192    0       57344   73728   12000   bin/ftpwho
8192    8192    0       40960   57344   e000    bin/ckconfig
Done


	Any hints?

-----------------------------------------------------------------------
Pablo Ernesto Romo Ochoa         NeXTMAIL: promo@roxette.mty.itesm.mx
ITESM Campus Monterrey           Internet: promo@mtecv2.mty.itesm.mx
Administrador de Equipos UNIX
Departamento de Tecnologia Computacional/DINF (8) 358-20-00 Ext 4082
    +------------------------------------------------------------------+
                                 \\\|///     " The absence of danger
                                \\ ~ ~ //      signal does NOT mean
                                (/ @ @ /)      that everything is OK "
    +-------------------------oOOo-(_)-oOOo-----------------------------+


From owner-wu-ftpd@wugate.wustl.edu Tue May 16 04:10:06 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBJLB-00034YC; Tue, 16 May 95 02:55 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA09572; Tue, 16 May 1995 04:51:54 -0500
Received: from sarenet.es  ([192.148.167.16]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id EAA09437 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 04:48:22 -0500
Received: from esi.es (OFFICE.esi.es) by sarenet.es  (5.x/SMI-SVR4)
	id AA13012; Tue, 16 May 1995 11:44:34 +0200
Received: from OFFICE/MERCURY by esi.es (Mercury 1.21);
    16 May 95 11:44:01 GMT+0100
Received: from MERCURY by OFFICE (Mercury 1.21); 16 May 95 11:43:14 GMT+0100
Received: from MUL.esi.es by esi.es (Mercury 1.21);
    16 May 95 11:42:46 GMT+0100
Message-Id: <2061EF81EB3@esi.es>
Date: Tue, 16 May 1995 11:42:42 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Miren U. Libano" <libano@esi.es>
To: wu-ftpd@wugate.wustl.edu
Subject: setting up guest account
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Sender: libano@esi.es
X-Mailer: <Windows Eudora Version 1.4.2b16>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I want to set up a guest account for:

user =3D spice
group =3D guests

I have an entry for spice in /etc/passwd (1) and an entry for guests in
/etc/group (2)
(1)spice:x:20:23:Spice FTP User:/home/ftp/./spice:/nosuchshell
(2)guests::23:spice
In ftpaccess I have:
class remote anonymous,guest *
and guestgroup guests

When I tried to ftp as user spice I get :user spice access denied...
Login failed.

Any hints on what is wrong? Thanks,


Miren Usua Libano Albert
B.S. Computer Science
European Software Institute
Parque Tecnol=F3gico
E-48016 Zamudio (Bilbao)
Bizkaia - Spain
Tel: ++34-4-420-95-19
Fax: ++34-4-420-94-20
e-mail: libano@esi.es

From owner-wu-ftpd@wugate.wustl.edu Tue May 16 07:40:03 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBNUK-0003HeC; Tue, 16 May 95 07:20 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA18212; Tue, 16 May 1995 09:16:27 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA18059 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 09:13:27 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA10756; Tue, 16 May 1995 09:08:37 -0500
Message-Id: <Chameleon.950516091219.mbrennen@mbrennen.intecom.com>
Date: Tue, 16 May 95 09:09:58 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: RE: setting up guest account 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Make sure that /etc/shells had /nosuchshell listed in it.  
Since you are setting up the ftpd you probably have access to 
the host logs - check the syslog to see what error messages are 
written out.

Hope this gets you a little farther....

---------------
Michael Brennen                    Intecom, Inc.
mbrennen@intecom.com               5057 Keller Springs
(214) 447-8074                     Dallas,  TX  75248


On Tue, 16 May 1995 11:42:42 +0200  Miren U. Libano wrote:
>I want to set up a guest account for:
>
>user = spice
>group = guests
>
>I have an entry for spice in /etc/passwd (1) and an entry for 
guests in
>/etc/group (2)
>(1)spice:x:20:23:Spice FTP User:/home/ftp/./spice:/nosuchshell
>(2)guests::23:spice
>In ftpaccess I have:
>class remote anonymous,guest *
>and guestgroup guests
>
>When I tried to ftp as user spice I get :user spice access 
denied...
>Login failed.


From owner-wu-ftpd@wugate.wustl.edu Tue May 16 11:39:26 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBQh2-00036sC; Tue, 16 May 95 10:46 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA01907; Tue, 16 May 1995 12:43:36 -0500
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA01817 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 12:42:28 -0500
Received: from Eng.Sun.COM by venus.Sun.COM (Sun.COM)
	id KAA04636; Tue, 16 May 1995 10:42:26 -0700
Received: from bitchen.Eng.Sun.COM (deng.Eng.Sun.COM) by Eng.Sun.COM (5.x/SMI-5.3)
	id AA06485; Tue, 16 May 1995 10:42:22 -0700
Received: by bitchen.Eng.Sun.COM (5.x/SMI-SVR4)
	id AA02475; Tue, 16 May 1995 10:42:13 -0700
Message-Id: <9505161742.AA02475@bitchen.Eng.Sun.COM>
Date: Tue, 16 May 1995 10:42:13 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dean.Nelson@Eng.Sun.COM (Dino - Yeah, that long haired guy...)
To: wu-ftpd@wugate.wustl.edu
Cc: Dean.Nelson@Eng.Sun.COM
Subject: RE: setting up guest account
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



What does the entry look like in /etc/shells?  Is that just telling
it not to envoke a shell?  

I'm having the same problem he is having.

Thanks!

Dean Nelson
Sun Microsystems Computer Corp.

: From owner-wu-ftpd@wugate.wustl.edu Tue May 16 07:20 PDT 1995
: Reply-To: wu-ftpd@wugate.wustl.edu
: Sender: owner-wu-ftpd@wugate.wustl.edu
: To: wu-ftpd@wugate.wustl.edu
: Subject: RE: setting up guest account 
: Mime-Version: 1.0
: X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
: X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
: Content-Type: TEXT/PLAIN; CHARSET="iso-8859-1"
: Content-Length: 894
: X-Lines: 34
: 
: 
: Make sure that /etc/shells had /nosuchshell listed in it.  
: Since you are setting up the ftpd you probably have access to 
: the host logs - check the syslog to see what error messages are 
: written out.
: 
: Hope this gets you a little farther....
: 
: ---------------
: Michael Brennen                    Intecom, Inc.
: mbrennen@intecom.com               5057 Keller Springs
: (214) 447-8074                     Dallas,  TX  75248
: 
: 
: On Tue, 16 May 1995 11:42:42 +0200  Miren U. Libano wrote:
: >I want to set up a guest account for:
: >
: >user = spice
: >group = guests
: >
: >I have an entry for spice in /etc/passwd (1) and an entry for 
: guests in
: >/etc/group (2)
: >(1)spice:x:20:23:Spice FTP User:/home/ftp/./spice:/nosuchshell
: >(2)guests::23:spice
: >In ftpaccess I have:
: >class remote anonymous,guest *
: >and guestgroup guests
: >
: >When I tried to ftp as user spice I get :user spice access 
: denied...
: >Login failed.
: 
: 

From owner-wu-ftpd@wugate.wustl.edu Tue May 16 11:39:38 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBQoY-00035oC; Tue, 16 May 95 10:53 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02265; Tue, 16 May 1995 12:51:00 -0500
Received: from cps201.cps.cmich.edu (cps201.cps.cmich.edu [141.209.20.201]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA02156 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 12:49:31 -0500
Received: (from mbailey@localhost) by cps201.cps.cmich.edu (8.6.9/8.6.9) id NAA27078; Tue, 16 May 1995 13:49:29 -0400
Message-Id: <Pine.SUN.3.91.950516134840.27049A-100000@cps201>
Date: Tue, 16 May 1995 13:49:28 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: M BAILEY <mbailey@cps.cmich.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu, Dean.Nelson@Eng.Sun.COM
Subject: RE: setting up guest account
In-Reply-To: <9505161742.AA02475@bitchen.Eng.Sun.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mbailey@cps201
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 16 May 1995 Dean.Nelson@Eng.Sun.COM wrote:

> 
> 
> What does the entry look like in /etc/shells?  Is that just telling
> it not to envoke a shell?  
> 
> I'm having the same problem he is having.
> 
> Thanks!
> 
What sun ftpd not good enough for you :)

*laugh* 

I have to laugh when someone if replacing something on a machine when 
they work for the company that writes this kind of software :)

From owner-wu-ftpd@wugate.wustl.edu Tue May 16 11:42:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBQsT-00033QC; Tue, 16 May 95 10:57 PDT
Received: from host (localhost [127.0.0.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA02553; Tue, 16 May 1995 12:54:45 -0500
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id MAA02306 for <wu-ftpd@wugate.wustl.edu>; Tue, 16 May 1995 12:51:16 -0500
Received: from Eng.Sun.COM by venus.Sun.COM (Sun.COM)
	id KAA05450; Tue, 16 May 1995 10:51:02 -0700
Received: from riverwhy.Eng.Sun.COM by Eng.Sun.COM (5.x/SMI-5.3)
	id AA07655; Tue, 16 May 1995 10:50:41 -0700
Received: by riverwhy.Eng.Sun.COM (5.0/SMI-SVR4)
	id AA00088; Tue, 16 May 1995 10:55:26 +0800
Message-Id: <9505161755.AA00088@riverwhy.Eng.Sun.COM>
Date: Tue, 16 May 1995 10:55:26 +0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Paul.Debacker@Eng.Sun.COM (Paul DeBacker)
To: wu-ftpd@wugate.wustl.edu
Subject: RE: setting up guest account
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


From owner-wu-ftpd@wugate.wustl.edu Wed May 17 08:42:06 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBl0K-0002atC; Wed, 17 May 95 08:27 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA16474; Wed, 17 May 1995 10:24:38 -0500
Received: from rigel.nist.gov (rigel.nist.gov [129.6.182.76]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA15236 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 10:09:03 -0500
Received: from dove.nist.gov (PERSEUS.NCSL.NIST.GOV) by rigel.nist.gov (4.1/NIST-markw)
	id AA27724; Wed, 17 May 95 11:07:19 EDT
Message-Id: <9505171507.AA27724@rigel.nist.gov>
Date: Wed, 17 May 95 11:07:19 EDT
	and do not reflect NIST policy or agreement.
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mark@rigel.nist.gov (Mark Williamson)
To: wu-ftpd@wugate.wustl.edu
Subject: WU-FTPD/Group Controls
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mark@rigel.nist.gov
X-Mailer: Windows Eudora Version 2.0.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am trying to set up a guest ftp account.  Using the O'Reilly &
Associates, I put the following line in /etc/group

guests:*:21:guest1

In /etc/passwd I put

guest1:password:201:21:Guest FTP:/home/guests/./guest1:/bin/false

Then I added

guestgroup guests

to the file /usr/local/etc/ftpaccess

However, when I try to ftp as guest1, I get the message access denied.
I am using SUN OS.

???

Thanks,
Mark Williamson, NIST



From owner-wu-ftpd@wugate.wustl.edu Wed May 17 09:40:24 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBldT-0002c5C; Wed, 17 May 95 09:07 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA18801; Wed, 17 May 1995 10:59:56 -0500
Received: from sarenet.es  ([192.148.167.16]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA18370 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 10:52:46 -0500
Received: from esi.es (OFFICE.esi.es) by sarenet.es  (5.x/SMI-SVR4)
	id AA27073; Wed, 17 May 1995 17:49:15 +0200
Received: from OFFICE/MERCURY by esi.es (Mercury 1.21);
    17 May 95 17:48:42 GMT+0100
Received: from MERCURY by OFFICE (Mercury 1.21); 17 May 95 17:48:32 GMT+0100
Received: from MUL.esi.es by esi.es (Mercury 1.21);
    17 May 95 17:48:30 GMT+0100
Message-Id: <224366B3148@esi.es>
Date: Wed, 17 May 1995 17:48:29 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Miren U. Libano" <libano@esi.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD/Group Controls
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Sender: libano@esi.es
X-Mailer: <Windows Eudora Version 1.4.2b16>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This is the same problem I have. FTP access is denied if the user does not
have the right shell (listed in man ftpd) and of course a guest user should
not have a real shell. What you should do is edit the file /etc/shells and
include /bin/false. My problem is that I do not know the format of
/etc/shell. Can someone tell me. Thanks.



>I am trying to set up a guest ftp account.  Using the O'Reilly &
>Associates, I put the following line in /etc/group
>
>guests:*:21:guest1
>
>In /etc/passwd I put
>
>guest1:password:201:21:Guest FTP:/home/guests/./guest1:/bin/false
>
>Then I added
>
>guestgroup guests
>
>to the file /usr/local/etc/ftpaccess
>
>However, when I try to ftp as guest1, I get the message access denied.
>I am using SUN OS.
>
>???
>
>Thanks,
>Mark Williamson, NIST
>
>
>
>


Miren Usua Libano Albert
B.S. Computer Science
European Software Institute
Parque Tecnol=F3gico
E-48016 Zamudio (Bilbao)
Bizkaia - Spain
Tel: ++34-4-420-95-19
Fax: ++34-4-420-94-20
e-mail: libano@esi.es

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 09:54:57 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBltr-0003MIC; Wed, 17 May 95 09:24 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20134; Wed, 17 May 1995 11:20:41 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA19286 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 11:07:50 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA24174; Wed, 17 May 1995 11:02:58 -0500
Message-Id: <Chameleon.950517110647.mbrennen@mbrennen.intecom.com>
Date: Wed, 17 May 95 11:05:28 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: RE: WU-FTPD/Group Controls 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Do you have a class that allows guest login?

---------------
Michael Brennen                    Intecom, Inc.
mbrennen@intecom.com               5057 Keller Springs
(214) 447-8074                     Dallas,  TX  75248


On Wed, 17 May 95 11:07:19 EDT and do not reflect NIST policy or 
agreement.  Mark Williamson wrote:
>I am trying to set up a guest ftp account.  Using the O'Reilly &
>Associates, I put the following line in /etc/group
>
>guests:*:21:guest1
>
>In /etc/passwd I put
>
>guest1:password:201:21:Guest FTP:/home/guests/./guest1:/bin/false
>
>Then I added
>
>guestgroup guests
>
>to the file /usr/local/etc/ftpaccess
>
>However, when I try to ftp as guest1, I get the message access denied.
>I am using SUN OS.
>
>???
>
>Thanks,
>Mark Williamson, NIST
>
>
>


From owner-wu-ftpd@wugate.wustl.edu Wed May 17 09:55:09 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBly4-0002WcC; Wed, 17 May 95 09:29 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20387; Wed, 17 May 1995 11:25:35 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA19531 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 11:12:35 -0500
Received: (from smtp@localhost) by worldcom.com (8.6.11/8.6.9) id KAA01318 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 10:58:22 -0500
Received: from worldcom-18.worldcom.com(198.64.193.9) by worldcom.com via smap (V1.3)
	id sma001259; Wed May 17 10:57:48 1995
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA7680; Wed, 17 May 95 10:58:53 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  4AEB3E49D890D2C9862561BF0057C3DF; Wed, 17 May 95 10:58:52 
Message-Id: <9505171758.AA7680@worldcom-18.worldcom.com>
Date: 17 May 95 10:52:38 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: JP Price <jprice@eden.com>, "'Stan Barber'" <sob@academ.com>,
        wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: wu-ftpd hanging socket patch -- uh-oh
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Serious eggage on my face.  The patch for hanging sockets seems to have 
completely broken PASV connections, (but I thought I'd tested it :-().  Anyway, 
caveat emptor on this patch.  Give me a day or two & I should have it corrected.

Sorry about the F___ U_.

dct

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 09:55:12 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBm2t-0002GJC; Wed, 17 May 95 09:34 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20732; Wed, 17 May 1995 11:30:54 -0500
Received: from peanuts.vlsi.com (peanuts.vlsi.com [134.27.2.21]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA19591 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 11:13:59 -0500
Received: from relayhost.tempe.vlsi.com by peanuts.vlsi.com (8.6.9/SMI4.1-UCB8.6.9/Perlotto-DeLong-080394)
	id JAA23378; Wed, 17 May 1995 09:16:39 -0700
Received: from enforcer (enforcer.tempe.vlsi.com [180.0.20.20]) by relayhost.tempe.vlsi.com (8.6.9/Hub-Perlotto/032095) with SMTP id JAA14583; Wed, 17 May 1995 09:18:18 -0700
Received: by enforcer id AA21095; Wed, 17 May 1995 09:18:12 -0700
Message-Id: <9505171618.AA21095@enforcer>
Date: Wed, 17 May 1995 09:18:12 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: whitney.randolph@tempe.vlsi.com
To: wu-ftpd@wugate.wustl.edu
Cc: randolph@tempe.vlsi.com
Subject: Service not available
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Help!

I have compiled WU-FTPD 2.4 on a Sun sparc 20
running SunOS 4.1.3_U1 using gcc 2.6.3 on the s41 build. 
Everything went very smooth, but it appears my ftpd file 
might be corrupted.  I've downloaded the source files
twice and recompiled and get the same error...

421 Service not available, remote server has closed connection
Login failed.
ftp> 

I double checked the inetd.conf and all configuration files
and checked for syslog errors which reports the following...

command: USER USER^M
exiting on signal 11

Which appears to be a SEGV problem.

Any help would be GREATLY appreciated

Whitney



---------------------------------------------------------------------------
  Whitney Randolph    VLSI Technology, Inc.   Information Technology
            "Give me ambiguity or give me something else."
                   whitney.randolph@tempe.vlsi.com
---------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 10:40:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBm8Z-0002QpC; Wed, 17 May 95 09:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA21076; Wed, 17 May 1995 11:35:55 -0500
Received: from academ.com (ACADEM.COM [198.137.249.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA19839 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 11:18:05 -0500
Received: (from sob@localhost) by academ.com (8.6.12/8.6.9) id LAA09234; Wed, 17 May 1995 11:17:57 -0500
Message-Id: <199505171617.LAA09234@academ.com>
Date: Wed, 17 May 1995 11:17:56 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: Dan Thorson  <Dan_Thorson@notes.seagate.com>, JP Price <jprice@eden.com>,
        wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: wu-ftpd hanging socket patch -- uh-oh
In-Reply-To: Dan Thorson  <Dan_Thorson@notes.seagate.com>
       "wu-ftpd hanging socket patch -- uh-oh" (May 17, 10:52am)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Yep. That's why I commented it out in BETA-1.
BETA-2 will be out next week.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: bcm!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 10:56:26 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBmFc-0002ZeC; Wed, 17 May 95 09:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA21609; Wed, 17 May 1995 11:43:49 -0500
Received: from rigel.nist.gov (rigel.nist.gov [129.6.182.76]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA20606 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 11:29:17 -0500
Received: from dove.nist.gov (PERSEUS.NCSL.NIST.GOV) by rigel.nist.gov (4.1/NIST-markw)
	id AA28050; Wed, 17 May 95 12:27:31 EDT
Message-Id: <9505171627.AA28050@rigel.nist.gov>
Date: Wed, 17 May 95 12:27:31 EDT
	and do not reflect NIST policy or agreement.
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mark@rigel.nist.gov (Mark Williamson)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD/Group Controls
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Sender: mark@rigel.nist.gov
X-Mailer: Windows Eudora Version 2.0.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>This is the same problem I have. FTP access is denied if the user does not
>have the right shell (listed in man ftpd) and of course a guest user should
>not have a real shell. What you should do is edit the file /etc/shells and
>include /bin/false. My problem is that I do not know the format of
>/etc/shell. Can someone tell me. Thanks.
>
>
>
>Miren Usua Libano Albert
>B.S. Computer Science
>European Software Institute
>Parque Tecnol=F3gico
>E-48016 Zamudio (Bilbao)
>Bizkaia - Spain
>Tel: ++34-4-420-95-19
>Fax: ++34-4-420-94-20
>e-mail: libano@esi.es
>


My /etc/shells looks like so:

/bin/sh
/bin/csh
/bin/tcsh
/bin/false

Mark Williamson, NIST

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 10:58:11 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBmX9-0002NZC; Wed, 17 May 95 10:05 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA22690; Wed, 17 May 1995 12:02:10 -0500
Received: from clark.dgim.doc.ca (clark.dgim.doc.ca [142.92.39.18]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA22491 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 11:59:01 -0500
Received: from silverlock.dgim.doc.ca by clark.dgim.doc.ca (4.1/SMI-4.1.tee)
	id AA18395; Wed, 17 May 95 12:58:56 EDT
Received: by silverlock.dgim.doc.ca (4.1/SMI-4.1)
	id AA00264; Wed, 17 May 95 12:58:55 EDT
Message-Id: <Pine.SUN.3.91.950517125546.29837G-100000@silverlock.dgim.doc.ca>
Date: Wed, 17 May 1995 12:58:55 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Erskine <tom@silverlock.dgim.doc.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD/Group Controls
In-Reply-To: <224366B3148@esi.es>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Wed, 17 May 1995, Miren U. Libano wrote:

> This is the same problem I have. FTP access is denied if the user does no=
t
> have the right shell (listed in man ftpd) and of course a guest user shou=
ld
> not have a real shell. What you should do is edit the file /etc/shells an=
d
> include /bin/false. My problem is that I do not know the format of
> /etc/shell. Can someone tell me. Thanks.

It's one shell per line, like:

/bin/sh
/bin/csh
...

However, what I'd suggest is putting /bin/true into /etc/shells, but not=20
putting /bin/false.  I  do it this way so that I can have users who can=20
use ftp, but not telnet/rlogin (with shell /bin/true), and users who=20
can't even use ftp (with shell /bin/false).  You can also put the latter=20
in /etc/ftpusers, but I'm always forgetting about it.

[snip]
> Miren Usua Libano Albert
> B.S. Computer Science
> European Software Institute
> Parque Tecnol=F3gico
> E-48016 Zamudio (Bilbao)
> Bizkaia - Spain
> Tel: ++34-4-420-95-19
> Fax: ++34-4-420-94-20
> e-mail: libano@esi.es

--
Thomas Erskine        <tom@clark.dgim.doc.ca>           (613) 998-2836

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 13:51:30 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBpC5-0003GlC; Wed, 17 May 95 12:55 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA00754; Wed, 17 May 1995 14:49:57 -0500
Received: from rigel.nist.gov (rigel.nist.gov [129.6.182.76]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA00597 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 14:46:42 -0500
Received: from dove.nist.gov (PERSEUS.NCSL.NIST.GOV) by rigel.nist.gov (4.1/NIST-markw)
	id AA28956; Wed, 17 May 95 15:44:54 EDT
Message-Id: <9505171944.AA28956@rigel.nist.gov>
Date: Wed, 17 May 95 15:44:54 EDT
	and do not reflect NIST policy or agreement.
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mark@rigel.nist.gov (Mark Williamson)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD/Group Controls
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mark@rigel.nist.gov
X-Mailer: Windows Eudora Version 2.0.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

  Thanks for all the help with the WU-FTPD Group Control.  I was able to get
it working.  However, it was my understanding that the guests/./guest1 path
prevented a group user from CDing out of the guest1 directory.  This is not
working for me.  I can cd all the way to the root.

Have I set something incorrectly?

Mark Williamson, NIST

From owner-wu-ftpd@wugate.wustl.edu Wed May 17 14:40:34 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBpxB-0003HeC; Wed, 17 May 95 13:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA03500; Wed, 17 May 1995 15:40:15 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA03342 for <wu-ftpd@wugate.wustl.edu>; Wed, 17 May 1995 15:37:46 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA29739; Wed, 17 May 1995 15:32:54 -0500
Message-Id: <Chameleon.950517153645.mbrennen@mbrennen.intecom.com>
Date: Wed, 17 May 95 15:01:50 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD/Group Controls 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hmmmm, sounds like you might be running as 'real', not guest.  Make sure 
the group name you define as 'guestgroup' in ftpaccess exists in the 
/etc/group file.  

To keep from cd'ing out of the guest1 directory, make the path

/guests/guest1/./

As written you could cd up to the guests directory.

Hope this gets you further,

---------------
Michael Brennen                    Intecom, Inc.
mbrennen@intecom.com               5057 Keller Springs
(214) 447-8074                     Dallas,  TX  75248


On Wed, 17 May 95 15:44:54 EDT and do not reflect NIST policy or 
agreement.  Mark Williamson wrote:
>  Thanks for all the help with the WU-FTPD Group Control.  I was able 
to get
>it working.  However, it was my understanding that the guests/./guest1 
path
>prevented a group user from CDing out of the guest1 directory.  This is 
not
>working for me.  I can cd all the way to the root.
>
>Have I set something incorrectly?
>
>Mark Williamson, NIST
>


From owner-wu-ftpd@wugate.wustl.edu Thu May 18 00:39:35 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sBzwq-0002lEC; Thu, 18 May 95 00:24 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA22947; Thu, 18 May 1995 02:19:35 -0500
Received: from pizza.hvu.nl (pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA22804 for <wu-ftpd@wugate.wustl.edu>; Thu, 18 May 1995 02:14:08 -0500
Received: by pizza.hvu.nl (5.0/SMI-SVR4)
	id AA24903; Thu, 18 May 1995 09:13:55 +0200
Message-Id: <9505180713.AA24903@pizza.hvu.nl>
Date: Thu, 18 May 95 9:13:54 MET DST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD/Group Controls
In-Reply-To: <224366B3148@esi.es>; from "Miren U. Libano" at May 17, 95 5:48 pm
X-Mailer: ELM [version 2.3 PL2]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In a previous message, you wrote :

> not have a real shell. What you should do is edit the file /etc/shells and
> include /bin/false. My problem is that I do not know the format of
> /etc/shell. Can someone tell me. Thanks.

The file here contains :

/sbin/sh
/sbin/jsh
/bin/sh
/bin/csh
/bin/ksh
/bin/jsh
/usr/bin/sh
/usr/bin/csh
/usr/bin/jsh
/usr/bin/ksh
/usr/bin/bash

In short, the full names of all login shells who's users can use ftp.

                                                 Grtz. KH

-- 
  Koos van den Hout,           Internetter, Unix freak and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-3402-36637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger for PGPkey       (+31-3402-56619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  GCS d- p(-) c++(+++) l+ u+++ e++ m+(-) s+/- !n h f+ g+ w(++) t+ r !y(*)

From owner-wu-ftpd@wugate.wustl.edu Thu May 18 06:38:37 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sC52L-0002WIC; Thu, 18 May 95 05:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id HAA29240; Thu, 18 May 1995 07:48:36 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id HAA29154 for <wu-ftpd@mail.wustl.edu>; Thu, 18 May 1995 07:46:04 -0500
Received: from xpert.com by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQN2UYVFR4002FWK@wunet.wustl.edu>; Thu, 18 May 1995 07:43:22 -0500 (CDT)
Received: (from kedar@localhost) by xpert.com (8.6.12/8.6.10) id PAA00439; Thu,
 18 May 1995 15:49:59 +0400
Message-Id: <Pine.LNX.3.91-heb-2.05.950518154652.434A-100000@xpert.com>
Date: Thu, 18 May 1995 15:49:59 +0400 (IDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Udi Kedar <kedar@xpert.com>
To: wu-ftpd@wunet.wustl.edu
Subject: defunct process
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi 

I have install wu-ftpd version 2.4 on my host (Sun Os 4.1.3), but when I 
do ps -aux | grep ftp I get:
ftp      16093  0.0  0.0    0    0 ?  Z    May 12  0:00 <defunct>

Questions:

1) What is this defunct process
2) How do I get rid of them (kill -9 does not work)
3) What causes this process

bye

--
/-------------------------------------------------------\
| Udi Kedar                        <udi@xpert.com>      |
| Ibn Gavirol 178a Tel-Aviv Israel Zip Code: 62032      |
| \\				Tel (home): 97235443743 |
|  \\   //                 ||	Tel (work): 97236901668 |
|   \\ //  ___    ___   ___||__				|
|    \//  / --\  / --\ / --||--				|
|    //\  ||  \\// __/ ||  ||				|
|   // \\ ||__//\\____ ||  \\__				|
|__//___\\||__________UNIX Systems Ltd__________________|
          ||

From owner-wu-ftpd@wugate.wustl.edu Thu May 18 08:38:49 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sC6u7-0002LpC; Thu, 18 May 95 07:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA04692; Thu, 18 May 1995 09:47:53 -0500
Received: from worldcom.com (worldcom.com [198.64.193.5]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA04606 for <wu-ftpd@wugate.wustl.edu>; Thu, 18 May 1995 09:46:44 -0500
Received: (from smtp@localhost) by worldcom.com (8.6.11/8.6.9) id JAA28836 for <wu-ftpd@wugate.wustl.edu>; Thu, 18 May 1995 09:26:23 -0500
Received: from worldcom-18.worldcom.com(198.64.193.9) by worldcom.com via smap (V1.3)
	id sma028736; Thu May 18 09:24:10 1995
Received: by worldcom-18.worldcom.com (IBM OS/2 SENDMAIL VERSION 1.3.13/3.3)
	  id AA5037; Thu, 18 May 95 09:21:42 -0700
Received: from worldcom with "Lotus Notes Mail Gateway for SMTP" id  7436FCFDA6979BF3862561C0004EDFF8; Thu, 18 May 95 09:21:41 
Message-Id: <9505181621.AA5037@worldcom-18.worldcom.com>
Date: 18 May 95  9:16:51 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Thorson  <Dan_Thorson@notes.seagate.com>
To: JP Price <jprice@eden.com>, "'Stan Barber'" <sob@academ.com>,
        wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Hanging sockets problem - New Patch - Actually Tested
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

OK, here we go again.... and this time I've really tested it.  :-)

__And__ it's running on ftp.seagate.com.

Get the patch at url
 ftp://ftp.seagate.com/pub/wu-ftpd-2.4.patch

What was the problem the first time?  Details:  The call to "select()" had an 
incorrect first parameter.  The call in my first patch was select(1,...), but 
it should have been select(pdata+1,...).

Big apologies to everybody for the f-up.

From owner-wu-ftpd@wugate.wustl.edu Thu May 18 19:05:20 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCHRE-00035FC; Thu, 18 May 95 19:05 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA03041; Thu, 18 May 1995 21:01:13 -0500
Received: from acorn.grove.iup.edu (acorn.grove.iup.edu [144.80.128.8]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA02903 for <wu-ftpd@mail.wustl.edu>; Thu, 18 May 1995 20:56:02 -0500
Received: from grove.iup.edu by grove.iup.edu (PMDF V4.3-13 #2467)
 id <01HQNW8FCWMK90NGYT@grove.iup.edu>; Thu, 18 May 1995 21:55:50 -0500 (EST)
Message-Id: <01HQNW8FCWMM90NGYT@grove.iup.edu>
Date: Thu, 18 May 1995 21:55:50 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed_Donley <HEDONLEY@grove.iup.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: problem with dir and ls -l
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Envelope-to: wu-ftpd@mail.wustl.edu
X-VMS-To: NETMAIL%"wu-ftpd@mail.wustl.edu"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I just installed wu-ftpd version 2.4 on a DECstation 5000/200 running Ultrix
4.4.  It works fine for real users, but "ls -l" and "dir" will not list
directory contents for anonymous users.  Strangely enough, "ls" does work for
anonymous users.  I've enclosed a log of the problem below.  The server is at
ftp.ma.iup.edu.  Has anyone experienced a similar problem or know what my
problem is?

Thanks,
Ed Donley
Mathematics Department
Indiana University of Pennsylvania
Indiana, PA  15705
U.S.A.

hedonley@grove.iup.edu
http://www.ma.iup.edu/MathDept/Professors/HDonley.html

==============================================================================

ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
remote: -l
0 bytes received in 0.35 seconds (0 Kbytes/s)
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
0 bytes received in 0.32 seconds (0 Kbytes/s)
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
lost+found
bin
etc
pub
www
font
.welcome
226 Transfer complete.
48 bytes received in 0.0039 seconds (12 Kbytes/s)

From owner-wu-ftpd@wugate.wustl.edu Thu May 18 19:44:34 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCI3A-0002bJC; Thu, 18 May 95 19:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA04499; Thu, 18 May 1995 21:42:14 -0500
Received: from Adonis.Dorm10.NCTU.edu.tw (Adonis.Dorm10.NCTU.edu.tw [140.113.145.84]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id VAA04322 for <wu-ftpd@wugate.wustl.edu>; Thu, 18 May 1995 21:36:57 -0500
Received: (from jdli@localhost) by Adonis.Dorm10.NCTU.edu.tw (8.6.11/8.6.9) id KAA14129 for wu-ftpd@wugate.wustl.edu; Fri, 19 May 1995 10:36:31 +0800
Message-Id: <199505190236.KAA14129@Adonis.Dorm10.NCTU.edu.tw>
Date: Fri, 19 May 1995 10:36:31 +0800 (CST)
Reply-To: jdli@csie.nctu.edu.tw
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ¾K¥Í¹Ú¦º µL¨¥¥H¹ï <jdli@Adonis.Dorm10.NCTU.edu.tw>
To: wu-ftpd@wugate.wustl.edu
Subject: [patch] a better CD command for wu-ftpd 2.4
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	Hi :
	
	I sent this file days ago to this mailing-list, and now here
	is a newer patch for a little-bug-fix.
	This patch will allow ftpd to auto-search the directory name
	when a user try to CD.  You can try to ftp ftp.edu.tw then you
	will know what I mean.  But this patch is not the one at
	ftp.edu.tw and was written myself.
	This is not a smart patch, but at least it works for me.
	Your are welcome to make it better, and please send me a patch
	so that I can "upgrade" from your kindly patch...  :)
	Any opinion please reply to jdli@csie.nctu.edu.tw


====== This patch is diff with original wu-ftpd-2.4 ======
*** ftpd.c.orig	Thu May 18 17:57:34 1995
--- ftpd.c Thu May 18 18:01:23 1995
***************
*** 2208,2213 ****
--- 2208,2355 ----
      ack("DELE");
  }
  
+ #ifdef SMART_CD
+ 
+ /* 
+  *  Smart CD, written by jdli@csie.nctu.edu.tw, May.18 1995
+  *
+  *  This is a replacement of original CD, it should act almost like
+  *  the ftpd at ftp.edu.tw (I hope) , you are freely to mondify it.
+  *  add "#define SMART_CD" into ~/src/config.h
+  *  Please notice following things :
+  *  Please use a better algorithm b'cos mine is stupid (I think)
+  *  and please notice the overhead, memory useage and performance.
+  *  And, please send a patch to me, thanks a lot !!   :-)
+  *
+  */
+ 
+ char *strstri(char *str, char *word)
+ {
+  char tmp_str[MAXPATHLEN + 1], tmp_word[MAXPATHLEN + 1], *cp;
+  int i;
+  
+  for (i=0; i < strlen(str); i++) {
+    tmp_str[i] = toupper(str[i]);
+  }
+  for (i=0; i < strlen(word); i++) {
+    tmp_word[i] = toupper(word[i]);
+  }
+  tmp_str[strlen(str)] = tmp_word[strlen(word)] = '\0';
+  if ((cp = strstr(tmp_str, tmp_word)) != NULL) {
+    return ((char *)(str + (cp - tmp_str)));
+  }
+  return ((char *) NULL);
+ }
+ 
+ cwd(char *path)
+ {
+     extern int match(char *s, char *p);
+     struct aclmember *entry = NULL;
+     char cdpath[MAXPATHLEN + 1], dirname[MAXPATHLEN + 1];
+     DIR *dirp = NULL;
+     char pass1_cdpath[MAXPATHLEN + 1], pass2_cdpath[MAXPATHLEN + 1], *tmp_cp;
+     int pass1_point, pass2_point, tmp_point;
+     struct stat st;
+     
+ #ifdef HAVE_DIRENT
+     struct dirent *dir;
+ #else
+     struct direct *dir;
+ #endif
+ 
+ 
+ #ifdef HAVE_GETCWD
+     extern char *getcwd();
+ #else
+     extern char *getwd(char *);
+ #endif
+ 
+     if (chdir(path) < 0) {
+ #ifdef HAVE_GETCWD
+ 	getcwd(dirname, MAXPATHLEN);
+ #else
+ 	getwd(dirname);
+ #endif
+ 	/*
+ 	 * Use two-pass algorithm
+ 	 * Pass one, case-sensitive
+ 	 * Pass two, case-insensitive
+ 	 */
+ 	  
+ 	if ((dirp = opendir(dirname)) != NULL) {
+ 	    pass1_point = pass2_point = 17084;
+ 	    while ((dir = readdir(dirp)) != NULL) {
+ 	        if (!stat(dir->d_name, &st) && !(st.st_mode & S_IFDIR)) continue;
+ 	        /* Pass one */
+ 	        if (((tmp_cp = strstr(dir->d_name, path)) != NULL)
+ 		    && ((tmp_point = (int) (tmp_cp - dir->d_name)) < pass1_point)) {
+ 	          pass1_point = tmp_point;
+ 	          strcpy(pass1_cdpath, dir->d_name);
+ 	        }
+ 	        /* Pass two */
+ 	        if (((tmp_cp = strstri(dir->d_name, path)) != NULL)
+ 		    && ((tmp_point = (int) (tmp_cp - dir->d_name)) < pass2_point)) {
+ 	          pass2_point = tmp_point;
+ 	          strcpy(pass2_cdpath, dir->d_name);
+ 	        }
+ 	    }
+ 	}
+ 	(void) closedir(dirp);
+ 
+ 	tmp_cp = (char *) NULL;
+ 	if (pass1_point != 17084)
+ 	  tmp_cp = pass1_cdpath;
+ 	else if (pass2_point != 17084)
+ 	  tmp_cp = pass2_cdpath;
+ 
+ 	if (tmp_cp && (chdir(tmp_cp) >= 0)) {
+ 	  show_message(250, C_WD);
+ 	  show_readme(250, C_WD);
+ 	  reply(250, "Searching Key: \"%s\". Change to an appropriate directory \"%s\".", path, tmp_cp);
+ /*	  ack("CWD");*/
+ 	  return;
+ 	}
+ 	
+         /* alias checking */
+         while (getaclentry("alias", &entry) && ARG0 && ARG1 != NULL) {
+             if (!strcasecmp(ARG0, path)) { 
+                 if (chdir(ARG1) < 0)
+                     perror_reply(550, path);
+                 else {
+                     show_message(250, C_WD);
+                     show_readme(250, C_WD);
+ 		    reply(250, "Change alias to the directory \"%s\".", path);
+ /*                    ack("CWD");*/
+                 }
+                 return;
+             }
+         }
+     /* check for "cdpath" directories. */
+         entry = (struct aclmember *) NULL;
+         while (getaclentry("cdpath", &entry) && ARG0 != NULL) {
+         strcpy(cdpath,ARG0);
+         strcat(cdpath,"/");
+         strcat(cdpath, path);
+             if (chdir(cdpath) >= 0) {
+                 show_message(250, C_WD);
+                 show_readme(250, C_WD);
+ 		reply(250, "Change cdpath to the directory \"%s\".", path);
+ /*                ack("CWD");*/
+                 return;
+             }
+         }
+ 	reply(250, "Unable to locate an appropriate directory for \"%s\" in \"%s\".", path, dirname);
+ /*        perror_reply(550,path);*/
+     } else {
+         show_message(250, C_WD);
+         show_readme(250, C_WD);
+ 	reply(250, "Change exactly to the directory \"%s\".", path);
+ /*        ack("CWD");*/
+     }
+ }
+ 
+ #else /* original CD */
+ 
  cwd(char *path)
  {
      struct aclmember *entry = NULL;
***************
*** 2247,2252 ****
--- 2389,2395 ----
          ack("CWD");
      }
  }
+ #endif /* endif SMART_CD */
  
  makedir(char *name)
  {
============== cut here =====================
-- 
                                           Mail: jdli@csie.nctu.edu.tw

From owner-wu-ftpd@wugate.wustl.edu Fri May 19 07:51:42 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCTOs-0003O7C; Fri, 19 May 95 07:51 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA26347; Fri, 19 May 1995 09:42:31 -0500
Received: from ximar.mpact.ca (ximar.mpact.ca [204.19.168.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id GAA19724 for <wu-ftpd@wugate.wustl.edu>; Fri, 19 May 1995 06:22:26 -0500
Received: (from robert@localhost) by ximar.mpact.ca (8.6.9/8.6.9) id HAA13615 for wu-ftpd@wugate.wustl.edu; Fri, 19 May 1995 07:21:24 -0400
Message-Id: <199505191121.HAA13615@ximar.mpact.ca>
Date: Fri, 19 May 1995 07:21:24 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Denault <denault-rj@mpact.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with dir and ls -l
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> From: Ed_Donley <HEDONLEY@grove.iup.edu> 
> I just installed wu-ftpd version 2.4 on a DECstation 5000/200 running Ultrix
> 4.4.  It works fine for real users, but "ls -l" and "dir" will not list
> directory contents for anonymous users.  Strangely enough, "ls" does work for
> anonymous users.  I've enclosed a log of the problem below.  The server is at
> ftp.ma.iup.edu.  Has anyone experienced a similar problem or know what my
> problem is?

I had a similar problem on Sun Solaris 2.4
I'm not familiar with Ultrix so...

Check to make sure your chroot environment contain all the shared libraries the software in the bin directory will need. You can use ldd to list the shared libraries, and if all thoses are there run truss on ls and ls -l and see if there are any extra libraries the extra options need.

Also make sure the permissions are right on your libraries so that the program
can access and load them.

Hope this helps..

Robert Denault

Telematique Immedia
1155, boul Rene-Levesque ouest, bureau 2250
Montreal, (Quebec)
H3B 4T3
Canada

Voice:	(514) 397-9747 ext 242
FAX:	(514) 398-0764

From owner-wu-ftpd@wugate.wustl.edu Fri May 19 08:49:02 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCUIL-000391C; Fri, 19 May 95 08:48 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA28526; Fri, 19 May 1995 10:03:46 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA26442 for <wu-ftpd@wugate.wustl.edu>; Fri, 19 May 1995 09:43:44 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA07871; Fri, 19 May 1995 09:38:49 -0500
Message-Id: <Chameleon.950519094252.mbrennen@mbrennen.intecom.com>
Date: Fri, 19 May 95 09:33:32 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: RE: problem with dir and ls -l 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Thu, 18 May 1995 21:55:50 -0500 (EST)  Ed_Donley wrote:
>I just installed wu-ftpd version 2.4 on a DECstation 5000/200 running 
>Ultrix 4.4.  It works fine for real users, but "ls -l" and "dir" will 
>not list directory contents for anonymous users.  Strangely enough, 
>"ls" does work for anonymous users.  I've enclosed a log of the problem 
>below.  The server is at ftp.ma.iup.edu.  Has anyone experienced a 
>similar >problem or know what my problem is?

The 'ls' command by itself is run from within ftpd; all other variants 
such as ls -l and dir are run using the /bin/ls program *under the ftp 
root directory*.  If your ftp root is /home/ftp, there must exist 
/home/ftp/bin/ls.  Depending on the OS, you need more or less support 
stuff around it, such as /home/ftp/dev/*stuff*, etc.  anonymous ftp runs 
in a chroot'ed environment; that is, the root directory for ftpd becomes 
/home/ftp, and it cannot see above that.  That is why all this stuff 
must be under the tree.

The docs do a pretty good job on this, but enough people have trouble 
with this that they may deficient in some way.  Do the best you can with 
them, and when you get stuck someone on this list can help.

Hope this helps...
---------------
Michael Brennen                    Intecom, Inc.
mbrennen@intecom.com               5057 Keller Springs
(214) 447-8074                     Dallas,  TX  75248

From owner-wu-ftpd@wugate.wustl.edu Fri May 19 15:38:57 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCah2-0003ALC; Fri, 19 May 95 15:38 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA20753; Fri, 19 May 1995 17:37:08 -0500
Received: from acorn.grove.iup.edu (acorn.grove.iup.edu [144.80.128.8]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA20626 for <wu-ftpd@mail.wustl.edu>; Fri, 19 May 1995 17:34:28 -0500
Received: from grove.iup.edu by grove.iup.edu (PMDF V4.3-13 #2467)
 id <01HQP3M1A1I290NJ63@grove.iup.edu>; Fri, 19 May 1995 18:34:13 -0500 (EST)
Message-Id: <01HQP3M1A1I490NJ63@grove.iup.edu>
Date: Fri, 19 May 1995 18:34:13 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed_Donley <HEDONLEY@grove.iup.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: dir and ls -l problem resolved
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Envelope-to: wu-ftpd@mail.wustl.edu
X-VMS-To: NETMAIL%"wu-ftpd@mail.wustl.edu"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thank you to those who responded to my cry for help with my "dir" and "ls -l"
problem.  This seems to be a common problem--real users can use "dir" and 
"ls -l", but anonymous users incorrectly get empty directory listings when 
they use "dir" or "ls -l".  Most of the suggestions that I received were about
missing ~ftp/bin/ls commands, incorrect permissions set on directories
containing the ls command, or about dynamically linked libraries.  Since my
problem turned out to be none of these, I thought that you might want to hear
about it.

The INSTALL instructions said that for Ultrix systems, I need to place a copy
of /etc/svc.conf in ~ftp/etc/svc.conf.  I did this, but then I "cleaned up"
~ftp/etc/svc.conf.  Well, I must of cleaned it up too well!  When I tried the
original /etc/svc.conf, my "dir" and "ls -l" problem was resolved.

Thanks again to all who came to my aid.  I hope that my report will help
someone else.

Ed Donley
Mathematics Department
Indiana University of Pennsylvania
Indiana, PA  15705
U.S.A.

hedonley@grove.iup.edu
http://www.ma.iup.edu/MathDept/Professors/HDonley.html

From owner-wu-ftpd@wugate.wustl.edu Fri May 19 18:18:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCdBd-0003HQC; Fri, 19 May 95 18:18 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA24597; Fri, 19 May 1995 20:12:36 -0500
Received: from visviri.electa.uta.cl (visviri.electa.uta.cl [146.83.109.17]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA24487 for <wu-ftpd@wugate.wustl.edu>; Fri, 19 May 1995 20:09:49 -0500
Received: from localhost by visviri.electa.uta.cl; (5.65/1.1.8.2/04Aug94-0432PM)
	id AA01330; Fri, 19 May 1995 20:48:01 -0400
Message-Id: <9505200048.AA01330@visviri.electa.uta.cl>
Date: Fri, 19 May 95 20:48:00 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: hdiaz@visviri.electa.uta.cl
To: wu-ftpd@wugate.wustl.edu
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi

This is a elementary asked, but I'm new in OSF.

I need to install a Anonymous Ftp server in my machine Digital Alpha 3000/300 
OSF/1 V2.0, can you give me a  FTP adress of a last version available of this 
server.


Thanks


Horacio Diaz
Universidad de Tarapaca
Arica
C H I L E

--

From owner-wu-ftpd@wugate.wustl.edu Sat May 20 10:40:00 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCsVH-0003WjC; Sat, 20 May 95 10:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA14705; Sat, 20 May 1995 12:35:31 -0500
Received: from ingress.com (ingress.com [199.171.57.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id MAA14511 for <wu-ftpd@wugate.wustl.edu>; Sat, 20 May 1995 12:28:13 -0500
Received: from [199.171.57.110] (dialup10.ingress.com) by ingress.com (4.1/SMI-4.1)
	id AA26956; Sat, 20 May 95 13:25:57 EDT
Message-Id: <abe3e2d300021004875e@[199.171.57.125]>
Date: Sat, 20 May 1995 13:30:11 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: nicwolff@soup.com (Nic Wolff)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with dir and ls -l
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: nicwolff@ingress.com
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm sure you'll get deluged with answers; everyone (including me!) gets
this wrong the first time. The problem is that 'ls' is dynamically linked,
and the anonymous user has the root of the file system changed to ~ftp, so
the copy of 'ls' you put in ~ftp/bin can't find its libraries. There are
two solutions: either duplicate the library directory hierarchy under ~ftp,
or (the easy way) recompile 'ls' with the -static flag -- get the gnu
fileutils package (try csvax.cs.caltech.edu:/gnu/fileutils-3.6.tar.gz) and
follow the instructions.

The reason "ls" works is that wu-ftpd actually catches it and returns a
file list itself, rather than executing 'ls'. Sending "ls -l" (or "ls" with
any flags) causes 'ls' to be run and to fail to find its libraries. And
"dir" is aliased to "ls -l", so it won't work either. Confusing, ain't it?

Have fun.

>I just installed wu-ftpd version 2.4 on a DECstation 5000/200 running Ultrix
>4.4.  It works fine for real users, but "ls -l" and "dir" will not list
>directory contents for anonymous users.  Strangely enough, "ls" does work for
>anonymous users.  I've enclosed a log of the problem below.  The server is at
>ftp.ma.iup.edu.  Has anyone experienced a similar problem or know what my
>problem is?


From owner-wu-ftpd@wugate.wustl.edu Sat May 20 11:51:03 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sCtc3-0003XuC; Sat, 20 May 95 11:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA16391; Sat, 20 May 1995 13:48:43 -0500
Received: from ag.Arizona.EDU (Ag.Arizona.EDU [128.196.42.70]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA16255 for <wu-ftpd@wugate.wustl.edu>; Sat, 20 May 1995 13:43:48 -0500
Received: by ag.Arizona.EDU (5.x/SMI-SVR4)
	id AA00602; Sat, 20 May 1995 11:43:45 -0700
Message-Id: <Pine.SOL.3.91.950520114137.358C-100000@ag.arizona.edu>
Date: Sat, 20 May 1995 11:43:44 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Refugio Laborin <rlaborin@ag.Arizona.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: listserv address
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've lost the address to the listserv for this group.  Could someone send 
it to me?

Thanks

============================================================================
Refugio Laborin				     http://ag.arizona.edu/~rlaborin
============================================================================
"The ships hung in the sky in much the same way that bricks don't." 
	- Douglas Adams

From owner-wu-ftpd@wugate.wustl.edu Sun May 21 08:06:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDCak-00032YC; Sun, 21 May 95 08:06 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA10380; Sun, 21 May 1995 10:01:32 -0500
Received: from dias.servicenet.ariadne-t.gr (dias.servicenet.ariadne-t.gr [143.233.10.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA10198 for <wu-ftpd@wugate.wustl.edu>; Sun, 21 May 1995 09:53:39 -0500
Received: from ermis.servicenet.ariadne-t.gr by dias.servicenet.ariadne-t.gr with SMTP
	(1.37.109.4/16.2) id AA26419; Sun, 21 May 95 16:50:44 +0200
Received: from demokritos.cc.duth.gr by ermis.cc.duth.gr via DUTHnet (Greece) with SMTP
	(1.37.109.4/16.2) id AA23922; Sun, 21 May 95 17:52:51 +0200
	      Department of Electrical and Computer Engineering
	      Bas. Sofias, 67100 Xanthi, Greece
Received: by demokritos.cc.duth.gr; id AA27917; Sun, 21 May 1995 17:52:48 +0300
Message-Id: <Pine.OSF.3.90.950521174917.27913A-100000@demokritos.cc.duth.gr>
Date: Sun, 21 May 1995 17:52:48 +0300 (EET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: FTP administrator <ftpadm@demokritos.cc.duth.gr>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem in linking directories
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Is it possible to have two a directory from a filesystem linked to a 
directory on another file system under wu-ftpd ?
I'am using a DEC ALPHA runing OSF/1.

The reason i ask that , is becouse i am running out of space in the file 
system i have ftp, and i want to take some space from another file system.

Thanx in advance.

From owner-wu-ftpd@wugate.wustl.edu Sun May 21 11:31:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDFmx-0003AeC; Sun, 21 May 95 11:31 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA15183; Sun, 21 May 1995 13:25:35 -0500
Received: from sparc1.castles.com (sparc1.castles.com [199.4.103.2]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA14985 for <wu-ftpd@wugate.wustl.edu>; Sun, 21 May 1995 13:17:13 -0500
Received: from castles16.castles.com by sparc1.castles.com (5.x/SMI-SVR4/CASTLES)
	id AA05210; Sun, 21 May 1995 11:14:42 -0700
Message-Id: <9505211814.AA05210@sparc1.castles.com>
Date: Sun, 21 May 1995 11:14:42 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mking@sparc1.castles.com (Mark King)
To: wu-ftpd@wugate.wustl.edu
Subject: Download Dirs
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mking@sparc1.castles.com
X-Mailer: Windows Eudora Version 1.4.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This may be a simple one!

My FTP has been running great but I never set up any download areas, I have
added the following to my FTPACCESS file and want to make sure I won't get
in to trouble like this.  If someone could reply that is looks correct or
what changes are recommended I would appriciate it.


   download  /export/home/ftp  /pub/DOS    yes     root    other   0400 nodirs  


Thanx -Mark
============================================================================
CASTLES Information Network - Solano County's Full Internet Service Provider 

www.castles.com +1 707-429-6100                          BBS +1 707-429-9789
Voice information +1 707-422-7311                        FAX +1 707-422-5265
============================================================================

From owner-wu-ftpd@wugate.wustl.edu Sun May 21 12:24:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDGcP-0003QZC; Sun, 21 May 95 12:24 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA16556; Sun, 21 May 1995 14:20:21 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id OAA16473 for <wu-ftpd@mail.wustl.edu>; Sun, 21 May 1995 14:19:28 -0500
Received: from mauve.csi.cam.ac.uk by wunet.wustl.edu (PMDF V4.3-10 #8766)
 id <01HQRNFUYLY8002RRR@wunet.wustl.edu>; Sun, 21 May 1995 14:16:00 -0500 (CDT)
Received: from ster.gen.cam.ac.uk by mauve.csi.cam.ac.uk with SMTP-CAM
 (XTPP8.1) as ppsw.cam.ac.uk; Sun, 21 May 1995 20:18:33 +0100
Received: by ster.gen.cam.ac.uk (4.1/MDTG-V1.1@gen.cam.ac.uk)	id AA02984; Sun,
 21 May 95 20:23:34 BST
Message-Id: <9505211923.AA02984@ster.gen.cam.ac.uk>
Date: Sun, 21 May 1995 20:23:34 -0300 (BST)
Reply-To: Edward Welbourne <eddy@gen.cam.ac.uk>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: eddy <eddy@gen.cam.ac.uk>
To: wu-ftpd@wunet.wustl.edu
Cc: rwf@mole.bio.cam.ac.uk
Subject: Bugs in wu-ftpd-2.4 for SGI (at least one is more general).
Content-transfer-encoding: 7BIT
X-Traneous: colonel Mossad terrorist ammunition CIA DES Delta Force World Trade
 Center Serbian jihad NORAD Marxist South Africa bomb Ft. Meade
X-Www-Home-Page: http://eddy.gen.cam.ac.uk/~eddy
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Starting with wu-ftpd-2.4.tar.gz as obtained from SunSite Europe or
wu-stl's ftp server (we've done both).  Unpacked and set up in the usual
way on an SGI.  The following problems made installation impossible:

(build doesn't attempt to remove old links (eg to Makefiles) before
creating new.  It also uses hard links rather than soft.  Yuck.)

src/Makefile: doesn't mention vers.o in dependancy lists for ftpcount, ftpshut.
Causes failure to build these if ftpd hasn't been built before them.

ftpd doesn't get built because src/ftpd.c breaks, for two reasons:

  realpath is declared without const qualifying its first argument,
  conflicting with its definition in <stdlib.h> (the declaration is,
  thus, also redundant).

  both <varargs.h> and <stdargs.h> get included (the latter via
  syslog.h), resulting in a conflict in meaning for va_start (and other
  macros).  The code assumes that of varargs.h but stdargs.h is included
  later so overrides this.  I have defined __STDARGS_H__ after including
  varargs to suppress inclusion of stdargs.  Not a portable fix ...

src/glob.c: references macro NCARGS without defining it. In fact,
wu-ftpd-2.4> find . -type f -exec grep NCARGS "{}" \; -print
only yields results in src/glob.c (neither of which gives it a value).
I have no idea what value to give to NCARGS.

Clearly this builds for other folk (given that it's widely used by major
servers) so something must be awry for the SGI stuff.  Any suggestions ?

I'm not on the wu-ftpd mailing list: please reply by e-mail and use the
Cc line above so that my colleague gets the same information ...

	Eddy.

From owner-wu-ftpd@wugate.wustl.edu Mon May 22 14:05:08 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDeen-0003UPC; Mon, 22 May 95 14:04 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA01575; Mon, 22 May 1995 16:02:14 -0500
Received: from webcom.com (webcom.com [165.227.43.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA01185 for <wu-ftpd@wugate.wustl.edu>; Mon, 22 May 1995 15:55:20 -0500
Received: by webcom.com
	(1.37.109.15/16.2) id AA131695931; Mon, 22 May 1995 13:52:11 -0700
Message-Id: <199505222055.PAA01185@wugate.wustl.edu>
Date: Mon, 22 May 1995 13:52:11 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Leavitt <leavitt@webcom.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Incorrect Response Packet (fwd)
X-Mailer: Elm [revision: 109.14]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Any idea what could be causing the problem described below (or where
I should look for an answer?)

Sincerely,
Thomas Leavitt

> 
> I was trying to upload several files and 2 came back repeatedly with the
> response:
> 
> "Incorrect Response Packet"
> 
> One file got stuck always at the same size 67,056 out of the full file size of
> 70,912.
> 
> The other file got stuck also at about the same size - 68,580 bytes.
> 
> Is there a file size limit that I do not know about or is there another
> explanation for this, and what
> must I do to correct it.

--
Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.
 
Web Communications Home Page <URL:http://www.webcom.com/>

From owner-wu-ftpd@wugate.wustl.edu Tue May 23 07:21:32 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDupp-0003AgC; Tue, 23 May 95 07:21 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA27902; Tue, 23 May 1995 09:16:24 -0500
Received: from openage.openage.com (openage.openage.com [198.137.198.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA27247 for <wu-ftpd@wugate.wustl.edu>; Tue, 23 May 1995 09:03:37 -0500
Message-Id: <9505230958.aa13701@openage.openage.com>
Date: Tue, 23 May 1995 9:58:48 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul A. Fischer, Sr UNIX Sys Consultant" <paul@openage.com>
To: wu-ftpd@wugate.wustl.edu
Subject: SCO Open Server Porting has begun...
X-Mailer: SCO Portfolio 2.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi All,

I am porting 2.4 to SCO's latest OS, Open Server 5.0.  This OS has a 
very different compiler system than the old OS, and I have run into 
some problems.  First off things like bigcrypt and realpath are 
already defined.  Also, the support/sco.c file has a syntax error in 
it.  I was able to muck around in the code to make it compile, but I 
haven't tested it yet.  I wanted to get my changes rolled into the 
current release so others would not have to go through this.

Here is the fix for support/sco.c and the first error from the 
compilation of ftpd.c

# ./build sco
make args are :
make opts are :

Linking Makefiles.

Making support library.
        cc -O   -c getusershell.c
"./../src/config.h", line 41: warning: ANSI C predefined macro cannot 
be undefin
ed
        cc -O   -c fnmatch.c
"./../src/config.h", line 41: warning: ANSI C predefined macro cannot 
be undefin
ed
        cc -O   -c strcasestr.c
"strcasestr.c", line 35: warning: Function illegally defined in hosted 
mode: str
str
        cc -O   -c strsep.c
        cc -O   -c authuser.c
"./../src/config.h", line 41: warning: ANSI C predefined macro cannot 
be undefin
ed
"/usr/include/arpa/inet.h", line 48: warning: dubious tag declaration: 
struct in
_addr
"/usr/include/arpa/inet.h", line 49: warning: dubious tag declaration: 
struct in
_addr
        cc -O   -c ftw.c
"./../src/config.h", line 41: warning: ANSI C predefined macro cannot 
be undefin
ed
        cc -O   -c sco.c
"./../src/config.h", line 41: warning: ANSI C predefined macro cannot 
be undefin
ed
"sco.c", line 143: error: Syntax error before or at: while
"sco.c", line 689: warning: type does not match prototype: uname
"sco.c", line 689: warning: type does not match prototype: agroup
*** Error code 1 (bu21)

At line number 141 the a call exists that reads like such:

va_end(ap)

It should read

va_end(ap);

That will let sco.c compile.


Making support library.
        cc -O   -c sco.c
"./../src/config.h", line 41: warning: ANSI C predefined macro cannot 
be undefin
ed
"sco.c", line 689: warning: type does not match prototype: uname
"sco.c", line 689: warning: type does not match prototype: agroup
        rm -f libsupport.a
        ar clq libsupport.a getusershell.o fnmatch.o strcasestr.o 
strsep.o  auth
user.o ftw.o sco.o
        /bin/true libsupport.a

Making ftpd.
        cc -O -I.. -I../support -L../support -c ftpd.c
"./config.h", line 41: warning: ANSI C predefined macro cannot be 
undefined
"ftpd.c", line 133: error: identifier redeclared: bigcrypt
"ftpd.c", line 143: error: identifier redeclared: realpath
*** Error code 1 (bu21)

At this point I did some stuff to comment out the realpath stuff and 
the bigcrypt stuff.  I would rather someone gave me some changes that 
could be integrated into the codebase so that everything would work 
properly.


--------------------------------------------------------------------------------
Independent UNIX support and service provider in the D.C. metro area.
SCO, UnixWare, NetWare, Voice Systems, Security, & Consulting.   
Paul A. Fischer           | Open Age Inc.  | paul@openage.com
Sr. UNIX Sys. Consultant  | (301) 948-6422 | (301) 948-9644 Fax

From owner-wu-ftpd@wugate.wustl.edu Tue May 23 07:48:02 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDvFV-0003WjC; Tue, 23 May 95 07:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA29749; Tue, 23 May 1995 09:44:27 -0500
Received: from christine.SE.RL.AF.MIL (CHRISTINE.SE.RL.AF.MIL [128.132.44.4]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA28437 for <wu-ftpd@wugate.wustl.edu>; Tue, 23 May 1995 09:26:03 -0500
Received: (from killian@localhost) by christine.SE.RL.AF.MIL (8.6.10/8.6.6) id KAA15924; Tue, 23 May 1995 10:23:00 -0400
Message-Id: <199505231423.KAA15924@christine.SE.RL.AF.MIL>
Date: Tue, 23 May 1995 10:23:00 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed Killian <killian@SE.RL.AF.MIL>
To: wu-ftpd@wugate.wustl.edu
Cc: killian@christine.SE.RL.AF.MIL
Subject: Sorry - test
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Sorry - this is only a test.

From owner-wu-ftpd@wugate.wustl.edu Tue May 23 08:01:07 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sDvS9-0003WOC; Tue, 23 May 95 08:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA00664; Tue, 23 May 1995 09:58:31 -0500
Received: from christine.SE.RL.AF.MIL (CHRISTINE.SE.RL.AF.MIL [128.132.44.4]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id JAA00360 for <wu-ftpd@wugate.wustl.edu>; Tue, 23 May 1995 09:53:19 -0500
Received: (from killian@localhost) by christine.SE.RL.AF.MIL (8.6.10/8.6.6) id KAA16111 for wu-ftpd@mail.wustl.edu; Tue, 23 May 1995 10:50:17 -0400
Message-Id: <199505231450.KAA16111@christine.SE.RL.AF.MIL>
Date: Tue, 23 May 1995 10:50:17 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed Killian <killian@SE.RL.AF.MIL>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd on Solaris 2.4
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm having a problem with wu-ftpd on a Solaris 2.4 Sun.  All seems to work
OK except setting up a group and a password for that group.  I give the
commands
	QUOTE SITE GROUP groupname
	QUOTE SITE GPASS password

but I keep getting
	530 Group access request incorrect.

I know the password because I just set it up, so that's not the problem.
Anybody have any ideas.  Sorry if this has been discussed already, but
I'm new to the list ( about 20 minutes ago ).

Thanks.

Ed Killian
killian@se.rl.af.mil

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 06:05:07 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEG7N-0002WGC; Wed, 24 May 95 06:04 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA13989; Wed, 24 May 1995 08:01:49 -0500
Received: from gdim.geod.emr.ca (gdim.geod.emr.ca [132.156.28.3]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id HAA13704 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 07:53:41 -0500
Received: by gdim.geod.emr.ca
	(1.37.109.8/16.2) id AA28738; Wed, 24 May 1995 08:53:39 -0400
Message-Id: <199505241253.HAA13704@wugate.wustl.edu>
Date: Wed, 24 May 1995 08:53:39 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pierre Mathieu <mathieu@geod.emr.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Restricting access to anonymous FTP directories. How is it done?
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL24alpha3]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is it possible to restrict the access of some directories in the anonymous
FTP account to certain sites only (or even better to certain users only)?

If so, how is it done?

-- 
Pierre Mathieu                   Internet: mathieu@geod.nrcan.gc.ca
Geodetic Survey Division         Phone: (613)947-0579
Geomatics Canada                 FAX:   (613)995-3215
615 Booth St - Room 437
Ottawa, Ontario, Canada
K1A-0E9

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 07:01:22 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEGzr-0003mGC; Wed, 24 May 95 07:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA16069; Wed, 24 May 1995 08:57:22 -0500
Received: from franklin.seas.gwu.edu (franklin.seas.gwu.edu [128.164.9.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA15869 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 08:52:59 -0500
Received: from felix.seas.gwu.edu (felix.seas.gwu.edu [128.164.9.3]) by franklin.seas.gwu.edu (v8) with ESMTP id JAA20895 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 09:26:12 -0400
Received: (from ryentis@localhost) by felix.seas.gwu.edu (8.6.9/8.6.6) id JAA12551; Wed, 24 May 1995 09:26:10 -0400
Message-Id: <199505241326.JAA12551@felix.seas.gwu.edu>
Date: Wed, 24 May 1995 09:26:10 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Richard D. Yentis" <ryentis@seas.gwu.edu>
To: wu-ftpd@wugate.wustl.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am setting up a wu-ftpd server (Version wu-2.4(5) under osf) that
allows anonymous access and "group controls".  I have run into three
problems that maybe someone could help me with:

	1) "bin" directory is ignored for "site exec"
	2) command log information is not complete for anonymous
	3) group and user info not shown during "dir"


I have included the relivant "ls -alR", ftpaccess, and log files at
the end of this email, but first let me give more info for each
problem.

1) When "ls" is in the "bin" directory the "dir" command works as
expected.  When "ls" is removed "dir" stops working, therefore wu-ftpd
is seeing the correct "bin" directory.  Nothing else in "bin" ever
seems to work or give output.  "sleep 100" gives no delay, and a.out
(a "hello world" program) gives no output:
	ftp> site exec a.out
	200-a.out
	200  (end of 'a.out')

2) The "log commands" works for real users, but not for annonymous
users.  I tried to change the order of the options in the "log
commands" line, but this had no effect.

3) The group and user info do not come through (only the numbers) for
anonymous users.  They work real users.  As far as I can tell the
permissions.


Thanks for your time,

Rich

---log file as user "ftp" logins, cd pub, dir, quit---
May 24 08:43:29 HOST ftpd[13299]: connection from HOST.DOMAIN.NAME [HOST.DOMAIN.NUMBER]
May 24 08:43:32 HOST ftpd[13299]: USER ftp
May 24 08:43:46 HOST ftpd[13299]: PASS yentir@

---log file as REAL user "yentir" logins, cd pub, dir, quit---
May 24 08:44:31 HOST ftpd[13302]: connection HOST.DOMAIN.NAME [HOST.DOMAIN.NUMBER]
May 24 08:44:33 HOST ftpd[13302]: USER yentir
May 24 08:44:37 HOST ftpd[13302]: PASS password
May 24 08:44:37 HOST ftpd[13302]: FTP LOGIN FROM HOST.DOMAIN.NAME [HOST.DOMAIN.NUMBER], yentir
May 24 08:44:37 HOST ftpd[13302]: SYST
May 24 08:44:44 HOST ftpd[13302]: CWD pub
May 24 08:44:48 HOST ftpd[13302]: PORT
May 24 08:44:48 HOST ftpd[13302]: LIST
May 24 08:44:55 HOST ftpd[13302]: QUIT
May 24 08:44:55 HOST ftpd[13302]: FTP session closed

------------------------------ftpaccess (altered for privacy)---
banner  /usr/spool/ftp/etc/msgs/BANNER

class   local   real,guest  *.DOMAIN.NAME DOMAIN.NUMBER.*
class   anonymouses anonymous *.DOMAIN.NAME DOMAIN.NUMBER.*

limit   local   10    Any              /usr/spool/ftp/etc/msgs/msg.dead
limit   anonymouses 10 Any             /usr/spool/ftp/etc/msgs/msg.dead

#block all uploads - extra protection beyond file attributes
upload /usr/spool/ftp * no

passwd-check rfc822 enforce

loginfails 2

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             local anonymouses
tar             yes             local anonymouses

log commands  real,guest,anonymous
#the transfer log shows up in the file /usr/adm/xferlog
log transfers real,guest,anonymous inbound,outbound

shutdown /etc/shutmsg

email yentir@DOMAIN.NAME


#guestgroup test area
guestgroup guests

#the rest of this file deals with the groups
#note that people in these groups are still anonymous not guest

#let groups upload to any group's area
#I tired to do "root system 0600" but it complains "fchown: Not owner"
#NOTE: anyone can upload to these directory, but the normal unix file
#attributes keep them out unless they are in that group.
upload /usr/spool/ftp /pub/GROUP1 yes 
upload /usr/spool/ftp /pub/GROUP2 yes
upload /usr/spool/ftp /pub/GROUP3 yes

private yes

-----------------------ls -laR (only relevant portion displayed)-----
total 7
dr-xr-xr-x   7 root     system       512 May 22 10:56 .
drwxr-xr-x  10 root     system       512 Dec 14 11:39 ..
d--x--x--x   2 root     system       512 May 22 14:45 bin
d--x--x--x   4 root     system       512 May 18 10:22 etc
d---rwx---   3 root     guests       512 May 17 16:50 guests
dr-xr-xr-x  11 root     system       512 May 22 12:09 pub
drwx------   2 3000     daemon       512 May 17 17:03 rdy

./bin:
total 580
d--x--x--x   2 root     system       512 May 22 14:45 .
dr-xr-xr-x   7 root     system       512 May 22 10:56 ..
---x--x--x   1 root     system    125264 May 22 14:45 a.out
---x--x--x   1 bin      bin       352256 Feb 21  1994 ls
-rw-r--r--   1 root     system        19 May 22 10:34 mytest
-rw-r--r--   1 root     system       111 Dec 14 13:03 noftp.txt
-rwxr-xr-x   1 root     system     90112 May 22 10:57 sleep

./etc:
total 7
d--x--x--x   4 root     system       512 May 18 10:22 .
dr-xr-xr-x   7 root     system       512 May 22 10:56 ..
-r--r--r--   1 root     system       260 May 17 16:02 group
d--x--x--x   2 root     system       512 May 18 14:37 msgs
-r--r--r--   1 root     system      1396 May 17 17:11 passwd

./etc/msgs:
total 4
d--x--x--x   2 root     system       512 May 18 14:37 .
d--x--x--x   4 root     system       512 May 18 10:22 ..
-rw-r--r--   1 root     system       224 May 18 14:40 BANNER
-rw-r--r--   1 root     system        28 May 18 10:23 msg.dead

----------

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 09:09:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEJ0K-0003rVC; Wed, 24 May 95 09:09 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA22440; Wed, 24 May 1995 11:07:46 -0500
Received: from leonardo.polito.it (leonardo.polito.it [130.192.3.21]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA22261 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 11:05:51 -0500
Received: from giove.polito.it by leonardo.polito.it with SMTP
	id AA16012; Wed, 24 May 1995 18:06:52 +0200
Received: by giove.polito.it (5.65/4.7) id AA21553; Wed, 24 May 1995 18:05:24 +0200
Message-Id: <9505241605.AA21553@giove.polito.it>
Date: Wed, 24 May 95 18:05:24 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Paolo Tealdi             System Administrator <tealdi@leonardo.polito.it>
To: wu-ftpd@wugate.wustl.edu
Cc: tealdi@leonardo.polito.it
Subject: strange behaviour with ls and dir
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm installing wu-ftpd on an OSF Alpha release 3.2 (the latest) .
The system answers correctly when i log in, but i can't see the name of owner
file and his group, instead I see his UID and GID.
Example :

    -rw-------   1 200   200      5553 May 23 10:24 DXterm

instead of

    -rw-------   1 ftp   ftp      5553 May 23 10:24 DXterm



I use standard "/sbin/ls" (the one static compiled) copied in ~ftp/bin
standard passwd in ~ftp/etc  and standard group file in ~ftp/etc  
(at least i hope)


Anybody can explain me why ?

Thank in advance 

Paolo Tealdi


Paolo Tealdi                   System Administrator
Politecnico Torino             Phone : +39-11-5647072
C.so D. degli Abruzzi 20       Home Phone : +39-11-7764956
0124 Torino - ITALY            Email : tealdi@athena.polito.it

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 09:37:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEJRH-0003sEC; Wed, 24 May 95 09:37 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA23918; Wed, 24 May 1995 11:34:08 -0500
Received: from diana.uthct.edu ([192.88.11.4]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA23827 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 11:32:50 -0500
Received: by diana.uthct.edu; id AA03834; Wed, 24 May 1995 11:34:27 -0500
Message-Id: <9505241634.AA03834@diana.uthct.edu>
Date: Wed, 24 May 1995 11:34:27 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Hsi-Lien Chen <chen@diana.uthct.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: tealdi@leonardo.polito.it
Subject: Re:  strange behaviour with ls and dir
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

My system is also running OSF Alpha release 3.2.  I have no problem running
wu-ftpd.  Regarding your problem, check the man page ftpd, you will see the
instruction of how to set up anonymous ftp.  Here is the extract:
 
  ~ftp/etc
      Make this directory owned by the superuser and unwritable by anyone.
      The passwd and group files (see passwd(4) and group(4) ) must be
      present for the ls command to be able to produce owner names rather
      than numbers.  The password field in the passwd file is not used, and
      should not contain real encrypted passwords.  These files should be
      mode 444.

      In this environment, the sia subdirectory (which you can copy from
      /etc/sia) must also be present for the ls command to be able to produce
      owner names rather than numbers.

Hope this will help you.

chen

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 11:24:08 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEL67-0003kzC; Wed, 24 May 95 11:23 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA29798; Wed, 24 May 1995 13:19:16 -0500
Received: from server.Berkeley.EDU (server.Berkeley.EDU [128.32.195.46]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA29163 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 13:11:54 -0500
Received: (from norby@localhost) by server.Berkeley.EDU (8.6.9/8.6.9) id LAA21553 for wu-ftpd@wugate.wustl.edu; Wed, 24 May 1995 11:12:54 -0700
Message-Id: <199505241812.LAA21553@server.Berkeley.EDU>
Date: Wed, 24 May 1995 11:12:54 -0700 (PDT)
Reply-To: norby@server.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Norby Anderson <norby@server.Berkeley.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Restricting access to anonymous FTP directories. How is it done?
In-Reply-To: <199505241253.HAA13704@wugate.wustl.edu> from "Pierre Mathieu" at May 24, 95 08:53:39 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

As Pierre Mathieu once said,
>
>Is it possible to restrict the access of some directories in the anonymous
>FTP account to certain sites only (or even better to certain users only)?
>
>If so, how is it done?

The easiest way is to use groups, and make certain directories only
accessible to certain groups.

--
(`|/`/\(`  |   Peter Norby - sicos@server.berkeley.edu   |  (`|/`/\(` 
_)|\,\/_)  |  Students Improving Campus Online Services  |  _)|\,\/_)
__________/           http://server.berkeley.edu/         \__________

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 12:03:59 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sELih-0003r4C; Wed, 24 May 95 12:03 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id NAA03029; Wed, 24 May 1995 13:59:05 -0500
Received: from server.Berkeley.EDU (server.Berkeley.EDU [128.32.195.46]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id NAA02867 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 13:57:04 -0500
Received: (from norby@localhost) by server.Berkeley.EDU (8.6.9/8.6.9) id LAA22069 for wu-ftpd@mail.wustl.edu; Wed, 24 May 1995 11:58:17 -0700
Message-Id: <199505241858.LAA22069@server.Berkeley.EDU>
Date: Wed, 24 May 1995 11:58:16 -0700 (PDT)
Reply-To: norby@server.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Norby Anderson <norby@server.Berkeley.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with ls/dir ...
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have a problem that recently seemed to crop up ... I don't know
the exact date, so I can't investigate what might have happened
to the system around that time ...

anyways, I have wuftpd-2.4 on a Dec Ultrix 4.4 machine and all of
a sudden, only "ls" works ... "dir" doesn't work, and neither does
"ls -l" ... this happens for real and anonymous users ... I know this
problem isn't based on the wuftpd, because I tried an earlier ftpd that
never showed these signs, and it too exhibits the same problems.

I haven't changed the ftpaccess file, and I haven't changed anything
in the ~ftp/etc or ~ftp/bin directories ...

Does anybody have a clue to what could be going wrong ???

-/\/orby


--
(`|/`/\(`  |   Peter Norby - sicos@server.berkeley.edu   |  (`|/`/\(` 
_)|\,\/_)  |  Students Improving Campus Online Services  |  _)|\,\/_)
__________/           http://server.berkeley.edu/         \__________

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 12:38:22 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEMFw-0003sBC; Wed, 24 May 95 12:38 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA05176; Wed, 24 May 1995 14:35:13 -0500
Received: from webcom.com (webcom.com [165.227.43.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id OAA05065 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 14:33:25 -0500
Received: by webcom.com
	(1.37.109.15/16.2) id AA111613802; Wed, 24 May 1995 12:30:02 -0700
Message-Id: <199505241933.OAA05065@wugate.wustl.edu>
Date: Wed, 24 May 1995 12:30:02 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Leavitt <leavitt@webcom.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Ownership of anon. uploads.
X-Mailer: Elm [revision: 109.14]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We are using the CTSNET patch, and notice that when the anonymous
user uploads to a publicly writeable directory created by a guestgrouped
user, the file ownership and group is converted to that of the user:
very convenient, as it allows users to create uploadable directories,
without the need to have access to chown, or to worry about people
being able to upload files for others to download (the automagic
perms are set to user only readable/writeable).

However, this convenient little trick doesn't translate to
creation of directories... directories are created as owned by
the anonymous user, with the anonymous user only having permission
to write to and read the directory and files.

This is obviously a problem for our users and us...

The best solution would be to make the directories change ownership
to the user owning the parent as well.

Alternatively, we would like to be able to remove "directory"
creation permission for the anonymous FTP user only.

Thomas
--
Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.
 
Web Communications Home Page <URL:http://www.webcom.com/>

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 12:50:32 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEMRj-0003xGC; Wed, 24 May 95 12:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA05833; Wed, 24 May 1995 14:45:00 -0500
Received: from tuna.wang.com (tuna.wang.com [150.124.136.4]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA05742 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 14:43:51 -0500
Received: from nefertiti.wang.com by tuna.wang.com with SMTP id AA22565
  (5.67b/IDA-1.5 for <wu-ftpd@wugate.wustl.edu>); Wed, 24 May 1995 15:43:44 -0400
Received: (from forrie@localhost) by nefertiti.wang.com (8.7.Alpha.9/8.7.Alpha.9) id PAA26819 for wu-ftpd@wugate.wustl.edu; Wed, 24 May 1995 15:47:53 -0400
Message-Id: <199505241947.PAA26819@nefertiti.wang.com>
Date: Wed, 24 May 1995 15:47:53 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Forrest Aldrich <forrie@wang.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Ownership of anon. uploads.
In-Reply-To: <199505241933.OAA05065@wugate.wustl.edu> from "Thomas Leavitt" at May 24, 95 12:30:02 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

| We are using the CTSNET patch, and notice that when the anonymous
[ ... ]

	CTSNET patch?  Where is this available?


From owner-wu-ftpd@wugate.wustl.edu Wed May 24 15:55:37 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEPKu-0003uBC; Wed, 24 May 95 15:55 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA14278; Wed, 24 May 1995 17:50:18 -0500
Received: from indigo.cs.bgu.ac.il (indigo.cs.bgu.ac.il [132.72.42.23]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA14153 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 17:48:09 -0500
Received: (from alx@localhost) by indigo.cs.bgu.ac.il (8.6.9/8.6.10) id BAA10161; Thu, 25 May 1995 01:46:31 +0200
Message-Id: <Pine.3.89.1.0.9505250137.H4904-0100000@indigo>
Date: Thu, 25 May 1995 01:46:30 +0200 (GMT+0200)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Alexander L. Haiut" <alx@CS.bgu.ac.il>
To: Norby Anderson <norby@server.Berkeley.EDU>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with ls/dir ...
In-Reply-To: <199505241858.LAA22069@server.Berkeley.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Wed, 24 May 1995, Norby Anderson wrote:

> anyways, I have wuftpd-2.4 on a Dec Ultrix 4.4 machine and all of
> a sudden, only "ls" works ... "dir" doesn't work, and neither does
> "ls -l" ... this happens for real and anonymous users ... I know this
> problem isn't based on the wuftpd, because I tried an earlier ftpd that
> never showed these signs, and it too exhibits the same problems.

	Ok, it's a known problem, although it is very simple: wu-ftpd v2.4
	has its own built-in "ls" command, so when you type "ls" the daemon 
	serves this request by itself. When you try a more complicated command 
	like "ls -l" or "dir" which is about the same, the daemon tries to
	run ~ftp/bin/ls . So, if "ls -l" or "dir" don't work, it means that 
	~ftp/bin/ls fails to run. Why ? Seems like you haven't properly 
	installed all the libraries/devices needed to run this program.

	To know which libraries you have to put (typically) in ~ftp/usr/lib
	directory you'd have to consult manual pages or just run "trace ls -l" 
	(in shell) to see which libraries are opened by this program.

	Another solution (it works for SunOS, hope will work for DEC too) is 
	to use statically linked binaries. They are a little bigger, but you 
	haven't to install the libraries. I use this approach and have no 
	problems with it. 

	To get statically linked binary of "ls" for your machine/OS try
	to download GNU binutils package and compile the "ls" program from
	there with -Bstatic compiler option.

	Well, hope it helps.. 	Thank you!
						--alex.

--

Alexander L. Haiut					       +971-7-461658
Math & CS System group		                            alx@cs.bgu.ac.il
Ben-Gurion University, Israel                  http://www.cs.bgu.ac.il/~alx/

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 15:59:55 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEPP2-0003fbC; Wed, 24 May 95 15:59 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id RAA14661; Wed, 24 May 1995 17:57:19 -0500
Received: from indigo.cs.bgu.ac.il (indigo.cs.bgu.ac.il [132.72.42.23]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id RAA14584 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 17:55:22 -0500
Received: (from alx@localhost) by indigo.cs.bgu.ac.il (8.6.9/8.6.10) id BAA10185; Thu, 25 May 1995 01:55:15 +0200
Message-Id: <Pine.3.89.1.0.9505250137.I4904-0100000@indigo>
Date: Thu, 25 May 1995 01:55:15 +0200 (GMT+0200)
Reply-To: "Alexander L. Haiut" <alx@CS.bgu.ac.il>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Alexander L. Haiut" <alx@CS.bgu.ac.il>
To: WU-FTPD mailing list <wu-ftpd@wugate.wustl.edu>
Subject: some general info
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Sender: "Alexander L. Haiut" <alx@CS.bgu.ac.il>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	Hi all,

	well, I see here lots of new people and tons of old questions,
	(I have nothing wrong with it, just want to save your time, guyz)
	and I thought that pointers to some documents/archives will be
	useful here.

	If you have question and were unable to find the answer in the
	manual pages (yes, the old RTFM method still works :-) I'd suggest
	you to take a look to searchable archive of this mailing list 
	which is available at URL:

                http://freeway.oact.hq.nasa.gov/wuarchive.html.

        The page at URL http://freeway.oact.hq.nasa.gov/wuftp.html     
        contains basic questions and answers about wu-ftpd.
        
        For those who looks for a FAQ for this list, once upon a time
        I tried to compile one and it is available at URL

                ftp://ftp.cs.bgu.ac.il/pub/wu-ftpd/wu-ftpd.FAQ   

        Only one comment here -- the machine (ftp.cs.bgu.ac.il) could be
        down for a while due to recovery works after disk crash, so if   
        anybody knows about another location of this FAQ I will greatly
        appreciate this info.

		Hope it helps.		Thanks!
							--alex.

--

Alexander L. Haiut					       +971-7-461658
Math & CS System group		                            alx@cs.bgu.ac.il
Ben-Gurion University, Israel                  http://www.cs.bgu.ac.il/~alx/


From owner-wu-ftpd@wugate.wustl.edu Wed May 24 16:22:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEPkl-0003h3C; Wed, 24 May 95 16:22 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA15446; Wed, 24 May 1995 18:16:15 -0500
Received: from aaden.spry.com (aaden.spry.com [198.147.135.14]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA15335 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 18:14:16 -0500
Received: by aaden.spry.com (4.1/SMI-4.1)
	id AA04711; Wed, 24 May 95 16:14:10 PDT
Message-Id: <Pine.3.89.9505241523.A4401-0100000@aaden.spry.com>
Date: Wed, 24 May 1995 16:14:08 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kenneth M. Sternberg" <elf@aaden.spry.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <Pine.BSI.3.91.950515055538.11986D@pluto.njcc.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 15 May 1995, Brian Kramer wrote:

> On Mon, 15 May 1995, D.Ashton-Reader wrote:
 
> Right, I know how to setup the multiple IP addresses.  I don't know how
> to patch the ftp server to handle the two different ones though.

	Find the code in ftpd.c that reads in the contents of ftpaccess.
Modify it to recognize a new keyword: VRoot.  The two arguments will be the
IP ADDRESS and the FTP ROOT for that particular name.  Add these to a list. 

	Now, finds the section in ftpd that does CHROOT for anonymous FTP. 
It's around line 1129.  Using getsockname on file descriptor zero (since
that's what wu-ftpd uses), find the IP associated with this process from
sockaddr_in, look it up in your list to find the FTP ROOT associated with
that IP, and then set variable dir to point to that root name.  Allow program
to proceed as normal.  It's that easy-- when running from inetd.  It works
under Solaris, Linux, FreeBSD, and SunOS, so far. 

	Make sure you have a default root, in case the inbound packets don't
carry the right information-- you wouldn't want a spoofer to be driving your
wuftpd crazy. 

		Elf

-- 
Kenneth M. Sternberg, Systems Engineer                  elf@spry.com
CompuServe Consulting Group                      VOICE: 206.447.0800
316 Occidental Ave South                           FAX: 206.442.9004
Seattle, WA 98104                               DIRECT: 206.442.0644	
Public Key Available                             http://www.spry.com

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 16:23:19 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEPli-0003h3C; Wed, 24 May 95 16:23 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA15634; Wed, 24 May 1995 18:19:27 -0500
Received: from server.Berkeley.EDU (server.Berkeley.EDU [128.32.195.46]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id SAA15541 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 18:17:53 -0500
Received: (from norby@localhost) by server.Berkeley.EDU (8.6.9/8.6.9) id QAA26092; Wed, 24 May 1995 16:13:28 -0700
Message-Id: <199505242313.QAA26092@server.Berkeley.EDU>
Date: Wed, 24 May 1995 16:13:28 -0700 (PDT)
Reply-To: norby@server.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Norby Anderson <norby@server.Berkeley.EDU>
To: alx@CS.bgu.ac.il (Alexander L. Haiut)
Cc: norby@server.Berkeley.EDU, wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with ls/dir ...
In-Reply-To: <Pine.3.89.1.0.9505250137.H4904-0100000@indigo> from "Alexander L. Haiut" at May 25, 95 01:46:30 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

As Alexander L. Haiut once said,
>
>> anyways, I have wuftpd-2.4 on a Dec Ultrix 4.4 machine and all of
                                   ^^^^^^^^^^^^^^

>	Ok, it's a known problem, although it is very simple: wu-ftpd v2.4
>	has its own built-in "ls" command, so when you type "ls" the daemon 
>	serves this request by itself. When you try a more complicated command 
>	like "ls -l" or "dir" which is about the same, the daemon tries to
>	run ~ftp/bin/ls . So, if "ls -l" or "dir" don't work, it means that 
>	~ftp/bin/ls fails to run. Why ? Seems like you haven't properly 
>	installed all the libraries/devices needed to run this program.

Except this is only for machines with shared libraries ...
Ultrix doesn't have shared libraries at all ...

8.  Under DEC Ultrix, you need ~ftp/etc/svc.conf

(And I have this in there, if you were wondering ...)

Although it does appear to be a problem with running anything under
the ~ftp/bin tree, as I can't get the auto-ungzipping to happen either.

>Alexander L. Haiut					       +971-7-461658
>Math & CS System group		                            alx@cs.bgu.ac.il
>Ben-Gurion University, Israel                  http://www.cs.bgu.ac.il/~alx/

--
______. __
___/  |/ /orby Anderson, Peter - UC Berkeley student, really...
__/ | | /orby@server.berkeley.edu - Students Improving Campus Online Services
_/_/|__/ever!  We will win!  The goddess of victory does not smile on one
       such as you, who thinks only of winning.  That's because the goddess
      of victory smiles on those who already have burning hearts." -Belldandy

From owner-wu-ftpd@wugate.wustl.edu Wed May 24 19:29:03 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sESfO-0003c1C; Wed, 24 May 95 19:28 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA20703; Wed, 24 May 1995 21:24:08 -0500
Received: from webcom.com (webcom.com [165.227.43.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id VAA20650 for <wu-ftpd@wugate.wustl.edu>; Wed, 24 May 1995 21:22:57 -0500
Received: by webcom.com
	(1.37.109.15/16.2) id AA066928383; Wed, 24 May 1995 19:19:43 -0700
Message-Id: <199505250222.VAA20650@wugate.wustl.edu>
Date: Wed, 24 May 1995 19:19:42 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Leavitt <leavitt@webcom.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Servers
In-Reply-To: <Pine.3.89.9505241523.A4401-0100000@aaden.spry.com>; from "Kenneth M. Sternberg" at May 24, 95 4:14 pm
X-Mailer: Elm [revision: 109.14]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Anyone actually done this, and have a patch available (no need to
reinvent the wheel if it isn't necessary)?

> 
> On Mon, 15 May 1995, Brian Kramer wrote:
> 
> > On Mon, 15 May 1995, D.Ashton-Reader wrote:
>  
> > Right, I know how to setup the multiple IP addresses.  I don't know how
> > to patch the ftp server to handle the two different ones though.
> 
> 	Find the code in ftpd.c that reads in the contents of ftpaccess.
> Modify it to recognize a new keyword: VRoot.  The two arguments will be the
> IP ADDRESS and the FTP ROOT for that particular name.  Add these to a list. 

[... deleted for brevity's sake]

--
Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.
 
Web Communications Home Page <URL:http://www.webcom.com/>

From owner-wu-ftpd@wugate.wustl.edu Thu May 25 12:20:10 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEiRy-0003vtC; Thu, 25 May 95 12:20 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA23338; Thu, 25 May 1995 14:16:22 -0500
Received: from christine.SE.RL.AF.MIL (CHRISTINE.SE.RL.AF.MIL [128.132.44.4]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id OAA22829 for <wu-ftpd@wugate.wustl.edu>; Thu, 25 May 1995 14:08:32 -0500
Received: (from killian@localhost) by christine.SE.RL.AF.MIL (8.6.10/8.6.6) id PAA00986 for wu-ftpd@mail.wustl.edu; Thu, 25 May 1995 15:05:27 -0400
Message-Id: <199505251905.PAA00986@christine.SE.RL.AF.MIL>
Date: Thu, 25 May 1995 15:05:27 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed Killian <killian@SE.RL.AF.MIL>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd on Solaris 2.4 - fixed
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


My original posting:
> 
> I'm having a problem with wu-ftpd on a Solaris 2.4 Sun.  All seems to work
> OK except setting up a group and a password for that group.  I give the
> commands
> 	QUOTE SITE GROUP groupname
> 	QUOTE SITE GPASS password
> 
> but I keep getting
> 	530 Group access request incorrect.
> 
> I know the password because I just set it up, so that's not the problem.
> Anybody have any ideas.  Sorry if this has been discussed already, but
> I'm new to the list ( about 20 minutes ago ).
> 
> Thanks.
> 
> Ed Killian
> killian@se.rl.af.mil
> 

My fault.  It seems I did not understand the concept of chroot.  I was only
putting the groupname into the ~ftp/etc/group file.  It seems that when the
ftpd makes a call to getgrnam() it always looks in the /etc/group file
even after the chroot.  Once I put that group in the /etc/group file,
everything seems to work fine.

From owner-wu-ftpd@wugate.wustl.edu Thu May 25 13:13:48 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEj2B-00032JC; Thu, 25 May 95 12:57 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA25316; Thu, 25 May 1995 14:54:59 -0500
Received: from alsys1.aecom.yu.edu (alsys1.aecom.yu.edu [129.98.1.4]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id OAA25164 for <wu-ftpd@wugate.wustl.edu>; Thu, 25 May 1995 14:53:04 -0500
Received: by alsys1.aecom.yu.edu id AA20355
  (5.67b/IDA-1.5/AECOM-RIT for wu-ftpd@mail.wustl.edu); Thu, 25 May 1995 15:53:01 -0400
Message-Id: <199505251953.AA20355@alsys1.aecom.yu.edu>
Date: Thu, 25 May 1995 15:53:00 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rnb@aecom.yu.edu (Robert N. Berlinger)
To: wu-ftpd@wugate.wustl.edu
Subject: ftp-bugs@hostname?
X-Mailer: Mail User's Shell (7.2.4 2/2/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Shouldn't wuftpd use the ftpaccess "email" setting as the address
returned when you do a remotehelp?  The way it is now, ftp-bugs@hostname
is hard-wired in and hostname isn't even fully qualified unless your
hostname includes your domainname.


-- 
Robert N. Berlinger                     E-mail: rnb@aecom.yu.edu
Manager of Networking and Systems
Research Information Technology
Albert Einstein College of Medicine

From owner-wu-ftpd@wugate.wustl.edu Thu May 25 14:15:04 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEkF7-0002bzC; Thu, 25 May 95 14:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA29376; Thu, 25 May 1995 16:10:08 -0500
Received: from gatekeeper.ray.com (gatekeeper.ray.com [138.125.162.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id QAA29226 for <wu-ftpd@wugate.wustl.edu>; Thu, 25 May 1995 16:07:32 -0500
Received: from localhost (mailer@localhost) by gatekeeper.ray.com (8.6.4/8.6.5) id RAA10395 for <wu-ftpd@mail.wustl.edu>; Thu, 25 May 1995 17:05:59 -0400
Received: from swlgbb.msd.ray.com by gatekeeper.ray.com; Thu May 25 17:06:40 1995
Received: (from fct@localhost) by swlgbb.msd.ray.com (950215.SGI.8.6.10/8.6.12) id RAA12352 for wu-ftpd@mail.wustl.edu; Thu, 25 May 1995 17:06:40 -0400
Message-Id: <199505252106.RAA12352@swlgbb.msd.ray.com>
Date: Thu, 25 May 1995 17:06:40 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fred Thompson {73774} <fct@swl.msd.ray.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Questions on logs and extra disks
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24 PGP2]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have a couple of questions for the list:

1. Has anyone written a log report utility, something that would take
   the xferlog and produce some type of report (MB/day, file most requested,
   etc.)?

2. How do people handle adding extra disk space to the ftp area? Do you
   just mount it up, like /ftp/pub/disk1, /ftp/pub/disk2, etc and then set 
   up links, or as "hidden" directories (/ftp/pub/.1, /ftp/pub/.2) or
   some other method.

-- 
Fred Thompson,   fct@swl.msd.ray.com
Raytheon Co,     Raytheon Electronic Systems Division, Tewksbury, Mass. 01876

From owner-wu-ftpd@wugate.wustl.edu Thu May 25 14:29:35 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEkTC-0003uWC; Thu, 25 May 95 14:29 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id QAA00427; Thu, 25 May 1995 16:27:20 -0500
Received: from seagull.rtd.com (Seagull.rtd.com [198.102.68.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id QAA00284 for <wu-ftpd@wugate.wustl.edu>; Thu, 25 May 1995 16:25:36 -0500
Received: (from ric@localhost) by seagull.rtd.com (8.6.12/8.6.9.1) id OAA24847 for wu-ftpd@wugate.wustl.edu; Thu, 25 May 1995 14:25:35 -0700
Message-Id: <199505252125.OAA24847@seagull.rtd.com>
Date: Thu, 25 May 1995 14:25:35 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ric Anderson <ric@seagull.rtd.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Questions on logs and extra disks
In-Reply-To: <199505252106.RAA12352@swlgbb.msd.ray.com> from "Fred Thompson {73774}" at May 25, 95 05:06:40 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

The xferstats utility (a perl script) gives a lot of the information
you mentioned.  Its in util/xferstats in the wu-ftpd tree.

I fixed a couple of bugs in it regarding one counter not being
incremented and some things being incorrectly counted as undefined.

If you want my patches, let me know.
Ric (<ric@rtd.com> "Ric Anderson", using RTD's public internet access)

From owner-wu-ftpd@wugate.wustl.edu Thu May 25 20:56:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEqVj-0002cuC; Thu, 25 May 95 20:56 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id WAA11773; Thu, 25 May 1995 22:53:00 -0500
Received: from cps201.cps.cmich.edu (cps201.cps.cmich.edu [141.209.20.201]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id WAA11703 for <wu-ftpd@wugate.wustl.edu>; Thu, 25 May 1995 22:51:04 -0500
Received: (from mbailey@localhost) by cps201.cps.cmich.edu (8.6.9/8.6.9) id XAA29781; Thu, 25 May 1995 23:51:02 -0400
Message-Id: <Pine.SUN.3.91.950525234815.29751A-100000@cps201>
Date: Thu, 25 May 1995 23:51:00 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Matthew Bailey <mbailey@cps.cmich.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Download Dirs
In-Reply-To: <9505211814.AA05210@sparc1.castles.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mbailey@cps201
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Sun, 21 May 1995, Mark King wrote:

> This may be a simple one!
> 
> My FTP has been running great but I never set up any download areas, I have
> added the following to my FTPACCESS file and want to make sure I won't get
> in to trouble like this.  If someone could reply that is looks correct or
> what changes are recommended I would appriciate it.
> 
> 
>    download  /export/home/ftp  /pub/DOS    yes     root    other   0400 nodirs  
> 
> 
Is this supported? If so would someone point me to the docs on how to use 
this since it does not seem to show up in the ftpaccess manpage anyware.

I rally need this drive for all the files I have VIA nfs and Afs and I 
usually prefer not to hard mount my NFS drives on the system and rather 
use Automounters so that machines can go up and down.

Let me know more info on this please I beggeth someone to give me info :^)

Thanks Again.
Matthew S. Bailey

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 00:53:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEuDQ-0003DgC; Fri, 26 May 95 00:53 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA16577; Fri, 26 May 1995 02:50:57 -0500
Received: from spartacus.hula.net (spartacus.hula.net [204.188.73.5]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA16421 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 02:43:34 -0500
Received: by spartacus.hula.net; (5.65/1.1.8.2/09May95-0323PM)
	id AA00154; Thu, 25 May 1995 21:44:36 -1000
Message-Id: <Pine.3.89.9505252117.A22356-0100000@spartacus.hula.net>
Date: Thu, 25 May 1995 21:44:36 -1000 (HST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Elena O'Connell" <elena@spartacus.hula.net>
To: WU-FTPD list <wu-ftpd@wugate.wustl.edu>
Cc: hulagirl@hula.net
Subject: Help with DEC/OSF
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I've been running the Linux port of wu-ftpd on my computer at home, and I 
just love it!  I've installed it on a DEC Internet AlphaServer 1000 here 
at hulanet, and everything works except that anonymous users can't 
perform "ls" or "dir".  Everything works for other users, but when an 
anonymous user tries to list a directory, nothing happens... no errors, 
no complaints, no directory... nothing!

I read the installation file - several times - and tried the following 
fixes:  I tried to use ldd to track down any shared libraries, but 
apparently DEC doesn't include ldd.  I tried, just for luck, to set it up 
like a Sun, but there is no ld.so or libc.so.* on the Alpha.  I then 
obtained the GNU sources for fileutils-3.12 and attempted to recompile ls 
with the CFLAGS and LDFLAGS set to -static.  No errors, no warnings... 
and it still doesn't work!  I've checked all the permissions several 
times, and all the binaries and directories are owned by root/system.

So... does anyone have a fix for me?  I'd either like to know what shared 
libraries I need to copy to the ftp hierarchy, or some instructions as to 
exactly how to recompile the ls binary and make it work.

I hope I can find some help... I think that the stock ftp daemon is a 
dog, and I'd hate to have to reinstall it!

Thanks!  Elena (elena@hula.net)

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 03:30:17 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sEwei-00032EC; Fri, 26 May 95 03:30 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id FAA19636; Fri, 26 May 1995 05:29:09 -0500
Received: from indigo.cs.bgu.ac.il (indigo.cs.bgu.ac.il [132.72.42.23]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id FAA19568 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 05:26:40 -0500
Received: from black.cs.bgu.ac.il (alx@black [132.72.40.7]) by indigo.cs.bgu.ac.il (8.6.9/8.6.10) with ESMTP id NAA20005 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 13:26:44 +0200
Received: (alx@localhost) by black.cs.bgu.ac.il (8.6.9/8.6.9) id NAA06940; Fri, 26 May 1995 13:26:17 +0200
Message-Id: <Pine.3.89.1.0.9505261338.A6762-0100000@black>
Date: Fri, 26 May 1995 13:26:11 +0200 (GMT+0200)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Alexander L. Haiut" <alx@CS.bgu.ac.il>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Questions on logs and extra disks
In-Reply-To: <199505252106.RAA12352@swlgbb.msd.ray.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> 1. Has anyone written a log report utility, something that would take
>  the xferlog and produce some type of report (MB/day, file most requested,
>  etc.)?

	YES! There are two scripts (one of them is actually Perl script),
        written by Dave Williss <dwilliss@microimages.com> which do this
        job for you. Here's short descrpition:
 
        The following two scripts are useful for processing the xferlog
        produced by the wuftp FTP server.  
 
        dumpxfer -      processes the xferlog and gives more humanly readable
                        output
        processlog -    Script to run dumpxfer, email you the output and trun-
                        cate the log.
 
        To use these, you need Perl. If your Perl is not /usr/local/bin/perl,
        you'll have to change the first line of dumpxfer. processlog is an sh
        script.  There's some configuration to be done at the beginning of
        each script too.  Look at the scripts for details.
 
        These scripts are available via anonymous ftp at URL:
 
                ftp://tnt.microimages.com/tools/   or
		ftp://ftp.cs.bgu.ac.il/pub/wu-ftpd/
 
> 2. How do people handle adding extra disk space to the ftp area? Do you
>  just mount it up, like /ftp/pub/disk1, /ftp/pub/disk2, etc and then set 
>  up links, or as "hidden" directories (/ftp/pub/.1, /ftp/pub/.2) or
>  some other method.

	Dunno, never tried myself, but I don't think there should be a 
	problem with this, just	be careful with permissions and mount options.

	Hope it helps.			--alex.

--

Alexander L. Haiut					       +971-7-461658
Math & CS System group		                            alx@cs.bgu.ac.il
Ben-Gurion University, Israel                  http://www.cs.bgu.ac.il/~alx/

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 04:56:05 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sExzk-000347C; Fri, 26 May 95 04:56 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA21353; Fri, 26 May 1995 06:54:19 -0500
Received: from oes.nos.noaa.gov (oes.nos.noaa.gov [140.90.154.12]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id GAA21268 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 06:51:59 -0500
Received: by oes.nos.noaa.gov; Fri, 26 May 95 7:46:24 EDT
Message-Id: <SRI8+EyPljA@oes.nos.noaa.gov>
Date: Fri, 26 May 95 7:45:19 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: smoussa@NOAA.GOV
To: wu-ftpd@wugate.wustl.edu
Subject: New
X-Incognito-SN: 211
X-Incognito-Format: VERSION=1.75 ENCRYPTED=NO
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


HELP,


Can Someone please give me some help in how to setup the we-ftp in SCO-UNIX 
3.0.  Tnaks



Telecommunication Engineering Specialist
CBS
NOAA/Department of Commerce
1305 East-West HWY
N/OS42, SSMC4, Room 6308
Silver spring, MD 20910-3281
Phone(301) 713-2790
Fax  (301) 713-4499

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 08:42:30 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sF1Ws-0003KmC; Fri, 26 May 95 08:42 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA01021; Fri, 26 May 1995 10:41:03 -0500
Received: from blinky.ccmail.com (blinky.ccmail.COM [192.216.79.99]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA00821 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 10:38:09 -0500
Received: from smtpgate.ccmail.com by blinky.ccmail.com (4.1/SMI-4.1)
	id AA21981; Fri, 26 May 95 08:39:56 PDT
Received: from ccMail by smtpgate.ccmail.com (SMTPLINK V2.10.04r)
	id AA801502657; Fri, 26 May 95 08:35:57 pst
Message-Id: <9504268015.AA801502657@smtpgate.ccmail.com>
Date: Fri, 26 May 95 08:35:57 pst
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: snemetz@ccmail.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Questions on logs and extra disks
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I wrote a Perl script that should do everything you are looking for. It 
does everything that xferstat ( which ships with WU-FTP ) does and also a 
number of other reports and options.
     
You can download it from:
ftp://ftp.support.lotus.com/pub/utils/InternetServices/iisstat/iisstat.tar.gz

Or get information about it at:
ftp://ftp.support.lotus.com/pub/utils/InternetServices/iisstat/iisstat.html

     Steven Nemetz                       snemetz@ccmail.com
     Lotus Development Corporation       http://www.lotus.com


______________________________ Reply Separator _________________________________
Subject: Questions on logs and extra disks
Author:  wu-ftpd@wugate.wustl.edu at internet-mail
Date:    5/25/95 2:15 PM
     
1. Has anyone written a log report utility, something that would take
   the xferlog and produce some type of report (MB/day, file most requested, 
   etc.)?
     
-- 
Fred Thompson,   fct@swl.msd.ray.com
Raytheon Co,     Raytheon Electronic Systems Division, Tewksbury, Mass. 01876

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 18:14:01 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sFARx-0003LpC; Fri, 26 May 95 18:13 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA23238; Fri, 26 May 1995 20:09:32 -0500
Received: from garam.kreonet.re.kr (garam.kreonet.re.kr [134.75.30.11]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA23175 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 20:07:35 -0500
Received: from heis1.hsr.re.kr (heis1.hsr.re.kr [134.75.214.2]) by garam.kreonet.re.kr (8.6.9H1/8.6.9) with ESMTP id KAA28210 for <wu-ftpd@wugate.wustl.edu>; Sat, 27 May 1995 10:09:53 +0900
Received: from shiva.hsr.re.kr (shiva.hsr.re.kr [134.75.214.124]) by heis1.hsr.re.kr (8.6.11/8.6.9) with ESMTP id KAA00951 for <wu-ftpd@wugate.wustl.edu>; Sat, 27 May 1995 10:07:06 +1000
Received: (from summary@localhost) by shiva.hsr.re.kr (8.6.10H1/8.6.9) id KAA09612 for wu-ftpd@wugate.wustl.edu; Sat, 27 May 1995 10:05:50 +0900
Message-Id: <199505270105.KAA09612@shiva.hsr.re.kr>
Date: Sat, 27 May 1995 10:05:49 +0900 (KST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lee Sang Hwan <summary@shiva.hsr.re.kr>
To: wu-ftpd@wugate.wustl.edu
Subject: Get Archives
Content-Type: text
X-Mailer: ELM [version 2.4 PL21-h3]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have just set up my ftp archive host with wu-ftpd-2.4.
I want to fill my /pub directory with useful files.
Do I have to get files from other ftp host manually?

summary@shiva.hsr.re.kr

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 18:35:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sFAmv-0003YbC; Fri, 26 May 95 18:35 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA23808; Fri, 26 May 1995 20:32:26 -0500
Received: from ccvcom.auckland.ac.nz (ccvcom.auckland.ac.nz [130.216.1.2]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA23760 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 20:31:29 -0500
Received: from ccu1.auckland.ac.nz by ccvcom.auckland.ac.nz (PMDF V4.3-7 #2864)
 id <01HQZZMR2WY88XG19N@ccvcom.auckland.ac.nz>; Sat,
 27 May 1995 13:31:20 GMT+1200
Received: by ccu1.auckland.ac.nz (931110.SGI/940509)
 for summary@shiva.hsr.re.kr id AA23386; Sat, 27 May 95 13:31:11 +1200
Message-Id: <9505270131.AA23386@ccu1.auckland.ac.nz>
Date: Sat, 27 May 1995 13:31:11 +1200 (NZT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: r.street@auckland.ac.nz (Russell Street)
To: wu-ftpd@wugate.wustl.edu
Cc: summary@shiva.hsr.re.kr
Subject: Re: Get Archives
In-Reply-To: <199505270105.KAA09612@shiva.hsr.re.kr> from "Lee Sang Hwan" at
 May 27, 95 10:05:49 am
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I have just set up my ftp archive host with wu-ftpd-2.4.
> I want to fill my /pub directory with useful files.
> Do I have to get files from other ftp host manually?

	ftp://src.doc.ic.ac.uk:/pub/packages/mirror

Works wonders... (requires Perl, but that is another wonder ;))

Russell

From owner-wu-ftpd@wugate.wustl.edu Fri May 26 18:38:47 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sFAps-0003GWC; Fri, 26 May 95 18:38 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA23992; Fri, 26 May 1995 20:35:40 -0500
Received: from pluto.njcc.com (pluto.njcc.com [165.254.117.52]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA23900 for <wu-ftpd@wugate.wustl.edu>; Fri, 26 May 1995 20:33:26 -0500
Received: (from bjkramer@localhost) by pluto.njcc.com (8.6.11/8.6.6) id VAA04191; Fri, 26 May 1995 21:33:24 -0400
Message-Id: <Pine.BSI.3.91.950526212626.4059A-100000@pluto.njcc.com>
Date: Fri, 26 May 1995 21:33:23 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Kramer <bjkramer@pluto.njcc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual FTP Servers
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm attaching a patch for wu-ftpd 2.4 to allow virtual ftp servers to be 
setup.  Basically so a user ftping to ftp1.domain.com gets one ftp banner 
and one ftp directory and a user ftping to ftp2.domain.com gets another 
banner and directory even though they are on the same machine and port.


I was the person who originally asked how to do it, and got 
enough answers to write a patch that would allow it.  You have to be able 
to setup alias IP addresses in order for this to work.  I know linux and 
bsdi support this.  (Linux with patches) and those are the only two 
systems this has been tested on.  I do not warrant this code at all.  Use 
it AT YOUR OWN RISK.  If it causes your computer to blow up, TOUGH!
If you have suggestions, improvements, bugs, etc...send me some mail.
If enough people are interested in it, I can put it up on our ftp server.

Please send me comments, I'm interested in improving it, and hearing
how it works for people.

Here's the steps.

Basically setup an alias ip address for the machine.
Apply the patch
Add lines similar to the following for each virtual server to ftpaccess:

# Virtual Servers
virtual 165.254.117.200 /home/home3/ftp2 /home/home3/ftp2/etc/banner.msg

where the 1st arg is the ip # of the virtual server, the second is the
new root, and the third is the banner to display upon login.

Note: all the other message files, etc, and permissions and other settings
in the ftpaccess file apply to all virtual servers.


Here's the patch
CUT HERE***************************************************************

--- extensions.c	
+++ extensions.c	Fri May 26 20:48:13 1995
@@ -278,7 +278,7 @@
 /*************************************************************************/
 
 void
-show_banner(int msgcode)
+show_banner(int msgcode, int virtual_mode, char *virtual_banner)
 {
     char *crptr,
       linebuf[1024],
@@ -286,22 +286,38 @@
     struct aclmember *entry = NULL;
     FILE *infile;
 
-    /* banner <path> */
-    while (getaclentry("banner", &entry)) {
+    if (virtual_mode) {
+        infile = fopen(virtual_banner, "r");
+	if (infile) {
+ 	    while (fgets(linebuf, 255, infile) != NULL) {
+	           if ((crptr = strchr(linebuf, '\n')) != NULL)
+		        *crptr = '\0';
+		   msg_massage(linebuf, outbuf);
+		   lreply(msgcode, "%s", outbuf);
+	    }
+	    fclose(infile);
+	    lreply(msgcode, "");
+	 }
+    }
+    else {
+      /* banner <path> */
+      while (getaclentry("banner", &entry)) {
         if (ARG0 && strlen(ARG0) > 0) {
-            infile = fopen(ARG0, "r");
-            if (infile) {
-                while (fgets(linebuf, 255, infile) != NULL) {
-                    if ((crptr = strchr(linebuf, '\n')) != NULL)
-                        *crptr = '\0';
-                    msg_massage(linebuf, outbuf);
-                    lreply(msgcode, "%s", outbuf);
-                }
-                fclose(infile);
-                lreply(msgcode, "");
-            }
-        }
+	    infile = fopen(ARG0, "r");
+	    if (infile) {
+	        while (fgets(linebuf, 255, infile) != NULL) {
+		  if ((crptr = strchr(linebuf, '\n')) != NULL)
+		    *crptr = '\0';
+		  msg_massage(linebuf, outbuf);
+		  lreply(msgcode, "%s", outbuf);
+		}
+		fclose(infile);
+		lreply(msgcode, "");
+	    }
+	 }
+      }
     }
+
 }
 
 /*************************************************************************/
--- ftpd.c
+++ ftpd.c	Fri May 26 20:53:57 1995
@@ -150,6 +150,14 @@
 struct sockaddr_in his_addr;
 struct sockaddr_in pasv_addr;
 
+int virtual_mode=0;
+#ifdef VIRTUAL
+struct sockaddr_in virtual_addr;
+struct sockaddr_in *virtual_ptr;
+char virtual_root[MAXPATHLEN];
+char virtual_banner[MAXPATHLEN];
+#endif
+
 int data;
 jmp_buf errcatch,
   urgcatch;
@@ -261,6 +269,11 @@
 #endif
     char *cp;
 
+#ifdef VIRTUAL
+      int virtual_len;
+      int set;
+#endif
+
 #ifdef SecureWare
     setluid(1);                         /* make sure there is a valid luid */
     set_auth_parameters(argc,argv);
@@ -499,6 +512,31 @@
     authenticate();
     conv_init();
 
+
+#ifdef VIRTUAL
+    virtual_len = sizeof(virtual_addr);
+    if (getsockname(0, (struct sockaddr *) &virtual_addr,
+		    &virtual_len) < 0) {
+      virtual_mode = 0;
+    }
+    else {
+      virtual_ptr = (struct sockaddr_in *) &virtual_addr;
+      set = 0;
+      entry = (struct aclmember *) NULL;
+      while (!set && getaclentry("virtual", &entry)) {
+	if (!strcmp(ARG0, inet_ntoa(virtual_ptr->sin_addr))) {
+	  if (ARG1 != NULL && ARG2 != NULL) {
+	    virtual_mode = 1;
+	    strncpy(virtual_root, ARG1, MAXPATHLEN);
+	    strncpy(virtual_banner, ARG2, MAXPATHLEN);
+	    syslog(LOG_ERR, "VirtualFTP Connect to: %s",
+		   inet_ntoa(virtual_ptr->sin_addr));
+	  }
+	}
+      }
+    }
+#endif
+
     if (is_shutdown(1) != 0) {
         syslog(LOG_INFO, "connection refused (server shut down) from %s [%s]",
                remotehost, remoteaddr);
@@ -506,7 +544,8 @@
               hostname);
         exit(0);
     }
-    show_banner(220);
+
+    show_banner(220, virtual_mode, virtual_banner);
 
     entry = (struct aclmember *) NULL;
     if (getaclentry("lslong", &entry) && ARG0 && strlen(ARG0) > 0) {
@@ -1108,6 +1147,13 @@
     if (anonymous || guest) {
         /* We MUST do a chdir() after the chroot. Otherwise the old current
          * directory will be accessible as "." outside the new root! */
+
+#ifdef VIRTUAL
+      if (virtual_mode) {
+        strcpy(pw->pw_dir, virtual_root);
+      }
+#endif 
+
         if (anonymous) {
             if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
                 reply(550, "Can't set guest privileges.");
--- makefiles/Makefile.aix
+++ makefiles/Makefile.aix	Fri May 26 20:57:36 1995
@@ -1,13 +1,14 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DDEBUG -DVIRTUAL ${IFLAGS} ${LFLAGS} 
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
 LINTFLAGS=
 LKERB    = -lauth -lckrb -lkrb -ldes
 MKDEP    = ../util/mkdep
 
+ 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
          realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
 OBJS   = ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o \
--- makefiles/Makefile.bsd	
+++ makefiles/Makefile.bsd	Fri May 26 20:57:56 1995
@@ -1,12 +1,13 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DDEBUG -DVIRTUAL ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /usr/lib/libc.a
 LINTFLAGS=	
 LKERB    = -lauth -lckrb -lkrb -ldes
 MKDEP    = ../util/mkdep
+ 
 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
 		 realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
--- makefiles/Makefile.dgx
+++ makefiles/Makefile.dgx	Fri May 26 20:58:05 1995
@@ -1,12 +1,13 @@
 CC       = gcc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -g -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -g -DDEBUG -DVIRTUAL ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = -lc
 LINTFLAGS=	
 LKERB    = -lauth -lckrb -lkrb -ldes
 MKDEP    = ../util/mkdep
+ 
 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
 		 realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
--- makefiles/Makefile.dyn	
+++ makefiles/Makefile.dyn	Fri May 26 20:58:15 1995
@@ -1,7 +1,7 @@
 CC       = gcc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DDEBUG -DVIRTUAL ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
 LINTFLAGS=	
--- makefiles/Makefile.gen
+++ makefiles/Makefile.gen	Fri May 26 20:58:25 1995
@@ -1,12 +1,14 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DDEBUG -DVIRTUAL ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
 LINTFLAGS=	
 LKERB    = -lauth -lckrb -lkrb -ldes
 MKDEP    = ../util/mkdep
+DEFINES  = -DVIRTUAL
+ 
 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
 		 realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
--- makefiles/Makefile.hpx
+++ makefiles/Makefile.hpx	Fri May 26 20:58:46 1995
@@ -1,12 +1,13 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -Aa -Dunix -D_HPUX_SOURCE -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -Aa -Dunix -DVIRTUAL -D_HPUX_SOURCE -O -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport -lc -lPW
 LIBC     = /lib/libc.a
 LINTFLAGS=	
 LKERB    = -lauth -lckrb -lkrb -ldes
 MKDEP    = ../util/mkdep.hpx
+ 
 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
 		 realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
--- makefiles/Makefile.isc
+++ makefiles/Makefile.isc	Fri May 26 20:58:57 1995
@@ -1,12 +1,13 @@
 CC       = gcc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DISC -DM_UNIX -DPOSIX_JC -DHAVE_VPRINTF -DHAVE_DIRENT -DNBBY=8 -DHAVE_GETDTABLESIZE -DHAVE_GETCWD -DREGEX -DSHADOW_PASSWORD ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DISC -DM_UNIX -DPOSIX_JC -DHAVE_VPRINTF -DHAVE_DIRENT -DNBBY=8 -DHAVE_GETDTABLESIZE -DHAVE_GETCWD -DREGEX -DSHADOW_PASSWORD ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport -linet -lnsl_s -lcposix -lPW -lsec
 LIBC     = /lib/libc.a
 LINTFLAGS=	
 #LKERB    =
 MKDEP    = ../util/mkdep
+ 
 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
 		 realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
--- makefiles/Makefile.lnx
+++ makefiles/Makefile.lnx	Fri May 26 20:59:22 1995
@@ -1,13 +1,13 @@
 CC       = gcc
 IFLAGS   = -I.. -I../support -I/usr/include/bsd
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport -lbsd
 LIBC     = /usr/lib/libc.a
 LINTFLAGS=	
 LKERB    = -lauth -lckrb -lkrb -ldes
 MKDEP    = ../util/mkdep
-
+ 
 SRCS   = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
 		 realpath.c acl.c private.c authenticate.c conversions.c hostacc.c
 OBJS   = ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o \
@@ -22,7 +22,7 @@
 	${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES}
 
 ftpd: ${OBJS} ${LIBC}
-	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES}
+	${CC} ${CFLAGS} ${DEFINES} -o $@ ${OBJS} ${LIBES}
 
 ckconfig:   ckconfig.c
 	${CC} ${CFLAGS} -o $@ ckconfig.c
--- makefiles/Makefile.nx2	
+++ makefiles/Makefile.nx2	Fri May 26 20:59:12 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /lib/libsys_s.a
 LINTFLAGS=	
--- makefiles/Makefile.nx3
+++ makefiles/Makefile.nx3	Fri May 26 20:59:31 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I..
 LFLAGS   = -L../support
-CFLAGS   = -O2 ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O2 -DVIRTUAL ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = 
 LINTFLAGS=	
--- makefiles/Makefile.osf	
+++ makefiles/Makefile.osf	Fri May 26 20:59:39 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support -s -x
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
 LINTFLAGS=	
--- makefiles/Makefile.ptx	
+++ makefiles/Makefile.ptx	Fri May 26 20:59:47 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport -lsec -lgen -lseq -lsocket -linet -lnsl -lmalloc
 LIBC     = /lib/libc.a
 LINTFLAGS=	
--- makefiles/Makefile.s41
+++ makefiles/Makefile.s41	Fri May 26 20:59:56 1995
@@ -2,7 +2,7 @@
 #CC       = acc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = $(OPT) -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = $(OPT) -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 OPT      = -g
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
--- makefiles/Makefile.sco
+++ makefiles/Makefile.sco	Fri May 26 21:00:09 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL ${IFLAGS} ${LFLAGS}
 # 1) If you do not have -lprot_s, use -lprot instead.
 # 2) -lcrypt can be used in place of -lcrypt_i. If you do not have any crypt
 #    library, get and install ftp.sco.com:/SLS/lng225* (International Crypt
--- makefiles/Makefile.sgi
+++ makefiles/Makefile.sgi	Fri May 26 21:00:18 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /usr/lib/libc.a
 LINTFLAGS=	
--- makefiles/Makefile.sny
+++ makefiles/Makefile.sny	Fri May 26 21:00:26 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -O -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -O -DVIRTUAL -DDEBUG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
 LINTFLAGS=	
--- makefiles/Makefile.sol	
+++ makefiles/Makefile.sol	Fri May 26 21:00:35 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -g -DDEBUG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -g -DDEBUG -DVIRTUAL ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport -lsocket -lnsl -lgen
 LIBC     = /lib/libc.a
 LINTFLAGS=	
--- makefiles/Makefile.ult	
+++ makefiles/Makefile.ult	Fri May 26 21:00:47 1995
@@ -1,7 +1,7 @@
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   = -L../support
-CFLAGS   = -Dconst="" -O -DDEBUG -DSYSSYSLOG ${IFLAGS} ${LFLAGS}
+CFLAGS   = -Dconst="" -O -DVIRTUAL -DDEBUG -DSYSSYSLOG ${IFLAGS} ${LFLAGS}
 LIBES    = -lsupport
 LIBC     = /lib/libc.a
 LINTFLAGS=	

Brian Kramer - Owner/Systems Administrator - bjkramer@pluto.njcc.com
New Jersey Computer Connection - Public Access Unix Site - pluto.njcc.com
Voice: 609-896-2799 - Fax: 609-896-2994 - Dialups: 609-896-3191 & 896-2722
Web: http://www.njcc.com/  Telnet/Dialup: pluto.njcc.com login as guest. 

From owner-wu-ftpd@wugate.wustl.edu Mon May 29 00:51:22 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sFzbV-0003R4C; Mon, 29 May 95 00:51 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id CAA25310; Mon, 29 May 1995 02:46:54 -0500
Received: from garam.kreonet.re.kr (garam.kreonet.re.kr [134.75.30.11]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id CAA25153 for <wu-ftpd@wugate.wustl.edu>; Mon, 29 May 1995 02:39:44 -0500
Received: from heis1.hsr.re.kr (heis1.hsr.re.kr [134.75.214.2]) by garam.kreonet.re.kr (8.6.9H1/8.6.9) with ESMTP id PAA12395 for <wu-ftpd@wugate.wustl.edu>; Mon, 29 May 1995 15:53:27 +0900
Received: from shiva.hsr.re.kr (shiva.hsr.re.kr [134.75.214.124]) by heis1.hsr.re.kr (8.6.11/8.6.9) with ESMTP id PAA01122 for <wu-ftpd@wugate.wustl.edu>; Mon, 29 May 1995 15:50:40 +1000
Received: (from summary@localhost) by shiva.hsr.re.kr (8.6.10H1/8.6.9) id PAA01721 for wu-ftpd@wugate.wustl.edu; Mon, 29 May 1995 15:49:22 +0900
Message-Id: <199505290649.PAA01721@shiva.hsr.re.kr>
Date: Mon, 29 May 1995 15:49:22 +0900 (KST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lee Sang Hwan <summary@shiva.hsr.re.kr>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compiling on a SunOS 4.1.3
In-Reply-To: <Pine.SUN.3.91.950529075310.5448B-100000@sokrates.mip.ki.se> from "Nabil Zary med" at May 29, 95 08:00:23 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL21-h3]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
>  Hello!
> 
>  I've been trying to compile vers. 2.4 unsuccessfully on a SUN SPARC,
>  SunOS 4.1.3. (gcc 2.3.X)
> 
>  I get fatal error msg " couldn't find authuser.o , ftpd.o and so on"
> 
>  The only prog that get compiled is "ckconfig".
> 
>  Does anyone have a compilation FAQ alt. the binairies for the "s41" option?
> 
>  Thanks!
> 
>  Nabil Zary
> 
>                                     (o o)
> +------------------------------oOO--(_)--OOo----------------------------+
> Nabil Zary                                  Tel   :(+46 8) 728 6513 office
> System manager & Medical Stud.                     (+46 8) 82 04 22 home
> 
> Email  : Nabil@Sokrates.mip.ki.se           Fax   :(+46 8) 33 68 26
> Mail to: DSG /MIP                 Visiting adress : Rum 18                    
>          Karolinska Institutet                      Hus 75, NB   
>          S-171 77 Stockholm                         KI-Campus
>          Sweden                                            
> WWW    :http://www.dsg.ki.se/nabil/         Pager : 0746-45 17 86
> +-----------------------------------------------------------------------+
> 
> 


    If cc complains about strunames, typenames, modenames, ... being undefined
    you need to install support/ftp.h as /usr/include/arpa/ftp.h (always make
    a backup of the old ftp.h just in case!) and do the build again.  The new
    ftp.h should be a compatible superset of your existing ftp.h, so you
    shouldn't have problems with this replacement.

From owner-wu-ftpd@wugate.wustl.edu Mon May 29 16:24:29 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGEAX-0003KvC; Mon, 29 May 95 16:24 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA12315; Mon, 29 May 1995 18:14:12 -0500
Received: from crash.cts.com (crash.cts.com [192.188.72.17]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id SAA12158 for <wu-ftpd@wugate.wustl.edu>; Mon, 29 May 1995 18:08:46 -0500
Received: by crash.cts.com (Smail3.1.28.1 #23)
	id m0sGDZD-0000BcC; Mon, 29 May 95 15:45 PDT
Message-Id: <m0sGDZD-0000BcC@crash.cts.com>
Date: Mon, 29 May 1995 15:45:47 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Morgan Davis" <mdavis@cts.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Ownership of anon. uploads.
In-Reply-To: <199505241933.OAA05065@wugate.wustl.edu> from "Thomas Leavitt" at May 24, 95 12:30:02 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thomas Leavitt writes:
> 
> We are using the CTSNET patch, and notice that when the anonymous
> user uploads to a publicly writeable directory created by a guestgrouped
> user, the file ownership and group is converted to that of the user:
> very convenient, as it allows users to create uploadable directories,
> without the need to have access to chown, or to worry about people
> being able to upload files for others to download (the automagic
> perms are set to user only readable/writeable).

Thomas,

Do you know if my patch ever made it into wu-ftpd as an official
feature?  I had designed the patch so that it could be made part of
the official stuff without changing the default behavior of wu-ftpd.

> However, this convenient little trick doesn't translate to
> creation of directories... directories are created as owned by
> the anonymous user, with the anonymous user only having permission
> to write to and read the directory and files.
> 
> This is obviously a problem for our users and us...
> 
> The best solution would be to make the directories change ownership
> to the user owning the parent as well.

If they've incorporated my patch into the current sources, I'd be
happy to work on updating it to include creating subdirectories with
the same permissions and ownerships as their parents.

> Alternatively, we would like to be able to remove "directory"
> creation permission for the anonymous FTP user only.

I'm pretty sure you can configure this into wu-ftpd already.

> Thomas
> --
> Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
> Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.


--Morgan Davis

P.S.  Be sure to Cc: replies to mdavis@cts.com as I do not participate
in this mailing list.

    ___ ____ ___ 
   /     /  /__   Network  |  Tel (619) 637-3637  |  Mail: support@cts.com
  /__   /  ___/  Services  |  Fax (619) 637-3630  |  WWW: http://www.cts.com

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 07:10:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGS07-0002LvC; Tue, 30 May 95 07:10 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA04805; Tue, 30 May 1995 09:01:56 -0500
Received: from pluto.njcc.com (pluto.njcc.com [165.254.117.52]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA04137 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 08:50:29 -0500
Received: (from bjkramer@localhost) by pluto.njcc.com (8.6.11/8.6.6) id JAA24699; Tue, 30 May 1995 09:41:29 -0400
Message-Id: <Pine.BSI.3.91.950530094048.24671A-100000@pluto.njcc.com>
Date: Tue, 30 May 1995 09:41:29 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Kramer <bjkramer@pluto.njcc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Statistic Generators
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Anyone have a better statistics program than xferstats?  Mabye something 
that says which site files were transfered to, and which files?

Brian Kramer - Owner/Systems Administrator - bjkramer@pluto.njcc.com
New Jersey Computer Connection - Public Access Unix Site - pluto.njcc.com
Voice: 609-896-2799 - Fax: 609-896-2994 - Dialups: 609-896-3191 & 896-2722
Web: http://www.njcc.com/  Telnet/Dialup: pluto.njcc.com login as guest. 

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 07:47:38 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGSZx-0003D8C; Tue, 30 May 95 07:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA07802; Tue, 30 May 1995 09:41:42 -0500
Received: from maverick.intecom.com (maverick.intecom.com [192.246.58.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA07536 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 09:38:23 -0500
Received: from mbrennen.intecom.com by maverick.intecom.com with SMTP
	(1.38.193.4/16.2) id AA00397; Tue, 30 May 1995 09:41:05 -0500
Message-Id: <Chameleon.950527094508.mbrennen@mbrennen.intecom.com>
Date: Sat, 27 May 95 09:34:07 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mbrennen@maverick.intecom.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help with DEC/OSF 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Sat, 27 May 95 10:45:05 EDT  Anthony D. Thomas wrote:
>Hi,
>
>
>I have not used the LINUX version fo wu-ftp.  But you are 
describing
>a problem that I have see on SGI platforms.  Check your "dev" 
directory
>in the anonymous home directory.  You should have a /dev/zero 
or /dev/null
>device.  I don't remember which just now.  If you do have them 


Linux doesn't need a /dev directory under the anonymous tree.


>At 09:44 PM 5/25/95 -1000, Elena O'Connell wrote:
>>
>>I've been running the Linux port of wu-ftpd on my computer at 
>>home, and I just love it!  I've installed it on a DEC 
>>Internet AlphaServer 1000 here at hulanet, and everything 
>>works except that anonymous users can't perform "ls" or 
>>"dir".  Everything works for other users, but when an 
>>anonymous user tries to list a directory, nothing happens... 
>>no errors, no complaints, no directory... nothing!


Make sure the 'ls' you are using is statically linked -- or 
make sure you have a /lib directory under the anonymous tree 
with the necessary dynamic libraries.  If ls is in the ~20k-30k 
size range, it is dynamically linked; it should be ~90-100k if 
it is statically linked.  If you don't have a statically linked 
ls, look at prep.ai.mit.edu, get the fileutils package and make 
ls static.

Alternative: if you can give me an ftp upload site, I will send 
you my operational static binary.  I suppose this is not the 
most secure for you, since I could have hacked the ls.  I 
haven't, but that is your call.

---------------
Michael Brennen                    Intecom, Inc.
mbrennen@intecom.com               5057 Keller Springs
(214) 447-8074                     Dallas,  TX  75248

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 07:58:17 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGSkH-0003DDC; Tue, 30 May 95 07:58 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA08776; Tue, 30 May 1995 09:54:25 -0500
Received: from achamp.gsfc.nasa.gov (achamp.gsfc.nasa.gov [128.183.57.208]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id JAA08636 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 09:52:36 -0500
Message-Id: <950530105234.4be00c26@hrs.gsfc.nasa.gov>
Date: Tue, 30 May 1995 10:52:34 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "The best things in life ... are fantasy." <HRSVENER@hrs.gsfc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: RE: Statistic Generators
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have one, but only if you use IDL. (It's an IDL routine that I wrote.)

PCVS

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 08:05:28 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGSrC-0003UCC; Tue, 30 May 95 08:05 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA09525; Tue, 30 May 1995 10:02:30 -0500
Received: from gergu3.tamu.edu (gergu3.tamu.edu [128.194.4.249]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA09393 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 10:00:09 -0500
Received: by gergu3.tamu.edu; id AA27656; Tue, 30 May 1995 10:00:08 -0500
Message-Id: <9505301500.AA27656@gergu3.tamu.edu>
Date: Tue, 30 May 1995 10:00:08 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Woody Lee <woody@gergu3.tamu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Statistic Generators
In-Reply-To: <950530105234.4be00c26@hrs.gsfc.nasa.gov> from "The best things in life ... are fantasy." at May 30, 95 10:52:34 am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

The best things in life ... are fantasy. writes:
> 
> I have one, but only if you use IDL. (It's an IDL routine that I wrote.)
> 
> PCVS
> 

Could you forward a copy of your routines to me?  We have pvwave, but it's
close enough.


-- 
-=-=-  woody@gergu3.tamu.edu  -=|=-   http://gergu3.tamu.edu/~woody  -=-=-
Woody Lee, Research Associate   | "That's the whole problem with science.
GERG - Texas A&M University     |  You've got a bunch of empiricists trying 
727 Graham Road  MS 3149        |  to describe things of unimaginable wonder."
College Station, TX 77845       |                 - Calvin (& Hobbes)
-=-=-  Phone: (409) 862-2321  -=|=-       FAX: (409) 862-1347        -=-=-

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 08:15:50 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGT1F-0002YQC; Tue, 30 May 95 08:15 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA10384; Tue, 30 May 1995 10:14:15 -0500
Received: from ftdetrck-doimsun4.army.mil (FTDETRCK-DOIMSUN4.ARMY.MIL [140.139.9.21]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA10243 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 10:12:05 -0500
Received: by ftdetrck-doimsun4.army.mil id AA25815
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Tue, 30 May 1995 11:16:38 -0400
Message-Id: <199505301516.AA25815@ftdetrck-doimsun4.army.mil>
Date: Tue, 30 May 1995 11:16:38 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rob Peters <rqp@ftdetrck-doimsun4.army.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Help on Sequent/PTX
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am having trouble setting up the ftp server on a Sequent running
dynix/ptx 4.0.2.  Specifically, everything works fine except that guest
accounts can not run "ls".  I have created a static ls binary and all that
jazz but I continue to get the following error:

ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,1099): Bad file number.

The "0.0.0.0" is throwing me, name resolution works fine when a "real" user
logs in but apparantly is fouled up when the user is "chrooted" somewhere.
Am I missing a file(s) in my pseudo root tree.  Guess I should also note
that I am running DNS.

Any help would be appreciated.

///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//              _       _          Computer Systems Manager                  //
//             |_)     |_)         Fort Detrick DOIM                         //
//             | \ ob  | eters     rqp@ftdetrck-doimsun4.army.mil            //
//                                 PHONE: 301-619-2935    FAX: 301-619-2962  //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 09:02:10 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGTk3-0002SmC; Tue, 30 May 95 09:02 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id KAA13435; Tue, 30 May 1995 10:59:51 -0500
Received: from netcomsv.netcom.com (uucp6.netcom.com [163.179.3.6]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id KAA13234 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 10:56:42 -0500
Received: from newgen.UUCP by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1)
	id IAA12848; Tue, 30 May 1995 08:40:59 -0700
Received: from station1.systems by newgen.nexgen.com (4.1/SMI-4.1)
	id AA12803; Tue, 30 May 95 08:27:49 PDT
Message-Id: <9505301527.AA12803@newgen.nexgen.com>
Date: Tue, 30 May 95 08:27:49 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: babar@nexgen.com (Syed Babar )
To: wu-ftpd@wugate.wustl.edu
Cc: babar@nexgen.com
Subject: Compiling on a SunOS 4.1.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



Hello:

	I am trying to compile WU ftp 4.2 on sun but I am getting the following
messages. I will appreciate If some one can help me poinging out why it is
not compiling right. I can be reach at 408-435-0202 x:265 or pager 408-233-5227.
or send me email.

Thanks

babar

MESSAGES
-----------------
netsrvr# build s41
make args are : 
make opts are : 

Linking Makefiles.
ln: Makefile: File exists
ln: config.h: File exists
ln: Makefile: File exists

Making support library.
gcc -g -DDEBUG   -c fnmatch.c
sh: gcc: not found
*** Error code 1
make: Fatal error: Command failed for target `fnmatch.o'

Making ftpd.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -L../support  -target sun4 -c  ftpd.c
gcc: Internal compiler error: program cc1 got fatal signal 10
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'

Making ftpcount.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o -lsupport
gcc: vers.o: No such file or directory
gcc: Internal compiler error: program cc1 got fatal signal 10
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'

Making ftpshut.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport
gcc: vers.o: No such file or directory
gcc: Internal compiler error: program cc1 got fatal signal 10
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
/usr/local/bin/gcc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
gcc: Internal compiler error: program cc1 got fatal signal 10
*** Error code 1
make: Fatal error: Command failed for target `ckconfig'

Links to executables are in bin directory:
size: bin/ftpd not found
size: bin/ftpcount not found
size: bin/ftpshut not found
size: bin/ftpwho not found
size: bin/ckconfig not found
Done
_______________________________
END OF MESSAGES

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 09:16:58 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGTyN-0002X3C; Tue, 30 May 95 09:16 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id LAA14449; Tue, 30 May 1995 11:14:46 -0500
Received: from locust.cic.net (locust.cic.net [192.131.22.8]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id LAA14359 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 11:13:26 -0500
Received: (from pauls@localhost) by locust.cic.net (8.7.Beta.1/8.7.Beta.1) id MAA07359; Tue, 30 May 1995 12:13:48 -0400
Message-Id: <Pine.SUN.3.91.950530121310.7197A-100000@locust.cic.net>
Date: Tue, 30 May 1995 12:13:47 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Paul Southworth <pauls@locust.cic.net>
To: wu-ftpd@wugate.wustl.edu
Cc: babar@nexgen.com
Subject: Re: Compiling on a SunOS 4.1.3
In-Reply-To: <9505301527.AA12803@newgen.nexgen.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 30 May 1995, Syed Babar wrote:

> 	I am trying to compile WU ftp 4.2 on sun but I am getting the following
> messages. I will appreciate If some one can help me poinging out why it is
> not compiling right. I can be reach at 408-435-0202 x:265 or pager 408-233-5227.
> or send me email.

You have to install gcc first (or use acc if you have it installed).

prep.ai.mit.edu:/pub/gnu/gcc-2.6.3.tar.gz

--Paul

From owner-wu-ftpd@wugate.wustl.edu Tue May 30 13:59:24 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGYNf-0003KoC; Tue, 30 May 95 13:59 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA28508; Tue, 30 May 1995 15:57:00 -0500
Received: from tiny.sprintlink.net (tiny.sprintlink.net [199.0.55.90]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA28377 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 15:55:46 -0500
Received: from ici.net (kirk.ici.net [204.97.252.10]) by tiny.sprintlink.net (8.6.9/8.6.9) with SMTP id QAA19258 for <wu-ftpd@wugate.wustl.edu>; Tue, 30 May 1995 16:54:02 -0400
Received: by ici.net (4.1/SMI-4.1)
	id AA05392; Tue, 30 May 95 16:57:13 EDT
Message-Id: <Pine.SUN.3.91.950530164723.5342A-100000@kirk>
Date: Tue, 30 May 1995 16:57:12 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Curtis Wilbar~ <curtis@kirk.ici.net>
To: wu-ftpd@wugate.wustl.edu
Subject: connect call returning EADDRINUSE
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	
I have recently compiled and installed wu-ftpd 2.4 using gcc 2.6.3.
If I ftp to the server and do a "dir" command, every other time
it takes up to a minute to copmlete for even a short directory.

I did a trace on the server and this is what I found (the connect
followed by the signal code would happen 4 times, the fifth time
the connect would succeed). 

connect (10, "".., 16) = -1 EADDRINUSE (Address already in use)
setitimer (0, 0xf7ffe820, 0xf7ffe810) = 0
sigblock (0x2000) = 0
sigvec (14, 0xf7ffe804, 0xf7ffe7f8) = 0
sigvec (14, 0xf7ffe78c, 0) = 0
sigsetmask (0) = 0x2000
sigblock (0x2000) = 0
setitimer (0, 0xf7ffe820, 0) = 0
sigpause (0) = -1 EINTR (Interrupted system call)
- SIGALRM (14)
sigcleanup () = 0
sigblock (0x2000) = 0x2000
sigvec (14, 0xf7ffe7f8, 0) = 0
sigvec (14, 0xf7ffe78c, 0) = 0
sigsetmask (0x2000) = 0x2000
sigsetmask (0) = 0x2000
setitimer (0, 0xf7ffe810, 0) = 0
connect (10, "".., 16) = 0
write (1, "150 Opening ASCII mode data conn".., 53) = 53

This seems worst when the connection speed between the client and
the server is at it's greatest (local ethernet lan).  When separated
by several long hops, the delay is actually less, but it still
delays.

Anyone have any ideas ?

The sun in.ftpd did not exhibit this behavior.

Thanks,

  -- Curt

Curtis H. Wilbar Jr.
Chief Technical Officer
The Internet Connection, Inc.
curtis@ici.net

From owner-wu-ftpd@wugate.wustl.edu Wed May 31 06:54:26 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGoE0-0003T3C; Wed, 31 May 95 06:54 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id IAA25082; Wed, 31 May 1995 08:50:23 -0500
Received: from marksys.misty.com (marksys.misty.com [198.69.186.10]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id IAA24757 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 08:43:38 -0500
Received: (from mark@localhost) by marksys.misty.com (8.6.12/8.6.9) id JAA28502 for wu-ftpd@wugate.wustl.edu; Wed, 31 May 1995 09:43:32 -0400
Message-Id: <199505311343.JAA28502@marksys.misty.com>
Date: Wed, 31 May 1995 09:43:31 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Thomas <Mark@Misty.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd hanging socket patch -- uh-oh
In-Reply-To: <9505171758.AA7680@worldcom-18.worldcom.com> from "Dan Thorson" at May 17, 95 10:52:38 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

> Serious eggage on my face.  The patch for hanging sockets seems to have 
> completely broken PASV connections, (but I thought I'd tested it :-().  Anyway, 
> caveat emptor on this patch.  Give me a day or two & I should have it corrected.
> 
> Sorry about the F___ U_.

What is a "PASV connection"?

Where can I find the patch?

-Mark


-- 
Mark G. Thomas (Mark@Misty.com)

From owner-wu-ftpd@wugate.wustl.edu Wed May 31 15:14:56 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGw1k-0002QhC; Wed, 31 May 95 15:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id PAA14395; Wed, 31 May 1995 15:23:09 -0500
Received: from exodus.net (saturn.exodus.net [199.172.177.10]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id PAA13987 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 15:13:12 -0500
Received: from vesa.org by exodus.net (8.6.11/exodus2)
	id NAA15467; Wed, 31 May 1995 13:13:21 -0700
Received: from VESAMAIL/MERCURY by vesa.org (Mercury 1.21);
    31 May 95 13:12:58 -0800
Received: from MERCURY by VESAMAIL (Mercury 1.21); 31 May 95 13:12:49 -0800
Received: from VESAMAIL by vesa.org (Mercury 1.21);
    31 May 95 13:12:48 -0800
Message-Id: <DAFC2861E2@vesa.org>
Date: Wed, 31 May 1995 13:13:21 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: gregm@vesa.org (Greg W. Moore)
To: wu-ftpd@wugate.wustl.edu
Subject: newbie question
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: gregm@vesa.org
X-Mailer: <PC Eudora Version 1.4>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We have recently installed the wu-ftpd 2.4 for our ftp server and have a 
problem which I hope the members of this list maybe able to help us with.

the software is installed and running fine, However since it is installed on 
system located at another site I'm doing some of the debug work remotely, 
and I'm not sure what info you need, sorry.

The problem is that some ftp clients don't see any files when connecting to 
the site. all they see is '..'. Files can be transfered to the site and you 
can change directories. using the Sun ftp, I can see everything but if I use 
NcFtp or Ws_ftp nothing shows. HELP !!

Thanks in advance,
Greg.

-------------------------------------------------------
Greg W. Moore           | The opinions and comments 
VESA Technologist       | expressed above may not reflect 
gregm@vesa.org          | those of my employer.

From owner-wu-ftpd@wugate.wustl.edu Wed May 31 18:07:04 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGyiz-0002cxC; Wed, 31 May 95 18:07 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id UAA25889; Wed, 31 May 1995 20:01:42 -0500
Received: from nicar.org ([128.206.183.119]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id TAA25649 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 19:52:24 -0500
Received: by nicar.org (950215.SGI.8.6.10/940406.SGI)
	 id TAA14361; Wed, 31 May 1995 19:52:18 -0500
Message-Id: <Pine.SGI.3.91.950531183013.14100A-100000@nicar.org>
Date: Wed, 31 May 1995 19:52:17 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wallace winfrey <wally@nicar.org>
To: wu-ftpd@wugate.wustl.edu
Subject: problem with ls under IRIX 5.3
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is this not *the* most-asked question on this list? However, I went
through the preliminary procedures before asking about this mystical
process (i.e., searched through the list archives, read the FAQ, asked
other sysadmins) but I have yet to get ls(dir) working properly. I set up
my archive by the book according to the 5.3 ftpd man page (and the wu-ftpd
man page), esp. with regard to the needed files in ~ftp/lib (namely rld
and libc.so.1)

Here's my problem:

Local logins (ftp 0) by regular users can't get a listing of files with
either ls or dir. If I ftp in remotely, regular users can get a listing 
with ls, but can't get a long listing with dir.

Anonymous logins are no problem though, the long listings appear fine.

Anyone know what I'm missing? Perhaps it has to do with the
~ftp/etc/passwd or group files? 

thanks in advance...

--
wallace winfrey			
wally@nicar.org

"space migration, intelligence increase and life extension"
					*tim leary*
					


From owner-wu-ftpd@wugate.wustl.edu Wed May 31 19:08:42 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sGzgd-0002QkC; Wed, 31 May 95 19:08 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA27670; Wed, 31 May 1995 21:01:45 -0500
Received: from philly.qualcomm.com (philly.qualcomm.com [129.46.50.13]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id UAA27474 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 20:54:42 -0500
Received: from localhost.qualcomm.com (localhost.qualcomm.com [127.0.0.1]) by philly.qualcomm.com (8.6.9/QC-BSD-2.5) with SMTP id SAA17285 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 18:54:19 -0700
Message-Id: <199506010154.SAA17285@philly.qualcomm.com>
Date: Wed, 31 May 1995 18:54:19 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Keith Pilotti <kfp@qualcomm.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with ls under IRIX 5.3 
In-Reply-To: Your message of Wed, 31 May 1995 19:52:17 -0500.	     <Pine.SGI.3.91.950531183013.14100A-100000@nicar.org> 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Double check your ftp environment -- I had a similar problem that was
due to mismatch of dynamic libraries.  On my SunOS4.1.3 system, my ftp
area has:

/bin/ls -l /pkg/wu-ftpd/ftppublic/usr/lib
total 1120
-r-xr-xr-x  1 root        40960 Jan 20  1994 ld.so
-rw-r--r--  1 root       532480 Feb  2  1994 libc.so.1.9.1
-rwxr-xr-x  1 root        24576 Jan 20  1994 libdl.so.1.0

At least with SunOS, there is a "chroot" command that you can use to
test your environment.

% chroot ~ftp

and then try to do an ls and see what happens.  It may reveal clues.

+Keith
--
Keith Pilotti                                           KFP@QUALCOMM.Com
QUALCOMM UNIX Computer Support Team                     +1 619 658 x4555

  > Is this not *the* most-asked question on this list? However, I went
  > through the preliminary procedures before asking about this mystical
  > process (i.e., searched through the list archives, read the FAQ, asked
  > other sysadmins) but I have yet to get ls(dir) working properly. I set up
  > my archive by the book according to the 5.3 ftpd man page (and the wu-ftpd
  > man page), esp. with regard to the needed files in ~ftp/lib (namely rld
  > and libc.so.1)
  > 
  > Here's my problem:
  > 
  > Local logins (ftp 0) by regular users can't get a listing of files with
  > either ls or dir. If I ftp in remotely, regular users can get a listing 
  > with ls, but can't get a long listing with dir.
  > 
  > Anonymous logins are no problem though, the long listings appear fine.
  > 
  > Anyone know what I'm missing? Perhaps it has to do with the
  > ~ftp/etc/passwd or group files? 
  > 
  > thanks in advance...
  > 
  > --
  > wallace winfrey			
  > wally@nicar.org
  > 
  > "space migration, intelligence increase and life extension"
  > 					*tim leary*
  > 					
  > 
  > 

From owner-wu-ftpd@wugate.wustl.edu Wed May 31 19:54:41 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sH0P8-0002YsC; Wed, 31 May 95 19:54 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id VAA29311; Wed, 31 May 1995 21:47:58 -0500
Received: from webcom.com (webcom.com [165.227.43.1]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id VAA29124 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 21:41:30 -0500
Received: by webcom.com
	(1.37.109.15/16.2) id AA024214282; Wed, 31 May 1995 19:38:02 -0700
Message-Id: <199506010241.VAA29124@wugate.wustl.edu>
Date: Wed, 31 May 1995 19:38:02 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Leavitt <leavitt@webcom.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Ownership of anon. uploads.
In-Reply-To: <m0sGDZD-0000BcC@crash.cts.com>; from "Morgan Davis" at May 29, 95 3:45 pm
X-Mailer: Elm [revision: 109.14]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Morgan,

 I am not sure whether or not your patch is official. (this message
 is being sent only to you, not to the list)

 I did try to disable the ability to create directories, and it did
 not seem to work. Have you actually been able to do this? If so,
 I would sincerely appreciate being sent the appropriate line from
 your "ftpaccess" file.

 I must saw, I was rather surprised when I noticed that the owner-
 ship of uploaded files had changed. That is very useful! If we could
 just disable the "ftp" user's ability to create directories, everything
 would be perfect. Users could make directories publicly writable,
 without any worry of abuse.

Sincerely,
Thomas Leavitt
> 
> Thomas Leavitt writes:
> > 
> > We are using the CTSNET patch, and notice that when the anonymous
> > user uploads to a publicly writeable directory created by a guestgrouped
> > user, the file ownership and group is converted to that of the user:
> > very convenient, as it allows users to create uploadable directories,
> > without the need to have access to chown, or to worry about people
> > being able to upload files for others to download (the automagic
> > perms are set to user only readable/writeable).
> 
> Thomas,
> 
> Do you know if my patch ever made it into wu-ftpd as an official
> feature?  I had designed the patch so that it could be made part of
> the official stuff without changing the default behavior of wu-ftpd.
> 
> > However, this convenient little trick doesn't translate to
> > creation of directories... directories are created as owned by
> > the anonymous user, with the anonymous user only having permission
> > to write to and read the directory and files.
> > 
> > This is obviously a problem for our users and us...
> > 
> > The best solution would be to make the directories change ownership
> > to the user owning the parent as well.
> 
> If they've incorporated my patch into the current sources, I'd be
> happy to work on updating it to include creating subdirectories with
> the same permissions and ownerships as their parents.
> 
> > Alternatively, we would like to be able to remove "directory"
> > creation permission for the anonymous FTP user only.
> 
> I'm pretty sure you can configure this into wu-ftpd already.
> 
> > Thomas
> > --
> > Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
> > Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.
> 
> 
> --Morgan Davis
> 
> P.S.  Be sure to Cc: replies to mdavis@cts.com as I do not participate
> in this mailing list.
> 
>     ___ ____ ___ 
>    /     /  /__   Network  |  Tel (619) 637-3637  |  Mail: support@cts.com
>   /__   /  ___/  Services  |  Fax (619) 637-3630  |  WWW: http://www.cts.com
> 


--
Web Communications (sm)            Thomas Leavitt--leavitt@webcom.com
Voice: (408) 457-9671 x101         Lead Systems & Network Admin./Tech Suppt.
 
Web Communications Home Page <URL:http://www.webcom.com/>

From owner-wu-ftpd@wugate.wustl.edu Wed May 31 21:35:44 1995
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0sH1yu-0002LvC; Wed, 31 May 95 21:35 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.6.11/8.6.11) with SMTP id XAA03084; Wed, 31 May 1995 23:33:09 -0500
Received: from server.Berkeley.EDU (server.Berkeley.EDU [128.32.195.46]) by wugate.wustl.edu (8.6.11/8.6.11) with ESMTP id XAA02951 for <wu-ftpd@wugate.wustl.edu>; Wed, 31 May 1995 23:27:41 -0500
Received: (from norby@localhost) by server.Berkeley.EDU (8.6.9/8.6.9) id VAA06805 for wu-ftpd@wugate.wustl.edu; Wed, 31 May 1995 21:28:45 -0700
Message-Id: <199506010428.VAA06805@server.Berkeley.EDU>
Date: Wed, 31 May 1995 21:28:45 -0700 (PDT)
Reply-To: norby@server.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Norby Anderson <norby@server.Berkeley.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: problem with ls under IRIX 5.3
In-Reply-To: <Pine.SGI.3.91.950531183013.14100A-100000@nicar.org> from "wallace winfrey" at May 31, 95 07:52:17 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

As wallace winfrey once said,
>
>Is this not *the* most-asked question on this list? However, I went

Probably ... I have a slightly different problem though ... neither real
or anonymous ftp users can get anything other than the 'built-in' ls
of wuftpd ... this problem has only surfaced recently, as the FTP server
used to work just fine, but now doesn't.  I tried a fresh compile, but
it has the same problem, so I think it's a system problem somehow.

(The system is Ultrix 4.4, so there is no dynamic anything, and I have
 the svc.conf in the etc directory ...)

I have yet to check the FAQ & archives ... maybe tomorrow.

-/\/orby

