From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 06:26: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 m0ulxlp-000DRCC; Thu, 1 Aug 96 06:26 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA27183; Thu, 1 Aug 1996 08:22:18 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id IAA26488 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 08:03:06 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id PAA00827 for wu-ftpd@wugate.wustl.edu; Thu, 1 Aug 1996 15:03:03 +0200 (MET DST)
Message-Id: <199608011303.PAA00827@pizza.hvu.nl>
Date: Thu, 1 Aug 1996 15:03:03 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: 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 'see' that users are in multiple groups.
              3. wu-ftpd doesn't use the shadow passwords on my Linux
                 machine.
              4. I need to use S/KEY authorisation
              5. I need to authenticate real users via AFS
              6. The timezone in the xferlog is wrong
              7. Digital Unix doesn't log commands after an anonymous
                 user logs in
              8. install fails with 'install: ..'
        
            
         5. Installing the wu-ftpd
              1. Command-line options for wu-ftpd
              2. Testing on a different port number then ftp
        
            
         6. The ftpaccess file
              1. Some files (banners, etc) don't get shown to anonymous
                 users.
              2. What is the exact format of the <times> parameter in the
                 "limit"
        
            
         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
        
            
         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. ftpconversions doesn't work
              4. I want a real user to be able to access the host only
                 via ftp, not via telnet
              5. Somebody uploaded a file with a weird name
              6. I want anonymous users to be able to upload files, but
                 in the most secure manner possible
              7. The default umask used when a real user uploads a file
                 is wrong
              8. I heard something about 'SITE EXEC' having a security
                 hole
              9. How do I make reports more readable ?
             10. Incoming file transfers fail with SunOS and an NFS
                 mounted incoming
             11. Normal ftp clients work, Netscape ftp's fail. So,
                 passive mode doesn't work.
             12. How can I make my ftp-archive accessible by E-mail
                 (ftpmail) ?
        
            
         9. Credits

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

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 09:06: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 m0um0GQ-000DMVC; Thu, 1 Aug 96 09:06 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA07513; Thu, 1 Aug 1996 11:02:57 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from mail.zipnet.net (mail.zipnet.net [199.232.240.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA06417 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 10:52:04 -0500
Received: from tower (cryption@a-206-38.sp.neu.edu [129.10.176.138]) by mail.zipnet.net (8.7.3/8.7.3) with SMTP id LAA02713 for <wu-ftpd@mail.wustl.edu>; Thu, 1 Aug 1996 11:50:46 -0400 (EDT)
Message-Id: <2.2.32.19960801155124.0067924c@pop3.zipnet.net>
Date: Thu, 01 Aug 1996 11:51:24 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: MIke <cryption@poboxes.com>
To: wu-ftpd@wugate.wustl.edu
Subject: denied anonymous upload access in /incoming
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mdevlin@pop3.zipnet.net (Unverified)
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

on my ftp server, i wanted to have it setup so it would allow anonymous
users to upload to /incoming, this worked fine, but then we switched to Red
Hat (instead of slackware) and when i started putting everything back up on
the server, i noticed that their was no incoming dir, so i just made one.
Now i noticed that anonymous users can't upload in /incoming. Anyone have an
idea why?

drwxrwxr-x   2 root     root         1024 Jul 31 12:47 incoming

thats the info on /incoming
                                                        thanks
                                                  cryption@poboxes.xom

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 09:22: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 m0um0WB-0009iAC; Thu, 1 Aug 96 09:22 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA08337; Thu, 1 Aug 1996 11:19:28 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA07813 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 11:10:46 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.5/8.7.3) with SMTP id LAA06159 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 11:09:59 -0500
Message-Id: <Pine.LNX.3.94.960801110914.5315C-100000@ns1.fni.com>
Date: Thu, 1 Aug 1996 11:09:59 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: denied anonymous upload access in /incoming
In-Reply-To: <2.2.32.19960801155124.0067924c@pop3.zipnet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 1 Aug 1996, MIke wrote:

> on my ftp server, i wanted to have it setup so it would allow anonymous
> users to upload to /incoming, this worked fine, but then we switched to Red
> Hat (instead of slackware) and when i started putting everything back up on
> the server, i noticed that their was no incoming dir, so i just made one.
> Now i noticed that anonymous users can't upload in /incoming. Anyone have an
> idea why?
> 
> drwxrwxr-x   2 root     root         1024 Jul 31 12:47 incoming

chmod 733 incoming

   -- Michael

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 09:29: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 m0um0cP-000DIbC; Thu, 1 Aug 96 09:29 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA08668; Thu, 1 Aug 1996 11:25:26 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from chigate.dlogics.com ([204.29.201.11]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA08027 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 11:14:03 -0500
Received: by chigate.dlogics.com (SMI-8.6/SMI-SVR4)
	id LAA02335; Thu, 1 Aug 1996 11:13:38 -0500
Received: from dlogics(192.68.181.194) by chigate via smap (V1.3)
	id sma002333; Thu Aug  1 11:13:32 1996
Received: from rmm by dlogics (4.1/SMI-4.1)
	id AA13260; Thu, 1 Aug 96 11:07:24 CDT
Message-Id: <9608011607.AA13260@dlogics>
Date: Thu, 01 Aug 1996 11:14:25 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Regina Murphy <rmm@dlogics.com>
To: wu-ftpd@wugate.wustl.edu
Cc: rmm@dlogics.com
Subject: anonymous ftp uploads
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: rmm@dlogics.dlogics.com
X-Mailer: Windows Eudora Version 2.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am still trying to get our Anonymous ftp login to be able to do uploads.
We can get files just fine and use the pwd and ls commands but when we try
to put a file
we get the following

ftp> put test
200 POIRT command successful.
553 TEST: Permission denied. (Filename(accept))

I have double checked our permissions and made sure all the libraries are in
place. I have also checked the ftpaccess file to make sure uploads we allowed. 

We are running wu-ftpd version 2.4 on Solaris 2.4. If anyone has an idea of
why we get permission denied I will be most grateful for the help.

Thanks
Regina
****************************************************
Regina Murphy
MIS Support Specialist
Datalogics inc. Formerly Adobe Systems formerly Frame Technology
rmm@dlogics.com

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 09:50: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 m0um0xG-0004LlC; Thu, 1 Aug 96 09:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA10043; Thu, 1 Aug 1996 11:47:35 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from gw1.matthews.com (gw1.matthews.com [204.238.88.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA09528 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 11:39:46 -0500
Received: (from paul@localhost) by gw1.matthews.com (8.7.3/8.7.3/matthews) id MAA04028 for wu-ftpd@wugate.wustl.edu; Thu, 1 Aug 1996 12:41:13 -0400
Message-Id: <199608011641.MAA04028@gw1.matthews.com>
Date: Thu, 1 Aug 1996 12:41:12 -0400 (EDT)
Reply-To: paul@matthews.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Paul Matthews <paul@matthews.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: denied anonymous upload access in /incoming
In-Reply-To: <2.2.32.19960801155124.0067924c@pop3.zipnet.net> from "MIke" at Aug 1, 96 11:51:24 am
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> on my ftp server, i wanted to have it setup so it would allow anonymous
> users to upload to /incoming, this worked fine, but then we switched to Red
> Hat (instead of slackware) and when i started putting everything back up on
> the server, i noticed that their was no incoming dir, so i just made one.
> Now i noticed that anonymous users can't upload in /incoming. Anyone have an
> idea why?
> 
> drwxrwxr-x   2 root     root         1024 Jul 31 12:47 incoming

do a chmod o+w incoming in your ~ftp directory.


From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 10:04: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 m0um1AL-000FB6C; Thu, 1 Aug 96 10:04 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA10915; Thu, 1 Aug 1996 12:01:15 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.1.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA10690 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 11:58:58 -0500
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.16.7]) by ecbull20.frec.bull.fr (8.7.5/8.7.3) with ESMTP id SAA19958 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 18:58:12 +0200
Received: (from diemer@localhost) by lozere.frec.bull.fr (8.7.5/8.7) id SAA154258 for wu-ftpd@wugate.wustl.edu; Thu, 1 Aug 1996 18:58:11 +0200
Message-Id: <199608011658.SAA154258@lozere.frec.bull.fr>
Date: Thu, 1 Aug 1996 18:58:11 +0200 (DFT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: P.Diemer@frec.bull.fr
To: wu-ftpd@wugate.wustl.edu
Subject: Problems compiling under AIX 4.1.4
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I would like to install wu-ftpd 2.4 under AIX 4.1.4
I have got the errors below during the compilation:

Making ftpd.
        cc -O -DDEBUG -I.. -I../support -L../support -c ftpcmd.c
"ftpcmd.y", line 371.18: 1506-045 (S) Undeclared identifier cmdtab.
"ftpcmd.y", line 383.26: 1506-045 (S) Undeclared identifier sitetab.
"ftpcmd.y", line 1057.36: 1506-280 (W) Function argument assignment between typ.
"ftpcmd.y", line 1519.1: 1506-343 (S) Redeclaration of print_groups differs fro.
"ftpcmd.y", line 1519.1: 1506-050 (I) Return type "void" in redeclaration is no.
make: 1254-004 The error code from the last command is 1.


Stop.


Does anybody knows what should I do in this case?
Thanks in advance for your answer.

Pascale
-- 

+----------------------------------------------+-----------------------------+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
|                                              |                             |
| Open Systems & Software                      | M/S     : FREC C1-059       |
| Open System Business Unit                    | ICN     : 229 7152          |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
| Software Packaging & Manufacturing Transfer  |                             | 
+----------------------------------------------+-----------------------------+

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 10:19: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 m0um1PU-000DQYC; Thu, 1 Aug 96 10:19 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA11764; Thu, 1 Aug 1996 12:16:30 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from Beast.boulder.ibm.com (beast.boulder.ibm.com [192.147.13.67]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA11625 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 12:13:03 -0500
Received: by Beast.boulder.ibm.com (SMI-8.6/SMI-SVR4)
	id LAA07134; Thu, 1 Aug 1996 11:05:41 -0600
Message-Id: <199608011705.LAA07134@Beast.boulder.ibm.com>
Date: Thu, 1 Aug 1996 11:05:41 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: varga@Beast.boulder.ibm.com (Jack Varga)
To: wu-ftpd@wugate.wustl.edu (Washington U's FTP Daemon Mail List)
Cc: gmack@vnet.ibm.com, cbark@vnet.ibm.com (Chris Barker)
Subject: Solaris 2.4 compile errors - gcc 2.7.2 (not ftp.h)
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

Attempts to compile wu-ftpd 2.4 result in the following...

Making ftpd.
gcc -g -DDEBUG -I.. -I../support -L../support  -c  popen.c
popen.c: In function `ftpd_popen':
popen.c:149: warning: assignment makes pointer from integer without a cast
popen.c:152: warning: assignment makes pointer from integer without a cast
popen.c: In function `ftpd_pclose':
popen.c:169: `sigset_t' undeclared (first use this function)
popen.c:169: (Each undeclared identifier is reported only once
popen.c:169: for each function it appears in.)
popen.c:169: parse error before `sig'
popen.c:171: `sig' undeclared (first use this function)
popen.c:191: `omask' undeclared (first use this function)
popen.c:213: parse error before `)'
*** Error code 1
make: Fatal error: Command failed for target `popen.o'

OS is Solaris 2.4 (Sparc20).  gcc is version 2.7.2.  I have scoured the 
list archives and found nothing.  Any help is appreciated.  
-- 
  ______                                                                    |>>
 '    \ \                                                                   |
     O/ /                          .      .                                 |
      \ \                    .                   .                          |
      { }              .                             .                      |
      / |         .           Jack Varga                .       .  .        |
     /  |    .            ISSC Server Support             .   .      .      |
    /  .|            <varga@Beast.boulder.ibm.com>          .         ...o  |

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 10:34: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 m0um1db-0004QOC; Thu, 1 Aug 96 10:34 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA12512; Thu, 1 Aug 1996 12:30:42 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from mail.zipnet.net (mail.zipnet.net [199.232.240.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA12106 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 12:24:03 -0500
Received: from tower (cryption@a-206-38.sp.neu.edu [129.10.176.138]) by mail.zipnet.net (8.7.3/8.7.3) with SMTP id NAA11353 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 13:22:54 -0400 (EDT)
Message-Id: <2.2.32.19960801172324.0068e078@pop3.zipnet.net>
Date: Thu, 01 Aug 1996 13:23:24 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: MIke <cryption@poboxes.com>
To: wu-ftpd@wugate.wustl.edu
Subject: denied anonymous upload access in /incoming (half solved) :(
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mdevlin@pop3.zipnet.net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

After getting a few suggestions from some members of the list, i just did:
chmod o+w incoming, and that allowed anonymous users to login, and upload,
but when an anonymous user creates a directory, and tried uploading to it,
it won't let them, how come?


                                                        thanks
                                                cryption@poboxes.com

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 12:42: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 m0um3da-0009iGC; Thu, 1 Aug 96 12:42 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA20247; Thu, 1 Aug 1996 14:36:37 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA19885 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 14:29:02 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id VAA05958 for wu-ftpd@wugate.wustl.edu; Thu, 1 Aug 1996 21:28:58 +0200 (MET DST)
Message-Id: <199608011928.VAA05958@pizza.hvu.nl>
Date: Thu, 1 Aug 1996 21:28:58 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: anonymous ftp uploads
In-Reply-To: <9608011607.AA13260@dlogics> from "Regina Murphy" at Aug 1, 96 11:14:25 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Regina Murphy, who wrote :

> ftp> put test
> 200 POIRT command successful.
> 553 TEST: Permission denied. (Filename(accept))
> 
> I have double checked our permissions and made sure all the libraries are in
> place. I have also checked the ftpaccess file to make sure uploads we allowed. 
> 
> We are running wu-ftpd version 2.4 on Solaris 2.4. If anyone has an idea of
> why we get permission denied I will be most grateful for the help.

Is the path-filter set correct ? Something like :

path-filter anonymous /etc/paths.msg ^[-A-Za-z0-9\._]*$ ^\. ^-

                                    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)     KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 14:08: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 m0um4yb-000DOmC; Thu, 1 Aug 96 14:08 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA24806; Thu, 1 Aug 1996 16:04:03 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from dannug.dk (dannug.dk [130.225.51.22]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA24613 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 16:00:18 -0500
Received: (from karthy@localhost) by dannug.dk (8.7.5/8.7.3) id WAA28267; Thu, 1 Aug 1996 22:59:34 +0200
Message-Id: <y79zq4eddmy.fsf@dannug.dk>
Date: 01 Aug 1996 22:59:33 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karsten Thygesen <karthy@dannug.dk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Timezone problem under Solaris 2.5
In-Reply-To: Wolfram Schmidt's message of Sun, 28 Jul 1996 02:53:14 +0200 (MET DST)
References: <199607280053.CAA28423@decefix.iao.fhg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Gnus v5.2.25/Emacs 19.31
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>>>>> "Wolfram" == Wolfram Schmidt <Wolfram.Schmidt@iao.fhg.de> writes:

Wolfram> ] ] Hi.  I just installed wu-ftpd 2.4 on a Solaris 2.5 box.
Wolfram> Everything works ] perfectly except for one maddening detail.
Wolfram> I can't figure out how to get ] "ls" to display the correct
Wolfram> time for anonymous users.  No matter what I ] try, "ls"
Wolfram> always displays file timestamps in GMT.  [...]  ] So it
Wolfram> appears that wu-ftpd is not propogating the environment to
Wolfram> the ] spawned "ls" process.  Is there a way around this?  A
Wolfram> patch perhaps?

Wolfram> Copy /etc/default/init to the appropriate place in the chroot
Wolfram> area.  It should contain a line "TZ=MYTIMEZONE" where
Wolfram> MYTIMEZONE is your timezone. The OS installation procedure
Wolfram> probably did this for you.

I think it should be enough to copy /etc/TIMEZONE into
~ftp/etc/TIMEZONE along with /usr/share/lib/zoneinfo/MET (or whatewer
/etc/TIMEZONE contains).

Best,
Karsten

-- 
Karsten Thygesen                     Aalborg, Denmark 
karthy@dannug.dk                     Voice:   +45 40713727
SunSITE Denmark Manager (AKA karthy@sunsite.auc.dk)
<URL:http://sunsite.auc.dk/~karthy/> PGP-key: 40F2AA29

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 14:56: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 m0um5j5-000DPbC; Thu, 1 Aug 96 14:56 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA27131; Thu, 1 Aug 1996 16:52:59 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from chigate.dlogics.com ([204.29.201.11]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA26584 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 16:42:57 -0500
Received: by chigate.dlogics.com (SMI-8.6/SMI-SVR4)
	id QAA03997; Thu, 1 Aug 1996 16:42:35 -0500
Received: from dlogics(192.68.181.194) by chigate via smap (V1.3)
	id sma003995; Thu Aug  1 16:42:33 1996
Received: from rmm by dlogics (4.1/SMI-4.1)
	id AA17735; Thu, 1 Aug 96 16:36:16 CDT
Message-Id: <9608012136.AA17735@dlogics>
Date: Thu, 01 Aug 1996 16:43:23 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Regina Murphy <rmm@dlogics.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: anonymous ftp uploads
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: rmm@dlogics.dlogics.com
X-Mailer: Windows Eudora Version 2.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks for the reply. The problem was a missing backslash (\) in the
path-filter command line. It was like looking for a needle in a haystack.

thanks again

regina

At 09:28 PM 8/1/96 +0200, you wrote:
>Quoting Regina Murphy, who wrote :
>
>> ftp> put test
>> 200 POIRT command successful.
>> 553 TEST: Permission denied. (Filename(accept))
>> 
>> I have double checked our permissions and made sure all the libraries are in
>> place. I have also checked the ftpaccess file to make sure uploads we
allowed. 
>> 
>> We are running wu-ftpd version 2.4 on Solaris 2.4. If anyone has an idea of
>> why we get permission denied I will be most grateful for the help.
>
>Is the path-filter set correct ? Something like :
>
>path-filter anonymous /etc/paths.msg ^[-A-Za-z0-9\._]*$ ^\. ^-
>
>                                    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)     KH106-RIPE
>
>
****************************************************
Regina Murphy
MIS Support Specialist
Datalogics inc. Formerly Adobe Systems formerly Frame Technology
rmm@dlogics.com

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 15:56: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 m0um6f1-0000rXC; Thu, 1 Aug 96 15:56 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA29228; Thu, 1 Aug 1996 17:52:46 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from icarus.nodewarrior.net (icarus.nodewarrior.net [206.117.97.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA29060 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 17:48:20 -0500
Received: from icarus.nodewarrior.net ([127.0.0.1])
          by icarus.nodewarrior.net (post.office MTA v1.9.3 ID# 0-13116)
          with SMTP id AAA9641 for <wu-ftpd@wugate.wustl.edu>;
          Thu, 1 Aug 1996 15:44:11 -0700
Message-Id: <19960801224411.AAA9641@icarus.nodewarrior.net>
Date: Thu, 1 Aug 1996 15:44:11 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: hoff@nodewarrior.net (Christofer Hoff)
To: wu-ftpd@wugate.wustl.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello All!

Being new to this ListServ, I am sure this issue has been
raised before, but alas I am not privy to it's solution.

I am running wu-ftpd 2.4 under Solaris 2.5.  I am able to
compile the daemons successfully, however GCC issues a
compiler error/warning during the build:

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

hercules% 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
In file included from authuser.c:7:
/usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:46: warning: its scope is only this definition or declaration,
/usr/include/arpa/inet.h:46: warning: which is probably not what you want.
/usr/include/arpa/inet.h:46: warning: parameter has incomplete type
/usr/include/arpa/inet.h:49: warning: parameter has incomplete type
/usr/include/arpa/inet.h:50: warning: parameter has incomplete type
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
touch libsupport.a
.
.
.
(no other error messages)
---------------------------------

The daemons all function properly except in one condition:
(and thus I am suspicious of this as the culprit)

When I define the 'guestgroup' class in ftpaccess and set
up a user using the xxx/./yyy structure in the passwd file,
said user receives a strange error message upon attempting
any ftp command (ls, put, get, etc...):

220 FTP server (Version wu-2.4(4) Fri Jul 5 12:04:13 PDT 1996) ready.
Name (0:fred): bob
331 Password required for bob.
Password:
230 User bob logged in.  Access restrictions apply.
ftp> pwd
550 .
ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): Bad file number.

While I certainly wish the user to be chroot()'d within a
file system, this is a little extreme!  Please note that
the file system in question exists, the permissions are 
all sane and files do exist in the directory.


Any help you can give me would be REALLY appreciated as I
need this chroot() functionality QUITE badly!

Thanks,

CHris


            ,,,
           (o-o)
------.oOO--(_)--OOo.--------------------------------------------------
Christofer L. Hoff            \             No true genius is
Network Operations Manager     \             possible without a
NodeWarrior Networks, Inc.      \             little intelligent
                                 \              madness!
hoff@nodewarrior.net              \
http://www.nodewarrior.net         \             -Peter Uberoth
-----------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 17:55: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 m0um8WI-0004KRC; Thu, 1 Aug 96 17:55 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA02931; Thu, 1 Aug 1996 19:51:48 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from nic.global-one.no (nic.global-one.no [194.52.172.18]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA02811 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 19:48:03 -0500
Received: from default (ppp-10.osl.global-one.no [194.52.173.10]) by nic.global-one.no (8.6.12/8.6.12) with SMTP id CAA05652 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 02:46:30 +0200
Message-Id: <32014F9E.223F@global-one.no>
Date: Fri, 02 Aug 1996 02:45:18 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Sletten <johns@global-one.no>
To: wu-ftpd@wugate.wustl.edu
Subject: WU-FTPD:Re: 
References: <19960801224411.AAA9641@icarus.nodewarrior.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (Win95; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi

I experienced the same using gcc. wu-ftpd seemed to have security holes, 
i.e. as a guest user I could delete and rename files although this 
should not have been possible because of settings in the ftpaccess file.

What I did was to modify inet.h by removing struct in_addr from the 
parameter list at the line indicated, thus ending up with an empty 
parameter list. I also had to make a similar change a couple of lines 
below as well. Remember to save a copy of the original inet.h

I dont know how sensible this was, but afterwards it compiled without 
problems and seems to be working ok.

I did not get a "cant create socket error", this I think has to do with 
missing or incorrect device files in your /dev directory in your chroot 
environment.

If anyone has an opinion on the changes i made to inet.h, I 
would be grateful to hear.

Best Regards

John Sletten
Independent Consultant
Oslo, Norway

Christofer Hoff wrote:
> 
> Hello All!
> 
> Being new to this ListServ, I am sure this issue has been
> raised before, but alas I am not privy to it's solution.
> 
> I am running wu-ftpd 2.4 under Solaris 2.5.  I am able to
> compile the daemons successfully, however GCC issues a
> compiler error/warning during the build:
> 
> ---------------------------
> 
> hercules% 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
> In file included from authuser.c:7:
> /usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside parameter list
> /usr/include/arpa/inet.h:46: warning: its scope is only this definition or declaration,
> /usr/include/arpa/inet.h:46: warning: which is probably not what you want.
> /usr/include/arpa/inet.h:46: warning: parameter has incomplete type
> /usr/include/arpa/inet.h:49: warning: parameter has incomplete type
> /usr/include/arpa/inet.h:50: warning: parameter has incomplete type
> rm -f libsupport.a
> ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
> touch libsupport.a
> .
> .
> .
> (no other error messages)
> ---------------------------------
> 
> The daemons all function properly except in one condition:
> (and thus I am suspicious of this as the culprit)
> 
> When I define the 'guestgroup' class in ftpaccess and set
> up a user using the xxx/./yyy structure in the passwd file,
> said user receives a strange error message upon attempting
> any ftp command (ls, put, get, etc...):
> 
> 220 FTP server (Version wu-2.4(4) Fri Jul 5 12:04:13 PDT 1996) ready.
> Name (0:fred): bob
> 331 Password required for bob.
> Password:
> 230 User bob logged in.  Access restrictions apply.
> ftp> pwd
> 550 .
> ftp> ls
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number.
> 
> While I certainly wish the user to be chroot()'d within a
> file system, this is a little extreme!  Please note that
> the file system in question exists, the permissions are
> all sane and files do exist in the directory.
> 
> Any help you can give me would be REALLY appreciated as I
> need this chroot() functionality QUITE badly!
> 
> Thanks,
> 
> CHris
> 
>             ,,,
>            (o-o)
> ------.oOO--(_)--OOo.--------------------------------------------------> Christofer L. Hoff            \             No true genius is
> Network Operations Manager     \             possible without a
> NodeWarrior Networks, Inc.      \             little intelligent
>                                  \              madness!
> hoff@nodewarrior.net              \
> http://www.nodewarrior.net         \             -Peter Uberoth
> -----------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 18:09:42 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 m0um8kF-000DRYC; Thu, 1 Aug 96 18:09 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA03632; Thu, 1 Aug 1996 20:06:54 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from tera.bctel.net (tera.bctel.net [204.174.64.252]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA03007 for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 19:54:49 -0500
Received: (from nobody@localhost) by tera.bctel.net (8.7.4/8.7.1) id RAA11318 for <wu-ftpd@mail.wustl.edu>; Thu, 1 Aug 1996 17:51:28 -0700 (PDT)
Received: from burn-mx0101313.smartt.com(207.102.30.14) by tera via smap (V1.3)
	id sma011314; Thu Aug  1 17:51:14 1996
Message-Id: <199608020051.RAA11318@tera.bctel.net>
Date: Thu, 1 Aug 1996 17:55:33 -0800
Reply-To: hjass@ktk1.smartt.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Haralds Jass" <HJ@Superb-E.Com>
To: wu-ftpd@wugate.wustl.edu
Subject: "character special" files on Solaris 2.5
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

These types of files --

crw-r--r--   1 root     root      11, 42 Jul  1 15:47 tcp
crw-r--r--   1 root     root      13, 12 Jul  1 15:47 zero

tcp:            character special (11/42)
zero:           character special (13/12)

can not be copied, nor moved, nor sym linked. I did make them for three skels a 
while ago, but now I need them for a fourth (all req. for virtual FTP) and I 
have forgotten how to make them! (I remember it was "<command> <high#> <low#>", 
or something like that, but I don't remember the command!). I have searched my 
System Admin book, man pages, etc. for over two hours and found nothing...
I would greatly appreciate if anyone would tell me what command to use to make 
these files.

Thanks in advance!
Haralds


--
Haralds Jass <HJ@Superb-E.Com> (personal/junk E-mail address)
                    http://hj.superb-e.com
        *****         *****         *****        *****
                Haralds Jass <HJass@SUPERB.NET>
President, Superb Internet Corporation  -- "Ahead of the Rest" 
 Innovative and Dependable Quality Internet Presence Services
http://www.superb.net                          Info@SUPERB.NET
        Washington, DC, USA  *  Vancouver, BC, Canada

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  1 22:20: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 m0umCeb-000DPWC; Thu, 1 Aug 96 22:20 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id AAA11209; Fri, 2 Aug 1996 00:16:45 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from icarus.nodewarrior.net (icarus.nodewarrior.net [206.117.97.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA10752 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 00:00:00 -0500
Received: from [206.117.185.103] by icarus.nodewarrior.net
          (post.office MTA v1.9.3 ID# 0-13116) with SMTP id AAA10243
          for <wu-ftpd@wugate.wustl.edu>; Thu, 1 Aug 1996 21:55:48 -0700
Message-Id: <v02140b01ae2739eee485@[206.117.185.103]>
Date: Thu, 1 Aug 1996 20:57:24 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: hoff@nodewarrior.net (Christofer Hoff)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTPD:Re:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: hoff@206.117.97.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>What I did was to modify inet.h by removing struct in_addr from the
>parameter list at the line indicated, thus ending up with an empty
>parameter list. I also had to make a similar change a couple of lines
>below as well. Remember to save a copy of the original inet.h

Hmmm...here's where my lack of true "programming" kicks in and my
insecurities of hacking code bubble to the surface.  Can anyone comment on
the functionality the /usr/include/arpa/inet.h code provides?

>I dont know how sensible this was, but afterwards it compiled without
>problems and seems to be working ok.

I'll give it a whirl and see what happens!  ;)

>I did not get a "cant create socket error", this I think has to do with
>missing or incorrect device files in your /dev directory in your chroot
>environment.

Yes, I found a Sunsolve doc on this one, but keep in mind that this
chroot()'d directory structure is NOT within the anonymous FTP directory
(filesystem.)  In fact, the anonymouse FTP works flawlessly!   Basically
this setup is running on a virtual web server wherein there is one MASTER
document directory with each user's "root" document filesystem underneath.
What I need to do is chroot() each user into their own "root" document
directory such that they cannot see/modify other user's HTML/CGI/etc...

>Best Regards
>
>John Sletten
>Independent Consultant
>Oslo, Norway

Thanks for the suggestions.  I'll try the inet.h hacks.

Chris


>Christofer Hoff wrote:
>>
>> Hello All!
>>
>> Being new to this ListServ, I am sure this issue has been
>> raised before, but alas I am not privy to it's solution.
>>
>> I am running wu-ftpd 2.4 under Solaris 2.5.  I am able to
>> compile the daemons successfully, however GCC issues a
>> compiler error/warning during the build:
>>
>> ---------------------------
>>
>> hercules% 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
>> In file included from authuser.c:7:
>> /usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside
>>parameter list
>> /usr/include/arpa/inet.h:46: warning: its scope is only this definition
>>or declaration,
>> /usr/include/arpa/inet.h:46: warning: which is probably not what you want.
>> /usr/include/arpa/inet.h:46: warning: parameter has incomplete type
>> /usr/include/arpa/inet.h:49: warning: parameter has incomplete type
>> /usr/include/arpa/inet.h:50: warning: parameter has incomplete type
>> rm -f libsupport.a
>> ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
>> touch libsupport.a
>> .
>> .
>> .
>> (no other error messages)
>> ---------------------------------
>>
>> The daemons all function properly except in one condition:
>> (and thus I am suspicious of this as the culprit)
>>
>> When I define the 'guestgroup' class in ftpaccess and set
>> up a user using the xxx/./yyy structure in the passwd file,
>> said user receives a strange error message upon attempting
>> any ftp command (ls, put, get, etc...):
>>
>> 220 FTP server (Version wu-2.4(4) Fri Jul 5 12:04:13 PDT 1996) ready.
>> Name (0:fred): bob
>> 331 Password required for bob.
>> Password:
>> 230 User bob logged in.  Access restrictions apply.
>> ftp> pwd
>> 550 .
>> ftp> ls
>> 200 PORT command successful.
>> 425 Can't create data socket (0.0.0.0,20): Bad file number.
>>
>> While I certainly wish the user to be chroot()'d within a
>> file system, this is a little extreme!  Please note that
>> the file system in question exists, the permissions are
>> all sane and files do exist in the directory.
>>
>> Any help you can give me would be REALLY appreciated as I
>> need this chroot() functionality QUITE badly!
>>
>> Thanks,
>>
>> CHris
>>
>>             ,,,
>>            (o-o)
>> ------.oOO--(_)--OOo.-------------------------------------------------->
>>Christofer L. Hoff            \             No true genius is
>> Network Operations Manager     \             possible without a
>> NodeWarrior Networks, Inc.      \             little intelligent
>>                                  \              madness!
>> hoff@nodewarrior.net              \
>> http://www.nodewarrior.net         \             -Peter Uberoth
>> -----------------------------------------------------------------------

            ,,,
           (o-o)
------.oOO--(_)--OOo.--------------------------------------------------
Christofer L. Hoff                \  No true genius is
President                          \  possible without a
NodeWarrior Networks, Inc           \  little intelligent
                                     \  madness!
hoff@nodewarrior.net                  \
http://www.nodewarrior.net             \ -Peter Uberoth
"Nuthin' but Net!"                      \
-----------------------------------------------------------------------
> Windows 95 Rules!  I've been using it for six years on my Macintosh <


From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 06:30: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 m0umKIl-0006kTC; Fri, 2 Aug 96 06:30 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA21594; Fri, 2 Aug 1996 08:26:47 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from summit.bor.ohio.gov (summit.bor.ohio.gov [156.63.16.15]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA21457 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 08:23:50 -0500
Received: by summit.bor.ohio.gov (8.6.13/5.901231)
	id JAA10685; Fri, 2 Aug 1996 09:23:08 -0400
Message-Id: <199608021323.JAA10685@summit.bor.ohio.gov>
Date: Fri, 2 Aug 1996 09:23:07 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob DeBula <bobd@summit.bor.ohio.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: "character special" files on Solaris 2.5
In-Reply-To: <199608020051.RAA11318@tera.bctel.net> from "Haralds Jass" at Aug 1, 96 05:55:33 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> crw-r--r--   1 root     root      11, 42 Jul  1 15:47 tcp
> crw-r--r--   1 root     root      13, 12 Jul  1 15:47 zero
> 
> tcp:            character special (11/42)
> zero:           character special (13/12)
> 
> can not be copied, nor moved, nor sym linked. I did make them for three skels a 
> while ago, but now I need them for a fourth (all req. for virtual FTP) and I 
> have forgotten how to make them! (I remember it was "<command> <high#> <low#>", 
> or something like that, but I don't remember the command!). I have searched my 
> System Admin book, man pages, etc. for over two hours and found nothing...
> I would greatly appreciate if anyone would tell me what command to use to make 
> these files.

Look at the man page for "mknod" (and what you refer to as "high#" and
"low#" are actually the major & minor device numbers).

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 06:48: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 m0umKac-000DBzC; Fri, 2 Aug 96 06:48 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA22655; Fri, 2 Aug 1996 08:45:18 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from kodakr.kodak.com (kodakr.kodak.com [150.220.251.69]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA22198 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 08:38:37 -0500
Received: from cleo.raster.kodak.com by kodakr.kodak.com with SMTP id AA20433
  (5.67b/IDA-1.5 for <wu-ftpd@wugate.wustl.edu>); Fri, 2 Aug 1996 09:35:15 -0400
Received: from s-nova.Kodak.COM (s-nova.raster.Kodak.COM [159.56.20.65]) by cleo.raster.Kodak.COM (8.7.3/8.7.3) with SMTP id JAA09705 for <wu-ftpd@mail.wustl.edu>; Fri, 2 Aug 1996 09:38:28 -0400 (EDT)
Received: by s-nova.Kodak.COM (SMI-8.6/SMI-SVR4)
	id JAA26492; Fri, 2 Aug 1996 09:37:01 -0400
Message-Id: <199608021337.JAA26492@s-nova.Kodak.COM>
Date: Fri, 2 Aug 1996 09:37:00 -0400 (EDT)
Reply-To: tremblay@kodak.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tremblay@kodak.com (Mark S. Tremblay)
To: wu-ftpd@wugate.wustl.edu (WU-FTPD - Listservice)
Subject: Idle uploads...
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Has anyone else seen a problem with ftp server processes hanging after
a client disconnects?  

We've got a server that is offering uploads.  For a variety of reasons
the client net connection will sometimes terminate, leaving an idle FTP
process waiting for more data.  It doesn't seem to be happening
everytime a client drops the connection, just sometimes.

Here is what a ps looks like on those processes:

# /usr/ucb/ps xauww | grep FTPUPLOAD  
FTPUPLOAD    816  0.0  0.8 2320 2112 ?        S   Jul 31  0:00 -Cust4.Max6.Philadelphia.PA.MS.UU.NET: FTPUPLOAD   4.Max6.Philadelphia.PA.MS.UU.NET: 
FTPUPLOAD   6857  0.0  0.8 2320 2112 ?        S   Jul 30  0:00 -Cust6.Max3.New-Orleans.LA.MS.UU.NET: FTPUPLOAD   6.Max3.New-Orleans.LA.MS.UU.NET: FTPUPLOAD
FTPUPLOAD  12611  0.0  0.8 2320 2112 ?        S   Jul 28  0:00 -205.232.87.231: FTPUPLOAD: APPE 214302716352   232.87.231: FTPUPLOAD: APPE 214302716352
FTPUPLOAD  15327  0.0  0.8 2320 2112 ?        S   Jul 28  0:00 -pitman131.voicenet.com: FTPUPLOAD: APPE 0024   an131.voicenet.com: FTPUPLOAD: APPE 0024
FTPUPLOAD  17743  0.0  0.8 2320 2112 ?        S   Jul 29  0:00 -pitman114.voicenet.com: FTPUPLOAD: APPE 2046   an114.voicenet.com: FTPUPLOAD: APPE 2046
FTPUPLOAD  21722  0.0  0.8 2320 2112 ?        S   Jul 30  0:00 -Cust12.Max6.Seattle.WA.MS.UU.NET: FTPUPLOAD:   12.Max6.Seattle.WA.MS.UU.NET: FTPUPLOAD:
FTPUPLOAD  25070  0.0  0.8 2320 2112 ?        S   Jul 24  0:00 -Cust17.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:    17.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:
FTPUPLOAD  25071  0.0  0.8 2320 2112 ?        S   Jul 24  0:00 -Cust37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:    37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:
FTPUPLOAD  25076  0.0  0.8 2320 2112 ?        S   Jul 24  0:00 -Cust37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:    37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:
FTPUPLOAD  26812  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -s50.qni.com: FTPUPLOAD: APPE 013902816524269   qni.com: FTPUPLOAD: APPE 013902816524269
FTPUPLOAD  26817  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -s81.qni.com: FTPUPLOAD: APPE 192802816524269   qni.com: FTPUPLOAD: APPE 192802816524269
FTPUPLOAD  26818  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -s81.qni.com: FTPUPLOAD: APPE 253702816524269   qni.com: FTPUPLOAD: APPE 253702816524269
FTPUPLOAD  26915  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -153.36.136.73: FTPUPLOAD: APPE 5749045083237   36.136.73: FTPUPLOAD: APPE 5749045083237
FTPUPLOAD  28794  0.0  0.8 2320 2112 ?        S   Jul 27  0:00 -hd68-222.compuserve.com: FTPUPLOAD: APPE 053   -222.compuserve.com: FTPUPLOAD: APPE 053
FTPUPLOAD  28799  0.0  0.8 2320 2112 ?        S   Jul 27  0:00 -ad03-124.compuserve.com: FTPUPLOAD: APPE 122   -124.compuserve.com: FTPUPLOAD: APPE 122
FTPUPLOAD  28824  0.0  0.8 2320 2112 ?        S   Jul 27  0:00 -ad60-109.compuserve.com: FTPUPLOAD: APPE 035   -109.compuserve.com: FTPUPLOAD: APPE 035


There isn't any significant information in any of the log files
either.  A sample entry would look like:

Jul 30 23:14:25 host ftpd[6857]: USER FTPUPLOAD
Jul 30 23:14:30 host ftpd[6857]: PASS password
Jul 30 23:14:33 host ftpd[6857]: TYPE Image
Jul 30 23:14:38 host ftpd[6857]: PORT
Jul 30 23:14:40 host ftpd[6857]: APPE <filename>.<type>

Any suggestions?  This is wu-ftp Version wu-2.4, running on an Ultra
SPARC, Solaris 2.5.1

Thanks,

-- 
-Mark S. Tremblay
 Eastman Kodak - Elmgrove Plant
 tremblay@Kodak.COM
 (716) 253-0102

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 08:28:12 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 m0umM93-000DJRC; Fri, 2 Aug 96 08:28 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA28134; Fri, 2 Aug 1996 10:24:44 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from mlfire.ml.com (mlfire.ml.com [192.246.100.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA27756 for <wu-ftpd@mail.wustl.edu>; Fri, 2 Aug 1996 10:16:36 -0500
Received: from commpost.ml.com ([146.125.4.24]) by mlfire.ml.com (8.7.5/8.7.3/MLgw-2.05) with SMTP id LAA01051 for <wu-ftpd@mail.wustl.edu>; Fri, 2 Aug 1996 11:21:08 -0400 (EDT)
Received: from pcmailgw.ml.com (unixccgw2.pcmailgw.ml.com [146.125.77.67]) by commpost.ml.com (8.6.12/8.6.12) with SMTP id LAA19903 for <wu-ftpd@mail.wustl.edu>; Fri, 2 Aug 1996 11:15:45 -0400 (EST)
Received: from ccMail by pcmailgw.ml.com (SMTPLINK V2.11.01)
	id AA839010544; Fri, 02 Aug 96 16:09:22 est
Message-Id: <9607028390.AA839010544@pcmailgw.ml.com>
Date: Fri, 02 Aug 96 16:09:22 est
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vic_Cassar@pcmailgw.ml.com
To: Vic_Cassar@pcmailgw.ml.com, wu-ftpd@wugate.wustl.edu
Subject: Unable to Compile wu-ftpd on AIX 4.1.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     
     
     
     
     I can not compile the supplied source for WU-FTPD. The system I have 
     is a RS/6000 AIX 4.1.3. I have supplied the output produced from the 
     compile.
     
     Any information pertaining to this matter would be greatly 
     appreciated.
     
     Vic Cassar

The following is an attached File item from cc:Mail.  It contains
information that had to be encoded to ensure successful transmission
through various mail systems.  To decode the file use the UUDECODE
program.
--------------------------------- Cut Here ---------------------------------
begin 644 build.log
M;6%K92!A<F=S(&%R92`Z(`IM86ME(&]P=',@87)E(#H@"@I,:6YK:6YG($UA
M:V5F:6QE<RX*"DUA:VEN9R!S=7!P;W)T(&QI8G)A<GDN"@EC8R`M3R`M1$1%
M0E5'("`@+6,@9V5T=7-E<G-H96QL+F,*"6-C("U/("U$1$5"54<@("`M8R!F
M;FUA=&-H+F,*"6-C("U/("U$1$5"54<@("`M8R!S=')C87-E<W1R+F,*"6-C
M("U/("U$1$5"54<@("`M8R!S=')S97`N8PH)8V,@+4\@+41$14)51R`@("UC
M(&%U=&AU<V5R+F,*"6-C("U/("U$1$5"54<@("`M8R!S=')D=7`N8PH)<FT@
M+68@;&EB<W5P<&]R="YA"@EA<B!C<2!L:6)S=7!P;W)T+F$@9V5T=7-E<G-H
M96QL+F\@9FYM871C:"YO('-T<F-A<V5S='(N;R!S=')S97`N;R`@875T:'5S
M97(N;R!S=')D=7`N;PH)<F%N;&EB(&QI8G-U<'!O<G0N80H*36%K:6YG(&9T
M<&0N"@EC8R`M3R`M1$1%0E5'("U)+BX@+4DN+B]S=7!P;W)T("U,+BXO<W5P
M<&]R="`M8R!F='!D+F,*("`@("`U-30@(#$U,#`M,#$P.B`H5RD@5T%23DE.
M1R!I;B!M86EN.B!);F9I;FET92!L;V]P+B`@4')O9W)A;2!M87D@;F]T('-T
M;W`N"@EY86-C("!F='!C;60N>0H);78@>2YT86(N8R!F='!C;60N8PH)8V,@
M+4\@+41$14)51R`M22XN("U)+BXO<W5P<&]R="`M3"XN+W-U<'!O<G0@+6,@
M9G1P8VUD+F,*(F9T<&-M9"YY(BP@;&EN92`S-S$N,3@Z(#$U,#8M,#0U("A3
M*2!5;F1E8VQA<F5D(&ED96YT:69I97(@8VUD=&%B+@HB9G1P8VUD+GDB+"!L
M:6YE(#,X,RXR-CH@,34P-BTP-#4@*%,I(%5N9&5C;&%R960@:61E;G1I9FEE
M<B!S:71E=&%B+@HB9G1P8VUD+GDB+"!L:6YE(#$P-3<N,S8Z(#$U,#8M,C@P
M("A7*2!&=6YC=&EO;B!A<F=U;65N="!A<W-I9VYM96YT(&)E='=E96X@='EP
M97,@(G9O:60H*BDH:6YT*2(@86YD(")V;VED*"HI*"DB(&ES(&YO="!A;&QO
M=V5D+@HB9G1P8VUD+GDB+"!L:6YE(#$U,3DN,3H@,34P-BTS-#,@*%,I(%)E
M9&5C;&%R871I;VX@;V8@<')I;G1?9W)O=7!S(&1I9F9E<G,@9G)O;2!P<F5V
M:6]U<R!D96-L87)A=&EO;B!O;B!L:6YE(#8X,R!O9B`B9G1P8VUD+GDB+@HB
M9G1P8VUD+GDB+"!L:6YE(#$U,3DN,3H@,34P-BTP-3`@*$DI(%)E='5R;B!T
M>7!E(")V;VED(B!I;B!R961E8VQA<F%T:6]N(&ES(&YO="!C;VUP871I8FQE
M('=I=&@@=&AE('!R979I;W5S(')E='5R;B!T>7!E(")I;G0B+@IM86ME.B`Q
M,C4T+3`P-"!4:&4@97)R;W(@8V]D92!F<F]M('1H92!L87-T(&-O;6UA;F0@
M:7,@,2X*"@I3=&]P+@H*36%K:6YG(&9T<&-O=6YT+@H)8V,@+4\@+41$14)5
M1R`M22XN("U)+BXO<W5P<&]R="`M3"XN+W-U<'!O<G0@+6\@9G1P8V]U;G0@
M9G1P8V]U;G0N8R!V97)S+F\@+6QS=7!P;W)T"F-C.B`Q-3`Q+3(R."!I;G!U
M="!F:6QE('9E<G,N;R!N;W0@9F]U;F0*;6%K93H@,3(U-"TP,#0@5&AE(&5R
M<F]R(&-O9&4@9G)O;2!T:&4@;&%S="!C;VUM86YD(&ES(#(U,BX*"@I3=&]P
M+@H*36%K:6YG(&9T<'-H=70N"@EC8R`M3R`M1$1%0E5'("U)+BX@+4DN+B]S
M=7!P;W)T("U,+BXO<W5P<&]R="`M;R!F='!S:'5T(&9T<'-H=70N8R!V97)S
M+F\@+6QS=7!P;W)T"F-C.B`Q-3`Q+3(R."!I;G!U="!F:6QE('9E<G,N;R!N
M;W0@9F]U;F0*;6%K93H@,3(U-"TP,#0@5&AE(&5R<F]R(&-O9&4@9G)O;2!T
M:&4@;&%S="!C;VUM86YD(&ES(#(U,BX*"@I3=&]P+@H*36%K:6YG(&-K8V]N
M9FEG+@H)8V,@+4\@+41$14)51R`M22XN("U)+BXO<W5P<&]R="`M3"XN+W-U
M<'!O<G0@+6\@8VMC;VYF:6<@8VMC;VYF:6<N8PH*3&EN:W,@=&\@97AE8W5T
M86)L97,@87)E(&EN(&)I;B!D:7)E8W1O<GDZ"G-I>F4Z(#`V-30M,S`T($-A
M;FYO="!O<&5N(&)I;B]F='!D+@IS:7IE.B`P-C4T+3,P-"!#86YN;W0@;W!E
M;B!B:6XO9G1P8V]U;G0N"G-I>F4Z(#`V-30M,S`T($-A;FYO="!O<&5N(&)I
M;B]F='!S:'5T+@IS:7IE.B`P-C4T+3,P-"!#86YN;W0@;W!E;B!B:6XO9G1P
M=VAO+@IB:6XO8VMC;VYF:6<Z(#$T-3(@*R`Q-#,R("L@,38@*R`U,#4@/2`S
)-#`U"D1O;F4*
 
end

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 10:08: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 m0umNiZ-0004RwC; Fri, 2 Aug 96 10:08 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA03912; Fri, 2 Aug 1996 12:04:18 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from horse.avnet.com (horse.avnet.com [204.163.162.61]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA03641 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 11:57:42 -0500
Received: from horse (localhost) by horse.avnet.com with SMTP
	(1.39.111.2/16.2) id AA256215123; Fri, 2 Aug 1996 09:58:43 -0700
Message-Id: <320233C3.735E@horse.avnet.com>
Date: Fri, 02 Aug 1996 09:58:43 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ian Schlueter <ian@horse.avnet.com>
To: "wu-ftpd@mail.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: ftpd-wu on HPUX 10.x >>TRUSTED SYSTEM<<
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: ian@horse.avnet.com
X-Mailer: Mozilla 2.01 (X11; I; HP-UX B.10.01 9000/821)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am trying very hard to get ftpd-wu to compile and work properly for a
hpux 10.x system that is TRUSTED... I am fairly new to HPUX so I am not
sure exactally what needs to be changed. I have been able to compile and
use the anonymous side of the deamon fine. But when I try to enable and
use a guest/restricted passworded account... no such luck at all..


Any suggestions?

thanks


Ian Schleuter
ian.schlueter@avnet.com
ian@horse.avnet.com
ian@netwrx.net
homeworld@nyiq.net

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 10:19: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 m0umNsS-0004S7C; Fri, 2 Aug 96 10:19 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA04628; Fri, 2 Aug 1996 12:14:25 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from relay1.UU.NET (relay1.UU.NET [192.48.96.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA04046 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 12:07:30 -0500
Received: from gateway.deere.com by relay1.UU.NET with SMTP 
	(peer crosschecked as: gateway.deere.com [192.43.69.34])
	id QQbbay18405; Fri, 2 Aug 1996 13:06:29 -0400 (EDT)
Received: by gateway.deere.com; id MAA12010; Fri, 2 Aug 1996 12:06:30 -0500
Received: from deere.com(192.43.1.3) by gateway.deere.com via smap (g3.0.1)
	id xma011956; Fri, 2 Aug 96 12:06:20 -0500
Received: from 90.deere.com (dts.90.deere.com) by deere.dx.deere.com (4.1/SMI-4.0)
	id AA08093; Fri, 2 Aug 96 12:06:18 CDT
Received: from dogbert by 90.deere.com (4.1/SMI-4.0)
	id AA25242; Fri, 2 Aug 96 12:06:17 CDT
Message-Id: <32023585.1644@90.deere.com>
Date: Fri, 02 Aug 1996 12:06:13 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bertrum Carroll <bc17684@90.deere.com>
To: wu-ftpd@wugate.wustl.edu
Subject: stats
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bc17684@90.deere.com
X-Mailer: Mozilla 3.0b4 (X11; I; SunOS 5.5.1 sun4u)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

When using xferstats and xferlog I seem to be getting slower file
transfer numbers than when I use a stop watch to time transfers.  I have
 wu-2.4 on a Solaris 2.4 server.  

I looked at the logs and did the math to ensure xferstats is giving
correct answers for the data in xferlog (it is).  The problem seems to
be slower numbers than what is really happening are being recorded in
the xferlog.

Any ideals?




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

mQENAjFt5hYAAAEIAMpCcJj7mpAjSOxej4F7quqpivEtDPT265K0dL5MpJkdb+T/
Pv4Zl32hMASOCvQzOEBmiSX6/g6skEG/RsMEQ0HxKKCjLQxfwjyINMVMXRXGRa+U
ogJtKIJ+pv75KetrrGR8wVgsUcjFIxDqR4ugTxqaCQU42aRpfUCPBzSbKXBxD+e9
dN8LQs3n9t0/Vqpu8et+0272NwIFmK3hepYQZw23UeMLdv6KY1iiMH6tUz6HQNtS
qeSUrxBD3mxnJFsCnDgA6mKKlK49o+E0r+w69xPPOJifayv2z5mWMiexL7p5CxBH
bvv5jmJjPzh0vc/33NAIkSF+Xb8kDVpRooybnIUABRG0I0JlcnRydW0gQ2Fycm9s
bCA8YmMxNzY4NEBkZWVyZS5jb20+iQEVAgUQMXg5gqqnS7Ju28yFAQF6dQf8CiYJ
U/2HF31vD6j+s7bT5AkwbGCvp12ALSGUtVJo7Zx7JRvSQAPwKfw2FNlRsdtAMv/9
K8/p71D2VqTSjpBNKn+JWjfW/JUaalWNlhj+3IGzj10Gtz8nThhd0jkNZR2ZfW3C
CG85at6crHYb6XzUhNyihA7QpPAO9wMQr+5RoxlJ8IjOgxTDiOGkwx/KMayJa/Wu
y2T4PweLeNC21OwA9GbAfixTej+DYvRRZZPX8p8zkobYoMoS95a8QHQW+WSKkEoK
S1qvZCPgo1dHQlmbBAMXeERRYO2iJ6CA4wdFHH0KnwjNBB9wXj58TkEex+RBpLxF
/2qdW7pbxwkM7CmoRg==
=JhdB
-----END PGP PUBLIC KEY BLOCK-----

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 12:23: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 m0umPos-000FLcC; Fri, 2 Aug 96 12:23 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA10370; Fri, 2 Aug 1996 14:17:07 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from light.lightlink.com (light.lightlink.com [205.232.34.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA09758 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 14:00:36 -0500
Received: from localhost (homer@localhost) by light.lightlink.com (8.6.12/8.6.12) with SMTP id OAA07236; Fri, 2 Aug 1996 14:59:28 -0400
Message-Id: <Pine.SUN.3.95.960802145913.4370N-100000@light.lightlink.com>
Date: Fri, 2 Aug 1996 14:59:27 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: "Mark S. Tremblay" <tremblay@kodak.com>
Cc: WU-FTPD - Listservice <wu-ftpd@wugate.wustl.edu>
Subject: Re: Idle uploads...
In-Reply-To: <199608021337.JAA26492@s-nova.Kodak.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


    ftpd hangs processes that disconnect in mid stride.

------------------------------------------------------------------------------
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

On Fri, 2 Aug 1996, Mark S. Tremblay wrote:

> Has anyone else seen a problem with ftp server processes hanging after
> a client disconnects?  
> 
> We've got a server that is offering uploads.  For a variety of reasons
> the client net connection will sometimes terminate, leaving an idle FTP
> process waiting for more data.  It doesn't seem to be happening
> everytime a client drops the connection, just sometimes.
> 
> Here is what a ps looks like on those processes:
> 
> # /usr/ucb/ps xauww | grep FTPUPLOAD  
> FTPUPLOAD    816  0.0  0.8 2320 2112 ?        S   Jul 31  0:00 -Cust4.Max6.Philadelphia.PA.MS.UU.NET: FTPUPLOAD   4.Max6.Philadelphia..PA.MS.UU.NET: 
> FTPUPLOAD   6857  0.0  0.8 2320 2112 ?        S   Jul 30  0:00 -Cust6.Max3.New-Orleans.LA.MS.UU.NET: FTPUPLOAD   6.Max3.New-Orleans.LA.MS.UU.NET: FTPUPLOAD
> FTPUPLOAD  12611  0.0  0.8 2320 2112 ?        S   Jul 28  0:00 -205.232.87.231: FTPUPLOAD: APPE 214302716352   232.87.231: FTPUPLOAD: APPE 214302716352
> FTPUPLOAD  15327  0.0  0.8 2320 2112 ?        S   Jul 28  0:00 -pitman131.voicenet.com: FTPUPLOAD: APPE 0024   an131.voicenet.com: FTPUPLOAD: APPE 0024
> FTPUPLOAD  17743  0.0  0.8 2320 2112 ?        S   Jul 29  0:00 -pitman114.voicenet.com: FTPUPLOAD: APPE 2046   an114.voicenet.com: FTPUPLOAD: APPE 2046
> FTPUPLOAD  21722  0.0  0.8 2320 2112 ?        S   Jul 30  0:00 -Cust12.Max6.Seattle.WA.MS.UU.NET: FTPUPLOAD:   12.Max6.Seattle.WA.MS.UU.NET: FTPUPLOAD:
> FTPUPLOAD  25070  0.0  0.8 2320 2112 ?        S   Jul 24  0:00 -Cust17.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:    17.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:
> FTPUPLOAD  25071  0.0  0.8 2320 2112 ?        S   Jul 24  0:00 -Cust37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:    37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:
> FTPUPLOAD  25076  0.0  0.8 2320 2112 ?        S   Jul 24  0:00 -Cust37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:    37.Max2.Denver.CO.MS.UU.NET: FTPUPLOAD:
> FTPUPLOAD  26812  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -s50.qni.com: FTPUPLOAD: APPE 013902816524269   qni.com: FTPUPLOAD: APPE 013902816524269
> FTPUPLOAD  26817  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -s81.qni.com: FTPUPLOAD: APPE 192802816524269   qni.com: FTPUPLOAD: APPE 192802816524269
> FTPUPLOAD  26818  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -s81.qni.com: FTPUPLOAD: APPE 253702816524269   qni.com: FTPUPLOAD: APPE 253702816524269
> FTPUPLOAD  26915  0.0  0.8 2320 2112 ?        S   Jul 26  0:00 -153.36.136.73: FTPUPLOAD: APPE 5749045083237   36.136.73: FTPUPLOAD: APPE 5749045083237
> FTPUPLOAD  28794  0.0  0.8 2320 2112 ?        S   Jul 27  0:00 -hd68-222.compuserve.com: FTPUPLOAD: APPE 053   -222.compuserve.com: FTPUPLOAD: APPE 053
> FTPUPLOAD  28799  0.0  0.8 2320 2112 ?        S   Jul 27  0:00 -ad03-124.compuserve.com: FTPUPLOAD: APPE 122   -124.compuserve.com: FTPUPLOAD: APPE 122
> FTPUPLOAD  28824  0.0  0.8 2320 2112 ?        S   Jul 27  0:00 -ad60-109.compuserve.com: FTPUPLOAD: APPE 035   -109.compuserve.com: FTPUPLOAD: APPE 035
> 
> 
> There isn't any significant information in any of the log files
> either.  A sample entry would look like:
> 
> Jul 30 23:14:25 host ftpd[6857]: USER FTPUPLOAD
> Jul 30 23:14:30 host ftpd[6857]: PASS password
> Jul 30 23:14:33 host ftpd[6857]: TYPE Image
> Jul 30 23:14:38 host ftpd[6857]: PORT
> Jul 30 23:14:40 host ftpd[6857]: APPE <filename>.<type>
> 
> Any suggestions?  This is wu-ftp Version wu-2.4, running on an Ultra
> SPARC, Solaris 2.5.1
> 
> Thanks,
> 
> -- 
> -Mark S. Tremblay
>  Eastman Kodak - Elmgrove Plant
>  tremblay@Kodak.COM
>  (716) 253-0102
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  2 15:27: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 m0umShI-000FODC; Fri, 2 Aug 96 15:27 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA19366; Fri, 2 Aug 1996 17:25:29 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from bambam.magiccarpet.com (bambam.magiccarpet.com [205.229.228.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA19025 for <wu-ftpd@wugate.wustl.edu>; Fri, 2 Aug 1996 17:14:42 -0500
Received: from fred (fred.magiccarpet.com [205.229.228.3]) by bambam.magiccarpet.com (8.7.4/8.7.3) with SMTP id SAA14548 for <wu-ftpd@mail.wustl.edu>; Fri, 2 Aug 1996 18:13:57 -0400 (EDT)
Message-Id: <199608022213.SAA14548@bambam.magiccarpet.com>
Date: Fri, 2 Aug 1996 18:17:06 +0000
Reply-To: adavachi@magiccarpet.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Ali Davachi" <adavachi@magiccarpet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Permission control.
X-mailer: Pegasus Mail for Windows (v2.23)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We are using wu-ftpd and are wondering if it is possible to allow a 
user with a system logon to be limited to their normal home 
directory. Currenlty if a user ftp's into the system, they can 
traverse the filesystem at will.  We do not want to change the passwd 
entry to force a chroot, as these same entries are used for logins.  

Any suggestions or a push in the right direction,

Ali Davachi
adavachi@magiccarpet.com

From owner-wu-ftpd@wugate.wustl.edu Sat Aug  3 01:45: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 m0umcL7-000DJ6C; Sat, 3 Aug 96 01:45 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA05582; Sat, 3 Aug 1996 03:43:21 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from leonardo.net (leonardo.net [198.147.97.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA05477 for <wu-ftpd@wugate.wustl.edu>; Sat, 3 Aug 1996 03:34:22 -0500
Received: from [198.147.97.99] (A02.leonardo.net [198.147.97.99]) by leonardo.net (8.6.9/8.6.9) with SMTP id BAA01973 for <wu-ftpd@wugate.wustl.edu>; Sat, 3 Aug 1996 01:37:06 -0700
Message-Id: <v01530502ae285b2e6242@[198.147.97.166]>
Date: Sat, 3 Aug 1996 01:37:06 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: laweb@gyw.com (laweb)
To: wu-ftpd@wugate.wustl.edu
Subject: quota(?) [not] perplexity
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: laweb@leonardo.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi guys,
I have a curious problem with FreeBSD.
For some reason, when users log in, the system says there is no space [to
write]. Root/su have no problem writing. Of course there is plenty of disk
space.

I.e. it looks like quotas were exceeded. But there are no quotas on the
machine...

Sorry for being totally ignorant on this, but if someone could point me to
the right direction with this, I would really appreciate it.

Making a fool of himself...

Troy



From owner-wu-ftpd@wugate.wustl.edu Sat Aug  3 10:48: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 m0umknv-0004JDC; Sat, 3 Aug 96 10:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA14724; Sat, 3 Aug 1996 12:45:53 -0500
test-header: [owner-wu-ftpd@wugate.wustl.edu]
Received: from patty.loop.net (patty.loop.net [204.179.169.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA14626 for <wu-ftpd@wugate.wustl.edu>; Sat, 3 Aug 1996 12:42:06 -0500
Received: (from cassy@localhost) by patty.loop.net (8.6.12/8.6.12) id KAA02901; Sat, 3 Aug 1996 10:40:30 -0700
Message-Id: <Pine.BSF.3.91.960803103945.2349B-100000@patty.loop.net>
Date: Sat, 3 Aug 1996 10:40:30 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Cassandra Perkins <cassy@loop.com>
To: laweb <laweb@gyw.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: quota(?) [not] perplexity
In-Reply-To: <v01530502ae285b2e6242@[198.147.97.166]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: cassy@patty.loop.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Did you check /tmp to make sure it's world writable.

Cassandra

On Sat, 3 Aug 1996, laweb wrote:

> Hi guys,
> I have a curious problem with FreeBSD.
> For some reason, when users log in, the system says there is no space [to
> write]. Root/su have no problem writing. Of course there is plenty of disk
> space.
> 
> I.e. it looks like quotas were exceeded. But there are no quotas on the
> machine...
> 
> Sorry for being totally ignorant on this, but if someone could point me to
> the right direction with this, I would really appreciate it.
> 
> Making a fool of himself...
> 
> Troy
> 
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Sun Aug  4 22:21:42 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 m0unI6j-000CtPC; Sun, 4 Aug 96 22:21 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id AAA16443; Mon, 5 Aug 1996 00:19:12 -0500
Received: from rmit.EDU.AU (voga.rmit.EDU.AU [131.170.1.20]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA16299 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 00:12:19 -0500
Received: from urgento.gse.rmit.EDU.AU (urgento.gse.rmit.EDU.AU [131.170.69.3]) by rmit.EDU.AU (8.7.5/8.7.3) with SMTP id PAA00965 for <wu-ftpd@mail.wustl.edu>; Mon, 5 Aug 1996 15:11:30 +1000 (EST)
Received: by urgento.gse.rmit.EDU.AU (4.1/SMI-4.1)
	id AA16614; Mon, 5 Aug 96 15:16:10 EST
Message-Id: <Pine.SUN.3.91.960805150424.1509a-100000@urgento.gse.rmit.EDU.AU>
Date: Mon, 5 Aug 1996 15:16:10 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David M <davidm@urgento.gse.rmit.EDU.AU>
To: wu-ftpd@wugate.wustl.edu
Subject: HELP RE: INSTALATION ON IRIX
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear all:

I am trying to install wu-ftpd in an Indy (SGI IRIX 6.2) but I am 
receiveing several error messages from the 'build sgi'.  I did not change 
any of the defaults in the src/pathnames.h as they seem ok to me.

Below is the error report I receive.  If someone who is experienced with 
wu-ftpd could assist me in correcting these errors to achieve a 
successful installation I would appreciate it.

I have tried to change the ftpd.c file as suggested in 'INSTALL' but it 
still did not work.  I do not know what arguments are expected in 
make args are :
make opts are :

Any feedback would be helpful.

Best wishes,

David M


---
System: IRIX 6.2 IP22

hectic% build sgi
make args are : 
make opts are : 

Linking Makefiles.

Making support library.
        cc -O -DDEBUG   -c getusershell.c
        cc -O -DDEBUG   -c fnmatch.c
        cc -O -DDEBUG   -c strcasestr.c
        cc -O -DDEBUG   -c strsep.c
        cc -O -DDEBUG   -c authuser.c
        rm -f libsupport.a
        ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strsep.o 
authuser.o
        touch libsupport.a

Making ftpd.
        cc -O -DDEBUG -I.. -I../support -L../support -c ftpd.c
cfe: Warning 581: /usr/include/stdarg.h:134: Macro va_start redefined.
cfe: Warning 581: /usr/include/stdarg.h:141: Macro _VA_ALIGN redefined.
cfe: Warning 581: /usr/include/stdarg.h:147: Macro __va_stack_arg redefined.
cfe: Warning 609: ftpd.c: 2021: The number of arguments in the macro 
invocation does not match the definition
cfe: Warning 609: ftpd.c: 2072: The number of arguments in the macro 
invocation does not match the definition
cfe: Warning 609: ftpd.c: 2699: The number of arguments in the macro 
invocation does not match the definition
cfe: Error: ftpd.c, line 143: redeclaration of 'realpath'; previous 
declaration at line 213 in file '/usr/include/stdlib.h'
  *realpath(char *pathname, char *result);
 --^
cfe: Error: ftpd.c, line 143: Incompatible type for the function parameter
  *realpath(char *pathname, char *result);
 -----------------^
cfe: Error: ftpd.c, line 2021: Syntax Error
     (ap = ((char *)& + sizeof())) ;
 ------------------------------^
cfe: Error: ftpd.c, line 2072: Syntax Error
     (ap = ((char *)& + sizeof())) ;
 ------------------------------^
cfe: Error: ftpd.c, line 2699: Syntax Error
     (ap = ((char *)& + sizeof())) ;
 ------------------------------^
*** Error code 1 (bu21)

Making ftpcount.
        cc -O -DDEBUG -I.. -I../support -L../support -o ftpcount 
ftpcount.c vers.o -lsupport
ld: FATAL 9: I/O error (vers.o): No such file or directory
*** Error code 1 (bu21)

Making ftpshut.
        cc -O -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c 
vers.o -lsupport
ld: FATAL 9: I/O error (vers.o): No such file or directory
*** Error code 1 (bu21)

Making ckconfig.
        cc -O -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
bin/ckconfig: 

        Section              Size        Physical        Virtual
                                         Address         Address

             .interp          19         4194612         4194612        
       .MIPS.options          96         4194632         4194632        
            .reginfo          24         4194728         4194728        
            .dynamic         248         4194752         4194752        
            .liblist          20         4195000         4195000        
             .dynstr         305         4195020         4195020        
               .hash         408         4195328         4195328        
             .dynsym         576         4195736         4195736        
        .MIPS.symlib          36         4196312         4196312        
               .msym         288         4196348         4196348        
         .MIPS.stubs         100         4196636         4196636        
               .text        1408         4196736         4196736        
               .init          32         4198144         4198144        
             .rodata        1376        268439552       268439552       
                .got          68        268440928       268440928       
                .bss          12        268440996       268440996       
3560 + 1444 + 12 = 5016
Done

hectic% build install
make args are : 
make opts are : 
don't know how to make bin/ftpd (bu42).

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 00:29: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 m0unK6b-0000CHC; Mon, 5 Aug 96 00:29 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA19403; Mon, 5 Aug 1996 02:27:20 -0500
Received: from mail.st.rim.or.jp (mail.st.rim.or.jp [202.255.181.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id CAA19238 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 02:22:44 -0500
Received: from aptiva (ppp63.tokyo.dtinet.or.jp [202.216.231.196]) by mail.st.rim.or.jp (8.7.5/3.4W3-rim1.1) with SMTP id QAA20323; Mon, 5 Aug 1996 16:22:00 +0900 (JST)
Message-Id: <3205A115.69F2@st.rim.or.jp>
Date: Mon, 05 Aug 1996 16:21:57 +0900
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Yasushi Arai <nediath@st.rim.or.jp>
To: wu-ftpd@wugate.wustl.edu
Subject: [Q] ftpaccess
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win95; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello everyone.
Can anyone give me advice on the following?

I am now using wu-ftpd 2.4(12)(wu-ftpd-2.4-fixed.tar.gz) on Linux 1.2.13.
Our operation style is to disable shell account, and is set to only allow FTP.
Therefore, each user is handled as 'guest' and users home directory is set to be "/".
As I heard that Virtual FTP is now supported, I switched to wu-ftpd 2.4.2 beta10,
but it will not be as "/" but will be  "/home/username".
What could be the problem?

In both programs I am using the same setting for the ftpaccess file.  And the
wu-ftpd is set-up to use shadow password when I compiled it.  The virtual ftp
server's area has not been set-up.

Can someone give me some advice?

-----------------------
Yasushi Arai  Tokyo,Japan
E-mail nediath@st.rim.or.jp

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 00:35: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 m0unKBw-0002NwC; Mon, 5 Aug 96 00:35 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA19579; Mon, 5 Aug 1996 02:33:10 -0500
Received: from i-way.co.uk (hoima.i-way.co.uk [194.129.192.6]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA19287 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 02:24:38 -0500
Received: from fred.i-way.co.uk by i-way.co.uk via SMTP (951211.SGI.8.6.12.PATCH1042/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id IAA02157; Mon, 5 Aug 1996 08:21:47 -0100
Message-Id: <199608050921.IAA02157@i-way.co.uk>
Date: Mon, 5 Aug 1996 08:21:47 -0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: neville@i-way.co.uk (neville stott)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: HELP RE: INSTALATION ON IRIX
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: neville@i-way.co.uk
X-Mailer: Windows Eudora Version 1.4.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

hello 

 I had the same problem with irix 5.3 and bill edmunds helped me out with
 this.

ftp://ftp.ex.ac.uk/pub/unix/SGI_wuftpd-2.4.tar.gz

 it compiled fine first time.

Hope that helps,

 neville stott

>Dear all:
>
>I am trying to install wu-ftpd in an Indy (SGI IRIX 6.2) but I am 
>receiveing several error messages from the 'build sgi'.  I did not change 
>any of the defaults in the src/pathnames.h as they seem ok to me.
>
>Below is the error report I receive.  If someone who is experienced with 
>wu-ftpd could assist me in correcting these errors to achieve a 
>successful installation I would appreciate it.
>
>I have tried to change the ftpd.c file as suggested in 'INSTALL' but it 
>still did not work.  I do not know what arguments are expected in 
>make args are :
>make opts are :
>
>Any feedback would be helpful.
>
>Best wishes,
>
>David M
>
>
>---
>System: IRIX 6.2 IP22
>
>hectic% build sgi
>make args are : 
>make opts are : 
>
>Linking Makefiles.
>
>Making support library.
>        cc -O -DDEBUG   -c getusershell.c
>        cc -O -DDEBUG   -c fnmatch.c
>        cc -O -DDEBUG   -c strcasestr.c
>        cc -O -DDEBUG   -c strsep.c
>        cc -O -DDEBUG   -c authuser.c
>        rm -f libsupport.a
>        ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strsep.o 
>authuser.o
>        touch libsupport.a
>
>Making ftpd.
>        cc -O -DDEBUG -I.. -I../support -L../support -c ftpd.c
>cfe: Warning 581: /usr/include/stdarg.h:134: Macro va_start redefined.
>cfe: Warning 581: /usr/include/stdarg.h:141: Macro _VA_ALIGN redefined.
>cfe: Warning 581: /usr/include/stdarg.h:147: Macro __va_stack_arg redefined.
>cfe: Warning 609: ftpd.c: 2021: The number of arguments in the macro 
>invocation does not match the definition
>cfe: Warning 609: ftpd.c: 2072: The number of arguments in the macro 
>invocation does not match the definition
>cfe: Warning 609: ftpd.c: 2699: The number of arguments in the macro 
>invocation does not match the definition
>cfe: Error: ftpd.c, line 143: redeclaration of 'realpath'; previous 
>declaration at line 213 in file '/usr/include/stdlib.h'
>  *realpath(char *pathname, char *result);
> --^
>cfe: Error: ftpd.c, line 143: Incompatible type for the function parameter
>  *realpath(char *pathname, char *result);
> -----------------^
>cfe: Error: ftpd.c, line 2021: Syntax Error
>     (ap = ((char *)& + sizeof())) ;
> ------------------------------^
>cfe: Error: ftpd.c, line 2072: Syntax Error
>     (ap = ((char *)& + sizeof())) ;
> ------------------------------^
>cfe: Error: ftpd.c, line 2699: Syntax Error
>     (ap = ((char *)& + sizeof())) ;
> ------------------------------^
>*** Error code 1 (bu21)
>
>Making ftpcount.
>        cc -O -DDEBUG -I.. -I../support -L../support -o ftpcount 
>ftpcount.c vers.o -lsupport
>ld: FATAL 9: I/O error (vers.o): No such file or directory
>*** Error code 1 (bu21)
>
>Making ftpshut.
>        cc -O -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c 
>vers.o -lsupport
>ld: FATAL 9: I/O error (vers.o): No such file or directory
>*** Error code 1 (bu21)
>
>Making ckconfig.
>        cc -O -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c
>
>Links to executables are in bin directory:
>size: bin/ftpd: cannot open
>size: bin/ftpcount: cannot open
>size: bin/ftpshut: cannot open
>size: bin/ftpwho: cannot open
>bin/ckconfig: 
>
>        Section              Size        Physical        Virtual
>                                         Address         Address
>
>             .interp          19         4194612         4194612        
>       .MIPS.options          96         4194632         4194632        
>            .reginfo          24         4194728         4194728        
>            .dynamic         248         4194752         4194752        
>            .liblist          20         4195000         4195000        
>             .dynstr         305         4195020         4195020        
>               .hash         408         4195328         4195328        
>             .dynsym         576         4195736         4195736        
>        .MIPS.symlib          36         4196312         4196312        
>               .msym         288         4196348         4196348        
>         .MIPS.stubs         100         4196636         4196636        
>               .text        1408         4196736         4196736        
>               .init          32         4198144         4198144        
>             .rodata        1376        268439552       268439552       
>                .got          68        268440928       268440928       
>                .bss          12        268440996       268440996       
>3560 + 1444 + 12 = 5016
>Done
>
>hectic% build install
>make args are : 
>make opts are : 
>don't know how to make bin/ftpd (bu42).
>
>

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 01:21: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 m0unKvA-0002KWC; Mon, 5 Aug 96 01:21 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA20653; Mon, 5 Aug 1996 03:19:33 -0500
Received: from i-way.co.uk (hoima.i-way.co.uk [194.129.192.6]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA20592 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 03:18:00 -0500
Received: from fred.i-way.co.uk by i-way.co.uk via SMTP (951211.SGI.8.6.12.PATCH1042/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id JAA03791; Mon, 5 Aug 1996 09:15:06 -0100
Message-Id: <199608051015.JAA03791@i-way.co.uk>
Date: Mon, 5 Aug 1996 09:15:06 -0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: neville@i-way.co.uk (neville stott)
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: neville@i-way.co.uk
X-Mailer: Windows Eudora Version 1.4.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

hello there

 I have got the source for irix 5.3 and successfully compiled it thanks to
those guys  for the source. However if I killall -HUP inetd and try to ftp
in I get a ftp: connect: connection refused message I have not change any of
the access files from standard. If I use the std ftpd which came with the OS
it works fine. Any pointers would be greatly appreciated.

  class all real,guest,anonymous *

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 01:38: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 m0unLBd-0004JuC; Mon, 5 Aug 96 01:38 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA21038; Mon, 5 Aug 1996 03:36:41 -0500
Received: from rmit.EDU.AU (voga.rmit.EDU.AU [131.170.1.20]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id DAA20942 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 03:30:48 -0500
Received: from urgento.gse.rmit.EDU.AU (urgento.gse.rmit.EDU.AU [131.170.69.3]) by rmit.EDU.AU (8.7.5/8.7.3) with SMTP id SAA11087 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 18:30:02 +1000 (EST)
Received: by urgento.gse.rmit.EDU.AU (4.1/SMI-4.1)
	id AA17048; Mon, 5 Aug 96 18:34:43 EST
Message-Id: <Pine.SUN.3.91.960805182022.1509b-100000@urgento.gse.rmit.EDU.AU>
Date: Mon, 5 Aug 1996 18:34:43 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David M <davidm@urgento.gse.rmit.EDU.AU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: HELP RE: INSTALATION ON IRIX
In-Reply-To: <199608050921.IAA02157@i-way.co.uk>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello again!

>  I had the same problem with irix 5.3 and bill edmunds helped me out with
>  this.
> 
> ftp://ftp.ex.ac.uk/pub/unix/SGI_wuftpd-2.4.tar.gz
> 
>  it compiled fine first time.

Thank you... :)  It seems to have gone alot better but there are still 
some errors displayed.  I guess this is cause I am using IRIX 6.2...  let 
me know if you have any other tips on how to solve the problems below.  
Much appreciated!

Best regards,

David M

---
hectic 86# ./build sgi 
make args are : 
make opts are : 

Linking Makefiles.
makefiles/Makefile.sgi and Makefile are identical
config/config.sgi and config.h are identical
makefiles/Makefile.sgi and Makefile are identical

Making support library.
        cc -O -cckr -DDEBUG   -c getusershell.c
        cc -O -cckr -DDEBUG   -c fnmatch.c
        cc -O -cckr -DDEBUG   -c strcasestr.c
        cc -O -cckr -DDEBUG   -c strsep.c
        cc -O -cckr -DDEBUG   -c authuser.c
        rm -f libsupport.a
        ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strsep.o 
authuser.o
        touch libsupport.a

Making ftpd.
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c ftpd.c
        yacc  ftpcmd.y
        mv -f y.tab.c ftpcmd.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c ftpcmd.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c glob.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c logwtmp.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c popen.c
        sh newvers.sh
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c vers.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c access.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c extensions.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c realpath.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c acl.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c private.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c authenticate.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c conversions.c
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c hostacc.c
don't know how to make /usr/lib/libc_s.a (bu42).

Making ftpcount.
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -o ftpcount 
ftpcount.c vers.o -lsupport
ld: WARNING 84: ../support/libsupport.a is not used for resolving any symbol.

Making ftpshut.
        cc -O -cckr -DDEBUG -I.. -I../support -L../support -o ftpshut 
ftpshut.c vers.o -lsupport
ld: WARNING 84: ../support/libsupport.a is not used for resolving any symbol.

Making ckconfig.
`ckconfig' is up to date.

Links to executables are in bin directory:
size: bin/ftpd: cannot open
bin/ftpcount: 

        Section              Size        Physical        Virtual
                                         Address         Address

             .interp          19         4194612         4194612        
       .MIPS.options          96         4194632         4194632        
            .reginfo          24         4194728         4194728        
            .dynamic         248         4194752         4194752        
            .liblist          20         4195000         4195000        
             .dynstr         576         4195020         4195020        
               .hash         808         4195596         4195596        
             .dynsym        1152         4196404         4196404        
        .MIPS.symlib          72         4197556         4197556        
               .msym         576         4197628         4197628        
         .MIPS.stubs         516         4198204         4198204        
               .text        3648         4198720         4198720        
               .init          32         4202368         4202368        
             .rodata         496        268443648       268443648       
               .data          80        268444144       268444144       
                .got         212        268444224       268444224       
                .bss          16        268444436       268444436       
7787 + 788 + 16 = 8591
bin/ftpshut: 

        Section              Size        Physical        Virtual
                                         Address         Address

             .interp          19         4194612         4194612        
       .MIPS.options          96         4194632         4194632        
            .reginfo          24         4194728         4194728        
            .dynamic         248         4194752         4194752        
            .liblist          20         4195000         4195000        
             .dynstr         459         4195020         4195020        
               .hash         488         4195480         4195480        
             .dynsym         896         4195968         4195968        
        .MIPS.symlib          56         4196864         4196864        
               .msym         448         4196920         4196920        
         .MIPS.stubs         292         4197368         4197368        
               .text        2480         4197664         4197664        
               .init          32         4200144         4200144        
             .rodata         896        268443648       268443648       
               .data          64        268444544       268444544       
                .got         148        268444608       268444608       
                .bss          12        268444756       268444756       
5558 + 1108 + 12 = 6678
bin/ftpwho: 

        Section              Size        Physical        Virtual
                                         Address         Address

             .interp          19         4194612         4194612        
       .MIPS.options          96         4194632         4194632        
            .reginfo          24         4194728         4194728        
            .dynamic         248         4194752         4194752        
            .liblist          20         4195000         4195000        
             .dynstr         576         4195020         4195020        
               .hash         808         4195596         4195596        
             .dynsym        1152         4196404         4196404        
        .MIPS.symlib          72         4197556         4197556        
               .msym         576         4197628         4197628        
         .MIPS.stubs         516         4198204         4198204        
               .text        3648         4198720         4198720        
               .init          32         4202368         4202368        
             .rodata         496        268443648       268443648       
               .data          80        268444144       268444144       
                .got         212        268444224       268444224       
                .bss          16        268444436       268444436       
7787 + 788 + 16 = 8591
bin/ckconfig: 

        Section              Size        Physical        Virtual
                                         Address         Address

             .interp          19         4194592         4194592        
            .reginfo          24         4194624         4194624        
            .dynamic         176         4194688         4194688        
            .liblist          32         4194864         4194864        
             .dynstr         336         4194896         4194896        
             .dynsym         624         4195232         4195232        
               .hash         432         4195856         4195856        
               .text        1664         4196288         4196288        
               .init          32         4197952         4197952        
             .rodata        1328        268435456       268435456       
                .got          96        268436784       268436784       
                .bss          16        268436880       268436880       
4667 + 96 + 16 = 4779
Done

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 01:50: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 m0unLNI-000Cr7C; Mon, 5 Aug 96 01:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA21339; Mon, 5 Aug 1996 03:48:52 -0500
Received: from elastic.kwest.com.au (elastic.kwest.com.au [203.58.18.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id DAA21093 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 03:38:58 -0500
Received: from elastic (cactoid@elastic [203.58.18.1]) by elastic.kwest.com.au (8.7.5/8.6.9) with SMTP id SAA00167 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 18:39:08 +1000
Message-Id: <Pine.LNX.3.94.960805183715.164A-100000@elastic>
Date: Mon, 5 Aug 1996 18:39:07 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: cactoid <cactoid@kwest.com.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd
In-Reply-To: <199608051015.JAA03791@i-way.co.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: cactoid@elastic
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Greetings..

I am new to this list, and I'm sure this question has been asked many
times before.. I am running a Linux 2.0.0 based box trying to get wuftpd
beta 11 (anything passed 2.4.2-fixed for that matter).

I run build lnx (or whatever the syntax was) and all is hunky dory until I
get to glob.c/glob.o part of the compilation.. from then on it all dies
with vers.o file missing errors..

Any ideas?

--                           ,-._|\
cactoid.                |   /      \   | http://www.kwest.com.au.
Professional Netjunkie. |   \_,--._/   | cactoid@kwest.com.au.
                                  v

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 02:36: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 m0unM5F-000DA4C; Mon, 5 Aug 96 02:36 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA22078; Mon, 5 Aug 1996 04:34:22 -0500
Received: from i-way.co.uk (hoima.i-way.co.uk [194.129.192.6]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA22005 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 04:30:27 -0500
Received: from fred.i-way.co.uk by i-way.co.uk via SMTP (951211.SGI.8.6.12.PATCH1042/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id KAA06092; Mon, 5 Aug 1996 10:27:30 -0100
Message-Id: <199608051127.KAA06092@i-way.co.uk>
Date: Mon, 5 Aug 1996 10:27:30 -0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: neville@i-way.co.uk (neville stott)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: HELP RE: INSTALATION ON IRIX
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: neville@i-way.co.uk
X-Mailer: Windows Eudora Version 1.4.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

hello david

 sorry that is all I know I am still on a learning curve with all this 

regards neville

>Hello again!
>
>>  I had the same problem with irix 5.3 and bill edmunds helped me out with
>>  this.
>> 
>> ftp://ftp.ex.ac.uk/pub/unix/SGI_wuftpd-2.4.tar.gz
>> 
>>  it compiled fine first time.
>
>Thank you... :)  It seems to have gone alot better but there are still 
>some errors displayed.  I guess this is cause I am using IRIX 6.2...  let 
>me know if you have any other tips on how to solve the problems below.  
>Much appreciated!
>
>Best regards,
>
>David M
>
>---
>hectic 86# ./build sgi 
>make args are : 
>make opts are : 
>
>Linking Makefiles.
>makefiles/Makefile.sgi and Makefile are identical
>config/config.sgi and config.h are identical
>makefiles/Makefile.sgi and Makefile are identical
>
>Making support library.
>        cc -O -cckr -DDEBUG   -c getusershell.c
>        cc -O -cckr -DDEBUG   -c fnmatch.c
>        cc -O -cckr -DDEBUG   -c strcasestr.c
>        cc -O -cckr -DDEBUG   -c strsep.c
>        cc -O -cckr -DDEBUG   -c authuser.c
>        rm -f libsupport.a
>        ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strsep.o 
>authuser.o
>        touch libsupport.a
>
>Making ftpd.
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c ftpd.c
>        yacc  ftpcmd.y
>        mv -f y.tab.c ftpcmd.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c ftpcmd.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c glob.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c logwtmp.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c popen.c
>        sh newvers.sh
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c vers.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c access.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c extensions.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c realpath.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c acl.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c private.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c authenticate.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c conversions.c
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -c hostacc.c
>don't know how to make /usr/lib/libc_s.a (bu42).
>
>Making ftpcount.
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -o ftpcount 
>ftpcount.c vers.o -lsupport
>ld: WARNING 84: ../support/libsupport.a is not used for resolving any symbol.
>
>Making ftpshut.
>        cc -O -cckr -DDEBUG -I.. -I../support -L../support -o ftpshut 
>ftpshut.c vers.o -lsupport
>ld: WARNING 84: ../support/libsupport.a is not used for resolving any symbol.
>
>Making ckconfig.
>`ckconfig' is up to date.
>
>Links to executables are in bin directory:
>size: bin/ftpd: cannot open
>bin/ftpcount: 
>
>        Section              Size        Physical        Virtual
>                                         Address         Address
>
>             .interp          19         4194612         4194612        
>       .MIPS.options          96         4194632         4194632        
>            .reginfo          24         4194728         4194728        
>            .dynamic         248         4194752         4194752        
>            .liblist          20         4195000         4195000        
>             .dynstr         576         4195020         4195020        
>               .hash         808         4195596         4195596        
>             .dynsym        1152         4196404         4196404        
>        .MIPS.symlib          72         4197556         4197556        
>               .msym         576         4197628         4197628        
>         .MIPS.stubs         516         4198204         4198204        
>               .text        3648         4198720         4198720        
>               .init          32         4202368         4202368        
>             .rodata         496        268443648       268443648       
>               .data          80        268444144       268444144       
>                .got         212        268444224       268444224       
>                .bss          16        268444436       268444436       
>7787 + 788 + 16 = 8591
>bin/ftpshut: 
>
>        Section              Size        Physical        Virtual
>                                         Address         Address
>
>             .interp          19         4194612         4194612        
>       .MIPS.options          96         4194632         4194632        
>            .reginfo          24         4194728         4194728        
>            .dynamic         248         4194752         4194752        
>            .liblist          20         4195000         4195000        
>             .dynstr         459         4195020         4195020        
>               .hash         488         4195480         4195480        
>             .dynsym         896         4195968         4195968        
>        .MIPS.symlib          56         4196864         4196864        
>               .msym         448         4196920         4196920        
>         .MIPS.stubs         292         4197368         4197368        
>               .text        2480         4197664         4197664        
>               .init          32         4200144         4200144        
>             .rodata         896        268443648       268443648       
>               .data          64        268444544       268444544       
>                .got         148        268444608       268444608       
>                .bss          12        268444756       268444756       
>5558 + 1108 + 12 = 6678
>bin/ftpwho: 
>
>        Section              Size        Physical        Virtual
>                                         Address         Address
>
>             .interp          19         4194612         4194612        
>       .MIPS.options          96         4194632         4194632        
>            .reginfo          24         4194728         4194728        
>            .dynamic         248         4194752         4194752        
>            .liblist          20         4195000         4195000        
>             .dynstr         576         4195020         4195020        
>               .hash         808         4195596         4195596        
>             .dynsym        1152         4196404         4196404        
>        .MIPS.symlib          72         4197556         4197556        
>               .msym         576         4197628         4197628        
>         .MIPS.stubs         516         4198204         4198204        
>               .text        3648         4198720         4198720        
>               .init          32         4202368         4202368        
>             .rodata         496        268443648       268443648       
>               .data          80        268444144       268444144       
>                .got         212        268444224       268444224       
>                .bss          16        268444436       268444436       
>7787 + 788 + 16 = 8591
>bin/ckconfig: 
>
>        Section              Size        Physical        Virtual
>                                         Address         Address
>
>             .interp          19         4194592         4194592        
>            .reginfo          24         4194624         4194624        
>            .dynamic         176         4194688         4194688        
>            .liblist          32         4194864         4194864        
>             .dynstr         336         4194896         4194896        
>             .dynsym         624         4195232         4195232        
>               .hash         432         4195856         4195856        
>               .text        1664         4196288         4196288        
>               .init          32         4197952         4197952        
>             .rodata        1328        268435456       268435456       
>                .got          96        268436784       268436784       
>                .bss          16        268436880       268436880       
>4667 + 96 + 16 = 4779
>Done
>
>

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 04:57: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 m0unOHZ-0006asC; Mon, 5 Aug 96 04:57 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA25032; Mon, 5 Aug 1996 06:55:08 -0500
Received: from i-way.co.uk (hoima.i-way.co.uk [194.129.192.6]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA24839 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 06:48:32 -0500
Received: from fred.i-way.co.uk by i-way.co.uk via SMTP (951211.SGI.8.6.12.PATCH1042/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id MAA10146; Mon, 5 Aug 1996 12:45:39 -0100
Message-Id: <199608051345.MAA10146@i-way.co.uk>
Date: Mon, 5 Aug 1996 12:45:39 -0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: neville@i-way.co.uk (neville stott)
To: wu-ftpd@wugate.wustl.edu
Subject: Re my mistake
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: neville@i-way.co.uk
X-Mailer: Windows Eudora Version 1.4.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I sent this earlier I have managed to fix it hurrah I did not have execute
permissions for the program set at all you may realise I am still a novice
thank you for your patience.

>hello there



> I have got the source for irix 5.3 and successfully compiled it thanks to
> those guys  for the source. However if I killall -HUP inetd and try to ftp
> in I get a ftp: connect: connection refused message I have not change any
>of the access files from standard. If I use the std ftpd which came with
>the OS it works fine. Any pointers would be greatly appreciated.

>  class all real,guest,anonymous *

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 09:28: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 m0unSVx-000F7FC; Mon, 5 Aug 96 09:28 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA05447; Mon, 5 Aug 1996 11:25:42 -0500
Received: from eclectic.kluge.net (eclectic.kluge.net [204.120.68.143]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA05206 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 11:21:03 -0500
Received: from localhost (felicity@localhost) by eclectic.kluge.net (8.7.5/kluge0.2) with SMTP id MAA00640 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 12:15:12 -0400
Message-Id: <Pine.LNX.3.95.960805121313.492D-100000@eclectic.kluge.net>
Date: Mon, 5 Aug 1996 12:15:12 -0400 (EDT)
Reply-To: Theo Van Dinter <felicity@kluge.net>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Theo Van Dinter <felicity@kluge.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd
In-Reply-To: <Pine.LNX.3.94.960805183715.164A-100000@elastic>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 5 Aug 1996, cactoid wrote:

> Greetings..

Howdy! 8)

> I am new to this list, and I'm sure this question has been asked many
> times before.. I am running a Linux 2.0.0 based box trying to get wuftpd
> beta 11 (anything passed 2.4.2-fixed for that matter).
> 
> I run build lnx (or whatever the syntax was) and all is hunky dory until I
> get to glob.c/glob.o part of the compilation.. from then on it all dies
> with vers.o file missing errors..

I found this on either the mailing list or the FAQ or something...  (I had
the same problem...):

:  * > Line241->>   if (fstat(dirp->dd_fd, &stb) < 0)
:  * 
:  * should be ...  
:  *                if (fstat(dirfd(dirp), &stb) < 0)
-DDIRENT_ILLEGAL_ACCESS in the CFLAGS would of done just fine too...
or
#define HAVE_ILLGEAL_DIRENT # line #49 of glob.c


Good luck!  (This takes care fof the vers.o errors too...)

--
-----------------------------------------------------------------------------
Theo Van Dinter				   Vice-President WPI Lens and Lights
Systems Engineering - Web Development	     Active Member in SocComm and ACM
Cabletron Systems, Inc.			 www: http://www.kluge.net/~felicity/

             I have a watch cat!  Just break in and she'll watch.
-----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 10:00: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 m0unT10-000D45C; Mon, 5 Aug 96 10:00 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA07345; Mon, 5 Aug 1996 11:57:51 -0500
Received: from eclectic.kluge.net (eclectic.kluge.net [204.120.68.143]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA06529 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 11:46:12 -0500
Received: from localhost (felicity@localhost) by eclectic.kluge.net (8.7.5/kluge0.2) with SMTP id MAA00853 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 12:40:26 -0400
Message-Id: <Pine.LNX.3.95.960805123548.809A-100000@eclectic.kluge.net>
Date: Mon, 5 Aug 1996 12:40:26 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Theo Van Dinter <felicity@kluge.net>
To: wu-ftpd@wugate.wustl.edu
Subject: xferlog problem
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I know this has probably been asked many times, but I couldn't find it in
the FAQ...

I'm running Linux 2.0.10, and I just compiled wu-ftp beta 11 (2.4.2), and
now no information is stored in xferlog (in fact, it's not even being
created...)  I checked and the path for xferlog that's compiled in is
"/var/log/xferlog"...  /var/log exists, and as the ftp daemon is obviously
running as root, it should be able to create the file...

In my ftpaccess file I have:

log transfers anonymous,real inbound,outbound



...  any ideas as to how I can kick this thing into working?  I assume
it's something simple, but I can't find it...

Thanks!

--
-----------------------------------------------------------------------------
Theo Van Dinter				   Vice-President WPI Lens and Lights
Systems Engineering - Web Development	     Active Member in SocComm and ACM
Cabletron Systems, Inc.			 www: http://www.kluge.net/~felicity/

                A smart sysop backs up to a RAM disk every day.
-----------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 10:25: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 m0unTP9-000DLEC; Mon, 5 Aug 96 10:25 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA08682; Mon, 5 Aug 1996 12:21:40 -0500
Received: from light.lightlink.com (light.lightlink.com [205.232.34.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA07821 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 12:04:49 -0500
Received: from localhost (homer@localhost) by light.lightlink.com (8.6.12/8.6.12) with SMTP id NAA19814 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 13:04:02 -0400
Message-Id: <Pine.SUN.3.95.960805130328.19725A-100000@light.lightlink.com>
Date: Mon, 5 Aug 1996 13:04:02 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog problem
In-Reply-To: <Pine.LNX.3.95.960805123548.809A-100000@eclectic.kluge.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


   /var/adm?


------------------------------------------------------------------------------
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

On Mon, 5 Aug 1996, Theo Van Dinter wrote:

> I know this has probably been asked many times, but I couldn't find it in
> the FAQ...
> 
> I'm running Linux 2.0.10, and I just compiled wu-ftp beta 11 (2.4.2), and
> now no information is stored in xferlog (in fact, it's not even being
> created...)  I checked and the path for xferlog that's compiled in is
> "/var/log/xferlog"...  /var/log exists, and as the ftp daemon is obviously
> running as root, it should be able to create the file...
> 
> In my ftpaccess file I have:
> 
> log transfers anonymous,real inbound,outbound
> 
> 
> 
> ...  any ideas as to how I can kick this thing into working?  I assume
> it's something simple, but I can't find it...
> 
> Thanks!
> 
> --
> -----------------------------------------------------------------------------
> Theo Van Dinter				   Vice-President WPI Lens and Lights
> Systems Engineering - Web Development	     Active Member in SocComm and ACM
> Cabletron Systems, Inc.			 www: http://www.kluge.net/~felicity/
> 
>                 A smart sysop backs up to a RAM disk every day.
> -----------------------------------------------------------------------------
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 11:36: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 m0unUVj-000DLEC; Mon, 5 Aug 96 11:36 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA12987; Mon, 5 Aug 1996 13:33:51 -0500
Received: from csu-e.csuohio.edu (csu-e.csuohio.edu [137.148.5.27]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA12858 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 13:31:39 -0500
Received: from athena.csuohio.edu (athena.csuohio.edu [137.148.5.13]) by csu-e.csuohio.edu (8.6.12/8.6.12) with SMTP id OAA08001 for <wu-ftpd@mail.wustl.edu>; Mon, 5 Aug 1996 14:33:20 -0400
Message-Id: <199608051833.OAA08001@csu-e.csuohio.edu>
Date: Mon, 05 Aug 1996 14:30:57 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Matthew B. Thomson" <m.thomson@csuohio.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: How to chroot for non anon user?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: m.thomson@popmail.csuohio.edu
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I want our non-anonymous users to get their home directory as root when ftping.
Example, I ftp to the machine, and instead of getting /user/home/matthew, I
get /, which is /user/home/matthew.  I don't want them to be able to cd ..
inside ftp, but still be allowed from a telnet.  Is this possible?  

I'm using wu-ftpd 2.4 on Solaris 2.4

Thanks,
Matt

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 11:49: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 m0unUic-000CnaC; Mon, 5 Aug 96 11:49 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA13708; Mon, 5 Aug 1996 13:47:00 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA13216 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 13:38:40 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.5/8.7.3) with SMTP id NAA21590 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 13:37:58 -0500
Message-Id: <Pine.LNX.3.94.960805133720.20204L-100000@ns1.fni.com>
Date: Mon, 5 Aug 1996 13:37:58 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: How to chroot for non anon user?
In-Reply-To: <199608051833.OAA08001@csu-e.csuohio.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 5 Aug 1996, Matthew B. Thomson wrote:

> I want our non-anonymous users to get their home directory as root when ftping.
> Example, I ftp to the machine, and instead of getting /user/home/matthew, I
> get /, which is /user/home/matthew.  I don't want them to be able to cd ..
> inside ftp, but still be allowed from a telnet.  Is this possible?  

Get the guest ftp howto below and have at it.

   -- Michael


This is the location for the latest wu-ftpd.  You can't see the
directory contents, but get the file anyway.  It's there.

ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-11.tar.Z

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

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 12:08: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 m0unV0g-0000EjC; Mon, 5 Aug 96 12:08 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA14728; Mon, 5 Aug 1996 14:06:08 -0500
Received: from eclectic.kluge.net (eclectic.kluge.net [204.120.68.143]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA14394 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 14:00:03 -0500
Received: from localhost (felicity@localhost) by eclectic.kluge.net (8.7.5/kluge0.2) with SMTP id OAA01556 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 14:54:12 -0400
Message-Id: <Pine.LNX.3.95.960805145257.1530A-100000@eclectic.kluge.net>
Date: Mon, 5 Aug 1996 14:54:12 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Theo Van Dinter <felicity@kluge.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog problem
In-Reply-To: <Pine.SUN.3.95.960805130328.19725A-100000@light.lightlink.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 5 Aug 1996, Homer W. Smith wrote:

>    /var/adm?

exists too...  I also (for a joke) created /local/logs which is also
referenced from the source to no avail...  I finally just did a 'strings
wu.ftpd | grep xferlog' and got the /var/log/xferlog path...

thanks for the response. 8)

--
-----------------------------------------------------------------------------
Theo Van Dinter				   Vice-President WPI Lens and Lights
Systems Engineering - Web Development	     Active Member in SocComm and ACM
Cabletron Systems, Inc.			 www: http://www.kluge.net/~felicity/

           I am Beldar of Borg. We will assimilate mass quantities.
-----------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 14:47:45 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 m0unXV2-0005cCC; Mon, 5 Aug 96 14:47 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0unX87-0000AyC; Mon, 5 Aug 96 14:24 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA23097; Mon, 5 Aug 1996 16:19:42 -0500
Received: from ncar.UCAR.EDU (ncar.ucar.edu [192.52.106.6]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA21800 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 15:55:44 -0500
Received: from tijeras.scd.ucar.EDU by ncar.ucar.EDU (NCAR Local/ NCAR Central Post Office 03/11/93)
	id OAA25165; Mon, 5 Aug 1996 14:43:16 -0600 (MDT)
Received: from thunder.ofps.ucar.EDU by tijeras.scd.ucar.EDU (NCAR Local/ NCAR Mail Server 04/10/90)
	id NAA06461; Mon, 5 Aug 1996 13:39:54 -0600 (MDT)
Received: from thunder by thunder.ofps.ucar.EDU (NCAR-local/ NCAR Mail Server 04/10/90)
	id NAA12576; Mon, 5 Aug 1996 13:39:53 -0600
Message-Id: <199608051939.NAA12576@thunder.ofps.ucar.EDU>
Date: Mon, 05 Aug 1996 13:39:52 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Bradford <mark@ofps.ucar.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog problem 
In-Reply-To: Your message of "Mon, 05 Aug 1996 14:54:12 EDT."
             <Pine.LNX.3.95.960805145257.1530A-100000@eclectic.kluge.net> 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Theo Van Dinter is having xferlog problems.

Theo, did you add -a to your ftpd line in /etc/inetd.conf?  This is
something that bites many people (myself included) when they go to a
later-model wu-ftpd, as it is not mentioned except in the man page.

-- Mark Bradford, Systems Administrator <> mark@ucar.edu
   UCAR Office of Field Project Support <> (303) 497-8169

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 15:35: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 m0unYEs-0006muC; Mon, 5 Aug 96 15:35 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA27678; Mon, 5 Aug 1996 17:30:59 -0500
Received: from alpha.cyberplex.com ([207.81.40.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA27397 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 17:25:50 -0500
Received: by alpha.cyberplex.com; (5.65/1.1.8.2/07Feb96-0624PM)
	id AA30975; Mon, 5 Aug 1996 18:22:57 -0400
Message-Id: <9608052222.AA30975@alpha.cyberplex.com>
Date: Mon, 5 Aug 1996 18:22:57 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Rodrigues <craig@cyberplex.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Digital Unix (OSF/1) Enhanced C2 Security and wu-ftpd?
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

Hello,

Has anyone gotten wu-ftpd to work with Digital Unix (OSF/1) Enhanced C2
Security?
Also, is it possible to change the default umask for an ftp user with
wu-ftpd?
Thanks.
-- 
Craig Rodrigues                     CyberPlex Interactive Media
Application Programmer              24 Duncan St., Suite 300
                                    Toronto, Ontario, CANADA, M5V 2B8
craig@cyberplex.com                 (416) 597-8889(voice) (416)597-2345(fax)

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 15:41: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 m0unYLF-000FJ8C; Mon, 5 Aug 96 15:41 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA27970; Mon, 5 Aug 1996 17:37:32 -0500
Received: from horse.avnet.com (horse.avnet.com [204.163.162.61]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA27464 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 17:26:50 -0500
Received: from dev (dev.avnet.com) by horse.avnet.com with SMTP
	(1.39.111.2/16.2) id AA082354072; Mon, 5 Aug 1996 15:27:52 -0700
Message-Id: <320674FD.65A@horse.avnet.com>
Date: Mon, 05 Aug 1996 15:26:05 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ian Schlueter <ian@horse.avnet.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>,
        "hpux-admin@cv.ruu.nl" <hpux-admin@cv.ruu.nl>
Subject: wu-ftpd (BETA 11) On HPUX 10.x >>TRUSTED<< System -- Oh please help me!
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: ian@horse.avnet.com
X-Mailer: Mozilla 3.0b6 (X11; I; HP-UX B.10.01 9000/821)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am nearing the end of my rope.
	I am absolutely unable to make wu-ftpd work properly on an HPUX
"Trusted" system. I have been able to make the anonymous part of the
server work fine. But I have as of yet been completely unable to solve
the problem of real or guest users having access to the system. Can
someone help me please?



	Ian Schlueter
	ian@netwrx.net, ian@horse.avnet.com

From owner-wu-ftpd@wugate.wustl.edu Mon Aug  5 18:37: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 m0unb5G-0004UwC; Mon, 5 Aug 96 18:37 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA06609; Mon, 5 Aug 1996 20:35:17 -0500
Received: from eclectic.kluge.net (eclectic.kluge.net [204.120.68.143]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA06183 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 20:25:44 -0500
Received: from dilbert.kluge.net (felicity@dilbert.kluge.net [204.120.68.144]) by eclectic.kluge.net (8.7.5/kluge0.2) with ESMTP id VAA03457 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 21:19:57 -0400
Received: from localhost (felicity@localhost) by dilbert.kluge.net (8.7.5/kluge0.2) with SMTP id VAA11957 for <wu-ftpd@wugate.wustl.edu>; Mon, 5 Aug 1996 21:24:56 -0400
Message-Id: <Pine.LNX.3.95.960805212400.11719A-100000@dilbert.kluge.net>
Date: Mon, 5 Aug 1996 21:24:56 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Theo Van Dinter <felicity@kluge.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog problem 
In-Reply-To: <199608051939.NAA12576@thunder.ofps.ucar.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: dilbert.kluge.net: felicity owned process doing -bs
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 5 Aug 1996, Mark Bradford wrote:

> Theo, did you add -a to your ftpd line in /etc/inetd.conf?  This is
> something that bites many people (myself included) when they go to a
> later-model wu-ftpd, as it is not mentioned except in the man page.

I saw that in the man page, but I figured that the daemon would see the
file and use it since it existed...  I added the "-a" though, and it works
beautifully now... That should be added into the FAQ!

Thanks for the help!

--
-----------------------------------------------------------------------------
Theo Van Dinter				   Vice-President WPI Lens and Lights
Systems Engineering - Web Development	     Active Member in SocComm and ACM
Cabletron Systems, Inc.			 www: http://www.kluge.net/~felicity/

               Electrical Engineers do it with faster rise time.
-----------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:18: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 m0unnu8-000DIGC; Tue, 6 Aug 96 08:18 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA09256; Tue, 6 Aug 1996 10:16:16 -0500
Received: from mintaka.iern.disa.mil (mintaka.iern.disa.mil [128.19.0.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA08509 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 09:59:53 -0500
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id KAA13450; Tue, 6 Aug 1996 10:58:02 -0400 (EDT)
Message-Id: <Pine.SUN.3.91.960806105638.13426B-100000@mintaka.iern.disa.mil>
Date: Tue, 6 Aug 1996 10:58:02 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: "Christopher, Keith" <CHRISTK@hq4.phh.com>
Cc: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: upload restrictions
In-Reply-To: <32077C7D@smtp.phh>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: gamma@mintaka.iern.disa.mil
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Christopher,

I believe the path-filter option will do what you want.  Check the 
ftpaccess man page for details.

Jim


On Tue, 6 Aug 1996, Christopher, Keith wrote:

> 
> Is there a way to tell wuftpd to refuse uploads with certain file names ?   
> 
> for example if someone is using an incoming site as a www site by   
> uploading html documents to the site. Can wuftpd be told to refuse to   
> allow uploads of
> *.ht*
> 
> 
> 
> Keith  
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:26:40 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 m0uno1n-0005dbC; Tue, 6 Aug 96 08:26 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0unnA6-0004jwC; Tue, 6 Aug 96 07:31 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA07223; Tue, 6 Aug 1996 09:28:58 -0500
Received: from gauntlet.phh.com (gauntlet.phh.com [198.175.50.248]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA06452 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 09:11:09 -0500
Received: by gauntlet.phh.com; id GAA24418; Tue, 6 Aug 1996 06:13:37 -0400
Received: from vmasmtp.phh.com(9.0.21.147) by gauntlet.phh.com via smap (V3.1)
	id xma024400; Tue, 6 Aug 96 06:13:16 -0400
Received: by smtp.phh with Microsoft Mail
	id <32077C7D@smtp.phh>; Tue, 06 Aug 96 10:10:21 PDT
Message-Id: <32077C7D@smtp.phh>
Date: Tue, 06 Aug 96 10:08:00 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher, Keith" <CHRISTK@hq4.phh.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: upload restrictions
X-Mailer: Microsoft Mail V3.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Is there a way to tell wuftpd to refuse uploads with certain file names ?   

for example if someone is using an incoming site as a www site by   
uploading html documents to the site. Can wuftpd be told to refuse to   
allow uploads of
*.ht*



Keith  

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:28:29 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 m0uno3W-000DN3C; Tue, 6 Aug 96 08:28 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0unnmJ-0004hlC; Tue, 6 Aug 96 08:10 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA08862; Tue, 6 Aug 1996 10:07:29 -0500
Received: from summit.bor.ohio.gov (summit.bor.ohio.gov [156.63.16.15]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA07486 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 09:36:07 -0500
Received: by summit.bor.ohio.gov (8.6.13/5.901231)
	id KAA06052; Tue, 6 Aug 1996 10:35:23 -0400
Message-Id: <199608061435.KAA06052@summit.bor.ohio.gov>
Date: Tue, 6 Aug 1996 10:35:23 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob DeBula <bobd@summit.bor.ohio.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Digital Unix (OSF/1) Enhanced C2 Security and wu-ftpd?
In-Reply-To: <9608052222.AA30975@alpha.cyberplex.com> from "Craig Rodrigues" at Aug 5, 96 06:22:57 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Has anyone gotten wu-ftpd to work with Digital Unix (OSF/1) Enhanced C2
> Security?

I installed Beta 11 on my Alpha running Digital Unix 3.2D with enhanced 
security and experienced problems until I did as outlined below:
 
---------------------------------------------------------------------
Do you have enhanced security installed and activated? If so,
you need to copy the entire contents of "/etc/sia" to your ftp
hierachy under the "etc" directory. As an example:
 
        # cd /etc
        # tar -cvf - sia | (cd ~ftp/etc;tar -xpf -)
 
I do know that wu-ftpd (password verification) didn't work correctly
for me until I copied the "sia" directory hierarchy over to the ftp etc
directory.

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

With Beta 11 and the entire "sia" directory under the FTP hierarchy,
everything seems to be working fine at the moment.

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:33:17 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 m0uno8C-0005n5C; Tue, 6 Aug 96 08:33 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0unilN-0004ghC; Tue, 6 Aug 96 02:49 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA23117; Tue, 6 Aug 1996 04:43:02 -0500
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id EAA22625 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 04:24:04 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id LAA16982 for wu-ftpd@wugate.wustl.edu; Tue, 6 Aug 1996 11:23:56 +0200 (MET DST)
Message-Id: <199608060923.LAA16982@pizza.hvu.nl>
Date: Tue, 6 Aug 1996 11:23:55 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Ftpconversion usage?
In-Reply-To: <9608060901.AA12676@agate.iucr.ac.uk> from "David Holden" at Aug 6, 96 10:01:14 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting David Holden, who wrote :

>   When I say get file.gz its seems to do the right thing and 
>   decompress before sending it but how do you get tar files
>   and can you put tar files that will be detarred what is the
>   syntax for these command within the ftp session, thanks in
>   advance for any help.

If there's a subdir named 'subdir' which you want to get in total, you
type in the ftp client :

get subdir.tar

or

get subdir.tar.gz

And the ftp-server will see the request and convert it.

                                                     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)     KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:33:52 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 m0uno8k-0004iiC; Tue, 6 Aug 96 08:33 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uniP7-0004gRC; Tue, 6 Aug 96 02:26 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA22522; Tue, 6 Aug 1996 04:19:30 -0500
Received: from agate.iucr.ac.uk (agate.iucr.ac.uk [192.70.242.60]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA22259 for <wu-ftpd@mail.wustl.edu>; Tue, 6 Aug 1996 04:05:46 -0500
Received: by agate.iucr.ac.uk (5.x/SMI-SVR4-BM)
	id AA12676; Tue, 6 Aug 1996 10:01:15 +0100
Message-Id: <9608060901.AA12676@agate.iucr.ac.uk>
Date: Tue, 6 Aug 1996 10:01:14 +0100 (BST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Holden <dh@iucr.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Ftpconversion usage?
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


  Hi, I have just set of the Version wu-2.4.2-academ[BETA-11](1)
  of the wu-ftpd and it is working fine, but I'm not sure how
  to use the ftp conversion facilities, the man page / and faq
  says how to configure the ftpconverion file but not its usage.

  When I say get file.gz its seems to do the right thing and 
  decompress before sending it but how do you get tar files
  and can you put tar files that will be detarred what is the
  syntax for these command within the ftp session, thanks in
  advance for any help.
 
    Yours Gratefully,
                        Dave.

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:34:11 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 m0uno94-000DJwC; Tue, 6 Aug 96 08:34 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0unisa-0004guC; Tue, 6 Aug 96 02:56 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA23305; Tue, 6 Aug 1996 04:50:29 -0500
Received: from ag.gov (ag.gov [162.79.3.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA22953 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 04:36:49 -0500
Received: from nass.usda.gov ([199.129.206.11]) by ag.gov (4.1/SMI-4.1)
	id AA18046; Tue, 6 Aug 96 03:36:38 MDT
Received: from ccMail by nass.usda.gov (SMTPLINK V2.11 PreRelease 4)
	id AA839334631; Mon, 05 Aug 96 19:02:29 EST
Message-Id: <9607068393.AA839334631@nass.usda.gov>
Date: Mon, 05 Aug 96 19:02:29 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: JIM_BURT_at_nass-fx@nass.usda.gov
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with newer version of wu.ftp on SunOS 4.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     I have easily run wu.ftp on Linux for some months.
     I wanted to run wu.ftp on SunOS 4.1.2.
     After many attempts, following the installation instructions for 
     version 2.4 with ftpaccess, I tried an old 1992 version (version 6.27 
     it said), changing only the "ftpd" daemon.  This version works 
     wonderfully, but I prefer running the newer version.
     
     Version 2.4 compiles without errors, but no one (including anonymous 
     users) can login.  Here is a typical session
     
        ftp ohio
        Connected to ohio.
        220
        Name (ohio:burtji): anonymous
        Aug 5 18:35:44 ohio ftpd[17878]: exiting on signal 11
        421 Service not available, remote server has closed connection
        Login failed.
     
     Has anyone a possible solution?
     
     
     --Jim Burt, USDA

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:44: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 m0unoJ7-0006lxC; Tue, 6 Aug 96 08:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA11705; Tue, 6 Aug 1996 10:42:24 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA08868 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 10:07:37 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.5/8.7.3) with SMTP id KAA01623 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 10:06:53 -0500
Message-Id: <Pine.LNX.3.94.960806094544.951E-100000@ns1.fni.com>
Date: Tue, 6 Aug 1996 10:06:53 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: upload restrictions
In-Reply-To: <32077C7D@smtp.phh>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 6 Aug 1996, Christopher, Keith wrote:

> Is there a way to tell wuftpd to refuse uploads with certain file names ?   
> 
> for example if someone is using an incoming site as a www site by   
> uploading html documents to the site. Can wuftpd be told to refuse to   
> allow uploads of
> *.ht*

These are Unix expressions; the set below will filter all files that begin
with . and - characters. 

from ftpaccess:

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


man ftpaccess:

path-filter <typelist> <mesg> <allowed_charset>
            {<disallowed reg- exp> ...}
            For users in <typelist>, path-filter defines  regular
            expressions  that  control what a filename can or can
            not be.  There may be  multiple  disallowed  regexps.
            If  a filename is invalid due to failure to match the
            regexp criteria, <mesg>  will  be  displayed  to  the
            user.  For example:

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

            specifies that all  upload  filenames  for  anonymous
            users  must  be made of only the characters A-Z, a-z,
            0-9, and "._-" and may not begin with a "." or a "-".
            If the filename is invalid, /etc/pathmsg will be dis-
            played to the user.


   -- Michael

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 08:51: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 m0unoPQ-0004HzC; Tue, 6 Aug 96 08:51 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA12341; Tue, 6 Aug 1996 10:49:04 -0500
Received: from cagw1.att.com ([192.128.52.89]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA09640 for <wu-ftpd@mail.wustl.edu>; Tue, 6 Aug 1996 10:22:46 -0500
Received: from attrh1.attrh.att.com by caig1.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id LAA24456; Tue, 6 Aug 1996 11:19:31 -0400
Received: from lynxhub.ho.att.com by attrh1.attrh.att.com (8.7.3/EMS-1.1 SunOS)
	id LAA05112 for <wu-ftpd@mail.wustl.edu>; Tue, 6 Aug 1996 11:23:18 -0400 (EDT)
Received: from ROGERH ([135.16.115.182]) by lynxhub.ho.att.com (5.x/SMI-SVR4)
	id AA17542; Tue, 6 Aug 1996 11:19:56 -0400
Received: by ROGERH with Microsoft Mail
	id <01BB8388.CFF0B430@ROGERH>; Tue, 6 Aug 1996 11:17:11 -0400
Message-Id: <01BB8388.CFF0B430@ROGERH>
Date: Tue, 6 Aug 1996 09:51:43 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Roger A. Hanke" <rah@lynxhub.ho.att.com>
To: "'WUFTPD List'" <wu-ftpd@wugate.wustl.edu>
Cc: "'John Colon'" <jcolon@lynxhub.ho.att.com>,
        "'Cynthia Wright'"
	 <cwright@lynxhub.ho.att.com>
Subject: some way to encrypt passwords
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear List,
 Have customers requesting that we somehow encrypt their FTP passwords
so that they can not be sniffed off of the network if someone gained physical
access.
 Since we are currently using SSL with our HTTP servers the first suggestion
was to use FTP over SSL as well. Does anyone know of any work with the
WUFTPD to allow it to run on top of a SSL session? Or has there been any
other work in this area for other approaches to protecting the real or guest
account passwords from going in the clear across the network?

 Any info would be appreciated. Thanx,
	Roger Hanke

-------------------------------------------------------------------
 Roger A. Hanke         AT&T Easy World Wide Web Service
 (908)949-4091          rah@lynxhub.ho.att.com or
 FAX (908)949-7171              roger.hanke@att.com
 HO 6C-111              http://lynxhub.ho.att.com/~rah/	
-------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 09:34: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 m0unp5V-000DO9C; Tue, 6 Aug 96 09:34 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA14709; Tue, 6 Aug 1996 11:32:12 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA12659 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 10:54:58 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.5/8.7.3) with SMTP id KAA01882; Tue, 6 Aug 1996 10:54:12 -0500
Message-Id: <Pine.LNX.3.94.960806105227.951J-100000@ns1.fni.com>
Date: Tue, 6 Aug 1996 10:54:12 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: "Roger A. Hanke" <rah@lynxhub.ho.att.com>
Cc: "'WUFTPD List'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: some way to encrypt passwords
In-Reply-To: <01BB8388.CFF0B430@ROGERH>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 6 Aug 1996, Roger A. Hanke wrote:

>  Have customers requesting that we somehow encrypt their FTP passwords
> so that they can not be sniffed off of the network if someone gained physical
> access.

S/Key with the beta load below is about the best way around this that I
know of right now.  The S/Key mods are in the source, and the docs tell
you how to turn it on.  I've used it; it works.

   -- Michael


This is the location for the latest wu-ftpd.  You can't see the
directory contents, but get the file anyway.  It's there.

ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-11.tar.Z

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

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 10:21: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 m0unpop-000DOCC; Tue, 6 Aug 96 10:21 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA18622; Tue, 6 Aug 1996 12:19:08 -0500
Received: from horse.avnet.com (horse.avnet.com [204.163.162.61]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA17742 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 12:08:49 -0500
Received: from dev (dev.avnet.com) by horse.avnet.com with SMTP
	(1.39.111.2/16.2) id AA119501391; Tue, 6 Aug 1996 10:09:51 -0700
Message-Id: <32077BF4.1712@horse.avnet.com>
Date: Tue, 06 Aug 1996 10:08:04 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ian Schlueter <ian@horse.avnet.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: trusted hpux system
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: ian@horse.avnet.com
X-Mailer: Mozilla 3.0b6 (X11; I; HP-UX B.10.01 9000/821)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

It blows me away that there does not seem to be an easy, or even
extreamly difficult, solution to running wu-ftpd on a >trusted< hpux
10.x box. There has to be a way to make it work, a way to get it to
recognize both real,guest, and anonymous users. I have only been able to
make the anonymous part work up to this point.. Please Someone tell me
that it can at least be done. That there is a soloution for the "secure"
passwd files etc...


	HELP!!! PLEASE!!!	

			Ian Schlueter

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 11:01: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 m0unqRA-000D9SC; Tue, 6 Aug 96 11:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA21093; Tue, 6 Aug 1996 12:58:39 -0500
Received: from hahp9k.harte-lyne.ca (hahp9k.harte-lyne.ca [205.206.207.101]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA20888 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 12:54:10 -0500
Received: from hal-ham-g01-u01 ([205.206.207.103]) by hahp9k.harte-lyne.ca (8.7.5/8.7.5) with SMTP id NAA02401 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 13:56:10 -0400 (EDT)
Message-Id: <32078768.4759@harte-lyne.ca>
Date: Tue, 06 Aug 1996 13:56:56 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "James B. Byrne" <byrnejb@harte-lyne.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: trusted hpux system
References: <32077BF4.1712@horse.avnet.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5aGold (WinNT; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I don't hold out any great hope in your request.  The HPUX community has
been fairly discouraging in their comments on tusted systems under
10.01.  I recall that there were several notes in the conversion
documentation about the need to convert shadow passwd file calls at
source.  I suggest that you refer back to these.

Regards,
-- 
James B. Byrne			mailto:byrnejb@harte-lyne.ca
Harte & Lyne Limited		http://www.harte-lyne.ca
Hamilton, Ontario		905-561-1241

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 13:38: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 m0unst6-0002IkC; Tue, 6 Aug 96 13:38 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA28891; Tue, 6 Aug 1996 15:35:44 -0500
Received: from panix2.panix.com (panix2.panix.com [198.7.0.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA28520 for <wu-ftpd@mail.wustl.edu>; Tue, 6 Aug 1996 15:30:09 -0500
Received: (from hood@localhost) by panix2.panix.com (8.7.5/8.7/PanixU1.3) id QAA12653 for wu-ftpd@mail.wustl.edu.; Tue, 6 Aug 1996 16:29:33 -0400 (EDT)
Message-Id: <199608062029.QAA12653@panix2.panix.com>
Date: Tue, 6 Aug 1996 16:29:33 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Philip Hood <hood@panix.com>
To: wu-ftpd@wugate.wustl.edu
Subject: help w/ linux 'ls' & wu-ftpd
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Nothing I seem to do allows me to get
'ls'working on my anon site.

everything else works.

is there any way someone can send me
very explicit directions ??/
or even a tarred directory of what I need.

I've read everything out there & nothing
is as clear.

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 13:50: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 m0unt5M-000FO3C; Tue, 6 Aug 96 13:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA29474; Tue, 6 Aug 1996 15:48:27 -0500
Received: from ultraman.privnet.com (ultraman.privnet.com [206.100.254.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA29302 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 15:44:50 -0500
Received: from localhost (hoffmang@localhost) by ultraman.privnet.com (8.7.5/8.6.9) with SMTP id QAA11508; Tue, 6 Aug 1996 16:43:17 -0400
Message-Id: <Pine.LNX.3.95.960806164152.31810C-100000@ultraman.privnet.com>
Date: Tue, 6 Aug 1996 16:43:16 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gene Hoffman <hoffmang@privnet.com>
To: Philip Hood <hood@panix.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: help w/ linux 'ls' & wu-ftpd
In-Reply-To: <199608062029.QAA12653@panix2.panix.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I can help you out via email. 

Have you compiled a statically linked ls?

You can ftp it from my site
ftp://ftp.privnet.com/bin/ls

What Kernel, GCC, and Clibs are you using?

Gene_Hoffman@privnet.com        |                PrivNet V.P.
http://www.privnet.com/hoffmang |           http://www.privnet.com


On Tue, 6 Aug 1996, Philip Hood wrote:

> Nothing I seem to do allows me to get
> 'ls'working on my anon site.
> 
> everything else works.
> 
> is there any way someone can send me
> very explicit directions ??/
> or even a tarred directory of what I need.
> 
> I've read everything out there & nothing
> is as clear.
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 14:06: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 m0untK6-0004PJC; Tue, 6 Aug 96 14:05 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA00410; Tue, 6 Aug 1996 16:03:24 -0500
Received: from james.kalifornia.com ([204.178.60.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA29958 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 15:56:38 -0500
Received: from david.westworld.com (david.westworld.com [205.230.56.251]) by james.kalifornia.com (8.7.5/8.6.9) with SMTP id NAA00421 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 13:54:46 -0700
Message-Id: <199608062054.NAA00421@james.kalifornia.com>
Date: Tue, 6 Aug 1996 13:54:50 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "zero cool" <david@kalifornia.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: help w/ linux 'ls' & wu-ftpd
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Windows (v2.33)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Nothing I seem to do allows me to get
> 'ls'working on my anon site.
> everything else works.
> is there any way someone can send me
> very explicit directions ??/
> or even a tarred directory of what I need.
> I've read everything out there & nothing
> is as clear.

You're probably using the wrong copy of "ls"

anonymous users are chrooted to the ftp directory, so this ls needs to 
be independant of the libaries.

you can get the working "ls" from just about anyone's site (linux that 
is)  mine is available for example.

just login, anon is fine, and cd to bin and get the ls in there.

David
-----------------------------------------------------
Diplomacy is the art of saying "Nice Doggy" until
you can find a rock.

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 14:57: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 m0unu7S-0002KWC; Tue, 6 Aug 96 14:56 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA02891; Tue, 6 Aug 1996 16:54:21 -0500
Received: from ns1.carib-link.net (ns1.carib-link.net [196.3.135.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA02715 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 16:50:47 -0500
Received: (from lennard@localhost) by ns1.carib-link.net (8.6.12/8.6.9) id RAA02532 for wu-ftpd@wugate.wustl.edu; Tue, 6 Aug 1996 17:49:41 -0400
Message-Id: <199608062149.RAA02532@ns1.carib-link.net>
Date: Tue, 6 Aug 1996 17:49:41 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: lennard@ns1.carib-link.net
To: wu-ftpd@wugate.wustl.edu
Subject: Disallowing no-reverse DNS sites
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi,

I would like to find out how to disallow logins from sites which don't
have reverse DNS setup.

Thanks much

Lennard

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 15:14: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 m0unuOl-000DPgC; Tue, 6 Aug 96 15:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA04020; Tue, 6 Aug 1996 17:12:46 -0500
Received: from gw1.matthews.com (gw1.matthews.com [206.239.128.241]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA03606 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 17:06:16 -0500
Received: (from paul@localhost) by gw1.matthews.com (8.7.3/8.7.3/matthews) id SAA06759 for wu-ftpd@wugate.wustl.edu; Tue, 6 Aug 1996 18:08:05 -0400
Message-Id: <199608062208.SAA06759@gw1.matthews.com>
Date: Tue, 6 Aug 1996 18:08:04 -0400 (EDT)
Reply-To: paul@matthews.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Paul Matthews <paul@matthews.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
In-Reply-To: <199608062149.RAA02532@ns1.carib-link.net> from "lennard@ns1.carib-link.net" at Aug 6, 96 05:49:41 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Hi,
> 
> I would like to find out how to disallow logins from sites which don't
> have reverse DNS setup.
 
Lennard,

Recompile using PARANOID option.
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Aug  6 15:31: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 m0unuef-000FQFC; Tue, 6 Aug 96 15:31 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA04782; Tue, 6 Aug 1996 17:28:38 -0500
Received: from ns1.carib-link.net (ns1.carib-link.net [196.3.135.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA04601 for <wu-ftpd@wugate.wustl.edu>; Tue, 6 Aug 1996 17:25:17 -0500
Received: (from lennard@localhost) by ns1.carib-link.net (8.6.12/8.6.9) id SAA03256 for wu-ftpd@wugate.wustl.edu; Tue, 6 Aug 1996 18:25:43 -0400
Message-Id: <199608062225.SAA03256@ns1.carib-link.net>
Date: Tue, 6 Aug 1996 18:25:43 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: lennard@ns1.carib-link.net
To: wu-ftpd@wugate.wustl.edu
Subject: Hanging sockets/processes
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi, again I know this has been run thhru the mill already,
but how does one stop the proliferation of processes and sockets
haning around long after they have disconnected ?

Thanks

Lennard

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 00: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 m0uo2u0-000DPJC; Wed, 7 Aug 96 00:19 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA28256; Wed, 7 Aug 1996 02:17:01 -0500
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id CAA28038 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 02:04:23 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id JAA00227 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 09:04:24 +0200 (MET DST)
Message-Id: <199608070704.JAA00227@pizza.hvu.nl>
Date: Wed, 7 Aug 1996 09:04:24 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
In-Reply-To: <199608062149.RAA02532@ns1.carib-link.net> from "lennard@ns1.carib-link.net" at Aug 6, 96 05:49:41 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting lennard@ns1.carib-link.net, who wrote :

> I would like to find out how to disallow logins from sites which don't
> have reverse DNS setup.

>From the ftpaccess man page :

       deny <addrglob> <message_file>
            Always deny access to  host(s)  matching  <addrglob>.
            <message_file>   is  displayed.   <addrglob>  may  be
            "!nameserved" to deny access to sites without a work-
            ing nameserver.

                                            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)     KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 01:49: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 m0uo4JL-000FF3C; Wed, 7 Aug 96 01:49 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA29896; Wed, 7 Aug 1996 03:47:43 -0500
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.1.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id DAA29810 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 03:46:03 -0500
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.16.7]) by ecbull20.frec.bull.fr (8.7.5/8.7.3) with ESMTP id KAA33646 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 10:45:19 +0200
Received: (from diemer@localhost) by lozere.frec.bull.fr (8.7.5/8.7) id KAA124362 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 10:45:18 +0200
Message-Id: <199608070845.KAA124362@lozere.frec.bull.fr>
Date: Wed, 7 Aug 1996 10:45:18 +0200 (DFT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: P.Diemer@frec.bull.fr
To: wu-ftpd@wugate.wustl.edu
Subject: ls & dir command
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have wu-ftpd 2.4 running under AIX 4.1.4
The installation seems to be good, but the "ls' and "dir" commands
don't work . They return :

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
ls: total 0
226 Transfer complete.
ftp> ls
200 PORT command successful.
550 No files found.
ftp>

As it is mentionned in the FAQ I have executed the command:
           /usr/samples/tcpip/anon.ftp
Everything seems to be install:
                   # find . -print
                   .
                   ./bin
                   ./bin/ls
                   ./etc
                   ./etc/group
                   ./etc/passwd
                   ./pub
                   ./pub/incoming
                   ./pub/incoming/z001107.txt
                   ./lib
                   ./lib/libc.a
                   ./lib/libcurses.a
                   ./usr
                   ./usr/lpp
                   ./usr/lpp/msg
                   ./usr/lpp/msg/en_US
                   ./usr/lpp/msg/en_US/ls.cat
                   
The "chroot ~ftp /bin/ls " and "~ftp/bin/ls" work well

So what's wrong? Could someone help me ?

Thanks in advance
-- 

+----------------------------------------------+-----------------------------+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
|                                              |                             |
| Open Systems & Software                      | M/S     : FREC C1-059       |
| Open System Business Unit                    | ICN     : 229 7152          |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
| Software Packaging & Manufacturing Transfer  |                             | 
+----------------------------------------------+-----------------------------+

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:25:18 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 m0uoATy-0009D2C; Wed, 7 Aug 96 08:25 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uo7KQ-0004h8C; Wed, 7 Aug 96 05:03 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA00569; Wed, 7 Aug 1996 07:00:13 -0500
Received: from gate.nettec.co.uk ([194.143.185.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA00378 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 06:50:13 -0500
Received: from nettec-7.nettec.co.uk ([194.143.174.3]) by gate.nettec.co.uk (8.6.12/8.6.9) with SMTP id NAA15743 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 13:07:02 +0100
Message-Id: <SIMEON.9608071214.A@nettec-7.nettec.co.uk>
Date: Wed, 7 Aug 1996 12:47:14 +0100 ()
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Stratton <craig@nettec.co.uk>
To: wu-ftpd list <wu-ftpd@wugate.wustl.edu>
Subject: secure upload problems
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Mailer: Simeon for Win32 Version 4.0.7
X-Authentication: none
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi, I have BSDI 2.0.1 running beta-11 wu-ftpd.
I am trying to create a secure upload directory for a 
user with the following guidelines.

User1 can log on and access from ~ dir onwards.
User2 should be able to log into user1 ~/upload and 
upload files, but not be able to list ~/upload, or list 
anything else in ~ or onwards.

Hope that is clear.

User1 and user2 are both set up and chroot to ~user1, 
with user2 cd'ing into ~/upload via entry in passwd file.

User1 belongs to group1 and user2 belongs to group2.

All files/dirs in ~user1 are owned by user1 and group1.
Nothing is world readable except ~/etc/group and passwd.
Nothing is world writable except ~/upload.

The current position is that user1 can log in and ftp in 
and out where required.
User2 logs in and is cd'ed into ~/upload okay.
pwd gives permission denied. ls gives no files even if 
there are, so ok.
User2 can go up to ~/ and into any subdirs if the name is 
known, but cannot see anything, so ok. 
But, user2 cannot upload any files into the upload 
directory.
The message i get is :-

ftp> put readme.txt
200 PORT command successful.
553 Could not determine cwdir: Permission denied.

The only alternative i can see at present is to create 
etc and bin dirs in ~user1/upload and chroot user2 to 
there, but it seems a bit extreme to me.

Anyone have any suggestions ?

Regards, Craig Stratton.


From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:26: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 m0uoAVb-000D5UC; Wed, 7 Aug 96 08:26 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uo9lh-0000BqC; Wed, 7 Aug 96 07:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA07480; Wed, 7 Aug 1996 09:36:54 -0500
Received: from seagull.rtd.com (seagull.rtd.com [198.102.68.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA07254 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 09:33:00 -0500
Received: (from ric@localhost) by seagull.rtd.com (8.7.5/8.7.3) id HAA25891 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 07:32:18 -0700 (MST)
Message-Id: <199608071432.HAA25891@seagull.rtd.com>
Date: Wed, 7 Aug 1996 07:32:17 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ric Anderson <ric@rtd.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
In-Reply-To: <199608062149.RAA02532@ns1.carib-link.net> from "lennard@ns1.carib-link.net" at Aug 6, 96 05:49:41 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

Try putting this line in ftpaccess:
	deny !nameserved /path/to/message
where "/path/to/message" is file telling the unlucky person why
service is being denied.

Ric (<ric@rtd.com> "Ric Anderson", using RTD's public internet access)

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:27: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 m0uoAWL-0004OXC; Wed, 7 Aug 96 08:27 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uoA7X-0000BxC; Wed, 7 Aug 96 08:02 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA08723; Wed, 7 Aug 1996 09:59:04 -0500
Received: from campus.mty.itesm.mx (campus.mty.itesm.mx [131.178.4.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA08626 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 09:56:50 -0500
Received: from Itzel.mty.itesm.mx (itzel.mty.itesm.mx [131.178.38.74]) by campus.mty.itesm.mx (8.6.9/8.6.9) with SMTP id JAA111275 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 09:49:51 -0600
Message-Id: <Pine.WNT.3.92.960807095811.-452931A-100000@Itzel.mty.itesm.mx>
Date: Wed, 7 Aug 1996 10:00:47 -0500 ()
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Lazcano-Vega <clazcano@campus.mty.itesm.mx>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
In-Reply-To: <199608070704.JAA00227@pizza.hvu.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: clazcano@campus.mty.itesm.mx
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> > I would like to find out how to disallow logins from sites which don't
> > have reverse DNS setup.
>
> >From the ftpaccess man page :
>
>        deny <addrglob> <message_file>
>             Always deny access to  host(s)  matching  <addrglob>.
>             <message_file>   is  displayed.   <addrglob>  may  be
>             "!nameserved" to deny access to sites without a work-
>             ing nameserver.
>
>                                             Grtx KH

Wouldn't it also deny access to the computers that don't have an entry
on the DNS?

---
Carlos Lazcano-Vega                 Voice: (52-8) 358-2000 x4084
Internet Services Manager           Fax: (52-8) 328-4129
ITESM / Technological Computing     Email: clazcano@campus.mty.itesm.mx
Av. Eugenio Garza Sada 2501 Sur     http://homepages.mty.itesm.mx/~clazcano/
Sucursal de Correos "J"
Monterrey, N.L, Mexico. CP 64849    Heroes get remembered; legends never died

            *** All my opinions are not really opinions ***

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:27:51 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 m0uoAWU-0000b9C; Wed, 7 Aug 96 08:27 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uoAGV-0003MHC; Wed, 7 Aug 96 08:11 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA09262; Wed, 7 Aug 1996 10:08:31 -0500
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA09101 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 10:04:59 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id RAA08129 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 17:04:59 +0200 (MET DST)
Message-Id: <199608071504.RAA08129@pizza.hvu.nl>
Date: Wed, 7 Aug 1996 17:04:59 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
In-Reply-To: <Pine.WNT.3.92.960807095811.-452931A-100000@Itzel.mty.itesm.mx> from "Carlos Lazcano-Vega" at Aug 7, 96 10:00:47 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Carlos Lazcano-Vega, who wrote :

> > >From the ftpaccess man page :
> >
> >        deny <addrglob> <message_file>
> >             Always deny access to  host(s)  matching  <addrglob>.
> >             <message_file>   is  displayed.   <addrglob>  may  be
> >             "!nameserved" to deny access to sites without a work-
> >             ing nameserver.

> Wouldn't it also deny access to the computers that don't have an entry
> on the DNS?

Yes. It's a policy question whether you accept that or not.

                                                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)     KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:30: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 m0uoAYs-0009cIC; Wed, 7 Aug 96 08:30 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA10296; Wed, 7 Aug 1996 10:27:58 -0500
Received: from bcx01.boco.co.gov (bcx01.boco.co.gov [161.98.128.4]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA10016 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 10:23:39 -0500
Received: (from swcxt@localhost) by bcx01.boco.co.gov (8.6.11/8.6.11)
  id JAA58816 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 09:22:43 -0600
Message-Id: <199608071522.JAA58816@bcx01.boco.co.gov>
Date: Wed, 7 Aug 1996 09:22:43 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Shane Castle <swcxt@boco.co.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
In-Reply-To: <199608071504.RAA08129@pizza.hvu.nl>
  from "Koos van den Hout _U nix and we all_"
  at Aug 7, 96 05:04:59 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 Wed Aug  7 09:04:59 1996, Koos van den Hout wrote:

>Quoting Carlos Lazcano-Vega, who wrote :

>> > >From the ftpaccess man page :
>> >
>> >        deny <addrglob> <message_file>
>> >             Always deny access to  host(s)  matching  <addrglob>.
>> >             <message_file>   is  displayed.   <addrglob>  may  be
>> >             "!nameserved" to deny access to sites without a work-
>> >             ing nameserver.

>> Wouldn't it also deny access to the computers that don't have an entry
>> on the DNS?

>Yes. It's a policy question whether you accept that or not.

The "!nameserved" is actually misleading.  What this actually means is
"disallow access if the IP address does not resolve to a hostname".
Perhaps a better notation would be "!resolve" or "!hostname".  A
misconfigured DNS server could have an A record for a hostname
(hostname maps to an IP address) but forget to have the reverse mapping
PTR record in an in-addr.arpa file (or have no such lookup at all).
This would produce the same result.

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

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:43: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 m0uoAlv-000DGIC; Wed, 7 Aug 96 08:43 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA11099; Wed, 7 Aug 1996 10:41:21 -0500
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.1.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA10732 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 10:34:05 -0500
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.16.7]) by ecbull20.frec.bull.fr (8.7.5/8.7.3) with ESMTP id RAA33694 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 17:33:21 +0200
Received: (from diemer@localhost) by lozere.frec.bull.fr (8.7.5/8.7) id RAA45046 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 17:33:20 +0200
Message-Id: <199608071533.RAA45046@lozere.frec.bull.fr>
Date: Wed, 7 Aug 1996 17:33:20 +0200 (DFT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: P.Diemer@frec.bull.fr
To: wu-ftpd@wugate.wustl.edu
Subject: Incorrect Logging Times
In-Reply-To: <Pine.SUN.3.91.960224120021.16164A-100000@ripsaw.cac.psu.edu> from "Mike Loewen" at Feb 24, 96 12:01:07 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> On 23 Feb 1996, Herman Weaver/IS/CCC wrote:
> 
> > I'm using wu-ftp 2.4 (no beta) on AIX 4.1.4.  In the ftpaccess file I log all 
> > commands which 
> > works fine but the time stamps on all the entries are wrong.  Anyone seen this 
> > problem 
> > before?
> 
>    Make sure this line appears in your src/config.h file:
> 
> #undef  SETPROCTITLE
> 
> Mike Loewen			Center for Academic Computing
> Email:	mcl8@psu.edu		The Pennsylvania State University
> Phone:	(814) 863-4356		University Park, PA  16802
> Office:	17 Willard Bldg.	http://ripsaw.cac.psu.edu/mloewen.html
> 
> 

I have the same problem with wu-ftpd 2.4 under AIX 4.1.4
I have change the src/config.h before the "build aix" command
But the problem is not resolved.

Have you find a solution ?

Thanks in advance


-- 

+----------------------------------------------+-----------------------------+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
|                                              |                             |
| Open Systems & Software                      | M/S     : FREC C1-059       |
| Open System Business Unit                    | ICN     : 229 7152          |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
| Software Packaging & Manufacturing Transfer  |                             | 
+----------------------------------------------+-----------------------------+

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 08:48: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 m0uoAqY-0004ikC; Wed, 7 Aug 96 08:48 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA11376; Wed, 7 Aug 1996 10:46:03 -0500
Received: from hahp9k.harte-lyne.ca (hahp9k.harte-lyne.ca [205.206.207.101]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA10942 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 10:39:20 -0500
Received: from hal-ham-g01-u01 (jim.harte-lyne.ca [205.206.207.103]) by hahp9k.harte-lyne.ca (8.7.5/8.7.5) with SMTP id LAA06168 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 11:41:21 -0400 (EDT)
Message-Id: <3208B924.4F8B@harte-lyne.ca>
Date: Wed, 07 Aug 1996 11:41:24 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "James B. Byrne" <byrnejb@harte-lyne.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disallowing no-reverse DNS sites
References: <Pine.WNT.3.92.960807095811.-452931A-100000@Itzel.mty.itesm.mx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5aGold (WinNT; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Carlos Lazcano-Vega wrote:
> 
> Wouldn't it also deny access to the computers that don't have an entry
> on the DNS?
> 

Yes, but this would only be an issue for someone dealing with a poorly
setup ISP or internet connected corporate LAN.  In both cases a squawk
at the appropriate decible level should obtain the desired modification.

Regards,
-- 
James B. Byrne			mailto:byrnejb@harte-lyne.ca
Harte & Lyne Limited		http://www.harte-lyne.ca
Hamilton, Ontario		905-561-1241

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 09:34: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 m0uoBYv-0009FSC; Wed, 7 Aug 96 09:34 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA14694; Wed, 7 Aug 1996 11:32:03 -0500
Received: from ns.noaa.gov (NS.NOAA.GOV [140.90.231.19]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA14554 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 11:29:42 -0500
Received: from smtpgate.ssmc.noaa.gov (SMTPGATE.nws.noaa.gov [140.90.19.50]) by ns.noaa.gov (8.7.3/8.7.3) with SMTP id MAA25406 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 12:25:19 -0400 (EDT)
Received: from ccMail by smtpgate.ssmc.noaa.gov (SMTPLINK V2.11 PreRelease 4)
	id AA839446160; Wed, 07 Aug 96 12:04:12 EST
Message-Id: <9607078394.AA839446160@smtpgate.ssmc.noaa.gov>
Date: Wed, 07 Aug 96 12:04:12 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jmatusiewicz@SMTPGATE.NWS.NOAA.GOV
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Incorrect Logging Times
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     
Gents,

To solve the timestamp error under AIX, I had to recompile the source code.
If you don't, it seems to display GMT, the time in London.  The SETPROCTITLE
definition clobbers the TZ variables.  Go into ~src/config/config.aix and
change the line from

        #define SETPROCTITLE
TO
        #undef SETPROCTITLE

Then do the build aix.


joe matusiewicz                         
national weather service                      __o
silver spring, md                           _`\<,_
301.713.0866 ext 174                       (_)/ (_)  
jmatusiewicz@nws.noaa.gov



______________________________ Reply Separator _________________________________
Subject: Incorrect Logging Times
Author:  wu-ftpd@wugate.wustl.edu at smtpgate
Date:    8/7/96 11:49 AM


> 
> On 23 Feb 1996, Herman Weaver/IS/CCC wrote: 
> 
> > I'm using wu-ftp 2.4 (no beta) on AIX 4.1.4.  In the ftpaccess file I log 
all 
> > commands which 
> > works fine but the time stamps on all the entries are wrong.  Anyone seen 
this 
> > problem 
> > before?
> 
>    Make sure this line appears in your src/config.h file: 
> 
> #undef  SETPROCTITLE
> 
> Mike Loewen   Center for Academic Computing
> Email: mcl8@psu.edu  The Pennsylvania State University 
> Phone: (814) 863-4356  University Park, PA  16802
> Office: 17 Willard Bldg. http://ripsaw.cac.psu.edu/mloewen.html 
> 
> 
     
I have the same problem with wu-ftpd 2.4 under AIX 4.1.4
I have change the src/config.h before the "build aix" command 
But the problem is not resolved.
     
Have you find a solution ?
     
Thanks in advance
     
     
-- 
     
+----------------------------------------------+-----------------------------+ 
| Pascale Diemer                               |   P.Diemer@frec.bull.fr     | 
|                                              |                             | 
| Open Systems & Software                      | M/S     : FREC C1-059       | 
| Open System Business Unit                    | ICN     : 229 7152          | 
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   | 
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02   | 
| Software Packaging & Manufacturing Transfer  |                             | 
+----------------------------------------------+-----------------------------+

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 14:58: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 m0uoGc5-000DPsC; Wed, 7 Aug 96 14:58 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA03988; Wed, 7 Aug 1996 16:54:05 -0500
Received: from nebula.online.ee (nebula.online.ee [194.106.96.11]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA03753 for <wu-ftpd@mail.wustl.edu>; Wed, 7 Aug 1996 16:48:08 -0500
Received: from localhost by nebula.online.ee (5.x/SMI-4.1)
	id AA03928; Thu, 8 Aug 1996 00:47:23 +0300
Message-Id: <Pine.GSO.3.93.960808004448.28847C-100000@nebula.online.ee>
Date: Thu, 8 Aug 1996 00:47:22 +0300 (EET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: =?ISO-8859-1?Q?J=FCri_Kaljundi?= <jk@stallion.ee>
To: wu-ftpd@wugate.wustl.edu
Subject: default umask
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-Sender: jk@nebula.online.ee
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I am having problems with setting the default umask of anonymous ftp users
uploads.=20

I know there is the -u option to ftpd, but although I have tried to add
either -u022 or -u077 to /etc/inetd.conf, the files are still created with
664 permissions. We have a large number of users, so setting the umask
for each of them in ftpaccess config file is not the best solution :(

Any way to change the umask to be 022 ?

J=FCri Kaljundi
AS Stallion
jk@stallion.ee

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 15:11: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 m0uoGpA-000FHqC; Wed, 7 Aug 96 15:11 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA04857; Wed, 7 Aug 1996 17:08:52 -0500
Received: from mole.ibd.pwj.com ([161.15.39.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA04097 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 16:56:25 -0500
Received: by mole.ibd.pwj.com (8.7/8.7) id RAA05773 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 17:52:57 -0400 (EDT)
Received: from unknown(161.15.1.104) by mole.ibd.pwj.com via smap (V1.3)
	id sma005771; Wed Aug  7 17:52:37 1996
Received: (from bsingh@localhost) by frigate.tech.nyc.pwj.com (8.7.5/8.7) id RAA08491 for wu-ftpd@wugate.wustl.edu; Wed, 7 Aug 1996 17:54:15 -0400 (EDT)
Message-Id: <9608071754.ZM8489@frigate.tech.nyc.pwj.com>
Date: Wed, 7 Aug 1996 17:54:15 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harbinder Singh <bsingh@painewebber.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Time stamps on same file different for real and guest user
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Authentication-Warning: mole.ibd.pwj.com: smap set sender to <bsingh> using -f
X-Mailer: Z-Mail (3.2.0 06sep94)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have the following problen:



	real user does ls -al:

	-rw-rw-r--  1 user1        37 Aug  7 16:24 00740004.RES

guest user does ls -al and gets:

	-rw-rw-r--  1 102            37 Aug  7 20:24 00740004.RES

Has any body seen this problem? If yes can someone suggest the solution?!

I am running wuftp on : SunOS  4.1.4 2 sun4m


From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 15:14: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 m0uoGrx-0004SdC; Wed, 7 Aug 96 15:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA05063; Wed, 7 Aug 1996 17:12:03 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA04509 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 17:02:38 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.5/8.7.3) with SMTP id RAA08194 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 17:01:56 -0500
Message-Id: <Pine.LNX.3.94.960807170001.6168H-100000@ns1.fni.com>
Date: Wed, 7 Aug 1996 17:01:56 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: default umask
In-Reply-To: <Pine.GSO.3.93.960808004448.28847C-100000@nebula.online.ee>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 8 Aug 1996, [ISO-8859-1] J=FCri Kaljundi wrote:

> Any way to change the umask to be 022 ?

In ftpd.c change CMASK to 022 instead of the default 002:

#if !defined(CMASK) || CMASK =3D=3D 0
#undef CMASK
#define CMASK 022
#endif


   -- Michael

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 15:26: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 m0uoH3h-000DHZC; Wed, 7 Aug 96 15:26 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA05607; Wed, 7 Aug 1996 17:23:27 -0500
Received: from camco.celestial.com (camco.celestial.com [192.136.111.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA05408 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 17:19:27 -0500
Received: by camco.celestial.com (Smail3.1.29.1 #1)
	id m0uoGyb-0009DhC; Wed, 7 Aug 96 15:21 PDT
Message-Id: <m0uoGyb-0009DhC@camco.celestial.com>
Date: Wed, 7 Aug 1996 15:21:17 -0700 (PDT)
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bill@celestial.com (Bill Campbell)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: default umask
In-Reply-To: <Pine.LNX.3.94.960807170001.6168H-100000@ns1.fni.com> from "Michael Brennen" at Aug 7, 96 05:01:56 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 Thu, 8 Aug 1996, [ISO-8859-1] J=FCri Kaljundi wrote:
>
>> Any way to change the umask to be 022 ?
>
>In ftpd.c change CMASK to 022 instead of the default 002:
>
You can also add -u022 to the line in /etc/inetd.conf.

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/

The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.
                -- Doctor Who, "Face of Evil"

From jk@stallion.ee Wed Aug  7 15:32:45 1996
X-Delivered: at request of bill on camco
Return-Path: <jk@stallion.ee>
Received: from nebula.online.ee by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uoH9e-0006ceC; Wed, 7 Aug 96 15:32 PDT
Received: from localhost by nebula.online.ee (5.x/SMI-4.1)
	id AA04576; Thu, 8 Aug 1996 01:29:55 +0300
Organization: MicroLink OnLine
Date: Thu, 8 Aug 1996 01:29:55 +0300 (EET DST)
From: =?ISO-8859-1?Q?J=FCri_Kaljundi?= <jk@stallion.ee>
X-Sender: jk@nebula.online.ee
To: Bill Campbell <bill@celestial.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: default umask
In-Reply-To: <m0uoGyb-0009DhC@camco.celestial.com>
Message-Id: <Pine.GSO.3.93.960808012737.28847H-100000@nebula.online.ee>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE

 Wed, 7 Aug 1996, Bill Campbell kirjutas:

> You can also add -u022 to the line in /etc/inetd.conf.

Well that is the problem, it does not seem to have any effect. Should I
have:
=2E.. root /usr/local/etc/ftpd -u077 in.ftpd
or
=2E.. root /usr/local/etc/ftpd in.ftpd -u077
or
=2E.. root /usr/local/etc/ftpd ftpd -u077

in inetd.conf?

J=FCri Kaljundi
AS Stallion
jk@stallion.ee

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 17:53: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 m0uoJLh-0000t9C; Wed, 7 Aug 96 17:53 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA11023; Wed, 7 Aug 1996 19:50:16 -0500
Received: from mailer.elecomm.net ([207.34.183.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA10917 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 19:46:17 -0500
Message-Id: <32092A6E.5DB4B079@elecomm.net>
Date: Wed, 07 Aug 1996 16:44:46 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Emanuele Buttice <buttice@elecomm.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: default umask
References: <Pine.GSO.3.93.960808004448.28847C-100000@nebula.online.ee>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: buck@elecomm.net
X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i486)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

 
> I am having problems with setting the default umask of anonymous ftp users
> uploads.
> 
> I know there is the -u option to ftpd, but although I have tried to add
> either -u022 or -u077 to /etc/inetd.conf, the files are still created with
> 664 permissions. We have a large number of users, so setting the umask
> for each of them in ftpaccess config file is not the best solution :(
> 
> Any way to change the umask to be 022 ?


I have done a lot of looking to find the answer to that question.
The -u option doesn't work, maybe with the latest ftp version 2.4.2 Beta
11. If that doesn't work then you will have to hack the ftp.c file and
hardcode the 022 umask.

I haven't done this myself but apparently it works :-} 
 

Hope this helps...

buck

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 18:04: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 m0uoJWB-000DHoC; Wed, 7 Aug 96 18:04 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA11460; Wed, 7 Aug 1996 20:01:43 -0500
Received: from camco.celestial.com (camco.celestial.com [192.136.111.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA11264 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 19:55:49 -0500
Received: by camco.celestial.com (Smail3.1.29.1 #1)
	id m0uoJPv-000DKfC; Wed, 7 Aug 96 17:57 PDT
Message-Id: <m0uoJPv-000DKfC@camco.celestial.com>
Date: Wed, 7 Aug 1996 17:57:38 -0700 (PDT)
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bill@celestial.com (Bill Campbell)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: default umask
In-Reply-To: <32092A6E.5DB4B079@elecomm.net> from "Emanuele Buttice" at Aug 7, 96 04:44:46 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

>
>I have done a lot of looking to find the answer to that question.
>The -u option doesn't work, maybe with the latest ftp version 2.4.2 Beta
>11. If that doesn't work then you will have to hack the ftp.c file and
>hardcode the 022 umask.
>
It works fine with our beta-11 here.  Here's our inetd.conf entry.
ftp stream tcp nowait root /usr/local/etc/tcpd /usr/local/etc/ftpd -alL -u022

We're using tcp_wrappers around wu-ftpd hence the slightly longish line.
I did have a problem with the length of the line running afoul of
SCO's inetd limits without squashing the options together.

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/

The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.
                -- Doctor Who, "Face of Evil"

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 21: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 m0uoMJZ-0002XKC; Wed, 7 Aug 96 21:03 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA17174; Wed, 7 Aug 1996 23:00:14 -0500
Received: from la-mail2.digilink.net (la2.digilink.net [205.147.0.102]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id WAA16845 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 22:51:49 -0500
Received: from areeda.com by la-mail2.digilink.net (SMI-8.6/SMI-SVR4)
	id UAA23887; Wed, 7 Aug 1996 20:51:01 -0700
Received: by areeda.com (SMI-8.6/ja7)
	id UAA01685; Wed, 7 Aug 1996 20:50:51 -0700
Message-Id: <199608080350.UAA01685@areeda.com>
Date: Wed, 7 Aug 1996 20:50:51 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: areeda@areeda.com (Joseph S. Areeda)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Time stamps on same file different for real and guest user
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

My take on this is that the timezone information in the
guest's path is different (or non-existant) than the real time info.
The 4 hour differencde is the difference from EDT and GMT I think.
So the fix is to set up the timezone file in the guest directory
structure also.


joe


> From bsingh@painewebber.com Wed Aug  7 15:09:21 1996
> Date: Wed, 7 Aug 1996 17:54:15 -0400 (EDT)
                                 ^^^^^^^^^^^^  look at that

> From: Harbinder Singh <bsingh@painewebber.com>
> To: wu-ftpd@wugate.wustl.edu
> Subject: Time stamps on same file different for real and guest user
> Mime-Version: 1.0
> X-Authentication-Warning: mole.ibd.pwj.com: smap set sender to <bsingh> using -f
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> I have the following problen:
> 
> 
> 
> 	real user does ls -al:
> 
> 	-rw-rw-r--  1 user1        37 Aug  7 16:24 00740004.RES
> 
> guest user does ls -al and gets:
> 
> 	-rw-rw-r--  1 102            37 Aug  7 20:24 00740004.RES
> 
> Has any body seen this problem? If yes can someone suggest the solution?!
> 
> I am running wuftp on : SunOS  4.1.4 2 sun4m
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 21: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 m0uoMZQ-000DM1C; Wed, 7 Aug 96 21:19 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA17873; Wed, 7 Aug 1996 23:16:44 -0500
Received: from ns1.carib-link.net (ns1.carib-link.net [196.3.135.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA17198 for <wu-ftpd@wugate.wustl.edu>; Wed, 7 Aug 1996 23:00:45 -0500
Received: from lenny.dog.com (pm1-2965-14.carib-link.net [196.29.65.14]) by ns1.carib-link.net (8.6.12/8.6.9) with SMTP id AAA30220 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 00:00:57 -0400
Message-Id: <32096835.6EBF5BFF@carib-link.net>
Date: Thu, 08 Aug 1996 00:08:21 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lennard Kong <lennard@carib-link.net>
To: wu-ftpd@wugate.wustl.edu
Subject: FIN_WAIT Sockets left over
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@ns1.carib-link.net
X-Mailer: Mozilla 3.0b5a (X11; I; Linux 2.0.0 i586)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

I am having problems with sockets being left around long after users
have disconnected, naturally they are in FIN_WAIT and CLOSE states.

Any suggestions ?

thanks

Lennard

From owner-wu-ftpd@wugate.wustl.edu Wed Aug  7 22:11: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 m0uoNNL-0004NoC; Wed, 7 Aug 96 22:11 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id AAA19679; Thu, 8 Aug 1996 00:08:35 -0500
Received: from ultraman.privnet.com (ultraman.privnet.com [206.100.254.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA19513 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 00:01:12 -0500
Received: from localhost (hoffmang@localhost) by ultraman.privnet.com (8.7.5/8.6.9) with SMTP id AAA06432; Thu, 8 Aug 1996 00:58:47 -0400
Message-Id: <Pine.LNX.3.95.960808005618.20573L-100000@ultraman.privnet.com>
Date: Thu, 8 Aug 1996 00:58:47 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gene Hoffman <hoffmang@privnet.com>
To: Lennard Kong <lennard@carib-link.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FIN_WAIT Sockets left over
In-Reply-To: <32096835.6EBF5BFF@carib-link.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

After digging through your mail header, It looks like your running a Linux
2.0.0 Pentium Box. Have you updated to NetKit-B-0.07? I was had some
oddities with my old inetd... (Plus the new NetKit fixes a couple of nasty
security problems) Also, you may want to set a timeout for your anonymous
ftp users.

Gene_Hoffman@privnet.com        |                PrivNet V.P.
http://www.privnet.com/hoffmang |           http://www.privnet.com

On Thu, 8 Aug 1996, Lennard Kong wrote:

> Hi,
> 
> I am having problems with sockets being left around long after users
> have disconnected, naturally they are in FIN_WAIT and CLOSE states.
> 
> Any suggestions ?
> 
> thanks
> 
> Lennard
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 00:04: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 m0uoP8S-000DMyC; Thu, 8 Aug 96 00:04 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA23252; Thu, 8 Aug 1996 02:01:03 -0500
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id BAA23137 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 01:58:58 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id IAA15112 for wu-ftpd@wugate.wustl.edu; Thu, 8 Aug 1996 08:58:58 +0200 (MET DST)
Message-Id: <199608080658.IAA15112@pizza.hvu.nl>
Date: Thu, 8 Aug 1996 08:58:57 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FIN_WAIT Sockets left over
In-Reply-To: <32096835.6EBF5BFF@carib-link.net> from "Lennard Kong" at Aug 8, 96 00:08:21 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Lennard Kong, who wrote :

> I am having problems with sockets being left around long after users
> have disconnected, naturally they are in FIN_WAIT and CLOSE states.
> 
> Any suggestions ?

Mentioning which operating system you run can help as some versions of
some operating systems leave sockets hanging around especially when
connecting to slightly broken PC/Mac socket implementations.

Solaris 2.3 comes to mind with loads of sockets in FIN_WAIT_2.

It's also interesting to check if there are still ftpd processes running
which could own the socket.

                                             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)     KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 01:25: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 m0uoQOs-0009HEC; Thu, 8 Aug 96 01:25 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA24320; Thu, 8 Aug 1996 03:22:40 -0500
Received: from rc4.vub.ac.be (rc4.vub.ac.be [134.184.15.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id DAA24203 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 03:17:01 -0500
Received: from ultr9.vub.ac.be (ultr9.vub.ac.be [134.184.42.9]) by rc4.vub.ac.be (8.6.10/3.4.2.ap (rc4))
        id KAA23119; Thu, 8 Aug 1996 10:21:17 +0200
Received: by ultr9.vub.ac.be (940816.SGI.8.6.9/VUB-SG.920213)
	id KAA25384; Thu, 8 Aug 1996 10:13:46 +0200
Message-Id: <199608080813.KAA25384@ultr9.vub.ac.be>
Date: Thu, 8 Aug 1996 10:13:45 +0200 (DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: philstas@ultr9.vub.ac.be (Philippe Stas)
To: wu-ftpd@wugate.wustl.edu
Subject: NIS users cannot ftp?
In-Reply-To: <199608080658.IAA15112@pizza.hvu.nl> from "Koos van den Hout _U nix and we all_" at Aug 8, 96 08:58:57 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Allthough this looks like a FAQ, I did not find it .

We installed wu-ftp 2.4 on one machine. Anonymous and normal users

coudl ftp whithout problems.
Now, we set up the machine a NIS-client, and what do we see, the
users that are in the NIS database, but not in de passwd, can not ftp anymore.
putting the entry back into the passwd file, allows ftp again.

the /etc/shells contains
/bin/csh
/bin/tcsh
/bin/bsh

so this, cannot be the cause, I think.

I cannot find any information in the docs.

Could someone please help me out? 

Johor

_____________________________________________________________
_  Philippe Stas                        philstas@vub.ac.be  _
_  Dept. of Cellular Immunology                             _
_  Free University of Brussels          tel: 32-2-359.03.58 _
_  Paardenstraat 65                     Fax: 32-2-359.03.59 _
_  B1640 St.Genesius Rode                                   _
_                      http://homepages.vub.ac.be/~philstas _
_____________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 08:39:52 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 m0uoXBf-0007xKC; Thu, 8 Aug 96 08:39 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uoVIO-0000BdC; Thu, 8 Aug 96 06:38 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA02606; Thu, 8 Aug 1996 08:36:06 -0500
Received: from mintaka.iern.disa.mil (mintaka.iern.disa.mil [128.19.0.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id IAA02006 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 08:30:10 -0500
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id JAA21125; Thu, 8 Aug 1996 09:28:20 -0400 (EDT)
Message-Id: <Pine.SUN.3.91.960808092358.21093B-100000@mintaka.iern.disa.mil>
Date: Thu, 8 Aug 1996 09:28:20 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "W. James Showalter" <gamma@mintaka.iern.disa.mil>
To: Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: default umask
In-Reply-To: <Pine.LNX.3.94.960807170001.6168H-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-Sender: gamma@mintaka.iern.disa.mil
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Michael,

You might want to try the undocumented switch -u on the command line.
This changes the default umask and avoids any code changes.=20


Jim



On Wed, 7 Aug 1996, Michael Brennen wrote:

> On Thu, 8 Aug 1996, [ISO-8859-1] J=FCri Kaljundi wrote:
>=20
> > Any way to change the umask to be 022 ?
>=20
> In ftpd.c change CMASK to 022 instead of the default 002:
>=20
> #if !defined(CMASK) || CMASK =3D=3D 0
> #undef CMASK
> #define CMASK 022
> #endif
>=20
>=20
>    -- Michael
>=20
>=20

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 08:43: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 m0uoXFL-0007yTC; Thu, 8 Aug 96 08:43 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA11690; Thu, 8 Aug 1996 10:41:11 -0500
Received: from rescol.fse.ulaval.ca (rescol.fse.ulaval.ca [132.203.154.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA11373 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 10:32:46 -0500
Received: from [132.203.154.5] (laloca.fse.ulaval.ca) by rescol.fse.ulaval.ca (5.x/SMI-SVR4)
	id AA10741; Thu, 8 Aug 1996 11:26:11 -0400
Message-Id: <v03007800ae2f7fbbaa81@[132.203.154.5]>
Date: Thu, 8 Aug 1996 11:26:10 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Reed <creed@fse.ulaval.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: can't compile solaris and Bind 4.9.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: creed@rescol.fse.ulaval.ca
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I installed Bind 4.9.3 which installs ne header files and new libs.


In netdb.h MAXHOSTNAMELN is not there any more, so I had to move my
original files to compile wu-ftpd on solaris with the new BIND.

is there any patch for compiling wu-ftpd with the new bind stuff and the
beta 11 ?

thanks and have a nice day!


From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 09:11: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 m0uoXg4-0007swC; Thu, 8 Aug 96 09:11 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA13532; Thu, 8 Aug 1996 11:09:11 -0500
Received: from stimpy.PCC.COM (stimpy.pcc.com [205.219.166.130]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA13045 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 11:01:27 -0500
Received: by stimpy.PCC.COM (Smail3.1.29.1 #3)
	id m0uoXVd-0000XcC; Thu, 8 Aug 96 12:00 EDT
Message-Id: <m0uoXVd-0000XcC@stimpy.PCC.COM>
Date: Thu, 8 Aug 1996 12:00:29 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jay@pcc.com (Jay Schuster)
To: wu-ftpd-faq@pizza.hvu.nl
Cc: wu-ftpd@wugate.wustl.edu (WU-FTPD List)
Subject: FAQ correction
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

One of the FAQ questions is:
    The timezone in the xferlog is wrong
And it refers to SPT_TYPE as being the key.  In wu-ftpd 2.4, that is called
SETPROCTITLE, not SPT_TYPE.

I only found this because I *am* running AIX, and config/config.aix
#define's SETPROCTITLE, incorrectly, apparently.
-- 
Jay Schuster <jay@pcc.com>
The People's Computer Company	`Revolutionary Programming'

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 09:54: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 m0uoYLP-000DO4C; Thu, 8 Aug 96 09:53 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA17123; Thu, 8 Aug 1996 11:50:20 -0500
Received: from ns.pwcm.com (pwcm.com [161.15.21.50]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAB15489 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 11:29:12 -0500
Received: by ns.pwcm.com (8.7/8.7) id MAA24373 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 12:28:17 -0400 (EDT)
Received: from unknown(161.15.1.104) by ns.pwcm.com via smap (V1.3)
	id sma024369; Thu Aug  8 12:28:13 1996
Received: (from bsingh@localhost) by frigate.tech.nyc.pwj.com (8.7.5/8.7) id MAA13645 for wu-ftpd@wugate.wustl.edu; Thu, 8 Aug 1996 12:27:06 -0400 (EDT)
Message-Id: <9608081227.ZM13643@frigate.tech.nyc.pwj.com>
Date: Thu, 8 Aug 1996 12:27:06 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Harbinder Singh <bsingh@painewebber.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Where Can I get statically compiled ls for SUNOS ???
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Authentication-Warning: ns.pwcm.com: smap set sender to <bsingh> using -f
X-Mailer: Z-Mail (3.2.0 06sep94)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 10:00: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 m0uoYRJ-0007aKC; Thu, 8 Aug 96 10:00 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA17489; Thu, 8 Aug 1996 11:57:48 -0500
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.1.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA16068 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 11:36:53 -0500
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.16.7]) by ecbull20.frec.bull.fr (8.7.5/8.7.3) with ESMTP id SAA11976 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 18:36:09 +0200
Received: (from diemer@localhost) by lozere.frec.bull.fr (8.7.5/8.7) id SAA92246 for wu-ftpd@wugate.wustl.edu; Thu, 8 Aug 1996 18:36:07 +0200
Message-Id: <199608081636.SAA92246@lozere.frec.bull.fr>
Date: Thu, 8 Aug 1996 18:36:07 +0200 (DFT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: P.Diemer@frec.bull.fr
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Incorrect Logging Times
In-Reply-To: <9607078394.AA839446160@smtpgate.ssmc.noaa.gov> from "jmatusiewicz@SMTPGATE.NWS.NOAA.GOV" at Aug 7, 96 12:04:12 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have change the ~src/config/config.aix as you told me before execute
the build aix .
The problem isn't resolved.
You can notice below that there is a difference of 2 hours
My variable TZ is well declared and the date command returns the good value=
.

So I am lost....

Could someone help me.

Thanks

#ll pub/incoming
total 40
drwxrwsrwx   2 root     system       512 Aug 08 18:24 .
drwxrwsrwx   3 root     system       512 Aug 07 09:46 ..
-rw-r--r--   1 ftp      misc         456 Aug 08 18:24 journal
-rw-r--r--   1 ftp      misc        5054 Aug 07 09:58 z001107.txt

BUT:
ftp> cd pub/incoming
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 24
-rw-r--r--   1 ftp      misc         456 Aug  8 16:24 journal
-rw-r--r--   1 ftp      misc        5054 Aug  7 07:58 z001107.txt
226 Transfer complete.

+----------------------------------------------+---------------------------=
--+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr   =
  |
|                                              |                           =
  |
| Open Systems & Software                      | M/S     : FREC C1-059     =
  |
| Open System Business Unit                    | ICN     : 229 7152        =
  |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52 =
  |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02 =
  |
| Software Packaging & Manufacturing Transfer  |                           =
  | 
+----------------------------------------------+---------------------------=
--+


> 
>      
> Gents,
> 
> To solve the timestamp error under AIX, I had to recompile the source cod=
e.
> If you don't, it seems to display GMT, the time in London.  The SETPROCTI=
TLE
> definition clobbers the TZ variables.  Go into ~src/config/config.aix and
> change the line from
> 
>         #define SETPROCTITLE
> TO
>         #undef SETPROCTITLE
> 
> Then do the build aix.
> 
> 
> joe matusiewicz                         
> national weather service                      __o
> silver spring, md                           _`\<,_
> 301.713.0866 ext 174                       (_)/ (_)  
> jmatusiewicz@nws.noaa.gov=1A
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 10:48: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 m0uoZCK-0000EhC; Thu, 8 Aug 96 10:48 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA20408; Thu, 8 Aug 1996 12:46:37 -0500
Received: from lpsmail.ksc.nasa.gov (lpsmail.ksc.nasa.gov [163.206.51.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA19686 for <wu-ftpd@mail.wustl.edu>; Thu, 8 Aug 1996 12:34:13 -0500
Received: from ntnet3.ksc.nasa.gov (ntnet3.ksc.nasa.gov [163.206.51.51]) by lpsmail.ksc.nasa.gov (8.6.12/8.6.12) with SMTP id NAA28922 for <wu-ftpd@mail.wustl.edu>; Thu, 8 Aug 1996 13:33:08 -0400
Received: by ntnet3.ksc.nasa.gov with Microsoft Exchange (IMC 4.0.837.3)
	id <01BB852E.4BB62A40@ntnet3.ksc.nasa.gov>; Thu, 8 Aug 1996 13:34:16 -0400
Message-Id: <c=US%a=_%p=nasa%l=TENET/ENTERPRISE/0003DEF6@ntnet3.ksc.nasa.gov>
Date: Thu, 8 Aug 1996 13:32:31 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Madden, Joe" <jmadden@lps3net.ksc.nasa.gov>
To: "'WU-FTP'" <wu-ftpd@wugate.wustl.edu>
Subject: Help with the "ftp-exec" Configuration
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Greetings,

I am attempting to configure my ftp archives with WU-FTP with limited
success.  My host platform is a DEC Alpha 3000 running OSF/1 3.2a on
which I have created the /bin/ftp-exec directory and the
~ftp/bin/ftp-exec directory.  Unfortunately, the FTP "dir" subcommand
produces NO OUTPUT when logged in as a guest or anonymous user.  For
example:

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

I do receive output using the "ls" command as follows:

  ftp> ls
  200  PORT command successful.
  150  Opening ASCII mode data connection for file list.
  etc
  bin
  pub
  226  Transfer complete.

Output from the "dir" subcommand while logged in as a "real" user
produces a long listing as expected.   I am concerned that the server
did not compile correctly to look for the "ls" binary in the
/bin/ftp-exec directory as I specified in the pathnames.h file. 
Instead, I expect that the wu-ftp daemon would  produce a line like :

  150  Opening ASCII mode data connection for /bin/ftp-exec/ls.

Does anyone have any suggestions or explanations?  Thanks in advance.

Joe Madden

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 11:04: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 m0uoZRi-0006n8C; Thu, 8 Aug 96 11:04 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA21334; Thu, 8 Aug 1996 13:02:28 -0500
Received: from lpsmail.ksc.nasa.gov (lpsmail.ksc.nasa.gov [163.206.51.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA20383 for <wu-ftpd@mail.wustl.edu>; Thu, 8 Aug 1996 12:46:02 -0500
Received: from ntnet3.ksc.nasa.gov (ntnet3.ksc.nasa.gov [163.206.51.51]) by lpsmail.ksc.nasa.gov (8.6.12/8.6.12) with SMTP id NAA18654 for <wu-ftpd@mail.wustl.edu>; Thu, 8 Aug 1996 13:45:18 -0400
Received: by ntnet3.ksc.nasa.gov with Microsoft Exchange (IMC 4.0.837.3)
	id <01BB852F.FE432130@ntnet3.ksc.nasa.gov>; Thu, 8 Aug 1996 13:46:25 -0400
Message-Id: <c=US%a=_%p=nasa%l=TENET/ENTERPRISE/0003DF32@ntnet3.ksc.nasa.gov>
Date: Thu, 8 Aug 1996 13:44:20 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Madden, Joe" <jmadden@lps3net.ksc.nasa.gov>
To: "'WU-FTP'" <wu-ftpd@wugate.wustl.edu>
Subject: Failure of "class" Directive Using Domain Names
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Greetings again,

While trying to establish some class definitions, I have found that
classes specified with domain names produce failed logins while the same
class definition specified with an IP wildcard works every time.

I have included a partial copy of my ftpaccess file:

class sysadmin		real			goober.ksc.nasa.gov
class ksc		real			*.ksc.nasa.gov
class shuttle		guest			169.234.*
class remote		real,guest,anonymous	*

The two logins which work (verified using ftpwho) are the shuttle class
and the remote class.  If I am running OSF/1 version 3.2a do I need to
configure something specially to have wu-ftpd recognize the domain name?
 Thanks for the assistance...Joe Madden

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 11:51: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 m0uoaB5-0005drC; Thu, 8 Aug 96 11:51 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA23507; Thu, 8 Aug 1996 13:49:16 -0500
Received: from rescol.fse.ulaval.ca (rescol.fse.ulaval.ca [132.203.154.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA23246 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 13:43:02 -0500
Received: from [132.203.154.5] (laloca.fse.ulaval.ca) by rescol.fse.ulaval.ca (5.x/SMI-SVR4)
	id AA12887; Thu, 8 Aug 1996 14:36:24 -0400
Message-Id: <v03007806ae2f9d319642@[132.203.154.5]>
Date: Thu, 8 Aug 1996 14:36:23 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Reed <creed@fse.ulaval.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: This works, for solaris and bind 4.9.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: creed@rescol.fse.ulaval.ca
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This works, for solaris and bind 4.9.3 new libs.


I just applaied this in ftpd.c

#include <netdb.h>              /* for MAXHOSTNAMELEN on some */
#ifndef MAXHOSTNAMELEN          /* for MAXHOSTNAMELEN everywhere*/
#include <arpa/nameser.h>
#define MAXHOSTNAMELEN                MAXDNAME
#endif



From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 15:16: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 m0uocNn-0009LxC; Thu, 8 Aug 96 14:12 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA04310; Thu, 8 Aug 1996 16:09:14 -0500
Received: from dns.spring-branch.isd.tenet.edu (dns.spring-branch.isd.tenet.edu [168.69.112.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA03472 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 15:58:19 -0500
Received: from 168.69.113.188 (evita.adm.spring-branch.isd.tenet.edu [168.69.113.188]) by dns.spring-branch.isd.tenet.edu (8.7/8.7) with SMTP id PAA16961 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 15:55:51 -0500 (CDT)
Message-Id: <320A628A.71E1@tenet.edu>
Date: Thu, 08 Aug 1996 15:56:31 -0600
Reply-To: jrkiii@tenet.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Kilgore <jrkiii@tenet.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: can't compile solaris and Bind 4.9.3
References: <v03007800ae2f7fbbaa81@[132.203.154.5]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b6aGold (Macintosh; I; PPC)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I ran into this problem also. The problem is that when you do a make
install (or whatever it is) the BIND install install over some of the
original header files and essentially destroys them. You will find that
sendmail no longer compiles as well. My solution was to reinstall the
original development system. It is a pain, but not as painful as finding
out which files bind specifically destroyed and then replacing them
individually. Good luck!

--
						Robert Kilgore <jrkiii@tenet.edu>


Carlos Reed wrote:
> 
> I installed Bind 4.9.3 which installs ne header files and new libs.
> 
> In netdb.h MAXHOSTNAMELN is not there any more, so I had to move my
> original files to compile wu-ftpd on solaris with the new BIND.
> 
> is there any patch for compiling wu-ftpd with the new bind stuff and the
> beta 11 ?
> 
> thanks and have a nice day!

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 16: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 m0uodSC-0002IeC; Thu, 8 Aug 96 15:21 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA10217; Thu, 8 Aug 1996 17:19:05 -0500
Received: from campus.mty.itesm.mx (campus.mty.itesm.mx [131.178.4.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA09501 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 17:07:56 -0500
Received: from Itzel.mty.itesm.mx (itzel.mty.itesm.mx [131.178.38.74]) by campus.mty.itesm.mx (8.6.9/8.6.9) with SMTP id RAA97410 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 17:01:09 -0600
Message-Id: <Pine.WNT.3.92.960808164218.-462437F-100000@Itzel.mty.itesm.mx>
Date: Thu, 8 Aug 1996 17:09:20 -0500 ()
Reply-To: Carlos Lazcano-Vega <clazcano@campus.mty.itesm.mx>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Lazcano-Vega <clazcano@campus.mty.itesm.mx>
To: WU-FTPD List <wu-ftpd@wugate.wustl.edu>
Subject: About ftpwho
In-Reply-To: <m0uoXVd-0000XcC@stimpy.PCC.COM>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: clazcano@campus.mty.itesm.mx
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm using wu-ftpd beta11 in a SS20, I'm trying to configure it so I can se
the processes information with ftpwho, to be able to do so I added:
#define SETPROCTITLE

in src/config/config.sol

but after doing so and installing the ftpd and restarting the inetd,
ftpwho still responds with...

Could any one tell me what I'm doing wrong or missing???

Thanxs...

---
Carlos Lazcano-Vega                 Voice: (52-8) 358-2000 x4084
Internet Services Manager           Fax: (52-8) 328-4129
ITESM / Technological Computing     Email: clazcano@campus.mty.itesm.mx
Av. Eugenio Garza Sada 2501 Sur     http://homepages.mty.itesm.mx/~clazcano/
Sucursal de Correos "J"
Monterrey, N.L, Mexico. CP 64849    Heroes get remembered; legends never died

            *** All my opinions are not really opinions ***



From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 16: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 m0uodXU-0009KeC; Thu, 8 Aug 96 15:26 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA10502; Thu, 8 Aug 1996 17:24:40 -0500
Received: from ns2.eds.com (ns2.eds.com [199.228.142.78]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA10132 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 17:17:08 -0500
Received: by ns2.eds.com (hello)
	id SAA24353; Thu, 8 Aug 1996 18:16:26 -0400
Received: from geronimo.mmts.eds.com (geronimo.mmts.eds.com [148.94.38.71]) by nnsp.eds.com (8.7.5/8.7.3) with ESMTP id SAA23761 for <wu-ftpd@mail.wustl.edu>; Thu, 8 Aug 1996 18:15:55 -0400 (EDT)
Received: from croucho (croucho [148.94.210.68]) by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id RAA18140 for <wu-ftpd@mail.wustl.edu>; Thu, 8 Aug 1996 17:15:09 -0500 (CDT)
Message-Id: <320A66E9.500F@mmts.eds.com>
Date: Thu, 08 Aug 1996 17:15:05 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Crouch <jcrouch@mmts.eds.com>
To: wuftpd <wu-ftpd@wugate.wustl.edu>
Subject: IRIX 6.2 dir/ls problem
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: jcrouch@mmts.eds.com
X-Mailer: Mozilla 2.01 (X11; I; IRIX 5.3 IP22)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I installed wu-ftpd on a SGI Challenge/S running IRIX 6.2.  Everything
works fine execpt for the 'ls' and 'dir' commands.  Nothing is ever listed
even when there are files and directories present.  No error message is
displayed on the client end just your typical:

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

On the server end I get the following error in my /usr/adm/SYSLOG:

Aug  8 15:06:24 6D:recluse ftpd[4338]: PORT
Aug  8 15:06:24 6D:recluse ftpd[4338]: LIST
Aug  8 10:06:24 2A:recluse unix: Dynamic loader /lib/libc.so.1 not
found, error=2

I searched the wu archives and found numerous problems with the dir and
ls command for Sun systems but could not find any problems specific to an
IRIX environment.

This problem only occurs when wu-ftp does a chroot (anonymous and
guestgroup accounts).

I put the 'ls' executable in ~ftp/bin and the libc.so.1 in ~ftp/lib.

I have a group and passwd file in ~ftp/etc.

Any Ideas?

Does anyone have a static linked 'ls' binary for IRIX 6.2?

Thanks - John Crouch
EDS Systems Engineer

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 16:27: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 m0uoeUQ-0004j0C; Thu, 8 Aug 96 16:27 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12665; Thu, 8 Aug 1996 18:23:08 -0500
Received: from mail.rio.com.br (copa.rio.com.br [200.255.192.34]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12515 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 18:18:11 -0500
Received: by mail.rio.com.br (AIX 4.1/UCB 5.64/1.00)
          id AA24458; Thu, 8 Aug 1996 20:18:42 -0300
Message-Id: <Pine.A32.3.91.960808201803.19350E-100000@copa.rio.com.br>
Date: Thu, 8 Aug 1996 20:18:42 -0300 (GRNLNDST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jose Roberto Bulcao <bulcao@mail.rio.com.br>
To: wu-ftpd@wugate.wustl.edu
Subject: Static version for "ls"
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	Hi,
	Does anybody can tell me where can I find a static compiled 
version of "ls" for AIX 4.1.3? 

	TIA,

----------------------------------------------------------------------------
Jose Roberto Bulcao             |           Tel    : (021) 571-4325/268-0717
RioLink Internet                |           Tel/Fax: (021) 208-0696
O Seu Servidor!!                |           e-mail : bulcao@rio.com.br
--------------------------------+-------------------------------------------
        ***** VISITE NOSSA HOME PAGE: http://www.rio.com.br *****
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 17:44: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 m0uofgs-000DOsC; Thu, 8 Aug 96 17:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA15426; Thu, 8 Aug 1996 19:42:21 -0500
Received: from ns.cmgate.com ([208.135.128.3]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA14872 for <wu-ftpd@wugate.wustl.edu>; Thu, 8 Aug 1996 19:31:08 -0500
Message-Id: <199608090031.TAA14872@wugate.wustl.edu>
Date: 8 Aug 1996 19:21:04 CST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sysop@cmgate.com
To: wu-ftpd@wugate.wustl.edu
Subject: ftp mailing list ???
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi.

Please forgive the waste of bandwidth for a real 'newbie' question,
but....

I subscribed to this list a short while ago....and I have been getting
email from the list.  However, I've also been getting quite a bit of
ftp-related mail *not* from the list - ie: email from individuals that
should be coming from the list.

What is going on here?  Is this normal for this list?

Thanks in advance.

Paul Scivetti
Central Minnesota Gateway, Inc.
sysop@cmgate.com

From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 22:45: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 m0uokNZ-0002NwC; Thu, 8 Aug 96 22:45 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id AAA25724; Fri, 9 Aug 1996 00:42:30 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA25529 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 00:32:32 -0500
Received: (from are1@localhost) by morpho.dar.net (8.7.5/8.6.9) id AAA03579; Fri, 9 Aug 1996 00:40:08 -0500
Message-Id: <Pine.LNX.3.91.960809003147.2680D-100000@morpho.dar.net>
Date: Fri, 9 Aug 1996 00:40:08 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Ellsworth <are1@cec.wustl.edu>
To: Sysop@cmgate.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp mailing list ???
In-Reply-To: <199608090031.TAA14872@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: are1@morpho.dar.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On 8 Aug 1996 Sysop@cmgate.com wrote:

> I subscribed to this list a short while ago....and I have been getting
> email from the list.  However, I've also been getting quite a bit of
> ftp-related mail *not* from the list - ie: email from individuals that
> should be coming from the list.
> 
> What is going on here?  Is this normal for this list?

Yep.  The wu-ftpd list is configured so that the "from" field shows the
sender of the message, and the "reply-to" field points back to the list. 
Rarely (if ever) should you get mail directly from the wu-ftpd list
itself.  You might check your headers...you should see something like: 

   Date: 8 Aug 1996 19:21:04 CST
   Reply-To: wu-ftpd@wugate.wustl.edu
   Sender: owner-wu-ftpd@wugate.wustl.edu
   From: Sysop@cmgate.com
   To: wu-ftpd@wugate.wustl.edu
   Subject: ftp mailing list ???

The From: field should show who wrote the message, and the Sender: field
should show who sent the message to your inbox.  If you are getting
messages from the list that have a From:  field of 'wu-ftpd' or
'owner-wu-ftpd', please let me know and I'll look into it. 

(Forgive me if you already knew about all the header stuff.)

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


From owner-wu-ftpd@wugate.wustl.edu Thu Aug  8 23:26: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 m0uol1D-000DRBC; Thu, 8 Aug 96 23:25 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id BAA26772; Fri, 9 Aug 1996 01:23:57 -0500
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.1.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id BAA26649 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 01:18:18 -0500
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.16.7]) by ecbull20.frec.bull.fr (8.7.5/8.7.3) with ESMTP id IAA22666 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 08:17:36 +0200
Received: (from diemer@localhost) by lozere.frec.bull.fr (8.7.5/8.7) id IAA18246 for wu-ftpd@wugate.wustl.edu; Fri, 9 Aug 1996 08:17:35 +0200
Message-Id: <199608090617.IAA18246@lozere.frec.bull.fr>
Date: Fri, 9 Aug 1996 08:17:35 +0200 (DFT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: P.Diemer@frec.bull.fr
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Static version for "ls"
In-Reply-To: <Pine.A32.3.91.960808201803.19350E-100000@copa.rio.com.br> from "Jose Roberto Bulcao" at Aug 8, 96 08:18:42 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

If you execute the //usr/samples/tcpip/anon.ftp you will get on
the directory ~ftp/bin a static version of "ls" . I'm running AIX 4.1.4
and i have tested it.

Have a good day,

Pascale
> 
> 
> 	Hi,
> 	Does anybody can tell me where can I find a static compiled 
> version of "ls" for AIX 4.1.3? 
> 
> 	TIA,
> 
> ----------------------------------------------------------------------------
> Jose Roberto Bulcao             |           Tel    : (021) 571-4325/268-0717
> RioLink Internet                |           Tel/Fax: (021) 208-0696
> O Seu Servidor!!                |           e-mail : bulcao@rio.com.br
> --------------------------------+-------------------------------------------
>         ***** VISITE NOSSA HOME PAGE: http://www.rio.com.br *****
> ----------------------------------------------------------------------------
> 
> 
> 


-- 

+----------------------------------------------+-----------------------------+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
|                                              |                             |
| Open Systems & Software                      | M/S     : FREC C1-059       |
| Open System Business Unit                    | ICN     : 229 7152          |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
| Software Packaging & Manufacturing Transfer  |                             | 
+----------------------------------------------+-----------------------------+

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  9 10:02: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 m0uouwe-000FPlC; Fri, 9 Aug 96 10:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA14980; Fri, 9 Aug 1996 11:58:52 -0500
Received: from campus.mty.itesm.mx (campus.mty.itesm.mx [131.178.4.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA14821 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 11:55:30 -0500
Received: from Itzel.mty.itesm.mx (itzel.mty.itesm.mx [131.178.38.74]) by campus.mty.itesm.mx (8.6.9/8.6.9) with SMTP id LAA71564 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 11:48:43 -0600
Message-Id: <Pine.WNT.3.92.960809111529.-462041B-100000@Itzel.mty.itesm.mx>
Date: Fri, 9 Aug 1996 11:56:49 -0500 ()
Reply-To: Carlos Lazcano-Vega <clazcano@campus.mty.itesm.mx>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Lazcano-Vega <clazcano@campus.mty.itesm.mx>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: About ftpwho
In-Reply-To: <199608090836.KAA01149@pizza.hvu.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: clazcano@campus.mty.itesm.mx
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> ftpcount.c uses /bin/ps. To get a listing of processes which shows modified
> environments you'll have to use /usr/ucb/ps with Solaris 2.x
>

I modified ftpcount.c to look like this:

  #if defined(SVR4) || defined (M_UNIX)
                    sprintf(line,"/usr/ucb/ps -aux %d",buf[which]);
  #else
                    sprintf(line,"/usr/ucb/ps %d",buf[which]);

but ftpwho still responds like this:

Service class local:
root      6526  0.4  5.4 2084 1624 ?        S 11:22:44  0:00 in.ftpd -la
root      2991  0.0  1.9 2076  576 ?        S 23:46:43  0:00 in.ftpd -la
root      2620  0.0  1.7 2076  496 ?        S 22:36:37  0:00 in.ftpd -la
   -   3 users ( 50 maximum)

Service class remote:
root      2565  0.0  1.9 1396  576 ?        S 22:28:38  0:00 in.ftpd -la
root      1919  0.0  1.4 2076  404 ?        S 20:50:55  0:00 in.ftpd -la
root      1391  0.0  1.3 2076  372 ?        S 19:09:45  0:00 in.ftpd -la
root      1849  0.0  0.4 2076  112 ?        S 20:41:40  0:00 in.ftpd -la
root      3259  0.0  2.0 2076  600 ?        S 02:19:27  0:00 in.ftpd -la
root      1218  0.0  0.4 2076  100 ?        S 18:46:07  0:00 in.ftpd -la
root      3072  0.0  1.9 2076  576 ?        S 00:11:24  0:00 in.ftpd -la
root      1187  0.0  1.0 2076  304 ?        S 18:39:31  0:01 in.ftpd -la
root      3093  0.0  1.9 2076  580 ?        S 00:22:10  0:00 in.ftpd -la

Is this all???

Thanx

---
Carlos Lazcano-Vega                 Voice: (52-8) 358-2000 x4084
Internet Services Manager           Fax: (52-8) 328-4129
ITESM / Technological Computing     Email: clazcano@campus.mty.itesm.mx
Av. Eugenio Garza Sada 2501 Sur     http://homepages.mty.itesm.mx/~clazcano/
Sucursal de Correos "J"
Monterrey, N.L, Mexico. CP 64849    Heroes get remembered; legends never died

            *** All my opinions are not really opinions ***


From owner-wu-ftpd@wugate.wustl.edu Fri Aug  9 15:44: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 m0up0I2-0007KMC; Fri, 9 Aug 96 15:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA02456; Fri, 9 Aug 1996 17:42:06 -0500
Received: from mail.rio.com.br (copa.rio.com.br [200.255.192.34]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA02219 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 17:33:57 -0500
Received: by mail.rio.com.br (AIX 4.1/UCB 5.64/1.00)
          id AA15422; Fri, 9 Aug 1996 19:33:32 -0300
Message-Id: <Pine.A32.3.91.960809191849.16672A-100000@copa.rio.com.br>
Date: Fri, 9 Aug 1996 19:33:31 -0300 (GRNLNDST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jose Roberto Bulcao <bulcao@copa.rio.com.br>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Static version for "ls"
In-Reply-To: <199608090617.IAA18246@lozere.frec.bull.fr>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	Pascale,

	Unfortunately, AIX 4.1.3 doesn't do that. The anon.ftp script copies a 
dynamic linked version of "ls" to ~/ftp/bin. So I need for both anonymous 
and guest accounts the bin/ls as the lib/libcurses.a and lib/libc.a 
which occupies near 2Mb of disk space!! 
	If someone knows where could I find the source code of "ls",  I 
would be grateful too.

	Tks,


On Fri, 9 Aug 1996 P.Diemer@frec.bull.fr wrote:

> Hi,
> 
> If you execute the //usr/samples/tcpip/anon.ftp you will get on
> the directory ~ftp/bin a static version of "ls" . I'm running AIX 4.1.4
> and i have tested it.
> 
> Have a good day,
> 
> Pascale
> > 
> > 
> > 	Hi,
> > 	Does anybody can tell me where can I find a static compiled 
> > version of "ls" for AIX 4.1.3? 
> > 
> > 	TIA,
> > 
> > ----------------------------------------------------------------------------
> > Jose Roberto Bulcao             |           Tel    : (021) 571-4325/268-0717
> > RioLink Internet                |           Tel/Fax: (021) 208-0696
> > O Seu Servidor!!                |           e-mail : bulcao@rio.com.br
> > --------------------------------+-------------------------------------------
> >         ***** VISITE NOSSA HOME PAGE: http://www.rio.com.br *****
> > ----------------------------------------------------------------------------
> > 
> > 
> > 
> 
> 
> -- 
> 
> +----------------------------------------------+-----------------------------+
> | Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
> |                                              |                             |
> | Open Systems & Software                      | M/S     : FREC C1-059       |
> | Open System Business Unit                    | ICN     : 229 7152          |
> | Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
> | System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
> | Software Packaging & Manufacturing Transfer  |                             | 
> +----------------------------------------------+-----------------------------+
> 

----------------------------------------------------------------------------
Jose Roberto Bulcao             |           Tel    : (021) 571-4325/268-0717
RioLink Internet                |           Tel/Fax: (021) 208-0696
O Seu Servidor!!                |           e-mail : bulcao@rio.com.br
--------------------------------+-------------------------------------------
        ***** VISITE NOSSA HOME PAGE: http://www.rio.com.br *****
----------------------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Fri Aug  9 20:49:12 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 m0up52z-000FLcC; Fri, 9 Aug 96 20:49 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id WAA09590; Fri, 9 Aug 1996 22:46:39 -0500
Received: from rescol.fse.ulaval.ca (rescol.fse.ulaval.ca [132.203.154.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id WAA09503 for <wu-ftpd@wugate.wustl.edu>; Fri, 9 Aug 1996 22:42:27 -0500
Received: by rescol.fse.ulaval.ca (5.x/SMI-SVR4)
	id AA23023; Fri, 9 Aug 1996 23:35:49 -0400
Message-Id: <Pine.SOL.3.91.960809233138.22998A-100000@rescol.fse.ulaval.ca>
Date: Fri, 9 Aug 1996 23:35:43 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Reed <creed@fse.ulaval.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: 0 out of -1 user
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

220-you are user 0 out of a maximum, -1 users.
220-
220-Today is Fri Aug  9 
220-
220 loup FTP server (Version wu-2.4(10) 
530 User creed access denied....
Login failed.


I saw this on the list.
I did some modifcations on one of my conf files, now I can"t ftp
anymore.


does any one has an idea on whta is going on?


have a nice weekend!


bye

From owner-wu-ftpd@wugate.wustl.edu Sun Aug 11 13:44: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 m0uphMZ-0004j6C; Sun, 11 Aug 96 13:43 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA01202; Sun, 11 Aug 1996 15:41:02 -0500
Received: from sol.ConnectDE.NET (Sol.ConnectDE.NET [194.112.66.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA00867 for <wu-ftpd@wugate.wustl.edu>; Sun, 11 Aug 1996 15:29:24 -0500
Received: from rigel.connectde.net (Rigel.ConnectDE.NET [194.112.66.39]) by sol.ConnectDE.NET (8.7.5/8.7.3) with ESMTP id WAA14440; Sun, 11 Aug 1996 22:28:41 +0200 (MET DST)
Received: from Bora.Strawberry.COM (root@kd-r1.ConnectDE.NET [194.112.66.40]) by rigel.connectde.net (8.7.5/8.7.3) with ESMTP id WAA10406; Sun, 11 Aug 1996 22:28:32 +0200 (MET DST)
Received: from scirocco.Strawberry.COM (root@Scirocco.Strawberry.COM [194.49.60.4]) by Bora.Strawberry.COM (8.7.3/8.7.3) with ESMTP id WAA06515; Sun, 11 Aug 1996 22:28:31 +0200
Received: from ghibli.strawberry.com (Ghibli.Strawberry.COM [194.49.60.51]) by scirocco.Strawberry.COM (8.7.5/8.7.3) with ESMTP id VAA01440; Sun, 11 Aug 1996 21:57:52 +0200
Received: (from jens@localhost) by ghibli.strawberry.com (8.7.5/8.7.3) id WAA02932; Sun, 11 Aug 1996 22:28:50 +0200 (MET DST)
Message-Id: <199608112028.WAA02932@ghibli.strawberry.com>
Date: Sun, 11 Aug 1996 22:28:49 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jens Hamisch <jens@strawberry.com>
To: wu-ftpd@wugate.wustl.edu
Cc: pwo@hl.siemens.de
Subject: Restricting users on virtual servers
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,

I've successfully installed wu-ftpd-2.4.2-academic-beta11 on our systems.
I'm using the VIRTUAL servers feature. This enables us providing single
FTP servers for allof our customers.

The only thing missing is a powerfull restriction of valid FTP logins on
these virtual servers. If user_a and user_b have different virtual servers
on the same machine, I don't want to enable user_b to log in to user_a's
virtual server with his account and password. This is required, because
different users are charged for the traffic of their ftp servers.

Therefore I've applied another patch to the FTPD. This patch introduces a
new token in the ftpaccess file:

	virtual aa.bb.cc.dd pass pass-file

assigning a password (style) file to the virtual FTP server at IP aa.bb.cc.dd.

Any user attempting to log in to the server is checked against the UID field
in this file. Access will only be granted, if the users name is found. There's
no evaluation of the remaining fields in that file.

I've appended my patch to this mail:


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

--- src/ftpd.c.orig	Sun Aug 11 11:36:08 1996
+++ src/ftpd.c	Sun Aug 11 15:44:57 1996
@@ -216,6 +216,7 @@
 char virtual_root[MAXPATHLEN];
 char virtual_banner[MAXPATHLEN];
 char virtual_logfile[MAXPATHLEN];
+char virtual_passfile[MAXPATHLEN];
 #endif
 
 int data;
@@ -379,6 +380,7 @@
 #ifdef VIRTUAL
       int virtual_len;
       int set;
+      virtual_passfile[0] = '\0';
 #endif
 
 #ifdef FACILITY
@@ -667,6 +669,8 @@
            strncpy(virtual_banner, ARG2, MAXPATHLEN);
          if(!strcmp(ARG1, "logfile")) 
            strncpy(virtual_logfile, ARG2, MAXPATHLEN);
+         if(!strcmp(ARG1, "pass")) 
+           strncpy(virtual_passfile, ARG2, MAXPATHLEN);
        }
       }
     }
@@ -840,6 +844,37 @@
     if ((p = getpwnam(name)) == NULL)
         return (p);
 #endif  /* M_UNIX */
+
+#ifdef VIRTUAL
+    if(virtual_mode) {
+	if( *virtual_passfile) {
+	    FILE *vpasswdf;
+	    if((FILE *) NULL != (vpasswdf = fopen( virtual_passfile, "r"))) {
+		char *vpassline, vpassbuf[ BUFSIZ];
+		char *vpasstok;
+		int found = 0;
+		while( !feof( vpasswdf) && !found) {
+		    vpassline = fgets( vpassbuf, BUFSIZ, vpasswdf);
+		    vpasstok = strtok( vpassline, ":");
+		    if( !strcmp( vpasstok, name))
+			found = 1;
+		}
+		fclose( vpasswdf);
+		if( !found) {
+		    syslog(LOG_NOTICE,
+			"VirtualFTP LOGIN REFUSED (name %s not in %s)",
+			name, virtual_passfile);
+		    return((struct passwd *) NULL);
+		}
+	    } else {
+		syslog(LOG_NOTICE,
+		    "VirtualFTP LOGIN REFUSED (passfile %s not found)",
+		    virtual_passfile); 
+		return((struct passwd *) NULL);
+	    }
+	}
+    }
+#endif
 
     if (save.pw_name)   free(save.pw_name);
     if (save.pw_gecos)  free(save.pw_gecos);
--- src/newvers.sh.orig	Sun Aug 11 15:49:09 1996
+++ src/newvers.sh	Sun Aug 11 15:50:23 1996
@@ -21,7 +21,7 @@
 if [ ! -r edit ]; then echo 0 > edit; fi
 touch edit
 awk '	{	edit = $1 + 1; }\
-END	{	printf "char version[] = \"Version wu-2.4.2-academ[BETA-11](%d) ", edit > "vers.c";\
+END	{	printf "char version[] = \"Version wu-2.4.2-academ[BETA-11.v1](%d) ", edit > "vers.c";\
 #LANG=
 #LC_TIME=
 		printf "%d\n", edit > "edit"; }' < edit

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

To install it:

    1.  save the patch in a file
    2.  unpack the wu-ftpd-2.4.2-academ-beta11 package
    3.  cd into the wu-ftp package root directory
    4.  install the patch using
	patch < <your_patch_file>
    5.	compile wu-ftpd as usual. Don't forget to turn on VIRTUAL support
    6.  add the new token to your ftpaccess file
    7.  enjoy ;-)

Notes:

    The ftp.pass file referenced in the ftpaccess should be of the same
    format as a /etc/passwd file, except that everything but the user
    name is void. 
    On some machines, the strcmp function may bounce if it is called with
    a NULL parameter. This will happen, if the strtok doesn't find a ':'.
    So the ftp.pass file at least should contain a ':' after all its
    user names.

    If you want to grant anonymous ftp access to the virtual server, the
    'user names' ftp and anonymous should occur in the ftp.pass file, too.

cu on the bitstream
-- Jens

--------------------------------------------------------------------------------
     /
 +##+|##+   STRAWBERRY                  Jens Hamisch
+v#+v v##+  EDV-Systeme GmbH            Managing director
/ v    v\v
| . .  . |  Brauneckweg 2               Car (Voice):  (+49 172) 81 04 162
|     .  |  D-82549 Koenigsdorf         Voice:        (+49 8179) 5278 Q, Fax
 | .     |                              Email:        jens@Strawberry.COM
 \   .  /   Tel./Fax: (+49 8179) 5278                 jens@ConnectDE.NET
  \____/    Strawberry@Strawberry.COM   Home (Email): jens@levante.muc.de


From owner-wu-ftpd@wugate.wustl.edu Sun Aug 11 13:57: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 m0uphZx-000DRTC; Sun, 11 Aug 96 13:57 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA01487; Sun, 11 Aug 1996 15:55:18 -0500
Received: from rapture.cyberflunk.com (rapture.cyberflunk.com [199.242.19.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA00997 for <wu-ftpd@wugate.wustl.edu>; Sun, 11 Aug 1996 15:32:11 -0500
Received: from localhost (wu@localhost) by rapture.cyberflunk.com (8.7.5/8.7.3) with SMTP id NAA02915 for <wu-ftpd@wugate.wustl.edu>; Sun, 11 Aug 1996 13:25:01 -0700 (PDT)
Message-Id: <Pine.SOL.3.94.960811132441.2897A-100000@rapture.cyberflunk.com>
Date: Sun, 11 Aug 1996 13:25:01 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: <wu@cyberflunk.com>
To: "'WUFTPD List'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: some way to encrypt passwords
In-Reply-To: <01BB8388.CFF0B430@ROGERH>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


You could always install sshd and have them use 'scp'

On Tue, 6 Aug 1996, Roger A. Hanke wrote:

> Dear List,
>  Have customers requesting that we somehow encrypt their FTP passwords
> so that they can not be sniffed off of the network if someone gained physical
> access.
>  Since we are currently using SSL with our HTTP servers the first suggestion
> was to use FTP over SSL as well. Does anyone know of any work with the
> WUFTPD to allow it to run on top of a SSL session? Or has there been any
> other work in this area for other approaches to protecting the real or guest
> account passwords from going in the clear across the network?
> 
>  Any info would be appreciated. Thanx,
> 	Roger Hanke
> 
> -------------------------------------------------------------------
>  Roger A. Hanke         AT&T Easy World Wide Web Service
>  (908)949-4091          rah@lynxhub.ho.att.com or
>  FAX (908)949-7171              roger.hanke@att.com
>  HO 6C-111              http://lynxhub.ho.att.com/~rah/	
> -------------------------------------------------------------------
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 12 08:08:40 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 m0upybf-0005jqC; Mon, 12 Aug 96 08:08 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uprTq-00008qC; Mon, 12 Aug 96 00:32 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA21264; Mon, 12 Aug 1996 02:25:46 -0500
Received: from roquefort.zdv.Uni-Mainz.DE (roquefort.zdv.Uni-Mainz.DE [134.93.8.119]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id CAA21008 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 02:15:22 -0500
Received: (from schoepf@localhost) by roquefort.zdv.Uni-Mainz.DE (8.7.5/8.6.12) id JAA11906; Mon, 12 Aug 1996 09:14:19 +0200 (MET DST)
Message-Id: <199608120714.JAA11906@roquefort.zdv.Uni-Mainz.DE>
Date: Mon, 12 Aug 1996 09:14:19 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rainer Schoepf <schoepf@uni-mainz.de>
To: Carlos Lazcano-Vega <clazcano@campus.mty.itesm.mx>
Cc: wu-ftpd@wugate.wustl.edu, schoepf@uni-mainz.de
Subject: Re: About ftpwho
In-Reply-To: <Pine.WNT.3.92.960809111529.-462041B-100000@Itzel.mty.itesm.mx>
References: <199608090836.KAA01149@pizza.hvu.nl>
	<Pine.WNT.3.92.960809111529.-462041B-100000@Itzel.mty.itesm.mx>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Carlos Lazcano-Vega writes:

 > > ftpcount.c uses /bin/ps. To get a listing of processes which shows modified
 > > environments you'll have to use /usr/ucb/ps with Solaris 2.x
 > >
 > 
 > I modified ftpcount.c to look like this:
 > 
 >   #if defined(SVR4) || defined (M_UNIX)
 >                     sprintf(line,"/usr/ucb/ps -aux %d",buf[which]);
 >   #else
 >                     sprintf(line,"/usr/ucb/ps %d",buf[which]);

Try the following:

#if defined(SVR4)
#ifdef AIX
                    sprintf(line,"/bin/ps %d",buf[which]);
#elif defined(sun)
                    sprintf(line,"/usr/ucb/ps auxww %d",buf[which]);
#else
                    sprintf(line,"/bin/ps -l -p %d",buf[which]);
#endif
#elif defined(M_UNIX)
                    sprintf(line,"/bin/ps -f -p %d",buf[which]);
#else
                    sprintf(line,"/bin/ps %d",buf[which]);
#endif

-- 
   Rainer Schöpf
   Zentrum für Datenverarbeitung           A point of view can be a dangerous
    der Universität Mainz                  luxury when substituted for insight
   Anselm-Franz-von-Bentzel-Weg 12         and understanding.
   D-55099 Mainz
   Germany                                  Herbert Marshall McLuhan:
   <Schoepf@Uni-Mainz.DE>                          The Gutenberg Galaxy

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 12 08:08:50 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 m0upybq-0005eMC; Mon, 12 Aug 96 08:08 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0upsNH-0000B9C; Mon, 12 Aug 96 01:29 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA23200; Mon, 12 Aug 1996 03:23:19 -0500
Received: from mail.madge.com (mail.madge.com [205.184.45.3]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA22739 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 03:13:54 -0500
Received: from Connect2 Message Router by mail.madge.com
	via Connect2-SMTP 4.00; Mon, 12 Aug 96 01:22:08 -0800
Message-Id: <37F2554B01441800@mail.madge.com>
Date: Mon, 12 Aug 96 8:12:18 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Peter Harris Service-LL" <pharris@madge.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: some way to encrypt passwords
In-Reply-To: <34F2554B01441800>
X-Sender: "Peter Harris Service-LL" <pharris@madge.com>
X-mailer: Connect2-SMTP 4.00 MHS to SMTP Gateway
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>>You could always install sshd and have them use 'scp'

Never heard of sshd - could you tell us more?
Pete
___________________________________
Peter Harris
Information Technologist
Services Information Group
Lodge Farm, Lodge Lane
England
Ext: 33201
DDI: +44 1494 541201
email: pharris@madge.com
___________________________________

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 12 08:12:19 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 m0upyfD-000DNcC; Mon, 12 Aug 96 08:12 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0upw9e-0003aKC; Mon, 12 Aug 96 05:31 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA01325; Mon, 12 Aug 1996 07:29:31 -0500
Received: from ns.noaa.gov (NS.NOAA.GOV [140.90.231.19]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id HAA01069 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 07:22:52 -0500
Received: from smtpgate.ssmc.noaa.gov (SMTPGATE.nws.noaa.gov [140.90.19.50]) by ns.noaa.gov (8.7.3/8.7.3) with SMTP id IAA22270 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 08:18:24 -0400 (EDT)
Received: from ccMail by smtpgate.ssmc.noaa.gov (SMTPLINK V2.11 PreRelease 4)
	id AA839863329; Mon, 12 Aug 96 08:03:26 EST
Message-Id: <9607128398.AA839863329@smtpgate.ssmc.noaa.gov>
Date: Mon, 12 Aug 96 08:03:26 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jmatusiewicz@SMTPGATE.NWS.NOAA.GOV
To: wu-ftpd@wugate.wustl.edu
Subject: Re[2]: Incorrect Logging Times
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     
        If you want, I can send you my compiled binaries that work OK for me 
        under AIX 3.2.5 and 4.2.


joe matusiewicz                         
national weather service                      __o
silver spring, md                           _`\<,_
301.713.0866 ext 174                       (_)/ (_)  
jmatusiewicz@nws.noaa.gov

        

______________________________ Reply Separator _________________________________
Subject: Re: Incorrect Logging Times
Author:  wu-ftpd@wugate.wustl.edu at smtpgate
Date:    8/8/96 1:05 PM


     
I have change the ~src/config/config.aix as you told me before execute 
the build aix .
The problem isn't resolved.
You can notice below that there is a difference of 2 hours
My variable TZ is well declared and the date command returns the good value= 
.
     
So I am lost....
     
Could someone help me.
     
Thanks
     
#ll pub/incoming
total 40
drwxrwsrwx   2 root     system       512 Aug 08 18:24 . 
drwxrwsrwx   3 root     system       512 Aug 07 09:46 .. 
-rw-r--r--   1 ftp      misc         456 Aug 08 18:24 journal 
-rw-r--r--   1 ftp      misc        5054 Aug 07 09:58 z001107.txt
     
BUT:
ftp> cd pub/incoming
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls. 
total 24
-rw-r--r--   1 ftp      misc         456 Aug  8 16:24 journal 
-rw-r--r--   1 ftp      misc        5054 Aug  7 07:58 z001107.txt 
226 Transfer complete.
     
+----------------------------------------------+---------------------------= 
--+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr   =
  |
|                                              |                           =
  |
| Open Systems & Software                      | M/S     : FREC C1-059     =
  |
| Open System Business Unit                    | ICN     : 229 7152        =
  |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52 =
  |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02 =
  |
| Software Packaging & Manufacturing Transfer  |                           =
  | 
+----------------------------------------------+---------------------------= 
--+
     
     
> 
>      
> Gents,
> 
> To solve the timestamp error under AIX, I had to recompile the source cod= 
e.
> If you don't, it seems to display GMT, the time in London.  The SETPROCTI= 
TLE
> definition clobbers the TZ variables.  Go into ~src/config/config.aix and 
> change the line from
> 
>         #define SETPROCTITLE
> TO
>         #undef SETPROCTITLE
> 
> Then do the build aix.
> 
> 
> joe matusiewicz                         
> national weather service                      __o 
> silver spring, md                           _`\<,_
> 301.713.0866 ext 174                       (_)/ (_)  
> jmatusiewicz@nws.noaa.gov=1A
> 
> 
     

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 12 08:12:24 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 m0upyfH-0005d7C; Mon, 12 Aug 96 08:12 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0upwi4-0003cEC; Mon, 12 Aug 96 06:07 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA03480; Mon, 12 Aug 1996 08:05:19 -0500
Received: from Capitol.Net (washington.capitol.net [204.193.144.100]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id HAA02057 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 07:42:30 -0500
Received: from washington (mikebat@mail.capitol.net [204.193.144.10]) by Capitol.Net (8.7.5/1996040201) id IAA22643; Mon, 12 Aug 1996 08:41:46 -0400 (EDT)
Message-Id: <Pine.SOL.3.94.960812082312.22338A-100000@washington>
Date: Mon, 12 Aug 1996 08:41:44 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Batchelor <mikebat@Capitol.Net>
To: "'WUFTPD List'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: some way to encrypt passwords
In-Reply-To: <Pine.SOL.3.94.960811132441.2897A-100000@rapture.cyberflunk.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mikebat@washington
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Sun, 11 Aug 1996 wu@cyberflunk.com wrote:

> 
> You could always install sshd and have them use 'scp'
> 
> On Tue, 6 Aug 1996, Roger A. Hanke wrote:
> 
> > Dear List,
> >  Have customers requesting that we somehow encrypt their FTP passwords
> > so that they can not be sniffed off of the network if someone gained physical
> > access.
> >  Since we are currently using SSL with our HTTP servers the first suggestion
> > was to use FTP over SSL as well. Does anyone know of any work with the
> > WUFTPD to allow it to run on top of a SSL session? Or has there been any
> > other work in this area for other approaches to protecting the real or guest
> > account passwords from going in the clear across the network?

Use the S/Key support in the academ beta 11 version.  You can get the S/Key
libraries from ftp.win.tue.nl in /pub/security in the package
logdaemon-5.0.tar.gz.  Not only will you get the S/Key libs, but you also
get S/Key support for Telnet, rlogin, rsh, su and so on.

I recommend using the OPIE key calculators for Mac and Windows, available
from ftp.nrl.navy.mil /pub/security/opie/contrib.  You can also just use the
whole OPIE 2.22 package instead of logdaemon 5.0 on your servers.  The
latest version of Fetch 3.0.1 support S/Key for ftp, using an external
calculator.  For Windows, use Winsock FTP, which shows server responses in
the small window at the bottom of the program (so you can see the S/Key
challenge).

---
  + + +      %%%%% Mike Batchelor % mikebat@Capitol.Net %%%%% A Division
 Capitol.Net %%%%%%%%%%% 301-306-9090 % V.34/ISDN %%%%%%%%%%%    of
     + + +   %% Serving Washington DC, No.VA, and Maryland %%   Criticom, Inc.

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 12 08:12:26 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 m0upyfJ-0005dvC; Mon, 12 Aug 96 08:12 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0upwpL-0003cDC; Mon, 12 Aug 96 06:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA03773; Mon, 12 Aug 1996 08:12:48 -0500
Received: from Capitol.Net (washington.capitol.net [204.193.144.100]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id HAA02274 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 07:46:55 -0500
Received: from washington (mikebat@mail.capitol.net [204.193.144.10]) by Capitol.Net (8.7.5/1996040201) id IAA22660; Mon, 12 Aug 1996 08:45:59 -0400 (EDT)
Message-Id: <Pine.SOL.3.94.960812084253.22338B-100000@washington>
Date: Mon, 12 Aug 1996 08:45:58 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Batchelor <mikebat@Capitol.Net>
To: Robert Kilgore <jrkiii@tenet.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: can't compile solaris and Bind 4.9.3
In-Reply-To: <320A628A.71E1@tenet.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mikebat@washington
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 8 Aug 1996, Robert Kilgore wrote:

> I ran into this problem also. The problem is that when you do a make
> install (or whatever it is) the BIND install install over some of the
> original header files and essentially destroys them. You will find that
> sendmail no longer compiles as well. My solution was to reinstall the
> original development system. It is a pain, but not as painful as finding
> out which files bind specifically destroyed and then replacing them
> individually. Good luck!

A better solution is to just get the most recent Recommended patch set for
Solaris 2.4, 2.5 or 2.5.1 for Sparc and/or x86, plus a couple other patches
mentioned in the README for the Recommended set.  Once you do that, you will
be using BIND 4.9.3patch1, including libresolv.so.2 and all the headers.  No
need to install BIND from source at all.  Sun has done it and made it a
public patch.

> Carlos Reed wrote:
> > 
> > I installed Bind 4.9.3 which installs ne header files and new libs.
> > 
> > In netdb.h MAXHOSTNAMELN is not there any more, so I had to move my
> > original files to compile wu-ftpd on solaris with the new BIND.
> > 
> > is there any patch for compiling wu-ftpd with the new bind stuff and the
> > beta 11 ?
> > 
> > thanks and have a nice day!
> 

---
  + + +      %%%%% Mike Batchelor % mikebat@Capitol.Net %%%%% A Division
 Capitol.Net %%%%%%%%%%% 301-306-9090 % V.34/ISDN %%%%%%%%%%%    of
     + + +   %% Serving Washington DC, No.VA, and Maryland %%   Criticom, Inc.

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 12 13:09: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 m0uq3Iu-00074sC; Mon, 12 Aug 96 13:09 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA05462; Mon, 12 Aug 1996 15:03:07 -0500
Received: from ursula.ee.pdx.edu (ursula.ee.pdx.edu [204.203.64.15]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA03638 for <wu-ftpd@wugate.wustl.edu>; Mon, 12 Aug 1996 14:44:47 -0500
Received: from locutus.cat.pdx.edu (locutus.cat.pdx.edu [204.203.71.90])
        by ursula.ee.pdx.edu (8.7.1/CATastrophe-12/23/94-P) with SMTP
        id MAA09978; Mon, 12 Aug 1996 12:44:03 -0700 (PDT) for 
Received: from localhost (localhost [127.0.0.1])
        by locutus.cat.pdx.edu (8.6.10/CATastrophe-9/18/94-C) with ESMTP
        id MAA07453; Mon, 12 Aug 1996 12:43:54 -0700 
Message-Id: <199608121943.MAA07453@locutus.cat.pdx.edu>
Date: Mon, 12 Aug 1996 12:43:52 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Toby L. Peltier {- CATatonic -}" <toby@ee.pdx.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: toby@ee.pdx.edu, pharris@madge.com
Subject: Re: some way to encrypt passwords 
In-Reply-To: Your message of "Mon, 12 Aug 1996 08:12:18 BST."
             <37F2554B01441800@mail.madge.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.7 5/3/96
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>>>You could always install sshd and have them use 'scp'
>
>Never heard of sshd - could you tell us more?
>
http://www.cs.hut.fi/ssh/



Toby

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 08:27: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 m0uqLNc-0007PkC; Tue, 13 Aug 96 08:27 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uqIz7-0003sgC; Tue, 13 Aug 96 05:54 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA08647; Tue, 13 Aug 1996 07:49:32 -0500
Received: from rc4.vub.ac.be (rc4.vub.ac.be [134.184.15.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id HAA08449 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 07:39:43 -0500
Received: from ultr9.vub.ac.be (ultr9.vub.ac.be [134.184.42.9]) by rc4.vub.ac.be (8.6.10/3.4.2.ap (rc4))
        id OAA24776; Tue, 13 Aug 1996 14:43:57 +0200
Received: by ultr9.vub.ac.be (940816.SGI.8.6.9/VUB-SG.920213)
	id OAA18306; Tue, 13 Aug 1996 14:36:22 +0200
Message-Id: <199608131236.OAA18306@ultr9.vub.ac.be>
Date: Tue, 13 Aug 1996 14:36:22 +0200 (DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: philstas@ultr9.vub.ac.be (Philippe Stas)
To: wu-ftpd@wugate.wustl.edu
Subject: NIS and wu-ftpd 2.4?
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,

Can anyone tell me if we have to use a special setting in the wu-ftpd
setup for giving ftp access to NIS users?

At this moment, (wu-ftpd 2.4 on Irix5.3) onyl persons that are in the
passwd file on the local machine can ftp to the machine; The ones in the
NIS databse cannot, for some odd reason

Some extra info:
the /etc/shells contains /bin/csh and /bin/tcsh, the only shells used 
in the system.

The passwd entry is +::-2:-2:::
giving -2 for userID and GroupID, so blocked access.

Thanks for helping me out



 Johor


"I was all alone, no one around
  and all I could hear was this fucked up sound."
_____________________________________________________________
_  Philippe Stas                        philstas@vub.ac.be  _
_  Dept. of Cellular Immunology                             _
_  Free University of Brussels          tel: 32-2-359.03.58 _
_  Paardenstraat 65                     Fax: 32-2-359.03.59 _
_  B1640 St.Genesius Rode                                   _
_                      http://homepages.vub.ac.be/~philstas _
_____________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 08:30:25 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 m0uqLQF-0009NfC; Tue, 13 Aug 96 08:30 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uqLBR-0003gXC; Tue, 13 Aug 96 08:15 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA15567; Tue, 13 Aug 1996 10:12:23 -0500
Received: from lpsmail.ksc.nasa.gov (lpsmail.ksc.nasa.gov [163.206.51.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA15332 for <wu-ftpd@mail.wustl.edu>; Tue, 13 Aug 1996 10:07:20 -0500
Received: from ntnet3.ksc.nasa.gov (ntnet3.ksc.nasa.gov [163.206.51.51]) by lpsmail.ksc.nasa.gov (8.6.12/8.6.12) with SMTP id LAA24426 for <wu-ftpd@mail.wustl.edu>; Tue, 13 Aug 1996 11:05:17 -0400
Received: by ntnet3.ksc.nasa.gov with Microsoft Exchange (IMC 4.0.837.3)
	id <01BB8907.77968470@ntnet3.ksc.nasa.gov>; Tue, 13 Aug 1996 11:06:24 -0400
Message-Id: <c=US%a=_%p=nasa%l=TENET/ENTERPRISE/0004003D@ntnet3.ksc.nasa.gov>
Date: Tue, 13 Aug 1996 11:03:37 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Madden, Joe" <jmadden@lps3net.ksc.nasa.gov>
To: "'WU-FTP'" <wu-ftpd@wugate.wustl.edu>
Subject: WU-FTPD Apparently Ignores _FTP_EXECPATH
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Good morning faithful list readers,

I am still trying to install and secure my wu-ftpd server running on my
DEC Alpha 2100.

As suggested in the documentation, I have created a /bin/ftp-exec
directory both at the root level and the ftp chroot level.  I placed the
statically linked "ls" binary in this directory and compiled ftpd.c with
the _FTP_EXECPATH defined as "/bin/ftp-exec".  After compilation and
installation I was unable to get the "dir" command to execute properly. 
As a test I moved the "ls" binary into the "/bin" directory under the
ftp chroot and the "dir" command processed as expected.  Did I goof on
the configuration, build and install procedure or does my version of
wu-ftpd require a patch to fix, or ........?  I have installed
wu-ftpd-2.4

After tripping through ftpd.c,  I found an area in the main{} segment
which hard codes calls to the "/bin/ls" command.  I would have expected
this to be "_FTP_EXECPATH/ls" instead!  Any suggestions?  I need to get
this server running and I don't feel too comfortable placing it "out
there" with a bug.

Please respond...thanks!

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 08:34: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 m0uqLTx-0009e1C; Tue, 13 Aug 96 08:34 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA16886; Tue, 13 Aug 1996 10:31:24 -0500
Received: from red.cegelec-red.fr (redgw.cegelec-red.fr [192.93.31.114]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA15532 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 10:11:43 -0500
Received: from dms.cegelec-red.fr (dms [150.0.240.56]) by red.cegelec-red.fr (8.7/8.6.12) with SMTP id RAA26409 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 17:12:45 +0200 (MET DST)
Received: from mis05.cegelec-red.fr by dms.cegelec-red.fr (4.1/SMI-4.1)
	id AA20550; Tue, 13 Aug 96 17:13:17 +0200
Message-Id: <199608131512.RAA26409@red.cegelec-red.fr>
Date: Tue, 13 Aug 96 17:13:17 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tfrati@cegelec-red.fr (Thierry Frati)
To: wu-ftpd@wugate.wustl.edu
Subject: Help on WU FTP 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello all,

I am running wu-ftpd on a Sun running Solaris 2.3. I am trying to
extract files from a tar file generated on a Sun. I need this 
functionnality on different OS including VMS, WIN95, Windows/NT.

Any help would be much appreciated.  Thanks!

Thierry FRATI

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 12:27: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 m0uqP7K-0007QMC; Tue, 13 Aug 96 12:27 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA29419; Tue, 13 Aug 1996 14:21:27 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA28976 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 14:14:20 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.5/8.6.9) with SMTP id OAA09167 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 14:25:43 -0500
Message-Id: <Pine.LNX.3.95.960813142344.8678C-100000@morpho.dar.net>
Date: Tue, 13 Aug 1996 14:25:42 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Ellsworth <are1@cec.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help on WU FTP 
In-Reply-To: <199608131512.RAA26409@red.cegelec-red.fr>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: morpho.dar.net: are1 owned process doing -bs
X-Sender: are1@morpho.dar.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 13 Aug 1996, Thierry Frati wrote:

> I am running wu-ftpd on a Sun running Solaris 2.3. I am trying to
> extract files from a tar file generated on a Sun. I need this 
> functionnality on different OS including VMS, WIN95, Windows/NT.

The latest GNU tar should handle almost any tarfile format (old or new);
I believe prep.ai.mit.edu has binaries of GNU tar for all the platforms
you mentioned.  (If not, the only tough binaries would be 95/NT, which you
can find DOS versions of at wuarchive.wustl.edu/systems/msdos/gnuish)

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

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 13:09: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 m0uqPm6-000DJ6C; Tue, 13 Aug 96 13:09 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA01631; Tue, 13 Aug 1996 15:06:12 -0500
Received: from light.lightlink.com (light.lightlink.com [205.232.34.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA00956 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 14:57:41 -0500
Received: from localhost (homer@localhost) by light.lightlink.com (8.6.12/8.6.12) with SMTP id PAA27951 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 15:56:58 -0400
Message-Id: <Pine.SUN.3.95.960813155626.27616E-100000@light.lightlink.com>
Date: Tue, 13 Aug 1996 15:56:58 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help on WU FTP 
In-Reply-To: <Pine.LNX.3.95.960813142344.8678C-100000@morpho.dar.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


    The most recent version of tar on prep.ai has a compile problem
in the intl directory for SunOS 4.1.4.

------------------------------------------------------------------------------
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

On Tue, 13 Aug 1996, Andy Ellsworth wrote:

> On Tue, 13 Aug 1996, Thierry Frati wrote:
> 
> > I am running wu-ftpd on a Sun running Solaris 2.3. I am trying to
> > extract files from a tar file generated on a Sun. I need this 
> > functionnality on different OS including VMS, WIN95, Windows/NT.
> 
> The latest GNU tar should handle almost any tarfile format (old or new);
> I believe prep.ai.mit.edu has binaries of GNU tar for all the platforms
> you mentioned.  (If not, the only tough binaries would be 95/NT, which you
> can find DOS versions of at wuarchive.wustl.edu/systems/msdos/gnuish)
> 
> +----------------------------------------------------------------------------+
> | Andy Ellsworth  |  are1@cec.wustl.edu |  Admin/Cyberdiplomat, Wuarchive    |
> +----------------------------------------------------------------------------+
> |  "...The wind was not the beginning.  There are neither beginnings nor     |
> | endings to the turning of the Wheel of Time.  But it was _a_ beginning..." |
> |                                   --The Wheel of Time saga, Robert Jordan  |
> +----------------------------------------------------------------------------+
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 14:02: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 m0uqQbp-0000ZLC; Tue, 13 Aug 96 14:02 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA04505; Tue, 13 Aug 1996 15:58:41 -0500
Received: from halo.angel.net (halo.angel.net [204.141.48.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA04351 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 15:54:31 -0500
Received: (from nina@localhost) by halo.angel.net (8.7.3/8.6.12) id QAA12274; Tue, 13 Aug 1996 16:52:58 -0400 (EDT)
Message-Id: <Pine.SUN.3.91.960813164951.12247A-100000@halo.angel.net>
Date: Tue, 13 Aug 1996 16:52:57 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Nina Burns-Pomeroy <nina@kineticwave.com>
To: wu-ftpd@wugate.wustl.edu
Subject: restricted ftp login
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: nina@halo.angel.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi.  I'm running IRIX 6.2 with wu-ftpd 2.4.

I've set up an id with /etc/ftponly as their shell.  I would like this 
user to only be able to ftp and only see their home directory when they 
ftp in.  Currently, we then ftp to the host, they do get to their home 
directory however, if I cd / they can get to the rest of the machine.

Any suggestions?  Please reply directly to me as I am not a subscriber to 
this list.  I will post a summary of reponses.  Thanks!

N

=====================================================================
Nina Burns Pomeroy	                   Senior Consultant/Designer
Kinetic Wave					 nina@kineticwave.com
			www.kineticwave.com
=====================================================================



From owner-wu-ftpd@wugate.wustl.edu Tue Aug 13 16:12: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 m0uqSdV-000AfxC; Tue, 13 Aug 96 16:12 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA10433; Tue, 13 Aug 1996 18:09:04 -0500
Received: from indy.tumble.com (indy.tumble.com [205.147.150.3]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA09626 for <wu-ftpd@wugate.wustl.edu>; Tue, 13 Aug 1996 17:51:10 -0500
Received: by indy.tumble.com (950413.SGI.8.6.12/940406.SGI.AUTO)
	 id SAA06543; Tue, 13 Aug 1996 18:45:05 -0700
Message-Id: <Pine.SGI.3.91.960813184017.6532B-100000@indy.tumble.com>
Date: Tue, 13 Aug 1996 18:45:05 -0700 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Nina Burns Pomeroy <nina@indy.tumble.com>
To: wu-ftpd@wugate.wustl.edu
Subject: guest group help
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm encountering a strange problem.  It seems that followed each step 
found in the ftp://ftp.fni.com/pub/wu-ftpd/guest-howto and it seems that 
when I ftp login as the guest user, I cannot see anything of the chroot'd 
area.  The passwd files specifies 

guest:twAvzaxxO5tP6:127:12:Guest 
User:/disk4/ftp_sites/novartis/./:/etc/ftponly

The ftpaccess file has the 
guestgroup misc

in which misc is gid 12.   And 
class   all   real,guest,anonymous *

Any clues?  Please reply directly as I am not a subscriber.  

Thanks,
N

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 15 11:09:12 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 m0ur6qw-0000tFC; Thu, 15 Aug 96 11:09 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA02703; Thu, 15 Aug 1996 13:05:20 -0500
Received: from orion.w3page.com (p04.pm-4.pm.dimensional.com [206.100.130.100]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA09669 for <wu-ftpd@wugate.wustl.edu>; Wed, 14 Aug 1996 11:31:53 -0500
Received: (from blaine@localhost) by orion.w3page.com (8.6.9/8.6.9) id KAA02658 for wu-ftpd@mail.wustl.edu; Wed, 14 Aug 1996 10:27:54 -0600
Message-Id: <199608141627.KAA02658@orion.w3page.com>
Date: Wed, 14 Aug 1996 10:27:54 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Blaine Minazzi <dws@w3page.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual FTP on Free-BSD
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

 
 I am in need of some tips on setting up Beta 11
on Free-BSD Release 2.1, doing multi homed ftp.

I have read the FAQ,(s), and I'm pretty sure
that the part I'm missing is something simple.

Is there a complete, step by step FAQ or howto
that may help in getting this running?

What I hope to accomplish is an anonymous ftp to
 test1.com will have a different directory structure
and login banner than an anonymous ftp to test2.com...

Any suggestions?

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 15 11: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 m0ur76m-000DPLC; Thu, 15 Aug 96 11:25 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA03295; Thu, 15 Aug 1996 13:22:49 -0500
Received: from kinetica.com (lancelot.kinetica.co.il [194.90.25.122]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA14998 for <wu-ftpd@wugate.wustl.edu>; Wed, 14 Aug 1996 14:14:31 -0500
Received: from dialup.netvision.net.il (ts004p9.pop4a.netvision.net.il [194.90.3.83]) by kinetica.com (8.7.5/8.7.3) with SMTP id WAA00896 for <wu-ftpd@wugate.wustl.edu>; Wed, 14 Aug 1996 22:20:06 +0200
Message-Id: <Chameleon.960814215652.Yon@dialup.netvision.net.il>
Date: Wed, 14 Aug 96 21:56:41 GMT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: yon@kinetica.com
To: wu-ftpd@wugate.wustl.edu
Subject: WU-ftpd Copyrights - Legal question 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-MAILER: Chameleon V0.05, TCP/IP for Windows, NetManage Inc.
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Suppose I want to add features to WU-Ftpd and sell it.
The Copyrights in the header of each source file are all the Copyrights of 
WU? eg: Do I have to notify WU that I start to sell improved WU-ftpd?

regards,
Menashe



From owner-wu-ftpd@wugate.wustl.edu Thu Aug 15 11:32: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 m0ur7DN-0002LNC; Thu, 15 Aug 96 11:32 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA03629; Thu, 15 Aug 1996 13:28:45 -0500
Received: from domain.com.br (ipanema.domain.com.br [200.255.166.17]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA15282 for <wu-ftpd@wugate.wustl.edu>; Wed, 14 Aug 1996 14:22:44 -0500
Received: (nelson@localhost) by domain.com.br (SMI-8.6/SMI-SVR4)
	id QAA11943; Wed, 14 Aug 1996 16:19:17 -0300
Message-Id: <199608141919.QAA11943@domain.com.br>
Date: Wed, 14 Aug 1996 16:19:17 -0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: nelson@ipanema.domain.com.br (Nelson C. L. Pedrozo)
To: wu-ftpd@wugate.wustl.edu
Subject: Old problem (argh!)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



  I've set up guest accounts, *almost* everything works like clockwork. 
Guest user gets in, is able to CD in to different directories, doesn't get
denied, all in place. What doesn't work is 'ls -l'. I swear that I have all
the /dev files (tcp, udp, zero and ticotsord), all the needed libraries, the
group and passwd files and that everyone's permissions are right. What else
should I do?


			Nelson C. L. Pedrozo

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 15 11:37: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 m0ur7In-0002LNC; Thu, 15 Aug 96 11:37 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA04009; Thu, 15 Aug 1996 13:34:37 -0500
Received: from cs.sunysb.edu (sbcs.sunysb.edu [130.245.1.15]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA20130 for <wu-ftpd@wugate.wustl.edu>; Wed, 14 Aug 1996 16:53:46 -0500
Received: from sbanne.csdept (sbanne.cs.sunysb.edu [130.245.1.68]) by cs.sunysb.edu (8.6.12/8.6.9) with SMTP id RAA14286 for <wu-ftpd@wugate.wustl.edu>; Wed, 14 Aug 1996 17:57:24 -0400
Message-Id: <199608142157.RAA14286@cs.sunysb.edu>
Date: Wed, 14 Aug 1996 17:54:59 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Anne Kilarjian <anne@CS.SunySB.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Beta 11 compile under SunOS
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Compile fails with the following:

"ftpd.c", line 3406: syntax error at or near variable name "const"
"ftpd.c", line 3489: const undefined

Anybody have a fixed version?

Thanks
Anne Kilarjian
anne@cs.sunysb.edu

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 15 18:39: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 m0urDsy-000FHuC; Thu, 15 Aug 96 18:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA03175; Thu, 15 Aug 1996 20:36:24 -0500
Received: from thor.fusion.com (thor.fusion.com [204.176.224.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA03005 for <wu-ftpd@wugate.wustl.edu>; Thu, 15 Aug 1996 20:28:40 -0500
Received: from Emperor.Fusion.Com (emporer.fusion.com [204.176.224.34]) by thor.fusion.com (8.6.9/8.6.9) with SMTP id SAA10001 for <wu-ftpd@mail.wustl.edu>; Thu, 15 Aug 1996 18:18:35 -0700
Message-Id: <199608160118.SAA10001@thor.fusion.com>
Date: Thu, 15 Aug 1996 18:18:35 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mzellers@Fusion.Com (Mark H. Zellers)
To: wu-ftpd@wugate.wustl.edu
Subject: Can't get wu-ftpd to set umask correctly
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mhz@Thor.Fusion.Com
X-Mailer: Windows Eudora Version 2.0.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have just downloaded and set up wu-ftpd on a Sun 4.1.3 system.

I think I have it mostly configured with one slight problem:

If I log in as an anonymous user and upload a file, the file ownership is not
being set as I have specified in the ftpaccess file.

Here are what I think are the relevant lines:

upload /usr2/home/thor/ftp  *                  no
upload /usr2/home/thor/ftp  /pub/incomming     yes root other 0311              
what I'm ending up with is the uploaded files owned by ftp/daemon with rw
access.

This seems to be a pretty basic case, I must be doing something wrong.          
Thanks,

Mark Z.
                        
-------------------------------------------------------------------------------
Mark H. Zellers                                             mzellers@Fusion.Com
Fusion Software, Inc.                                       Ph:  (415) 327-3873
445 Sherman Ave, Palo Alto, CA                              Fax: (415) 327-7111

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 16 08:01: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 m0urQOP-000DOdC; Fri, 16 Aug 96 08:00 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA23045; Fri, 16 Aug 1996 09:57:52 -0500
Received: from lpsmail.ksc.nasa.gov (lpsmail.ksc.nasa.gov [163.206.51.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA22388 for <wu-ftpd@wugate.wustl.edu>; Fri, 16 Aug 1996 09:44:27 -0500
Received: from ntnet3.ksc.nasa.gov (ntnet3.ksc.nasa.gov [163.206.51.51]) by lpsmail.ksc.nasa.gov (8.6.12/8.6.12) with SMTP id KAA28950 for <wu-ftpd@wugate.wustl.edu>; Fri, 16 Aug 1996 10:43:41 -0400
Received: by ntnet3.ksc.nasa.gov with Microsoft Exchange (IMC 4.0.837.3)
	id <01BB8B5F.F4212EF0@ntnet3.ksc.nasa.gov>; Fri, 16 Aug 1996 10:44:51 -0400
Message-Id: <c=US%a=_%p=nasa%l=TENET/ENTERPRISE/000423F0@ntnet3.ksc.nasa.gov>
Date: Fri, 16 Aug 1996 10:43:08 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Madden, Joe" <jmadden@lps3net.ksc.nasa.gov>
To: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: RE: Can't get wu-ftpd to set umask correctly
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

There is an undocumented command line switch that you might try
including in your inetd.conf file.  For example:

  ftp stream tcp nowait root /usr/local/bin/ftpd  ftpd -alL -u 177

This switch should be processed properly in ftpd.c.  This is only
general advice for  your case since I do not run wu-ftpd on any Sun
platforms.  I hope this helps.

>----------
>From: 	mzellers@Fusion.Com[SMTP:mzellers@Fusion.Com]
>Sent: 	Thursday, August 15, 1996 9:18 PM
>To: 	wu-ftpd@wugate.wustl.edu
>Subject: 	Can't get wu-ftpd to set umask correctly
>
>I have just downloaded and set up wu-ftpd on a Sun 4.1.3 system.
>
>I think I have it mostly configured with one slight problem:
>
>If I log in as an anonymous user and upload a file, the file ownership
>is not
>being set as I have specified in the ftpaccess file.
>
>Here are what I think are the relevant lines:
>
>upload /usr2/home/thor/ftp  *                  no
>upload /usr2/home/thor/ftp  /pub/incomming     yes root other 0311     
>        
>what I'm ending up with is the uploaded files owned by ftp/daemon with
>rw
>access.
>
>This seems to be a pretty basic case, I must be doing something wrong. 
>        
>Thanks,
>
>Mark Z.
>                        
>------------------------------------------------------------------------
>-------
>Mark H. Zellers                                            
>mzellers@Fusion.Com
>Fusion Software, Inc.                                       Ph:  (415)
>327-3873
>445 Sherman Ave, Palo Alto, CA                              Fax: (415)
>327-7111
>
>

From owner-wu-ftpd@wugate.wustl.edu Sat Aug 17 05:10: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 m0urkDH-000D3QC; Sat, 17 Aug 96 05:10 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA01573; Sat, 17 Aug 1996 07:07:40 -0500
Received: from sol.connectde.net (Sol.ConnectDE.NET [194.112.66.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id GAA01376 for <wu-ftpd@wugate.wustl.edu>; Sat, 17 Aug 1996 06:58:04 -0500
Received: from rigel.connectde.net (Rigel.ConnectDE.NET [194.112.66.39]) by sol.connectde.net (8.7.5/8.7.3) with ESMTP id NAA06921; Sat, 17 Aug 1996 13:57:11 +0200 (MET DST)
Received: from Bora.Strawberry.COM (root@kd-r1.ConnectDE.NET [194.112.66.40]) by rigel.connectde.net (8.7.5/8.7.3) with ESMTP id NAA18350; Sat, 17 Aug 1996 13:57:08 +0200 (MET DST)
Received: from scirocco.Strawberry.COM (root@Scirocco.Strawberry.COM [194.49.60.4]) by Bora.Strawberry.COM (8.7.3/8.7.3) with ESMTP id NAA10840; Sat, 17 Aug 1996 13:57:06 +0200
Received: from ghibli.strawberry.com (Ghibli.Strawberry.COM [194.49.60.51]) by scirocco.Strawberry.COM (8.7.5/8.7.3) with ESMTP id NAA08617; Sat, 17 Aug 1996 13:28:10 +0200
Received: (from jens@localhost) by ghibli.strawberry.com (8.7.5/8.7.3) id NAA03880; Sat, 17 Aug 1996 13:57:27 +0200 (MET DST)
Message-Id: <199608171157.NAA03880@ghibli.strawberry.com>
Date: Sat, 17 Aug 1996 13:57:26 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jens Hamisch <jens@strawberry.com>
To: wu-ftpd@wugate.wustl.edu
Cc: pwo@hl.siemens.de
Subject: NFS problem; virtual Servers
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,

there has been a NFS problem with the wu-ftpd-2.4.2-beta11. The problem was,
that ftpd tried to do the following in case of a STORE command:

     fd = open( 'destinaton file', ....)
     setuid( 0);
     fchown( fd, uid, gid);
     setuid( ftp);

     .... write the file contents

     close( fd);

This will only work for none-NFS file systems. In cae of NFS, the FTPD will
get a 'EACCESS' at the close command, because it runs as user 'ftp' and tries
to write and close a file owned by the user 'uid' on the remode NFS file
system. That'll only work on none-NFS systems, because the writing process
still owns the file after changing the ownership.

I've fixed this by moving the fchown part behind the close statement. This
works out fine even for UFS and NFS file systems.

Also I've applied another patch to the wu-ftpd virtual server capability. Some
of the changes I've made have been posted already last week. They are part of
the patch, which comes with this mail.

I've inroduced 2 new command to the ftpaccess file. The first is

    virtual <address> pass <filename>

which assigns a pass-file to the virtual server running at the specified IP
address. This file names a list of user-ids being allowed to access the vir-
tual server. The file format may be a simple list (yes, in my last patch this
would produce a core dump ... now it is fixed ;-) of user IDs with one user
name per line, or a copy of the local /etc/passwd file. In case of using the
passwd file, everything behind the first ':' may be removed to increase the
security of your system.

The second one is a

    virtual <address> upload <root-dir> <dirglob> <yes|no> <owner> <group> ...

command, which implements upload restrictions that apply only for a single
virtual server.

The patch may be applied to the wu-ftpd-2.4.2-beta11 package by

    1.)  Save the patch to a single file (e.g. 'patch-ftpd') and remove
	 everything, which is added by the mail transfer

    2.)  Unpack your wu-ftpd-2.4.2-beta11 packge

    3.)  cd wu-ftpd-2.4.2-beta11

    4.)  patch < patch-ftpd   or whatever the filename of your pathfile is

    5.)  compile wu-ftpd as usual

The following files are affected by the patch:

    src/ftpd.c
    src/extensions.c
    src/newvers.sh
    doc/ftpaccess.5
    ./VIRTUAL.FTP.SUPPPORT

Maybe the new functionality will be part of the next wu-ftpd (academic) distri-
butions. On request, I may put the entire patched ftpd-distribution on our
ftp-server.
In any case, I would like to get your feedback if there are security incidents,
comilation problems or somewhat else.


cu on the bitstream
jens

---- snip -----------------------------------------------------------

--- ./doc/ftpaccess.5.orig	Sat Aug 17 10:49:58 1996
+++ ./doc/ftpaccess.5	Sat Aug 17 11:14:22 1996
@@ -296,24 +296,49 @@
 
 The external program ftpshut(8) can be used to automate the
 process of generating this file.
+.SH Extended Access Capabilities for virtual servers
+The capabilitiy to run virtual FTP servers prerequisites some 
+options to be enabled at compile time of the FTP server. Please
+refer the installation instructions in order to enable your
+FTP server for running virtual adresses.
+You need to assign a single IP address for each of your virtual
+FTP servers. Many operating systems (such as Solaris) offer the
+opportunity to do this by adding virtual addresses to your primary
+network interface using the ifconfig command. On SunOS, you will
+have to install the (public domain) vif package first. All addresses
+refered in the following belong to these virtual IP addresses and
+are to be specified in a numeric dotted form as 'a.b.c.d'.
 .TP 0.5i
-.B virtual <address> <root|banner|logfile> <path>
-Enables the virtual ftp server capabilities. The <address> is the ip address
-of the virtual server. The second arguement specifies that the <path> is either
-the path to the 
-.B root
-of the filesystem for this virtual server, the
-.B banner
-presented to the user when connecting to this virtual server, or the
-.B logfile 
-where transfers are recorded for this virtual server. If the
-.B logfile
-is not specified the default logfile will be used. 
-All  other message files and permissions as well as any
-other settings in this file apply to all virtual servers. 
+.B virtual <address> root <path>
+Specifies the root path of your virtual FTP server running at
+IP address <address>.
+.TP 0.5i
+.B virtual <address> banner <path>
+Specifies a banner file to be displayed for this specific virtual
+FTP server.
+.TP 0.5i
+.B virtual <address> logfile <path>
+Defines a path, where to put the logfiles for the virtual server.
+.TP 0.5i
+.B virtual <address> pass <path>
+This defines a (password-) file which restricts the users being allowed
+to access the virtual server at <address>. The file named as third
+parameter of this command may either a copy of your password file or
+simply a list of user names. No authentication is done using this file,
+so if you'd like to copy your password file, you're free to remove
+everything which is security sensitive in this file (e.g. the encrypted
+password). If you don't specify a virtual pass phrase, any user known
+on your system is allowed to access the server. If you do, don't forget
+to add the 'ftp' and the 'anonymous' user in order to anable anonymous
+ftp support for your virtual server.
+.TP 0.5i
+.B virtual <address> upload <root-dir> <dirglob> <yes|no> <owner> <group> <mode> ["dirs"|"nodirs"]
+This is a special upload command valid for your virtual server. The
+parameters and their meaning of the command are the same as for the normal
+upload command described later in this manpage.
 
 NOTE: Your operating system may not support this feature. It has been tested
-on BSD/OS, Solaris 2.X and Linux.
+on BSD/OS, SunOS 4.1.3, Solaris 2.X and Linux.
 
 .SH Permission Capabilities
 .TP 0.5i
--- ./src/ftpd.c.orig	Sun Aug 11 11:36:08 1996
+++ ./src/ftpd.c	Sat Aug 17 10:39:06 1996
@@ -216,6 +216,7 @@
 char virtual_root[MAXPATHLEN];
 char virtual_banner[MAXPATHLEN];
 char virtual_logfile[MAXPATHLEN];
+char virtual_passfile[MAXPATHLEN];
 #endif
 
 int data;
@@ -379,6 +380,7 @@
 #ifdef VIRTUAL
       int virtual_len;
       int set;
+      virtual_passfile[0] = '\0';
 #endif
 
 #ifdef FACILITY
@@ -620,6 +622,7 @@
     authenticate();
     conv_init();
 
+#if 0
 #ifdef VIRTUAL
     virtual_len = sizeof(virtual_addr);
     if (getsockname(0, (struct sockaddr *) &virtual_addr,
@@ -643,6 +646,7 @@
       }
     }
 #endif
+#endif
 
 
 #ifdef VIRTUAL
@@ -667,6 +671,8 @@
            strncpy(virtual_banner, ARG2, MAXPATHLEN);
          if(!strcmp(ARG1, "logfile")) 
            strncpy(virtual_logfile, ARG2, MAXPATHLEN);
+         if(!strcmp(ARG1, "pass")) 
+           strncpy(virtual_passfile, ARG2, MAXPATHLEN);
        }
       }
     }
@@ -841,6 +847,38 @@
         return (p);
 #endif  /* M_UNIX */
 
+#ifdef VIRTUAL
+    if(virtual_mode) {
+	if( *virtual_passfile) {
+	    FILE *vpasswdf;
+	    if((FILE *) NULL != (vpasswdf = fopen( virtual_passfile, "r"))) {
+		char *vpassline, vpassbuf[ BUFSIZ];
+		char *vpasstok;
+		int found = 0;
+		while( !feof( vpasswdf) && !found) {
+		    vpassline = fgets( vpassbuf, BUFSIZ, vpasswdf);
+		    vpasstok = strtok( vpassline, ":");
+		    if( !vpasstok) vpasstok = vpassline;
+		    if( !strcmp( vpasstok, name))
+			found = 1;
+		}
+		fclose( vpasswdf);
+		if( !found) {
+		    syslog(LOG_NOTICE,
+			"VirtualFTP LOGIN REFUSED (%s not in %s)",
+			name, virtual_passfile);
+		    return((struct passwd *) NULL);
+		}
+	    } else {
+		syslog(LOG_NOTICE,
+		    "VirtualFTP LOGIN REFUSED (passfile %s not found)",
+		    virtual_passfile); 
+		return((struct passwd *) NULL);
+	    }
+	}
+    }
+#endif
+
     if (save.pw_name)   free(save.pw_name);
     if (save.pw_gecos)  free(save.pw_gecos);
     if (save.pw_dir)    free(save.pw_dir);
@@ -1840,7 +1878,6 @@
 {
     FILE *fout, *din;
     struct stat st;
-    int (*closefunc) ();
 #ifdef __STDC__
     char *gunique(char *local);
 #else
@@ -1927,18 +1964,6 @@
         perror_reply(553, name);
         return;
     }
-    /* if we have a uid and gid, then use them. */
-
-    if (valid > 0) {
-        oldid = geteuid();
-        (void) seteuid((uid_t) 0);
-        if ((fchown(fdout, uid, gid)) < 0) {
-            (void) seteuid(oldid);
-            perror_reply(550, "fchown");
-            return;
-        }
-        (void) seteuid(oldid);
-    }
 #endif /* UPLOAD */
 
     if (restart_point)
@@ -1950,7 +1975,6 @@
     fout = fopen(name, mode);
 #endif /* UPLOAD */
 
-    closefunc = fclose;
     if (fout == NULL) {
         perror_reply(553, name);
         return;
@@ -2057,8 +2081,24 @@
     }
     data = -1;
     pdata = -1;
+
   done:
-    (*closefunc) (fout);
+    fclose( fout);
+
+#ifdef UPLOAD
+    /* if we have a uid and gid, then use them. */
+
+    if (valid > 0) {
+        oldid = geteuid();
+        (void) seteuid((uid_t) 0);
+        if ((chown(name, uid, gid)) < 0) {
+            (void) seteuid(oldid);
+            perror_reply(550, "chown");
+            return;
+        }
+        (void) seteuid(oldid);
+    }
+#endif
 }
 
 FILE *
--- ./src/newvers.sh.orig	Sun Aug 11 15:49:09 1996
+++ ./src/newvers.sh	Sat Aug 17 10:36:14 1996
@@ -21,7 +21,7 @@
 if [ ! -r edit ]; then echo 0 > edit; fi
 touch edit
 awk '	{	edit = $1 + 1; }\
-END	{	printf "char version[] = \"Version wu-2.4.2-academ[BETA-11](%d) ", edit > "vers.c";\
+END	{	printf "char version[] = \"Version wu-2.4.2-academ[BETA-11.v2](%d) ", edit > "vers.c";\
 #LANG=
 #LC_TIME=
 		printf "%d\n", edit > "edit"; }' < edit
--- ./src/extensions.c.orig	Mon Apr 15 05:51:05 1996
+++ ./src/extensions.c	Sat Aug 17 10:00:14 1996
@@ -50,6 +50,11 @@
 #include <sys/stat.h>
 #include <sys/file.h>
 #include <sys/param.h>
+#ifdef VIRTUAL
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#endif
 
 #if defined(HAVE_STATVFS)
 #include <sys/statvfs.h>
@@ -118,6 +123,12 @@
 
 int show_fullinfo;
 
+#ifdef VIRTUAL
+extern int virtual_mode;
+extern struct sockaddr_in *virtual_ptr;
+extern char virtual_root[];
+#endif
+
 #ifdef __STDC__
 check_newer(char *path, struct stat *st, int flag)
 #else
@@ -797,23 +808,53 @@
     struct group *grent;
     char buf[BUFSIZ];
 
-    while (getaclentry("upload", &entry) && ARG0 && ARG1 && ARG2 != NULL) {
-        if (ARG3 && ARG4) {
-            pwent = getpwnam(ARG3);
-            grent = getgrnam(ARG4);
-
-            if (pwent)  sprintf(buf, "%d", pwent->pw_uid);
-            else        sprintf(buf, "%d", 0);
-            ARG3 = (char *) malloc(strlen(buf) + 1);
-            strcpy(ARG3, buf);
-
-            if (grent)  sprintf(buf, "%d", grent->gr_gid);
-            else        sprintf(buf, "%d", 0);
-            ARG4 = (char *) malloc(strlen(buf) + 1);
-            strcpy(ARG4, buf);
-	    endgrent();
-        }
+#ifdef VIRTUAL
+    if( virtual_mode) {
+
+	while( getaclentry("virtual", &entry)) {
+	    if( !strcmp(ARG0, inet_ntoa(virtual_ptr->sin_addr)) &&
+	        !strcmp(ARG1, "upload") && ARG2 && ARG3 && ARG4) {
+
+		if (ARG5 && ARG6) {
+		    pwent = getpwnam(ARG5);
+		    grent = getgrnam(ARG6);
+
+		    if (pwent)  sprintf(buf, "%d", pwent->pw_uid);
+		    else        sprintf(buf, "%d", 0);
+		    ARG5 = (char *) malloc(strlen(buf) + 1);
+		    strcpy(ARG5, buf);
+
+		    if (grent)  sprintf(buf, "%d", grent->gr_gid);
+		    else        sprintf(buf, "%d", 0);
+		    ARG6 = (char *) malloc(strlen(buf) + 1);
+		    strcpy(ARG6, buf);
+		    endgrent();
+		}
+	    }
+	}
+
+    } else {
+#endif
+	while (getaclentry("upload", &entry) && ARG0 && ARG1 && ARG2 != NULL) {
+	    if (ARG3 && ARG4) {
+		pwent = getpwnam(ARG3);
+		grent = getgrnam(ARG4);
+
+		if (pwent)  sprintf(buf, "%d", pwent->pw_uid);
+		else        sprintf(buf, "%d", 0);
+		ARG3 = (char *) malloc(strlen(buf) + 1);
+		strcpy(ARG3, buf);
+
+		if (grent)  sprintf(buf, "%d", grent->gr_gid);
+		else        sprintf(buf, "%d", 0);
+		ARG4 = (char *) malloc(strlen(buf) + 1);
+		strcpy(ARG4, buf);
+		endgrent();
+	    }
+	}
+#ifdef VIRTUAL
     }
+#endif
 }
 
 int
@@ -960,27 +1001,64 @@
     return(-1);
   }
   i = match_value;  /* i is -1 here */
-  while (getaclentry("upload", &entry) && ARG0 && ARG1 && ARG2 != NULL) {
- /* CERT suggested fix (change && to || ) */
-    if ( (!strcmp(ARG0, pw->pw_dir))  ||
-		   ((i = path_compare(ARG1, cwdir)) >= match_value) ) {
-          match_value = i;
-          ap2 = ARG2;
-          if (ARG3)  ap3 = ARG3;
-          else       ap3 = NULL;
-          if (ARG4)  ap4 = ARG4;
-          else       ap4 = NULL;
-          if (ARG6)  ap6 = ARG6;
-          else       ap6 = NULL;
-      }
-    if ( ((ap2 && !strcasecmp(ap2, "no")) && 
-	  (ap3 && strcasecmp(ap3, "dirs"))) || 
-	 (ap3 && !strcasecmp(ap3, "nodirs")) ||
+
+#ifdef VIRTUAL
+    if( virtual_mode) {
+
+	while( getaclentry("virtual", &entry)) {
+	    if( !strcmp(ARG0, inet_ntoa(virtual_ptr->sin_addr)) &&
+	        !strcmp(ARG1, "upload") && ARG2 && ARG3 && ARG4) {
+
+		if ( (!strcmp(ARG2, virtual_root))  ||
+		    ((i = path_compare(ARG3, cwdir)) >= match_value) ) {
+		    match_value = i;
+		    ap2 = ARG4;
+		    if (ARG5)  ap3 = ARG5;
+		    else       ap3 = NULL;
+		    if (ARG6)  ap4 = ARG6;
+		    else       ap4 = NULL;
+		    if (ARG8)  ap6 = ARG8;
+		    else       ap6 = NULL;
+		}
+	    }
+	    if (((ap2 && !strcasecmp(ap2, "no")) && 
+		(ap3 && strcasecmp(ap3, "dirs"))) || 
+		(ap3 && !strcasecmp(ap3, "nodirs")) ||
 		(ap6 && !strcasecmp(ap6, "nodirs")) ) {
-      reply(530, "%s: Permission denied.  (Mkdir)", name);
-      return(0);
+		reply(530, "%s: Permission denied.  (Mkdir)", name);
+		return(0);
+	    }
+	}
+
+    } else {
+#endif
+
+	while (getaclentry("upload", &entry) && ARG0 && ARG1 && ARG2 != NULL) {
+	    /* CERT suggested fix (change && to || ) */
+	    if ( (!strcmp(ARG0, pw->pw_dir))  ||
+		((i = path_compare(ARG1, cwdir)) >= match_value) ) {
+		match_value = i;
+		ap2 = ARG2;
+		if (ARG3)  ap3 = ARG3;
+		else       ap3 = NULL;
+		if (ARG4)  ap4 = ARG4;
+		else       ap4 = NULL;
+		if (ARG6)  ap6 = ARG6;
+		else       ap6 = NULL;
+	    }
+	    if (((ap2 && !strcasecmp(ap2, "no")) && 
+		(ap3 && strcasecmp(ap3, "dirs"))) || 
+		(ap3 && !strcasecmp(ap3, "nodirs")) ||
+		(ap6 && !strcasecmp(ap6, "nodirs")) ) {
+		reply(530, "%s: Permission denied.  (Mkdir)", name);
+		return(0);
+	    }
+	}
+
+#ifdef VIRTUAL
     }
-  }
+#endif
+
   if (ap3)
      *uid = atoi(ap3);    /* the uid  */
   if (ap4) {
@@ -1036,20 +1114,49 @@
       entry = NULL;
       match_value = -1;
       i = match_value;
-      while (getaclentry("upload", &entry) && ARG0 && ARG1 && ARG2 != NULL) {
-          if ( (!strcmp(ARG0, pw->pw_dir)) &&
-		       ((i = path_compare(ARG1, cwdir)) >= match_value) ) {
-              match_value = i;
-              ap1 = ARG1;
-              ap2 = ARG2;
-              if (ARG3) ap3 = ARG3;
-              else      ap3 = NULL;
-              if (ARG4) ap4 = ARG4;
-              else      ap4 = NULL;
-              if (ARG5) ap5 = ARG5;
-              else      ap5 = NULL;
-          }
+
+#ifdef VIRTUAL
+    if( virtual_mode) {
+
+	while( getaclentry("virtual", &entry)) {
+	    if( !strcmp(ARG0, inet_ntoa(virtual_ptr->sin_addr)) &&
+	        !strcmp(ARG1, "upload") && ARG2 && ARG3 && ARG4) {
+
+		if ( (!strcmp(ARG2, virtual_root))  &&
+		    ((i = path_compare(ARG3, cwdir)) >= match_value) ) {
+		    match_value = i;
+		    ap1 = ARG3;
+		    ap2 = ARG4;
+		    if (ARG5) ap3 = ARG5;
+		    else      ap3 = NULL;
+		    if (ARG6) ap4 = ARG6;
+		    else      ap4 = NULL;
+		    if (ARG7) ap5 = ARG7;
+		    else      ap5 = NULL;
+		}
+	    }
+	}
+
+    } else {
+#endif
+	while (getaclentry("upload", &entry) && ARG0 && ARG1 && ARG2 != NULL) {
+	    if( (!strcmp(ARG0, pw->pw_dir)) &&
+		((i = path_compare(ARG1, cwdir)) >= match_value) ) {
+		match_value = i;
+		ap1 = ARG1;
+		ap2 = ARG2;
+		if (ARG3) ap3 = ARG3;
+		else      ap3 = NULL;
+		if (ARG4) ap4 = ARG4;
+		else      ap4 = NULL;
+		if (ARG5) ap5 = ARG5;
+		else      ap5 = NULL;
+	    }
 	}
+
+#ifdef VIRTUAL
+    }
+#endif
 
       if (ap3 && ( (!strcasecmp("dirs",ap3)) || (!strcasecmp("nodirs", ap3)) ))
         ap3 = NULL;
--- ./VIRTUAL.FTP.SUPPPORT.orig	Sat Aug 17 10:41:38 1996
+++ ./VIRTUAL.FTP.SUPPPORT	Sat Aug 17 10:49:33 1996
@@ -1,10 +1,8 @@
-Date: Fri, 26 May 1995 21:33:23 -0400 (EDT)
-From: Brian Kramer <bjkramer@pluto.njcc.com>
-To: wu-ftpd@wugate.wustl.edu
-Subject: Virtual FTP Servers
-
 [Modifications to provide for discrete xferlogs for each server provided by
 Marc G. Fournier <scrappy@ki.net> -- sob.]
+
+[Modifications to provide for virtual uploading and user restrictions
+provided by Jens Hamisch <jens@strawberry.com>]
  
 I'm attaching a patch for wu-ftpd 2.4 to allow virtual ftp servers to be 
 setup.  Basically so a user ftping to ftp1.domain.com gets one ftp banner 
@@ -31,25 +29,26 @@
 virtual 10.10.10.10 root    /var/ftp/virtual/ftp-serv 
 virtual 10.10.10.10 banner  /var/ftp/virtual/ftp-serv/banner.msg
 virtual 10.10.10.10 logfile /var/log/ftp/virtual/ftp-serv/xferlog
+virtual 10.10.10.10 pass    /subsys/wwwstaff/var/etc/ftp.pass
+virtual 10.10.10.10 upload  /subsys/wwwstaff/home/ftp /incoming yes uid gid mode perms
+virtual 10.10.10.10 upload  /subsys/wwwstaff/home/ftp /bin no
 
 
 The first arg is the ip address of the virtual server.
-The second arg is either "root", "banner" or "logfile" (without the quotes)
-for that virtual server.
+The second arg is either "root", "banner", "pass", "upload" or "logfile"
+(without the quotes) for that virtual server.
 The third arg is the file system location for the item specified in the 
-second arg.
+second arg in case of "root", "banner", "pass" or "logfile".
+In case of "upload" the semantics of the arguments is exactly the same
+as for the original "upload" command. 
+The filename specified with "pass" specifies a list of users to be allowed
+to access this virtual server. Never forget to add the "ftp" and "anonymous"
+accounts to this file. The file structure may be just a list of names (one
+per line) or a copy of your local /etc/passwd file. You may want to remove
+al sensitive data (like the encrypted password) from this file by the means
+of increasing security of your system. [jens]
 
 Note: all the other message files, etc, and permissions and other settings
 in the ftpaccess file apply to all virtual servers.
-
-$Id: VIRTUAL.FTP.SUPPPORT,v 1.2 1996/03/15 06:17:33 sob Exp $
-
-
-
-
-
-
-
-
 
 
---- snap -----------------------------------------------------------


-- 

--------------------------------------------------------------------------------
     /
 +##+|##+   STRAWBERRY                  Jens Hamisch
+v#+v v##+  EDV-Systeme GmbH            Managing director
/ v    v\v
| . .  . |  Brauneckweg 2               Car (Voice):  (+49 172) 81 04 162
|     .  |  D-82549 Koenigsdorf         Voice:        (+49 8179) 5278 Q, Fax
 | .     |                              Email:        jens@Strawberry.COM
 \   .  /   Tel./Fax: (+49 8179) 5278                 jens@ConnectDE.NET
  \____/    Strawberry@Strawberry.COM   Home (Email): jens@levante.muc.de


From owner-wu-ftpd@wugate.wustl.edu Sat Aug 17 17:14: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 m0urvVW-0004RmC; Sat, 17 Aug 96 17:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA21375; Sat, 17 Aug 1996 19:11:30 -0500
Received: from relay5.UU.NET (relay5.UU.NET [192.48.96.15]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA21106 for <wu-ftpd@wugate.wustl.edu>; Sat, 17 Aug 1996 19:03:30 -0500
Received: from gateway.deere.com by relay5.UU.NET with SMTP 
	(peer crosschecked as: gateway.deere.com [192.43.69.34])
	id QQbdfk15414; Sat, 17 Aug 1996 20:02:47 -0400 (EDT)
Received: by gateway.deere.com; id TAA09710; Sat, 17 Aug 1996 19:02:51 -0500
Received: from deere.com(192.43.1.3) by gateway.deere.com via smap (g3.0.1)
	id xma009701; Sat, 17 Aug 96 19:02:32 -0500
Received: from 90.deere.com (dts.90.deere.com) by deere.dx.deere.com (4.1/SMI-4.0)
	id AA20481; Sat, 17 Aug 96 19:02:27 CDT
Received: from bc17684.90.deere.com (dialin5-1.dx.deere.com) by 90.deere.com (4.1/SMI-4.0)
	id AA10505; Sat, 17 Aug 96 19:02:24 CDT
Message-Id: <32165E21.2118@deere.com>
Date: Sat, 17 Aug 1996 19:04:49 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bertrum Carroll <bc17684@deere.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: restricted ftp login
References: <Pine.SUN.3.91.960813164951.12247A-100000@halo.angel.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5 (Win95; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

If your FTP login problem fixed please send me the detials on how you
did it?

 Nina Burns-Pomeroy wrote:
> 
> Hi.  I'm running IRIX 6.2 with wu-ftpd 2.4.
> 
> I've set up an id with /etc/ftponly as their shell.  I would like this
> user to only be able to ftp and only see their home directory when they
> ftp in.  Currently, we then ftp to the host, they do get to their home
> directory however, if I cd / they can get to the rest of the machine.
> 
> Any suggestions?  Please reply directly to me as I am not a subscriber to
> this list.  I will post a summary of reponses.  Thanks!
> 
> N
> 
> =====================================================================
> Nina Burns Pomeroy                         Senior Consultant/Designer
> Kinetic Wave                                     nina@kineticwave.com
>                         www.kineticwave.com
> =====================================================================

-- 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 4.0 Business Edition

mQENAjFt5hYAAAEIAMpCcJj7mpAjSOxej4F7quqpivEtDPT265K0dL5MpJkdb+T/
Pv4Zl32hMASOCvQzOEBmiSX6/g6skEG/RsMEQ0HxKKCjLQxfwjyINMVMXRXGRa+U
ogJtKIJ+pv75KetrrGR8wVgsUcjFIxDqR4ugTxqaCQU42aRpfUCPBzSbKXBxD+e9
dN8LQs3n9t0/Vqpu8et+0272NwIFmK3hepYQZw23UeMLdv6KY1iiMH6tUz6HQNtS
qeSUrxBD3mxnJFsCnDgA6mKKlK49o+E0r+w69xPPOJifayv2z5mWMiexL7p5CxBH
bvv5jmJjPzh0vc/33NAIkSF+Xb8kDVpRooybnIUABRG0I0JlcnRydW0gQ2Fycm9s
bCA8YmMxNzY4NEBkZWVyZS5jb20+iQEVAgUQMXg5gqqnS7Ju28yFAQF6dQf8CiYJ
U/2HF31vD6j+s7bT5AkwbGCvp12ALSGUtVJo7Zx7JRvSQAPwKfw2FNlRsdtAMv/9
K8/p71D2VqTSjpBNKn+JWjfW/JUaalWNlhj+3IGzj10Gtz8nThhd0jkNZR2ZfW3C
CG85at6crHYb6XzUhNyihA7QpPAO9wMQr+5RoxlJ8IjOgxTDiOGkwx/KMayJa/Wu
y2T4PweLeNC21OwA9GbAfixTej+DYvRRZZPX8p8zkobYoMoS95a8QHQW+WSKkEoK
S1qvZCPgo1dHQlmbBAMXeERRYO2iJ6CA4wdFHH0KnwjNBB9wXj58TkEex+RBpLxF
/2qdW7pbxwkM7CmoRg==
=JhdB
-----END PGP PUBLIC KEY BLOCK-----

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 19 03:47:12 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 m0usRrS-000DODC; Mon, 19 Aug 96 03:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA23136; Mon, 19 Aug 1996 05:44:34 -0500
Received: from storm.certix.fr (storm.certix.fr [194.51.232.32]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA23005 for <wu-ftpd@wugate.wustl.edu>; Mon, 19 Aug 1996 05:37:48 -0500
Received: from dell.ql.net (pm6-116.sct.fr [194.206.159.116]) by storm.certix.fr (8.6.12/8.6.12) with SMTP id MAA18354 for <wu-ftpd@mail.wustl.edu>; Mon, 19 Aug 1996 12:15:03 +0200
Message-Id: <199608191015.MAA18354@storm.certix.fr>
Date: Mon, 19 Aug 1996 12:37:53 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ptaylor@worldnet.net
To: wu-ftpd@wugate.wustl.edu
Subject: Permissions to logs
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi There

If there any way of getting wu-ftpd 2.4.2 to create log files that 
have write permissions for normal users ?

Our problem is that users continue to delete them which resets their 
permission values to root when recreated.

Thanks in advance

Paul Taylor

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 19 13:58: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 m0usbOt-000DQfC; Mon, 19 Aug 96 13:58 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA23228; Mon, 19 Aug 1996 15:55:21 -0500
Received: from uu5.psi.com (uu5.psi.com [38.145.226.3]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA22990 for <wu-ftpd@wugate.wustl.edu>; Mon, 19 Aug 1996 15:49:10 -0500
Received: from fox.cen.com by uu5.psi.com (5.65b/4.0.071791-PSI/PSINet) via SMTP;
        id AA14640 for wu-ftpd@wugate.wustl.edu; Mon, 19 Aug 96 16:48:24 -0400
Received: from dog.cen.com by cen.com (4.1/SMI-4.1)
	id AA11877; Mon, 19 Aug 96 16:48:22 EDT
Received: by dog.cen.com (5.x/SMI-SVR4)
	id AA05463; Mon, 19 Aug 1996 16:48:20 -0400
Message-Id: <9608192048.AA05463@dog.cen.com>
Date: Mon, 19 Aug 1996 16:48:20 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: vhp@cen.com
To: wu-ftpd@wugate.wustl.edu
Subject: access denied
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I just set up wu-ftpd version 2.4(1) When I try to use it, access is
always denied to the user no matter who the user is. That includes
anonymous. It worked when I first set it up. I think that the only
changes I made was adding some files to pub and adding an incoming
directory. I didn't change any of the configuration files. Help would
be very much appreciated.

Thank you in advance,

Vince

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 19 14:57: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 m0uscK2-000DNcC; Mon, 19 Aug 96 14:57 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA25427; Mon, 19 Aug 1996 16:49:03 -0500
Received: from storefront1.i-s.com ([207.19.12.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA24198 for <wu-ftpd@wugate.wustl.edu>; Mon, 19 Aug 1996 16:15:17 -0500
Received: from roadkill ([207.19.12.20]) by storefront1.i-s.com
          (post.office MTA v1.9.3 ID# 0-13726) with SMTP id AAA230
          for <wu-ftpd@wugate.wustl.edu>; Mon, 19 Aug 1996 14:13:59 -0700
Message-Id: <3.0b11.32.19960819141602.00d78c88@mail.i-s.com>
Date: Mon, 19 Aug 1996 14:16:05 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig <craig@i-s.com>
To: wu-ftpd@wugate.wustl.edu
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: craig@mail.i-s.com (Unverified)
X-Mailer: Windows Eudora Pro Version 3.0b11 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Does any one know of a good confugerable stat generator that would work on a
wuftpd style log for WinNT I also am able to run perl4 or perl5? Thanks for
you help .

-Craig
                                       .-ccc-,
                                      (       )
                                    (         )
               -!x!-               (          )
             /c     c\           (           )
            !         !         (           )
            !         !        (           )
            !     __ _,       (cccc-(     )
           /\/\  (. ).)       `_'_', (   )
            C       __)       (.( .)-(  )
            !   /ccc  \      (_      ( )
            /   \ c===='    /_____/` D)ee
          /`-_   `---'         \     |ee      Name: Craig
     .__|c-/^\-c|_/_   |\/\/\/\||    |ee    E-Mail: craig@i-s.com
    __.         ||/.\  |       |OooooOee      http://www.i-s.com/craig
    \           ---. \ |       |      \
   _-    ,`_'_'  .c\  \|__   __|-____  / )e   Note: Fences were made for
   <     -(. ).)    \  ( .\ (. )     \(_/ )e        people who can't
   c-       _) \_- ooo @  (_)  @      \(_//.e       fly.
  / /_C (-.____)  /((O)/       \     ._/\c_.e
 /   |_\     /   / /\\\\`-----''    _|o<  |__
 |     \ooooO   (  \ \\ \\___/     \ `_'_',  /
  \     \__-|    \  `)\\-'\\ '--.  /_(.(.)- _\
   \   \ )  |-`--.`--=\-\ /-//_  '  ( c     D\
    \_\_)   |-___/   / \ V /.c \/\\\ (@)___/ c|
   /        |       /   | |.  /`\\_/\/   /
  /         |      (   C`-'` /  |  \/   (/  /
 /_________-        \  `C__-c   |  /    (/ /
      | | |          \__________|  \     (/



From owner-wu-ftpd@wugate.wustl.edu Mon Aug 19 15:48: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 m0usd7M-0007LAC; Mon, 19 Aug 96 15:48 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA27233; Mon, 19 Aug 1996 17:43:29 -0500
Received: from morpho.dar.net ([128.252.125.186]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA24640 for <wu-ftpd@wugate.wustl.edu>; Mon, 19 Aug 1996 16:27:16 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.5/8.6.9) with SMTP id QAA11906 for <wu-ftpd@wugate.wustl.edu>; Mon, 19 Aug 1996 16:34:06 -0500
Message-Id: <Pine.LNX.3.95.960819163210.11903A-100000@morpho.dar.net>
Date: Mon, 19 Aug 1996 16:34:06 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Ellsworth <are1@cec.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: access denied
In-Reply-To: <9608192048.AA05463@dog.cen.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: morpho.dar.net: are1 owned process doing -bs
X-Sender: are1@morpho.dar.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Mon, 19 Aug 1996 vhp@cen.com wrote:

> I just set up wu-ftpd version 2.4(1) When I try to use it, access is
> always denied to the user no matter who the user is. That includes
> anonymous. It worked when I first set it up. I think that the only
> changes I made was adding some files to pub and adding an incoming
> directory. I didn't change any of the configuration files. Help would
> be very much appreciated.

Make sure you have a file /etc/shells (or whereever you defined the file
to be; I believe that's the default) that contains all the valid shells
for your users.  wu-ftpd checks a user's shell against this file, and if
it doesn't find their shell in the file (or if the file doesn't exist)
then they get denied.  You might also check your syslog; it generally will
tell you why it denied access. 

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

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 09:55: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 m0usu52-0009RKC; Tue, 20 Aug 96 09:55 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA28117; Tue, 20 Aug 1996 11:50:17 -0500
Received: from cs.sunysb.edu (sbcs.sunysb.edu [130.245.1.15]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA27839 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 11:40:42 -0500
Received: from sbanne.csdept (sbanne.cs.sunysb.edu [130.245.1.68]) by cs.sunysb.edu (8.6.12/8.6.9) with SMTP id MAA20959 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 12:45:12 -0400
Message-Id: <199608201645.MAA20959@cs.sunysb.edu>
Date: Tue, 20 Aug 1996 12:42:45 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Anne Kilarjian <anne@CS.SunySB.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't get wu-ftpd to set umask correctly
In-Reply-To: <199608160118.SAA10001@thor.fusion.com> from "Mark H. Zellers" at Aug 15, 96 06:18:35 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi Mark, perhaps you have solved your problem already, but I just
noticed your message and have just solved it here after spending
way too much time on it-

Turns out that for anonymous uploads the base dir part of the upload 
directive (/usr2/home/thor/ftp in your case) MUST be the home dir
*as it appears in /etc/passwd* for user ftp for this to work -
(in my case I had it set to /usr/spool/ftp which was a symlink
to /var/spool/ftp, once I changed it to /var/spool it worked
correctly).


> 
> 
> upload /usr2/home/thor/ftp  *                  no
> upload /usr2/home/thor/ftp  /pub/incomming     yes root other 0311              
Good luck -
Anne Kilarjian
SUNY Stony Brook

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 10:35: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 m0usuhn-0007QkC; Tue, 20 Aug 96 10:35 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA00124; Tue, 20 Aug 1996 12:31:56 -0500
Received: from reepicheep.gcn.uoknor.edu (reepicheep.gcn.ou.edu [129.15.43.115]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA29862 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 12:28:32 -0500
Received: by reepicheep.gcn.uoknor.edu id AA00840
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Tue, 20 Aug 1996 12:27:43 -0500
Message-Id: <199608201727.AA00840@reepicheep.gcn.uoknor.edu>
Date: Tue, 20 Aug 1996 12:27:42 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Richman <richman@reepicheep.gcn.uoknor.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Anyone build wu-ftpd-2.4 on Solaris 2.5.1?
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

Hi,
I just grabbed the wu-ftpd-2.4 source and tried to build on an
UltraSparc under Solaris 2.5.1.  I had to use the support/ftp.h
file and the result of build sol is:


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.
`ftpd' is up to date.

Making ftpcount.
`ftpcount' is up to date.

Making ftpshut.
`ftpshut' is up to date.

Making ckconfig.
`ckconfig' is up to date.
ln: ../src/ftpcount and ftpwho are identical
ln: ../src/ckconfig and ckconfig are identical

Links to executables are in bin directory:
bin/ftpd: 235612 + 29164 + 27368 = 292144
bin/ftpcount: 9422 + 787 + 865 = 11074
bin/ftpshut: 7584 + 614 + 334 = 8532
bin/ftpwho: 9422 + 787 + 865 = 11074
bin/ckconfig: 4753 + 568 + 324 = 5645
Done



Then build install resulted in:


make args are : 
make opts are : 
mv -f /usr/local/etc/ftpd /usr/local/etc/ftpd-old
mv: cannot access /usr/local/etc/ftpd
*** Error code 2 (ignored)
Installing binaries.
install -o bin -g bin -m 755 bin/ftpd /usr/local/etc/ftpd
usage: install [options] file [dir1 ...]
*** Error code 2
make: Fatal error: Command failed for target `install'



Any ideas on what went awry?  TIA.

Mike Richman
U. Oklahoma
mrichman@uoknor.edu

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 11:57: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 m0usvzv-000DRCC; Tue, 20 Aug 96 11:57 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA03850; Tue, 20 Aug 1996 13:54:58 -0500
Received: from compute.com (compute.compute.com [192.215.246.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA03705 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 13:50:27 -0500
Received: from localhost.compute.com by compute.com (4.1/SMI-4.1)
	id AA18875; Tue, 20 Aug 96 11:49:33 PDT
Message-Id: <9608201849.AA18875@compute.com>
Date: Tue, 20 Aug 1996 11:49:33 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dale Wellman - Compute Intensive <wellman@compute.compute.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anyone build wu-ftpd-2.4 on Solaris 2.5.1? 
In-Reply-To: Your message of "Tue, 20 Aug 1996 12:27:42 CDT."
             <199608201727.AA00840@reepicheep.gcn.uoknor.edu> 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Hi,
> I just grabbed the wu-ftpd-2.4 source and tried to build on an
> UltraSparc under Solaris 2.5.1.  I had to use the support/ftp.h
> file and the result of build sol is:

[snip]

> mv -f /usr/local/etc/ftpd /usr/local/etc/ftpd-old
> mv: cannot access /usr/local/etc/ftpd
> *** Error code 2 (ignored)
> Installing binaries.
> install -o bin -g bin -m 755 bin/ftpd /usr/local/etc/ftpd
> usage: install [options] file [dir1 ...]
> *** Error code 2
> make: Fatal error: Command failed for target `install'

The install program doesn't like the args it was given.  Are you sure
there's a "/usr/local/etc" directory?  Did you edit the pathnames.h
file?

-=-=-=-=-=-=-
Dale Wellman
Sys Admin
Network Intensive

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 12:41: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 m0uswgB-000D4xC; Tue, 20 Aug 96 12:41 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA05757; Tue, 20 Aug 1996 14:38:09 -0500
Received: from ergocon.com (mac2.ergocon.com [199.107.234.20]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA05591 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 14:33:05 -0500
Received: from localhost (maciag@localhost) by ergocon.com (8.7.5/8.7.3) with SMTP id MAA00360 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 12:31:05 -0700 (PDT)
Message-Id: <Pine.AUX.3.94.960820122950.296B-100000@mac2.ergocon.com>
Date: Tue, 20 Aug 1996 12:31:04 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Maciag <maciag@ergocon.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anyone build wu-ftpd-2.4 on Solaris 2.5.1? 
In-Reply-To: <9608201849.AA18875@compute.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



On Tue, 20 Aug 1996, Dale Wellman - Compute Intensive wrote:

> > Hi,
> > I just grabbed the wu-ftpd-2.4 source and tried to build on an
> > UltraSparc under Solaris 2.5.1.  I had to use the support/ftp.h
> > file and the result of build sol is:
> 
> [snip]
> 
> > mv -f /usr/local/etc/ftpd /usr/local/etc/ftpd-old
> > mv: cannot access /usr/local/etc/ftpd
> > *** Error code 2 (ignored)
> > Installing binaries.
> > install -o bin -g bin -m 755 bin/ftpd /usr/local/etc/ftpd
> > usage: install [options] file [dir1 ...]
> > *** Error code 2
> > make: Fatal error: Command failed for target `install'
> 
> The install program doesn't like the args it was given.  Are you sure
> there's a "/usr/local/etc" directory?  Did you edit the pathnames.h
> file?
> 
> -=-=-=-=-=-=-
> Dale Wellman
> Sys Admin
> Network Intensive
> 

Use /usr/ucb/install instead of (/usr/sbin/)install. It supports those
different arguments.

- Mike.


From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 14:16: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 m0usyA0-0009RxC; Tue, 20 Aug 96 14:16 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA10636; Tue, 20 Aug 1996 16:13:20 -0500
Received: from CC.uab.es (cc.uab.es [158.109.0.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA10423 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 16:08:48 -0500
Received: from carbon.uab.es ("port 35653"@carbon.uab.es)
 by cc.uab.es (PMDF V5.0-7 #2461) id <01I8IL81U8CM00AJBZ@cc.uab.es> for
 wu-ftpd@wugate.wustl.edu; Tue, 20 Aug 1996 23:08:29 +0000
Received: by carbon.uab.es (SMI-8.6/SMI-SVR4) id XAA08369; Tue,
 20 Aug 1996 23:09:29 +0200
Message-Id: <199608202109.XAA08369@carbon.uab.es>
Date: Tue, 20 Aug 1996 23:09:29 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: miquel@proton.uab.es (Miquel Cabanas. BBM-UAB)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anyone build wu-ftpd-2.4 on Solaris 2.5.1?
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> From wellman@compute.compute.com Tue Aug 20 20:51:10 1996
> 
> > Hi,
> > I just grabbed the wu-ftpd-2.4 source and tried to build on an
> > UltraSparc under Solaris 2.5.1.  I had to use the support/ftp.h
> > file and the result of build sol is:
> 
> [snip]
> 
> > mv -f /usr/local/etc/ftpd /usr/local/etc/ftpd-old
> > mv: cannot access /usr/local/etc/ftpd
> > *** Error code 2 (ignored)
> > Installing binaries.
> > install -o bin -g bin -m 755 bin/ftpd /usr/local/etc/ftpd
> > usage: install [options] file [dir1 ...]
> > *** Error code 2
> > make: Fatal error: Command failed for target `install'
> 
> The install program doesn't like the args it was given.  Are you sure
> there's a "/usr/local/etc" directory?  Did you edit the pathnames.h
> file?
> 
> -=-=-=-=-=-=-
> Dale Wellman
> Sys Admin
> Network Intensive
> 
> 

hi, i had this problem long ago, under Solaris 2.3, and i've seen the same
question posted in the list from time to time. I sorted it out by copying
the files to their final destination and setting the permissions by brute
force (cp, chown... and so on).

Later i compared the syntaxis of the install command in the makefile with
that reported in the solaris' install man page. I sorted the options in the
same order as they were in the man file 'et voila' it worked (unless my
memory is flakkier than i recall ;-). I'm not sure, maybe you could give it
a try and tell the list what's the install syntaxis that did the job
(another FAQ?)

miquel

Miquel E Cabanas ---------------------------------------------------
SeRMN & BBM - Universitat Autonoma de Barcelona, Catalunya - Spain

e-mail: miquel@proton.uab.es
url:    http://bbm-web.uab.es/biomed-nmr/miquel_angles.html
------------------------------------------o-oo--ooo---ooo--oo-o-----

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 15:12: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 m0usz2b-000DQHC; Tue, 20 Aug 96 15:12 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA13032; Tue, 20 Aug 1996 17:09:31 -0500
Received: from thor.fusion.com (thor.fusion.com [204.176.224.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA12865 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 17:04:34 -0500
Received: from Emperor.Fusion.Com (emporer.fusion.com [204.176.224.34]) by thor.fusion.com (8.6.9/8.6.9) with SMTP id OAA18194 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 14:54:22 -0700
Message-Id: <199608202154.OAA18194@thor.fusion.com>
Date: Tue, 20 Aug 1996 14:54:22 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mzellers@Fusion.Com (Mark H. Zellers)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't get wu-ftpd to set umask correctly
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mhz@Thor.Fusion.Com
X-Mailer: Windows Eudora Version 2.0.3
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 12:42 PM 8/20/96 -0400, Anne Kilarjian wrote:
>Hi Mark, perhaps you have solved your problem already, but I just
>noticed your message and have just solved it here after spending
>way too much time on it-
>
>Turns out that for anonymous uploads the base dir part of the upload 
>directive (/usr2/home/thor/ftp in your case) MUST be the home dir
>*as it appears in /etc/passwd* for user ftp for this to work -
>(in my case I had it set to /usr/spool/ftp which was a symlink
>to /var/spool/ftp, once I changed it to /var/spool it worked
>correctly).

Thanks!!! that was just what I needed.  That and one other minor change 
to the example in the O'Reilly & Associates book.  I needed:

path-filter anonymous /path/message ^[-A-Za-z0-9._]*$ ^. ^-

changed to:

path-filter anonymous /path/message ^[-A-Za-z0-9._]*$ ^\. ^-

otherwise, it would reject filenames that contained .s

Mark Z.
-------------------------------------------------------------------------------
Mark H. Zellers                                             mzellers@Fusion.Com
Fusion Software, Inc.                                       Ph:  (415) 327-3873
445 Sherman Ave, Palo Alto, CA                              Fax: (415) 327-7111

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 16:02: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 m0uszoF-0004ixC; Tue, 20 Aug 96 16:02 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA14980; Tue, 20 Aug 1996 17:59:00 -0500
Received: from impulse.net (hub.impulse.net [204.188.6.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA14429 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 17:50:05 -0500
Received: from purple.impulse.net (purple.impulse.net [204.188.6.16]) by impulse.net (8.6.12/8.6.12) with SMTP id PAA14008 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 15:47:04 -0700
Message-Id: <199608202247.PAA14008@impulse.net>
Date: Tue, 20 Aug 1996 15:47:09 +0000
Reply-To: chris@impulse.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher L. Cousins" <chris@impulse.net>
To: wu-ftpd@wugate.wustl.edu
Subject: -static ls for sunOS 4.1.3
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v2.42a)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Can someone with SunOS 4.1.3 email me either the scource code for, or 
a staticaly linked binary of ls for use with wu-ftpd

TIA
__________________________________________________
          
                Christopher L. Cousins
                  Impulse Internet
                  chris@impulse.net
            http://www.impulse.net/~cali209
__________________________________________________

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 17:14: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 m0ut0wZ-0000tzC; Tue, 20 Aug 96 17:14 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA17138; Tue, 20 Aug 1996 19:11:42 -0500
Received: from reepicheep.gcn.uoknor.edu (reepicheep.gcn.ou.edu [129.15.43.115]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA16965 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 19:09:01 -0500
Received: by reepicheep.gcn.uoknor.edu id AA08579
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Tue, 20 Aug 1996 19:08:19 -0500
Message-Id: <199608210008.AA08579@reepicheep.gcn.uoknor.edu>
Date: Tue, 20 Aug 1996 19:08:18 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Richman <richman@reepicheep.gcn.uoknor.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anyone build wu-ftpd-2.4 on Solaris 2.5.1?
In-Reply-To: <Pine.AUX.3.94.960820122950.296B-100000@mac2.ergocon.com> from "Michael Maciag" at Aug 20, 96 12:31:04 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Michael Maciag
> 
> Use /usr/ucb/install instead of (/usr/sbin/)install. It supports those
> different arguments.

Worked like a charm (thanks).  So, I modified the /etc/inetd.conf file
comenting out the old ftp line for the new ftpd one.  After a HUP, the
new daemon is running but my attempts to ftp into the machine (from
another one) are denied (either with a real named account or anonymous). 
Newbie Q#2: Any suggestions where to look next?  The supplied ftpd (8) 
man page is not all that enlightening in this regard.  TIA.

Mike Richman
U. Oklahoma
mrichman@uoknor.edu

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 17:59: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 m0ut1dp-0009QIC; Tue, 20 Aug 96 17:59 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA18711; Tue, 20 Aug 1996 19:55:53 -0500
Received: from rescol.fse.ulaval.ca (rescol.fse.ulaval.ca [132.203.154.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA18024 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 19:39:29 -0500
Received: by rescol.fse.ulaval.ca (5.x/SMI-SVR4)
	id AA13736; Tue, 20 Aug 1996 20:32:52 -0400
Message-Id: <Pine.SOL.3.91.960820202922.13720A@rescol.fse.ulaval.ca>
Date: Tue, 20 Aug 1996 20:32:51 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Carlos Reed <creed@fse.ulaval.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anyone build wu-ftpd-2.4 on Solaris 2.5.1?
In-Reply-To: <199608210008.AA08579@reepicheep.gcn.uoknor.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



On Tue, 20 Aug 1996, Mike Richman wrote:

> Quoting Michael Maciag
> > 
> > Use /usr/ucb/install instead of (/usr/sbin/)install. It supports those
> > different arguments.
>
where is the varaible that defines /usr/sbin ?

or do I have to have /usr/ucb before /usr/sbin on my path ?

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 18:02: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 m0ut1gW-0007N6C; Tue, 20 Aug 96 18:02 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA18871; Tue, 20 Aug 1996 19:59:09 -0500
Received: from bigbox.plug-in.com.br (bigbox.plug-in.com.br [200.238.61.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA18075 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 19:40:48 -0500
Received: from lagoa.domain.com.br (lagoa.domain.com.br [200.255.166.22]) by bigbox.plug-in.com.br (8.7/8.7) with SMTP id VAA03479 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 21:38:55 -0300
Received: by lagoa.domain.com.br (SMI-8.6/SMI-SVR4)
	id VAA06301; Tue, 20 Aug 1996 21:40:50 -0300
Message-Id: <199608210040.VAA06301@lagoa.domain.com.br>
Date: Tue, 20 Aug 1996 21:40:50 -0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: nelson@ipanema (Nelson C. L. Pedrozo)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anyone build wu-ftpd-2.4 on Solaris 2.5.1?
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

  Are you using any of the standard shells? If your shell isn't one of the
ones listen in the ftpd man page, you have to add them all (and your shell)
to a file called /etc/shells. 


			Nelson C. L. Pedrozo
			nelson@domain.com.br

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 20 21:41:14 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 m0ut56M-0007OlC; Tue, 20 Aug 96 21:41 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA24450; Tue, 20 Aug 1996 23:37:34 -0500
Received: from reepicheep.gcn.uoknor.edu (reepicheep.gcn.ou.edu [129.15.43.115]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA24192 for <wu-ftpd@wugate.wustl.edu>; Tue, 20 Aug 1996 23:32:12 -0500
Received: by reepicheep.gcn.uoknor.edu id AA10820
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Tue, 20 Aug 1996 23:31:30 -0500
Message-Id: <199608210431.AA10820@reepicheep.gcn.uoknor.edu>
Date: Tue, 20 Aug 1996 23:31:30 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Richman <richman@reepicheep.gcn.uoknor.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Few more questions on user access
In-Reply-To: <199608210040.VAA06301@lagoa.domain.com.br> from "Nelson C. L. Pedrozo" at Aug 20, 96 09:40:50 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

More progress...anonymous ftp now works...

Two questions:

1. Is there some way to disable the password 'guest'?  The way it is now,
it will accept 'guest' as a password but asks for a real name@host for
the next login.  That is not enforced.

2. Real names with accounts are still being denied access.  Any ideas
on where to look to fix this problem?

Thanks,

Mike Richman
U. Oklahoma
mrichman@uoknor.edu

From owner-wu-ftpd@wugate.wustl.edu Wed Aug 21 07:39:51 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 m0utERg-000DR0C; Wed, 21 Aug 96 07:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA08518; Wed, 21 Aug 1996 09:36:13 -0500
Received: from gauntlet.fga.com (gauntlet.fga.com [198.77.164.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA07700 for <wu-ftpd@mail.wustl.edu>; Wed, 21 Aug 1996 09:22:20 -0500
Received: by gauntlet.fga.com; id GAA12012; Wed, 21 Aug 1996 06:52:32 -0400 (EDT)
Received: from fga1.fga.com(10.0.200.2) by gauntlet.fga.com via smap (V3.1.1)
	id xma012010; Wed, 21 Aug 96 06:52:08 -0400
Received: from FGAHQ-Message_Server by fga1.fga.com,
	with Novell_GroupWise; Wed, 21 Aug 1996 10:21:16 -0400
Message-Id: <s21ae31c.072@fga1.fga.com,>
Date: Wed, 21 Aug 1996 10:20:50 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Fallin <sfallin@fga.com>
To: wu-ftpd@wugate.wustl.edu
Subject: configuring guest class users so that "dir" returns list of
	
          files
X-Mailer: Novell GroupWise 4.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

we have a number of "guest" class users.  Their home directories are
set up with rwxr_xr_x permissions.  I have installed a bin dir. with ls as a
sub directory.  I have created a full passwd file set and installed it in an
etc directory off of the users home dir.  I have copied ls to the
/bin/ftp-exec dir.  they chroot fine but no ability to get that blasted listing
as a guest user.  Real users work great.   Am I crazy did I miss
somthing?  or should this work?

TIA 
Steve   

I am running bsdi 2.1 and wu-ftpd 2.4(1)

From owner-wu-ftpd@wugate.wustl.edu Wed Aug 21 11:15: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 m0utHNn-0004TBC; Wed, 21 Aug 96 10:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA17647; Wed, 21 Aug 1996 12:44:49 -0500
Received: from mintaka.iern.disa.mil ([128.19.0.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA17374 for <wu-ftpd@wugate.wustl.edu>; Wed, 21 Aug 1996 12:37:40 -0500
Received: (from gamma@localhost) by mintaka.iern.disa.mil (8.7.1/8.6.10) id NAA03127; Wed, 21 Aug 1996 13:36:01 -0400 (EDT)
Message-Id: <Pine.SUN.3.91.960821105527.3049A-100000@mintaka.iern.disa.mil>
Date: Wed, 21 Aug 1996 13:36:00 -0400 (EDT)
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: Using class and autogroup
In-Reply-To: <s21ae31c.072@fga1.fga.com,>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: gamma@mintaka.iern.disa.mil
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have been using the class and autogroup commands for some time
with no problem.  Lately I tried to add some complexity but
could not get it to work.  According to the man page, only the first
class command that applies is used.  But nothing is said about
only using the first autogroup command.  I have the following
setup. (The actual groups are different).

	class me anonymous my_ip_address
	class you anonymous your_ip_address

	autogroup both_of_us me you
	autogroup only_me  me
 
Now when I log in I can access files with group both_of_us but
not the only_me group files.  If I make the only_me autogroup
line first, then I can access the only_me group files but not the
both_of_us files.  Does anyone know of a patch to the code to
*fully* parse the class and autogroup lines to allow the above
(and even more elaborate) scenarios.

The /etc/group files are correctly setup and all files and
directories are properly tagged with their permissions and groups.
Also, I could find nothing in the FAQ on this topic.

Thanks,
Jim

 

From owner-wu-ftpd@wugate.wustl.edu Wed Aug 21 14:20: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 m0utKhM-000DJ6C; Wed, 21 Aug 96 14:20 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA26529; Wed, 21 Aug 1996 16:15:03 -0500
Received: from csu-e.csuohio.edu (csu-e.csuohio.edu [137.148.5.27]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA26058 for <wu-ftpd@wugate.wustl.edu>; Wed, 21 Aug 1996 16:03:59 -0500
Received: from athena.csuohio.edu (athena.csuohio.edu [137.148.5.13]) by csu-e.csuohio.edu (8.6.12/8.6.12) with SMTP id RAA06406 for <wu-ftpd@mail.wustl.edu>; Wed, 21 Aug 1996 17:01:59 -0400
Message-Id: <199608212101.RAA06406@csu-e.csuohio.edu>
Date: Wed, 21 Aug 1996 17:02:59 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Matthew B. Thomson" <m.thomson@csuohio.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Is /etc necessary?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: m.thomson@popmail.csuohio.edu
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

-----BEGIN PGP SIGNED MESSAGE-----

I was running a version of 2.4(1) under Solaris 2.4 on one of our servers, 
and in an effort to simplify, removed the /etc directory from the anonymous 
directory structure.  This worked fine, and the only effect I noticed was 
that it was unable to resolve owner and group names when doing a directory.  
This is fine with me.

Now I have moved the exact same binary and configuration files from our test 
server to our production server, and now it does not work unless /etc/passwd 
and /etc/group are present in the anonymous hierarchy.

Has anyone experienced anything similar, or know what might be causing it to 
work in one place, and not in another?  The two machines are completely 
identical for all practical purposes.

I know this may not be very clear, so please contact me if you can help but 
have more questions.


Thank You,
Matt
  

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMht5L6fy/ASMoMGtAQGcuAQAnWag9zKUvK4rPCeKE0z0wwk8evS7oesw
bwE5Rl/AfHquajF8Zo7TsHFXOCDqK7XqmmsFQ5tS2eS10lIvW5lLN5ns7y+3TY1t
iPQTG9Fx10p8IT3V8iwE/So1984VDay9WFoOaFc02vB70tJ6FnugB29Lu/EU6yfL
0Ls3jao2McY=
=7uq0
-----END PGP SIGNATURE-----
----------------------------------------------------------------
- Matthew B. Thomson                                           -
- Network Support Specialist                                   -
- Cleveland State University Information Services & Technology -
- m.thomson@csuohio.edu  -  216-687-9217  -  Fax 216-687-9200  -
----------------------------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 04:54:51 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 m0utYLV-0009HhC; Thu, 22 Aug 96 04:54 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA00512; Thu, 22 Aug 1996 06:51:11 -0500
Received: from mail.silicon.net.my (mail.silicon.net.my [202.185.254.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA14397 for <wu-ftpd@wugate.wustl.edu>; Thu, 22 Aug 1996 05:26:45 -0500
Received: (from fskok@localhost) by mail.silicon.net.my (8.6.12/8.6.9) id SAA20837; Thu, 22 Aug 1996 18:14:47 +0800
Message-Id: <Pine.LNX.3.91.960822175852.20754B-100000@mail.silicon.net.my>
Date: Thu, 22 Aug 1996 18:14:47 +0800 (GMT+0800)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kok Fock Seng <fskok@silicon.net.my>
To: wu-ftpd@wugate.wustl.edu
Subject: Can't do "ls -la" on a DEC machine
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi there :

    I have downloaded a copy of wu-ftpd for my DEC OFS. Everything
works fine, but when I do a "ls -la", it just skip the contents.
(It works fine with "ls" somehow).

This is the output of the "ls -la" :
ftp> ls -la
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp>

I traced into the source code and found out that :
  "ls" will call the function send_file_list(),  but
  "ls -la" will call retrieve() which will call ftpd_popen().
Looks like ftpd_popen() is not working properly.

The ftpd_popen() will fork a child to exec "ls -la" and the
output will be piped back to the parent. Somehow I don't know
why it's not working. 

Any idea ? Am I getting the old version ?

Thanks,

Kok Fock Seng
System Administrator
Silicon Communications

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 07:16: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 m0utaYj-0000tIC; Thu, 22 Aug 96 07:16 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA08320; Thu, 22 Aug 1996 09:13:44 -0500
Received: from alpha.cyberplex.com ([207.81.40.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA04673 for <wu-ftpd@wugate.wustl.edu>; Thu, 22 Aug 1996 08:17:40 -0500
Received: by alpha.cyberplex.com; (5.65/1.1.8.2/07Feb96-0624PM)
	id AA12298; Thu, 22 Aug 1996 09:14:49 -0400
Message-Id: <9608221314.AA12298@alpha.cyberplex.com>
Date: Thu, 22 Aug 1996 09:14:49 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Rodrigues <craig@cyberplex.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Can't do "ls -la" on a DEC machine
In-Reply-To: <Pine.LNX.3.91.960822175852.20754B-100000@mail.silicon.net.my> from "Kok Fock Seng" at Aug 22, 96 06:14:47 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

What is in your inetd.conf?

For me, going to /sbin/init.d and then doing ./inetd stop, ./inetd start
seemed to fix things for ls -la.
-- 
Craig Rodrigues                     CyberPlex Interactive Media
Application Programmer              24 Duncan St., Suite 300
                                    Toronto ON  M5V 2B8   CANADA
craig@cyberplex.com                 (416) 597-8889(voice) (416)597-2345(fax)

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 11:53: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 m0utesm-000DMjC; Thu, 22 Aug 96 11:53 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA28875; Thu, 22 Aug 1996 13:48:47 -0500
Received: from sc.netus.com (sc.netus.com [206.171.208.194]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA28671 for <wu-ftpd@wugate.wustl.edu>; Thu, 22 Aug 1996 13:45:45 -0500
Received: from lurch (lurch.netus.com [206.171.208.69]) by sc.netus.com (8.6.12/8.6.12) with SMTP id LAA18575 for <wu-ftpd@mail.wustl.edu>; Thu, 22 Aug 1996 11:43:39 -0700
Message-Id: <321C9EB0.70F6@msmail.netus.com>
Date: Thu, 22 Aug 1996 10:53:52 -0700
Reply-To: christopher@msmail.netus.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chris McCrory <christopher@msmail.netus.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Compiling wu-ftp-academ-beta-11 and archive
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5a (WinNT; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello...

Has anyone set up a FAQ on compiling wu-ftp-academ-beta-11 under Linux? 
I am using kernel 2.0 and I am getting some errors.  I have seen half
answers, but no full answers to the two or three problems (compiling,
'ls' and 'dir').  Any info would be great.  Even a pointer to an up to
date archive or this list would work.

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 13:28: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 m0utgMa-000FAkC; Thu, 22 Aug 96 13:28 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA07436; Thu, 22 Aug 1996 15:23:58 -0500
Received: from ds5200.sistecol.com (ds5200.sistecol.com [200.9.31.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA06643 for <wu-ftpd@wugate.wustl.edu>; Thu, 22 Aug 1996 15:16:19 -0500
Received: (from oscarb@localhost) by ds5200.sistecol.com (8.6.12/8.6.12) id PAA04474; Thu, 22 Aug 1996 15:18:27 -0500
Message-Id: <199608222018.PAA04474@ds5200.sistecol.com>
Date: Thu, 22 Aug 1996 15:18:27 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Oscar J. Bolivar G." <oscarb@ds5200.sistecol.com>
To: wu-ftpd@wugate.wustl.edu
Cc: oscarb@ds5200.sistecol.com (Oscar J. Bolivar G.)
Subject: deny question
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:


I have an DEC Alpha Machine running wu-2.4.

How I can to configure this software in order to deny the ftp access
to some accounts that are defined in the system???

P.E. The account xxx (is in the /etc/passwd file) can get the mail
(remotly, using POP) but can not use ftp (with the xxx account) to the machine.
The user can use the anonymous ftp only.

Thanks in advance for your help.


Oscar J., Bolivar G.
STA - Colombia.


E-mail:  oscarb@ds5200.sistecol.com

P.D. Sorry but my english is very bad

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 14:39:12 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 m0uthSu-000DBfC; Thu, 22 Aug 96 14:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA18072; Thu, 22 Aug 1996 16:35:26 -0500
Received: from viper.oncomdis.on.ca ([204.101.15.251]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA17804 for <wu-ftpd@wugate.wustl.edu>; Thu, 22 Aug 1996 16:32:09 -0500
Received: from bbs.oncomdis.on.ca (bbs.oncomdis.on.ca [204.101.15.3]) by viper.oncomdis.on.ca (8.6.12/8.6.9) with SMTP id QAA00527 for <wu-ftpd@mail.wustl.edu>; Thu, 22 Aug 1996 16:30:56 -0400
Received: from MHS by bbs.oncomdis.on.ca with MHS
    id BBBKAECC ; Thu, 22 Aug 1996 17:26:14 -0500
Message-Id: <TCPSMTP.16.8.22.-15.26.4.2308878478.563285@bbs.oncomdis.on.ca>
Date: Thu, 22 Aug 1996 17:26:04 -0500 
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pstewart@oncomdis.on.ca
To: wu-ftpd@wugate.wustl.edu
Subject: Problem compiling
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi there...

I recently started to use wu-ftpd 2.4 fixed version.... I really need it
to support shadow passwords for our newest server etc...

When compiling I get the following error:

glob.c: in function 'matchdir':
glob.c: 240: dereferencing pointer to incomplete type
make: *** [glob.c] error 1

Anyone have any suggestions... or better yet, anyone have a shadow
enabled ftpd I can download in binary format ? :-)

Thanks again,

Paul
*** Sent Via Online Computer Distribution (http://www.oncomdis.on.ca) *** 

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 15:39: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 m0utiPY-000DRHC; Thu, 22 Aug 96 15:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA23737; Thu, 22 Aug 1996 17:36:25 -0500
Received: from mailer.elecomm.net ([207.34.183.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA23183 for <wu-ftpd@wugate.wustl.edu>; Thu, 22 Aug 1996 17:29:47 -0500
Message-Id: <199608222229.PAA12627@mailer.elecomm.net>
Date: Thu, 22 Aug 1996 15:29:23 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Emanuele Buttice <buttice@elecomm.net>
To: wu-ftpd@wugate.wustl.edu
X-Sender: buck@elecomm.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


From owner-wu-ftpd@wugate.wustl.edu Thu Aug 22 23:37: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 m0utpsQ-00005tC; Thu, 22 Aug 96 23:37 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id BAA08921; Fri, 23 Aug 1996 01:34:00 -0500
Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id BAA08575 for <wu-ftpd@wugate.wustl.edu>; Fri, 23 Aug 1996 01:23:21 -0500
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1)
	  from mainz.mz.rhein-main.de (193.141.104.129) with smtp
	  id <m0utpdS-0000XiC>; Fri, 23 Aug 96 08:22 MEST
Received: from illuminatus.mz.rhein-main.de by mainz.mz.rhein-main.de with cbsmtp
	(Smail3.1.29.1 #1) id m0utpdI-000CweC; Fri, 23 Aug 96 08:22 MET DST
Received: by Illuminatus.mz.rhein-main.de (Smail3.1.29.1 #1)
	id m0utoC5-00039oC; Fri, 23 Aug 96 06:50 MET DST
Message-Id: <4vjd9t$i80@Illuminatus.MZ.Rhein-Main.DE>
Date: 23 Aug 1996 06:50:05 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: volker@illuminatus.mz.rhein-main.de (Volker Schmidt)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compiling wu-ftp-academ-beta-11 and archive
References: <321C9EB0.70F6@msmail.netus.com>
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960822]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <321C9EB0.70F6@msmail.netus.com>, Chris McCrory
<christopher@msmail.netus.com> wrote:

: Has anyone set up a FAQ on compiling wu-ftp-academ-beta-11 under Linux?
: I am using kernel 2.0 and I am getting some errors.  I have seen half
: answers, but no full answers to the two or three problems (compiling,
: 'ls' and 'dir').  Any info would be great.  Even a pointer to an up to
: date archive or this list would work.

I've made a patch to compile wu-ftp-academ-beta-11 under
linux-2.0.1[0-4]. You don't need anything from BSD (includes &
libs). The patch is not available on an public archive. I'm
unable to test it under a _real_ load, so I dunno, if I broke
something.

If you can test it on a real anonymous machine, with real load,
I'd like to hear something... ;-)

I'll send you a copy of the patch as EMail; it's 4 KByte in size.

--volker
-- 
Volker Schmidt                          volker@illuminatus.mz.rhein-main.de

PGP public key available on request.

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 23 10:45:56 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 m0uu0Ij-0000QKC; Fri, 23 Aug 96 10:45 PDT
Received: from wugate.wustl.edu by nwnexus.wa.com with SMTP id AA27493
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Fri, 23 Aug 1996 03:30:19 -0700
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA18191; Fri, 23 Aug 1996 05:27:51 -0500
Received: from phantom.eri.uct.ac.za (phantom.eri.uct.ac.za [137.158.132.141]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA17996 for <wu-ftpd@wugate.wustl.edu>; Fri, 23 Aug 1996 05:22:45 -0500
Received: (from mj@localhost) by phantom.eri.uct.ac.za (8.6.9/8.6.9) id MAA12180 for wu-ftpd@wugate.wustl.edu; Fri, 23 Aug 1996 12:21:46 +0200
Message-Id: <199608231021.MAA12180@phantom.eri.uct.ac.za>
Date: Fri, 23 Aug 1996 12:21:46 +0200 (GMT+0200)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael-John Turner <mj@phantom.eri.uct.ac.za>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem compiling
In-Reply-To: <TCPSMTP.16.8.22.-15.26.4.2308878478.563285@bbs.oncomdis.on.ca> from "pstewart@oncomdis.on.ca" at Aug 22, 96 05:26:04 pm
Content-Type: text
X-Motto: UNIX - Live free or die
X-Os: Linux 2.0.13 
X-Url: http://phantom.eri.uct.ac.za/~mj
X-You-Read-Your-Mail-Headers: Hi!
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I recently started to use wu-ftpd 2.4 fixed version.... I really need it
> to support shadow passwords for our newest server etc...
> When compiling I get the following error:
> glob.c: in function 'matchdir':
> glob.c: 240: dereferencing pointer to incomplete type
> make: *** [glob.c] error 1

I've noticed this problem on 3 machines using gcc 2.7.2 under Linux.
wu ftpd compiles fine under gcc 2.7.0, so perhaps you should try that.

Cheers
 M-J
-= Michael-John Turner -=-=-=-=-=-=-=-=-=-=-= UNIX: Live free or die -=-
 mjturner@icon.co.za              Proud Linux user and Team OS/2 member
 mj@phantom.eri.uct.ac.za         PGP key via mail or finger @phantom
 trnmic07@sonnenberg.uct.ac.za    http://phantom.eri.uct.ac.za/~mj

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 23 10:47:22 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 m0uu0KF-0009NuC; Fri, 23 Aug 96 10:47 PDT
Received: from nwnexus.wa.com by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0uu06d-0003M7C; Fri, 23 Aug 96 10:33 PDT
Received: from wugate.wustl.edu by nwnexus.wa.com with SMTP id AA11237
  (5.65c/IDA-1.4.4 for <bill@celestial.com>); Fri, 23 Aug 1996 05:24:29 -0700
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA23963; Fri, 23 Aug 1996 07:22:01 -0500
Received: from summit.bor.ohio.gov (summit.bor.ohio.gov [156.63.16.15]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA23705 for <wu-ftpd@wugate.wustl.edu>; Fri, 23 Aug 1996 07:18:04 -0500
Received: by summit.bor.ohio.gov (8.6.13/5.901231)
	id IAA11287; Fri, 23 Aug 1996 08:17:21 -0400
Message-Id: <199608231217.IAA11287@summit.bor.ohio.gov>
Date: Fri, 23 Aug 1996 08:17:21 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob DeBula <bobd@summit.bor.ohio.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: deny question
In-Reply-To: <199608222018.PAA04474@ds5200.sistecol.com> from "Oscar J. Bolivar G." at Aug 22, 96 03:18:27 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I have an DEC Alpha Machine running wu-2.4.
> 
> How I can to configure this software in order to deny the ftp access
> to some accounts that are defined in the system???
> 
> P.E. The account xxx (is in the /etc/passwd file) can get the mail
> (remotly, using POP) but can not use ftp (with the xxx account) to the machine.
> The user can use the anonymous ftp only.

Well, if you also don't want them to be able to login to the system
and only access via POP, you'll probably want to make their shell
in "/etc/passwd" something like "/bin/false", which *shouldn't*, 
per my recollection, impact their ability to connect via the POP
protocol (port 109 or 110 usually). As far as not allowing them to FTP
other than as anonymous, from the WU ftpd man page (see rule two):

---------------------------------------------------------------------
       Ftpd authenticates users according to four rules.
 
       1)     The user name must be in the  password  data  base,
              /etc/passwd,  or  whatever  is  appropriate for the
              operating system, and  the  password  must  not  be
              null.   In this case a password must be provided by
              the client before any file operations may  be  per-
              formed.
 
       2)     The   user   name  must  not  appear  in  the  file
              /etc/ftpusers.
 
       3)     The user must have a  standard  shell  returned  by
              getusershell(3).
 
       4)     If  the  user  name is ``anonymous'' or ``ftp'', an
              anonymous ftp account must be present in the  pass-
              word file (user ``ftp'').  In this case the user is
              allowed to log in by specifying  any  password  (by
              convention  this  is  given  as  the  client host's
              name).
---------------------------------------------------------------------

So, you'll want to add the users who aren't to be allowed FTP priviledges
to "/etc/ftpusers". Many folks add accounts like "root", "uucp",  and a
variety of other system administration accounts to that file as well.
You'll also need to add "/bin/false" to "/etc/shells" (or create it if it
doesn't exist). My "/etc/shells" (on an Alpha running Digital Unix 3.2D)
looks like:

-------------------------------------
/usr/bin/sh
/usr/bin/csh
/usr/bin/ksh
/bin/sh
/bin/csh
/bin/ksh
/usr/local/bin/tcsh
/bin/false
-------------------------------------

I hope this helps to answer your question,

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 23 11:45: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 m0uu1Do-000DRlC; Fri, 23 Aug 96 11:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA27886; Fri, 23 Aug 1996 13:36:32 -0500
Received: from cadaver.acm.ndsu.NoDak.edu (cadaver.acm.ndsu.NoDak.edu [134.129.90.225]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA25633 for <wu-ftpd@wugate.wustl.edu>; Fri, 23 Aug 1996 13:11:24 -0500
Received: by cadaver.acm.ndsu.NoDak.edu (NX5.67d/NX3.0M)
	id AA28597; Fri, 23 Aug 96 13:09:54 -0500
Message-Id: <9608231809.AA28597@cadaver.acm.ndsu.NoDak.edu>
Date: Fri, 23 Aug 1996 13:09:53 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Chadwick A. Dubuque" <cdubuque@cadaver.acm.ndsu.NoDak.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem compiling
In-Reply-To: <199608231021.MAA12180@phantom.eri.uct.ac.za> from "Michael-John Turner" at Aug 23, 96 12:21:46 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Help: I am being held captive against my will.
X-Mailer: ELM [version 2.4 PL24 PGP2]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Michael-John Turner wrote:

(hmm...someone else wrote:)
> > I recently started to use wu-ftpd 2.4 fixed version.... I really need it
> > to support shadow passwords for our newest server etc...
> > When compiling I get the following error:
> > glob.c: in function 'matchdir':
> > glob.c: 240: dereferencing pointer to incomplete type
> > make: *** [glob.c] error 1

> I've noticed this problem on 3 machines using gcc 2.7.2 under Linux.
> wu ftpd compiles fine under gcc 2.7.0, so perhaps you should try that.

The announcement for gcc-2.7.2.1 said it fixed problems under Linux. Try
that, too.

-- 
Chadwick A. Dubuque              cdubuque@cadaver.acm.ndsu.NoDak.edu
http://www.acm.ndsu.NoDak.edu/~cdubuque/     finger for PGP pub. key
"If a tree falls in the forest . . . and we've already sold the
tree . . . does it have quality?" -The Pointy Haired Boss, "Dilbert"

From owner-wu-ftpd@wugate.wustl.edu Sun Aug 25 07:39: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 m0uugLv-000DONC; Sun, 25 Aug 96 07:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA05432; Sat, 24 Aug 1996 17:04:51 -0500
Received: from reepicheep.gcn.uoknor.edu (reepicheep.gcn.ou.edu [129.15.43.115]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA04162 for <wu-ftpd@wugate.wustl.edu>; Sat, 24 Aug 1996 16:49:34 -0500
Received: by reepicheep.gcn.uoknor.edu id AA25054
  (5.67b/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Sat, 24 Aug 1996 16:48:51 -0500
Message-Id: <199608242148.AA25054@reepicheep.gcn.uoknor.edu>
Date: Sat, 24 Aug 1996 16:48:51 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Richman <richman@reepicheep.gcn.uoknor.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Shadow file problem???
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

A followup on my problem trying to get real ftp transfers to work
on Solaris 2.5.1 on an Ultra 2.  The anonymous login works, but
real ones do not.  Someone kindly pointed me to the FAQ file which
said the following:


+ 2. Anonymous ftp works fine, but real users are denied access 
+ 
+     Check the following :
+ 
+     o Their shell is in the /etc/shells file. Note : AIX doesn't even
+       have this file, so you need to create it for wu-ftpd. 
+ 
+     o Or, for AIX: get the patch from
+ 
+       tigger.itc.virginia.edu:/pub/AIX/wu-ftpd.diffs.txt.gz which
+       gets the shells list 'the AIX way'. 
+ 
+     o If you're using shadow passwords : make sure the daemon is
+       compiled with shadow password support. 

The first is fine, as I touched a file to create /etc/shells and filled
it with 6 different absolute paths to the most common shells.  The second
point should not apply to Solaris, so I am hoping it is the third one.  
But the only reference to the word shadow in wu-ftpd-2.4 is in the file
/src/ftp.c  It is *not* commented out, so should be working.  Is there
something obvious I am missing?

Mike Richman
mrichman@uoknor.edu

From owner-wu-ftpd@wugate.wustl.edu Sun Aug 25 19:50: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 m0uurlG-0004j6C; Sun, 25 Aug 96 19:50 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id VAA23854; Sun, 25 Aug 1996 21:46:29 -0500
Received: from cbwood.beve.blacksburg.va.us (infinity.beve.blacksburg.va.us [198.82.200.71]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAA23709 for <wu-ftpd@wugate.wustl.edu>; Sun, 25 Aug 1996 21:38:00 -0500
Received: from infinity.heartofgold (probability.heartofgold [192.0.2.129]) by cbwood.beve.blacksburg.va.us (8.7.3/8.6.9) with SMTP id WAA18950 for <wu-ftpd@wugate.wustl.edu>; Sun, 25 Aug 1996 22:37:45 -0400
Message-Id: <199608260237.WAA18950@cbwood.beve.blacksburg.va.us>
Date: Fri, 23 Aug 1996 22:37:22 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: cbwood@infinity.beve.blacksburg.va.us
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem compiling
X-Mailer: Post Road Mailer (Green Edition Ver 2.0)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

** Reply to note from wu-ftpd@wugate.wustl.edu Fri, 23 Aug 1996 13:09:53 -0500 (CDT) 
>    
> Michael-John Turner wrote: 
>    
> (hmm...someone else wrote:) 
> > > I recently started to use wu-ftpd 2.4 fixed version.... I really need it 
> > > to support shadow passwords for our newest server etc... 
> > > When compiling I get the following error: 
> > > glob.c: in function 'matchdir': 
> > > glob.c: 240: dereferencing pointer to incomplete type 
> > > make: *** [glob.c] error 1 
>    
> > I've noticed this problem on 3 machines using gcc 2.7.2 under Linux. 
> > wu ftpd compiles fine under gcc 2.7.0, so perhaps you should try that. 
>    
> The announcement for gcc-2.7.2.1 said it fixed problems under Linux. Try 
> that, too. 
>    
> --  
> Chadwick A. Dubuque              cdubuque@cadaver.acm.ndsu.NoDak.edu 
> http://www.acm.ndsu.NoDak.edu/~cdubuque/     finger for PGP pub. key 
> "If a tree falls in the forest . . . and we've already sold the 
> tree . . . does it have quality?" -The Pointy Haired Boss, "Dilbert" 
>    
>    
>    
> Michael-John Turner wrote: 
>    
> (hmm...someone else wrote:) 
> > > I recently started to use wu-ftpd 2.4 fixed version.... I really need it 
> > > to support shadow passwords for our newest server etc... 
> > > When compiling I get the following error: 
> > > glob.c: in function 'matchdir': 
> > > glob.c: 240: dereferencing pointer to incomplete type 
> > > make: *** [glob.c] error 1 
>    
 
In your CFLAGS, add "-DDIRENT_ILLEGAL_ACCESS". 
 
This is a result of a change in the "dirent.h" include file under 
the newer linux Kernels. I've been compiling wu-ftpd fine ever since I've 
discovered this. 
 
 
 
  

========================================================================= 
= Clifton Wood       | "Tis better to worry for nothing than to not worry   
- Software Engineer  |  and meet Mr. Murphy when you are the least  
- TeleWorks, Inc.    |  unprepared for him." - Overheard at a bar.

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 26 09:28: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 m0uv4WL-000FE2C; Mon, 26 Aug 96 09:28 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA18357; Mon, 26 Aug 1996 11:23:29 -0500
Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA17912 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 11:10:15 -0500
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1)
	  from mainz.mz.rhein-main.de (193.141.104.129) with smtp
	  id <m0uv4E9-0000XPC>; Mon, 26 Aug 96 18:09 MEST
Received: from illuminatus.mz.rhein-main.de by mainz.mz.rhein-main.de with cbsmtp
	(Smail3.1.29.1 #1) id m0uv4Dk-000CpgC; Mon, 26 Aug 96 18:09 MET DST
Received: by Illuminatus.mz.rhein-main.de (Smail3.1.29.1 #1)
	id m0uutvO-00039QC; Mon, 26 Aug 96 07:09 MET DST
Message-Id: <4vrbi2$4e2@Illuminatus.MZ.Rhein-Main.DE>
Date: 26 Aug 1996 07:09:22 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: volker@illuminatus.mz.rhein-main.de (Volker Schmidt)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem compiling
References: <TCPSMTP.16.8.22.-15.26.4.2308878478.563285@bbs.oncomdis.on.ca>
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960825]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

In article <TCPSMTP.16.8.22.-15.26.4.2308878478.563285@bbs.oncomdis.on.ca>, pstewart@oncomdis.on.ca wrote:
: Hi there...

: I recently started to use wu-ftpd 2.4 fixed version.... I really need it
: to support shadow passwords for our newest server etc...

: When compiling I get the following error:

: glob.c: in function 'matchdir':
: glob.c: 240: dereferencing pointer to incomplete type
: make: *** [glob.c] error 1

: Anyone have any suggestions... or better yet, anyone have a shadow
: enabled ftpd I can download in binary format ? :-)

Yep. I got a it working with that fix.

*** wu-ftpd-2.4-old/src/glob.c  Fri Apr  1 21:03:42 1994
--- wu-ftpd-2.4/src/glob.c      Mon Feb 12 00:58:31 1996
***************
*** 237,243 ****
--- 238,248 ----
                        return;
                goto patherr2;
        }
+ #if defined (linux) && defined (__ELF__)
+       if (fstat(dirfd(dirp), &stb) < 0)
+ #else
        if (fstat(dirp->dd_fd, &stb) < 0)
+ #endif
                goto patherr1;
        if (!isdir(stb)) {
                errno = ENOTDIR;


--volker
-- 
Volker Schmidt                          volker@illuminatus.mz.rhein-main.de

PGP public key available on request.

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 26 09:59: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 m0uv507-0004KuC; Mon, 26 Aug 96 09:58 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA19790; Mon, 26 Aug 1996 11:54:41 -0500
Received: from viper.oncomdis.on.ca ([204.101.15.251]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA19369 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 11:46:06 -0500
Received: from bbs.oncomdis.on.ca (bbs.oncomdis.on.ca [204.101.15.3]) by viper.oncomdis.on.ca (8.6.12/8.6.9) with SMTP id LAB02583 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 11:44:57 -0400
Received: from MHS by bbs.oncomdis.on.ca with MHS
    id AMCHDIAB ; Mon, 26 Aug 1996 12:40:14 -0500
Message-Id: <TCPSMTP.16.8.26.12.39.56.2308878478.571048@bbs.oncomdis.on.ca>
Date: Mon, 26 Aug 1996 12:39:56 -0500 
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pstewart@oncomdis.on.ca
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem compiling
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

WU>: glob.c: in function 'matchdir':
WU>: glob.c: 240: dereferencing pointer to incomplete type
WU>: make: *** [glob.c] error 1

WU>: Anyone have any suggestions... or better yet, anyone have a shadow
WU>: enabled ftpd I can download in binary format ? :-)

WU>Yep. I got a it working with that fix.

WU>*** wu-ftpd-2.4-old/src/glob.c  Fri Apr  1 21:03:42 1994
WU>--- wu-ftpd-2.4/src/glob.c      Mon Feb 12 00:58:31 1996
WU>***************

Thanks.. works perfectly...:-)

Paul
*** Sent Via Online Computer Distribution (http://www.oncomdis.on.ca) *** 

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 26 15:02:42 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 m0uv9iz-000F66C; Mon, 26 Aug 96 15:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA05220; Mon, 26 Aug 1996 16:56:34 -0500
Received: from hub.impulse.net (hub.impulse.net [204.188.6.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA04949 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 16:48:47 -0500
Received: from purple.impulse.net ([204.188.6.16]) by hub.impulse.net (8.6.12/8.6.12) with SMTP id OAA06800 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 14:45:36 -0700
Message-Id: <199608262145.OAA06800@hub.impulse.net>
Date: Mon, 26 Aug 1996 14:45:37 +0000
Reply-To: chris@impulse.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher L. Cousins" <chris@impulse.net>
To: wu-ftpd@wugate.wustl.edu
Subject: anonymous
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v2.42a)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Someone told me that not being able to do a ls -l or dir as an 
anonymous user is a common problem.  I put the libs reqired by ls in 
the /lib dir.  During text ftp sessions I can use ls, just not ls -l 
or dir.  Am I missing something?  Is there an FAQ on this subject?

TIA
chris@impulse.net

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 26 16:02: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 m0uvAfU-0004HdC; Mon, 26 Aug 96 16:02 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA07659; Mon, 26 Aug 1996 17:57:11 -0500
Received: from legolas.mdh.se (legolas.mdh.se [130.238.251.203]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA07104 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 17:40:23 -0500
Received: from legolas.mdh.se (legolas.mdh.se [130.238.251.203]) by legolas.mdh.se (8.7.3/8.7.3) with SMTP id AAA24307 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 00:43:24 +0200 (MET DST)
Message-Id: <Pine.SOL.3.95.960827002132.5185C-100000@legolas.mdh.se>
Date: Tue, 27 Aug 1996 00:43:23 +0200 (MET DST)
Reply-To: Emil Isberg <emil.isberg@mds.mdh.se>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Emil Isberg <cel95eig@mds.mdh.se>
To: wu-ftpd@wugate.wustl.edu
Subject: static binaries
In-Reply-To: <199608262145.OAA06800@hub.impulse.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: cel95eig@mds.mdh.se
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello, 
I am trying to fix a static ls but got some problems
I link with:
gcc -static -o ls -s ls.o ls-ls.o ../lib/libfu.a -lintl -lgen
but gets:
Undefined                       first referenced
 symbol                             in file
dlclose                             /usr/lib/libc.a(nss_deffinder.o)
dlsym                               /usr/lib/libc.a(nss_deffinder.o)
dlopen                              /usr/lib/libc.a(nss_deffinder.o)
ld: fatal: Symbol referencing errors. No output written to ls

when I checked the manpage for dlclose it succested a -ldl flag..
but when I link with it I get:
ld: fatal: library -ldl: not found
ld: fatal: File processing errors.  No output written to ls

when I check whether I got that libld* I found:
/etc/lib/libdl.so.1
/usr/4lib/libdl.so.1.0
/usr/lib/libdl.so
/usr/lib/libdl.so.1

so now I wonder why does the link doesn't work..

Is there some way to get the static binaries for my host?
(uname -a: SunOS boromir 5.5 Generic sun4c sparc SUNW,Sun_4_50)

/Emil

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 26 18:16: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 m0uvClH-0007KYC; Mon, 26 Aug 96 18:16 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA11763; Mon, 26 Aug 1996 20:12:02 -0500
Received: from mail.silicon.net.my (mail.silicon.net.my [202.185.254.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA11619 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 20:05:13 -0500
Received: (from fskok@localhost) by mail.silicon.net.my (8.6.12/8.6.9) id JAA08990; Tue, 27 Aug 1996 09:15:15 +0800
Message-Id: <Pine.LNX.3.91.960827090638.8896B-100000@mail.silicon.net.my>
Date: Tue, 27 Aug 1996 09:15:15 +0800 (GMT+0800)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kok Fock Seng <fskok@silicon.net.my>
To: wu-ftpd@wugate.wustl.edu
Subject: ls -la again !!
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Dear Chris,
Friend, I am facing a problem like you also. I can't do ls -la
even for an authenticated user !! I traced into the code and found
out the ftpd fork a child process to handle ls -la. But, somehow
it doesn't work. Somebody ask me to use truss to find out the library
used by the ls, but on mine DEC machine, I can't find this
command.

 
Any help as I am in trouble ? My user is already ftp in using
ws_ftp! So the remote site is always blank !!

regards
Kok Fock Seng

Someone told me that not being able to do a ls -l or dir as an 
anonymous user is a common problem.  I put the libs reqired by ls in 
the /lib dir.  During text ftp sessions I can use ls, just not ls -l 
or dir.  Am I missing something?  Is there an FAQ on this subject?

TIA
chris@impulse.net

From owner-wu-ftpd@wugate.wustl.edu Mon Aug 26 18:44: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 m0uvDCg-0006bpC; Mon, 26 Aug 96 18:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA12561; Mon, 26 Aug 1996 20:41:07 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA12451 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 20:36:55 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.5/8.7.3) with SMTP id UAA10313 for <wu-ftpd@wugate.wustl.edu>; Mon, 26 Aug 1996 20:36:22 -0500
Message-Id: <Pine.LNX.3.95.960826203506.7558G-100000@ns1.fni.com>
Date: Mon, 26 Aug 1996 20:36:22 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ls -la again !!
In-Reply-To: <Pine.LNX.3.91.960827090638.8896B-100000@mail.silicon.net.my>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 27 Aug 1996, Kok Fock Seng wrote:

> Friend, I am facing a problem like you also. I can't do ls -la
> even for an authenticated user !! I traced into the code and found

Get the guest howto below and study it closely.  The anonymous directory
structure is the same as the guest.

   -- Michael


This is the location for the latest wu-ftpd.  You can't see the
directory contents, but get the file anyway.  It's there.

ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-11.tar.Z

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

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 06:54: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 m0uvOav-000DJ0C; Tue, 27 Aug 96 06:54 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA29280; Tue, 27 Aug 1996 08:50:41 -0500
Received: from loki.oar.net (loki.oar.net [199.18.97.133]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA28670 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 08:37:08 -0500
Received: from jmassops  for pfincher@jmassops.jmass.com
	by loki.oar.net (8.6.10/931123.1402) id JAA12160; Tue, 27 Aug 1996 09:36:22 -0400
Received: from jmassops.jmass.com by jmassops (SMI-8.6/SMI-SVR4)
	id JAA27725; Tue, 27 Aug 1996 09:36:04 -0400
Received: by jmassops.jmass.com (SMI-8.6/SMI-SVR4)
	id JAA27722; Tue, 27 Aug 1996 09:36:02 -0400
Message-Id: <199608271336.JAA27722@jmassops.jmass.com>
Date: Tue, 27 Aug 1996 09:36:02 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pfincher@jmassops.jmass.com (Paul Fincher (CACI))
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ls -la again !!
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: iaMUAMlHGwCGUJZ4tsUFLQ==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

All,

 >Someone told me that not being able to do a ls -l or dir as an 
 >anonymous user is a common problem.  I put the libs reqired by ls in 
 >the /lib dir.  During text ftp sessions I can use ls, just not ls -l 
 >or dir.  Am I missing something?  Is there an FAQ on this subject?
 >
 
  I was having the same problem when someone told me about ftpd-ls. It is setup 
to be statically linked and worked perfectly the first time.  I can't remember 
where I got it but I found it by searching the web for ftpd-ls. I am running 
Solaris 2.5 on a SPARC-10. Hope this helps!
  
Paul Fincher   (Customer Support/Webmaster)
J-Mass Operational Support
pfincher@jmass.com
 

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 07:47: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 m0uvPQ1-000DIQC; Tue, 27 Aug 96 07:47 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA01978; Tue, 27 Aug 1996 09:43:17 -0500
Received: from i17linuxb.ists.pwr.wroc.pl (i17linuxb.ists.pwr.wroc.pl [156.17.35.8]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA01358 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 09:29:08 -0500
Received: (from marekm@localhost) by i17linuxb.ists.pwr.wroc.pl (8.7.5/8.7.3) id QAA16145; Tue, 27 Aug 1996 16:28:01 +0200
Message-Id: <199608271428.QAA16145@i17linuxb.ists.pwr.wroc.pl>
Date: Tue, 27 Aug 1996 16:28:00 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@academ.com
Subject: Re: Problem compiling
In-Reply-To: <199608260237.WAA18950@cbwood.beve.blacksburg.va.us> from "cbwood@infinity.beve.blacksburg.va.us" at Aug 23, 96 10:37:22 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25 PGP2]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> > > > I recently started to use wu-ftpd 2.4 fixed version.... I really need it 
> > > > to support shadow passwords for our newest server etc... 

Try a newer beta release - it has lots of bug fixes compared to old 2.4.
ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-11.tar.Z

> > > > When compiling I get the following error: 
> > > > glob.c: in function 'matchdir': 
> > > > glob.c: 240: dereferencing pointer to incomplete type 
> > > > make: *** [glob.c] error 1 
> >    
>  
> In your CFLAGS, add "-DDIRENT_ILLEGAL_ACCESS". 

Better yet, apply the patch below (it's for 2.4.2beta11 - cc'ing to the
maintainer, please consider including this patch in the next release).
The use of DIRENT_ILLEGAL_ACCESS is discouraged - the comment in dirent.h
above the definition of struct DIR says:
/* Use it at your own risk. */

Perhaps the code could be changed to avoid this magic completely -
this glob.c is from 1980 (!), a newer one (from bsd-ftpd-6.00) doesn't
use this.  Can't we just stat() the directory name in question instead
of the current opendir+fstat hack?  Besides, opendir should fail on
non-directories anyway; perhaps it didn't in 1980 :-).

> This is a result of a change in the "dirent.h" include file under 
> the newer linux Kernels. I've been compiling wu-ftpd fine ever since I've 

Actually, I think it's a change in newer versions of (ELF) libc.

The patch also enables support for shadow passwords on ELF systems
(getspnam() is standard in libc 5.x, both shadow and non-shadow
passwords will work).  Better to do it here than to tell maintainers
of every Linux distribution to do it...

Regards,

Marek

diff -urN wu-ftpd-2.4.2-beta-11.orig/src/config/config.lnx wu-ftpd-2.4.2-beta-11/src/config/config.lnx
--- wu-ftpd-2.4.2-beta-11.orig/src/config/config.lnx	Mon Apr 15 07:51:40 1996
+++ wu-ftpd-2.4.2-beta-11/src/config/config.lnx	Sun Aug 25 17:40:44 1996
@@ -30,6 +30,11 @@
 #define USE_VAR
 #define VIRTUAL
 
+#ifdef __ELF__
+#define SHADOW_PASSWORD
+#define HAVE_DIRFD
+#endif
+
 #include <bsd/bsd.h>
 #include <stdlib.h>		/* here instead of in all the srcs.  _H*/
 #include <unistd.h>
diff -urN wu-ftpd-2.4.2-beta-11.orig/src/ftpd.c wu-ftpd-2.4.2-beta-11/src/ftpd.c
--- wu-ftpd-2.4.2-beta-11.orig/src/ftpd.c	Mon Apr 15 07:51:11 1996
+++ wu-ftpd-2.4.2-beta-11/src/ftpd.c	Tue Aug 27 16:04:28 1996
@@ -3275,15 +3275,14 @@
 #ifndef HAVE_DIRENT    /* does not have d_namlen */
             if (dir->d_name[0] == '.' && dir->d_namlen == 1)
 #else
-            if (dir->d_name[0] == '.' && (strlen(dir->d_name) == 1))
+            if (strcmp(dir->d_name, ".") == 0)
 #endif
                 continue;
 #ifndef HAVE_DIRENT    /* does not have d_namlen */
             if (dir->d_namlen == 2 && dir->d_name[0] == '.' &&
                 dir->d_name[1] == '.')
 #else
-            if ((strlen(dir->d_name) == 2) && dir->d_name[0] == '.' &&
-                dir->d_name[1] == '.')
+            if (strcmp(dir->d_name, "..") == 0)
 #endif
                 continue;
 
diff -urN wu-ftpd-2.4.2-beta-11.orig/src/glob.c wu-ftpd-2.4.2-beta-11/src/glob.c
--- wu-ftpd-2.4.2-beta-11.orig/src/glob.c	Mon Apr 15 07:51:11 1996
+++ wu-ftpd-2.4.2-beta-11/src/glob.c	Sun Aug 25 17:44:04 1996
@@ -257,6 +257,12 @@
 	*gpathp = 0;
 }
 
+/* Linux libc 5.x: internals of "struct DIR" are hidden unless
+   DIRENT_ILLEGAL_ACCESS is defined.  Use dirfd() instead.  */
+#ifndef HAVE_DIRFD
+#define dirfd(dirp) (dirp)->dd_fd
+#endif
+
 static void
 #ifdef __STDC__
 matchdir(char *pattern)
@@ -281,7 +287,7 @@
 			return;
 		goto patherr2;
 	}
-	if (fstat(dirp->dd_fd, &stb) < 0)
+	if (fstat(dirfd(dirp), &stb) < 0)
 		goto patherr1;
 	if (!isdir(stb)) {
 		errno = ENOTDIR;

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 11:03: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 m0uvSUH-0004j0C; Tue, 27 Aug 96 11:03 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA13044; Tue, 27 Aug 1996 12:59:52 -0500
Received: from dataadmin.irm.r9.fws.gov (dataadmin.irm.r9.fws.gov [164.159.176.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA12778 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 12:55:46 -0500
Received: by dataadmin.irm.r9.fws.gov (SMI-8.6/SMI-SVR4)
	id LAA18973; Tue, 27 Aug 1996 11:52:02 -0600
Message-Id: <Pine.SOL.3.91.960827114914.18965B-100000@dataadmin>
Date: Tue, 27 Aug 1996 11:52:02 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Lentini <lentinij@dataadmin.irm.r9.fws.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Disabling Anonymous FTP
In-Reply-To: <Pine.SUN.3.91.960624203407.8904E-100000@halo.angel.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: lentinij@dataadmin
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi, I am disabling anonymous FTP from my site.

I just read over the FAQ and don't see any mention so I thought I'd ask 
here.

Is there anything that needs to be done other than removing the user from 
/etc/passwd to remove anonymous access? I've done this and it seems to do 
the trick, but I want to make sure that I haven't missed anything.

jim


	##################################
	##	James V. Lentini	##
	##	Systems Analyst		##
	##	Voice:303.275.2414	##
	##################################

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 11:17: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 m0uvShi-0002ePC; Tue, 27 Aug 96 11:17 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA13877; Tue, 27 Aug 1996 13:13:58 -0500
Received: from loki.oar.net (loki.oar.net [199.18.97.133]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA13753 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 13:11:08 -0500
Received: from jmassops  for pfincher@jmassops.jmass.com
	by loki.oar.net (8.6.10/931123.1402) id OAA15658; Tue, 27 Aug 1996 14:10:26 -0400
Received: from jmassops.jmass.com by jmassops (SMI-8.6/SMI-SVR4)
	id OAA00784; Tue, 27 Aug 1996 14:10:11 -0400
Received: by jmassops.jmass.com (SMI-8.6/SMI-SVR4)
	id OAA00781; Tue, 27 Aug 1996 14:10:10 -0400
Message-Id: <199608271810.OAA00781@jmassops.jmass.com>
Date: Tue, 27 Aug 1996 14:10:10 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pfincher@jmassops.jmass.com (Paul Fincher (CACI))
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Disabling Anonymous FTP
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: ckEaFrargPAi1g2YMIhfXQ==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Jim,

 >Is there anything that needs to be done other than removing the user from 
 >/etc/passwd to remove anonymous access? I've done this and it seems to do 
 >the trick, but I want to make sure that I haven't missed anything.
 
  You shoud be fine. I would also make sure that the /etc/shadow entry is also 
deleted if you are using password shadowing!
  
Paul Fincher   (Customer Support/Webmaster)
J-Mass Operational Support
pfincher@jmass.com

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 13:40: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 m0uvUvU-000DRnC; Tue, 27 Aug 96 13:39 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA21051; Tue, 27 Aug 1996 15:36:06 -0500
Received: from hobbes.crim.ca (hobbes.crim.ca [132.218.1.154]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA20796 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 15:29:54 -0500
Received: from hobbes.crim.ca (localhost [127.0.0.1]) by hobbes.crim.ca (8.7.5/8.7.5) with ESMTP id QAA28765 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 16:28:58 -0400 (EDT)
Message-Id: <199608272028.QAA28765@hobbes.crim.ca>
Date: Tue, 27 Aug 1996 16:28:58 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Luc Desrosiers <ldesrosi@CRIM.CA>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: static binaries 
In-Reply-To: Votre message du "Tue, 27 Aug 1996 00:43:23 +0200."
             <Pine.SOL.3.95.960827002132.5185C-100000@legolas.mdh.se> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.9 8/22/96
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> I am trying to fix a static ls but got some problems
> I link with:
> gcc -static -o ls -s ls.o ls-ls.o ../lib/libfu.a -lintl -lgen
> but gets:
> Undefined                       first referenced
>  symbol                             in file
> dlclose                             /usr/lib/libc.a(nss_deffinder.o)
> dlsym                               /usr/lib/libc.a(nss_deffinder.o)
> dlopen                              /usr/lib/libc.a(nss_deffinder.o)
> ld: fatal: Symbol referencing errors. No output written to ls


There is no static version of the dl library. Unless you want to
do it yourself, get a static ls from

http://www.eng.auburn.edu/users/doug/second.html

(as a bonus, you'll find there some other very handy utilities)

Luc Desrosiers

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 15:08: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 m0uvWIf-000DNlC; Tue, 27 Aug 96 15:07 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA24809; Tue, 27 Aug 1996 16:58:49 -0500
Received: from hub.impulse.net (hub.impulse.net [204.188.6.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA24654 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 16:53:34 -0500
Received: from purple.impulse.net ([204.188.6.16]) by hub.impulse.net (8.6.12/8.6.12) with SMTP id OAA26051 for <wu-ftpd@wugate.wustl.edu>; Tue, 27 Aug 1996 14:50:21 -0700
Message-Id: <199608272150.OAA26051@hub.impulse.net>
Date: Tue, 27 Aug 1996 14:50:16 +0000
Reply-To: chris@impulse.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher L. Cousins" <chris@impulse.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ls -la again !! <---prb solved
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v2.42a)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

For anyone who is having the same problems that I was....ie on an 
anonymous ftp ls would work but ls -l or dir would not....


Here is the answer.  Tested using SunOS 4.1.3  
Go to 

http://seusa.sumitomo.com/docs/security/firewalls/tis.com/toolkit/patc
hes/


and dl the file  ls.tar.Z

The Makefile is setup to staticly compile the binary.

Good luck
__________________________________________________
          
                Christopher L. Cousins
                  Impulse Internet
                  chris@impulse.net
            http://www.impulse.net/~cali209
__________________________________________________

From owner-wu-ftpd@wugate.wustl.edu Tue Aug 27 17:48: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 m0uvYoO-0004KuC; Tue, 27 Aug 96 17:48 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA01354; Tue, 27 Aug 1996 19:44:14 -0500
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA29730 for <wu-ftpd@mail.wustl.edu>; Tue, 27 Aug 1996 18:52:52 -0500
Received: from webster.comet.ucar.edu by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01I8S457JOYO000G0Z@wunet.wustl.edu>; Tue, 27 Aug 1996 18:46:57 -0500 (CDT)
Received: from localhost (karl@localhost) by webster.comet.ucar.edu
 (NCAR Local/8.7.2) with SMTP id RAA24940 for <wu-ftpd@wunet.wustl.edu>; Tue,
 27 Aug 1996 17:52:06 -0600 (MDT)
Message-Id: <Pine.GSO.3.95.960827174448.24935A-100000@webster>
Date: Tue, 27 Aug 1996 17:52:05 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl Hanzel <karl@comet.ucar.edu>
To: wu-ftpd@wunet.wustl.edu
Subject: trouble exec'ing anonymously
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-Sender: karl@webster
X-Authentication-Warning: webster.comet.ucar.edu: karl owned process doing -bs
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello-  i don't subscribe to this list, so please respond directly,
thanks.

I'm trying to set up anonymous read-only ftp on one of our machines.
Things appear to be ok, but exec'ing an 'ls' or 'dir' returns:

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

I've got a ~ftp/bin, with an 'ls' in it, with ownership & perms as
dictated in the INSTALL notes.

Maybe i don't understand the _PATH_EXECPATH setting...
------------------------------------------------------
**  _PATH_EXECPATH  "/bin/ftp-exec"
        The directory that contains additional binaries for use with the
        SITE EXEC command.
...
**  This path is relative to ~ftp.  To add the same functionality for real
------------------------------------------------------

Do i need to recompile with that set to just "/bin" then?... it's not
clear.

thanks in advance

*----->



Karl Hanzel        UCAR/COMET Systems Administrator     Boulder, Colorado
------------------------------------+------------------------------------
(303)497-8479     >> WORK <<        |        (303)443-6602     >> HOME <<
karl@comet.ucar.edu   (MIME)        |        karl@khaos.com   (NeXT/MIME)


From owner-wu-ftpd@wugate.wustl.edu Wed Aug 28 11:21: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 m0uvpEs-0009MxC; Wed, 28 Aug 96 11:21 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA02537; Wed, 28 Aug 1996 13:13:47 -0500
Received: from muddcs.cs.hmc.edu (muddcs.cs.hmc.edu [134.173.42.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA01717 for <wu-ftpd@wugate.wustl.edu>; Wed, 28 Aug 1996 12:53:30 -0500
Received: from localhost (quay@localhost) by muddcs.cs.hmc.edu (8.7.1/8.6.10) with SMTP id KAA03824 for <wu-ftpd@mail.wustl.edu>; Wed, 28 Aug 1996 10:52:41 -0700 (PDT)
Message-Id: <Pine.non-.3.93.960828105230.3027E-100000@muddcs.cs.hmc.edu>
Date: Wed, 28 Aug 1996 10:52:41 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Quay Ly <quay@muddcs.cs.hmc.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: help on installing wuftp  
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello..  I am having trouble installing wuftp on my system.  I had a lot
of compiling errors.  According to the INSTALL file, it told me to copy
/usr/include/arpa/ftp.h to support/ftp.h.  But when I did that, I got more
compiling error.

****Before copy file****
28 > ./build sol
make args are : 
make opts are : 

Linking Makefiles.

Making support library.
cc -g -DDEBUG   -c fnmatch.c
cc -g -DDEBUG   -c strcasestr.c
cc -g -DDEBUG   -c strsep.c
cc -g -DDEBUG   -c authuser.c
"/usr/include/arpa/inet.h", line 46: warning: dubious tag declaration:
struct in
_addr
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  -c  ftpd.c
"ftpd.c", line 512: warning: semantics of ">" change in ANSI C; use
explicit cas
t
"ftpd.c", line 532: warning: semantics of ">" change in ANSI C; use
explicit cast
"ftpd.c", line 759: warning: semantics of ">" change in ANSI C; use
explicit cast
"ftpd.c", line 1972: undefined symbol: typenames
"ftpd.c", line 1972: cannot dereference non-pointer type
"ftpd.c", line 1974: undefined symbol: formnames
"ftpd.c", line 1974: cannot dereference non-pointer type
"ftpd.c", line 1982: undefined symbol: strunames
"ftpd.c", line 1982: cannot dereference non-pointer type
"ftpd.c", line 1982: undefined symbol: modenames
"ftpd.c", line 1982: cannot dereference non-pointer type
cc: acomp failed for ftpd.c
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'

Making ftpcount.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsup
port -lsocket -lnsl -lgen 

ld: fatal: file vers.o: cannot open file; errno=2
ld: fatal: File processing errors.  No output written to ftpcount
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'
Making ftpshut.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupport -lsocket -lnsl -lgen
ld: fatal: file vers.o: cannot open file; errno=2
ld: fatal: File processing errors.  No output written to ftpshut
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
cc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
bin/ckconfig: 4009 + 516 + 328 = 4853
Done

****AFTER copy file****



29 > ./build sol
make opts are : 

Linking Makefiles.

Making support library.
cc -g -DDEBUG   -c fnmatch.c
cc -g -DDEBUG   -c strcasestr.c
cc -g -DDEBUG   -c strsep.c
cc -g -DDEBUG   -c authuser.c
"/usr/include/arpa/inet.h", line 46: warning: dubious tag declaration:
struct in_addr
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  -c  ftpd.c
"ftpd.c", line 512: warning: semantics of ">" change in ANSI C; use
explicit cast
"ftpd.c", line 532: warning: semantics of ">" change in ANSI C; use
explicit cast
"ftpd.c", line 759: warning: semantics of ">" change in ANSI C; use
explicit cast

"ftpcmd.y", line 888: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 888: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 888: warning: initialization type mismatch
"ftpcmd.y", line 889: warning: initialization type mismatch
"ftpcmd.y", line 889: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 889: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 889: warning: initialization type mismatch
"ftpcmd.y", line 890: warning: initialization type mismatch
"ftpcmd.y", line 890: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 890: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 890: warning: initialization type mismatch
"ftpcmd.y", line 891: warning: initialization type mismatch
"ftpcmd.y", line 891: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 891: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 891: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 891: warning: initialization type mismatch
"ftpcmd.y", line 892: warning: initialization type mismatch
"ftpcmd.y", line 892: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 892: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 892: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 892: warning: initialization type mismatch
"ftpcmd.y", line 893: warning: initialization type mismatch
"ftpcmd.y", line 893: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 893: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 893: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 893: warning: initialization type mismatch
"ftpcmd.y", line 894: warning: initialization type mismatch
"ftpcmd.y", line 894: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 894: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 894: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 894: warning: initialization type mismatch
"ftpcmd.y", line 895: warning: initialization type mismatch
"ftpcmd.y", line 895: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 895: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 895: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 895: warning: initialization type mismatch
"ftpcmd.y", line 896: warning: initialization type mismatch
"ftpcmd.y", line 896: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 896: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 896: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 896: warning: initialization type mismatch
"ftpcmd.y", line 897: warning: initialization type mismatch
"ftpcmd.y", line 897: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 897: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 897: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 897: warning: initialization type mismatch
"ftpcmd.y", line 898: warning: initialization type mismatch
"ftpcmd.y", line 898: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 898: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 898: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 898: warning: initialization type mismatch
"ftpcmd.y", line 899: warning: initialization type mismatch
"ftpcmd.y", line 899: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 899: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 899: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 899: warning: initialization type mismatch
"ftpcmd.y", line 900: warning: initialization type mismatch
"ftpcmd.y", line 900: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 900: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 900: warning: initialization type mismatch
"ftpcmd.y", line 901: warning: initialization type mismatch
"ftpcmd.y", line 901: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 901: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 901: warning: initialization type mismatch
"ftpcmd.y", line 902: warning: initialization type mismatch
"ftpcmd.y", line 902: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 902: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 902: warning: initialization type mismatch
"ftpcmd.y", line 903: warning: initialization type mismatch
"ftpcmd.y", line 903: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 903: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 903: warning: initialization type mismatch
"ftpcmd.y", line 904: warning: initialization type mismatch
"ftpcmd.y", line 904: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 904: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 904: warning: initialization type mismatch
"ftpcmd.y", line 905: warning: initialization type mismatch
"ftpcmd.y", line 905: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 905: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 905: warning: initialization type mismatch
"ftpcmd.y", line 906: warning: initialization type mismatch
"ftpcmd.y", line 906: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 906: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 906: warning: initialization type mismatch
"ftpcmd.y", line 907: warning: initialization type mismatch
"ftpcmd.y", line 907: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 907: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 907: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 907: warning: initialization type mismatch
"ftpcmd.y", line 908: warning: initialization type mismatch
"ftpcmd.y", line 908: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 908: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 908: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 908: warning: initialization type mismatch
"ftpcmd.y", line 909: warning: initialization type mismatch
"ftpcmd.y", line 909: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 909: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 909: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 909: warning: initialization type mismatch
"ftpcmd.y", line 910: warning: initialization type mismatch
"ftpcmd.y", line 910: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 910: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 910: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 910: warning: initialization type mismatch
"ftpcmd.y", line 911: warning: initialization type mismatch
"ftpcmd.y", line 911: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 911: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 911: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 911: warning: initialization type mismatch
"ftpcmd.y", line 912: warning: initialization type mismatch
"ftpcmd.y", line 912: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 912: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 912: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 912: warning: initialization type mismatch
"ftpcmd.y", line 913: warning: initialization type mismatch
"ftpcmd.y", line 913: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 913: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 913: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 913: warning: initialization type mismatch
"ftpcmd.y", line 914: warning: initialization type mismatch
"ftpcmd.y", line 914: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 914: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 914: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 914: warning: initialization type mismatch
"ftpcmd.y", line 915: warning: initialization type mismatch
"ftpcmd.y", line 915: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 915: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 915: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 915: warning: initialization type mismatch
"ftpcmd.y", line 916: warning: initialization type mismatch
"ftpcmd.y", line 916: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 916: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 916: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 916: warning: initialization type mismatch
"ftpcmd.y", line 917: warning: initialization type mismatch
"ftpcmd.y", line 917: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 917: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 917: warning: improper pointer/integer combination: op
"="
 "ftpcmd.y", line 917: warning: initialization type mismatch
"ftpcmd.y", line 918: warning: initialization type mismatch
"ftpcmd.y", line 918: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 918: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 918: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 918: warning: initialization type mismatch
"ftpcmd.y", line 919: warning: initialization type mismatch
"ftpcmd.y", line 919: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 919: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 919: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 919: warning: initialization type mismatch
"ftpcmd.y", line 920: warning: initialization type mismatch
"ftpcmd.y", line 920: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 920: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 920: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 920: warning: initialization type mismatch
"ftpcmd.y", line 921: warning: initialization type mismatch
"ftpcmd.y", line 921: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 921: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 921: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 921: warning: initialization type mismatch
"ftpcmd.y", line 922: warning: initialization type mismatch
"ftpcmd.y", line 922: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 922: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 922: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 922: warning: initialization type mismatch
"ftpcmd.y", line 923: warning: initialization type mismatch
"ftpcmd.y", line 923: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 923: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 923: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 923: warning: initialization type mismatch
"ftpcmd.y", line 924: warning: initialization type mismatch
"ftpcmd.y", line 924: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 924: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 924: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 924: warning: initialization type mismatch
"ftpcmd.y", line 925: warning: initialization type mismatch
"ftpcmd.y", line 925: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 925: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 925: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 925: warning: initialization type mismatch
"ftpcmd.y", line 926: warning: initialization type mismatch
"ftpcmd.y", line 926: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 926: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 926: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 926: warning: initialization type mismatch
"ftpcmd.y", line 927: warning: initialization type mismatch
"ftpcmd.y", line 927: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 927: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 927: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 927: warning: initialization type mismatch
"ftpcmd.y", line 928: warning: initialization type mismatch
"ftpcmd.y", line 928: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 928: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 928: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 928: warning: initialization type mismatch
"ftpcmd.y", line 929: warning: initialization type mismatch
"ftpcmd.y", line 929: warning: improper pointer/integer combination: op"="
"ftpcmd.y", line 929: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 929: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 929: warning: initialization type mismatch
"ftpcmd.y", line 930: warning: initialization type mismatch
"ftpcmd.y", line 930: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 930: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 930: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 930: warning: initialization type mismatch
"ftpcmd.y", line 931: warning: initialization type mismatch
"ftpcmd.y", line 931: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 931: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 931: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 931: warning: initialization type mismatch
"ftpcmd.y", line 932: warning: initialization type mismatch
"ftpcmd.y", line 932: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 932: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 932: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 932: warning: initialization type mismatch
"ftpcmd.y", line 936: parameter not in identifier list: sitetab
"ftpcmd.y", line 936: cannot initialize parameter: sitetab
"ftpcmd.y", line 937: warning: assignment type mismatch
"ftpcmd.y", line 937: too many initializers for scalar
"ftpcmd.y", line 937: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 937: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 937: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 937: warning: initialization type mismatch
"ftpcmd.y", line 938: warning: initialization type mismatch
"ftpcmd.y", line 938: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 938: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 938: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 938: warning: initialization type mismatch
"ftpcmd.y", line 939: warning: initialization type mismatch
"ftpcmd.y", line 939: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 939: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 939: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 939: warning: initialization type mismatch
"ftpcmd.y", line 940: warning: initialization type mismatch
"ftpcmd.y", line 940: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 940: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 940: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 940: warning: initialization type mismatch
"ftpcmd.y", line 941: warning: initialization type mismatch
"ftpcmd.y", line 941: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 941: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 941: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 941: warning: initialization type mismatch
"ftpcmd.y", line 942: warning: initialization type mismatch
"ftpcmd.y", line 942: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 942: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 942: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 942: warning: initialization type mismatch
"ftpcmd.y", line 943: warning: initialization type mismatch
"ftpcmd.y", line 943: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 943: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 943: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 943: warning: initialization type mismatch
"ftpcmd.y", line 944: warning: initialization type mismatch
"ftpcmd.y", line 944: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 944: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 944: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 944: warning: initialization type mismatch
"ftpcmd.y", line 945: warning: initialization type mismatch
"ftpcmd.y", line 945: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 945: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 945: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 945: warning: initialization type mismatch
"ftpcmd.y", line 946: warning: initialization type mismatch
"ftpcmd.y", line 946: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 946: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 946: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 946: warning: initialization type mismatch
"ftpcmd.y", line 947: warning: initialization type mismatch
"ftpcmd.y", line 947: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 947: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 947: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 947: warning: initialization type mismatch
"ftpcmd.y", line 948: warning: initialization type mismatch
"ftpcmd.y", line 948: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 948: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 948: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 948: warning: initialization type mismatch
"ftpcmd.y", line 949: warning: initialization type mismatch
"ftpcmd.y", line 949: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 949: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 949: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 949: warning: initialization type mismatch
"ftpcmd.y", line 955: warning: function prototype parameters must have
types
"ftpcmd.y", line 955: parameter not in identifier list: lookup
"ftpcmd.y", line 955: syntax error before or at: register
"ftpcmd.y", line 955: parameter not in identifier list: p
"ftpcmd.y", line 956: parameter not in identifier list: cmd
"ftpcmd.y", line 957: syntax error before or at: {
"ftpcmd.y", line 959: warning: syntax error:  empty declaration
"ftpcmd.y", line 959: parameter not in identifier list: p
"ftpcmd.y", line 959: parameter not in identifier list: name
"ftpcmd.y", line 959: warning: syntax error:  empty declaration
"ftpcmd.y", line 959: parameter not in identifier list: p
"ftpcmd.y", line 960: syntax error before or at: ->
"ftpcmd.y", line 961: parameter not in identifier list: p
"ftpcmd.y", line 962: syntax error before or at: return
"ftpcmd.y", line 962: warning: syntax error:  empty declaration
"ftpcmd.y", line 972: warning: function prototype parameters must have
types
"ftpcmd.y", line 972: parameter not in identifier list: getline
"ftpcmd.y", line 972: parameter not in identifier list: s
"ftpcmd.y", line 973: parameter not in identifier list: iop
"ftpcmd.y", line 975: parameter not in identifier list: c
"ftpcmd.y", line 976: parameter not in identifier list: cs
"ftpcmd.y", line 980: undefined symbol: n
"ftpcmd.y", line 987: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 1026: warning: improper pointer/integer combination: op
"="
"ftpcmd.y", line 1027: cannot recover from previous errors
cc: acomp failed for ftpcmd.c
*** Error code 1
make: Fatal error: Command failed for target `ftpcmd.o'

Making ftpcount.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsupport -lsocket -lnsl -lgen 
ld: fatal: file vers.o: cannot open file; errno=2
ld: fatal: File processing errors.  No output written to ftpcount
*** Error code 1
make: Fatal error: Command failed for target `ftpcount'

Making ftpshut.
cc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupport -lsocket -lnsl -lgen
ld: fatal: file vers.o: cannot open file; errno=2
ld: fatal: File processing errors.  No output written to ftpshut
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'

Making ckconfig.
cc -g -DDEBUG -I.. -I../support -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
bin/ckconfig: 4009 + 516 + 328 = 4853
Done


----

Quay Ly (quay@cs.hmc.edu)			Computer Science Dept.




From owner-wu-ftpd@wugate.wustl.edu Wed Aug 28 12:11: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 m0uvq0c-0004inC; Wed, 28 Aug 96 12:10 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA05801; Wed, 28 Aug 1996 14:06:08 -0500
Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA01948 for <wu-ftpd@wugate.wustl.edu>; Wed, 28 Aug 1996 12:59:25 -0500
Received: from capt-crunch.rtp.dg.com by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02)
	id AA17473; Wed, 28 Aug 1996 13:58:41 -0400
Received: by capt-crunch (8.6.10/rtp-s04)
	id NAA03727; Wed, 28 Aug 1996 13:58:40 -0400
Message-Id: <199608281758.NAA03727@capt-crunch>
Date: Wed, 28 Aug 1996 13:58:40 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: smithg@dg-rtp.dg.com (Greg Smith)
To: wu-ftpd@wugate.wustl.edu
Subject: FTPD issue
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I just pulled down wu-ftpd-2.4.2-beta-11 from your ftp site.
I was wondering if the following problem that I read about is
fixed in this beta pass.  If so, could someone provide specific information
about this fix.


Most serious, and this problem exists in virtually ALL FTP servers, is the
ability for an anonymous user to make the server connect to an arbitrary port
on an arbitrary machine and pass data in one direction or the other.  This
allows a whole variety of annoyance and denial-of-service attacks, and in some
cases could allow unintended access to other machines.  Selection of data
ports has therefore been restricted in this version.


Thanks very much,
Greg
smithg@rtp.dg.com


From owner-wu-ftpd@wugate.wustl.edu Thu Aug 29 08:49: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 m0uw9LS-0004ioC; Thu, 29 Aug 96 08:49 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA15073; Thu, 29 Aug 1996 10:43:12 -0500
Received: from finnegan.EE.McGill.CA (Finnegan.EE.McGill.CA [132.206.1.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA14553 for <wu-ftpd@wugate.wustl.edu>; Thu, 29 Aug 1996 10:31:30 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.7.5/8.7.3) with ESMTP id LAA21363; Thu, 29 Aug 1996 11:30:27 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.7.5) id LAA21671; Thu, 29 Aug 1996 11:30:12 -0400 (EDT)
Message-Id: <199608291530.LAA21671@charlie4.EE.McGill.CA>
Date: Thu, 29 Aug 1996 11:30:11 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alainm@macs.EE.McGill.CA>
To: wu-ftpd@wugate.wustl.edu
Cc: smithg@rtp.dg.com
Subject: Re: FTPD issue
In-Reply-To: <199608281758.NAA03727@capt-crunch> from "Greg Smith" at Aug 28, 96 01:58: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

> 
> I just pulled down wu-ftpd-2.4.2-beta-11 from your ftp site.
> I was wondering if the following problem that I read about is
> fixed in this beta pass.  If so, could someone provide specific information
> about this fix.
> 
> 
> Most serious, and this problem exists in virtually ALL FTP servers, is the
> ability for an anonymous user to make the server connect to an arbitrary port
> on an arbitrary machine and pass data in one direction or the other.  This
> allows a whole variety of annoyance and denial-of-service attacks, and in some
> cases could allow unintended access to other machines.  Selection of data
> ports has therefore been restricted in this version.
> 
> 
> Thanks very much,
> Greg
> smithg@rtp.dg.com
> 
> 

lot of noise lately on the subject. IMHO it is not a problem and
part of the implementation of FTP as descibed in rfc959.

Any ftpd who "truly" implements rfc959 should have this. It permits
proxy transferts. Interestingly Solaris-2.5 Ftpd will restrict this.

(From a glimpse at the code)
The fix in 2.4.2-beta-11 will refused PORT command if
the port is < 1024 and if the IP is different from the client.

--
alain

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 29 10: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 m0uwB8P-000DYPC; Thu, 29 Aug 96 10:44 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA21724; Thu, 29 Aug 1996 12:38:22 -0500
Received: from ns1.usp.org (ns1.usp.org [206.99.224.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA20625 for <wu-ftpd@wugate.wustl.edu>; Thu, 29 Aug 1996 12:33:55 -0500
Received: from the.usp.org by ns1.usp.org ; 29 AUG 96 13:34:11 EDT
Received: from ccMail by the.usp.org (SMTPLINK V2.11.01)
	id AA841350894; Thu, 29 Aug 96 13:34:13 EST
Message-Id: <9607298413.AA841350894@the.usp.org>
Date: Thu, 29 Aug 96 13:34:13 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: aek@the.usp.org
To: wu-ftpd@wugate.wustl.edu
Subject: Problems compiling
Content-Type: text/plain
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     
     Hi,
     
     I have a new Sparc Ultra running Solaris 2.5.1.  Just got the machine 
     and have installed gcc on it.  I am now being asked to put up an 
     anonymous ftp server and want to use wu-ftpd-2.4.  After making 
     changes to the Makefiles to use the gcc compiler, I am getting the 
     output as shown below.  I checked my system and do not have the 
     bitypes.h or cdefs.h files anywhere.  Does anyone know what I need to 
     do to get this to compile correctly?
     
     Thanks.
     
     
     
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.
gcc -g -DDEBUG   -c fnmatch.c
gcc -g -DDEBUG   -c strcasestr.c
gcc -g -DDEBUG   -c strsep.c
gcc -g -DDEBUG   -c authuser.c
In file included from authuser.c:7:
/usr/include/arpa/inet.h:68: sys/bitypes.h: No such file or directory 
/usr/include/arpa/inet.h:72: sys/cdefs.h: No such file or directory 
In file included from authuser.c:12:
/usr/include/netdb.h:66: sys/bitypes.h: No such file or directory 
/usr/include/netdb.h:68: sys/cdefs.h: No such file or directory 
*** Error code 1
make: Fatal error: Command failed for target `authuser.o'
     
Making ftpd.
gcc -g -DDEBUG -I.. -I../support -L../support  -c  ftpd.c 
In file included from ftpd.c:63:
/usr/include/arpa/inet.h:68: sys/bitypes.h: No such file or directory 
/usr/include/arpa/inet.h:72: sys/cdefs.h: No such file or directory 
In file included from ftpd.c:71:
/usr/include/netdb.h:66: sys/bitypes.h: No such file or directory 
/usr/include/netdb.h:68: sys/cdefs.h: No such file or directory 
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'
     
Making ftpcount.
gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o 
-lsupport -lsocket -lnsl -lgen 
gcc: vers.o: 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 
-lsupport -lsocket -lnsl -lgen
gcc: vers.o: No such file or directory 
*** Error code 1
make: Fatal error: Command failed for target `ftpshut'
     
Making ckconfig.
`ckconfig' is up to date.
ln: ../src/ckconfig and ckconfig are identical
     
Links to executables are in bin directory: 
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
bin/ckconfig: 3904 + 312 + 328 = 4544 
Done
     
     
     
     

Received: from ns1.usp.org by the.usp.org (SMTPLINK V2.11.01)
    ; Thu, 29 Aug 96 13:20:01 EST
Return-Path: <@ns1.usp.org:aek@the.usp.org>
Report-Version: 2
>To: aek@the.usp.org
To: aek@the.usp.org
Date: Thu Aug 29 17:19:17 GMT 1996
Original-Date: Thu, 29 Aug 96 13:18:55 EST
Original-Subject: Compiler errors
End-of-Header: 
Not-Delivered-To: !recipients due to 11  Transfer Failure
     ORIGINAL MESSAGE ATTACHED
     (rmail: Error # 22 'Surrogate command failed', rc = 2)
En-Route-To: wu-ftpd@sugate.wustl.edu 
     ======= Surrogate command =======

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 29 11:23: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 m0uwBkD-0009CeC; Thu, 29 Aug 96 11:23 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA01730; Thu, 29 Aug 1996 13:18:03 -0500
Received: from mail.mcnet.ch (mail.mcnet.ch [193.5.163.9]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA22312 for <wu-ftpd@wugate.wustl.edu>; Thu, 29 Aug 1996 12:41:03 -0500
Received: from pcben.mcnet.ch (pcwin95.mcnet.ch [193.5.166.40]) by mail.mcnet.ch (8.6.9/8.3) with SMTP id TAA21602; Thu, 29 Aug 1996 19:44:30 +0200
Message-Id: <2.2.32.19960829174514.00950ef4@mail.mcnet.ch>
Date: Thu, 29 Aug 1996 19:45:14 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Benoit Rossier <Benoit.Rossier@mcnet.ch>
To: wu-ftpd@wugate.wustl.edu
Subject: virtual ftp server
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: brossier@mail.mcnet.ch
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

I installed wu-ftpd 2.4 on a FreeBSD 2.1.0 box. It works well.
I applied a patch to make it a virtual server from Brian Kramer.

With anonymous or real user, I can see the right banner and it goes into the
right directory. But I can't see any files in the directories. I can put
files, create directory, all things but I can't see anything (ls is executed
but the server return 0 byte)!

Has anyone solved this problem or is there a little bug in my patch (date:
26 may 95)?
Is there an other patch?

Thanks in advance,
Benoit

+---------------------------------------------------------------------+
| Benoit Rossier                   M&C Management & Communications SA |
| Telecom                          Grand-Places 16                    |
|                                  CH - 1700 Fribourg                 |
|                                                                     |
| voice: +41 (0)37 22 06 36        fax: +41 (0)37 22 06 38            |
| E-Mail: Benoit.Rossier@mcnet.ch  http://www.mcnet.ch                |
+---------------------------------------------------------------------+

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 29 13:17: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 m0uwDWb-0006kTC; Thu, 29 Aug 96 13:17 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA06943; Thu, 29 Aug 1996 15:11:06 -0500
Received: from lonepeak.vii.com (lonepeak.vii.com [206.71.77.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA06312 for <wu-ftpd@wugate.wustl.edu>; Thu, 29 Aug 1996 14:55:06 -0500
Received: from localhost by lonepeak.vii.com (SMI-8.6/SMI-SVR4)
	id NAA17373; Thu, 29 Aug 1996 13:54:15 -0600
Message-Id: <Pine.SOL.3.93.960829130900.14619A-100000@lonepeak.vii.com>
Date: Thu, 29 Aug 1996 13:54:14 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Halls <mhalls@lonepeak.vii.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problems compiling
In-Reply-To: <9607298413.AA841350894@the.usp.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Thu, 29 Aug 1996 aek@the.usp.org wrote:

>      
>      Hi,
>      
>      I have a new Sparc Ultra running Solaris 2.5.1.  Just got the machine 
>      and have installed gcc on it.  I am now being asked to put up an 
>      anonymous ftp server and want to use wu-ftpd-2.4.  After making 
>      changes to the Makefiles to use the gcc compiler, I am getting the 
>      output as shown below.  I checked my system and do not have the 
>      bitypes.h or cdefs.h files anywhere.  Does anyone know what I need to 
>      do to get this to compile correctly?
>      
>      Thanks.

   It looks like you installed Bind 4.94!  It installs netdb.h, resolv.h, 
and inet.h, and nameser.h (and one other) over the Solaris 2.51 header
files.  If you look in the Bind distribution you will find the missing
header files bitypes.h and cdefs.h in the compat directory.

   You can install these files by doing an make install-compat (which
doesn't seem to work well) or put them there by hand.  If you do this you
will get errors about MAXHOST or something being undefined.  The can be
worked around.

   The way I handled it was to back out of the Bind install by
reinstalling bind WITHOUT the shared library, linking libresolv.so to
libresolv.so.1 (instead of binds libresolv.so.2), and restoring the
standard header files instead of the UCB headers and recompile sendmail
and any other program that uses the shared library. Wuftpd compiles
without problems.

				Michael
   



> In file included from authuser.c:7:
> /usr/include/arpa/inet.h:68: sys/bitypes.h: No such file or directory 
> /usr/include/arpa/inet.h:72: sys/cdefs.h: No such file or directory 
> In file included from authuser.c:12:
> /usr/include/netdb.h:66: sys/bitypes.h: No such file or directory 
> /usr/include/netdb.h:68: sys/cdefs.h: No such file or directory 
> *** Error code 1
> make: Fatal error: Command failed for target `authuser.o'
>      
> Making ftpd.
> gcc -g -DDEBUG -I.. -I../support -L../support  -c  ftpd.c 
> In file included from ftpd.c:63:
> /usr/include/arpa/inet.h:68: sys/bitypes.h: No such file or directory 
> /usr/include/arpa/inet.h:72: sys/cdefs.h: No such file or directory 
> In file included from ftpd.c:71:
> /usr/include/netdb.h:66: sys/bitypes.h: No such file or directory 
> /usr/include/netdb.h:68: sys/cdefs.h: No such file or directory 
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd.o'
>      
> Making ftpcount.
> gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o 
> -lsupport -lsocket -lnsl -lgen 
> gcc: vers.o: 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 
> -lsupport -lsocket -lnsl -lgen
> gcc: vers.o: No such file or directory 
> *** Error code 1
> make: Fatal error: Command failed for target `ftpshut'
>      
> Making ckconfig.
> `ckconfig' is up to date.
> ln: ../src/ckconfig and ckconfig are identical
>      
> Links to executables are in bin directory: 
> size: bin/ftpd: cannot open
> size: bin/ftpcount: cannot open
> size: bin/ftpshut: cannot open
> size: bin/ftpwho: cannot open
> bin/ckconfig: 3904 + 312 + 328 = 4544 
> Done
>      
>      
>      
>      
> 
> Received: from ns1.usp.org by the.usp.org (SMTPLINK V2.11.01)
>     ; Thu, 29 Aug 96 13:20:01 EST
> Return-Path: <@ns1.usp.org:aek@the.usp.org>
> Report-Version: 2
> >To: aek@the.usp.org
> To: aek@the.usp.org
> Date: Thu Aug 29 17:19:17 GMT 1996
> Original-Date: Thu, 29 Aug 96 13:18:55 EST
> Original-Subject: Compiler errors
> End-of-Header: 
> Not-Delivered-To: !recipients due to 11  Transfer Failure
>      ORIGINAL MESSAGE ATTACHED
>      (rmail: Error # 22 'Surrogate command failed', rc = 2)
> En-Route-To: wu-ftpd@sugate.wustl.edu 
>      ======= Surrogate command =======
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Aug 29 14:08: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 m0uwEJx-0009IUC; Thu, 29 Aug 96 14:08 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA09898; Thu, 29 Aug 1996 16:02:34 -0500
Received: from finnegan.EE.McGill.CA (Finnegan.EE.McGill.CA [132.206.1.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA09470 for <wu-ftpd@wugate.wustl.edu>; Thu, 29 Aug 1996 15:55:24 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.7.5/8.7.3) with ESMTP id QAA26591 for <wu-ftpd@wugate.wustl.edu>; Thu, 29 Aug 1996 16:54:35 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.7.5) id QAA21942; Thu, 29 Aug 1996 16:54:33 -0400 (EDT)
Message-Id: <199608292054.QAA21942@charlie4.EE.McGill.CA>
Date: Thu, 29 Aug 1996 16:54:32 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alainm@macs.EE.McGill.CA>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: virtual ftp server
In-Reply-To: <2.2.32.19960829174514.00950ef4@mail.mcnet.ch> from "Benoit Rossier" at Aug 29, 96 07:45:14 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

> 
> Hi,
> 
> I installed wu-ftpd 2.4 on a FreeBSD 2.1.0 box. It works well.
> I applied a patch to make it a virtual server from Brian Kramer.
> 
> With anonymous or real user, I can see the right banner and it goes into the
> right directory. But I can't see any files in the directories. I can put
> files, create directory, all things but I can't see anything (ls is executed
> but the server return 0 byte)!
> 
> Has anyone solved this problem or is there a little bug in my patch (date:
> 26 may 95)?
> Is there an other patch?
> 

Hello Benoit

  I'm guessing here, but maybe it will help.

Since when you do virtual ftp, it will do a chroot() in to that
directory, you then have to supply all the bin and the libs again
i.e:
<new_root>/bin/ls
<new_root>/lib/libc.so*
etc ...

And yes there is a beta that integrate the virtual patch
wu-ftpd-2.4.2-beta11. 

> Thanks in advance,
> Benoit

--
alain

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 03:45: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 m0uwR5E-000FMSC; Fri, 30 Aug 96 03:45 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA29214; Fri, 30 Aug 1996 05:40:38 -0500
Received: from gatekeeper.corp.netcom.net.uk (gatekeeper.corp.netcom.net.uk [194.42.224.25]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA28961 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 05:29:13 -0500
Received: by gatekeeper.corp.netcom.net.uk; id LAA21011; Fri, 30 Aug 1996 11:28:30 +0100
Received: from Netcom by gatekeeper.corp.netcom.net.uk via smap (V3.1)
	id xma021007; Fri, 30 Aug 96 11:28:13 +0100
Message-Id: <199608301028.LAA13851@corp.netcom.net.uk>
Date: Fri, 30 Aug 1996 11:28:11 +0100 (BST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James Fidell <james@corp.netcom.net.uk>
To: wu-ftpd-bugs@academ.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: problem with ftpcmd.y in beta 11
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

In ftpcmd.y, there are many occurrences of something similar to :

        |   CWD check_login SP pathname CRLF
        = {
            if (log_commands) syslog(LOG_INFO, "CWD %s", $4);

Checking the code for "pathname" :

pathname:   pathstring
    = {
        /*
         * Problem: this production is used for all pathname
         * processing, but only gives a 550 error reply.
         * This is a valid reply in some cases but not in others.
         */
        if (logged_in && $1 && strncmp($1, "~", 1) == 0) {
            $$ = *ftpglob($1);
            if (globerr) {
                reply(550, globerr);
                $$ = NULL;
            }
            free($1);
        } else
            $$ = $1;
    }
    ;


Which means that $4 can be set to NULL when syslog is called.  Solaris
2.5 doesn't like this very much -- the server aborts with a SIGSEGV.

My current fix is to change the call to syslog be be something like :

    if ( log_commands && $4 ) syslog(LOG_INFO, "CWD %s", $4);


James.
-- 
 "Yield to temptation --             | Work: james@corp.netcom.net.uk
  it may not pass your way again"    | Play: james@hermione.demon.co.uk
                                     | http://www.netcom.net.uk/~james/
        - Lazarus Long               |              James Fidell

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 08:29: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 m0uwVVr-0000UgC; Fri, 30 Aug 96 08:29 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA08257; Fri, 30 Aug 1996 10:23:36 -0500
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.1.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA08000 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 10:18:52 -0500
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.16.7]) by ecbull20.frec.bull.fr (8.7.5/8.7.3) with ESMTP id RAA56612; Fri, 30 Aug 1996 17:17:52 +0200
Received: (from diemer@localhost) by lozere.frec.bull.fr (8.7.5/8.7) id RAA31262; Fri, 30 Aug 1996 17:17:51 +0200
Message-Id: <199608301517.RAA31262@lozere.frec.bull.fr>
Date: Fri, 30 Aug 1996 17:17:50 +0200 (DFT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: P.Diemer@frec.bull.fr
To: wu-ftpd@wugate.wustl.edu
Cc: P.Diemer@frec.bull.fr
Subject: help with Permission Capabilities
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I am running wu-ftpd 2.4 on AIX 4.1.4
I have created 2 guestgroups, "license" and "misc"
The chroot command works well with these 2 groups.
The group "license" can't delete nothing on the system.
I would like to give the right at "misc"  to delete only
the files that are rw for him . As you will see below
the user "adm_hsl" can remove files that normally he 
is not allowed !!!
What's wrong ?
Thanks for your help

in my /etc/ftpaccess
--------------------
class   real  real   *
class   anon  guest,anonymous  *

guestgroup      license misc

delete  no      ftp,anonymous,license

in my /etc/group
----------------
misc:!:400:adm_hsl,ftp
license:!:200:user1,user2

in my /etc/passwd
-----------------
ftp:*:400:400:Anonymous FTP:/users/ftp:/usr/bin/ksh
adm_hsl:!:103:400::/users/ftp/pub/./ptf_sup:/bin/false
user1:!:345:200:/users/ftp/pub/./products/:/bin/false
user2:!:350:200::/users/ftp/pub/./licenses/:/bin/false

230-
230 User adm_hsl logged in.  Access restrictions apply.
ftp> pwd
257 "/ptf_sup" is current directory.
ftp> ls -l 
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 64
-rw-r--r--   1 103      400        31744 Aug 30 15:31 U438385.bff
226 Transfer complete.
ftp> del U438385.bff
250 DELE command successful.         ====> OK
ftp> cd /
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 64
d--x--s--x   2 0        0            512 Aug 27 19:47 bin
drwxrwsrwx   2 0        0            512 Aug 30 16:37 incoming
dr-xr-sr-x   2 0        0            512 Aug 27 19:47 lib
drwxr-sr-x  26 0        0            512 Aug 29 13:55 licenses
drwxr-sr-x   3 0        0            512 Aug 29 13:54 products
drwx------   5 103      400          512 Aug 30 15:43 ptf_sup
-rw-r--r--   1 0        0            244 Aug 28 16:34 welcome.msg
226 Transfer complete.
ftp> cd incoming
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 664
-rw-rw-r--   1 300      0           4131 Aug 29 08:50 README
-rw-r--r--   1 0        0           3573 Aug 29 17:33 U445410.ptf
-rw-r--r--   1 0        0         126976 Aug 28 16:16 Z001101.bff
-rw-r--r--   1 0        0           1909 Aug 28 16:18 Z001102.txt
-rw-r--r--   1 400      400       194026 Aug 29 08:56 plan0229.ps
226 Transfer complete.
ftp> del plan0229.ps
250 DELE command successful.           ===========> KO !!!



-- 

+----------------------------------------------+-----------------------------+
| Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
|                                              |                             |
| Open Systems & Software                      | M/S     : FREC C1-059       |
| Open System Business Unit                    | ICN     : 229 7152          |
| Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
| System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
| Software Packaging & Manufacturing Transfer  |                             | 
+----------------------------------------------+-----------------------------+

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 10:08: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 m0uwX3B-0002JWC; Fri, 30 Aug 96 10:08 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA13074; Fri, 30 Aug 1996 12:02:14 -0500
Received: from finnegan.EE.McGill.CA (Finnegan.EE.McGill.CA [132.206.1.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA12921 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 11:59:03 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.7.5/8.7.3) with ESMTP id MAA10706 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 12:58:06 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.7.5) id MAA22785; Fri, 30 Aug 1996 12:58:04 -0400 (EDT)
Message-Id: <199608301658.MAA22785@charlie4.EE.McGill.CA>
Date: Fri, 30 Aug 1996 12:58:03 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alainm@macs.EE.McGill.CA>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: help with Permission Capabilities
In-Reply-To: <199608301517.RAA31262@lozere.frec.bull.fr> from "P.Diemer@frec.bull.fr" at Aug 30, 96 05:17:50 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

Hello Pascale

  I beleive that the "delete" key word only take
a typelist i.e. "anonymous, guest, real".

instead of

> delete  no      ftp,anonymous,license

you should have

delete          no      guest,anonymous    

so since "/pub/incoming" was 777 the delete was succesfull

maybe you would like to chekout
ftp://ftp.fni.com/pub/wu-ftpd/guest-howto

for more info

--
au revoir, alain

> 
> 
> I am running wu-ftpd 2.4 on AIX 4.1.4
> I have created 2 guestgroups, "license" and "misc"
> The chroot command works well with these 2 groups.
> The group "license" can't delete nothing on the system.
> I would like to give the right at "misc"  to delete only
> the files that are rw for him . As you will see below
> the user "adm_hsl" can remove files that normally he 
> is not allowed !!!
> What's wrong ?
> Thanks for your help
> 
> in my /etc/ftpaccess
> --------------------
> class   real  real   *
> class   anon  guest,anonymous  *
> 
> guestgroup      license misc
> 
> delete  no      ftp,anonymous,license
> 
> in my /etc/group
> ----------------
> misc:!:400:adm_hsl,ftp
> license:!:200:user1,user2
> 
> in my /etc/passwd
> -----------------
> ftp:*:400:400:Anonymous FTP:/users/ftp:/usr/bin/ksh
> adm_hsl:!:103:400::/users/ftp/pub/./ptf_sup:/bin/false
> user1:!:345:200:/users/ftp/pub/./products/:/bin/false
> user2:!:350:200::/users/ftp/pub/./licenses/:/bin/false
> 
> 230-
> 230 User adm_hsl logged in.  Access restrictions apply.
> ftp> pwd
> 257 "/ptf_sup" is current directory.
> ftp> ls -l 
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> total 64
> -rw-r--r--   1 103      400        31744 Aug 30 15:31 U438385.bff
> 226 Transfer complete.
> ftp> del U438385.bff
> 250 DELE command successful.         ====> OK
> ftp> cd /
> 250 CWD command successful.
> ftp> ls -l
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> total 64
> d--x--s--x   2 0        0            512 Aug 27 19:47 bin
> drwxrwsrwx   2 0        0            512 Aug 30 16:37 incoming
> dr-xr-sr-x   2 0        0            512 Aug 27 19:47 lib
> drwxr-sr-x  26 0        0            512 Aug 29 13:55 licenses
> drwxr-sr-x   3 0        0            512 Aug 29 13:54 products
> drwx------   5 103      400          512 Aug 30 15:43 ptf_sup
> -rw-r--r--   1 0        0            244 Aug 28 16:34 welcome.msg
> 226 Transfer complete.
> ftp> cd incoming
> 250 CWD command successful.
> ftp> ls -l
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> total 664
> -rw-rw-r--   1 300      0           4131 Aug 29 08:50 README
> -rw-r--r--   1 0        0           3573 Aug 29 17:33 U445410.ptf
> -rw-r--r--   1 0        0         126976 Aug 28 16:16 Z001101.bff
> -rw-r--r--   1 0        0           1909 Aug 28 16:18 Z001102.txt
> -rw-r--r--   1 400      400       194026 Aug 29 08:56 plan0229.ps
> 226 Transfer complete.
> ftp> del plan0229.ps
> 250 DELE command successful.           ===========> KO !!!
> 
> 
> 
> -- 
> 
> +----------------------------------------------+-----------------------------+
> | Pascale Diemer                               |   P.Diemer@frec.bull.fr     |
> |                                              |                             |
> | Open Systems & Software                      | M/S     : FREC C1-059       |
> | Open System Business Unit                    | ICN     : 229 7152          |
> | Systems & Pegasus Program                    | Voice   : +33 76 29 71 52   |
> | System Software Productization & ISV Support | Fax     : +33 76 29 71 02   |
> | Software Packaging & Manufacturing Transfer  |                             | 
> +----------------------------------------------+-----------------------------+
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 11:49: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 m0uwYdS-0000DkC; Fri, 30 Aug 96 11:49 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA16521; Fri, 30 Aug 1996 13:44:34 -0500
Received: from atlantic.nprdc.navy.mil (atlantic.nprdc.navy.mil [164.94.1.81]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA16269 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 13:36:20 -0500
Received: by atlantic.nprdc.navy.mil (4.1/SMI-4.0)
	id AA15670; Fri, 30 Aug 96 11:35:37 PDT
Message-Id: <9608301835.AA15670@atlantic.nprdc.navy.mil>
Date: Fri, 30 Aug 1996 11:35:12 -0700
Reply-To: stanonik@nprdc.navy.mil
Sender: owner-wu-ftpd@wugate.wustl.edu
From: stanonik@nprdc.navy.mil (Ron Stanonik)
To: wu-ftpd@wugate.wustl.edu
Cc: stanonik@nprdc.navy.mil
Subject: syslog retrieves and stores
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We're running wu-ftpd 2.4 on SunOS 4.1.3_U1.  We wanted our anonymous
ftp server to syslog transfers to a remote logging machine.  Surprisingly,
although commands are syslog'ed, syslog'ing tranfers seemed to be missing,
so we added it.  I'm appending our diff.  Did we overlook some other way
of syslog'ing tranfers?

Thanks,

Ron Stanonik
stanonik@nprdc.navy.mil

RCS file: RCS/ftpd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** /tmp/,RCSt1a15517	Fri Aug 30 11:21:48 1996
--- /tmp/,RCSt2a15517	Fri Aug 30 11:21:48 1996
***************
*** 1436,1441 ****
--- 1436,1442 ----
                  authenticated,
                  authenticated ? authuser : "*"
              );
+ 	syslog(LOG_INFO, msg);
          write(xferlog, msg, strlen(msg));
      }
      data = -1;
***************
*** 1624,1629 ****
--- 1625,1631 ----
                  authenticated,
                  authenticated ? authuser : "*"
              );
+ 	syslog(LOG_INFO, msg);
          write(xferlog, msg, strlen(msg));
      }
      data = -1;

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 12:02: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 m0uwYpI-00075MC; Fri, 30 Aug 96 12:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA17082; Fri, 30 Aug 1996 13:55:39 -0500
Received: from atlantic.nprdc.navy.mil (atlantic.nprdc.navy.mil [164.94.1.81]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA16430 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 13:41:53 -0500
Received: by atlantic.nprdc.navy.mil (4.1/SMI-4.0)
	id AA15712; Fri, 30 Aug 96 11:41:11 PDT
Message-Id: <9608301841.AA15712@atlantic.nprdc.navy.mil>
Date: Fri, 30 Aug 1996 11:40:46 -0700
Reply-To: stanonik@nprdc.navy.mil
Sender: owner-wu-ftpd@wugate.wustl.edu
From: stanonik@nprdc.navy.mil (Ron Stanonik)
To: wu-ftpd@wugate.wustl.edu
Cc: stanonik@nprdc.navy.mil
Subject: .message on login?
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We're running wu-ftpd 2.4 on SunOS 4.1.3_U1.

The .message in the login directory is never displayed.  We modified
wu-ftpd to do this.  Any good reasons not to display the .message in
the login directory?  I'm appending our diffs.

Thanks,

Ron Stanonik
stanonik@nprdc.navy.mil


RCS file: RCS/ftpd.c,v
retrieving revision 1.2
diff -c -r1.2 ftpd.c
*** /tmp/,RCSt1a15525	Fri Aug 30 11:21:58 1996
--- ftpd.c	Fri Aug 30 11:15:54 1996
***************
*** 1175,1180 ****
--- 1175,1182 ----
  
      show_message(230, LOG_IN);
      show_readme(230, LOG_IN);
+     show_message(230, C_WD);
+     show_readme(230, C_WD);
  
  #ifdef ULTRIX_AUTH
      if (!anonymous && numfails > 0) {



RCS file: RCS/extensions.c,v
retrieving revision 1.1
diff -c -r1.1 extensions.c
*** /tmp/,RCSt1a15495	Fri Aug 30 11:20:41 1996
--- extensions.c	Fri Aug 30 11:07:13 1996
***************
*** 324,330 ****
      struct aclmember *entry = NULL;
      FILE *infile;
  
!     if (cwd_beenhere(1) != 0)
          return;
  
  #ifdef HAVE_GETCWD
--- 324,330 ----
      struct aclmember *entry = NULL;
      FILE *infile;
  
!     if (mode == C_WD && cwd_beenhere(1) != 0)
          return;
  
  #ifdef HAVE_GETCWD

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 12:24: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 m0uwZBL-0006gNC; Fri, 30 Aug 96 12:24 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA18215; Fri, 30 Aug 1996 14:19:20 -0500
Received: from finnegan.EE.McGill.CA (Finnegan.EE.McGill.CA [132.206.1.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA18082 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 14:16:09 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.7.5/8.7.3) with ESMTP id PAA12306; Fri, 30 Aug 1996 15:13:08 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.7.5) id PAA22917; Fri, 30 Aug 1996 15:13:06 -0400 (EDT)
Message-Id: <199608301913.PAA22917@charlie4.EE.McGill.CA>
Date: Fri, 30 Aug 1996 15:13:05 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alainm@macs.EE.McGill.CA>
To: stanonik@nprdc.navy.mil
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: .message on login?
In-Reply-To: <9608301841.AA15712@atlantic.nprdc.navy.mil> from "Ron Stanonik" at Aug 30, 96 11:40:46 am
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

> 
> We're running wu-ftpd 2.4 on SunOS 4.1.3_U1.
> 
> The .message in the login directory is never displayed.  We modified
> wu-ftpd to do this.  Any good reasons not to display the .message in
> the login directory?  I'm appending our diffs.
> 
> Thanks,
> 
> Ron Stanonik
> stanonik@nprdc.navy.mil
> 


how about

message .message                cwd=*
message .message                login

in ftpaccess ?

??
maybe I've missed what you're trying to explain

--
alain

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 12:35: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 m0uwZLj-0009QmC; Fri, 30 Aug 96 12:35 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA18693; Fri, 30 Aug 1996 14:29:55 -0500
Received: from styx.wsc.com (styx.wsc.com [198.4.124.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA18352 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 14:21:30 -0500
Received: from hera.wscis.wsc.com (hera.wscis.wsc.com [198.4.125.3]) by styx.wsc.com (8.7.5/8.7.3) with ESMTP id PAA01805 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 15:20:41 -0400 (EDT)
Received: from phorcys.wscis.wsc.com (phorcys [198.4.125.27]) by hera.wscis.wsc.com (8.6.8/8.6.6) with SMTP id PAA18710 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 15:20:40 -0400
Received: by phorcys.wscis.wsc.com (NX5.67f2/NX3.0X)
	id AA23710; Fri, 30 Aug 96 15:20:39 -0400
Received: by NeXT.Mailer (1.118.2.RR)
Message-Id: <199608301920.PAA18710@hera.wscis.wsc.com>
Date: Fri, 30 Aug 96 15:20:33 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Kent Go <tgo@wsc.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftp through html
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.0)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

	I had setup wu-ftp 2.4.  I think this is a wu-ftp problem  
that I am having...when I try to access my site under a web browser.  
 I get this error message.
	
Error 500

Can't open passive connection: Permission denied.

What does this mean?

Thanks,
Thomas
tgo@wsc.com

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 12:59: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 m0uwZiN-00073xC; Fri, 30 Aug 96 12:58 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA19837; Fri, 30 Aug 1996 14:52:23 -0500
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA19444 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 14:44:07 -0500
Received: from dadd.ti.com ([156.117.118.83]) by gatekeep.ti.com (8.6.13) with ESMTP id OAA27694 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 14:43:14 -0500
Received: from pavis.dadd.ti.com by dadd.ti.com (8.7.5/)
	  id OAA23028; Fri, 30 Aug 1996 14:42:41 -0500 (CDT)
Received: by pavis.dadd.ti.com id <AA018434154@pavis.dadd.ti.com>; Fri, 30 Aug 1996 14:42:34 -0500
Message-Id: <199608301942.AA018434154@pavis.dadd.ti.com>
Date: Fri, 30 Aug 96 14:42:34 CDT
Reply-To: voly@dadd.ti.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Luckin <bobl@dadd.ti.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp through html
In-Reply-To: <199608301920.PAA18710@hera.wscis.wsc.com>; from "Thomas Kent Go" at Aug 30, 96 3:20 pm
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 	I had setup wu-ftp 2.4.  I think this is a wu-ftp problem  
> that I am having...when I try to access my site under a web browser.  
>  I get this error message.
> 	
> Error 500
> 
> Can't open passive connection: Permission denied.
> 
> What does this mean?

Chances are that this is a problem with the permissions on the file
   ~/ftp/dev/tcp

On Solaris 2 machines (at least) the ftpd needs world rights to write to it,
otherwise it won't allow a passive connection from an anonymous user.

Try checking the permissions on this file, and run "chmod 666" if
necessary.

For more information on this problem, have a look at the FAQ located at
   http://www.hvu.nl/~koos/wu-ftpd-faq.html
That's what helped me to solve the problem when I came across it...

Good luck !

Cheers, Bob

-- 
Bob Luckin
Texas Instruments            Design Automation Division
P O Box 650311, MS 3937      voly@dadd.ti.com
Dallas, TX 75265   U.S.A.    Tel: (214) 917 5081    Fax: (214) 917 7966

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 13:20: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 m0uwa2T-000DOWC; Fri, 30 Aug 96 13:19 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA20723; Fri, 30 Aug 1996 15:11:42 -0500
Received: from styx.wsc.com (styx.wsc.com [198.4.124.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA20517 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 15:06:16 -0500
Received: from hera.wscis.wsc.com (hera.wscis.wsc.com [198.4.125.3]) by styx.wsc.com (8.7.5/8.7.3) with ESMTP id QAA02069; Fri, 30 Aug 1996 16:05:13 -0400 (EDT)
Received: from phorcys.wscis.wsc.com (phorcys [198.4.125.27]) by hera.wscis.wsc.com (8.6.8/8.6.6) with SMTP id QAA18807; Fri, 30 Aug 1996 16:05:12 -0400
Received: by phorcys.wscis.wsc.com (NX5.67f2/NX3.0X)
	id AA23808; Fri, 30 Aug 96 16:05:10 -0400
Received: by NeXT.Mailer (1.118.2.RR)
Message-Id: <199608302005.QAA18807@hera.wscis.wsc.com>
Date: Fri, 30 Aug 96 16:05:08 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Kent Go <tgo@wsc.com>
To: voly@dadd.ti.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp through html
In-Reply-To: <199608301942.AA018434154@pavis.dadd.ti.com>
References: <199608301942.AA018434154@pavis.dadd.ti.com>
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.0)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Bob,


> Chances are that this is a problem with the permissions on the file
> ~/ftp/dev/tcp
>
> On Solaris 2 machines (at least) the ftpd needs world rights to
> write to it, otherwise it won't allow a passive connection from an
> anonymous user.
>
> Try checking the permissions on this file, and run "chmod 666" if
> necessary.

Thanks!  This fixed the problem!

Thomas
tgo@wsc.com

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 13:36: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 m0uwaIo-0009MoC; Fri, 30 Aug 96 13:36 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA21816; Fri, 30 Aug 1996 15:29:55 -0500
Received: from atlantic.nprdc.navy.mil (atlantic.nprdc.navy.mil [164.94.1.81]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA21596 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 15:25:18 -0500
Received: from cedar.nprdc.navy.mil by atlantic.nprdc.navy.mil (4.1/SMI-4.0)
	id AA16742; Fri, 30 Aug 96 13:24:35 PDT
Received: by cedar.nprdc.navy.mil (5.x/SMI-SVR4)
	id AA14058; Fri, 30 Aug 1996 13:24:31 -0700
Message-Id: <9608302024.AA14058@cedar.nprdc.navy.mil>
Date: Fri, 30 Aug 1996 13:24:30 00800
Reply-To: stanonik@nprdc.navy.mil
Sender: owner-wu-ftpd@wugate.wustl.edu
From: stanonik@nprdc.navy.mil (Ron Stanonik)
To: alainm@macs.EE.McGill.CA
Cc: wu-ftpd@wugate.wustl.edu, stanonik@nprdc.navy.mil
Subject:  Re: .message on login?
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

	how about

	message .message                cwd=*
	message .message                login

	in ftpaccess ?

	maybe I've missed what you're trying to explain

Thanks.  I overlooked that solution.  I assumed logging in implied
a cwd to the login directory, so it should trigger the cwd=* rule.
My changes did that, but clearly (now!) they are unneccessary.

Thanks,

Ron
stanonik@nprdc.navy.mil

From owner-wu-ftpd@wugate.wustl.edu Fri Aug 30 14:31: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 m0uwbA9-000DJ6C; Fri, 30 Aug 96 14:31 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA24440; Fri, 30 Aug 1996 16:24:57 -0500
Received: from mercury.earthlink.net (mercury.earthlink.net [198.68.160.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA24063 for <wu-ftpd@wugate.wustl.edu>; Fri, 30 Aug 1996 16:15:18 -0500
Received: from santiago (chrisl@santiago.it.earthlink.net [206.85.94.102]) by mercury.earthlink.net (8.7.5/8.7.3) with SMTP id OAA14593 for <wu-ftpd@mail.wustl.edu>; Fri, 30 Aug 1996 14:14:35 -0700 (PDT)
Message-Id: <2.2.32.19960830211002.009d1378@mercury.earthlink.net>
Date: Fri, 30 Aug 1996 14:10:02 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher M. Lee" <chrisl@mercury.earthlink.net>
To: wu-ftpd@wugate.wustl.edu
Subject: max upload size?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: chrisl@mercury.earthlink.net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I was looking to see if you could set a maximum file size upload.  I could
not find anything in the man pages under ftpaccess they states this.  Does
anyone know of a way to do this, or even if it is possiable?

Thanks,



Christopher M. Lee

From owner-wu-ftpd@wugate.wustl.edu Sat Aug 31 04:34: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 m0uwoJq-0000UgC; Sat, 31 Aug 96 04:34 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA12195; Sat, 31 Aug 1996 06:29:08 -0500
Received: from dub-img-5.compuserve.com (dub-img-5.compuserve.com [149.174.206.135]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA12072 for <wu-ftpd@wugate.wustl.edu>; Sat, 31 Aug 1996 06:18:17 -0500
Received: by dub-img-5.compuserve.com (8.6.10/5.950515)
	id HAA16078; Sat, 31 Aug 1996 07:17:30 -0400
Message-Id: <960831111630_100542.3065_EHK49-1@CompuServe.COM>
Date: 31 Aug 96 07:16:30 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Xavier Paz <100542.3065@CompuServe.COM>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Can't compile WU-FTPD
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have just downloaded wu-ftpd beta 11, and cannot make it compile. These are
the errors I get:

ftpd.c: In function `dataconn':
ftpd.c:2168: `__FDSET_INTS' undeclared (first use this function)
ftpd.c:2168: (Each undeclared identifier is reported only once
ftpd.c:2168: for each function it appears in.)
make: *** [ftpd.o] Error 1
gcc: vers.o: No such file or directory
make: *** [ftpcount] Error 1
gcc: vers.o: No such file or directory
make: *** [ftpshut] Error 1

OS is linux 2.0.2, gcc version is 2.7.2, and libc version is 5.2.18.

How can I solve it?


Regards
Xavier

From owner-wu-ftpd@wugate.wustl.edu Sat Aug 31 17:11: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 m0ux08p-0009GZC; Sat, 31 Aug 96 17:11 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA23609; Sat, 31 Aug 1996 19:07:04 -0500
Received: from oskar.zu.net (oskar.zu.net [194.176.0.206]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA22536 for <wu-ftpd@wugate.wustl.edu>; Sat, 31 Aug 1996 18:35:05 -0500
Received: (qmail-queue invoked by uid 500); 30 Aug 1996 23:39:55 -0000
Message-Id: <19960830233954.25210.qmail@zu.net>
Date: Sat, 31 Aug 1996 01:39:53 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jens.Baedeker@zu.NET
To: wu-ftpd@wugate.wustl.edu
Subject: wu.ftpd with site exec *** Truncated ***
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,

I'm not sure if this list still exits and if this a well known problem. 

My simple find script for finding files on a ftp server is truncated 
after some lines.

-- schnipp ~ftp/bin/ftp-exec/find  --
#!/bin/sh
if [ ! $# -eq  1 ]; then
        echo "use 'quote site exec find <findstring>"
        echo ""
else 
	grep $1 /find.lst
fi
-- schnipp --

in ftpcmd.y line 1471 there is a limit of 20 lines.

My question in why is there such a limit ??? 

For the records, i'm using wu.ftpd 2.4

with kind regards 

Jens
-- 
map # :%s/^/> /g^M
				-- vi --

From owner-wu-ftpd@wugate.wustl.edu Sat Aug 31 21:02: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 m0ux3iz-000DQ8C; Sat, 31 Aug 96 21:01 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id WAA27295; Sat, 31 Aug 1996 22:56:24 -0500
Received: from finnegan.EE.McGill.CA (Finnegan.EE.McGill.CA [132.206.1.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id WAA27167 for <wu-ftpd@wugate.wustl.edu>; Sat, 31 Aug 1996 22:47:58 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.5/8.7.3) id XAA14092; Sat, 31 Aug 1996 23:47:15 -0400 (EDT)
Message-Id: <199609010347.XAA14092@finnegan.EE.McGill.CA>
Date: Sat, 31 Aug 1996 23:47:15 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alainm@macs.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: chrisl@mercury.earthlink.net
Subject: Re: max upload size?
In-Reply-To: <2.2.32.19960830211002.009d1378@mercury.earthlink.net> from "Christopher M. Lee" at Aug 30, 96 02:10:02 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

> 
> I was looking to see if you could set a maximum file size upload.  I could
> not find anything in the man pages under ftpaccess they states this.  Does
> anyone know of a way to do this, or even if it is possiable?
> 
> Thanks,
> 

hello
  I don't recall either of any restriction in ftpacess on max file size.

But a possibility would be to make a quota on the user responsible
for /incoming.

ex:

upload /var/ftp /incoming yes chrisl people 0600

The user chrisl has a quota. It kind of protect you
from joe@nowhere filling up the disk in /incoming

You can also fiddle with the code, but even if
you restrict the size of the file to be 10k.
joe@nowhere can always put the file
x number of times to acheive the same effect.

solutions would be
1-
quotas
2-
separate disk for /incoming
3-
hack with the code to impose
some kind of restriction by ftpd

other alternatives ?

--
alain

