From owner-wu-ftpd@wugate.wustl.edu Fri Mar  1 06:38:24 1996
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 m0tsVyP-0004HpC; Fri, 1 Mar 96 06:38 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA22111; Fri, 1 Mar 1996 08:30:06 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id IAA21457 for <wu-ftpd@wugate.wustl.edu>; Fri, 1 Mar 1996 08:21:52 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id PAA21885; Fri, 1 Mar 1996 15:22:54 +0100
Message-Id: <199603011422.PAA21885@pizza.hvu.nl>
Date: Fri, 1 Mar 1996 15:22:54 +0100
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: Contents of wu-ftpd FAQ
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

* Contents of the FAQ file for wu-ftpd. The complete file can be found at
http://www.hvu.nl/~koos/wu-ftpd-faq.html

    1. Contents of this FAQ
       
         1. Contents of this FAQ
         2. What is wu-ftpd itself and this mailing list in particular ?
              1. How do I subscribe/unsubscribe ?
              2. Is this list archived anywhere ?
              3. What are related documents ?
        
            
         3. Where do I get the wu-ftpd ?
              1. Where do I get the updated version ?
        
            
         4. Compiling the wu-ftpd
              1. cc complains about strunames, typenames, modenames, ..
                 being undeclared.
              2. wu-ftpd doesn't use the shadow passwords on my Linux
                 machine.
              3. I need to use S/KEY authorisation
              4. I need to authenticate real users via AFS
              5. The timezone in the xferlog is wrong
              6. Digital Unix doesn't log commands after an anonymous
                 user logs in
        
            
         5. Installing the wu-ftpd
              1. Command-line options for wu-ftpd
        
            
         6. The ftpaccess file
              1. Some files (banners, etc) don't get shown to anonymous
                 users.
        
            
         7. Programs (ls, gzip, tar) work for real users, not for
            anonymous users, giving errors like 425 Can't create data
            socket (0.0.0.0,20): Bad file number or simply no output.
              1. Solaris
              2. Linux
              3. Dec OSF
              4. SunOS4.1.x
              5. AIX 3.2.5
        
            
         8. Running wu-ftpd
              1. ftpd allways says "221 Server shutting down. Goodbye."
              2. Anonymous ftp works fine, but real users are denied
                 access
              3. I want a real user to be able to access the host only
                 via ftp, not via telnet
              4. Somebody uploaded a file with a weird name
              5. I want anonymous users to be able to upload files, but
                 in the most secure manner possible
              6. I heard something about 'SITE EXEC' having a security
                 hole
              7. How do I make reports more readable ?
              8. Incoming file transfers fail with SunOS and an NFS
                 mounted incoming
              9. Normal ftp clients work, Netscape ftp's fail. So,
                 passive mode doesn't work.
             10. How can I make my ftp-archive accessible by E-mail
                 (ftpmail) ?
        
            
         9. Credits

---------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  1 08:32:06 1996
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 m0tsXkQ-000F45C; Fri, 1 Mar 96 08:32 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA00766; Fri, 1 Mar 1996 10:22:46 -0600
Received: from mercury.ConnectI.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA00116 for <wu-ftpd@wugate.wustl.edu>; Fri, 1 Mar 1996 10:15:53 -0600
Received: (from vineet@localhost) by ConnectI.com (8.7.3/8.7.3) id KAA02567 for wu-ftpd@mail.wustl.edu; Fri, 1 Mar 1996 10:20:36 -0600 (CST)
Message-Id: <199603011620.KAA02567@ConnectI.com>
Date: Fri, 1 Mar 1996 10:20:36 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vineet Choudhary <vineet@mercury.ConnectI.com>
To: wu-ftpd@wugate.wustl.edu
Subject: FTPD File Permissions
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


We are using the wu-ftpd software and when we transfer a file
to our server the file permissions change.  

We are getting:
		-rw-rw-r--
What we want:
		-rw-r--r--

Has anyone else ran into this problem?  What can we do to configure
the program, where would we find the segment containing the file 
permissions?

Thank You,

Vineet Choudhary
Connect International, Inc.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  1 11:27:46 1996
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 m0tsaUQ-000D4MC; Fri, 1 Mar 96 11:27 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA14928; Fri, 1 Mar 1996 13:17:19 -0600
Received: from grand.water.ca.gov by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA14479 for <wu-ftpd@wugate.wustl.edu>; Fri, 1 Mar 1996 13:12:10 -0600
Received: (from karl@localhost) by grand.water.ca.gov (8.6.12/8.6.12) id LAA17465 for wu-ftpd@mail.wustl.edu; Fri, 1 Mar 1996 11:12:45 -0800
Message-Id: <199603011912.LAA17465@grand.water.ca.gov>
Date: Fri, 1 Mar 1996 11:12:45 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl Kopper <karl@dop.water.ca.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Help! Anonymous "dir" stopped working.
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


We've been making NIS server changes and the location
of the anonymous ftp home directory, and suddenly
anonymous ftp can no longer do the "dir" command,
but "ls" still works!? (Running a freshly re-installed
Version wu-2.4(1)) on Sun OS 4.1.3_U1).

Here's what it looks like:

---------
230 Guest login ok, access restrictions apply.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.                                    <<<<< NO OUTPUT
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
bin							  <<<<< WORKS!
etc
pub
usr
incoming
lib
welcome.msg
226 Transfer complete.
48 bytes received in 0.0013 seconds (36 Kbytes/s)
ftp> 
--------

It's driving me crazy.. What's the difference?? A trace of wu-ftpd shows:

write (1, "150 Opening ASCII mode data conn".., 53) = 53
sigblock (0) = 0
sigstack (0, 0xf7fff04c) = 0
ioctl (9, 0x40125401, 0xf7ffef44) = -1 EOPNOTSUPP (Operation not supported on socket)
- SIGCHLD (20)
fstat (9, 0xf7ffefb8) = 0
read (9, "", 4096) = 0
write (1, "226 Transfer complete.\r\n", 24) = 24


So why is it not supported? What did I break? This causes all of the
applications hard coded to retrieve file lists with dir to fail.

--Karl

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  1 19:20:08 1996
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 m0tshra-000D4tC; Fri, 1 Mar 96 19:20 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id VAA15657; Fri, 1 Mar 1996 21:08:49 -0600
Received: from novell.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA14965 for <wu-ftpd@wugate.wustl.edu>; Fri, 1 Mar 1996 20:57:55 -0600
Received: from INET-SJF-Message_Server by fromGW
	with Novell_GroupWise; Fri, 01 Mar 1996 18:56:06 -0800
Message-Id: <s1374846.003@fromGW>
Date: Fri, 01 Mar 1996 08:54:20 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: VARD_LOTT@novell.com (Vard Lott)
To: vineet@mercury.ConnectI.com, wu-ftpd@wugate.wustl.edu,
        wu-ftpd@wugate.wustl.edu
Subject: FTPD File Permissions -Reply
Content-Type: text/plain
X-Mailer: Novell GroupWise 4.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I get the same problem.  It appears the
upload line (in ftpaccess) works now (I'm
running Academ BETA 9) for all columns
except user, group, and permissions.  nodirs
works, as stated in the doc for BETA 9.  I
still get ftp.<autogroup>.664 - matter what
I put on the upload line.

Incidentally, in order for the upload line
to work at all, I needed to make sure that
the home directory in /etc/passwd *had* the
/./ at the end, but that in ~ftp/etc/passwd
it *did not*.

I'm running on Solaris/SPARC v2.4.

Regards,
VL

>>> Vineet Choudhary
<vineet@mercury.ConnectI.com> 03/01/96
09:20am >>>

We are using the wu-ftpd software and when
we transfer a file to our server the file
permissions change.  

We are getting:
		-rw-rw-r--
What we want:
		-rw-r--r--

Has anyone else ran into this problem?  What
can we do to configure the program, where
would we find the segment containing the
file  permissions?

Thank You,

Vineet Choudhary
Connect International, Inc.



From owner-wu-ftpd@wugate.wustl.edu Sat Mar  2 05:00:17 1996
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 m0tsqv0-0004GSC; Sat, 2 Mar 96 05:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA04402; Sat, 2 Mar 1996 06:51:08 -0600
Received: from poseidon.crosslink.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id GAA04158 for <wu-ftpd@wugate.wustl.edu>; Sat, 2 Mar 1996 06:42:02 -0600
Received: from juggernaut.crosslink.net (stmiller@stmiller.crosslink.net [205.198.175.3]) by poseidon.crosslink.net (8.6.12/8.6.12) with SMTP id HAA28479 for <wu-ftpd@wugate.wustl.edu>; Sat, 2 Mar 1996 07:42:30 -0500
Message-Id: <Pine.LNX.3.91.960302073633.96A-100000@juggernaut.crosslink.net>
Date: Sat, 2 Mar 1996 07:43:45 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Scott T. Miller" <stmiller@crosslink.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help! Anonymous "dir" stopped working.
In-Reply-To: <199603011912.LAA17465@grand.water.ca.gov>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



On Fri, 1 Mar 1996, Karl Kopper wrote:

> 
> We've been making NIS server changes and the location
> of the anonymous ftp home directory, and suddenly
> anonymous ftp can no longer do the "dir" command,
> but "ls" still works!? (Running a freshly re-installed
> Version wu-2.4(1)) on Sun OS 4.1.3_U1).
> 
> Here's what it looks like:
> 
> ---------
> 230 Guest login ok, access restrictions apply.
> ftp> dir
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> 226 Transfer complete.                                    <<<<< NO OUTPUT
> ftp> ls
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for file list.
> bin							  <<<<< WORKS!
> etc
> pub
> usr
> incoming
> lib
> welcome.msg
> 226 Transfer complete.
> 48 bytes received in 0.0013 seconds (36 Kbytes/s)
> ftp> 
> --------
> 
> It's driving me crazy.. What's the difference?? 

Karl,

I was also having a problem with the anonynmous ls command under wu-ftpd 
2.4 and Linux 1.3.67.  Then I rebuilt the ls command with the -static 
flag and it worked fine.  You have to specify -static in the CFLAGS and the 
LDFLAGS in the Makefile (why both I don't know).  You can get the source
from the fileutil's gz file, probably on the same ftp site from which you
downloaded wu-ftpd.  If you can't find it, send another msg. and I'll dig 
up the URL for you.

According to the deeply-buried documentation, the anonymous ftp user can't
execute a dynamically linked ls if it can't find all the proper .so files.
You could track down all the shared object libraries which ld uses, using 
the ldd and trace commands.  Then you can copy the correct libs into
~ftp/lib.  Or you can just rebuild ls statically.  Rebuilding was easier for
me.  I hacked around with the .so files for a while, then gave up and went
with the rebuild.

--Scott T. Miller
stmiller@crosslink.net

From owner-wu-ftpd@wugate.wustl.edu Mon Mar  4 07:30:31 1996
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 m0ttcDT-0006sTC; Mon, 4 Mar 96 07:30 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA21223; Mon, 4 Mar 1996 09:20:39 -0600
Received: from gsaix2.cc.GaSoU.EDU by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA20707 for <wu-ftpd@wugate.wustl.edu>; Mon, 4 Mar 1996 09:13:53 -0600
Received: from jeffwms.cc.GaSoU.edu by gsaix2.cc.GaSoU.EDU (AIX 3.2/UCB 5.64/4.03)
          id AA26377; Mon, 4 Mar 1996 10:17:20 -0500
Message-Id: <2.2.32.19960304151201.0073ebd8@gsaix2.cc.GaSoU.edu>
Date: Mon, 04 Mar 1996 10:12:01 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jeff Williams <jeffwms@GaSoU.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FTPD File Permissions
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jeffwms@gsaix2.cc.GaSoU.edu
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 10:20 AM 3/1/96 -0600, you wrote:
>
>We are using the wu-ftpd software and when we transfer a file
>to our server the file permissions change.  
>
>We are getting:
>		-rw-rw-r--
>What we want:
>		-rw-r--r--
>
>Has anyone else ran into this problem?  What can we do to configure
>the program, where would we find the segment containing the file 
>permissions?
>
>Thank You,
>
>Vineet Choudhary
>Connect International, Inc.
>
>

I had the same problem.  I found in the list archive that you are supposed
to be able to do a #define CMASK 022 in the config.h and solve the problem.
I am running on Solaris 2.4 and found that did not solve my problem.
sys/param.h is included in ftpd.c after config.h and if redefines CMASK to
0.  Because CMASK is 0 ftpd.c uses CMASK 002.  The only way I saw around it
was to change the default in ftpd.c to 022.

Jeff Williams
Georgia Southern University
jeffwms@GaSoU.edu
(912) 681-5365

From owner-wu-ftpd@wugate.wustl.edu Tue Mar  5 15:19:59 1996
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 m0tu61J-0009EMC; Tue, 5 Mar 96 15:19 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA12419; Tue, 5 Mar 1996 17:07:56 -0600
Received: from gater4.sematech.org by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id QAA11917 for <wu-ftpd@wugate.wustl.edu>; Tue, 5 Mar 1996 16:57:59 -0600
Received: from GATEV4.SEMATECH.ORG 
	by gater4.sematech.org (8.6.13/F-1.9) with ESMTP
	id QAA21740; Tue, 5 Mar 1996 16:58:28 -0600
Received: from thecount.eng.sematech.org (thecount.eng.sematech.org)
 by SEMATECH.Org (PMDF V5.0-5 #5463) id <01I1ZJC4CNG094EUX1@SEMATECH.Org> for
 wu-ftpd@wugate.wustl.edu; Tue, 05 Mar 1996 16:58:21 -0600 (CST)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.13/I-1.10) with SMTP id QAA11735; Tue, 05 Mar 1996 16:58:14 -0600
Message-Id: <199603052258.QAA11735@thecount.eng.sematech.org>
Date: Tue, 05 Mar 1996 16:58:11 -0600
Reply-To: Quentin.Fennessy@SEMATECH.Org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: Trouble installing a shell script as filter in ftpconversions
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 would like to wrap pgp with a shell script in ftpconversions,
to allow on-the-fly pkey encryption.  I have not been able to
make a shell script work there.

I am running wu-ftpd 2.4 on an AIX system (3.2.5), built with GCC.

Here is my ftpconversions line:

 :   : :.pke:/bin/pw festerb  %s:T_REG:O_DESED:DESED

Here is /bin/pw:

	#!/bin/sh
	/bin/pgp -fe $1 < $2

I have installed sh and libc.a (shlib) for aix so that an interactive
chroot works.

Has anyone else used shell scripts in ftpconversions?

Thanks,
	Quentin

From owner-wu-ftpd@wugate.wustl.edu Tue Mar  5 20:54:24 1996
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 m0tuBEz-0004IVC; Tue, 5 Mar 96 20:54 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id WAA27402; Tue, 5 Mar 1996 22:44:58 -0600
Received: from giant.mindlink.net by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id WAA27086 for <wu-ftpd@mail.wustl.edu>; Tue, 5 Mar 1996 22:39:10 -0600
Received: by giant.mindlink.net (Smail3.1.28.1 #5)
	id m0tuB0l-0003AbC; Tue, 5 Mar 96 20:39 PST
Message-Id: <m0tuB0l-0003AbC@giant.mindlink.net>
Date: Tue, 5 Mar 1996 20:39:39 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: a00776@giant.mindlink.net (Toomas Losin)
To: wu-ftpd@wugate.wustl.edu
Subject: Problems uploading to NFS mounted directories
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We're running wu-ftpd under SCO OpenServer 5 without any problems other
than one involving uploads to directories NFS mounted from a Sparc running
Solaris 2.4.  There are no problems downloading from such directories.

Once the client has cd'ed into the NFS mounted directory we're seeing a
failure of the getcwd() call in realpath.c.  The call returns NULL with
errno=2 (no such file or dir).  We're seeing the same failure when using
SCO's native realpath() call.

The really interesting part is that when the client has *not* cd'ed into
the directory but specifies that the upload is to go into that directory
it works great!

Has anyone heard of a fix for this particular problem?

--
Toomas Losin                                     MIND LINK! Web Admin
tlo@mindlink.net

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 04:37:38 1996
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 m0tuITG-0004JIC; Wed, 6 Mar 96 04:37 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA17239; Wed, 6 Mar 1996 06:28:26 -0600
Received: from msmail by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA16744 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 06:16:36 -0600
Received: from SmtpOut.em.cdc.gov by msmail (5.0/SMI-SVR4)
	id AA05836; Wed, 6 Mar 1996 07:21:03 -0500
Received: by SmtpOut.em.cdc.gov with Microsoft Mail
	id <313D0454@SmtpOut.em.cdc.gov>; Wed, 06 Mar 96 07:19:48 EST
Message-Id: <313D0454@SmtpOut.em.cdc.gov>
Date: Wed, 06 Mar 96 07:17:00 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kerr, James A." <jak7@OPSIRM1.EM.CDC.GOV>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: CHROOT
X-Mailer: Microsoft Mail V3.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN




I am running wu 2.4.1 When I add an FTP user that is not an anonymous   
user the CHROOT stops working.  I try the /./ convention in passwd but   
the user can still back up all the way to root!   IS there a fix for   
this?

Jim  

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 04:59:21 1996
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 m0tuIoI-0000DVC; Wed, 6 Mar 96 04:59 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA18313; Wed, 6 Mar 1996 06:50:36 -0600
Received: from munin.europeonline.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id GAA17559 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 06:39:23 -0600
Received: from odin (odin.eo.lu [194.177.57.20]) by munin.europeonline.com
          (post.office MTA v1.9.3 ID# 0-11709) with SMTP id AAA6139
          for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 13:41:14 +0200
Message-Id: <313D87DA.6F05@staff.europeonline.com>
Date: Wed, 06 Mar 1996 13:40:58 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Christophe Pierson <cpie@staff.europeonline.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: CHROOT
References: <313D0454@SmtpOut.em.cdc.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: cpie@europeonline.com (Christophe Pierson)
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I am running wu 2.4.1 When I add an FTP user that is not an anonymous
>user the CHROOT stops working.  I try the /./ convention in passwd but
>the user can still back up all the way to root!   IS there a fix for
>this?

>Jim


Check if you have define the user in a guest group:
guestgroup <groupofuser> 
-- 
                                                       vvv
                                                      (. .)   
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOo(_)oOo-=-=-=-=-=
- Pierson Christophe                   - Europe Online S.A.           -
= Email : cpie@staff.europeonline.com  - Rue des Scillas, 45          =
-                                      - L-2529 Howald                -
= Tel : 40101-6438                     - Luxembourg                   =
- Fax : 40101-6208                     - http://www.europeonline.com/ -
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 05:20:56 1996
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 m0tuJ9B-000CtXC; Wed, 6 Mar 96 05:20 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id HAA19417; Wed, 6 Mar 1996 07:07:22 -0600
Received: from ns.ge.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id HAA19346 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 07:06:10 -0600
Received: from bsuskind.is.ge.com ([3.19.7.222]) by ns.ge.com (8.7.4/8.7.3) with ESMTP id IAA17884 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 08:06:38 -0500
Received: from bsuskind (localhost) by bsuskind.is.ge.com with SMTP
	(1.37.109.16/16.2) id AA001707597; Wed, 6 Mar 1996 08:06:37 -0500
Message-Id: <313D8DDC.26A5@is.ge.com>
Date: Wed, 06 Mar 1996 08:06:36 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Barry Suskind <bsuskind@is.ge.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: CHROOT
References: <313D0454@SmtpOut.em.cdc.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bsuskind@is.ge.com
X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/715)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Kerr, James A. wrote:
> 
> I am running wu 2.4.1 When I add an FTP user that is not an anonymous
> user the CHROOT stops working.  I try the /./ convention in passwd but
> the user can still back up all the way to root!   IS there a fix for
> this?
> 
> Jim

Have you placed that user into the "guestgroup" as described
in the ftpaccess(5) man page?
-- 
barry

|======================================================================
|Barry A. Suskind          |"If it weren't for change, your job would 
|GE Information Services   |consist of making sure the corporate abacus
|Email: bsuskind@is.ge.com |rods were adequately greased" - John Cleese
|Phone: (301)-340-4667     |===========================================
|SnailMail: 401 N Washington St, Mail Stop: MC07D, Rockville MD, 20850

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 07:18:25 1996
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 m0tuKys-0004ISC; Wed, 6 Mar 96 07:18 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA26995; Wed, 6 Mar 1996 09:09:03 -0600
Received: from msmail by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA26793 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 09:05:51 -0600
Received: from SmtpOut.em.cdc.gov by msmail (5.0/SMI-SVR4)
	id AA15971; Wed, 6 Mar 1996 10:09:57 -0500
Received: by SmtpOut.em.cdc.gov with Microsoft Mail
	id <313D2BEB@SmtpOut.em.cdc.gov>; Wed, 06 Mar 96 10:08:43 EST
Message-Id: <313D2BEB@SmtpOut.em.cdc.gov>
Date: Wed, 06 Mar 96 10:07:00 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kerr, James A." <jak7@OPSIRM1.EM.CDC.GOV>
To: "'wu-ftp list'" <wu-ftpd@wugate.wustl.edu>
Cc: "'bsuskind@is.ge.com'" <bsuskind@is.ge.com>
Subject: RE: CHROOT
X-Mailer: Microsoft Mail V3.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


That fixed it!  Thanks.   The only other prob I have is that when a user   
uploads to a dir and has write permissions the file is being flagged as   
rw-rw-r--
How can I set it up to me rwxr-xr-x???

In my ftpaccess I added a line that says
upload /home/ftp /tspftp/pub  yes  tspftp tspcust 0755 dirs


Any ideas?
Jim

 ----------
From:  owner-wu-ftpd[SMTP:owner-wu-ftpd@wugate.wustl.edu]
Sent:  Wednesday, March 06, 1996 8:06 AM
To:  wu-ftpd
Subject:  Re: CHROOT

Kerr, James A. wrote:
>
> I am running wu 2.4.1 When I add an FTP user that is not an anonymous
> user the CHROOT stops working.  I try the /./ convention in passwd but
> the user can still back up all the way to root!   IS there a fix for
> this?
>
> Jim

Have you placed that user into the "guestgroup" as described
in the ftpaccess(5) man page?
 --
barry

|======================================================================
|Barry A. Suskind          |"If it weren't for change, your job would
|GE Information Services   |consist of making sure the corporate abacus
|Email: bsuskind@is.ge.com |rods were adequately greased" - John Cleese
|Phone: (301)-340-4667     |===========================================
|SnailMail: 401 N Washington St, Mail Stop: MC07D, Rockville MD, 20850

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 09:12:30 1996
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 m0tuMky-0002cKC; Wed, 6 Mar 96 09:12 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA04816; Wed, 6 Mar 1996 11:02:20 -0600
Received: from letterbox.rl.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA04571 for <wu-ftpd@mail.wustl.edu>; Wed, 6 Mar 1996 10:59:57 -0600
Received: from unixfe-e.rl.ac.uk by letterbox.rl.ac.uk with SMTP (PP) 
          id <g.28153-0@letterbox.rl.ac.uk>; Wed, 6 Mar 1996 16:58:28 +0000
Received: by unixfe.cc.rl.ac.uk (UK-Smail 3.1.28.1/2) 
          id <m0tuMXj-0000XYC@unixfe.cc.rl.ac.uk>; Wed, 6 Mar 96 16:58 GMT
Message-Id: <m0tuMXj-0000XYC@unixfe.cc.rl.ac.uk>
Date: Wed, 6 Mar 1996 16:58:27 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" <mwe@unixfe.rl.ac.uk>
To: wu-ftpd@wugate.wustl.edu (wuftpd list)
Subject: does command logging work?
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

Does command logging really work?


I have it switched on according to the ftpaccess file
but don't see any commands in the xferlog file.

Where else would they go by default?


Is there any other kind of logging I can turn on?
I'm trying to trace some failing transfers.

TIA

Mike.Ellwood@rl.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 14:07:40 1996
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 m0tuRMx-000F49C; Wed, 6 Mar 96 14:07 PST
Received: from wugate.wustl.edu by nwnexus.wa.com with SMTP id AA04134
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Wed, 6 Mar 1996 11:57:34 -0800
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA16359; Wed, 6 Mar 1996 13:48:30 -0600
Received: from scapa.cs.ualberta.ca by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA16219 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 13:46:52 -0600
Received: from st-michael.cs.ualberta.ca by scapa.cs.ualberta.ca id <13080-24593>; Wed, 6 Mar 1996 12:47:11 -0700
Message-Id: <96Mar6.124711mst.13080-24593+87@scapa.cs.ualberta.ca>
Date: Wed, 6 Mar 1996 12:47:10 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Easton <jim@cs.ualberta.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: jim@cs.ualberta.ca (Jim Easton)
Subject: Re: FTPD File Permissions
In-Reply-To: <2.2.32.19960304151201.0073ebd8@gsaix2.cc.GaSoU.edu> from "Jeff Williams" at Mar 4, 96 10:12:01 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

> At 10:20 AM 3/1/96 -0600, you wrote:
> >
> >We are using the wu-ftpd software and when we transfer a file
> >to our server the file permissions change.  
> >
> >We are getting:
> >		-rw-rw-r--
> >What we want:
> >		-rw-r--r--
> >
> >Has anyone else ran into this problem?  What can we do to configure
> >the program, where would we find the segment containing the file 
> >permissions?
> >
> >Thank You,
> >
> >Vineet Choudhary
> >Connect International, Inc.
> >
> >
> 
> I had the same problem.  I found in the list archive that you are supposed
> to be able to do a #define CMASK 022 in the config.h and solve the problem.
> I am running on Solaris 2.4 and found that did not solve my problem.
> sys/param.h is included in ftpd.c after config.h and if redefines CMASK to
> 0.  Because CMASK is 0 ftpd.c uses CMASK 002.  The only way I saw around it
> was to change the default in ftpd.c to 022.
> 
> Jeff Williams
> Georgia Southern University
> jeffwms@GaSoU.edu
> (912) 681-5365

I was having similar problems until I discovered the -u option
which sets the default umask at run time.

We are running wu-ftpd-2.4 on SunOS 4.1.4.

	Jim Easton

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 17:49:06 1996
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 m0tuUpC-000CqHC; Wed, 6 Mar 96 17:49 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA07860; Wed, 6 Mar 1996 19:38:53 -0600
Received: from speedy.grolier.fr by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id TAA07485 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 19:29:41 -0600
Received: (from mgc@localhost) by speedy.grolier.fr (8.7.4/MGC-960228) id CAA01607 for wu-ftpd@wugate.wustl.edu; Thu, 7 Mar 1996 02:30:26 GMT
Message-Id: <199603070230.CAA01607@speedy.grolier.fr>
Date: Thu, 7 Mar 1996 02:30:26 +0000 (WET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gael Martinez <mgc@speedy.grolier.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: FTP-server replies: Can't open passive connection
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi

actually, my ftp server is on a Sun Sparc 20 (solaris 2.5)
When people try to connect with netscape, they have this 
message


Fatal Error 500

Can't Access Document: ftp://ftp.club-internet.fr/. 

Reason: FTP-server replies: Can't open passive connection: Permission denied.. 

How to solve it ?? I use the 2.4 version of wuftpd.

Thanks for all help

Gael 

------------------------------------------------------------------
Gael Martinez, System Engineer         Grolier Interactive Europe.
E-Mail: mgc@grolier.fr                     131 Av C. de Gaulle,
Tel:+33 1 47459911  Fax: +33 1 47459930    92526 Neuilly,France                 
URL: http://www.grolier.fr/~mgc

From owner-wu-ftpd@wugate.wustl.edu Wed Mar  6 22:00:03 1996
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 m0tuYk2-000F5XC; Wed, 6 Mar 96 21:59 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id XAA18946; Wed, 6 Mar 1996 23:50:11 -0600
Received: from ftms.ftms.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id XAA18735 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 23:46:34 -0600
Received: (from brown@localhost) by ftms.ftms.com (8.6.9/8.6.9) id XAA09531 for wu-ftpd@wugate.wustl.edu; Wed, 6 Mar 1996 23:47:03 -0600
Message-Id: <199603070547.XAA09531@ftms.ftms.com>
Date: Wed, 6 Mar 1996 23:46:58 -0600 (CST)
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: FTP-server replies: Can't open passive connection
In-Reply-To: <199603070230.CAA01607@speedy.grolier.fr> from "Gael Martinez" at Mar 7, 96 02:30:26 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

<actually, my ftp server is on a Sun Sparc 20 (solaris 2.5)
<When people try to connect with netscape, they have this 
<message
<
<
<Fatal Error 500
<
<Can't Access Document: ftp://ftp.club-internet.fr/. 
<
<Reason: FTP-server replies: Can't open passive connection: Permission denied.. 
<
<How to solve it ?? I use the 2.4 version of wuftpd.
<
<Thanks for all help
<
<Gael 

The problem is the firewall.  I had the same problem.  I was only allowing
through src TCP connections above 1023 for ftp-data.  You also have to allow
dst UDP and TCP connections above 1023, otherwise the PASV mode cannot be
negotiated.

While Netscape is good for many things, it causes problem in many other
things.

MB
-- 
System Administrator - Finnigan FT/MS - Madison WI. <URL:http://www.ftms.com/>
e-mail: brown@ftms.com
phone: (608) 273-8262  fax: (608) 273-8719  voice-mail: (800) 538-7067 ext 8451
Visit - <URL:http://www.cdsnet.net/vidiot/>  (Your link to Star Trek and UPN)

From owner-wu-ftpd@wugate.wustl.edu Thu Mar  7 03:18:45 1996
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 m0tudiW-000FC6C; Thu, 7 Mar 96 03:18 PST
Received: from wugate.wustl.edu by nwnexus.wa.com with SMTP id AA11546
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Wed, 6 Mar 1996 12:35:15 -0800
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA18846; Wed, 6 Mar 1996 14:26:41 -0600
Received: from universal-woman.academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA18483 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 14:20:42 -0600
Received: (from news@localhost) by universal-woman.academ.com (8.7.1/8.7.1) id OAA12684; Wed, 6 Mar 1996 14:21:12 -0600 (CST)
Message-Id: <4hks3n$cca@universal-woman.academ.com>
Date: 6 Mar 1996 20:21:11 GMT
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: does command logging work?
References: <4hkh1o$svu@universal-woman.academ.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <4hkh1o$svu@universal-woman.academ.com> "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" <mwe@unixfe.rl.ac.uk> writes:
>Does command logging really work?
>
>
>I have it switched on according to the ftpaccess file
>but don't see any commands in the xferlog file.
>
>Where else would they go by default?

Command logging goes to syslog using the daemon or ftp facility.

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

From owner-wu-ftpd@wugate.wustl.edu Thu Mar  7 03:19:32 1996
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 m0tudjH-0004H0C; Thu, 7 Mar 96 03:19 PST
Received: from wugate.wustl.edu by nwnexus.wa.com with SMTP id AA12810
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Wed, 6 Mar 1996 12:43:34 -0800
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA19625; Wed, 6 Mar 1996 14:36:21 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA18947 for <wu-ftpd@wugate.wustl.edu>; Wed, 6 Mar 1996 14:28:07 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id VAA09034; Wed, 6 Mar 1996 21:29:08 +0100
Message-Id: <199603062029.VAA09034@pizza.hvu.nl>
Date: Wed, 6 Mar 1996 21:29:08 +0100 (MET)
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: does command logging work?
In-Reply-To: <m0tuMXj-0000XYC@unixfe.cc.rl.ac.uk> from "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" at Mar 6, 96 04:58:27 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB, who wrote :

> Does command logging really work?
> 
> 
> I have it switched on according to the ftpaccess file
> but don't see any commands in the xferlog file.
> 
> Where else would they go by default?

They are logged via the syslog facility. See syslog.conf to see where
that information ends up.

                                                    Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click

From owner-wu-ftpd@wugate.wustl.edu Thu Mar  7 10:21:37 1996
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 m0tukJe-000F40C; Thu, 7 Mar 96 10:21 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA21609; Thu, 7 Mar 1996 12:10:27 -0600
Received: from westie.gi.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA20819 for <wu-ftpd@wugate.wustl.edu>; Thu, 7 Mar 1996 12:00:24 -0600
Received: (from ryan@localhost) by westie.gi.net (8.7.1/8.7.1) id MAA09045 for wu-ftpd@wugate.wustl.edu; Thu, 7 Mar 1996 12:00:52 -0600 (CST)
Message-Id: <199603071800.MAA09045@westie.gi.net>
Date: Thu, 7 Mar 1996 12:00:52 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ryan Reynolds <ryan@gi.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Error: Can't create data socket (0.0.0.0,20): Bad file number.
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

Hello.  Can anybody there shed any light on the following error?

28 westie:~ > ftp shocker
Connected to shocker.gi.net.
220-Welcome to MIDnet's anonymous FTP server.
220-
220----
220-=======
220-
220 shocker FTP server (Version wu-2.4(2) Wed Aug 9 20:19:14 CDT 1995) ready.
Name (shocker:ryan): ryan
331 Password required for ryan.
Password:
230 User ryan logged in.  Access restrictions apply.
ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): Bad file number.

This is only happening on the accounts of 2 employees out of about 15.  Any 
help would be greatly appreciated.
-- 
Ryan Reynolds         http://www.gi.net/~ryan         ryan@gi.net
Network Technician                                 (402) 436-3061
Global Internet Network Services                http://www.gi.net
    Global Internet - Secure Internetworking Around the Globe

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  8 09:34:09 1996
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 m0tv63J-000FAvC; Fri, 8 Mar 96 09:34 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA04381; Fri, 8 Mar 1996 11:23:53 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA03275 for <wu-ftpd@mail.wustl.edu>; Fri, 8 Mar 1996 11:10:44 -0600
Received: from mhs.lgu.ac.uk by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I21MJ0GT34001QH5@wunet.wustl.edu>; Thu, 07 Mar 1996 04:51:33 -0500 (CDT)
Received: from pcthcs001.lgu.ac.uk by mhs.lgu.ac.uk () ID LAA01171; Thu,
 7 Mar 1996 11:11:02 GMT
Message-Id: <SIMEON.9603071148.C@pcthcs001.lgu.ac.uk>
Date: Thu, 07 Mar 1996 11:09:48 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stuart Burch <sburch@lgu.ac.uk>
To: wu-ftpd@wunet.wustl.edu
Subject: Guest accounts UPLOAD not working (Solaris.2.4)
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Sender: sburch@lgu.ac.uk
X-Mailer: Simeon for Windows Version 4 Beta 4.9
X-Authentication: IMSP
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



Stuart Burch
(Senior Systems Officer)

London Guildhall University
100 Minories
Tower Hill
London EC3N 1JY

Tel: 0171-320 1737
Email: sburch@lgu.ac.uk


From owner-wu-ftpd@wugate.wustl.edu Fri Mar  8 09:50:33 1996
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 m0tv6JA-000CweC; Fri, 8 Mar 96 09:50 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA05410; Fri, 8 Mar 1996 11:40:15 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA03358 for <wu-ftpd@mail.wustl.edu>; Fri, 8 Mar 1996 11:11:29 -0600
Received: from jpmorgan.jpmorgan.com by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I226Y7F8TS001LZI@wunet.wustl.edu>; Thu, 07 Mar 1996 14:35:54 -0500 (CDT)
Received: from mrzip.ny.jpmorgan.com (mrzip.ny.jpmorgan.com [146.149.1.2])
 by jpmgate1.jpmorgan.com (8.7.4/8.7.4) with ESMTP id PAA11056 for
 <wu-ftpd@wunet.wustl.edu>; Thu, 7 Mar 1996 15:55:45 -0500
Received: from sw-svr02.ny.jpmorgan.com
 (sw-svr02.ny.jpmorgan.com [169.124.18.103])
 by mrzip.ny.jpmorgan.com (8.6.12/8.6.12) with ESMTP id PAA00287 for
 <wu-ftpd@wunet.wustl.edu>; Thu, 7 Mar 1996 15:55:45 -0500
Received: from ptd06.ny.jpmorgan.com (ptd06 [169.124.18.28])
 by sw-svr02.ny.jpmorgan.com (8.6.12/8.6.9) with ESMTP id PAA01892 for
 <wu-ftpd@wunet.wustl.edu>; Thu, 7 Mar 1996 15:55:51 -0500
Received: (evan@localhost) by ptd06.ny.jpmorgan.com (8.6.9/8.6.9)
 id PAA03668 for wu-ftpd@wunet.wustl.edu; Thu, 7 Mar 1996 15:53:08 -0500
Message-Id: <199603072053.PAA03668@ptd06.ny.jpmorgan.com>
Date: Thu, 07 Mar 1996 15:53:08 -0500
Reply-To: e_marcus@jpmorgan.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: e_marcus@jpmorgan.com (Evan Marcus [JP Morgan Consultant])
To: wu-ftpd@wunet.wustl.edu
Subject: wuftpd under Solaris
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 been looking for docs that might explain differences/gotchas for
wuftpd under Solaris 2.4.  It seems to me that things must be different,
what with shadow passwd files, nsswitch, and the like.

My real problem is that with the same ftpaccess file and setup stuff that
worked on a SunOS machine, no user can get in at all onto my Solaris
machine.

Help...?  Please...?

Thank you,
E--

-- 
WHO: Evan L. Marcus      || 
marcus_evan@jpmorgan.com || Check out my totally self-indulgent web site
WHAT: JP Morgan          || 	 http://www.quuxuum.org/~evan
WHERE: New York, NY  USA || 

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  8 11:00:10 1996
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 m0tv7OY-0006j0C; Fri, 8 Mar 96 11:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA10272; Fri, 8 Mar 1996 12:50:48 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA09995 for <wu-ftpd@mail.wustl.edu>; Fri, 8 Mar 1996 12:45:43 -0600
Received: from ernie.mbs.net (ernie.mercury.net)
 by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I23ETXCOI8001WDO@wunet.wustl.edu>; Fri, 08 Mar 1996 11:32:18 -0500 (CDT)
Received: from fozzie.mercury.net (fozzie.mercury.net [205.160.231.5])
 by ernie.mbs.net (8.6.12/8.6.12) with ESMTP id MAA14206 for
 <wu-ftpd@wunet.wustl.edu>; Fri, 8 Mar 1996 12:52:17 -0500
Received: from fozzie.mercury.net by fozzie.mercury.net (SMI-8.6/SMI-SVR4)
 id MAA13130; Fri, 8 Mar 1996 12:50:11 -0500
Message-Id: <199603081750.MAA13130@fozzie.mercury.net>
Date: Fri, 08 Mar 1996 12:50:11 -0500
Reply-To: "Stephen L. Ulmer" <ulmer@mbs.net>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ulmer@mbs.net
To: wu-ftpd@wunet.wustl.edu
Subject: self contained virtual ftp servers?
Content-transfer-encoding: 7BIT
X-Sender: ulmer@fozzie.mercury.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



Greetings,
	I'm using wu-ftpd beta 9 to provide several virtual ftp
servers.  Each server has its own separate ~ftp, complete with
binaries.  Is it possible to keep the information that controls access
to each individual server in ~ftp, or is this a very bad idea?
Alternately, does a mechanism exist to separate the access control
information into separate files not in ~ftp?  I'm trying to allow teh
"owners" of each virtual server to do their own access control without
submitting requests to me.


Thanks,
Stephen

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  8 12:47:49 1996
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 m0tv94h-000D5XC; Fri, 8 Mar 96 12:47 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA17616; Fri, 8 Mar 1996 14:37:09 -0600
Received: from borden.doit.wisc.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA17305 for <wu-ftpd@mail.wustl.edu>; Fri, 8 Mar 1996 14:32:03 -0600
Received: from ccmail.adp.wisc.edu by borden.doit.wisc.edu;
          id UAA13240; 8.6.12/42; Fri, 8 Mar 1996 20:32:30 GMT
Received: from ccMail by ccmail.adp.wisc.edu (SMTPLINK V2.11)
	id AA826324120; Fri, 08 Mar 96 14:23:03 CST
Message-Id: <9602088263.AA826324120@ccmail.adp.wisc.edu>
Date: Fri, 08 Mar 96 14:23:03 CST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kevin HAMMOND" <Kevin.Hammond@ccmail.adp.wisc.edu>
To: wu-ftpd@wugate.wustl.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     I am trying to setup wu.ftpd to allow uploads to the incoming 
     directory, and downloads from the pub directory.  I have changed owner 
     of bin, etc to root, and incoming and pub to ftp.  I have given the 
     the incoming directory rights 722 and 766
        drwx-w--w-
        drwxrw-rw-
     I have given the pub rights 744
        drwxr--r--
     When an anonymous user makes a new directory, it gets the rigts 775
        drwxrwxr-x
     They can not upload files in their created directory.
     
     I am not to familiar with the ftpaccess file, but I followed the man 
     pages and attempted to make any changes needed.  The upload area looks 
     like this:
        /home/ftp               no      *
        /home/ftp/incoming      yes     ftp anonymous   0722
        /home/ftp/bin           no
        /home/ftp/etc           no
     
     Any help is appreciated.
     
     Kelly Bauman               kelly.bauman@ccmail.adp.wisc.edu
     Kevin Hammond              kevin.hammond@ccmail.adp.wisc.edu

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  8 14:07:59 1996
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 m0tvAK8-000DLbC; Fri, 8 Mar 96 14:07 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA23314; Fri, 8 Mar 1996 15:57:49 -0600
Received: from phibes.dartmouth.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA23171 for <wu-ftpd@wugate.wustl.edu>; Fri, 8 Mar 1996 15:56:25 -0600
Received: from phibes.dartmouth.edu (localhost [127.0.0.1]) by phibes.dartmouth.edu (8.7.4/8.7.3) with ESMTP id QAA14758 for <wu-ftpd@wugate.wustl.edu>; Fri, 8 Mar 1996 16:56:53 -0500
Message-Id: <199603082156.QAA14758@phibes.dartmouth.edu>
Date: Fri, 08 Mar 1996 16:56:53 +22306256
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pat Wilson <paw@phibes.dartmouth.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: SITE EXEC?
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm trying to work out a system whereby our non-anonymous users can find
out their disk quotas from within ftp (they don't have telnet access).
SITE EXEC seemed as though it would be a good way to do this, and I've
written a small C socket client that contacts a server daemon running on
the machine (in the "real" filesystem, not the chroot'd one) that grabs the
user's UID, runs the quota command, and passes back the result.

This client and server work fine if I'm not trying to SITE EXEC them from
within ftp, but I can't seem to get the SITE EXEC stuff to work:

	ftp> site exec quota
	200-quota
	200  (end of 'quota')

I've tried all manner of paths to get there...

Any ideas?  I've looked around for hints on SITE EXEC, but haven't found
any.

Many thanks.

Pat Wilson
paw@dartmouth.edu

PS Has anyone gotten around to restarting the mailing list archive?

From owner-wu-ftpd@wugate.wustl.edu Fri Mar  8 17:33:07 1996
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 m0tvDWn-000F4QC; Fri, 8 Mar 96 17:33 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA06051; Fri, 8 Mar 1996 19:24:07 -0600
Received: from speedy.grolier.fr by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA04411 for <wu-ftpd@wugate.wustl.edu>; Fri, 8 Mar 1996 18:58:29 -0600
Received: (from mgc@localhost) by speedy.grolier.fr (8.7.4/MGC-960228) id BAA13459 for wu-ftpd@wugate.wustl.edu; Sat, 9 Mar 1996 01:59:11 GMT
Message-Id: <199603090159.BAA13459@speedy.grolier.fr>
Date: Sat, 9 Mar 1996 01:59:10 +0000 (WET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gael Martinez <mgc@speedy.grolier.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual hosting under Solaris
In-Reply-To: <9602088263.AA826324120@ccmail.adp.wisc.edu> from "Kevin HAMMOND" at Mar 8, 96 02:23:03 pm
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 taked and compiled the v 9 of wuftpd.
I added a virtual address with the classical ifconfig le0:1
I did all the setup included in readme.... the result,
when i ftp on virtual host, i have the same ftp server ...

under solaris, something is different of readme file ?

Gael Martinez
---------------------------------------------------------------
Gael Martinez, Ingenieur Systeme a  Grolier Interactive Europe.
E-Mail: mgc@grolier.fr                     131 Av C. de Gaulle,
Tel:+33 1 47459911   Fax: +33 1 47459930   92526 Neuilly,France                 
URL: http://irc.grolier.fr/~mgc

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 12:27:00 1996
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 m0tvVE6-000CovC; Sat, 9 Mar 96 12:26 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA16694; Sat, 9 Mar 1996 14:17:07 -0600
Received: from jessica.Stanford.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA16428 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 14:10:02 -0600
Received: (from fangchin@localhost) by jessica.Stanford.EDU (8.7.5/8.6.11) id MAA25590; Sat, 9 Mar 1996 12:10:31 -0800
Message-Id: <199603092010.MAA25590@jessica.Stanford.EDU>
Date: Sat, 9 Mar 1996 12:10:31 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chin Fang <fangchin@jessica.Stanford.EDU>
To: wu-ftpd@wugate.wustl.edu
Cc: fangchin@jessica.Stanford.EDU (Chin Fang)
Subject: Accounting with the virtual ftp feature of 2.4.2
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

For accounting, I have been trying to implement a virtual server name
logging mechanism into the latest WU-FTPD 2.4.2 b9 without much
success.  I thought by keeping the virtual ftp server's hostname and
then write it out later this could be accomplished, but names don't 
show up somehow :(  

Right now, our machine has some virtual ftp servers running on it, but
since the log entries are written after the chroot(2), so anonymous
ftp entries all show up as rooted at /, pretty hard to tell which
virtual ftp server was used :(

Any suggestions?

Regards,

Chin Fang
fangchin@jessica.stanford.edu

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 13:11:29 1996
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 m0tvVvD-000CtgC; Sat, 9 Mar 96 13:11 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA18344; Sat, 9 Mar 1996 15:01:00 -0600
Received: from jessica.Stanford.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA18093 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 14:54:56 -0600
Received: (from fangchin@localhost) by jessica.Stanford.EDU (8.7.5/8.6.11) id MAA25734 for wu-ftpd@mail.wustl.edu; Sat, 9 Mar 1996 12:55:19 -0800
Message-Id: <199603092055.MAA25734@jessica.Stanford.EDU>
Date: Sat, 9 Mar 1996 12:55:19 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chin Fang <fangchin@jessica.Stanford.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: User home directory and the virtual ftp feature
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

To reduce system load and to keep system security level higher, our
web servers don't grant user shell level access.  This creates an
interesting problem.  The user home directories are their respective
document_root for the HTTPD; now, if each account's virtual ftp server
is rooted at the account's home directory, obviously even an anonymous
ftp user can look around in the entire directory tree rooted under
this user home directory. This defeats the purpose of placing password
access control files in such directories as even the web server will
prevent unauthorized accesses, the virtual ftp server mechanism, as
far as I can tell, doen't have such capability. This creates a sysadmin
problem as kludges have to be used to separate user's stuff for ftp 
and for web at different places.  It also complicates user file maintainence
too.

I don't have a clean solution yet and would like to invite some suggestions.

Thanks,

Chin Fang
fangchin@jessica.stanford.edu

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 13:42:04 1996
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 m0tvWOm-0006cvC; Sat, 9 Mar 96 13:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA19783; Sat, 9 Mar 1996 15:33:01 -0600
Received: from ki.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA19461 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 15:25:49 -0600
Received: (from scrappy@localhost) by ki.net (8.7.4/8.7.4) id QAA08645; Sat, 9 Mar 1996 16:26:09 -0500 (EST)
Message-Id: <Pine.BSF.3.91.960309162445.8033F-100000@ki.net>
Date: Sat, 9 Mar 1996 16:26:01 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marc G. Fournier" <scrappy@ki.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Accounting with the virtual ftp feature of 2.4.2
In-Reply-To: <199603092010.MAA25590@jessica.Stanford.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Sat, 9 Mar 1996, Chin Fang wrote:

> Right now, our machine has some virtual ftp servers running on it, but
> since the log entries are written after the chroot(2), so anonymous
> ftp entries all show up as rooted at /, pretty hard to tell which
> virtual ftp server was used :(
>
	I had submitted some patches, against beta9, that changed the
format of the virtual ftp config options, and allowed you to create a
seperate log file for each virtual domain.  I've been running it here
for several weeks now, without any problems.

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 14:52:10 1996
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 m0tvXUc-000D8yC; Sat, 9 Mar 96 14:52 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id QAA22765; Sat, 9 Mar 1996 16:43:27 -0600
Received: from jessica.Stanford.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id QAA22574 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 16:39:36 -0600
Received: (from fangchin@localhost) by jessica.Stanford.EDU (8.7.5/8.6.11) id OAA26026; Sat, 9 Mar 1996 14:40:05 -0800
Message-Id: <199603092240.OAA26026@jessica.Stanford.EDU>
Date: Sat, 9 Mar 1996 14:40:04 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chin Fang <fangchin@jessica.Stanford.EDU>
To: wu-ftpd@wugate.wustl.edu
Cc: fangchin@jessica.Stanford.EDU (Chin Fang)
Subject: Re: Accounting with the virtual ftp feature of 2.4.2
In-Reply-To: <Pine.BSF.3.91.960309162445.8033F-100000@ki.net> from "Marc G. Fournier" at Mar 9, 96 04:26:01 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear Marc,

Thanks for pointing this out to me.  I would love to see your patches.
I basically tried to kludge one more entry after the 

#ifdef STUPID_SPRINTF
/* Some sprintfs can't deal with a lot of arguments, so we split this */

in the ftpd, but somehow my own stuff doesn't work.


> 	I had submitted some patches, against beta9, that changed the
> format of the virtual ftp config options, and allowed you to create a
> seperate log file for each virtual domain.  I've been running it here
> for several weeks now, without any problems.

Could you point out to me where to get your patches?  I just checked 
ftp.academ.com's pub and pub/wu-ftpd/private, didn't see anything.

Would you please email me a copy?

I am particularly interested in knowing whether it's likely to run
into file descriptor problems with such an approach.  I believe
that some web servers also allow separate log files for virtual 
web servers, but that approach typically creates headaches after
some OS dependent number of virtual web servers are built.

Thanks and best,

Chin Fang
fangchin@jessica.stanford.edu

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 15:11:32 1996
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 m0tvXnN-0002MrC; Sat, 9 Mar 96 15:11 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA23631; Sat, 9 Mar 1996 17:02:47 -0600
Received: from ki.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id QAA23306 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 16:55:58 -0600
Received: (from scrappy@localhost) by ki.net (8.7.4/8.7.4) id RAA12066; Sat, 9 Mar 1996 17:56:26 -0500 (EST)
Message-Id: <Pine.BSF.3.91.960309175410.11472B-100000@ki.net>
Date: Sat, 9 Mar 1996 17:56:25 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marc G. Fournier" <scrappy@ki.net>
To: wu-ftpd@wugate.wustl.edu
Cc: Chin Fang <fangchin@jessica.Stanford.EDU>
Subject: Re: Accounting with the virtual ftp feature of 2.4.2
In-Reply-To: <199603092240.OAA26026@jessica.Stanford.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Sat, 9 Mar 1996, Chin Fang wrote:

> > 	I had submitted some patches, against beta9, that changed the
> > format of the virtual ftp config options, and allowed you to create a
> > seperate log file for each virtual domain.  I've been running it here
> > for several weeks now, without any problems.
> 
> Could you point out to me where to get your patches?  I just checked 
> ftp.academ.com's pub and pub/wu-ftpd/private, didn't see anything.
> 
> Would you please email me a copy?
>
	Depending on how quickly you need it, I just put a full .tar.gz file
of .beta9 with the patches in ftp://ftp.ki.net/pub/users/scrappy.  I'm
going to pull a fresh copy of beta9 and do a diff against it, but don't
seem to have one laying around the system right now :(

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 15:46:25 1996
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 m0tvYL8-000FACC; Sat, 9 Mar 96 15:46 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA25228; Sat, 9 Mar 1996 17:37:44 -0600
Received: from ki.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA24818 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 17:30:26 -0600
Received: (from scrappy@localhost) by ki.net (8.7.4/8.7.4) id SAA12566; Sat, 9 Mar 1996 18:30:50 -0500 (EST)
Message-Id: <Pine.BSF.3.91.960309182750.11472D-100000@ki.net>
Date: Sat, 9 Mar 1996 18:30:48 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marc G. Fournier" <scrappy@ki.net>
To: wu-ftpd@wugate.wustl.edu
Cc: Chin Fang <fangchin@jessica.Stanford.EDU>
Subject: Re: Accounting with the virtual ftp feature of 2.4.2
In-Reply-To: <199603092240.OAA26026@jessica.Stanford.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Sat, 9 Mar 1996, Chin Fang wrote:

> Dear Marc,
> 
> Would you please email me a copy?
>
	There is an 8k .gz file available at:

	ftp://ftp.ki.net/pub/users/scrappy/wu-ftpd.diffs.gz

	That will go against a "clean" beta9.  The patch includes
various stuff for FreeBSD, as well as modifications to the original
Makefile.fbs.

	The format for the config entries change to:

# Virtual Servers
virtual <ip> root <chroot directory>
virtual <ip> banner <banner msg - optional>
virtual <ip> logfile <logfile - optional, defaults to "system logfile">


Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

From owner-wu-ftpd@wugate.wustl.edu Sat Mar  9 15:50:33 1996
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 m0tvYP8-000D5QC; Sat, 9 Mar 96 15:50 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA25441; Sat, 9 Mar 1996 17:40:15 -0600
Received: from jessica.Stanford.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA24836 for <wu-ftpd@wugate.wustl.edu>; Sat, 9 Mar 1996 17:31:23 -0600
Received: (from fangchin@localhost) by jessica.Stanford.EDU (8.7.5/8.6.11) id PAA26235; Sat, 9 Mar 1996 15:31:45 -0800
Message-Id: <199603092331.PAA26235@jessica.Stanford.EDU>
Date: Sat, 9 Mar 1996 15:31:45 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chin Fang <fangchin@jessica.Stanford.EDU>
To: wu-ftpd@wugate.wustl.edu
Cc: fangchin@jessica.Stanford.EDU (Chin Fang), scrappy@ki.net
Subject: Re: Accounting with the virtual ftp feature of 2.4.2
In-Reply-To: <Pine.BSF.3.91.960309175410.11472B-100000@ki.net> from "Marc G. Fournier" at Mar 9, 96 05:56:25 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear Marc,

Many thanks for the pointer.  Will take a look of your patch and see
where I goofed up :(

> 	Depending on how quickly you need it, I just put a full .tar.gz file
> of .beta9 with the patches in ftp://ftp.ki.net/pub/users/scrappy.  I'm
> going to pull a fresh copy of beta9 and do a diff against it, but don't
> seem to have one laying around the system right now :(

I just tried ftp.academ.com pub/wu-ftpd/private:

ftp> get wu-ftpd-2.4.2-beta-9.tar.Z
200 PORT command successful.
150 Opening BINARY mode data connection...
...

So Stan has got his copy around.

Thanks again,

Chin Fang
fangchin@jessica.stanford.edu

From owner-wu-ftpd@wugate.wustl.edu Sun Mar 10 16:13:00 1996
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 m0tvvEP-0004GIC; Sun, 10 Mar 96 16:12 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA16764; Sun, 10 Mar 1996 18:03:17 -0600
Received: from po9.andrew.cmu.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA16530 for <wu-ftpd@wugate.wustl.edu>; Sun, 10 Mar 1996 17:57:23 -0600
Received: (from postman@localhost) by po9.andrew.cmu.edu (8.7.4/8.7.3) id SAA09839 for wu-ftpd@wugate.wustl.edu; Sun, 10 Mar 1996 18:57:50 -0500
Received: via switchmail; Sun, 10 Mar 1996 18:57:49 -0500 (EST)
Received: from pcs22.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/service/mailqs/q002/QF.4lEqlWW00iV7I0e29p>;
          Sun, 10 Mar 1996 18:57:22 -0500 (EST)
Received: from pcs22.andrew.cmu.edu via qmail
          ID </afs/andrew.cmu.edu/usr2/alec/.Outgoing/QF.0lEqlUm00iV7M3CsdZ>;
          Sun, 10 Mar 1996 18:57:21 -0500 (EST)
Received: from mms.4.60.Jan.26.1995.18.43.47.sun4c.411.EzMail.2.0.c.s.CUILIB.3.45.SNAP.NOT.LINKED.pcs22.andrew.cmu.edu.sun4c.411
          via MS.5.6.pcs22.andrew.cmu.edu.sun4c_411;
          Sun, 10 Mar 1996 18:57:20 -0500 (EST)
Message-Id: <slEqlUe00iV7Q3CsVt@andrew.cmu.edu>
Date: Sun, 10 Mar 1996 18:57:20 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "G. Alexander Flett" <alec+@CMU.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Max Hops?
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I think it would be pretty neat to add a "Max Hops" configuration for
the groups, so that instead of defining a "local" group by a domain, you
could define it by hops. 
Anybody have any idea how tough this would be?

                                        Alec
----
"My dear fellow, who will let you?"
"That's not the point. The point is, who will stop me?"
        - The Fountainhead

From owner-wu-ftpd@wugate.wustl.edu Sun Mar 10 23:19:43 1996
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 m0tw1tK-0002U7C; Sun, 10 Mar 96 23:19 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA06665; Mon, 11 Mar 1996 01:08:50 -0600
Received: from ritz.cec.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA06487 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 01:01:48 -0600
Received: by ritz.cec.wustl.edu (5.x/ECL-A1.27)
	id AA18862; Mon, 11 Mar 1996 01:02:12 -0600
Message-Id: <Pine.SOL.3.91.960311005755.17262F-100000@ritz.cec.wustl.edu>
Date: Mon, 11 Mar 1996 01:02:08 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Pinkard <dpp1@cec.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: mike@inlink.com
Subject: ftp 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I am trying to get wuftpd working on solaris 2.4.. Its 2.4 wih the virtual
hosts patches using gcc 2.5.6 ...  We only recieve this error message when
trying to connect as anonymous; all other users are fine. My supposition
is that it simply cannot figure out what host is calling it. If you have
any ideas as to why or can point me towards more informatin, I would
greatly appreciate it. 

thanks.. d.p.

session transcript follows:

220 www FTP server (Version wu-2.4(3) Sun Mar 10 16:37:37 CST 1996) ready.
Name (ftp:mike): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> get motd
local: motd remote: motd
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): Bad file number.
ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): Bad file number.
ftp> quit
221 Goodbye.



From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 03:03:40 1996
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 m0tw5O4-000F6YC; Mon, 11 Mar 96 03:03 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA12809; Mon, 11 Mar 1996 04:54:09 -0600
Received: from utrhcs.cs.utwente.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA12740 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 04:52:06 -0600
Received: from gaia.cs.utwente.nl by utrhcs.cs.utwente.nl (SMI-8.6/csrelay-SVR4_1.3/RBCS)
	id LAA25561; Mon, 11 Mar 1996 11:52:29 +0100
Received: from countach.cs.utwente.nl by gaia.cs.utwente.nl (4.1/RBCS-2.2P)
	id AA27654; Mon, 11 Mar 96 11:52:24 +0100
Received: by countach.cs.utwente.nl (SMI-8.6/SMI-SVR4)
	id LAA02979; Mon, 11 Mar 1996 11:52:27 +0100
Message-Id: <199603111052.LAA02979@countach.cs.utwente.nl>
Date: Mon, 11 Mar 1996 11:52:27 +0100
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: SITE EXEC?
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

rh> 
rh> 
rh> I'm trying to work out a system whereby our non-anonymous users can find
rh> out their disk quotas from within ftp (they don't have telnet access).
rh> SITE EXEC seemed as though it would be a good way to do this, and I've
rh> written a small C socket client that contacts a server daemon running on
rh> the machine (in the "real" filesystem, not the chroot'd one) that grabs the
rh> user's UID, runs the quota command, and passes back the result.
rh> 
rh> This client and server work fine if I'm not trying to SITE EXEC them from
rh> within ftp, but I can't seem to get the SITE EXEC stuff to work:
rh> 
rh> 	ftp> site exec quota
rh> 	200-quota
rh> 	200  (end of 'quota')
rh> 
rh> I've tried all manner of paths to get there...
rh> 
rh> Any ideas?  I've looked around for hints on SITE EXEC, but haven't found
rh> any.
rh> 
rh> Many thanks.
rh> 
rh> Pat Wilson
rh> paw@dartmouth.edu
rh> 
rh> PS Has anyone gotten around to restarting the mailing list archive?
rh> 
rh> 

Took me a lot of reading en trying one time. To send a command to the
server instead of interpreting (sp?) it locally:
quote command
So it becomes:
quote site exec quota.

I hope this helps,

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 Mar 11 07:40:16 1996
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 m0tw9hk-000F5UC; Mon, 11 Mar 96 07:40 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA25378; Mon, 11 Mar 1996 09:25:21 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA25010 for <wu-ftpd@mail.wustl.edu>; Mon, 11 Mar 1996 09:20:28 -0600
Received: from spherenet.com (station1.spherenet.com)
 by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I27H6LWEDS001WUT@wunet.wustl.edu>; Mon, 11 Mar 1996 09:22:58 -0500 (CDT)
Received: from 204.50.135.18 (smorin.spherenet.com [204.50.135.18])
 by spherenet.com (8.6.8/8.6.6) with SMTP id KAA10413 for
 <wu-ftpd@wunet.wustl.edu>; Mon, 11 Mar 1996 10:19:01 -0500
Message-Id: <199603111519.KAA10413@spherenet.com>
Date: Mon, 11 Mar 1996 10:19:01 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: smorin@spherenet.com
To: wu-ftpd@wunet.wustl.edu
Subject: New version of wu-ftp
Content-transfer-encoding: 7BIT
X-Mailer: AIR Mail 3.X (SPRY, Inc.)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm looking for the 2.4.2 (beta or not) of wu-ftp

Could someone tell me where to get it


Thanks

Sylvain Morin

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 07:45:27 1996
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 m0tw9mg-0004LYC; Mon, 11 Mar 96 07:45 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAB26085; Mon, 11 Mar 1996 09:32:46 -0600
Received: from hecky.acns.nwu.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA25433 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 09:25:55 -0600
Received: from aquarius.acns.nwu.edu by hecky.acns.nwu.edu with SMTP
	(1.39.111.2/21.4) id AA021237947; Mon, 11 Mar 1996 09:25:47 -0600
Message-Id: <1.5.4b11.32.19960311152623.006a9b84@hecky.acns.nwu.edu>
Date: Mon, 11 Mar 1996 09:26:23 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Phil Tracy <ptracy@nwu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Max Hops?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: tracy@hecky.acns.nwu.edu
X-Mailer: Windows Eudora Light Version 1.5.4b11 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 06:57 PM 3/10/96 -0500, you wrote:
>
>I think it would be pretty neat to add a "Max Hops" configuration for
>the groups, so that instead of defining a "local" group by a domain, you
>could define it by hops. 
>Anybody have any idea how tough this would be?

Not too difficult, I imagine, but the number of hops between any two sites
is not, of course, a constant.  This could cause real (perceived) weirdness
from the user perspective.  "Sometimes I get through, sometimes I don't, for
no apparent reason."

        - Phil

--
Phillip Tracy  <ptracy@nwu.edu>
Northwestern University ACNS, Evanston, IL  USA
http://grumpy.nsg.nwu.edu/tracy/philtracy.html

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 08:44:33 1996
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 m0twAi0-0002XSC; Mon, 11 Mar 96 08:44 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0twAO2-0003eBC; Mon, 11 Mar 96 08:23 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA29006; Mon, 11 Mar 1996 10:17:55 -0600
Received: from rescol.fse.ulaval.ca by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA28612 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 10:12:24 -0600
Received: from [132.203.154.5] (laloca.fse.ulaval.ca) by rescol.fse.ulaval.ca (5.x/SMI-SVR4)
	id AA12745; Mon, 11 Mar 1996 11:08:15 -0500
Message-Id: <v02130505ad69bb13524a@[132.203.154.5]>
Date: Mon, 11 Mar 1996 11:08:14 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: creed@fse.ulaval.ca (Carlos Reed)
To: wu-ftpd@wugate.wustl.edu
Subject: data socket (0.0.0.0,20)...
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Sender: creed@rescol.fse.ulaval.ca
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

My ftp site was working fine but all of a suden
my site start giving this error when
someone ftpd as a real user.
Can't create data socket (0.0.0.0,20): Bad file number.

any ideas


have a nice suny warmy day

Carlos Reed                           Univesité Laval
tel: (418) 656-3245                   Faculté sciences l'éducation
URL: www.fse.ulaval.ca/~creed         Lab 062 Ste Foy, Qc., G1K 7P4
creed@fse.ulaval.ca                   Canada




From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 10:54:35 1996
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 m0twCjT-0004PzC; Mon, 11 Mar 96 10:54 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA10943; Mon, 11 Mar 1996 12:44:33 -0600
Received: from letterbox.rl.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA09984 for <wu-ftpd@mail.wustl.edu>; Mon, 11 Mar 1996 12:30:19 -0600
Received: from unixfe-e.rl.ac.uk by letterbox.rl.ac.uk with SMTP (PP) 
          id <sg.18120-0@letterbox.rl.ac.uk>; Mon, 11 Mar 1996 18:29:44 +0000
Received: by unixfe.cc.rl.ac.uk (UK-Smail 3.1.28.1/2) 
          id <m0twCLn-0000XXC@unixfe.cc.rl.ac.uk>; Mon, 11 Mar 96 18:29 GMT
Message-Id: <m0twCLn-0000XXC@unixfe.cc.rl.ac.uk>
Date: Mon, 11 Mar 1996 18:29:43 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" <mwe@unixfe.rl.ac.uk>
To: wu-ftpd@wugate.wustl.edu (wuftpd list)
Subject: lost connection
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

I am trying to diagnose / problem-id
a persistent problem we've been having with lost
connections.

It originated with one particular user
(who happens to use guest ftp) who uses
large files, and I assumed it was
purely size of file that was the basic
problem, but on investigation, it doesn't
seem to be particularly related to file size.

In fact it turns out that we've been getting
many more lost connections than I would have guessed
e.g. 20 / hour on a bad day.

It seems that these are quite distinct from "timeouts",
which we also get, but much less (usually < 1/hour).

I've been looking for patterns, clusters, other activity, etc,
that might be related, and can't really see anything.

Does anyone have any feel for what can cause a "lost
connection"?

Hitherto, I would have thought this was usually a 
timeout, but as far as our logs are concerned, they
seem to be quite distinct events.

TIA,

Mike.Ellwood@rl.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 11:19:39 1996
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 m0twD80-0004PuC; Mon, 11 Mar 96 11:19 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA12653; Mon, 11 Mar 1996 13:06:57 -0600
Received: from gater4.sematech.org by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA10907 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 12:44:07 -0600
Received: from gatev3.sematech.org 
	by gater4.sematech.org (8.6.13/F-1.9) with ESMTP
	id MAA06950; Mon, 11 Mar 1996 12:44:35 -0600
Received: from thecount.eng.sematech.org (thecount.eng.sematech.org)
 by SEMATECH.Org (PMDF V5.0-5 #5463) id <01I27O8EQO6O94F4WV@SEMATECH.Org> for
 wu-ftpd@wugate.wustl.edu; Mon, 11 Mar 1996 12:44:27 -0600 (CST)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.13/I-1.10) with SMTP id MAA11367; Mon, 11 Mar 1996 12:44:22 -0600
Message-Id: <199603111844.MAA11367@thecount.eng.sematech.org>
Date: Mon, 11 Mar 1996 12:44:19 -0600
Reply-To: Quentin.Fennessy@SEMATECH.Org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: Is this list archived anywhere?
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 would like to browse an archive of this mailing list.  I found one
at NASA (http://freeway.oact.hq.nasa.gov) but it only covers until
April 1995.  Is there another more current archive available?

Thanks,
	Quentin Fennessy

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 11:26:37 1996
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 m0twDEk-0004R1C; Mon, 11 Mar 96 11:26 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA13389; Mon, 11 Mar 1996 13:16:01 -0600
Received: from gater4.sematech.org by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA11458 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 12:53:04 -0600
Received: from gatev3.sematech.org 
	by gater4.sematech.org (8.6.13/F-1.9) with ESMTP
	id MAA13825; Mon, 11 Mar 1996 12:53:31 -0600
Received: from thecount.eng.sematech.org (thecount.eng.sematech.org)
 by SEMATECH.Org (PMDF V5.0-5 #5463) id <01I27OJGVP0G94F640@SEMATECH.Org> for
 wu-ftpd@wugate.wustl.edu; Mon, 11 Mar 1996 12:53:23 -0600 (CST)
Received: from localhost.eng.sematech.org by thecount.eng.sematech.org
 (8.6.13/I-1.10) with SMTP id MAA11495; Mon, 11 Mar 1996 12:53:19 -0600
Message-Id: <199603111853.MAA11495@thecount.eng.sematech.org>
Date: Mon, 11 Mar 1996 12:53:16 -0600
Reply-To: Quentin.Fennessy@SEMATECH.Org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quentin Fennessy <Quentin.Fennessy@SEMATECH.Org>
To: wu-ftpd@wugate.wustl.edu
Subject: Installing pgp as a filter in ftpconversions
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 am trying to install pgp as a filter in ftpconversions in order
to encrypt files as they are transferred.  I have installed a line
like this in ftpconversions:

	 :   : :.joe:/bin/pgpw joesmith %s:T_REG:O_DESED:DESED

/bin/pgpw is a wrapper around pgp that causes pgp to encrypt the
file argument with joesmith's public key.  I have tested pgpw in
a chrooted environment and it does work well.  pgpw writes the
encrypted file stream to stdout (as does pgp).

However I cannot make it work for ftp transfers.  I see this when
I try:

	ftp> get passwd.joe
	200 PORT command successful.
	150 Opening BINARY mode data connection for /bin/pgpw.
	226 Transfer complete.
	ftp> 

The file transferred (passwd.joe) is zero-length.

I have been able to install other filters successfully.  The difference
is that pgpw is a wrapper around another binary, and I cannot make
such a wrapper work.  (Wrapper is necessary because pgp in filter mode
demands its input from stdin, rather than from a filename on the
command line).  I have included my wrapper (pipe stuff) below.

Has anyone else solved this problem?

Details:
	IBM AIX 3.2.5
	WU-FTP 2.4

Thanks,
	Quentin

/*

This does not work yet!

	Run this program as:

			pgpw userid input-file

	and it will run pgp like this:

			pgp -fe userid < input-file

	This is also designed to work in a chrooted environment, where
	pgp is found in /bin/pgp.  Won't work outside such an
	environment without changing the pgp path.

	Code taken from Stevens APUE.

SCCS:	%W%	%G%
 */

#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <malloc.h>
#include <unistd.h>
#include <sys/wait.h>

#ifdef _AIX
#include <sys/access.h>
#endif

#define BUFIZ 1024

#ifdef DEBUG
#define PGPCMD "/usr/sww/bin/pgp"
#else
#define PGPCMD "/bin/pgp"
#endif

#define PGPARGS "-fe"

main(int argc, char *argv[])
{
	char *usage =		"usage: %s userid filename\n";

	char *prog =		argv[0];
	char *userid =		argv[1];
	char *dfil =		argv[2];

	char *pgpcmd =		PGPCMD;
	char *pgpargs = 	PGPARGS;
	char *pgp =			"pgp";

	int		c, fd[2];
	pid_t 	pid;
	FILE	*fpin;

	if (argc != 3) {
		(void)printf(usage,prog);
		exit(1);
	}

	if ((fpin = fopen(dfil, "r")) == NULL) {
		perror(prog);
		exit(1);
	}

	if (pipe(fd) < 0)
		perror("pipe error");

	if ( (pid = fork()) < 0)
		perror("pipe error");
	else if (pid > 0) {			/* parent */
		close(fd[0]);

		while ((c = getc(fpin)) != EOF)
			if (write(fd[1], &c, 1) < 0)
				perror("write error writing to pipe");

		if (ferror(fpin))
			perror("getc error");
		
		close(fd[1]);

		if (waitpid(pid, NULL, 0) < 0)
			perror("waitpid error");

		exit(0);

	} else {					/* child */

		close(fd[1]);

		if (fd[0] != STDIN_FILENO) {
			if (dup2(fd[0], STDIN_FILENO) != STDIN_FILENO)
					perror("dup2 error to stdin");
			close(fd[0]);
		} 
	
		if (execl(pgpcmd, pgp, pgpargs, userid, (char *)0))
			perror("execl error for pgp");
	}
}

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 13:06:38 1996
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 m0twEnV-0004HoC; Mon, 11 Mar 96 13:06 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA21318; Mon, 11 Mar 1996 14:56:55 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA20843 for <wu-ftpd@mail.wustl.edu>; Mon, 11 Mar 1996 14:51:31 -0600
Received: from ns.govivo.com by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I27SR1FNIO001AXG@wunet.wustl.edu>; Mon, 11 Mar 1996 14:54:01 -0500 (CDT)
Received: (from lesliey@localhost) by ns.govivo.com (8.6.12/8.6.12)
 id MAA02076 for wu-ftpd@wunet.wustl.edu; Mon, 11 Mar 1996 12:55:11 -0800
Message-Id: <199603112055.MAA02076@ns.govivo.com>
Date: Mon, 11 Mar 1996 12:55:10 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: lesliey@govivo.com
To: wu-ftpd@wunet.wustl.edu
Subject: Compile Problems
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.4 PL24alpha3]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



I'm trying to compile wu-ftpd for solaris 2.4.  The command line
looks like this:

build CC=/usr/local/bin/gcc sol

But when it compiles I get the following:

Making ftpd.
/usr/local/bin/gcc -I.. -I../support -L../support  -c  ftpd.c
ftpd.c: In function `statcmd':
ftpd.c:1975: `typenames' undeclared (first use this function)
ftpd.c:1975: (Each undeclared identifier is reported only once
ftpd.c:1975: for each function it appears in.)
ftpd.c:1977: `formnames' undeclared (first use this function)
ftpd.c:1985: `strunames' undeclared (first use this function)
ftpd.c:1985: `modenames' undeclared (first use this function)
*** Error code 1^                                       

What am I doing wrong?

thanks,

leslie

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 13:21:19 1996
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 m0twF1d-0004RuC; Mon, 11 Mar 96 13:21 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA22480; Mon, 11 Mar 1996 15:11:07 -0600
Received: from clarion.cec.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA22339 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 15:09:45 -0600
Received: by clarion.cec.wustl.edu (5.x/ECL-A1.27)
	id AA02745; Mon, 11 Mar 1996 15:09:52 -0600
Message-Id: <Pine.SOL.3.91.960311150704.2226C-100000@clarion.cec.wustl.edu>
Date: Mon, 11 Mar 1996 15:09:51 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Pinkard <dpp1@cec.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp
In-Reply-To: <199603111603.RAA04741@pizza.hvu.nl>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 11 Mar 1996, Koos van den Hout _U nix and we all_ wrote:

> > I am trying to get wuftpd working on solaris 2.4.. Its 2.4 wih the virtual
> > hosts patches using gcc 2.5.6 ...  We only recieve this error message when
> > trying to connect as anonymous; all other users are fine. My supposition
> >
> > 200 PORT command successful.
> > 425 Can't create data socket (0.0.0.0,20): Bad file number.
> > ftp> ls
> > 200 PORT command successful.
> 
> >From the world-famous wu-ftpd-faq (which also answers the question where
> to get the updated versions) :

Been there; tried that. Weive tried the static libraries with no luck. 
The problem is not only with ls but with get and put, etc,etc - and ONLY 
as anonymous. Normal users are fine. Are there any other place to look or 
ideas to follow.

d.p.

>        First, consider if you can't relink them staticly so the shared
>        libraries aren't needed. You can get the GNU fileutils from :
>        <URL:ftp://prep.ai.mit.edu/pub/pub/gnu/fileutils-3.12.tar.gz>   
>        (version numbers may vary).


+----------------------------------------------------------------------+
| Dan Pinkard                       Washington University in St. Louis |
| dpp1@cec.wustl.edu                KWUR 90.3fm  Engineer              |    
| http://www.cec.wustl.edu/~dpp1/   Inlink Engineer / Tech Support     |
|        "I know the truth because I know the source code."            |
+----------------------------------------------------------------------+



From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 13:39:34 1996
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 m0twFJJ-0004QAC; Mon, 11 Mar 96 13:39 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA23920; Mon, 11 Mar 1996 15:30:13 -0600
Received: from westnet.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA23436 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 15:24:42 -0600
Received: (from chris@localhost) by westnet.com (8.6.12/8.6.12) id QAA08035; Mon, 11 Mar 1996 16:25:13 -0500
Message-Id: <Pine.SUN.3.91.960311162335.7951A-100000@westnet.com>
Date: Mon, 11 Mar 1996 16:25:12 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher X. Candreva" <chris@westnet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Different xferlogs for Virtual Sites
In-Reply-To: <Pine.SOL.3.91.960311150704.2226C-100000@clarion.cec.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I've been using the Virtual FTP versino of wu-ftp for a while now. 
However, it would be usefull if the xfer logs for virtual sites were 
either in different files, or put the ip address of the virtual server in 
the log, so that accesses could be told apart.

I prefer different files.

Is anyone working on this ? 

-Chris

==========================================================
Chris Candreva  -- chris@westnet.com -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 14:00:46 1996
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 m0twFdn-0004RoC; Mon, 11 Mar 96 14:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA25686; Mon, 11 Mar 1996 15:50:59 -0600
Received: from ki.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA24988 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 15:43:34 -0600
Received: (from scrappy@localhost) by ki.net (8.7.4/8.7.4) id QAA19826; Mon, 11 Mar 1996 16:44:25 -0500 (EST)
Message-Id: <Pine.BSF.3.91.960311164230.15888b-100000@ki.net>
Date: Mon, 11 Mar 1996 16:44:23 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marc G. Fournier" <scrappy@ki.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Different xferlogs for Virtual Sites
In-Reply-To: <Pine.SUN.3.91.960311162335.7951A-100000@westnet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 11 Mar 1996, Christopher X. Candreva wrote:

> 
> I've been using the Virtual FTP versino of wu-ftp for a while now. 
> However, it would be usefull if the xfer logs for virtual sites were 
> either in different files, or put the ip address of the virtual server in 
> the log, so that accesses could be told apart.
> 
> I prefer different files.
> 
> Is anyone working on this ? 
>
	Finished long ago...and it the location of the patches was
reposted only this past week...

	ftp://ftp.ki.net/pub/users/scrappy/wu-ftpd.diffs.gz

	This is against 2.4.2beta9

	If you need patches from stock 2.4, as gotten from wuarchive,
check out:

	http://www.ki.net/rtfm/softdocs/wu-ftpd

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge, 
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 15:04:39 1996
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 m0twGdj-0004RsC; Mon, 11 Mar 96 15:04 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id QAA00115; Mon, 11 Mar 1996 16:52:36 -0600
Received: from phibes.dartmouth.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id QAA29821 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 16:50:44 -0600
Received: from phibes.dartmouth.edu (localhost [127.0.0.1]) by phibes.dartmouth.edu (8.7.4/8.7.3) with ESMTP id RAA15859 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 17:51:13 -0500
Message-Id: <199603112251.RAA15859@phibes.dartmouth.edu>
Date: Mon, 11 Mar 1996 17:51:12 +22306256
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pat Wilson <paw@phibes.dartmouth.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Another SITE EXEC question
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'd written:
	I'm trying to work out a system whereby our non-anonymous users can find
	out their disk quotas from within ftp (they don't have telnet access).
	SITE EXEC seemed as though it would be a good way to do this, and I've
	written a small C socket client that contacts a server daemon running on
	the machine (in the "real" filesystem, not the chroot'd one) that grabs the
	user's UID, runs the quota command, and passes back the result.

	This client and server work fine if I'm not trying to SITE EXEC them from
	within ftp, but I can't seem to get the SITE EXEC stuff to work:

		ftp> site exec quota
		200-quota
		200  (end of 'quota')

	I've tried all manner of paths to get there...

	Any ideas?  I've looked around for hints on SITE EXEC, but haven't found
	any.

The first problem was fixed by RTFReadme - since this was non-anonymous
ftp, I needed to have the command in /bin/ftp-exec (relative to the top of
the chroot'd user tree) <duh>.  This at least got the execuatable seen.

However, it still doesn't work.  I'm using getpwuid() to try to figure out
which user is running the command - this doesn't appear to be working, and,
in any case, I'm not getting output the client program sends.

How _does_ SITE EXEC work?  Is there something obvious I'm missing?

Thanks.

Pat Wilson
paw@dartmouth.edu

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 16:22:09 1996
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 m0twAG6-0004MGC; Mon, 11 Mar 96 08:15 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA28260; Mon, 11 Mar 1996 10:06:35 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA28074 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 10:02:56 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id RAA04741; Mon, 11 Mar 1996 17:03:54 +0100
Message-Id: <199603111603.RAA04741@pizza.hvu.nl>
Date: Mon, 11 Mar 1996 17:03:54 +0100 (MET)
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: ftp
In-Reply-To: <Pine.SOL.3.91.960311005755.17262F-100000@ritz.cec.wustl.edu> from "Dan Pinkard" at Mar 11, 96 01:02:08 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Dan Pinkard, who wrote :

> I am trying to get wuftpd working on solaris 2.4.. Its 2.4 wih the virtual
> hosts patches using gcc 2.5.6 ...  We only recieve this error message when
> trying to connect as anonymous; all other users are fine. My supposition
> is that it simply cannot figure out what host is calling it. If you have
> any ideas as to why or can point me towards more informatin, I would
> greatly appreciate it. 

> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number.
> ftp> ls
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number.
> ftp> quit
> 221 Goodbye.

>From the world-famous wu-ftpd-faq (which also answers the question where
to get the updated versions) :

    7. Programs (ls, gzip, tar) work for real users, not for anonymous
       users, giving errors like 425 Can't create data socket
       (0.0.0.0,20): Bad file number or simply no output.
   
       First, consider if you can't relink them staticly so the shared
       libraries aren't needed. You can get the GNU fileutils from :
       <URL:ftp://prep.ai.mit.edu/pub/pub/gnu/fileutils-3.12.tar.gz>   
       (version numbers may vary).
   
       For different operating systems, different libraries and/or
       devices are needed. You can test if things are running correctly
       by doing a chroot to the ftp homedir. To test if /bin/ls is   
       working in the ~ftp dir, type :
              
       chroot ~ftp /bin/ls


         1. Solaris
            Solaris needs ~ftp/dev/tcp and ~ftp/dev/zero and the
            libraries. Check the man-page for your Solaris version for
            exact details. Use the command truss to find out which
            libraries a program uses. Also, the ~ftp/etc/group file is
            needed for ls to work, without it it will just dump core. 
            Follow the same rules as for /etc/passwd : not too much 
            information in that file, like group passwords (if you have
            those).
   
            Problem with /etc/group found by Eric (ewedaa@kset.com).
       
                                            Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 21:08:06 1996
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 m0twMJW-0004R8C; Mon, 11 Mar 96 21:08 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id WAA18713; Mon, 11 Mar 1996 22:59:33 -0600
Received: from jessica.Stanford.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id WAA18661 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 22:58:32 -0600
Received: (from fangchin@localhost) by jessica.Stanford.EDU (8.7.5/8.6.11) id UAA13093 for wu-ftpd@wugate.wustl.edu; Mon, 11 Mar 1996 20:58:30 -0800
Message-Id: <199603120458.UAA13093@jessica.Stanford.EDU>
Date: Mon, 11 Mar 1996 20:58:29 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chin Fang <fangchin@jessica.Stanford.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Different xferlogs for Virtual Sites
In-Reply-To: <Pine.SUN.3.91.960311162335.7951A-100000@westnet.com> from "Christopher X. Candreva" at Mar 11, 96 04:25:12 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear Chris,

I worked on the 2nd approach for a while, even thou I put it aside for
now after Marc told me about his patches.  He is right in that using
separate files, existing log analyzers work out of box.  

Basically, what I wanted to do is to capature the virtual host name
in the ftpd.c, and then slightly modify the sprintf in the log msg
writing portion after Hobbit' comment.   

For some reason, it didn't work :(  I will look into this later on.
For now, I am very happy finally I have a way to tell which virtual
ftp server carries most the traffic.  Good for accounting.

You may wish to look into the approach I mentioned above.  After you
are done with it, pairing together with gnu grep and any one of the
standard log analyzer, it's not too bad.

I think single file plus a rotation policy is also allright too.

Chin Fang
fangchin@jessica.stanford.edu

=========================================================================
> I've been using the Virtual FTP versino of wu-ftp for a while now. 
> However, it would be usefull if the xfer logs for virtual sites were 
> either in different files, or put the ip address of the virtual server in 
> the log, so that accesses could be told apart.
> 
> I prefer different files.
> 
> Is anyone working on this ? 
> 
> -Chris
> 
> ==========================================================
> Chris Candreva  -- chris@westnet.com -- (914) 967-7816
> WestNet Internet Services of Westchester
> http://www.westnet.com/
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 21:32:43 1996
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 m0twMhM-0004K0C; Mon, 11 Mar 96 21:32 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id XAA19747; Mon, 11 Mar 1996 23:24:29 -0600
Received: from ns.cs.hku.hk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id XAA19521 for <wu-ftpd@wugate.wustl.edu>; Mon, 11 Mar 1996 23:19:26 -0600
Received: from stamina.cs.hku.hk by ns.cs.hku.hk  with SMTP id AA10824
	(5.67b/IDA-1.5 for <wu-ftpd@wugate.wustl.edu>)
	Tue, 12 Mar 1996 13:17:55 +0800
Received: by stamina.cs.hku.hk (4.1/S2.0-sunos4)
	id AA25278; Tue, 12 Mar 96 13:20:12 HKT
Message-Id: <9603120520.AA25278@stamina.cs.hku.hk>
Date: Tue, 12 Mar 1996 13:20:12 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Hung Hing Fai <hfhung@cs.hku.hk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: New version of wu-ftp
In-Reply-To: <199603111519.KAA10413@spherenet.com> from "smorin@spherenet.com" at Mar 11, 96 10:19:01 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> I'm looking for the 2.4.2 (beta or not) of wu-ftp
> 
> Could someone tell me where to get it
> 
> 
> Thanks
> 
> Sylvain Morin
> 

Excerpt from: http://www.huv.nl/~koos/wu-ftpd-faq.html,


3.Where do I get the wu-ftpd ? 

    The wu-ftpd home is wuarchive.wustl.edu, the exact URL is: 

    ftp://wuarchive.wustl.edu/pub/unix/wuarchive-ftpd/ 

    This daemon is available in source code and binaries from many
    other ftp-sites, ask _archie_ where to find it. Best is to compile
    it yourself, since it has a lot of compile-time options.

      1.Where do I get the updated version ? 

	The above is the last version created by wuarchive. On the
	mailing list, an updated version has been created which is
	maintained by Stan Barber (sob@owlman.academ.com).

        You can get this beta by ftp from the directory :

	ftp://ftp.academ.com/pub/wu-ftpd/private/ the directory is not
	browsable, a .message file will point you to what is the latest
	version. Read this .message.

	Remember, these are BETA versions. Before asking/trying
	anything, check first that you have the latest version. And if
	you run this version, keep up with the list to make sure you
	get news of updates.

-- Daniel H F Hung

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 22:56:38 1996
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 m0twO0Z-0002NpC; Mon, 11 Mar 96 22:56 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA23918; Tue, 12 Mar 1996 00:47:10 -0600
Received: from supelec.supelec.fr by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA23464 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 00:37:46 -0600
Received: by supelec.supelec.fr; id AA20435; Tue, 12 Mar 1996 07:37:43 +0100
Message-Id: <96031207340844@supelec.fr>
Date: Tue, 12 Mar 1996 07:34:08 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Daniel.Clar@supelec.fr (Daniel Clar)
To: wu-ftpd@wugate.wustl.edu
Subject: "Too many users already logged in"
X-Vms-To: SMTP%"wu-ftpd@wugate.wustl.edu"
X-Vms-Cc: DC
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm running version 2-4 on Digital UNIX 3.2-c since quite a long time and since 
last week, I find every morning more and more users still "logged in". In fact
they have left but there are still in the list given by the ftpwho command.

If I try to connect and to quit from another computer, it works and after the 
"quit", I'm no more in the list. 

Why these processes are still there ?

Thank you.

Daniel


o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
|   Daniel Clar          	    	   e-mail : Daniel.Clar@supelec.fr  |
|   Computer Operations Manager			  : dc@supelec.fr	    |
|   Service Informatique Supelec                    and                     |
|   Plateau de Moulon                     DECUSF::CLAR_D or clar_d@decus.fr |
|   91192 Gif sur Yvette Cedex - France                                     |
|   Tel : (33 1) 69 85 14 87        	   Fax : (33 1) 69 85 12 34         |
o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
 

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 11 23:43:19 1996
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 m0twOjk-0004REC; Mon, 11 Mar 96 23:43 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA25353; Tue, 12 Mar 1996 01:34:56 -0600
Received: from yseult.sis.pasteur.fr by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id BAA25246 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 01:30:49 -0600
Received: (from wolf@localhost) by yseult.sis.pasteur.fr (8.8.Alpha.0/8.8.Alpha.0) id IAA32265 for wu-ftpd@wugate.wustl.edu; Tue, 12 Mar 1996 08:30:36 +0100 (MET)
Message-Id: <199603120730.IAA32265@yseult.sis.pasteur.fr>
Date: Tue, 12 Mar 1996 08:30:35 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Christophe Wolfhugel <wolf@pasteur.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: "Too many users already logged in"
In-Reply-To: <96031207340844@supelec.fr> from "Daniel Clar" at Mar 12, 96 07:34:08 am
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: ELM [version 2.4 PL24 ME9a6]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Daniel Clar:
>I'm running version 2-4 on Digital UNIX 3.2-c since quite a long time and since
>last week, I find every morning more and more users still "logged in". In fact
>they have left but there are still in the list given by the ftpwho command.

Les processus ne resent pas en l'air ?  Moi j'en ai des centaines chaque
semaine de comme cela.

--
Christophe Wolfhugel  -+- SIS, Institut Pasteur, Paris
Boulot : wolf@pasteur.fr,  $HOME : wolf@schnok.fr.net

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 10:02:37 1996
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 m0twYP1-000CocC; Tue, 12 Mar 96 10:02 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA25263; Tue, 12 Mar 1996 11:51:41 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA24592 for <wu-ftpd@mail.wustl.edu>; Tue, 12 Mar 1996 11:41:40 -0600
Received: from mail3.dn.net by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I290E8QL0G00205J@wunet.wustl.edu>; Tue, 12 Mar 1996 11:43:37 -0500 (CDT)
Received: from dn.net (mail-1.dn.net [206.197.81.10])
 by radius.dn.net (8.7.1/dn.mail3-elitman) with ESMTP id MAA05360 for
 <wu-ftpd@wunet.wustl.edu>; Tue, 12 Mar 1996 12:29:17 -0500 (EST)
Received: from dnuser11.dn.net (dnuser11.dn.net [206.197.81.47])
 by dn.net (8.7.1/dn-mailhost(mail-1)-elitman) with SMTP id MAA03718 for
 <wu-ftpd@wunet.wustl.edu>; Tue, 12 Mar 1996 12:41:25 -0500 (EST)
Received: by dnuser11.dn.net (NX5.67e/NX3.0X) id AA05095; Tue,
 12 Mar 96 12:41:24 -0500
Received: by NeXT.Mailer (1.118.2)
Message-Id: <199603121741.MAA03718@dn.net>
Date: Tue, 12 Mar 1996 12:41:21 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gordon Mercer <gmercer@dn.net>
To: wu-ftpd@wunet.wustl.edu
Subject: Multiple IP addresses = Different Directories
MIME-version: 1.0 (NeXT Mail 3.3 v118.2)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: quoted-printable
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I was wondering if there was any way to get the wu-ftpd to place =
anonymous users in different directories according to the IP =
address they are communicating with. I have a machine running =
SunOS 4.1.3 and using vif to do multiple IPs on one ethernet =
interface. I would like to have anonymous ftp logins to the =
different IP addresses use different local directories. Is there a =
patch or configuration option that I can use to achieve this?

thanks,


---
Gordon Mercer
digitalNATION Internet Services
(703)642-2800
gmercer@dn.net
---

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 10:34:15 1996
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 m0twYtY-0004OcC; Tue, 12 Mar 96 10:34 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA27711; Tue, 12 Mar 1996 12:25:14 -0600
Received: from VAX6.CSMC.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA27438 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 12:20:48 -0600
Received: from CSMC.EDU by CSMC.EDU (PMDF V5.0-5 #5597)
 id <01I28WKPWO7E8YDTM7@CSMC.EDU> for wu-ftpd@wugate.wustl.edu; Tue,
 12 Mar 1996 10:20:33 -0700 (PDT)
Message-Id: <01I28WKPWO7G8YDTM7@CSMC.EDU>
Date: Tue, 12 Mar 1996 10:20:33 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: LES MAYEDA TECH SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftp-2.4 and telnet
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-VMS-To: IN%"wu-ftpd@wugate.wustl.edu"
X-VMS-Cc: MAYEDA
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,

I have configured wu-ftp 2.4 and everything works fine
except that ftp users can telnet into the server and look around.

How do I restrict or prevent ftp users (belonging to the
guestgroup) from telneting into the server and looking around?
Should there be some shell script in the dummy shell that
prevents them from logging in using telnet?  

I have tried using the restricted shell /etc/Rsh but I noticed
that I could change shells and get around this.  


login: ftp1

Password:
Last login: Wed Feb 28 09:31:00 from KWS3301C.CSMC.ED
Digital UNIX V3.2C  (Rev. 148); Fri Sep 15 15:01:37 PDT 1995 
Digital UNIX V3.2C Worksystem Software (Rev. 148)
$ cd ..
cd: restricted
$ ksh
$ cd ..
$ ls -al
total 56
drwxr-xr-x   7 root     system      8192 Feb 27 13:29 .
drwxr-xr-x  14 root     system      8192 Mar 10 08:11 ..
dr-xr-xr-x   5 root     ftp         8192 Feb  1 13:48 ftp
dr-xr-xr-x   5 root     ftp         8192 Feb 27 16:11 ftp1
dr-xr-xr-x   5 root     ftp         8192 Feb 27 16:14 ftp2
dr-xr-xr-x   5 root     ftp         8192 Feb 27 14:06 ftp3
dr-xr-xr-x   5 root     ftp         8192 Feb 28 09:40 ftp4


I have changed the ftp login shell back to a dummy shell.

ftp1:x1x/U/RNMo34k:405:400:ftp1:/usr/local/home/ftp1:/bin/ftponly
ftp2
...

They belong to the same group in etc/group:

ftp:*:400:ftp,ftp1,ftp2,ftp3,ftp4

And this group if defined in the guestgroup table in /ftpaccess;

# specify which group of users will be treated as "guests".
guestgroup ftp


Thanks in advance.

les mayeda
Cedars-Sinai Medical Center
mayeda@csmc.edu



From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 12:10:35 1996
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 m0twaOt-0004UEC; Tue, 12 Mar 96 12:10 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA05009; Tue, 12 Mar 1996 13:59:46 -0600
Received: from wnet.gov.edmonton.ab.ca by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA04802 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 13:56:09 -0600
Received: from pi_klui.wnet.gov.edmonton.ab.ca by wnet.gov.edmonton.ab.ca with smtp
	(Smail3.1.28.1 #1) id m0twa7j-0000kYC; Tue, 12 Mar 96 12:52 MST
Message-Id: <SIMEON.9603121232.B@pi_klui.wnet.gov.edmonton.ab.ca.wnet.gov.edmonton.ab.ca>
Date: Tue, 12 Mar 1996 12:55:32 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ken Lui <klui@wnet.gov.edmonton.ab.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Mailer: Simeon for Windows
X-Authentication: none
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 12 Mar 1996 10:20:33 -0700 (PDT) LES MAYEDA TECH 
SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU> wrote:
...
>Should there be some shell script in the dummy shell that
>prevents them from logging in using telnet?  
>
What about /bin/false. But make sure you add this to your /etc/shells or they 
wont be able to ftp at all.

Ken Lui 
City of Edmonton

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 12:51:54 1996
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 m0twb2o-0004LNC; Tue, 12 Mar 96 12:51 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA09221; Tue, 12 Mar 1996 14:42:32 -0600
Received: from bcx01.boco.co.gov by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA08609 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 14:40:02 -0600
Received: (from swcxt@localhost) by bcx01.boco.co.gov (8.6.11/8.6.11)
  id NAA47091 for wu-ftpd@wugate.wustl.edu; Tue, 12 Mar 1996 13:39:56 -0700
Message-Id: <199603122039.NAA47091@bcx01.boco.co.gov>
Date: Tue, 12 Mar 1996 13:39:55 -0700 (MST)
Reply-To: Shane Castle <swcxt@boco.co.gov>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Shane Castle <swcxt@boco.co.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
In-Reply-To: <SIMEON.9603121232.B@pi_klui.wnet.gov.edmonton.ab.ca.wnet.gov.edmonton.ab.ca>
  from "Ken Lui"
  at Mar 12, 96 12:55:32 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue Mar 12 10:55:32 1996, Ken Lui wrote:

>On Tue, 12 Mar 1996 10:20:33 -0700 (PDT) LES MAYEDA TECH 
>SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU> wrote:
>...
>>Should there be some shell script in the dummy shell that
>>prevents them from logging in using telnet?  
>>
>What about /bin/false. But make sure you add this to your /etc/shells or they 
>wont be able to ftp at all.

Appended here is s small C program which can be used as the
user's shell in /etc/passwd.  I think it does the job nicely.

Shane Castle             | "Perfection, then, is finally achieved, not
Boulder County Info Svcs | when there is nothing left to add, but when
Boulder CO USA           | there is nothing left to take away."
                         |                - Antoine de Saint-Exupery

----- ftponly.c ---------------------------------------------------
/*
 * ftponly.c
 *
 * Programmer:	Shane Castle
 * Date:	March 12, 1996
 *
 * Purpose:	To print a message indicating that this account
 *		is valid for FTP only and then to exit.
 */

#include <stdio.h>

main(argc, argv)

int  argc;
char *argv[];

{ /* main */

    fprintf(stdout,"---------------------------------------\nThis account is valid for FTP use only.\n---------------------------------------\n");
    exit(1);
}
----- end ftponly.c ---------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 13:35:50 1996
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 m0twbjN-0004OpC; Tue, 12 Mar 96 13:35 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA14190; Tue, 12 Mar 1996 15:26:54 -0600
Received: from VAX6.CSMC.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA13882 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 15:22:32 -0600
Received: from CSMC.EDU by CSMC.EDU (PMDF V5.0-5 #5597)
 id <01I293MWXRMO8YCFCH@CSMC.EDU> for wu-ftpd@wugate.wustl.edu; Tue,
 12 Mar 1996 13:22:21 -0700 (PDT)
Message-Id: <01I293MX0G368YCFCH@CSMC.EDU>
Date: Tue, 12 Mar 1996 13:22:21 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: LES MAYEDA TECH SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftp2.4 and telnet
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-VMS-To: IN%"wu-ftpd@wugate.wustl.edu"
X-VMS-Cc: MAYEDA
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks Ken for the your suggestion.
When I telnet into this account now I get logged out.  ftp works
fine like before.  
Can you explain what this /bin/false shell is and what it is used for?
Is this what everyone sets as a shell when creating
secured (requires password) ftp accounts?

Thanks again!
les mayeda
mayeda@csmc.edu





On Tue, 12 Mar 1996 10:20:33 -0700 (PDT) LES MAYEDA TECH 
SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU> wrote:
...
>Should there be some shell script in the dummy shell that
>prevents them from logging in using telnet?  
>
What about /bin/false. But make sure you add this to your /etc/shells or they 
wont be able to ftp at all.

Ken Lui 
City of Edmonton

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 15:26:08 1996
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 m0twdS2-0004W4C; Tue, 12 Mar 96 15:25 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA24883; Tue, 12 Mar 1996 17:15:22 -0600
Received: from gatekeeper.arborsoft.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA24671 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 17:11:55 -0600
Received: by gatekeeper.arborsoft.com; id PAA06453; Tue, 12 Mar 1996 15:07:04 -0500
Received: from paper.arborsoft.com(206.65.95.2) by gatekeeper.arborsoft.com via smap (g3.0.1)
	id xma006447; Tue, 12 Mar 96 15:06:54 -0500
Received: by paper.arborsoft.com (IBM OS/2 SENDMAIL VERSION 1.3.2)/1.0)
	  id AA3376; Tue, 12 Mar 96 15:12:43 -0800
Received: from Arbor with "Lotus Notes Mail Gateway for SMTP" id
  5B6609D03EC4F64F882562EB007F4587; Tue, 12 Mar 96 15:12:42 
Message-Id: <9603122312.AA3376@paper.arborsoft.com>
Date: 12 Mar 96 15:12:14 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Willy Hertanu <Willy_Hertanu@arborsoft.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Cc: Ken Lui <klui@wnet.gov.edmonton.ab.ca>
Subject: Re: wu-ftp-2.4 and telnet
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>>Should there be some shell script in the dummy shell that
>>prevents them from logging in using telnet?  
>>

>What about /bin/false. But make sure you add this to your /etc/shells or they 
>wont be able to ftp at all.

Ken,

Is that OS specific? because I couldn't even find the file (/bin/false) on my 
BSD unix (2.1).

Thanks.

WH



From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 15:32:17 1996
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 m0twdY5-0004VLC; Tue, 12 Mar 96 15:32 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA25363; Tue, 12 Mar 1996 17:23:18 -0600
Received: from austin.aus.sig.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA25253 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 17:21:13 -0600
Received: (from bei@localhost) by austin.aus.sig.net (8.7.4/8.7.3) id RAA02271; Tue, 12 Mar 1996 17:21:10 -0600 (CST)
Message-Id: <199603122321.RAA02271@austin.aus.sig.net>
Date: Tue, 12 Mar 1996 17:21:09 -0600 (CST)
Reply-To: bei@sig.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bob Izenberg" <bei@sig.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
In-Reply-To: <9603122312.AA3376@paper.arborsoft.com> from "Willy Hertanu" at Mar 12, 96 03:12:14 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

# Is that OS specific? because I couldn't even find the file
# (/bin/false) on my BSD unix (2.1).

That surprises me, but you can always make one by coding up a
shell script or compiled program that returns a value of 255.
You can also have /bin/true return a value of 0.
Good luck,

Bob
-- 
 ============================================================
   bob izenberg                    phone: +1 (512) 306-0700
   sig.net network operations                   bei@sig.net
 ============================================================

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 15:47:00 1996
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 m0twdmK-0004QfC; Tue, 12 Mar 96 15:46 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA26166; Tue, 12 Mar 1996 17:35:43 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA25920 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 17:30:45 -0600
Received: by electric.rain.aic.net.au
	id <m0twmdP-0001TaC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 13 Mar 96 19:14 EST
Message-Id: <Pine.LNX.3.91.960313190957.27941A-100000@electric.rain.aic.net.au>
Date: Wed, 13 Mar 1996 19:14:19 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
In-Reply-To: <9603122312.AA3376@paper.arborsoft.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


i have wu-ftpd up and running, but with two problems, and i cant find 
what what i missed-

When you anonymously ftp to the machine with the wu-ftp you get in fine, 
but when i do an ls i get this error ..

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

AND

when i try and login as a normal user, (ie, not anonymously) this happens
530 User kaneda access denied...
Login failed

any help appreciated:)

\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Issa>
BONDAGE
The caged bird gazes at the butterflies
Beyond the bars with longing - watch its eyes!
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 16:49:27 1996
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 m0twekk-0004TnC; Tue, 12 Mar 96 16:49 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA29797; Tue, 12 Mar 1996 18:40:39 -0600
Received: from unix1.ism.com.br by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA29007 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 18:31:18 -0600
Received: from dial003.ism.com.br (dial003.ism.com.br [200.255.211.103]) by unix1.ism.com.br (8.7.1/8.7.1) with SMTP id VAA21470 for <wu-ftpd@mail.wustl.edu>; Tue, 12 Mar 1996 21:31:07 -0300
Message-Id: <199603130031.VAA21470@unix1.ism.com.br>
Date: Tue, 12 Mar 1996 21:31:07 -0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: compland@ism.com.br (Helio Coelho Jr. - CompuLand Informatica)
To: wu-ftpd@wugate.wustl.edu
Subject: FreeBSD and wu-ftpd
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: compland@ism.com.br
X-Mailer: Windows Eudora Version 1.4.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi:

  I tried to compile wu-ftpd with build bsd in my FreeBSD 2.1 box but
I got lots of errors. Anyone can help me ?

TIA!
Helio.

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 16:53:11 1996
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 m0tweoH-0004P1C; Tue, 12 Mar 96 16:53 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA29969; Tue, 12 Mar 1996 18:43:26 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA29092 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 18:31:58 -0600
Received: by electric.rain.aic.net.au
	id <m0twnaR-0001TaC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 13 Mar 96 20:15 EST
Message-Id: <Pine.LNX.3.91.960313201014.28454A-100000@electric.rain.aic.net.au>
Date: Wed, 13 Mar 1996 20:15:19 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: solaris dev/tcp dev/zero
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


after reading the FAQ, it seems that wu-ftpd running on a solaris machine 
needs the following files ~ftp/dev/tcp and dev/zero

but these devices (as far as i know) can not be "cp" ... could someone 
tell me how to get these files (or dummy versions) into ~ftp/dev

thanx


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Issa>
BONDAGE
The caged bird gazes at the butterflies
Beyond the bars with longing - watch its eyes!
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 17:15:54 1996
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 m0twfAN-0004VEC; Tue, 12 Mar 96 17:15 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA01516; Tue, 12 Mar 1996 19:05:29 -0600
Received: from prowillen.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id TAA01252 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 19:03:33 -0600
Received: from [204.118.169.70] (blackbird [204.118.169.70]) by prowillen.com (8.7.1/8.7.1) with SMTP id RAA14665 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 17:05:38 -0800 (PST)
Message-Id: <v02140a01ad6bcf6ee87e@[204.118.169.70]>
Date: Tue, 12 Mar 1996 17:05:37 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: uwe@prowillen.com (Uwe Willenbacher)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: solaris dev/tcp dev/zero
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

You wrote:

> after reading the FAQ, it seems that wu-ftpd running on a solaris machine
> needs the following files ~ftp/dev/tcp and dev/zero
>
> but these devices (as far as i know) can not be "cp" ... could someone
> tell me how to get these files (or dummy versions) into ~ftp/dev
>
> thanx

cd ~ftp/dev
mknode zero c 13 12
mknode tcp c 11 42
cd ..
chmod 555 /dev

Hope this helps...

-Uwe


                                    \\|//
                                    (o o)
==================================w===U===w================================
 |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|
 Uwe Willenbacher      |___|___|___|___|___|___|   Fax: 415.333.5485
 Webmaster/SysAdmin      |___|___|___|___|___|     WWW: www.prowillen.com
 Proctor-Willenbacher  |___|___|___|___|___|___| eMail: uwe@prowillen.com
 |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___| 


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 17:15:55 1996
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 m0twfAL-0004UxC; Tue, 12 Mar 96 17:15 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA01397; Tue, 12 Mar 1996 19:04:41 -0600
Received: from red.isearch.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA00783 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 18:54:03 -0600
Received: (from tim@localhost) by red.isearch.com (8.6.10/8.6.10) id QAA05847 for wu-ftpd@wugate.wustl.edu; Tue, 12 Mar 1996 16:53:03 -0800
Message-Id: <199603130053.QAA05847@red.isearch.com>
Date: Tue, 12 Mar 1996 16:53:03 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tim Capps <tim@isearch.com>
To: wu-ftpd@wugate.wustl.edu
Subject: SunOS 4.1.4 DIR problem solution (should be in FAQ)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Here's what needs to be done in order to make anon FTP work with DIR
under SunOS 4.1.4.  Also, you can define "guestgroup customer" in
your /usr/local/etc/ftpaccess file, and create a group "customer" in /etc/group.
This will allow you to have a class of users who can have their own
secure FTP areas, but can't prowl all over your system.

Here is my directory tree:

~ftp:
total 5
d--x--x--x  2 root           512 Dec  5 14:48 bin
d--x--x--x  2 root           512 Jan  4 14:13 dev
d--x--x--x  2 root           512 Jan  4 15:03 etc
drwxrwxrwx  2 root           512 Nov 28 19:46 pub
d--x--x--x  3 root           512 Jan  4 15:05 usr

~ftp/bin:
total 550
---x--x--x  1 root         24576 Nov 28 15:02 compress
---x--x--x  1 root         90112 Nov 28 18:37 gzip
---x--x--x  1 root         13352 Jan  3 18:55 ls
---x--x--x  1 root        425984 Nov 28 19:16 tar

~ftp/dev:
total 0
crw-rw-rw-  1 root        3,  12 Jan  4 14:13 zero

~ftp/etc:
total 7
-r--r--r--  1 root           299 Nov 28 19:45 group
-rw-r--r--  1 root          4096 Jan  4 14:26 ld.so.cache
-r--r--r--  1 root           151 Nov 28 19:58 motd
-r--r--r--  1 root            71 Nov 28 19:24 passwd

~ftp/pub:
total 0

~ftp/usr:
total 1
d--x--x--x  2 root           512 Dec 28 13:45 lib

~ftp/usr/lib:
total 608
-r-xr-xr-x  1 root         40960 Jan  4 14:11 ld.so
-r-xr-xr-x  1 root        548864 Jan  4 14:11 libc.so.1.9.2
-r-xr-xr-x  1 root         24576 Jan  4 14:11 libdl.so.1.0

To create ~ftp/dev/zero, use: mknod ~ftp/dev/zero c 3 12
You also need to be sure that /etc/ld.so.cache is copied into the ~ftp
tree, as well as the libraries listed above.

After several weeks of working on this on and off, it finally WORKS!!
I did some careful pruning to make sure that there isn't extra flotsam
in the ~ftp tree which isn't really needed.

Here is a little script I whipped up to create FTP trees for customer
use.  Modify the /h/customer reference below for where you keep your
ftp trees.  The ~ftp tree must be kept in the same place for this to work.

----- start script -----

#!/usr/bin/csh
#
# makeftp - create FTP tree for a customer
#
# Syntax: ftp userid
# userid is customer's user ID (must already have been created in /etc/passwd)
#
if ($#argv != 1) then
 echo "Syntax: makeftp userID"
 exit
endif

# validate the user ID
if ! { fgrep $1 /etc/passwd >/dev/null } then
  echo "Invalid user ID - create the user login with vipw first."
  exit
endif

# user ID is valid, clone various parts of the ftp user tree
cd /h/customer
mkdir $1
cp -pr ftp/bin $1
cp -pr ftp/usr $1
cp -pr ftp/etc $1
mkdir $1/dev
mknod $1/dev/zero c 3 12
mkdir $1/data
chown -R $1 $1
chmod o-rw $1
chgrp -R customer $1
chmod og-rw $1/data

---- end script ----

Cheers,
Tim

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 18:42:21 1996
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 m0twgVx-000F5UC; Tue, 12 Mar 96 18:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA07645; Tue, 12 Mar 1996 20:33:27 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA02264 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 19:16:44 -0600
Received: by electric.rain.aic.net.au
	id <m0twoHe-0001TdC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 13 Mar 96 20:59 EST
Message-Id: <Pine.LNX.3.91.960313205543.28910D-100000@electric.rain.aic.net.au>
Date: Wed, 13 Mar 1996 20:59:58 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: dir failure
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


hi .. yeah! i got it working :) almost;-)

if i issue a 'dir' command i get nothing as such

ftp> dir
200 PORT coommand successful
150 Opening ASCII mode data connection for /bin/ls
226 Transfer complete
ftp>

but if issue an ls, i get a list, so i know something is ther .. any ideas?


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Issa>
BONDAGE
The caged bird gazes at the butterflies
Beyond the bars with longing - watch its eyes!
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 18:43:00 1996
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 m0twgWf-000F6PC; Tue, 12 Mar 96 18:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA07756; Tue, 12 Mar 1996 20:34:23 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA02589 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 19:21:11 -0600
Received: by electric.rain.aic.net.au
	id <m0twoME-0001TaC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 13 Mar 96 21:04 EST
Message-Id: <Pine.LNX.3.91.960313210000.28910E-100000@electric.rain.aic.net.au>
Date: Wed, 13 Mar 1996 21:04:42 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: User Login fails
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


anonymous ftp on my machine works fine, but if a real user trys loging 
in, they get access denied after they type in ther usernames

has this something to do with class in ftpaccess?

thanx


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Issa>
BONDAGE
The caged bird gazes at the butterflies
Beyond the bars with longing - watch its eyes!
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 18:44:27 1996
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 m0twgY2-000F6BC; Tue, 12 Mar 96 18:44 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA07901; Tue, 12 Mar 1996 20:36:05 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA03385 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 19:33:48 -0600
Received: by electric.rain.aic.net.au
	id <m0twoY7-0001TaC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 13 Mar 96 21:16 EST
Message-Id: <Pine.LNX.3.91.960313211612.28910I-100000@electric.rain.aic.net.au>
Date: Wed, 13 Mar 1996 21:16:58 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: umask
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


do i have to modify the ftpaccess file to automatically set uploaded 
files to uog+rx?

tahnx


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Issa>
BONDAGE
The caged bird gazes at the butterflies
Beyond the bars with longing - watch its eyes!
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 19:04:22 1996
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 m0twgrK-0004PoC; Tue, 12 Mar 96 19:04 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA09655; Tue, 12 Mar 1996 20:55:34 -0600
Received: from ns.cs.hku.hk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA08299 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 20:39:53 -0600
Received: from stamina.cs.hku.hk by ns.cs.hku.hk  with SMTP id AA17069
	(5.67b/IDA-1.5 for <wu-ftpd@wugate.wustl.edu>)
	Wed, 13 Mar 1996 10:38:36 +0800
Received: by stamina.cs.hku.hk (4.1/S2.0-sunos4)
	id AA17743; Wed, 13 Mar 96 10:40:53 HKT
Message-Id: <9603130240.AA17743@stamina.cs.hku.hk>
Date: Wed, 13 Mar 1996 10:40:53 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Hung Hing Fai <hfhung@cs.hku.hk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
In-Reply-To: <Pine.LNX.3.91.960313190957.27941A-100000@electric.rain.aic.net.au> from "Fundamental" at Mar 13, 96 07:14:19 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
> i have wu-ftpd up and running, but with two problems, and i cant find 
> what what i missed-
> 
> When you anonymously ftp to the machine with the wu-ftp you get in fine, 
> but when i do an ls i get this error ..
> 
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number
> 

When you use anonymous ftp, wu-ftpd will chroot to ~ftp, and
/usr/lib/libc.so.1.8 are no longer visible.

There are two possible solutions:
1. copy /usr/lib/libc.so.1.8, /usr/lib/ld.so, /usr/lib/libdl.so.1.0 to
   ~ftp/usr/lib, OR
2. recompile 'ls' with -static.


> AND
> 
> when i try and login as a normal user, (ie, not anonymously) this happens
> 530 User kaneda access denied...
> Login failed
> 

Check whether kaneda is using a shell not listed in /etc/shells,
e.g. /usr/local/bin/tcsh.  If not, add it to /etc/shells.

> any help appreciated:)
> 
> \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
> <Issa>
> BONDAGE
> The caged bird gazes at the butterflies
> Beyond the bars with longing - watch its eyes!
> ////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
> The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 19:48:29 1996
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 m0twhY1-0004M0C; Tue, 12 Mar 96 19:48 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id VAA12039; Tue, 12 Mar 1996 21:39:46 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id VAA11933 for <wu-ftpd@wugate.wustl.edu>; Tue, 12 Mar 1996 21:37:46 -0600
Received: by electric.rain.aic.net.au
	id <m0twqUK-0001TaC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 13 Mar 96 23:21 EST
Message-Id: <m0twqUK-0001TaC@electric.rain.aic.net.au>
Date: Wed, 13 Mar 1996 23:21:12 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: kaneda@electric.rain.aic.net.au (Mikiel Mifsud)
To: wu-ftpd@wugate.wustl.edu
Subject: User Login Failure
In-Reply-To: <9603130240.AA17743@stamina.cs.hku.hk> from "Hung Hing Fai" at Mar 13, 96 10:40:53 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24 PGP2]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> When you use anonymous ftp, wu-ftpd will chroot to ~ftp, and
> /usr/lib/libc.so.1.8 are no longer visible.
> 
> There are two possible solutions:
> 1. copy /usr/lib/libc.so.1.8, /usr/lib/ld.so, /usr/lib/libdl.so.1.0 to
>    ~ftp/usr/lib, OR
> 2. recompile 'ls' with -static.

thanx, ive got this problem licked:)

> Check whether kaneda is using a shell not listed in /etc/shells,
> e.g. /usr/local/bin/tcsh.  If not, add it to /etc/shells.

i dont have this file /etc/shells?

do i just create one?

thanx

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 22:24:07 1996
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 m0twjye-0004OSC; Tue, 12 Mar 96 22:24 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA20107; Wed, 13 Mar 1996 00:15:18 -0600
Received: from ns.cs.hku.hk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA19553 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 00:06:42 -0600
Received: from stamina.cs.hku.hk by ns.cs.hku.hk  with SMTP id AA21482
	(5.67b/IDA-1.5 for <wu-ftpd@wugate.wustl.edu>)
	Wed, 13 Mar 1996 13:10:14 +0800
Received: by stamina.cs.hku.hk (4.1/S2.0-sunos4)
	id AA20746; Wed, 13 Mar 96 13:12:32 HKT
Message-Id: <9603130512.AA20746@stamina.cs.hku.hk>
Date: Wed, 13 Mar 1996 13:12:32 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Hung Hing Fai <hfhung@cs.hku.hk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: User Login Failure
In-Reply-To: <m0twqUK-0001TaC@electric.rain.aic.net.au> from "Mikiel Mifsud" at Mar 13, 96 11:21:12 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> > When you use anonymous ftp, wu-ftpd will chroot to ~ftp, and
> > /usr/lib/libc.so.1.8 are no longer visible.
> > 
> > There are two possible solutions:
> > 1. copy /usr/lib/libc.so.1.8, /usr/lib/ld.so, /usr/lib/libdl.so.1.0 to
> >    ~ftp/usr/lib, OR
> > 2. recompile 'ls' with -static.
> 
> thanx, ive got this problem licked:)
> 
> > Check whether kaneda is using a shell not listed in /etc/shells,
> > e.g. /usr/local/bin/tcsh.  If not, add it to /etc/shells.
> 
> i dont have this file /etc/shells?
> 
> do i just create one?
> 
> thanx
> 
> 

Create /etc/shells and put the name of the user shells in.

/bin/sh
/bin/csh
/usr/local/bin/tcsh

The paths the shells may be different on your system.

-- hfhung

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 12 23:35:32 1996
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 m0twl5d-000CrEC; Tue, 12 Mar 96 23:35 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA23409; Wed, 13 Mar 1996 01:27:08 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id BAA23234 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 01:20:51 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id IAA03618; Wed, 13 Mar 1996 08:21:30 +0100
Message-Id: <199603130721.IAA03618@pizza.hvu.nl>
Date: Wed, 13 Mar 1996 08:21:30 +0100 (MET)
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: solaris dev/tcp dev/zero
In-Reply-To: <Pine.LNX.3.91.960313201014.28454A-100000@electric.rain.aic.net.au> from "Fundamental" at Mar 13, 96 08:15:19 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Fundamental, who wrote :

> after reading the FAQ, it seems that wu-ftpd running on a solaris machine 
> needs the following files ~ftp/dev/tcp and dev/zero
> 
> but these devices (as far as i know) can not be "cp" ... could someone 
> tell me how to get these files (or dummy versions) into ~ftp/dev

>From the Solaris 2.3 ftpd(1m) man page (the faq points to this) :

     ~ftp/dev    Make this directory owned by the super-user  and
                 unwritable  by  anyone.  First perform ls -lL on
                 the device files listed below to determine their
                 major  and  minor  numbers,  then  use  mknod to
                 create them in this directory.

                 /dev/zero
                 /dev/tcp
                 /dev/udp
                 /dev/ticotsord


                                                 Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 00:59:13 1996
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 m0twmOb-0004LNC; Wed, 13 Mar 96 00:59 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id CAA25868; Wed, 13 Mar 1996 02:50:34 -0600
Received: from dicsmss1 by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id CAA25744 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 02:46:31 -0600
Received: from  (aisws3.jrc.it) by dicsmss1 (4.1/EB-950131-C)
	id AA27953; Wed, 13 Mar 96 09:49:44 +0100
Received: from aisws5.irsa.jrc.it by  (4.1/SMI-4.1)
	id AA03971; Wed, 13 Mar 96 09:41:55 +0100
Received: by aisws5.irsa.jrc.it (SMI-8.6/SMI-SVR4)
	id JAA28332; Wed, 13 Mar 1996 09:41:46 +0100
Message-Id: <199603130841.JAA28332@aisws5.irsa.jrc.it>
Date: Wed, 13 Mar 1996 09:41:46 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: andrea.bellinzaghi@jrc.it (Andrea Bellinzaghi)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: solaris dev/tcp dev/zero
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: kM2NCGMNzJ559E+AIXLZDQ==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi, read the man page about 'mknod' that explains hov to create /dev/zero or 
other files like that.

Ciao Andrea

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 01:28:52 1996
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 m0twmrR-000CmtC; Wed, 13 Mar 96 01:28 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id DAA26918; Wed, 13 Mar 1996 03:20:41 -0600
Received: from gps1.leeds.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id DAA26803 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 03:17:02 -0600
Received: from faxil.leeds.ac.uk (paco@faxil.leeds.ac.uk [129.11.224.14]) by gps1.leeds.ac.uk (8.6.12/8.6.9) with SMTP id JAA15700 for <wu-ftpd%wugate.wustl.edu@leeds.ac.uk>; Wed, 13 Mar 1996 09:16:53 GMT
Message-Id: <Pine.sol.3.91.960313091057.5289C-100000@faxil.leeds.ac.uk>
Date: Wed, 13 Mar 1996 09:12:35 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Clarkson <paco@faxil.leeds.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Cc: Server List <wu-ftpd@wugate.wustl.edu>
Subject: Re: solaris dev/tcp dev/zero
In-Reply-To: <Pine.LNX.3.91.960313201014.28454A-100000@electric.rain.aic.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Confirm-Reading-To: paco@faxil.leeds.ac.uk
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Wed, 13 Mar 1996, Fundamental wrote:

> 
> after reading the FAQ, it seems that wu-ftpd running on a solaris machine 
> needs the following files ~ftp/dev/tcp and dev/zero
> 
> but these devices (as far as i know) can not be "cp" ... could someone 
> tell me how to get these files (or dummy versions) into ~ftp/dev
> 
> thanx

Hi, try this:

 	cd ~ftp/dev
	(cd /dev; tar chf - tcp zero) | tar xf -
	chmod 644 tcp zero

Hope that helps! 

Michael Clarkson
 ______  __   __    __ _  _
|  ____|/  \  \ \  / /(_)| |      FAXiL,    
| |___ / /_ \  \ \/ /  _ | |      The Wellcome Wing,
|  ___| ____ \  >  <  | || |      The General Infirmary,
| |  / /    \ \/ /\ \ | || |____  Leeds LS1 3EX, UK.
|_| /_/      \_\/  \_\|_||______| Tel: 0113 292 2479 Fax: 0113 242 0926

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 02:38:25 1996
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 m0twnwk-000CmpC; Wed, 13 Mar 96 02:38 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA28459; Wed, 13 Mar 1996 04:29:34 -0600
Received: from mail.nerosworld.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA28353 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 04:24:56 -0600
Received: from [206.102.192.40] by mail.nerosworld.com
 with SMTP (Apple Internet Mail Server 1.0); Wed, 13 Mar 1996 04:38:42 -0600
Message-Id: <v01510104ad6c522ec138@[206.102.192.40]>
Date: Wed, 13 Mar 1996 04:25:35 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: deperry@nerosworld.com (David Perry)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Not being an expert, but someone taking a guess.

The problem with real users denied access is that there needs to be an
/etc/shells file with a format like

# /etc/shells - this file exists for wu-ftp
/bin/sh
/bin/csh


and this file needs to list all the shells that users could login with or
they will be denied access if that user's shell is not listed.

The other problem has to do with making ls available for execution to the
users. Place a copy of ls in the ~ftp/bin directory that shoudl help.

David Perry

At 7:14 PM 3/13/96, Fundamental wrote:
>i have wu-ftpd up and running, but with two problems, and i cant find
>what what i missed-
>
>When you anonymously ftp to the machine with the wu-ftp you get in fine,
>but when i do an ls i get this error ..
>
>200 PORT command successful.
>425 Can't create data socket (0.0.0.0,20): Bad file number
>
>AND
>
>when i try and login as a normal user, (ie, not anonymously) this happens
>530 User kaneda access denied...
>Login failed
>
>any help appreciated:)
>
>\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
><Issa>
>BONDAGE
>The caged bird gazes at the butterflies
>Beyond the bars with longing - watch its eyes!
>////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
>The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 02:57:56 1996
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 m0twoFX-0004PHC; Wed, 13 Mar 96 02:57 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA28953; Wed, 13 Mar 1996 04:49:28 -0600
Received: from mail.nerosworld.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA28882 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 04:47:51 -0600
Received: from [206.102.192.40] by mail.nerosworld.com
 with SMTP (Apple Internet Mail Server 1.0); Wed, 13 Mar 1996 05:01:43 -0600
Message-Id: <v0151010bad6c5817239f@[206.102.192.40]>
Date: Wed, 13 Mar 1996 04:48:34 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: deperry@nerosworld.com (David Perry)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: User Login Failure
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Mikiel,

sure. how about
>touch /etc/shells
>pico /etc/shells

and good to go from there.

David Perry

At 11:21 PM 3/13/96, Mikiel Mifsud wrote:
>> When you use anonymous ftp, wu-ftpd will chroot to ~ftp, and
>> /usr/lib/libc.so.1.8 are no longer visible.
>>
>> There are two possible solutions:
>> 1. copy /usr/lib/libc.so.1.8, /usr/lib/ld.so, /usr/lib/libdl.so.1.0 to
>>    ~ftp/usr/lib, OR
>> 2. recompile 'ls' with -static.
>
>thanx, ive got this problem licked:)
>
>> Check whether kaneda is using a shell not listed in /etc/shells,
>> e.g. /usr/local/bin/tcsh.  If not, add it to /etc/shells.
>
>i dont have this file /etc/shells?
>
>do i just create one?
>
>thanx


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 03:09:19 1996
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 m0twoPy-0004KbC; Wed, 13 Mar 96 03:08 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id FAA29307; Wed, 13 Mar 1996 05:00:26 -0600
Received: from mail.nerosworld.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA29091 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 04:52:28 -0600
Received: from [206.102.192.40] by mail.nerosworld.com
 with SMTP (Apple Internet Mail Server 1.0); Wed, 13 Mar 1996 05:06:25 -0600
Message-Id: <v0151010dad6c59336635@[206.102.192.40]>
Date: Wed, 13 Mar 1996 04:53:16 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: deperry@nerosworld.com (David Perry)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: umask
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I beleive tha answer is yes but I would have to check on the option flags
to tell you the syntax.

Check ~wu-ftpd/docs/ftpaccess.heavy
for a well documented example.

David Perry

>do i have to modify the ftpaccess file to automatically set uploaded
>files to uog+rx?
>
>tahnx
>
>
>\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
><Issa>
>BONDAGE
>The caged bird gazes at the butterflies
>Beyond the bars with longing - watch its eyes!
>////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
>The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 04:31:11 1996
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 m0twphr-0004KoC; Wed, 13 Mar 96 04:31 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA02258; Wed, 13 Mar 1996 06:21:49 -0600
Received: from letterbox.rl.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA02133 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 06:18:43 -0600
Received: from unixfe-e.rl.ac.uk by letterbox.rl.ac.uk with SMTP (PP) 
          id <g.25057-0@letterbox.rl.ac.uk>; Wed, 13 Mar 1996 12:15:25 +0000
Received: by unixfe.cc.rl.ac.uk (UK-Smail 3.1.28.1/2) 
          id <m0twpSQ-0000XXC@unixfe.cc.rl.ac.uk>; Wed, 13 Mar 96 12:15 GMT
Message-Id: <m0twpSQ-0000XXC@unixfe.cc.rl.ac.uk>
Date: Wed, 13 Mar 1996 12:15:10 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" <mwe@unixfe.rl.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp2.4 and telnet
In-Reply-To: <01I293MX0G368YCFCH@CSMC.EDU> from "LES MAYEDA TECH SUPPORT/ISS X6656" at Mar 12, 96 01:22:21 pm
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

> 
> Thanks Ken for the your suggestion.
> When I telnet into this account now I get logged out.  ftp works
> fine like before.  
> Can you explain what this /bin/false shell is and what it is used for?
> Is this what everyone sets as a shell when creating
> secured (requires password) ftp accounts?
> 
> Thanks again!
> les mayeda
> mayeda@csmc.edu
> 
> 
> 
> 
> 
> On Tue, 12 Mar 1996 10:20:33 -0700 (PDT) LES MAYEDA TECH 
> SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU> wrote:
> ...
> >Should there be some shell script in the dummy shell that
> >prevents them from logging in using telnet?  
> >
> What about /bin/false. But make sure you add this to your /etc/shells or they 
> wont be able to ftp at all.
> 
> Ken Lui 
> City of Edmonton
> 
> 

I'm not sure where I saw it recommended, but I use /etc/ftponly
which is simply a symbolic link to /dev/null.

Mike.Ellwood@rl.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 04:54:02 1996
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 m0twq3y-0004Q4C; Wed, 13 Mar 96 04:53 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA03241; Wed, 13 Mar 1996 06:44:48 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id GAA03088 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 06:39:53 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id NAA11321; Wed, 13 Mar 1996 13:40:19 +0100
Message-Id: <199603131240.NAA11321@pizza.hvu.nl>
Date: Wed, 13 Mar 1996 13:40:19 +0100 (MET)
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-ftp2.4 and telnet
In-Reply-To: <m0twpSQ-0000XXC@unixfe.cc.rl.ac.uk> from "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" at Mar 13, 96 12:15:10 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB, who wrote :

> > What about /bin/false. But make sure you add this to your /etc/shells or they 
> > wont be able to ftp at all.

> I'm not sure where I saw it recommended, but I use /etc/ftponly
> which is simply a symbolic link to /dev/null.

The idea is that ftponly can be in /etc/shells so you can use /bin/false
for accounts that need to be disabled totally.

                                                  Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 05:51:11 1996
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 m0twqxI-0004JSC; Wed, 13 Mar 96 05:51 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id HAA06071; Wed, 13 Mar 1996 07:42:36 -0600
Received: from letterbox.rl.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id HAA05718 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 07:34:31 -0600
Received: from unixfe-e.rl.ac.uk by letterbox.rl.ac.uk with SMTP (PP) 
          id <sg.27130-0@letterbox.rl.ac.uk>; Wed, 13 Mar 1996 13:32:15 +0000
Received: by unixfe.cc.rl.ac.uk (UK-Smail 3.1.28.1/2) 
          id <m0twq03-0000XXC@unixfe.cc.rl.ac.uk>; Wed, 13 Mar 96 12:49 GMT
Message-Id: <m0twq03-0000XXC@unixfe.cc.rl.ac.uk>
Date: Wed, 13 Mar 1996 12:49:55 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" <mwe@unixfe.rl.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp-2.4 and telnet
In-Reply-To: <01I28WKPWO7G8YDTM7@CSMC.EDU> from "LES MAYEDA TECH SUPPORT/ISS X6656" at Mar 12, 96 10:20:33 am
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 have configured wu-ftp 2.4 and everything works fine
> except that ftp users can telnet into the server and look around.
> 
> How do I restrict or prevent ftp users (belonging to the
> guestgroup) from telneting into the server and looking around?
> Should there be some shell script in the dummy shell that
> prevents them from logging in using telnet?  
> 
(Not applicable in your case I think, but in AIX systems, one
 can set the username to be "telnet=no" via the chuser command.
 (also "login=no, rlogin=no, su=no").

It's obviously also a good idea to take the precautions already
mentioned by others, just in case there are any loopholes in the "telnet=no"
etc. mechanisms in AIX.

Mike.Ellwood@rl.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 08:32:27 1996
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 m0twtTN-000Cv2C; Wed, 13 Mar 96 08:32 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA16984; Wed, 13 Mar 1996 10:23:38 -0600
Received: from wnet.gov.edmonton.ab.ca by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA16545 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 10:18:00 -0600
Received: from pi_klui.wnet.gov.edmonton.ab.ca by wnet.gov.edmonton.ab.ca with smtp
	(Smail3.1.28.1 #1) id m0twtC7-0000kWC; Wed, 13 Mar 96 09:14 MST
Message-Id: <SIMEON.9603130912.C@pi_klui.wnet.gov.edmonton.ab.ca.wnet.gov.edmonton.ab.ca>
Date: Wed, 13 Mar 1996 09:17:12 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ken Lui <klui@wnet.gov.edmonton.ab.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp2.4 and telnet
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Mailer: Simeon for Windows
X-Authentication: none
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 12 Mar 1996 13:22:21 -0700 (PDT) LES MAYEDA TECH 
SUPPORT/ISS X6656 <MAYEDA@VAX4.CSMC.EDU> wrote:
>Can you explain what this /bin/false shell is and what it is used for?
>Is this what everyone sets as a shell when creating
>secured (requires password) ftp accounts?
>
It is a shell scripts that exit with 1. 

The better way to create ftp only account is to use guest login. Define a class 
in ftpaccess, the account will be chroot to their home directory(just like 
anonymous). Therefore, they can't access the real / or /etc. O'Reilly 's book 
"Managing Intrernet Information Services" has full detail.

Cheers.

Ken Lui
City of Edmonton


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 08:55:15 1996
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 m0twtpO-0004P4C; Wed, 13 Mar 96 08:55 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA19069; Wed, 13 Mar 1996 10:46:31 -0600
Received: from rescol.fse.ulaval.ca by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA18673 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 10:41:31 -0600
Received: from [132.203.154.5] (laloca.fse.ulaval.ca) by rescol.fse.ulaval.ca (5.x/SMI-SVR4)
	id AA13158; Wed, 13 Mar 1996 11:36:53 -0500
Message-Id: <v02130500ad6c4298d87a@[132.203.154.5]>
Date: Wed, 13 Mar 1996 11:36:52 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: creed@fse.ulaval.ca (Carlos Reed)
To: wu-ftpd@wugate.wustl.edu
Subject: bug or a feature ?
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Sender: creed@rescol.fse.ulaval.ca
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Well, I found my problem:

    anonymous user was working fine.
    real users  was working fine too.
    but some real users were getting  0.0.0.0.20  socket error.

The users who where getting this error were included in a virtual ftpd group.

Let me explaine this.

I have this in my passwd:
user1:x:100:10:user1:/home/user1:/bincsh
user2:x:101:10:user1:/home/user2:/bincsh
crazywolf:x:222:300: Ftp for group crazyguys :/www/./crazustuff:/bin/false

and my  group file has

group1::10:user1,user2
wwwcrazy::300:crazywolf,user1
                        ^^^^^^^^^

The reason I puted user1 into the group wwwcrazy is beacause I wanted to
give him access directly from the shell,( doing simple modifications with
vi, etc..)

This was doing the bugus thing, as soon as I removed the user1 from the group
wwwcrazy, the realuser connection started to work fine.

Is this a bug ?


have a nice suny warmy day




Carlos Reed                           Univesité Laval
tel: (418) 656-3245                   Faculté sciences l'éducation
URL: www.fse.ulaval.ca/~creed         Lab 062 Ste Foy, Qc., G1K 7P4
creed@fse.ulaval.ca                   Canada




From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 11:09:13 1996
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 m0twvv1-0004PzC; Wed, 13 Mar 96 11:09 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA28460; Wed, 13 Mar 1996 12:59:09 -0600
Received: from scapa.cs.ualberta.ca by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA27779 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 12:51:48 -0600
Received: from st-michael.cs.ualberta.ca by scapa.cs.ualberta.ca id <13067-9280>; Wed, 13 Mar 1996 11:51:38 -0700
Message-Id: <96Mar13.115138mst.13067-9280+31@scapa.cs.ualberta.ca>
Date: Wed, 13 Mar 1996 11:51:37 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Easton <jim@cs.ualberta.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: jim@cs.ualberta.ca (Jim Easton)
Subject: Re: "Too many users already logged in"
In-Reply-To: <199603120730.IAA32265@yseult.sis.pasteur.fr> from "Christophe Wolfhugel" at Mar 12, 96 08:30:35 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

> Daniel Clar:
> >I'm running version 2-4 on Digital UNIX 3.2-c since quite a long time and since
> >last week, I find every morning more and more users still "logged in". In fact
> >they have left but there are still in the list given by the ftpwho command.
> 
> Les processus ne resent pas en l'air ?  Moi j'en ai des centaines chaque
> semaine de comme cela.

Could someone translate this to English please.

	Jim

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 11:21:58 1996
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 m0tww7J-0004UPC; Wed, 13 Mar 96 11:21 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA29766; Wed, 13 Mar 1996 13:13:09 -0600
Received: from step.polymtl.ca by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA29136 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 13:06:12 -0600
Received: (from coyote@localhost) by step.polymtl.ca (8.6.10/8.6.10) id OAA27496; Wed, 13 Mar 1996 14:06:04 -0500
Message-Id: <Pine.SOL.3.91.960313140100.27161A-100000@step.polymtl.ca>
Date: Wed, 13 Mar 1996 14:06:02 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vincent Cojot <coyote@step.polymtl.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu, Jim Easton <jim@cs.ualberta.ca>
Subject: Re: "Too many users already logged in"
In-Reply-To: <96Mar13.115138mst.13067-9280+31@scapa.cs.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Wed, 13 Mar 1996, Jim Easton wrote:

> > Daniel Clar:
> > >I'm running version 2-4 on Digital UNIX 3.2-c since quite a long time and since
> > >last week, I find every morning more and more users still "logged in". In fact
> > >they have left but there are still in the list given by the ftpwho command.
> > 
> > Les processus ne resent pas en l'air ?  Moi j'en ai des centaines chaque
> > semaine de comme cela.

It's something like:

"The processes don't.....  [that I did not understand, even though I am a
native french speaker, probably a typo or missing word]." 

"I have got hundreds [ of dead processes, probably] like that every week." 

> Could someone translate this to English please.
> 
> 	Jim

Vincent
PS: Now could a native english speaker translate my translation to 
english? I have this feeling that it's far from being grammatically 
correct.. :) :)

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 11:48:07 1996
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 m0twwWb-0004RSC; Wed, 13 Mar 96 11:47 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA01746; Wed, 13 Mar 1996 13:39:08 -0600
Received: from spherenet.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA01473 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 13:33:55 -0600
Received: from 204.50.135.18 (smorin.spherenet.com [204.50.135.18]) by spherenet.com (8.6.8/8.6.6) with SMTP id OAA21860 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 14:31:59 -0500
Message-Id: <199603131931.OAA21860@spherenet.com>
Date: Wed, 13 Mar 1996 14:31:59 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: smorin@spherenet.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: "Too many users already logged in"
X-Mailer: AIR Mail 3.X (SPRY, Inc.)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I found a patch for a similar problem
on a gopher server 

There it is:

------------------------------------------------------------------------------
----------------------
This section is from the document '/Distribution list 
log/WU-ftpd/log.started.940924'.

>From wu-ftpd-errors@wunet.wustl.edu Tue Feb 14 14:11:17 1995
Date: Tue, 14 Feb 1995 20:11:17 -0600 (CST)
From: Vidiot <brown@ftms.COM>
Subject: Re: defunct process slots
To: wu-ftpd@wunet.wustl.edu

<        I seem to be having a problem with poeple attaching to my
<FTP site and my system creates <defunct> users using the FTPD software.
<This machine is an OSF/1 v3.0 on an Alpha 2100 server. These <defunct>
<users take up process slots and eventually hang the system. Doing an
<FTPWHO shows no users in fact when I log in locally I am user -1.
<I use the same example for a banner page that is in the "Managing
<Internet Information Services" book by Oreilly...

Yep, I've seen and I've fixed (using a patch provided by one of the reader's
of this mailist).  I've attached it below.  You might have to modify the
header part, since it has been set up for SunOS.

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)




*** ftpd.c.orig	Wed Apr 13 16:17:18 1994
--- ftpd.c	Fri Nov 25 14:22:10 1994
***************
*** 77,83 ****
  #else
  #include <syslog.h>
  #endif
! #include <time.h>
  #include "conversions.h"
  #include "extensions.h"
  #include "pathnames.h"
--- 77,83 ----
  #else
  #include <syslog.h>
  #endif
! #include <sys/time.h>
  #include "conversions.h"
  #include "extensions.h"
  #include "pathnames.h"
***************
*** 1707,1714 ****
--- 1707,1728 ----
          int s,
            fromlen = sizeof(from);

+ #ifdef FD_ZERO
+ 	struct timeval timeout;
+ 	fd_set set;
+
+ 	FD_ZERO(&set);
+ 	FD_SET(pdata, &set);
+
+ 	timeout.tv_usec = 0;
+ 	timeout.tv_sec = 120;
+
+ 	if (select(pdata+1, &set, (fd_set *) 0, (fd_set *) 0, &timeout) == 0 
||
+ 	    (s = accept(pdata, (struct sockaddr *) &from, &fromlen)) < 0) {
+ #else
          s = accept(pdata, (struct sockaddr *) &from, &fromlen);
          if (s < 0) {
+ #endif
              reply(425, "Can't open data connection.");
              (void) close(pdata);
              pdata = -1;


------------------------------------------------------------------------------
-----

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 11:59:01 1996
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 m0twwhG-0004PeC; Wed, 13 Mar 96 11:58 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA03013; Wed, 13 Mar 1996 13:50:03 -0600
Received: from proteus.imagiware.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA02715 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 13:47:20 -0600
Received: (from ttongue@localhost) by proteus.imagiware.com (8.6.12/8.6.12) id NAA29222; Wed, 13 Mar 1996 13:49:26 -0600
Message-Id: <Pine.LNX.3.91.960313134813.28557D-100000@proteus.imagiware.com>
Date: Wed, 13 Mar 1996 13:49:26 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Tongue <ttongue@proteus.imagiware.com>
To: wu-ftpd@wugate.wustl.edu
Subject: WU-FTPD 2.4 compile problems under Linux
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



I'm having trouble getting the latest WU-FTPD to compile. I am running
Linux Slackware 3.0 (ELF) on a Pentium PC, and when I tell it to
"build lnx", It runs for a while but stumbes on:

yacc  ftpcmd.y 
mv -f y.tab.c ftpcmd.c
gcc -O2 -I.. -I../support -I/usr/include/bsd -I/usr/include/netinet 
-L../support   -c ftpcmd.c -o ftpcmd.o
ftpcmd.y: In function `yyparse':
ftpcmd.y:371: `cmdtab' undeclared (first use this function)
ftpcmd.y:371: (Each undeclared identifier is reported only once
ftpcmd.y:371: for each function it appears in.)
ftpcmd.y:383: `sitetab' undeclared (first use this function)
ftpcmd.y: At top level:
ftpcmd.y:885: `cmdtab' used prior to declaration
ftpcmd.y:936: `sitetab' used prior to declaration
ftpcmd.y:1520: warning: type mismatch with previous external decl
ftpcmd.y:683: warning: previous external decl of `print_groups'
ftpcmd.y:1520: warning: type mismatch with previous implicit declaration
ftpcmd.y:683: warning: previous implicit declaration of `print_groups'
ftpcmd.y:1520: warning: `print_groups' was previously implicitly declared 
to return `int'
make: *** [ftpcmd.o] Error 1

Any suggestions? Thanks for your help!


Thomas Tongue
ttongue@imagiware.com
http://imagiware.com/



From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 13:22:33 1996
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 m0twy06-0004KoC; Wed, 13 Mar 96 13:22 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA09132; Wed, 13 Mar 1996 15:12:49 -0600
Received: from ns0002.dnt.dialog.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA09006 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 15:11:19 -0600
Received: from nebulae.development by ns0002.dnt.dialog.com (8.6.9/SMI-4.1)
	id NAA11085; Wed, 13 Mar 1996 13:10:35 -0800
Received: by nebulae.development (5.x/SMI-SVR4)
	id AA13893; Wed, 13 Mar 1996 13:10:33 -0800
Message-Id: <9603132110.AA13893@nebulae.development>
Date: Wed, 13 Mar 1996 13:10:33 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: kerry@dnt.dialog.com (Kerry Boomsliter (SA))
To: wu-ftpd@wugate.wustl.edu
Subject: ? cannot grab passive connection ?
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

Hello,

What is a passive ftp connection?

I've built an ftp server and upon giving one user a private account
they sent me the following error.  I cannot find anything about this
in the O'Reilly book (Managing Internet Info Svcs) nor the wu-ftpd
docs.


TIA,
-- 

Kerry P. Boomsliter              kerry@dnt.dialog.com
Unix Systems Administrator       http://odyssey.dnt.dialog.com/~kerry
Knight-Ridder Information, Inc.  (415) 254-8410

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 16:03:26 1996
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 m0tx0Vn-0004TQC; Wed, 13 Mar 96 16:03 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA20534; Wed, 13 Mar 1996 17:54:57 -0600
Received: from gatekeeper.arborsoft.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA20087 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 17:49:32 -0600
Received: by gatekeeper.arborsoft.com; id PAA19155; Wed, 13 Mar 1996 15:44:35 -0500
Received: from paper.arborsoft.com(206.65.95.2) by gatekeeper.arborsoft.com via smap (g3.0.1)
	id xma019149; Wed, 13 Mar 96 15:44:25 -0500
Received: by paper.arborsoft.com (IBM OS/2 SENDMAIL VERSION 1.3.2)/1.0)
	  id AA4834; Wed, 13 Mar 96 15:50:16 -0800
Received: from Arbor with "Lotus Notes Mail Gateway for SMTP" id
  2C73717EFAE90D6D882562EC00827372; Wed, 13 Mar 96 15:50:16 
Message-Id: <9603132350.AA4834@paper.arborsoft.com>
Date: 13 Mar 96 15:49:31 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Willy Hertanu <Willy_Hertanu@arborsoft.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: question on upload statement in ftpaccess
Mime-Version: 1.0
Content-Type: Text/Plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm running into a problem whereas the files uploaded from a guest user on ftp 
doesn't have an owner/group and mode that I specified on /etc/ftpaccess. The 
owner and group follows from the parent directory and the mode is always 755. 
Any ideas?

Here is a copy of my /etc/ftpaccess file :

---------starts here
loginfails 3

class   local   real,guest,anonymous *.wustl.edu 0.0.0.0
class   remote  real,guest,anonymous *

limit   local   20  Any                 /etc/msgs/msg.toomany
limit   remote  100 SaSu|Any1800-0600   /etc/msgs/msg.toomany
limit   remote  60  Any                 /etc/msgs/msg.toomany

# readme  README*    login
# readme  README*    cwd=*

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

compress        yes             local remote
# tar             yes             local remote

# allow use of private file for SITE GROUP and SITE GPASS?
private         no

# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
passwd-check    rfc822  warn

guestgroup upuser
log commands anonymous,real,guest
log transfers anonymous,real,guest inbound,outbound
shutdown /etc/shutmsg
email admin@arborsoft.com
banner /etc/msgs/banner

# all the following default to "yes" for everybody
delete          no      guest,anonymous         # delete permission?
overwrite       no      guest,anonymous         # overwrite permission?
rename          no      guest,anonymous         # rename permission?
chmod           no      guest,anonymous         # chmod permission?
umask           no      guest,anonymous         # umask permission?

# specify the upload directory information
upload  /var/spool/ftp  *             no
upload  /var/spool/ftp  /incoming     yes     root    daemon  0600 dirs
upload /var/spool/upuser/upuserall  *  yes  root   daemon  066  dirs
upload  /var/spool/ftp  /bin          no
upload  /var/spool/ftp  /etc          no

# directory aliases...  [note, the ":" is not required]
# alias   inc:    /incoming

# cdpath
# cdpath  /incoming
# cdpath  /pub
# cdpath  /

# path-filter...
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
--------------ends

So in this case, all the files/dirs that upuserall created doesn't have an 
owner of root/daemon and the mode is 755.

Thanks for any input.


Willy Hertanu
Arbor Software

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 16:46:22 1996
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 m0tx1BL-0004TWC; Wed, 13 Mar 96 16:46 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA23201; Wed, 13 Mar 1996 18:37:29 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA23077 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 18:34:58 -0600
Received: by electric.rain.aic.net.au
	id <m0txA7N-0001TZC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 14 Mar 96 20:18 EST
Message-Id: <Pine.LNX.3.91.960314201830.7939A-100000@electric.rain.aic.net.au>
Date: Thu, 14 Mar 1996 20:18:49 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: User Login STILL failing :(
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


>From root@futra.aic.net.au Thu Mar 14 20:17:48 1996
Return-Path: <root@futra.aic.net.au>
Received: from futra.aic.net.au ([203.17.176.209]) by electric.rain.aic.net.au
	 with smtp (ident root using rfc1413) id <m0txA6O-0001TZC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 14 Mar 96 20:17 EST
Received: by futra.aic.net.au
	id <m0tx10a-000C1tC@futra.aic.net.au>
	(Smail); Thu, 14 Mar 96 10:35 EST
Message-Id: <m0tx10a-000C1tC@futra.aic.net.au>
From: root@futra.aic.net.au (Admin)
Subject: wu
To: kaneda@aic.net.au
Date: Thu, 14 Mar 1996 10:35:12 +1000 (EST)
X-Mailer: ELM [version 2.4 PL23]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 834       
X-Status: 
Status: O

My User Logins are still failing!

im about to pull my hair out, i know i have done something wrong 
(configuration wise) but i have no idea what ... here are the pertinent 
config files, if somone could see what ive done wrong and tell me, i 
would *VERY* much appreciate it

im trying to get it working on solaris2.4 x86

thanx in advance ...

my /etc/passwd entry-

ftp:x:60001:60001:anonymous ftp:/home/ftp:/bin/false


my /etc/shadow entry -
 
ftp:*:6445::::::

my /etc/shells and /usr/local/etc/shells entry

# /etc/shells: valid login shells.
# $Id: shells,v 3.1 1995/02/15 14:48:36 imurdock Exp $

#/bin/bash
/usr/bin/csh
/usr/bin/sh
#/usr/bin/es
/usr/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
#/usr/bin/zsh
/usr/bin/false
/bin/ftponly

ftpaccess, ftp.pid, ftpconversions, ftpgroups, and ftphosts are all stock 
standard, unmodified 




\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Buson>
SOWN WITH GOLD
How far these fields of rape in blossom run:
East to the moonrise, west to the setting sun!
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 13 18:44:48 1996
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 m0tx31x-0004PzC; Wed, 13 Mar 96 18:44 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA29097; Wed, 13 Mar 1996 20:36:10 -0600
Received: from scapa.cs.ualberta.ca by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id TAA26587 for <wu-ftpd@wugate.wustl.edu>; Wed, 13 Mar 1996 19:53:04 -0600
Received: from st-michael.cs.ualberta.ca by scapa.cs.ualberta.ca id <13064-9277>; Wed, 13 Mar 1996 18:53:01 -0700
Message-Id: <96Mar13.185301mst.13064-9277+99@scapa.cs.ualberta.ca>
Date: Wed, 13 Mar 1996 18:52:56 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Easton <jim@cs.ualberta.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: coyote@step.polymtl.ca, jim@cs.ualberta.ca (Jim Easton)
Subject: Re: "Too many users already logged in"
In-Reply-To: <Pine.SOL.3.91.960313140100.27161A-100000@step.polymtl.ca> from "Vincent Cojot" at Mar 13, 96 02:06: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

> > > 
> > > Les processus ne resent pas en l'air ?  Moi j'en ai des centaines chaque
> > > semaine de comme cela.
> 
> It's something like:
> 
> "The processes don't.....  [that I did not understand, even though I am a
> native french speaker, probably a typo or missing word]." 
> 
> "I have got hundreds [ of dead processes, probably] like that every week." 
> 
Thank you for the translation.  Unfortunately what he said is not
horribly useful.

What we have is an ftp-daily that runs every night and amongst other
things kills off these processes if they are older than 24 hours.
Not too elegant but it works.  I would really like to know what's
causing it though.

> > Could someone translate this to English please.

Depends what you mean by English I guess.  British, Canadian
American, Austrailian ...

	Jim

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 14 05:06:44 1996
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 m0txCjp-0004GSC; Thu, 14 Mar 96 05:06 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA21472; Thu, 14 Mar 1996 06:58:22 -0600
Received: from thoth.mch.sni.de by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA21061 for <wu-ftpd@wugate.wustl.edu>; Thu, 14 Mar 1996 06:47:21 -0600
Received: from aton.mch.sni.de by thoth.mch.sni.de with SMTP id AA12812
  (5.67a/IDA-1.5 for <@mail.mch.sni.de:wu-ftpd@wugate.wustl.edu>); Thu, 14 Mar 1996 13:47:19 +0100
Received: by aton.mch.sni.de (950911.SGI.8.6.12.PATCH825/930416.SGI.AUTO)
	for wu-ftpd@wugate.wustl.edu id NAA16814; Thu, 14 Mar 1996 13:47:16 +0100
Message-Id: <199603141247.NAA16814@aton.mch.sni.de>
Date: Thu, 14 Mar 1996 13:47:15 +0100 (MET)
Reply-To: Winfried.Magerl@mch.sni.de
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Winfried.Magerl@mch.sni.de (Winfried Magerl)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: "Too many users already logged in"
In-Reply-To: <96Mar13.185301mst.13064-9277+99@scapa.cs.ualberta.ca> from "Jim Easton" at Mar 13, 96 06:52:56 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Thank you for the translation.  Unfortunately what he said is not
> horribly useful.
> 
> What we have is an ftp-daily that runs every night and amongst other
> things kills off these processes if they are older than 24 hours.
> Not too elegant but it works.  I would really like to know what's
> causing it though.

Since there are regular mails in this list with a patch for hanging ftpd's
I never have this problem on our hosts. We run the ftp-server on
SINIX5.42 (SVR4-based) without any hanging ftpd (after using the patch !!).
I don't know, why this patch don't find the way to the beta-releases
of 2.4.2 :-(
By the way, I see the Problem also an IRIX4.05 and IRIX5.2 .....
But as long as there exist friendly people on this list who mail the
patch short after a new beta-release, it's no problem for me.

regards

	winfried

-- 
Winfried Magerl - Internet Administration
Siemens Business Services, 81739 Munich, Germany
Internet-Mail: Winfried.Magerl@mch.sni.de

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 14 06:24:22 1996
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 m0txDwx-0004LDC; Thu, 14 Mar 96 06:24 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA25403; Thu, 14 Mar 1996 08:15:44 -0600
Received: from paris.tactech.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA25193 for <wu-ftpd@wugate.wustl.edu>; Thu, 14 Mar 1996 08:10:58 -0600
Received: from london.tactech.com by paris.tactech.com (5.0/SMI-SVR4)
	id AA13271; Thu, 14 Mar 1996 06:15:51 -0800
Received: from newport.tactech.com by london.tactech.com (5.0/SMI-SVR4)
	id AA02412; Thu, 14 Mar 1996 06:10:21 +0800
Received: by newport.tactech.com (5.0/SMI-SVR4)
	id AA14955; Thu, 14 Mar 1996 06:08:23 +0800
Message-Id: <Pine.3.89.9603140641.A14907-0100000@newport>
Date: Thu, 14 Mar 1996 06:08:21 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Steve R. Harding" <sharding@paris.tactech.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: User Login STILL failing :(
In-Reply-To: <Pine.LNX.3.91.960314201830.7939A-100000@electric.rain.aic.net.au>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Thu, 14 Mar 1996, Fundamental wrote:

> My User Logins are still failing!
> 
> im about to pull my hair out, i know i have done something wrong 
> (configuration wise) but i have no idea what ... here are the pertinent 
> config files, if somone could see what ive done wrong and tell me, i 
> would *VERY* much appreciate it
> 
> im trying to get it working on solaris2.4 x86
> 
> thanx in advance ...
> 
> my /etc/passwd entry-
> 
> ftp:x:60001:60001:anonymous ftp:/home/ftp:/bin/false
> 
> my /etc/shadow entry -
>  
> ftp:*:6445::::::
> 
> my /etc/shells and /usr/local/etc/shells entry
> 
> # /etc/shells: valid login shells.
> # $Id: shells,v 3.1 1995/02/15 14:48:36 imurdock Exp $
> 
> #/bin/bash
> /usr/bin/csh
> /usr/bin/sh
> #/usr/bin/es
> /usr/bin/ksh
> /usr/bin/rc
> /usr/bin/tcsh
> #/usr/bin/zsh
> /usr/bin/false
> /bin/ftponly
> 

You have /bin/false as ftp's login shell, but only /usr/bin/false in 
/etc/shells.  Could this be the problem?

-------------------------------------------------------------------------------
Steve Harding                                      Email: sharding@tactech.com
TACTech, Inc.                                      Voice: (714) 974-7676 ext.15
Yorba Linda, CA


From owner-wu-ftpd@wugate.wustl.edu Thu Mar 14 15:36:57 1996
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 m0txMZi-0004TbC; Thu, 14 Mar 96 15:36 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA02825; Thu, 14 Mar 1996 17:26:34 -0600
Received: from futra.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA02388 for <wu-ftpd@wugate.wustl.edu>; Thu, 14 Mar 1996 17:18:25 -0600
Received: from [203.17.176.204] ([203.17.176.204]) by futra.aic.net.au
	 with smtp id <m0txMJ6-000C1vC@futra.aic.net.au>
	(Smail); Fri, 15 Mar 96 09:19 EST
Message-Id: <v01530501ab8c6dc2ef5b@[203.17.176.204]>
Date: Wed, 15 Mar 1995 11:27:47 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: kaneda@electric.rain.aic.net.au (Fundamental)
To: wu-ftpd@wugate.wustl.edu
Subject: wuFTPD login failure .. file restriction?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

my wuFTPD is still rejecting valid user logins .. could there be a file
somewhere on my system restricting ftp access? im runing solaris2.4 and
soon to be running solaris 2.5

thanx


From owner-wu-ftpd@wugate.wustl.edu Thu Mar 14 15:50:38 1996
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 m0txMmx-000D4aC; Thu, 14 Mar 96 15:50 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA03759; Thu, 14 Mar 1996 17:42:15 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA03007 for <wu-ftpd@mail.wustl.edu>; Thu, 14 Mar 1996 17:28:25 -0600
Received: from gore.navisoft.com by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I2C52R9ABK001A2O@wunet.wustl.edu>; Thu, 14 Mar 1996 17:30:13 -0500 (CDT)
Received: from dork.navisoft.com (dork.navisoft.com [199.221.53.35])
 by navisoft.com (8.7.1/8.7.1) with SMTP id PAA16868 for
 <wu-ftpd@wunet.wustl.edu>; Thu, 14 Mar 1996 15:28:20 -0800 (PST)
Message-Id: <3148AB93.718@navisoft.com>
Date: Thu, 14 Mar 1996 15:28:19 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jayme Cox <jayme@navisoft.com>
To: wu-ftpd@wunet.wustl.edu
Subject: Upload Only Account
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Sender: jayme@navisoft.com
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-URL: http://freeway.oact.hq.nasa.gov/wuftp/mar/msg00042.html
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Using wu-ftpd 2.4.2-beta9 on Linux and I'd like to know if there is a way to create an
upload only user. They should be able to browse around the directory structure, but
simple can't do any gets. Is this possible?

Thanks,
			--Jayme

--
Jayme Cox <jayme@navisoft.com>

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 10:49:27 1996
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 m0txeZ1-000D9nC; Fri, 15 Mar 96 10:49 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA02498; Fri, 15 Mar 1996 12:38:03 -0600
Received: from castor.ipac.caltech.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA01871 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 12:30:12 -0600
Received: from starman.ipac.caltech.edu (starman.ipac.caltech.edu [134.4.40.78]) 
	  by castor.ipac.caltech.edu (8.7.4/8.6.4)
	  with ESMTP id KAA16192; Fri, 15 Mar 1996 10:30:04 -0800 (PST)
Received: (jrl@localhost) by starman.ipac.caltech.edu (8.6.12/8.6.4) id KAA12670; Fri, 15 Mar 1996 10:30:02 -0800
Message-Id: <199603151830.KAA12670@starman.ipac.caltech.edu>
Date: Fri, 15 Mar 1996 10:30:02 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jack Lampley <jrl@ipac.caltech.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: jrl@ipac.caltech.edu
Subject: question on path-filter characters
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



Is there a security or other functional reason for not using the "+" sign in
the ftpaccess path-filter character list for ftp? I need to use it and was
just wondering if there was a reason it wasn't part of the default set. I am
running wu-ftpd-2.4.

Thanks,
Jack Lampley
IPAC System Administrator
Caltech

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 15:24:29 1996
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 m0txir5-000D7LC; Fri, 15 Mar 96 15:24 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA23251; Fri, 15 Mar 1996 17:15:22 -0600
Received: from cps201.cps.cmich.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA23049 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 17:12:25 -0600
Received: from cps201 (cps201.cps.cmich.edu [141.209.20.201]) by cps201.cps.cmich.edu (8.6.12/8.6.12) with SMTP id SAA05489 for <wu-ftpd@mail.wustl.edu>; Fri, 15 Mar 1996 18:12:24 -0500
Message-Id: <Pine.SUN.3.91.960315181008.5437A-100000@cps201>
Date: Fri, 15 Mar 1996 18:12:24 -0500 (EST)
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
Subject: help please :)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mbailey@cps201
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


would someone please tellme where I can find the academ version of wu-ftpd..

I am getting ready to install on our prime ftp server and would really 
like to use these instead of the stock code... Thanks

Matthew S. Bailey
mbailey@cps.cmich.edu
"Yes, I like new toys" after paying with his new 8 processor pentium. 


From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 16:02:40 1996
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 m0txjS8-0004KgC; Fri, 15 Mar 96 16:02 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA25724; Fri, 15 Mar 1996 17:53:46 -0600
Received: from unix1.ism.com.br by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA25540 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 17:51:40 -0600
Received: from dial008.ism.com.br (dial008.ism.com.br [200.255.211.108]) by unix1.ism.com.br (8.7.1/8.7.1) with SMTP id UAA07645 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 20:51:21 -0300
Message-Id: <199603152351.UAA07645@unix1.ism.com.br>
Date: Fri, 15 Mar 1996 20:51:21 -0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: compland@ism.com.br (Helio Coelho Jr. - CompuLand Informatica)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: help please :)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: compland@ism.com.br (Unverified)
X-Mailer: Windows Eudora Version 1.4.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Go to ftp:  wuarchive@wustl.edu /packages/wuarchive-ftpd

regards,
Helio.


>
>would someone please tellme where I can find the academ version of wu-ftpd..
>
>I am getting ready to install on our prime ftp server and would really 
>like to use these instead of the stock code... Thanks
>
>Matthew S. Bailey
>mbailey@cps.cmich.edu
>"Yes, I like new toys" after paying with his new 8 processor pentium. 
>
>
>

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 17:18:06 1996
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 m0txkd9-000DPqC; Fri, 15 Mar 96 17:18 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA00337; Fri, 15 Mar 1996 19:09:03 -0600
Received: from sloth-bear.LCS.MIT.EDU.LCS.MIT.EDU by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA29255 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 18:55:26 -0600
Received: by sloth-bear.LCS.MIT.EDU.LCS.MIT.EDU (4.1/SMI-4.1)
	id AA10531; Fri, 15 Mar 96 19:55:24 EST
Message-Id: <9603160055.AA10531@sloth-bear.LCS.MIT.EDU.LCS.MIT.EDU>
Date: Fri, 15 Mar 1996 19:55:23 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ed Hurley <hurley@Goldilocks.LCS.MIT.EDU>
To: wu-ftpd@wugate.wustl.edu
Cc: mbailey@cps.cmich.edu
Subject: Re: help please :) 
In-Reply-To: Your message of "Fri, 15 Mar 1996 18:12:24 EST."
             <Pine.SUN.3.91.960315181008.5437A-100000@cps201> 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



try ftp.academ.com/pub/wu-ftpd

-ed

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 18:11:09 1996
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 m0txlST-0004QyC; Fri, 15 Mar 96 18:11 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA03928; Fri, 15 Mar 1996 20:02:16 -0600
Received: from light.lightlink.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id TAA03651 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 19:56:38 -0600
Received: from lightlink.com
  (homer@localhost) by light.lightlink.com (8.6.12/8.6.12) id UAA12642; Fri, 15 Mar 1996 20:56:37 -0500
Message-Id: <Pine.SUN.3.91.960315205434.12472B-100000@light.lightlink.com>
Date: Fri, 15 Mar 1996 20:56:36 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Interrupted uploads
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


    I am getting continuous complaints about interrupted uploads
to ftp particularly for big files.  They are not limited to modem
uploads, but also over ethernet from other sites.
 
    The evidence of these broken uploads is a continuous accumulation of
hung ftpd processes which I have to clear out periodically, something
y'all have been talking about recently. 

    One thing that has not been brought up is the earlier problem of
the broken connections in the first place.

    This seems to be a serious problem that I can not discount as
dirty lines any more.
 
     Homer

------------------------------------------------------------------------------
Homer Wilson Smith     News, Web, Telnet      Art Matrix - Lightlink
(607) 277-0959         SunOS 4.1.4 Sparc 20   Internet Access, Ithaca NY
homer@lightlink.com    info@lightlink.com     http://www.lightlink.com

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 18:12:30 1996
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 m0txlTm-000F8DC; Fri, 15 Mar 96 18:12 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA04029; Fri, 15 Mar 1996 20:03:14 -0600
Received: from cps201.cps.cmich.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id UAA03877 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 20:01:18 -0600
Received: from cps201 (cps201.cps.cmich.edu [141.209.20.201]) by cps201.cps.cmich.edu (8.6.12/8.6.12) with SMTP id VAA08469; Fri, 15 Mar 1996 21:01:16 -0500
Message-Id: <Pine.SUN.3.91.960315205756.8379B-100000@cps201>
Date: Fri, 15 Mar 1996 21:01:11 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Matthew Bailey <mbailey@cps.cmich.edu>
To: Ed Hurley <hurley@Goldilocks.LCS.MIT.EDU>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: help please :) 
In-Reply-To: <9603160055.AA10531@sloth-bear.LCS.MIT.EDU.LCS.MIT.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mbailey@cps201
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 15 Mar 1996, Ed Hurley wrote:

> 
> 
> try ftp.academ.com/pub/wu-ftpd

OK I have beta-9 and now I have this _tiny_ problem

I would like to use virtual portion of this however on solaris 2.5 x86 
this blows up... with MAXNAMELEN being redefined.....

Then I decided to build a single now and worry about the rest laster so I 
did ./build sol CC=gcc CFLAGS=-02 
and this blew up for no apparent reason..

However doing ./build sol CC=gcc  everything compiles fine.. (few warnings)

any clues...

Also if the people at ACADEM.COM are on this list I would be more than 
willing to give you an account on this machine so you can possibly see if 
you can get it to compile....

Thanks
Matthew S. Bailey

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 19:22:48 1996
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 m0txmZo-0004R0C; Fri, 15 Mar 96 19:22 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id VAA07856; Fri, 15 Mar 1996 21:14:06 -0600
Received: from universal-woman.academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id VAA07707 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 21:11:23 -0600
Received: (from news@localhost) by universal-woman.academ.com (8.7.1/8.7.1) id VAA07496; Fri, 15 Mar 1996 21:11:21 -0600 (CST)
Message-Id: <4idbgp$7a6@universal-woman.academ.com>
Date: 16 Mar 1996 03:11:21 GMT
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: Interrupted uploads
References: <4id7ff$2ma@universal-woman.academ.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <4id7ff$2ma@universal-woman.academ.com> "Homer W. Smith" <homer@lightlink.com> writes:
>
>    I am getting continuous complaints about interrupted uploads
>to ftp particularly for big files.  They are not limited to modem
>uploads, but also over ethernet from other sites.

When reporting any problems, it is most helpful to include some details
about your environment. What kind of computer are you using? What OS is
running on the computer? What version of wu-ftpd are you running? What
version of a c compiler did you use when building it?

Without this information, it is impossible to do much to help you with
your problem.
-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: {mcsun|amdahl}!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 19:25:32 1996
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 m0txmcT-000FBGC; Fri, 15 Mar 96 19:25 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id VAA08052; Fri, 15 Mar 1996 21:16:47 -0600
Received: from universal-woman.academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id VAA07750 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 21:12:26 -0600
Received: (from news@localhost) by universal-woman.academ.com (8.7.1/8.7.1) id VAA07501; Fri, 15 Mar 1996 21:12:25 -0600 (CST)
Message-Id: <4idbip$7ab@universal-woman.academ.com>
Date: 16 Mar 1996 03:12:25 GMT
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: help please :)
References: <4id7h9$2ug@universal-woman.academ.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <4id7h9$2ug@universal-woman.academ.com> Matthew Bailey <mbailey@cps.cmich.edu> writes:
>On Fri, 15 Mar 1996, Ed Hurley wrote:
>Also if the people at ACADEM.COM are on this list I would be more than 
>willing to give you an account on this machine so you can possibly see if 
>you can get it to compile....

Okey. Let me know. I have not tried to make it work on Solaris 2.5 of any
kind as yet.



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

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 20:23:47 1996
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 m0txnWp-0004PHC; Fri, 15 Mar 96 20:23 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id WAA11091; Fri, 15 Mar 1996 22:14:49 -0600
Received: from owlman.academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id WAA10836 for <wu-ftpd@wugate.wustl.edu>; Fri, 15 Mar 1996 22:08:55 -0600
Received: (from sob@localhost) by owlman.academ.com (8.7.4/8.7.1) id WAA14203; Fri, 15 Mar 1996 22:08:40 -0600 (CST)
Message-Id: <199603160408.WAA14203@owlman.academ.com>
Date: Fri, 15 Mar 1996 22:08:40 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wu-ftpd-bugs@academ.com (Stan Barber)
To: IAP@VMA.CC.ND.EDU, wu-ftpd@wugate.wustl.edu, cert@cert.org
Subject: Academ version of wu-ftpd 2.4 Release 2 Beta 10 available for testing 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

BETA 10 is now available. It has been tested on the following systems:

Solaris 2.4, SunOS 4.1.4, NetBSD 1.1, FreeBSD 2.0.5-RELEASE, BSD/OS 2.0.1,
BSD/OS 2.1, BSD/OS 1.1, and Linux 1.2.13.

It has been compiled, but not tested on the following systems:

IRIX 5.3

I would like to hear from folks with access to HP-UX, Digital Unix, IRIX
and AIX in particular. Please send mail to the wu-ftpd-bugs@academ.com
address.

If hardware companies wish to donate equipment running their proprietary
UNIX derivatives to me for doing maintenance work on this and the other
packages I maintain (NNTP, RN, etc), please contact me directly to discuss.

If software companies that sell UNIX derivatives I don't to which I don't
have access wish to donain copies of their UNIX derivative to me for the
purposes of doing maintenace work on this and the other packages I maintain,
please contact me directly to discuss.

This is another release candidate.

The location is: 
	ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-10.tar.Z

NOTE: This directory is protected. Attempts to use a directory listing 
command will fail.

                   -0-FIXES IN THIS RELEASE-0-


Fixed the output of "site help" command to return the email address listed
in the "email" entry from the ftpaccess file (if available). Bug reported
by Andras Salamon <andras@is.co.za>. 

Fixed some configuration problems for Linux. Based on a patch supplied by
Jos Vos <jos@xos.nl>.

Added back an idle timeout routine that appears to compile cleanly on
all the systems I test on. Patch supplied by Vidiot <brown@ftms.COM>. 

Modified support for virtual domains as suggested by Marc G. Fournier 
<scrappy@ki.net>. Modified the VIRTUAL.FTP.SUPPPORT support file and the
man pages to reflect this change.

Added a number of small changes suggested by a patch supplied by 
Marc G. Fournier <scrappy@ki.net> for FreeBSD.

Made some changes for AIX that I can't verify since I don't have AIX.
Patches suggested by information from Nik Conwell <nik@acs.bu.edu>.


From owner-wu-ftpd@wugate.wustl.edu Fri Mar 15 23:36:37 1996
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 m0txqXL-000F3CC; Fri, 15 Mar 96 23:36 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA20324; Sat, 16 Mar 1996 01:26:37 -0600
Received: from cassie by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id BAA19959 for <wu-ftpd@wugate.wustl.edu>; Sat, 16 Mar 1996 01:15:36 -0600
Received: by cassie (8.6.12/ADD-8.6.12)
	id BAA01890; Sat, 16 Mar 1996 01:15:33 -0600
Message-Id: <199603160715.BAA01890@cassie>
Date: Sat, 16 Mar 1996 01:15:33 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dkrause@protocom.com (Dan Krause)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: help please :)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

If your message is correct, then CFLAGS=-02 should be CFLAGS=-O2 (letter OH).

From owner-wu-ftpd@wugate.wustl.edu Sat Mar 16 09:04:02 1996
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 m0txzOX-0004OnC; Sat, 16 Mar 96 09:03 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA09822; Sat, 16 Mar 1996 10:55:30 -0600
Received: from unix1.ism.com.br by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA09699 for <wu-ftpd@wugate.wustl.edu>; Sat, 16 Mar 1996 10:50:20 -0600
Received: from dial002.ism.com.br (dial002.ism.com.br [200.255.211.102]) by unix1.ism.com.br (8.7.1/8.7.1) with SMTP id NAA11436 for <wu-ftpd@mail.wustl.edu>; Sat, 16 Mar 1996 13:50:12 -0300
Message-Id: <199603161650.NAA11436@unix1.ism.com.br>
Date: Sat, 16 Mar 1996 13:50:12 -0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: compland@ism.com.br (Helio Coelho Jr. - CompuLand Informatica)
To: wu-ftpd@wugate.wustl.edu
Subject: Trouble with wu-ftpd
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: compland@ism.com.br
X-Mailer: Windows Eudora Version 1.4.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi:

   I just installed wu-ftpd in my server but, when I try to connect from a 
client, I get:

  Connected to xxxxx.xxxxx.xx
220 - xxxxxxxxxxxxxxxxxxxxxxxx
220 -
421 service not available, remote server has closed connection   <<<---

Any clue ?

TIA !

Helio.

From owner-wu-ftpd@wugate.wustl.edu Sat Mar 16 15:09:53 1996
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 m0ty56c-000F71C; Sat, 16 Mar 96 15:09 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA26017; Sat, 16 Mar 1996 17:01:30 -0600
Received: from angus.gigotech.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id QAA25854 for <wu-ftpd@wugate.wustl.edu>; Sat, 16 Mar 1996 16:59:14 -0600
Received: from angus (cjwoods@localhost.gigotech.net [127.0.0.1]) by angus.gigotech.net (8.6.12/8.6.9) with SMTP id RAA11097 for <wu-ftpd@wugate.wustl.edu>; Sat, 16 Mar 1996 17:59:05 -0500
Message-Id: <314B47B7.56583B60@tiac.net>
Date: Sat, 16 Mar 1996 17:59:03 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chris Woods <cjwoods@tiac.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: help please :)
References: <4id7h9$2ug@universal-woman.academ.com> <4idbip$7ab@universal-woman.academ.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: cjwoods@gigotech.net
X-Mailer: Mozilla 2.0 (X11; I; Linux 1.3.52 i486)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Stan Barber wrote:

> Okey. Let me know. I have not tried to make it work on Solaris 2.5 of any
> kind as yet.

I compiled it on Solaris 2.5 just fine, and it is working well, chroot()
dir's, ftpconversions, and all.

-- 
      Chris Woods				cjwoods@gigotech.net
	  "There's always too much month at the end of the money."
   Don't sit back and let the government take away your right to speech.
		 See http://www.eff.org/blueribbon.html.

From owner-wu-ftpd@wugate.wustl.edu Sat Mar 16 16:20:36 1996
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 m0ty6D3-0004WSC; Sat, 16 Mar 96 16:20 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA29222; Sat, 16 Mar 1996 18:12:05 -0600
Received: from light.lightlink.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA29089 for <wu-ftpd@wugate.wustl.edu>; Sat, 16 Mar 1996 18:08:48 -0600
Received: from lightlink.com
  (homer@localhost) by light.lightlink.com (8.6.12/8.6.12) id TAA00972; Sat, 16 Mar 1996 19:08:46 -0500
Message-Id: <Pine.SUN.3.91.960316190716.530F-100000@light.lightlink.com>
Date: Sat, 16 Mar 1996 19:08:45 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Re: system 7.5 update 2.0 (fwd)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


    People talking about chronic hangs uploading to ftpd, a serious
problem on our system.  Some of it is client side software as
the below discussion indicates.

    light is our main server.

At 18:35 3/16/96, K. wrote:
> Yum yum, what fun we can have with fetch!
>
> I guess thats what you get from an Ivy League university computer department!
>
> K.

K.,

Well, at this point I'm blaming Apple more than anyone else.

The problem happens with both Anarchie and Fetch -- and only with light.
I'd be tempted to blame light's ftpd, but even if it were flakey -- and I'm
not convinced it is -- the Mac still shouldn't be hanging and needing
rebooting.

But yes, it is annoying that Fetch is so much slower when it makes Open
Transport calls.  In this case it hangs uploading to light too.

I'm tempted to put together an FTP tool using some sample code I've got
lying around, because that would either give me something that works or a
framework in which to learn more about what's going on.  But life is short
...

D.

From owner-wu-ftpd@wugate.wustl.edu Sat Mar 16 17:18:43 1996
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 m0ty77H-000F3ZC; Sat, 16 Mar 96 17:18 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA01997; Sat, 16 Mar 1996 19:00:26 -0600
Received: from shell1.eznet.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA00445 for <wu-ftpd@wugate.wustl.edu>; Sat, 16 Mar 1996 18:33:45 -0600
Received: (from dfoster@localhost) by shell1.eznet.net (8.7.5/8.6.9) id TAA02867; Sat, 16 Mar 1996 19:33:43 -0500
Message-Id: <199603170033.TAA02867@shell1.eznet.net>
Date: Sat, 16 Mar 1996 19:33:42 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Foster <dfoster@eznet.net>
To: wu-ftpd@wugate.wustl.edu
Cc: dfoster@eznet.net
Subject: Re: system 7.5 update 2.0 (fwd)
In-Reply-To: <Pine.SUN.3.91.960316190716.530F-100000@light.lightlink.com> from "Homer W. Smith" at Mar 16, 96 07:08:45 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Whoops! I overheard Homer W. Smith saying:
>     People talking about chronic hangs uploading to ftpd, a serious
> problem on our system.  Some of it is client side software as
> the below discussion indicates.

[discussion snipped for brevity]

Do you happen to have a shell account(Unix or VMS, whatever) where you can
test to see if the problem occurs with that as well. If so, then likely it
is ftpd...otherwise, I would attribute it to the combination of OpenTransport/
Fetch. Remember...OpenTransport is *really* new and is as such, has plenty
of issues still to be resolved. I finally went OT yuesterday..Fetch
works well for me, although I identified at least one scenario where a
screwy program can 'halt' the data stream for other programs, causing them
to go nuts. Fetch handled it pretty well, but didn't continue.

There's a program that cleans up hanging open TCP connections whenever a
program is invoked - mail me for a copy if you're still having problems.

-Dan

From owner-wu-ftpd@wugate.wustl.edu Sun Mar 17 12:11:46 1996
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 m0tyOnm-0004TsC; Sun, 17 Mar 96 12:11 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA13332; Sun, 17 Mar 1996 14:03:00 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA13058 for <wu-ftpd@wugate.wustl.edu>; Sun, 17 Mar 1996 13:53:38 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id UAA21973; Sun, 17 Mar 1996 20:54:16 +0100
Message-Id: <199603171954.UAA21973@pizza.hvu.nl>
Date: Sun, 17 Mar 1996 20:54:16 +0100 (MET)
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: Trouble with wu-ftpd
In-Reply-To: <199603161650.NAA11436@unix1.ism.com.br> from "Helio Coelho Jr. - CompuLand Informatica" at Mar 16, 96 01:50:12 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Helio Coelho Jr. - CompuLand Informatica, who wrote :

>    I just installed wu-ftpd in my server but, when I try to connect from a 
> client, I get:
> 
>   Connected to xxxxx.xxxxx.xx
> 220 - xxxxxxxxxxxxxxxxxxxxxxxx
> 220 -
> 421 service not available, remote server has closed connection   <<<---
> 
> Any clue ?

Have a look in your syslog.. first hunch is that the ftpd coredumps.

Looking in your syslog (if set at appropiate levels) can help debug a lot
of problems.

                                              Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 18 06:06:23 1996
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 m0tyfZj-0004LNC; Mon, 18 Mar 96 06:06 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id HAA26859; Mon, 18 Mar 1996 07:57:23 -0600
Received: from chico.rediris.es by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id HAA26435 for <wu-ftpd@wugate.wustl.edu>; Mon, 18 Mar 1996 07:48:50 -0600
Received: from  by chico.rediris.es (8.6.12/SMI-SVR4)
	id OAA09272; Mon, 18 Mar 1996 14:48:45 +0100
Message-Id: <960318144644.ZM11847@unknown.zmail.host>
Date: Mon, 18 Mar 1996 14:46:42 +0100
Reply-To: Javier.Puche@rediris.es
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Javier Puche" <javier.puche@rediris.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Symbolic links and wu-ftpd
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail for Macintosh (3.3.0 20Oct95)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear people at wu-ftpd list,

 I subscribed long ago this list looking for a solution on the problem I
report later, I did already ask for it time ago, but got no solution.
Amongst the interesting discussions in this list I have never heard
again on the topic I posed, although I thought it was a very common
problem to ftp-masters. Ok, as I have found out more things I tell you
the whole thing:

 Having symlinks on your ftp hierarchy is a cause of confusions to
ftp-users due to the way wu-ftpd treats them. wu-ftpd as well as some
shells does a real 'cd' each time you get into a directory, so if we are
in a directory 'os' with subdirectories:

linux -> symlink to ../../mirror/linux
FreBSD
...

and we do a cd into linux and then a 'cd ..' back, one does not appear
at 'so' but at mirror, so you go forward and backward and appear in
another place.

 Bash, funet-ftpd and others treat this problem by not doing actual 'cd'
but keeping somewhere the path where you are, and applying it to the
commands as needed, while maintaining actual path to the root of the
ftp. You have to add code for doing the changes in the path variable
every time you do a 'cd' or similar.

 A possible solution is to do NFS loopback mounts or just loopback mounts
in the operating systems that support it ( Solaris lofs ). This solution
works right, but it gets unmaneagable when having hundreds of symlinks (
this comes when you have contents accesible through different structures
).

 As once I saw an ftp site (sunsite.doc.ic.ac.uk) that runs wu-ftpd and
treats symlinks this way, I asked their managers (wizards@doc.ic.ac.uk)
for how they do it. After several messages in a wide range of time I got
response, telling me they patched the server and posted the patches to
the people who maintains wu-ftpd, and I should get them from there.

 I sent an e-mail to the people who maintained wu-ftpd in the past ( I
got the address from http://freeway.oact.hq.nasa.gov/wuarchive.html ),
but got no response. Maybe I did not send it to the correct place.

 As many people here is maintaining the current development of wu-ftpd, I
would appreciate a lot if someone can tell me anything about those
patches. 

 I would also like to know if someone has developed patches for directory
names hidding.

 In case no one has ever heard of that I would like to get advice on
patching wu-ftpd, i.e. how to do it for making it useful for people
other than me.

Thanks for your time.

Regards,


Javier Puche.
RedIRIS-CSIC. Spanish Academic & Research Network.
MADRID.
Spain.

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 18 07:00:33 1996
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 m0tygQ9-0004SvC; Mon, 18 Mar 96 07:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA01605; Mon, 18 Mar 1996 08:51:08 -0600
Received: from letterbox.rl.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA01472 for <wu-ftpd@wugate.wustl.edu>; Mon, 18 Mar 1996 08:48:52 -0600
Received: from unixfe-e.rl.ac.uk by letterbox.rl.ac.uk with SMTP (PP) 
          id <sg.07498-0@letterbox.rl.ac.uk>; Mon, 18 Mar 1996 14:38:41 +0000
Received: by unixfe.cc.rl.ac.uk (UK-Smail 3.1.28.1/2) 
          id <m0tyg52-0000Y7C@unixfe.cc.rl.ac.uk>; Mon, 18 Mar 96 14:38 GMT
Message-Id: <m0tyg52-0000Y7C@unixfe.cc.rl.ac.uk>
Date: Mon, 18 Mar 1996 14:38:40 +0000 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mike Ellwood, CCLRC, Rutherford Appleton Laboratory, GB" <mwe@unixfe.rl.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Interrupted uploads
In-Reply-To: <Pine.SUN.3.91.960315205434.12472B-100000@light.lightlink.com> from "Homer W. Smith" at Mar 15, 96 08:56:36 pm
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

> 
> 
>     I am getting continuous complaints about interrupted uploads
> to ftp particularly for big files.  They are not limited to modem
> uploads, but also over ethernet from other sites.
>  
>     The evidence of these broken uploads is a continuous accumulation of
> hung ftpd processes which I have to clear out periodically, something
> y'all have been talking about recently. 
> 
>     One thing that has not been brought up is the earlier problem of
> the broken connections in the first place.
> 
>     This seems to be a serious problem that I can not discount as
> dirty lines any more.
>  

Same here. Do you get "lost connection" messages in the debug log? 

It would seem that there is no retry facility in the protocol,
at least not an effective one. (Anyone more knowledgeable care
to comment?)
Is there potential for improvement here in a future BETA?

Mike.Ellwood@rl.ac.uk
(actually running the latest "production" version, not any of
 the more recent BETAs).

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 18 07:42:20 1996
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 m0tyh4Y-0004ODC; Mon, 18 Mar 96 07:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA04545; Mon, 18 Mar 1996 09:33:22 -0600
Received: from epochal by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA04266 for <wu-ftpd@wugate.wustl.edu>; Mon, 18 Mar 1996 09:29:43 -0600
Received: from triumph.doc.ic.ac.uk [146.169.24.1] 
	by epochal with smtp (Exim 0.41 #1)
	id E0tyeax-0006rt-00; Mon, 18 Mar 1996 13:03:31 +0000
Message-Id: <314D812A.4487EB71@doc.ic.ac.uk>
Date: Mon, 18 Mar 1996 15:28:42 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lee McLoughlin <lmjm@doc.ic.ac.uk>
To: Javier.Puche@rediris.es
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Symbolic links and wu-ftpd
References: <960318144644.ZM11847@unknown.zmail.host>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: lmjm@wugate.wustl.edu
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Javier Puche wrote:
>  As once I saw an ftp site (sunsite.doc.ic.ac.uk) that runs wu-ftpd and
> treats symlinks this way, I asked their managers (wizards@doc.ic.ac.uk)
> for how they do it. After several messages in a wide range of time I got
> response, telling me they patched the server and posted the patches to
> the people who maintains wu-ftpd, and I should get them from there.

I think it would be best if the Academ people added my work into their
definitive version.

However I'll see about making a version of my patches available, relative
to the current Academ release (which I think is 2.4.2-beta-10).

I'll email to this list when its done and where to find it.

	Lee

--
Lee McLoughlin.                         Phone: +44 171 594 8388
IC-Parc, Imperial College,              Fax:   +44 171 594 8449
South Kensington, London. SW7 2BZ. UK.  Email: L.McLoughlin@doc.ic.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 18 09:43:00 1996
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 m0tyixL-000F5AC; Mon, 18 Mar 96 09:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA13646; Mon, 18 Mar 1996 11:33:38 -0600
Received: from universal-woman.academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA13288 for <wu-ftpd@wugate.wustl.edu>; Mon, 18 Mar 1996 11:29:29 -0600
Received: (from news@localhost) by universal-woman.academ.com (8.7.1/8.7.1) id LAA23690; Mon, 18 Mar 1996 11:29:28 -0600 (CST)
Message-Id: <4ik6hn$n48@universal-woman.academ.com>
Date: 18 Mar 1996 17:29:27 GMT
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: Symbolic links and wu-ftpd
References: <4ijvp8$fr0@universal-woman.academ.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <4ijvp8$fr0@universal-woman.academ.com> Lee McLoughlin <lmjm@doc.ic.ac.uk> writes:
>I think it would be best if the Academ people added my work into their
>definitive version.
>
>However I'll see about making a version of my patches available, relative
>to the current Academ release (which I think is 2.4.2-beta-10).
>
>I'll email to this list when its done and where to find it.
>
>	Lee

I am trying hard not to add to many new features to the current release
so I can get it to release and move on to version 2.5. I would be delighted
to put such features into release 2.5 (which is after 2.4.2 becomes release).

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

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 18 13:09:52 1996
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 m0tymBN-0004IgC; Mon, 18 Mar 96 13:09 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA29204; Mon, 18 Mar 1996 14:53:47 -0600
Received: from taz.hyperreal.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA28268 for <wu-ftpd@wugate.wustl.edu>; Mon, 18 Mar 1996 14:42:01 -0600
Received: by taz.hyperreal.com (8.6.12/8.6.5) id MAA01827; Mon, 18 Mar 1996 12:42:00 -0800
Message-Id: <199603182042.MAA01827@taz.hyperreal.com>
Date: Mon, 18 Mar 1996 12:42:00 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andrew Bennett <abennett@hyperreal.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Interrupted uploads
In-Reply-To: <Pine.SUN.3.91.960315205434.12472B-100000@light.lightlink.com> from "Homer W. Smith" at Mar 15, 96 08:56:36 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

Homer W. Smith said ::
> 
> 
>     I am getting continuous complaints about interrupted uploads
> to ftp particularly for big files.  They are not limited to modem
> uploads, but also over ethernet from other sites.
>  
>     The evidence of these broken uploads is a continuous accumulation of
> hung ftpd processes which I have to clear out periodically, something
> y'all have been talking about recently. 

I've got something similiar.

I applied Vidiot's patch tp ftpd.c (Sorry, I forget your email address), 
and it now removes processes that hang retrieving files.  But every now 
and then a process will hang when storing a file.

One of my users frequently hangs a ftp storage process.  He uses crl.com, 
and they are running SunOS 4.1.3, and his ftp client is /usr/ucb/ftp.
He'll upload several files (usually they are small (<100k)) and then it 
will hang.  He told me he waits a minute, then shells out, kills the ftp 
client process on his side, and opens another and re-does the transfer.  
Unfortunately, upon killing the client, the server process is now stuck.

I've got some other instances I'm trying to track down hung storing 
processes.

I'm running BSDI 2.0.  In all honesty, I think these patches that kill 
hung connections are a band-aid to the real problem.  I'm still running 
beta-9, and probably will install beta-10 sometime this week or this weekend.

Even though the machine is the home of the Apache web server, we still 
need ftp!  :)



Andrew
--

  Andrew Bennett
  abennett@hyperreal.com, abennett@cruzio.com
  http://taz.hyperreal.com/~abennett/

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 19 07:39:10 1996
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 m0tz3V4-0004SOC; Tue, 19 Mar 96 07:39 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA24142; Tue, 19 Mar 1996 09:28:38 -0600
Received: from wunet.wustl.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA23567 for <wu-ftpd@mail.wustl.edu>; Tue, 19 Mar 1996 09:20:44 -0600
Received: from gatekeeper.es.dupont.com by wunet.wustl.edu
 (PMDF V4.3-10 #14148) id <01I2INHISKZ400230V@wunet.wustl.edu>; Tue,
 19 Mar 1996 09:22:17 -0500 (CDT)
Received: by gatekeeper.es.dupont.com; id AA09697; Tue, 19 Mar 96 10:20:39 -0500
Received: by esds01.es.dupont.com; id AA09056; Tue, 19 Mar 96 10:20:38 -0500
Received: from unca-don by eplrx7 (AIX 4.1/UCB 5.64/4.03) id AA83664; Tue,
 19 Mar 1996 10:20:55 -0500
Received: by unca-don (SMI-8.6) id KAA13772; Tue, 19 Mar 1996 10:21:02 -0500
Message-Id: <199603191521.KAA13772@unca-don>
Date: Tue, 19 Mar 1996 10:21:02 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tkevans@eplrx7.es.dupont.com (Tim Evans)
To: aix-l@pucc.princeton.edu, wu-ftpd@wunet.wustl.edu
Subject: AIX 3251 Upgrade Cripples wuftpd
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.5 PL0a9]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've just upgraded my anonymous ftp server to AIX 3.2.5.1, and
find that part of the wuftpd package has been crippled as a result.

wuftpd allows auto-display of a file when anonymous users change
directories.  (This is enabled with the 'message' command in the
ftpaccess file.)  Since the 3251 upgrade, users get the first few
lines of the messages file, but then their connection to the ftp
server is broken.  Turning on wuftpd debugging tells me that 
a SIGSEGV (signal 11) is being generated.



-- 
Tim Evans                     |    E.I. du Pont de Nemours & Co.
tkevans@eplrx7.es.dupont.com  |    Experimental Station
(302) 695-9353/8638 (FAX)     |    P.O. Box 80357
EVANSTK AT A1 AT ESVAX        |    Wilmington, Delaware 19880-0357

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 19 21:21:07 1996
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 m0tzGKW-000D9eC; Tue, 19 Mar 96 21:21 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id XAA20060; Tue, 19 Mar 1996 23:11:37 -0600
Received: from www.westweb.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id XAA19782 for <wu-ftpd@wugate.wustl.edu>; Tue, 19 Mar 1996 23:06:30 -0600
Received: (from klg@localhost) by www.westweb.com (8.7.3/8.6.9) id VAA25508; Tue, 19 Mar 1996 21:09:45 -0800 (PST)
Message-Id: <199603200509.VAA25508@www.westweb.com>
Date: Tue, 19 Mar 1996 21:09:45 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kevin L. Gross" <klg@www.westweb.com>
To: wu-ftpd@wugate.wustl.edu
Cc: klg@www.westweb.com (Kevin L. Gross)
Subject: Help with guestgroup please
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

I have set up according to the FAQ, a guestgroup and user so that
they have ftp access, but no telnet. The trouble is, they seem to 
have access to any part of my system, not just their directory. Here
is their passwd entry (fake name) and the ftpacces file. Any help
is very much appreciated. Running on BSDI.


/etc/passwd:
goober:*:106:21:Goober Pyle,,,:/var/www/docs/mayberry/./:/etc/ftponly

/etc/group:
ftponly:*:21:goober

/etc/ftpaccess:
class   local   real,guest,anonymous  *

limit   ftponly   1   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 real,guest,anonymous
log transfers real,guest,anonymous inbound,outbound

shutdown /etc/shutmsg

# specify which group of users will be treated as "guests".
guestgroup ftponly

email klg@westweb.com

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 19 22:53:26 1996
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 m0tzHlr-000CuSC; Tue, 19 Mar 96 22:53 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA24688; Wed, 20 Mar 1996 00:43:35 -0600
Received: from taz.hyperreal.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id AAA24047 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 00:30:22 -0600
Received: by taz.hyperreal.com (8.6.12/8.6.5) id WAA29246; Tue, 19 Mar 1996 22:30:22 -0800
Message-Id: <199603200630.WAA29246@taz.hyperreal.com>
Date: Tue, 19 Mar 1996 22:30:22 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andrew Bennett <abennett@hyperreal.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Interruped transfers
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

Well, now I did it.

I'd appreciate if other users/admins could attempt to duplicate my results
just to see how valid they are.

Symptoms: interrupted transfers

Host environment: BSDI 2.0, wu-ftpd academ beta 9, Vidiot's "hung connection"
patch applied.

Client environments: SunOS 4.1.3 running command line ftp
   Windows NT 3.51 with ws_ftp 951229 32 bit
   another user said he had problems with ws_ftp 32bit 9508??, unknown OS.

Line quality: SunOS T1; Win NT 28.8 PPP.  I tested Win NT myself - line 
was relatively responsive and lag-free.  Not sure about other cases I've
had.

Files transferred: 60 files comprising 1.9mb of disk space.  Some were text
files; some .zip files, some binary files.  Most in the 10k-30k range,
some 100k, largest 600k, smallest 134 bytes.

I fired up ws_ftp at home, ftp'd to my machine, created a directory on
the host, selected all 60 files on my machine, and hit the upload button.

Sometimes after the transmission of a file, there is an extreme delay.
Killing the ftp client during this delay (1-5 minutes observed) leaves
a hung process in a STOR state (as reported by ftpwho).  Occasionally
this recovers and proceeds to the next file.  I've tried uploading the
60 files numerous times (removing them from the host before transfer),
and I can't get consistent results.  Usually it blows up somewhere along
the way.

My current transfer is in a hung state right now.  ws_ftp's status window
indicated the transfer suceeded, reporting the correct number of bytes 
for this file, and a decent transmission speed of 6.86KBps.  ws_ftp's
log has not been updated to reflect this upload yet.  The ftp process
on the host is still STOR'ing, as I said above.  I've been waiting for
about 20 minutes now.

No firewalls involved.  I was logged in as myself, not as 'anonymous'.
The host had a loadavg of .19 (good), and had gobs (35MB) of free RAM
as shown by 'top'.

Can someone else attempt to transfer a mess of files to see if they can
duplicate anything with regards to hung connections and report back?
I'd be most grateful.

It might be a good idea to stress-test wu-ftpd like this over and over 
and over to see if it can fail.  I noticed this hanging connection 
problem when I started using the Academ beta's.  I think the patches 
posted to the list are a band-aid for the real problem, which oughta be
fixed.

Any thoughts?  Before testing, it might be a good idea to turn on logging 
in your ftp client, if that's possible.



Andrew
-- 

  Andrew Bennett
  abennett@hyperreal.com, abennett@cruzio.com
  http://taz.hyperreal.com/~abennett/

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 01:08:38 1996
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 m0tzJsb-000FAzC; Wed, 20 Mar 96 01:08 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id DAA00595; Wed, 20 Mar 1996 03:00:09 -0600
Received: from universal-woman.academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id CAA00383 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 02:56:57 -0600
Received: (from news@localhost) by universal-woman.academ.com (8.7.1/8.7.1) id CAA08597; Wed, 20 Mar 1996 02:56:55 -0600 (CST)
Message-Id: <4ioh8n$8cj@universal-woman.academ.com>
Date: 20 Mar 1996 08:56:55 GMT
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: Interruped transfers
References: <4io9mc$rl9@universal-woman.academ.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <4io9mc$rl9@universal-woman.academ.com> Andrew Bennett <abennett@hyperreal.com> writes:
>Any thoughts?  Before testing, it might be a good idea to turn on logging 
>in your ftp client, if that's possible.

It's even a better idea to test with the lastest beta. It has one other
patch in it that may help with this. The test you ran was on old code.

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

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 02:28:58 1996
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 m0tzL8M-000FAzC; Wed, 20 Mar 96 02:28 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA03806; Wed, 20 Mar 1996 04:19:39 -0600
Received: from ciup1.ncc.up.pt by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA03712 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 04:16:48 -0600
Received: from garf.fe.up.pt (garfield.fe.up.pt) by ciup1.ncc.up.pt with SMTP id AA29823
  (5.65c/IDA-1.4.4 for <wu-ftpd@wugate.wustl.edu>); Wed, 20 Mar 1996 11:16:38 +0100
Received: from localhost by garf.fe.up.pt with SMTP id AA01136
  (5.65c/IDA-1.4.4 for wu-ftpd@mail.wustl.edu); Wed, 20 Mar 1996 11:15:28 GMT
Message-Id: <199603201115.AA01136@garf.fe.up.pt>
Date: Wed, 20 Mar 96 11:15:28 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Joana Peres <jperes@garfield.fe.up.pt>
To: wu-ftpd@wugate.wustl.edu
Subject: C2 Security and Wu-ftpd
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello!

I have an DecAlpha with OSF/1 Versao 3.0 and th C2 security and I compiled de 
wu-ftpd-2.4.2-beta-9 and it works fine for Anonymous FTP. But for real users
are denied access, because the wu-ftpd doesn't use de C2 security.
The passwords are not in the /etc/passwd.

Can you help me? How can I implement Enhanced Security(TCB) on wu-ftpd?

Please send any reply to jperes@garfield.fe.up.pt

Thanks,
Joana Peres

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 05:04:36 1996
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 m0tzNYx-000F95C; Wed, 20 Mar 96 05:04 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA09690; Wed, 20 Mar 1996 06:55:42 -0600
Received: from cbpfsu1.cat.cbpf.br by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA09604 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 06:54:13 -0600
Received: from cat1.cbpf.br (cat1.cat.cbpf.br) by cbpfsu1.cat.cbpf.br (4.1/SMI-4.1)
	id AA12892; Wed, 20 Mar 96 10:53:10 EST
Received: by cat1.cbpf.br (4.1/SMI-4.1)
	id AA25827; Wed, 20 Mar 96 09:54:34 EST
Message-Id: <Pine.SUN.3.91.960320095410.25823A-100000@cat1>
Date: Wed, 20 Mar 1996 09:54:33 -0300 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Renato Moutinho Silva <moutinho@cat1.cat.cbpf.br>
To: WU-FTPD Mail List <wu-ftpd@wugate.wustl.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I wonder if this address is to post or for requesting....

==============================================
Renato Moutinho Silva - Rio de Janeiro, Brasil

Email: moutinho@cat.cbpf.br
==============================================

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 05:38:00 1996
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 m0tzO5L-000D39C; Wed, 20 Mar 96 05:37 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id HAA11518; Wed, 20 Mar 1996 07:28:59 -0600
Received: from indy.netvision.be by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id HAA11280 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 07:24:28 -0600
Received: from jana.netvision.be (jana.netvision.be [193.74.197.40]) by indy.netvision.be (8.7.3/8.7.3) with ESMTP id OAA05581 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 14:20:28 +0100 (MET)
Received: (from tom@localhost) by jana.netvision.be (8.7.3/8.7.3) id OAA00667 for wu-ftpd@wugate.wustl.edu; Wed, 20 Mar 1996 14:20:26 +0100 (MET)
Message-Id: <9603201420.ZM665@jana.netvision.be>
Date: Wed, 20 Mar 1996 14:20:24 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tom Vandepoel" <tom@netvision.be>
To: wu-ftpd@wugate.wustl.edu
Subject: banners in 2.4.2 beta10
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.2 10apr95 MediaMail)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Anyone else having trouble with the banner facility in 2.4.2 beta 10?
My problem is that wu-ftpd is not displaying the welcome.msg. When
I turn on debug mode, I see the lines of the msg being sent, but without
the proper codes in front of them.

Is this a known bug? Or am I still doing something wrong?

Tom.

-- 

Tom Vandepoel		                          tom@netvision.be 
Network Engineer                          Fight-o-net 2:292/608.22
Netvision                                 Will hack perl for html.

  -----BEGIN GEEK CODE BLOCK-----
  Version: 3.1
  GE/CS/O d-- s+:+ a-- C++++$ UISL++++$ P+++>+++++$ L+(++) E>++ W+++ N+ o? K+ 
  w--- O(++) M- !V PS+ PE Y+ PGP>+ t 5? X+? R+ b+++ tv DI+ D++ G e* h-- r++ y**
  ------END GEEK CODE BLOCK------

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 06:35:53 1996
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 m0tzOzO-0004H4C; Wed, 20 Mar 96 06:35 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA14750; Wed, 20 Mar 1996 08:27:21 -0600
Received: from indy.netvision.be by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id IAA14569 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 08:24:11 -0600
Received: from jana.netvision.be (jana.netvision.be [193.74.197.40]) by indy.netvision.be (8.7.3/8.7.3) with ESMTP id PAA05822 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 15:20:09 +0100 (MET)
Received: (from tom@localhost) by jana.netvision.be (8.7.3/8.7.3) id PAA00720 for wu-ftpd@wugate.wustl.edu; Wed, 20 Mar 1996 15:20:02 +0100 (MET)
Message-Id: <9603201520.ZM718@jana.netvision.be>
Date: Wed, 20 Mar 1996 15:20:01 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tom Vandepoel" <tom@netvision.be>
To: wu-ftpd@wugate.wustl.edu
Subject: (Fwd) banners in 2.4.2 beta10
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.2 10apr95 MediaMail)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


--- Forwarded mail from wu-ftpd@wugate.wustl.edu

Date: Wed, 20 Mar 1996 14:20:24 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
From: "Tom Vandepoel" <tom@netvision.be>
To: wu-ftpd@wugate.wustl.edu
Subject: banners in 2.4.2 beta10

Anyone else having trouble with the banner facility in 2.4.2 beta 10?
My problem is that wu-ftpd is not displaying the welcome.msg. When
I turn on debug mode, I see the lines of the msg being sent, but without
the proper codes in front of them.

Is this a known bug? Or am I still doing something wrong?

Tom.

---End of forwarded mail from wu-ftpd@wugate.wustl.edu

Is ok now...stupid me. Works after you put an -a flag...<G>

Tom.

-- 

Tom Vandepoel		                          tom@netvision.be 
Network Engineer                          Fight-o-net 2:292/608.22
Netvision                                 Will hack perl for html.

  -----BEGIN GEEK CODE BLOCK-----
  Version: 3.1
  GE/CS/O d-- s+:+ a-- C++++$ UISL++++$ P+++>+++++$ L+(++) E>++ W+++ N+ o? K+ 
  w--- O(++) M- !V PS+ PE Y+ PGP>+ t 5? X+? R+ b+++ tv DI+ D++ G e* h-- r++ y**
  ------END GEEK CODE BLOCK------

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 14:07:45 1996
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 m0tzW2d-0002ZZC; Wed, 20 Mar 96 14:07 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA18271; Wed, 20 Mar 1996 15:52:06 -0600
Received: from wookie.smanet.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA17229 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 15:39:23 -0600
Received: (from jrp@localhost) by wookie.smanet.com (8.7.5/8.7.3) id NAA00214; Wed, 20 Mar 1996 13:39:39 -0800
Message-Id: <Pine.LNX.3.91.960320133435.209A-100000@wookie.smanet.com>
Date: Wed, 20 Mar 1996 13:39:36 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "John R. Petersen" <jrp@smanet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Mkdir not working for user accounts.
In-Reply-To: <199603200601.AAA22748@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

With beta 10, mkdir has stopped working for my user accounts. It properly
doesn't work for anonyomous users which is what I want.  I've tried
several different upload keyword schemes in ftpaccess to no avail.  If anyone
has some working examples that they can provide, it would be appreciated. 

					--John

--
John R. Petersen			jrp@smanet.com

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 18:01:22 1996
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 m0tzZgc-0006v4C; Wed, 20 Mar 96 18:01 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA04312; Wed, 20 Mar 1996 19:51:04 -0600
Received: from novell.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA01928 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 19:04:16 -0600
Received: from INET-SJF-Message_Server by fromGW
	with Novell_GroupWise; Wed, 20 Mar 1996 17:01:31 -0800
Message-Id: <s15039eb.030@fromGW>
Date: Wed, 20 Mar 1996 14:34:55 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: VARD_LOTT@novell.com (Vard Lott)
To: wu-ftpd@wugate.wustl.edu
Subject: Mkdir not working for user accounts. -Reply
Content-Type: text/plain
X-Mailer: Novell GroupWise 4.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Try ensuring that the home directory field
in /etc/passwd for the ftp user has the
"/./" on the end and that it does *not* have
it in the ~ftp/etc/passwd file.

Regards,
VL

>>> John R. Petersen <jrp@smanet.com>
03/20/96 02:39pm >>>
With beta 10, mkdir has stopped working for
my user accounts. It properly doesn't work
for anonyomous users which is what I want. 
I've tried several different upload keyword
schemes in ftpaccess to no avail.  If anyone
has some working examples that they can
provide, it would be appreciated. 

					--John

--
John R. Petersen			jrp@smanet.com




From owner-wu-ftpd@wugate.wustl.edu Wed Mar 20 20:35:22 1996
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 m0tzc5n-000DPqC; Wed, 20 Mar 96 20:35 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id WAA13811; Wed, 20 Mar 1996 22:26:15 -0600
Received: from general.amug.org by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id WAA13544 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 22:18:59 -0600
Received: from [204.62.193.21] (brain-fry.amug.org [204.62.193.21]) by general.amug.org (8.7.1/8.6.9) with SMTP id VAA11504 for <wu-ftpd@wugate.wustl.edu>; Wed, 20 Mar 1996 21:18:49 -0700 (MST)
Message-Id: <v02130502ad768696179d@[204.62.193.21]>
Date: Wed, 20 Mar 1996 21:22:49 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: schnur@amug.org (Dan Schnur)
To: wu-ftpd@wugate.wustl.edu
Subject: Eratta in wuftpd2.4.2-BETA10
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Specs:

 wuftpd-2.4.2-BETA10
 Sun Sparc 20
 Solaris 2.4
 compiled with gcc, using ftp.h from wuftpd-2.4.2-BETA10 distribution.
 The compile was perfectly clean, no errors at all.

There are two things I noticed:

  1:  Virtual ftp "sites" do not correctly interpret classes.

      Example:  In the portion of a sample ftpaccess file shown below, I
can log in as a local user to the default IP address and/or name of the
server, but when I try and log in to the virtual server, either by IP
address, or name, as a user who should be classified as local, it puts me
in the remote class.

# Virtual Server test for IP x.x.x.x
virtual x.x.x.x  root    /export/ftp2/
virtual x.x.x.x  banner  /export/ftp2/msgs/msg.welcome
virtual x.x.x.x  log     /tmp/xferlog

class   local   real,guest,anonymous *.mydomain.dom x.x.x.*
class   dialup  real,guest,anonymous d*.mydomain.dom x.x.x.*
class   remote  anonymous *
class   regftp  real,guest *
class   test    real,guest,anonymous mydomain.dom x.x.x.x

limit   local   10  Any                 /etc/msgs/msg.toomany
limit   dialup  20  Any                 /etc/msgs/msg.toomany
limit   remote  30  Any                 /etc/msgs/msg.toomany
limit   test    40  Any                 /etc/msgs/msg.toomany

  2:  Not really a bug, but here it goes:
      If I log in from mydomain.dom, and there is a more open mask in
ftpaccess, ex *.mydomain.dom, it places me in the class that is least
restrictive.  An example is if I want one computer, mydomain.dom to have 40
users possible, and the rest of my domain to have only 10 users, I can't.
It seems I either have to make a class for each "computer," or allow/deny
the entire domain.
      If anyone knows of a way to make *.mydomain.dom have one limit, and
computer1.mydomain.dom have a different one, I'd be much obliged.

      If anyone has a solution to problem #1, I'd also be much obliged.

  -D

-------------------------------------------------------------------
  Dan Schnur
  Arizona Macintosh Users Group     Telephone    (602) 553-8966
  4131 North 24th Street #A120      Fax          (602) 553-8771
  Phoenix, Arizona  85016           Internet    schnur@amug.org
                        System Administrator
                  http://www.amug.org/index.html
-------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu Mar 21 02:21:07 1996
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 m0tzhUI-0004M0C; Thu, 21 Mar 96 02:20 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA27512; Thu, 21 Mar 1996 04:11:12 -0600
Received: from simba.xos.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id DAA27107 for <wu-ftpd@wugate.wustl.edu>; Thu, 21 Mar 1996 03:58:17 -0600
Received: from minnie.xos.nl (root@minnie.xos.nl [192.87.153.20]) 
          by simba.xos.nl (8.6.9/8.6.9) with ESMTP
          id KAA03228 for <wu-ftpd@wugate.wustl.edu>;
          Thu, 21 Mar 1996 10:01:02 GMT
Received: from minnie.xos.nl (jos@localhost [127.0.0.1]) 
          by minnie.xos.nl (8.6.12/8.6.9) with ESMTP
          id LAA11738 for <wu-ftpd@wugate.wustl.edu>;
          Thu, 21 Mar 1996 11:01:24 +0100
Message-Id: <199603211001.LAA11738@minnie.xos.nl>
Date: Thu, 21 Mar 1996 11:01:22 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jos Vos <jos@xos.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: [2.4.2-BETA9] Illegal seek (ESPIPE)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,

Using wu-ftpd 2.4.2-BETA9, I frequently get the following error message:

	150 Opening BINARY mode data connection for /bin/tar.
====>	426 Data connection: Illegal seek.
	local: docs.tar.gz remote: docs.tar.gz
	1409924 bytes received in 14 seconds (98 Kbytes/s)

Then the bytecount is also wrong: it's slightly less than the correct
size of the gzipped tarfile.  And it always happens when the file is
nearly finished, although at different places just before the end.

This only seems to happen when getting tar'ed directories in combination
with gzip.  I guess ftpd gets an ESPIPE errno (Illegal seek), which means
it calls lseek(2) on a pipe, socket or FIFO.

I'm using Linux 1.3.75/76, gcc 2.7.2, libc-5.2.18.

Is this a known problem?  Is there a patch?

--
--    Jos Vos <jos@xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 21 16:45:17 1996
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 m0tzuyg-0009H7C; Thu, 21 Mar 96 16:45 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA25582; Thu, 21 Mar 1996 18:33:28 -0600
Received: from nak.berkeley.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA24758 for <wu-ftpd@wugate.wustl.edu>; Thu, 21 Mar 1996 18:21:33 -0600
Received: from rfs63.berkeley.edu (rfs63.Berkeley.EDU [128.32.172.63]) by nak.berkeley.edu (8.7.3/8.6.10) with SMTP id PAA12161 for <wu-ftpd@mail.wustl.edu>; Thu, 21 Mar 1996 15:53:13 -0800 (PST)
Received: by rfs63.berkeley.edu (5.x/SMI-SVR4)
	id AA13167; Thu, 21 Mar 1996 15:50:43 -0800
Message-Id: <9603212350.AA13167@rfs63.berkeley.edu>
Date: Thu, 21 Mar 1996 15:50:43 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: maze@rfs63.berkeley.edu
To: wu-ftpd@wugate.wustl.edu
Subject: ELF link errors during compilation
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm trying to compile ftpd 2.4 on a Sun Sparc 10 running solaris 2.4
using gcc 2.6.3.  I get the following errors during make complaining about
ELF libraries.  I've tried with both ld v2.4 and v2.6.  Is this a config 
error on my end with my GNU compiler, or am I seriously lacking something.


  % build sol
  -----
  make args are : 
  make opts are : 

  Linking Makefiles.
  ln: makefiles/Makefile.sol and Makefile are identical
  ln: config/config.sol and config.h are identical
  ln: makefiles/Makefile.sol and Makefile are identical

  Making support library.
  rm -f libsupport.a
  ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o 
  touch libsupport.a

  Making ftpd.
  cc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o authenticate.o conversions.o hostacc.o -lsupport -lsocket -lnsl -lgen

  *****
  ld: fatal: file ../support/libsupport.a: unknown type, unable to process using elf(3E) libraries
  ld: fatal: File processing errors.  No output written to ftpd
  make: *** [ftpd] Error 1
  *****

  ... other similar errors omitted ...

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 22 11:55:32 1996
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 m0u0Cvo-0004N5C; Fri, 22 Mar 96 11:55 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA24468; Fri, 22 Mar 1996 13:43:52 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA23838 for <wu-ftpd@wugate.wustl.edu>; Fri, 22 Mar 1996 13:37:40 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id OAA17564; Fri, 22 Mar 1996 14:36:42 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960322141843.17522A-100000@mintaka.iern.disa.mil>
Date: Fri, 22 Mar 1996 14:36:42 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Couple of questions
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have the following questions.  My platform is SPARC 5 running SunOS 4.1.4.
I had no compilation problems and practically everything works as advertised.

1) What is the secret to getting the automatic tar and compress to work?
I have tried everything I can think of regarding the ftpaccess file.  
Specifically, the three entries I thought were key are:

	class all real,anonymous,guest *
		.
		.
	compress	yes	all
	tar		yes 	all

The appropriate executables are in /usr/local/bin and that is reflected 
in the ftpconversions file.  And I am talking about a real user, not a guest
or anonymous user.  Also, ckconfig reported ok and other features of 
ftpaccess work appropriately.


2.  The ftpconversions manual page is somewhat lacking.  For example, I
had to look at the code to find out what T_REG and O_COMPRESS etc really
did.  And the magic cookie of %s in the command field of the
ftpconversions file is not explained in the ftpconversions manual (I
assume it is for an sprintf type of call).  Is there some better
documentation on this? 

3. Some wuftpd's I have connected to have different version numbers. 
Mine is 2.4(3).  Others I have seen are 2.4(5) and 2.4(8).  Where can I
get the most current sources. 

4.  And finally, is there an FAQ which I can access?

Many thanks,
Jim
 

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 22 12:16:23 1996
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 m0u0DFz-0000rSC; Fri, 22 Mar 96 12:16 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA26661; Fri, 22 Mar 1996 14:06:31 -0600
Received: from prowillen.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA26035 for <wu-ftpd@wugate.wustl.edu>; Fri, 22 Mar 1996 13:58:45 -0600
Received: from [204.118.169.70] (blackbird [204.118.169.70]) by prowillen.com (8.7.1/8.7.1) with SMTP id MAA03795 for <wu-ftpd@wugate.wustl.edu>; Fri, 22 Mar 1996 12:00:47 -0800 (PST)
Message-Id: <v02140a03ad78b5f29f56@[204.118.169.70]>
Date: Fri, 22 Mar 1996 12:00:47 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: listmaster@applebiz.com (Uwe Willenbacher)
To: wu-ftpd@wugate.wustl.edu
Subject: Welcome messages...
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi all,

I seem to have a strange problem and I wonder if I have a misconfig somewhere...

The problem:

I do not allow anonymous login to my site (nothing to grap anyways<g>) I do
have several guestgroups. All works well exept that when a Guestgroup
"hits" the site it does not "count" .

I found that out following way: I have turned on messages on login and only
when a real user ftp's he/she will see the welcome message and it reports
user 1 out of x max. When a guest logs in it does display nil. So I turned
on the banner and even there is reports "You are user 0 out of x users
max."

Hmm, I then logged into my archive 15 time (10 times as guestgroup and 5
times as "real" user. The welcome messages I get as a real user reports
that there are currently 5 users logged in eventhough I know the real
number is 15...

Hope this makes sense and one of you might have a solution for me...

Thanks in advance:)

-Uwe


                                    \\|//
                                    (o o)
==================================w===U===w================================
 |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|
 Uwe Willenbacher      |___|___|___|___|___|___|   Fax: 415.333.5485
 Webmaster/SysAdmin      |___|___|___|___|___|     WWW: www.prowillen.com
 Proctor-Willenbacher  |___|___|___|___|___|___| eMail: uwe@prowillen.com
 |___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___| 


From owner-wu-ftpd@wugate.wustl.edu Fri Mar 22 14:17:17 1996
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 m0u0F8u-000DdIC; Fri, 22 Mar 96 14:17 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id QAA07169; Fri, 22 Mar 1996 16:06:21 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA05959 for <wu-ftpd@wugate.wustl.edu>; Fri, 22 Mar 1996 15:58:10 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id WAA12953; Fri, 22 Mar 1996 22:58:45 +0100
Message-Id: <199603222158.WAA12953@pizza.hvu.nl>
Date: Fri, 22 Mar 1996 22:58:44 +0100 (MET)
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: Couple of questions
In-Reply-To: <Pine.SUN.3.91.960322141843.17522A-100000@mintaka.iern.disa.mil> from "W. James Showalter" at Mar 22, 96 02:36:42 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting W. James Showalter, who wrote :

> 1) What is the secret to getting the automatic tar and compress to work?

> The appropriate executables are in /usr/local/bin and that is reflected 
> in the ftpconversions file.  And I am talking about a real user, not a guest
> or anonymous user.  Also, ckconfig reported ok and other features of 
> ftpaccess work appropriately.

For usage by anonymous users make sure the binaries and libs and devices are
available under ~ftp.

For real users : there might be typos in the stock ftpconversions, since
some of the flags of some tar programs are a bit different. Check this.

> 3. Some wuftpd's I have connected to have different version numbers. 
> Mine is 2.4(3).  Others I have seen are 2.4(5) and 2.4(8).  Where can I
> get the most current sources. 
> 
> 4.  And finally, is there an FAQ which I can access?

Yes, there is :

http://www.hvu.nl/~koos/wu-ftpd-faq.html

Which answers question #3 too.

                                           Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 22 15:03:02 1996
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 m0u0FrH-000DhAC; Fri, 22 Mar 96 15:02 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id QAA10107; Fri, 22 Mar 1996 16:52:33 -0600
Received: from vpm.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id QAA09840 for <wu-ftpd@wugate.wustl.edu>; Fri, 22 Mar 1996 16:47:59 -0600
Received: from netcomsv.netcom.com (pm55.cwo.com [205.162.123.65]) by vpm.com (8.6.12/8.6.12) with SMTP id OAA06911; Fri, 22 Mar 1996 14:49:20 -0800
Message-Id: <199603222249.OAA06911@vpm.com>
Date: Fri, 22 Mar 1996 14:45:06 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: VPM System News <mcs@205.162.123.143>
To: wu-ftpd@wugate.wustl.edu, cert@cert.org
Subject: Re: Academ version of wu-ftpd 2.4 Release 2 Beta 10 available
  for              testing
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mcs@205.162.123.143
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 10:08 PM 3/15/96 -0600, you wrote:

>BETA 10 is now available. It has been tested on the following systems:

[snip]

>Modified support for virtual domains as suggested by Marc G. Fournier
><scrappy@ki.net>. Modified the VIRTUAL.FTP.SUPPPORT support file and the
>man pages to reflect this change.
>
>Added a number of small changes suggested by a patch supplied by
>Marc G. Fournier <scrappy@ki.net> for FreeBSD.

I'd like to make a suggestion that would be very helpful to me and I think
alot of other ISP's.

I currently only allow FTP access to my accounts in order to allow them to
update their files. I do not provide Telnet.  I  like the Virtual FTP
because I saw it as a way to allow my accounts who have domain names, i.e.
abc.com, to setup anon FTP directories within their directory structure.
The only problem is that if they login using their real userid's, they get
set to the anon FTP directory that an anon ftp user would see.  

Is there a way you can modify the code to check to see if the user logging
in is ftp/anonymous, and if not, check for the existence of a valid login id
in the /etc/passwd file and user the real user's HOME directory.

In other words, sai my userid is 'abc' and I have a domain called abd.com.
I would have setup abc's HOME directory as follows in the /etc/passwd file
as well as the master.passwd file:

     abc:%TH(&FG:1001:30::ABC Account:/home/abc/./:/bin/csh

With this, and without using the Virtual FTP, the user would login as abc
and get dumped into /home/abc with this directory becoming their root directory.
This is how it works without the Virtual FTP set up.  This user can now ftp
to ftp.abc.com, enter in abc as the userid and go to /home/abc and update
their files with their root directory actually being /home/abc..

Now, assume that abc.com wants to allow anon ftp to their site.  So we setup
the ftpaccess file to allow virtual ftp.  Now, when abc ftp's to ftp.abc.com
and enters in the userid of 'abc', they are now placed in the root directory
setup through ftpaccess, just like anon ftp would be.  

What I would like to see is a check to see if the user logging in is a valid
user on the system and if so, placed in their HOME directory so that their
HOME directory is their new root and anon ftp placed in the root directory
setup in ftpaccess for virtual ftp.  This would be a valuable addition to
the already much improved wu-ftpd. 

Thanks,
Mark
==========================================================================
 Mark Stout    |  The Village Potpourri Mall: http://www.vpm.com/
---------------+----------------------------------------------------------
            VPM Enterprises; P.O.Box 6427; Folsom, CA 95763-6427
        Secured Internet Sales, Marketing and Advertising Specialist
==========================================================================

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 11:13:18 1996
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 m0u1HhV-000FAfC; Mon, 25 Mar 96 11:13 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA23716; Mon, 25 Mar 1996 13:00:21 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA22641 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 12:47:10 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id NAA26031; Mon, 25 Mar 1996 13:45:38 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960325131322.26022C-100000@mintaka.iern.disa.mil>
Date: Mon, 25 Mar 1996 13:45:38 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Continued problems getting on-the-fly tar/compress to work
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


This is a follow-up of the message I sent a couple of days ago. I
apologize for its length but I see no other way to get the info across. I
still can't get the conversions to work.  In fact, one would think the
conversions are being ignored except that I have put debug statements in
to verify they are being parsed.  My platform is a SPARC 5 running SunOS
4.1.4. I had no compilation problems and practically everything works as
advertised. 

My conversion file is the one provided with the distribution.  The only 
difference is the location of the commands (mine are /usr/local/lib).

Here are the first two lines of my conversion file.

 :.Z: : :/usr/local/bin/gzip -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 : : :.Z:/usr/local/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS

Since my ftpaccess file is short, I am including it here: 

-------START OF FTPACCESS-------------

class   everyone   real,anonymous,guest  *

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

readme  README*    login
readme  README*    cwd=*

message /usr/local/lib/ftpd/welcome.msg  login  
message /.msgs/welcome.msg	    login 
message .message                cwd=*    

compress        yes             everyone
tar             yes             everyone 


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

passwd-check 	rfc822		warn
shutdown /etc/shutmsg

email gamma@mintaka.iern.disa.mil

---------------END OF FTPACCESS---------------------------

The appropriate executables are in /usr/local/bin and
/home/ftp/usr/local/bin.  Ckconfig reports okay.  I am assuming that when
I issue the following command: 
  
        get foo foo.Z
    	    or
        get foo.Z foo

that compress or gzip is supposed to do its thing prior to tranferring the
file. I have tried various type negotiations but I still can't get this to
work for any user (real or otherwise). 

I am compiling using gcc version 2.7.0. And the arguments to compress, gzip,
and tar have been verified to be correct.

Again, any help would be most appreciated.

Many thanks,
Jim
 


From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 11:58:09 1996
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 m0u1IOt-000F3tC; Mon, 25 Mar 96 11:57 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA27321; Mon, 25 Mar 1996 13:46:34 -0600
Received: from boulder.Colorado.EDU by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA26678 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 13:39:21 -0600
Received: from yendi.colorado.edu (yendi.Colorado.EDU [128.138.253.21]) by boulder.Colorado.EDU (8.6.13/8.6.12/UnixOps) with SMTP id MAA15518 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 12:39:19 -0700
Received: by yendi.colorado.edu; (5.65/1.1.8.2/27Jul95-1042AM)
	id AA09894; Mon, 25 Mar 1996 12:39:17 -0700
Message-Id: <9603251939.AA09894@yendi.colorado.edu>
Date: Mon, 25 Mar 1996 12:39:17 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alex Gadget McColl <mccollh@boulder.Colorado.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Continued problems getting on-the-fly tar/compress to work
In-Reply-To: <Pine.SUN.3.91.960325131322.26022C-100000@mintaka.iern.disa.mil> from "W. James Showalter" at Mar 25, 96 01:45:38 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi James,
I too am in EXACTLY the same boat. 
I too am on SunOS 4.1.4 with GCC 2.7...
My executables are in ~ftp/bin but aside from that all is the same...
I even tried changing my /usr/local/etc/ftpconversions file to call
a shell script 'test' that it never called... I did have to change 
the ftpd.c code to enable compression..... on the following line
   212
   213  /* allowed on-the-fly file manipulations (compress, tar) */
   214  int mangleopts = 1;
   215
My default value for 'mangleopts' was 0, I changed it to 1

did you do that?

That still didn't help me... then I included ~ftp/usr/lib/ld.so
and                                                       libc.so.1.9.2*  
and                                                       libdl.so.1.0*

in the hopes that this was that chroot problem mentioned... and that didn't
help so I then decided to build static versions of gtar ('tar') and gzip...
and mine still doesn't work either...

If you figure this thing out first... please let me know.

Here is my test script that I mentioned:
*** Begin ~ftp/bin/testi ***
#!/bin/csh
set date = `date`
echo "testi accessed: $date" > /dev/console
echo $date > /usr/local/etc/testi.date
*** end of ~ftp/bin/testi ***

*** Begin of /usr/local/etc/ftpconversions ***
 :.Z:  :  :/bin/testi -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :   : :.Z:/bin/testi -c %s:T_REG:O_COMPRESS:COMPRESS
 :.gz: :  :/bin/testi -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
 :   : :.gz:/bin/testi -9 -c %s:T_REG:O_COMPRESS:GZIP
 :   : :.tar:/bin/testi -c -f - %s:T_REG|T_DIR:O_TAR:TAR
 :   : :.tar.Z:/bin/testi -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRE
SS
 :   : :.tar.gz:/bin/testi -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP
*** Endo of /usr/local/etc/ftpconversions ***

I have since also tried the original ftpconversions (in the wu-ftpd example
directory... and it didn't work either)... I don't think it's even accessing
any of the commands in /usr/local/etc/ftpconversions... because my 
testi never ran.

% 
% 
% This is a follow-up of the message I sent a couple of days ago. I
% apologize for its length but I see no other way to get the info across. I
% still can't get the conversions to work.  In fact, one would think the
% conversions are being ignored except that I have put debug statements in
% to verify they are being parsed.  My platform is a SPARC 5 running SunOS
% 4.1.4. I had no compilation problems and practically everything works as
% advertised. 
% 
% My conversion file is the one provided with the distribution.  The only 
% difference is the location of the commands (mine are /usr/local/lib).
% 
% Here are the first two lines of my conversion file.
% 
%  :.Z: : :/usr/local/bin/gzip -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
%  : : :.Z:/usr/local/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
% 
% Since my ftpaccess file is short, I am including it here: 
% 
% -------START OF FTPACCESS-------------
% 
% class   everyone   real,anonymous,guest  *
% 
% limit   everyone   10   Any              /etc/msgs/msg.dead
% 
% readme  README*    login
% readme  README*    cwd=*
% 
% message /usr/local/lib/ftpd/welcome.msg  login  
% message /.msgs/welcome.msg	    login 
% message .message                cwd=*    
% 
% compress        yes             everyone
% tar             yes             everyone 
% 
% 
% log commands real,anonymous,guest
% log transfers anonymous,real inbound,outbound
% 
% passwd-check 	rfc822		warn
% shutdown /etc/shutmsg
% 
% email gamma@mintaka.iern.disa.mil
% 
% ---------------END OF FTPACCESS---------------------------
% 
% The appropriate executables are in /usr/local/bin and
% /home/ftp/usr/local/bin.  Ckconfig reports okay.  I am assuming that when
% I issue the following command: 
%   
%         get foo foo.Z
%     	    or
%         get foo.Z foo
% 
% that compress or gzip is supposed to do its thing prior to tranferring the
% file. I have tried various type negotiations but I still can't get this to
% work for any user (real or otherwise). 
% 
% I am compiling using gcc version 2.7.0. And the arguments to compress, gzip,
% and tar have been verified to be correct.
% 
% Again, any help would be most appreciated.
% 
% Many thanks,
% Jim
%  
% 
% 
% 

Alex.


  ****************************************************************************
  * Alex McColl - Network System Administrator		mccollh@Colorado.EDU *
  * Colorado Center for Astrodynamics Research	        Work  (303) 492-1308 *
  * University of Colorado at Boulder		        FAX   (303) 492-2825 *
  * Campus Box 431				  	Pager (303) 465-7556 *
  * Boulder, Colorado 80309-0431			Home  (303) 443-4665 *
  * http://kurgan.colorado.edu/personnel/professionals/mccollh               *
  ****************************************************************************

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBtAzC/czAAAAEDALzpwConlCSSt/3p80Erq1Ypd0zDg8G+11mhntTH7jsdvME6
EPGaPGOys55lW7++uorHyjMqqtFmxiwLJqCNASLpDEu53ENdTcdkytnTI1Kc6TYZ
fid9n5McCZhg9Dqm4QAFEbQHbWNjb2xsaIkAdQMFEDDDvVccCZhg9Dqm4QEBOhID
AIcDJ4748fmSYyXed89w/twDxK3tyJiWAZO5beg2KuODqYMeJ9pVGz8aPB4HTHXs
qxYPsNSCoxptHK2VG6ikpLNqm3NKrpzTeUlRh5G/d4aw+bqigJblahPuYl8wnjFq
Nw==
=Hxp0
-----END PGP PUBLIC KEY BLOCK-----

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 12:34:45 1996
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 m0u1IyP-0004SuC; Mon, 25 Mar 96 12:34 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA29519; Mon, 25 Mar 1996 14:22:17 -0600
Received: from isil.lloke.dna.fi by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA29270 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 14:17:54 -0600
Received: (from rjs@localhost) by isil.lloke.dna.fi (8.7.3/8.7.3) id WAA00590 for wu-ftpd@wugate.wustl.edu; Mon, 25 Mar 1996 22:17:43 +0200
Message-Id: <199603252017.WAA00590@isil.lloke.dna.fi>
Date: Mon, 25 Mar 1996 22:17:43 +0200 (EET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Riku Saikkonen <rjs@isil.lloke.dna.fi>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Continued problems getting on-the-fly tar/compress to work
In-Reply-To: <Pine.SUN.3.91.960325131322.26022C-100000@mintaka.iern.disa.mil> from "W. James Showalter" at Mar 25, 96 01:45:38 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I issue the following command: 
>        get foo foo.Z
>    	    or
>        get foo.Z foo
>that compress or gzip is supposed to do its thing prior to tranferring the

Well, no, actually. That only does filename conversion in the FTP client
(for 'get foo foo.Z' the client gets foo and saves it on disk as foo.Z) (or
at least standard Unix FTP clients work this way). You need to `get foo' if
you have foo.Z in the FTP directory, or `get foo.Z' if you have foo and want
it compressed.

-- 
-=- Rjs -=- rjs@spider.compart.fi - http://isil.lloke.dna.fi/rjs/

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 13:00:44 1996
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 m0u1JNR-0004SuC; Mon, 25 Mar 96 13:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA02577; Mon, 25 Mar 1996 14:49:06 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA02104 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 14:43:29 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id PAA27079; Mon, 25 Mar 1996 15:41:42 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960325153821.27075A-100000@mintaka.iern.disa.mil>
Date: Mon, 25 Mar 1996 15:41:42 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Continued problems getting on-the-fly tar/compress to work
In-Reply-To: <199603252017.WAA00590@isil.lloke.dna.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Well, that was the problem.  Things work as advertised.  I guess I
just had it in my mind to specify both names as a trigger to do
the conversions.  Having read the man page several times it still
didn't occur to me to specify a file which "wasn't there."

Thanks,
Jim


On Mon, 25 Mar 1996, Riku Saikkonen wrote:

> >I issue the following command: 
> >        get foo foo.Z
> >    	    or
> >        get foo.Z foo
> >that compress or gzip is supposed to do its thing prior to tranferring the
> 
> Well, no, actually. That only does filename conversion in the FTP client
> (for 'get foo foo.Z' the client gets foo and saves it on disk as foo.Z) (or
> at least standard Unix FTP clients work this way). You need to `get foo' if
> you have foo.Z in the FTP directory, or `get foo.Z' if you have foo and want
> it compressed.
> 
> -- 
> -=- Rjs -=- rjs@spider.compart.fi - http://isil.lloke.dna.fi/rjs/
> 

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 15:18:44 1996
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 m0u1LWz-0004HwC; Mon, 25 Mar 96 15:18 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA14148; Mon, 25 Mar 1996 17:08:39 -0600
Received: from cr-df.rnp.br by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA13850 for <wu-ftpd@mail.wustl.edu>; Mon, 25 Mar 1996 17:04:23 -0600
Received: by cr-df.rnp.br (4.1/SMI-4.1)
	id AA20313; Mon, 25 Mar 96 20:00:28 EST
Message-Id: <Pine.SUN.3.91.960325194706.25334N-100000@jazz>
Date: Mon, 25 Mar 1996 20:00:28 -0300 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Nelson Simoes <nelson@cr-df.rnp.br>
To: wu-ftpd@wugate.wustl.edu
Cc: Nelson Simoes <nelson@cr-df.rnp.br>
Subject: AIX 4, gcc 2.7.2  can't build
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: nelson@jazz
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


  Hi,
 
  Does someone know what I have missed here? I can't compile ftpd
  when build aix, with gcc in AIX 4. Thank you in advance for your
  help!
 
  -- Nelson  <nelson@cr-df.rnp.br>
  
 
-----------------------------(build start)-------------------------------
 
# ./build aix 
make args are : 
make opts are : 
 
Linking Makefiles.
 
Making support library.
        gcc -O -DDEBUG   -c getusershell.c
        gcc -O -DDEBUG   -c fnmatch.c
        gcc -O -DDEBUG   -c strcasestr.c
        gcc -O -DDEBUG   -c strsep.c
        gcc -O -DDEBUG   -c authuser.c
In file included from authuser.c:7:
/usr/include/arpa/inet.h:76: warning: `struct in_addr' declared inside parametet
/usr/include/arpa/inet.h:76: warning: its scope is only this definition or decl,
/usr/include/arpa/inet.h:76: warning: which is probably not what you want.
/usr/include/arpa/inet.h:77: warning: `struct in_addr' declared inside parametet
/usr/include/arpa/inet.h:77: warning: parameter has incomplete type
/usr/include/arpa/inet.h:79: warning: parameter has incomplete type
/usr/include/arpa/inet.h:81: warning: parameter has incomplete type
        gcc -O -DDEBUG   -c strdup.c
        rm -f libsupport.a
        ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strsep.o  autho
        ranlib libsupport.a
 
Making ftpd.
        gcc -DDEBUG -I.. -I../support -L../support -c ftpd.c
ftpd.c: In function `pass':
ftpd.c:1002: warning: assignment makes integer from pointer without a cast
ftpd.c:1153: warning: passing arg 1 of `setgroups' makes integer from pointer wt
ftpd.c: In function `opt_string':
ftpd.c:1226: warning: comparison between pointer and integer
ftpd.c:1228: warning: comparison between pointer and integer
ftpd.c:1230: warning: comparison between pointer and integer
ftpd.c: In function `retrieve':
ftpd.c:1342: warning: comparison between pointer and integer
        yacc  ftpcmd.y
        mv y.tab.c ftpcmd.c
        gcc -DDEBUG -I.. -I../support -L../support -c ftpcmd.c
ftpcmd.y: In function `yyparse':
ftpcmd.y:371: `cmdtab' undeclared (first use this function)
ftpcmd.y:371: (Each undeclared identifier is reported only once
ftpcmd.y:371: for each function it appears in.)
ftpcmd.y:383: `sitetab' undeclared (first use this function)
ftpcmd.y: At top level:
ftpcmd.y:885: `cmdtab' used prior to declaration
ftpcmd.y:936: `sitetab' used prior to declaration
ftpcmd.y:1520: warning: type mismatch with previous external decl
ftpcmd.y:683: warning: previous external decl of `print_groups'
ftpcmd.y:1520: warning: type mismatch with previous implicit declaration
ftpcmd.y:683: warning: previous implicit declaration of `print_groups'
ftpcmd.y:1520: warning: `print_groups' was previously implicitly declared to re'
make: 1254-004 The error code from the last command is 1.
 
 
Stop.
 
Making ftpcount.
        gcc -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.t
ftpcount.c: In function `parsetime':
ftpcount.c:98: warning: comparison between pointer and integer
ftpcount.c:107: warning: comparison between pointer and integer
ftpcount.c: In function `acl_getlimit':
ftpcount.c:159: warning: comparison between pointer and integer
ftpcount.c:162: warning: assignment makes integer from pointer without a cast
ftpcount.c: In function `main':
ftpcount.c:307: warning: comparison between pointer and integer
ftpcount.c:310: warning: assignment makes integer from pointer without a cast
 
Making ftpshut.
        gcc -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o t
ftpshut.c: In function `main':
ftpshut.c:188: warning: comparison between pointer and integer
ftpshut.c:191: warning: assignment makes integer from pointer without a cast
 
Making ckconfig.
        gcc -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
 
Links to executables are in bin directory:
size: 0654-304 Cannot open bin/ftpd.
bin/ftpcount: 6845 + 824 + 27 + 3197 + 2172 = 13065
bin/ftpshut: 5289 + 676 + 23 + 2352 + 2172 = 10512
bin/ftpwho: 6845 + 824 + 27 + 3197 + 2172 = 13065
bin/ckconfig: 3229 + 552 + 23 + 1663 + 2172 = 7639
Done

-----------------------------(build end)-------------------------------

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 16:55:07 1996
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 m0u1N2O-000F77C; Mon, 25 Mar 96 16:55 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA20076; Mon, 25 Mar 1996 18:45:28 -0600
Received: from voyager.griffin.co.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA19887 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 18:42:34 -0600
Received: from enterprise.griffin.co.uk (dial-7.griffin.co.uk [205.248.227.156]) by voyager.griffin.co.uk (8.6.12/8.6.6) with SMTP id AAA24572; Tue, 26 Mar 1996 00:44:10 -0800
Message-Id: <31573980.4F3C@griffin.co.uk>
Date: Tue, 26 Mar 1996 00:25:36 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: PhilD <phild@griffin.co.uk>
To: sob@owlman.academ.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
X-URL: http://www.hvu.nl/~koos/wu-ftpd-faq.html
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi :

Sorry to interrupt you, but, do you know how to stop the following error message from coming up when I compile
wu-ftpd version 2.4 under a Slakware Linux 3.0.0 kernel build 1.2.13
--------
yacc ftpcmd.y
make: /usr/bin/make: cannot execute binary file




Help !!!!!!


-- 
X-Signature: default

/ Phil D, UK   E-mail : phild@griffin.co.uk /
/ Voice  :   +44 (1283) 520890 /
/ Fax    :   +44 (1283) 520890 /
.

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 18:10:49 1996
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 m0u1ODb-000F80C; Mon, 25 Mar 96 18:10 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA23976; Mon, 25 Mar 1996 19:59:22 -0600
Received: from academ.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id TAA23864 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 19:56:35 -0600
Received: (from sob@localhost) by academ.com (8.7.3/8.7.1) id TAA07899; Mon, 25 Mar 1996 19:56:13 -0600 (CST)
Message-Id: <199603260156.TAA07899@academ.com>
Date: Mon, 25 Mar 1996 19:56:13 CST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: PhilD <phild@griffin.co.uk>, sob@owlman.academ.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

No, I don't know how to stop that. I will look into it next weekend and let you
know.

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

From owner-wu-ftpd@wugate.wustl.edu Mon Mar 25 19:20:39 1996
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 m0u1PJD-000F4oC; Mon, 25 Mar 96 19:20 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id VAA27735; Mon, 25 Mar 1996 21:11:36 -0600
Received: from step.polymtl.ca by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id UAA26093 for <wu-ftpd@wugate.wustl.edu>; Mon, 25 Mar 1996 20:36:21 -0600
Received: (from coyote@localhost) by step.polymtl.ca (8.6.10/8.6.10) id VAA24775; Mon, 25 Mar 1996 21:36:02 -0500
Message-Id: <Pine.SOL.3.91.960325213306.24273A-100000@step.polymtl.ca>
Date: Mon, 25 Mar 1996 21:36:01 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vincent Cojot <coyote@step.polymtl.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: sob@owlman.academ.com
Subject: Re: wu-ftpd
In-Reply-To: <31573980.4F3C@griffin.co.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 26 Mar 1996, PhilD wrote:

> Hi :
> 
> Sorry to interrupt you, but, do you know how to stop the following error message from coming up when I compile
> wu-ftpd version 2.4 under a Slakware Linux 3.0.0 kernel build 1.2.13
> --------
> yacc ftpcmd.y
> make: /usr/bin/make: cannot execute binary file

Have you tried using "bison -y" instead of yacc ? Just a thought.. I just 
tried to compile wu-ftpd-beta-10 under Linux to verify the problem and it 
was already using bison -y... and things compiled fine but it's on a 
a.out system. Of course, this could be a totally different problem with 
make itself but it's just my 2c.. :)

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering.
Ecole Polytechnique de Montreal, Comite Micro-Informatique.
coyote@step.polymtl.ca, coyote@info.polymtl.ca

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost



From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 03:21:20 1996
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 m0u1WoO-0004N5C; Tue, 26 Mar 96 03:21 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id FAA20218; Tue, 26 Mar 1996 05:06:33 -0600
Received: from ciup1.ncc.up.pt by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA19846 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 04:55:21 -0600
Received: from garf.fe.up.pt (garfield.fe.up.pt) by ciup1.ncc.up.pt with SMTP id AA16676
  (5.65c/IDA-1.4.4 for <wu-ftpd@wugate.wustl.edu>); Tue, 26 Mar 1996 11:54:52 +0100
Received: by garf.fe.up.pt id AA07287
  (5.65c/IDA-1.4.4 for wu-ftpd@mail.wustl.edu); Tue, 26 Mar 1996 12:54:45 +0100
Message-Id: <199603261154.AA07287@garf.fe.up.pt>
Date: Tue, 26 Mar 1996 12:54:45 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Joana Peres <jperes@garfield.fe.up.pt>
To: wu-ftpd@wugate.wustl.edu
Subject: NFS
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello!

I'm with a problem with the NFS. I have the home directory of ftp in NFS Fyle system and I can't upload files.

It says: 

200 PORT command successful.
550 fchown: Not owner.

How can I change this behavior maintaining the NFS?

Thanks,
Joana Peres

============================================================================
Joana Peres                           Internet      : jperes@fe.up.pt

CICA
Faculty of Engineering   
University of Porto.
R. dos Bragas              
4000 Porto                            Tel.          : +351-2-2041630
PORTUGAL                              Fax.          : +351-2-319280
============================================================================

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 03:35:33 1996
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 m0u1X2B-0004P4C; Tue, 26 Mar 96 03:35 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id FAA21010; Tue, 26 Mar 1996 05:26:52 -0600
Received: from utrhcs.cs.utwente.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id FAA20683 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 05:18:15 -0600
Received: from gaia.cs.utwente.nl by utrhcs.cs.utwente.nl (SMI-8.6/csrelay-SVR4_1.3/RBCS)
	id MAA25658; Tue, 26 Mar 1996 12:18:13 +0100
Received: from countach.cs.utwente.nl by gaia.cs.utwente.nl (4.1/RBCS-2.2P)
	id AA18791; Tue, 26 Mar 96 12:18:10 +0100
Received: by countach.cs.utwente.nl (SMI-8.6/SMI-SVR4)
	id MAA28429; Tue, 26 Mar 1996 12:18:11 +0100
Message-Id: <199603261118.MAA28429@countach.cs.utwente.nl>
Date: Tue, 26 Mar 1996 12:18:11 +0100
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: NFS
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

rh> 
rh> Hello!

Is that me?

rh> 
rh> I'm with a problem with the NFS. I have the home directory of ftp in NFS Fyle system and I can't upload files.
rh> 
rh> It says: 
rh> 
rh> 200 PORT command successful.
rh> 550 fchown: Not owner.
rh> 
rh> How can I change this behavior maintaining the NFS?

Export the file system with root permissions to your FTP server.
Should do the trick.

rh> 
rh> Thanks,
rh> Joana Peres
rh> 

Hope this helps,

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 Mar 26 07:21:08 1996
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 m0u1aYR-0006oQC; Tue, 26 Mar 96 07:21 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA02165; Tue, 26 Mar 1996 09:06:37 -0600
Received: from climax.crg.ulaval.ca. by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA01890 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 09:02:24 -0600
Received: (from daloze@localhost) by climax.crg.ulaval.ca. (8.7.3/8.7) id KAA09909 for wu-ftpd@wugate.wustl.edu; Tue, 26 Mar 1996 10:02:57 -0500 (EST)
Message-Id: <199603261502.KAA09909@climax.crg.ulaval.ca.>
Date: Tue, 26 Mar 1996 10:02:57 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Patrick Daloze <daloze@crg.ulaval.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd
X-Sun-Charset: ISO-8859-1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


  Hi,

  Maybe your path variable don't include the bin acces path to the yacc? Ensure 
that $PATH include the yacc path (/usr/ccs/bin/yacc on solaris 2.5). Use 
"man yacc" or "find / yacc -print | grep yacc" to find where it live.

Ciao!
Pat.
---                                  ,,,
                                    (. .)
--------------------------------oOO--(_)--OOo-------------------------------

   _/_/  _/_/    _/_/   Patrick Daloze               CRG, Pavillon Casault
 _/     _/  _/ _/       Professionnel de recherche   Université Laval       
_/     _/ _/  _/   _/   Analyste des systčmes        Québec, Canada, G1K 7P4
 _/_/ _/   _/  _/_/     Tel: (418) 656-7895          Fax: (418) 656-7411
 
Email: Patrick.Daloze@CRG.ulaval.ca ** URL: http://www.crg.ulaval.ca/~daloze
----------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 09:40:35 1996
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 m0u1cjK-0004HxC; Tue, 26 Mar 96 09:40 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA16270; Tue, 26 Mar 1996 11:29:17 -0600
Received: from saluki-mail.fiber2.siu.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA16029 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 11:25:43 -0600
Received: from reliant.c-cwis.siu.edu by saluki-mail.fiber2.siu.edu (AIX 3.2/UCB 5.64/4.03)
          id AA36809; Tue, 26 Mar 1996 11:20:55 -0600
Message-Id: <Pine.SOL.3.91.960326112843.6290L-100000@reliant>
Date: Tue, 26 Mar 1996 11:30:04 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "John R. Johnson" <john@siu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: STRU and MODE feature of ftp
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: john@reliant
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We have a process that automatically ftp's to our web server.  It uses
STRU = R and MODE = B for the transfer.  It doesn't work with wu-ftpd-2.4
Does it work with any of the later versions?
John

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 13:59:08 1996
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 m0u1gl1-0004JmC; Tue, 26 Mar 96 13:58 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA05966; Tue, 26 Mar 1996 15:48:03 -0600
Received: from ns.ge.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA05637 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 15:44:23 -0600
Received: from bsuskind.is.ge.com ([3.19.7.222]) by ns.ge.com (8.7.5/8.7.3) with ESMTP id QAA07018 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 16:44:16 -0500
Received: from bsuskind (localhost) by bsuskind.is.ge.com with SMTP
	(1.37.109.16/16.2) id AA137056653; Tue, 26 Mar 1996 16:44:13 -0500
Message-Id: <3158652C.4D39@is.ge.com>
Date: Tue, 26 Mar 1996 16:44:12 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Barry Suskind <bsuskind@is.ge.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: NFS
References: <199603261118.MAA28429@countach.cs.utwente.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bsuskind@is.ge.com
X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/715)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Ronald.Hello@cs.utwente.nl wrote:
> 
> rh>
> rh> Hello!
> 
> Is that me?
> 
> rh>
> rh> I'm with a problem with the NFS. I have the home directory of ftp in NFS Fyle system and I can't upload files.
> rh>
> rh> It says:
> rh>
> rh> 200 PORT command successful.
> rh> 550 fchown: Not owner.
> rh>
> rh> How can I change this behavior maintaining the NFS?
> 
> Export the file system with root permissions to your FTP server.
> Should do the trick.
> 
> rh>
> rh> Thanks,
> rh> Joana Peres
> rh>
> 
> Hope this helps,
> 
> Ronald.
> 
> --
> // Ronald Hello  (Ronald.Hello@cs.utwente.nl)
> // University of Twente
> // Department of Computer Science
> // The Netherlands

Hopefully you aren't trying to use the "upload" command to change
the ownership of the files as they are uploaded. This will NOT work
with NFS. I have tried it. 
-- 
barry

|======================================================================
|Barry A. Suskind          |"If it weren't for change, your job would 
|GE Information Services   |consist of making sure the corporate abacus
|Email: bsuskind@is.ge.com |rods were adequately greased" - John Cleese
|Phone: (301)-340-4667     |===========================================
|SnailMail: 401 N Washington St, Mail Stop: MC07D, Rockville MD, 20850

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 15:51:08 1996
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 m0u1iVw-0004SiC; Tue, 26 Mar 96 15:51 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA13614; Tue, 26 Mar 1996 17:40:25 -0600
Received: from morrison.colorado.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA13171 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 17:33:03 -0600
Received: (from mccollh@localhost) by morrison.colorado.edu (8.6.12/8.6.12/HAM_III/Hesiod/(SDM)) id QAA05097 for wu-ftpd@wugate.wustl.edu; Tue, 26 Mar 1996 16:33:01 -0700
Message-Id: <199603262333.QAA05097@morrison.colorado.edu>
Date: Tue, 26 Mar 1996 16:33:01 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alex Gadget McColl <mccollh@morrison.colorado.edu>
To: wu-ftpd@wugate.wustl.edu (University Washington)
Subject: ** Unable to get compression to work **
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear wu-ftper's,
I am trying to set up wuftpd2.4 for bothe SunOS 4.1.4 and OSF/1 3.2
and I've got the same problem on bothe!

when I ftp in and try to get a file (and have it compressed)

ftp> cd /pub
250 CWD command successful.
ftp> bin
200 Type set to I.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
big_text_file
small_text_file
226 Transfer complete.
ftp> get small_text_file.gz
200 PORT command successful.
150 Opening BINARY mode data connection for /bin/gzip.
226 Transfer complete.
ftp> 

Now, when I look at the file on the receiving side... it is 0 bytes in size.
Any Ideas?  I built gzip statically on bothe and even included ~ftp/usr/lib
for the SunOS machine... neither seemed to help.

ANY HELP would be very much appreciated!

Thanks,
Alex.
mccollh@colorado.edu

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 22:16:11 1996
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 m0u1oWe-000F4QC; Tue, 26 Mar 96 22:16 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA04734; Wed, 27 Mar 1996 00:05:20 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id XAA04481 for <wu-ftpd@wugate.wustl.edu>; Tue, 26 Mar 1996 23:59:15 -0600
Received: by electric.rain.aic.net.au
	id <m0u1xJw-0001RcC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 28 Mar 96 01:39 EST
Message-Id: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au>
Date: Thu, 28 Mar 1996 01:39:35 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: backing up over an ethernet network
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


does anyone know how i could automate an ftp session?

i have a scrip which backs up certain files at certain times (tcsh) it 
tars them to disk, then i would like it to automagically ftp to another 
machine on the same network, login and put the files there?

any ideas how?

thanx 


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Basho>
BY THE OWARI SEA
Over foam-flecked waves in the falling night, the wild
ducks' cries are dying, dim and white.
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 22:45:31 1996
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 m0u1oz2-0004PcC; Tue, 26 Mar 96 22:45 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA06223; Wed, 27 Mar 1996 00:36:07 -0600
Received: from morpho.dar.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id AAA06107 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 00:33:03 -0600
Received: (from are1@localhost) by morpho.dar.net (8.6.9/8.6.9) id AAA16456; Wed, 27 Mar 1996 00:35:07 -0600
Message-Id: <Pine.LNX.3.91.960327002819.16415A-100000@morpho.dar.net>
Date: Wed, 27 Mar 1996 00:35:07 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Ellsworth <are1@dar.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: automated FTP sessions
In-Reply-To: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 28 Mar 1996, Fundamental wrote:

> does anyone know how i could automate an ftp session?

If you simply make a text file that contains the appropriate commands, 
pipe it into FTP, and pipe the output to a file (or /dev/null), that 
should work.  Something like:

  ftp < foo.txt > ftp-log.txt

-should- work fine.  (With the emphasis on 'should' -- I've done what you 
describe before, but it's been a while, and the details are a bit 
sketchy...but you get the general idea.)


Andy Ellsworth             | "...The wind was not the beginning.  There are
are1@cec.wustl.edu         | neither beginnings nor endings to the turning of
Assistant Admin, wuarchive | the Wheel of Time.  But it was _a_ beginning..."
http://cec.wustl.edu/~are1 |          --The Wheel of Time saga, Robert Jordan

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 22:59:17 1996
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 m0u1pCM-000DDbC; Tue, 26 Mar 96 22:59 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id AAA06925; Wed, 27 Mar 1996 00:50:34 -0600
Received: from taz.hyperreal.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id AAA06540 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 00:43:24 -0600
Received: by taz.hyperreal.com (8.6.12/8.6.5) id WAA15593; Tue, 26 Mar 1996 22:43:11 -0800
Message-Id: <199603270643.WAA15593@taz.hyperreal.com>
Date: Tue, 26 Mar 1996 22:43:11 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andrew Bennett <abennett@hyperreal.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
In-Reply-To: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au> from "Fundamental" at Mar 28, 96 01:39:35 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

Fundamental said ::
> 
> does anyone know how i could automate an ftp session?

You might want to look into a package called Expect.  It's basically a 
scripting language that one can use on unix machines to automate 
interactive processes, like an ftp session.

I know O'Reilly & Associates have a book covering it.  I don't own the
book, and can't vouch for it's wholeness.  But you might want to check 
out their website at http://www.ora.com/, specifically the 
http://www.ora.com/www/item/expect.html URL.


Andrew
-- 

  Andrew Bennett
  abennett@hyperreal.com, abennett@cruzio.com
  http://taz.hyperreal.com/~abennett/

From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 23:52:28 1996
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 m0u1q1p-000F3vC; Tue, 26 Mar 96 23:52 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA09168; Wed, 27 Mar 1996 01:43:38 -0600
Received: from caesar.udac.se by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA09002 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 01:40:45 -0600
Received: from pharma1.pharmasoft.se (pharma1.pharmasoft.se [193.235.51.9]) by caesar.udac.se (8.7.3/NetworkC-1) with SMTP id IAA13781 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 08:40:40 +0100
Received: from rolandn.pharmasoft.se by pharma1.pharmasoft.se with SMTP
	(1.38.193.5/16.2) id AA05889; Wed, 27 Mar 1996 08:35:23 +0100
Message-Id: <199603270740.IAA13781@caesar.udac.se>
Date: Wed, 27 Mar 1996 08:35:23 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Roland Nygren <Roland.Nygren@pharmasoft.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
X-Sender: rolandn@pop.pharmasoft.se
X-Mailer: Windows Eudora Light Version 1.5.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



>does anyone know how i could automate an ftp session?
>
>i have a scrip which backs up certain files at certain times (tcsh) it 
>tars them to disk, then i would like it to automagically ftp to another 
>machine on the same network, login and put the files there?

Why not use rcp ? That would be very easy.
-------------------------------------------------------------------------
Roland Nygren
PharmaSoft
Box 1237
751 42 UPPSALA, Sweden

Tel. + 46 18 185408
Fax. + 46 18 109200
Mail. Roland.Nygren@PharmaSoft.se
http://www.pharmasoft.se
-------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 02:00:08 1996
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 m0u1s1N-0004W5C; Wed, 27 Mar 96 02:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id DAA13350; Wed, 27 Mar 1996 03:51:00 -0600
Received: from mail1.digital.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id DAA13251 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 03:48:10 -0600
Received: from redbck.stl.dec.com by mail1.digital.com (5.65 EXP 4/12/95 for V3.2/1.0/WV)
	id AA25151; Wed, 27 Mar 1996 01:42:41 -0800
Received: by redbck.stl.dec.com (5.65/fma-100391);
	id AA11502; Wed, 27 Mar 1996 20:42:21 +1000
Received: by exchange.stl.dec.com with Microsoft Exchange (IMC 4.12.736)
	id <01BB1C15.9E16B5C0@exchange.stl.dec.com>; Wed, 27 Mar 1996 19:43:05 +1000
Message-Id: <c=AU%a=_%p=Digital_Equipmen%l=EXCHANGE960327194303EZ006200@exchange.stl.dec.com>
Date: Wed, 27 Mar 1996 19:43:03 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stephen Thompson <steve@stl.dec.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Unable to get tar.gz to work
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.12.736
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I can get .tar to work, and .gz to work, but can't get .tar.gz to work.. any
ideas?


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 06:16:05 1996
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 m0u1w11-0004IiC; Wed, 27 Mar 96 06:15 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA22950; Wed, 27 Mar 1996 08:01:53 -0600
Received: from longwood.cs.ucf.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id HAA22635 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 07:56:32 -0600
Received: by longwood.cs.ucf.edu id AA05657
  (5.65c/IDA-1.4.4 for wu-ftpd@wugate.wustl.edu); Wed, 27 Mar 1996 08:56:29 -0500
Message-Id: <199603271356.AA05657@longwood.cs.ucf.edu>
Date: Wed, 27 Mar 1996 08:56:29 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Denise Tjong  <denise@cs.ucf.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: automated FTP sessions
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 28 Mar 1996, Fundamental wrote:

> does anyone know how i could automate an ftp session?

You could use Expect to automate an ftp session. I've done it and 
the scripts work great.

Denise

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 07:17:40 1996
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 m0u1wyg-0004RtC; Wed, 27 Mar 96 07:17 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA27354; Wed, 27 Mar 1996 09:08:05 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA26803 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 09:01:09 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id KAA01542; Wed, 27 Mar 1996 10:00:09 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960327095516.1538C-100000@mintaka.iern.disa.mil>
Date: Wed, 27 Mar 1996 10:00:09 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Unable to get tar.gz to work
In-Reply-To: <c=AU%a=_%p=Digital_Equipmen%l=EXCHANGE960327194303EZ006200@exchange.stl.dec.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Stephen,

I had the same problem.  Mine was because I had put the progs in 
/usr/local/bin which is not part of the standard environment var
PATH.  I could not find a way to force ftpd to pick up a new environment
so I used the --use-compress-program option of tar to specify the 
full path name of the compress routine.  This was not a problem for
.tar.Z because the standard location for "compress" is /usr/ucb
which was included in the default PATH variable.  I am running SunOS
4.1.4.

I hope this helps,
Jim

On Wed, 27 Mar 1996, Stephen Thompson wrote:

> I can get .tar to work, and .gz to work, but can't get .tar.gz to work.. any
> ideas?
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 07:22:43 1996
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 m0u1x3W-0006nBC; Wed, 27 Mar 96 07:22 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA27654; Wed, 27 Mar 1996 09:12:20 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA27052 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 09:04:27 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id KAA01566; Wed, 27 Mar 1996 10:03:14 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960327100053.1538D-100000@mintaka.iern.disa.mil>
Date: Wed, 27 Mar 1996 10:03:13 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: Fundamental <kaneda@electric.rain.aic.net.au>
Cc: Server List <wu-ftpd@wugate.wustl.edu>
Subject: Re: backing up over an ethernet network
In-Reply-To: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

There are two ways I have done this on Unix SunOS 4.1.X. One is using 
rcp in conjunction with a cronfile.  The other is using the .netrc file
which controls automated ftps.  Use cron to initiate the ftp and the
.netrc file is consulted to see what to do.  On my machine just doing
a man on netrc will provide the details.

Jim


On Thu, 28 Mar 1996, Fundamental wrote:

> 
> does anyone know how i could automate an ftp session?
> 
> i have a scrip which backs up certain files at certain times (tcsh) it 
> tars them to disk, then i would like it to automagically ftp to another 
> machine on the same network, login and put the files there?
> 
> any ideas how?
> 
> thanx 
> 
> 
> \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
> <Basho>
> BY THE OWARI SEA
> Over foam-flecked waves in the falling night, the wild
> ducks' cries are dying, dim and white.
> ////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
> The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 08:16:16 1996
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 m0u1xtN-0004McC; Wed, 27 Mar 96 08:16 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA02154; Wed, 27 Mar 1996 10:03:32 -0600
Received: from natika.arl.mil by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA01609 for <wu-ftpd@mail.wustl.edu>; Wed, 27 Mar 1996 09:57:10 -0600
Received: from ampere.arl.mil by natika.arl.mil (1.37.109.4/SMI-4.1)
	id AA22559; Wed, 27 Mar 96 08:58:18 -0700
Received: by ampere.arl.mil (1.37.109.4/SMI-4.1)
	id AA21662; Wed, 27 Mar 96 09:00:38 -0700
Message-Id: <Pine.3.87.9603270835.A20193-0100000@ampere.arl.mil>
Date: Wed, 27 Mar 1996 08:37:35 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: PADILLA RICHARD BE-E 505-678-7465 <rpadilla@arl.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem With Win-95 and Win-NT FTP GUI.
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

WU-ftpd server,

I recently installed ftpd server software and am getting the following 
problem:

When I try to transfer files from my PC GUI (Drag and Drop) to the
workstation anonymous FTP directory my system errors-off. The problem only
occurs when I use the GUI in Win-95 and Win-NT.  If I go from my DOS
prompt I am able to Xfer files O.K.  The system also works O.K. when I go
from workstation to workstation. 
 
I can login to my anonymous ftp user-i-d and then point and click (cd) to
any other directory such as /ftp/etc and /ftp/bin, but when I do a point
and click (cd) to /ftp/pub the system errors off. 


any suggestions?

rpadilla@arl.mil


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 08:55:28 1996
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 m0u1yVJ-0004PJC; Wed, 27 Mar 96 08:55 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA04900; Wed, 27 Mar 1996 10:43:22 -0600
Received: from soldev.tti.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA04161 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 10:29:24 -0600
Received: from kentnt (kentnt.tti.com) by soldev.tti.com (4.1/SMI-4.1)
	id AA11149; Wed, 27 Mar 96 08:28:07 PST
Message-Id: <9603271628.AA11149@soldev.tti.com>
Date: Wed, 27 Mar 1996 08:36:00 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kent Frazier" <frazier@tti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
X-Mailer: Pegasus Mail for Windows (v2.23)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

There is a utility called xtp which is a batch version of ftp. It
can be found at various sites (check with archie), usually 
associated with the ImageMagick software. Amongst
them

  ftp.cs.umass.edu  
/pub/rcf/X11R6/ultrix/contrib/programs/ImageMagick/xtp

> Subject:       Re: backing up over an ethernet network

> There are two ways I have done this on Unix SunOS 4.1.X. One is using 
> rcp in conjunction with a cronfile.  The other is using the .netrc file
> which controls automated ftps.  Use cron to initiate the ftp and the
> .netrc file is consulted to see what to do.  On my machine just doing
> a man on netrc will provide the details.
> 
> Jim
> 
> 
> On Thu, 28 Mar 1996, Fundamental wrote:
> 
> > 
> > does anyone know how i could automate an ftp session?
> > 
> > i have a scrip which backs up certain files at certain times (tcsh) it 
> > tars them to disk, then i would like it to automagically ftp to another 
> > machine on the same network, login and put the files there?
> > 
> > any ideas how?
> > 
> > thanx 
> > 
> > 
> > \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
> > <Basho>
> > BY THE OWARI SEA
> > Over foam-flecked waves in the falling night, the wild
> > ducks' cries are dying, dim and white.
> > ////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
> > The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance
> > 
> > 
> > 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 09:38:52 1996
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 m0u1zBB-0004T7C; Wed, 27 Mar 96 09:38 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA08158; Wed, 27 Mar 1996 11:25:15 -0600
Received: from cfd.sandia.gov by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA07818 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 11:21:48 -0600
Received: from bserver.cfd.sandia.gov.cfd.sandia.gov ([132.175.121.1]) by cfd.sandia.gov (4.1/SMI-4.1)
	id AA29507; Wed, 27 Mar 96 10:22:09 MST
Received: by bserver.cfd.sandia.gov.cfd.sandia.gov (4.1/SMI-4.1)
	id AA18158; Wed, 27 Mar 96 10:22:08 MST
Message-Id: <9603271722.AA18158@bserver.cfd.sandia.gov.cfd.sandia.gov>
Date: Wed, 27 Mar 96 10:22:08 MST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dmsears@cfd.sandia.gov (David Sears)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: automated FTP sessions
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>From "Fundamental <kaneda@electric.rain.aic.net.au>" on Tue Mar 26 23:17:38 1996

> does anyone know how i could automate an ftp session?
>  
> i have a scrip which backs up certain files at certain times (tcsh) it 
> tars them to disk, then i would like it to automagically ftp to another 
> machine on the same network, login and put the files there?
>  
> any ideas how?
>  
> thanx 
 
Here is a script we use.  Works well with anonymous FTP sites, cron and at.
For non-anonymous FTP sites you need to plug in your username and password, a
debatable practice.

In this example, the script is getting the file 

	ftp.microsoft.com:/softlib/mslfiles/pw1118.exe

and storing it in "/tmp" on the local host.  Done via anonymous FTP.  

Hope it is of some use...

David

...BEGIN "getftp.sh" script...
#!/bin/sh
 
#
# getftp.sh - Use anonymous FTP to transfer a file
#
 
MYNAME=`basename $0`		# Name of this script
MAILER=/usr/ucb/Mail		# How do I send e-mail
MAILTO=dmsears			# Send e-mail to
UNAME=anonymous			# FTP username
PASSWORD=dmsears@sandia.gov	# FTP password
RHOST=ftp.microsoft.com		# set hostname to FTP to
RDIR="softlib/mslfiles"		# set remote directory on FTP site
RFILE=pw1118.exe		# set filename on FTP site to get
LDIR=/tmp			# Local directory
 
cd $LDIR

ftp -nv > ftp.log <<-EOF
        open $RHOST
        user $UNAME $PASSWORD
        cd $RDIR
        bin
        get $RFILE
        quit
EOF
 
STAT=$?
 
$MAILER -s "$MYNAME file=${LDIR}/$RFILE ($STAT)" $MAILTO < /dev/null

exit $STAT
...END "getftp.sh" script...

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 11:49:58 1996
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 m0u21Di-000F5rC; Wed, 27 Mar 96 11:49 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA18501; Wed, 27 Mar 1996 13:38:51 -0600
Received: from bigbrother.sonalysts.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA17883 for <wu-ftpd@mail.wustl.edu>; Wed, 27 Mar 1996 13:31:05 -0600
Received: by bigbrother.sonalysts.com; id OAA27514; Wed, 27 Mar 1996 14:35:25 -0500
Received: from martin.sonalysts.com(198.6.215.40) by bigbrother.sonalysts.com via smap (g3.0.3)
	id xma027512; Wed, 27 Mar 96 14:35:23 -0500
Message-Id: <3159955D.2966@sonalysts.com>
Date: Wed, 27 Mar 1996 14:22:05 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Schaeffer <hjs@sonalysts.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpd core dumping
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: hjs@sonalysts.com
X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/710)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

	I'm trying to setup wu-ftpd on a BSDi system. It seems to be core
dumping 
whenever It trys to write logging information to the xferlog. With
logging turned 
off the server works fine. I have the same configuration running under
HP-UX and
it works fine???

-- 
John Schaeffer                        |           Sonalysts, Inc.
Email: hjs@sonalysts.com              |         215 Parkway North
Work: (203)442-4355x274               |        Waterford CT 06385

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 12:24:58 1996
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 m0u21m1-0004SMC; Wed, 27 Mar 96 12:24 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA21556; Wed, 27 Mar 1996 14:13:53 -0600
Received: from red.isearch.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA21175 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 14:09:03 -0600
Received: (from tim@localhost) by red.isearch.com (8.6.10/8.6.10) id MAA11449 for wu-ftpd@wugate.wustl.edu; Wed, 27 Mar 1996 12:08:57 -0800
Message-Id: <199603272008.MAA11449@red.isearch.com>
Date: Wed, 27 Mar 1996 12:08:57 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tim Capps <tim@isearch.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


>From owner-wu-ftpd@wugate.wustl.edu Tue Mar 26 22:07:26 1996
>i have a scrip which backs up certain files at certain times (tcsh)
            ^ that's "script"

> i would like it to automagically ftp to another 
>machine on the same network, login and put the files there?

The easiest way to do that is to use rcp, not ftp.  So let's say you wanted
to copy a tar file from machine "red" to machine "blue" you'd do:

red# rcp /u/mydir/mytar.tar blue:/u/mybackupdir

Now, on "blue" you need a ".rhosts" file to make this work.  Let's say you
have user "fred" on both systems, and "fred" is the one initiating the
rcp from his crontab or whatever... in fred's home directory on blue, you'd
need a .rhosts file which contains at least the one line:

    red.mydomain.com fred

That's all there is to it!

Cheers,
Tim

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 13:01:47 1996
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 m0u22Lf-0004KhC; Wed, 27 Mar 96 13:01 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA23710; Wed, 27 Mar 1996 14:47:58 -0600
Received: from mail.nerosworld.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA23364 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 14:43:21 -0600
Received: from 206.102.192.44 by mail.nerosworld.com
 with SMTP (Apple Internet Mail Server 1.0); Wed, 27 Mar 1996 14:43:16 -0600
Message-Id: <31595442.64CA@nerosworld.com>
Date: Wed, 27 Mar 1996 14:44:18 +0000
Reply-To: deperry@nerosworld.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Perry <deperry@nerosworld.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
References: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Macintosh; I; PPC)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I would look at the perl script mirror 2.3 for a basic 
concept. Bet it is close. Think I found it at a gnu 
site.Fundamental wrote:


David Perry

Fundamental wrote:
> 
> does anyone know how i could automate an ftp session?
> 
> i have a scrip which backs up certain files at certain times (tcsh) it
> tars them to disk, then i would like it to automagically ftp to another
> machine on the same network, login and put the files there?
> 
> any ideas how?
> 
> thanx
> 
> \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
> <Basho>
> BY THE OWARI SEA
> Over foam-flecked waves in the falling night, the wild
> ducks' cries are dying, dim and white.
> ////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
> The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 13:42:05 1996
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 m0u22yg-0004VwC; Wed, 27 Mar 96 13:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA26253; Wed, 27 Mar 1996 15:23:17 -0600
Received: from fiber.net by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA25688 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 15:14:40 -0600
Received: by fiber.net (NX5.67f2/NX3.0M)
	id AA22015; Wed, 27 Mar 96 14:15:53 -0700
Received: by NeXT.Mailer (1.118.2)
Message-Id: <9603272115.AA22015@fiber.net>
Date: Wed, 27 Mar 96 14:15:49 -0700
Reply-To: cpayne@fiber.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carl Payne <cpayne@fiber.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
References: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au>
	<31595442.64CA@nerosworld.com>
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> does anyone know how i could automate an ftp session?
>=20
> i have a scrip which backs up certain files at certain times (tcsh) it
> tars them to disk, then i would like it to automagically ftp to another
> machine on the same network, login and put the files there?

Maybe I'm lost.  Yep, I bet that's it.  Regardless, I'll ask anyway:

Why don't you just use something better suited to task?

Amanda does a cross-ethernet / cross-network / cross-pen set / =
cross-your-heart backup to either a tar file on a "server" or to a tape =
machine on the server.  It's extemely configurable, uses its own port,  and =
is freeware (i think).

Apologies if that's just not going to work with you.


Carl=

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 15:12:24 1996
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 m0u24O5-0004GUC; Wed, 27 Mar 96 15:12 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA03073; Wed, 27 Mar 1996 17:01:45 -0600
Received: from fiber.net by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id QAA02674 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 16:56:07 -0600
Received: by fiber.net (NX5.67f2/NX3.0M)
	id AA24538; Wed, 27 Mar 96 15:57:15 -0700
Received: by NeXT.Mailer (1.118.2)
Message-Id: <9603272257.AA24538@fiber.net>
Date: Wed, 27 Mar 96 15:57:05 -0700
Reply-To: cpayne@fiber.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carl Payne <cpayne@fiber.net>
To: wu-ftpd@wugate.wustl.edu
Subject: AMANDA was: Re: backing up over an ethernet network
References: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au>
	<31595442.64CA@nerosworld.com>
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Well, after opening my big mouth and mentioning Amanda, I got innundated =
with requests for it.  Rather than spend time I don't have uploading it to =
you all, please feel free to FTP it from me:

ftp2.fiber.net/pub/amanda-2.2.6.tar.gz

That ought to help you out.


Carl=

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 15:27:44 1996
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 m0u24ct-0006qXC; Wed, 27 Mar 96 15:27 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA04361; Wed, 27 Mar 1996 17:18:57 -0600
Received: from oo.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA03911 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 17:12:25 -0600
Received: from Zandor.oo.com (homer.oo.com [204.215.243.67]) by oo.com (8.6.12/8.6.9) with SMTP id SAA11609 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 18:08:17 -0500
Message-Id: <199603272308.SAA11609@oo.com>
Date: Wed, 27 Mar 1996 18:10:37 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: john@oo.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: automated FTP sessions
X-mailer: Pegasus Mail for Windows (v2.20)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

  I have done this also as discribed below, look at .netrc 
 ( man netrc ) this will automate the login procedure to
 the HOST you are connecting to. I just did this for a
 client in N.C. so I know it works.
 
> Date:          Wed, 27 Mar 1996 00:35:07 -0600 (CST)
> Reply-to:      wu-ftpd@wugate.wustl.edu
> From:          Andy Ellsworth <are1@dar.net>
> To:            wu-ftpd@wugate.wustl.edu
> Subject:       Re: automated FTP sessions

> On Thu, 28 Mar 1996, Fundamental wrote:
> 
> > does anyone know how i could automate an ftp session?
> 
> If you simply make a text file that contains the appropriate commands, 
> pipe it into FTP, and pipe the output to a file (or /dev/null), that 
> should work.  Something like:
> 
>   ftp < foo.txt > ftp-log.txt
> 
> -should- work fine.  (With the emphasis on 'should' -- I've done what you 
> describe before, but it's been a while, and the details are a bit 
> sketchy...but you get the general idea.)
> 
> 
> Andy Ellsworth             | "...The wind was not the beginning.  There are
> are1@cec.wustl.edu         | neither beginnings nor endings to the turning of
> Assistant Admin, wuarchive | the Wheel of Time.  But it was _a_ beginning..."
> http://cec.wustl.edu/~are1 |          --The Wheel of Time saga, Robert Jordan
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 16:04:01 1996
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 m0u25As-000F3uC; Wed, 27 Mar 96 16:02 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id RAA06646; Wed, 27 Mar 1996 17:53:54 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id RAA06287 for <wu-ftpd@wugate.wustl.edu>; Wed, 27 Mar 1996 17:47:02 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id SAA03121; Wed, 27 Mar 1996 18:45:59 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960327184339.3115A-100000@mintaka.iern.disa.mil>
Date: Wed, 27 Mar 1996 18:45:59 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: UUCP L.sys file
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Can anyone point me to a copy or provide it directly.

Thanks,
Jim


From owner-wu-ftpd@wugate.wustl.edu Wed Mar 27 23:53:28 1996
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 m0u2CWK-0004JWC; Wed, 27 Mar 96 23:53 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA00178; Thu, 28 Mar 1996 01:45:05 -0600
Received: from ruulot.let.ruu.nl by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA29807 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 01:32:53 -0600
Received: by ruulot.let.ruu.nl id AA27109
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Thu, 28 Mar 1996 08:32:47 +0100
Message-Id: <199603280732.AA27109@ruulot.let.ruu.nl>
Date: Thu, 28 Mar 1996 08:32:47 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jules van Weerden <Jules.vanWeerden@let.ruu.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,
> There are two ways I have done this on Unix SunOS 4.1.X. One is using 
> rcp in conjunction with a cronfile.  The other is using the .netrc file
> which controls automated ftps.  Use cron to initiate the ftp and the
> .netrc file is consulted to see what to do.  On my machine just doing
> a man on netrc will provide the details.
Another possibility is to instaal an ftp-mirror, like mirror-2.3.

You can find it eg at src.doc.ic.ac.uk [146.169.2.1]
directory: computing/archiving/mirror (shortcut packages/mirror).

>From the READMEf-ile:

Mirror is a package written in Perl that uses the ftp protocol to
duplicate a directory hierarchy between the machine it is run on and a
remote host.  It avoids copying files unnecessarily by comparing the
file timestamps and sizes before transfering.  Amongst other things
can optionally compress, gzip, and split files.

It was written for use by archive maintainers but can be used by
anyone wanting to transfer a lot of files over ftp.


        
Regards,				Jules van Weerden
					Fac Letteren, UU, NL

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 06:15:53 1996
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 m0u2IUQ-000F5RC; Thu, 28 Mar 96 06:15 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA13669; Thu, 28 Mar 1996 08:07:08 -0600
Received: from ciw2.ciwemb.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA13346 for <wu-ftpd@mail.wustl.edu>; Thu, 28 Mar 1996 08:00:58 -0600
Received: from mail1.ciwemb.edu by ciw2.ciwemb.edu (4.1/SMI-4.1)
	id AA02663; Thu, 28 Mar 96 08:56:39 EST
Message-Id: <n1384118801.56985@mail1.ciwemb.edu>
Date: 28 Mar 1996 08:59:55 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bill Kupiec" <kupiec@mail1.ciwemb.edu>
To: "wu-ftpd list" <wu-ftpd@wugate.wustl.edu>
Subject: Installing wu-ftpd
X-Mailer: Mail*Link SMTP-QM 3.0.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

                                                              Time:8:31 AM
Subject:     Installing wu-ftpd                               Date:3/28/96

I'm new to wu-ftpd and I'm getting the following error(s) when trying to
install wu-ftpd. Can anyone shed some light on where I'm going wrong? (This is
on a Sun 4.1.3 machine).

# 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.
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strerror.o strsep.o authuser.o
syslog.
o
ranlib libsupport.a

Making ftpd.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
log
wtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
authenti
cate.o conversions.o hostacc.o -lsupport
ld: -lgcc: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ftpd'

Making ftpcount.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsu
pport
0: unknown flag -lang-c
0: unknown flag -g
gcc: installation problem, cannot exec cc1: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'

Making ftpshut.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupp
ort
0: unknown flag -lang-c
0: unknown flag -g
gcc: installation problem, cannot exec cc1: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
`ckconfig' is up to date.
ln: ftpwho: File exists
ln: ckconfig: File exists

Links to executables are in bin directory:
text    data    bss     dec     hex
122880  16384   9528    148792  24538   bin/ftpd
8192    8192    0       16384   4000    bin/ftpcount
8192    8192    0       16384   4000    bin/ftpshut
8192    8192    0       16384   4000    bin/ftpwho
8192    8192    0       16384   4000    bin/ckconfig
Done

Regards,
-Bill
------------------------------------------------------------
 Bill Kupiec
 Operations Manager
 Carnegie Institution of Washington
 kupiec@mail1.ciwemb.edu
------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 07:18:09 1996
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 m0u2JSe-000CnVC; Thu, 28 Mar 96 07:18 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA17817; Thu, 28 Mar 1996 09:08:34 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA17367 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 09:01:56 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Thu, 28 Mar 1996 15:01:16 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id PAA08612;
          Thu, 28 Mar 1996 15:01:40 GMT
Message-Id: <315AA9D4.776D@thale.nott.ac.uk>
Date: Thu, 28 Mar 1996 15:01:40 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
References: <n1384118801.56985@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bill Kupiec wrote:
> 
>                                                               Time:8:31 AM
> Subject:     Installing wu-ftpd                               Date:3/28/96
> 
> I'm new to wu-ftpd and I'm getting the following error(s) when trying to
> install wu-ftpd. Can anyone shed some light on where I'm going wrong? (This is
> on a Sun 4.1.3 machine).
> 
> # 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.
> rm -f libsupport.a
> ar cq libsupport.a fnmatch.o strcasestr.o strerror.o strsep.o authuser.o
> syslog.
> o
> ranlib libsupport.a
>

all this is OK .... just making sure the config files haven't been edited
 
> Making ftpd.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
> log
> wtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
> authenti
> cate.o conversions.o hostacc.o -lsupport
> ld: -lgcc: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'
> 

this is a fairly straightforward error - the compiler can't find the lib file libgcc????? make sure its in the
path or a link to it is in the path.

/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.1/libgcc.a is what mine is called

if it can't find this in your path then it can't link in its functions.




> Making ftpcount.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
> -lsu
> pport
> 0: unknown flag -lang-c
> 0: unknown flag -g
> gcc: installation problem, cannot exec cc1: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `ftpcount'

A similar thing - cc1 is the precompiler for gcc, and is probably in the gcc bin directory. add a link in
/usr/local/bin to this file (or /usr/bin/ if you like!)

> 
> Making ftpshut.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
> -lsupp
> ort
> 0: unknown flag -lang-c
> 0: unknown flag -g
> gcc: installation problem, cannot exec cc1: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `ftpshut'
> 
> Making ckconfig.
> `ckconfig' is up to date.
> ln: ftpwho: File exists
> ln: ckconfig: File exists
> 
> Links to executables are in bin directory:
> text    data    bss     dec     hex
> 122880  16384   9528    148792  24538   bin/ftpd
> 8192    8192    0       16384   4000    bin/ftpcount
> 8192    8192    0       16384   4000    bin/ftpshut
> 8192    8192    0       16384   4000    bin/ftpwho
> 8192    8192    0       16384   4000    bin/ckconfig
> Done

Once these two links have been created then it should compile (or at least try!)

> 
> Regards,
> -Bill

Don't worry - I was in a similar position for a Solaris 2.5 build last week!

Hope that helps

-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 07:40:36 1996
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 m0u2JoI-0004HtC; Thu, 28 Mar 96 07:40 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA19981; Thu, 28 Mar 1996 09:32:45 -0600
Received: from elixir.e.kth.se by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA19719 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 09:29:46 -0600
Received: from dupond.e.kth.se (dupond.e.kth.se [130.237.48.24]) by elixir.e.kth.se (8.6.12/8.6.12) with ESMTP id QAA32721; Thu, 28 Mar 1996 16:29:41 +0100
Received: (mikan@localhost) by dupond.e.kth.se (8.6.12/8.6.6) id QAA01661; Thu, 28 Mar 1996 16:29:38 +0100
Message-Id: <199603281529.QAA01661@dupond.e.kth.se>
Date: Thu, 28 Mar 1996 16:29:35 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mikael Andersson <mikan@elixir.e.kth.se>
To: wu-ftpd@wugate.wustl.edu
Cc: mikan@elixir.e.kth.se
Subject: wu-ftpd with support for Kerberos4&Afs
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
X-Mailer: Mew version 1.00 on Emacs 19.30.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello! 

I wonder if it exist a version of Wu-Ftpd with Kerberos4 and Afs
support, wich is free to export outside the states (Europe, Sweden). I
only know about the version at athena(wich is mentioned in the FAQ), 
but it's not for export. 

CU

  / Mikael <mikan@elixir.e.kth.se>

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 08:19:40 1996
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 m0u2KQ7-0000DLC; Thu, 28 Mar 96 08:19 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA23107; Thu, 28 Mar 1996 10:08:16 -0600
Received: from bud. by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA22887 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 10:05:27 -0600
Received: by bud. (5.x/SMI-SVR4)
	id AA28067; Thu, 28 Mar 1996 11:00:45 -0500
Message-Id: <9603281600.AA28067@bud.>
Date: Thu, 28 Mar 1996 11:00:45 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mercerm@sclfl.com
To: wu-ftpd@wugate.wustl.edu
Subject: Installing wu-ftpd on a Solaris 2.4 machi
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I also am new to wu-ftpd and am having problems during the build.


These are the errors I'm getting:

gcc  -g -DDEBUG -I.. -I../support -L../support   -c hostacc.c -o hostacc.o
gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o authenticate.o conversions.o hostacc.o -lsupport -lsocket -lnsl -lgen
ld: fatal: library -lsupport: not found
ld: fatal: File processing errors.  No output written to ftpd
make: *** [ftpd] Error 1

Making ftpcount.
gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o -lsupport -lsocket -lnsl -lgen 
ld: fatal: library -lsupport: not found
ld: fatal: File processing errors.  No output written to ftpcount
make: *** [ftpcount] Error 1

Making ftpshut.
gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport -lsocket -lnsl -lgen
ld: fatal: library -lsupport: not found
ld: fatal: File processing errors.  No output written to ftpshut
make: *** [ftpshut] Error 1

Apparently it's haveing a problem iwth library -lsupport. I'm 
not familiar with this. Does anyone know how to fix this.

Thanks Michele
mercerm@sclfl.com

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 08:47:55 1996
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 m0u2KrV-0004IrC; Thu, 28 Mar 96 08:47 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA25108; Thu, 28 Mar 1996 10:38:08 -0600
Received: from morrison.colorado.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA24696 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 10:31:46 -0600
Received: (from mccollh@localhost) by morrison.colorado.edu (8.6.12/8.6.12/HAM_III/Hesiod/(SDM)) id JAA05519 for wu-ftpd@wugate.wustl.edu; Thu, 28 Mar 1996 09:31:41 -0700
Message-Id: <199603281631.JAA05519@morrison.colorado.edu>
Date: Thu, 28 Mar 1996 09:31:41 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alex Gadget McColl <mccollh@morrison.colorado.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: backing up over an ethernet network
In-Reply-To: <Pine.LNX.3.91.960328013745.1433A-100000@electric.rain.aic.net.au> from "Fundamental" at Mar 28, 96 01:39:35 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Why don't you just add an ftp statement to your shell script?
If you use ncftp you could have your passwd and login already stored 
in your ~/.ncftp file (or you could just login anonymously).
Hope that helps...
Alex.
% does anyone know how i could automate an ftp session?
% 
% i have a scrip which backs up certain files at certain times (tcsh) it 
% tars them to disk, then i would like it to automagically ftp to another 
% machine on the same network, login and put the files there?
% 
% any ideas how?
% 
% thanx 

Alex.


  ****************************************************************************
  * Alex McColl - Network System Administrator		mccollh@Colorado.EDU *
  * Colorado Center for Astrodynamics Research	        Work  (303) 492-1308 *
  * University of Colorado at Boulder		        FAX   (303) 492-2825 *
  * Campus Box 431				  	Pager (303) 465-7556 *
  * Boulder, Colorado 80309-0431			Home  (303) 443-4665 *
  * http://kurgan.colorado.edu/personnel/professionals/mccollh               *
  ****************************************************************************

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBtAzC/czAAAAEDALzpwConlCSSt/3p80Erq1Ypd0zDg8G+11mhntTH7jsdvME6
EPGaPGOys55lW7++uorHyjMqqtFmxiwLJqCNASLpDEu53ENdTcdkytnTI1Kc6TYZ
fid9n5McCZhg9Dqm4QAFEbQHbWNjb2xsaIkAdQMFEDDDvVccCZhg9Dqm4QEBOhID
AIcDJ4748fmSYyXed89w/twDxK3tyJiWAZO5beg2KuODqYMeJ9pVGz8aPB4HTHXs
qxYPsNSCoxptHK2VG6ikpLNqm3NKrpzTeUlRh5G/d4aw+bqigJblahPuYl8wnjFq
Nw==
=Hxp0
-----END PGP PUBLIC KEY BLOCK-----

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 09:40:42 1996
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 m0u2Lgg-0000D7C; Thu, 28 Mar 96 09:40 PST
Received: from nwnexus.wa.com by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2LMh-0003T8C; Thu, 28 Mar 96 09:20 PST
Received: from wugate.wustl.edu by nwnexus.wa.com with SMTP id AA20231
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Thu, 28 Mar 1996 08:59:22 -0800
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA25939; Thu, 28 Mar 1996 10:47:10 -0600
Received: from ciw2.ciwemb.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA24998 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 10:36:30 -0600
Received: from mail1.ciwemb.edu by ciw2.ciwemb.edu (4.1/SMI-4.1)
	id AA03836; Thu, 28 Mar 96 11:32:16 EST
Message-Id: <n1384109468.20225@mail1.ciwemb.edu>
Date: 28 Mar 1996 11:33:55 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bill Kupiec" <kupiec@mail1.ciwemb.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
X-Mailer: Mail*Link SMTP-QM 3.0.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>> Making ftpd.
>> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o
> glob.o
>> log
>> wtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o
> private.o
>> authenti
>> cate.o conversions.o hostacc.o -lsupport
>> ld: -lgcc: No such file or directory
>> *** Error code 1
>> make: Fatal error: Command failed for target `ftpd'
 
> this is a fairly straightforward error - the compiler can't find the lib
> file libgcc????? make sure its in the
> path or a link to it is in the path.
> 
> /opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.1/libgcc.a is what mine
> is called
> 
> if it can't find this in your path then it can't link in its functions.

I made sure libgcc.a and cc1 were in my path, but I'm still getting:

Making ftpcount.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsu
pport
0: unknown flag -lang-c
0: unknown flag -g
ld: -lgcc: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'

Should I be concerned about the unknown flags?

Also, John R. Johnson wrote:

> Do you have the path for the gcc library in LD_LIBRARY_PATH?

I'm not sure about this one. Where is LD_LIBRARY_PATH or how do I set the path
for it?

-Bill

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 09:41:02 1996
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 m0u2Lgu-0000D7C; Thu, 28 Mar 96 09:40 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA29434; Thu, 28 Mar 1996 11:29:57 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA29115 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 11:26:13 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Thu, 28 Mar 1996 17:25:50 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id RAA24625;
          Thu, 28 Mar 1996 17:26:16 GMT
Message-Id: <315ACBB8.66EC@thale.nott.ac.uk>
Date: Thu, 28 Mar 1996 17:26:16 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd on a Solaris 2.4 machi
References: <9603281600.AA28067@bud.>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

mercerm@sclfl.com wrote:
> 
> I also am new to wu-ftpd and am having problems during the build.
> 
> These are the errors I'm getting:
> 
> gcc  -g -DDEBUG -I.. -I../support -L../support   -c hostacc.c -o hostacc.o
> gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o authent
> ld: fatal: library -lsupport: not found
> ld: fatal: File processing errors.  No output written to ftpd
> make: *** [ftpd] Error 1
> 
> Making ftpcount.
> gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o -lsupport -lsocket -lnsl -lgen
> ld: fatal: library -lsupport: not found
> ld: fatal: File processing errors.  No output written to ftpcount
> make: *** [ftpcount] Error 1
> 
> Making ftpshut.
> gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport -lsocket -lnsl -lgen
> ld: fatal: library -lsupport: not found
> ld: fatal: File processing errors.  No output written to ftpshut
> make: *** [ftpshut] Error 1
> 
> Apparently it's haveing a problem iwth library -lsupport. I'm
> not familiar with this. Does anyone know how to fix this.
> 
> Thanks Michele
> mercerm@sclfl.com


The library.a file is generated as an initial stage of the build process. If you've typed "build sol" it
should begin by creating the library from the ..../support directory that comes with the tarred files.

to check just "ls -lR | grep support" from the wu-ftpd-2.4 directory and see if its there!

	thale% build sol
	make args are : 
	make opts are : 

	Linking Makefiles.

	Making support library.
	gcc -g -DDEBUG   -c fnmatch.c
	gcc -g -DDEBUG   -c strcasestr.c
	gcc -g -DDEBUG   -c strsep.c
	gcc -g -DDEBUG   -c authuser.c
	rm -f libsupport.a
	ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
	touch libsupport.a

is what u should see when you begin the build!

Have fun :-)
 
-- 


Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 09:56:01 1996
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 m0u2LvR-0004O4C; Thu, 28 Mar 96 09:55 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA00925; Thu, 28 Mar 1996 11:45:53 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA00545 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 11:41:52 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Thu, 28 Mar 1996 17:41:15 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id RAA24764;
          Thu, 28 Mar 1996 17:41:43 GMT
Message-Id: <315ACF57.3855@thale.nott.ac.uk>
Date: Thu, 28 Mar 1996 17:41:43 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
References: <n1384109468.20225@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> > Do you have the path for the gcc library in LD_LIBRARY_PATH?
> 
> I'm not sure about this one. Where is LD_LIBRARY_PATH or how do I set the path
> for it?
> 
> -Bill

OK, this is one way round it 

setenv LD_LIBRARY_PATH path_to_gcc_lib_file
(for a csh of course)

the other way would be to put a soft link in the /usr/lib 

ln -s /path_to_gcc_lib_file/libgcc.a /usr/lib/libgcc.a

(There's always more than one way to skin a cat!)

The library is probably hiding where it was compiled!

try 
	"ls -lR /usr | grep 'gcc'"

to locate the directory - this may take some time!

TTFN

 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 10:25:50 1996
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 m0u2MOJ-0004VKC; Thu, 28 Mar 96 10:25 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA03073; Thu, 28 Mar 1996 12:16:59 -0600
Received: from ciw2.ciwemb.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA02750 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 12:11:40 -0600
Received: from mail1.ciwemb.edu by ciw2.ciwemb.edu (4.1/SMI-4.1)
	id AA04469; Thu, 28 Mar 96 13:07:26 EST
Message-Id: <n1384103758.65090@mail1.ciwemb.edu>
Date: 28 Mar 1996 13:10:25 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bill Kupiec" <kupiec@mail1.ciwemb.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
X-Mailer: Mail*Link SMTP-QM 3.0.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Mike,

> setenv LD_LIBRARY_PATH path_to_gcc_lib_file

Okay, I got that set and it seemed to have an effect. I think I'm getting
close, but now I'm getting:
.
.
.
gcc -g -DDEBUG -I.. -I../support -L../support  -target sun4 -c  hostacc.c
0: unknown flag -lang-c
0: unknown flag -g
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
log
wtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
authenticate.o conversions.o hostacc.o -lsupport
ld: Undefined symbol
   ___builtin_va_arg_incr
*** Error code 1
make: Fatal error: Command failed for target `ftpd'

Making ftpcount.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsu
pport
0: unknown flag -lang-c
0: unknown flag -g

Making ftpshut.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupp
ort
0: unknown flag -lang-c
0: unknown flag -g

Making ckconfig.
gcc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
0: unknown flag -lang-c
0: unknown flag -g

Links to executables are in bin directory:
text    data    bss     dec     hex
122880  16384   9528    148792  24538   bin/ftpd
8192    8192    0       16384   4000    bin/ftpcount
8192    8192    0       16384   4000    bin/ftpshut
8192    8192    0       16384   4000    bin/ftpwho
8192    8192    0       16384   4000    bin/ckconfig
Done

Any thoughts?

-Bill

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 10:37:59 1996
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 m0u2Ma4-000FIaC; Thu, 28 Mar 96 10:37 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA03334; Thu, 28 Mar 1996 12:20:35 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA02865 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 12:13:13 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id NAA04213; Thu, 28 Mar 1996 13:12:11 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960328131043.4209A-100000@mintaka.iern.disa.mil>
Date: Thu, 28 Mar 1996 13:12:11 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd on a Solaris 2.4 machi
In-Reply-To: <9603281600.AA28067@bud.>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


One thing which might help track down these problems is to specify the 
-v arg to gcc.  The -lang-c, -lgcc are default values.  The -v will show the
compile and load time arguments as well as some pathname search information.

Jim


On Thu, 28 Mar 1996 mercerm@sclfl.com wrote:

> 
> I also am new to wu-ftpd and am having problems during the build.
> 
> 
> These are the errors I'm getting:
> 
> gcc  -g -DDEBUG -I.. -I../support -L../support   -c hostacc.c -o hostacc.o
> gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o authenticate.o conversions.o hostacc.o -lsupport -lsocket -lnsl -lgen
> ld: fatal: library -lsupport: not found
> ld: fatal: File processing errors.  No output written to ftpd
> make: *** [ftpd] Error 1
> 
> Making ftpcount.
> gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o -lsupport -lsocket -lnsl -lgen 
> ld: fatal: library -lsupport: not found
> ld: fatal: File processing errors.  No output written to ftpcount
> make: *** [ftpcount] Error 1
> 
> Making ftpshut.
> gcc  -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o -lsupport -lsocket -lnsl -lgen
> ld: fatal: library -lsupport: not found
> ld: fatal: File processing errors.  No output written to ftpshut
> make: *** [ftpshut] Error 1
> 
> Apparently it's haveing a problem iwth library -lsupport. I'm 
> not familiar with this. Does anyone know how to fix this.
> 
> Thanks Michele
> mercerm@sclfl.com
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 10:44:38 1996
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 m0u2MgR-0004IiC; Thu, 28 Mar 96 10:44 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id MAA03976; Thu, 28 Mar 1996 12:30:17 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id MAA03566 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 12:24:20 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id NAA04234; Thu, 28 Mar 1996 13:23:20 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960328132226.4230A-100000@mintaka.iern.disa.mil>
Date: Thu, 28 Mar 1996 13:23:20 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
In-Reply-To: <n1384103758.65090@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bill,

Since gcc passes the -lang-c flags to the loader it could be that the
wrong loader is referenced.  Try specifying the -v option on the gcc
command.  

Jim


On 28 Mar 1996, Bill Kupiec wrote:

> Mike,
> 
> > setenv LD_LIBRARY_PATH path_to_gcc_lib_file
> 
> Okay, I got that set and it seemed to have an effect. I think I'm getting
> close, but now I'm getting:
> .
> .
> .
> gcc -g -DDEBUG -I.. -I../support -L../support  -target sun4 -c  hostacc.c
> 0: unknown flag -lang-c
> 0: unknown flag -g
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
> log
> wtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
> authenticate.o conversions.o hostacc.o -lsupport
> ld: Undefined symbol
>    ___builtin_va_arg_incr
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'
> 
> Making ftpcount.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
> -lsu
> pport
> 0: unknown flag -lang-c
> 0: unknown flag -g
> 
> Making ftpshut.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
> -lsupp
> ort
> 0: unknown flag -lang-c
> 0: unknown flag -g
> 
> Making ckconfig.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
> 0: unknown flag -lang-c
> 0: unknown flag -g
> 
> Links to executables are in bin directory:
> text    data    bss     dec     hex
> 122880  16384   9528    148792  24538   bin/ftpd
> 8192    8192    0       16384   4000    bin/ftpcount
> 8192    8192    0       16384   4000    bin/ftpshut
> 8192    8192    0       16384   4000    bin/ftpwho
> 8192    8192    0       16384   4000    bin/ckconfig
> Done
> 
> Any thoughts?
> 
> -Bill
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 12:37:41 1996
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 m0u2ORq-0004TLC; Thu, 28 Mar 96 12:37 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA12206; Thu, 28 Mar 1996 14:27:49 -0600
Received: from nak.berkeley.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA11750 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 14:21:59 -0600
Received: from rfs63.berkeley.edu (rfs63.Berkeley.EDU [128.32.172.63]) by nak.berkeley.edu (8.7.3/8.6.10) with SMTP id MAA09886 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 12:18:32 -0800 (PST)
Received: by rfs63.berkeley.edu (5.x/SMI-SVR4)
	id AA27481; Thu, 28 Mar 1996 12:15:58 -0800
Message-Id: <9603282015.AA27481@rfs63.berkeley.edu>
Date: Thu, 28 Mar 1996 12:15:58 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: maze@rfs63.berkeley.edu
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

While we are on this thread, I am still having a similar problem due
to ELF support in libraries:

Repost:

I'm trying to compile ftpd 2.4 on a Sun Sparc 10 running solaris 2.4
using gcc 2.6.3.  I get the following errors during make complaining about
ELF libraries.  I've tried with both ld v2.4 and v2.6.  Is this a config 
error on my end with my GNU compiler, or am I seriously lacking something.


  % build sol
  -----
  make args are : 
  make opts are : 

  Linking Makefiles.
  ln: makefiles/Makefile.sol and Makefile are identical
  ln: config/config.sol and config.h are identical
  ln: makefiles/Makefile.sol and Makefile are identical

  Making support library.
  rm -f libsupport.a
  ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o 
  touch libsupport.a

  Making ftpd.
  cc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o authenticate.o conversions.o hostacc.o -lsupport -lsocket -lnsl -lgen

  ***********
  ERRORS HERE
  ***********
  ld: fatal: file ../support/libsupport.a: unknown type, unable to process using elf(3E) libraries
  ld: fatal: File processing errors.  No output written to ftpd
  make: *** [ftpd] Error 1
  ***********

... other similar errors omitted ...

Is ELF support something that I would have had to explicit install or does
it come with gcc indicating an incomplete installation?  How do I know?

------------------------------------------------------------
Don Maszle
maze@rfs63.berkeley.edu (rfs63 administrator)

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 17:00:40 1996
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 m0u2SYP-000DFaC; Thu, 28 Mar 96 17:00 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id SAA01165; Thu, 28 Mar 1996 18:52:50 -0600
Received: from westserv.westwood.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id SAA00988 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 18:50:19 -0600
Received: from smtpgwy.westwood.com (smtpgwy.westwood.com [206.154.108.26]) by westserv.westwood.com (8.6.12/8.6.12) with SMTP id QAA28707 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 16:49:03 -0800
Received: from ccMail by smtpgwy.westwood.com (SMTPLINK V2.11 PreRelease 4)
	id AA828060803; Thu, 28 Mar 96 16:52:38 PST
Message-Id: <9602288280.AA828060803@smtpgwy.westwood.com>
Date: Thu, 28 Mar 96 16:52:38 PST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: milo@westwood.com
To: wu-ftpd@wugate.wustl.edu
Subject: What exactly is a...
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Passive connection, and whats a recommended fix?

I have been getting a few of these as complaints

FATAL ERROR 500

Canīt Access Document ftp://ftp.westwood.com/pub/cc1/updates/cc120g.zip

Reason: FTP-server replies: Canīt open passive connection : Permission 
Denied.


Thanks!
Milo Ballan

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 18:29:15 1996
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 m0u2Tw7-0004OvC; Thu, 28 Mar 96 18:29 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA05811; Thu, 28 Mar 1996 20:19:53 -0600
Received: from maildeliver1.tiac.net by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id TAA03579 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 19:36:38 -0600
Received: from mailserver2.tiac.net (mailserver2.tiac.net [199.0.65.231]) by maildeliver1.tiac.net (8.6.12/8.7.4) with ESMTP id UAA28033 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 20:37:52 -0500
Received: from sfnctr.tiac.net (sfnctr.tiac.net [199.3.133.239]) by mailserver2.tiac.net (8.6.12/8.7.4) with SMTP id UAA18062 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 20:37:50 -0500
Message-Id: <199603290137.UAA18062@mailserver2.tiac.net>
Date: Thu, 28 Mar 1996 20:37:50 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sarao@pop.tiac.net (sarao)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: What exactly is a...
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Sender: sarao@tiac.net
X-Mailer: Windows Eudora Version 1.4.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Milo,

        You should be talking about a PASV connection. This is probably=
 because=20
of your firewall. What happened to us is that FTP opens a connection using
other than the standard ports and your firewall is expecting FTP on port
"21" (I think). Anything else it just drops the packet. Soe you have to
enable your firewall to all PASV connections. Please check with your
firewall company on this. Unless you really know what you're doing, you
could be opening a large can o' worms...

                                                Robert


>
>Passive connection, and whats a recommended fix?
>
>I have been getting a few of these as complaints
>
>FATAL ERROR 500
>
>Can=B4t Access Document ftp://ftp.westwood.com/pub/cc1/updates/cc120g.zip
>
>Reason: FTP-server replies: Can=B4t open passive connection : Permission=20
>Denied.
>
>
>Thanks!
>Milo Ballan
>
>

From owner-wu-ftpd@wugate.wustl.edu Thu Mar 28 23:30:13 1996
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 m0u2YdM-0004PIC; Thu, 28 Mar 96 23:30 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id BAA19085; Fri, 29 Mar 1996 01:21:52 -0600
Received: from wookie.smanet.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id BAA18754 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 01:13:48 -0600
Received: from localhost (jrp@localhost) by wookie.smanet.com (8.7.5/8.7.3) with SMTP id XAA00544 for <wu-ftpd@wugate.wustl.edu>; Thu, 28 Mar 1996 23:13:41 -0800
Message-Id: <Pine.LNX.3.92.960328230416.539A-100000@wookie.smanet.com>
Date: Thu, 28 Mar 1996 23:13:39 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "John R. Petersen" <jrp@smanet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On 28 Mar 1996 Bill Kupiec wrote:

>I'm new to wu-ftpd and I'm getting the following error(s) when trying to
>install wu-ftpd. Can anyone shed some light on where I'm going wrong?
>(This is on a Sun 4.1.3 machine).
...

ld: -lgcc: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `ftpd'

Try adding -v to your CFLAGS in src/makefiles/Makefile.s41
This will show you the pathnames that gcc is trying to use to find it's
libraries, etc.  If the paths that show up are not the paths where the
files are located, you either need to rebuild gcc or move the gcc support
files to the proper location, or through the creative use of symlinks make
gcc think the files are where it wants them to be. :)   gcc hardcodes
some of this information in the binary, and it can't be easily changed.

					--John

--
John R. Petersen			jrp@smanet.com

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:21:56 1996
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 m0u2gvz-0004HXC; Fri, 29 Mar 96 08:21 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2bEd-0003VHC; Fri, 29 Mar 96 02:16 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA24281; Fri, 29 Mar 1996 04:07:19 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA24109 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 04:03:01 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Fri, 29 Mar 1996 10:02:53 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id KAA26474;
          Fri, 29 Mar 1996 10:03:20 GMT
Message-Id: <315BB567.6969@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 10:03:19 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
References: <n1384103758.65090@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Greetings Bill....

Sorry for the delay - different time zones and all that (ba... excuses!)


Bill Kupiec wrote:
> 
> Mike,
> 
> > setenv LD_LIBRARY_PATH path_to_gcc_lib_file
> 
> Okay, I got that set and it seemed to have an effect. I think I'm getting
> close, but now I'm getting:
> .
> .
> .
> gcc -g -DDEBUG -I.. -I../support -L../support  -target sun4 -c  hostacc.c
> 0: unknown flag -lang-c
> 0: unknown flag -g
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
> log
> wtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
> authenticate.o conversions.o hostacc.o -lsupport
> ld: Undefined symbol
>    ___builtin_va_arg_incr
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'

I've had a look at the Makefile.s41 that comes with the wu-ftpd2.4 src, and I can't
find any ref to the flags -lang-c and -g. but it looks like these are being passed to
ld in some way!

Sorry - this one's got me stumped! If I think of anything I'll let u know.

> Any thoughts?

The Canary islands are nice this time of year!
 
> -Bill

-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:22:53 1996
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 m0u2gwv-000D57C; Fri, 29 Mar 96 08:22 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2bYv-0003YAC; Fri, 29 Mar 96 02:37 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA24847; Fri, 29 Mar 1996 04:28:04 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA24677 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 04:23:14 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Fri, 29 Mar 1996 10:23:09 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id KAA26505;
          Fri, 29 Mar 1996 10:23:36 GMT
Message-Id: <315BBA28.6DA2@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 10:23:36 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
References: <n1384118801.56985@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bill Kupiec wrote:
> 
> I'm new to wu-ftpd and I'm getting the following error(s) when trying to
> install wu-ftpd. Can anyone shed some light on where I'm going wrong? (This is
> on a Sun 4.1.3 machine).
> 

Just a small point (.) - you are running gcc 2.3.3 or better aren't you?


> Regards,
> -Bill
-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:22:54 1996
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 m0u2gww-000DGiC; Fri, 29 Mar 96 08:22 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2bzn-0002RUC; Fri, 29 Mar 96 03:05 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id EAA25695; Fri, 29 Mar 1996 04:59:59 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id EAA25414 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 04:48:53 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Fri, 29 Mar 1996 10:47:49 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id KAA26537;
          Fri, 29 Mar 1996 10:48:10 GMT
Message-Id: <315BBFEA.1D63@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 10:48:10 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
References: <9603282015.AA27481@rfs63.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

maze@rfs63.berkeley.edu wrote:
 
> I'm trying to compile ftpd 2.4 on a Sun Sparc 10 running solaris 2.4
> using gcc 2.6.3.  I get the following errors during make complaining about
> ELF libraries.  I've tried with both ld v2.4 and v2.6.  Is this a config
> error on my end with my GNU compiler, or am I seriously lacking something.
> 
.
.
.
.
>   Making ftpd.
>   cc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o private.o authent

The makefile used for this run used cc - was that meant to happen? - you say you're using
gcc! 

I have just compiled on Solaris 2.5 using gcc 2.7.1 (which was built by someone else at a
diff site!) and I encountered lots of errors along the way, but this wasn't one of them!

It looks more like an error in the build of libsupport.a to me, poss. something to do with
the "ar" that you're using! 

Hope this helps?

Mike

-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:24:38 1996
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 m0u2gyc-0004JWC; Fri, 29 Mar 96 08:24 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2czI-0003cdC; Fri, 29 Mar 96 04:09 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA27768; Fri, 29 Mar 1996 06:03:57 -0600
Received: from peloncho.fis.ucm.es by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id FAA27597 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 05:57:46 -0600
Received: from peloncho (localhost [127.0.0.1]) by peloncho.fis.ucm.es (8.7.1/8.7.1) with SMTP id NAA17699 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 13:05:05 +0100
Message-Id: <Pine.LNX.3.91.960329124553.17560A-100000@peloncho>
Date: Fri, 29 Mar 1996 13:05:04 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Fernandez Viņuales <david@peloncho.fis.ucm.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Displaying Messages under wu-ftpd2.4.2-beta10
In-Reply-To: <Pine.LNX.3.92.960328230416.539A-100000@wookie.smanet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: david@peloncho
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello:
	I've just got the latest beta release from ftp.academ.com this is 
beta 10 and I've compiled and installed it whitout any problem, but the 
real problem appears when I try to ftp my localhost: None message appears 
there I just looked my ftpacces file and it was OK, I checked my files 
with ckconfig to see if therewas any configuration file out from the conf 
directories and also it was OK.

	After recompiling it (whith VIRTUAL option enabled ), I had the 
same problem .

	I've looked for the path in the banner command and it was 
relatively to system root (OK)
The messages under the message command where under the ~ftp directory so 
I think this option was correctly made....

	So after a week of tryings I'm desperated and I don't know how to 
solve the situation...please help me!!!

	Currently I'm using my ftp server under Linux 1.3.79 and my gcc 
compiler is  gcc-2.7.0

	Thanks...

               Un Saludo....David
            David Fernandez Vin~uales 
    (david@peloncho.fis.ucm.es 147.96.22.250)

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:24:49 1996
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 m0u2gyn-0002GfC; Fri, 29 Mar 96 08:24 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2dEG-0003dmC; Fri, 29 Mar 96 04:24 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA28451; Fri, 29 Mar 1996 06:18:56 -0600
Received: from melimelo.enst-bretagne.fr by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id GAA28369 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 06:16:50 -0600
Received: from [192.108.115.4] (macleberre.enst-bretagne.fr) by melimelo.enst-bretagne.fr (5.67b8/090294); Fri, 29 Mar 1996 13:16:38 +0100
Message-Id: <v01510105ad8193a01dff@[192.108.115.4]>
Date: Fri, 29 Mar 1996 13:24:52 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Claude.LeBerre@enst-bretagne.fr (Claude LE BERRE)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Displaying Messages under wu-ftpd2.4.2-beta10
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: leberre@titan
X-Mailer: Eudora F1.5.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>Hello:
>        I've just got the latest beta release from ftp.academ.com this is 
>beta 10 and I've compiled and installed it whitout any problem, but the 
>real problem appears when I try to ftp my localhost: None message appears 
>there I just looked my ftpacces file and it was OK, I checked my files 
>with ckconfig to see if therewas any configuration file out from the conf 
>directories and also it was OK.
>
>        After recompiling it (whith VIRTUAL option enabled ), I had the 
>same problem .
>
>        I've looked for the path in the banner command and it was 
>relatively to system root (OK)
>The messages under the message command where under the ~ftp directory so 
>I think this option was correctly made....
>


I had the same problem and resolved it with a "-a" on the ftpd line in inetd.conf. I found this flag in "man ftpd" 
It seems that by default, no "ftpaccess" file is in use.

ftp  stream  tcp nowait root /usr/local/etc/ftpd/ftpd  ftpd -a -l -t 300 -T 900

CLB.

========================================================================
Claude LE BERRE           Tel. +33 98001259       Telecopie +33 98455133
           E-mail : Claude.LeBerre@enst-bretagne.fr
TELECOM Bretagne, Technopole Brest-Iroise, B.P. 832, F-29285 BREST Cedex
                http://www.enst-bretagne.fr/
========================================================================


From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:26:33 1996
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 m0u2h0S-0004JWC; Fri, 29 Mar 96 08:26 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2ew1-0003rEC; Fri, 29 Mar 96 06:13 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA03938; Fri, 29 Mar 1996 08:07:36 -0600
Received: from maui.sclfl.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id IAA03720 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 08:04:07 -0600
Received: (from mercerm@localhost) by maui.sclfl.com (8.6.9/8.6.9) id JAA00537 for wu-ftpd@wugate.wustl.edu; Fri, 29 Mar 1996 09:02:57 -0500
Message-Id: <199603291402.JAA00537@maui.sclfl.com>
Date: Fri, 29 Mar 1996 09:02:57 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michele Mercer <mercerm@maui.sclfl.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Install wu-ftpd - Information and Problem
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi everyone,

I got past my problem with building wu-ftpd. My problem was that in the Makefilein the support directory, I needed to change the CC = cc to CC = gcc and it compiled fine. I'm using gcc 2.7.0. I still havn't gotten it to work though. This is frustrating. Anyway here's my problem.

Since we didn't have a c compiler or a gcc compiler on the machine I want to use wu-ftp on I had to build it on another machine. I built it on a sparc 5 and want to use it on a sparc 1+. But they both have the same OS. So after I built it I tared and zipped the file and ftped it to the sparc 1+. Untared, unzipped it. And tried to do a build install. Hit another snag, Solaris 2.4 didn't like the usage of the install command in the makefile. So I copied the files over using the command line. I then followed the rest of the directions and it still doesn't work. I was unclear of the two of the step though so maybe I can get verification from someone. I also ran the ckconfig it got through it o.k.

Steps I was unclear about.

1. Changing the /etc/inetd.conf file.
My file originally had this in it.
ftp	stream	tcp	nowait	root	/usr/sbin/in.ftpd	in.ftpd

I changed it to.
ftp	stream	tcp	nowait	root	/usr/local/bin/ftpd	ftpd

2. To kill and restart the inetd daemon I did this.
kill -HUP <pid>

Also can anyone tell me if there are changes I need to make anywhere else since I had to build it on one machine and want to install it on another?

Thanks michele
Haven't given up yet!!!!!
mercerm@sclfl.com

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:27:42 1996
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 m0u2h1a-0002HKC; Fri, 29 Mar 96 08:27 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2fZP-0003uLC; Fri, 29 Mar 96 06:54 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id IAA06379; Fri, 29 Mar 1996 08:48:36 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id IAA06006 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 08:44:00 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP) with ESMTP; Fri, 29 Mar 1996 14:43:00 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id OAA27081;
          Fri, 29 Mar 1996 14:43:21 GMT
Message-Id: <315BF709.3987@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 14:43:21 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Install wu-ftpd - Information and Problem
References: <199603291402.JAA00537@maui.sclfl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Michele Mercer wrote:

> Steps I was unclear about.
> 
> 1. Changing the /etc/inetd.conf file.
> My file originally had this in it.
> ftp     stream  tcp     nowait  root    /usr/sbin/in.ftpd       in.ftpd
> 
> I changed it to.
> ftp     stream  tcp     nowait  root    /usr/local/bin/ftpd     ftpd
> 

I think the ftpd file was installed to /usr/local/etc/ftpd wasn't it - I
too had the same problem with "build install" but after installing the
files manually it worked fine. 

> 2. To kill and restart the inetd daemon I did this.
> kill -HUP <pid>
> 

That should do it - but i found "kill -9 <pid>" followed by "inetd -s"
to be better cos I wasn't sure the other one was working properly.

> Also can anyone tell me if there are changes I need to make anywhere else since I had to build it on one machine and want to install it on another?
> 

I don't think the machines will make too much diff. since they are both
running Sol 2.4.

The only other changes you should need to make are to the conf file
ftpaccess, etc.

> Thanks michele
> Haven't given up yet!!!!!

Glad to here it!

Hope this helps....


-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:28:00 1996
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 m0u2h1r-0002HgC; Fri, 29 Mar 96 08:27 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2gae-0003fTC; Fri, 29 Mar 96 07:59 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA11505; Fri, 29 Mar 1996 09:52:43 -0600
Received: from longwood.cs.ucf.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA11024 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 09:47:38 -0600
Received: by longwood.cs.ucf.edu id AA10054
  (5.65c/IDA-1.4.4 for wu-ftpd@wugate.wustl.edu); Fri, 29 Mar 1996 10:47:31 -0500
Message-Id: <199603291547.AA10054@longwood.cs.ucf.edu>
Date: Fri, 29 Mar 1996 10:47:31 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Denise Tjong  <denise@cs.ucf.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re:  Install Working!!!! - Help with ftpaccess
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Take a look at the example ftpaccess file given with the distribution.
And make sure you have an anonymous ftp account set up also. 
Take a look at ftpd manpage for more details.

Denise

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:28:31 1996
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 m0u2h2N-0002I0C; Fri, 29 Mar 96 08:28 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2gJb-0004OuC; Fri, 29 Mar 96 07:42 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id JAA10049; Fri, 29 Mar 1996 09:36:34 -0600
Received: from maui.sclfl.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id JAA09382 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 09:29:34 -0600
Received: (from mercerm@localhost) by maui.sclfl.com (8.6.9/8.6.9) id KAA00627 for wu-ftpd@wugate.wustl.edu; Fri, 29 Mar 1996 10:28:26 -0500
Message-Id: <199603291528.KAA00627@maui.sclfl.com>
Date: Fri, 29 Mar 1996 10:28:26 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michele Mercer <mercerm@maui.sclfl.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Install Working!!!! - Help with ftpaccess
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



Yeah, It works!!!!! 
sort of 
   

Can someone give me an example of an ftpaccess file that allows anonymous user's to log in. I'm getting access denied.

Michele
mercerm@sclfl.com

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:28:41 1996
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 m0u2h2W-0002HkC; Fri, 29 Mar 96 08:28 PST
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0u2go2-0004PSC; Fri, 29 Mar 96 08:13 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA12835; Fri, 29 Mar 1996 10:07:40 -0600
Received: from ciw2.ciwemb.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA12385 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:01:59 -0600
Received: from mail1.ciwemb.edu by ciw2.ciwemb.edu (4.1/SMI-4.1)
	id AA05719; Fri, 29 Mar 96 10:57:42 EST
Message-Id: <n1384025141.93028@mail1.ciwemb.edu>
Date: 29 Mar 1996 11:01:17 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bill Kupiec" <kupiec@mail1.ciwemb.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
X-Mailer: Mail*Link SMTP-QM 3.0.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Try adding -v to your CFLAGS in src/makefiles/Makefile.s41

Okay, tried the above and got:
.
.
gcc -g -DDEBUG -I.. -I../support -L../support -v -o ftpd ftpd.o ftpcmd.o
glob.o
logwtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
authe
nticate.o conversions.o hostacc.o -lsupport
gcc version 2.3.3
 ld -e start -dc -dp -o ftpd /lib/crt0.o -L../support -L/usr/local/lib ftpd.o
ft
pcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o
pr
ivate.o authenticate.o conversions.o hostacc.o -lsupport -lgcc -lc -lg -lgcc
ld: Undefined symbol
   ___builtin_va_arg_incr
*** Error code 1
make: Fatal error: Command failed for target `ftpd'
.
.
Links to executables are in bin directory:
text    data    bss     dec     hex
122880  16384   9528    148792  24538   bin/ftpd
8192    8192    0       16384   4000    bin/ftpcount
8192    8192    0       16384   4000    bin/ftpshut
8192    8192    0       16384   4000    bin/ftpwho
8192    8192    0       16384   4000    bin/ckconfig
Done

But it seemed to create ftpd in the ../bin directory. I tried a build install
and got:

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
install -o bin -g bin -m 755 bin/ftpshut /usr/local/bin/ftpshut
install -o bin -g bin -m 755 bin/ftpcount /usr/local/bin/ftpcount
install -o bin -g bin -m 755 bin/ftpwho /usr/local/bin/ftpwho
Installing manpages.
install -o bin -g bin -m 755 doc/ftpd.8 /usr/local/man/man8/ftpd.8
install: /usr/local/man/man8/ftpd.8: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `install'

Sorry for asking such a dumb question but, did it work?

-Bill

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:35:05 1996
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 m0u2h8g-0002GtC; Fri, 29 Mar 96 08:35 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA14493; Fri, 29 Mar 1996 10:27:27 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA13961 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:21:07 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP); Fri, 29 Mar 1996 16:20:24 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id QAA27234;
          Fri, 29 Mar 1996 16:20:44 GMT
Message-Id: <315C0DDC.3F5B@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 16:20:44 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Install Working!!!! - Help with ftpaccess
References: <199603291528.KAA00627@maui.sclfl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Michele Mercer wrote:
> 
> Yeah, It works!!!!!
> sort of
> 
> 
> Can someone give me an example of an ftpaccess file that allows anonymous user's to log in. I'm getting access denied.
> 

I've sent it at the end of the file. However, you should also check the
file syslog writes to using the tail command.
Look in /usr/adm for the file last written to that is an ascii file
(mine is called messages!)

try "tail -f /usr/adm/<whatever the latest log file is>" and look for
errors like this 

	> Mar 29 12:10:11 thale ftpd[26794]: FTP LOGIN REFUSED (bad 				shell)
FROM thale [128.243.116.150], mike 

which are to do with the /etc/shells file. If you have set up the ftp
user account properly then the shell should be /bin/false (ie. no login
shell) But this MUST appear in the /etc/shells file. I've included the
/etc/shells file for you as well.


> Michele
> mercerm@sclfl.com

-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.



######################################

/etc/shells

######################################

/bin/false
/bin/csh
/bin/sh
/bin/tcsh
/bin/bash
/bin/ksh
/usr/bin/ksh
/usr/lib/rsh





######################################

/usr/local/etc/ftpaccess

######################################

class   real    real    *
class   anon    guest,anonymous *

limit   real    25      Any             /etc/ftpmsgs/msg.toomany
limit   anon    15      Any             /etc/ftpmsgs/msg.anon_toomany

loginfails      2

passwd-check    rfc822  warn

banner  /minnesota1/ftp/etc/ftpmsgs/banner

readme  README*    login
readme  README*    cwd=*

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

compress        yes             local remote
tar             no             local remote

# commands - all default to yes for everybody

delete          no      guest,anonymous
overwrite       no      guest,anonymous
rename          no      guest,anonymous
chmod           no      anonymous
umask           no      anonymous



upload  /minnesota1/ftp/pub/incoming    * yes 

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

shutdown /etc/ftpmsgs/shutmsg

email admin@thale.nott.ac.uk

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:38:31 1996
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 m0u2hBx-0002GbC; Fri, 29 Mar 96 08:38 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA14676; Fri, 29 Mar 1996 10:29:44 -0600
Received: from ds1.gl.umbc.edu by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA14226 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:23:33 -0600
Received: from umbc9.umbc.edu (watkins@umbc9.umbc.edu [130.85.3.12]) by ds1.gl.umbc.edu (8.6.12/8.6.9) with ESMTP id LAA04178 for <wu-ftpd@mail.wustl.edu>; Fri, 29 Mar 1996 11:23:20 -0500
Received: (watkins@localhost) by umbc9.umbc.edu (8.6.12/8.6.9) id LAA29415 for wu-ftpd@mail.wustl.edu; Fri, 29 Mar 1996 11:23:31 -0500
Message-Id: <199603291623.LAA29415@umbc9.umbc.edu>
Date: Fri, 29 Mar 1996 11:23:31 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James Watkins <watkins@gl.umbc.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: installing wu-ftp on a specified port
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm trying to install wu-ftp on a pentium presently running BSDI ftpd.
However, before take the old server down, I want to install wu-ftp
on another port and test it for awhile.  How/where do I specify
what port wu-ftp listens to?  Thanks.


-------------------------------------------------------
James Watkins      
watkins@umbc.edu   
800-437-4385, x3280

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:49:10 1996
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 m0u2hMF-0004JDC; Fri, 29 Mar 96 08:49 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA15648; Fri, 29 Mar 1996 10:40:10 -0600
Received: from www.westweb.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA14776 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:30:27 -0600
Received: (from klg@localhost) by www.westweb.com (8.7.3/8.6.9) id IAA16969 for wu-ftpd@wugate.wustl.edu; Fri, 29 Mar 1996 08:36:38 -0800 (PST)
Message-Id: <199603291636.IAA16969@www.westweb.com>
Date: Fri, 29 Mar 1996 08:36:38 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kevin L. Gross" <klg@www.westweb.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Help with guestgroup please
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Well, I can't tell if this message is not making it to the group,
or if noone knows the answer. I've sent this twice with nary a 
response, yet I see multiple responses for other questions.

Is there anybody out there?

-Kevin
 
> Hi,
> 
> I have set up according to the FAQ, a guestgroup and user so that
> they have ftp access, but no telnet. The trouble is, they seem to 
> have access to any part of my system, not just their directory. Here
> is their passwd entry (fake name) and the ftpacces file. Any help
> is very much appreciated. Running on BSDI.
> 
> 
> /etc/passwd:
> goober:*:106:21:Goober Pyle,,,:/var/www/docs/mayberry/./:/etc/ftponly
> 
> /etc/group:
> ftponly:*:21:goober
> 
> /etc/ftpaccess:
> class   local   real,guest,anonymous  *
> 
> limit   ftponly   1   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 real,guest,anonymous
> log transfers real,guest,anonymous inbound,outbound
> 
> shutdown /etc/shutmsg
> 
> # specify which group of users will be treated as "guests".
> guestgroup ftponly
> 
> email klg@westweb.com
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 08:51:07 1996
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 m0u2hOB-0004IMC; Fri, 29 Mar 96 08:51 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA15840; Fri, 29 Mar 1996 10:43:06 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA15366 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:37:08 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id LAA06889; Fri, 29 Mar 1996 11:36:11 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960329113042.6003A-100000@mintaka.iern.disa.mil>
Date: Fri, 29 Mar 1996 11:36:10 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
In-Reply-To: <n1384025141.93028@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bill,

The only thing I can think of is that one of your modules may be compiled
with the old bundled cc compiler.  The reason I think this is that /bin/cc
points to /usr/lib/compile.  /usr/lib/compile calls /usr/lib/ccom and
builtin_va_arg_incr is referenced in /usr/lib/ccom.  This is the only place
where I have found this variable. 

My recommendation is to do the following:

1. Do a build clean.
2. Then when you build the ftpd do
     build s41 CC=gcc

This should ensure that all your objects were compiled with the gcc 
compiler.

I hope this helps!
Jim



On 29 Mar 1996, Bill Kupiec wrote:

> > Try adding -v to your CFLAGS in src/makefiles/Makefile.s41
> 
> Okay, tried the above and got:
> .
> .
> gcc -g -DDEBUG -I.. -I../support -L../support -v -o ftpd ftpd.o ftpcmd.o
> glob.o
> logwtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
> authe
> nticate.o conversions.o hostacc.o -lsupport
> gcc version 2.3.3
>  ld -e start -dc -dp -o ftpd /lib/crt0.o -L../support -L/usr/local/lib ftpd.o
> ft
> pcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o
> pr
> ivate.o authenticate.o conversions.o hostacc.o -lsupport -lgcc -lc -lg -lgcc
> ld: Undefined symbol
>    ___builtin_va_arg_incr
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'
> .
> .
> Links to executables are in bin directory:
> text    data    bss     dec     hex
> 122880  16384   9528    148792  24538   bin/ftpd
> 8192    8192    0       16384   4000    bin/ftpcount
> 8192    8192    0       16384   4000    bin/ftpshut
> 8192    8192    0       16384   4000    bin/ftpwho
> 8192    8192    0       16384   4000    bin/ckconfig
> Done
> 
> But it seemed to create ftpd in the ../bin directory. I tried a build install
> and got:
> 
> 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
> install -o bin -g bin -m 755 bin/ftpshut /usr/local/bin/ftpshut
> install -o bin -g bin -m 755 bin/ftpcount /usr/local/bin/ftpcount
> install -o bin -g bin -m 755 bin/ftpwho /usr/local/bin/ftpwho
> Installing manpages.
> install -o bin -g bin -m 755 doc/ftpd.8 /usr/local/man/man8/ftpd.8
> install: /usr/local/man/man8/ftpd.8: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `install'
> 
> Sorry for asking such a dumb question but, did it work?
> 
> -Bill
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 09:02:22 1996
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 m0u2hYv-000014C; Fri, 29 Mar 96 09:02 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA16731; Fri, 29 Mar 1996 10:54:42 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA15713 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:41:05 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP); Fri, 29 Mar 1996 16:40:56 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id QAA27282;
          Fri, 29 Mar 1996 16:41:15 GMT
Message-Id: <315C12AB.1843@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 16:41:15 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
References: <n1384025141.93028@mail1.ciwemb.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bill Kupiec wrote:
> 
> > Try adding -v to your CFLAGS in src/makefiles/Makefile.s41
> 
> Okay, tried the above and got:
> .
> .
> gcc -g -DDEBUG -I.. -I../support -L../support -v -o ftpd ftpd.o ftpcmd.o
> glob.o
> logwtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o
> authe
> nticate.o conversions.o hostacc.o -lsupport
> gcc version 2.3.3
>  ld -e start -dc -dp -o ftpd /lib/crt0.o -L../support -L/usr/local/lib ftpd.o
> ft
> pcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o realpath.o acl.o
> pr
> ivate.o authenticate.o conversions.o hostacc.o -lsupport -lgcc -lc -lg -lgcc
> ld: Undefined symbol
>    ___builtin_va_arg_incr
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'
> .

I see that u are using the gcc 2.3.3 compiler (hummmmm.) - not to worry (only joking) but
there is a line (or 2) in the INSTALL file as follows


"
    If you are using gcc...  Make sure that you the include files have been
    properly "fixed" according to the gcc 2.3.3 INSTALL instructions.  If
    the server crashes before printing the banner message (during a vprintf)
    this is most probably the cause.
"

which may (or may not) solve this problem.


> .
> Links to executables are in bin directory:
> text    data    bss     dec     hex
> 122880  16384   9528    148792  24538   bin/ftpd
> 8192    8192    0       16384   4000    bin/ftpcount
> 8192    8192    0       16384   4000    bin/ftpshut
> 8192    8192    0       16384   4000    bin/ftpwho
> 8192    8192    0       16384   4000    bin/ckconfig
> Done
> 
> But it seemed to create ftpd in the ../bin directory. I tried a build install
> and got:
> 
> 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
> install -o bin -g bin -m 755 bin/ftpshut /usr/local/bin/ftpshut
> install -o bin -g bin -m 755 bin/ftpcount /usr/local/bin/ftpcount
> install -o bin -g bin -m 755 bin/ftpwho /usr/local/bin/ftpwho
> Installing manpages.
> install -o bin -g bin -m 755 doc/ftpd.8 /usr/local/man/man8/ftpd.8
> install: /usr/local/man/man8/ftpd.8: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `install'

What's in a man page anyway??
Install it by hand (probably best to put it under man/man1m as well 'cos mine didn't get
picked up under man8

At least it installed the binaries for u - that's not been done on Solaris yet!

> 
> Sorry for asking such a dumb question but, did it work?
> 
> -Bill

Eh - I've asked dumber ones - after all you can't clean a window with a shovel!



-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.			UNIX - "It's not what you know, but what can you 
NG7 2RD.
				work out from the errors that counts"

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 09:05:21 1996
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 m0u2hb9-0004IZC; Fri, 29 Mar 96 09:04 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id KAA16911; Fri, 29 Mar 1996 10:56:52 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id KAA16134 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 10:45:42 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id RAA17251; Fri, 29 Mar 1996 17:46:22 +0100
Message-Id: <199603291646.RAA17251@pizza.hvu.nl>
Date: Fri, 29 Mar 1996 17:46:21 +0100 (MET)
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: installing wu-ftp on a specified port
In-Reply-To: <199603291623.LAA29415@umbc9.umbc.edu> from "James Watkins" at Mar 29, 96 11:23:31 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting James Watkins, who wrote :

> I'm trying to install wu-ftp on a pentium presently running BSDI ftpd.
> However, before take the old server down, I want to install wu-ftp
> on another port and test it for awhile.  How/where do I specify
> what port wu-ftp listens to?  Thanks.

Add the port to /etc/services like 


ftp-test		2121/tcp

And then add wu-ftpd to inetd.conf with ftp-test as portname in stead of ftp.

                                           Grtx. KH

-- 
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  Quando Omni Flunkis Moritati (If all else fails - play dead)

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 09:19:01 1996
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 m0u2hpA-000014C; Fri, 29 Mar 96 09:18 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA18200; Fri, 29 Mar 1996 11:09:59 -0600
Received: from maui.sclfl.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA17962 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 11:07:04 -0600
Received: (from mercerm@localhost) by maui.sclfl.com (8.6.9/8.6.9) id MAA00808 for wu-ftpd@wugate.wustl.edu; Fri, 29 Mar 1996 12:05:55 -0500
Message-Id: <199603291705.MAA00808@maui.sclfl.com>
Date: Fri, 29 Mar 1996 12:05:55 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michele Mercer <mercerm@maui.sclfl.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Logging - /usr/adm/xferlog
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Okie dokie,

I finally have wu-ftpd up and running but now I want to turn logging on.
>From what I understand I need to have an entry in the ftpaccess file  to have messages go to the /usr/adm/xferlog file. This are my entries:


log 	commands 	anonymous
log 	transfers 	anonymous outbound

Currently root owns my xferlog file with group bin and chmod 777. When I login
anonymously should all commands be written to the /usr/adm/xferlog file? I'm not getting anything? My /var/log/syslog doesn't show anything either. Any clue as to what's going on.

Thanks Michele 
mercerm@sclfl.com

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 10:06:49 1996
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 m0u2iZS-0002HtC; Fri, 29 Mar 96 10:06 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id LAA23025; Fri, 29 Mar 1996 11:57:59 -0600
Received: from pat.ccc.nottingham.ac.uk by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id LAA22191 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 11:50:03 -0600
Received: from thale.life.nottingham.ac.uk by pat.ccc.nottingham.ac.uk 
          with SMTP (PP); Fri, 29 Mar 1996 17:47:48 +0000
Received: from thale (localhost [127.0.0.1]) 
          by thale.life.nottingham.ac.uk (8.6.12/8.6.12) with SMTP id RAA27600;
          Fri, 29 Mar 1996 17:48:11 GMT
Message-Id: <315C225B.B97@thale.nott.ac.uk>
Date: Fri, 29 Mar 1996 17:48:11 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Arnold <mike@nasc.nott.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Logging - /usr/adm/xferlog
References: <199603291705.MAA00808@maui.sclfl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: mike@nasc.nott.ac.uk
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Michele Mercer wrote:
> 
> Okie dokie,
> 
> I finally have wu-ftpd up and running but now I want to turn logging on.
> >From what I understand I need to have an entry in the ftpaccess file  to have messages go to the /usr/adm/xferlog file. This are my entries:
> 
> log     commands        anonymous
> log     transfers       anonymous outbound
> 
> Currently root owns my xferlog file with group bin and chmod 777. When I login
> anonymously should all commands be written to the /usr/adm/xferlog file? I'm not getting anything? My /var/log/syslog doesn't show anything either. Any clue as
> 
> Thanks Michele
> mercerm@sclfl.com


I haven't actually got the command logging to work either - Anyone out
there who has - To quote an old TV phrase - "We'd like to hear from you
today - phone now on......."

But, in its favour, it does log transfers. Have a shell windows runnign
the command "tail -f /usr/adm/xferlog" and do an anonymous login.
Transfer a few files at random and watch the tail window - you should
see details of the logging there.

Glad to hear it works!

 
-- 
Dr. Mike Arnold			Tel: +44 1159 791216			
Department of Life Science	Fax: +44 1159 513251					
University of Nottingham	URL: Under Construction					
University Park,
Nottingham.
NG7 2RD.

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 11:31:23 1996
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 m0u2jtF-0002HXC; Fri, 29 Mar 96 11:31 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id NAA29770; Fri, 29 Mar 1996 13:22:56 -0600
Received: from step.polymtl.ca by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id NAA29133 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 13:15:25 -0600
Received: (from coyote@localhost) by step.polymtl.ca (8.6.10/8.6.10) id OAA01561; Fri, 29 Mar 1996 14:14:33 -0500
Message-Id: <Pine.SOL.3.91.960329141305.1092D-100000@step.polymtl.ca>
Date: Fri, 29 Mar 1996 14:14:32 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vincent Cojot <coyote@step.polymtl.ca>
To: Michele Mercer <mercerm@maui.sclfl.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Logging - /usr/adm/xferlog
In-Reply-To: <199603291705.MAA00808@maui.sclfl.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 29 Mar 1996, Michele Mercer wrote:

> Okie dokie,
> 
> I finally have wu-ftpd up and running but now I want to turn logging on.
> >From what I understand I need to have an entry in the ftpaccess file  to have messages go to the /usr/adm/xferlog file. This are my entries:
> 
> 
> log 	commands 	anonymous
> log 	transfers 	anonymous outbound
> 
> Currently root owns my xferlog file with group bin and chmod 777. When I login
> anonymously should all commands be written to the /usr/adm/xferlog file? I'm not getting anything? My /var/log/syslog doesn't show anything either. Any clue as to what's going on.
> 
> Thanks Michele 
> mercerm@sclfl.com

Do you have your inetd.conf entry set to:

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/ftpd -a

If you have:

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/ftpd

then it may be the reason why it is ignoring settings in your ftpaccess 
file. Just a thought...

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP administration.
Ecole Polytechnique de Montreal, Comite Micro-Informatique.
coyote@step.polymtl.ca, coyote@info.polymtl.ca

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost



From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 12:20:01 1996
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 m0u2kbj-0002JBC; Fri, 29 Mar 96 12:17 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA03985; Fri, 29 Mar 1996 14:08:30 -0600
Received: from mail12.digital.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA03736 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 14:05:20 -0600
Received: from hudson.nio.dec.com by mail12.digital.com (5.65v3.2/1.0/WV)
	id AA12632; Fri, 29 Mar 1996 15:00:39 -0500
Received: from localhost by hudson.nio.dec.com; (5.65v3.2/1.1.8.2/01Jun95-0447PM)
	id AA07249; Fri, 29 Mar 1996 15:00:30 -0500
Message-Id: <9603292000.AA07249@hudson.nio.dec.com>
Date: Fri, 29 Mar 96 15:00:30 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: brunelle@nio.dec.com
To: wu-ftpd@wugate.wustl.edu
Cc: kleach@das.dec.com
Subject: Access denied.... 
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


wu-ftpd users,

Suddenly my site has developed a problem with guest users.  Any user attempting 
to login to the archive get's "access denied..."   Examining the daemon.log, 
it's complaining about ACCESS DENIED (not in any class) TO xxxxx.xxx.xxx.com, 
which it's does belong to a class.

ftpaccess 
-------------------------------------------
class   guest           guest,anonymous *.dec.com
class   anonymous       anonymous       *

John

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 12:33:08 1996
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 m0u2kqw-0004KKC; Fri, 29 Mar 96 12:32 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA05567; Fri, 29 Mar 1996 14:25:17 -0600
Received: from saluki-mail.fiber2.siu.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA04783 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 14:17:38 -0600
Received: from reliant.c-cwis.siu.edu by saluki-mail.fiber2.siu.edu (AIX 3.2/UCB 5.64/4.03)
          id AA20027; Fri, 29 Mar 1996 14:12:40 -0600
Message-Id: <Pine.SOL.3.91.960329142117.6290E-100000@reliant>
Date: Fri, 29 Mar 1996 14:22:09 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "John R. Johnson" <john@siu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: STRU and MODE commands
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: john@reliant
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Does anyone know of a patch or version of wu-ftpd that correctly
handles these ftp commands?

John @ siu.edu

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 12:47:15 1996
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 m0u2l4Z-0002GsC; Fri, 29 Mar 96 12:47 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA06917; Fri, 29 Mar 1996 14:39:03 -0600
Received: from pizza.hvu.nl by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id OAA06391 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 14:32:44 -0600
Received: by pizza.hvu.nl (SMI-8.6/KH19960219)
	id VAA18779; Fri, 29 Mar 1996 21:33:14 +0100
Message-Id: <199603292033.VAA18779@pizza.hvu.nl>
Date: Fri, 29 Mar 1996 21:33:14 +0100 (MET)
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: Logging - /usr/adm/xferlog
In-Reply-To: <199603291705.MAA00808@maui.sclfl.com> from "Michele Mercer" at Mar 29, 96 12:05:55 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Michele Mercer, who wrote :

> I finally have wu-ftpd up and running but now I want to turn logging on.
> >From what I understand I need to have an entry in the ftpaccess file  to have messages go to the /usr/adm/xferlog file. This are my entries:
> 
> 
> log 	commands 	anonymous
> log 	transfers 	anonymous outbound
> 
> Currently root owns my xferlog file with group bin and chmod 777. When I login
> anonymously should all commands be written to the /usr/adm/xferlog file? I'm not getting anything? My /var/log/syslog doesn't show anything either. Any clue as to what's going on.

The xferlog is written with the umask the ftpd inherits from inetd, which is
mostly 777. Simply chmod it as it is only appended.

Commands are logged using syslog indeed, but you need to check at which 
loglevel those are written and check syslog.conf where those should end up.

                                                Koos van den Hout

[ Could you limit your linelength to 77 chars ? makes it more readable ]

-- 
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@kzdoos.xs4all.nl (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  Quando Omni Flunkis Moritati (If all else fails - play dead)

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 13:14:16 1996
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 m0u2lUn-0004QmC; Fri, 29 Mar 96 13:14 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id PAA09523; Fri, 29 Mar 1996 15:06:30 -0600
Received: from mintaka.iern.disa.mil by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA09067 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 15:01:45 -0600
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id PAA08293; Fri, 29 Mar 1996 15:57:51 -0500 (EST)
Message-Id: <Pine.SUN.3.91.960329155139.7387B-100000@mintaka.iern.disa.mil>
Date: Fri, 29 Mar 1996 15:57:51 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Logging - /usr/adm/xferlog
In-Reply-To: <Pine.SOL.3.91.960329141305.1092D-100000@step.polymtl.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


For me to correctly log the commands I had to modify my /etc/syslog.conf
file to include the daemon.info message types.  So I put the following
in the /etc/syslog.conf file:

daemon.info                          /var/adm/ftpmsgs


Then I created an empty file called /var/adm/ftpmsgs, and HUP'd the 
syslogd.  Remember to make sure to use tabs and *not* spaces in the
syslog.conf file or it won't work.  Since all daemon.info messages
are written to this log file I am going to use one of the local
facilities LOCAL0-7 defined in syslog.h to log *only* ftp messages
to the file.

Jim



On Fri, 29 Mar 1996, Vincent Cojot wrote:

> On Fri, 29 Mar 1996, Michele Mercer wrote:
> 
> > Okie dokie,
> > 
> > I finally have wu-ftpd up and running but now I want to turn logging on.
> > >From what I understand I need to have an entry in the ftpaccess file  to have messages go to the /usr/adm/xferlog file. This are my entries:
> > 
> > 
> > log 	commands 	anonymous
> > log 	transfers 	anonymous outbound
> > 
> > Currently root owns my xferlog file with group bin and chmod 777. When I login
> > anonymously should all commands be written to the /usr/adm/xferlog file? I'm not getting anything? My /var/log/syslog doesn't show anything either. Any clue as to what's going on.
> > 
> > Thanks Michele 
> > mercerm@sclfl.com
> 
> Do you have your inetd.conf entry set to:
> 
> ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/ftpd -a
> 
> If you have:
> 
> ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/ftpd
> 
> then it may be the reason why it is ignoring settings in your ftpaccess 
> file. Just a thought...
> 
> ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
> Vincent S. Cojot, Computer Engineering. STEP administration.
> Ecole Polytechnique de Montreal, Comite Micro-Informatique.
> coyote@step.polymtl.ca, coyote@info.polymtl.ca
> 
> They cannot scare me with their empty spaces
> Between stars - on stars where no human race is
> I have it in me so much nearer home
> To scare myself with my own desert places.       - Robert Frost
> 
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 14:11:23 1996
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 m0u2mO6-0002IbC; Fri, 29 Mar 96 14:11 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id QAA14115; Fri, 29 Mar 1996 16:03:25 -0600
Received: from westserv.westwood.com by wugate.wustl.edu (8.6.12/8.6.11) with ESMTP id PAA13786 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 15:57:58 -0600
Received: from smtpgwy.westwood.com (smtpgwy.westwood.com [206.154.108.26]) by westserv.westwood.com (8.6.12/8.6.12) with SMTP id NAA07188 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 13:56:36 -0800
Received: from ccMail by smtpgwy.westwood.com (SMTPLINK V2.11 PreRelease 4)
	id AA828136847; Fri, 29 Mar 96 13:57:18 PST
Message-Id: <9602298281.AA828136847@smtpgwy.westwood.com>
Date: Fri, 29 Mar 96 13:57:18 PST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: milo@westwood.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re[2]: What exactly is a...
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     Ok if I understand that correctly , hypotheticly, if I am getting 
     these messages from users and we arn't running a firewall then it 
     would be a problem with the firewall on the users side, not our??
     
     Thanks
     Milo


______________________________ Reply Separator _________________________________
Subject: Re: What exactly is a...
Author:  wu-ftpd@wugate.wustl.edu at ww-internet
Date:    3/28/96 6:26 PM


Milo,
     
        You should be talking about a PASV connection. This is probably=
 because=20
of your firewall. What happened to us is that FTP opens a connection using 
other than the standard ports and your firewall is expecting FTP on port 
"21" (I think). Anything else it just drops the packet. Soe you have to 
enable your firewall to all PASV connections. Please check with your 
firewall company on this. Unless you really know what you're doing, you 
could be opening a large can o' worms...
     
                                                Robert
     
     
>
>Passive connection, and whats a recommended fix? 
>
>I have been getting a few of these as complaints 
>
>FATAL ERROR 500
>
>Can=B4t Access Document ftp://ftp.westwood.com/pub/cc1/updates/cc120g.zip 
>
>Reason: FTP-server replies: Can=B4t open passive connection : Permission=20 
>Denied.
>
>
>Thanks!
>Milo Ballan
>
>
     

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 18:38:41 1996
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 m0u2qYf-0002ItC; Fri, 29 Mar 96 18:38 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA29775; Fri, 29 Mar 1996 20:31:10 -0600
Received: from camco.celestial.com by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id UAA29602 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 20:27:27 -0600
Received: by camco.celestial.com (Smail3.1.29.1 #1)
	id m0u2qSm-0002ItC; Fri, 29 Mar 96 18:32 PST
Message-Id: <m0u2qSm-0002ItC@camco.celestial.com>
Date: Fri, 29 Mar 1996 18:32:24 -0800 (PST)
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bill@celestial.com (Bill Campbell)
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com
Subject: Re: Academ version of wu-ftpd 2.4 Release 2 Beta 10 available for testing
In-Reply-To: <199603160408.WAA14203@owlman.academ.com> from "Stan Barber" at Mar 15, 96 10:08:40 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>
>BETA 10 is now available. It has been tested on the following systems:
>
>Solaris 2.4, SunOS 4.1.4, NetBSD 1.1, FreeBSD 2.0.5-RELEASE, BSD/OS 2.0.1,
>BSD/OS 2.1, BSD/OS 1.1, and Linux 1.2.13.
>
I've compiled this under SCO Release 5 (3.2v5.0.2) and it appears to be
working with virtual hosts although I haven't done extensive testing to
date.  I haven't been able to get the RFC931 to work properly, and since
this was forced off I wonder if it ever worked.

The main things I did was to:

  1.  Add a type, sc5 to the builds and copied the original sco files to
      corresponding sc5 files.  OSR-5 is a major break from the previous
      SCO devsys so I figured it would be cleaner to use separate files
      than to try to ifdef everthing.

  2.  Fix a couple of SCO header files putting them in /usr/local/include
      and using -I/usr/local/include in CFLAGS to insure that they're
      picked up by any compiler.  There's a program to build these patched
      headers on our system in the file:

      ftp://ftp.celestial.com//pub/sco-ports/unix_3_2v5/include.diffs.gz

  3.  Made a minor change in src/extensions.c to fix a prototype for
      realpath.

  4.  Cleaned up the install portion of the Makefiles to support more forms
      of the /usr/local/man/man?.

If anybody else is working on SCO-5 I would like to compare notes before
submitting my patches.  I can put the patch file up on ftp.celestial.com
or e-mail them to the appropriate places.

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/

From owner-wu-ftpd@wugate.wustl.edu Fri Mar 29 19:22:29 1996
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 m0u2kvq-0006chC; Fri, 29 Mar 96 12:38 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA05984; Fri, 29 Mar 1996 14:29:26 -0600
Received: from ciw2.ciwemb.edu by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id OAA04974 for <wu-ftpd@wugate.wustl.edu>; Fri, 29 Mar 1996 14:19:27 -0600
Received: from mail1.ciwemb.edu by ciw2.ciwemb.edu (4.1/SMI-4.1)
	id AA06656; Fri, 29 Mar 96 15:15:11 EST
Message-Id: <n1384009692.20348@mail1.ciwemb.edu>
Date: 29 Mar 1996 15:16:50 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bill Kupiec" <kupiec@mail1.ciwemb.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Installing wu-ftpd
X-Mailer: Mail*Link SMTP-QM 3.0.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I see that u are using the gcc 2.3.3 compiler...

Well, hmmm, I *meant* to use version 2.7.2 that I installed on this machine.
So, I tried building it again using the 2.7.2 version and got another set of
errors (AHHHHHH!). I'm guessing I messed up on the gcc install. Hmmm, guess
it's time to join the gcc list...:)

-Bill

From owner-wu-ftpd@wugate.wustl.edu Sun Mar 31 20:40:37 1996
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 m0u3bPu-0004OXC; Sun, 31 Mar 96 20:40 PST
Received: from host by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id WAA27915; Sun, 31 Mar 1996 22:33:15 -0600
Received: from electric.rain.aic.net.au by wugate.wustl.edu (8.6.12/8.6.11) with SMTP id TAA23600 for <wu-ftpd@wugate.wustl.edu>; Sun, 31 Mar 1996 19:29:34 -0600
Received: by electric.rain.aic.net.au
	id <m0u3hWy-0001TZC@electric.rain.aic.net.au>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Mon, 1 Apr 96 21:12 EST
Message-Id: <Pine.LNX.3.91.960401210746.6043A-100000@electric.rain.aic.net.au>
Date: Mon, 1 Apr 1996 21:12:16 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Fundamental <kaneda@electric.rain.aic.net.au>
To: Server List <wu-ftpd@wugate.wustl.edu>
Subject: serving up as text?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


i have wu-ftpd installed on a debian linux machine, and it works quite 
fine.  Now i thought i would have our web page as a front-end for the 
anonymous wu-ftp site, i have a html link to the ftp server as such
<A HREF="ftp://electric.rain.aic.net.au/pub/file1.exe"> ... it connects 
fine, but serves up the files as asci ... hmm? any ideas?

tahnx


\\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\
<Ho-Ho>
INTERCHANGE
The sea: a silver flash without a sound;
But a dry surf of leaves along the ground.
////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\
The Australian Internet Company \\\\////\\\\////\\\\////\\\\ISP Par Exceliance


