From owner-wu-ftpd@wugate.wustl.edu Tue Oct  1 00:05:21 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v7ytL-000DIVC; Tue, 1 Oct 96 00: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 BAA20051; Tue, 1 Oct 1996 01:58:21 -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 BAA19886 for <wu-ftpd@wugate.wustl.edu>; Tue, 1 Oct 1996 01:51:51 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id IAA29769 for wu-ftpd@wugate.wustl.edu; Tue, 1 Oct 1996 08:51:50 +0200 (MET DST)
Message-Id: <199610010651.IAA29769@pizza.hvu.nl>
Date: Tue, 1 Oct 1996 08:51:50 +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 uploads are owned by wrong user?
In-Reply-To: <9609302216.AA20278@hammer> from "John Murtari" at Sep 30, 96 06:16:10 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting John Murtari, who wrote :

> file.  I can do uploads to /thebook/incoming, but the files endup being owned by the
> "ftp" user and not "thebook". The user "thebook" has a password in the
> REAL machine /etc/passwd, I did not create a separate password file in
> the /pub/ftp/etc.

Is the upload dir by any chance NFS mounted ???

> Haven't seen the FAQ for wu-ftpd, is there a web site for one?

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

> # specify the upload directory information
> upload  /pub/ftp  *             no
> upload  /pub/ftp  /thebook/incoming     yes     thebook   www  0600 dirs
> upload  /pub/ftp  /bin          no
> upload  /pub/ftp  /etc          no

                                            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 Oct  1 05:20:27 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from relay6.UU.NET by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v83k2-0001J0C; Tue, 1 Oct 96 05:16 PDT
Received: from wugate.wustl.edu by relay6.UU.NET with ESMTP 
	(peer crosschecked as: wugate.wustl.edu [128.252.120.1])
	id QQbjnq23325; Tue, 1 Oct 1996 07:32:40 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA26988; Tue, 1 Oct 1996 06:28:54 -0500
Received: from seacom.start.or.th (dhcp-34.research2.chula.edu [161.200.32.34]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id GAA26913 for <wu-ftpd@wugate.wustl.edu>; Tue, 1 Oct 1996 06:26:42 -0500
Received: from localhost (ning@localhost) by seacom.start.or.th (8.7.5/8.6.12) with SMTP id RAA00396 for <wu-ftpd@wugate.wustl.edu>; Tue, 1 Oct 1996 17:44:59 -0700 (GMT)
Message-Id: <Pine.GSO.3.93.961001174412.319B-100000@seacom.start.or.th>
Date: Tue, 1 Oct 1996 17:44:59 -0700 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chaya Limchitti <ning@start.or.th>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: your mail
In-Reply-To: <Pine.SOL.3.93.960930164240.884A-100000@radar>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>From FAQ.

........
1. Where do I get the updated version ?

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

            You can get this beta by ftp from the directory :

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


.....

Hope this help.
-Chaya Limchitti.

On Mon, 30 Sep 1996, David Marcoux wrote:

> 
> Hi, 
> 
> My PC with the bookmark to the source for wu-ftpd is getting repaired.
> Could someone send me an address where I could download wu-ftpd?
> 
> Thanks in advance.
> 
> ------------------------------------------------------------------
> David Marcoux          System Administrator / Web Master
> dmarcoux@vertx.com         Vertex Software Corporation
> http://www.vertx.com	      (512) 328-3700 voice
> 
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Oct  1 06:13: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 m0v84dj-0000uoC; Tue, 1 Oct 96 06:13 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA00987; Tue, 1 Oct 1996 08:07:54 -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 IAA00849 for <wu-ftpd@wugate.wustl.edu>; Tue, 1 Oct 1996 08:03:26 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id PAA24659 for wu-ftpd@wugate.wustl.edu; Tue, 1 Oct 1996 15:03:03 +0200 (MET DST)
Message-Id: <199610011303.PAA24659@pizza.hvu.nl>
Date: Tue, 1 Oct 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. The timezone in the ls output is wrong
              8. Digital Unix doesn't log commands after an anonymous
                 user logs in
              9. install fails with 'install: ..'
             10. Digital Unix (The Unix Formerly Known As OSF/1) and
                 Enhanced C2 security
        
            
         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
              6. It worked, until I upgraded the operating system.
        
            
         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 Tue Oct  1 08:50: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 m0v875e-0009ODC; Tue, 1 Oct 96 08: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 KAA09712; Tue, 1 Oct 1996 10:40:03 -0500
Received: from arbi.Informatik.Uni-Oldenburg.DE (arbi.Informatik.Uni-Oldenburg.DE [134.106.1.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA08849 for <wu-ftpd@wugate.wustl.edu>; Tue, 1 Oct 1996 10:20:34 -0500
Received: by arbi.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v86bj-0005iEC>; Tue, 1 Oct 96 17:19 CES
Received: by diamant.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v86bn-0004wbC>; Tue, 1 Oct 96 17:19 MET DST
Received: by jade.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v86bi-000AfvC>; Tue, 1 Oct 96 17:19 MET DST
Message-Id: <m0v86bi-000AfvC@jade.Informatik.Uni-Oldenburg.DE>
Date: Tue, 1 Oct 1996 17:19:30 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Walter Harms" <Walter.Harms@Informatik.Uni-Oldenburg.DE>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Contents of wu-ftpd FAQ
In-Reply-To: <199610011303.PAA24659@pizza.hvu.nl> from "Koos van den Hout _U nix and we all_" at Oct 1, 96 03:03:03 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Aliased: From u173034@jade.Informatik.Uni-Oldenburg.DE (Walter Harms)
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Can you pleas tar zip uuencode mail me the whole dir ?

	walter
-- 
-----
"It sets such a bad precedent when you start letting the world come to an
 end every week or so.  It seems to erode the confidence people have in
 their governments for some reason."
-----

From owner-wu-ftpd@wugate.wustl.edu Tue Oct  1 10:09: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 m0v88Jc-0007wlC; Tue, 1 Oct 96 10: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 LAA14358; Tue, 1 Oct 1996 11:55:08 -0500
Received: from arbi.Informatik.Uni-Oldenburg.DE (arbi.Informatik.Uni-Oldenburg.DE [134.106.1.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA09320 for <wu-ftpd@wugate.wustl.edu>; Tue, 1 Oct 1996 10:29:58 -0500
Received: by arbi.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v86kp-0005i5C>; Tue, 1 Oct 96 17:29 CES
Received: by diamant.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v86ku-0004wbC>; Tue, 1 Oct 96 17:29 MET DST
Received: by jade.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v86kt-000AfvC>; Tue, 1 Oct 96 17:29 MET DST
Message-Id: <m0v86kt-000AfvC@jade.Informatik.Uni-Oldenburg.DE>
Date: Tue, 1 Oct 1996 17:29:05 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Walter Harms" <Walter.Harms@Informatik.Uni-Oldenburg.DE>
To: wu-ftpd@wugate.wustl.edu (wu-ftpd mailinglist)
Subject: Probelms with AIX4.1
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Aliased: From u173034@jade.Informatik.Uni-Oldenburg.DE (Walter Harms)
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I was investigation the failing of wu-ftpd on AIX4.1
1. the server closed down after login
        is_shutdown() gets a wrong time
        after i disabled the timing part it worked better
        if Shutdown[] is not properly initialised it causes sometimes
        trouble
2. the ftp-users dirs seems to be empty
        It look like the ftpd_popen() produces an empty output
        I realy didnt understand way, hope the documentation for
        AIX will come soon.

        walter

-- 
-----
"It sets such a bad precedent when you start letting the world come to an
 end every week or so.  It seems to erode the confidence people have in
 their governments for some reason."
-----

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 04:28: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 m0v8PTc-0004iiC; Wed, 2 Oct 96 04: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 GAA27995; Wed, 2 Oct 1996 06:21:27 -0500
Received: from mail.telebuch.de (mail.telebuch.de [194.77.135.14]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA27207 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 06:07:33 -0500
Received: from ns.osn.de ([194.77.206.75]) by mail.telebuch.de (8.6.11/8.6.9) with SMTP id MAA08014 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 12:13:25 +0100
Received: by ns.osn.de with Microsoft Mail
	id <01BBB062.83C303E0@ns.osn.de>; Wed, 2 Oct 1996 13:06:24 +-100
Message-Id: <01BBB062.83C303E0@ns.osn.de>
Date: Wed, 2 Oct 1996 13:06:23 +-100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Martin Kandlbinder <martin@www-service.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: AW: IRIX compile problems
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BBB062.83CC2BA0"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


------ =_NextPart_000_01BBB062.83CC2BA0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

The newest version as far as I know is BETA 11, and I have already compiled it for IRIX 6.2

kbinder@mail.telebuch.de

----------
Von: 	Lael Tucker[SMTP:tucker@ns.resell.net]
Gesendet: 	Montag, 30. September 1996 17:08
An: 	wu-ftpd@wugate.wustl.edu
Betreff: 	IRIX compile problems

	I can't get wu-ftp (non-beta) version to compile under IRIX 6.2.
I have several questions:

- Is there a wu-ftp FAQ somewhere that isn't out of date?  The one I
found on yahoo claims that the newest wu-ftp is available on wuarchive,
but I can't find it there.
- Where can I find the newest wu-ftp (beta)
- Anyone get wu-ftp to compile under 6.2?

Thanks in advance.



------ =_NextPart_000_01BBB062.83CC2BA0
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IhgMAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAENgAQAAgAAAAIAAgABBJAG
ADQBAAABAAAADAAAAAMAADADAAAACwAPDgAAAAACAf8PAQAAAE8AAAAAAAAAgSsfpL6jEBmdbgDd
AQ9UAgAAAAB3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUAU01UUAB3dS1mdHBkQHd1Z2F0ZS53dXN0
bC5lZHUAAB4AAjABAAAABQAAAFNNVFAAAAAAHgADMAEAAAAZAAAAd3UtZnRwZEB3dWdhdGUud3Vz
dGwuZWR1AAAAAAMAFQwBAAAAAwD+DwYAAAAeAAEwAQAAABsAAAAnd3UtZnRwZEB3dWdhdGUud3Vz
dGwuZWR1JwAAAgELMAEAAAAeAAAAU01UUDpXVS1GVFBEQFdVR0FURS5XVVNUTC5FRFUAAAADAAA5
AAAAAAsAQDoBAAAAAgH2DwEAAAAEAAAAAAAAA548AQiABwAYAAAASVBNLk1pY3Jvc29mdCBNYWls
Lk5vdGUAMQgBBIABABoAAABBVzogSVJJWCBjb21waWxlIHByb2JsZW1zALsIAQWAAwAOAAAAzAcK
AAIADQAGABcAAwAMAQEggAMADgAAAMwHCgACAA0ABAAqAAMAHQEBCYABACEAAABFOUM4MDhCQzUz
MUNEMDExOUVGNTAwMDBDMDdEN0RFNAAzBwEDkAYAVAQAABIAAAALACMAAAAAAAMAJgAAAAAACwAp
AAAAAAADADYAAAAAAEAAOQDASVghWrC7AR4AcAABAAAAGgAAAEFXOiBJUklYIGNvbXBpbGUgcHJv
YmxlbXMAAAACAXEAAQAAABYAAAABu7BaIVi8CMjqHFMR0J71AADAfX3kAAAeAB4MAQAAAAUAAABT
TVRQAAAAAB4AHwwBAAAAFwAAAG1hcnRpbkB3d3ctc2VydmljZS5jb20AAAMABhCtE3mTAwAHEAMC
AAAeAAgQAQAAAGUAAABUSEVORVdFU1RWRVJTSU9OQVNGQVJBU0lLTk9XSVNCRVRBMTEsQU5ESUhB
VkVBTFJFQURZQ09NUElMRURJVEZPUklSSVg2MktCSU5ERVJATUFJTFRFTEVCVUNIREUtLS0tLS0t
AAAAAAIBCRABAAAA1AIAANACAABEBQAATFpGdUBMkJT/AAoBDwIVAqgF6wKDAFAC8gkCAGNoCsBz
ZXQyNwYABsMCgzIDxQIAcHJCcRHic3RlbQKDM3cC5AcTAoB9CoAIzwnZO/EWDzI1NQKACoENsQtg
4G5nMTAzAFALChRRBQvyYwBAIFRoZSDubgfQB5AFQHYEkACQAiA0IGEEIGYKwRwhSSAYa25vB+AE
ACBCRUBUQSAxMSwcEG5eZByxEYAboBwQbBYQYchkeSAFoG1wAxAJgA8dIAVAAhAFwElSSVgwIDYu
MgqFCoVrYtsLgASBQADAAxAuE9AfcHRidRFwLg2wIKwK9GwQaTI3MALRaS0yPDM0DfAM0CTjC1kx
NtcKoANgE9BjBUAtJwcKh9cluwwwJoZWAiA6KA4mhnEMgiBMYSJgGuAioGsBBJBbU01UUDp0tSwT
QACALhYQEbBsIjDZGzB0XSevKL1HLXEhsZZ0Kd8q600CIWFnHdC4MzAuBlEFMBPgYgSQER2gOTk2
HaA3OjA2OC4fKL1BKc8q3Hd1Ii0BgHBkQDhwZ2G9E9AuOHATwCIwCYB1NH/9KL1CEcAWEA3QNp8q
6yAj3R8lICaBAmAT4HMjDyQTfDM2JYcaRT18HxAAcCdNBUBnEcA4ZSAoHPBuli0zkAGQKRuXdG8+
h/Z1IbIgFy4KhR41EbAboTkHQCBxClATwBvhczrtIKwtHLAEIHQbABYQHBDxQ5ZGQVFHsANwB9BK
Iz9KEDkgHSFDIghgTHFmIHJkOSE/IBrjAiAbEEkPCoUCEEXxTaEgeWFo/m9FUQthP3BL1EoRGyZD
pf8dMR5gIhEBoD7hG/E4cArA9RFwaRugLAqFIpAFQELmvySwHgEfsUoTRtZJwFdKI/9DARyxVBNQ
L0QARGNJVzZw3nlNskNpRU8gcT8grBrwXQBwawQgC4AcEGRRgG5+Y1TXP59Ar0G8CoUVMQABYTAD
ABAQAAAAAAMAERABAAAAQAAHMKBiI+VZsLsBQAAIMKBiI+VZsLsBHgA9AAEAAAAFAAAAQVc6IAAA
AABRKw==

------ =_NextPart_000_01BBB062.83CC2BA0--

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 05:51:23 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v8Qlm-0009G6C; Wed, 2 Oct 96 05: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 HAA03294; Wed, 2 Oct 1996 07:44:58 -0500
Received: from arbi.Informatik.Uni-Oldenburg.DE (arbi.Informatik.Uni-Oldenburg.DE [134.106.1.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA02897 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 07:38:13 -0500
Received: by arbi.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v8QYG-0005iBC>; Wed, 2 Oct 96 14:37 CES
Received: by diamant.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v8QYD-0004wbC>; Wed, 2 Oct 96 14:37 MET DST
Received: by jade.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v8QYB-000AfvC>; Wed, 2 Oct 96 14:37 MET DST
Message-Id: <m0v8QYB-000AfvC@jade.Informatik.Uni-Oldenburg.DE>
Date: Wed, 2 Oct 1996 14:37:18 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Walter Harms" <Walter.Harms@Informatik.Uni-Oldenburg.DE>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Probelms with AIX4.1
In-Reply-To: <m0v86kt-000AfvC@jade.Informatik.Uni-Oldenburg.DE> from "Walter Harms" at Oct 1, 96 05:29:05 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Aliased: From u173034@jade.Informatik.Uni-Oldenburg.DE (Walter Harms)
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> I was investigation the failing of wu-ftpd on AIX4.1
> 1. the server closed down after login
>         is_shutdown() gets a wrong time
>         after i disabled the timing part it worked better
>         if Shutdown[] is not properly initialised it causes sometimes
>         trouble

	this seems to be a real bug

> 2. the ftp-users dirs seems to be empty
>         It look like the ftpd_popen() produces an empty output
>         I realy didnt understand way, hope the documentation for
>         AIX will come soon.
> 
	i managed to get the hands on the anon/ftp/script provided
	with AIX it did some additional cp now i can sdee the files
	again. It seems to be an AIX specific problem.





>         walter
> 
> -- 
> -----
> "It sets such a bad precedent when you start letting the world come to an
>  end every week or so.  It seems to erode the confidence people have in
>  their governments for some reason."
> -----
> 


-- 
-----
"Even a Vulcan will react when a silicon-based life form bites him in the leg."
-----

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 12:31: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 m0v8X0V-0000tCC; Wed, 2 Oct 96 12: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 OAA07692; Wed, 2 Oct 1996 14:28:02 -0500
Received: from lausd.k12.ca.us (lausd.k12.ca.us [192.215.166.34]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA07478 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 14:23:37 -0500
Received: from localhost by lausd.k12.ca.us (AIX 4.1/UCB 5.64/4.03)
          id AA10222; Wed, 2 Oct 1996 12:18:45 -0700
Message-Id: <Pine.A32.3.93.961002121517.75342A-100000@lausd.k12.ca.us>
Date: Wed, 2 Oct 1996 12:18:36 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Les Higger <lhigger@lausd.k12.ca.us>
To: wu-ftpd@wugate.wustl.edu
Subject: how do i
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I ve built 2.4.2 on linux box.. everything went ok.. but being new at this
I don't know what to do next.. how do i start it.. don't i have to do
something with inetd to make the server come up..?


        *++++++++++++++++++++++++++++++++++++++*
        * Les Higger Student Information Systems
        * Local Area Network Coord.  
        *  lhigger@lausd.k12.ca.us
        * Francisco Bravo Medical Magnet High School
        * Los Angeles Unified School District
 ---> Old men can give flawless advice, for they nolonger can set bad 
examples <--- 


From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 15:23: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 m0v8ZhO-0000UUC; Wed, 2 Oct 96 15: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 RAA21759; Wed, 2 Oct 1996 17:19:59 -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 QAA19024 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 16:47:31 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id RAA04884 for wu-ftpd@wugate.wustl.edu; Wed, 2 Oct 1996 17:46:42 -0400 (EDT)
Message-Id: <199610022146.RAA04884@finnegan.EE.McGill.CA>
Date: Wed, 2 Oct 1996 17:46:42 -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: how do i
In-Reply-To: <Pine.A32.3.93.961002121517.75342A-100000@lausd.k12.ca.us> from "Les Higger" at Oct 2, 96 12:18:36 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 ve built 2.4.2 on linux box.. everything went ok.. but being new at this
> I don't know what to do next.. how do i start it.. don't i have to do
> something with inetd to make the server come up..?
> 

>8<
__RTFM__
__RTFM__
__RTFM__

Read The FXXX Docs

sigh ... I know I'm not being very helpfull
but maybe you should check a Unix Admin. book
or a good start will be:

"Managing Internet Information Services": O'reilly


OR EVEN BROWSE THROUGH THE FAQ !!!!!
would have give you good pointers.

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

#ifdef FLAME
  higher a consultant :-)
#else
  for what is worth Linux boxes are usually pre-setup
  check in /etc/inetd.conf to see if the path for
  ftpd is ok and try to connect.

   i.e: do
  ftp localhost

  You maybe suprise :)
#endif

> 
>         *++++++++++++++++++++++++++++++++++++++*
>         * Les Higger Student Information Systems
>         * Local Area Network Coord.  
>         *  lhigger@lausd.k12.ca.us
>         * Francisco Bravo Medical Magnet High School
>         * Los Angeles Unified School District
>  ---> Old men can give flawless advice, for they nolonger can set bad 
> examples <--- 
> 

I don't think this list it's a place for Flame wars.. but
if you expect people to help you, you should do a little
on your part ... Don't you agree ?

I'll be happy to help(if I can) for specific wu-ftpd questions


Sorry folks, letting out some steam at the end of the day.

--
alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 15:31: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 m0v8ZpO-000FUZC; Wed, 2 Oct 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 RAA22307; Wed, 2 Oct 1996 17:28:26 -0500
Received: from mail01.ljextra.com (mail01.ljextra.com [204.97.2.4]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA20517 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 17:04:28 -0500
Received: from test01 (test01.ljextra.com [204.97.2.3]) by mail01.ljextra.com (8.7.5/8.7.3) with SMTP id SAA19299 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 18:03:43 -0400 (EDT)
Message-Id: <3252E6BB.8E1@ljextra.com>
Date: Wed, 02 Oct 1996 18:03:39 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Haohui Wang <haohui@ljextra.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with only one user uploading
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: haohui@ljextra.com
X-Mailer: Mozilla 3.0b6Gold (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We have a user here need to upload html files frequently.  She is
on the other side of the Net.  Very often, her upload would be half
way complete, and she receives an error message about "non-blocking
call" on her Win95 ftp client.  And the uploaded file only has the 
partial content.  I am pretty sure this is not a WuFTPD probelm, since
no other user is having this problem upload across the Net to us.  Did
anyone see something like this?

The version of wuftpd:
Connected to mail01.ljextra.com.
220 mail01.ljextra.com FTP server (Version wu-2.4.2-academ[BETA-11](6)
Tue May 7 09:35:01 EDT 1996) ready.

Here is a tcpdump:

12:30:46.218063 148.170.4.2.4778 > mail01.ljextra.com.ftp: S
8040651:8040651(0) 
win 8192 <mss 1460> (DF)
12:30:46.218970 mail01.ljextra.com.ftp > 148.170.4.2.4778: S
1838057358:18380573
58(0) ack 8040652 win 8760 <mss 1460> (DF)
12:30:46.266433 148.170.4.2.4778 > mail01.ljextra.com.ftp: . ack 1 win
8760 (DF)
12:30:46.546641 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 1:109(108)
ack 1 wi
n 8760 (DF) [tos 0x10]
12:30:46.615610 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 1:14(13)
ack 109 wi
n 8652 (DF)
12:30:46.658001 mail01.ljextra.com.ftp > 148.170.4.2.4778: . ack 14 win
8760 (DF
) [tos 0x10]
12:30:46.685611 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 109:144(35)
ack 14 
win 8760 (DF) [tos 0x10]
12:30:46.735499 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 14:28(14)
ack 144 w
in 8617 (DF)
12:30:46.777966 mail01.ljextra.com.ftp > 148.170.4.2.4778: . ack 28 win
8760 (DF
) [tos 0x10]
12:30:47.054595 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 144:172(28)
ack 28 
win 8760 (DF) [tos 0x10]
12:30:47.102692 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 28:70(42)
ack 172 w
in 8589 (DF)
12:30:47.147942 mail01.ljextra.com.ftp > 148.170.4.2.4778: . ack 70 win
8760 (DF
) [tos 0x10]
12:30:47.233587 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 172:201(29)
ack 70 
win 8760 (DF) [tos 0x10]
12:30:47.290301 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 70:75(5)
ack 201 wi
n 8560 (DF)
12:30:47.295075 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 201:263(62)
ack 75 
win 8760 (DF) [tos 0x10]
12:30:47.348456 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 75:81(6)
ack 263 wi
n 8498 (DF)
12:30:47.351502 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 263:330(67)
ack 81 
win 8760 (DF) [tos 0x10]
12:30:47.518670 148.170.4.2.4778 > mail01.ljextra.com.ftp: . ack 330 win
8431 (D
F)
12:30:47.519075 mail01.ljextra.com.ftp > 148.170.4.2.4778: P
330:756(426) ack 81
 win 8760 (DF) [tos 0x10]
12:30:47.722280 148.170.4.2.4778 > mail01.ljextra.com.ftp: . ack 756 win
8005 (D
F)
12:30:47.822071 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 81:106(25)
ack 756 
win 8005 (DF)
12:30:47.827281 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 756:786(30)
ack 106
 win 8760 (DF) [tos 0x10]
12:30:47.871877 148.170.4.2.4778 > mail01.ljextra.com.ftp: P 106:112(6)
ack 786 
win 7975 (DF)
12:30:47.918112 mail01.ljextra.com.ftp > 148.170.4.2.4778: . ack 112 win
8760 (D
F) [tos 0x10]
12:30:47.940354 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 786:839(53)
ack 112
 win 8760 (DF) [tos 0x10]
12:30:48.118138 148.170.4.2.4778 > mail01.ljextra.com.ftp: . ack 839 win
7922 (D
F)
12:30:52.727957 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 839:863(24)
ack 112
 win 8760 (DF) [tos 0x10]
12:30:53.007016 148.170.4.2.4778 > mail01.ljextra.com.ftp: . ack 863 win
7898 (D
F)
12:45:52.711840 mail01.ljextra.com.ftp > 148.170.4.2.4778: P 863:919(56)
ack 112
 win 8760 (DF) [tos 0x10]
12:45:52.724914 mail01.ljextra.com.ftp > 148.170.4.2.4778: F 919:919(0)
ack 112 
win 8760 (DF) [tos 0x10]
12:45:52.817901 148.170.4.2.4778 > mail01.ljextra.com.ftp: . ack 920 win
7842 (D
F)
12:45:53.102716 148.170.4.2.4778 > mail01.ljextra.com.ftp: R
8040763:8040763(0) 
win 0 (DF)
12:50:34.339828 mail01.ljextra.com.ftp > 148.170.4.2.3314: P
1963:1987(24) ack 3
62 win 8760 (DF) [tos 0x10]
12:50:34.529514 148.170.4.2.3314 > mail01.ljextra.com.ftp: F 362:362(0)
ack 1987
 win 8257 (DF)
12:50:34.529801 mail01.ljextra.com.ftp > 148.170.4.2.3314: . ack 363 win
8760 (D
F) [tos 0x10]
12:50:34.545547 mail01.ljextra.com.ftp > 148.170.4.2.3314: P
1987:2024(37) ack 3
63 win 8760 (DF) [tos 0x10]
12:50:34.565582 mail01.ljextra.com.ftp > 148.170.4.2.3314: F
2024:2024(0) ack 36
3 win 8760 (DF) [tos 0x10]
12:50:34.587800 148.170.4.2.3314 > mail01.ljextra.com.ftp: R
7559121:7559121(0) 
win 0 (DF)
12:50:34.634638 148.170.4.2.3314 > mail01.ljextra.com.ftp: R
7559121:7559121(0) 
win 0

-- 
Haohui Wang
Law Journal EXTRA!                               http://www.ljextra.com
haohui@ljextra.com                                    haohui@dorsai.org
          UNIX, the hackers' pornography -- Donald A. Norman

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 16:16: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 m0v8aWj-0009GgC; Wed, 2 Oct 96 16: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 SAA25505; Wed, 2 Oct 1996 18:13:27 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA25310 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 18:10:30 -0500
Received: from psycho.capecod.net (Banditi@bandit.capecod.net [204.255.214.239]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id TAA20988 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 19:08:31 -0400 (EDT)
Message-Id: <199610022308.TAA20988@mailhost.capecod.net>
Date: Wed, 2 Oct 1996 19:08:31 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: wu-ftpd@wugate.wustl.edu
Subject: chroot() function
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I was wondering if anyone know how to use a chroot() function in wu-ftpd so
that user's logging in had a path of / rather than a directory.  I know that
the user 'ftp' has that function.. but I'm not sure how to go about doing
it.  I did however, try to add to the 'ftpaccess' file but when I logged in,
there were no files.

Thanks

Brian
-- 
===================================
CAPE Internet Systems Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capecod.net
===================================

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 16:58: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 m0v8bBl-000DOUC; Wed, 2 Oct 96 16: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 SAA28242; Wed, 2 Oct 1996 18:55:46 -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 SAA27017 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 18:37:34 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id TAA06041 for wu-ftpd@wugate.wustl.edu; Wed, 2 Oct 1996 19:36:49 -0400 (EDT)
Message-Id: <199610022336.TAA06041@finnegan.EE.McGill.CA>
Date: Wed, 2 Oct 1996 19:36:49 -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: chroot() function
In-Reply-To: <199610022308.TAA20988@mailhost.capecod.net> from "Brian Beaulieu" at Oct 2, 96 07:08:31 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 wondering if anyone know how to use a chroot() function in wu-ftpd so
> that user's logging in had a path of / rather than a directory.  I know that
> the user 'ftp' has that function.. but I'm not sure how to go about doing
> it.  I did however, try to add to the 'ftpaccess' file but when I logged in,
> there were no files.
> 
> Thanks
> 

If you want ftpd to do chroot() for other user than 'ftp'

in /etc/passwd 
user:<passwd>:100:92:Guest Account:/home/ftp/./user:/etc/ftponly

a chroot("/home/ftp") is done plus a chdir("/user")

because of the chroot a valid file system hierarchy must be provide
(lib/*, dev/* etc ... depend on the OS)

I don't know if that's what you want, but
maybe you should take a look at those links. 

<ftp://ftp.fni.com/pub/wu-ftpd/guest-howto>
<http://www.hvu.nl/~koos/wu-ftpd-faq.html>

for more info on how to setup the guestgroup

ftpd.8 is also more than helpfull ;-)

> Brian
> -- 
> ===================================
> CAPE Internet Systems Administrator
> http://www.capecod.net
> http://despair.capecod.net
> brian@capecod.net
> ===================================
> 

--
cheers, alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 17:06: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 m0v8bJG-0009KlC; Wed, 2 Oct 96 17: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 TAA28680; Wed, 2 Oct 1996 19:03:45 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA27030 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 18:37:50 -0500
Received: from natasha.intelenet.net (natasha.intelenet.net [206.82.218.3]) by ns.intelenet.net (8.7.5/8.7.3) with ESMTP id QAA03557 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 16:36:36 -0700 (PDT)
Received: (from bob@localhost) by natasha.intelenet.net (8.7.3/8.7.3) id QAA23539 for wu-ftpd@wugate.wustl.edu; Wed, 2 Oct 1996 16:35:50 -0700 (PDT)
Message-Id: <199610022335.QAA23539@natasha.intelenet.net>
Date: Wed, 2 Oct 1996 16:35:49 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bob@intelenet.net (Bob Myers)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
In-Reply-To: Brian Beaulieu <brian@capecod.net>
       "chroot() function" (Oct  2, 19:08)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Oct 2, 19:08, Brian Beaulieu wrote:
} Subject: chroot() function
> I was wondering if anyone know how to use a chroot() function in wu-ftpd so
> that user's logging in had a path of / rather than a directory.  I know that
> the user 'ftp' has that function.. but I'm not sure how to go about doing
> it.  I did however, try to add to the 'ftpaccess' file but when I logged in,
> there were no files.
> 
> Thanks
> 
> Brian
> -- 
> ===================================
> CAPE Internet Systems Administrator
> http://www.capecod.net
> http://despair.capecod.net
> brian@capecod.net
> ===================================
> 
>-- End of excerpt from Brian Beaulieu


Hint: guestgroup in the ftpaccess file.


-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 17:55: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 m0v8c4v-0007RNC; Wed, 2 Oct 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 TAA02076; Wed, 2 Oct 1996 19:52:58 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA29085 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 19:10:14 -0500
Received: from psycho.capecod.net (Banditi@bandit.capecod.net [204.255.214.239]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id UAA26617 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 20:08:25 -0400 (EDT)
Message-Id: <199610030008.UAA26617@mailhost.capecod.net>
Date: Wed, 2 Oct 1996 20:08:25 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 04:35 PM 96/10/02 -0700, you wrote:

>Hint: guestgroup in the ftpaccess file.

Thanks :)
This is the section from my ftpaccess
-
# specify which group of users will be treated as "guests".
guestgroup ftponly user 
-
I'm assuming it wants system groups.. (ftponly isn't technically a group)
Also, the account 'ftp' doesn't belong to any groups.

Any other 'hints'?

Thanks

Brian
-- 
===================================
CAPE Internet Systems Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capecod.net
===================================

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 18:34: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 m0v8cfy-0007LNC; Wed, 2 Oct 96 18: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 UAA04608; Wed, 2 Oct 1996 20:31:09 -0500
Received: from patty.loop.net ([204.179.169.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA02391 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 19:58:00 -0500
Received: (from cassy@localhost) by patty.loop.net (8.6.12/8.6.12) id RAA01516; Wed, 2 Oct 1996 17:55:53 -0700
Message-Id: <Pine.BSF.3.91.961002174356.25020F-100000@patty.loop.net>
Date: Wed, 2 Oct 1996 17:55:51 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Cassandra Perkins <cassy@loop.com>
To: Brian Beaulieu <brian@capecod.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
In-Reply-To: <199610022308.TAA20988@mailhost.capecod.net>
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

In your ftpaccess file add:

	guestgroup <valid group name from /etc/group>

and, in the password file setup the home directory path like,

	/home/./user-dir

The /./ tells chroot to use user-dir as the root directory (/).

----------------------------------------------------------------------------
| Cassandra M. Perkins		     | People usually get what's coming to |
| Network Operations		     | them... unless it's been mailed.    |
| The Loop Internet Switch Co., LLC  |		-fortune		   |
----------------------------------------------------------------------------

On Wed, 2 Oct 1996, Brian Beaulieu wrote:

> I was wondering if anyone know how to use a chroot() function in wu-ftpd so
> that user's logging in had a path of / rather than a directory.  I know that
> the user 'ftp' has that function.. but I'm not sure how to go about doing
> it.  I did however, try to add to the 'ftpaccess' file but when I logged in,
> there were no files.
> 
> Thanks
> 
> Brian
> -- 
> ===================================
> CAPE Internet Systems Administrator
> http://www.capecod.net
> http://despair.capecod.net
> brian@capecod.net
> ===================================
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 18:42:20 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v8cnm-0004NfC; Wed, 2 Oct 96 18: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 UAA05084; Wed, 2 Oct 1996 20:39:22 -0500
Received: from warrane.connect.com.au (warrane.connect.com.au [192.189.54.33]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA02614 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 20:00:46 -0500
Received: from hare.net.au (jack.hare.net.au [203.63.221.2]) by warrane.connect.com.au with SMTP id KAA10897
  (8.7.6/IDA-1.6 for <wu-ftpd@wugate.wustl.edu>); Thu, 3 Oct 1996 10:59:57 +1000 (EST)
Received: from hellfire.hare.net.au by hare.net.au (5.0/SMI-SVR4)
	id AA02279; Thu, 3 Oct 1996 10:58:10 +1000
Received: (from drew@localhost) by hellfire.hare.net.au (8.7.5/v3.0) id LAA30529; Thu, 3 Oct 1996 11:07:15 +1000
Message-Id: <Pine.LNX.3.91.961003110514.30516A-100000@hellfire.hare.net.au>
Date: Thu, 3 Oct 1996 11:07:14 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andrew J <drew@hellfire.hare.net.au>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
In-Reply-To: <199610022336.TAA06041@finnegan.EE.McGill.CA>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Wed, 2 Oct 1996, Alain Magloire wrote:

> > 
> > I was wondering if anyone know how to use a chroot() function in wu-ftpd so
> > that user's logging in had a path of / rather than a directory.  I know that
> > the user 'ftp' has that function.. but I'm not sure how to go about doing
> > it.  I did however, try to add to the 'ftpaccess' file but when I logged in,
> > there were no files.
> > 
> > Thanks
> > 
> 
> If you want ftpd to do chroot() for other user than 'ftp'
> 
> in /etc/passwd 
> user:<passwd>:100:92:Guest Account:/home/ftp/./user:/etc/ftponly
> 
> a chroot("/home/ftp") is done plus a chdir("/user")
> 
> because of the chroot a valid file system hierarchy must be provide
> (lib/*, dev/* etc ... depend on the OS)
> 
> I don't know if that's what you want, but
> maybe you should take a look at those links. 
> 
> <ftp://ftp.fni.com/pub/wu-ftpd/guest-howto>
> <http://www.hvu.nl/~koos/wu-ftpd-faq.html>
> 
> for more info on how to setup the guestgroup
> 
> ftpd.8 is also more than helpfull ;-)

Don't forget to add /bin/ftponly (or /bin/true whatever you use for the 
ftponly shell) to /etc/shells  it tends to be easy to overlook.  And on 
most systems if you dont have a valid shell, you dont have a login.

--Drew

> 
> > Brian
> > -- 
> > ===================================
> > CAPE Internet Systems Administrator
> > http://www.capecod.net
> > http://despair.capecod.net
> > brian@capecod.net
> > ===================================
> > 
> 
> --
> cheers, alain
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 18:48: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 m0v8cts-000FDgC; Wed, 2 Oct 96 18: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 UAA05442; Wed, 2 Oct 1996 20:45:41 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA02867 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 20:05:24 -0500
Received: from psycho.capecod.net (Banditi@bandit.capecod.net [204.255.214.239]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id VAA01581; Wed, 2 Oct 1996 21:03:33 -0400 (EDT)
Message-Id: <199610030103.VAA01581@mailhost.capecod.net>
Date: Wed, 2 Oct 1996 21:03:33 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: Cassandra Perkins <cassy@loop.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 05:55 PM 96/10/02 -0700, you wrote:
>In your ftpaccess file add:
>
>	guestgroup <valid group name from /etc/group>
>
>and, in the password file setup the home directory path like,
>
>	/home/./user-dir
>
>The /./ tells chroot to use user-dir as the root directory (/).

OK.. i'm running BSDi 2.2

This is the test user's passwd entry:
brian:*:109:100:,,,:/usr/home/./brian:/bin/bash

This is the ftpaccess entry:
despair# grep guestgroup ftpaccess
guestgroup ftponly user
despair# 

despair# groups brian
user
despair# 
--------
This is wuftpd 2.4.2-beta 11

with that setup, i ftp in.. log in as brian aand i can still browse directories.

Brian
-- 
===================================
CAPE Internet Systems Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capecod.net
===================================

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 18:55: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 m0v8d0S-000FDgC; Wed, 2 Oct 96 18: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 UAA05736; Wed, 2 Oct 1996 20:52:26 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA04016 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 20:20:54 -0500
Received: from psycho.capecod.net (Banditi@bandit.capecod.net [204.255.214.239]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id VAA02950; Wed, 2 Oct 1996 21:19:03 -0400 (EDT)
Message-Id: <199610030119.VAA02950@mailhost.capecod.net>
Date: Wed, 2 Oct 1996 21:19:03 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: Cassandra Perkins <cassy@loop.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function [correction]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 05:55 PM 96/10/02 -0700, you wrote:
>In your ftpaccess file add:
>
>	guestgroup <valid group name from /etc/group>
>
>and, in the password file setup the home directory path like,
>
>	/home/./user-dir
>
>The /./ tells chroot to use user-dir as the root directory (/).
Whoops
That's BSDi 2.1

This is the test user's passwd entry:
brian:*:109:100:,,,:/usr/home/./brian:/bin/bash

This is the ftpaccess entry:
despair# grep guestgroup ftpaccess
guestgroup ftponly user
despair# 

despair# groups brian
user
despair# 
--------
This is wuftpd 2.4.2-beta 11

with that setup, i ftp in.. log in as brian aand i can still browse directories.

Brian
-- 
===================================
CAPE Internet Systems Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capecod.net
===================================

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 19:44: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 m0v8dm1-000DOLC; Wed, 2 Oct 96 19: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 VAA09045; Wed, 2 Oct 1996 21:41:33 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA05328 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 20:43:34 -0500
Received: from natasha.intelenet.net (natasha.intelenet.net [206.82.218.3]) by ns.intelenet.net (8.7.5/8.7.3) with ESMTP id SAA06527 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 18:42:18 -0700 (PDT)
Received: (from bob@localhost) by natasha.intelenet.net (8.7.3/8.7.3) id SAA23732 for wu-ftpd@wugate.wustl.edu; Wed, 2 Oct 1996 18:41:33 -0700 (PDT)
Message-Id: <199610030141.SAA23732@natasha.intelenet.net>
Date: Wed, 2 Oct 1996 18:41:32 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bob@intelenet.net (Bob Myers)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
In-Reply-To: Brian Beaulieu <brian@capecod.net>
       "Re: chroot() function" (Oct  2, 20:08)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Oct 2, 20:08, Brian Beaulieu wrote:
} Subject: Re: chroot() function
> At 04:35 PM 96/10/02 -0700, you wrote:
> 
> >Hint: guestgroup in the ftpaccess file.
> 
> Thanks :)
> This is the section from my ftpaccess
> -
> # specify which group of users will be treated as "guests".
> guestgroup ftponly user 
> -
> I'm assuming it wants system groups.. (ftponly isn't technically a group)
> Also, the account 'ftp' doesn't belong to any groups.

All accounts belong to at least one group.  Typically, it's the number in
the 4th field of the passwd file. 

Why isn't "ftponly" a group on your system if you've put it in the
ftpaccess file?  It should be. If it was, your problem would be *half*
solved...

> Any other 'hints'?

Go read the ftpaccess man page - look at the guestgroup section.

When you've done your homework and you still can't get it to work,
*then* ask us.


-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 19:51: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 m0v8dsR-000FOhC; Wed, 2 Oct 96 19: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 VAA09304; Wed, 2 Oct 1996 21:48:15 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA05507 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 20:48:00 -0500
Received: from psycho.capecod.net (Banditi@bandit.capecod.net [204.255.214.239]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id VAA05622; Wed, 2 Oct 1996 21:46:11 -0400 (EDT)
Message-Id: <199610030146.VAA05622@mailhost.capecod.net>
Date: Wed, 2 Oct 1996 21:46:11 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: wu-ftpd@wugate.wustl.edu
Cc: drew@hellfire.hare.net.au
Subject: Re: chroot() function
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 11:07 AM 96/10/03 +1000, you wrote:

>Don't forget to add /bin/ftponly (or /bin/true whatever you use for the 
>ftponly shell) to /etc/shells  it tends to be easy to overlook.  And on 
>most systems if you dont have a valid shell, you dont have a login.

Yep, got that done.
It is still allowing my to browse directories

I'm runnning BSDi 2.1
This is my passwd/master.passwd entry:
despair# grep brian /etc/*passwd*
/etc/master.passwd:brian:<password>:109:100::0:0:,,,:/usr/home/./brian/:/etc
/ftponly
/etc/passwd:brian:*:109:100:,,,:/usr/home/./brian/:/etc/ftponly
despair# 

------
This is my shells entry

despair# grep ftponly /etc/shells 
/etc/ftponly
despair# 
-------
This is my ftpaccess entry:
despair# grep guestgroup /etc/ftpaccess
guestgroup ftponly user
despair# 

-------
I'm assuming the guestgroup is supposed to be a group on the server.
the group 'user' is the group that all users belong to.

It still doesnt' work with that setup..
This is wu-ftpd 2.4.2 beta-11

Thanks for your help,

Brian
-- 
===================================
CAPE Internet Systems Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capecod.net
===================================

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 19:58: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 m0v8dzF-0009J4C; Wed, 2 Oct 96 19: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 VAA09548; Wed, 2 Oct 1996 21:55:18 -0500
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 VAA07706 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 21:21:49 -0500
Received: (from cassy@localhost) by patty.loop.net (8.6.12/8.6.12) id TAA11587; Wed, 2 Oct 1996 19:19:40 -0700
Message-Id: <Pine.BSF.3.91.961002191406.10214B-100000@patty.loop.net>
Date: Wed, 2 Oct 1996 19:19:40 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Cassandra Perkins <cassy@loop.com>
To: Brian Beaulieu <brian@capecod.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot() function
In-Reply-To: <199610030103.VAA01581@mailhost.capecod.net>
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

On Wed, 2 Oct 1996, Brian Beaulieu wrote:

> At 05:55 PM 96/10/02 -0700, you wrote:
> >In your ftpaccess file add:
> >
> >	guestgroup <valid group name from /etc/group>
> >
> >and, in the password file setup the home directory path like,
> >
> >	/home/./user-dir
> >
> >The /./ tells chroot to use user-dir as the root directory (/).

Sorry, I made a mistake.  The root directory will be /home and user-dir 
is the subdirectory you are placed into when you log in.


> 
> OK.. i'm running BSDi 2.2
> 
> This is the test user's passwd entry:
> brian:*:109:100:,,,:/usr/home/./brian:/bin/bash
> 

Your example will put you in directory /brian when you ftp.  So you 
should only be able to move up one notch only.
	$ pwd
	/brian
	$ cd ..
	$ pwd
	/

Cassandra

> This is the ftpaccess entry:
> despair# grep guestgroup ftpaccess
> guestgroup ftponly user
> despair# 
> 
> despair# groups brian
> user
> despair# 
> --------
> This is wuftpd 2.4.2-beta 11
> 
> with that setup, i ftp in.. log in as brian aand i can still browse directories.
> 
> Brian
> -- 
> ===================================
> CAPE Internet Systems Administrator
> http://www.capecod.net
> http://despair.capecod.net
> brian@capecod.net
> ===================================
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Oct  2 20:04: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 m0v8e5N-000FUZC; Wed, 2 Oct 96 20: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 WAA09886; Wed, 2 Oct 1996 22:01:37 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAA08590 for <wu-ftpd@wugate.wustl.edu>; Wed, 2 Oct 1996 21:32:39 -0500
Received: from natasha.intelenet.net (natasha.intelenet.net [206.82.218.3]) by ns.intelenet.net (8.7.5/8.7.3) with ESMTP id TAA07636; Wed, 2 Oct 1996 19:31:18 -0700 (PDT)
Received: (from bob@localhost) by natasha.intelenet.net (8.7.3/8.7.3) id TAA23835; Wed, 2 Oct 1996 19:30:33 -0700 (PDT)
Message-Id: <199610030230.TAA23835@natasha.intelenet.net>
Date: Wed, 2 Oct 1996 19:30:32 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bob@intelenet.net (Bob Myers)
To: wu-ftpd@wugate.wustl.edu, Cassandra Perkins <cassy@loop.com>
Subject: Re: chroot() function
In-Reply-To: Brian Beaulieu <brian@capecod.net>
       "Re: chroot() function" (Oct  2, 21:03)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Oct 2, 21:03, Brian Beaulieu wrote:
} Subject: Re: chroot() function
> At 05:55 PM 96/10/02 -0700, you wrote:
> >
> >and, in the password file setup the home directory path like,
> >
> >	/home/./user-dir
> >
> >The /./ tells chroot to use user-dir as the root directory (/).

No, it tells chroot to use /home as the root directory.


> This is the test user's passwd entry:
> brian:*:109:100:,,,:/usr/home/./brian:/bin/bash
> 
> This is the ftpaccess entry:
> despair# grep guestgroup ftpaccess
> guestgroup ftponly user
> despair# groups brian
> user
> 
> with that setup, i ftp in.. log in as brian aand i can still browse directories.

With that setup, "brian" should be able to browse any directory under 
/usr/home.

Other things to check:
Did you set up inetd.conf calling ftpd with the -a switch?  If you don't
start ftpd with -a, it ignores the ftpaccess file.

-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 04:34: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 m0v8m3D-0004NFC; Thu, 3 Oct 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 GAA09387; Thu, 3 Oct 1996 06:31:13 -0500
Received: from xpressware.com (xpressware.com [199.45.148.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA08999 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 06:21:15 -0500
Received: from nsn.net by xpressware.com (4.1/1.34)
	id AA21469; Thu, 3 Oct 96 05:17:34 MDT
Received: from imul.com by nsn.net (4.1/SMI-4.1)
	id AA12489; Thu, 3 Oct 96 05:24:18 MDT
Received: from terah.imul.com by imul.com (4.1/SMI-4.1)
	id AA03790; Thu, 3 Oct 96 14:23:37+030
Message-Id: <9610031123.AA03790@imul.com>
Date: Thu, 3 Oct 1996 14:13:02 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tera@imul.com
To: wu-ftpd@wugate.wustl.edu
Subject: chroot()
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Confirm-Reading-To: tera@mail.imul.com
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Win32 (v2.42a)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is it possible having done all this to let a person read his 
directory, and if so how ? I have set all this up and it works except 
for the fact that none of the guests can list their directories, yet 
I want them to maintain them themselves i.e clearing old files and 
the like.

Thanks.
*****************************
* Kaggwa S. Terah           *
* System Engineer           *
* InfoMail (U) Ltd.         *
* E-mail: tera@imul.com     *
*         support@imul.com  *
* Tel: 256-41-258361        *
* Fax: 256-41-236256        *
*****************************

InfoMail, The GateWay To Uganda.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 06:48: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 m0v8o8l-000DM8C; Thu, 3 Oct 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 IAA18450; Thu, 3 Oct 1996 08:45:40 -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 IAA15711 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 08:14:18 -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 PAA13710 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 15:15:15 +0200 (MET DST)
Received: from ingres.cegelec-red.fr by dms.cegelec-red.fr (4.1/SMI-4.1)
	id AA11379; Thu, 3 Oct 96 15:14:00 +0200
Received: by ingres.cegelec-red.fr (SMI-8.6/SMI-SVR4)
	id PAA13190; Thu, 3 Oct 1996 15:13:57 +0200
Message-Id: <199610031313.PAA13190@ingres.cegelec-red.fr>
Date: Thu, 3 Oct 1996 15:13:57 +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: ftpconversions
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Content-Md5: tby7wPTvlSe7632NxP2Z7w==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is it possible to use the put command to convert a file (for example
compress) ?


ftp> put Rconnect.c.Z
Rconnect.c.Z: No such file or directory
ftp> get Rconnect.c.Z
200 PORT command successful.
150 Opening BINARY mode data connection for /bin/compress.
226 Transfer complete.
local: Rconnect.c.Z remote: Rconnect.c.Z
2443 bytes received in 0.018 seconds (1.3e+02 Kbytes/s)
ftp>=20

Here is an extract from my ftpconversions file :

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

Any suggestions or idea will be appreciated

Thanks

Thierry

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 06:55:32 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v8oFL-0006mYC; Thu, 3 Oct 96 06: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 IAA19006; Thu, 3 Oct 1996 08:52:25 -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 IAA17969 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 08:40:24 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id IAA16588 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 08:39:42 -0500
Message-Id: <Pine.LNX.3.95.961003083844.16479A-100000@ns1.fni.com>
Date: Thu, 3 Oct 1996 08:39:42 -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: chroot()
In-Reply-To: <9610031123.AA03790@imul.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 3 Oct 1996 tera@imul.com wrote:

> Is it possible having done all this to let a person read his 
> directory, and if so how ? I have set all this up and it works except 
> for the fact that none of the guests can list their directories, yet 
> I want them to maintain them themselves i.e clearing old files and 
> the like.

Have a detailed look at the guest howto below, and pay attention to how
the 'ls' command is set up in each guest directory.

   -- 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 Thu Oct  3 08:24: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 m0v8pd7-000FMQC; Thu, 3 Oct 96 08: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 KAA26255; Thu, 3 Oct 1996 10:20:56 -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 KAA25832 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 10:14:41 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id LAA02642 for wu-ftpd@wugate.wustl.edu; Thu, 3 Oct 1996 11:13:56 -0400 (EDT)
Message-Id: <199610031513.LAA02642@finnegan.EE.McGill.CA>
Date: Thu, 3 Oct 1996 11:13:56 -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: ftpconversions
In-Reply-To: <199610031313.PAA13190@ingres.cegelec-red.fr> from "Thierry Frati" at Oct 3, 96 03:13:57 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

> 
> Is it possible to use the put command to convert a file (for example
> compress) ?
> 

You got it mix 'Thierry'
The Compression and Decompression on the fly is _only_ done
for downloading _not_ uploading

--------------------
ftp>ls
file1 file2.Z

ftp>get file1.Z

ftpd will compress data according to ftpconversions

ftp>get file2

ftpd will uncompress data according to ftpconversions

and of course ftpaccess has
class   all  real,guest,anonymous *
...
compress yes all
tar yes all
...

--------------------
doing this

put file file.Z

will do nothing except rename file on the remote server to file.Z
Obviously not what you want :)

I don't know of any patch for {DE,}compression on the fly when _uploading_

--
bye, alain

> 
> ftp> put Rconnect.c.Z
> Rconnect.c.Z: No such file or directory
> ftp> get Rconnect.c.Z
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for /bin/compress.
> 226 Transfer complete.
> local: Rconnect.c.Z remote: Rconnect.c.Z
> 2443 bytes received in 0.018 seconds (1.3e+02 Kbytes/s)
> ftp>=20
> 
> Here is an extract from my ftpconversions file :
> 
>  :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
>  :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
> 
> Any suggestions or idea will be appreciated
> 
> Thanks
> 
> Thierry
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 08:52:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v8q4W-000DMSC; Thu, 3 Oct 96 08:52 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA28539; Thu, 3 Oct 1996 10:49:17 -0500
Received: from xpressware.com (xpressware.com [199.45.148.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA26496 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 10:24:13 -0500
Received: from nsn.net by xpressware.com (4.1/1.34)
	id AA23082; Thu, 3 Oct 96 09:20:42 MDT
Received: from imul.com by nsn.net (4.1/SMI-4.1)
	id AA15329; Thu, 3 Oct 96 09:27:27 MDT
Received: from terah.imul.com by imul.com (4.1/SMI-4.1)
	id AA12590; Thu, 3 Oct 96 18:26:48+030
Message-Id: <9610031526.AA12590@imul.com>
Date: Thu, 3 Oct 1996 18:16:12 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tera@imul.com
To: wu-ftpd@wugate.wustl.edu
Subject: guest users
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Confirm-Reading-To: tera@mail.imul.com
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Win32 (v2.42a)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have setup my guestusers and they login and deposit their file 
alright. I would like them to maintain their chroot directories and 
this neccesitates them being able to read their directories. Is there 
any way of enabling this for a guestgroup ?? This is what my 
ftpaccess file looks like. Any suggestions welcome. I am using 
BSDI2.0.

*****************************
* Kaggwa S. Terah           *
* System Engineer           *
* InfoMail (U) Ltd.         *
* E-mail: tera@imul.com     *
*         support@imul.com  *
* Tel: 256-41-258361        *
* Fax: 256-41-236256        *
*****************************

InfoMail, The GateWay To Uganda.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 08:59:46 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v8qBV-0009dbC; Thu, 3 Oct 96 08: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 KAA29016; Thu, 3 Oct 1996 10:56:40 -0500
Received: from xpressware.com (xpressware.com [199.45.148.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA27763 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 10:39:21 -0500
Received: from nsn.net by xpressware.com (4.1/1.34)
	id AA23196; Thu, 3 Oct 96 09:35:51 MDT
Received: from imul.com by nsn.net (4.1/SMI-4.1)
	id AA15433; Thu, 3 Oct 96 09:42:35 MDT
Received: from terah.imul.com by imul.com (4.1/SMI-4.1)
	id AA13050; Thu, 3 Oct 96 18:41:56+030
Message-Id: <9610031541.AA13050@imul.com>
Date: Thu, 3 Oct 1996 18:31:20 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tera@imul.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot()
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Confirm-Reading-To: tera@mail.imul.com
X-Pmrqc: 1
X-Mailer: Pegasus Mail for Win32 (v2.42a)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Date:          Thu, 3 Oct 1996 08:39:42 -0500 (CDT)
> Reply-to:      wu-ftpd@wugate.wustl.edu
> From:          Michael Brennen <mbrennen@fni.com>
> To:            wu-ftpd@wugate.wustl.edu
> Subject:       Re: chroot()

> On Thu, 3 Oct 1996 tera@imul.com wrote:
> 
> > Is it possible having done all this to let a person read his 
> > directory, and if so how ? I have set all this up and it works except 
> > for the fact that none of the guests can list their directories, yet 
> > I want them to maintain them themselves i.e clearing old files and 
> > the like.
> 
> Have a detailed look at the guest howto below, and pay attention to how
> the 'ls' command is set up in each guest directory.
> 
>    -- 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.
> 
> 

Sorry, I forgot to mention, my guestusers home dirs are not under the 
ftp directory. I am using a different subtree /home/users . 
*****************************
* Kaggwa S. Terah           *
* System Engineer           *
* InfoMail (U) Ltd.         *
* E-mail: tera@imul.com     *
*         support@imul.com  *
* Tel: 256-41-258361        *
* Fax: 256-41-236256        *
*****************************

InfoMail, The GateWay To Uganda.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 09:52: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 m0v8r0E-0007RNC; Thu, 3 Oct 96 09:52 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA04046; Thu, 3 Oct 1996 11:48:48 -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 LAA00209 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 11:10:14 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id MAA03382 for wu-ftpd@wugate.wustl.edu; Thu, 3 Oct 1996 12:09:29 -0400 (EDT)
Message-Id: <199610031609.MAA03382@finnegan.EE.McGill.CA>
Date: Thu, 3 Oct 1996 12:09:28 -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: chroot()
In-Reply-To: <9610031541.AA13050@imul.com> from "tera@imul.com" at Oct 3, 96 06:31:20 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

> > Have a detailed look at the guest howto below, and pay attention to how
> > the 'ls' command is set up in each guest directory.
> > 
> >    -- 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.
> > 
> > 
> 
> Sorry, I forgot to mention, my guestusers home dirs are not under the 
> ftp directory. I am using a different subtree /home/users . 

#ifdef SHORT_ANSWER
 
  make available a  statically version of 'ls' under
  /home/users/bin/ls

#elsif LONG_ANSWER

  what Michael Brennen was saying is that under /home/users
  You must have a correct file system with
  /home/users/lib/*
  /home/users/dev/*
  etc ..
  
  see the docs in Michael emails for more info

#else DEBUG

  one sure way to see if 'ls' is ok:

  chroot /home/users bin/ls

  I suppose that ls is under /home/users/bin/ls

#endif

--
good day, alain

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 10:07: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 m0v8rEq-0004HdC; Thu, 3 Oct 96 10: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 MAA05700; Thu, 3 Oct 1996 12:04:12 -0500
Received: from eel.spinners.com ([207.121.155.16]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA01534 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 11:24:25 -0500
Received: from [207.121.154.13] (rabbit.spinners.com [207.121.154.13]) by eel.spinners.com (8.6.12/8.6.9) with SMTP id MAA11103 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 12:24:00 -0400
Message-Id: <v02120001ae79606f9d97@[207.121.154.13]>
Date: Thu, 3 Oct 1996 12:24:00 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: steve@spinners.com (Steve Conine)
To: wu-ftpd@wugate.wustl.edu
Subject: FTP Users
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: steve@snail.spinners.com
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello -

I have recently instaled wu-ftpd on our system.  I am wondering if there is
a way to set up wu-ftpd so that every user is in the same group yet each is
restricted to different directories.  I am finding that it is a pain to
have FTP users in a group which is different from other users who have more
access privelages because file ownership and permissions become a problem.

Thanks for any help

-Steven


----------------------------------------------------
Steven Conine               617-497-1519 (telephone)
Spinners Incorporated       617-497-1537 (facsimile)
30 John F. Kennedy Street   steve@spinners.com
Cambridge, MA 02138         http://www.spinners.com

Internet/World Wide Web Site Production & Solutions
----------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 10:45: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 m0v8rqI-0000tCC; Thu, 3 Oct 96 10: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 MAA09121; Thu, 3 Oct 1996 12:42:42 -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 LAA03556 for <wu-ftpd@wugate.wustl.edu>; Thu, 3 Oct 1996 11:42:35 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id LAA02857 for wu-ftpd@wugate.wustl.edu; Thu, 3 Oct 1996 11:41:43 -0400 (EDT)
Message-Id: <199610031541.LAA02857@finnegan.EE.McGill.CA>
Date: Thu, 3 Oct 1996 11:41:42 -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: chroot() and /dev/zero
In-Reply-To: <Pine.LNX.3.95.961003083844.16479A-100000@ns1.fni.com> from "Michael Brennen" at Oct 3, 96 08:39:42 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

Hello
  Not a question just a comment, that I hope will be usefull to 
other brave souls who have lost hours of good sleep.

It applies to SunOS-4.1.x, I don't know about
other ARCH (don't have other ARCH :-).

  A common mistake(That I do repeatedly) is forgetting to create
the device /dev/zero. The symptom is :

everything else seems to work(get ,put, ...) but ls doesn't show anything.

  Usually, it happens when ~ftp/bin/ls is dynamically link. ld.so use mmap()
to map and bind share object at run-time. And mmap() probably
zero-fill the aera with an open("/dev/zero", O_RDWR).

So when you have SunOS and ls doesn't work ... it's a good place
to start investigate.

--
good night, alain

From owner-wu-ftpd@wugate.wustl.edu Thu Oct  3 12:43: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 m0v8tgX-0006ncC; Thu, 3 Oct 96 12: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 OAA19948; Thu, 3 Oct 1996 14:40:59 -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 OAA18517 for <wu-ftpd@mail.wustl.edu>; Thu, 3 Oct 1996 14:26:19 -0500
Received: from ns2.eds.com by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01IA7JOM0RUO0007TG@wunet.wustl.edu>; Thu, 03 Oct 1996 14:22:53 -0500 (CDT)
Received: from nnsp.eds.com (nnsp.eds.com [130.174.32.78])
 by ns2.eds.com (8.7.5/8.7.3) with ESMTP id PAA23411 for
 <wu-ftpd@wunet.wustl.edu>; Thu, 3 Oct 1996 15:25:28 -0400 (EDT)
Received: from taiowa.tps.bpss.eds.com
 (taiowa.tps.bpss.eds.com [130.175.91.211]) by nnsp.eds.com (8.7.6/8.7.3)
 with SMTP id PAA00218 for <wu-ftpd@wunet.wustl.edu>; Thu,
 3 Oct 1996 15:25:27 -0400 (EDT)
Received: from perry.tps.bpss by taiowa.tps.bpss.eds.com with smtp
 (Smail3.1.29.1 #22) id m0v8tOk-0005ejC; Thu, 3 Oct 96 15:25 EDT
Received: by perry.tps.bpss (5.x/SMI-SVR4) id AA06782; Thu,
 3 Oct 1996 15:31:08 -0400
Message-Id: <9610031931.AA06782@perry.tps.bpss>
Date: Thu, 03 Oct 1996 15:31:08 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mitchell@tps.bpss.eds.com (Marvin Mitchell)
To: wu-ftpd@wunet.wustl.edu
Subject: Rapid-filer Help
Content-transfer-encoding: 7BIT
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi 

I was wondering if anyone out there has had trouble useing Rapid-filer
on a client /guest machine.
The trouble I'm having is the clinet can't see any of the files useing the 
rapid filer, but in a ftp session it works fine.

I have the client/guest comming in"blind" where they can't see any dir/files
until they cd up to their directory which contains a mount point for for the files
they need to access.

The file system is mounted as read only and it works fine when the customer/guest
ftp in

Help Help

Thanks

--x-----------x----------|--x----------x---------------|
  Marvin Mitchell	 | These views are not views   |
  Electronic Data Systems| Therefor they do not reflect|
                         |--x----------x---------------|
mitchell@tps.bpss.eds.com|   DESK 810-265-6186         |
                         |   PAGER                     |
--x-----------x----------|--x----------x---------------|

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 12:17: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 m0v9FkS-0000neC; Fri, 4 Oct 96 12: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 OAA02099; Fri, 4 Oct 1996 14:12:19 -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 OAA01200 for <wu-ftpd@mail.wustl.edu>; Fri, 4 Oct 1996 14:01:21 -0500
Received: from wugate.wustl.edu by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01IA8X4VFI000008PS@wunet.wustl.edu>; Fri, 04 Oct 1996 13:58:38 -0500 (CDT)
Received: from mailhost.lanl.gov (mailhost.lanl.gov [128.165.3.12])
 by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA01187 for
 <wu-ftpd@wunet.wustl.edu>; Fri, 4 Oct 1996 14:01:13 -0500
Received: from xdiv.lanl.gov (xdiv.lanl.gov [128.165.116.106])
 by mailhost.lanl.gov (8.7.6/8.7.3) with ESMTP id MAA08837 for
 <wu-ftpd@wunet.wustl.edu>; Fri, 4 Oct 1996 12:59:55 -0600 (MDT)
Received: from ebsen.lanl.gov.xdiv (ebsen.lanl.gov [128.165.116.137])
 by xdiv.lanl.gov (8.6.12/8.6.12) with SMTP id MAA00305 for
 <wu-ftpd@wunet.wustl.edu>; Fri, 4 Oct 1996 12:59:59 -0600
Message-Id: <199610041859.MAA00305@xdiv.lanl.gov>
Date: Fri, 04 Oct 1996 12:59:59 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve Calia <scalia@xdiv.lanl.gov>
To: wu-ftpd@wunet.wustl.edu
Subject: ftpaccess file
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have run chconfig and it says that my ftpaccess file is ok. However, although the daemon works, none of the conditions set in the ftpaccess are in effect. Here is the file. 

class local real 128.165.16.*
class local real 128.165.116.*
class local real 128.165.123.*
class anonymous anonymous *

passwd-check rfc822 enforce

upload /usr/export/home/ftpuser * no
upload /usr/export/home/ftpuser pub/incoming yes root incoming 0660
path-filter /usr/local/wu-ftpd-2.4.2-beta-11/messages/path-filter ^[-A-Za-z0-9._]*$ ^.^-
 
email bat@lanl.gov

What am I doing wrong.

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 13:06: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 m0v9GWF-00083tC; Fri, 4 Oct 96 13: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 PAA06487; Fri, 4 Oct 1996 15:02:17 -0500
Received: from interlock.mgh.com (interlock.mgh.com [152.159.1.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA02432 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 14:17:29 -0500
Received: by interlock.mgh.com id AA06457
  (InterLock SMTP Gateway 3.0 for wu-ftpd@wugate.wustl.edu);
  Fri, 4 Oct 1996 15:16:37 -0400
Received: by interlock.mgh.com (Protected-side Proxy Mail Agent-1);
  Fri, 4 Oct 1996 15:16:37 -0400
Message-Id: <199610041916.AA06457@interlock.mgh.com>
Date: Fri, 04 Oct 96 15:03:47 edt
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: gpiney@mcgraw-hill.com
To: wu-ftpd@wugate.wustl.edu
Subject: Guest access problem
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     The other day I got Guest access to work properly in a 'test' 
     environment. Today I started to set up users in a 'production' 
     environment. When I define Groups and Users as described in the 
     'guest-howto', all seems ok. However, when I try to test the
     ID's created I receive the following session:
     
     220 mheww2 FTP server (Version wu-2.4(1) Fri Sep 6 13:41:17 EDT 1996) 
     ready.
     User (mheww2.McGraw-Hill.com:(none)): wagcp
     331 Password required for wagcp.
     Password:
     230 User wagcp logged in.  Access restrictions apply.
     ftp> ls
     200 PORT command successful.
     550 .: Permission denied.
     
     If I then assign the same user to the 'testgroup' and add him to the
     ~ftp/passwd file, all works correctly.
     
     I guess the real question is what does the ".:" in the 550 message 
     mean.
     
     Thanks in advance
     
     Greg Piney
     The McGraw-Hill Companies

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 13:33: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 m0v9Gvs-0007L3C; Fri, 4 Oct 96 13:33 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA08678; Fri, 4 Oct 1996 15:28:01 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA03345 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 14:30:11 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id OAA03699 for <wu-ftpd@mail.wustl.edu>; Fri, 4 Oct 1996 14:38:28 -0500
Message-Id: <Pine.LNX.3.95.961004142237.3374B-100000@morpho.dar.net>
Date: Fri, 4 Oct 1996 14:38:27 -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: Process weirdness in Solaris 2.5.1
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

We're having an odd problem with 2.4.2 beta 11 and Solaris 2.5.1.  We're
getting large numbers of root-owned ftpd processes above and beyond our
limit in ftpaccess.  Let me illustrate:

# ftpcount
Service class local                -  10 users ( 40 maximum)
Service class remote               - 300 users (300 maximum)

# ps -ef |grep ftpd |wc -l
     393

# ps -ef |grep ftpd |grep root |wc -l
      93

As you can see, we have a large number of ftpd processes that are owned by
root and aren't getting counted by ftpcount.  The ones that do get counted
are always owned correctly, by user ftp (or a non-anonymous user).  If I
go through and kill all of the root-owned ftp processes, they immediately
start to build back up.

Anyone seen this sort of thing before?  It's certainly got me stumped...


+----------------------------------------------------------------------------+
| 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 Fri Oct  4 13:41: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 m0v9H3W-00085RC; Fri, 4 Oct 96 13: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 PAA09388; Fri, 4 Oct 1996 15:37:29 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA03505 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 14:32:07 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id OAA03772 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 14:40:24 -0500
Message-Id: <Pine.LNX.3.95.961004143845.3374C-100000@morpho.dar.net>
Date: Fri, 4 Oct 1996 14:40:24 -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: ftpaccess file
In-Reply-To: <199610041859.MAA00305@xdiv.lanl.gov>
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 Fri, 4 Oct 1996, Steve Calia wrote:

> I have run chconfig and it says that my ftpaccess file is ok. However,
> although the daemon works, none of the conditions set in the ftpaccess
> are in effect. Here is the file.

[deletia]

> What am I doing wrong.

In your inetd.conf, call ftpd with a "-a" parameter.  This parameter has
to be present for the ftpd to read ftpaccess (kind of an odd default
behavior for it -not- to read ftpaccess, but oh well...)

+----------------------------------------------------------------------------+
| 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 Fri Oct  4 13:50: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 m0v9HCB-000BbIC; Fri, 4 Oct 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 PAA10075; Fri, 4 Oct 1996 15:46:22 -0500
Received: from jhuml1.hcf.jhu.edu (jhuml1.hcf.jhu.edu [128.220.2.86]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA03656 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 14:33:40 -0500
Received: from eta.pha.jhu.edu by jhmail.hcf.jhu.edu (PMDF V5.0-7 #13870)
 id <01IA90FWBSI89ULMC2@jhmail.hcf.jhu.edu> for wu-ftpd@wugate.wustl.edu; Fri,
 04 Oct 1996 15:33:02 -0400 (EDT)
Received: from eta.pha.jhu.edu by jhmail.hcf.jhu.edu (PMDF V5.0-7 #13870)
 id <01IA90FGC3M89TCN4W@jhmail.hcf.jhu.edu> for wu-ftpd@wugate.wustl.edu; Fri,
 04 Oct 1996 15:32:52 -0400 (EDT)
Received: by eta.pha.jhu.edu (SMI-8.6/SMI-SVR4) id PAA18058; Fri,
 04 Oct 1996 15:32:36 -0400
Message-Id: <199610041932.PAA18058@eta.pha.jhu.edu>
Date: Fri, 04 Oct 1996 15:32:36 -0500 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tunison@jhu.edu (Jeffrey R. Tunison)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpaccess file
In-Reply-To: <199610041859.MAA00305@xdiv.lanl.gov>
Content-type: text
Content-transfer-encoding: 7BIT
X-Mailer: ELM [version 2.4 PL21]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This is a FAQ. You forgot to put a -a argument in the
/etc/inetd.conf file. As in

ftp  stream  tcp nowait root /usr/site/wu-ftpd/bin/in.ftpd in.ftpd -a
-- 
Jeffrey Tunison        	email: tunison@pha.jhu.edu
Computer Sys Mgr	Dept of Physics & Astronomy
Bloomberg Center, Homewood Campus, Johns Hopkins Univ
3400 N. Charles St	Phone:  (410) 516-7392
Baltimore, MD 21218	FAX:    (410) 516-8260
	http://www.pha.jhu.edu/~tunison/

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 13:58: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 m0v9HK8-000BbIC; Fri, 4 Oct 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 PAA10680; Fri, 4 Oct 1996 15:54:40 -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 OAA05193 for <wu-ftpd@mail.wustl.edu>; Fri, 4 Oct 1996 14:48:00 -0500
Received: from despair.capecod.net by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01IA8YRNOZDC000941@wunet.wustl.edu>; Fri, 04 Oct 1996 14:45:16 -0500 (CDT)
Received: from localhost (brian@localhost) by despair.capecod.net (8.8.0/8.7.3)
 with SMTP id PAA14399; Fri, 4 Oct 1996 15:47:51 -0400 (EDT)
Message-Id: <Pine.BSI.3.95.961004154717.14397A-100000@despair.capecod.net>
Date: Fri, 04 Oct 1996 15:47:49 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@despair.capecod.net>
To: Steve Calia <scalia@xdiv.lanl.gov>
Cc: wu-ftpd@wunet.wustl.edu
Subject: Re: ftpaccess file
In-Reply-To: <199610041859.MAA00305@xdiv.lanl.gov>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 4 Oct 1996, Steve Calia wrote:

> I have run chconfig and it says that my ftpaccess file is ok. However, although the daemon works, none of the conditions set in the ftpaccess are in effect. Here is the file. 
> 
> class local real 128.165.16.*
> class local real 128.165.116.*
> class local real 128.165.123.*
> class anonymous anonymous *
> 
> passwd-check rfc822 enforce
> 
> upload /usr/export/home/ftpuser * no
> upload /usr/export/home/ftpuser pub/incoming yes root incoming 0660
> path-filter /usr/local/wu-ftpd-2.4.2-beta-11/messages/path-filter ^[-A-Za-z0-9._]*$ ^.^-
>  
> email bat@lanl.gov

I'm not sure what OS you'r running but, did you run ftpd with a -a switch?
to enable the reading of ftpaccess.

Brian

==================================
CAPE Internet System Administrator
http://www.capecod.net
http://despair.capecod.net
brian@despair.capecod.net
==================================


From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 14:50: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 m0v9I8y-00086HC; Fri, 4 Oct 96 14: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 QAA15486; Fri, 4 Oct 1996 16:46:12 -0500
Received: from relay3.smtp.psi.net (relay3.smtp.psi.net [38.8.210.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA08886 for <wu-ftpd@mail.wustl.edu>; Fri, 4 Oct 1996 15:30:20 -0500
Received: from mail.sorosny.org by relay3.smtp.psi.net (8.7.5/SMI-5.4-PSI)
	id QAA28935; Fri, 4 Oct 1996 16:30:11 -0400 (EDT)
Received: from ccMail by mail.sorosny.org (SMTPLINK V2.11.01)
	id AA844471844; Fri, 04 Oct 96 16:40:04 EST
Message-Id: <9609048444.AA844471844@mail.sorosny.org>
Date: Fri, 04 Oct 96 16:40:04 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: agalietti@sorosny.org
To: wu-ftpd@wugate.wustl.edu
Subject: Guest Logins
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     I created some Guest logins to use wu-ftpd.  However, they will only 
     work if I use /bin/csh in the /etc/passwd file as the default shell.  
     If I try /etc/ftponly or /bin/false, the guest user is denied access 
     and can not login at all.
     
     Any ideas?
     
     Thanks.
     
     Anthony Galietti
     System Administrator

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 15:10:23 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v9IRm-00085CC; Fri, 4 Oct 96 15: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 RAA17130; Fri, 4 Oct 1996 17:06:38 -0500
Received: from mercier.persimmon.com (bollinger.persimmon.com [199.72.48.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA11947 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 16:09:36 -0500
Received: by mercier.persimmon.com (Smail3.1.29.0 #10)
	id m0v9Hax-00021OC; Fri, 4 Oct 96 17:15 EDT
Message-Id: <m0v9Hax-00021OC@mercier.persimmon.com>
Date: Fri, 04 Oct 96 17:15:43 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: colleen@persimmon.com
To: wu-ftpd@wugate.wustl.edu
Subject: guest accounts 
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have recently installed wuftp on our ftp server running DU 3.2C.  
I set up a few "guest" users and everything seemd to work fine. Those
users are restricted to their home directories which is what I
wanted.  The only thing I can't get to work is when the guest
user does a long listing of their directory within ftp it comes
back with the uid and gid numbers instead of the actual user and
group names on the files.  I followed the instructions and created
an etc directory under the users home directory.  I put a stipped
down version of the password and group files in the directory
and changed the ownership and permissions on the files to what
the instructions said to do.  Is there something else I'm missing?
Does it have anything to do with the /etc/sia/siainitgood file?
If so what is that file and why do I need it?

Thanks in advance,
Colleen Harry

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 15:56: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 m0v9JAK-0004TwC; Fri, 4 Oct 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 RAA21122; Fri, 4 Oct 1996 17:52:34 -0500
Received: from bugsy.dlux.net (bugsy.dlux.net [206.129.10.9]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA15275 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 16:44:08 -0500
Received: from [206.129.10.154] (le_meow.workstation.acmedia.com [206.129.10.154]) by bugsy.dlux.net (8.7.4/8.7.3) with ESMTP id HAA27374 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 07:49:11 -0700
Message-Id: <v03007807ae7ad0adef38@[206.129.10.154]>
Date: Fri, 4 Oct 1996 07:49:11 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Levering <idbill@dlux.net>
To: wu-ftpd@wugate.wustl.edu
Subject: hi
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: idbill@mail.dlux.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

suscribe steve@dlux.net

Bill Levering                            ISP Manager
idbill@dlux.net                          Seattle, Wa
-----------------------------------------------------
DluxNet                                (206) 812-2769
Fax                                    (206) 622-3066
http://www.dlux.net/                   (206) 812-2772
-----------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 16:06: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 m0v9JKQ-0004GiC; Fri, 4 Oct 96 16: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 SAA21919; Fri, 4 Oct 1996 18:03:02 -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 QAA15954 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 16:51:29 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id QAA25439 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 16:51:36 -0500
Message-Id: <Pine.LNX.3.95.961004165116.23024L-100000@ns1.fni.com>
Date: Fri, 4 Oct 1996 16:51:36 -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: Guest Logins
In-Reply-To: <9609048444.AA844471844@mail.sorosny.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 4 Oct 1996 agalietti@sorosny.org wrote:

>      I created some Guest logins to use wu-ftpd.  However, they will only 
>      work if I use /bin/csh in the /etc/passwd file as the default shell.  
>      If I try /etc/ftponly or /bin/false, the guest user is denied access 
>      and can not login at all.

Put /etc/ftponly in the file /etc/shells.

   -- Michael

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 16:16: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 m0v9JU4-0000svC; Fri, 4 Oct 96 16: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 SAA22631; Fri, 4 Oct 1996 18:12:59 -0500
Received: from merlin.ocslink.com (merlin.ocslink.com [206.158.123.190]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA16165 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 16:54:20 -0500
Received: from merlin.ocslink.com (jvs@ocslink.com [206.158.123.190]) by merlin.ocslink.com (8.7.5/8.6.9) with SMTP id QAA30037 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 16:54:20 -0500
Message-Id: <Pine.LNX.3.95.961004164728.29779A-100000@merlin.ocslink.com>
Date: Fri, 4 Oct 1996 16:54:18 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James Sneeringer <jvs@ocslink.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpaccess file
In-Reply-To: <Pine.BSI.3.95.961004154717.14397A-100000@despair.capecod.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

| On Fri, 4 Oct 1996, Steve Calia wrote:
| >
| > path-filter /usr/local/wu-ftpd-2.4.2-beta-11/messages/path-filter
| >     ^[-A-Za-z0-9._]*$ ^. ^-

One other thing.  The man page for ftpaccess(5) recommends the above
filter.  Unfortunately, it will deny all upload attemts, as ^. will of
course match any string where the first character is anything at all :) 

Might want to change  ^. ^-  to  ^[-.].*$  or backquote it  ^\.

-James

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 16:26: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 m0v9Jdl-0006rTC; Fri, 4 Oct 96 16: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 SAA23316; Fri, 4 Oct 1996 18:23:01 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA17416 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 17:10:06 -0500
Received: from natasha.intelenet.net (natasha.intelenet.net [206.82.218.3]) by ns.intelenet.net (8.7.5/8.7.3) with ESMTP id PAA13157 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 15:09:35 -0700 (PDT)
Received: (from bob@localhost) by natasha.intelenet.net (8.7.3/8.7.3) id PAA27270 for wu-ftpd@wugate.wustl.edu; Fri, 4 Oct 1996 15:08:49 -0700 (PDT)
Message-Id: <199610042208.PAA27270@natasha.intelenet.net>
Date: Fri, 4 Oct 1996 15:08:48 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: bob@intelenet.net (Bob Myers)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest Logins
In-Reply-To: agalietti@sorosny.org
       "Guest Logins" (Oct  4, 16:40)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Oct 4, 16:40, agalietti@sorosny.org wrote:
} Subject: Guest Logins
>      I created some Guest logins to use wu-ftpd.  However, they will only 
>      work if I use /bin/csh in the /etc/passwd file as the default shell.  
>      If I try /etc/ftponly or /bin/false, the guest user is denied access 
>      and can not login at all.
>      
>      Any ideas?
>      
>      Thanks.
>      
>      Anthony Galietti
>      System Administrator
> 
>-- End of excerpt from agalietti@sorosny.org


Add /etc/ftponly and /bin/false to /etc/shells.


-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 16:36: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 m0v9Jmy-0000svC; Fri, 4 Oct 96 16: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 SAA24166; Fri, 4 Oct 1996 18:32:38 -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 RAA18820 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 17:26:12 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id RAA25620 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 17:26:18 -0500
Message-Id: <Pine.LNX.3.95.961004172135.23024P-100000@ns1.fni.com>
Date: Fri, 4 Oct 1996 17:26:18 -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: guest accounts 
In-Reply-To: <m0v9Hax-00021OC@mercier.persimmon.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 4 Oct 1996 colleen@persimmon.com wrote:

> .....
> user does a long listing of their directory within ftp it comes
> back with the uid and gid numbers instead of the actual user and
> group names on the files.  I followed the instructions and created
> an etc directory under the users home directory.  I put a stipped
> down version of the password and group files in the directory
> and changed the ownership and permissions on the files to what
> the instructions said to do.  Is there something else I'm missing?

Sounds like you've done it right, and at least ls is working.  Are
permissions and ownership such that /etc and the files can be read?  Are
the files in the right internal format? Sorry for the pedantic questions,
but at this point the small stuff makes a difference. 

> Does it have anything to do with the /etc/sia/siainitgood file?
> If so what is that file and why do I need it?

I've certainly never heard of this file.  Where did you hear about it,
and/or how did it get created? 

   -- Michael

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 17:21: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 m0v9KUb-0004QOC; Fri, 4 Oct 96 17: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 TAA27655; Fri, 4 Oct 1996 19:17:35 -0500
Received: from www.macworld.com (www.macworld.com [206.204.84.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA26957 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 19:07:57 -0500
Received: from [204.160.211.107] (chip-carman-pbook.macworld.com [204.160.211.107]) by www.macworld.com (8.6.9/8.6.9) with SMTP id RAA04631 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 17:07:33 -0700
Message-Id: <199610050007.RAA04631@www.macworld.com>
Date: Fri, 4 Oct 96 17:07:59 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: chip carman <chip@www.macworld.com>
To: <wu-ftpd@wugate.wustl.edu>
Subject: AIX wu-ftpd bottleneck
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi:

We are running WU-FTPD on our AIX with 176MB memory without problems.  We 
upgraded from one T1 to two T1's, but can't take advantage of the 
bandwidth because if I allow greater than 40 simultaneous anonymous ftp 
users everyting seems to choke. Over 40 users a new login may work, but 
most often it is so slow as to cause an HTML browser to claim there is no 
such directory or file.

Have any of you experienced this behaviour, and found a solution ?

The cpu states are low:  .8% system, 0.0% wait, 97% idle
Real memory:             52.5M pros, 15.9M files 107.7M free

-------------------------------------------------------
          chip carman,Web Administrator Macworld Online
                  webmaster@www.macworld.com
                    http://www.macworld.com
               


From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 19:37: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 m0v9Mbn-0007KYC; Fri, 4 Oct 96 19: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 VAA06788; Fri, 4 Oct 1996 21:33: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 VAA05872 for <wu-ftpd@wugate.wustl.edu>; Fri, 4 Oct 1996 21:19:53 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id WAA14492 for wu-ftpd@wugate.wustl.edu; Fri, 4 Oct 1996 22:19:52 -0400 (EDT)
Message-Id: <199610050219.WAA14492@finnegan.EE.McGill.CA>
Date: Fri, 4 Oct 1996 22:19:51 -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: guest accounts
In-Reply-To: <m0v9Hax-00021OC@mercier.persimmon.com> from "colleen@persimmon.com" at Oct 4, 96 05:15:43 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 recently installed wuftp on our ftp server running DU 3.2C.  
> I set up a few "guest" users and everything seemd to work fine. Those
> users are restricted to their home directories which is what I
> wanted.  The only thing I can't get to work is when the guest
> user does a long listing of their directory within ftp it comes
> back with the uid and gid numbers instead of the actual user and
> group names on the files.  I followed the instructions and created
> an etc directory under the users home directory.  I put a stipped
> down version of the password and group files in the directory
> and changed the ownership and permissions on the files to what
> the instructions said to do.  Is there something else I'm missing?

well if you want the ls command to map the uid and gid numbers
for strings they must be entries in the passwd file passwd
file for them
i.e
--passwd---
joe:x:100:110:Joe Smith:/where/ever:/bin/ftponly

--group---
me:x:110

then 'ls' will map UID 100 and GID 110 to
joe and me

Bye the they don't have to correspond to real users
i.e what's in the _real_ passwd file.


> Does it have anything to do with the /etc/sia/siainitgood file?
> If so what is that file and why do I need it?
> 

???? !!!!!

What the H*** is /etc/sia/s* ? 8-{}

what type of OS are you running ?

--
alain

From owner-wu-ftpd@wugate.wustl.edu Fri Oct  4 22:19:59 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0v9P9W-0009DMC; Fri, 4 Oct 96 22: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 AAA16977; Sat, 5 Oct 1996 00:15:11 -0500
Received: from homer.bus.miami.edu (homer.bus.miami.edu [129.171.39.247]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA15751 for <wu-ftpd@wugate.wustl.edu>; Sat, 5 Oct 1996 00:01:26 -0500
Received: From localhost (sysman@localhost) by homer.bus.miami.edu (8.7.5/8.7.3) with SMTP id BAA03978 for <wu-ftpd@wugate.wustl.edu>;
Message-Id: <Pine.OSF.3.95.961005005812.3914A-100000@homer.bus.miami.edu>
Date: Sat, 5 Oct 1996 01:01:24 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: System Manager <sysman@homer.bus.miami.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: guest accounts
In-Reply-To: <199610050219.WAA14492@finnegan.EE.McGill.CA>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	Yes, you do need the /etc/sia/siainitgood file to display uid/gid
mapping in ls.  You may also need a copy of matrix.conf, but I don't think
you have to.  The /etc/sia/siainitgood is just an empty file, but it needs
to be there.

	For those wondering what this is, its for SIA, Security
Integration Archecture, a part of Digital UNIX.  DU gets real picky about
things like that.

On Fri, 4 Oct 1996, Alain Magloire wrote:

> > Does it have anything to do with the /etc/sia/siainitgood file?
> > If so what is that file and why do I need it?
> > 
> 
> ???? !!!!!
> 
> What the H*** is /etc/sia/s* ? 8-{}
> 
> what type of OS are you running ?
> 
> --
> alain

____________________________________________________________________

Tom Leffingwell	       	       Office: SBA 317M		      	   
Systems Manager 	       Office Phone: (305) 284-1771        
Network Security	       Email: sysman@homer.bus.miami.edu	       

School of Business	     	   
University of Miami  		 
____________________________________________________________________




From owner-wu-ftpd@wugate.wustl.edu Sat Oct  5 01:54: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 m0v9SVP-0006mYC; Sat, 5 Oct 96 01: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 DAA01875; Sat, 5 Oct 1996 03:50:54 -0500
Received: from mail.skyinet.net ([206.101.197.227]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA01305 for <wu-ftpd@mail.wustl.edu>; Sat, 5 Oct 1996 03:42:29 -0500
Received: from localhost by mail.skyinet.net (SMI-8.6/SMI-SVR4)
	id QAA04629; Sat, 5 Oct 1996 16:41:46 +0800
Message-Id: <Pine.SOL.3.94.961005164027.4425B-100000@mail.skyinet.net>
Date: Sat, 5 Oct 1996 16:41:45 +0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Ralph A. Flores" <alf@mail.skyinet.net>
To: wu-ftpd@wugate.wustl.edu
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


To whom it may concern :

First of all, our company would like to thank you for wu_ftpd
server we got from you.  It seems to be working fine ...
although i just have a question .

When the users ftp to their directory the files transferred are
always on the mode 664 which means that the group has still write
permission on the files.  What if we want to make it 644 everytime
the ftp.  Where do you think we should configure it ?

By the way, we are using Solaris 2.5 .
Hoping for you to respond as soon as possible.

Thank you very much in advance.

Ralph Flores
Sky Internet Philippinnes

From owner-wu-ftpd@wugate.wustl.edu Sat Oct  5 05:24: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 m0v9Vme-0009M8C; Sat, 5 Oct 96 05: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 HAA13656; Sat, 5 Oct 1996 07:20:52 -0500
Received: from arbi.Informatik.Uni-Oldenburg.DE (arbi.Informatik.Uni-Oldenburg.DE [134.106.1.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA13258 for <wu-ftpd@wugate.wustl.edu>; Sat, 5 Oct 1996 07:14:27 -0500
Received: by arbi.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v9Vcg-0005hjC>; Sat, 5 Oct 96 14:14 CES
Received: by diamant.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v9Vce-0004wdC>; Sat, 5 Oct 96 14:14 MET DST
Received: by jade.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0v9Vce-000AfvC>; Sat, 5 Oct 96 14:14 MET DST
Message-Id: <m0v9Vce-000AfvC@jade.Informatik.Uni-Oldenburg.DE>
Date: Sat, 5 Oct 1996 14:14:23 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Walter Harms" <Walter.Harms@Informatik.Uni-Oldenburg.DE>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: AIX wu-ftpd bottleneck
In-Reply-To: <199610050007.RAA04631@www.macworld.com> from "chip carman" at Oct 4, 96 05:07:59 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Aliased: From u173034@jade.Informatik.Uni-Oldenburg.DE (Walter Harms)
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> We are running WU-FTPD on our AIX with 176MB memory without problems.  We 
> upgraded from one T1 to two T1's, but can't take advantage of the 
> bandwidth because if I allow greater than 40 simultaneous anonymous ftp 
> users everyting seems to choke. Over 40 users a new login may work, but 
> most often it is so slow as to cause an HTML browser to claim there is no 
> such directory or file.
> 

	i run a AIX 4.1 and have terrible problems to get wu-ftpd to work,
	normaly he accepts a login but closes instandly because he thinks
	that the user has taken to long to insert his passwd.
	I found also that IBM has fiddled with the ftp-login e.g. a ls
	will not work if you dont run the anon.ftp script.

	maybe thats a hint ?

	walter

-- 
-----
"That is the dematerializing control, and that over yonder is the horizontal
 hold.  Up there is the scanner, those are the doors, that is a chair with a
 panda on it, sheer poetry dear boy!"
-----

From owner-wu-ftpd@wugate.wustl.edu Sat Oct  5 13:38: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 #8) id m0v9dUm-000LKfC; Sat, 5 Oct 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 PAA12872; Sat, 5 Oct 1996 15:34:51 -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 PAA12340 for <wu-ftpd@wugate.wustl.edu>; Sat, 5 Oct 1996 15:25:54 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id WAA29661 for wu-ftpd@wugate.wustl.edu; Sat, 5 Oct 1996 22:26:32 +0200 (MET DST)
Message-Id: <199610052026.WAA29661@pizza.hvu.nl>
Date: Sat, 5 Oct 1996 22:26:32 +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: The FAQ by mail
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


For those who don't have WWW access and do want to have a look at the
near-famous wu-ftpd-faq, I have set up an autoresponder to get it via
E-mail.

Send mail to 'wu-ftpd-faq@pizza.hvu.nl' with as subject 'send faq' (do I
really have to say without the quotes ?). You will be send the complete
faq in return.

                                               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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Sun Oct  6 12:33: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 #8) id m0v9yxH-000QSbC; Sun, 6 Oct 96 12:33 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA02583; Sun, 6 Oct 1996 14:29:05 -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 OAA01877 for <wu-ftpd@wugate.wustl.edu>; Sun, 6 Oct 1996 14:16:03 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id VAA09517 for wu-ftpd@wugate.wustl.edu; Sun, 6 Oct 1996 21:16:43 +0200 (MET DST)
Message-Id: <199610061916.VAA09517@pizza.hvu.nl>
Date: Sun, 6 Oct 1996 21:16:42 +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: Process weirdness in Solaris 2.5.1
In-Reply-To: <Pine.LNX.3.95.961004142237.3374B-100000@morpho.dar.net> from "Andy Ellsworth" at Oct 4, 96 02:38:27 pm
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Andy Ellsworth, who wrote :

> We're having an odd problem with 2.4.2 beta 11 and Solaris 2.5.1.  We're
> getting large numbers of root-owned ftpd processes above and beyond our
> limit in ftpaccess.  Let me illustrate:

> As you can see, we have a large number of ftpd processes that are owned by
> root and aren't getting counted by ftpcount.  The ones that do get counted
> are always owned correctly, by user ftp (or a non-anonymous user).  If I
> go through and kill all of the root-owned ftp processes, they immediately
> start to build back up.

Could these be the ones that are waiting for user/pass but aren't logged
in yet ? Which means the're all going to see the message 'the maximum number
of anonymous ftp sessions ...'.

Maybe some browser used for visiting your site doesn't close the connection
even when getting an user anonymous access denied.

With Solaris you could try /usr/ucb/ps to see which process state wu-ftpd
is in.

                                                      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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Sun Oct  6 13:44:48 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vA040-0000zTC; Sun, 6 Oct 96 13: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 PAA06626; Sun, 6 Oct 1996 15:40:54 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA06308 for <wu-ftpd@wugate.wustl.edu>; Sun, 6 Oct 1996 15:34:45 -0500
Received: from psycho.capecod.net (bandit@[205.230.12.250]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id QAA15267 for <wu-ftpd@wugate.wustl.edu>; Sun, 6 Oct 1996 16:34:43 -0400 (EDT)
Message-Id: <199610062034.QAA15267@mailhost.capecod.net>
Date: Sun, 6 Oct 1996 16:34:43 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: wu-ftpd@wugate.wustl.edu
Subject: chroot() function woes
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

OK...
I can get wu-ftpd to chroot the user into /<user> .. but now when they
upload a file.. it isn't viewable via 'ls'
I've checked permissions.. and tried putting
Figuring that /usr/home is the / for the user. .. i have put a bin/shlib/etc
directory in /usr/home 
In my inetd.conf, ftpd is being run with a '-a' so it reads ftpaccess
The home directory is set to: /usr/home/./<login name>
I'm not sure what in teh world i'm missing.. i have tried it all... (I think)
Any ideas?

Thanks

Brian
----------------------------------
CAPE Internet System Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capedcod.net
----------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:09:08 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 #8) id m0vBMjS-000EreC; Thu, 10 Oct 96 08:09 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBCkD-0004XaC; Wed, 9 Oct 96 21: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 XAA03254; Wed, 9 Oct 1996 23:26:54 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA12810 for <wu-ftpd@wugate.wustl.edu>; Mon, 7 Oct 1996 15:53:49 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id QAA30962 for <wu-ftpd@wugate.wustl.edu>; Mon, 7 Oct 1996 16:04:37 -0500
Message-Id: <Pine.LNX.3.95.961007155031.29533G-100000@morpho.dar.net>
Date: Mon, 7 Oct 1996 16:04:37 -0500 (CDT)
Reply-To: Andy Ellsworth <are1@cec.wustl.edu>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Ellsworth <are1@cec.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Process weirdness in Solaris 2.5.1
In-Reply-To: <199610061916.VAA09517@pizza.hvu.nl>
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 Sun, 6 Oct 1996, Koos van den Hout _U nix and we all_ wrote:

> Could these be the ones that are waiting for user/pass but aren't logged
> in yet ? Which means the're all going to see the message 'the maximum number
> of anonymous ftp sessions ...'.

If it weren't for the fact that a lot of these processes hang around for
hours, I'd say that you've hit it on the head.  It does explain -most- of
the root owned processes, but not all... 

> Maybe some browser used for visiting your site doesn't close the connection
> even when getting an user anonymous access denied.

Quite possibly.  Either that, or some wu-ftpd processes aren't timing out
the login correctly...

> With Solaris you could try /usr/ucb/ps to see which process state wu-ftpd
> is in.

Yeah, I did know about that command :)  They're all simply "sleeping",
which doesn't say much I'm afraid.

+----------------------------------------------------------------------------+
| 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 Oct 10 08:09:21 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 #8) id m0vBMjg-000EqRC; Thu, 10 Oct 96 08:09 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBCqf-000079C; Wed, 9 Oct 96 21: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 XAA03533; Wed, 9 Oct 1996 23:33:51 -0500
Received: from basecamp1.net-quest.com (basecamp1.net-quest.com [204.140.219.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA19940 for <wu-ftpd@wugate.wustl.edu>; Mon, 7 Oct 1996 18:03:35 -0500
Received: from localhost (mike@localhost) by basecamp1.net-quest.com (8.7/8.7) with SMTP id QAA06118 for <wu-ftpd@wugate.wustl.edu>; Mon, 7 Oct 1996 16:03:31 -0700 (PDT)
Message-Id: <Pine.GSO.3.95.961007155957.5284A-100000@basecamp1.net-quest.com>
Date: Mon, 7 Oct 1996 16:03:30 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Carlson <mike@net-quest.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Bandwidth limiting?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


     I am running Beta 11 on a Solaris 2.4 machine and was wondering if
there is a way to limit the bandwidth used by FTP?  All I am doing right
now is limiting the number of connections, but that still doesn't really
conserve bandwidth.

     Is there any way to do this in Beta 11?  If so, how?  If not, does
anyone know if/when it is planned?

							Thanks,

							Mike


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:09:37 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 #8) id m0vBMjw-000Eq0C; Thu, 10 Oct 96 08:09 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBCVi-0000AvC; Wed, 9 Oct 96 21: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 XAA02843; Wed, 9 Oct 1996 23:11:17 -0500
Received: from alpha.comsource.net (alpha.comsource.net [205.243.40.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA09807 for <wu-ftpd@wugate.wustl.edu>; Mon, 7 Oct 1996 15:15:02 -0500
Received: from localhost by alpha.comsource.net; (5.65/1.1.8.2/17May96-0857AM)
	id AA27638; Mon, 7 Oct 1996 15:13:01 -0500
Message-Id: <Pine.OSF.3.95.961007150908.26135A-100000@alpha.comsource.net>
Date: Mon, 7 Oct 1996 15:13:01 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Andrew C. Saylor" <asaylor@alpha.comsource.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Wu-ftp problems with Digital Unix
In-Reply-To: <199610071613.LAA18057@ds5200.sistecol.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I got this too. Add this to your ./src/ftpd.c source code:

	#define SPT_SCO         6       /* write kernel u. area */

	/* FTP server. */
	#include "config.h"
	#include <cma.h>	<<<    ADD THIS LINE!

	#include <sys/types.h>

The "timeval" sturcture is defined in this "cma.h" header file.

Incidentally, I am having a terrible time getting wu-ftpd to work with my
Alpha 3.2B machine and it's C2 security. It compiles and functions just
fine with anonymous FTP, but it will not do authenticated
(username/password) FTP. Even installing the patches dosn't work.

If you find a solution, or if it works OK on your system, would you let me
know?  Thanks!

-Andy Saylor,  Systems Admin.

On Mon, 7 Oct 1996, Oscar J. Bolivar G. wrote:

acs>Hello:
acs>
acs>I have trouble compiling wu_ftpd on a Digital Unix system.
acs>The version of wu-ftp is 2.4.2 beta 11.
acs>Here is the error message I got when I compile it:
acs>
acs>/usr/lib/cmplrs/cc/cfe: Error: ftpd.c, line 2165: storage size for
acs>'timeout' isn
acs>struct timeval timeout;
acs>-----------------------^
acs>/usr/lib/cmplrs/cc/cfe: Error: ftpd.c, line 2165: Reference an
acs>expression of vo.
acs>struct timeval timeout;
acs>-----------------------^
acs>/usr/lib/cmplrs/cc/cfe: Error: ftpd.c, line 2165: Reference an
acs>expression of vo.
acs>struct timeval timeout;
acs>-----------------------^
acs>
acs>
acs>In addition, I need, please, any flag necessary in order to compile
acs>and work with this product in Digital Unix 3.2 with Enhanced Security
acs>(C2)
acs>
acs>I would like to thank you for any help that you can provide for me.
acs>
acs>Thanks again for your help!
acs>
acs>
acs>Oscar J. Bolivar G.
acs>STA - COlombia
acs>
acs>
acs>E-mail:   oscarb@ds5200.sistecol.com
acs>

|0|-------------------------------------------------------------------|0|
|0| Andrew C. Saylor                  | "Two in the Box!"	      |0|
|0|        asaylor@comsource.net      | "Ready to Go!"		      |0|
|0|    ComSource Inc.                 | "We be fast....               |0|
|0|   101 Plaza East Blvd.  Suite 316 | 			      |0| 
|0|    Evansville, Indiana  47715     | AND THEY BE SLOW!"            |0|
|0|                                   |                               |0|
|0|"Southern Indiana's most powerful  | 			      |0|
|0|   Internet Service Provider       |                               |0|
|0|   and Communications Specialists" |  -Ghostbusters II	      |0|
|0|                                   |     			      |0|
|0| http://www.comsource.net          |                               |0|
|0|     (812)469-0300                 |                               |0|
|0|-------------------------------------------------------------------|0|
|0| I am Pentium of Borg, 					      |0|
|0|		Calculation is Futile, 				      |0|
|0|				You will be approximated!!	      |0|

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:09:42 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from camco1.celestial.com by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBMk1-000EreC; Thu, 10 Oct 96 08:09 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBCwg-0000BoC; Wed, 9 Oct 96 21: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 XAA03713; Wed, 9 Oct 1996 23:39:54 -0500
Received: from hammer ([204.249.120.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA27845 for <wu-ftpd@wugate.wustl.edu>; Tue, 8 Oct 1996 06:35:07 -0500
Received: by hammer (5.x/SMI-SVR4)
	id AA07964; Tue, 8 Oct 1996 07:37:04 -0400
Message-Id: <9610081137.AA07964@hammer>
Date: Tue, 8 Oct 1996 07:37:04 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jmurtari@thebook.com (John Murtari)
To: wu-ftpd@wugate.wustl.edu
Subject: Anonymous uploads owned by wrong user
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello All,

	We are still having problems with anonymous uploads being
owned by "ftp" and NOT the user specified in the ftpaccess file.
This is on a Solaris 2.5.1 system.

	I checked the FAQ, and did the "-a" in the inetd.conf file,
but NO luck.  I'm sure it is something simple, but we can't find
the problem?

	Our access file:
===
# specify the upload directory information
upload  /pub/ftp  *             no
upload  /pub/ftp  /thebook/incoming     yes     thebook   www  0600 dirs
upload  /pub/ftp  /bin          no
upload  /pub/ftp  /etc          no
==

	Would appreciate hearing from any Solaris 2.x folks who
have this working!

                                          John
___________________________________________________________________
John Murtari                              Software Workshop Inc.
jmurtari@thebook.com 315.695.1301(x-211)  "TheBook.Com" (TM)
http://www.thebook.com/


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:09: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 #8) id m0vBMkA-000EqwC; Thu, 10 Oct 96 08:09 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBD1H-0000C1C; Wed, 9 Oct 96 21:46 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA03916; Wed, 9 Oct 1996 23:44:48 -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 HAA02465 for <wu-ftpd@wugate.wustl.edu>; Tue, 8 Oct 1996 07:50:05 -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 IAA22437 for <wu-ftpd@wugate.wustl.edu>; Tue, 8 Oct 1996 08:50:01 -0400
Received: by ntnet3.ksc.nasa.gov with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5)
	id <01BBB4F5.E60BC9A0@ntnet3.ksc.nasa.gov>; Tue, 8 Oct 1996 08:51:30 -0400
Message-Id: <c=US%a=_%p=nasa%l=TENET/ENTERPRISE/0005D141@ntnet3.ksc.nasa.gov>
Date: Mon, 7 Oct 1996 16:00:40 -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: guest accounts 
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Colleen,

I didn't see anything in your message which indicates that you copied
the static binary from the /sbin/ls directory into the ~ftp/bin
directory.  This is essential to get your long listing ("ls -l" or
"dir") to work.  On my 3.2c platform this is approximately 10 times the
size of the dynamically linked version (about 400 KB).  Also,
/etc/siainitgood will help you only if you want user and group name
mapping.  Some sysadmin's prefer keeping this under wraps.  I hope that
helps.

>----------
>From: 	colleen@persimmon.com[SMTP:colleen@persimmon.com]
>Sent: 	Friday, October 04, 1996 5:15 PM
>To: 	wu-ftpd@wugate.wustl.edu
>Subject: 	guest accounts 
>
>I have recently installed wuftp on our ftp server running DU 3.2C.  
>I set up a few "guest" users and everything seemd to work fine. Those
>users are restricted to their home directories which is what I
>wanted.  The only thing I can't get to work is when the guest
>user does a long listing of their directory within ftp it comes
>back with the uid and gid numbers instead of the actual user and
>group names on the files.  I followed the instructions and created
>an etc directory under the users home directory.  I put a stipped
>down version of the password and group files in the directory
>and changed the ownership and permissions on the files to what
>the instructions said to do.  Is there something else I'm missing?
>Does it have anything to do with the /etc/sia/siainitgood file?
>If so what is that file and why do I need it?
>
>Thanks in advance,
>Colleen Harry
>

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:10:12 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 #8) id m0vBMkV-000ErgC; Thu, 10 Oct 96 08:10 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBDa3-000318C; Wed, 9 Oct 96 22: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 AAA05425; Thu, 10 Oct 1996 00:20:43 -0500
Message-Id: <199610100520.AAA05425@wugate.wustl.edu>
Received: from gatekeeper.telekom.de (gatekeeper.telekom.de [194.25.15.11]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA13175 for <wu-ftpd@wugate.wustl.edu>; Tue, 8 Oct 1996 10:37:51 -0500
Received: from mailgate1.telekom.de by gatekeeper.telekom.de; (5.65v3.2/1.1.8.2/02Aug95-0132PM)
	id AA19864; Tue, 8 Oct 1996 16:37:43 +0100
Received: from Q8P65.blf01.telekom.de by mailgate1.telekom.de; (5.65v3.2/1.1.8.2/02Aug95-1122AM)
	id AA25023; Tue, 8 Oct 1996 16:37:43 +0100
  (1)(0)(10021)(7)(1)(0)(6)(100), (1)(0)(10021)(7)(1)(0)(6)(6), 
  (1)(0)(10021)(7)(1)(0)(6)(1));  Relayed; 08 Oct 1996 17:38:05 +0200
  08 Oct 1996 15:37:59 Z
  08 Oct 1996 17:40:35 +0200
  08 Oct 1996 17:35:16 +0100
  (1)(0)(10021)(7)(1)(0)(6)(100), (1)(0)(10021)(7)(1)(0)(6)(6), 
  (1)(0)(10021)(7)(1)(0)(6)(1));  Relayed; 08 Oct 1996 17:35:16 +0100
Date: 08 Oct 1996 17:35:16 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Hoppe, MA BS, DeTeCSM/SES" <hoppe@30.dmst03.telekom400.dbp.de>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftp building problems with gcc 2.7.2
Content-Identifier: 0000002b0000033a
Content-Return: Prohibited
  <0000002b0000033a*/c=de/admd=dbp/prmd=telekom400/o=dmst03/ou=30/s=hoppe/@MHS>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear colleagues,
I have a problem building wu-ftpd with the gcc 2.7.2 using =

the system dgx (DATA General UNIX). =


During building wu-ftpd I got the following =

error message :

making support library:
gcc -g DDEBUG -c ftw.c
ftw.c:67: parse error before `DIR'                         =

ftw.c:67: warning: no semicolon at end of struct or union  =

ftw.c:69: parse error before `_'                           =

ftw.c:69: warning: data definition has no type or storage =

class      =

ftw.c:71: parse error before `*'                           =

          =

and so on ...
Finished with =


"make*** Fehlercode 1"!


I would very pleased for any help that you can provide me.
Wolfgang Hoppe

E-mail: hoppe@30.dmst03.telekom400.dbp.de

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:10: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 #8) id m0vBMkb-000EqWC; Thu, 10 Oct 96 08:10 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBDgB-00030rC; Wed, 9 Oct 96 22: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 AAA05673; Thu, 10 Oct 1996 00:27:04 -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 VAA11882 for <wu-ftpd@mail.wustl.edu>; Tue, 8 Oct 1996 21:21:06 -0500
Received: from belen.electa.uta.cl by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01IAEXMZAMDS000ADT@wunet.wustl.edu>; Tue, 08 Oct 1996 21:18:07 -0500 (CDT)
Received: from localhost by belen.electa.uta.cl;
 (8.6.12/1.1.8.2/07Jun95-1234PM) id WAA01028; Tue, 8 Oct 1996 22:22:16 -0400
Message-Id: <Pine.OSF.3.95.961008222044.1023A-100000@belen.electa.uta.cl>
Date: Tue, 08 Oct 1996 22:22:16 -0400 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Web-Master UTA <jaime@belen.electa.uta.cl>
To: wu-ftpd@wunet.wustl.edu
Subject: Help wu-ftp + C2 Security on DEC1/OSFV2.0
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hola , no escribo muy bien el Ingles pero hare lo mejor que pueda !!!

I am have one DEC ALPHA whit OSF1/2.0 and C2 Security..
one ftp for real user NOT login

but I dowloand C2 Security and OK !!!

how have "wu-ftpd + C2" Security ???


como puedo tener wu-ftpd + C2 Security, de poderse ?

Thanks
Nos vemos.
 _____                                      
/\___ \            __                       
\/__/\ \     __   /\_\    ___ ___      __   
   _\ \ \  /'__`\ \/\ \ /' __` __`\  /'__`\ 
  /\ \_\ \/\ \J\.\_\ \ \/\ \/\ \/\ \/\  __/ 
  \ \____/\ \__/.\_\\ \_\ \_\ \_\ \_\ \____\
   \/___/  \/__/\/_/ \/_/\/_/\/_/\/_/\/____/jaime@belen.electa.uta.cl
.signature en tramite !!!

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:10: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 #8) id m0vBMkx-000EqRC; Thu, 10 Oct 96 08:10 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBDmZ-000315C; Wed, 9 Oct 96 22: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 AAA05973; Thu, 10 Oct 1996 00:33:25 -0500
Received: from hogw2.att.com (hogw2.att.com [204.179.186.34]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA19658 for <wu-ftpd@mail.wustl.edu>; Wed, 9 Oct 1996 16:42:31 -0500
Received: from attrh1.attrh.att.com by hoig2.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id RAA11505; Wed, 9 Oct 1996 17:37:03 -0400
Received: from lynxhub.ho.att.com by attrh1.attrh.att.com (8.7.3/EMS-1.1 SunOS)
	id RAA15815 for <wu-ftpd@mail.wustl.edu>; Wed, 9 Oct 1996 17:41:48 -0400 (EDT)
Received: from ROGERH ([135.16.115.182]) by lynxhub.ho.att.com (5.x/SMI-SVR4)
	id AA29594; Wed, 9 Oct 1996 17:39:32 -0400
Received: by ROGERH with Microsoft Mail
	id <01BBB608.90BF2460@ROGERH>; Wed, 9 Oct 1996 17:37:38 -0400
Message-Id: <01BBB608.90BF2460@ROGERH>
Date: Wed, 9 Oct 1996 17:37:36 -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: "'Roger A. Hanke'" <rah@lynxhub.ho.att.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Dear WUFTPD'ers,

 Have been using the WU-FTPD 2.4 version successfully for a while now.
Was asked recently to add untar, unzip, uncompress capabilities for files
being uploaded with certain suffixes.

 Have made the entries in the ftpconversions file according to the sample
version. Have put all binaries under each guest account I am using and 
have used the chroot command to verify correct operation. Turned on
tar and compress commands in ftpaccess file for guest (and real since in
log I saw my guest accounts had an r as type) accounts.

 But everytime I upload a file.Z or file.tar it just gets uploaded (which used
to be good enough ;-) Below is my test conversion file format. I have read
everything I could find and tried everything I can think of but dont know
what I am missing to get an uploaded file processed. A lot of the things I 
read referred to downloaded files being processed, I assume in even the
base 2.4 version that processing uploaded files did work? 

 Any info would be appreciated.
	Thanx,
	Roger Hanke


-------------- ftpconversions --------------------------------
---- there are just two lines really, had problems with line wrap ----
 :.Z:  :  :/usr/bin/uncompress -c 	%s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :.tar:  :  :/usr/bin/tar -xf %s:T_REG|T_ASCII|T_DIR:O_TAR:TAR


-------------------------------------------------------------------
 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 Thu Oct 10 08:10: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 #8) id m0vBMl1-000ErhC; Thu, 10 Oct 96 08:10 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBDNV-0000EvC; Wed, 9 Oct 96 22: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 AAA04828; Thu, 10 Oct 1996 00:07:14 -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 KAA11185 for <wu-ftpd@wugate.wustl.edu>; Tue, 8 Oct 1996 10:07:46 -0500
Received: from ultr.vub.ac.be (ultr6.vub.ac.be [134.184.42.6]) by rc4.vub.ac.be (8.6.10/3.4.2.ap (rc4))
        id RAA06670; Tue, 8 Oct 1996 17:12:19 +0200
Received: by ultr.vub.ac.be (940816.SGI.8.6.9/VUB-SG.920213)
	id QAA06594; Tue, 8 Oct 1996 16:05:10 +0100
Message-Id: <199610081505.QAA06594@ultr.vub.ac.be>
Date: Tue, 8 Oct 1996 16:05:09 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: philstas@ultr.vub.ac.be (Philippe Stas)
To: wu-ftpd@wugate.wustl.edu
Subject: ftpd -a problem
In-Reply-To: <199609200732.JAA07499@pizza.hvu.nl> from "Koos van den Hout _U nix and we all_" at Sep 20, 96 09:32:15 am
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,

Did anyone manage to run ftpd -a on a IRIX 5.3 mahcine?
As soon as I insert the -a, no NIS user can login. This is
rather annoying. Only local users can login then

is this a bug?

Thanks for helping me out

"Talking about Music is like Dancing about Architecture"
________________________________________________________
_  Philippe Stas                   philstas@vub.ac.be  _
_  Dept. of Ultrastructure                             _
_  Vrije Universiteit Brussel      tel: 32-2-359.03.01 _
_  Paardenstraat 65                Fax: 32-2-359.02.89 _
_  B1640 St.Genesius Rode                              _
_                 http://homepages.vub.ac.be/~philstas _
________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:10:57 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 #8) id m0vBMlE-000ErVC; Thu, 10 Oct 96 08:10 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBDsW-0003K3C; Wed, 9 Oct 96 22: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 AAA06224; Thu, 10 Oct 1996 00:39:47 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA26235 for <wu-ftpd@wugate.wustl.edu>; Wed, 9 Oct 1996 20:37:29 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id UAA15726 for wu-ftpd@mail.wustl.edu; Wed, 9 Oct 1996 20:37:28 -0500
Message-Id: <199610100137.UAA15726@gateway.fmp.com>
Date: Wed, 9 Oct 1996 20:37:28 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Compilation problems under Linux
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've tried compiling two different versions of wu-ftpd under Linux and both
of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all of
the utilites, but ftpd failed with an error in the compilation of glob.o.  I
tried compiling wu-ftpd-2_4_2-beta-11, and didn't even get that far.  The
only utility which compiled was ckconfig.  I'm running Linux kernel 2.0.21,
gcc 2.7.2, libc's 4.7.2 and 5.2.18 as recommended for the Linux 2.0.x kernel
series.  Any help would be very much appreciated.  I might note that I've
compiled a good number of packages on this system and although some of them
need a bit of touch-up, I've yet to find one that wouldn't compile.

The output of an aborted build is as follows:

# build lnx
make args are : 
make opts are : 

Linking Makefiles.

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

Making ftpd.
gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s   -c glob.c -o glob.o
glob.c: In function `matchdir':
glob.c:284: dereferencing pointer to incomplete type
make: *** [glob.o] Error 1

Making ftpcount.
gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s -o ftpcount ftpcount.c vers.o -lsupport -lbsd 
gcc: vers.o: No such file or directory
make: *** [ftpcount] Error 1

Making ftpshut.
gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s -o ftpshut ftpshut.c vers.o -lsupport -lbsd 
gcc: vers.o: No such file or directory
make: *** [ftpshut] Error 1

Making ckconfig.
make: `ckconfig' is up to date.

Links to executables are in bin directory:
size: bin/ftpd: No such file or directory
size: bin/ftpcount: No such file or directory
size: bin/ftpshut: No such file or directory
size: bin/ftpwho: No such file or directory
text	data	bss	dec	hex	filename
1092   	1873   	92     	3057   	bf1    	bin/ckconfig
Done

-- 
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:11:05 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 #8) id m0vBMlL-000EqwC; Thu, 10 Oct 96 08:11 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBDTz-0001d3C; Wed, 9 Oct 96 22: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 AAA05168; Thu, 10 Oct 1996 00:14:17 -0500
Received: from mercier.persimmon.com (bollinger.persimmon.com [199.72.48.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA12856 for <wu-ftpd@wugate.wustl.edu>; Tue, 8 Oct 1996 10:32:27 -0500
Received: by mercier.persimmon.com (Smail3.1.29.0 #10)
	id m0vAeF0-00023NC; Tue, 8 Oct 96 11:38 EDT
Message-Id: <m0vAeF0-00023NC@mercier.persimmon.com>
Date: Tue, 08 Oct 96 11:38:41 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: colleen@persimmon.com
To: wu-ftpd@wugate.wustl.edu
Subject: C2 security on ultrix 
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I'm trying to install wuftp on an ultrix machine.  It compiles
fine but I need to add something to make it work with C2
security.  I have the fix for Digital Unix and it works great
but I tried the same fix for ultrix and it bombs.  Can 
anyone help me with this?

Also, is there an faq list or some kind of archives for this
list so I don't have to bother everyone with questions I'm sure
they've seen a thousand times before?

Thanks,
Colleen Harry

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:27:44 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBN17-0009dbC; Thu, 10 Oct 96 08: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 KAA10244; Thu, 10 Oct 1996 10:23:01 -0500
Received: from mercier.persimmon.com (bollinger.persimmon.com [199.72.48.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA01142 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 08:34:44 -0500
Received: by mercier.persimmon.com (Smail3.1.29.0 #10)
	id m0vBLLy-0000unC; Thu, 10 Oct 96 09:40 EDT
Message-Id: <m0vBLLy-0000unC@mercier.persimmon.com>
Date: Thu, 10 Oct 96 09:40:45 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: colleen@persimmon.com
To: "Oscar J. Bolivar G." <oscarb@ds5200.sistecol.com>, barrett@ra.me.wisc.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: C2 security on Digital Unix  
In-Reply-To: Your message of "Thu, 10 Oct 96 08:14:39 CDT."
             <199610101314.IAA00237@ds5200.sistecol.com> 
X-Mts: smtp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I got this fix for Digital Unix from the alpha-osf-managers list:

Make these changes to ./src/config/config.osf

#define SecureWare
#include <sys/secdefines.h>
#include <sys/security.h>
#include <sys/audit.h>
#include <prot.h>

and the following to ./src/makefiles/Makefile.osf

LIBES = -lsupport -lsecurity -laud

I'm still looking for the fix for Ultrix to work with C2 security.
If anyone can help me out I would really appreciate it.

Thanks,
Colleen Harry

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:32:57 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 #8) id m0vBN6W-000EoHC; Thu, 10 Oct 96 08:32 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBLHz-0004Y9C; Thu, 10 Oct 96 06: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 IAA01090; Thu, 10 Oct 1996 08:33:54 -0500
Received: from homer.bus.miami.edu (homer.bus.miami.edu [129.171.39.247]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA04914 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 00:09:26 -0500
Received: From localhost (sysman@localhost) by homer.bus.miami.edu (8.7.5/8.7.3) with SMTP id BAA24921 for <wu-ftpd@wugate.wustl.edu>;
Message-Id: <Pine.OSF.3.95.961010010359.24917A-100000@homer.bus.miami.edu>
Date: Thu, 10 Oct 1996 01:09:25 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: System Manager <sysman@homer.bus.miami.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Wu-ftp problems with Digital Unix
In-Reply-To: <Pine.OSF.3.95.961007150908.26135A-100000@alpha.comsource.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


	The reason anon ftp works and usernames work is because wuftpd
uses unprotected password database calls for password information.  Prior
to beta-9 (or was it 10?)  you had to patch the code yourself.  However,
SCO C2 support was added in recent versions, and that code is virtually
identical to what DU uses in 3.2, it will still work, but dec doesn't
suggest it.  Since your just reading entries, it won't harm anything.
Anyway, I can't remember exactly what needs to be changed in the Makefile,
but look at the SCO Makefile, any references to prot.h and sys/security.h
and things of this nature should be included.  If I get the time I'll
write a patch for C2 that will work with beta-11 and post it.  I'm still
running beta 9.  Also, any references to defining Secureware should be put
in the osf makefile.

On Mon, 7 Oct 1996, Andrew C. Saylor wrote:

> I got this too. Add this to your ./src/ftpd.c source code:
> 
> 	#define SPT_SCO         6       /* write kernel u. area */
> 
> 	/* FTP server. */
> 	#include "config.h"
> 	#include <cma.h>	<<<    ADD THIS LINE!
> 
> 	#include <sys/types.h>
> 
> The "timeval" sturcture is defined in this "cma.h" header file.
> 
> Incidentally, I am having a terrible time getting wu-ftpd to work with my
> Alpha 3.2B machine and it's C2 security. It compiles and functions just
> fine with anonymous FTP, but it will not do authenticated
> (username/password) FTP. Even installing the patches dosn't work.
> 
> If you find a solution, or if it works OK on your system, would you let me
> know?  Thanks!
> 
> -Andy Saylor,  Systems Admin.
> 
> On Mon, 7 Oct 1996, Oscar J. Bolivar G. wrote:
> 
> acs>Hello:
> acs>
> acs>I have trouble compiling wu_ftpd on a Digital Unix system.
> acs>The version of wu-ftp is 2.4.2 beta 11.
> acs>Here is the error message I got when I compile it:
> acs>
> acs>/usr/lib/cmplrs/cc/cfe: Error: ftpd.c, line 2165: storage size for
> acs>'timeout' isn
> acs>struct timeval timeout;
> acs>-----------------------^
> acs>/usr/lib/cmplrs/cc/cfe: Error: ftpd.c, line 2165: Reference an
> acs>expression of vo.
> acs>struct timeval timeout;
> acs>-----------------------^
> acs>/usr/lib/cmplrs/cc/cfe: Error: ftpd.c, line 2165: Reference an
> acs>expression of vo.
> acs>struct timeval timeout;
> acs>-----------------------^
> acs>
> acs>
> acs>In addition, I need, please, any flag necessary in order to compile
> acs>and work with this product in Digital Unix 3.2 with Enhanced Security
> acs>(C2)
> acs>
> acs>I would like to thank you for any help that you can provide for me.
> acs>
> acs>Thanks again for your help!
> acs>
> acs>
> acs>Oscar J. Bolivar G.
> acs>STA - COlombia
> acs>
> acs>
> acs>E-mail:   oscarb@ds5200.sistecol.com
> acs>
> 
> |0|-------------------------------------------------------------------|0|
> |0| Andrew C. Saylor                  | "Two in the Box!"	      |0|
> |0|        asaylor@comsource.net      | "Ready to Go!"		      |0|
> |0|    ComSource Inc.                 | "We be fast....               |0|
> |0|   101 Plaza East Blvd.  Suite 316 | 			      |0| 
> |0|    Evansville, Indiana  47715     | AND THEY BE SLOW!"            |0|
> |0|                                   |                               |0|
> |0|"Southern Indiana's most powerful  | 			      |0|
> |0|   Internet Service Provider       |                               |0|
> |0|   and Communications Specialists" |  -Ghostbusters II	      |0|
> |0|                                   |     			      |0|
> |0| http://www.comsource.net          |                               |0|
> |0|     (812)469-0300                 |                               |0|
> |0|-------------------------------------------------------------------|0|
> |0| I am Pentium of Borg, 					      |0|
> |0|		Calculation is Futile, 				      |0|
> |0|				You will be approximated!!	      |0|
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:33:23 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 #8) id m0vBN6w-0004j6C; Thu, 10 Oct 96 08:33 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vBLRf-0004YFC; Thu, 10 Oct 96 06:46 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA01630; Thu, 10 Oct 1996 08:44:01 -0500
Received: from anna.delphi.co.uk (anna.delphi.co.uk [194.72.86.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA21533 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 04:26:39 -0500
Received: by anna.delphi.co.uk; (5.65/1.1.8.2/17Nov95-0356PM)
	id AA21043; Thu, 10 Oct 1996 10:29:41 +0100
Received: from packer.delphi.co.uk(194.72.87.110) by anna.delphi.co.uk via smap (V1.3)
	id sma025787; Thu Oct 10 10:29:36 1996
Received: from galaxy (UNKNOWN.delphi.co.uk [194.72.87.54]) by packer.delphi.co.uk (8.6.9/8.6.9) with ESMTP id KAA26839 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 10:33:14 +0100
Message-Id: <199610100933.KAA26839@packer.delphi.co.uk>
Date: Thu, 10 Oct 1996 10:26:22 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Jerome Pimmel" <fruit.ninja@delphi.co.uk>
To: "wuftp" <wu-ftpd@wugate.wustl.edu>
Subject: questions regarding wuftpd
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am trying to find out whether or not anyone knows how I would enable ftp
transfers using wu-ftpd, which are not passive mode... the daemon is only
allowing PASV transfers, whereas I want the old mode of tranfer to be
allowed as well...  i know it is less secure, but I am stuck in a situation
which requires me to do things this way...

i would assume that you either have to run wu-ftpd specifying a switch to
allow it, or re-compile it with the option or edit some conf file
somewhere.... has anybody got any ideas on how I would do this?

jxe

----------------------------------------------------------------------
 me: ".. I've always considered myself to be pretty well adjusted..."
 he: "... yeah, for a satellite maybe...."
----------------------------------------------------------------------
fruit.ninja@delphi.co.uk || earth (0171) 782 4767 || sky (0802) 629360 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 08:36: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 #8) id m0vBN9g-0006oxC; Thu, 10 Oct 96 08: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 KAA10580; Thu, 10 Oct 1996 10:29:35 -0500
Received: from europa.sitecal.es ([195.76.51.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id IAA01613 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 08:43:50 -0500
Received: from sanson (sanson.sitecal.es) by europa.sitecal.es with SMTP
	(1.39.111.2/16.2) id AA020274932; Thu, 10 Oct 1996 14:42:12 +0100
Message-Id: <199610101343.IAA01613@wugate.wustl.edu>
Date: Thu, 10 Oct 1996 14:42:12 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jose Luis Martinez Garcia <jluis@sitecal.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jluis@europa.sitecal.es
X-Mailer: Windows Eudora Light Version 1.5.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 17:37 9/10/96 -0400, you wrote:
>Dear WUFTPD'ers,
>
> Have been using the WU-FTPD 2.4 version successfully for a while now.
>Was asked recently to add untar, unzip, uncompress capabilities for files
>being uploaded with certain suffixes.
>
> Have made the entries in the ftpconversions file according to the sample
>version. Have put all binaries under each guest account I am using and 
>have used the chroot command to verify correct operation. Turned on
>tar and compress commands in ftpaccess file for guest (and real since in
>log I saw my guest accounts had an r as type) accounts.
>
> But everytime I upload a file.Z or file.tar it just gets uploaded (which used
>to be good enough ;-) Below is my test conversion file format. I have read
>everything I could find and tried everything I can think of but dont know
>what I am missing to get an uploaded file processed. A lot of the things I 
>read referred to downloaded files being processed, I assume in even the
>base 2.4 version that processing uploaded files did work? 
>

I think that wuftpd does tar and compress "on the fly", but not untar or
uncompress. I mean that if there is a file called pepito.txt and you do a
"get pepito.txt.Z" command, wuftpd will compress the file pepito.txt, but
if the file is already compressed, i.e., its name is pepito.txt.Z, wuftpd
won't uncompress it.

I hope this answers your question. Maybe I misunderstood.

Regards.

 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @  Jose Luis Martinez Garcia  @                                   @
 @                             @       Tel: 34 1 (83) 354033       @
 @   Administrador de Redes    @       Fax: 34 1 (83) 354738       @
 @        SITECAL, S.A.        @                                   @ 
 @     Valladolid (Spain)      @      e-mail: jluis@sitecal.es     @
 @         EIC-ES224           @                                   @
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 10:17:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBOje-000EniC; Thu, 10 Oct 96 10: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 MAA18920; Thu, 10 Oct 1996 12:13:17 -0500
Received: from aleph.sensenet.com ([199.33.238.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA15190 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 11:20:34 -0500
Received: (from spacey@localhost) by aleph.sensenet.com (8.7.6/8.7.3) id MAA15867 for wu-ftpd@wugate.wustl.edu; Thu, 10 Oct 1996 12:17:38 -0400
Message-Id: <199610101617.MAA15867@aleph.sensenet.com>
Date: Thu, 10 Oct 1996 12:17:37 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Peter C. Norton" <spacey@aleph.sensenet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <199610100137.UAA15726@gateway.fmp.com> from "Lindsay Haisley" at Oct 9, 96 08:37:28 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

Could you detail your system?  Distribution, kernel version, etc?  If you're
using redhat or debian, there are pre-built packages for wu-ftpd, and you
can get the source packages for these systems as well.

-- 
Faster isn't better.  Better is better.

spacey@sensenet.com 
http://www.sensenet.com
Systems Administrator, Sensenet, Inc.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 10 10:26: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 #8) id m0vBOs5-000EMLC; Thu, 10 Oct 96 10: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 MAA19417; Thu, 10 Oct 1996 12:21:40 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA15450 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 11:23:10 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id LAA19750 for wu-ftpd@wugate.wustl.edu; Thu, 10 Oct 1996 11:23:09 -0500
Message-Id: <199610101623.LAA19750@gateway.fmp.com>
Date: Thu, 10 Oct 1996 11:23:09 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Netscape and SITE GROUP/GPASS 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

Is there any capability than anyone knows of (or any extension which will
add it) in Netscape's anonymous ftp facility to handle SITE GROUP and SITE
GPASS commands?

-- 
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 09:08: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 #8) id m0vBk8S-0009c8C; Fri, 11 Oct 96 09: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 KAA04368; Fri, 11 Oct 1996 10:58:19 -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 MAA21039 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 12:40:37 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id NAA05616; Thu, 10 Oct 1996 13:40:36 -0400 (EDT)
Message-Id: <199610101740.NAA05616@finnegan.EE.McGill.CA>
Date: Thu, 10 Oct 1996 13:40:36 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: rah@lynxhub.ho.att.com, spacey@aleph.sensenet.com
Subject: Re: {de,}compress
In-Reply-To: <199610101343.IAA01613@wugate.wustl.edu> from "Jose Luis Martinez Garcia" at Oct 10, 96 02:42:12 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

[original post deleted]
> 
> I think that wuftpd does tar and compress "on the fly", but not untar or
> uncompress. I mean that if there is a file called pepito.txt and you do a
> "get pepito.txt.Z" command, wuftpd will compress the file pepito.txt, but
> if the file is already compressed, i.e., its name is pepito.txt.Z, wuftpd
> won't uncompress it.
> 
> I hope this answers your question. Maybe I misunderstood.
> 

Maybe I'm missing something also

A-
 But first let's make it clear, a client(ftp, netscape, whatever) cannot,
 when doing uploads, {un,}compress or {un,}tar on the fly (i.e doing
 `mput' or `put' to the /pub/incoming or where/ever directory).

 The ftpconversions is for __download__
 (i.e. when doing `mget' or `get')

B-
 and yes, you can uncompress on the fly
 with ftpconversion rule:
 :.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 or whatever you have

 ftp>ls
 file.Z
 ftp>get file

 will uncompress on the fly the file.Z

C-
 untarring on the fly is useless, within FTP transfert.

> Regards.
> 

same here

--
alain

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 09: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 #8) id m0vBkh9-000EtjC; Fri, 11 Oct 96 09: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 LAA06347; Fri, 11 Oct 1996 11:32: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 MAA21282 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 12:43:46 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id NAA05656 for wu-ftpd@wugate.wustl.edu; Thu, 10 Oct 1996 13:43:45 -0400 (EDT)
Message-Id: <199610101743.NAA05656@finnegan.EE.McGill.CA>
Date: Thu, 10 Oct 1996 13:43:45 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Netscape and SITE GROUP/GPASS question
In-Reply-To: <199610101623.LAA19750@gateway.fmp.com> from "Lindsay Haisley" at Oct 10, 96 11:23:09 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

> 
> Is there any capability than anyone knows of (or any extension which will
> add it) in Netscape's anonymous ftp facility to handle SITE GROUP and SITE
> GPASS commands?
> 

_NO_

> -- 
> Lindsay Haisley          | "Everything works     |   PGP public key
> FMP Computer Services    |       if you let it"  |   available via
> fmouse@fmp.com           |    (The Roadie)       |   Internet finger
> http://www.fmp.com       |                       |
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 10:17:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBlDE-0009amC; Fri, 11 Oct 96 10: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 MAA08648; Fri, 11 Oct 1996 12:05:03 -0500
Received: from iaehv.IAEhv.nl (iaehv.IAEhv.nl [194.151.64.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA28265 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 14:06:10 -0500
Received: from LOCAL (perry@localhost) 
          by iaehv.IAEhv.nl (8.6.13/1.63); pid 28169
          on Thu, 10 Oct 1996 21:06:07 +0200; id VAA28169
          efrom: Perry.Rovers@IAEhv.nl; eto: UNKNOWN 
Message-Id: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl>
Date: Thu, 10 Oct 1996 21:06:06 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry Rovers <perry@IAEhv.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <199610100137.UAA15726@gateway.fmp.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Wed, 9 Oct 1996, Lindsay Haisley wrote:

> I've tried compiling two different versions of wu-ftpd under Linux and both
> of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all of
> the utilites, but ftpd failed with an error in the compilation of glob.o.  I
I'd like to know the solution to this one as well.. It is a known problem 
cos' I've seen it referenced on some linux mailinglists but I never saw 
the patch for it. The vers.o problem will go away if you run sh 
newvers.sh in the src directory. Apparently the sh newvers.sh line in the 
makefile is not always run for some reason. If you do this manually, it 
will work and all programs will compile except ftpd (but that's the other 
problem, with glob)

Perry Rovers, Amsterdam (and a number of other places), The Netherlands
Mail: mailto:Perry.Rovers@IAEhv.nl       | Amsterdam is zo'n gezellige stad
FTP : ftp://ftp.iaehv.nl/pub/users/perry | omdat er zo verdomd veel
WWW : http://www.iaehv.nl/users/perry    | Brabanders wonen - Hans van Mierlo

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 10:33:07 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBlSG-0009amC; Fri, 11 Oct 96 10:33 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA09801; Fri, 11 Oct 1996 12:22:00 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA10927 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 17:32:36 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id RAA27911; Thu, 10 Oct 1996 17:45:56 -0500
Message-Id: <Pine.LNX.3.95.961010173324.27131B-100000@morpho.dar.net>
Date: Thu, 10 Oct 1996 17:45:55 -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
Cc: koos@pizza.hvu.nl
Subject: A -recent- wu-ftpd mailing list archive
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

I stumbled across an excellent wu-ftpd mailing list archive that I hadn't
heard of before (to my knowledge, and according to the FAQ, the only
decent one is the one at NASA, which is horribly outdated).  

The URL is:

   http://ftp.sterling.com/wuftpd/mail-archive/

Note that the http:// is crucial here because ftp.sterling.com is NOT the
same site as www.sterling.com (go figure).  There's also a lot of good
wu-ftpd-related stuff in /wuftpd/.

They appear to have all messages archived, starting 2/15/95, so if you're
looking for something earlier than that, you might try the old NASA one.

The only drawback is that all of the messages are in one big chunk;
there's no search engine.  

Apologies if this is old news to anyone, but I hadn't seen mention of it
and was quite overjoyed to find that someone somewhere is archiving all of
this info.

(Koos -- I didn't see mention of this site in the FAQ; perhaps an addition
is in order?)

+----------------------------------------------------------------------------+
| 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 Fri Oct 11 10:49:10 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBlhj-000Ev2C; Fri, 11 Oct 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 MAA10971; Fri, 11 Oct 1996 12:37:59 -0500
Received: from alpha.comsource.net (alpha.comsource.net [205.243.40.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12818 for <wu-ftpd@wugate.wustl.edu>; Thu, 10 Oct 1996 18:07:28 -0500
Received: from localhost by alpha.comsource.net; (5.65/1.1.8.2/17May96-0857AM)
	id AA25988; Thu, 10 Oct 1996 18:05:21 -0500
Message-Id: <Pine.OSF.3.95.961010180211.14630B-100000@alpha.comsource.net>
Date: Thu, 10 Oct 1996 18:05:21 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Andrew C. Saylor" <asaylor@alpha.comsource.net>
To: WUFTP Listserve <wu-ftpd@wugate.wustl.edu>
Subject: Preventing File and/or directory downloads
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

All,

  I realize this may be a FAQ, BUT....  How can I prevent our users
from logging into our system with their userid and password and retrieving
specific files and/or directories.

Specifically, I want them to be able to move files in and out of their
home directories put NOT download any files in the "/etc" directory (yeah,
you guessed it: /etc/passwd and /etc/group).

I am running 2.4.2 beta 11 on a Digital Unix 3.2b machine.

Thanks All!

|0|-------------------------------------------------------------------|0|
|0| Andrew C. Saylor                  | "Two in the Box!"	      |0|
|0|        asaylor@comsource.net      | "Ready to Go!"		      |0|
|0|    ComSource Inc.                 | "We be fast....               |0|
|0|   101 Plaza East Blvd.  Suite 316 | 			      |0| 
|0|    Evansville, Indiana  47715     | AND THEY BE SLOW!"            |0|
|0|                                   |                               |0|
|0|"Southern Indiana's most powerful  | 			      |0|
|0|   Internet Service Provider       |                               |0|
|0|   and Communications Specialists" |  -Ghostbusters II	      |0|
|0|                                   |     			      |0|
|0| http://www.comsource.net          |                               |0|
|0|     (812)469-0300                 |                               |0|
|0|-------------------------------------------------------------------|0|
|0| I am Pentium of Borg, 					      |0|
|0|		Calculation is Futile, 				      |0|
|0|				You will be approximated!!	      |0|

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 11:05: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 #8) id m0vBlxm-000EvQC; Fri, 11 Oct 96 11: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 MAA12188; Fri, 11 Oct 1996 12:55:35 -0500
Received: from arbi.Informatik.Uni-Oldenburg.DE (arbi.Informatik.Uni-Oldenburg.DE [134.106.1.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA10283 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 03:24:43 -0500
Received: by arbi.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0vBcta-0005hPC>; Fri, 11 Oct 96 10:24 CES
Received: by diamant.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0vBctc-0004wbC>; Fri, 11 Oct 96 10:24 MET DST
Received: by jade.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0vBctb-000AfvC>; Fri, 11 Oct 96 10:24 MET DST
Message-Id: <m0vBctb-000AfvC@jade.Informatik.Uni-Oldenburg.DE>
Date: Fri, 11 Oct 1996 10:24:38 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Walter Harms" <Walter.Harms@Informatik.Uni-Oldenburg.DE>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <199610100137.UAA15726@gateway.fmp.com> from "Lindsay Haisley" at Oct 9, 96 08:37:28 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Aliased: From u173034@jade.Informatik.Uni-Oldenburg.DE (Walter Harms)
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> Making ftpd.
> gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s   -c glob.c -o glob.o
> glob.c: In function `matchdir':
> glob.c:284: dereferencing pointer to incomplete type
> make: *** [glob.o] Error 1
> 
> Making ftpcount.
> gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s -o ftpcount ftpcount.c vers.o -lsupport -lbsd 
> gcc: vers.o: No such file or directory
> make: *** [ftpcount] Error 1
> 
> Making ftpshut.
> gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s -o ftpshut ftpshut.c vers.o -lsupport -lbsd 
> gcc: vers.o: No such file or directory
> make: *** [ftpshut] Error 1
> 
	please check your paths, exspecialy includes via gcc -v
	it looks like that some how your inlcude path are scrued up.

	walter

-- 
-----
"Let's just say that on *this* ship--or probably any other--
 you don't want to wear a red shirt on landing-party duty."
-----

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 16:45: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 #8) id m0vBrGe-000Ev0C; Fri, 11 Oct 96 16: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 SAA00688; Fri, 11 Oct 1996 18:36:32 -0500
Received: from Accuracy.total.net (accuracy.total.net [205.236.87.205]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA05303 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 11:15:16 -0500
Received: from annex1-toronto-ppp-40.accent.net (annex1-toronto-ppp-40.accent.net [205.205.157.50]) by Accuracy.total.net (8.7.6/8.7.3) with SMTP id MAA19857; Fri, 11 Oct 1996 12:12:28 -0400 (EDT)
Message-Id: <199610111612.MAA19857@Accuracy.total.net>
Date: Fri, 11 Oct 1996 12:18:05 -5
Reply-To: keith@paradigm.co.nz
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Keith Smith" <keith@paradigm.co.nz>
To: Lindsay Haisley <fmouse@fmp.com>, wu-ftpd@wugate.wustl.edu
Subject: Re: Netscape and SITE GROUP/GPASS question
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Windows (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On 10 Oct 96 at 11:23, Lindsay Haisley wrote:

>Is there any capability than anyone knows of (or any extension which
>will add it) in Netscape's anonymous ftp facility to handle SITE
>GROUP and SITE GPASS commands?

I don't think so. But you can use guestgroup as the user can specify 
a user ID and password in the URL its:
  ftp://user:passwd@host/


Regards,
Keith.

------------
Keith Smith                                 keith@paradigm.co.nz
Paradigm Technology Limited                 Senior Software Engineer
PO Box 10-268                               +64 (4) 495-1000 (voice)
Wellington, New Zealand                     +64 (4) 405-1003 (fax)
             Finger keith@ftp.paradigm.co.nz for PGP key
                  [all required disclaimers apply]

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:01: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 #8) id m0vBrWL-000ExhC; Fri, 11 Oct 96 17: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 SAA01207; Fri, 11 Oct 1996 18:57:05 -0500
Received: from easpk3.eglin.af.mil (easpk3.eglin.af.mil [129.61.28.211]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA08213 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 11:59:20 -0500
Received: (from markg@localhost) by easpk3.eglin.af.mil (8.7.5/8.7.3) id LAA00755 for wu-ftpd@wugate.wustl.edu; Fri, 11 Oct 1996 11:14:14 -0500 (CDT)
Message-Id: <199610111614.LAA00755@easpk3.eglin.af.mil>
Date: Fri, 11 Oct 1996 11:14:14 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mark M. Gray" <markg@easpk3.eglin.af.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: transfer log file
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I've got a problem getting commands and tranfers to log to my xferlog file.
I am running the TCP wrapper software in addition to the wu-ftpd software

here is the ftp line from my inetd.conf file


ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/local/etc/ftpd -a

I have the pathnames.h file listed here as well

#define _PATH_FTPUSERS  "/etc/ftpusers"
#define _PATH_FTPACCESS "/usr/local/etc/ftpaccess"
#define _PATH_EXECPATH  "/bin/ftp-exec"
#define _PATH_PIDNAMES  "/usr/local/daemon/ftpd/ftp.pids-%s"
#define _PATH_CVT       "/usr/local/etc/ftpconversions"
#define _PATH_XFERLOG   "/var/adm/xferlog"
#define _PATH_PRIVATE   "/etc/ftpgroups"
 
#ifndef _PATH_UTMP
#define _PATH_UTMP      "/var/adm/utmp"
#define _PATH_WTMP      "/var/adm/wtmp"
#define _PATH_LASTLOG   "/var/adm/lastlog"
#endif
 
#define _PATH_BSHELL    "/bin/sh"
#define _PATH_DEVNULL   "/dev/null"
 
#ifdef  HOST_ACCESS
#define _PATH_FTPHOSTS  "/usr/local/etc/ftphosts"
#endif


the file /var/adm/xferlog has the followin permissions.

 0 -rw-rw-rw-   1 root     other          0 Oct 10 10:56 xferlog

I am running on a solaris 2.5 system.


any help will be greatly appreciated.


Mark Gray

markg@easpk3.eglin.af.mil

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:09: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 #8) id m0vBrdW-000EynC; Fri, 11 Oct 96 17: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 TAA01428; Fri, 11 Oct 1996 19:04:28 -0500
Received: from despair.capecod.net (despair.capecod.net [204.255.214.28]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA09066 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 12:12:03 -0500
Received: from localhost (brian@localhost) by despair.capecod.net (8.8.0/8.7.3) with SMTP id NAA04491 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 13:12:15 -0400 (EDT)
Message-Id: <Pine.BSI.3.95.961011131147.4462A-100000@despair.capecod.net>
Date: Fri, 11 Oct 1996 13:12:14 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@despair.capecod.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 10 Oct 1996, Perry Rovers wrote:

> On Wed, 9 Oct 1996, Lindsay Haisley wrote:
> I'd like to know the solution to this one as well.. It is a known problem 
> cos' I've seen it referenced on some linux mailinglists but I never saw 
> the patch for it. The vers.o problem will go away if you run sh 
> newvers.sh in the src directory. Apparently the sh newvers.sh line in the 
> makefile is not always run for some reason. If you do this manually, it 
> will work and all programs will compile except ftpd (but that's the other 
> problem, with glob)

To get around that, I commented out lines 240 and 241 in glob.c .. it
compiles after that.

Brian

==================================
CAPE Internet System Administrator
http://www.capecod.net
http://despair.capecod.net
brian@despair.capecod.net
==================================


From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:17: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 #8) id m0vBrlF-000F0dC; Fri, 11 Oct 96 17: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 TAA01709; Fri, 11 Oct 1996 19:12:13 -0500
Received: from bugsy.dlux.net (bugsy.dlux.net [206.129.10.9]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA10320 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 12:29:32 -0500
Received: from [206.129.10.154] (le_meow.workstation.dlux.net [206.129.10.154]) by bugsy.dlux.net (8.7.4/8.7.3) with ESMTP id KAA28947; Fri, 11 Oct 1996 10:30:02 -0700
Message-Id: <v03007803ae83d3276260@[206.129.10.154]>
Date: Fri, 11 Oct 1996 10:30:02 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Levering <steve@dlux.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl>
References: <199610100137.UAA15726@gateway.fmp.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="============_-1367092321==_============"
X-Sender: idbill@mail.dlux.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

--============_-1367092321==_============
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

>On Wed, 9 Oct 1996, Lindsay Haisley wrote:
>
>> I've tried compiling two different versions of wu-ftpd under Linux and bo=
th
>> of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all=
 of
>> the utilites, but ftpd failed with an error in the compilation of glob.o.=
  I
>I'd like to know the solution to this one as well.. It is a known problem
>cos' I've seen it referenced on some linux mailinglists but I never saw
>the patch for it. The vers.o problem will go away if you run sh
>newvers.sh in the src directory. Apparently the sh newvers.sh line in the
>makefile is not always run for some reason. If you do this manually, it
>will work and all programs will compile except ftpd (but that's the other
>problem, with glob)
I'm getting sick of this problem...

This was compiled in a Linux 1.2.13 machine... just place it in the src
tree and go.

=46tp compiled fine on a Linux 2.0.21 machine once the glob.c file was place=
d.

--============_-1367092321==_============
Content-Type: application/mac-binhex40; name="glob.c.tar.gz"
Content-Disposition: attachment; filename="glob.c.tar.gz"

(This file must be converted with BinHex 4.0)

:$@GXEf)ZBbjdBA)ZChS!9%9B9(4dH(3!!!!!%EB!!!!!1R-IL`J)5S0H-J!$Cfa
[BLjM,R4KFJ$Y1fYcfNLfma9q4FFc&4$'0MMCc)f*-iXaFDKb`-XMf@cZP%G),#5
Y*2"i*jlI[ZI4V4IBcUfTQIZ&rQ#NlY1RcrZFlTERVMmpY,ll8eZcdAM9D)M["$E
efca@lq,&FD2jSa#[QLpH[RM9r"'IQifAc4IILFDI5aDh945ES4$IKEiI2`ChZj!
!d[dV#2TVfe'Y,'ULi`GhS60Ia+*U'D,jqRmDBLMRdSXMiFp%[*!!BZ)jDaP'6Rb
(24h6G@Cqk$RQ)8j[ZkkJkC%)C56$YE5a(iH'dRDL1(5QUpMa2@&kYPK&8MLHL2a
9D%RUQ6UH'Gi*`,L-kZ,@L4I#$qRAAm@)CHREcXba6-44&fBS45$$T42(dKC"k+m
G'alLK4N6V62IGIeEajX,brGX"bG&L!AR,@9mJXr0``*Ta+QLbI*YJ!6,!(CL%fK
&V1E8Aq13!*)8)S(QqE&Mb6T!1*&`!4qL5CFPp[)d`D+@DcT,'C,XMMF*J38c%Y'
%!*rf$BMlFfJ4c+A#C2[@DJRU0lA5MN!I2Sb(BQR'-R4-0dS&6`e$a&NfL,NAKf3
ETK-l%5kCcXF&!"!lCp+-9f!kU(Bd$c)kB#,bCr%YU%f44C+!43,A[#Y`BPShRRr
V5RXZ%5rUZ$4'&#bf'2Lch*8Y8jc#PQ[TqJ%`-,hEY(&%N!#DH9fFbI"'Z[+1T1L
!TB0JQ9NrM)MCPiHL,ad5%Q,cc+AFiMfHR`k6c49aD9k"aDP%DB$5I#%p'mBN$3J
i@[Uae*a&`%J)k'daJi'YFP1H*+*!@ZK(-09""`[4JccfT5K55X-jirHpN4L02l@
(A3(29m2"apjjpebFIBE"VKKf,lVpm8LdqqHL-qL2KlfcbAJ`()PIIQQ2B%+PJN-
8'rUI4IHI9m2ZD#3'3p(lF(AC!cb!H0MZMh[G89hdqTh,bAQ[I`&5RSa&Ic!@Pld
2[6'!M3GeA!m4EFi8JhIL3hIBH3q[lE2HC@rmQ3Kkea[hFEPhX&jEA,@(iejRFYN
HLU[*m'S`)Qc)ehP[e,PXpcjdc`m&%!%,Lqj(B%Z-hVF[,h0m!UBFQfGG),&pGNQ
iD"eJml`hl(E'b%rke!'T!A@AG6'kkRCkq0$pCaGBD3mreaAD8IFI%`##3F4fh[l
3[J$QUNq)"965Q3bl(j!!B"$%D()f'[I'Nh&AA!`'jb0%"HK(hH((AUFlDSR,`BJ
N0KPekl$)Z%h,!aB3&`c$mpPNe#2"pIVMlR!iZ4Vh"Rd$%EdII!,*!,&YQ(e13Kl
dL@F3dQ$i'I'L2%J(GI(TI4IkKbK6NPSEC6%#kAA'L#d$#DZ#2-FCCN@rHh(C!kP
hZMJk3%5IHU1Z!5VVM4#JabYrDRmQ(LI%2LS,D12(M2(@5D@LpdkdccrfN!"i"3b
'-1STSaQm3dbM5HHpNMlk`9'jr,dcmf`jJeMUaH8)Sk%PV!@8#j&P4Blpj@Ga+[E
qA[hHq+&RRiJjP9,e0H5@9j!!3eqr1QUm1'Uq%SfA*ih'5H-9H198G(m2l+N-,rj
fq&T8GA3aa2(4mGq1AMIh@ZA[`HHGQ6LUB@!R'SJSPE%2SS@%d)T)-%f)%1)5))@
J-!r0CC4``'&2l%')Q6Rc`m9HT[00G"FG"5E!(blH&VU4AHa&)D!-hVFrGUr4V[[
M$+6YK""YDECd)eR!!D-mK)aNeqhmLM)-2Ep!4'`l'edKa(UQ$@Kb2&Rkaf3!&Ym
iEM55,V#c$`*UbKq6([R[UPQI'U95&6"Bb`$Ha03i2@dB#FK&qq1Spbq!k(ID`i[
4dDYdb)Q!MkTYP+T9qc#+VjGB(6`ASq[HZ`pM3jbHdL1)aLJV)bQ4NG4UFc1FVeZ
P%UM`bJIpB@E`+IS$)C!!X3`S5HD8U%&ADLUU'HGC2+qr@NjK'R43A8!BLp#H+fG
a5hG&#cq%cTPVcPYDHGIASr&jjrTD'c&1Lp&dUU'F`rU`!T*XY*3D0m!-EBjPK#[
9DV-id!2FJfqJ4Ifkm*Hb9CDr!QU2U#448!-NFCbF%aKd`b)TcKT@1&2h"RXd6@[
IX5(E3q+A9P`ekL,c+(qFAaFA8#ZQk(R5h2%F!S-5a&UJ6Z%jM#c6`iF)T*DCJ55
E"-L)T69NFSBJ9J%`EhQJJi``m#R#!2(,EepU2qfe$FBa$mai89Hr!6biCK6c5kZ
)HLVYJU6!kB*#9jLD8D[mN!$@@A5fMBY8@GqL6*dJieNSC99K!Zj`D9G#H4"ZQ!J
1fFiFC,PYC#jMNLfM8TfQGjF#3`I)26Z9i(+@Pb-9"R08jXR,893J)V0mDX&PaH@
'Q,40&fKE'iSf23iG4C!!"2P[C9D(5DVmFMCj"f(PjjEUVCRN`&mifU6Gkr@ABhb
$h`BQP68r0r'j!FrNcHUC,ADpVV0V!PmPb"*9"3)`KJ!L%P6+e3"mE`pK5l#P@B8
HE258EkhA"[EIPf%CpQ'p+()!cma+5l"a3SGkVb8G#*fD,h3mCqiMjcm5+Pa')!i
%mFKZb))!!e5ZSl"SCeiRE1PK'"I2RbXqRcG5Q`4MUk[ib,J56K[%Rb!GTVdD9-Z
"83$SI5l@E&J*dkpX5#JqP)ANH#[RB6)Q8LiT1fL`JK1b&D43VTcTSC5J&8-"(ei
i9i&JAcj*Y4CX`A$05*1Z!E"R!bKVhUJ96+L`8prlEFm3Alq+j29q6qQ&iLreXG(
Tk*UU`F`Xq#6ejT2NQpp-IcB1#9r,P90Z@9Rp!eDZJl(5JdSha!!E+b&lGUV3'KR
'#`abGiiFC5e"XijrMq'[PF5(fX@DhBUXKT!!ric%"NhdF"hh5lF,aiAD!RVI#*K
ad'4P"-F!&644$`eLIark#!CT*0T9CF6V"mH'H!Z4"!G,+"l9hD6(Bi*!ed'83A0
rRq*(+E9D32bN6TAdLST-K9Tq9(XmD#(EKEiS5DQqDa-!m)C(!%LCSZ5L[*i$&$A
j@k4d@F2A8e(j[B*K4d-VF*DVcNm!3dD1CAM9LN!F1MF"%R)36Nlk6D-qU,4)`KT
2%LBNi"Q#CD#2+V`U@aV6mdc4)rD&dR@TP!r,'PiPa"5DGCX*qAX6$ip32$ab#2R
d`TbK9(rIBca99+1"#F80lUUUINN4%P$LhJq!BeR)N!!*PDVSBlRLd$dCNl,8CjL
l334eNG48+X4NP06)51DCmP(QMq+3!&TEKD)58LMBj02"jf!AB2-TVUe65bSGNF8
6TG$Pmr'-%b[L0r8*R@5+k$)C2i@1Yf"`D&r)b$0@-L#`SS-$*GVJi+"JN!!DC(p
IJa!eHEA6",8Qc2P0fBl5L5jR8Da9ADNeM%aj`%3RKE+&)Bji2-P%b#KaRGcL6rK
pLT6@KBQi4p$ZRi`Qr6Q`E#MBp1SY@p8d1#K`hV'+QKhSNR-VL*@!F-eB!Rc3ii6
39kBM8RJ%I[d!!F$69E8%`[lI4NAm*2B1pm5*5+`D&F*6)'e2,Lp6'mlDDb*mYLU
F$-jjc0T!i"RC,#)kH'[Eec0E@qiEMYECD8fel$2H`#)BVdTE-D#pfaq-JDhLFXe
@eJ'V0V)C5M"Uh!A$bS$P@C%*'qQjGK$YUFSEH+ETH#ZTiaP[R"J3SdYGD"8VMmX
kA!fQSNA@lcK!@+iIbB3Q5J-X[,,Qif365%[d*&[XlTfCYP+k(pj"3EJ-I!m[2rD
baSaR3*Xj6$N5ffKGCk!dQI%iM#6j$"06Y,&I##ASCc96'`B)U&3V&c*E)$(c,['
2LmS&1`EXVY39,d1j!"#CDfR9Neb)'BqbNlXNCG*D80Y3"S(Sd-*CqrZ8h5&NPA2
DSiQ"K%%S'h#5E)P!%PKdki"5)G3%%T8)&*J3@`(K#GEQ4"UV,%@RBHi*"V1JE4(
%ddU3!&!3h),N#b&4"',H"8)SR-)2F[Cc*5%eEj!!QHIl-Ui&H(+LC*`Z&NiS-Z!
EIYr!!c+r,$#r&,!aSC1SVhMiC2a4@5L(b2+HSrjHHkcYBpE4D1U9Vd6%5GT4`*Y
(K,-4J)b&G,p%l$ALQ)U(I!j(``eFSc"JBP91"J@M-LN&'!ZKeK%JPkZh&'!PA9%
VI-9#)30B+(+il+#NVJjYSVSfFb-6@8@eQGq1P,5+JHc@TUab1mJRl'r*pVGNqeZ
QpVIFBRpFi!9,'JL@4I[@i6iP*D2Z(&@2abH@K3e+1MS&Z9`,NJedD)S`XMbi9l+
fP0Tm$X@"*dTh4mQKPDT%Z!djV,"X5$5(9-EN"%cBB,C#UYk`B%,V6"9,d9k2+Z"
dl5KC2$hUH&*3jZ15bUlp6E++,%X&D2qQ,Yad*jFDm8Ej3Z!3Y#hHKbB-0A8iDVA
BG`!jHLY8J""h-1#3!%QVD'6T)%ia+"H%%RNND8NF#0MA4IL$e9m#chCGmQq5AB4
,K`mrBU0hAF*QPp1E*12ARG6VhkJY"m3eDGj`29h`-&95Cl%Fj,%!(4#&83*J5[M
c*XeC*5*CeHECV3K((dCB*8iXbpLBF9r1VDaf[cR5!a@-5bPUa8#M%+368GCBP-V
K'8mq',',"2P0ALR3I*!!jdHZ'5e5+L0&KqeRa*ie8L-[h@4hTY4@da[0R2`ecBf
FX84D(!3!AQ1Zh$MKLBil!#62Q0,Q&R(mP)SMbXRjkDP(ZDQEXdK'""+P3H5"4*2
)JG%N1lC%,XRHrUL5+QPc`kL2*6-PGU)29QQbRpbqS5cX+(0@Ul*Km1ejX#"&+T3
I$h`AE$6&Z,ja3*q%`SY-eYLFpAm,LEQ!p`G$h#jNrC8KLj5&83Mh-L,5c1#8LbI
$d"q01@!!E"6'Aa&m$8kdp8cMJU[J[$Fd0j`S1Nkm##F!"2CXQ3H3!!rkN5Xp2M@
$"d"K31QUAijMZHT#`,HRkRSB6a,jH"Ukq2U*XRijG`6B$ZIdh9FNBYmAVZr0mHb
2DQXdD%,!TUH`(T`L25deTSqQY3YQqR#ac(88-JRNYVj"YYN,5f%P&CRZ9I@BPEY
Hb4b4!V[Te95"h5[SSi21VGc@p1QD2ZR1"pXR#HH,ZZ,jIP`R,9CV-k0UD'iB0+l
20UbK&[-9*X-rFK+1K`qSHAd(J%%ZeN%Z8f(mAZ&00PdAIMd9H,L8(SR+Iq0C4HC
H*p$A1X8GM)kQQ61$%K&TDDdHeC4ibYmLL'rRU,Ji,9eM2588h02R,imN[LfI2k6
@aB0@84ZE4SDRdeEZE,UFNDfP$Pr&6q*BR&!KRpq5T#++3fHCQ$KL6`"eV0-mE@0
QfdepbSdDIB)G[@#93N6&K#5'pkf8VLVrUC!!3DLaGQlXAf442)VmAPI8,HSf5VG
m1*!!%XU$hdJRNp+J2586mVVbm,V&,a#`lLJ'hL5fN!"5XrH)D[YER*!!SbYA8[+
Z&dhb9&LCS`41JHUjm6#j8rF')hV4CmcNTPN"Q*[I)J$3JlR$iGL9%QZZfD%FLZT
DY!i6pY"h%V!f(JHTBGpFEiLb0Xd5LX!%08d[aHNGi4i*D8!GRV!M2hQ+dHfRkif
$5Ndqc'!'YSEP`VFZjVU4)C9'U#XGIT*#JXP5L(34*TC[4TKE2XfKI&LmeJ`f4'S
R&ELDJM$fCK'1hGQELdfL*8E5FNN)II1c0&hAYkV9P4FjFdrD4P89&&D3!+NZE(T
4j`58+bLKT0G(b,3CQfjeEl#L6mqAFZQ(Gl66b4mN5JcY3D%I$5,*,'98+B2(69&
r[&(8bcVpV%&pjE,T*iqDRSH+6Ek(fT4396RJQS8#QZA5R$pj55BDqZl(@fH%pB5
d8[D9mhMJ+rP28aia*dN(U!@Eb0J1MP[El'CV0,-S[9T",MjBJFjHSLDk[mDKDFA
#T-[Gc$f+qKaGLX#-SPXrY-8-F0,RjIJ[$+V8&!&q'BN&*f#BVQBcS1Kf)80Cr)J
H*p,9p1h#KfUPX"Kpp,l#rf#"*fX9iL@IHdIIjAq5p+8l)ba-8prR%pkTDGhJ@bM
jipPYF6RrG4[GCZY2Ip3)pkAM@ie-RIf4B'`SBHKd3XE",I"E9AINk[)1aL#e%YQ
*+`E"`G[JpKU@-cEVfpaQ+qphL!@fCHRXMF2Nrqpr4pUeAGZeAGZeAGZeAGZeAGZ
eAGZeAGZeAGZeAGZeAGZeAGZeAGZe2pMq#mJ(cXX!8!!!1dm!!!:
--============_-1367092321==_============
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Bill Levering                            ISP Manager
idbill@dlux.net                          Seattle, Wa
-----------------------------------------------------
DluxNet                                (206) 812-2769
=46ax                                    (206) 622-3066
http://www.dlux.net/                   (206) 812-2772
-----------------------------------------------------

--============_-1367092321==_============--

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:23: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 #8) id m0vBrr7-000ExcC; Fri, 11 Oct 96 17: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 TAA01939; Fri, 11 Oct 1996 19:18:28 -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 MAA10536 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 12:31:46 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.7.6/8.7.3) with ESMTP id NAA16961 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 13:31:41 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.7.6) id NAA04223; Fri, 11 Oct 1996 13:31:39 -0400 (EDT)
Message-Id: <199610111731.NAA04223@charlie4.EE.McGill.CA>
Date: Fri, 11 Oct 1996 13:31:38 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: A -recent- wu-ftpd mailing list archive
In-Reply-To: <Pine.LNX.3.95.961010173324.27131B-100000@morpho.dar.net> from "Andy Ellsworth" at Oct 10, 96 05:45:55 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 stumbled across an excellent wu-ftpd mailing list archive that I hadn't
> heard of before (to my knowledge, and according to the FAQ, the only
> decent one is the one at NASA, which is horribly outdated).  
> 
> The URL is:
> 
>    http://ftp.sterling.com/wuftpd/mail-archive/
> 

:-) c0oL

[....]

> 
> Apologies if this is old news to anyone, but I hadn't seen mention of it
> and was quite overjoyed to find that someone somewhere is archiving all of
> this info.
> 

I've been archiving wu-ftpd
since Aug 29 1996 'til then

I've also MHonarc(mail-archive --> html)
If somebody find this usefull I can make it available.
It's now only available to McGill University Community

--
cheers, alain

P.S: what's wrong with the Mailing list, I'm receiving by burst(nothing
    for a while then suddlenly my mbox is full) and also having
    bounce back

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:29: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 #8) id m0vBrwu-000ExGC; Fri, 11 Oct 96 17: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 TAA02134; Fri, 11 Oct 1996 19:24:29 -0500
Received: from step.polymtl.ca (step.polymtl.ca [132.207.4.32]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA11351 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 12:43:24 -0500
Received: (from coyote@localhost) by step.polymtl.ca (8.6.10/8.6.10) id NAA04622; Fri, 11 Oct 1996 13:39:12 -0400
Message-Id: <Pine.SOL.3.91.961011133758.4409A-100000@step.polymtl.ca>
Date: Fri, 11 Oct 1996 13:39:11 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vincent Cojot <coyote@step.polymtl.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 10 Oct 1996, Perry Rovers wrote:

> On Wed, 9 Oct 1996, Lindsay Haisley wrote:
> 
> > I've tried compiling two different versions of wu-ftpd under Linux and both
> > of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all of
> > the utilites, but ftpd failed with an error in the compilation of glob.o.  I
> I'd like to know the solution to this one as well.. It is a known problem 
> cos' I've seen it referenced on some linux mailinglists but I never saw 
> the patch for it. The vers.o problem will go away if you run sh 
> newvers.sh in the src directory. Apparently the sh newvers.sh line in the 
> makefile is not always run for some reason. If you do this manually, it 
> will work and all programs will compile except ftpd (but that's the other 
> problem, with glob)

IF the error is something like:

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

Then, in your CFLAGS, add "-DDIRENT_ILLEGAL_ACCESS". That will fix the 
problem under Linux.

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._ coyote@info.polymtl.ca
http://www.info.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote@step.polymtl.ca

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



From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:34: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 #8) id m0vBs1e-000ExGC; Fri, 11 Oct 96 17:33 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA02354; Fri, 11 Oct 1996 19:29:23 -0500
Received: from merlin.ocslink.com (merlin.ocslink.com [206.158.123.190]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA11769 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 12:49:58 -0500
Received: from merlin.ocslink.com (jvs@merlin.ocslink.com [206.158.123.190]) by merlin.ocslink.com (8.8.0/8.8.0) with SMTP id NAA15673 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 13:00:14 -0500
Message-Id: <Pine.LNX.3.95.961011124732.15615A-100000@merlin.ocslink.com>
Date: Fri, 11 Oct 1996 13:00:14 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James Sneeringer <jvs@ocslink.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 10 Oct 1996, Perry Rovers wrote:
| On Wed, 9 Oct 1996, Lindsay Haisley wrote:
| > I've tried compiling two different versions of wu-ftpd under Linux and
| > both of them fail to compile.  With wu-ftpd-2.4-fixed I managed to
| > compile all of the utilites, but ftpd failed with an error in the
| > compilation of glob.o.  I
|
| I'd like to know the solution to this one as well.. It is a known
| problem cos' I've seen it referenced on some linux mailinglists but I
| never saw the patch for it. 

Under Linux, I've observed the following (for beta11):

wu-ftpd will not compile on very recent distributions.  For instance, it
will not compile with out-of-the-box Slackware 3.1.

wu-ftpd will compile with older distributions.  I was able to successfully
compile it with Slackware 3.0 and 2.3 systems.  Libraries don't seem to be
an issue, since all were using recent ELF libs, and with 2.x kernels.

| The vers.o problem will go away if you run sh newvers.sh in the src
| directory. Apparently the sh newvers.sh line in the makefile is not
| always run for some reason. If you do this manually, it will work and
| all programs will compile except ftpd (but that's the other problem,
| with glob) 

It normally is run when ftpd is compiled, just before it links the
daemon.  In this case, it doesn't get run because glob.c fails, so make
aborts compilation for the ftpd rule and jumps to the next rule (which of
course also fails, because vers.c is missing).

-James

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:37: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 #8) id m0vBs5F-000F19C; Fri, 11 Oct 96 17: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 TAA02629; Fri, 11 Oct 1996 19:33:01 -0500
Received: from hydra.acs.uci.edu (hydra.acs.uci.edu [128.200.16.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA11992 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 12:52:21 -0500
Received: from medusa.acs.uci.edu (root@medusa.acs.uci.edu [128.200.16.2]) by hydra.acs.uci.edu (8.7.6/8.7.1) with ESMTP id KAA15795; Fri, 11 Oct 1996 10:52:14 -0700 (PDT)
Received: from localhost by medusa.acs.uci.edu (8.7.6) id KAA05841; Fri, 11 Oct 1996 10:52:10 -0700 (PDT)
Message-Id: <199610111752.KAA05841@medusa.acs.uci.edu>
Date: Fri, 11 Oct 1996 10:52:07 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Stromberg - OAC-DCS <dcs@hydra.acs.uci.edu>
To: Steven Wallace <swallace@ece.uci.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: hang on newport 
In-Reply-To: Your message of Thu, 10 Oct 1996 23:18:47 -0700.
             <199610110618.XAA08489@newport.ece.uci.edu> 
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


This seems remarkably similar to a problem I heard about on the wuftpd
list.

To make a longish story short, I've chosen to recompile tcsh to use
the getwd provided by libgeneric
(ftp://autoinst.acs.uci.edu/pub/generic.tar.gz), instead of using the
getwd provided by the tcsh distribution.  libgeneric's getwd is a
wrapper around getcwd.

The getwd in the tcsh distribution contains the following
disconcerting comment:

            /*
             * Parent has a different device. This is a mount point so we
             * need to stat every member
             */

If I don't have this on the production dcslib servers later today,
I'll drop you note indicating as much.

BTW, "su - swallace" no longer appears to get stuck.  It suddenly
started working while I was doing a truss - perhaps because subnet 56
is intermittant, but not completely down.

> When someone starts up a csh or tcsh on newport, it does a search
> to try to figure out the directory it's in.  It's haning
> on an lstat of /users/rui1:
> 
> lstat("./../../rui1", 0xEFFFC480) (sleeping...)
> 
> So no one with a csh or tcsh shell can logon  (I already had one
> started up at home so I was lucky)
> 
> Could you please fix this ASAP?  Is there a way to prevent this?
> 
> Steven

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17: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 #8) id m0vBs8W-000F0zC; Fri, 11 Oct 96 17: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 TAA02783; Fri, 11 Oct 1996 19:36:25 -0500
Received: from despair.capecod.net (despair.capecod.net [204.255.214.28]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA12568 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 13:02:36 -0500
Received: from localhost (brian@localhost) by despair.capecod.net (8.8.0/8.7.3) with SMTP id OAA05979 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 14:02:52 -0400 (EDT)
Message-Id: <Pine.BSI.3.95.961011140203.4462B-100000@despair.capecod.net>
Date: Fri, 11 Oct 1996 14:02:52 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@despair.capecod.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <m0vBctb-000AfvC@jade.Informatik.Uni-Oldenburg.DE>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 11 Oct 1996, Walter Harms wrote:

> > 
> > Making ftpd.
> > gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s   -c glob.c -o glob.o
> > glob.c: In function `matchdir':
> > glob.c:284: dereferencing pointer to incomplete type
> > make: *** [glob.o] Error 1
> > 
> > Making ftpcount.
> > gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s -o ftpcount ftpcount.c vers.o -lsupport -lbsd 
> > gcc: vers.o: No such file or directory
> > make: *** [ftpcount] Error 1
> > 
> > Making ftpshut.
> > gcc -O2 -fomit-frame-pointer -I.. -I../support -I/usr/include/bsd -L../support -s -o ftpshut ftpshut.c vers.o -lsupport -lbsd 
> > gcc: vers.o: No such file or directory
> > make: *** [ftpshut] Error 1
> > 
> 	please check your paths, exspecialy includes via gcc -v
> 	it looks like that some how your inlcude path are scrued up.

You will get those compilation errors when you don't successfully compile
ftpd.  (vers.c is compiled after glob.c) ... 

Brian

==================================
CAPE Internet System Administrator
http://www.capecod.net
http://despair.capecod.net
brian@despair.capecod.net
==================================


From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:44:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBsBr-000F0JC; Fri, 11 Oct 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 TAA02961; Fri, 11 Oct 1996 19:39:51 -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 NAA15609 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 13:41:17 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.7.6/8.7.3) id OAA17769 for wu-ftpd@wugate.wustl.edu; Fri, 11 Oct 1996 14:41:15 -0400 (EDT)
Message-Id: <199610111841.OAA17769@finnegan.EE.McGill.CA>
Date: Fri, 11 Oct 1996 14:41:15 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Preventing File and/or directory downloads
In-Reply-To: <Pine.OSF.3.95.961010180211.14630B-100000@alpha.comsource.net> from "Andrew C. Saylor" at Oct 10, 96 06:05:21 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

> 
> All,
> 
>   I realize this may be a FAQ, BUT....  How can I prevent our users
> from logging into our system with their userid and password and retrieving
> specific files and/or directories.
> 
> Specifically, I want them to be able to move files in and out of their
> home directories put NOT download any files in the "/etc" directory (yeah,
> you guessed it: /etc/passwd and /etc/group).
> 
> I am running 2.4.2 beta 11 on a Digital Unix 3.2b machine.
> 

there is a `noretrieve' command in ftpaccess
The downside is it doesn't do globbing

something like

noretrieve /etc/passwd /etc/group

There is also the undocumented `.notar' file

> Thanks All!
> 

--
alain
----------------------
.signature --> /dev/null



> |0|-------------------------------------------------------------------|0|
> |0| Andrew C. Saylor                  | "Two in the Box!"	      |0|
> |0|        asaylor@comsource.net      | "Ready to Go!"		      |0|
> |0|    ComSource Inc.                 | "We be fast....               |0|
> |0|   101 Plaza East Blvd.  Suite 316 | 			      |0| 
> |0|    Evansville, Indiana  47715     | AND THEY BE SLOW!"            |0|
> |0|                                   |                               |0|
> |0|"Southern Indiana's most powerful  | 			      |0|
> |0|   Internet Service Provider       |                               |0|
> |0|   and Communications Specialists" |  -Ghostbusters II	      |0|
> |0|                                   |     			      |0|
> |0| http://www.comsource.net          |                               |0|
> |0|     (812)469-0300                 |                               |0|
> |0|-------------------------------------------------------------------|0|
> |0| I am Pentium of Borg, 					      |0|
> |0|		Calculation is Futile, 				      |0|
> |0|				You will be approximated!!	      |0|
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:48:07 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBsFH-000Ey1C; Fri, 11 Oct 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 TAA03147; Fri, 11 Oct 1996 19:43:23 -0500
Received: from rd-ipc.stibo.com (rd-ipc.stibo.com [199.100.50.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA17477 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 14:06:59 -0500
Received: by rd-ipc.stibo.com (8.6.9/8.6.9)
	id PAA00967 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 15:05:51 -0400
Received: from stibo_net by rd-ipc.stibo.com via smap (V1.3)
	id sma000964; Fri Oct 11 15:05:29 1996
Received: from apollo.stibo.com by zeus.stibo.com (8.6.12/8.6.9) with ESMTP
	id OAA13465 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 14:02:39 +0500
Received: from mailhost.stibo.com by apollo.stibo.com (SMI-8.6/SMI-SVR4-hjb1)
	id PAA17657; Fri, 11 Oct 1996 15:06:40 -0400
Message-Id: <199610111906.PAA17657@apollo.stibo.com>
Date: Fri, 11 Oct 1996 15:06:40 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Howard J. Bampton" <hjb@stibo.com>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftp mailing lists
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Jen-

Might want to check out wu-ftpd@wugate.wustl.edu mailing list (and
archives- http://ftp.sterling.com/wuftpd/mail-archive/) for stats 
programs if you are not already on it.

Below is the stats I get daily out of a slightly hacked copy of the
xferstats program included in the wu-ftp source.

Howard


>From bampton@cs.utk.edu Fri Oct 11 11:33 GMT 1996
Received: from rd-ipc.stibo.com by zeus.stibo.com (8.6.12/8.6.9) with ESMTP
	id LAA11681 for <hjb@stibo.com>; Fri, 11 Oct 1996 11:33:28 +0500
Received: by rd-ipc.stibo.com (8.6.9/8.6.9)
	id MAA29547 for <hjb@stibo.com>; Fri, 11 Oct 1996 12:36:16 -0400
Received: from stibo_net by rd-ipc.stibo.com via smap (V1.3)
	id sma029540; Fri Oct 11 12:35:53 1996
Received: from LOCALHOST.cs.utk.edu by duncan.cs.utk.edu with SMTP (cf v2.11c-UTK)
          id MAA01870; Fri, 11 Oct 1996 12:36:25 -0400
Received: 
        by CS.UTK.EDU (cf v2.9s-UTK)
	id MAA06243; Fri, 11 Oct 1996 12:34:06 -0400
Resent-Message-Id: <199610111636.MAA01870@duncan.cs.utk.edu>
Date: Fri, 11 Oct 1996 12:34:06 -0400
From: Howard the Energizer <bampton@cs.utk.edu>
Message-Id: <199610111634.MAA06243@CS.UTK.EDU>
To: bampton@cs.utk.edu
Subject: FTP transfers
Resent-To: hjb@stibo.com
Resent-Date: Fri, 11 Oct 1996 12:36:24 -0400
Resent-From: Howard the Energizer <bampton@cs.utk.edu>
Content-Type: text
Content-Length: 6899

TOTALS FOR SUMMARY PERIOD Sun Oct  6 1996 TO Fri Oct 11 1996

Files Transmitted During Summary Period          2070
Bytes Transmitted During Summary Period     153958799
Systems Using Archives                              0

Average Files Transmitted Daily                   345
Average Bytes Transmitted Daily              25659800

Daily Transmission Statistics

                 Number Of    Number of    Average    Percent Of  Percent Of
     Date        Files Sent  Bytes  Sent  Xmit  Rate  Files Sent  Bytes Sent
---------------  ----------  -----------  ----------  ----------  ----------
Sun Oct  6 1996         266     33902943    1.7 KB/s     12.85       22.02
Mon Oct  7 1996        1252     24044201    1.3 KB/s     60.48       15.62
Tue Oct  8 1996         182     23035851    1.3 KB/s      8.79       14.96
Wed Oct  9 1996         157     41936716    1.4 KB/s      7.58       27.24
Thu Oct 10 1996         168     24406834    3.4 KB/s      8.12       15.85
Fri Oct 11 1996          45      6632254    1.9 KB/s      2.17        4.31

Total Transfers from each Archive Section (By bytes)

                                                 ---- Percent  Of ----
     Archive Section      Files Sent Bytes Sent  Files Sent Bytes Sent
------------------------- ---------- ----------- ---------- ----------
/pub/youngbae/Windows             48   114232523     2.32      74.20
/pub/aero                         28    12454759     1.35       8.09
/pub/mail-list/cloud-zero        323     8986647    15.60       5.84
/pub/maclennan                    20     5203435     0.97       3.38
/pub/drums/mail-archive         1188     2716338    57.39       1.76
/pub/levy/BISL                     4     1495497     0.19       0.97
/pub/plank/libckpt                22     1239141     1.06       0.80
/pub/sost                          7      885514     0.34       0.58
/pub/genetic/Fractals              3      822311     0.14       0.53
/pub/bampton/tools                27      629510     1.30       0.41
/pub/moore/bulk_mailer            21      611340     1.01       0.40
/pub/bampton/Blind                13      451145     0.63       0.29
/pub/kingsley/libckpt              3      432438     0.14       0.28
/pub/maclennan/crumpton            3      430174     0.14       0.28
/pub/plank/papers                  3      418293     0.14       0.27
/pub/hzhou                         2      378676     0.10       0.25
/pub/xmh                           2      340711     0.10       0.22
/pub/gilbert/ETTG                 15      310671     0.72       0.20
/pub/key                           1      295492     0.05       0.19
/pub/maclennan/digh                1      233083     0.05       0.15
/pub/bampton/Galaxy                8      199071     0.39       0.13
/pub/moore/port-lpr                2      175002     0.10       0.11
/pub/shuford/terminal              9      166972     0.43       0.11
/pub/plank/origami                11      155867     0.53       0.10
/pub/maclennan/JCS2-tr            39      114959     1.88       0.07
/pub/whitmire                      4      112964     0.19       0.07
/pub/rowan/thesis                  1       97191     0.05       0.06
/pub/manchek                       1       87324     0.05       0.06
/pub/moore/MIME                   14       66703     0.68       0.04
/pub/TechReports/1995              1       51995     0.05       0.03
/pub/hill/nicecafe                 2       36012     0.10       0.02
/pub/course-schedules             10       28602     0.48       0.02
/pub/maclennan/FCMC-tr           201       22025     9.71       0.01
/pub/cs594-unp/tonka               1       16656     0.05       0.01
/pub/maclennan/JCS2                3       15453     0.14       0.01
/pub/shuford/printer               4       12451     0.19       0.01
/pub/TechReports/1990              1        5806     0.05       0.00
/pub/internetworking/src           1        4373     0.05       0.00
/pub/bampton/mailing-list          2        4025     0.10       0.00
/pub/newton/code2                  1        3885     0.05       0.00
/pub/levy/SNARL                    1        3126     0.05       0.00
/pub                               3        2457     0.14       0.00
/pub/plank/recs                    1        2168     0.05       0.00
/pub/bampton                       2        2040     0.10       0.00
Index/Informational Files          2        1866     0.10       0.00
/pub/internetworking/ques          1        1121     0.05       0.00
/pub/eijkhout/dance                5         505     0.24       0.00
/pub/newton/vpe                    1         154     0.05       0.00
/pub/xnetlib                       2         121     0.10       0.00
/pub/eijkhout                      1         106     0.05       0.00
/pub/eijkhout/tex                  1         101     0.05       0.00

Hourly Transmission Statistics

                 Number Of    Number of    Average    Percent Of  Percent Of
     Time        Files Sent  Bytes  Sent  Xmit  Rate  Files Sent  Bytes Sent
---------------  ----------  -----------  ----------  ----------  ----------
00                       46      6434729    1.4 KB/s      2.22        4.18
01                       36      9680977    2.2 KB/s      1.74        6.29
02                       42      1374765   15.8 KB/s      2.03        0.89
03                        7      3042016    4.3 KB/s      0.34        1.98
04                      756      1769858    1.3 KB/s     36.52        1.15
05                      446      6845245    1.8 KB/s     21.55        4.45
06                        6      3218245    5.9 KB/s      0.29        2.09
07                       50       231087    3.1 KB/s      2.42        0.15
08                       21      6507158    1.4 KB/s      1.01        4.23
09                       17      2815759    1.2 KB/s      0.82        1.83
10                       43     10857487    3.4 KB/s      2.08        7.05
11                       25      3838601    0.9 KB/s      1.21        2.49
12                       29      7932225    2.1 KB/s      1.40        5.15
13                       25      6771768    1.4 KB/s      1.21        4.40
14                       26     14970813    1.1 KB/s      1.26        9.72
15                       28      1238276    2.2 KB/s      1.35        0.80
16                       34      9653642    5.1 KB/s      1.64        6.27
17                       37     10287082    0.9 KB/s      1.79        6.68
18                      237      2450685    3.6 KB/s     11.45        1.59
19                       46     13385890    1.7 KB/s      2.22        8.69
20                       34      2444404    1.6 KB/s      1.64        1.59
21                       25      7128958    1.5 KB/s      1.21        4.63
22                       26     14785943    1.4 KB/s      1.26        9.60
23                       28      6293186    2.2 KB/s      1.35        4.09

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:51: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 #8) id m0vBsJ0-000F1fC; Fri, 11 Oct 96 17: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 TAA03368; Fri, 11 Oct 1996 19:47:18 -0500
Received: from ns1.province.net (mvillage-70.mvillage.com [206.246.182.70]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA20001 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 14:28:30 -0500
Received: (from hriczo@localhost) by ns1.province.net (8.7.5/8.7.3) id CAA01473 for wu-ftpd@wugate.wustl.edu; Fri, 11 Oct 1996 02:05:05 -0500
Message-Id: <199610110705.CAA01473@ns1.province.net>
Date: Fri, 11 Oct 1996 02:05:04 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tony Hriczo <hriczo@ns1.province.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compilation problems under Linux
In-Reply-To: <m0vBctb-000AfvC@jade.Informatik.Uni-Oldenburg.DE> from "Walter Harms" at Oct 11, 96 10:24:38 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

I also experienced this problem, however, a fix was posted on comp.os.linux
the following is a reproduction of the post:


> Mark Andrew DePristo <m-depristo@nwu.edu> wrote:
> 
> > I just downloaded wu-ftpd-2.4.fixed from sunsite.unc.edu.  Having
> > already installed shadowed passwords, I tried to compile wu-ftpd with
> > gcc 2.7.2.  However, I recieved the following error
>  
> > Making ftpd.
> > gcc -O2 -I.. -I../support -I/usr/include/bsd -I/usr/include/netinet
> > -L../support
> >    -c glob.c -o glob.o
> > glob.c: In function `matchdir':
> > glob.c:240: dereferencing pointer to incomplete type
> > make: *** [glob.o] Error 1
>  
> > Help! 
> 
> You are not the only one to have hit this problem.  I spent some time fishing
> around, leading me into /usr/include/dirent.h of the libc5.3.12 include file
> where it seems certain accesses to the directory structure have been made
> illegal or "use at your own risk."
>  
> I SEEM to have fixed the problem by adding a line
>         #define DIRENT_ILLEGAL_ACCESS
> into the glob.c source file inside of the first clause of type
>         #ifdef HAVE_DIRENT
>         >> put above line here !! <<
>         #include <dirent.h>
>         #else
>         BLAHBLAH
>  
> I am quite new to Linux and Unix codeing, so I would feel more comfortable
> if someone with more experience could assure us both that my mod was correct.
>  
> In the meantime, it seems to work ok.
>  
> Hope this helps.
>  
> -Stan

///Tony 

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:55: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 #8) id m0vBsMk-000F1eC; Fri, 11 Oct 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 TAA03584; Fri, 11 Oct 1996 19:51:12 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA27124 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 16:12:48 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id QAA24638 for wu-ftpd@wugate.wustl.edu; Fri, 11 Oct 1996 16:12:43 -0500
Message-Id: <199610112112.QAA24638@gateway.fmp.com>
Date: Fri, 11 Oct 1996 16:12:42 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re[2]: Compilation problems under Linux
In-Reply-To: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl>
MIME-Version: 1.0
Content-Type: text/plain
X-Stateof: permanent_confusion
X-Mailer: Ishmail 1.3-960829-linux <http://www.ishmail.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

The quick and dirty solution, actually sanctioned by Academ Software, is pretty
easy.  Just place the line:

#define DIRENT_ILLEGAL_ACCESS

in glob.c before the #includes.  If you're having this problem, look in
/usr/include/dirent.h and you'll see the reason for it.  The code goes rather
out of its way to hide the details of the DIR structure.  This #define
essentially says "Yes, I know I'm doing a Bad Thing, but let me do it anyway"
and everything compiles properly.

The problem is supposed to be fixed in beta 12, and apparently only affects
people who have upgraded their libs.

Thus spake Perry Rovers <perry@IAEhv.nl>:
> On Wed, 9 Oct 1996, Lindsay Haisley wrote:
> 
> > I've tried compiling two different versions of wu-ftpd under Linux and both
> > of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all of
> > the utilites, but ftpd failed with an error in the compilation of glob.o.  I
> I'd like to know the solution to this one as well.. It is a known problem 
> cos' I've seen it referenced on some linux mailinglists but I never saw 
> the patch for it. The vers.o problem will go away if you run sh 
> newvers.sh in the src directory. Apparently the sh newvers.sh line in the 
> makefile is not always run for some reason. If you do this manually, it 
> will work and all programs will compile except ftpd (but that's the other 
> problem, with glob)
> 
> Perry Rovers, Amsterdam (and a number of other places), The Netherlands
> Mail: mailto:Perry.Rovers@IAEhv.nl       | Amsterdam is zo'n gezellige stad
> FTP : ftp://ftp.iaehv.nl/pub/users/perry | omdat er zo verdomd veel
> WWW : http://www.iaehv.nl/users/perry    | Brabanders wonen - Hans van Mierlo


--
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 11 17:59:17 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vBsQ6-000EwwC; Fri, 11 Oct 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 TAA03772; Fri, 11 Oct 1996 19:54:41 -0500
Received: from planet (planet.fef.com [198.147.196.14]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA03927 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 17:39:46 -0500
Received: by planet (Smail3.1.29.1 #9)
	id m0vBqDb-0004LAC; Fri, 11 Oct 96 15:38 PDT
Message-Id: <m0vBqDb-0004LAC@planet>
Date: Fri, 11 Oct 1996 15:38:11 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: alvin@planet.fef.com (Alvin Oga)
To: wu-ftpd@wugate.wustl.edu
Cc: alvin@planet.fef.com (Alvin Oga)
Subject: Re: Compilation problems under Linux
In-Reply-To: <Pine.3.89.9610102100.B22691-0100000@iaehv.IAEhv.nl> from "Perry Rovers" at Oct 10, 96 09:06:06 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

Hi
> 
> On Wed, 9 Oct 1996, Lindsay Haisley wrote:
> 
> > I've tried compiling two different versions of wu-ftpd under Linux and both
> > of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all of
> > the utilites, but ftpd failed with an error in the compilation of glob.o.  I
> >
> I'd like to know the solution to this one as well..

I fixed my compilation problems for wu-ftpd-2.4-fixed  by:
	a. running build lnx
	b. modifying src/pathnames.h 
	c. watch out for shadow stuff too if you have it vs don't have it

Otherwise, it compiles fine on my linux-2.0.0 w/ gcc-2.7.2

Maybe you also need to add:
	typedef int pid_t;	in src/config.h ???

hope that helps..
alvin

> It is a known problem 
> cos' I've seen it referenced on some linux mailinglists but I never saw 
> the patch for it. The vers.o problem will go away if you run sh 
> newvers.sh in the src directory. Apparently the sh newvers.sh line in the 
> makefile is not always run for some reason. If you do this manually, it 
> will work and all programs will compile except ftpd (but that's the other 
> problem, with glob)
> 
> Perry Rovers, Amsterdam (and a number of other places), The Netherlands
> Mail: mailto:Perry.Rovers@IAEhv.nl       | Amsterdam is zo'n gezellige stad
> FTP : ftp://ftp.iaehv.nl/pub/users/perry | omdat er zo verdomd veel
> WWW : http://www.iaehv.nl/users/perry    | Brabanders wonen - Hans van Mierlo
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 14 13:09: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 #8) id m0vCtKL-000rWnC; Mon, 14 Oct 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 PAA11984; Mon, 14 Oct 1996 15:04:13 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA04712 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 20:09:24 -0500
Received: from humbug.fmp.com (humbug.fmp.com [204.251.174.182]) by gateway.fmp.com (8.7.5/8.6.12) with SMTP id UAA00303 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 20:09:42 -0500
Message-Id: <2.2.32.19961012010941.0071b06c@linux.fmp.com>
Date: Fri, 11 Oct 1996 20:09:41 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Preventing File and/or directory downloads
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: fmouse@linux.fmp.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 02:41 PM 10/11/96 -0400, you wrote:
>> Specifically, I want them to be able to move files in and out of their
>> home directories put NOT download any files in the "/etc" directory (yeah,
>> you guessed it: /etc/passwd and /etc/group).
>> 
>> I am running 2.4.2 beta 11 on a Digital Unix 3.2b machine.
>> 
>
>there is a `noretrieve' command in ftpaccess
>The downside is it doesn't do globbing

I wrote this person outside of this list and suggested using the guestgroup
facility in ftpd which is designed for >exactly< this sort of thing.

Lindsay Haisley                   (______)
FMP Computer Services               (oo)        "The bull 
fmouse@fmp.com                /------\/            stops here!"
Austin, Texas, USA           / |    ||  
512-259-1190                *  ||---||             * * * * * *
                               ~~   ~~         http://www.fmp.com

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 14 13:26: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 #8) id m0vCtaI-000Ev0C; Mon, 14 Oct 96 13: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 PAA12777; Mon, 14 Oct 1996 15:21:06 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA05288 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 20:19:45 -0500
Received: from humbug.fmp.com (humbug.fmp.com [204.251.174.182]) by gateway.fmp.com (8.7.5/8.6.12) with SMTP id UAA00340 for <wu-ftpd@wugate.wustl.edu>; Fri, 11 Oct 1996 20:20:17 -0500
Message-Id: <2.2.32.19961012012016.006e3cf0@linux.fmp.com>
Date: Fri, 11 Oct 1996 20:20:16 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Getting Sick of ... (Was: Compilation problems under Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: fmouse@linux.fmp.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>>On Wed, 9 Oct 1996, Lindsay Haisley wrote:
>>
>>> I've tried compiling two different versions of wu-ftpd under Linux and both
>>> of them fail to compile.  With wu-ftpd-2.4-fixed I managed to compile all of
>>> the utilites, but ftpd failed with an error in the compilation of glob.o.  

>I'm getting sick of this problem...

Sorry.  It was fresh and new (and nasty) when I encountered it a couple of
days ago and wrote to the list about it.  It was my reason for subscribing
to this list.

Thanks to everyone who has sent patches and answers - whether I took their
advice or not :-)


Lindsay Haisley                   (______)
FMP Computer Services               (oo)        "The bull 
fmouse@fmp.com                /------\/            stops here!"
Austin, Texas, USA           / |    ||  
512-259-1190                *  ||---||             * * * * * *
                               ~~   ~~         http://www.fmp.com

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 14 13:29: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 #8) id m0vCtdU-000ExPC; Mon, 14 Oct 96 13: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 PAA13036; Mon, 14 Oct 1996 15:24:38 -0500
Received: from cs.tamu.edu (clavin.cs.tamu.edu [128.194.130.106]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA25615 for <wu-ftpd@wugate.wustl.edu>; Sat, 12 Oct 1996 17:08:57 -0500
Received: from cs.tamu.edu (2297@dilbert.cs.tamu.edu [128.194.133.100]) by cs.tamu.edu (8.6.10/8.6.4) with SMTP id RAA25767 for <wu-ftpd@mail.wustl.edu>; Sat, 12 Oct 1996 17:08:31 -0500
Message-Id: <199610122208.RAA25767@cs.tamu.edu>
Date: Sat, 12 Oct 1996 17:07:54 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chris Jason Richards <richards@cs.tamu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: SITE GROUP, etc.
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.6 3/24/96
X-Url: http//grover.bre.com/
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Just installed wuftp-2.4, again. ;) and decided that I wanted to use the the 
SITE GROUP, etc. sublogin processes.  Using three, no four different 
references, my cohort and I could not get it to work.

Problems?  Well, one big one was the fact that SITE was not a command...
We'll start there... any takers?

Thanks,
cjr
-- 
_______________________________________________________________________
Chris Richards                         | Texas A&M University          
richards@tamu.edu                      | Department of Computer Science
http://www.cs.tamu.edu/people/richards | Internet Publishing Services
http://grover.bre.com/                 | Internet System Programmer


From owner-wu-ftpd@wugate.wustl.edu Mon Oct 14 13:32: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 #8) id m0vCtgx-000ExMC; Mon, 14 Oct 96 13: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 PAA13369; Mon, 14 Oct 1996 15:28:13 -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 ESMTP id TAA13009 for <wu-ftpd@wugate.wustl.edu>; Sun, 13 Oct 1996 19:20:53 -0500
Received: from lenny.dog.com (pm1-2.carib-link.net [196.29.65.2]) by ns1.carib-link.net (8.7.5/8.7.3) with SMTP id UAA21481 for <wu-ftpd@wugate.wustl.edu>; Sun, 13 Oct 1996 20:23:31 -0400
Message-Id: <3260DEC2.5280D6DE@carib-link.net>
Date: Sun, 13 Oct 1996 08:21:22 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lennard Kong <ljk@carib-link.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Hanging processes
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.0 (X11; I; Linux 2.0.12 i586)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

I have just compiled beta11 on my Linux machine, however I am
experiencing leftover ftpd processes hanging around. Also the
ftpwho does not show all the users connected.

I suspect this has been asked before.

Any solutions appreciated.

Thanks

Lennard

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 14 13:36: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 #8) id m0vCtkl-000Ew0C; Mon, 14 Oct 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 PAA13731; Mon, 14 Oct 1996 15:32:02 -0500
Received: from mailgate.pallas.de (olymp.pallas.de [194.45.33.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id HAA22085 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 07:02:53 -0500
Received: from sun5 by mailgate.pallas.de
	id OAA13749; Mon, 14 Oct 1996 14:00:03 +0200
Message-Id: <Pine.SOL.3.94.961014125027.6539B-100000@sun5>
Date: Mon, 14 Oct 1996 13:00:03 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Oliver Haak <ohaak@pallas.de>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual FTP
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: ohaak@sun5
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,

I'm having a problem with wu-ftpd, version 2.4.2-beta11 w/ virtual
support. I've installed a test environment with two virtual ftp hosts, one
is named from the real hostname, the other is a true virtual hostname.
When I'm trying to upload a file to an no-upload-area of the virtual host
the server reacts properly with a permission denied-message, BUT the next
command I give causes the ftp-server to crash (SIGSEGV). This does not
happen with the "real" host. FYI, we're using Solaris 2.5.1 on Intel.
Any hints ?

Cheers, Oliver Haak
  

-------------------------------------------------------------   ---/---
Oliver Haak                 phone      : +49-2232-1896-0          / /
PALLAS GmbH                 direct line: +49-2232-1896-0         / / /
Hermuelheimer Strasse 10    fax        : +49-2232-1896-29       / / / /
D-50321 Bruehl              email      : haak@pallas.de          / / /  
Germany                     URL        : http://www.pallas.de     / / PALLAS
-------------------------------------------------------------   ---/---

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 14 13:40: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 #8) id m0vCtoN-000Ew0C; Mon, 14 Oct 96 13:40 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA14130; Mon, 14 Oct 1996 15:35:44 -0500
Received: from bandon.moodys.com (BANDON.MOODYS.COM [141.160.2.224]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA04339 for <wu-ftpd@mail.wustl.edu>; Mon, 14 Oct 1996 12:46:13 -0500
Received: by bandon.moodys.com; id AA13979; Mon, 14 Oct 96 13:48:30 EDT
Received: from hannibal(141.160.10.156) by bandon.moodys.com via smap (V3.1.1)
	id xma013966; Mon, 14 Oct 96 13:48:19 -0400
Received: from smtpgate1.moodys.com by moodys.com (4.1/SMI-4.1)
	id AA09116; Mon, 14 Oct 96 13:45:27 EDT
Received: by smtpgate1.moodys.com with Microsoft Mail
	id <32627F53@smtpgate1.moodys.com>; Mon, 14 Oct 96 13:58:43 EDT
Message-Id: <32627F53@smtpgate1.moodys.com>
Date: Mon, 14 Oct 96 13:46:00 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Monereau, Alex" <monereaa@moodys.com>
To: "'smtp:wu-ftpd@mail.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Help ! (on ls -al and dir commands)
X-Mailer: Microsoft Mail V3.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I've just installed wu-ftpd 2.4 on SunOS (4.1.3) system. Its working fine, 
however I've setup guest groups in order to chroot all guests in a 
particular directory. A, couple of problems, I can not issue the " ls -al" 
or the " dir " command. It comes up blank.

Can you help me please ???

Alexm

monereaa@moodys.com
(212) 553-4525
fax (212) 553-4047

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 08:29:08 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 #8) id m0vDBQZ-000QPzC; Tue, 15 Oct 96 08:29 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vD9bQ-0003cqC; Tue, 15 Oct 96 06: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 IAA17796; Tue, 15 Oct 1996 08:30:24 -0500
Received: from dragon.ti.com (dragon.ti.com [192.94.94.61]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA14140 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 15:35:50 -0500
Received: from dadd.ti.com ([156.117.118.83]) by dragon.ti.com (8.6.13) with ESMTP id PAA27242 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 15:36:21 -0500
Received: from pavis.dadd.ti.com by dadd.ti.com (8.7.5/)
	  id PAA14783; Mon, 14 Oct 1996 15:35:49 -0500 (CDT)
Received: by pavis.dadd.ti.com id <AA288505348@pavis.dadd.ti.com>; Mon, 14 Oct 1996 15:35:48 -0500
Message-Id: <199610142035.AA288505348@pavis.dadd.ti.com>
Date: Mon, 14 Oct 96 15:35:47 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: SITE GROUP, etc.
In-Reply-To: <199610122208.RAA25767@cs.tamu.edu>; from "Chris Jason Richards" at Oct 12, 96 5:07 pm
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Chris Richards said :-
> Just installed wuftp-2.4, again. ;) and decided that I wanted to use the the 
> SITE GROUP, etc. sublogin processes.  Using three, no four different 
> references, my cohort and I could not get it to work.
> 
> Problems?  Well, one big one was the fact that SITE was not a command...
> We'll start there... any takers?

If your FTP client doesn't understand the SITE command (and a lot don't),
try using the QUOTE command to issue it :-

quote site group <groupname>
quote site gpass <password>

This works with uour SunOS FTP clients (HP-UX is understands the SITE command
anyway).

Hope this helps.

Cheers, Bob
-- 
Bob Luckin
Texas Instruments
P O Box 650311, MS 3937      voly@dadd.ti.com
Dallas, TX 75265   U.S.A.    Tel: (972) 917 5081    Fax: (972) 917 7966

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 08:29: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 #8) id m0vDBQq-00089jC; Tue, 15 Oct 96 08:29 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vD9g0-0003dmC; Tue, 15 Oct 96 06: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 IAA18031; Tue, 15 Oct 1996 08:35:09 -0500
Received: from fs.campus.mci.net (fs.campus.mci.net [204.71.74.16]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA15717 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 15:51:55 -0500
Received: (from tchung@localhost) by fs.campus.mci.net (8.7.5/8.6.12) id NAA03267; Mon, 14 Oct 1996 13:52:27 -0700 (PDT)
Message-Id: <Pine.SOL.3.91.961014134846.3234B-100000@fs>
Date: Mon, 14 Oct 1996 13:52:27 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Chung <tchung@campus.mci.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help ! (on ls -al and dir commands)
In-Reply-To: <32627F53@smtpgate1.moodys.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I had similar problem when I installed wuftp 2.4 on Solaris x86 2.5
a few weeks ago.  Double check your ~/ftp directory tree, make sure
the correct files are there, and all the permissions are set properly.
That was my problem.

On Mon, 14 Oct 1996, Monereau, Alex wrote:

> 
> I've just installed wu-ftpd 2.4 on SunOS (4.1.3) system. Its working fine, 
> however I've setup guest groups in order to chroot all guests in a 
> particular directory. A, couple of problems, I can not issue the " ls -al" 
> or the " dir " command. It comes up blank.
> 
> Can you help me please ???
> 
> Alexm
> 
> monereaa@moodys.com
> (212) 553-4525
> fax (212) 553-4047
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 08:29: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 #8) id m0vDBR5-00089uC; Tue, 15 Oct 96 08:29 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vD9lN-0003eHC; Tue, 15 Oct 96 06: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 IAA18403; Tue, 15 Oct 1996 08:40:38 -0500
Received: from Jane.apg.more.net (jane.apg.more.net [198.209.250.181]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA15963 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 15:54:55 -0500
Received: (from dan@localhost) by Jane.apg.more.net (8.7.5/8.6.9) id PAA17944; Mon, 14 Oct 1996 15:50:32 -0500
Message-Id: <199610142050.PAA17944@Jane.apg.more.net>
Date: Mon, 14 Oct 1996 15:50:32 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dan Niles <dan@more.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Problems with passive connection
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I am running wu-ftpd 2.4 on many Solaris 2.5 boxes.  On one of the boxes,
passive mode does not work.  I get the error message

425 Can't open passive connection: Permission denied.

I haven't found and differences that should matter between the one
that does not work and the ones that do.  I located the error message
in the source, and it seems to be caused by socket errors.  The systems
are all the same, and wu-ftpd is invoked in the same way (ftpd -l).

Does anyone have any suggestions where I might look to find the problem?


Thanks in advance for you help,

Dan Niles

-- 
#--------------------------------#
# Dan Niles      Signatures      #
# dan@more.net   should be small #
#--------------------------------#

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 08:29:48 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 #8) id m0vDBRC-000ExIC; Tue, 15 Oct 96 08:29 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vD9NY-0003cHC; Tue, 15 Oct 96 06: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 IAA17292; Tue, 15 Oct 1996 08:15:41 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA13861 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 15:33:30 -0500
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id NAA13669 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 13:33:26 -0700 (PDT)
Message-Id: <3262A3B0.749F@intelenet.net>
Date: Mon, 14 Oct 1996 13:33:52 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SITE GROUP, etc.
References: <199610122208.RAA25767@cs.tamu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Chris Jason Richards wrote:
> 
> Problems?  Well, one big one was the fact that SITE was not a command...
> We'll start there... any takers?

>From a standard UNIX ftp command line client, you have to use
"quote site" instead of "site" to send "site" commands to the
remote ftp server.


-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 08:29: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 #8) id m0vDBRH-000QRjC; Tue, 15 Oct 96 08:29 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vD9q1-0003ehC; Tue, 15 Oct 96 06: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 IAA18701; Tue, 15 Oct 1996 08:45:30 -0500
Received: from iaehv.IAEhv.nl (iaehv.IAEhv.nl [194.151.64.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA17440 for <wu-ftpd@wugate.wustl.edu>; Mon, 14 Oct 1996 16:13:17 -0500
Received: from LOCAL (perry@localhost) 
          by iaehv.IAEhv.nl (8.6.13/1.63); pid 27798
          on Mon, 14 Oct 1996 23:13:43 +0200; id XAA27798
          efrom: Perry.Rovers@IAEhv.nl; eto: UNKNOWN 
Message-Id: <Pine.3.89.9610142316.B26211-0100000@iaehv.IAEhv.nl>
Date: Mon, 14 Oct 1996 23:13:43 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry Rovers <perry@IAEhv.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Getting Sick of ... (Was: Compilation problems under Linux)
In-Reply-To: <2.2.32.19961012012016.006e3cf0@linux.fmp.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Fri, 11 Oct 1996, Lindsay Haisley wrote:

[glob problem on linux]
> Thanks to everyone who has sent patches and answers - whether I took their
> advice or not :-)
Same here.. thanks. The only thing I had to do was add
-DDIRENT_ILLEGAL_ACCESS to the CFLAGS line in src/makefiles/Makefile.lnx
so if Koos could add that to the FAQ? :)

Perry Rovers, Amsterdam (and a number of other places), The Netherlands
Mail: mailto:Perry.Rovers@IAEhv.nl       | Amsterdam is zo'n gezellige stad
FTP : ftp://ftp.iaehv.nl/pub/users/perry | omdat er zo verdomd veel
WWW : http://www.iaehv.nl/users/perry    | Brabanders wonen - Hans van Mierlo

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 08:30:03 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 #8) id m0vDBRS-00088RC; Tue, 15 Oct 96 08:30 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vD9uf-0003f0C; Tue, 15 Oct 96 06:52 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA18939; Tue, 15 Oct 1996 08:50:13 -0500
Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id BAA11667 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 01:10:15 -0500
Received: from gaia.cs.utwente.nl by utrhcs.cs.utwente.nl (SMI-8.6/csrelay-SVR4_1.3/RBCS)
	id HAA25253; Tue, 15 Oct 1996 07:10:44 +0100
Received: from countach.cs.utwente.nl by gaia.cs.utwente.nl (4.1/RBCS-2.2P)
	id AA25779; Tue, 15 Oct 96 07:10:37 +0100
Received: by countach.cs.utwente.nl (SMI-8.6/SMI-SVR4)
	id IAA20154; Tue, 15 Oct 1996 08:10:37 +0200
Message-Id: <199610150610.IAA20154@countach.cs.utwente.nl>
Date: Tue, 15 Oct 1996 08:10:37 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ronald.Hello@cs.utwente.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SITE GROUP, etc.
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

rh> 
rh> Problems?  Well, one big one was the fact that SITE was not a command...
rh> We'll start there... any takers?

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 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 #8) id m0vDCpW-0007xYC; Tue, 15 Oct 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 LAA02222; Tue, 15 Oct 1996 11:53:08 -0500
Received: from easpk3.eglin.af.mil (easpk3.eglin.af.mil [129.61.28.211]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id IAA19586 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 08:59:44 -0500
Received: (from markg@localhost) by easpk3.eglin.af.mil (8.7.5/8.7.3) id JAA00690 for wu-ftpd@wugate.wustl.edu; Tue, 15 Oct 1996 09:04:09 -0500 (CDT)
Message-Id: <199610151404.JAA00690@easpk3.eglin.af.mil>
Date: Tue, 15 Oct 1996 09:04:09 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mark M. Gray" <markg@easpk3.eglin.af.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: logging of transfers and commands to the xferlog file
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


ALL,

I recently installed wu-ftpd on a solaris 2.5 system.  I can't get any 
file transfers or commands logged to my xferlog file.  All files exist and
should have the correct permissions.  Below are my inetd.conf
entries for ftpd and the header information from pathnames.h.


pathnames.h:

 * @(#)pathnames.h 5.2 (Berkeley) 6/1/90 */

#define _PATH_FTPUSERS  "/etc/ftpusers"
#define _PATH_FTPACCESS "/usr/local/etc/ftpaccess"
#define _PATH_EXECPATH  "/bin/ftp-exec"
#define _PATH_PIDNAMES  "/usr/local/daemon/ftpd/ftp.pids-%s"
#define _PATH_CVT       "/usr/local/etc/ftpconversions"
#define _PATH_XFERLOG   "/var/adm/xferlog"
#define _PATH_PRIVATE   "/etc/ftpgroups"
 
#ifndef _PATH_UTMP
#define _PATH_UTMP      "/var/adm/utmp"
#define _PATH_WTMP      "/var/adm/wtmp"
#define _PATH_LASTLOG   "/var/adm/lastlog"
#endif
 
#define _PATH_BSHELL    "/bin/sh"
#define _PATH_DEVNULL   "/dev/null"
 
#ifdef  HOST_ACCESS
#define _PATH_FTPHOSTS  "/usr/local/etc/ftphosts"
#endif

================================================================================

inetd.conf:

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/local/etc/ftpd -a


any help is greatly appreciated.


Mark Gray

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 10:17: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 #8) id m0vDD6u-000OOWC; Tue, 15 Oct 96 10: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 MAA02943; Tue, 15 Oct 1996 12:13:02 -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 JAA21294 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 09:23:23 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id KAA26857 for wu-ftpd@wugate.wustl.edu; Tue, 15 Oct 1996 10:23:52 -0400 (EDT)
Message-Id: <199610151423.KAA26857@finnegan.EE.McGill.CA>
Date: Tue, 15 Oct 1996 10:23:51 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help ! (on ls -al and dir commands)
In-Reply-To: <32627F53@smtpgate1.moodys.com> from "Monereau, Alex" at Oct 14, 96 01:46:00 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've just installed wu-ftpd 2.4 on SunOS (4.1.3) system. Its working fine, 
> however I've setup guest groups in order to chroot all guests in a 
> particular directory. A, couple of problems, I can not issue the " ls -al" 
> or the " dir " command. It comes up blank.
> 
> Can you help me please ???
> 

you're probably missing some files under 

lib/*
or
dev/*

see the guestgroup configuration in koos's wu-ftp FAQ.

The best thing to do .. is to rip off `ls' from GNU fileutils and
compile it statically. So you'll be able to move `ls' around
without having to worry about some files missing after the chroot().

> Alexm
> 

--
au revoir, alain

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 10:26:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vDDGB-000FUxC; Tue, 15 Oct 96 10: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 MAA03295; Tue, 15 Oct 1996 12:22:40 -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 JAA21517 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 09:27:11 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id KAA26911 for wu-ftpd@wugate.wustl.edu; Tue, 15 Oct 1996 10:27:43 -0400 (EDT)
Message-Id: <199610151427.KAA26911@finnegan.EE.McGill.CA>
Date: Tue, 15 Oct 1996 10:27:43 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problems with passive connection
In-Reply-To: <199610142050.PAA17944@Jane.apg.more.net> from "Dan Niles" at Oct 14, 96 03:50:32 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> 
> 
> I am running wu-ftpd 2.4 on many Solaris 2.5 boxes.  On one of the boxes,
> passive mode does not work.  I get the error message
> 
> 425 Can't open passive connection: Permission denied.
> 
> I haven't found and differences that should matter between the one
> that does not work and the ones that do.  I located the error message
> in the source, and it seems to be caused by socket errors.  The systems
> are all the same, and wu-ftpd is invoked in the same way (ftpd -l).
> 
> Does anyone have any suggestions where I might look to find the problem?
> 

see koos wu-ftp FAQ (the part on solaris)
http://www.hvu.nl/~koos/wu-ftpd-faq.html

something about /dev/tcp to be chmod +w

> 
> Thanks in advance for you help,
> 
> Dan Niles

--
au revoir, alain

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 10:36: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 #8) id m0vDDPT-0006nhC; Tue, 15 Oct 96 10: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 MAA03655; Tue, 15 Oct 1996 12:32:15 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA24079 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 09:57:15 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id JAA12534 for wu-ftpd@wugate.wustl.edu; Tue, 15 Oct 1996 09:57:41 -0500
Message-Id: <199610151457.JAA12534@gateway.fmp.com>
Date: Tue, 15 Oct 1996 09:57:41 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help ! (on ls -al and dir commands)
In-Reply-To: <Pine.SOL.3.91.961014134846.3234B-100000@fs> from "Thomas Chung" at Oct 14, 96 01:52:27 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

If Alex is using guest groups with access granted to a tree other than ~ftp
then the guest tree needs to be set up exactly like the ~ftp tree, i.e. he
needs a bin directory with copy of the statically linked ls binary and
whatever else he wants his guest users to be able to run.

"Thus spake Thomas Chung"
> 
> 
> I had similar problem when I installed wuftp 2.4 on Solaris x86 2.5
> a few weeks ago.  Double check your ~/ftp directory tree, make sure
> the correct files are there, and all the permissions are set properly.
> That was my problem.
> 
> On Mon, 14 Oct 1996, Monereau, Alex wrote:
> 
> > 
> > I've just installed wu-ftpd 2.4 on SunOS (4.1.3) system. Its working fine, 
> > however I've setup guest groups in order to chroot all guests in a 
> > particular directory. A, couple of problems, I can not issue the " ls -al" 
> > or the " dir " command. It comes up blank.

-- 
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 10:46: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 #8) id m0vDDZ1-0009kuC; Tue, 15 Oct 96 10: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 MAA04006; Tue, 15 Oct 1996 12:41:57 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA28827 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 10:52:33 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id LAA31137 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 11:10:18 -0500
Message-Id: <Pine.LNX.3.95.961015110927.31106A-100000@morpho.dar.net>
Date: Tue, 15 Oct 1996 11:10:18 -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: Problems with passive connection
In-Reply-To: <199610142050.PAA17944@Jane.apg.more.net>
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, 14 Oct 1996, Dan Niles wrote:

> 425 Can't open passive connection: Permission denied.

Try chmod 666 /dev/tcp.  (I think this is in the FAQ.)


+----------------------------------------------------------------------------+
| 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 Oct 15 14:12: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 #8) id m0vDGmG-0007yNC; Tue, 15 Oct 96 14: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 QAA15191; Tue, 15 Oct 1996 16:07:56 -0500
Received: from fs.campus.mci.net (fs.campus.mci.net [204.71.74.16]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA06678 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 13:24:26 -0500
Received: (from tchung@localhost) by fs.campus.mci.net (8.7.5/8.6.12) id LAA09493; Tue, 15 Oct 1996 11:24:25 -0700 (PDT)
Message-Id: <Pine.SOL.3.91.961015111050.9386A-100000@fs>
Date: Tue, 15 Oct 1996 11:24:24 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Chung <tchung@campus.mci.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Statically linked ls ( was Re: Help ! (on ls -al and dir commands))
In-Reply-To: <199610151423.KAA26857@finnegan.EE.McGill.CA>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Tue, 15 Oct 1996, Alain Magloire wrote:

> The best thing to do .. is to rip off `ls' from GNU fileutils and
> compile it statically. So you'll be able to move `ls' around
> without having to worry about some files missing after the chroot().
> 

I'm curious.  Has anybody got GNU fileutils to link statically
on Solaris x86 2.5 using gcc?  I couldn't.

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 14:22: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 #8) id m0vDGwb-000FnnC; Tue, 15 Oct 96 14: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 QAA15636; Tue, 15 Oct 1996 16:18:36 -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 NAA06741 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 13:25:24 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id UAA17256 for wu-ftpd@wugate.wustl.edu; Tue, 15 Oct 1996 20:26:07 +0200 (MET DST)
Message-Id: <199610151826.UAA17256@pizza.hvu.nl>
Date: Tue, 15 Oct 1996 20:26:07 +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: logging of transfers and commands to the xferlog file
In-Reply-To: <199610151404.JAA00690@easpk3.eglin.af.mil> from "Mark M. Gray" at Oct 15, 96 09:04:09 am
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Mark M. Gray, who wrote :

> I recently installed wu-ftpd on a solaris 2.5 system.  I can't get any 
> file transfers or commands logged to my xferlog file.

Commands are logged via syslog.

Check the binary with strings to see where the xferlog path ends up.
It could be changed due to some #ifdef.

                                               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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 14:32:17 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vDH5u-000QPjC; Tue, 15 Oct 96 14: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 QAA16019; Tue, 15 Oct 1996 16:28:16 -0500
Received: from relay3.smtp.psi.net (relay3.smtp.psi.net [38.8.210.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA07017 for <wu-ftpd@mail.wustl.edu>; Tue, 15 Oct 1996 13:32:15 -0500
Received: from mail.sorosny.org by relay3.smtp.psi.net (8.7.5/SMI-5.4-PSI)
	id OAA12267; Tue, 15 Oct 1996 14:32:10 -0400 (EDT)
Received: from ccMail by mail.sorosny.org (SMTPLINK V2.11.01)
	id AA845415294; Tue, 15 Oct 96 14:40:35 EST
Message-Id: <9609158454.AA845415294@mail.sorosny.org>
Date: Tue, 15 Oct 96 14:40:35 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: agalietti@sorosny.org
To: wu-ftpd@wugate.wustl.edu
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     How can I unsubscibe from this list?
     
     Thanks.
     
     Anthony

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 14:42: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 #8) id m0vDHFI-0007aOC; Tue, 15 Oct 96 14: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 QAA16513; Tue, 15 Oct 1996 16:37:57 -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 QAA14866 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 16:01:01 -0500
Received: from pike4.EE.McGill.CA (alainm@Pike4.EE.McGill.CA [132.206.63.121]) by finnegan.EE.McGill.CA (8.8.0/8.8.0) with ESMTP id RAA03020 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 17:01:00 -0400 (EDT)
Received: by pike4.EE.McGill.CA (8.8.0) id RAA27781; Tue, 15 Oct 1996 17:00:58 -0400 (EDT)
Message-Id: <199610152100.RAA27781@pike4.EE.McGill.CA>
Date: Tue, 15 Oct 1996 17:00:58 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: logging of transfers and commands to the xferlog file
In-Reply-To: <199610151404.JAA00690@easpk3.eglin.af.mil> from "Mark M. Gray" at Oct 15, 96 09:04:09 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

> 
> 
> ALL,
> 
> I recently installed wu-ftpd on a solaris 2.5 system.  I can't get any 
> file transfers or commands logged to my xferlog file.  All files exist and
> should have the correct permissions.  Below are my inetd.conf
> entries for ftpd and the header information from pathnames.h.
> 

I did really check but .. you have to enable logging with ftpaccess file

log command <type>

  will send stuff to syslog

log transfert <type>

  will send stuff to _PATH_XFERLOG .. xferlog

sorry don't know the exact syntax

man ftpaccess
should reveal them to you

Note: I don't use Solaris, but they was some report
      that wu-ftpd screw up wtmpx. Don't know if it was fix
      in the beta-??.
      There is/was a patch ... some where :)


--
au revoir, alain

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 16:19: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 #8) id m0vDIlq-000FmVC; Tue, 15 Oct 96 16: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 SAA23841; Tue, 15 Oct 1996 18:15:30 -0500
Received: from sapa.inka.de (sapa.inka.de [193.197.84.6]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA15338 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 16:11:35 -0500
Received: from mastromo.inka.de (ostoll@[193.197.164.119]) by sapa.inka.de
	 with smtp (S3.1.29.1) id <m0vDGla-000L2YC>; Tue, 15 Oct 96 23:11 MET DST
Message-Id: <3263FE3B.1D94046A@cinetic.de>
Date: Tue, 15 Oct 1996 23:12:28 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Oliver Stoll <os@cinetic.de>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help ! (on ls -al and dir commands)
References: <199610151457.JAA12534@gateway.fmp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: ostoll@wugate.wustl.edu
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.0.0 i586)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Lindsay Haisley wrote:
> 

> > >
> > > I've just installed wu-ftpd 2.4 on SunOS (4.1.3) system. Its working fine,
> > > however I've setup guest groups in order to chroot all guests in a
> > > particular directory. A, couple of problems, I can not issue the " ls -al"
> > > or the " dir " command. It comes up blank.


I've seen that problem occuring with missing dev/zero files. Check your
man
pages to find out about the device number.

Oliver

-- 
                          Oliver Stoll                       
		  Dipl.-Inform. (FH) (Karlsruhe)
     (somewhere in between B.Sc and M.Sc in Computer Science ;)

Private Contractor, specialized in (inter)networking, Client/Server
Architecures and Object Orientation.

Im Jueden 31				Email: Oliver.Stoll@inka.de
76646 Bruchsal				Tel: +49 7257 5396
Federal Republic of Germany

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 15 16:28: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 #8) id m0vDIuf-0009bZC; Tue, 15 Oct 96 16: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 SAA24122; Tue, 15 Oct 1996 18:24:48 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA16564 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 16:38:57 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id QAA00985 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 16:56:22 -0500
Message-Id: <Pine.LNX.3.95.961015165552.747F-100000@morpho.dar.net>
Date: Tue, 15 Oct 1996 16:56:22 -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: your mail
In-Reply-To: <9609158454.AA845415294@mail.sorosny.org>
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, 15 Oct 1996 agalietti@sorosny.org wrote:

>      How can I unsubscibe from this list?

Send the message "unsubscribe wu-ftpd" to listproc@mail.wustl.edu.  Make
sure the message is in the body, not the subject, and that you spell
"unsubscribe" correctly :)


+----------------------------------------------------------------------------+
| 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 Oct 15 16:37: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 #8) id m0vDJ2i-0006fYC; Tue, 15 Oct 96 16: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 SAA24441; Tue, 15 Oct 1996 18:33:07 -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 RAA22647 for <wu-ftpd@wugate.wustl.edu>; Tue, 15 Oct 1996 17:54:47 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id SAA04055 for wu-ftpd@wugate.wustl.edu; Tue, 15 Oct 1996 18:54:46 -0400 (EDT)
Message-Id: <199610152254.SAA04055@finnegan.EE.McGill.CA>
Date: Tue, 15 Oct 1996 18:54:46 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Statically linked ls ( was Re: Help ! (on ls -al and dir commands))
In-Reply-To: <Pine.SOL.3.91.961015111050.9386A-100000@fs> from "Thomas Chung" at Oct 15, 96 11:24:24 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

> 
> 
> On Tue, 15 Oct 1996, Alain Magloire wrote:
> 
> > The best thing to do .. is to rip off `ls' from GNU fileutils and
> > compile it statically. So you'll be able to move `ls' around
> > without having to worry about some files missing after the chroot().
> > 
> 
> I'm curious.  Has anybody got GNU fileutils to link statically
> on Solaris x86 2.5 using gcc?  I couldn't.
> 

you should read the Solaris FAQ, it got pointers to binaries.

I don't Have Solaris .. yet <sigh !>

but from my(too)  brief encounter with Solaris, you have to
provide some stubs for the dl* function dlopen(), dlclose(), etc ..
You can get `ls' link(statically) without them. Well, at least
on a Sparc running Solaris-2.5 with gcc-2.7.2.1

See Solaris Faq by Casper D.

--
bonne journe'e, alain

P.S: it compiles okdoke on my SunOS-4.x boxes

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 16 12:10: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 #8) id m0vDbLl-000LQKC; Wed, 16 Oct 96 12: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 OAA22561; Wed, 16 Oct 1996 14:01:48 -0500
Received: from dg-webo.webo.dg.com (dg-webo.us.dg.com [128.221.131.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA17809 for <wu-ftpd@wugate.wustl.edu>; Wed, 16 Oct 1996 11:58:13 -0500
Received: from sfnctr.us.dg.com by dg-webo.webo.dg.com (5.4R3.10/dg-webo-v1)
	id AA04164; Wed, 16 Oct 1996 12:58:09 -0400
Message-Id: <2.2.16.19961016165809.4db79f10@pop.tiac.net>
Date: Wed, 16 Oct 1996 12:58:09 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Sarao <sarao@pop.tiac.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: sarao@pop.tiac.net
X-Mailer: Windows Eudora Pro Version 2.2 (16)
X-Priority: 1 (Highest)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Good question, because I have also tried to get off this list and even sent
mail to the list owner and that didn't work either...


                                Robert Sarao 


At 02:40 PM 10/15/96 EST, you wrote:
>     How can I unsubscibe from this list?
>     
>     Thanks.
>     
>     Anthony
>
>
>

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 16 14:07: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 #8) id m0vDdBe-000LYlC; Wed, 16 Oct 96 14: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 PAA29380; Wed, 16 Oct 1996 15:57:50 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA23891 for <wu-ftpd@wugate.wustl.edu>; Wed, 16 Oct 1996 14:29:56 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id OAA09540 for <wu-ftpd@wugate.wustl.edu>; Wed, 16 Oct 1996 14:48:06 -0500
Message-Id: <Pine.LNX.3.95.961016144545.9464A-100000@morpho.dar.net>
Date: Wed, 16 Oct 1996 14:48: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: Unsubscribing from the wu-ftpd list
In-Reply-To: <2.2.16.19961016165809.4db79f10@pop.tiac.net>
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 Wed, 16 Oct 1996, Robert Sarao wrote:

> Good question, because I have also tried to get off this list and even sent
> mail to the list owner and that didn't work either...

I already responded to the first person's query, but I guess not everyone
read it.  Simply send the message "unsubscribe wu-ftpd" to
listproc@mail.wustl.edu.  Note that the unsubscribe request goes in the
body text of the message, not the subject.

Let me know if you still have problems.

+----------------------------------------------------------------------------+
| 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 Wed Oct 16 15:00: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 #8) id m0vDe0b-000LOtC; Wed, 16 Oct 96 15: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 QAA02894; Wed, 16 Oct 1996 16:52:53 -0500
Received: from vuse.vanderbilt.edu (mailhost.vuse.vanderbilt.edu [129.59.100.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA00585 for <wu-ftpd@wugate.wustl.edu>; Wed, 16 Oct 1996 16:21:11 -0500
Received: from garfield.vuse.vanderbilt.edu by vuse.vanderbilt.edu (8.7.5/SMI-4.1/VUSE-1.24)
	id QAA28163; Wed, 16 Oct 1996 16:18:13 -0500 (CDT)
Received: by garfield.vuse.vanderbilt.edu (NX5.67f2/NX3.0S)
	id AA00489; Wed, 16 Oct 96 16:19:18 -0500
Received: by NeXT.Mailer (1.118.2.RR)
Message-Id: <9610162119.AA00489@garfield.vuse.vanderbilt.edu>
Date: Wed, 16 Oct 96 16:19:15 -0500
Reply-To: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Katzlberger <katzlbt@vuse.vanderbilt.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Message ...
In-Reply-To: <Pine.LNX.3.95.961016144545.9464A-100000@morpho.dar.net>
References: <Pine.LNX.3.95.961016144545.9464A-100000@morpho.dar.net>
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Content-Type: multipart/alternative; boundary=NeXT-Mail-90348554-1
Content-Transfer-Encoding: 7bit
X-Sender: Thomas Katzlberger <cat@vuse.vanderbilt.edu>
X-Image-Url: http://www.vuse.vanderbilt.edu/~katzlbt/HungryGarfieldColor.tiff
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

--NeXT-Mail-90348554-1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I sent a message with

Date: Tue, 15 Oct 96 20:54:13 -0500
To: wu-ftpd@wugate.wustl.edu
Subject: Bug or how do I send an ABOR command correctly ?

to this list. 

It seems as if it never arrived, or is the
sender just excluded for some reason?

Cat.
---
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/                                                            _/_/
_/_/  Thomas Katzlberger                                        _/_/
_/_/  katzlbt@vuse.vanderbilt.edu                               _/_/
_/_/  @aWhiteNeXT.called.garfield                               _/_/
_/_/  http://www.vuse.vanderbilt.edu/~katzlbt/                  _/_/
_/_/                                                            _/_/
_/_/  "You can tune a file system, but you can't tune a fish."  _/_/
_/_/                                UNIX man page for tunefs.   _/_/
_/_/                                                            _/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

--NeXT-Mail-90348554-1
Content-Type: text/enriched; charset=us-ascii
Content-Transfer-Encoding: 7bit


I sent a message with


Date: Tue, 15 Oct 96 20:54:13 -0500

To: wu-ftpd@wugate.wustl.edu

Subject:
 Bug or how do I send an ABOR command correctly ?


to this list. 


It seems as if it never arrived, or is the

sender just excluded for some reason?


Cat.

---

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

_/_/                                                            _/_/

_/_/  Thomas Katzlberger                                        _/_/

_/_/  katzlbt@vuse.vanderbilt.edu                               _/_/

_/_/  @aWhiteNeXT.called.garfield                               _/_/

_/_/  http://www.vuse.vanderbilt.edu/~katzlbt/                  _/_/

_/_/                                                            _/_/

_/_/  "You can tune a file system, but you can't tune a fish."  _/_/

_/_/                                UNIX man page for tunefs.   _/_/

_/_/                                                            _/_/

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

--NeXT-Mail-90348554-1--

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 16 16:45:27 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vDfeN-000W7BC; Wed, 16 Oct 96 16: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 SAA09246; Wed, 16 Oct 1996 18:38:51 -0500
Received: from vuse.vanderbilt.edu (mailhost.vuse.vanderbilt.edu [129.59.100.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA09040 for <wu-ftpd@wugate.wustl.edu>; Wed, 16 Oct 1996 18:35:34 -0500
Received: from garfield.vuse.vanderbilt.edu by vuse.vanderbilt.edu (8.7.5/SMI-4.1/VUSE-1.24)
	id SAA07325; Wed, 16 Oct 1996 18:32:41 -0500 (CDT)
Received: by garfield.vuse.vanderbilt.edu (NX5.67f2/NX3.0S)
	id AA01923; Wed, 16 Oct 96 18:33:45 -0500
Received: by NeXT.Mailer (1.118.2.RR)
Message-Id: <9610162333.AA01923@garfield.vuse.vanderbilt.edu>
Date: Wed, 16 Oct 96 18:33:42 -0500
Reply-To: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Katzlberger <katzlbt@vuse.vanderbilt.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Bug or how do I send an ABOR command correctly ? (retry)
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Sender: Thomas Katzlberger <cat@vuse.vanderbilt.edu>
X-Image-Url: http://www.vuse.vanderbilt.edu/~katzlbt/HungryGarfieldColor.tiff
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Repost:
Sorry if you receive this twice, but there are odd things
going on by posting to this list ... (see below if interested)

Original Message:
---------------------------------------------------

My ftp client sends:

sprintf(buf,"%c%cABOR\r\n",IAC,IP);

Which seems to work exactly ONCE on
wu-2.4.2-academ[BETA-11],Version wu-2.1c(4) servers,
on lots of other servers like wcarchive.cdrom.com FTP server
Version wu-2.4-dg(31) it works fine ...

Is this a bug or do I send the wrong OOB sequence?

Thanks,
Cat.

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

PS: Mail failure
(on my 2nd post to this list,
the first one vanished)

From: POSTMASTER@OPSIRM1.EM.CDC.GOV
To: Thomas Katzlberger <katzlbt@vuse>
Subject: Mail failure

[002] Mail was received that was addressed to unknown addresses.
Mail item was not delivered to:
  CLFT/OPSIRM1/jak7

???

Maybe this person is subscribed to this list but his account no
longer exists, and my Reply-To field makes me receive this
message ...
---
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/                                                            _/_/
_/_/  Thomas Katzlberger                                        _/_/
_/_/  katzlbt@vuse.vanderbilt.edu                               _/_/
_/_/  @aWhiteNeXT.called.garfield                               _/_/
_/_/  http://www.vuse.vanderbilt.edu/~katzlbt/                  _/_/
_/_/                                                            _/_/
_/_/  "You can tune a file system, but you can't tune a fish."  _/_/
_/_/                                UNIX man page for tunefs.   _/_/
_/_/                                                            _/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 08:10: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 #8) id m0vDu5n-0005boC; Thu, 17 Oct 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 KAA26561; Thu, 17 Oct 1996 10:03:07 -0500
Received: from cagw1.att.com (cagw1.att.com [192.128.52.89]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA22622 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 08:38:40 -0500
Received: from hoccson.ho.att.com by caig1.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id JAA08561; Thu, 17 Oct 1996 09:35:22 -0400
Received: by hoccson.ho.att.com (4.1/EMS-1.1.1 SunOS)
	id AA10841; Thu, 17 Oct 96 09:38:28 EDT
Received: from nj-mailnet.ho.att.com (mailnet.ho.att.com) by hoccson.ho.att.com (4.1/EMS-1.1.1 SunOS)
	id AA10820; Thu, 17 Oct 96 09:38:21 EDT
Received: by nj-mailnet.ho.att.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5)
	id <01BBBC0E.FA8ED7D0@nj-mailnet.ho.att.com>; Thu, 17 Oct 1996 09:38:40 -0400
Message-Id: <c=US%a=_%p=ATT%l=MAILSRVA-961017133843Z-11023@nj-mailnet.ho.att.com>
Date: Thu, 17 Oct 1996 09:38:43 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Fasano, Albert C" <afasano@att.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: ftpconversions problem
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,
I am sure you have heard this question many times.
Can't get compress/uncompress to work.

I've copied the entries straight from the O'Reilly book for both
ftpaccess
and ftpconversion.
Here is relevant ftpaccess entries:

class local real IP.IP.IP.*
compress yes local
compress        yes     local
uncompress      yes     local
/bin/compress yes local
#As you can see I've tried many variations trying to get it to work.


Here is entry in ftpconversions
:.Z:  :  :/bin/uncompress -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
:  :  :.Z:/bin/compress -c %s:T_REG|T_ASCII:O_COMPRESS:COMPRESS
     

Notes about install:
1)Did not compile locally. Took binaries and config files from another
system
2)Running on ports greater than 20000

another problem - I even have trouble preventing my "local" class from
executing delete and mkdir when I add them to ftpaccess file. However
when I remove my classes I get accessed denied not member of any class.
So I assume it is reading the ftpaccess file?

When I attempt the uncompress on the fly:
ftp>ls
file.Z
ftp>get file
200 PORT command successful
550 file: No such file OR directory

Any help is appreciated:
Al Fasano
AT&T Laboratories
Web Hosted Services
(908) 949-0497

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 08:25:32 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 #8) id m0vDuKC-000LYZC; Thu, 17 Oct 96 08:25 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vDtqw-0003WSC; Thu, 17 Oct 96 07: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 JAA25948; Thu, 17 Oct 1996 09:49:32 -0500
Received: from isinet.com (ns.isinet.com [199.4.155.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id XAA15437 for <wu-ftpd@wugate.wustl.edu>; Wed, 16 Oct 1996 23:47:28 -0500
Received: from isidevel ([198.62.99.207]) by pandora.isinet.com with SMTP id <18452>; Thu, 17 Oct 1996 00:45:50 -0400
Received: from localhost by isidevel (AIX 3.2/UCB 5.64/4.03)
          id AA10595; Thu, 17 Oct 1996 00:38:37 -0400
Message-Id: <Pine.A32.3.94.961017000156.45104A-100000@isidevel.isinet.com>
Date: Thu, 17 Oct 1996 00:38:37 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Dougherty <bobd@isidevel.isinet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Logging FAILED file transfers
In-Reply-To: <199610152100.RAA27781@pike4.EE.McGill.CA>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Has anyone tried analyzing ftpd log files to identify which file transfers
are failing?  The xferlog file is not useful for this:  if a user's
connection terminates in mid-transfer, a record is never written to
xferlog. 

I've patched the ftpd.c file so that xferlog-type records are sent to
syslog along with the ftp commands (if command logging is enabled).  More
recently, I've added a patch to send a similar record at the very
beginning of the file transfer.  Now I can post-process the syslog to
identify failed file transfers.  The trick is to find records for
initiated file transfers that don't have corresponding end-of-transfer
records. 

I no longer even use the xferlog file.  The syslog file with xfer
records provides much more complete information.

I'm starting to wonder whether others are doing similarly detailed
analyses that aren't possible with the xferlog file.  I'm also wondering
if there are any risks associated with this approach.

-- 
Bob Dougherty                            Internet: bobd@isidevel.isinet.com
Institute for Scientific Information     Voice: (215) 386-0100, ext. 1161
3501 Market St., Philadelphia PA 19104   Fax:   (215) 386-6362


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 09:10: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 #8) id m0vDv1R-000LXVC; Thu, 17 Oct 96 09: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 LAA00637; Thu, 17 Oct 1996 11:02:59 -0500
Received: from oncomdis.on.ca (oncomdis.on.ca [204.101.15.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA29149 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 10:43:40 -0500
Received: from localhost (pstewart@localhost) by oncomdis.on.ca (8.7.5/8.7.4) with SMTP id LAA29627 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 11:42:20 -0400
Message-Id: <Pine.LNX.3.93.961017113942.29606A-100000@oncomdis.on.ca>
Date: Thu, 17 Oct 1996 11:42:20 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pstewart <pstewart@oncomdis.on.ca>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Compile Problem
In-Reply-To: <c=US%a=_%p=ATT%l=MAILSRVA-961017133843Z-11023@nj-mailnet.ho.att.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi there...

I know this has been covered lately and apologize.. I had an answer to
this before that worked fine, but lost the answer...

when compiling 2.4-fixed on a linux 2.0.13 machine I get this error
again...

glob.c: line 240 incompatible reference to pointer type (something like
that)
[glob.c] Error 1

It won't complile ftpd like it should.... like I said I had this problem
previously and found a fix via this list... sorry to hash it over AGAIN...

Thanks,

Paul


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 09:55: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 #8) id m0vDvii-000LYFC; Thu, 17 Oct 96 09: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 LAA03404; Thu, 17 Oct 1996 11:48:03 -0500
Received: from step.polymtl.ca (step.polymtl.ca [132.207.4.32]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA00766 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 11:05:34 -0500
Received: (from coyote@localhost) by step.polymtl.ca (8.6.10/8.6.10) id MAA25778; Thu, 17 Oct 1996 12:01:21 -0400
Message-Id: <Pine.SOL.3.91.961017115955.25576B-100000@step.polymtl.ca>
Date: Thu, 17 Oct 1996 12:01:20 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vincent Cojot <coyote@step.polymtl.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: pstewart@oncomdis.on.ca
Subject: Re: Compile Problem
In-Reply-To: <Pine.LNX.3.93.961017113942.29606A-100000@oncomdis.on.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 17 Oct 1996, pstewart wrote:

> Hi there...
> 
> I know this has been covered lately and apologize.. I had an answer to
> this before that worked fine, but lost the answer...
> 
> when compiling 2.4-fixed on a linux 2.0.13 machine I get this error
> again...
> 
> glob.c: line 240 incompatible reference to pointer type (something like
> that)
> [glob.c] Error 1

Add -DDIRENT_ILLEGAL_ACCESS to Makefile.lnx in Makefile.lnx and re-run 
"build lnx". That will fix the problem.

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._ coyote@info.polymtl.ca
http://www.info.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote@step.polymtl.ca

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



From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 10:01: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 #8) id m0vDvoV-000LZBC; Thu, 17 Oct 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 LAA03762; Thu, 17 Oct 1996 11:53:47 -0500
Received: from mailhost.capecod.net (mailhost.capecod.net [204.255.214.5]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA01245 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 11:15:19 -0500
Received: from psycho.capecod.net (bandit@[208.204.66.250]) by mailhost.capecod.net (8.7.4/8.7.3) with SMTP id MAA28310 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 12:15:17 -0400 (EDT)
Message-Id: <199610171615.MAA28310@mailhost.capecod.net>
Date: Thu, 17 Oct 1996 12:15:17 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Beaulieu <brian@capecod.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Compile Problem
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: bhome@capecod.net
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 11:42 AM 10/17/96 -0400, you wrote:
>Hi there...
>
>I know this has been covered lately and apologize.. I had an answer to
>this before that worked fine, but lost the answer...
>
>when compiling 2.4-fixed on a linux 2.0.13 machine I get this error
>again...
>
>glob.c: line 240 incompatible reference to pointer type (something like
>that)
>[glob.c] Error 1

One way that i fixed it was to put /* */'s around line's 240 and 241 in
glob.c, i know ther are others.. but i don't recall

Brian
----------------------------------
CAPE Internet System Administrator
http://www.capecod.net
http://despair.capecod.net
brian@capedcod.net
----------------------------------

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 10:53: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 #8) id m0vDwd8-000rTsC; Thu, 17 Oct 96 10: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 MAA06696; Thu, 17 Oct 1996 12:44:32 -0500
Received: from mercury.iss.ca (mercury.iss.ca [134.87.18.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA03848 for <wu-ftpd@mail.wustl.edu>; Thu, 17 Oct 1996 11:55:24 -0500
Received: by iss.ca (5.x/SMI-SVR4)
	id AA16635; Thu, 17 Oct 1996 09:56:46 -0700
Message-Id: <961017120*mason.ip@iss.ca>
Date: 17 Oct 96 09:56 PDT
            Action: Relayed
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mason ip <mason.ip@iss.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: missing xferlog
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've installed wu-ftpd-2.4 on an OSF1 host. Anomymous ftp to that host
seemed to be OK, except there was no transfer log (either /usr/adm/xferlog
or whatever I defined on src/pathnames.h) even after file transfers had
taken place. The /usr/adm directory had ownership and mode as follow.

  drwxr-xr-x  11 adm      adm 

The installed pgm had owership and mode as follow.

  -rwxr-xr-x   1 bin      bin       139264 Oct 15 16:53 ftpd

Would that be a problem due to the difference in ownership that
might prevent the xferlog being created on /usr/adm ?
I've tried defined the xferlog in src/pathnames.h to be on a location
which was world-writable, but there still was no xferlog log generated.

Any idea what went wrong?

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 11:12: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 #8) id m0vDww9-000rPeC; Thu, 17 Oct 96 11: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 NAA07929; Thu, 17 Oct 1996 13:04:05 -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 MAA05515 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 12:23:58 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.8.0/8.8.0) with ESMTP id NAA09049 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 13:23:54 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.8.0) id NAA09423; Thu, 17 Oct 1996 13:23:52 -0400 (EDT)
Message-Id: <199610171723.NAA09423@charlie4.EE.McGill.CA>
Date: Thu, 17 Oct 1996 13:23:51 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpconversions problem
In-Reply-To: <c=US%a=_%p=ATT%l=MAILSRVA-961017133843Z-11023@nj-mailnet.ho.att.com> from "Fasano, Albert C" at Oct 17, 96 09:38:43 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

> 
> Hello,
> I am sure you have heard this question many times.
> Can't get compress/uncompress to work.
> 
[...deleted]
> 
> class local real IP.IP.IP.*
> compress yes local
> compress        yes     local
> uncompress      yes     local
> /bin/compress yes local
> #As you can see I've tried many variations trying to get it to work.
> 

:-)
better more than less (or is it the other way ;)

> 
> Here is entry in ftpconversions
> :.Z:  :  :/bin/uncompress -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
> :  :  :.Z:/bin/compress -c %s:T_REG|T_ASCII:O_COMPRESS:COMPRESS
>      

first question is
ucompress/compress in 
~ftp/bin  ?
don't forget that ftpd do a chroot("/where/ever/ftp")
so "/" is "/where/ever/ftp"

> 
> Notes about install:
> 1)Did not compile locally. Took binaries and config files from another
> system

;(

did you ask for the man pages and docs also ;-)

> 2)Running on ports greater than 20000
> 

:)

> another problem - I even have trouble preventing my "local" class from
> executing delete and mkdir when I add them to ftpaccess file. However
> when I remove my classes I get accessed denied not member of any class.
> So I assume it is reading the ftpaccess file?
> 

you have to enable 
`delete' in the ftpaccess for the types(real,guest,anonymous)


--
cheers, alain

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 12:33: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 #8) id m0vDyC5-000LZZC; Thu, 17 Oct 96 12:33 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA12938; Thu, 17 Oct 1996 14:26:09 -0500
Received: from oncomdis.on.ca (oncomdis.on.ca [204.101.15.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA12800 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 14:23:44 -0500
Received: from localhost (pstewart@localhost) by oncomdis.on.ca (8.7.5/8.7.4) with SMTP id PAA01036 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 15:02:21 -0400
Message-Id: <Pine.LNX.3.93.961017150100.1019A-100000@oncomdis.on.ca>
Date: Thu, 17 Oct 1996 15:02:21 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: pstewart <pstewart@oncomdis.on.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Anonymous works, regular user sometimes
In-Reply-To: <199610171723.NAA09423@charlie4.EE.McGill.CA>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello there...

I just recently compiled 2.4-fixed and compiled in shadow support... a
couple of user accounts work fine, but others don't... I can't find the
logic.....

Anyone have any ideas why?  Everyone uses the same shell to the best of my
knowledge...

Thanks again,

Paul


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 13:28: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 #8) id m0vDz3U-000LUfC; Thu, 17 Oct 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 PAA16142; Thu, 17 Oct 1996 15:21:12 -0500
Received: from cfd.sandia.gov (cfd.sandia.gov [132.175.77.4]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA15936 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 15:16:33 -0500
Received: from bserver.cfd.sandia.gov.cfd.sandia.gov ([132.175.121.1]) by cfd.sandia.gov (4.1/SMI-4.1)
	id AA22490; Thu, 17 Oct 96 14:16:33 MDT
Received: by bserver.cfd.sandia.gov.cfd.sandia.gov (4.1/SMI-4.1)
	id AA08285; Thu, 17 Oct 96 14:16:31 MDT
Message-Id: <9610172016.AA08285@bserver.cfd.sandia.gov.cfd.sandia.gov>
Date: Thu, 17 Oct 96 14:16:31 MDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dmsears@cfd.sandia.gov (David Sears)
To: dmsears@cfd.sandia.gov, wu-ftpd@wugate.wustl.edu
Subject: skey vs local authentication for v2.4
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have been running wu-ftpd v2.4 with s/key enhancements for quite sometime,
and in general am very happy with its performance.  The machine running the
wu-ftpd is an internal server.  I am running s/key to reduce security risks
associated with connections from an untrusted net through my firewall.  
The firewall is running a ftpd proxy and tcp wrappers.

The configuration can be represented as:

            Untrusted Network
                  |
    Outside Net   |
                  |
               Firewall
                 - ftp proxy (w/access control lists)
                 - tcp wrappers
                  |
     Inside Net   |
                  |
---------------------------------------------------------
   |           |         |             |        |      
ClientA     ClientB    Server       ClientC  ClientD  ...
                         - wu-ftpd
			 - w/s/key

Current ftp Authentication Methods:

   UntrustedNet  --ftp--> Server   S/Key  (must pass tcpd and ACLs
                                           on firewall first)
   ClientA       --ftp--> Server   S/Key
   ALL           --ftp--> Server   S/Key

Desired ftp Authentication Methods:

   UntrustedNet  --ftp--> Server   S/Key  (must pass tcpd and ACLs
                                           on firewall first)
   ClientA       --ftp--> Server   Account password
   ALL InsideNet --ftp--> Server   Account password

However, (there is always a "however,") when any internal client ftps
to my internal server they are also forced to use s/key.  This is
an unnecessary inconvenience, IMHO.  I would like the internal users
to use their account password for internal ftp authentications.  So I made 
some changes to the ftpd.c file (7 lines plus comments) and have included 
them here for comments.

dmsears{442}% diff -c3 ftpd.c ftpd.c.961017
*** ftpd.c      Thu Oct 17 13:41:50 1996
--- ftpd.c.961017       Thu Oct 17 13:39:03 1996
***************
*** 49,60 ****
  #include <sys/file.h>
  #include <sys/wait.h>
  
- /*  961017-dms  FIREWALL definition MUST match the value of the 
-  *              remotehost variable in the pass() subroutine!!!  */
- #ifdef SKEY
- #define FIREWALL "firewall"
- #endif
- 
  #ifdef AIX
  #include <sys/id.h>
  #include <sys/priv.h>
--- 49,54 ----
***************
*** 885,891 ****
          acl_setfunctions();
   
  #ifdef SKEY
!     if ((!skey_haskey(name)) && (strcmp(FIREWALL,remotehost)==0))
          reply(331, "Password [%s] for %s required.", skey_keyinfo(name), name);
      else
  #endif
--- 879,885 ----
          acl_setfunctions();
   
  #ifdef SKEY
!     if (!skey_haskey(name))
          reply(331, "Password [%s] for %s required.", skey_keyinfo(name), name);
      else
  #endif
***************
*** 1009,1015 ****
              passwd++;
   
  #ifdef SKEY
!         if ((!skey_haskey(the_user)) && (strcmp(FIREWALL,remotehost)==0))
          {
             i = skey_passcheck(the_user, passwd);
   
--- 1003,1009 ----
              passwd++;
   
  #ifdef SKEY
!         if (!skey_haskey(the_user))
          {
             i = skey_passcheck(the_user, passwd);

Can anyone see additional risks associated with these changes?  Better
ideas always welcomed.

TIA

David

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 14:21:19 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vDzrx-000FCjC; Thu, 17 Oct 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 QAA19036; Thu, 17 Oct 1996 16:13:33 -0500
Received: from belen.electa.uta.cl (belen.electa.uta.cl [146.83.109.16]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA18418 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 16:04:02 -0500
Received: from localhost by belen.electa.uta.cl; (8.6.12/1.1.8.2/07Jun95-1234PM)
	id SAA09847; Thu, 17 Oct 1996 18:05:20 -0300
Message-Id: <Pine.OSF.3.95.961017175926.9744E-100000@belen.electa.uta.cl>
Date: Thu, 17 Oct 1996 18:05:20 -0300 (CDT)
Reply-To: Web-Master UTA <jaime@belen.electa.uta.cl>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Web-Master UTA <jaime@belen.electa.uta.cl>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpconversions problem
In-Reply-To: <199610171723.NAA09423@charlie4.EE.McGill.CA>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


       I'm have a DEC 3000/300 with OSF/1 2.0 and C2 security (enhanced),
when installing wu-ftpd the machine users dont can acces ftp, only the guest
user can acces by ftp. if down C2 Security no problem, because?

thanks

jaime.


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 14:58: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 #8) id m0vE0Se-000FFEC; Thu, 17 Oct 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 QAA20813; Thu, 17 Oct 1996 16:48:54 -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 QAA20486 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 16:42:57 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id XAA03521 for wu-ftpd@wugate.wustl.edu; Thu, 17 Oct 1996 23:43:41 +0200 (MET DST)
Message-Id: <199610172143.XAA03521@pizza.hvu.nl>
Date: Thu, 17 Oct 1996 23:43:41 +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: faq
In-Reply-To: <Pine.3.89.9610142316.B26211-0100000@iaehv.IAEhv.nl> from "Perry Rovers" at Oct 14, 96 11:13:43 pm
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Perry Rovers, who wrote :

> > Thanks to everyone who has sent patches and answers - whether I took their
> > advice or not :-)
> Same here.. thanks. The only thing I had to do was add
> -DDIRENT_ILLEGAL_ACCESS to the CFLAGS line in src/makefiles/Makefile.lnx

> so if Koos could add that to the FAQ? :)

Added. It's a busy period for me at the moment, so I let mails on the list
that can mean faq changes queue up for a while and then take them all
in one go.

Thanks everyone for input for the FAQ.

                                             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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 17 15:19: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 #8) id m0vE0mU-000LQRC; Thu, 17 Oct 96 15: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 RAA21841; Thu, 17 Oct 1996 17:11:07 -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 QAA21200 for <wu-ftpd@wugate.wustl.edu>; Thu, 17 Oct 1996 16:55:54 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id XAA03717 for wu-ftpd@wugate.wustl.edu; Thu, 17 Oct 1996 23:56:36 +0200 (MET DST)
Message-Id: <199610172156.XAA03717@pizza.hvu.nl>
Date: Thu, 17 Oct 1996 23:56:35 +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 uploads owned by wrong user
In-Reply-To: <9610081137.AA07964@hammer> from "John Murtari" at Oct 8, 96 07:37:04 am
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting John Murtari, who wrote :

> 	We are still having problems with anonymous uploads being
> owned by "ftp" and NOT the user specified in the ftpaccess file.
> This is on a Solaris 2.5.1 system.

Is the upload dir by any chance NFS mounted ?

(if it is, the chown will be disabled by the NFS daemon)

                                              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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 10: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 #8) id m0vEIYD-000FChC; Fri, 18 Oct 96 10: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 MAA02822; Fri, 18 Oct 1996 12:13:19 -0500
Received: from lotus.lotus.com (lotus.com [192.233.136.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA02346 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 12:01:08 -0500
Received: from internet1.lotus.com by lotus.lotus.com (SMI-8.6/SMI-SVR4)
	id MAA14480; Fri, 18 Oct 1996 12:57:26 -0400
Received: from spook.lotus.com by internet1.lotus.com (5.x/SMI-SVR4)
	id AA10194; Fri, 18 Oct 1996 12:50:42 -0400
Received: (from forrie@localhost) by spook.lotus.com (8.7.5/8.7.3) id MAA19939 for wu-ftpd@wugate.wustl.edu; Fri, 18 Oct 1996 12:59:46 -0400 (EDT)
Message-Id: <199610181659.MAA19939@spook.lotus.com>
Date: Fri, 18 Oct 1996 12:59:46 -0400 (EDT)
Reply-To: <forrie@lotus.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Forrest Aldrich <forrie@lotus.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Win95/NT clients can't MKDIR
Content-Type: text
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

We're having a strange problem.  Clients that connect using Win95 or NT
cannot use the MKDIR command.  The error returned is "500 command not 
understood".  I've checked and verified ftpaccess, etc., and all seems
okay.  Anyone know about this?

Forrie

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 11:39: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 #8) id m0vEJpe-000FKXC; Fri, 18 Oct 96 11: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 NAA06032; Fri, 18 Oct 1996 13:35:33 -0500
Received: from sili.adn.edu.ph (sili.adn.edu.ph [165.220.57.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA05638 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 13:26:46 -0500
Received: (from jonats@localhost) by sili.adn.edu.ph (8.6.11/8.6.9) id CAA24317; Sat, 19 Oct 1996 02:42:55 +1000
Message-Id: <Pine.LNX.3.91.961019023555.24248A-100000@sili.adn.edu.ph>
Date: Sat, 19 Oct 1996 02:42:54 +1000 (GMT+1000)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jonathan Arcilla <jonats@adn.edu.ph>
To: wu-ftpd@wugate.wustl.edu
Subject: [glob.c] Error 1
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



I've recently downloaded wu-ftpd-2.4.2-beta-11. I thought the package i 
got from sunsite was missing some files so i opted for download from the 
"home site" but i still keep getting messages. What could be missing?

When i do "build lnx", i get this error message:


glob.c: In function `matchdir':
glob.c:284: dereferencing pointer to incomplete type
make: *** [glob.o] Error 1


Can anybody help me with this?

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 11:54: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 #8) id m0vEK3j-000FGWC; Fri, 18 Oct 96 11: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 NAA06838; Fri, 18 Oct 1996 13:50:16 -0500
Received: from morpho.dar.net ([128.252.125.187]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA06234 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 13:39:36 -0500
Received: from localhost (are1@localhost) by morpho.dar.net (8.7.6/8.7.3) with SMTP id NAA28468; Fri, 18 Oct 1996 13:59:11 -0500
Message-Id: <Pine.LNX.3.95.961018135824.23334B-100000@morpho.dar.net>
Date: Fri, 18 Oct 1996 13:59:10 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Ellsworth <are1@cec.wustl.edu>
To: Forrest Aldrich <forrie@lotus.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Win95/NT clients can't MKDIR
In-Reply-To: <199610181659.MAA19939@spook.lotus.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 Fri, 18 Oct 1996, Forrest Aldrich wrote:

> We're having a strange problem.  Clients that connect using Win95 or NT
> cannot use the MKDIR command.  The error returned is "500 command not 
> understood".  I've checked and verified ftpaccess, etc., and all seems
> okay.  Anyone know about this?

What FTP client are you using?  It sounds like the FTP client is sending
weird commands to wu-ftpd.


+----------------------------------------------------------------------------+
| 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 Fri Oct 18 16:16: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 #8) id m0vEO9J-000lKjC; Fri, 18 Oct 96 16: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 SAA19285; Fri, 18 Oct 1996 18:12:07 -0500
Received: from oswald.eciad.bc.ca (oswald.eciad.bc.ca [199.60.227.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA19064 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 18:06:02 -0500
Received: (csawyer@localhost) by oswald.eciad.bc.ca (8.7.5/ECIAD-1.0H)
  id QAA15772 (from csawyer); Fri, 18 Oct 1996 16:05:20 -0700 (PDT)
Message-Id: <Pine.SGI.3.91.961018160200.15325C-100000@oswald>
Date: Fri, 18 Oct 1996 16:05:19 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Cal Sawyer <csawyer@eciad.bc.ca>
To: WUSTL ListProc <wu-ftpd@wugate.wustl.edu>
Subject: shells and ftp
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have a couple of ksh users that can't connect to our wu-ftpd running 
under IRIX6.2. csh'ers have no problem.  The syslog returns <bad shell> 
for all attempts to ftp to a ksh user's directory.

Any thoughts, folks? TIA!

--------------------------------------- 
Cal Sawyer
Electronic Communication Design         
Emily Carr Institute of Art and Design 
Vancouver, B.C.  Canada                
                 ** Abolish karoshi **
          ** Just say NO to cookies **
--------------------------------------- 


From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 16:41: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 #8) id m0vEOY5-000lQLC; Fri, 18 Oct 96 16: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 SAA20527; Fri, 18 Oct 1996 18:37:32 -0500
Received: from mercury.iss.ca (mercury.iss.ca [134.87.18.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA19802 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 18:24:02 -0500
Received: by iss.ca (5.x/SMI-SVR4)
	id AA02600; Fri, 18 Oct 1996 16:25:25 -0700
Message-Id: <961018122*mason.ip@iss.ca>
Date: 18 Oct 96 16:25 PDT
            Action: Relayed
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mason ip <mason.ip@iss.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: re: shells and ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Cal Sawyer wrote:
> I have a couple of ksh users that can't connect to our wu-ftpd running
> under IRIX6.2. csh'ers have no problem.  The syslog returns <bad shell>
> for all attempts to ftp to a ksh user's directory.

Please read the INSTALL file that came with the package (2.4) :
: 5.  Make sure that you have a /etc/shells that lists all valid shells on
:    your system.  Otherwise, those who have shells not listed there will
:    not be able to log in.  [Yes, this is the expected behaivor.]

Hope this help.

mason.ip@vancouver.iss.ca

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 17:51:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vEPdT-000lS1C; Fri, 18 Oct 96 17: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 TAA22923; Fri, 18 Oct 1996 19:47:17 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA22832 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 19:44:55 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id TAA06007 for wu-ftpd@wugate.wustl.edu; Fri, 18 Oct 1996 19:44:53 -0500
Message-Id: <199610190044.TAA06007@gateway.fmp.com>
Date: Fri, 18 Oct 1996 19:44:53 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Win95/NT clients can't MKDIR
In-Reply-To: <Pine.LNX.3.95.961018135824.23334B-100000@morpho.dar.net> from "Andy Ellsworth" at Oct 18, 96 01:59:10 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

"Thus spake Andy Ellsworth"
> On Fri, 18 Oct 1996, Forrest Aldrich wrote:
> 
> > We're having a strange problem.  Clients that connect using Win95 or NT
> > cannot use the MKDIR command.  The error returned is "500 command not 
> > understood".  I've checked and verified ftpaccess, etc., and all seems
> > okay.  Anyone know about this?
> 
> What FTP client are you using?  It sounds like the FTP client is sending
> weird commands to wu-ftpd.

Try the command QUOTE MKDIR etc.  which should pass the command umodified.

-- 
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 18:03: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 #8) id m0vEPoh-000FLtC; Fri, 18 Oct 96 18: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 TAA23309; Fri, 18 Oct 1996 19:58:58 -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 TAA23168 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 19:54:48 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id UAA26215 for wu-ftpd@wugate.wustl.edu; Fri, 18 Oct 1996 20:54:47 -0400 (EDT)
Message-Id: <199610190054.UAA26215@finnegan.EE.McGill.CA>
Date: Fri, 18 Oct 1996 20:54:47 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Win95/NT clients can't MKDIR
In-Reply-To: <199610190044.TAA06007@gateway.fmp.com> from "Lindsay Haisley" at Oct 18, 96 07:44:53 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

> 
> "Thus spake Andy Ellsworth"
> > On Fri, 18 Oct 1996, Forrest Aldrich wrote:
> > 
> > > We're having a strange problem.  Clients that connect using Win95 or NT
> > > cannot use the MKDIR command.  The error returned is "500 command not 
> > > understood".  I've checked and verified ftpaccess, etc., and all seems
> > > okay.  Anyone know about this?
> > 
> > What FTP client are you using?  It sounds like the FTP client is sending
> > weird commands to wu-ftpd.
> 
> Try the command QUOTE MKDIR etc.  which should pass the command umodified.
> 

the command ,if use quote, is mkd so:

QUOTE MKD dir_name

many ftp clients have an mkdir command, builtin.
MKDIR as an raw ftp command doesn't exist.

--
au revoir, alain

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 21:28:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vET1P-000lJgC; Fri, 18 Oct 96 21: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 XAA28005; Fri, 18 Oct 1996 23:24:15 -0500
Received: from gemini.larc.nasa.gov (gemini.larc.nasa.gov [128.155.2.20]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA27909 for <wu-ftpd@wugate.wustl.edu>; Fri, 18 Oct 1996 23:20:42 -0500
Received: by gemini.larc.nasa.gov (8.6.12/11.5)
	id AAA27628; Sat, 19 Oct 1996 00:20:41 -0400
Message-Id: <199610190420.AAA27628@gemini.larc.nasa.gov>
Date: Sat, 19 Oct 1996 00:20:41 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: noid@gemini.larc.nasa.gov (Tim P. Starrin)
To: wu-ftpd@wugate.wustl.edu
Cc: noid@gemini.larc.nasa.gov
Subject: 2nd resend of ftpd bug
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm not sure if people are seeing this email, I haven't received any replies,
so I'm trying sending from a different host...

WU-ftpd-2.4 and probably earlier versions, appear to drop null bytes when
transferring binary files in ASCII mode.  Now, I'm sure many people would
react right away and say, "don't transfer binary files in ASCII mode".
However, shouldn't this work for some binary files anyway between like
Unix systems?
 
Using a 1-MB test file, I was able to successfully transfer it in ASCII
mode to AIX, SunOS, Solaris, UNICOS, and ConvexOS systems (using each vendor's
ftp server) and get the file back with no problems.
 
However, wu-ftpd drops null bytes while transferring files in ASCII mode if
they follow ^M's in some situations.  I have source code access to AIX,
UNICOS, and ConvexOS, and compared these sources to wu-ftpd.  None of
these vendor's ftpd.c's are coded to drop null bytes when they follow ^M's; 
however, wu-ftpd's ftpd.c is as follows...
 
 
--- ftpd.c, excerpt from receive_data() function ---
 
...
 
    switch (type) { 
...
 
    case TYPE_A:
        while ((c = getc(instr)) != EOF) {
            byte_count++;
            if (c == '\n')
                bare_lfs++;
            while (c == '\r') {
                if (ferror(outstr))
                    goto data_err;
                if ((c = getc(instr)) != '\n') {
                    (void) putc('\r', outstr);
------------------> if (c == '\0' || c == EOF)
                        goto contin2;
                }
            }
            (void) putc(c, outstr);
          contin2:;
        }
 
...
 
 
Note the line pointed to,  why is '\0' checked for here?  Shouldn't it be only
a check for EOF?  Anytime a ^M is followed by a '\0', the goto gets
executed and the putc of the '\0' is skipped.  None of the other ftp sources
I looked at check for the '\0' and skip it.  I think this is a bug.  If
it's not, would somebody tell me the real (and logical) reason why nulls are
skipped here?  Maybe it's just old leftover code that was supposed to cover
some EOF condition or some such?  The easy fix is to just remove the
"c == '\0' ||" portion of the "if" check.
 
96 bytes were dropped in my 1-MB test file due to this problem, essentially
corrupting the file.
 
Please reply as soon as possible - I'm ready to install some enhancements I've
made for our +2.5 million file hierarchical mass storage system and need to 
know how to proceed.  Thanks!
 
Tim P. Starrin (CSC)
DMSS Project Technical Lead
Project Systems Analyst / Computer Scientist
National Aeronautics and Space Administration

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 18 22:16: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 #8) id m0vETlh-000CtdC; Fri, 18 Oct 96 22: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 AAA00217; Sat, 19 Oct 1996 00:11:48 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA29720 for <wu-ftpd@wugate.wustl.edu>; Sat, 19 Oct 1996 00:00:14 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id AAA06843 for wu-ftpd@wugate.wustl.edu; Sat, 19 Oct 1996 00:00:09 -0500
Message-Id: <199610190500.AAA06843@gateway.fmp.com>
Date: Sat, 19 Oct 1996 00:00:08 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 2nd resend of ftpd bug
In-Reply-To: <199610190420.AAA27628@gemini.larc.nasa.gov>
MIME-Version: 1.0
Content-Type: text/plain
X-Stateof: permanent_confusion
X-Mailer: Ishmail 1.3-960829-linux <http://www.ishmail.com>
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is this really a problem?  My understanding is that ASCII ftp mode was
developed to accomodate the different character representation and 
formatting conventions in use for text files on various systems from
mainframes to micros (such as the difference between Unix and DOS newlines). 
Since nulls are not signifigant in terms of Unix character representation,
it's probably a no-nevermind as to what's done with them, and in fact it
would seem to me to be more logical >not< to pass them.  I'm sure there must
be an RFC covering this somewhere.

Thus spake noid@gemini.larc.nasa.gov (Tim P. Starrin):
> I'm not sure if people are seeing this email, I haven't received any
> replies,
> so I'm trying sending from a different host...
> 
> WU-ftpd-2.4 and probably earlier versions, appear to drop null bytes when
> transferring binary files in ASCII mode.  Now, I'm sure many people would
> react right away and say, "don't transfer binary files in ASCII mode".
> However, shouldn't this work for some binary files anyway between like
> Unix systems?
>  
> Using a 1-MB test file, I was able to successfully transfer it in ASCII
> mode to AIX, SunOS, Solaris, UNICOS, and ConvexOS systems (using each
> vendor's
> ftp server) and get the file back with no problems.
>  
> However, wu-ftpd drops null bytes while transferring files in ASCII mode if
> they follow ^M's in some situations.  I have source code access to AIX,
> UNICOS, and ConvexOS, and compared these sources to wu-ftpd.  None of
> these vendor's ftpd.c's are coded to drop null bytes when they follow ^M's;
> however, wu-ftpd's ftpd.c is as follows...
>  
>  
> --- ftpd.c, excerpt from receive_data() function ---
>  
> ...
>  
>     switch (type) { 
> ...
>  
>     case TYPE_A:
>         while ((c = getc(instr)) != EOF) {
>             byte_count++;
>             if (c == '\n')
>                 bare_lfs++;
>             while (c == '\r') {
>                 if (ferror(outstr))
>                     goto data_err;
>                 if ((c = getc(instr)) != '\n') {
>                     (void) putc('\r', outstr);
> ------------------> if (c == '\0' || c == EOF)
>                         goto contin2;
>                 }
>             }
>             (void) putc(c, outstr);
>           contin2:;
>         }
>  
> ...
>  
>  
> Note the line pointed to,  why is '\0' checked for here?  Shouldn't it be
> only
> a check for EOF?  Anytime a ^M is followed by a '\0', the goto gets
> executed and the putc of the '\0' is skipped.  None of the other ftp
> sources
> I looked at check for the '\0' and skip it.  I think this is a bug.  If
> it's not, would somebody tell me the real (and logical) reason why nulls
> are
> skipped here?  Maybe it's just old leftover code that was supposed to cover
> some EOF condition or some such?  The easy fix is to just remove the
> "c == '\0' ||" portion of the "if" check.
>  
> 96 bytes were dropped in my 1-MB test file due to this problem, essentially
> corrupting the file.
>  
> Please reply as soon as possible - I'm ready to install some enhancements
> I've
> made for our +2.5 million file hierarchical mass storage system and need to
> know how to proceed.  Thanks!
>  
> Tim P. Starrin (CSC)
> DMSS Project Technical Lead
> Project Systems Analyst / Computer Scientist
> National Aeronautics and Space Administration


--
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Sat Oct 19 10:01: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 #8) id m0vEemS-000CpFC; Sat, 19 Oct 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 LAA13672; Sat, 19 Oct 1996 11:57:52 -0500
Received: from camelot.netmarket.com (camelot.netmarket.com [199.79.247.247]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA13554 for <wu-ftpd@wugate.wustl.edu>; Sat, 19 Oct 1996 11:53:49 -0500
Received: from tannis.netmarket.com (tannis.netmarket.com [172.16.1.10]) by camelot.netmarket.com (8.7.3/8.7.3) with ESMTP id MAA11091; Sat, 19 Oct 1996 12:53:47 -0400 (EDT)
Received: (from hal@localhost) by tannis.netmarket.com (8.6.10/8.6.10) id MAA11062; Sat, 19 Oct 1996 12:53:15 -0400
Message-Id: <199610191653.MAA11062@tannis.netmarket.com>
Date: Sat, 19 Oct 1996 12:53:15 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Hal Pomeranz <hal@cie.cuc.com>
To: skey-users@thumper.bellcore.com, wu-ftpd@wugate.wustl.edu
Subject: OPIE patch for wuarchive ftpd?
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Has anybody modified wu-ftpd to support OPIE one time password challenges
in lieu of reusable passwords?  I would much rather somebody mailed me
a patch file than to have to hack the code myself.  Yes, I am aware that
the OPIE distribution comes with an OPIE-enabled ftpd, but there are some
features of wu-ftpd that I wish to take advantage of.

Please email me directly (as I don't regularly read either of these
lists) and I will summarize.

Thanks in advance.

Hal Pomeranz, Director
Infrastructure Development/Support
CUC Internet Engineering

From owner-wu-ftpd@wugate.wustl.edu Sat Oct 19 10:38: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 #8) id m0vEfLt-000EwIC; Sat, 19 Oct 96 10: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 MAA14814; Sat, 19 Oct 1996 12:34:14 -0500
Received: from wopie.prowillen.com ([207.211.12.70]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA14624 for <wu-ftpd@wugate.wustl.edu>; Sat, 19 Oct 1996 12:28:37 -0500
Received: from [207.211.12.145] (blackbird [207.211.12.145]) by wopie.prowillen.com (8.7.5/8.7.3) with ESMTP id KAA02804 for <wu-ftpd@wugate.wustl.edu>; Sat, 19 Oct 1996 10:28:03 -0700 (PDT)
Message-Id: <v03007800ae8ebfcfd762@[207.211.12.145]>
Date: Sat, 19 Oct 1996 10:28:03 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Uwe Willenbacher <uwe@prowillen.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: OPIE patch for wuarchive ftpd?
In-Reply-To: <199610191653.MAA11062@tannis.netmarket.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 12:53 PM -0400 10/19/96, you wrote:


<SNIP>

> Please email me directly (as I don't regularly read either of these
> lists) and I will summarize.

Please do let me know if you get some reply to your inquire on OPIE patch
for wu-ftpd - I'd love to implement OPIE as well:)

- Uwe Willenbacher



From owner-wu-ftpd@wugate.wustl.edu Sun Oct 20 11:56: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 #8) id m0vF32b-000AlHC; Sun, 20 Oct 96 11: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 NAA14344; Sun, 20 Oct 1996 13:52:09 -0500
Received: from light.lightlink.com (light.lightlink.com [205.232.34.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA14197 for <wu-ftpd@wugate.wustl.edu>; Sun, 20 Oct 1996 13:46:36 -0500
Received: from localhost (homer@localhost) by light.lightlink.com (8.7.6/8.7.3) with SMTP id OAA23216; Sun, 20 Oct 1996 14:46:33 -0400 (EDT)
Message-Id: <Pine.SUN.3.95.961020144528.21636I-100000@light.lightlink.com>
Date: Sun, 20 Oct 1996 14:46:32 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: john paine <x25@lightlink.com>
Cc: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>,
        System Group <system@lightlink.com>
Subject: Core dump security breach
In-Reply-To: <199610201818.OAA21522@light.lightlink.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


     To: wu-ftpd@wugate.wustl.edu

     Anyone have any comments on this?

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

On Sun, 20 Oct 1996, john paine wrote:

> There's 2 recent holes in wu-ftpd, and we're potentially suceptible to one
> of them. 
> 
> The problem is that ftpd can't handle more than 100 arguments to a
> command, but lets you make the request anyway.  This results in a
> seg-fault and (if the system allows it) core dump. 
> 
> Because ftpd is running as root, the core can contain shadow file
> information, and is world readable.  Even worse, if you can drop a link in
> where the core will dump, the core will follow the link and overwrite any
> file you choose. 
> 
> The version of ftpd we run does seg-fault with 101 arguments (ie, "get 1 2
> 3 4...101"), but doesn't produce a core dump.  I'm not quite sure why.  If
> someone can figure out how to get the core dump to happen, they can get
> our (crypted) root password or overwrite any file on the system. 
> 
> wu-ftpd is apparently not being officially supported anymore, so there
> won't be any official fixes for it.  There is a wrapper that enforces the
> "no core" rule for ftpd, which looks simple and workable for us.  
> 
> We change the ftp line in /etc/inetd.conf to read 
> 
> ftp     stream  tcp     nowait  root    /usr/sbin/wrap_in.ftpd  in.ftpd
> 
> which calls this wrapper (put into /usr/sbin/wrap_in.ftpd):
> 
> /* ------- start here ------------------------------------------- */
> #include <stdio.h>
> #include <sys/time.h>
> #include <sys/resource.h>
> 
> struct rlimit rlp;
> 
> int
> main( int argc, char **argv, char **env )
> {
> 
>    if ( getrlimit( RLIMIT_CORE , &rlp )!=0 ) {
>       perror("getrlimit(RLIMIT_CORE)");
>    } else {
>       rlp.rlim_cur = 0;
>       if ( setrlimit( RLIMIT_CORE , &rlp )!=0 ) {
>          perror("setrlimit(RLIMIT_CORE)");
>       } else {
>          execve("/usr/sbin/in.ftpd", argv, env);
>          perror("execve(\"/usr/sbin/in.ftpd\")");
>       }
>    }
> 
>    return(1);
> }
> /* ----- end here ----------------------------------------------- */
> 
> Sounds good?  Do we do it?
> 
> -x25
> 

From owner-wu-ftpd@wugate.wustl.edu Sun Oct 20 23:55: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 #8) id m0vFEGY-000AfeC; Sun, 20 Oct 96 23: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 BAA29546; Mon, 21 Oct 1996 01:50:27 -0500
Received: from work1.rhrz.uni-bonn.de (work1.rhrz.uni-bonn.de [131.220.16.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id BAA29066 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 01:27:47 -0500
Received: from localhost (uzr10a@localhost) by work1.rhrz.uni-bonn.de with SMTP id IAA20796
  (8.7.6/IDA-1.6 for <wu-ftpd@wugate.wustl.edu>); Mon, 21 Oct 1996 08:22:13 +0200
Message-Id: <Pine.A32.3.93.961021082107.44414A-100000@work1.rhrz.uni-bonn.de>
Date: Mon, 21 Oct 1996 08:22:13 +0200 (MES)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Wolf Kammer <uzr10a@work1.rhrz.uni-bonn.de>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with wu-ftpd on SUN (fwd)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



---------- Forwarded message ----------
Date: Fri, 18 Oct 1996 15:37:06 +0200 (MES)
From: Wolf Kammer <uzr10a@work1.rhrz.uni-bonn.de>
To: wu-ftpd-request@mail.wustl.edu
Subject: Problem with wu-ftpd on SUN


Hallo,

we use wu-2.4(23) on AIX 3.2.5 without any problem. Now we have to
establish an anonymous ftp on a SUN with SUNOS 4.1.3. We have installed
wu-ftpd according to the installation instructions. When ftp-ing the SUN
it is responding with "SUN3: wu-2.4(1) ........ ready". But when the user
ftp or anonymous is entered the answer is "service is not available,
remote host has closed connection, login failed". What could be the
problem?

Thanks for any help

Wolf Kammer




From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 07:55: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 #8) id m0vFLlZ-000AthC; Mon, 21 Oct 96 07: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 JAA17788; Mon, 21 Oct 1996 09:51:41 -0500
Received: from cyborg.larc.nasa.gov (cyborg.larc.nasa.gov [128.155.3.75]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA17478 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 09:47:06 -0500
Received: (from noid@localhost) by cyborg.larc.nasa.gov
 (8.6.12/server3.4) id KAA07544; Mon, 21 Oct 1996 10:45:18 -0400
Message-Id: <199610211445.KAA07544@cyborg.larc.nasa.gov>
Date: Mon, 21 Oct 1996 10:45:18 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tim P. Starrin" <noid@cyborg.larc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu, alain.magloire@rcsm.ee.mcgill.ca
Cc: noid@gemini.larc.nasa.gov
Subject: Re: 2nd resend of ftpd bug
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


> From alain.magloire@rcsm.ee.mcgill.ca Sat Oct 19 22:51:57 1996
> From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
> Subject: Re: 2nd resend of ftpd bug
> To: wu-ftpd@wugate.wustl.edu
> Date: Sat, 19 Oct 1996 22:53:23 -0400 (EDT)
> Cc: noid@gemini.larc.nasa.gov
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> 
> The format for ASCII is NVT ASCII as describe in RFC854
> i.e.
> strings<LF> --> strings<CR><LF>
> 
> If mode is TYPE A
> The server will always send in NVT ASCII
> it's the client responsability to transfert back again
> Thus for two Unix systems it's a waste.
> 
> server will do the conversion
> strings<LF> --> strings<CR><LF>
> and send
> 
> Client will receive and convert back again
> strings<CR><LF> --> strings<LF>
> 
> ** Must new Ftp client nowadays will issue
> SYST command
> and if the answer is:
> 215 UNIX TYPE: L8 ...
> 
> they will fall back to binary.
> 
> Type A is also wastefull because the server
> will look at every byte(see the code below)
> with getc(). With binary it's done by block
> read()
> 
> [deleted]

Some vendors versions of ftpd do buffering here with vectorization and can speed
up the code as much as 10X over the getc version of ASCII mode.


> >  
> : > --- ftpd.c, excerpt from receive_data() function ---
> : >  
> 
> !!!!!!!!!!!!!!!!!!!
> I have no idea where you get this code but
> in the wu-ftpd that I have(also BSDftp)
> the function is a simple mapping:
> 
>     case TYPE_A:
>         while ((c = getc(instr)) != EOF) {
>             byte_count++;
>             if (c == '\n') {
>                 if (ferror(outstr))
>                     goto data_err;
>                 (void) putc('\r', outstr);
>             }
>             (void) putc(c, outstr);
>         }
> 
> the code you have below is not in wu-ftpd-2.4 nor
> BSDftp(at least not from my distributions ??)
> 

That is the first switch statement, try looking at your source for the same 
case in the second switch statement (line 1883 in wuftp-2.4, line 2378 in 
wu-ftpd-2.4.2-beta-11).

> : > ...
> : >  
> : >     switch (type) { 
> : > ...
> : >  
> : >     case TYPE_A:
> : >         while ((c = getc(instr)) != EOF) {
> : >             byte_count++;
> : >             if (c == '\n')
> : >                 bare_lfs++;
> : >             while (c == '\r') {
> : >                 if (ferror(outstr))
> : >                     goto data_err;
> : >                 if ((c = getc(instr)) != '\n') {
> : >                     (void) putc('\r', outstr);
> : > ------------------> if (c == '\0' || c == EOF)
> : >                         goto contin2;
> : >                 }
> : >             }
> : >             (void) putc(c, outstr);
> : >           contin2:;
> : >         }
> : >  
> : > ...
> 
> 
> --
> bonne journe'e, alain
> 

It sounds like the RFC defines no action for NULL bytes, so why is ftpd.c
coded to drop them when following ^M's?  By changing this one line in the code,
ASCII mode behaves as it does on other systems that don't exhibit the problem.
With over 2,000 users having access to our mass storage system, you can imagine
the widely-varied levels of computer literacy exhibited by them.   I would just
like to close this potential hole that some of them will fall into (despite
our efforts to educate them).  Can we call this a bug and have the line 
changed to "if (c == EOF)"?

Tim

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 08:49:23 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vFMbQ-0000RRC; Mon, 21 Oct 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 KAA20605; Mon, 21 Oct 1996 10:45:19 -0500
Received: from shani.net (shani.net [192.115.25.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA20337 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 10:41:34 -0500
Received: from localhost by shani.net (AIX 4.1/UCB 5.64/4.03)
          id AA21774; Mon, 21 Oct 1996 17:40:03 +0300
Message-Id: <Pine.A32.3.95.961021173753.21636A-100000@shani.net>
Date: Mon, 21 Oct 1996 17:40:03 +0300 (USADT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Nino Uziel <nino@shani.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with wu-ftpd on SUN (fwd)
In-Reply-To: <Pine.A32.3.93.961021082107.44414A-100000@work1.rhrz.uni-bonn.de>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi I am trying to install the wu-ftp in my system. 
I am on an AIX 4 system and there is the ftp deamon that came with
the software. I am trying to install a second ftp deamon. I get wierd
messages about dirs not being crated and so on. Can you aid a drowning
friend ?
Nino

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 09:17: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 #8) id m0vFN2g-000ASCC; Mon, 21 Oct 96 09: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 LAA22141; Mon, 21 Oct 1996 11:11:49 -0500
Received: from bandon.moodys.com (BANDON.MOODYS.COM [141.160.2.224]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA21738 for <wu-ftpd@mail.wustl.edu>; Mon, 21 Oct 1996 11:04:18 -0500
Received: by bandon.moodys.com; id AA28751; Mon, 21 Oct 96 12:05:57 EDT
Received: from hannibal(141.160.10.156) by bandon.moodys.com via smap (V3.1.1)
	id xma028748; Mon, 21 Oct 96 12:05:56 -0400
Received: from smtpgate1.moodys.com by moodys.com (4.1/SMI-4.1)
	id AA07923; Mon, 21 Oct 96 12:03:02 EDT
Received: by smtpgate1.moodys.com with Microsoft Mail
	id <326BA1FC@smtpgate1.moodys.com>; Mon, 21 Oct 96 12:17:00 EDT
Message-Id: <326BA1FC@smtpgate1.moodys.com>
Date: Mon, 21 Oct 96 12:04:00 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Monereau, Alex" <monereaa@moodys.com>
To: "'smtp:wu-ftpd@mail.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Problem with build on AIX 4.1.4 systems
X-Mailer: Microsoft Mail V3.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Having problem " ./build aix " on AIX 4.1.4 system. It  fails right away and 
I'm unable to determine what the problem is ? Is anyone else having the same 
problem ? If so what was the resolution ?????//
Below is the output received:

# ./build aix
make args are :
make opts are :

Linking Makefiles.
ln: Makefile exists.  Specify -f to remove.
ln: config.h exists.  Specify -f to remove.
ln: Makefile exists.  Specify -f to remove.

Making support library.
        gcc -O -DDEBUG   -c strdup.c
strdup.c:48: conflicting types for `strdup'
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2.1/include/string.h:146: 
previous declaration of `strdup'
make: The error code from the last command is 1.


Stop.

Making ftpd.
        gcc -O -DDEBUG -I.. -I../support -L../support -c ftpd.c
ftpd.c:143: conflicting types for `realpath'
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2.1/include/stdlib.h:428: 
previous declaration of `realpath'
ftpd.c: In function `pass':
ftpd.c:1002: warning: assignment makes integer from pointer without a cast
ftpd.c:1153: warning: passing arg 1 of `setgroups' makes integer from 
pointer without a cast
ftpd.c: In function `opt_string':
ftpd.c:1226: warning: comparison between pointer and integer
ftpd.c:1228: warning: comparison between pointer and integer
ftpd.c:1230: warning: comparison between pointer and integer
ftpd.c: In function `retrieve':
ftpd.c:1342: warning: comparison between pointer and integer
make: The error code from the last command is 1.

Stop.

Making ftpshut.
        gcc -O -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c 
vers.o -lsupport
gcc: vers.o: No such file or directory
ftpshut.c: In function `main':
ftpshut.c:188: warning: comparison between pointer and integer
ftpshut.c:191: warning: assignment makes integer from pointer without a cast
make: The error code from the last command is 1.


Stop.

Making ckconfig.
Target "ckconfig" is up to date.
ln: ckconfig exists.  Specify -f to remove.

Links to executables are in bin directory:
size: 0654-304 Cannot open bin/ftpd.
size: 0654-304 Cannot open bin/ftpcount.
size: 0654-304 Cannot open bin/ftpshut.
size: 0654-304 Cannot open bin/ftpwho.
bin/ckconfig: 2524 + 216 + 20 + 946 + 2172 = 5878
Done

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 09:38: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 #8) id m0vFNMc-000B4TC; Mon, 21 Oct 96 09: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 LAA23245; Mon, 21 Oct 1996 11:34:07 -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 LAA22254 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 11:14:28 -0500
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id MAA03435; Mon, 21 Oct 1996 12:14:24 -0400 (EDT)
Message-Id: <199610211614.MAA03435@finnegan.EE.McGill.CA>
Date: Mon, 21 Oct 1996 12:14:24 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: alain.magloire@rcsm.ee.mcgill.ca, noid@gemini.larc.nasa.gov
Subject: Re: 2nd resend of ftpd bug
In-Reply-To: <199610211445.KAA07544@cyborg.larc.nasa.gov> from "Tim P. Starrin" at Oct 21, 96 10:45:18 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

> 
> That is the first switch statement, try looking at your source for the same 
> case in the second switch statement (line 1883 in wuftp-2.4, line 2378 in 
> wu-ftpd-2.4.2-beta-11).
> 

noted, I was assuming, wrongly, that you were refering to function
send_data()

> > : > ...
> > : >  
> > : >     switch (type) { 
> > : > ...
> > : >  
> > : >     case TYPE_A:
> > : >         while ((c = getc(instr)) != EOF) {
> > : >             byte_count++;
> > : >             if (c == '\n')
> > : >                 bare_lfs++;
> > : >             while (c == '\r') {
> > : >                 if (ferror(outstr))
> > : >                     goto data_err;
> > : >                 if ((c = getc(instr)) != '\n') {
> > : >                     (void) putc('\r', outstr);
> > : > ------------------> if (c == '\0' || c == EOF)
> > : >                         goto contin2;
> > : >                 }
> > : >             }
> > : >             (void) putc(c, outstr);
> > : >           contin2:;
> > : >         }
> > : >  
> > : > ...
> > 
> > 
> 
> It sounds like the RFC defines no action for NULL bytes, so why is ftpd.c
> coded to drop them when following ^M's?  By changing this one line in the code,
> ASCII mode behaves as it does on other systems that don't exhibit the problem.
> With over 2,000 users having access to our mass storage system, you can imagine
> the widely-varied levels of computer literacy exhibited by them.   I would just
> like to close this potential hole that some of them will fall into (despite
> our efforts to educate them).  Can we call this a bug and have the line 
> changed to "if (c == EOF)"?
> 

:-)

Maybe you should send your patch to "ftp.academ.." or who ever
maintain wu-ftpd this days(don't know the email).
They're suppose to release a beta-1? ... "real soon" :-)

Can you Cc the patch to the mailing list so I can archive .. and play :)

> Tim
> 

regards, alain

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 09:56: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 #8) id m0vFNe4-000AV0C; Mon, 21 Oct 96 09: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 LAA24240; Mon, 21 Oct 1996 11:52:06 -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 LAA24074 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 11:48:11 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id SAA14527 for wu-ftpd@wugate.wustl.edu; Mon, 21 Oct 1996 18:48:51 +0200 (MET DST)
Message-Id: <199610211648.SAA14527@pizza.hvu.nl>
Date: Mon, 21 Oct 1996 18:48:50 +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: bugs
In-Reply-To: <199610211614.MAA03435@finnegan.EE.McGill.CA> from "Alain Magloire" at Oct 21, 96 12:14:24 pm
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Alain Magloire, who wrote :

> Maybe you should send your patch to "ftp.academ.." or who ever
> maintain wu-ftpd this days(don't know the email).

wu-ftpd-bugs@academ.com

> They're suppose to release a beta-1? ... "real soon" :-)

For as far as I know, wu-ftpd is not an official project of academ.com.
Therefore things like release dates don't mean much.

Even commercial software companies don't make their release dates. Let
alone hobby project.

                                           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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 09:59: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 #8) id m0vFNhL-000ATfC; Mon, 21 Oct 96 09: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 LAA24436; Mon, 21 Oct 1996 11:55:36 -0500
Received: from cyborg.larc.nasa.gov (cyborg.larc.nasa.gov [128.155.3.75]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA24138 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 11:50:09 -0500
Received: (from noid@localhost) by cyborg.larc.nasa.gov
 (8.6.12/server3.4) id MAA11045; Mon, 21 Oct 1996 12:48:32 -0400
Message-Id: <199610211648.MAA11045@cyborg.larc.nasa.gov>
Date: Mon, 21 Oct 1996 12:48:32 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tim P. Starrin" <noid@cyborg.larc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Cc: alain.magloire@rcsm.ee.mcgill.ca, noid@gemini.larc.nasa.gov
Subject: Re: 2nd resend of ftpd bug
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Ok, who maintains wu-ftpd and can post this patch and include it in the 
upcoming release (patch is at the end of this email for wu-ftpd-2.4.2-beta-11).

Tim P. Starrin (CSC)
Project Systems Analyst / Computer Scientist
National Aeronautics and Space Administration
Langley Research Center Operations

Address					Telephone/Email
-------					--------------
Computer Sciences Corporation	 	(804) 864-7373
3217 N. Armistead Ave.			(804) 864-7604 Fax
Hampton, VA 23666			noid@cyborg.larc.nasa.gov




> From alain.magloire@rcsm.ee.mcgill.ca Mon Oct 21 12:35:42 1996
> Date: Mon, 21 Oct 1996 12:14:24 -0400 (EDT)
> From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
> To: wu-ftpd@wugate.wustl.edu
> Cc: alain.magloire@rcsm.ee.mcgill.ca, noid@gemini.larc.nasa.gov
> Subject: Re: 2nd resend of ftpd bug
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> > 
> > That is the first switch statement, try looking at your source for the same 
> > case in the second switch statement (line 1883 in wuftp-2.4, line 2378 in 
> > wu-ftpd-2.4.2-beta-11).
> > 
> 
> noted, I was assuming, wrongly, that you were refering to function
> send_data()
> 
> > > : > ...
> > > : >  
> > > : >     switch (type) { 
> > > : > ...
> > > : >  
> > > : >     case TYPE_A:
> > > : >         while ((c = getc(instr)) != EOF) {
> > > : >             byte_count++;
> > > : >             if (c == '\n')
> > > : >                 bare_lfs++;
> > > : >             while (c == '\r') {
> > > : >                 if (ferror(outstr))
> > > : >                     goto data_err;
> > > : >                 if ((c = getc(instr)) != '\n') {
> > > : >                     (void) putc('\r', outstr);
> > > : > ------------------> if (c == '\0' || c == EOF)
> > > : >                         goto contin2;
> > > : >                 }
> > > : >             }
> > > : >             (void) putc(c, outstr);
> > > : >           contin2:;
> > > : >         }
> > > : >  
> > > : > ...
> > > 
> > > 
> > 
> > It sounds like the RFC defines no action for NULL bytes, so why is ftpd.c
> > coded to drop them when following ^M's?  By changing this one line in the code,
> > ASCII mode behaves as it does on other systems that don't exhibit the problem.
> > With over 2,000 users having access to our mass storage system, you can imagine
> > the widely-varied levels of computer literacy exhibited by them.   I would just
> > like to close this potential hole that some of them will fall into (despite
> > our efforts to educate them).  Can we call this a bug and have the line 
> > changed to "if (c == EOF)"?
> > 
> 
> :-)
> 
> Maybe you should send your patch to "ftp.academ.." or who ever
> maintain wu-ftpd this days(don't know the email).
> They're suppose to release a beta-1? ... "real soon" :-)
> 
> Can you Cc the patch to the mailing list so I can archive .. and play :)
> 
> > Tim
> > 
> 
> regards, alain
> 




Patch for wu-ftpd-2.4.2-beta-11 src/ftpd.c starts on next line (TPS)...
===================================================================
RCS file: RCS/ftpd.c,v
retrieving revision 1.1
diff -c -r1.1 ftpd.c
*** 1.1 1996/10/21 16:41:23
--- ftpd.c      1996/10/21 16:43:24
***************
*** 2375,2381 ****
                      goto data_err;
                  if ((c = getc(instr)) != '\n') {
                      (void) putc('\r', outstr);
!                     if (c == '\0' || c == EOF)
                          goto contin2;
                  }
              }
--- 2375,2381 ----
                      goto data_err;
                  if ((c = getc(instr)) != '\n') {
                      (void) putc('\r', outstr);
!                     if (c == EOF) /* null byte fix, noid@cyborg.larc.nasa.gov */
                          goto contin2;
                  }
              }

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 18:55: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 #8) id m0vFW3H-000BCtC; Mon, 21 Oct 96 18: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 UAA16194; Mon, 21 Oct 1996 20:50:38 -0500
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA15656 for <wu-ftpd@wugate.wustl.edu>; Mon, 21 Oct 1996 20:37:50 -0500
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA03519; Tue, 22 Oct 96 11:36:41 +1000
Message-Id: <v03007802ae91d0f9a6af@[137.92.10.14]>
Date: Tue, 22 Oct 1996 11:37:47 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: 425 Can't create data socket (0.0.0.0,20): Bad file number.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

That says it all for now.  How do I get it to open sockets to the right
address, and log connections for that matter.

Oh yeah, it's a sun4c running Solaris 2.4

Kim


--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Mon Oct 21 23:31: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 #8) id m0vFaMk-000BCMC; Mon, 21 Oct 96 23: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 BAA22036; Tue, 22 Oct 1996 01:26:30 -0500
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id BAA21761 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 01:14:55 -0500
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA12049; Tue, 22 Oct 96 16:13:46 +1000
Message-Id: <v03007804ae9215cbd1b5@[137.92.10.14]>
Date: Tue, 22 Oct 1996 16:14:44 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 425 Can't create data socket (0.0.0.0,20): Bad file number.
In-Reply-To: <v03007802ae91d0f9a6af@[137.92.10.14]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 11:37 AM +1000 22/10/96, Kim Holburn wrote:
>That says it all for now.  How do I get it to open sockets to the right
>address, and log connections for that matter.
>
>Oh yeah, it's a sun4c running Solaris 2.4


Thanks for the replies, unfortunately I have created those devices.  I
think they are correct.  I tried different permissions on the
~ftp/dev/directory itself but to no avail.:

# ls -l ~ftp/dev
total 4
d--x--x--x   2 root     other        512 Oct 21 12:05 ./
drwxr-xr-x   9 root     other        512 Oct 21 16:05 ../
crw-rw-rw-   1 root     other     11, 42 Oct 21 12:05 tcp
cr--r--r--   1 root     other     13, 12 Oct 21 12:05 zero


--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:25:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vFihv-000Ai5C; Tue, 22 Oct 96 08: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 KAA10692; Tue, 22 Oct 1996 10:21:35 -0500
Received: from chico.rediris.es (chico.rediris.es [130.206.1.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA10080 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 10:09:26 -0500
Received: from haydn.rediris.es by chico.rediris.es (8.7.6/8.7.3) with SMTP id RAA00279 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 17:08:53 +0200 (MET DST)
Message-Id: <961022170715.ZM21425@haydn.rediris.es>
Date: Tue, 22 Oct 1996 17:08:53 +0200 (MET DST)
Reply-To: Javier.Puche@rediris.es
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Javier Puche. CSIC RedIRIS" <javier.puche@rediris.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem accesing wu-ftpd with Fetch
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail for Macintosh (3.3.1 27Mar96)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi all,

 I comment the following problem just in case any of you has had it
before.

 I have an wu-ftpd server on a Solaris 2.5 machine, it behaves perfectly
but for an slight problem that arises when connecting to a real user
account with a Fetch client from a Macinthosh. In this, and only in this
scenario it mangles the directory listing showing some directories as
strange files which name starts with the user name, group and date and
things like that.

 The wu-ftpd I am running is patched with the patches for symlinks
traversal, but that doesn't matter: I have gcc-compiled other wu-ftpd's
like beta10,11,.... and behave the same way in this machine.
 I have also checked that running that server in another Solaris 2.5
machine doesn't show that trouble. So it is a problem with the machine (
configuration )

 I think the problem started after migration from Solaris 2.4 to 2.5, but
it was a complete installation after re-partitioning and restoring only
some of the old directories. 

 Ok, the thing is that I do not find any thing that could be
mis-configured and I wander if any of you has had that problem.


Best regards,



Javier Puche.

PS: I also would love if any of you tells me where to find information
on how to handle properly wtmp and wtmpx with wu-ftpd under Solaris 2.5
for avoiding acctcon messages.

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:28:13 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 #8) id m0vFikW-000BJsC; Tue, 22 Oct 96 08:28 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vFczn-0003PoC; Tue, 22 Oct 96 02: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 EAA26204; Tue, 22 Oct 1996 04:11:12 -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 CAA23400 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 02:20:05 -0500
Received: from carbon.uab.es ("port 33867"@carbon.uab.es)
 by cc.uab.es (PMDF V5.0-7 #2461) id <01IAXSO0LTHI007RID@cc.uab.es> for
 wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 09:20:18 +0000
Received: by carbon.uab.es (SMI-8.6/SMI-SVR4) id JAA02463; Tue,
 22 Oct 1996 09:21:54 +0200
Message-Id: <199610220721.JAA02463@carbon.uab.es>
Date: Tue, 22 Oct 1996 09:21:54 +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: 425 Can't create data socket (0.0.0.0,20): Bad file number.
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> From kim@csc.canberra.edu.au Tue Oct 22 08:36:20 1996
> 
> At 11:37 AM +1000 22/10/96, Kim Holburn wrote:
> >That says it all for now.  How do I get it to open sockets to the right
> >address, and log connections for that matter.
> >
> >Oh yeah, it's a sun4c running Solaris 2.4
> 
> 
> Thanks for the replies, unfortunately I have created those devices.  I
> think they are correct.  I tried different permissions on the
> ~ftp/dev/directory itself but to no avail.:
> 
> # ls -l ~ftp/dev
> total 4
> d--x--x--x   2 root     other        512 Oct 21 12:05 ./
> drwxr-xr-x   9 root     other        512 Oct 21 16:05 ../
> crw-rw-rw-   1 root     other     11, 42 Oct 21 12:05 tcp
> cr--r--r--   1 root     other     13, 12 Oct 21 12:05 zero
> 

i also have:

   crw-rw-rw-   1 root     other    105,  1 Mar 22  1996 ticotsord
   crw-rw-rw-   1 root     other     11, 41 Mar 22  1996 udp

this is with Solaris 2.5.1, so major and minor no may differ from those in
Sol2.4

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 Oct 22 08:28:47 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 #8) id m0vFil4-000BJdC; Tue, 22 Oct 96 08:28 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vFdQr-000317C; Tue, 22 Oct 96 02: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 EAA27287; Tue, 22 Oct 1996 04:40:30 -0500
Received: from discovery.brad.ac.uk (discovery.brad.ac.uk [143.53.2.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA27178 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 04:38:13 -0500
Received: from morph.acc.brad.ac.uk (user root) by discovery.brad.ac.uk; Tue, 22 Oct 1996 10:38:33 +0100
Received: from shocked.acc.brad.ac.uk (shocked.acc.brad.ac.uk [143.53.1.3]) by morph.acc.brad.ac.uk (8.7.2) with ESMTP id KAA05975 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 10:41:14 +0100 (BST)
Received: (from anthony@localhost) by shocked.acc.brad.ac.uk (8.7.5/8.7.3) id KAA00331 for wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 10:37:16 +0100 (BST)
Message-Id: <199610220937.KAA00331@shocked.acc.brad.ac.uk>
Date: Tue, 22 Oct 1996 10:37:16 +0100 (BST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: A.Ryan@bradford.ac.uk
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 425 Can't create data socket (0.0.0.0,20): Bad file number
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Solaris 2 use the truss command to see what is happening to the ftpd pid.
E.g. on your ftp server for each connection you get a pid like this:

root 25235   136  0 10:34:02 ?        0:00 ftpd -la

If you use:

truss -t open -p 25235

you will see which files it tries to open and maybe which files are missing
or have the wrong permissions.

> Thanks for the replies, unfortunately I have created those devices.  I
> think they are correct.  I tried different permissions on the
> ~ftp/dev/directory itself but to no avail.:
> 
> # ls -l ~ftp/dev
> total 4
> d--x--x--x   2 root     other        512 Oct 21 12:05 ./
> drwxr-xr-x   9 root     other        512 Oct 21 16:05 ../
> crw-rw-rw-   1 root     other     11, 42 Oct 21 12:05 tcp
> cr--r--r--   1 root     other     13, 12 Oct 21 12:05 zero
> 

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:38: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 #8) id m0vFiuP-000AwpC; Tue, 22 Oct 96 08: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 KAA11540; Tue, 22 Oct 1996 10:34:21 -0500
Received: from gatekeeper.ray.com (gatekeeper.ray.com [138.125.162.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA11122 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 10:27:35 -0500
Received: (mailer@localhost) by gatekeeper.ray.com (8.7.5/8.7.3) id LAA24660 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 11:26:43 -0400
Received: from jaguar.nmc.ed.ray.com by gatekeeper.ray.com; Tue Oct 22 11:26:30 1996
Received: from cae091.ed.ray.com.noname by jaguar.nmc.ed.ray.com (4.1/SMI-4.1-DNI)
	id AA01064; Tue, 22 Oct 96 11:27:00 EDT
Received: from cae012.noname by cae091.ed.ray.com.noname (4.1/SMI-4.1)
	id AA04431; Tue, 22 Oct 96 11:26:11 EDT
Message-Id: <9610221526.AA04431@cae091.ed.ray.com.noname>
Date: Tue, 22 Oct 96 11:26:11 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: nsp83273@cae091.ed.ray.com (Neal Pressman ex 2317)
To: wu-ftpd@wugate.wustl.edu
Subject: ls troubles
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

i have compiled wu-ftpd onto a ss1000 running sol 2.5 all seems to work
except ls -l and dir both return nothing but ls works as near as i can tell
i have setup everything acording to the doc.

                                
                                \\|//
                                (o o)
----------------------------oooO-(_)-Oooo----------------------------
 Neal S. Pressman                        Raytheon Electronic Systems
 System Administrator (MCAD)             528 Boston Post Road
 phone:  (508) 440-2317                  Sudbury, MA  01776
 fax:    (508) 440-2684                  ms 4-1-283
 E-mail:  nsp@cae091.ed.ray.com
____________________________________Oooo.____________________________
                             .oooO  (___)

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:41:39 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 #8) id m0vFixW-000AQpC; Tue, 22 Oct 96 08:41 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vFgxJ-0003p4C; Tue, 22 Oct 96 06:33 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA03768; Tue, 22 Oct 1996 08:32:12 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id IAA03184 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 08:24:25 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id PAA04208 for <wu-ftpd@mail.wustl.edu>; Tue, 22 Oct 1996 15:24:22 +0100 (MET)
Message-Id: <9610221525.AA31873@pamela.sic.se>
Date: Tue, 22 Oct 1996 15:25:31 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: wu-ftpd@wugate.wustl.edu
Subject: directory listing problems - PLEASE help
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi,

this may be a common problem/error, but I just cannot find the
solution in any FAQ. Please help me out here..

I have set up wu-ftpd 2.4 for my Solaris 2.5 machine without trouble.

Everything but one thing works:

When clients log into my ftp-archive, and they have their own
"change-root" areas to work within, they cannot list the
contents of the directory. It works fine with just typing
"ls" when logged through a terminal window, but it does
not work when I use the "quote LIST" command. Return is:
"425 Can't build data connection: Connection refused."

I have set up the directory as advised in the Solaris man page for
ftpd, and also checked a few different FAQ:s.

The common advise for this problem is to make sure that the users
shell is listed in the /etc/shells file.
Now, I didn't use to have an /etc/shells file, but now I have added
one, with one single line in it:

-------------start file
/bin/ksh
-------------end of file

This shell (/bin/ksh) is the only shell I use, and is also the shell
the user in question is using. Now, I've even copied the system
version of ksh to the users /bin -directory, and still no success.

PLEASE help me here!

/Stefan

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:42:02 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 #8) id m0vFixt-000AUtC; Tue, 22 Oct 96 08:42 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vFhnS-0003vVC; Tue, 22 Oct 96 07: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 JAA07425; Tue, 22 Oct 1996 09:26:23 -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 JAA07076 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 09:20:45 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id QAA07498 for wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 16:21:28 +0200 (MET DST)
Message-Id: <199610221421.QAA07498@pizza.hvu.nl>
Date: Tue, 22 Oct 1996 16:21:27 +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: directory listing problems - PLEASE help
In-Reply-To: <9610221525.AA31873@pamela.sic.se> from "Stefan Berg" at Oct 22, 96 03:25:31 pm
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Stefan Berg, who wrote :

> this may be a common problem/error, but I just cannot find the
> solution in any FAQ. Please help me out here..
> 
> I have set up wu-ftpd 2.4 for my Solaris 2.5 machine without trouble.
> 
> Everything but one thing works:
> 
> When clients log into my ftp-archive, and they have their own
> "change-root" areas to work within,

Do these chroot areas have their own copies of all needed libraries, and,
very important for Solaris, the correct devices ?

Each chroot area needs to have it's own complete setup like the anonymous
ftp area.

                                                  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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:42: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 #8) id m0vFiyF-000AUOC; Tue, 22 Oct 96 08:42 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vFhqt-0003vEC; Tue, 22 Oct 96 07: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 JAA07633; Tue, 22 Oct 1996 09:29:55 -0500
Received: from mango.human.cornell.edu (MANGO.HUMAN.CORNELL.EDU [128.253.253.196]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA07158 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 09:22:26 -0500
Received: from KENS.HUMAN.CORNELL.EDU by mango.human.cornell.edu (AIX 3.2/UCB 5.64/4.03)
          id AA13178; Tue, 22 Oct 1996 10:22:25 -0400
Message-Id: <3.0.16.19961022102112.09577b44@mango.human.cornell.edu>
Date: Tue, 22 Oct 1996 10:22:23 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kenneth Simler <krs2@mango.human.cornell.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: uploads directive in ftpaccess
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: krs2@mango.human.cornell.edu (Unverified)
X-Mailer: Windows Eudora Pro Version 3.0 (16)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     I've looked at the docs, faqs, archives of this mailing list, etc.,
and haven't found an answer to this.  Either I misunderstand what the
upload directive in ftpaccess is supposed to control, or I'm not using the
correct entry.  Put simply, my question is:

     Can the upload directive in ftpaccess be used to turn *off* anonymous
upload permission, regardless of the mode (permissions) set on the
directories in the ~ftp hierarchy?

     Some background: I set up wu-ftpd 2.4 as per the accompanying docs,
with some supplemental help from other sources for the modes on the ~ftp
hierarchy.  Along with the usual /u/ftp/bin, /u/ftp/etc, and so forth
entries, I have the following set up:

dr-xr-xr-x   7 root     wheel        512 Oct 21 11:00 /u/ftp
dr-xr-xr-x   3 root     wheel       512 Oct 21 13:24 /u/ftp/pub
drwx-wx-wt   2 root     wheel       512 Oct 21 10:50 /u/ftp/pub/incoming

     I expected that disallowing anonymous uploads in ftpaccess would
override the write permission for anonymous users.  That is, setting the
upload directive in ftpaccess could further restrict the permissions on
/u/ftp/pub/incoming.  However, it seems that even if I try to disallow
anonymous uploads in ftpaccess, they are allowed as long as the mode set on
/u/ftp/pub/incoming is world-writable.

     If I want to permit anonymous downloads, but not anonymous uploads, I
thought the following entries in ftpaccess would do the trick; some are
probably redundant and/or useless.  

upload  /home/ftp    *                no
upload  /home/ftp    /pub/*           no
upload  /home/ftp    /bin/*           no
upload  /home/ftp    /etc/*           no
upload  /home/ftp    /pub/incoming/*  no
upload  /home/ftp    /pub/incoming*   no

I've tried several variations, without success.  All have allowed anonymous
uploads whenever the /u/ftp/pub/incoming directory is world-writable.  The
only way I have been able to turn off anonymous uploads is to turn off
world write permissions on the directory.

     Sometimes I need to permit anonymous uploads, and I would like to
control this via ftpaccess, rather than by changing the mode on
/u/ftp/pub/incoming every time.  If this can't be done, I can live with
changing the modes, but it just seemed to me that this was supposed to be
one of the things that ftpaccess can control.  

     FWIW, when I do permit anonymous uploads, the options set for <owner>,
<group>, and <mode> by the upload directive in ftpaccess seem to work just
fine.

Thanks for any and all help on this.

-Ken


-- 
Kenneth Simler
Research Associate, Cornell Food & Nutrition Policy Program 
Cornell University, Ithaca, NY  14853  USA
krs2@mango.human.cornell.edu  http://mango.human.cornell.edu/kens/


From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 08:43:49 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from camco1.celestial.com by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vFizc-000ATrC; Tue, 22 Oct 96 08:43 PDT
Received: from wugate.wustl.edu by camco1.celestial.com with smtp
	(Smail3.1.29.1 #1) id m0vFi3W-0004NaC; Tue, 22 Oct 96 07: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 JAA08543; Tue, 22 Oct 1996 09:42:58 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA08082 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 09:34:49 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id QAA04385 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 16:34:45 +0100 (MET)
Message-Id: <9610221635.AA53118@pamela.sic.se>
Date: Tue, 22 Oct 1996 16:35:53 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: directory listing problems - PLEASE help
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Koos,

yes, I've tried to set up my directories according to what is suggested
in the man ftpd-page.

Strange thing is this: The man page tells me to copy the following files 
(among others) from my /usr/lib directory:
nss_nis.so*
nss_nisplus.so*
nss_dns.so*
nss_files.so*

These files do not exist on my system. I found this a little strange,
so I spoke with my contact at Sun Microsystems, who told me that he
didn't have those files either.

Note that I am running Solaris 2.5.

This is getting stranger by the minute.

/Stefan

Koos van den Hout wrote:
> Do these chroot areas have their own copies of all needed libraries, 
> and, very important for Solaris, the correct devices ? 
>  
> Each chroot area needs to have it's own complete setup like the 
> anonymous ftp area. 

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 09:24: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 #8) id m0vFjcV-000AoPC; Tue, 22 Oct 96 09: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 LAA15116; Tue, 22 Oct 1996 11:19:26 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA14965 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 11:17:51 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id SAA04650; Tue, 22 Oct 1996 18:17:50 +0100 (MET)
Message-Id: <9610221818.AA59595@pamela.sic.se>
Date: Tue, 22 Oct 1996 18:18:59 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: wu-ftpd@wugate.wustl.edu
Cc: nsp83273@cae091.ed.ray.com
Subject: Re: ls troubles
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Neal,

I have the exact same problem (except I run on a Sparc20).

/Stefan

Neal wrote:
> i have compiled wu-ftpd onto a ss1000 running sol 2.5 all seems to 
> work except ls -l and dir both return nothing but ls works as near as 
> i can tell i have setup everything acording to the doc. 

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 09:53: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 #8) id m0vFk5L-000BMsC; Tue, 22 Oct 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 LAA17435; Tue, 22 Oct 1996 11:49:51 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA16627 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 11:37:24 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id LAA20147 for wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 11:37:23 -0500
Message-Id: <199610221637.LAA20147@gateway.fmp.com>
Date: Tue, 22 Oct 1996 11:37:23 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: directory listing problems - PLEASE help
In-Reply-To: <9610221525.AA31873@pamela.sic.se> from "Stefan Berg" at Oct 22, 96 03:25:31 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

"Thus spake Stefan Berg"
> 
> When clients log into my ftp-archive, and they have their own
> "change-root" areas to work within, they cannot list the
> contents of the directory. It works fine with just typing
> "ls" when logged through a terminal window, but it does
> not work when I use the "quote LIST" command. Return is:
> "425 Can't build data connection: Connection refused."

When wu-ftpd interacts with a client, it does a chroot to whatever base
directory is appropriate for the login.  Any files which wu-ftpd needs to
access must reside further up on this directory branch.  Not only is this
true, but any files which are needed by any processes run by wu-ftpd must
also be similarly accessable - including shared libraries.  A common mistake
in setting up ftp access is to place a dynamically linked copy of ls in the
bin directory of each guest area.  Because said ls can't access it's dynamic
lib, it won't run.  All copies of ls available in guest login areas must by
statically linked, as must be any other utilities available for anonymous or
guest ftp.  A symbolic link to another statically linked ls won't work since
the directory structure has been altered for the session.  A hard link
>will< work, as long as the linked-to file is on the same filesystem.

-- 
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 09:58: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 #8) id m0vFk9r-000BMMC; Tue, 22 Oct 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 LAA17710; Tue, 22 Oct 1996 11:54:30 -0500
Received: from gateway.fmp.com (linux.fmp.com [204.251.174.179]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA16876 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 11:40:46 -0500
Received: (from fmouse@localhost) by gateway.fmp.com (8.7.5/8.6.12) id LAA20160 for wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 11:40:45 -0500
Message-Id: <199610221640.LAA20160@gateway.fmp.com>
Date: Tue, 22 Oct 1996 11:40:45 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lindsay Haisley <fmouse@fmp.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: directory listing problems - PLEASE help
In-Reply-To: <9610221635.AA53118@pamela.sic.se> from "Stefan Berg" at Oct 22, 96 04:35:53 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

Do you have the source for ls?  The best solution is to recompile it with
the -static option and forget mucking with the dynamic libraries.

> 
> Koos,
> 
> yes, I've tried to set up my directories according to what is suggested
> in the man ftpd-page.
> 
> Strange thing is this: The man page tells me to copy the following files 
> (among others) from my /usr/lib directory:
> nss_nis.so*
> nss_nisplus.so*
> nss_dns.so*
> nss_files.so*


-- 
Lindsay Haisley          | "Everything works     |   PGP public key
FMP Computer Services    |       if you let it"  |   available via
fmouse@fmp.com           |    (The Roadie)       |   Internet finger
http://www.fmp.com       |                       |

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 10:15: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 #8) id m0vFkQO-000AgVC; Tue, 22 Oct 96 10: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 MAA19093; Tue, 22 Oct 1996 12:11:36 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA18765 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 12:08:03 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id TAA04793; Tue, 22 Oct 1996 19:07:53 +0100 (MET)
Message-Id: <9610221909.AA01194@pamela.sic.se>
Date: Tue, 22 Oct 1996 19:09:01 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ls troubles
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Michael,

I just read the 

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

and found the problem with it all using the truss -f command.
Worked great!

What was wrong? I had by misstaked linked libw.so to the copy of libw.so.1, 
and not the other way round.

Thanks all for help.

/Stefan

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 10:32: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 #8) id m0vFkgp-000AgaC; Tue, 22 Oct 96 10: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 MAA20184; Tue, 22 Oct 1996 12:28:16 -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 MAA19940 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 12:23:23 -0500
Received: from proton.uab.es ("port 33713"@proton.uab.es)
 by cc.uab.es (PMDF V5.0-7 #2461) id <01IAYDQ8YOJS007RID@cc.uab.es> for
 wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 19:23:47 +0000
Received: by proton.uab.es (SMI-8.6/SMI-SVR4) id TAA05842; Tue,
 22 Oct 1996 19:17:59 +0200
Message-Id: <199610221717.TAA05842@proton.uab.es>
Date: Tue, 22 Oct 1996 19:17:59 +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: directory listing problems - PLEASE help
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

hi,

> From stefan@sic.se Tue Oct 22 16:40:26 1996
> 
> yes, I've tried to set up my directories according to what is suggested
> in the man ftpd-page.
> 
> Strange thing is this: The man page tells me to copy the following files 
> (among others) from my /usr/lib directory:
> nss_nis.so*
> nss_nisplus.so*
> nss_dns.so*
> nss_files.so*
> 
> These files do not exist on my system. I found this a little strange,
> so I spoke with my contact at Sun Microsystems, who told me that he
> didn't have those files either.
> 
> Note that I am running Solaris 2.5.
> 

this is the full list of libraries that MUST exists under the /usr/lib
for each one of your chrooting users. Note that some of the libs you're
missing are links to the real library files, i bet you that 'ls -l' is
trying to access the libs through the links, that have no mention of the
library release number and will not change from sys to sys, with upgrades
and OS patches

   -r-xr-xr-x   1 root     other      24576 Mar 22  1996 ld.so
   -r-xr-xr-x   1 root     other      97804 Mar 22  1996 ld.so.1
   lrwxrwxrwx   1 root     other         11 Mar 22  1996 libc.so -> ./libc.so.1
   -r-xr-xr-x   1 root     other     621408 Mar 22  1996 libc.so.1
   lrwxrwxrwx   1 root     other         12 Mar 22  1996 libdl.so -> ./libdl.so.1
   -r-xr-xr-x   1 root     other       3492 Mar 22  1996 libdl.so.1
   lrwxrwxrwx   1 root     other         14 Mar 22  1996 libintl.so -> ./libintl.so.1
   -r-xr-xr-x   1 root     other      13516 Mar 22  1996 libintl.so.1
   lrwxrwxrwx   1 root     other         13 Mar 22  1996 libnsl.so -> ./libnsl.so.1
   -r-xr-xr-x   1 root     other     508896 Mar 22  1996 libnsl.so.1
   lrwxrwxrwx   1 root     other         16 Mar 22  1996 libsocket.so -> ./libsocket.so.1
   -r-xr-xr-x   1 root     other      73048 Mar 22  1996 libsocket.so.1
   lrwxrwxrwx   1 root     other         11 Mar 22  1996 libw.so -> ./libw.so.1
   -r-xr-xr-x   1 root     other      41704 Mar 22  1996 libw.so.1
   drwxr-xr-x   3 bin      bin          512 Mar 22  1996 locale
   lrwxrwxrwx   1 root     other         14 Mar 22  1996 nss_dns.so -> ./nss_dns.so.1
   -r-xr-xr-x   1 root     other      10796 Mar 22  1996 nss_dns.so.1
   lrwxrwxrwx   1 root     other         16 Mar 22  1996 nss_files.so -> ./nss_files.so.1
   -r-xr-xr-x   1 root     other      18496 Mar 22  1996 nss_files.so.1
   lrwxrwxrwx   1 root     other         14 Mar 22  1996 nss_nis.so -> ./nss_nis.so.1
   -r-xr-xr-x   1 root     other      25840 Mar 22  1996 nss_nis.so.1
   lrwxrwxrwx   1 root     other         18 Mar 22  1996 nss_nisplus.so -> ./nss_nisplus.so.1
   -r-xr-xr-x   1 root     other      29376 Mar 22  1996 nss_nisplus.so.1
   lrwxrwxrwx   1 root     other         14 Mar 22  1996 straddr.so -> ./straddr.so.2
   -r-xr-xr-x   1 root     other       9436 Mar 22  1996 straddr.so.2


in Solaris you can check what libraries are called (and how they are called)
by tracing the execution of the program with 'truss' (as someone already
mentioned not too long ago)

   > truss -o ~/ls_l_trace ls -l

and then search for files and libraries opened by the program (in this case, ls -l)
and better that these, find out which ones failed to open!

   > grep 'open' ~/ls_l_trace
   list of files that has tried to open

   > grep 'lstat' ~/ls_l_trace
   list of libraries whose status has tried to check 

hope this helps. 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 Oct 22 10:36: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 #8) id m0vFkko-000ApnC; Tue, 22 Oct 96 10: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 MAA20507; Tue, 22 Oct 1996 12:32:40 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA20050 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 12:25:18 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id TAA04842 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 19:25:15 +0100 (MET)
Message-Id: <9610221926.AA24939@pamela.sic.se>
Date: Tue, 22 Oct 1996 19:26:24 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: directory listing problems - PLEASE help
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Lindsay,

sounds like a good idea.
I got it all working now, but it is a bit of a hassle.

I don't have the ls source, but would be interested in looking at it.

/Stefan

> Do you have the source for ls?  The best solution is to recompile it 
> with the -static option and forget mucking with the dynamic libraries. 

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 11:45: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 #8) id m0vFlp9-000AqSC; Tue, 22 Oct 96 11: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 NAA25329; Tue, 22 Oct 1996 13:41:10 -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 NAA24728 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 13:31:02 -0500
Received: from proton.uab.es ("port 33777"@proton.uab.es)
 by cc.uab.es (PMDF V5.0-7 #2461) id <01IAYG40WS1G007RID@cc.uab.es> for
 wu-ftpd@wugate.wustl.edu; Tue, 22 Oct 1996 20:31:22 +0000
Received: by proton.uab.es (SMI-8.6/SMI-SVR4) id UAA05993; Tue,
 22 Oct 1996 20:25:34 +0200
Message-Id: <199610221825.UAA05993@proton.uab.es>
Date: Tue, 22 Oct 1996 20:25:34 +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: directory listing problems - PLEASE help
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

those are two mail posted early this year on the same issue: static ls

1st mail

> From: Dan Stromberg <strombrg@hydra.acs.uci.edu>
> Subject: Re: static 'ls' for Solaris 2.5 for wu-ftpd 2.4
> 
> You can compile in stub functions for the dl* routines, to get a static
> executable.  Sun won't support it, but it's worked in practice.
> There've been flame wars over this, and lesser issues...
> 
> EG, for dlopen, compile in:
> 
> void *dlopen(const char *pathname, int mode)
> {
> }
> 
> ...it's safe to do this, because the dl* functions don't _have_ to do
> anything for static executables - the stuff that the dl* routines would
> slurp in, is already present.  It's sufficient to just construct a stub
> from the prototype in the manual page.
> 
> I feel that a minimal compiled-in "ls" would be a Good Thing - not
> because it'd be slightly faster, but because it would simplify writing a
> cross-platform installation script.  Minor apologies if this subject has
> already been beaten to death.
> 
> garry@ifr.america.net wrote:
> > 
> > I gave up on this.  (I had the same results.)  Instead, I followed the
> > instructions in the original ftpd man page.  This describes the libraries
> > that should be copied into the ftp root so that ls and others can execute
> > after the chroot.
> > 
> > Garry Williams
> > America Net, Inc.
> > 
> > >Hi - in the wu-ftpd 2.4 docs, there is a discussion about
> > >using a statically-linked version of "ls" in the bin directory for
> > >anonymous ftp.  I am trying to do this for a Solaris 2.5 box.
> > 
> > >I've tried building the 'ls' from the GNU "fileutils" package, using
> > >static linking, but it's unable to link because that 'ls' apparently
> > >needs a routine in "libdl".  The "libdl" man page indicates the
> > >functionality contained therein is ONLY available for DYNAMICally linked
> > >binaries.
> > 
> > >Is there another version of "ls" which can be statically
> > >linked for use on a Solaris 2.5 box?
> > 
> > >Thanks in advance,
> > >Bill
> 

2nd message

> 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



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 Oct 22 11:50: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 #8) id m0vFltz-000AqvC; Tue, 22 Oct 96 11: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 NAA25593; Tue, 22 Oct 1996 13:46:14 -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 NAA24757 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 13:31:29 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id NAA19229 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 13:31:33 -0500
Message-Id: <Pine.LNX.3.95.961022132955.19136B-100000@ns1.fni.com>
Date: Tue, 22 Oct 1996 13:31:33 -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: directory listing problems - PLEASE help
In-Reply-To: <9610221926.AA24939@pamela.sic.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


ftp://prep.ai.mit.edu/pub/gnu/fileutils-3.13.tar.gz

   -- Michael

> I don't have the ls source, but would be interested in looking at it.

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 12:02: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 #8) id m0vFm5o-000AqdC; Tue, 22 Oct 96 12: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 NAA26315; Tue, 22 Oct 1996 13:58:27 -0500
Received: from Amnesix.UQSS.UQuebec.ca (Amnesix.UQSS.UQuebec.CA [192.77.51.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA25309 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 13:40:48 -0500
Received: from unitl.teluq.uquebec.ca by Amnesix.UQSS.UQuebec.ca with SMTP
	(1.37.109.8/15.6) id AA03064; Tue, 22 Oct 1996 14:40:32 -0400
Received: from licef30.teluq.uquebec.ca by unitl.teluq.uquebec.ca with ESMTP
	($Revision: 1.37.109.26 $/15.6) id AA043167943; Tue, 22 Oct 1996 14:12:23 -0400
Received: by licef30.teluq.uquebec.ca (SMI-8.6/SMI-SVR4)
	id OAA08603; Tue, 22 Oct 1996 14:43:03 -0400
Message-Id: <199610221843.OAA08603@licef30.teluq.uquebec.ca>
Date: Tue, 22 Oct 1996 14:43:03 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dent@TELUQ.UQuebec.ca (Arthur Dent)
To: wu-ftpd@wugate.wustl.edu
Subject: chroot()
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

does anyone knows what the requirements are
for the chroot(). I followed the following faq
(ftp://ftp.fni.com/pub/wu-ftpd/guest-howto) on
a system with Solaris 2.4 running wu-ftp2.4.
the ftp guest users login but the chroot()
is not performed as it should. As for the user
anonymous and real users, it works fine.
Anybody has any idea why?


Esaie

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 15:05: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 #8) id m0vFox8-000BOTC; Tue, 22 Oct 96 15: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 RAA05146; Tue, 22 Oct 1996 17:01:36 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA04759 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 16:53:42 -0500
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id OAA20149; Tue, 22 Oct 1996 14:52:58 -0700 (PDT)
Message-Id: <326D4254.2CC0@intelenet.net>
Date: Tue, 22 Oct 1996 14:53:24 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: wu-ftpd@wugate.wustl.edu
Cc: john paine <x25@lightlink.com>, System Group <system@lightlink.com>
Subject: Re: Core dump security breach
References: <Pine.SUN.3.95.961020144528.21636I-100000@light.lightlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I can't reproduce this problem on wu-ftpd or Solaris 2.5.1 ftpd.

I have seen ftp (the client software, not the server) core dump under
similar circumstances under Solaris 2.5.1, but that's not a server
security
problem.

It does seem like limiting the core size to 0 is a good idea, however,
though
of course we would need a "debug" version that would dump a normal core
as well.
That would prevent unknown bugs from producing a core file containing
shadow
password files.


Homer W. Smith wrote:
> 
>      To: wu-ftpd@wugate.wustl.edu
> 
>      Anyone have any comments on this?
> 
>      We are running beta 11.
> 
>      Homer
> 
> ------------------------------------------------------------------------------
> Homer Wilson Smith     News, Web, Telnet      Art Matrix - Lightlink
> (607) 277-0959         SunOS 4.1.4 Sparc 20   Internet Access, Ithaca NY
> homer@lightlink.com    info@lightlink.com     http://www.lightlink.com
> 
> On Sun, 20 Oct 1996, john paine wrote:
> 
> > There's 2 recent holes in wu-ftpd, and we're potentially suceptible to one
> > of them.
> >
> > The problem is that ftpd can't handle more than 100 arguments to a
> > command, but lets you make the request anyway.  This results in a
> > seg-fault and (if the system allows it) core dump.
> >
> > Because ftpd is running as root, the core can contain shadow file
> > information, and is world readable.  Even worse, if you can drop a link in
> > where the core will dump, the core will follow the link and overwrite any
> > file you choose.
> >
> > The version of ftpd we run does seg-fault with 101 arguments (ie, "get 1 2
> > 3 4...101"), but doesn't produce a core dump.  I'm not quite sure why.  If
> > someone can figure out how to get the core dump to happen, they can get
> > our (crypted) root password or overwrite any file on the system.
> >
> > wu-ftpd is apparently not being officially supported anymore, so there
> > won't be any official fixes for it.  There is a wrapper that enforces the
> > "no core" rule for ftpd, which looks simple and workable for us.
> >
> > We change the ftp line in /etc/inetd.conf to read
> >
> > ftp     stream  tcp     nowait  root    /usr/sbin/wrap_in.ftpd  in.ftpd
> >
> > which calls this wrapper (put into /usr/sbin/wrap_in.ftpd):
> >
> > /* ------- start here ------------------------------------------- */
> > #include <stdio.h>
> > #include <sys/time.h>
> > #include <sys/resource.h>
> >
> > struct rlimit rlp;
> >
> > int
> > main( int argc, char **argv, char **env )
> > {
> >
> >    if ( getrlimit( RLIMIT_CORE , &rlp )!=0 ) {
> >       perror("getrlimit(RLIMIT_CORE)");
> >    } else {
> >       rlp.rlim_cur = 0;
> >       if ( setrlimit( RLIMIT_CORE , &rlp )!=0 ) {
> >          perror("setrlimit(RLIMIT_CORE)");
> >       } else {
> >          execve("/usr/sbin/in.ftpd", argv, env);
> >          perror("execve(\"/usr/sbin/in.ftpd\")");
> >       }
> >    }
> >
> >    return(1);
> > }
> > /* ----- end here ----------------------------------------------- */
> >
> > Sounds good?  Do we do it?
> >
> > -x25
> >

-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 18:07:45 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vFrnK-0000ffC; Tue, 22 Oct 96 18: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 UAA12909; Tue, 22 Oct 1996 20:03:25 -0500
Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA12789 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 20:00:06 -0500
Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.7.5/8.7.3) with UUCP id SAA07286; Tue, 22 Oct 1996 18:59:59 -0600 (MDT)
Received: from localhost (marcs@localhost) by alive.ampr.ab.ca (8.7.5/8.7.3) with SMTP id SAA06049; Tue, 22 Oct 1996 18:24:13 -0600 (MDT)
Message-Id: <Pine.BSF.3.95.961022181241.5558C-100000@alive.ampr.ab.ca>
Date: Tue, 22 Oct 1996 18:24:12 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marc Slemko <marcs@znep.com>
To: Bob Myers <bob@intelenet.net>
Cc: wu-ftpd@wugate.wustl.edu, john paine <x25@lightlink.com>,
        System Group <system@lightlink.com>
Subject: Re: Core dump security breach
In-Reply-To: <326D4254.2CC0@intelenet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: marcs@alive.ampr.ab.ca
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Tue, 22 Oct 1996, Bob Myers wrote:

> I can't reproduce this problem on wu-ftpd or Solaris 2.5.1 ftpd.
> 
> I have seen ftp (the client software, not the server) core dump under
> similar circumstances under Solaris 2.5.1, but that's not a server
> security
> problem.
> 
> It does seem like limiting the core size to 0 is a good idea, however,
> though
> of course we would need a "debug" version that would dump a normal core
> as well.
> That would prevent unknown bugs from producing a core file containing
> shadow
> password files.

The latest academ beta shouldn't core dump anyway, because I think it has
signal handlers installed for all possible signals; at least it has them
for most signals.  The signal handler calls exit(), so no core is
generated.  In old versions, the signal handler called abort(), so it did
dump core. 



From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 19:06:07 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vFsho-000AO9C; Tue, 22 Oct 96 19: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 VAA14466; Tue, 22 Oct 1996 21:02:00 -0500
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id UAA14304 for <wu-ftpd@wugate.wustl.edu>; Tue, 22 Oct 1996 20:57:37 -0500
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA13671; Wed, 23 Oct 96 11:56:27 +1000
Message-Id: <v03007802ae9317485057@[137.92.10.14]>
Date: Wed, 23 Oct 1996 11:57:07 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 425 Can't create data socket (0.0.0.0,20): Bad file number.
In-Reply-To: <Pine.SOL.3.91.961022024144.6483A-100000@step.polymtl.ca>
References: <v03007804ae9215cbd1b5@[137.92.10.14]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Solaris 2.4 sun4c

At 4:42 PM +1000 22/10/96, Vincent Cojot wrote:
>crw-rw-rw-   1 root     other     11,  9 Aug 15  1994 ticotsord
>crw-rw-rw-   1 root     other     11, 41 Aug 15  1994 udp

At 5:21 PM +1000 22/10/96, Miquel Cabanas. BBM-UAB wrote:
>i also have:
>   crw-rw-rw-   1 root     other    105,  1 Mar 22  1996 ticotsord
>   crw-rw-rw-   1 root     other     11, 41 Mar 22  1996 udp
>this is with Solaris 2.5.1, so major and minor no may differ from those in
>Sol2.4

I added those two devices, no luck.  I've remounted the volume with the
nosuid option off.  No change.

I just realised that Miquel and Vincent have different device numbers for
ticotsord whatever that is.

/home/ftp/dev# ls -l
total 4
d--x--x--x   2 root     other        512 Oct 23 10:24 ./
drwxr-xr-x   9 root     other        512 Oct 21 16:05 ../
crw-rw-rw-   1 root     other     11, 42 Oct 21 12:05 tcp
crw-rw-rw-   1 root     other    105,  1 Oct 23 10:24 ticotsord
crw-rw-rw-   1 root     other     11, 41 Oct 23 10:24 udp
crw-rw-rw-   1 root     other     13, 12 Oct 21 12:05 zero

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

I tried just running the ftpd and typing commands directly using stdin and
stdout.  When I try an ls I get the following:

# ftpd
220 fred FTP server (Version wu-2.4(5) Mon Oct 21 15:22:38 EST 1996) ready.
user ftp
331 Guest login ok, send your complete e-mail address as password.
pass fred@nurks
230-
230-Welcome to the University of Canberra FTP Server
230-
230 Guest login ok, access restrictions apply.
list
425 Can't create data socket (0.0.0.0,65535): Bad file number.
quit
221 Goodbye.

In the messages file I get the following:

Oct 23 11:50:39 fred ftpd[459]: setsockopt (SO_OOBINLINE): Invalid argument
Oct 23 11:50:39 fred ftpd[459]: fcntl F_SETOWN: Invalid argument

from an ftp session I get no logs even though my config file has the
following line:

log commands real,anonymous

Kim



--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Tue Oct 22 22:25: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 #8) id m0vFvp8-000BByC; Tue, 22 Oct 96 22: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 AAA19292; Wed, 23 Oct 1996 00:21:07 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id AAA19044 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 00:11:34 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id HAA05536 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 07:11:30 +0100 (MET)
Message-Id: <9610230712.AA41145@pamela.sic.se>
Date: Wed, 23 Oct 1996 07:12:41 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot()
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Could it simply be that you forgot to edit the /etc/passwd entry for
that user to look like this:

ftpuser:x:600:60001:FTP-user:/export/home/ftpuser/./:/bin/ksh
							  ^^^

The user also has to be a member of your defined guestgroup (define it in 
ftpaccess).

/Stefan

Arthur Dent (!) wrote:

> Hi 
>  
> does anyone knows what the requirements are 
> for the chroot(). I followed the following faq (ftp://ftp.fni.com/pub/
> wu-ftpd/guest-howto) on a system with Solaris 2.4 running wu-ftp2.4. 
> the ftp guest users login but the chroot() 
> is not performed as it should. As for the user anonymous and real 
> users, it works fine. 
> Anybody has any idea why? 
>  
>  
> Esaie 
>  
>  

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 08:13: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 #8) id m0vG4yy-000Ah4C; Wed, 23 Oct 96 08: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 KAA06214; Wed, 23 Oct 1996 10:08:34 -0500
Received: from dabney.cle.ab.com (dabney.cle.ab.com [130.151.194.230]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA05781 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 09:59:44 -0500
Received: from dabney (localhost [127.0.0.1]) by dabney.cle.ab.com (8.6.10/8.6.5.9) with SMTP id KAA10826; Wed, 23 Oct 1996 10:59:42 -0400
Message-Id: <326E32DD.20C6@ab.com>
Date: Wed, 23 Oct 1996 10:59:41 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "C. Paul Ferroni" <Paul.Ferroni@ab.com>
To: wu-ftpd@wugate.wustl.edu
Cc: "Ferroni, Paul" <cpferron@cle.ab.com>
Subject: ftpcheck version 2 available
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: cpferron@cle.ab.com
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Ftp users,

"ftpcheck" is a perl program to check an ftp site and report on file
existence/usage on a customized, personal basis.  It is driven by
lines in the ftpaccess file that begin with:  ##FTPCHECK

For those of you who downloaded my original version of ftpcheck (now
called ftpcheck.v1), I've written a new/improved version: ftpcheck.v2
that can be retrieved at:  ftp://ftp.cle.ab.com/pub/ftpcheck.v2

This version, apart from better code, expands the <options> you
can use on the ##FTPCHECK line, including the ability to simply
report on files, or only report on old files, and/or to delete
old files automatically.  The delete and report file ages are
independant. Below is the section that describes it's usage.  If you
are interested, pick it up and give it a try.  I'll do my best to
answer any question and will fix any bugs, but I can't offer
official support, etc, etc.  Buyer beware.

##################################################################
### SYNTAX
#
# Usage: ftpcheck [-d]
#
# Syntax of line in ftpaccess file:
##FTPCHECK    <options>    <address>    <directory>
#
# where:
# <option> is comma seperated list of:
#        SKP   : for SKIPPING this entry -- overrides other options.
#        RPT   : generate a report if ANY files are found.  No report
#                is sent to the user if this flag is not set.
#        OLDxx : define an "old" file as one that is > xx days old.
#                (defaults to 7).  Note that if OLD date is > DEL date, 
#                then it's reset to the DEL date.  Also note that
#                if RPT is not set, and OLD is set, a report is sent
#                only if old (or deleted) files are found.
#        DELxx : automatically deleting files that are > xx days old 
#                (defaults to 14). If report is generated, indicate
#                files that are deleted.
#
# <address> is email comma seperated list of address(es) of responsible 
#   person(s)
#
# <directory> is directory UNDER $FtpRoot this user is responsible for.
#
# examples:
##FTPCHECK    OLD10,DEL30  Paul.Ferroni@ab.com    /incoming
#   Send report if files > 10 days old. Also, delete (and report)
#    anything > 30 days old.
#
##FTPCHECK    RPT          foo@node.com,bar@other.node.com    /foobar
#   Send report daily, if any files exist.  Send to two email addresses.
#
##FTPCHECK    SKP,RPT     foo@node.com            /other
#   Skip this entry regardless of other options.
#
##FTPCHECK    RPT,OLD,DEL21  Paul.Ferroni@ab.com    /incoming
#   Send report every day (if any files), marking files > 7 (default) days 
#   old as "OLD" and deleting files > 21 days old (and reporting this).
#
##FTPCHECK    OLD21,DEL21  Paul.Ferroni@ab.com    /incoming
#   Delete files > 21 days old, and send report of this.  Don't send
#   a report otherwise.  Since OLD days == DEL days, this forces a
#   report to be sent if old files found, but all "old" files are also deleted.
##################################################################

--
C. Paul Ferroni          Phone: 216-646-4114 (voice)  216-646-3176 (fax)
Systems Specialist           Admin areas: UNIX, WWW, Usenet News, etc.
Allen-Bradley Company, Inc      Email: Paul.Ferroni@ab.com

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 09: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 #8) id m0vG5ya-000AqhC; Wed, 23 Oct 96 09: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 LAA10842; Wed, 23 Oct 1996 11:12:14 -0500
Received: from cyborg.larc.nasa.gov (cyborg.larc.nasa.gov [128.155.3.75]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA10581 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 11:07:08 -0500
Received: (from noid@localhost) by cyborg.larc.nasa.gov
 (8.6.12/server3.4) id MAA21757; Wed, 23 Oct 1996 12:05:26 -0400
Message-Id: <199610231605.MAA21757@cyborg.larc.nasa.gov>
Date: Wed, 23 Oct 1996 12:05:26 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tim P. Starrin" <noid@cyborg.larc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Cc: cpferron@cle.ab.com
Subject: Re: ftpcheck version 2 available
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On a similar note, does anybody have a set of canned tests for ftp that test 
data integrity, transfers, etc...?


Tim P. Starrin (CSC)
DMSS Project Technical Lead
Project Systems Analyst / Computer Scientist
National Aeronautics and Space Administration
Langley Research Center Operations

Address					Telephone/Email
-------					--------------
Computer Sciences Corporation	 	(804) 864-7373
3217 N. Armistead Ave.			(804) 864-7604 Fax
Hampton, VA 23666			noid@cyborg.larc.nasa.gov

> From Paul.Ferroni@ab.com Wed Oct 23 11:17:12 1996
> Date: Wed, 23 Oct 1996 10:59:41 -0400
> From: "C. Paul Ferroni" <Paul.Ferroni@ab.com>
> To: wu-ftpd@wugate.wustl.edu
> Cc: "Ferroni, Paul" <cpferron@cle.ab.com>
> Subject: ftpcheck version 2 available
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Sender: cpferron@cle.ab.com
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> Ftp users,
> 
> "ftpcheck" is a perl program to check an ftp site and report on file
> existence/usage on a customized, personal basis.  It is driven by
> lines in the ftpaccess file that begin with:  ##FTPCHECK
> 
> For those of you who downloaded my original version of ftpcheck (now
> called ftpcheck.v1), I've written a new/improved version: ftpcheck.v2
> that can be retrieved at:  ftp://ftp.cle.ab.com/pub/ftpcheck.v2
> 
> This version, apart from better code, expands the <options> you
> can use on the ##FTPCHECK line, including the ability to simply
> report on files, or only report on old files, and/or to delete
> old files automatically.  The delete and report file ages are
> independant. Below is the section that describes it's usage.  If you
> are interested, pick it up and give it a try.  I'll do my best to
> answer any question and will fix any bugs, but I can't offer
> official support, etc, etc.  Buyer beware.
> 
> ##################################################################
> ### SYNTAX
> #
> # Usage: ftpcheck [-d]
> #
> # Syntax of line in ftpaccess file:
> ##FTPCHECK    <options>    <address>    <directory>
> #
> # where:
> # <option> is comma seperated list of:
> #        SKP   : for SKIPPING this entry -- overrides other options.
> #        RPT   : generate a report if ANY files are found.  No report
> #                is sent to the user if this flag is not set.
> #        OLDxx : define an "old" file as one that is > xx days old.
> #                (defaults to 7).  Note that if OLD date is > DEL date, 
> #                then it's reset to the DEL date.  Also note that
> #                if RPT is not set, and OLD is set, a report is sent
> #                only if old (or deleted) files are found.
> #        DELxx : automatically deleting files that are > xx days old 
> #                (defaults to 14). If report is generated, indicate
> #                files that are deleted.
> #
> # <address> is email comma seperated list of address(es) of responsible 
> #   person(s)
> #
> # <directory> is directory UNDER $FtpRoot this user is responsible for.
> #
> # examples:
> ##FTPCHECK    OLD10,DEL30  Paul.Ferroni@ab.com    /incoming
> #   Send report if files > 10 days old. Also, delete (and report)
> #    anything > 30 days old.
> #
> ##FTPCHECK    RPT          foo@node.com,bar@other.node.com    /foobar
> #   Send report daily, if any files exist.  Send to two email addresses.
> #
> ##FTPCHECK    SKP,RPT     foo@node.com            /other
> #   Skip this entry regardless of other options.
> #
> ##FTPCHECK    RPT,OLD,DEL21  Paul.Ferroni@ab.com    /incoming
> #   Send report every day (if any files), marking files > 7 (default) days 
> #   old as "OLD" and deleting files > 21 days old (and reporting this).
> #
> ##FTPCHECK    OLD21,DEL21  Paul.Ferroni@ab.com    /incoming
> #   Delete files > 21 days old, and send report of this.  Don't send
> #   a report otherwise.  Since OLD days == DEL days, this forces a
> #   report to be sent if old files found, but all "old" files are also deleted.
> ##################################################################
> 
> --
> C. Paul Ferroni          Phone: 216-646-4114 (voice)  216-646-3176 (fax)
> Systems Specialist           Admin areas: UNIX, WWW, Usenet News, etc.
> Allen-Bradley Company, Inc      Email: Paul.Ferroni@ab.com
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 09:53: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 #8) id m0vG6Ys-000Ah1C; Wed, 23 Oct 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 LAA12890; Wed, 23 Oct 1996 11:49:45 -0500
Received: from juliet.stfx.ca (juliet.stfx.ca [141.109.2.2]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA12153 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 11:36:55 -0500
Received: from localhost by juliet.stfx.ca (AIX 3.2/UCB 5.64/4.10)
          id AA21360; Wed, 23 Oct 1996 13:24:54 -0300
Message-Id: <Pine.A32.3.95.961023131953.83169D-100000@juliet.stfx.ca>
Date: Wed, 23 Oct 1996 13:24:54 -0300 (ADT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Andrea <jandrea@juliet.stfx.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: aix compile
In-Reply-To: <199610231605.MAA21757@cyborg.larc.nasa.gov>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm trying to compile wu-ftpd-2.4.2-beta-11
on an aix 3.2.5.1 system and get lots of errors about missing libraries
and incompatible libraries (below sig)

anyone know if i need to apply a compiler ptf, or install a
programming package which i'm missing ?

thanks
__________________________________________________________________
John Andrea                         St. Francis Xavier Univ.
University Computer Services        Antigonish, NS, CANADA B2G 2W5
http://www.stfx.ca/~jandrea/


Processing include file /usr/include/netdb.h
    1501-106: (S) Include file sys/bitypes.h not found.
Processing include file /usr/include/netdb.h
    1501-106: (S) Include file sys/cdefs.h not found.
"/usr/include/netdb.h", line 130.7: 1506-095 (S) Unexpected parameter endhostent.
"/usr/include/netdb.h", line 130.18: 1506-046 (S) Syntax error.
...

Processing include file /usr/include/arpa/inet.h
    1501-106: (S) Include file sys/bitypes.h not found.
Processing include file /usr/include/arpa/inet.h
    1501-106: (S) Include file sys/cdefs.h not found.
"/usr/include/arpa/inet.h", line 74.1: 1506-046 (S) Syntax error.
"/usr/include/arpa/inet.h", line 74.0: 1506-166 (S) Definition of function __END_DECLS requires parentheses.
"authuser.c", line 20.12: 1506-095 (S) Unexpected parameter errno.
"./authuser.h", line 5.23: 1506-095 (S) Unexpected parameter auth_tcpport.
"./authuser.h", line 14.14: 1506-095 (S) Unexpected parameter auth_xline.
...

"/usr/include/sys/errno.h", line 46.12: 1506-095 (S) Unexpected parameter errno.

"/usr/include/errno.h", line 18.12: 1506-030 (S) Identifier errno cannot be redeclared.

"/usr/include/string.h", line 77.26: 1506-095 (S) Unexpected parameter memchr.
"/usr/include/string.h", line 78.26: 1506-095 (S) Unexpected parameter memcpy.
...

"/usr/include/time.h", line 98.20: 1506-095 (S) Unexpected parameter strftime.
"/usr/include/time.h", line 99.21: 1506-095 (S) Unexpected parameter clock.
...

"/usr/include/sys/dir.h", line 90.3: 1506-095 (S) Unexpected parameter DIR.
"/usr/include/sys/dir.h", line 104.9: 1506-030 (S) Identifier DIR cannot be redeclared.
...

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 11:09: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 #8) id m0vG7fc-000BNeC; Wed, 23 Oct 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 MAA16236; Wed, 23 Oct 1996 12:59:43 -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 MAA15394 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 12:39:48 -0500
Received: from proton.uab.es ("port 34363"@proton.uab.es)
 by cc.uab.es (PMDF V5.0-7 #2461) id <01IAZSLUTIII009P2H@cc.uab.es> for
 wu-ftpd@wugate.wustl.edu; Wed, 23 Oct 1996 19:40:08 +0000
Received: by proton.uab.es (SMI-8.6/SMI-SVR4) id TAA09431; Wed,
 23 Oct 1996 19:34:19 +0200
Message-Id: <199610231734.TAA09431@proton.uab.es>
Date: Wed, 23 Oct 1996 19:34:19 +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: 425 Can't create data socket (0.0.0.0,20): Bad file number.
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> From kim@csc.canberra.edu.au Wed Oct 23 03:59:54 1996
> 
> Solaris 2.4 sun4c
> 
> At 4:42 PM +1000 22/10/96, Vincent Cojot wrote:
> >crw-rw-rw-   1 root     other     11,  9 Aug 15  1994 ticotsord
> 
> At 5:21 PM +1000 22/10/96, Miquel Cabanas. BBM-UAB wrote:
> >   crw-rw-rw-   1 root     other    105,  1 Mar 22  1996 ticotsord
> 
> I just realised that Miquel and Vincent have different device numbers for
> ticotsord whatever that is.
> 
> /home/ftp/dev# ls -l
>
> crw-rw-rw-   1 root     other    105,  1 Oct 23 10:24 ticotsord

about the major and minor no. They can change from OS to OS and from
release to release. After all is an internal matter, as long as they
are internally consistent the value doesn't mind. So, get yours from
the /devices/pseudo entries in your system,

   > ls -l /devices/pseudo/*ticotsord
   crw-rw-rw-  1 root  sys  105,  1 Mar 20  1996 /devices/pseudo/tl@0:ticotsord

> 
> Oct 23 11:50:39 fred ftpd[459]: setsockopt (SO_OOBINLINE): Invalid argument
> Oct 23 11:50:39 fred ftpd[459]: fcntl F_SETOWN: Invalid argument
> 

F_SETOWN? this isn't supported under Solaris!  In the file ~wuftpd/config.h
undef its entry,

	#undef  F_SETOWN

and recompile wuftpd

then we'll see if this is the only cause of headaches. 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 Wed Oct 23 11:25: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 #8) id m0vG7zC-0000RhC; Wed, 23 Oct 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 NAA17090; Wed, 23 Oct 1996 13:20:58 -0500
Received: from godzilla.PCC.COM (godzilla.pcc.com [205.219.166.131]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA15436 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 12:40:17 -0500
Received: by godzilla.PCC.COM (Smail3.1.29.1 #3)
	id m0vG7HT-00005qC; Wed, 23 Oct 96 13:39 EDT
Message-Id: <m0vG7HT-00005qC@godzilla.PCC.COM>
Date: Wed, 23 Oct 1996 13:39:51 -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@wugate.wustl.edu
Subject: Re: aix compile
In-Reply-To: <Pine.A32.3.95.961023131953.83169D-100000@juliet.stfx.ca> from "John Andrea" at Oct 23, 96 01:24:54 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

John Andrea writes:
> I'm trying to compile wu-ftpd-2.4.2-beta-11
> on an aix 3.2.5.1 system and get lots of errors about missing libraries
> and incompatible libraries (below sig)

It compiled just fine here after I made a minor change given by the README
(using the support/arpa.h file instead of the one in /usr/include).  See
http://www.pcc.com/%7Ejay/src/networking/wu-ftpd-2.4/ORIGINALS/ for more
information.

-- Jay
-- 
Jay Schuster <jay@pcc.com>
The People's Computer Company	`Revolutionary Programming'

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 12:22: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 #8) id m0vG8sR-0000RhC; Wed, 23 Oct 96 12: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 OAA20336; Wed, 23 Oct 1996 14:15:11 -0500
Received: from Amnesix.UQSS.UQuebec.ca (Amnesix.UQSS.UQuebec.CA [192.77.51.5]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA16925 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 13:17:53 -0500
Received: from unitl.teluq.uquebec.ca by Amnesix.UQSS.UQuebec.ca with SMTP
	(1.37.109.8/15.6) id AA10780; Wed, 23 Oct 1996 14:17:50 -0400
Received: from licef30.teluq.uquebec.ca by unitl.teluq.uquebec.ca with ESMTP
	($Revision: 1.37.109.26 $/15.6) id AA077522985; Wed, 23 Oct 1996 13:49:45 -0400
Received: by licef30.teluq.uquebec.ca (SMI-8.6/SMI-SVR4)
	id OAA11596; Wed, 23 Oct 1996 14:20:25 -0400
Message-Id: <199610231820.OAA11596@licef30.teluq.uquebec.ca>
Date: Wed, 23 Oct 1996 14:20:24 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dent@TELUQ.UQuebec.ca (Arthur Dent)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot()
In-Reply-To: <9610230712.AA41145@pamela.sic.se> from "Stefan Berg" at Oct 23, 96 07:12:41 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

Hello

I did all that.. (I did read the faq and the doc).
He's part of a group which is part of the guestgroup
in the ftpaccess file. I set his shell to /bin/csh
(defined in the /etc/shells), he gets
"Can't create data socket (0.0.0.0,20): Bad file number."
when he types ls after logging in via ftp.
however, when I set his shell to /bin/false 
(defined in the /etc/shells) he can login but the
chroot() doesn't seem to work since the root dir is wrong.

Any help would be appreciated.
Esaie



> 
> 
> Could it simply be that you forgot to edit the /etc/passwd entry for
> that user to look like this:
> 
> ftpuser:x:600:60001:FTP-user:/export/home/ftpuser/./:/bin/ksh
> 							  ^^^
> 
> The user also has to be a member of your defined guestgroup (define it in 
> ftpaccess).
> 
> /Stefan
> 
> Arthur Dent (!) wrote:
> 
> > Hi 
> >  
> > does anyone knows what the requirements are 
> > for the chroot(). I followed the following faq (ftp://ftp.fni.com/pub/
> > wu-ftpd/guest-howto) on a system with Solaris 2.4 running wu-ftp2.4. 
> > the ftp guest users login but the chroot() 
> > is not performed as it should. As for the user anonymous and real 
> > users, it works fine. 
> > Anybody has any idea why? 
> >  
> >  
> > Esaie 
> >  
> >  
> 
> 

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 15:48: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 #8) id m0vGC6L-000AhDC; Wed, 23 Oct 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 RAA03357; Wed, 23 Oct 1996 17:44:32 -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 ESMTP id RAA03065 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 17:37:04 -0500
Received: from Itzel.mty.itesm.mx (itzel.mty.itesm.mx [131.178.38.74]) by campus.mty.itesm.mx (8.8.2/8.7.3) with SMTP id QAA77143 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 16:59:29 -0600
Message-Id: <Pine.WNT.3.92.961023170838.-411783F-100000@Itzel.mty.itesm.mx>
Date: Wed, 23 Oct 1996 17:09:51 -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: Question about ftp modes
In-Reply-To: <326E32DD.20C6@ab.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

Could some one point to where I can find information about what is the
passive ftp mode and what other modes are there???

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 Wed Oct 23 16:13: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 #8) id m0vGCTv-000AhrC; Wed, 23 Oct 96 16:13 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA04414; Wed, 23 Oct 1996 18:08:49 -0500
Received: from access-01.flashnet.it (access-rm-01.flashnet.it [194.247.160.13]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA03992 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 17:59:20 -0500
Received: (from m.trotta@localhost) by access-01.flashnet.it (8.7.5/8.7.3) id AAA18250; Thu, 24 Oct 1996 00:58:59 +0200
Message-Id: <Pine.LNX.3.91.961024005243.17999G-100000@access-01.flashnet.it>
Date: Thu, 24 Oct 1996 00:58:58 +0200 (CET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michele Trotta <m.trotta@access-01.flashnet.it>
To: wu-ftpd@wugate.wustl.edu
Subject: Question about limit *.*.*.*.etc..
In-Reply-To: <Pine.WNT.3.92.961023170838.-411783F-100000@Itzel.mty.itesm.mx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello there ftpadmin mates,
I've got a strange result of the limit function on our ftp server.
A lot of times I see 3 clients connected at the same time from
a.b.c.d with a limit of 2 for the class described as *.*.*.d
It often happens (I am not so sure) when I got some "-" in the
domain. Eg: a-a.b.c.d

Am I totally crazy or did some1 of you experienced something like
this?

Thanks.

                                             Michele Trotta
                                  WAN Administrator for Flashnet S.p.A.

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 17:13: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 #8) id m0vGDQA-000AlCC; Wed, 23 Oct 96 17:13 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA07102; Wed, 23 Oct 1996 19:08:52 -0500
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA06975 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 19:06:13 -0500
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA16422; Thu, 24 Oct 96 10:05:03 +1000
Message-Id: <v03007800ae945e4a5c19@[137.92.10.14]>
Date: Thu, 24 Oct 1996 09:57:17 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 425 Can't create data socket (0.0.0.0,20): Bad file number.
In-Reply-To: <199610231734.TAA09431@proton.uab.es>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 3:34 AM +1000 24/10/96, Miquel Cabanas. BBM-UAB wrote:
>about the major and minor no. They can change from OS to OS and from
>release to release. After all is an internal matter, as long as they
>are internally consistent the value doesn't mind. So, get yours from
>the /devices/pseudo entries in your system,
>
>   > ls -l /devices/pseudo/*ticotsord
>   crw-rw-rw-  1 root  sys  105,  1 Mar 20  1996
>/devices/pseudo/tl@0:ticotsord

OK, my system has 105,1. I tried those numbers, it didn't help.

>> Oct 23 11:50:39 fred ftpd[459]: setsockopt (SO_OOBINLINE): Invalid argument
>> Oct 23 11:50:39 fred ftpd[459]: fcntl F_SETOWN: Invalid argument
>
>F_SETOWN? this isn't supported under Solaris!  In the file ~wuftpd/config.h
>undef its entry,
>
>	#undef  F_SETOWN
>
>and recompile wuftpd

I did a standard compile by typing "build sol" and when I checked
src/config.h it already contains the line:
#undef  F_SETOWN

but when I examine ftpd.c the line
#include "config.h"
occurs at the top of the includes and further down:

#if defined(SVR4) || defined(ISC)
#include <fcntl.h>
#endif

Now /usr/include/fcntl.h sets F_SETOWN, well actually

/usr/include/fcntl.h contains the line: #include <sys/fcntl.h>
and /usr/include/sys/fcntl.h contains the line:
#define F_SETOWN        24      /* Set owner (socket emulation) */


So how do I stop F_SETOWN being defined?  And why is it in the headers if
it isn't supported?  (No don't worry about answering that.)

Kim


--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Wed Oct 23 18:45: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 #8) id m0vGErf-000AHnC; Wed, 23 Oct 96 18: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 UAA10799; Wed, 23 Oct 1996 20:41:00 -0500
Received: from bugsy.dlux.net (bugsy.dlux.net [206.129.10.9]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id UAA10573 for <wu-ftpd@wugate.wustl.edu>; Wed, 23 Oct 1996 20:34:20 -0500
Received: from [206.129.10.154] (le_meow.workstation.dlux.net [206.129.10.154]) by bugsy.dlux.net (8.7.4/8.7.3) with ESMTP id SAA21921; Wed, 23 Oct 1996 18:37:02 -0700
Message-Id: <v03007806ae941217b608@[206.129.10.154]>
Date: Wed, 23 Oct 1996 18:37:02 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Levering <steve@dlux.net>
To: Brian Kramer <bjkramer@pluto.njcc.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re:virt ftp
In-Reply-To: <3214BDC0.A7488A6@sylvester.dlux.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: idbill@mail.dlux.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>http://www.westnet.com/providers/multi-wu-ftpd.txt
>
>Date: Fri, 26 May 1995 21:33:23 -0400 (EDT)
>Subject: Virtual FTP Servers
>
>
>I'm attaching a patch for wu-ftpd 2.4 to allow virtual ftp servers to be
>setup.  Basically so a user ftping to ftp1.domain.com gets one ftp banner
>and one ftp directory and a user ftping to ftp2.domain.com gets another
>banner and directory even though they are on the same machine and port.
>
>Please send me comments, I'm interested in improving it, and hearing
>how it works for people.
>
>Here's the steps.
>
>
># Virtual Servers
>virtual 165.254.117.200 /home/home3/ftp2 /home/home3/ftp2/etc/banner.msg
#virtual
virtual 206.129.10.125 root /home/ftp2
other attempts:
virtual 206.129.10.125 /home/ftp2
virtual ftp.planx.com  /home/ftp2
Done
>
>where the 1st arg is the ip # of the virtual server, the second is the
>new root, and the third is the banner to display upon login.
>
>Note: all the other message files, etc, and permissions and other settings
>in the ftpaccess file apply to all virtual servers.
ftp2 is an exact duplicate of ftp but less directories  :)
>
>
linux 2.0.21
ifconfig eth0:0 206.129.10.125 up
route add 206.129.10.125 dev eth0:0
Check ifconfig & route...looks good
Running wu-ftp 2.4.2b11 no patch

ftp 206.129.10.125

gets me to the main ftp directory (/home/ftp)... :<
  not /home/ftp2

>Here's the patch
...etc....
applied and no difference. Readme seems to indicate the patch was
previously put in.
#define VIRTUAL (is in the makefile.lnx)

Any tips would be appreciated,

Bill Levering                            ISP Manager
idbill@dlux.net                          Seattle, Wa
-----------------------------------------------------
DluxNet                                (206) 812-2769
Fax                                    (206) 622-3066
http://www.dlux.net/                   (206) 812-2772
-----------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 01:43: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 #8) id m0vGLNY-000AOxC; Thu, 24 Oct 96 01: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 DAA22022; Thu, 24 Oct 1996 03:38:21 -0500
Received: from discovery.brad.ac.uk (discovery.brad.ac.uk [143.53.2.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA21531 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 03:22:29 -0500
Received: from morph.acc.brad.ac.uk (user root) by discovery.brad.ac.uk; Thu, 24 Oct 1996 09:22:59 +0100
Received: from shocked.acc.brad.ac.uk (shocked.acc.brad.ac.uk [143.53.1.3]) by morph.acc.brad.ac.uk (8.7.2) with ESMTP id JAA27034 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 09:25:39 +0100 (BST)
Received: (from anthony@localhost) by shocked.acc.brad.ac.uk (8.7.5/8.7.3) id JAA00865 for wu-ftpd@wugate.wustl.edu; Thu, 24 Oct 1996 09:21:39 +0100 (BST)
Message-Id: <199610240821.JAA00865@shocked.acc.brad.ac.uk>
Date: Thu, 24 Oct 1996 09:21:39 +0100 (BST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: A.Ryan@bradford.ac.uk
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot()
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

When I had that error on Solaris 2.5.1 it was because I didn't have
dev/tcp and dev/zero created under the directory which the user gets
chrooted to.

Anthony

> I did all that.. (I did read the faq and the doc).
> He's part of a group which is part of the guestgroup
> in the ftpaccess file. I set his shell to /bin/csh
> (defined in the /etc/shells), he gets
> "Can't create data socket (0.0.0.0,20): Bad file number."
> when he types ls after logging in via ftp.
> however, when I set his shell to /bin/false 
> (defined in the /etc/shells) he can login but the
> chroot() doesn't seem to work since the root dir is wrong.
> 
> Any help would be appreciated.
> Esaie
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 02:25: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 #8) id m0vGM2a-000BOxC; Thu, 24 Oct 96 02: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 EAA23024; Thu, 24 Oct 1996 04:19:25 -0500
Received: from scf-fs.usc.edu (scf-fs.usc.edu [128.125.253.183]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id EAA22970 for <wu-ftpd@mail.wustl.edu>; Thu, 24 Oct 1996 04:17:53 -0500
Received: from usc.edu (comserv-g-52.usc.edu [128.125.223.196])
	by scf-fs.usc.edu (8.7.6/8.7.3/usc) with ESMTP
	id CAA10778 for <wu-ftpd@mail.wustl.edu>; Thu, 24 Oct 1996 02:17:50 -0700 (PDT)
Received: (from reichman@localhost) by usc.edu (8.8.1/8.7.3) id CAA00348 for wu-ftpd@mail.wustl.edu; Thu, 24 Oct 1996 02:17:47 -0700 (PDT)
Received: by NeXT.Mailer (1.118.2)
Message-Id: <199610240917.CAA00348@usc.edu>
Date: Thu, 24 Oct 96 02:17:44 -0700
Reply-To: reichman@usc.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Matthew N. Reichman" <reichman@usc.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Initial problems....
Content-Type: text/plain
MIME-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Image-URL: ftp://ftp.nmr.embl-heidelberg.de/pub/next/Images/People/reichman.64x64.tiff
X-Face: >ZAqA}{!)?=f#/G.kObG<fYxsx3JS'O3BN2HxR}HNY}Dj|b;ASC{aEU]L;%KFEeAE}6"">zj
	B.OWO`U4ioaO<g48|szA5r0yGx4>id6Z1pXKEBBsd;sj?=1pD_=bGOIfqs/doM>0XcKA,s
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello, all. I've just joined!

I'm in the middle of creating an anonymous wu-ftp-2.4 site on  
my home machine (NeXTSTEP 3.3 m68k) and have run into problems:

	1) When I enter a login name at the prompt, I am able  
to go on and enter the password as well, but I get the  
following error message (2x) in the console:

	midnight ftpd[292]: open of pid file failed: No such \
	file or directory

	2)(a) Once logged in, I can 'ls', but I get nothing  
whenI use 'ls' with any flags:
	
	ftp> ls -l
	200 PORT command successful.
	150 Opening ASCII mode data connection for /bin/ls.
	226 Transfer complete.

	
	  and, (b) I am able to remove the 'ls' binary from  
/Users/ftp/bin/ and still perform 'ls'. But no flags work.

	3) With ftpd -i in my inetd.conf I do not get any  
logging into xferlog.

Any ideas what's going on here? If you would need more  
information as to my setup just tell me what to include.

---
Be well

Matthew Reichman
<reichman@usc.edu>
NeXTStep v.3.3 m68k :: NeXTMAIL, SUN Mail & MIME welcome
PGP key --> email w/ subject "request_PGP"
Computer Privacy Information --> http://www.eskimo.com/~joelm/

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 02:38: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 #8) id m0vGMF9-000AGcC; Thu, 24 Oct 96 02: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 EAA23353; Thu, 24 Oct 1996 04:33:01 -0500
Received: from infinity.exit118.com (infinity.exit118.com [198.82.200.71]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id EAA23185 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 04:26:56 -0500
Received: from infinity.heartofgold (probability.heartofgold [192.0.2.129]) by infinity.exit118.com (8.7/8.6.9) with SMTP id FAA10330 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 05:28:42 -0400
Message-Id: <199610240928.FAA10330@infinity.exit118.com>
Date: Wed, 16 Oct 1996 05:27:58 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: cbwood@infinity.exit118.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re:virt ftp
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 Wed, 23 Oct 1996 18:37:02 -0700 
 
[ Deleted: Virtual FTP patches applied and... ]  
 
> applied and no difference. Readme seems to indicate the patch was 
> previously put in. 
> #define VIRTUAL (is in the makefile.lnx) 
>    
> Any tips would be appreciated, 
>    
> Bill Levering                            ISP Manager 
> idbill@dlux.net                          Seattle, Wa 
 
Bill: 
 
Check your /etc/inetd.conf file and on the ftpd line make sure that you 
are starting ftpd with the -a switch. Since the betas ftpd no longer 
reads ftpaccess by default. The -a switch forces 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 Thu Oct 24 06:00:46 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGPOt-000Ah7C; Thu, 24 Oct 96 06: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 HAA28294; Thu, 24 Oct 1996 07:56:44 -0500
Received: from sic.se (mailbox.sic.se [194.236.7.200]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id HAA28133 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 07:50:09 -0500
Received: from pamela.sic.se (pamela [194.236.7.44]) by sic.se (8.7.5/8.7.2) with SMTP id OAA08496 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:50:06 +0100 (MET)
Message-Id: <9610241451.AA16724@pamela.sic.se>
Date: Thu, 24 Oct 1996 14:51:16 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Stefan Berg" <stefan@sic.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: chroot()
MIME-Version: 1.0
Content-Type: Text/Enriched; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon TCP/Connect II 2.3.1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

<fixed>

I found the truss command very helpful for debugging - example:


prompt> <larger><larger>truss -f chroot ~ftp /bin/ls


Try it and see what you get.


/Stefan

</larger></larger>
> I did all that.. (I did read the faq and the doc). He's part of a 

> group which is part of the guestgroup in the ftpaccess file. I set 

> his shell to /bin/csh (defined in the /etc/shells), he gets 

> "Can't create data socket (0.0.0.0,20): Bad file number." when he types 

> ls after logging in via ftp. 

> however, when I set his shell to /bin/false (defined in the /etc/

> shells) he can login but the chroot() doesn't seem to work since the 

> root dir is wrong. 

>  

> Any help would be appreciated. 


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 06:20:08 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGPhd-000AguC; Thu, 24 Oct 96 06: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 IAA28988; Thu, 24 Oct 1996 08:13:52 -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 IAA28634 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 08:06:32 -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 PAA03015 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 15:06:34 +0200 (MET DST)
Message-Id: <Pine.SOL.3.95.961024145749.27867C-100000@legolas.mdh.se>
Date: Thu, 24 Oct 1996 15:06:34 +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: Re: chroot()
In-Reply-To: <9610241451.AA16724@pamela.sic.se>
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

On Thu, 24 Oct 1996, Stefan Berg wrote:

> <fixed>
> I found the truss command very helpful for debugging - example:
> prompt> <larger><larger>truss -f chroot ~ftp /bin/ls

> Try it and see what you get.

> /Stefan
> </larger></larger>

Another useful command is ldd ( I think it is the same on most platforms)
.. when you need to find wich files you need to have in the ~ftp/usr/lib
just do 'ldd ~ftp/bin/ls' and try to copy all the needed files to
~ftp/usr/lib ..
The ~ftp/dev/ is much harder to set up if you don't know what you do, but
on my server (SunOS boromir 5.5 Generic sun4c sparc SUNW,Sun_4_50) I got:
ls -l ~ftp/dev
total 0
crw-r--r--   1 root     other     11, 42 Aug 19 10:30 tcp
crw-r--r--   1 root     other    105,  1 Aug 19 10:30 ticotsord
crw-r--r--   1 root     other     11, 41 Aug 19 10:30 udp
crw-r--r--   1 root     other     13, 12 Aug 19 10:30 zero

and that works fine ..

/Emil

>> I did all that.. (I did read the faq and the doc). He's part of a 
>> group which is part of the guestgroup in the ftpaccess file. I set 
>> his shell to /bin/csh (defined in the /etc/shells), he gets 
>> "Can't create data socket (0.0.0.0,20): Bad file number." when he types 
>> ls after logging in via ftp. 
>> however, when I set his shell to /bin/false (defined in the /etc/
>> shells) he can login but the chroot() doesn't seem to work since the 
>> root dir is wrong. 

> > Any help would be appreciated. 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 07:08: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 #8) id m0vGQSJ-000Af5C; Thu, 24 Oct 96 07: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 JAA01270; Thu, 24 Oct 1996 09:02:00 -0500
Received: from bbs.encis.es (bbs.encis.es [194.179.69.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA00982 for <wu-ftpd@mail.wustl.edu>; Thu, 24 Oct 1996 08:56:23 -0500
Message-Id: <846186947405@bbs.encis.es>
Date: 24 Oct 1996 15:55:24 WET
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sysop@bbs.encis.es (Sysop)
To: wu-ftpd@wugate.wustl.edu
Subject: Limited directory access
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Is there anyway to limit ftp users to certain directory? and How ?
Such as their own directory (cannot go up), or one level up (the
/usr/home
directory). These users can only ftp to the server (no telnet access)
with
passwords. They are not anonymous ftp users

Thanks for your time.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 07:21:46 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGQfI-000Af5C; Thu, 24 Oct 96 07: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 JAA01872; Thu, 24 Oct 1996 09:15:24 -0500
Received: from gaia.vr.net (gaia.vr.net [199.18.177.65]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA01346 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 09:03:48 -0500
Received: from osiris.vr.net (osiris.vr.net [199.18.177.77]) by gaia.vr.net (8.7.4/8.7.3) with ESMTP id KAA09841 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 10:11:56 -0400
Message-Id: <199610241411.KAA09841@gaia.vr.net>
Date: Thu, 24 Oct 1996 10:09:58 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Gregory A Lundberg" <lundberg@vr.net>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Re: Question about limit *.*.*.*.etc..
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I've seen it under 2.4.2-academ beta 9 on Linux (Redhat).  Since it's only
happened once or twice, I've not worried about it.  When I noticed it, it
was on service class REMOTE for a guestgroup user; where the limit is 2 it
was shown by ftpwho as limit 4, current users 2.  Even though ftpwho showed
incorrect information, the limit was imposed correctly.

----------
> From: Michele Trotta <m.trotta@access-01.flashnet.it>
> To: wu-ftpd@wugate.wustl.edu
> Subject: Question about limit *.*.*.*.etc..
> Date: Wednesday, October 23, 1996 6:58 PM
> 
> 
> Hello there ftpadmin mates,
> I've got a strange result of the limit function on our ftp server.
> A lot of times I see 3 clients connected at the same time from
> a.b.c.d with a limit of 2 for the class described as *.*.*.d
> It often happens (I am not so sure) when I got some "-" in the
> domain. Eg: a-a.b.c.d

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 07:41: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 #8) id m0vGQyT-000AqXC; Thu, 24 Oct 96 07: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 JAA02748; Thu, 24 Oct 1996 09:35:15 -0500
Received: from web5.netculture.net (web5.netculture.net [194.250.139.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA02415 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 09:28:05 -0500
Received: (qmail 5959 invoked from smtpd); 24 Oct 1996 15:28:39 -0000
Received: from tg8-28.netculture.net (194.250.139.2)
  by web5.netculture.net with SMTP; 24 Oct 1996 15:28:39 -0000
Message-Id: <199610241428.JAA02415@wugate.wustl.edu>
Date: Thu, 24 Oct 1996 16:28:08 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul Taylor" <paul@NetCulture.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem anonymous ftp
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi All

I have a problem in that a site can not login anonymously log as 
follows :-

> ftp open ftp.microside.com
> Connected to microside.com.
> 220 FTP server (Version wu-2.4.2 (1) Wed Aug 14 16:49:24 GMT+0100
> 1996) ready. 
> User (microside.com:(none)): anonymous 
> 331 Guest login ok, send your complete e-mail address as password. 
> Password:
> Connection closed by remote host. 
> ftp>

I can login here without problems, and I have also tried it from 
another site on the net ok.

It is just one site that this happens with, any ideas ? There is 
nothing in the access file to stop any sites.

Thanks
Paul
________________________________________________________
N e t C u l t u r e   -  Web Hosting
Web: www.NetCulture.net  -  Email: info@NetCulture.net
Tel: +33 1 45 22 00 02   -  Fax: +33 1 45 22 00 52
1 rue Lemercier, 75017 Paris, France

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 07:45: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 #8) id m0vGR2e-000ApbC; Thu, 24 Oct 96 07: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 JAA03054; Thu, 24 Oct 1996 09:41:43 -0500
Received: from earth.astro.umd.edu (earth.astro.umd.edu [129.2.163.100]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA02630 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 09:33:22 -0500
Received: (wls@localhost) 
	by earth.astro.umd.edu (8.7.6/8.6.6mWLS)
	id KAA21839 for wu-ftpd@wugate.wustl.edu; Thu, 24 Oct 1996 10:33:21 -0400 (EDT)
Message-Id: <199610241433.KAA21839@earth.astro.umd.edu>
Date: Thu, 24 Oct 1996 10:33:21 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wls@astro.umd.edu (William L. Sebok)
To: wu-ftpd@wugate.wustl.edu
Subject: Re:virt ftp
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Clifton Wood said:
> Check your /etc/inetd.conf file and on the ftpd line make sure that you 
> are starting ftpd with the -a switch. Since the betas ftpd no longer 
> reads ftpaccess by default. The -a switch forces this. 

This sure confused me badly when I upgraded from wu-2.4 to
wu-2.4.2-academ[BETA-11].  Why was this done?  I should behave in a reasonable
way when it doesn't find a ftpaccess file but it seems to me that ordinarily
you would want it to look for the ftpaccess file.  

Bill Sebok      Computer Software Manager, Univ. of Maryland, Astronomy
	Internet: wls@astro.umd.edu	URL: http://www.astro.umd.edu/~wls/

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 08:43: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 #8) id m0vGRwS-000AhRC; Thu, 24 Oct 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 KAA06588; Thu, 24 Oct 1996 10:38:27 -0500
Received: from discovery.brad.ac.uk (discovery.brad.ac.uk [143.53.2.7]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA05977 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 10:25:15 -0500
Received: from morph.acc.brad.ac.uk (user root) by discovery.brad.ac.uk; Thu, 24 Oct 1996 16:25:43 +0100
Received: from shocked.acc.brad.ac.uk (shocked.acc.brad.ac.uk [143.53.1.3]) by morph.acc.brad.ac.uk (8.7.2) with ESMTP id QAA10885; Thu, 24 Oct 1996 16:28:23 +0100 (BST)
Received: (from anthony@localhost) by shocked.acc.brad.ac.uk (8.7.5/8.7.3) id QAA01156; Thu, 24 Oct 1996 16:24:26 +0100 (BST)
Message-Id: <199610241524.QAA01156@shocked.acc.brad.ac.uk>
Date: Thu, 24 Oct 1996 16:24:26 +0100 (BST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: A.Ryan@bradford.ac.uk
To: wu-ftpd@wugate.wustl.edu
Cc: paul@NetCulture.net
Subject: Re: Problem anonymous ftp
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


You say it's just one machine that you can't connect from ?
Is that machine covered by a deny command in ftpaccess ?
Sometimed there's a line about "deny !nameserverd..." which rejects from
hosts for which it can't resolv a valid name/i.p. address.
Is it mentioned in a file called ftphosts ? ( normally wherever ftpaccess is ) 
Mind you, if either of these was the problem it should get logged to
the logs. Maybe you're not getting a detailed enough log file.
Check what switches are used when ftpd starts up and what they mean.

Anthony

>paul@NetCulture.net wrote:
>
> > Anthing in /var/adm/messages ? That's where I get connection refused
> > messages logged to. Things like "bad shell" etcetera.
> 
> Thanks for the reply, no nothing is logged except a connect from 
> xxx.xxx.xxx.xxx thats it.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 09:15: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 #8) id m0vGSR7-000AuGC; Thu, 24 Oct 96 09: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 LAA08408; Thu, 24 Oct 1996 11:10:54 -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 KAA06801 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 10:43:55 -0500
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.8.0/8.8.0) with ESMTP id LAA19500 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 11:43:54 -0400 (EDT)
Received: by charlie4.EE.McGill.CA (8.8.0) id LAA00458; Thu, 24 Oct 1996 11:43:52 -0400 (EDT)
Message-Id: <199610241543.LAA00458@charlie4.EE.McGill.CA>
Date: Thu, 24 Oct 1996 11:43:50 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Question about ftp modes
In-Reply-To: <Pine.WNT.3.92.961023170838.-411783F-100000@Itzel.mty.itesm.mx> from "Carlos Lazcano-Vega" at Oct 23, 96 05:09:51 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

> 
> Could some one point to where I can find information about what is the
> passive ftp mode and what other modes are there???
> 
> Thanx
> 

RFC-959

you can retrieve it in my mirrors
http://isi.Mirror.McGill.CA/rfc959.txt

or
ftp://ftp.isi.edu/in-notes/

any rfcs depositary

--
alain
-----------------------
.signature --> /dev/null


> ---
> 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 Oct 24 09:20: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 #8) id m0vGSVn-000AtiC; Thu, 24 Oct 96 09: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 LAA08653; Thu, 24 Oct 1996 11:15:47 -0500
Received: from Orion.w3page.com (p12.pm-5.pm.dimensional.com [206.100.130.140]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA08173 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 11:07:07 -0500
Received: from Orion (blaine@localhost [127.0.0.1]) by Orion.w3page.com (8.6.9/8.6.9) with SMTP id KAA06073; Thu, 24 Oct 1996 10:07:02 -0600
Message-Id: <326F9425.248ACE16@w3page.com>
Date: Thu, 24 Oct 1996 10:07:01 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Blaine Minazzi <bminazzi@w3page.com>
To: wu-ftpd@wugate.wustl.edu
Cc: Freebsd-isp@FreeBSD.org
Subject: Speed of access.
References: <199610241524.QAA01156@shocked.acc.brad.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bminazzi@w3page.com
X-Mailer: Mozilla 2.02 (X11; I; Linux 1.2.13 i486)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have _ONE_ client who is complaining about speed of their ftp
connection, also the Telnet and Popmail server.

Their web pages seem to be fine speed wise, but during "peak" hours,
only thier telnet/ftp/pop mail is  s.  l.  o.  w.

THey have used 4 different accounts on differing ISP,s all from the
Phoenix and Chandler Area. ( including an account on infomagic. )
None of these accounts are compuserve/netcom/AOL type of accounts...


I have tried to duplicate the problem, bot everything seems pretty
normal to me.

Our server is not even breaking a sweat, our T-1 not overloaded,
and only this user has reported these kinds of problems.

Methinks it is a router betwixt us... Any other thoughts, suggestions,
etc. He is Only complaining of the FTP, Telnet, and POP.
He says the his web pages are O.K. 

If there is anything in WU-FTP or  FreeBSD that can be tweaked on my
end, I am open to suggestions.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 09:49: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 #8) id m0vGSy7-000ArrC; Thu, 24 Oct 96 09: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 LAA10518; Thu, 24 Oct 1996 11:44:49 -0500
Received: from cyborg.larc.nasa.gov (cyborg.larc.nasa.gov [128.155.3.75]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA10233 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 11:38:59 -0500
Received: (from noid@localhost) by cyborg.larc.nasa.gov
 (8.6.12/server3.4) id MAA25615
 for wu-ftpd@wugate.wustl.edu; Thu, 24 Oct 1996 12:37:16 -0400
Message-Id: <199610241637.MAA25615@cyborg.larc.nasa.gov>
Date: Thu, 24 Oct 1996 12:37:16 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tim P. Starrin" <noid@cyborg.larc.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Speed of access.
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This is probably a really STUPID question, but the user isn't using ASCII mode
to transfer their files, are they?

Tim

> From bminazzi@w3page.com Thu Oct 24 12:20:19 1996
> Date: Thu, 24 Oct 1996 10:07:01 -0600
> From: Blaine Minazzi <bminazzi@w3page.com>
> To: wu-ftpd@wugate.wustl.edu
> Cc: Freebsd-isp@FreeBSD.org
> Subject: Speed of access.
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Sender: bminazzi@w3page.com
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
> I have _ONE_ client who is complaining about speed of their ftp
> connection, also the Telnet and Popmail server.
> 
> Their web pages seem to be fine speed wise, but during "peak" hours,
> only thier telnet/ftp/pop mail is  s.  l.  o.  w.
> 
> THey have used 4 different accounts on differing ISP,s all from the
> Phoenix and Chandler Area. ( including an account on infomagic. )
> None of these accounts are compuserve/netcom/AOL type of accounts...
> 
> 
> I have tried to duplicate the problem, bot everything seems pretty
> normal to me.
> 
> Our server is not even breaking a sweat, our T-1 not overloaded,
> and only this user has reported these kinds of problems.
> 
> Methinks it is a router betwixt us... Any other thoughts, suggestions,
> etc. He is Only complaining of the FTP, Telnet, and POP.
> He says the his web pages are O.K. 
> 
> If there is anything in WU-FTP or  FreeBSD that can be tweaked on my
> end, I am open to suggestions.
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 10:01: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 #8) id m0vGT9o-000Ah0C; Thu, 24 Oct 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 LAA11050; Thu, 24 Oct 1996 11:57:03 -0500
Received: from web5.netculture.net (web5.netculture.net [194.250.139.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA10615 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 11:47:15 -0500
Received: (qmail 6307 invoked from smtpd); 24 Oct 1996 17:48:09 -0000
Received: from tg8-28.netculture.net (194.250.139.2)
  by web5.netculture.net with SMTP; 24 Oct 1996 17:48:09 -0000
Message-Id: <199610241647.LAA10615@wugate.wustl.edu>
Date: Thu, 24 Oct 1996 18:47:35 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul Taylor" <paul@NetCulture.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem anonymous ftp
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi Anthony

> You say it's just one machine that you can't connect from ?
> Is that machine covered by a deny command in ftpaccess ?
> Sometimed there's a line about "deny !nameserverd..." which rejects from
> hosts for which it can't resolv a valid name/i.p. address.
> Is it mentioned in a file called ftphosts ? ( normally wherever ftpaccess is ) 
> Mind you, if either of these was the problem it should get logged to
> the logs. Maybe you're not getting a detailed enough log file.
> Check what switches are used when ftpd starts up and what they mean.

There is no deny message in the ftpaccess file or any other. The ftpd 
is kicked off by inetd with simply a '-a' for the config files.

This is wierd, problem is it is new client and he ain't too 
impressed. Can you try and login from there, the account is 
ftp.microside.com ?

Thanks in advance.
Paul
________________________________________________________
N e t C u l t u r e   -  Web Hosting
Web: www.NetCulture.net  -  Email: info@NetCulture.net
Tel: +33 1 45 22 00 02   -  Fax: +33 1 45 22 00 52
1 rue Lemercier, 75017 Paris, France

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 10:29:15 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGTaf-000ArCC; Thu, 24 Oct 96 10: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 MAA12361; Thu, 24 Oct 1996 12:24:47 -0500
Received: from relay3.smtp.psi.net (relay3.smtp.psi.net [38.8.210.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA11841 for <wu-ftpd@mail.wustl.edu>; Thu, 24 Oct 1996 12:14:50 -0500
Received: from mail.sorosny.org by relay3.smtp.psi.net (8.7.5/SMI-5.4-PSI)
	id NAA26971; Thu, 24 Oct 1996 13:14:45 -0400 (EDT)
Received: from ccMail by mail.sorosny.org (SMTPLINK V2.11.01)
	id AA846188436; Thu, 24 Oct 96 13:22:47 EST
Message-Id: <9609248461.AA846188436@mail.sorosny.org>
Date: Thu, 24 Oct 96 13:22:47 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: agalietti@sorosny.org
To: wu-ftpd@wugate.wustl.edu
Subject: Files Not Be Displayed
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     This is a strange problem that I would appreciate some assistance 
     with.
     
     I am making use of the "user" ftp feature available with wu-ftpd.  My 
     users are able to upload files.  I am able to confirm transmission of 
     the files since I can see them on the UNIX server.  I can also use 
     UNIX ftp, use their login id and password and see the files myself.
     
     Here is the problem, if I (or anyone else) use Pathway FTP or 
     "cuteftp" as a client, the files do not appear to be there.  The 
     directory is there but it appears empty when in reality it is not.  I 
     believe that I checked the file permissions on the UNIX side and all 
     looks fine.
     
     Any ideas?
     
     Thanks.
     
     Anthony Galietti
     agalietti@sorosny.org

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 10:34: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 #8) id m0vGTfs-000At1C; Thu, 24 Oct 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 MAA12729; Thu, 24 Oct 1996 12:30:12 -0500
Received: from buffnet1.buffnet.net (buffnet1.buffnet.net [205.246.19.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA11916 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 12:16:22 -0500
Received: from buffnet11.buffnet.net by buffnet1.buffnet.net id aa04614;
          24 Oct 96 13:23 EDT
Message-Id: <Pine.BSI.3.95.961024132213.5281E-100000@buffnet11.buffnet.net>
Date: Thu, 24 Oct 1996 13:23:32 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve <shovey@buffnet.net>
To: Blaine Minazzi <bminazzi@w3page.com>
Cc: wu-ftpd@wugate.wustl.edu, Freebsd-isp@freebsd.org
Subject: Re: Speed of access.
In-Reply-To: <326F9425.248ACE16@w3page.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I had some users have slowness or stall issues, especially trumpet users,
unless I moved the freebsd boxes the other side of a cisco router.

People dont want to believe me but there is something a bit hokie with
freebsd tcp/ip that I do not see with SCO or Linux - but since going thru
a cisco stops it, I can work with it.

On Thu, 24 Oct 1996, Blaine Minazzi wrote:

> I have _ONE_ client who is complaining about speed of their ftp
> connection, also the Telnet and Popmail server.
> 
> Their web pages seem to be fine speed wise, but during "peak" hours,
> only thier telnet/ftp/pop mail is  s.  l.  o.  w.
> 
> THey have used 4 different accounts on differing ISP,s all from the
> Phoenix and Chandler Area. ( including an account on infomagic. )
> None of these accounts are compuserve/netcom/AOL type of accounts...
> 
> 
> I have tried to duplicate the problem, bot everything seems pretty
> normal to me.
> 
> Our server is not even breaking a sweat, our T-1 not overloaded,
> and only this user has reported these kinds of problems.
> 
> Methinks it is a router betwixt us... Any other thoughts, suggestions,
> etc. He is Only complaining of the FTP, Telnet, and POP.
> He says the his web pages are O.K. 
> 
> If there is anything in WU-FTP or  FreeBSD that can be tweaked on my
> end, I am open to suggestions.
> 

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 10:49: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 #8) id m0vGTuX-000AofC; Thu, 24 Oct 96 10: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 MAA13431; Thu, 24 Oct 1996 12:43:58 -0500
Received: from bugsy.dlux.net (bugsy.dlux.net [206.129.10.9]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA13079 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 12:37:27 -0500
Received: from [206.129.10.154] (le_meow.workstation.dlux.net [206.129.10.154]) by bugsy.dlux.net (8.7.4/8.7.3) with ESMTP id KAA25409 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 10:40:25 -0700
Message-Id: <v03007800ae94f1c83472@[206.129.10.154]>
Date: Thu, 24 Oct 1996 10:40:25 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Levering <steve@dlux.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re:virt ftp
In-Reply-To: <199610241433.KAA21839@earth.astro.umd.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: idbill@mail.dlux.net
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>Clifton Wood said:
>> Check your /etc/inetd.conf file and on the ftpd line make sure that you
>> are starting ftpd with the -a switch. Since the betas ftpd no longer
>> reads ftpaccess by default. The -a switch forces this.
>
>This sure confused me badly when I upgraded from wu-2.4 to
>wu-2.4.2-academ[BETA-11].  Why was this done?  I should behave in a reasonable
>way when it doesn't find a ftpaccess file but it seems to me that ordinarily
>you would want it to look for the ftpaccess file.
>
Praise the LORD!!!!

it worked!!! Finally something that worked with one minor change, simple as
it was.

Thanxk you,

Bill Levering                            ISP Manager
idbill@dlux.net                          Seattle, Wa
-----------------------------------------------------
DluxNet                                (206) 812-2769
Fax                                    (206) 622-3066
http://www.dlux.net/                   (206) 812-2772
-----------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 10:57: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 #8) id m0vGU14-000AwxC; Thu, 24 Oct 96 10: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 MAA13806; Thu, 24 Oct 1996 12:50:56 -0500
Received: from genesis.ximango.com.br (genesis.ximango.com.br [200.238.54.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA13246 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 12:39:35 -0500
Received: (from jdt@localhost) by genesis.ximango.com.br (8.7.5/8.7.3) id PAA02279; Thu, 24 Oct 1996 15:40:32 GMT
Message-Id: <Pine.BSF.3.91.961024153829.2270B-100000@genesis>
Date: Thu, 24 Oct 1996 15:40:30 +0000 ()
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Joao Daniel Togni <jdt@genesis.ximango.com.br>
To: Blaine Minazzi <bminazzi@w3page.com>
Cc: wu-ftpd@wugate.wustl.edu, Freebsd-isp@FreeBSD.ORG
Subject: Re: Speed of access.
In-Reply-To: <326F9425.248ACE16@w3page.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 24 Oct 1996, Blaine Minazzi wrote:

> I have _ONE_ client who is complaining about speed of their ftp
> connection, also the Telnet and Popmail server.
> 
> Their web pages seem to be fine speed wise, but during "peak" hours,
> only thier telnet/ftp/pop mail is  s.  l.  o.  w.
> 
	I had a problem with the win95 and netscape32+trumpet32, i don't 
know why but the connection was slow, than i change my client to 
netscape16+trumpet16, and it works fine, why i dont know too!!!!

Joao Daniel Togni

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 11:22: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 #8) id m0vGUQQ-000AtYC; Thu, 24 Oct 96 11: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 NAA15172; Thu, 24 Oct 1996 13:17:11 -0500
Received: from glacier.cold.org ([206.81.134.54]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id NAA15002 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 13:13:07 -0500
Received: from localhost (brandon@localhost) by glacier.cold.org (8.7.5/8.7.3) with SMTP id MAA10698; Thu, 24 Oct 1996 12:14:01 -0600 (MDT)
Message-Id: <Pine.NEB.3.95.961024121333.10696A-100000@glacier.cold.org>
Date: Thu, 24 Oct 1996 12:14:01 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brandon Gillespie <brandon@glacier.cold.org>
To: Joao Daniel Togni <jdt@genesis.ximango.com.br>
Cc: Blaine Minazzi <bminazzi@w3page.com>, wu-ftpd@wugate.wustl.edu,
        Freebsd-isp@FreeBSD.ORG
Subject: Re: Speed of access.
In-Reply-To: <Pine.BSF.3.91.961024153829.2270B-100000@genesis>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 24 Oct 1996, Joao Daniel Togni wrote:
> On Thu, 24 Oct 1996, Blaine Minazzi wrote:
> > I have _ONE_ client who is complaining about speed of their ftp
> > connection, also the Telnet and Popmail server.
> > 
> > Their web pages seem to be fine speed wise, but during "peak" hours,
> > only thier telnet/ftp/pop mail is  s.  l.  o.  w.
> > 
> 	I had a problem with the win95 and netscape32+trumpet32, i don't 
> know why but the connection was slow, than i change my client to 
> netscape16+trumpet16, and it works fine, why i dont know too!!!!

my suggestion, try win95 + win95 dialup support + netscape 32--nix trumpet
all together.

-Brandon Gillespie

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 11:41: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 #8) id m0vGUiD-000BJsC; Thu, 24 Oct 96 11: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 NAA16113; Thu, 24 Oct 1996 13:34:55 -0500
Received: from web5.netculture.net (web5.netculture.net [194.250.139.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA15188 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 13:17:56 -0500
Received: (qmail 6550 invoked from smtpd); 24 Oct 1996 18:20:12 -0000
Received: from tg8-28.netculture.net (194.250.139.2)
  by web5.netculture.net with SMTP; 24 Oct 1996 18:20:12 -0000
Message-Id: <199610241817.NAA15188@wugate.wustl.edu>
Date: Thu, 24 Oct 1996 19:19:38 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul Taylor" <paul@NetCulture.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Help: 'Some' Anonymous users kicked off !
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi All

We are having a VERY strange problem.

An anonymous user (on a PPP dialup) can't connect via anonymous ftp. 
He enters anonymous and his email as password (just as normal) and 
then he gets the message 'Connection closed by remote host'.

What I can't understand is :-

1/ I have tried to login from a number of other sites and it works 
   fine.
2/ There is nothing in the ftpaccess file to deny access to anyone !

His IP can not re resolved to an IP address, but this is not the 
problem as I have got another users who's IP maps to dns fine but 
still has the problem. Could it be problem with speed on dialup ?

If anyone can help I'll email a copy of the ftpaccess file 
(privately).

Use are happy to try and connect to test it, it is ftp.microside.com

Many thanks for anything you can offer, I'm getting a bit frustrated 
with this now.

Cheers
Paul
________________________________________________________
N e t C u l t u r e   -  Web Hosting
Web: www.NetCulture.net  -  Email: info@NetCulture.net
Tel: +33 1 45 22 00 02   -  Fax: +33 1 45 22 00 52
1 rue Lemercier, 75017 Paris, France

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 11:55: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 #8) id m0vGUvq-000AoGC; Thu, 24 Oct 96 11: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 NAA16738; Thu, 24 Oct 1996 13:49:14 -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 NAA16421 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 13:42:50 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id NAA13255 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 13:42:56 -0500
Message-Id: <Pine.LNX.3.95.961024134209.13085B-100000@ns1.fni.com>
Date: Thu, 24 Oct 1996 13:42: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: Files Not Be Displayed
In-Reply-To: <9609248461.AA846188436@mail.sorosny.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Retrieve the guest howto below and pay careful attention to how to set up
ls. 

   -- Michael

On Thu, 24 Oct 1996 agalietti@sorosny.org wrote:

>      I am making use of the "user" ftp feature available with wu-ftpd.  My 
>      users are able to upload files.  I am able to confirm transmission of 
>      the files since I can see them on the UNIX server.  I can also use 
>      UNIX ftp, use their login id and password and see the files myself.
>      
>      Here is the problem, if I (or anyone else) use Pathway FTP or 
>      "cuteftp" as a client, the files do not appear to be there.  The 
>      directory is there but it appears empty when in reality it is not.  I 
>      believe that I checked the file permissions on the UNIX side and all 
>      looks fine.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 12:11: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 #8) id m0vGVC4-000ApgC; Thu, 24 Oct 96 12: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 OAA17667; Thu, 24 Oct 1996 14:06:43 -0500
Received: from aleph.sensenet.com (aleph.sensenet.com [199.33.238.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA17467 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:03:54 -0500
Received: (from spacey@localhost) by aleph.sensenet.com (8.7.6/8.7.3) id OAA06344; Thu, 24 Oct 1996 14:58:25 -0400
Message-Id: <Pine.LNX.3.91.961024145537.29084A-100000@aleph.sensenet.com>
Date: Thu, 24 Oct 1996 14:58:22 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Peter C. Norton" <spacey@nosleep.net>
To: Paul Taylor <paul@NetCulture.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Help: 'Some' Anonymous users kicked off !
In-Reply-To: <199610241817.NAA15188@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: spacey@aleph.sensenet.com
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 24 Oct 1996, Paul Taylor wrote:
> Hi All
> 
> We are having a VERY strange problem.
> 
> An anonymous user (on a PPP dialup) can't connect via anonymous ftp. 
> He enters anonymous and his email as password (just as normal) and 
> then he gets the message 'Connection closed by remote host'.

Are you launching ftpd from tcpd?  If you have tcp_wrappers configured to
verify that a hosts A and PTR records match, then it'll drop a connection
that doesn't.

--
Faster isn't better.  Better is better.

spacey@sensenet.com 
http://www.sensenet.com
Systems Administrator, Sensenet, Inc.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 12:39: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 #8) id m0vGVcS-0000PGC; Thu, 24 Oct 96 12: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 OAA19080; Thu, 24 Oct 1996 14:34:19 -0500
Received: from relay3.smtp.psi.net (relay3.smtp.psi.net [38.8.210.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA18681 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:26:32 -0500
Received: from mail.sorosny.org by relay3.smtp.psi.net (8.7.5/SMI-5.4-PSI)
	id PAA15215; Thu, 24 Oct 1996 15:26:28 -0400 (EDT)
Received: from ccMail by mail.sorosny.org (SMTPLINK V2.11.01)
	id AA846196343; Thu, 24 Oct 96 15:36:42 EST
Message-Id: <9609248461.AA846196343@mail.sorosny.org>
Date: Thu, 24 Oct 96 15:36:42 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: agalietti@sorosny.org
To: wu-ftpd@wugate.wustl.edu
Subject: Re[2]: Files Not Be Displayed
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

     

Where can I located this "guest" howto?

Thank you for all your help.

Anthony
______________________________ Reply Separator _________________________________
Subject: Re: Files Not Be Displayed
Author:  wu-ftpd@wugate.wustl.edu at Internet-Gateway
Date:    10/24/96 2:57 PM


     
Retrieve the guest howto below and pay careful attention to how to set up 
ls. 
     
   -- Michael
     
On Thu, 24 Oct 1996 agalietti@sorosny.org wrote:
     
>      I am making use of the "user" ftp feature available with wu-ftpd.  My 
>      users are able to upload files.  I am able to confirm transmission of 
>      the files since I can see them on the UNIX server.  I can also use 
>      UNIX ftp, use their login id and password and see the files myself. 
>      
>      Here is the problem, if I (or anyone else) use Pathway FTP or 
>      "cuteftp" as a client, the files do not appear to be there.  The 
>      directory is there but it appears empty when in reality it is not.  I 
>      believe that I checked the file permissions on the UNIX side and all 
>      looks fine.
     

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 12:54: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 #8) id m0vGVrF-000ApgC; Thu, 24 Oct 96 12: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 OAA19966; Thu, 24 Oct 1996 14:49:45 -0500
Received: from root.com (implode.root.com [198.145.90.17]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA19776 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:45:38 -0500
Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id MAA06343; Thu, 24 Oct 1996 12:46:32 -0700 (PDT)
Message-Id: <199610241946.MAA06343@root.com>
Date: Thu, 24 Oct 1996 12:46:32 -0700
Reply-To: dg@root.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Greenman <dg@root.com>
To: Steve <shovey@buffnet.net>
Cc: Blaine Minazzi <bminazzi@w3page.com>, wu-ftpd@wugate.wustl.edu,
        Freebsd-isp@freebsd.org
Subject: Re: Speed of access. 
In-Reply-To: Your message of "Thu, 24 Oct 1996 13:23:32 EDT."
             <Pine.BSI.3.95.961024132213.5281E-100000@buffnet11.buffnet.net> 
X-Sender: root@implode.root.com
X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I had some users have slowness or stall issues, especially trumpet users,
>unless I moved the freebsd boxes the other side of a cisco router.
>
>People dont want to believe me but there is something a bit hokie with
>freebsd tcp/ip that I do not see with SCO or Linux - but since going thru
>a cisco stops it, I can work with it.

   If moving it to the other side of a Cisco stops the problem, then the
problem isn't with TCP/IP. Problems like this can be caused by a number of
things, ranging from incorrect serial port flow control setting to an
unusual bug in the PPP protocol (I assume you're using PPP?). You might try
disabling VJ header compression if it's enabled and see if that makes any
difference.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 13:02:23 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGVym-000ApiC; Thu, 24 Oct 96 13: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 OAA20310; Thu, 24 Oct 1996 14:57:41 -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 OAA19818 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:46:44 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id OAA13810 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:46:51 -0500
Message-Id: <Pine.LNX.3.95.961024144417.13085G-100000@ns1.fni.com>
Date: Thu, 24 Oct 1996 14:46:51 -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: Re[2]: Files Not Be Displayed
In-Reply-To: <9609248461.AA846196343@mail.sorosny.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Oops.  That's the second time in a few days I've forgetten to include
this.  Sorry about that. 

   -- Michael

On Thu, 24 Oct 1996 agalietti@sorosny.org wrote:

> Where can I located this "guest" howto?

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 Thu Oct 24 13:49: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 #8) id m0vGWiE-000ArlC; Thu, 24 Oct 96 13: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 PAA22982; Thu, 24 Oct 1996 15:43:50 -0500
Received: from mail.nettec.co.uk ([194.143.174.6]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA20091 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:53:17 -0500
Received: from cps.nettec.co.uk (cps.nettec.co.uk [194.143.185.10]) by mail.nettec.co.uk (8.6.12/8.6.12) with SMTP id UAA16488 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 20:32:05 +0100
Message-Id: <SIMEON.9610242058.A@cps.nettec.co.uk>
Date: Thu, 24 Oct 1996 20:49:58 +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@wugate.wustl.edu
Subject: Re: Help: 'Some' Anonymous users kicked off !
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Mailer: Simeon for Win32 Version 4.0.9
X-Authentication: none
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Thu, 24 Oct 1996 14:58:22 -0400 (EDT) "Peter C. Norton" <spacey@nosleep.net> 
wrote:


> On Thu, 24 Oct 1996, Paul Taylor wrote:
> > Hi All
> > 
> > We are having a VERY strange problem.
> > 
> > An anonymous user (on a PPP dialup) can't connect via anonymous ftp. 
> > He enters anonymous and his email as password (just as normal) and 
> > then he gets the message 'Connection closed by remote host'.
> 
> Are you launching ftpd from tcpd?  If you have tcp_wrappers configured to
> verify that a hosts A and PTR records match, then it'll drop a connection
> that doesn't.
> 
> --
> Faster isn't better.  Better is better.
> 
> spacey@sensenet.com 

I tried connecting to him from a few different ftp clients on a 
few different pc's, some with reverse dns and some without and got 
through every time.
Sorry it's not much help, but it takes the reverse look up out of 
the equation.
----------------------
Craig Stratton
craig@nettec.co.uk


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 14:04: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 #8) id m0vGWxI-000AiGC; Thu, 24 Oct 96 14: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 QAA23765; Thu, 24 Oct 1996 16:00:17 -0500
Received: from bbs.encis.es (bbs.encis.es [194.179.69.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA20340 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 14:58:06 -0500
Message-Id: <8462086683208@bbs.encis.es>
Date: 24 Oct 1996 21:57:32 WET
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sysop@bbs.encis.es (Sysop)
To: wu-ftpd@wugate.wustl.edu
Subject: Ftp control
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Is there anyway to limit ftp users to certain directory? and How ?
Such as their own directory (cannot go up), or one level up (the
/usr/home directory). These users can only ftp to the server (no telnet
access)
with passwords. They are not anonymous ftp users and the home directory
not was under FTP home

Thanks for your time.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 14:11: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 #8) id m0vGX3i-000AwrC; Thu, 24 Oct 96 14: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 QAA24077; Thu, 24 Oct 1996 16:06:38 -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 PAA20499 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 15:00:23 -0500
Received: from proton.uab.es ("port 34856"@proton.uab.es)
 by cc.uab.es (PMDF V5.0-7 #2461) id <01IB1BSJ48K4009P2H@cc.uab.es> for
 wu-ftpd@wugate.wustl.edu; Thu, 24 Oct 1996 22:00:44 +0000
Received: by proton.uab.es (SMI-8.6/SMI-SVR4) id VAA11975; Thu,
 24 Oct 1996 21:54:55 +0200
Message-Id: <199610241954.VAA11975@proton.uab.es>
Date: Thu, 24 Oct 1996 21:54:55 +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: Problem anonymous ftp
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

hi Paul,

> There is no deny message in the ftpaccess file or any other. The ftpd 
> is kicked off by inetd with simply a '-a' for the config files.

start it with '-dl' so that it logs all debugging information and
transfer sessions as well.

since they are logged through syslog you'll have to hack the syslog.conf
file (ie /etc/syslog.conf) to instruct the syslogd to log whatever ftpd
says. If using Solaris or similar, append the following lines (if not
already present) to syslog.conf

  #
  # 07/03/95  Miquel E Cabanas
  # after Sun Managers FAQ - enable syslogd for ftpd
  #
  daemon.info	/var/adm/syslog

> This is wierd, problem is it is new client and he ain't too 
> impressed. Can you try and login from there, the account is 
> ftp.microside.com ?

this is what i got,

  > ftp -d ftp.microside.com
  Connected to microside.com.
  220 FTP server (Version wu-2.4.2 (1) Thu Oct 24 20:01:12 GMT+0100 1996) ready.
  Name (ftp.microside.com:miquel): anonymous
  ---> USER anonymous
  331 Guest login ok, send your complete e-mail address as password.
  Password:
  ---> PASS anon@@@@@@
  230-The response 'anon@@@@@@' is not valid
  230-Next time please use your e-mail address as your password
  230-        for example: joe@proton.uab.es
  421 Service not available, remote server has closed connection
  Login failed.
  ftp> open ftp.microside.com
  Connected to microside.com.
  220 FTP server (Version wu-2.4.2 (1) Thu Oct 24 20:01:12 GMT+0100 1996) ready.
  Name (ftp.microside.com:miquel): anonymous
  ---> USER anonymous
  331 Guest login ok, send your complete e-mail address as password.
  Password:
  ---> PASS miquel
  230-The response 'miquel' is not valid
  230-Next time please use your e-mail address as your password
  230-        for example: joe@proton.uab.es
  421 Service not available, remote server has closed connection
  Login failed.
  ftp> quit

that is,
  the anonymous ftp user is defined, that the password is checked but
  not enforced, and by some reason the ftp server closes the connection

  i've tried to reproduce the problem but keep getting different types
  of errors. Never this one.

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 Thu Oct 24 14:39:10 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGXUX-000AfdC; Thu, 24 Oct 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 QAA26111; Thu, 24 Oct 1996 16:34:17 -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 PAA23188 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 15:48:38 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id WAA02371 for wu-ftpd@wugate.wustl.edu; Thu, 24 Oct 1996 22:49:15 +0200 (MET DST)
Message-Id: <199610242049.WAA02371@pizza.hvu.nl>
Date: Thu, 24 Oct 1996 22:49:14 +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: Help: 'Some' Anonymous users kicked off !
In-Reply-To: <SIMEON.9610242058.A@cps.nettec.co.uk> from "Craig Stratton" at Oct 24, 96 08:49:58 pm
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Craig Stratton, who wrote :

> > Are you launching ftpd from tcpd?  If you have tcp_wrappers configured to
> > verify that a hosts A and PTR records match, then it'll drop a connection
> > that doesn't.

> I tried connecting to him from a few different ftp clients on a 
> few different pc's, some with reverse dns and some without and got 
> through every time.
> Sorry it's not much help, but it takes the reverse look up out of 
> the equation.

tcp_wrappers _checks_ whether the name found on a reverse lookup gives the
same IP number.

So I connect with 10.0.0.2, tcp_wrapper does a lookup and finds host1.arpa
and then checks whether host1.arpa resolves to 10.0.0.2

So the only time this fails is when a machine _does_ have a reverse DNS
entry but it doesn't match.

                                                  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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 14:45:31 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGXaW-000BAYC; Thu, 24 Oct 96 14: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 QAA26460; Thu, 24 Oct 1996 16:40:59 -0500
Received: from web5.netculture.net (web5.netculture.net [194.250.139.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA23790 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 16:01:03 -0500
Received: (qmail 165 invoked from smtpd); 24 Oct 1996 22:01:18 -0000
Received: from tg8-28.netculture.net (194.250.139.2)
  by web5.netculture.net with SMTP; 24 Oct 1996 22:01:18 -0000
Message-Id: <199610242101.QAA23790@wugate.wustl.edu>
Date: Thu, 24 Oct 1996 23:01:23 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul Taylor" <paul@NetCulture.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help: 'Some' Anonymous users kicked off !
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> > > We are having a VERY strange problem.
> > > 
> > > An anonymous user (on a PPP dialup) can't connect via anonymous ftp. 
> > > He enters anonymous and his email as password (just as normal) and 
> > > then he gets the message 'Connection closed by remote host'.
> > 
> > Are you launching ftpd from tcpd?  If you have tcp_wrappers configured to
> > verify that a hosts A and PTR records match, then it'll drop a connection
> > that doesn't.
> 
> I tried connecting to him from a few different ftp clients on a 
> few different pc's, some with reverse dns and some without and got 
> through every time.
> Sorry it's not much help, but it takes the reverse look up out of 
> the equation.

Apparently he can connect to some systems like ftp.microsoft.com and 
also ftp.netscape.com but not to some other stranger systems. I'll 
try and get a list and let you know.

Thanks for the help.

Paul

 
________________________________________________________
N e t C u l t u r e   -  Web Hosting
Web: www.NetCulture.net  -  Email: info@NetCulture.net
Tel: +33 1 45 22 00 02   -  Fax: +33 1 45 22 00 52
1 rue Lemercier, 75017 Paris, France

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 14:52: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 #8) id m0vGXh1-000AqsC; Thu, 24 Oct 96 14: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 QAA26853; Thu, 24 Oct 1996 16:47:32 -0500
Received: from buffnet1.buffnet.net (buffnet1.buffnet.net [205.246.19.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA24674 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 16:16:24 -0500
Received: from buffnet11.buffnet.net by buffnet1.buffnet.net id aa05949;
          24 Oct 96 17:23 EDT
Message-Id: <Pine.BSI.3.95.961024172242.28241N-100000@buffnet11.buffnet.net>
Date: Thu, 24 Oct 1996 17:23:12 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve <shovey@buffnet.net>
To: David Greenman <dg@root.com>
Cc: Blaine Minazzi <bminazzi@w3page.com>, wu-ftpd@wugate.wustl.edu,
        Freebsd-isp@freebsd.org
Subject: Re: Speed of access. 
In-Reply-To: <199610241946.MAA06343@root.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 24 Oct 1996, David Greenman wrote:

> >I had some users have slowness or stall issues, especially trumpet users,
> >unless I moved the freebsd boxes the other side of a cisco router.
> >
> >People dont want to believe me but there is something a bit hokie with
> >freebsd tcp/ip that I do not see with SCO or Linux - but since going thru
> >a cisco stops it, I can work with it.
> 
>    If moving it to the other side of a Cisco stops the problem, then the
> problem isn't with TCP/IP. Problems like this can be caused by a number of
> things, ranging from incorrect serial port flow control setting to an
> unusual bug in the PPP protocol (I assume you're using PPP?). You might try
> disabling VJ header compression if it's enabled and see if that makes any
> difference.
> 

Actually enabling vj compression at the term server (not a freebsd)
elliviated some of it.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 14:58: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 #8) id m0vGXn8-000AfEC; Thu, 24 Oct 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 QAA27205; Thu, 24 Oct 1996 16:54:04 -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 QAA24763 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 16:17:54 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id QAA14685 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 16:18:01 -0500
Message-Id: <Pine.LNX.3.95.961024161700.13085M-100000@ns1.fni.com>
Date: Thu, 24 Oct 1996 16:18:01 -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: Ftp control
In-Reply-To: <8462086683208@bbs.encis.es>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


One more time: guest FTP.  Retrieve the howto below and study it
carefully.

   -- Michael

On 24 Oct 1996, Sysop wrote:

> Is there anyway to limit ftp users to certain directory? and How ?  Such
> as their own directory (cannot go up), or one level up (the /usr/home
> directory). These users can only ftp to the server (no telnet access) 
> with passwords. They are not anonymous ftp users and the home directory
> not was under FTP home

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 Thu Oct 24 15:51: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 #8) id m0vGYcQ-000AfLC; Thu, 24 Oct 96 15: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 RAA01423; Thu, 24 Oct 1996 17:47:01 -0500
Received: from otn.com (www.otn.com [204.176.111.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA27299 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 16:55:40 -0500
Received: from [204.176.111.4] by otn.com
 with SMTP (Apple Internet Mail Server 1.1.1); Thu, 24 Oct 1996 14:57:59 -0700
Message-Id: <v02140b07ae9595ddc411@[204.176.111.4]>
Date: Thu, 24 Oct 1996 14:55:51 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Aviram Carmi <avi@otn.com>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd Docs/FAQ ???
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi All,

Are there any docs/FAQ available other than the man page?

I am looking in particular for details on virtal ftp servers and access
restrictions setup.

Thanks,

-avi


--
Aviram Carmi                                    +---------------+ tm
                                                |    O v e r    |
Exceutive Vice President, Technology            |  -----------  |
(805) 384-1144 Voice                            |  T h e N e t  |
(805) 384-9111 FAX                              +---------------+
                                         We'll Make You Known Worldwide

PO Box 1499                                   http://www.otn.com/
Camarillo, CA 93011-1499

(c) Copyright 1996, Over TheNet.  All rights reserved.


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 16:18: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 #8) id m0vGZ1s-000AjjC; Thu, 24 Oct 96 16: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 SAA02696; Thu, 24 Oct 1996 18:12:34 -0500
Received: from scf-fs.usc.edu (scf-fs.usc.edu [128.125.253.183]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA01843 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 17:56:54 -0500
Received: from usc.edu (comserv-f-69.usc.edu [128.125.223.141])
	by scf-fs.usc.edu (8.7.6/8.7.3/usc) with ESMTP
	id PAA28425 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 15:56:51 -0700 (PDT)
Received: (from reichman@localhost) by usc.edu (8.8.1/8.7.3) id PAA01405 for wu-ftpd@wugate.wustl.edu; Thu, 24 Oct 1996 15:56:49 -0700 (PDT)
Received: by NeXT.Mailer (1.118.2)
Message-Id: <199610242256.PAA01405@usc.edu>
Date: Thu, 24 Oct 96 15:56:45 -0700
Reply-To: reichman@usc.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Matthew N. Reichman" <reichman@usc.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd Docs/FAQ ???
In-Reply-To: <v02140b07ae9595ddc411@[204.176.111.4]>
References: <v02140b07ae9595ddc411@[204.176.111.4]>
Content-Type: text/plain
MIME-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Image-URL: ftp://ftp.nmr.embl-heidelberg.de/pub/next/Images/People/reichman.64x64.tiff
X-Face: >ZAqA}{!)?=f#/G.kObG<fYxsx3JS'O3BN2HxR}HNY}Dj|b;ASC{aEU]L;%KFEeAE}6"">zj
	B.OWO`U4ioaO<g48|szA5r0yGx4>id6Z1pXKEBBsd;sj?=1pD_=bGOIfqs/doM>0XcKA,s
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 24 Oct 1996
RE: "wu-ftpd Docs/FAQ ???"
Aviram Carmi wrote:

> Are there any docs/FAQ available other than the man page?

c/o Michael Brennan:

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.




---
Be well

Matthew Reichman
<reichman@usc.edu>
NeXTStep v.3.3 m68k :: NeXTMAIL, SUN Mail & MIME welcome
PGP key --> email w/ subject "request_PGP"
Computer Privacy Information --> http://www.eskimo.com/~joelm/

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 17: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 #8) id m0vGaE1-000Aw2C; Thu, 24 Oct 96 17: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 TAA04989; Thu, 24 Oct 1996 19:29:38 -0500
Received: from aleph.sensenet.com (aleph.sensenet.com [199.33.238.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA04634 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 19:22:42 -0500
Received: (from spacey@localhost) by aleph.sensenet.com (8.7.6/8.7.3) id UAA22240; Thu, 24 Oct 1996 20:17:15 -0400
Message-Id: <Pine.LNX.3.91.961024201524.16472A-100000@aleph.sensenet.com>
Date: Thu, 24 Oct 1996 20:17:12 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Peter C. Norton" <spacey@nosleep.net>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Help: 'Some' Anonymous users kicked off !
In-Reply-To: <199610242101.QAA23790@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: spacey@aleph.sensenet.com
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 24 Oct 1996, Paul Taylor wrote:
> Apparently he can connect to some systems like ftp.microsoft.com and 
> also ftp.netscape.com but not to some other stranger systems. I'll 
> try and get a list and let you know.
> 
> Thanks for the help.
> 
> Paul

Have him try to log into ftp.uu.net.  They give you a nice message saying
that you're A and PTR records don't jibe, and then close the connection on
you.  Supposing there's a weird problem with a nameserver somewhere, this
could make it explicit.

--
Faster isn't better.  Better is better.

spacey@sensenet.com 
http://www.sensenet.com
Systems Administrator, Sensenet, Inc.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 19:58: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 #8) id m0vGcTw-000AlYC; Thu, 24 Oct 96 19: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 VAA10763; Thu, 24 Oct 1996 21:54:32 -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 VAA08583 for <wu-ftpd@mail.wustl.edu>; Thu, 24 Oct 1996 21:22:20 -0500
Received: from ntigate.rich.nt.com (ntigate.nt.com)
 by wunet.wustl.edu (PMDF V4.3-10 #14148)
 id <01IB1ABVB2JK000LJH@wunet.wustl.edu>; Thu, 24 Oct 1996 21:18:19 -0500 (CDT)
 25 Oct 1996 02:16:51 +0000
 25 Oct 1996 01:46:54 +0000
 25 Oct 1996 00:57:58 +0000
Message-Id: <199610250152.18625.0@nmiss1.miss.nt.com>
Date: Fri, 25 Oct 1996 00:57:58 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marta.Maloney.MALONEY@nt.com
To: wu-ftpd@wunet.wustl.edu
Subject: ls works for anonymous but not for real or guests
Content-identifier: ls works for ...
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Sender: root@nt.com
X-Mailer: Mozilla 1.12 (X11; I; HP-UX A.09.01 9000/715)
X-Url: http://www.osat.hq.nasa.gov/wuftp/dec/msg00025.html
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

IM running Linux1.2.13, and wu-ftp 2.4(6) I have one problem:

 dir or ls work fine for anonymous but not for real or guest users 

Any help/hints are most welcome


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 24 20:34:45 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGd2a-000AlYC; Thu, 24 Oct 96 20: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 WAA12729; Thu, 24 Oct 1996 22:30:21 -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 WAA11587 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 22:10:29 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id WAA02155 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 22:10:30 -0500
Message-Id: <Pine.LNX.3.95.961024220300.366E-100000@ns1.fni.com>
Date: Thu, 24 Oct 1996 22:10:30 -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 works for anonymous but not for real or guests
In-Reply-To: <199610250152.18625.0@nmiss1.miss.nt.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Duplicate the /etc, /bin, etc. directory structure for ls under the guest
and real accounts.  It goes without saying that you are extremely careful
who you give a real account to (if security is a concern on the box). 

If possible you should upgrade to the latest wu-ftpd beta below.  It has a
number of big fixes and enhancements. 

   -- Michael

On Fri, 25 Oct 1996 Marta.Maloney.MALONEY@nt.com wrote:

> IM running Linux1.2.13, and wu-ftp 2.4(6) I have one problem:
> 
>  dir or ls work fine for anonymous but not for real or guest users 
> 
> Any help/hints are most welcome


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 Thu Oct 24 21:28: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 #8) id m0vGdsd-000AuSC; Thu, 24 Oct 96 21: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 XAA15531; Thu, 24 Oct 1996 23:24:10 -0500
Received: from csc.canberra.edu.au ([137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id XAA14713 for <wu-ftpd@wugate.wustl.edu>; Thu, 24 Oct 1996 23:11:09 -0500
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA26366; Fri, 25 Oct 96 14:09:57 +1000
Message-Id: <v03007804ae95eaad7c2c@[137.92.10.14]>
Date: Fri, 25 Oct 1996 14:03:01 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 425 Can't create data socket (0.0.0.0,20): Bad file number.
In-Reply-To: <v03007800ae945e4a5c19@[137.92.10.14]>
References: <199610231734.TAA09431@proton.uab.es>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Solaris 2.4 sun4c

If I run the following command:

kim(root)@fred:~ftp
# chroot ~ftp /bin/echo fred
ld.so.1: /bin/echo: fatal: /dev/zero: can't open file: errno=6
Killed
Exit 137
kim(root)@fred:~ftp
# chroot ~ftp /bin/ls
ld.so.1: /bin/ls: fatal: /dev/zero: can't open file: errno=6
Killed
Exit 137

I have an idea that the devices aren't working. I have:
crw-rw-rw-   1 root     other     13, 12 Oct 21 12:05 ~ftp/dev/zero
lrwxrwxrwx   1 root     root          27 May 30  1995 /dev/zero ->
                                                    ../devices/pseudo/mm@0:zero
crw-rw-rw-   1 root     sys       13, 12 Oct 26  1994 /devices/pseudo/mm@0:zero

If I try and read the real /dev/zero with "more" it does things, if I try
this with the ~ftp/dev/zero:

# more ~ftp/dev/zero
~ftp/dev/zero: No such device or address
Exit 1

Is this OK?  How else do you make these devices apart from mknod?

Kim



--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 01:07:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vGhIh-000AlyC; Fri, 25 Oct 96 01: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 DAA20989; Fri, 25 Oct 1996 03:02:45 -0500
Received: from web5.netculture.net (web5.netculture.net [194.250.139.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id CAA20279 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 02:42:26 -0500
Received: (qmail 663 invoked from smtpd); 25 Oct 1996 08:42:57 -0000
Received: from tg8-28.netculture.net (194.250.139.2)
  by web5.netculture.net with SMTP; 25 Oct 1996 08:42:57 -0000
Message-Id: <199610250742.CAA20279@wugate.wustl.edu>
Date: Fri, 25 Oct 1996 09:42:49 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul Taylor" <paul@NetCulture.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Access rights to ftp files
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi All

We have a lot of users on our server that like to telnet in and start 
wandering around all the ftp stuff. Is there any way to limit this.

For that matter, is it possible to limit a user to their home 
directory ?, ie. Not be able to cd /home/ftp ?

A chroot would not do it as this would limit their access to 
everything else.

Cheers
Paul
________________________________________________________
N e t C u l t u r e   -  Web Hosting
Web: www.NetCulture.net  -  Email: info@NetCulture.net
Tel: +33 1 45 22 00 02   -  Fax: +33 1 45 22 00 52
1 rue Lemercier, 75017 Paris, France

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 02:03: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 #8) id m0vGiBI-000AIEC; Fri, 25 Oct 96 02: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 DAA22269; Fri, 25 Oct 1996 03:59:40 -0500
Received: from spinne.ip.lu (spinne.ip.lu [194.51.248.34]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id DAA22187 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 03:54:30 -0500
Message-Id: <m0vGi2E-000DMrC@spinne.ip.lu>
Date: Fri, 25 Oct 1996 09:54:33 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: kschulz@ip.lu (Kay Schulz)
To: wu-ftpd@wugate.wustl.edu
Subject: ls -l and dir don't work
Content-Type: text
X-Mailer: ELM [version 2.4 PL23]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi
I am new to wu-ftpd and I ran into a problem.
I hope someone can help me.
I configured wu-ftpd 2.4 for solaris 2.5.1 as documented.
I set up an anon ftp as described in my man pages.
I can log in as real user an everything works. But if I use
the anon account, ls -l and dir don't work.
Since most of the clients of our customers use Windows
and these graphical clients use ls -l or dir to display the
files I would like to know how to fix it.
Thanks in advance
-- 
Kay Schulz     kschulz@ip.lu
Tel.: +35-2-29 57 59 34 92
Fax : +35-2-29 57 59 39 00
Internet Section Leader
There are two ways to write error-free programs.  Only the third one
works.

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 03:11: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 #8) id m0vGjEq-000AkOC; Fri, 25 Oct 96 03: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 FAA23377; Fri, 25 Oct 1996 05:07:19 -0500
Received: from web5.netculture.net (web5.netculture.net [194.250.139.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA23307 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 05:04:31 -0500
Received: (qmail 1221 invoked from smtpd); 25 Oct 1996 11:05:05 -0000
Received: from tg8-28.netculture.net (194.250.139.2)
  by web5.netculture.net with SMTP; 25 Oct 1996 11:05:05 -0000
Message-Id: <199610251004.FAA23307@wugate.wustl.edu>
Date: Fri, 25 Oct 1996 12:04:55 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul Taylor" <paul@NetCulture.net>
To: wu-ftpd@wugate.wustl.edu
Subject: HELP: virtual anonymous users and MSN !
X-mailer: Pegasus Mail for Win32 (v2.42)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi All

We are continuing our saga of some users not being able to login 
anonymously to our servers.

Just to give you an idea of the setup, we have a number of virtual 
servers and also our main one.

Now when a user connected to MSN tries to connect anonymously to a 
vitual server, they get disconnected afert typing the password. All 
other users seem to work ok from other systems.

This user tried to connect to the virtual ftp account from AOL and it 
worked. The only thing that I can see from the logs is that MSN do 
not assign a domain name to their dialup IP addresses where AOL do.

I had a look in the src/authenticate.h file. I had the following :-

#define USE_A_RFC931    0

#define A_RFC931        1 << 0;

I changed A_RFC931 to 0 and recompiled, installed. This made no 
difference.

Help anyone please, this is causing us bit problems.

Thanks
Paul
________________________________________________________
N e t C u l t u r e   -  Web Hosting
Web: www.NetCulture.net  -  Email: info@NetCulture.net
Tel: +33 1 45 22 00 02   -  Fax: +33 1 45 22 00 52
1 rue Lemercier, 75017 Paris, France

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 03:55: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 #8) id m0vGjvX-000AfeC; Fri, 25 Oct 96 03: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 FAA24102; Fri, 25 Oct 1996 05:51:45 -0500
Received: from bbs.encis.es (bbs.encis.es [194.179.69.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA24033 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 05:50:01 -0500
Message-Id: <846262187103@bbs.encis.es>
Date: 25 Oct 1996 12:48:46 WET
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sysop@bbs.encis.es (Sysop)
To: wu-ftpd@wugate.wustl.edu
Subject: 425 Can't create data socket (0.0.0.0,20): Bad
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Programs (ls, gzip, tar) work for anonymous users, real users not work
giving errors like 425 Can't create data socket (0.0.0.0,20): Bad file
number

I'm running Unixware

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 06:46: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 #8) id m0vGmao-000AlaC; Fri, 25 Oct 96 06:46 PDT
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA00452; Fri, 25 Oct 1996 08:42:29 -0500
Received: from bbs.encis.es (bbs.encis.es [194.179.69.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA00181 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 08:37:31 -0500
Message-Id: <8462722903305@bbs.encis.es>
Date: 25 Oct 1996 15:38:04 WET
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sysop@bbs.encis.es (Sysop)
To: wu-ftpd@wugate.wustl.edu
Subject: Question /etc/ftponly
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


What is this shell ?? it's was in password

user:*:403:400:User Demo:/home/web/user/./:/etc/ftponly

Thanks

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 07:38: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 #8) id m0vGnPC-000AloC; Fri, 25 Oct 96 07: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 JAA04003; Fri, 25 Oct 1996 09:34:35 -0500
Received: from ns1.inet.net (ns1.inet.net [199.233.93.51]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA03709 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 09:28:20 -0500
Received: from bahu.inet.net (bahu [199.233.93.16]) by ns1.inet.net (8.7.5/8.6.12) with SMTP id KAA08394; Fri, 25 Oct 1996 10:28:18 -0400 (EDT)
Message-Id: <Pine.GSO.3.95.961025102648.2820D-100000@bahu.inet.net>
Date: Fri, 25 Oct 1996 10:28:15 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Brian Harvell <harvell@inet.net>
To: wu-ftpd@wugate.wustl.edu
Cc: harvell@pooh.ecl.udel.edu
Subject: Re: Question /etc/ftponly
In-Reply-To: <8462722903305@bbs.encis.es>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> What is this shell ?? it's was in password
> 
> user:*:403:400:User Demo:/home/web/user/./:/etc/ftponly
> 
It could be any number of things, but what it is used for is to allow that user
to only ftp.  It will probably print something like this account is only for ftp
and exit.

Brian


Brian Harvell           harvell@iNet.net        http://www.iNet.net/~harvell
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc


From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 09:57: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 #8) id m0vGpZr-000BG2C; Fri, 25 Oct 96 09: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 LAA11359; Fri, 25 Oct 1996 11:50:10 -0500
Received: from finch.engrs.infi.net (web.engrs.infi.net [206.153.61.82]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA10222 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 11:34:16 -0500
Received: by finch.engrs.infi.net; id AA25353; Fri, 25 Oct 1996 12:34:15 -0400
Message-Id: <9610251634.AA25353@finch.engrs.infi.net>
Date: Fri, 25 Oct 1996 12:34:15 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scot Needy <scot@finch.engrs.infi.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Help ls -l for REAL users chrooted?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: oKGz9CV+/NfeAHmLnDLcoA==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello All;

 I am trying to create an ftp site which no anonymous users are 
 allowed and all real users are chrooted to thier home dir.
 
 Problems
 
  o They get chrooted OK but there is no ls -la and the 
    documentation I have seen speaks of _PATH_EXECPATH for 
    annonymous user classes but I'm not sure how to implement it here.
    
  o I would like to chroot some users to a directory above 
    thier HOME dir where they are in the same group as other users. 
    They will have r/w here as well as ls -l ....
    
  
  Everything else is working great.
  
  Thank you for 
  any comments or sudjestions (sp)
  
  Scot

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 11:22: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 #8) id m0vGqtc-000BF3C; Fri, 25 Oct 96 11: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 NAA14873; Fri, 25 Oct 1996 13:09:54 -0500
Received: from sparky (sparky.karmax.com [204.187.78.254]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA14472 for <wu-ftpd@mail.wustl.edu>; Fri, 25 Oct 1996 12:58:19 -0500
Received: from smtp by sparky (SMI-8.6/SMI-SVR4)
	id NAA27015; Fri, 25 Oct 1996 13:52:14 -0400
Received: by smtp with Microsoft Mail
	id <3270FC21@smtp>; Fri, 25 Oct 96 13:42:57 EDT
Message-Id: <3270FC21@smtp>
Date: Fri, 25 Oct 96 13:56:00 EDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Long, Michael" <MLONG@karmax.com>
To: "'List, WU-FTP'" <wu-ftpd@wugate.wustl.edu>
Subject: Question: logout users with no home directory
X-Mailer: Microsoft Mail V3.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hi all,

I would like to test for the exisitence of the user's home directory when   
they login in via ftp (some users home directories are nfs mounted.) If   
their home directory is not found I would like to log them out.

Any Suggestions,

Thanks,

Michael Long
Karmax Heavy Stamping

E-mail: mlong@karmax.com  

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 11:57: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 #8) id m0vGrRX-0000RRC; Fri, 25 Oct 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 NAA16651; Fri, 25 Oct 1996 13:50: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 NAA15116 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 13:16:44 -0500
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id NAA05916; Fri, 25 Oct 1996 13:16:39 -0500
Message-Id: <Pine.LNX.3.95.961025131559.5601C-100000@ns1.fni.com>
Date: Fri, 25 Oct 1996 13:16:39 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Scot Needy <scot@finch.engrs.infi.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Help ls -l for REAL users chrooted?
In-Reply-To: <9610251634.AA25353@finch.engrs.infi.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Guest FTP.  See the howto below.

   -- Michael

On Fri, 25 Oct 1996, Scot Needy wrote:

>  I am trying to create an ftp site which no anonymous users are 
>  allowed and all real users are chrooted to thier home dir.


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 Fri Oct 25 12:05: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 #8) id m0vGrZ8-000AlKC; Fri, 25 Oct 96 12: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 NAA16973; Fri, 25 Oct 1996 13:56:41 -0500
Received: from macsch.com (draco.macsch.com [192.73.8.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA15668 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 13:29:45 -0500
Received: from [161.34.1.42] by macsch.com (5.61/MSC-960531)
	id AA24002; Fri, 25 Oct 96 11:29:41 -0700
Received: by bootes.is.macsch.com (4.1/MSCbootes.950222)
	id AA16839; Fri, 25 Oct 96 11:29:56 PDT
Message-Id: <9610251129.ZM16837@bootes.is.macsch.com>
Date: Fri, 25 Oct 1996 11:29:55 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: michael@macsch.com (J. Michael Goller)
To: wu-ftpd@wugate.wustl.edu
Subject: Autogroups
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.1 15feb95)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I really need some help in the
area of autogroups.  Lets say my /usr/local/etc/ftpaccess file looks like
this.

#classes
#
class   web-guest       guest,real              *.dmz.macsch.com
*.is.macsch.com
class   msc-anon        anonymous       *.macsch.com
class   all   real,guest,anonymous  *
#
class   proja-anon       anonymous       *.proja.com
class   projb-anon      anonymous       *.projb.com
class   projc-anon  anonymous       *.projc.com
class   projd-anon        anonymous       *.projd.com
class   proje-anon     anonymous       *.proje.com
#
.
.
.
autogroup       msc     msc-anon
autogroup       proja    proja-anon msc-anon
autogroup       projb    projb-anon msc-anon
autogroup       projc    projc-anon msc-anon
autogroup       projd    projd-anon msc-anon
autogroup       proje    proje-anon msc-anon

And /etc/group

wheel:*:0:
nogroup:*:65534:
daemon:*:1:
kmem:*:2:
bin:*:3:
tty:*:4:
operator:*:5:
news:*:6:
uucp:*:8:
audit:*:9:
staff:*:10:michael
other:*:20:
WWW:*:99:
FTP:*:25:
ftpuser:*:26:
user:*:99:
msc:*:1000:msc,updates
proja:*:1001:
projb:*:1002:
projc:*:1003:
projd:*:1004:
proje:*:1005:

I created a set of 770 dirs that are owned by root and group proja-e.

The problem is that the msc-anon class that get autogroup'ed to msc
does not also get autogroup`ed to the other groups (proja-e)

The syntax for autogroup is:

	autogroup <groupname> <class> [<class> ...]

Is it incorrect to assume that the above syntax means that the WU-ftp
anonymous user shell allows multiple group membership?
If not how was the above intended to be used. If so how do I get it to work
in the above example?

My requirements are that the anonymous users autogroup`ed into "msc" also
get autogroup'ed into all the other groups. The members of the "projX"
group are prohibited from access to "projY" group.

Oh : Version 2.4


Michael

-- 

J Michael Goller II, UNIX Systems Administrator. MacNeal-Schwendler Corp.("MSC")
 815 Colorado Blvd. Los Angeles, CA   90041 (213) 259-4977
Michael.Goller@macsch.com  			WWW: http://www.macsch.com

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 13:04: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 #8) id m0vGsUD-000AveC; Fri, 25 Oct 96 13: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 OAA20975; Fri, 25 Oct 1996 14:52:23 -0500
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA19576 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 14:36:04 -0500
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id MAA29001; Fri, 25 Oct 1996 12:35:57 -0700 (PDT)
Message-Id: <32711694.4647@intelenet.net>
Date: Fri, 25 Oct 1996 12:35:48 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Access rights to ftp files
References: <199610250742.CAA20279@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Paul Taylor wrote:
> 
> Hi All
> 
> We have a lot of users on our server that like to telnet in and start
> wandering around all the ftp stuff. Is there any way to limit this.
> 
> For that matter, is it possible to limit a user to their home
> directory ?, ie. Not be able to cd /home/ftp ?

Sure.  Set permissions accordingly.  Don't allow "other" read
or execute permission to /home/ftp - but this is a UNIX issue,
not an FTP issue.  You need to change the permissions on the
directory itself.

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 13:29: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 #8) id m0vGssY-000ArTC; Fri, 25 Oct 96 13: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 PAA22692; Fri, 25 Oct 1996 15:21:13 -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 PAA22355 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 15:14:41 -0500
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [zomer in Utrecht]) id WAA23468 for wu-ftpd@wugate.wustl.edu; Fri, 25 Oct 1996 22:15:18 +0200 (MET DST)
Message-Id: <199610252015.WAA23468@pizza.hvu.nl>
Date: Fri, 25 Oct 1996 22:15:17 +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: Help ls -l for REAL users chrooted?
In-Reply-To: <9610251634.AA25353@finch.engrs.infi.net> from "Scot Needy" at Oct 25, 96 12:34:15 pm
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Scot Needy, who wrote :

>   o They get chrooted OK but there is no ls -la and the 
>     documentation I have seen speaks of _PATH_EXECPATH for 
>     annonymous user classes but I'm not sure how to implement it here.

_PATH_EXECPATH is for SITE EXEC commands and *not* used for finding ls,
tar, compress, gzip.

The usual story about devices and libs goes for chrooted homedirs.

                                              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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 17:44: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 #8) id m0vGwrY-0000SZC; Fri, 25 Oct 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 TAA02380; Fri, 25 Oct 1996 19:23:51 -0500
Received: from mailer.sagar.gob.mx (mailer.sagar.gob.mx [198.139.10.39]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA02239 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 19:18:33 -0500
Received: from silvia.sagar.gob.mx (silvia.sagar.gob.mx [198.139.10.43]) by mailer.sagar.gob.mx (8.6.13/8.6.12) with SMTP id SAA26053 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 18:19:10 -0600
Message-Id: <32716777.7324@mailer.sagar.gob.mx>
Date: Fri, 25 Oct 1996 19:20:56 -0600
Reply-To: sbelt@sagar.gob.mx
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Silvia Beltran <sbelt@sagar.gob.mx>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Core dump security breach
References: <Pine.SUN.3.95.961020144528.21636I-100000@light.lightlink.com> <326D4254.2CC0@intelenet.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win95; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Sorry,
How can I unsubscribe ??
Silvia

From owner-wu-ftpd@wugate.wustl.edu Fri Oct 25 20:01: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 #8) id m0vGyzu-000AM2C; Fri, 25 Oct 96 20: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 VAA05920; Fri, 25 Oct 1996 21:54:44 -0500
Received: from infinity.exit118.com (infinity.exit118.com [198.82.200.71]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAA05844 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 21:51:28 -0500
Received: from infinity.heartofgold (probability.heartofgold [192.0.2.129]) by infinity.exit118.com (8.7/8.6.9) with SMTP id WAA16219 for <wu-ftpd@wugate.wustl.edu>; Fri, 25 Oct 1996 22:54:05 -0400
Message-Id: <199610260254.WAA16219@infinity.exit118.com>
Date: Thu, 17 Oct 1996 22:52:28 EST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: cbwood@infinity.exit118.com
To: wu-ftpd@wugate.wustl.edu
Subject: Re:virt ftp
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 Thu, 24 Oct 1996 10:33:21 -0400 (EDT) 
>    
> Clifton Wood said: 
> > Check your /etc/inetd.conf file and on the ftpd line make sure that you  
> > are starting ftpd with the -a switch. Since the betas ftpd no longer  
> > reads ftpaccess by default. The -a switch forces this.  
>    
> This sure confused me badly when I upgraded from wu-2.4 to 
> wu-2.4.2-academ[BETA-11].  Why was this done?  I should behave in a reasonable 
> way when it doesn't find a ftpaccess file but it seems to me that ordinarily 
> you would want it to look for the ftpaccess file.   
 
You got me, Bill. This caught me too when I was adding in Virtual FTPs on 
one of my sites. I don't understand why checking the /etc/ftpaccess file 
is no longer the default. My guess is that it was turned off in case you 
DIDN'T want to load ftpaccess on startup. 
 
Who knows. 
 


========================================================================= 
= 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 Sat Oct 26 02:39: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 #8) id m0vH5Cp-000AjdC; Sat, 26 Oct 96 02: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 EAA14761; Sat, 26 Oct 1996 04:32:32 -0500
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA14627 for <wu-ftpd@wugate.wustl.edu>; Sat, 26 Oct 1996 04:22:43 -0500
Received: from sliphost34.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA03348; Sat, 26 Oct 96 19:21:30 +1000
Message-Id: <v03007802ae97878a0e42@[137.92.100.22]>
Date: Sat, 26 Oct 1996 19:22:12 +1000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: 425 Can't create data socket (0.0.0.0,20): Bad file number.
In-Reply-To: <v03007804ae95eaad7c2c@[137.92.10.14]>
References: <v03007800ae945e4a5c19@[137.92.10.14]>
 <199610231734.TAA09431@proton.uab.es>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 2:03 PM +1000 25/10/96, Kim Holburn wrote:
>Solaris 2.4 sun4c
>

I got the device problem sorted out, nosuid set in vfstab.  Thanks to
whoever posted that, but I still have a problem.

list
425 Can't build data connection: Address family not supported by protocol
family

#tail /var/adm/messages
Oct 26 19:11:44 fred ftpd[1066]: setsockopt (SO_OOBINLINE): Invalid argument


I recompiled wu-ftpd with an extra line after all the includes
#undef F_SETOWN

that was the only way I could see to get rid of F_SETOWN.  I will have to
do that with the other binaries too I suppose.  But there is still
something clearly wrong because it doesn't seem to be able to open the data
connection.

Kim

--
+------------------------+------------------------+-----------------------+
|       Kim Holburn      | Computer Centre        |                       |
|                        | University of Canberra | phone : +61 6 2015500 |
|   Internet address :   | P.O. Box 1 BELCONNEN   |         +61 6 2015512 |
|  kim@canberra.edu.au   | ACT 2616 AUSTRALIA     | fax   : +61 6 2015501 |
+------------------------+------------------------+-----------------------+
|       born again and again and again and again and again buddhist       |
|                     well... in a previous life anyway  :-)              |
+-------------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Sat Oct 26 12:59: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 #8) id m0vHEtL-000AgCC; Sat, 26 Oct 96 12: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 OAA25758; Sat, 26 Oct 1996 14:55:32 -0500
Received: from relay2.UU.NET (relay2.UU.NET [192.48.96.7]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA25671 for <wu-ftpd@wugate.wustl.edu>; Sat, 26 Oct 1996 14:53:05 -0500
Received: from ntplx.net by relay2.UU.NET with SMTP 
	(peer crosschecked as: jumbo.ntplx.net [204.213.176.6])
	id QQbndf12632; Sat, 26 Oct 1996 15:53:03 -0400 (EDT)
Received: from tmsdesign.com by ntplx.net (4.1/NETPLEX-2.3.1)
	id AA24620; Sat, 26 Oct 96 15:52:52 EDT
Received: from IRIS (IRIS.hubner.com [208.0.200.52]) by tmsdesign.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id PAA01627 for <wu-ftpd@wugate.wustl.edu>; Sat, 26 Oct 1996 15:53:11 -0400
Message-Id: <32728C82.167E@hubner.com>
Date: Sat, 26 Oct 1996 15:11:14 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl <karl@hubner.com>
To: wu-ftpd@wugate.wustl.edu
Subject: "virtual" on IRIX
References: <v03007800ae945e4a5c19@[137.92.10.14]>
	 <199610231734.TAA09431@proton.uab.es> <v03007802ae97878a0e42@[137.92.100.22]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@tmsdesign.com
X-Mailer: Mozilla 3.0C-SGI (X11; I; IRIX 6.2 IP22)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Sorry to bother you all with this but...
After using wu-ftp for a while, I have only recently had to try virtual
ftp hosting. I noticed in the ftpaccess man file that
	"Your operating system may not support this feature.
	 It has been tested on BSD/OS, Solaris 2.X and Linux."
Has anyone had any luck with IRIX?
I included the "virtual <address> <root> <path>" line, but it seemed to
have no effect. I get the same document root that I have been using all
along.
Is beta-11 completely "patched" for virtual hosting?
Any feedback would be greatly appreciated.
Thanks.

From owner-wu-ftpd@wugate.wustl.edu Sat Oct 26 13:43: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 #8) id m0vHFZp-0000EJC; Sat, 26 Oct 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 PAA26837; Sat, 26 Oct 1996 15:39:27 -0500
Received: from relay6.UU.NET (relay6.UU.NET [192.48.96.16]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA26577 for <wu-ftpd@wugate.wustl.edu>; Sat, 26 Oct 1996 15:31:52 -0500
Received: from ntplx.net by relay6.UU.NET with SMTP 
	(peer crosschecked as: jumbo.ntplx.net [204.213.176.6])
	id QQbndi15686; Sat, 26 Oct 1996 16:31:51 -0400 (EDT)
Received: from tmsdesign.com by ntplx.net (4.1/NETPLEX-2.3.1)
	id AA26464; Sat, 26 Oct 96 16:31:40 EDT
Received: from IRIS (IRIS.hubner.com [208.0.200.52]) by tmsdesign.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id QAA01749 for <wu-ftpd@mail.wustl.edu>; Sat, 26 Oct 1996 16:31:59 -0400
Message-Id: <3272959A.2781@hubner.com>
Date: Sat, 26 Oct 1996 15:50:02 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl <karl@hubner.com>
To: wu-ftpd@wugate.wustl.edu
Subject: "virtual" on IRIX
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@tmsdesign.com
X-Mailer: Mozilla 3.0C-SGI (X11; I; IRIX 6.2 IP22)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Sorry to bother you all with this but...
After using wu-ftp for a while, I have only recently had to try virtual
ftp hosting. I noticed in the ftpaccess man file that
        "Your operating system may not support this feature.
         It has been tested on BSD/OS, Solaris 2.X and Linux."
Has anyone had any luck with IRIX?
I included the "virtual <address> <root> <path>" line, but it seemed to
have no effect. I get the same document root that I have been using all
along.
Is beta-11 completely "patched" for virtual hosting?
If someone has an IRIX 6.2ish binary (that's working with virtual hosts)
would you consider sending it to me?
Any feedback would be greatly appreciated.
Thanks.

From owner-wu-ftpd@wugate.wustl.edu Sat Oct 26 21:30: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 #8) id m0vHMrp-000BGRC; Sat, 26 Oct 96 21: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 XAA06935; Sat, 26 Oct 1996 23:26:23 -0500
Received: from otn.com (www.otn.com [204.176.111.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id XAA06807 for <wu-ftpd@wugate.wustl.edu>; Sat, 26 Oct 1996 23:21:33 -0500
Received: from [204.176.111.4] by otn.com
 with SMTP (Apple Internet Mail Server 1.1.1); Sat, 26 Oct 1996 21:23:49 -0700
Message-Id: <v02140b00ae988f597319@[204.176.111.4]>
Date: Sat, 26 Oct 1996 21:21:27 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Aviram Carmi <avi@otn.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Help setting up virtual ftp with access control
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi all,

This is what I am struggling to do, I tried to read all the man/faq etc,
and did not find a solution:

I need to setup a virtual ftp server, there should only be 8 users allowed,
and each when they login should be restricted to the virtual root directory
for the server, and automatically be 'cd'ed into their home directory.

there are 5 users each should have their own private directory where only
they and the "superuser" can see and access the files.  one guest account
that can use the 'pub' directory to get files, one superuser account which
can access all directories and put and get stuff from all directories, one
inbox directory where all users can put files for the superuser to get.

I am not even sure about the directory setup and permission, but I guess I
have to get the ftp stuff working first....


I set up the password file with /home/ftp/virtual1/./user1 entries for the
directory, I setup the virtual root command, but when a user logs in, they
endup in the real top level of my directory  i.e. '/', not even at the root
of the virtual server which should be /home/ftp/virtual1.

Only when I do an anonymous login I am restricted to the virtual root
directory...

Any idea where I can find docs/readme/howto on how to set something like this?

I did read the discussion about the '-a' not being a default, so I checked
my inetd.conf file and it does start up in.ftpd with -l and -a options.

Thanks in advance,

-avi

here are snippets from ftpaccess, password, group files...

guestgroup group1 group2

virtual 204.176.111.200 root /home/ftp/virtual1
virtual 204.176.111.200 logfile /var/ftp/virtual1.xferlog


from passwd:

guest0:*:606:601:shumsky:/home/ftp/virtual1/./pub:/bin/true
user1:*:601:601:shumsky cust1:/home/ftp/virtual1/./private1:/bin/true
user2:*:602:601:shumsky cust2:/home/ftp/virtual1/./private2:/bin/true
user3:*:603:601:shumsky cust3:/home/ftp/virtual1/./private3:/bin/true
user4:*:604:601:shumsky cust4:/home/ftp/virtual1/./private4:/bin/true
user5:*:605:601:shumsky cust5:/home/ftp/virtual1/./private5:/bin/true
usersuper:*:600:600:shumsky master account:/home/ftp/virtual1/./:/bin/true
userinbox:*:600:601:shumsky master inbox:/home/ftp/virtual1/./inbox:/bin/true


from group

group1::600:usersuper
group2::601:guest0,user1,user2,user3,user4,user5,suserinbox


From owner-wu-ftpd@wugate.wustl.edu Sun Oct 27 03:57: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 #8) id m0vHTqL-000AhuC; Sun, 27 Oct 96 03:57 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA16506; Sun, 27 Oct 1996 05:52:36 -0600
Received: from prometheus.hol.gr (prometheus.hol.gr [194.30.193.159]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id FAA16408 for <wu-ftpd@wugate.wustl.edu>; Sun, 27 Oct 1996 05:46:33 -0600
Received: from prometheus (ftpmaster@prometheus [194.30.193.159]) by prometheus.hol.gr (8.7.4/8.7.3) with SMTP id OAA05850; Sun, 27 Oct 1996 14:41:04 -0200 (GMT)
Message-Id: <Pine.GSO.3.95.961027142837.5444A-100000@prometheus>
Date: Sun, 27 Oct 1996 14:41:03 -0200 (GMT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: HOL FTP Administrator <ftpmaster@hol.gr>
To: wu-ftpd-bugs@academ.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Virtual FTP servers
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: ftpmaster@prometheus
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Hello,

	I wasn't sure about which address to use to contact for
information about setting up Virtual FTP servers so I'm using both
wu-ftpd-bugs@academ.com and wu-ftpd@wugate.wustl.edu.

	I would be very gratefull if you could help me a little bit on
setting a Virtual FTP Server with your software...

	So far i've installed the wu-ftpd, Version
wu-2.4.2-academ[BETA-11](1), but it seems I can't get the virtual server
running. So if it's possible please advice me about how to do it( the
small example that you have written in VIRTUAL.FTP.SERVERS file does not
help me much... the name of the ftp server is ftp.hol.gr and because I am
planning of having a big variety of mirrored sites (e.x. Netscape,
Microsoft, HP, etc..) I would like the users of the ftp server to be able
to make an ftp(for example) to microsoft.hol.gr and connect to ftp.hol.gr
with /home/ftp/pub/msdownload/ as their home directory... 

I hope I will hear from u soon..

TIA

     Pantelis K. Parvantonis
      System Administrator
Hellas On Line S.A. - UUNET PIPEX

From owner-wu-ftpd@wugate.wustl.edu Sun Oct 27 06:26: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 #8) id m0vHWAr-000AhjC; Sun, 27 Oct 96 06:26 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA18506; Sun, 27 Oct 1996 08:22:34 -0600
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 IAA18420 for <wu-ftpd@wugate.wustl.edu>; Sun, 27 Oct 1996 08:16:46 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id IAA14919 for <wu-ftpd@wugate.wustl.edu>; Sun, 27 Oct 1996 08:16:48 -0600
Message-Id: <Pine.LNX.3.95.961027081437.14906A-100000@ns1.fni.com>
Date: Sun, 27 Oct 1996 08:16:48 -0600 (CST)
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: Virtual FTP servers
In-Reply-To: <Pine.GSO.3.95.961027142837.5444A-100000@prometheus>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Read the file VIRTUAL.FTP.SUPPORT in the root directory of the wu-ftpd
distribution.  You will also have to set up your DNS entries for the name
resolution. 

   -- Michael

On Sun, 27 Oct 1996, HOL FTP Administrator wrote:

> 	I would be very gratefull if you could help me a little bit on
> setting a Virtual FTP Server with your software...
> 
> 	So far i've installed the wu-ftpd, Version
> wu-2.4.2-academ[BETA-11](1), but it seems I can't get the virtual server
> running. So if it's possible please advice me about how to do it( the
> small example that you have written in VIRTUAL.FTP.SERVERS file does not
> help me much... the name of the ftp server is ftp.hol.gr and because I am
> planning of having a big variety of mirrored sites (e.x. Netscape,
> Microsoft, HP, etc..) I would like the users of the ftp server to be able
> to make an ftp(for example) to microsoft.hol.gr and connect to ftp.hol.gr
> with /home/ftp/pub/msdownload/ as their home directory... 

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 04:58: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 #8) id m0vHrGj-000ApZC; Mon, 28 Oct 96 04:58 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id GAA20175; Mon, 28 Oct 1996 06:57:56 -0600
Received: from relay4.UU.NET (relay4.UU.NET [192.48.96.14]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id GAA19943 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 06:44:22 -0600
Received: from ntplx.net by relay4.UU.NET with SMTP 
	(peer crosschecked as: jumbo.ntplx.net [204.213.176.6])
	id QQbnjm26665; Mon, 28 Oct 1996 07:44:12 -0500 (EST)
Received: from tmsdesign.com by ntplx.net (4.1/NETPLEX-2.3.1)
	id AA20681; Mon, 28 Oct 96 07:44:01 EST
Received: from 205.247.164.21 (ppp1.ethanallen.com [205.247.164.21]) by tmsdesign.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id HAA03235 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 07:44:10 -0500
Message-Id: <3274AAAC.7B02@hubner.com>
Date: Mon, 28 Oct 1996 08:44:30 -0400
Reply-To: karl@hubner.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl Hubner <karl@hubner.com>
To: wu-ftpd@wugate.wustl.edu
Subject: "virtual" on IRIX
References: <Pine.LNX.3.95.961027081437.14906A-100000@ns1.fni.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Macintosh; I; PPC)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

After using wu-ftp for a while, I have only recently had to try virtual
ftp hosting. I noticed in the ftpaccess man file that
        "Your operating system may not support this feature.
         It has been tested on BSD/OS, Solaris 2.X and Linux..."
Has anyone had any luck with IRIX?
I compiled with -DVIRTUAL, included the "virtual <address> <root>
<path>"
line, but it seemed to have no effect. I get the same document root
that I have been using all along.
Is beta-11 completely "patched" for virtual hosting?
If someone has an IRIX 6.2ish binary (that's working with virtual hosts)
would you consider sending it to me?
Any feedback would be greatly appreciated.
Thanks!
p.s. VIRTUAL.FTP.SUPPPORT (three Ps in my distribution)

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 11:03: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 #8) id m0vHwxe-000BPdC; Mon, 28 Oct 96 11:02 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA12361; Mon, 28 Oct 1996 13:02:18 -0600
Received: from epiphore.francenet.fr (epiphore.francenet.fr [193.149.97.10]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id MAA11719 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 12:53:07 -0600
Received: from epiphore.francenet.fr (perrot@localhost.francenet.fr [127.0.0.1]) by epiphore.francenet.fr (8.7.5/8.7.3) with ESMTP id TAA11088 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 19:53:06 +0100 (MET)
Message-Id: <199610281853.TAA11088@epiphore.francenet.fr>
Date: Mon, 28 Oct 1996 19:53:05 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gildas Perrot <perrot@francenet.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd-2.4.2-beta-11 and allowed actions 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.5 12/8/95
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi everybody,

we use the configuration below in ftpaccess in order to allow guest accounts 
(users of group www) to be able to use site chmod command. 

guestgroup www
chmod          yes     guest

However, when trying to do so, we have this error message : command not 
understood.

If we use the entry below,

chmod          yes     anonymous

... chmod is allowed. 

Any idea about this problem ? We do use the same configuration with 2.4 
without problems.

Thanks in advance for your help.	Gildas.
-- 
Gildas PERROT, perrot@francenet.fr         __o
FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
http://www.francenet.fr            ---- (_)/ (_)


From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 12:09: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 #8) id m0vHxzB-000BRPC; Mon, 28 Oct 96 12:08 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAA16797; Mon, 28 Oct 1996 14:08:44 -0600
Received: from dresden.bmc.com (dresden.bmc.com [198.64.253.250]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA16203 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 14:00:07 -0600
Received: by dresden.bmc.com
	(1.40.112.4/16.2) id AA143773177; Mon, 28 Oct 1996 14:06:17 -0600
Received: from crow.bmc.com(198.147.191.100) by dresden.bmc.com via smap (3.2)
	id xma013999; Mon, 28 Oct 96 14:05:50 -0600
Received: from dreamer.bmc.com by crow.bmc.com (AIX 3.2/UCB 5.64/4.03)
          id AA21012; Mon, 28 Oct 1996 13:56:05 -0600
Received: by dreamer.bmc.com (SMI-8.6/SMI-SVR4)
	id NAA12471; Mon, 28 Oct 1996 13:56:25 -0600
Message-Id: <199610281956.NAA12471@dreamer.bmc.com>
Date: Mon, 28 Oct 1996 13:56:25 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ttran@dreamer.bmc.com (Thuy Tran)
To: wu-ftpd@wugate.wustl.edu
Subject: real users
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: qsXBuKpS5RnN9MobiqrsBQ==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I recompiled wu-ftp-2.4 on Solaris 2.4 and am testing it now.  Anonymous and 
guestgroups login work correctly but real users are not.  I read in 'Managing 
Internet Information Services' that real users are not supposed to be chrooted 
yet mine are.  And of course since it's chroot to its home directory, commands 
like like 'ls' gives the infamous 'can't create data socket' error because it 
does not have the etc,bin,usr directories.

Was there a flag I needed to use during the compile?  Has anybody seen this 
before?

Thanks,
Thuy

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 12:36: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 #8) id m0vHyQ2-0000gOC; Mon, 28 Oct 96 12:36 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id OAB18391; Mon, 28 Oct 1996 14:36:19 -0600
Received: from janus.industries.net (janus.industries.net [199.245.106.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id OAA17973 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 14:28:23 -0600
Received: (from smap@localhost) by janus.industries.net (8.7.1/8.7.1) id MAA14896; Mon, 28 Oct 1996 12:37:44 -0800 (PST)
Received: from titan.industries.net(199.245.106.8) by janus.industries.net via smap (V1.3)
	id sma014894; Mon Oct 28 12:37:22 1996
Message-Id: <v03007802ae9ac696ec88@[199.245.106.8]>
Date: Mon, 28 Oct 1996 12:28:04 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andrew Longsworth <andrew@industries.net>
To: wu-ftpd@wugate.wustl.edu
Cc: ttran@dreamer.bmc.com
Subject: Re: real users
In-Reply-To: <199610281956.NAA12471@dreamer.bmc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I recompiled wu-ftp-2.4 on Solaris 2.4 and am testing it now.  Anonymous and
>guestgroups login work correctly but real users are not.  I read in 'Managing
>Internet Information Services' that real users are not supposed to be
>chrooted
>yet mine are.  And of course since it's chroot to its home directory,
>commands
>like like 'ls' gives the infamous 'can't create data socket' error because it
>does not have the etc,bin,usr directories.

I believe that the problem you are experiencing has to do with the fact
that the real users you want to use are members of one of your guest
groups. This is the main reason that it is not advisable to use a guest
group of something like staff or user. I created a separate special group
for guests called (very originally!) ftponly. This way, only those members
of that group get a chroot performed upon their login.


Hope this solves your problem,

Andrew Longsworth


From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 14:46:34 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vI0Rn-000BDoC; Mon, 28 Oct 96 14:46 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA24331; Mon, 28 Oct 1996 16:46:16 -0600
Received: from relay4.UU.NET (relay4.UU.NET [192.48.96.14]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id QAA24166 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 16:43:34 -0600
Received: from ntplx.net by relay4.UU.NET with SMTP 
	(peer crosschecked as: jumbo.ntplx.net [204.213.176.6])
	id QQbnla05389; Mon, 28 Oct 1996 17:43:14 -0500 (EST)
Received: from tmsdesign.com by ntplx.net (4.1/NETPLEX-2.3.1)
	id AA29171; Mon, 28 Oct 96 17:42:58 EST
Received: from 208.0.200.55 (portable.tmsdesign.com [208.0.200.55]) by tmsdesign.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id RAA05420 for <wu-ftpd@mail.wustl.edu>; Mon, 28 Oct 1996 17:43:15 -0500
Message-Id: <327536FA.2972@hubner.com>
Date: Mon, 28 Oct 1996 17:43:28 -0500
Reply-To: karl@hubner.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl Hubner <karl@hubner.com>
To: wu-ftpd@wugate.wustl.edu
Subject: "virtual" on IRIX
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Macintosh; I; PPC)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

After using wu-ftp for a while, I have only recently had to try virtual
ftp hosting. I noticed in the ftpaccess man file that
        "Your operating system may not support this feature.
         It has been tested on BSD/OS, Solaris 2.X and Linux..."
Has anyone had any luck with IRIX?
I compiled with -DVIRTUAL, included the "virtual <address> <root>
<path>"
line, but it seemed to have no effect. I get the same document root
that I have been using all along.
Is beta-11 completely "patched" for virtual hosting?
If someone has an IRIX 6.2ish binary (that's working with virtual hosts)
would you consider sending it to me?
Any feedback would be greatly appreciated.
Thanks!

karl@tmsdesign.com

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 15:43: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 #8) id m0vI1Kw-000BPbC; Mon, 28 Oct 96 15:43 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA26801; Mon, 28 Oct 1996 17:43:16 -0600
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 RAA26557 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 17:35:46 -0600
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.8.0/8.8.0) with ESMTP id SAA01984; Mon, 28 Oct 1996 18:17:05 -0500 (EST)
Received: by charlie4.EE.McGill.CA (8.8.0) id SAA03915; Mon, 28 Oct 1996 18:17:04 -0500 (EST)
Message-Id: <199610282317.SAA03915@charlie4.EE.McGill.CA>
Date: Mon, 28 Oct 1996 18:17:03 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: karl@hubner.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: "virtual" on IRIX
In-Reply-To: <327536FA.2972@hubner.com> from "Karl Hubner" at Oct 28, 96 05:43:28 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

  I don't use AIX but .. two things come to mind

1-
"virtual <address> <root>  <path>"
         ^^^^^^^^^
do you have a valid address i.e. an A RR in your DNS map ?

2-
The usual error with beta-xx, did you start the daemon with -a ?


That's all :-(. Don't have AIX, so don't know what you're
facing.

--
alain

> 
> After using wu-ftp for a while, I have only recently had to try virtual
> ftp hosting. I noticed in the ftpaccess man file that
>         "Your operating system may not support this feature.
>          It has been tested on BSD/OS, Solaris 2.X and Linux..."
> Has anyone had any luck with IRIX?
> I compiled with -DVIRTUAL, included the "virtual <address> <root>
> <path>"
> line, but it seemed to have no effect. I get the same document root
> that I have been using all along.
> Is beta-11 completely "patched" for virtual hosting?
> If someone has an IRIX 6.2ish binary (that's working with virtual hosts)
> would you consider sending it to me?
> Any feedback would be greatly appreciated.
> Thanks!
> 
> karl@tmsdesign.com
> 

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 16:37:38 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vI2BN-0000hqC; Mon, 28 Oct 96 16:37 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA28803; Mon, 28 Oct 1996 18:37:28 -0600
Received: from relay6.UU.NET (relay6.UU.NET [192.48.96.16]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA28691 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 18:33:56 -0600
Received: from ntplx.net by relay6.UU.NET with SMTP 
	(peer crosschecked as: jumbo.ntplx.net [204.213.176.6])
	id QQbnli09056; Mon, 28 Oct 1996 19:33:55 -0500 (EST)
Received: from tmsdesign.com by ntplx.net (4.1/NETPLEX-2.3.1)
	id AA11547; Mon, 28 Oct 96 19:33:44 EST
Received: from 208.0.200.55 (portable.tmsdesign.com [208.0.200.55]) by tmsdesign.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id TAA05804 for <wu-ftpd@mail.wustl.edu>; Mon, 28 Oct 1996 19:34:01 -0500
Message-Id: <327550ED.488C@hubner.com>
Date: Mon, 28 Oct 1996 19:34:25 -0500
Reply-To: karl@hubner.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl Hubner <karl@hubner.com>
To: wu-ftpd@wugate.wustl.edu
Subject: apology
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Macintosh; I; PPC)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

It seems that an apology must be in order.
After erroneously sending a posting to listproc@mail.wustl.edu, and
having it get kicked back, I posted about four variations of the same
message to wu-ftpd@mail.wustl.edu (each of them getting kicked back in
the same fashion).
But it seems that they may have gotten through, Alain Magloire was kind
enough to reply.
Is it common to have these postings returned:

"[002] Mail was received that was addressed to unknown addresses.
Mail item was not delivered to:
  CLFT/OPSIRM1/jak7" ?

Also, IRIX is SGI's variation of UNIX.
But the tips were well received nevertheless.
Still having the problem, though.
k

karl@tmsdesign.com

From owner-wu-ftpd@wugate.wustl.edu Mon Oct 28 17:11: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 #8) id m0vI2hr-000AGbC; Mon, 28 Oct 96 17:11 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA00470; Mon, 28 Oct 1996 19:10:39 -0600
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA29579 for <wu-ftpd@wugate.wustl.edu>; Mon, 28 Oct 1996 18:56:29 -0600
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id QAA24939; Mon, 28 Oct 1996 16:56:21 -0800 (PST)
Message-Id: <3275562C.7C1E@intelenet.net>
Date: Mon, 28 Oct 1996 16:56:12 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: karl@hubner.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: apology
References: <327550ED.488C@hubner.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Karl Hubner wrote:
> 
> Is it common to have these postings returned:
> 
> "[002] Mail was received that was addressed to unknown addresses.
> Mail item was not delivered to:
>   CLFT/OPSIRM1/jak7" ?

Yes.  There is a bad address on the mailing list that is bouncing mail
back to the authors of messages rather than to the list administration
address.  It happens every time I send a message to the list, too.

-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Tue Oct 29 07:13: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 #8) id m0vIFrJ-000BEtC; Tue, 29 Oct 96 07:13 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA01292; Tue, 29 Oct 1996 09:12:59 -0600
Received: from finch.engrs.infi.net (finch.engrs.infi.net [206.153.61.77]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA00626 for <wu-ftpd@wugate.wustl.edu>; Tue, 29 Oct 1996 09:00:09 -0600
Received: by finch.engrs.infi.net; id AA03372; Tue, 29 Oct 1996 10:00:07 -0500
Message-Id: <9610291500.AA03372@finch.engrs.infi.net>
Date: Tue, 29 Oct 1996 10:00:07 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scot Needy <scot@finch.engrs.infi.net>
To: mbrennen@fni.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Help ls -l for REAL users chrooted?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: zBuuHXFimAWG0oaAlfGE3A==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Thanks 
I followed those instructions an it 
worked. 


 One thing I did notice is that as long as you 
 add the "guestgroup" in the ftpaccess file
 they get chrooted anyway.
 
 Even with a reg home dir in /etc/passwd   no /./
 Anyone else have this "feature"?
 
 Scot
 
 

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 02:45: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 #8) id m0vIY96-000ANcC; Wed, 30 Oct 96 02:45 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id EAA25711; Wed, 30 Oct 1996 04:44:36 -0600
Received: from limmat (limmat.switch.ch [130.59.4.30]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id EAA25467 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 04:31:40 -0600
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
          Wed, 30 Oct 1996 11:31:28 +0100
Message-Id: <199610301031.EAA25467@wugate.wustl.edu>
Date: Wed, 30 Oct 1996 11:31:26 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Thomas Lenggenhager <lenggenhager@switch.ch>
To: wu-ftpd@wugate.wustl.edu
Subject: OPIE and Classless IP addresses with wu-ftpd
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


1) In the newest versions of wu-ftpd is S/Key support included.

   However, I haven't seen any remark concerning OPIE (One-Time Password
   In Everything), an implementation of OTP (One-Time Password) [RFC1938],
   which is available from ftp://ftp.nrl.navy.mil/pub/security/opie

2) The addrglob in ftpaccess can be either a glob of domain names and or
   classful IP addresses.

   I haven't found a reference that also a classless IP address would
   be allowed, like e.g. 193.5.0.0/16


Has someone of you added one or both of the above mentioned extensions
already and would not mind to share the code?

Many thanks for any hints.

Thomas Lenggenhager

 ___________ SWITCH - The Swiss Academic and Research Network ___________
 Thomas Lenggenhager, SWITCH, Limmatquai 138, CH-8001 Zurich, Switzerland
 lenggenhager@switch.ch      Tel: +41 1 268 1540      Fax: +41 1 268 1568

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 03:40: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 #8) id m0vIZ0o-000AfqC; Wed, 30 Oct 96 03:40 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA27012; Wed, 30 Oct 1996 05:40:50 -0600
Received: from home.albury.net.au (home.albury.NET.AU [203.15.244.8]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id FAA26905 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 05:35:22 -0600
Received: (from rossw@localhost) by home.albury.net.au (8.6.12/8.6.12) id WAA01198; Wed, 30 Oct 1996 22:49:47 +1100
Message-Id: <Pine.BSF.3.91.961030224503.1129B-100000@home.albury.net.au>
Date: Wed, 30 Oct 1996 22:49:46 +1100 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ross Wheeler <rossw@home.albury.net.au>
To: wu-ftpd@wugate.wustl.edu
Subject: Access control (restricting "real" login hosts)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi,
   I've spent the last hour reading through the archives, and am 
surprised not to have found an answer. Perhaps it's so simple I just 
can't see it?!

Problem: I want to allow anonymous login from anywhere, but "real" logins 
must come from one of a specified set of hosts.

I had used /etc/ftphosts with entries of:

	allow	anonymous	*
	allow	ALL		*.my.domain
	allow	ALL		*.your.domain

It doesn't work, but the man page (ftphosts) doesn't cover it very well!

Surely, this is not an uncommon request? Anyone got a working skeleton 
they can send me please?

Regards, RossW

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 06:04:23 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vIbFk-0000PAC; Wed, 30 Oct 96 06:04 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id IAA00896; Wed, 30 Oct 1996 08:04:11 -0600
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 HAA00734 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 07:59:58 -0600
Received: (from koos@localhost) by pizza.hvu.nl (8.7.5/KH19960722 [Ommmmmm is the word]) id PAA16371 for wu-ftpd@wugate.wustl.edu; Wed, 30 Oct 1996 15:00:42 +0100 (MET)
Message-Id: <199610301400.PAA16371@pizza.hvu.nl>
Date: Wed, 30 Oct 1996 15:00:41 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: koos@pizza.hvu.nl (Koos van den Hout _U nix and we all_)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Access control (restricting "real" login hosts)
In-Reply-To: <Pine.BSF.3.91.961030224503.1129B-100000@home.albury.net.au> from "Ross Wheeler" at Oct 30, 96 10:49:46 pm
Content-Type: text
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Quoting Ross Wheeler, who wrote :

>    I've spent the last hour reading through the archives, and am 
> surprised not to have found an answer. Perhaps it's so simple I just 
> can't see it?!
> 
> Problem: I want to allow anonymous login from anywhere, but "real" logins 
> must come from one of a specified set of hosts.
> 
> I had used /etc/ftphosts with entries of:

Maybe it's better to define classes, and limit them to 0, like :

class visitors anonymous *
class users real *.mydomain.com
class wrong real *

limit visitors  100   Any   /var/spool/ftpd/msgs/msg.toomanyanon
limit users     100   Any   /var/spool/ftpd/msgs/msg.toomanyuser
limit wrong       0   Any   /var/spool/ftpd/msgs/msg.noaccess

                                          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"
  Unix op z'n NL's : Segment overtreding - kern uitgescheten       KH106-RIPE

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 08:09: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 #8) id m0vIdD4-000AxfC; Wed, 30 Oct 96 08:09 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA07658; Wed, 30 Oct 1996 10:08:34 -0600
Received: from mango.human.cornell.edu (MANGO.HUMAN.CORNELL.EDU [128.253.253.196]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id JAA07103 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 09:55:07 -0600
Received: from KENS.HUMAN.CORNELL.EDU by mango.human.cornell.edu (AIX 3.2/UCB 5.64/4.03)
          id AA12612; Wed, 30 Oct 1996 10:55:02 -0500
Message-Id: <3.0.16.19961030105501.2e4fc5c8@mango.human.cornell.edu>
Date: Wed, 30 Oct 1996 10:55:02 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kenneth Simler <krs2@cornell.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: uploads directive in ftpaccess
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: krs2@mango.human.cornell.edu
X-Mailer: Windows Eudora Pro Version 3.0 (16)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I posted the following message over a week ago, and have been surprised at
the complete lack of response.  I know it's not a question about the
current beta, which understandably is a focus of much attention, but surely
*someone* knows the answer to this question about the uploads directive.
If you do, please share it, or tell me if my question isn't clear,
whatever.  Thanks in advance.   -Ken

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

     I've looked at the docs, faqs, archives of this mailing list, etc.,
and haven't found an answer to this.  Either I misunderstand what the
upload directive in ftpaccess is supposed to control, or I'm not using the
correct entry.  Put simply, my question is:

     Can the upload directive in ftpaccess be used to turn *off* anonymous
upload permission, regardless of the mode (permissions) set on the
directories in the ~ftp hierarchy?

     Some background: I set up wu-ftpd 2.4 as per the accompanying docs,
with some supplemental help from other sources for the modes on the ~ftp
hierarchy.  Along with the usual /u/ftp/bin, /u/ftp/etc, and so forth
entries, I have the following set up:

dr-xr-xr-x   7 root     wheel        512 Oct 21 11:00 /u/ftp
dr-xr-xr-x   3 root     wheel       512 Oct 21 13:24 /u/ftp/pub
drwx-wx-wt   2 root     wheel       512 Oct 21 10:50 /u/ftp/pub/incoming

     I expected that disallowing anonymous uploads in ftpaccess would
override the write permission for anonymous users.  That is, setting the
upload directive in ftpaccess could further restrict the permissions on
/u/ftp/pub/incoming.  However, it seems that even if I try to disallow
anonymous uploads in ftpaccess, they are allowed as long as the mode set on
/u/ftp/pub/incoming is world-writable.

     If I want to permit anonymous downloads, but not anonymous uploads, I
thought the following entries in ftpaccess would do the trick; some are
probably redundant and/or useless.  

upload  /home/ftp    *                no
upload  /home/ftp    /pub/*           no
upload  /home/ftp    /bin/*           no
upload  /home/ftp    /etc/*           no
upload  /home/ftp    /pub/incoming/*  no
upload  /home/ftp    /pub/incoming*   no

I've tried several variations, without success.  All have allowed anonymous
uploads whenever the /u/ftp/pub/incoming directory is world-writable.  The
only way I have been able to turn off anonymous uploads is to turn off
world write permissions on the directory.

     Sometimes I need to permit anonymous uploads, and I would like to
control this via ftpaccess, rather than by changing the mode on
/u/ftp/pub/incoming every time.  If this can't be done, I can live with
changing the modes, but it just seemed to me that this was supposed to be
one of the things that ftpaccess can control.  

     FWIW, when I do permit anonymous uploads, the options set for <owner>,
<group>, and <mode> by the upload directive in ftpaccess seem to work just
fine.

Thanks for any and all help on this.

-Ken


-- 
Kenneth Simler
Research Associate, Cornell Food & Nutrition Policy Program 
Cornell University, Ithaca, NY  14853  USA
krs2@mango.human.cornell.edu  http://mango.human.cornell.edu/kens/




From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 08:23: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 #8) id m0vIdPZ-000AlpC; Wed, 30 Oct 96 08:22 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA08318; Wed, 30 Oct 1996 10:22:11 -0600
Received: from dresden.bmc.com (dresden.bmc.com [198.64.253.250]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id JAA07117 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 09:55:27 -0600
Received: by dresden.bmc.com
	(1.40.112.4/16.2) id AA206921306; Wed, 30 Oct 1996 10:01:46 -0600
Received: from crow.bmc.com(198.147.191.100) by dresden.bmc.com via smap (3.2)
	id xma020630; Wed, 30 Oct 96 10:01:38 -0600
Received: from dreamer.bmc.com by crow.bmc.com (AIX 3.2/UCB 5.64/4.03)
          id AA31302; Wed, 30 Oct 1996 09:51:54 -0600
Received: by dreamer.bmc.com (SMI-8.6/SMI-SVR4)
	id JAA14740; Wed, 30 Oct 1996 09:54:02 -0600
Message-Id: <199610301554.JAA14740@dreamer.bmc.com>
Date: Wed, 30 Oct 1996 09:54:02 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ttran@dreamer.bmc.com (Thuy Tran)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: real users
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: 9qmcPx3qQhTSoWGcfOrqkA==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

That was it!  Thank you so much

Thuy


------------- Begin Forwarded Message -------------

>From andrew@industries.net Mon Oct 28 14:41:49 1996
Date: Mon, 28 Oct 1996 12:28:04 -0800
From: Andrew Longsworth <andrew@industries.net>
To: wu-ftpd@wugate.wustl.edu
Cc: ttran@dreamer.bmc.com
Subject: Re: real users
Mime-Version: 1.0
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>I recompiled wu-ftp-2.4 on Solaris 2.4 and am testing it now.  Anonymous and
>guestgroups login work correctly but real users are not.  I read in 'Managing
>Internet Information Services' that real users are not supposed to be
>chrooted
>yet mine are.  And of course since it's chroot to its home directory,
>commands
>like like 'ls' gives the infamous 'can't create data socket' error because it
>does not have the etc,bin,usr directories.

I believe that the problem you are experiencing has to do with the fact
that the real users you want to use are members of one of your guest
groups. This is the main reason that it is not advisable to use a guest
group of something like staff or user. I created a separate special group
for guests called (very originally!) ftponly. This way, only those members
of that group get a chroot performed upon their login.


Hope this solves your problem,

Andrew Longsworth


------------- End Forwarded Message -------------

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 08:55: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 #8) id m0vIdvA-000BDtC; Wed, 30 Oct 96 08:55 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA10673; Wed, 30 Oct 1996 10:54:37 -0600
Received: from light.lightlink.com (light.lightlink.com [205.232.34.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id KAA10385 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 10:50:01 -0600
Received: from localhost (homer@localhost) by light.lightlink.com (8.7.6/8.7.3) with SMTP id LAA09088 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 11:50:00 -0500 (EST)
Message-Id: <Pine.SUN.3.95.961030114806.6425J-100000@light.lightlink.com>
Date: Wed, 30 Oct 1996 11:50:00 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: directory permissions (fwd)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


     If this is a FAQ, please let me know.  I am pretty ignorant about
ftp.
 
     Is there a way to allow password protected per user access to
individual directories under the main owner's ftp directory, for
uploading files to the owner from remote customers?
 
     Thanks in advance.  Homer


From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 08:58: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 #8) id m0vIdyj-000BBtC; Wed, 30 Oct 96 08:58 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id KAA10986; Wed, 30 Oct 1996 10:58:32 -0600
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 KAA10428 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 10:50:25 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id KAA02753 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 10:50:25 -0600
Message-Id: <Pine.LNX.3.95.961030104554.1744G-100000@ns1.fni.com>
Date: Wed, 30 Oct 1996 10:50:25 -0600 (CST)
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: Access control (restricting "real" login hosts)
In-Reply-To: <Pine.BSF.3.91.961030224503.1129B-100000@home.albury.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I have no idea where you are getting the "allow" directive; it is not in
the latest beta 11.  Try the following in your /etc/ftpaccess, as well as
'man ftpaccess'. 

class   remote  anonymous * localhost
class   my      real      *.my.domain
class   your    real      *.your.domain

   -- Michael

On Wed, 30 Oct 1996, Ross Wheeler wrote:

> Problem: I want to allow anonymous login from anywhere, but "real" logins 
> must come from one of a specified set of hosts.
> 
> I had used /etc/ftphosts with entries of:
> 
> 	allow	anonymous	*
> 	allow	ALL		*.my.domain
> 	allow	ALL		*.your.domain
> 
> It doesn't work, but the man page (ftphosts) doesn't cover it very well!

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 09:12: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 #8) id m0vIeBN-000AoYC; Wed, 30 Oct 96 09:12 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA11959; Wed, 30 Oct 1996 11:11:45 -0600
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 KAA11059 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 10:59:35 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id KAA02823 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 10:59:42 -0600
Message-Id: <Pine.LNX.3.95.961030105916.1744I-100000@ns1.fni.com>
Date: Wed, 30 Oct 1996 10:59:42 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Re: directory permissions (fwd)
In-Reply-To: <Pine.SUN.3.95.961030114806.6425J-100000@light.lightlink.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Guest ftp; see the howto below.

   -- Michael

On Wed, 30 Oct 1996, Homer W. Smith wrote:

>      Is there a way to allow password protected per user access to
> individual directories under the main owner's ftp directory, for
> uploading files to the owner from remote customers?


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 Wed Oct 30 09:50: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 #8) id m0vIemP-0000RjC; Wed, 30 Oct 96 09:50 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA14179; Wed, 30 Oct 1996 11:49:57 -0600
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 LAA13785 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 11:43:59 -0600
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id MAA29824; Wed, 30 Oct 1996 12:43:57 -0500 (EST)
Message-Id: <199610301743.MAA29824@finnegan.EE.McGill.CA>
Date: Wed, 30 Oct 1996 12:43:56 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: rossw@home.albury.net.au
Subject: Re: Access control (restricting "real" login hosts)
In-Reply-To: <Pine.LNX.3.95.961030104554.1744G-100000@ns1.fni.com> from "Michael Brennen" at Oct 30, 96 10:50:25 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

> 
> 
> I have no idea where you are getting the "allow" directive; it is not in
> the latest beta 11.  Try the following in your /etc/ftpaccess, as well as
> 'man ftpaccess'. 
> 

The 'allow' directive is use in _PATH_FTPHOSTS
by default, it will map to

#define _PATH_FTPHOSTS  "/etc/ftpd/ftphosts"

The man page is short and dry ;-)... but he ! Don't we love Unix :) 
You can have does two directives in ftphosts.

     allow <username> <addrglob> [<addrglob> ...]
          Only allow host(s) matching <addrglob>  to  log  in  as
          <username>.

     deny <username> <addrglob> [<addrglob> ...]
          Always deny host(s) matching <addrglob> to  log  in  as
          <username>.

the problem with Ross Wheeler scheme was the misuse
of the <username> field. It has to be a <USERNAME> login
not a <TYPELIST>.

So a line like this in _PATH_FTPHOSTS:

deny rossw home.albury.net.au

will logout `rossw' from ftpd server home.albury.net.au


But if you're trying to restrict a class of user then
ftpaccess should be use instead. See Michael Brennen
and Koo V. D. H. posts.


Note: also the ftpusers can be handy but like ftphosts,
      there is no globing on the username so each
      must have an entry.
--
alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 10:05: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 #8) id m0vIf0t-000ANcC; Wed, 30 Oct 96 10:05 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA15450; Wed, 30 Oct 1996 12:05:16 -0600
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 LAA14662 for <wu-ftpd@mail.wustl.edu>; Wed, 30 Oct 1996 11:56:12 -0600
Received: from okan.superonline.net by relay5.UU.NET with SMTP 
	(peer crosschecked as: IstDial13.escortnet.com [208.196.160.242])
	id QQbnrr07517; Wed, 30 Oct 1996 12:56:02 -0500 (EST)
Message-Id: <32779697.56CE@superonline.com>
Date: Wed, 30 Oct 1996 19:55:35 +0200
Reply-To: okan@superonline.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Okan Tarhan <okan@superonline.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem in Digital Unix 3.2D with C2 security
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-9
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Maybe you have mentioned before, but I'm a new subscriber and I couldn't
get any answer from the logs.

We're running Digital Unix 3.2D with C2 security and I tried to install
wu-ftpd-academia version. After compiling and restarting the inetd I got
login incorrect messages when I tried to do a ftp. I checked the
configurations (cp'ing /etc/sia under ~ftp/etc, or adding LIBES =
-lsupport -lsecurity -laud line into the src/makefiles/Makefile.osf,
etc..) and still couldn't resolve the problem. Then I turned back to BSD
level, hey it worked. And returned to C2 now everthing was fine. After
all I tried to add a new user and I realized with the same error :(
Thanks for all who makes a comment for this problem.

Okan Tarhan

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 10:23: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 #8) id m0vIfIT-000AgIC; Wed, 30 Oct 96 10:23 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA16371; Wed, 30 Oct 1996 12:22:54 -0600
Received: from finch.engrs.infi.net (finch.engrs.infi.net [206.153.61.77]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA16097 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 12:16:13 -0600
Received: by finch.engrs.infi.net; id AA08646; Wed, 30 Oct 1996 13:16:08 -0500
Message-Id: <9610301816.AA08646@finch.engrs.infi.net>
Date: Wed, 30 Oct 1996 13:16:08 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scot Needy <scot@finch.engrs.infi.net>
To: wu-ftpd@wugate.wustl.edu, okan@superonline.com
Subject: Re: Problem in Digital Unix 3.2D with C2 security
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: l9v8Oajrt+9um8kGZ+Xptg==
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hi;

 I believe under C2 security 
 you authenticating password file is nolonger in /etc/passwd 
 
 You may want to start poking around the there.
 
 The DEC documentation is now online!
 
  http://sawyer.wustl.edu/du4-docs/Digital_UNIX_Bookshelf.html
  
 There should be more info on C2 there as well.
  
  Scot

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 13:37: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 #8) id m0vIiK8-000AKJC; Wed, 30 Oct 96 13:37 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA29905; Wed, 30 Oct 1996 15:31:49 -0600
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 PAA29598 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 15:26:13 -0600
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id PAA01755; Wed, 30 Oct 1996 15:29:39 -0500 (EST)
Message-Id: <199610302029.PAA01755@finnegan.EE.McGill.CA>
Date: Wed, 30 Oct 1996 15:29:39 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: krs2@mango.human.cornell.edu
Subject: Re: uploads directive in ftpaccess
In-Reply-To: <3.0.16.19961030105501.2e4fc5c8@mango.human.cornell.edu> from "Kenneth Simler" at Oct 30, 96 10:55:02 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

> 
> I posted the following message over a week ago, and have been surprised at
> the complete lack of response.  I know it's not a question about the
> current beta, which understandably is a focus of much attention, but surely
> *someone* knows the answer to this question about the uploads directive.
> If you do, please share it, or tell me if my question isn't clear,
> whatever.  Thanks in advance.   -Ken
> 

[ ..attach posting deleted ..]


Hello `Kenneth Simler'

  No it's quite clear, you just stumble to a little known
bug in wu-ftpd.

To remedy you can do the followings

1-  in config.h
  a- recompile wu-ftpd with:
     #undef UPLOAD
  b- Use the full arsenal
    recompile wu-ftpd with:
     #undef UPLOAD
     #undef OVERWRITE
     #define PARANOID

2-
  the problem is a subtle one.

  a- change your passwd entry for `ftp' in the home directory field
       "/u/ftp" --> change for "/home/ftp"

   b- don't change your passwd entry for ftp but
      change ftpaccess for
        upload /u/ftp       *                no

3-
  I made a patch for this somewhere, sigh ;( can't find it.

--
good day, alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 14:27: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 #8) id m0vIj68-000ALiC; Wed, 30 Oct 96 14:26 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA04974; Wed, 30 Oct 1996 16:23:08 -0600
Received: from mango.human.cornell.edu (MANGO.HUMAN.CORNELL.EDU [128.253.253.196]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA04401 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 16:16:26 -0600
Received: from KENS.HUMAN.CORNELL.EDU by mango.human.cornell.edu (AIX 3.2/UCB 5.64/4.03)
          id AA13595; Wed, 30 Oct 1996 17:16:24 -0500
Message-Id: <3.0.16.19961030171620.33e7b748@mango.human.cornell.edu>
Date: Wed, 30 Oct 1996 17:16:21 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kenneth Simler <krs2@mango.human.cornell.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: uploads directive in ftpaccess
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: krs2@mango.human.cornell.edu (Unverified)
X-Mailer: Windows Eudora Pro Version 3.0 (16)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Alain,

     Thank you for your suggestions.  As you noted, there was a discrepancy
between the system password file home directory for ftp ("/u/ftp") and what
I had in ftpaccess ("/home/ftp").  The two are linked, but wu-ftpd ignores
it.  I changed ftpaccess to read /u/ftp and all appears to be ok now.

     I had started thinking that I would build the beta, but then I noticed
a line in FIXES-2.4.2-BETA-11 that said the new ftpaccess man page was
updated to clarify that the home directory listed in the upload directive
MUST match the directory in /etc/passwd.

     I think that's all it needed.

Thanks again,
-Ken



At 03:29 PM 10/30/96 -0500, Alain Magloire wrote:
>> 
>> I posted the following message over a week ago, and have been surprised at
>> the complete lack of response.  I know it's not a question about the
>> current beta, which understandably is a focus of much attention, but surely
>> *someone* knows the answer to this question about the uploads directive.
>> If you do, please share it, or tell me if my question isn't clear,
>> whatever.  Thanks in advance.   -Ken
>> 
>
>[ ..attach posting deleted ..]
>
>
>Hello `Kenneth Simler'
>
>  No it's quite clear, you just stumble to a little known
>bug in wu-ftpd.
>
>To remedy you can do the followings
>
>1-  in config.h
>  a- recompile wu-ftpd with:
>     #undef UPLOAD
>  b- Use the full arsenal
>    recompile wu-ftpd with:
>     #undef UPLOAD
>     #undef OVERWRITE
>     #define PARANOID
>
>2-
>  the problem is a subtle one.
>
>  a- change your passwd entry for `ftp' in the home directory field
>       "/u/ftp" --> change for "/home/ftp"
>
>   b- don't change your passwd entry for ftp but
>      change ftpaccess for
>        upload /u/ftp       *                no
>
>3-
>  I made a patch for this somewhere, sigh ;( can't find it.
>
>--
>good day, alain
>
>

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 14:57: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 #8) id m0vIjZH-000AuLC; Wed, 30 Oct 96 14:57 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA07083; Wed, 30 Oct 1996 16:52:01 -0600
Received: from dvp (dvp.dvptechdoc.com [204.162.248.11]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id QAA06513 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 16:43:46 -0600
Received: from [204.162.248.41] by dvp (SMI-8.6/SMI-SVR4)
	id OAA17227; Wed, 30 Oct 1996 14:46:20 -0800
Message-Id: <v01510100ae9d882f714c@[204.162.248.41]>
Date: Wed, 30 Oct 1996 14:41:16 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ewatjen@dvptechdoc.com (Eric Watjen)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: uploads directive in ftpaccess
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: ewatjen@dvptechdoc.com (Unverified)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

>     Some background: I set up wu-ftpd 2.4 as per the accompanying docs,
>with some supplemental help from other sources for the modes on the ~ftp
>hierarchy.  Along with the usual /u/ftp/bin, /u/ftp/etc, and so forth
>entries, I have the following set up:
>
>dr-xr-xr-x   7 root     wheel        512 Oct 21 11:00 /u/ftp
>dr-xr-xr-x   3 root     wheel       512 Oct 21 13:24 /u/ftp/pub
>drwx-wx-wt   2 root     wheel       512 Oct 21 10:50 /u/ftp/pub/incoming
>
>     I expected that disallowing anonymous uploads in ftpaccess would
>override the write permission for anonymous users.  That is, setting the
>upload directive in ftpaccess could further restrict the permissions on
>/u/ftp/pub/incoming.  However, it seems that even if I try to disallow
>anonymous uploads in ftpaccess, they are allowed as long as the mode set on
>/u/ftp/pub/incoming is world-writable.
>
>     If I want to permit anonymous downloads, but not anonymous uploads, I
>thought the following entries in ftpaccess would do the trick; some are
>probably redundant and/or useless.
>
>upload  /home/ftp    *                no
>upload  /home/ftp    /pub/*           no
>upload  /home/ftp    /bin/*           no
>upload  /home/ftp    /etc/*           no
>upload  /home/ftp    /pub/incoming/*  no
>upload  /home/ftp    /pub/incoming*   no
>


I noticed that you specified your ftp directory to be at /u/ftp.
This should be the first parameter to the upload directive, ex.:
    upload   /u/ftp   /pub/incoming/*  no
             ^^^^^^

---------------------------------------------------------------------------
Eric Watjen
ewatjen@dvptechdoc.com
---------------------------------------------------------------------------
DVP TECHDOC, Inc.                                 http://www.dvptechdoc.com
1475 South Bascom Avenue                           Phone: 408-369-5100 x216
Campbell, CA 95008                                        Fax: 408-369-5107

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


From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 15:12: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 #8) id m0vIjni-000AO0C; Wed, 30 Oct 96 15:11 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA07824; Wed, 30 Oct 1996 17:08:35 -0600
Received: from cs.tamu.edu (clavin.cs.tamu.edu [128.194.130.106]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA07675 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 17:05:28 -0600
Received: from cs.tamu.edu (2297@dilbert.cs.tamu.edu [128.194.133.100]) by cs.tamu.edu (8.8.2/8.8.2) with SMTP id RAA19308 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 17:04:54 -0600 (CST)
Message-Id: <199610302304.RAA19308@cs.tamu.edu>
Date: Wed, 30 Oct 1996 17:03:51 -0600
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chris Jason Richards <richards@cs.tamu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: upload directives...
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.9 8/22/96
X-Url: http//grover.bre.com/
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Upon login, the user is chrooted to /home/ftp/private/dummy.  Originally I had

upload  /home/ftp  /private/dummy       yes     dummy   ftponly 0660 dirs

as the upload directive.  Unfortunately, if he made a subdir, say 
/home/ftp/private/dummy/apps, he could not upload to the apps dir.

Then I tried

upload  /home/ftp  /private/dummy/*     yes     dummy   ftponly 0660 dirs

and he was then able to upload to the apps directory.  Unfortunately, he 
could no longer upload to the /home/ftp/private/dummy directory!  He could 
make multiple level subdirs with this directive and still be able to upload 
(ie. /home/ftp/private/dummy/apps/bob/lick/heya/whatever)

So, what I have done to allow as many subdirs as the ftp only user needs is 
add BOTH lines to ftpaccess resulting in:

upload  /home/ftp  /private/dummy       yes     dummy   ftponly 0660 dirs
upload  /home/ftp  /private/dummy/*     yes     dummy   ftponly 0660 dirs

And everything seems works as wanted.  This just seems to be an "odd" way to 
do it.  Am I doing something wrong?

cjr
-- 
_______________________________________________________________________
Chris Richards                         | Texas A&M University          
richards@tamu.edu                      | Department of Computer Science
http://www.cs.tamu.edu/people/richards | Internet Publishing Services
http://grover.bre.com/                 | Internet System Programmer


From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 15:37: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 #8) id m0vIkBz-000AtSC; Wed, 30 Oct 96 15:37 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA08722; Wed, 30 Oct 1996 17:32:27 -0600
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA08559 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 17:29:08 -0600
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA27935; Thu, 31 Oct 96 10:27:53 +1100
Message-Id: <v03007800ae9d90a57fba@[137.92.10.14]>
Date: Thu, 31 Oct 1996 10:15:45 +1100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: How do you compile wu-ftpd in solaris 2.4/2.5?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

At 2:03 PM +1000 25/10/96, Kim Holburn wrote:
>running on Solaris 2.4 sun4c
compiling on Solaris 2.5 sun4u

I recompiled wu-ftpd with a few extra lines after all the includes

#if defined(SVR4) || defined(ISC)
#include <fcntl.h>
#ifdef SOLARIS_21
#undef F_SETOWN
#endif
#endif

that was the only way I could see to get rid of F_SETOWN.  I will have to
do that with the other binaries too I suppose.  But there is still
something clearly wrong because it doesn't seem to be able to open the data
connection. Since it is put back into the source in the lines in ftpd.c
that say:

-------
list
425 Can't build data connection: Address family not supported by protocol
family

#tail /var/adm/messages
Oct 26 19:11:44 fred ftpd[1066]: setsockopt (SO_OOBINLINE): Invalid argument
-------


How do you compile wu-ftpd under solaris since clearly the configure
doesn't get it right.

Kim


--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 15:49:23 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vIkNp-0000PGC; Wed, 30 Oct 96 15:49 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA09395; Wed, 30 Oct 1996 17:45:51 -0600
Received: from ns1.zns.net (ns1.zygaena.com [206.148.80.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA09029 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 17:38:44 -0600
Received: (from nobody@localhost) by ns1.zns.net (8.7.5/8.7.3) id SAA28478 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 18:38:56 -0500 (EST)
Received: from selway.i.com(198.30.169.1) by ns1.zns.net via smap (V1.3)
	id sma028476; Wed Oct 30 18:38:37 1996
Received: (from ewb@localhost) by selway.i.com (8.7.3/8.7.3) id SAA11207 for wu-ftpd@mail.wustl.edu; Wed, 30 Oct 1996 18:38:20 -0500 (EST)
Message-Id: <199610302338.SAA11207@selway.i.com>
Date: Wed, 30 Oct 1996 18:38:20 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Will Brown <ewb@zns.net>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd: guestgroup+virtual?
X-Authentication-Warning: ns1.zns.net: nobody set sender to <ewb@zygaena.com> using -f
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

wu-ftpd B11

I tried using guestgroup in combination with virtual.  login to the
virtual host as a guest. The chdir() that should follow the chroot()
doesn't happen. Hmm.

connect to the "real" host and the chdir does happen. Hmm.

Started looking at the code. Relevant section seems to be in ftpd.c
lines 1433 to 1460.

Ah. There is a rather obvious conflict here. both virtual and
guestgroup have their own way to specify the chroot dir.  The way the
code is written, virtual wins by clobbering the chdir() path by
saying:

    strcpy(pw->pw_dir, virtual_root);

I propose that this can be improved. In the case where the virtual_root
is the same as the guestgroup "root" the statement above can
be skipped.

Comments?  I am going to write a patch to do this, unless someone
already has, or someone can say why this is a horrible idea.

But hmm, is there ever anything sensible to do if a guest logs in
to a virtual host and his chroot directory doesn't match the
virtual_root? Methinks not. Any other thoughts out there?

--
Will Brown
ZNS, Inc.

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 16:08: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 #8) id m0vIkgO-000ATzC; Wed, 30 Oct 96 16:08 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA10359; Wed, 30 Oct 1996 18:07:02 -0600
Received: from planet ([198.147.196.14]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA09885 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 17:57:52 -0600
Received: by planet (Smail3.1.29.1 #9)
	id m0vIkUR-0004N8C; Wed, 30 Oct 96 15:56 PST
Message-Id: <m0vIkUR-0004N8C@planet>
Date: Wed, 30 Oct 1996 15:56:07 -0800 (PST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: alvin@planet.fef.com (Alvin Oga)
To: wu-ftpd@wugate.wustl.edu
Cc: alvin@planet.fef.com (Alvin Oga)
Subject: Re: wu-ftpd: guestgroup+virtual?
In-Reply-To: <199610302338.SAA11207@selway.i.com> from "Will Brown" at Oct 30, 96 06:38:20 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

Hi folks
 
[ deleted ]

> Started looking at the code. Relevant section seems to be in ftpd.c
> lines 1433 to 1460.
> 
> Ah. There is a rather obvious conflict here. both virtual and
> guestgroup have their own way to specify the chroot dir.  The way the
> code is written, virtual wins by clobbering the chdir() path by
> saying:
> 
>     strcpy(pw->pw_dir, virtual_root);
> 
> I propose that this can be improved. In the case where the virtual_root
> is the same as the guestgroup "root" the statement above can
> be skipped.
> 
> Comments?  I am going to write a patch to do this, unless someone
> already has, or someone can say why this is a horrible idea.


I was wondering, when you do this "patch" if you would consider:
A.  virtual domains that uses different IP addresses for each domain
B.  virtual domains that use ONE IP address for each virtual domain
	( this is my case and since there is only one IP address,
	( it makes chroot() to the proper virtual ftp directory difficult

	difficult- because I do not know how to extract the domain name
	from inside ftpd.c

Example:
	planet:~# ftp ftp.abc.com
	Connected to dns.abc.com.
	Name (ftp.abc.com:alvin)

	planet:~# ftp ftp.xyz.com         
	Connected to dns.xyz.com.	<<<--- this is what I would like to get
	Name (ftp.xyz.com:alvin):	       read from inside ftpd for chroot()


Please let me know if you need me to help test your patch or if you
know how to get the "connected to  machine.domain.name" message

thanx
alvin

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 16:36: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 #8) id m0vIl7J-000BCPC; Wed, 30 Oct 96 16:36 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12442; Wed, 30 Oct 1996 18:35:28 -0600
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 SAA10295 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 18:06:25 -0600
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id TAA04006 for wu-ftpd@wugate.wustl.edu; Wed, 30 Oct 1996 19:06:25 -0500 (EST)
Message-Id: <199610310006.TAA04006@finnegan.EE.McGill.CA>
Date: Wed, 30 Oct 1996 19:06:24 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: upload directives...
In-Reply-To: <199610302304.RAA19308@cs.tamu.edu> from "Chris Jason Richards" at Oct 30, 96 05:03:51 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

[.. deleted ..]

> So, what I have done to allow as many subdirs as the ftp only user needs is 
> add BOTH lines to ftpaccess resulting in:
> 
> upload  /home/ftp  /private/dummy       yes     dummy   ftponly 0660 dirs
> upload  /home/ftp  /private/dummy/*     yes     dummy   ftponly 0660 dirs
> 
> And everything seems works as wanted.  This just seems to be an "odd" way to 
> do it.  Am I doing something wrong?
> 

No :)
the pattern matching code(fnmatch()) seems to be the culprit.

--
alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 16:40: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 #8) id m0vIlAr-000BCPC; Wed, 30 Oct 96 16:39 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12738; Wed, 30 Oct 1996 18:39:42 -0600
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 SAA11026 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 18:17:25 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id SAA06072 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 18:17:36 -0600
Message-Id: <Pine.LNX.3.95.961030181540.5794B-100000@ns1.fni.com>
Date: Wed, 30 Oct 1996 18:17:36 -0600 (CST)
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: wu-ftpd: guestgroup+virtual?
In-Reply-To: <199610302338.SAA11207@selway.i.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Wierd.  I'm running beta 11 and doing exactly this without problems.  The
chroot() is happening.  I log into the ftp.virtualdomain.com, with the
login account set up as a guest, and there it is.

   -- Michael

On Wed, 30 Oct 1996, Will Brown wrote:

> wu-ftpd B11
> 
> I tried using guestgroup in combination with virtual.  login to the
> virtual host as a guest. The chdir() that should follow the chroot()
> doesn't happen. Hmm.
> 
> connect to the "real" host and the chdir does happen. Hmm.

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 16:43: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 #8) id m0vIlEe-000AUWC; Wed, 30 Oct 96 16:43 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12918; Wed, 30 Oct 1996 18:43:24 -0600
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id SAA12200 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 18:31:52 -0600
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id QAA27258; Wed, 30 Oct 1996 16:31:46 -0800 (PST)
Message-Id: <3277F36A.2425@intelenet.net>
Date: Wed, 30 Oct 1996 16:31:38 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: guestgroup+virtual?
References: <199610302338.SAA11207@selway.i.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Will Brown wrote:
> 
> wu-ftpd B11
> 
> I tried using guestgroup in combination with virtual.  login to the
> virtual host as a guest. The chdir() that should follow the chroot()
> doesn't happen. Hmm.

It does for me....

> connect to the "real" host and the chdir does happen. Hmm.
> 
> Started looking at the code. Relevant section seems to be in ftpd.c
> lines 1433 to 1460.
> 
> Ah. There is a rather obvious conflict here. both virtual and
> guestgroup have their own way to specify the chroot dir.  The way the
> code is written, virtual wins by clobbering the chdir() path by
> saying:
> 
>     strcpy(pw->pw_dir, virtual_root);

Huh?

My copy of the code for wu-ftpd 2.4.2 B11 says this:

    if (anonymous || guest) {
        /* We MUST do a chdir() after the chroot. Otherwise the old
current
         * directory will be accessible as "." outside the new root! */
        if (anonymous) {
#ifdef VIRTUAL
            if (virtual_mode) {
                strcpy(pw->pw_dir, virtual_root);
            }
#endif 
            if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
                reply(550, "Can't set guest privileges.");
                goto bad;
            }
        } else if (guest) {
            char *sp;

            /* determine root and home directory */

            if ((sp = strstr(pw->pw_dir, "/./")) == NULL) {
                if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
                    reply(550, "Can't set guest privileges.");
                    goto bad;
                }
            } else {
                *sp++ = '\0';

                if (chroot(pw->pw_dir) < 0 || chdir(++sp) < 0) {
                    reply(550, "Can't set guest privileges.");
                    goto bad;
                }
            }



The strcpy you mention is inside the if (anonymous) clause.
It is only activated if you are an anonymous user, not a guest user.

What does your code say?
 
It sounds like you have a different B11 than I do...



-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 17:12: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 #8) id m0vIlgX-000APVC; Wed, 30 Oct 96 17:12 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA14676; Wed, 30 Oct 1996 19:11:23 -0600
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 SAA13548 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 18:53:33 -0600
Received: (from alainm@localhost) by finnegan.EE.McGill.CA (8.8.0/8.8.0) id TAA04298; Wed, 30 Oct 1996 19:53:32 -0500 (EST)
Message-Id: <199610310053.TAA04298@finnegan.EE.McGill.CA>
Date: Wed, 30 Oct 1996 19:53:32 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Cc: alvin@planet.fef.com, ewb@zns.net
Subject: Re: wu-ftpd: guestgroup+virtual?
In-Reply-To: <m0vIkUR-0004N8C@planet> from "Alvin Oga" at Oct 30, 96 03:56:07 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

[ .. deleted..]

> 
> I was wondering, when you do this "patch" if you would consider:
> A.  virtual domains that uses different IP addresses for each domain

??
That is what the actual Virtual patch is doing ... right ?

> B.  virtual domains that use ONE IP address for each virtual domain
> 	( this is my case and since there is only one IP address,
> 	( it makes chroot() to the proper virtual ftp directory difficult
> 
> 	difficult- because I do not know how to extract the domain name
> 	from inside ftpd.c
> 

IMHO, It's more than difficult .. it's close to impossible.

To achieve Multi-homing, you must be able to make
a distinction somehow. You can do that by getsockname()
this will return the sockaddr struct i.e the IP address.

So if for an ip adress aaa.bbb.ccc.ddd (A RR)
you have  different aliases(CNAME RR) for the same IP
say ftp1.com ftp2.com.

It will not be possible for the ftpd server to
know who you're trying to reach (ftp1.com or ftp2.com).

1- because must ftp client will do the resolving(getsockbyname())
2- all communications is base on IP addresses.

So each name ftp1|ftp2 must match an IP address.

Nowadays must operating systems provide IP aliasing
.i.e having different IPs for the same interface.

For Linux|Solaris|HP-UX10.x, it's part of the 
OS. You can achieve this on SunOS with vif.

Note: Http/1.1 allows multi-homing on a single IP
      But the protocol has been change to permit
      this. In the Headers you can pass the `HOST'
      field(ftp1|ftp2) that will permit httpd daemon
      to make the distinction.

      Also with sendmail(virtual-mail) with some
      nifty hacks in sendmail.cf


Unless FTP protocol changes multi-homing will only
be possible with different IP's.


There is some lengthy discussion on the subject
in wu-ftpd archives. 
--
alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 17:56: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 #8) id m0vImMU-000BINC; Wed, 30 Oct 96 17:56 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA17061; Wed, 30 Oct 1996 19:54:45 -0600
Received: from ns1.zns.net (ns1.zygaena.com [206.148.80.3]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA16515 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 19:44:44 -0600
Received: (from nobody@localhost) by ns1.zns.net (8.7.5/8.7.3) id UAA28793 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 20:44:59 -0500 (EST)
Received: from selway.i.com(198.30.169.1) by ns1.zns.net via smap (V1.3)
	id sma028790; Wed Oct 30 20:44:33 1996
Received: (from ewb@localhost) by selway.i.com (8.7.3/8.7.3) id UAA11399 for wu-ftpd@wugate.wustl.edu; Wed, 30 Oct 1996 20:44:16 -0500 (EST)
Message-Id: <199610310144.UAA11399@selway.i.com>
Date: Wed, 30 Oct 1996 20:44:16 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Will Brown <ewb@zns.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: guestgroup+virtual?
X-Authentication-Warning: ns1.zns.net: nobody set sender to <ewb@zygaena.com> using -f
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

> Bill Myers said:
> My copy of the code for wu-ftpd 2.4.2 B11 says this:

(code elided)

Mine is different, (probably missing one of your patches Bill :) The
following fragment:

#ifdef VIRTUAL
            if (virtual_mode) {
                strcpy(pw->pw_dir, virtual_root);
            }
#endif 

occurs before the test for if(anonymous || virtual).

With your version, guestgroup would seem to always take precedence
over virtual_root. So if someone logs into a virtual IP as a guest
user that is meant for the "main IP" or some other virtual IP, I
think they get guest privileges (and chroot) according to the path in
the passwd file.

Probably a good fix. Passwords should prevent such abuse from occuring.

--
Will Brown
ZNS

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 19:12: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 #8) id m0vInYV-000AHUC; Wed, 30 Oct 96 19:12 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id VAA20558; Wed, 30 Oct 1996 21:11:37 -0600
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAA20312 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 21:04:23 -0600
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id TAA02676; Wed, 30 Oct 1996 19:04:17 -0800 (PST)
Message-Id: <3278172A.4C0C@intelenet.net>
Date: Wed, 30 Oct 1996 19:04:10 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: guestgroup+virtual?
References: <199610310144.UAA11399@selway.i.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Will Brown wrote:
> 
> > Bill Myers said:
> > My copy of the code for wu-ftpd 2.4.2 B11 says this:
> 
> (code elided)
> 
> Mine is different, (probably missing one of your patches Bill :) The
> following fragment:
> 
> #ifdef VIRTUAL
>             if (virtual_mode) {
>                 strcpy(pw->pw_dir, virtual_root);
>             }
> #endif
> 
> occurs before the test for if(anonymous || virtual).

Oops, you're right.  I did "fix" the code like this.  Should have
checked 
my changes before posting that last message, but I forgot I'd modified
that.

> With your version, guestgroup would seem to always take precedence
> over virtual_root. So if someone logs into a virtual IP as a guest
> user that is meant for the "main IP" or some other virtual IP, I
> think they get guest privileges (and chroot) according to the path in
> the passwd file.
> 
> Probably a good fix. Passwords should prevent such abuse from occuring.

Well, that's what I thought...

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 19:33: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 #8) id m0vInt3-000AkUC; Wed, 30 Oct 96 19:33 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id VAA21098; Wed, 30 Oct 1996 21:33:38 -0600
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 VAA20968 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 21:29:21 -0600
Received: from charlie4.EE.McGill.CA (alainm@Charlie4.EE.McGill.CA [132.206.63.83]) by finnegan.EE.McGill.CA (8.8.0/8.8.0) with ESMTP id WAA05200 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 22:27:37 -0500 (EST)
Received: by charlie4.EE.McGill.CA (8.8.0) id WAA05882; Wed, 30 Oct 1996 22:27:35 -0500 (EST)
Message-Id: <199610310327.WAA05882@charlie4.EE.McGill.CA>
Date: Wed, 30 Oct 1996 22:27:34 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: uploads any patches ?
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

Kenneth Simler wrote:
[.. deleted ..]
:      I had started thinking that I would build the beta, but then I noticed
: a line in FIXES-2.4.2-BETA-11 that said the new ftpaccess man page was
: updated to clarify that the home directory listed in the upload directive
: MUST match the directory in /etc/passwd.
: 

:-) yes. the culprit is extensions.c(upl_check()):

      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;
...
...
          }
...
...
      /* if we did get matches... ..else don't do any of this stuff */
      if (match_value >= 0) {
...
...
      } else {
          /*
           * upload defaults to "permitted"
           */
          return(1);
      }



If you don't have the same entry in the passwd and for upload the
strcmp(ARG0, pw->pw_dir) will return != 0. Hence the if will fail
and match_value never update. 

Upload will be __permitted anywhere__ in spite of whatever you put
in your ftpaccess.

I remembered some __Long__ midnight shift over that strcmp().
Until I patched out of the sky(Felt sooooo good, especially
when it was 3:00 AM and I wanted to go home >:<

I mean when you have:

upload /home/ftp * no

It's pretty clear that you don't want uploading !!!!

Can somebody come up with a reason, a ... anything on the existence
of that mischievous "strcmp(ARG0, pw->pw_dir)", .. aside
from making sys adms and ISP's loose sanity.

--
bonne nuit, alain

From owner-wu-ftpd@wugate.wustl.edu Wed Oct 30 19:55: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 #8) id m0vIoDZ-000AJBC; Wed, 30 Oct 96 19:54 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id VAA21659; Wed, 30 Oct 1996 21:54:58 -0600
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAA21474 for <wu-ftpd@wugate.wustl.edu>; Wed, 30 Oct 1996 21:49:07 -0600
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id TAA04025; Wed, 30 Oct 1996 19:49:01 -0800 (PST)
Message-Id: <327821A5.6C97@intelenet.net>
Date: Wed, 30 Oct 1996 19:48:53 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: uploads any patches ?
References: <199610310327.WAA05882@charlie4.EE.McGill.CA>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Alain Magloire wrote:
> 
> I mean when you have:
> 
> upload /home/ftp * no
> 
> It's pretty clear that you don't want uploading !!!!
> 
> Can somebody come up with a reason, a ... anything on the existence
> of that mischievous "strcmp(ARG0, pw->pw_dir)", .. aside
> from making sys adms and ISP's loose sanity.

Virtual hosting and guestgroups, where you have multiple "users"
on different virtual hosts or guests you want to restrict using the
upload command.

-- 
Bob Myers                              InteleNet Communications, Inc.
Email: bob@InteleNet.net               30 Executive Park, Suite 150
Phone: 714-851-8250 x227               Irvine, CA 92614
Fax:   714-851-1088                    http://www.intelenet.net/

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 09:47:46 1996
X-Delivered: at request of bill on camco
Return-Path: <owner-wu-ftpd@wugate.wustl.edu>
Received: from wugate.wustl.edu by camco.celestial.com with smtp
	(Smail3.1.29.1 #8) id m0vJ1DN-000Ar4C; Thu, 31 Oct 96 09:47 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA19875; Thu, 31 Oct 1996 11:46:17 -0600
Received: from clarion.cec.wustl.edu (clarion.cec.wustl.edu [128.252.21.3]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id LAA18965 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 11:33:07 -0600
Received: by clarion.cec.wustl.edu (5.x/ECL-A1.27)
	id AA27278; Thu, 31 Oct 1996 11:33:04 -0600
Message-Id: <Pine.SOL.3.91.961031113019.25937B-100000@clarion.cec.wustl.edu>
Date: Thu, 31 Oct 1996 11:33:04 -0600 (CST)
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
Cc: jluis@sitecal.es, jeh@ohgua.oh.lucent.com, crjunger@atnet.net
Subject: Unsubscribing from the wu-ftpd list
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

To unsubscribe from the wu-ftpd list, send the message 

  unsubscribe wu-ftpd

to listproc@mail.wustl.edu.  Do not put anything in the subject line, and 
be sure to spell "unsubscribe" correctly.

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


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 10:04: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 #8) id m0vJ1Tb-000B0ZC; Thu, 31 Oct 96 10:04 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA20686; Thu, 31 Oct 1996 12:00:27 -0600
Received: from bean.xtdnet.nl (bean.xtdnet.nl [194.229.18.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id LAA20235 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 11:51:43 -0600
Received: from localhost (paul@localhost) by bean.xtdnet.nl (8.7.6/8.6.11) with SMTP id SAA26625 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 18:51:42 +0100
Message-Id: <Pine.LNX.3.93.961031184923.26607A-100000@bean.xtdnet.nl>
Date: Thu, 31 Oct 1996 18:51:41 +0100 (MET)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Paul Wouters <paul@xtdnet.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Question about file creation for anonymous virtual ftp
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Is there a way to change the file owner and group for incoming files
on virtual domains. My server seems to create them as ftp.daemon, which
I might think is okay for my own anon ftp server, but not for any
clients using a virtual domain. I'd like to be able to set the default
user.group for file creation per virtual ftpd.

Is this possible?

Paul Wouters
Xtended Internet

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 11:12: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 #8) id m0vJ2X8-000BL0C; Thu, 31 Oct 96 11:12 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA24254; Thu, 31 Oct 1996 13:07:01 -0600
Received: from INDST.INDSTATE.EDU (indst.indstate.edu [139.102.4.10]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id MAA23288 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 12:52:32 -0600
Received: from amber.indstate.edu by INDST.INDSTATE.EDU (IBM VM SMTP V2R2)
   with TCP; Thu, 31 Oct 96 13:52:43 EST
Received: from AMBER/SpoolDir by amber.indstate.edu (Mercury 1.21);
    31 Oct 96 13:54:01 GMT-5
Received: from SpoolDir by AMBER (Mercury 1.30); 31 Oct 96 13:53:49 GMT-5
Message-Id: <2EAE0C74385@amber.indstate.edu>
Date: Thu, 31 Oct 1996 13:52:07 GMT-5
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: <CCBOONE@amber.indstate.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem with anonymous and ls.
X-mailer:     Pegasus Mail/Mac (v2.1.2)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I am getting an error message when I login anonymous and try to get use 
ls.  ' Can' create data socket (0.0.0.0,20): device busy.'  This is on 
an Intel machine running Solarisx86. I tried all the stuff in the INTALL 
directions.  Any suggestions?


Charles Wm. Boone Jr.
Computer/Network Specialist
Indiana State University	

ccboone@amber.indstate.edu

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 11:40: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 #8) id m0vJ2yf-000BHDC; Thu, 31 Oct 96 11:40 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA26704; Thu, 31 Oct 1996 13:39:43 -0600
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 NAB26080 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 13:31:33 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id NAA11169 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 13:31:37 -0600
Message-Id: <Pine.LNX.3.95.961031132701.11120A-100000@ns1.fni.com>
Date: Thu, 31 Oct 1996 13:31:37 -0600 (CST)
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: Question about file creation for anonymous virtual ftp
In-Reply-To: <Pine.LNX.3.93.961031184923.26607A-100000@bean.xtdnet.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


I've had no trouble putting upload directives in /etc/ftpaccess for
virtual FTP sites that create the uploaded files with unique ownership
and/or permissions.  Does that not work for you?

   -- Michael

On Thu, 31 Oct 1996, Paul Wouters wrote:

> Is there a way to change the file owner and group for incoming files
> on virtual domains. My server seems to create them as ftp.daemon, which
> I might think is okay for my own anon ftp server, but not for any
> clients using a virtual domain. I'd like to be able to set the default
> user.group for file creation per virtual ftpd.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 11:54: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 #8) id m0vJ3Bf-000AqPC; Thu, 31 Oct 96 11:53 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA27616; Thu, 31 Oct 1996 13:52:15 -0600
Received: from chan.crim.ca (chan.crim.ca [132.218.1.4]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id NAA27121 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 13:45:07 -0600
Received: from summerset.crim.ca by chan.crim.ca (4.1/SMI-4.1)
	id AA02182; Thu, 31 Oct 96 14:45:00 EST
Received: by summerset.crim.ca (SMI-8.6/SMI-SVR4)
	id OAA22175; Thu, 31 Oct 1996 14:45:00 -0500
Message-Id: <Pine.SOL.3.91.961031144139.21596H-100000@summerset.crim.ca>
Date: Thu, 31 Oct 1996 14:44:59 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pierre Belanger <pbelange@crim.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem with anonymous and ls.
In-Reply-To: <2EAE0C74385@amber.indstate.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN



On Thu, 31 Oct 1996 CCBOONE@amber.indstate.edu wrote:

> I am getting an error message when I login anonymous and try to get use 
> ls.  ' Can' create data socket (0.0.0.0,20): device busy.'  This is on 
> an Intel machine running Solarisx86. I tried all the stuff in the INTALL 
> directions.  Any suggestions?
>
Yes, you must create a directory "dev" in the root "/" of the anonymous 
account.  In there you must put the following devices:

drwxr-xr-x   2 root          512 Oct 29 15:05 .
drwxr-xr-x   8 ftp           512 Oct 29 16:59 ..
crw-rw-rw-   1 root      11,  42 Oct 29 11:25 tcp
crw-rw-rw-   1 root     105,   1 Oct 29 15:05 ticotsord
crw-rw-rw-   1 root      11,  41 Oct 29 15:04 udp
crw-rw-rw-   1 root      13,  12 Oct 29 11:25 zero

Use "mknod" to make the devices.

You will also need directories for "bin", "etc" and "lib" at least.

Thruly yours,
Pierre B. - Systems analyst

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 14:00: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 #8) id m0vJ59w-000BFqC; Thu, 31 Oct 96 14:00 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id PAA04303; Thu, 31 Oct 1996 15:59:54 -0600
Received: from mail1.panix.com (mail1.panix.com [198.7.0.32]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id PAA03977 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 15:54:50 -0600
Received: from panix.com (panix.com [198.7.0.2]) by mail1.panix.com (8.7.5/8.7.1/PanixM1.0+) with SMTP id QAA10597 for <wu-ftpd@mail.wustl.edu>; Thu, 31 Oct 1996 16:54:49 -0500 (EST)
Message-Id: <Pine.SUN.3.94.961031165129.224A-100000@panix.com>
Date: Thu, 31 Oct 1996 16:54:49 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jeffrey Auerbach <jauerbac@panix.com>
To: wu-ftpd@wugate.wustl.edu
Subject: anonymous  ls -l
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

Hello,

I am setting up an anonymous ftp server for my company.  I have it working
except for one thing that is bugging me.  WHen I do an ls -l as an
anonymous user, it lists the owner and group numbers, not their
corresponding names.  How can I fix this?  WHen i log in as myself i get
the correct ls -l listing.

One more thing, I believe that my ftpd is reading the /etc/passwd file
instead of the ~/ftp/etc/passwd file, how can i change this?

Thanks for your help

Jeff Auerbach
jauerbac@panix.com


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 15:13: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 #8) id m0vJ6J6-000APPC; Thu, 31 Oct 96 15:13 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA08948; Thu, 31 Oct 1996 17:12:34 -0600
Received: from netcomi.com (www.netcomi.com [204.58.152.11]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAA08505 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 17:03:00 -0600
Received: from fotd.netcomi.com (fishbowl@fotd.netcomi.com [204.58.155.30]) by netcomi.com (8.7.5/8.7.3) with SMTP id SAA04674 for <wu-ftpd@mail.wustl.edu>; Thu, 31 Oct 1996 18:06:02 -0600
Message-Id: <Pine.LNX.3.95.961031175939.1093A-100000@fotd.netcomi.com>
Date: Thu, 31 Oct 1996 18:03:00 -0600 (CST)
Reply-To: fishbowl@conservatory.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "James L. McGill" <fishbowl@netcomi.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Instead of Virtual by IP, chroot per user
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I have tried and failed to get the Beta-11
to do what I want - I am not convinced that 
the virtual-by-IP is what I want to do anyhow.

I would like to simply have the FTP server
make it impossible for a user to change above
his home directory.  That is, the user
(Not a 'guest' or an 'anonymous' user) is
authenticated, and the server changes to that
dir, and then chroots it.  

Is this not possible?


--
g-r-a-t-e-f-u-l-l-y---[   email:<fishbowl@conservatory.com>   ]---l-i-v-i-n-g
d-e-a-d-i-c-a-t-e-d---[ http://www.conservatory.com/~fishbowl ]-----l-i-g-h-t

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 15:30: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 #8) id m0vJ6ZR-000AQ0C; Thu, 31 Oct 96 15:30 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA09697; Thu, 31 Oct 1996 17:30:10 -0600
Received: from ns.intelenet.net (intelenet.net [204.182.160.1]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id RAB09421 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 17:23:57 -0600
Received: from cueball (cueball.intelenet.net [206.82.218.9]) by ns.intelenet.net (8.7.5/8.7.3) with SMTP id PAA19896; Thu, 31 Oct 1996 15:23:33 -0800 (PST)
Message-Id: <327934ED.49F5@intelenet.net>
Date: Thu, 31 Oct 1996 15:23:25 -0800
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Myers <bob@intelenet.net>
To: fishbowl@conservatory.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Instead of Virtual by IP, chroot per user
References: <Pine.LNX.3.95.961031175939.1093A-100000@fotd.netcomi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bob@intelenet.net
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4c)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

James L. McGill wrote:
> 
> I would like to simply have the FTP server
> make it impossible for a user to change above
> his home directory.  That is, the user
> (Not a 'guest' or an 'anonymous' user) is
> authenticated, and the server changes to that
> dir, and then chroots it.
> 
> Is this not possible?

That's exactly what a guest user *is*.

Why don't you want to use a guest user?

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 15:53: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 #8) id m0vJ6vH-000BHHC; Thu, 31 Oct 96 15:53 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id RAA10479; Thu, 31 Oct 1996 17:52:46 -0600
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 RAA10286 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 17:46:24 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id RAA13240; Thu, 31 Oct 1996 17:46:29 -0600
Message-Id: <Pine.LNX.3.95.961031174228.11120H-100000@ns1.fni.com>
Date: Thu, 31 Oct 1996 17:46:29 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: fishbowl@conservatory.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Instead of Virtual by IP, chroot per user
In-Reply-To: <Pine.LNX.3.95.961031175939.1093A-100000@fotd.netcomi.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 31 Oct 1996, James L. McGill wrote:

> I would like to simply have the FTP server
> make it impossible for a user to change above
> his home directory.  That is, the user
> (Not a 'guest' or an 'anonymous' user) is
> authenticated, and the server changes to that
> dir, and then chroots it.  

You just precisely described guest ftp.  Guest and anonymous ftp are not
the same thing.  Guest ftp chroots the user in their home directory.

To find out how to set it up, get the guest howto below and follow it
carefully.

   -- 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 Thu Oct 31 16:36: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 #8) id m0vJ7bD-000BGfC; Thu, 31 Oct 96 16:36 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA12059; Thu, 31 Oct 1996 18:36:32 -0600
Received: from csc.canberra.edu.au (csc.canberra.edu.au [137.92.1.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id SAA11928 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 18:30:36 -0600
Received: from taiji.canberra.edu.au by csc.canberra.edu.au (5.65/1.35)
	id AA02752; Fri, 1 Nov 96 11:29:15 +1100
Message-Id: <v03007803ae9eeffa0996@[137.92.10.14]>
Date: Fri, 1 Nov 1996 11:22:55 +1100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kim Holburn <kim@csc.canberra.edu.au>
To: wu-ftpd@wugate.wustl.edu
Subject: I still can't get wu-ftpd to work in solaris 2.4/2.5
In-Reply-To: <v03007800ae9d90a57fba@[137.92.10.14]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: kim@loose.canberra.edu.au
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

I'm just about to give up and run Sun ftpd.  At least it works without grief.

At 10:15 AM +1100 31/10/96, Kim Holburn wrote:
>>running on Solaris 2.4 sun4c
>compiling on Solaris 2.5 sun4u

I got wu-ftpd-2.4.2-beta-11

After changing some path names (in src/config/config.sol)I did ran the
"build sol" command.

ckconfig checks out.  I'm running it on port 4021

----------------------------------
#telnet fred 4021
Trying 137.92.10.2...
Connected to fred.canberra.edu.au.
Escape character is '^]'.
220 fred FTP server (Version wu-2.4.2-academ[BETA-11](5) Fri Nov 1 10:53:34 ES
T 1996) ready.
user ftp
331 Guest login ok, send your complete e-mail address as password.
pass kim@csc
230 Guest login ok, access restrictions apply.
list
425 Can't build data connection: Connection refused.
cwd pub
250 CWD command successful.
quit
221 Goodbye.
Connection closed by foreign host.
Exit 1
#
----------------------------------
running the ftpd directly:
# /usr/local/lib/ftpd/ftpd
220 fred FTP server (Version wu-2.4.2-academ[BETA-11](5) Fri Nov 1 10:53:34 ES
T 1996) ready.
user ftp
331 Guest login ok, send your complete e-mail address as password.
pass kim@csc
230 Guest login ok, access restrictions apply.
cwd pub
250 CWD command successful.
list
425 Can't build data connection: Address family not supported by protocol
family
.
quit
221 Goodbye.
#
----------------------------------
from /var/adm/messages

Nov  1 11:06:09 fred ftpd[8635]: getpeername (../lib/ftpd/ftpd): Invalid argum
ent
Nov  1 11:06:09 fred ftpd[8635]: getsockname (../lib/ftpd/ftpd): Invalid argum
ent
Nov  1 11:06:09 fred ftpd[8635]: setsockopt (IP_TOS): Invalid argument
Nov  1 11:06:09 fred ftpd[8635]: setsockopt (SO_OOBINLINE): Invalid argument
Nov  1 11:06:09 fred ftpd[8635]: fcntl F_SETOWN: Invalid argument

Now that's with the standard build with a change of pathnames in
src/config/config.sol  The first 2 messages show change of pathnames
clearly has problems but I am still basically getting the same messages
when I try to open the data port.  F_SETOWN is #undef in the standard
solaris setting, so what gives?

Kim


--
+-------------------------+--------------------------------------------+
| Kim Holburn             |  Internet : kim@canberra.edu.au            |
| Computer Centre ISD     |  PGP Public Key :                          |
| University of Canberra  |   finger -l kim@softserver.canberra.edu.au |
| PO Box 1 Belconnen      |  Phone    : (06)201 5512, (06)201 5500     |
| ACT  Australia  2617    |  Fax      : (06)201 5502, (06)201 5501     |
+-------------------------+--------------------------------------------+
|      born again and again and again and again and again buddhist     |
|                      well... in a previous life anyway  :-)          |
+----------------------------------------------------------------------+


From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 17:15: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 #8) id m0vJ8D6-000BIqC; Thu, 31 Oct 96 17:15 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA13364; Thu, 31 Oct 1996 19:15:40 -0600
Received: from atl1.america.net (atl1.america.net [199.170.121.2]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA13154 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 19:09:26 -0600
Received: (from garry@localhost) by atl1.america.net (8.8.2/8.7.3) id UAA11643; Thu, 31 Oct 1996 20:07:38 -0500 (EST)
Message-Id: <Pine.SOL.3.91.961031200353.9228A-100000@atl1>
Date: Thu, 31 Oct 1996 20:07:32 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Garry T. Williams" <garry@america.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: anonymous ls -l
In-Reply-To: <Pine.SUN.3.94.961031165129.224A-100000@panix.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: garry@atl1
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


On Thu, 31 Oct 1996, Jeffrey Auerbach wrote:

> I am setting up an anonymous ftp server for my company.  I have it working
> except for one thing that is bugging me.  WHen I do an ls -l as an
> anonymous user, it lists the owner and group numbers, not their
> corresponding names.  How can I fix this?  WHen i log in as myself i get
> the correct ls -l listing.

You don't have appropriate entries in your ~ftp/etc/passwd file.

> One more thing, I believe that my ftpd is reading the /etc/passwd file
> instead of the ~/ftp/etc/passwd file, how can i change this?

Well it does, except for anonymous users -- they get a chroot to ~ftp so 
that they see the ~ftp/etc/passwd.  

Garry Williams
America Net, Inc.

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 17:42: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 #8) id m0vJ8d9-000Aw8C; Thu, 31 Oct 96 17:42 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id TAA13971; Thu, 31 Oct 1996 19:42:12 -0600
Received: from relay7.UU.NET (relay7.UU.NET [192.48.96.17]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id TAA13880 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 19:39:34 -0600
Received: from ntplx.net by relay7.UU.NET with SMTP 
	(peer crosschecked as: jumbo.ntplx.net [204.213.176.6])
	id QQbnwo16619; Thu, 31 Oct 1996 20:39:33 -0500 (EST)
Received: from tmsdesign.com by ntplx.net (4.1/NETPLEX-2.3.1)
	id AA03417; Thu, 31 Oct 96 20:39:21 EST
Received: from 208.0.200.55 (portable.tmsdesign.com [208.0.200.55]) by tmsdesign.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via SMTP id UAA05294 for <wu-ftpd@mail.wustl.edu>; Thu, 31 Oct 1996 20:39:35 -0500
Message-Id: <327954D5.2675@hubner.com>
Date: Thu, 31 Oct 1996 20:39:51 -0500
Reply-To: karl@hubner.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karl Hubner <karl@hubner.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Permissions
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Macintosh; I; PPC)
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

This is probably way too juvenile but...
I am interested in duplicating the effect of
ftp://ftp.academ.com/pub/wu-ftpd/private/
where someone can get files that they can't list.
I had played with groups and permissions (to no avail) before I set up
"wu",
but now that it's up an running I'm sure it can be done.
Could someone please clue me in?

Thanks

karl@tmsdesign.com

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 19:43: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 #8) id m0vJAVg-000BNTC; Thu, 31 Oct 96 19:43 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id VAA16898; Thu, 31 Oct 1996 21:42:40 -0600
Received: from merlin.ocslink.com (merlin.ocslink.com [206.158.123.190]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAB16822 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 21:39:01 -0600
Received: from merlin.ocslink.com (jvs@merlin.ocslink.com [206.158.123.190]) by merlin.ocslink.com (8.8.2/8.8.2) with SMTP id VAA02788 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 21:41:37 -0600
Message-Id: <Pine.LNX.3.95.961031213720.1970D-100000@merlin.ocslink.com>
Date: Thu, 31 Oct 1996 21:41:37 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James Sneeringer <jvs@ocslink.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: anonymous  ls -l
In-Reply-To: <Pine.SUN.3.94.961031165129.224A-100000@panix.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 31 Oct 1996, Jeffrey Auerbach wrote:
| I am setting up an anonymous ftp server for my company.  I have it working
| except for one thing that is bugging me.  WHen I do an ls -l as an
| anonymous user, it lists the owner and group numbers, not their
| corresponding names.  How can I fix this?  WHen i log in as myself i get
| the correct ls -l listing.

Set up an ~/ftp/etc/passwd with the appropriate user-uid mappings.  The
~ftp/etc directory needs at least execute permisions, and the passwd file
needs read permissions.  You can use your /etc/passwd as a guide, but it's
a bad idea to just copy it straight over; under no circumstances should
the ~ftp/etc/passwd contain the crypt()ed passwords, that's just asking
for trouble.

| One more thing, I believe that my ftpd is reading the /etc/passwd file
| instead of the ~/ftp/etc/passwd file, how can i change this?

If it was reading your /etc/passwd, it probably wouldn't be displaying
uids instead of usernames.  It only reads /etc/passwd for real user
logins, and to see what directory to chroot() to for anonymous users.
(And maybe some other things I'm forgetting, but it does not use it for
user-uid mappings.)

-James

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 19:53: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 #8) id m0vJAfe-000BL9C; Thu, 31 Oct 96 19:53 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id VAA17138; Thu, 31 Oct 1996 21:51:48 -0600
Received: from merlin.ocslink.com (merlin.ocslink.com [206.158.123.190]) by wugate.wustl.edu (8.7.5/8.7.3) with ESMTP id VAA16922 for <wu-ftpd@wugate.wustl.edu>; Thu, 31 Oct 1996 21:43:19 -0600
Received: from merlin.ocslink.com (jvs@merlin.ocslink.com [206.158.123.190]) by merlin.ocslink.com (8.8.2/8.8.2) with SMTP id VAA02806; Thu, 31 Oct 1996 21:45:54 -0600
Message-Id: <Pine.LNX.3.95.961031214346.1970E-100000@merlin.ocslink.com>
Date: Thu, 31 Oct 1996 21:45:54 -0600 (CST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James Sneeringer <jvs@ocslink.com>
To: Karl Hubner <karl@hubner.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Permissions
In-Reply-To: <327954D5.2675@hubner.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN

On Thu, 31 Oct 1996, Karl Hubner wrote:
| This is probably way too juvenile but...
| I am interested in duplicating the effect of
| ftp://ftp.academ.com/pub/wu-ftpd/private/
| where someone can get files that they can't list.

Give it the same permissions as Academ has set; execute, no read, such as: 

  chmod 711 dir       # drwx--x--x

-James

From owner-wu-ftpd@wugate.wustl.edu Thu Oct 31 23:27: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 #8) id m0vJE0v-000BIaC; Thu, 31 Oct 96 23:27 PST
Received: from host (wugate.wustl.edu [128.252.120.1]) by wugate.wustl.edu (8.7.5/8.7.3) with SMTP id BAA22834; Fri, 1 Nov 1996 01:26:47 -0600
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 BAA22720 for <wu-ftpd@wugate.wustl.edu>; Fri, 1 Nov 1996 01:20:47 -0600
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1]) by ns1.fni.com (8.7.6/8.7.3) with SMTP id BAA15620 for <wu-ftpd@mail.wustl.edu>; Fri, 1 Nov 1996 01:20:41 -0600
Message-Id: <Pine.LNX.3.95.961101011943.14888C-100000@ns1.fni.com>
Date: Fri, 1 Nov 1996 01:20:41 -0600 (CST)
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: Permissions
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 7.1 -- ListProcessor by CREN


Make your directory ownership and permissions to something like root.root,
0711. This allows the directory to be accessed by non root users, but they
cannot read the *directory* contents.  Next, make all accessible files in
that directory with something like root.root, 0444.  The directory is then
blinded, but files in the directory are world readable. 

   -- Michael

On Thu, 31 Oct 1996, Karl Hubner wrote:

> This is probably way too juvenile but...
> I am interested in duplicating the effect of
> ftp://ftp.academ.com/pub/wu-ftpd/private/
> where someone can get files that they can't list.
> I had played with groups and permissions (to no avail) before I set up
> "wu",
> but now that it's up an running I'm sure it can be done.
> Could someone please clue me in?

