From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 00:05:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA07958;
	Sat, 31 May 1997 23:57:29 -0500 (CDT)
Received: from inetsrv.wtrt.net (inetsrv.wtrt.net [205.231.181.67])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA06338
	for <wu-ftpd@wugate.wustl.edu>; Sat, 31 May 1997 23:51:37 -0500 (CDT)
Received: from allenh (ppp27.wtrt.net [205.231.181.97]) by inetsrv.wtrt.net (8.8.3/8.8.3) with SMTP id XAA11382 for <wu-ftpd@wugate.wustl.edu>; Sat, 31 May 1997 23:53:56 -0500 (CDT)
Message-Id: <3.0.1.32.19970531234859.0078b478@wtrt.net>
Date: Sat, 31 May 1997 23:48:59 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Allen Hyer <allenh@wtrt.net>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd, Solaris, and chroot
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: allenh@wtrt.net
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,
  I am in need of a little advice/help.  I presently run a web server on
FreeBSD, and allow my customers to ftp their pages.  We use wuftpd on this
machine.  We put these accounts in the same group, then make that group
guestgroup.  wuftpd chroot's their home directory.  We put /bin/ls in their
home directory, and all works well.

  Now, I am changing this machine to an UltraSPARC running Solaris 2.5.1.
I have wuftpd up and running, and have the same functionality from above
working.  Here's the problem.  For all to work well, I had to put almost
2mb worth of library and data files under the home directory for ls to
function.  I have 400 accounts to transfer to this machine.  Do I really
have to "waste" 800mb of disk space just to set this up?

  I am hoping there is a better way.  I read in the faq about statically
linking ls, but the faq points to another faq for how to do this on
Solaris.  I went to the second faq, but got lost pretty quick.  Anyone have
a good solution?

Thanks for any help,

Allen Hyer
System Administrator
West Texas Rural Telephone

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 06:58:02 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA10929;
	Sun, 1 Jun 1997 06:53:14 -0500 (CDT)
Received: from dns.whnet.edu.cn (dns.whnet.edu.cn [202.112.20.131])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA11675
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 06:44:32 -0500 (CDT)
Received: from nudt.edu.cn ([202.197.0.180]) by dns.whnet.edu.cn (5.x/SMI-SVR4)
	id AA03884; Sun, 1 Jun 1997 20:41:52 +0900
Received: from cheetah.ml.org by nudt.edu.cn (SMI-8.6/SMI-SVR4)
	id UAA03969; Sun, 1 Jun 1997 20:38:31 +0900
Received: from localhost (wensong@localhost) by cheetah.ml.org (8.8.3/8.7.3) with SMTP id TAA01878 for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 19:39:07 +0800
Message-Id: <Pine.LNX.3.95.970601190829.1808A-100000@cheetah.ml.org>
Date: Sun, 1 Jun 1997 19:39:06 +0800 (HKT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Wensong Zhang <wensong@cheetah.ml.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Anonymous user messages
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


First, thanks a lot for help i received from this list. I made a virtual
file system and a static-linked ls on Solaris 2.5.1 just according to your
instructions, and make wu-ftpd work. But, I got a problem that Anonymous
user message doesn't work.

While installing wu-ftpd, i did the following steps:
e5000% gzip -dc wu-ftpd-2.4.2-beta-13.tar.gz | tar xf -
e5000% cd wu-ftpd-2.4.2-beta-13
e5000% build sol CC=gcc

# build install

Then copied all the configuration files to /etc directory, the ckconfig
was run to check those files, the result was is as follows:

e5000% bin/ckconfig
Checking _PATH_FTPUSERS :: /etc/ftpusers
ok.

Checking _PATH_FTPACCESS :: /etc/ftpaccess
ok.

Checking _PATH_PIDNAMES :: /var/tmp/ftp.pids-%s
ok.

Checking _PATH_CVT :: /etc/ftpconversions
ok.

Checking _PATH_XFERLOG :: /var/adm/xferlog
I can't find it... 
Don't worry, it will be created automatically by the
server if you do transfer logging.

Checking _PATH_PRIVATE :: /etc/ftpgroups
ok.

Checking _PATH_FTPHOSTS :: /etc/ftphosts
ok.


It just doesn't display ~ftp/welcome.msg to anonymous user, .message files
are not displayed while changing directories. I don't know why.

By the way, I replaced wu-2.4(1) ftpd with wu-ftpd-2.4.2-beta-13 on my
Linux box (a small ftp server with 3G HD), I mean just the new ftpd was
copied to /usr/sbin/wu.ftpd, anonymous user message doesn't work either.
But the origional one works fine, when the old ftpd is copied to
/usr/sbin/wu.ftpd, anonymous user message works again. So, is there any
compiling option that makes anonymous user message work? I've read all
documents with wu-ftpd-2.4.2-beta-13 but find nothing with that compiling
option. Any idea?

Thanks a lot,
Wensong




From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 08:10:45 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA18915;
	Sun, 1 Jun 1997 08:05:55 -0500 (CDT)
Received: from pizza.hvu.nl (koos@Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA13239
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 08:03:05 -0500 (CDT)
Received: (from koos@localhost) by pizza.hvu.nl (8.8.3/KH19961213 [Fight Spam]) id PAA27393 for wu-ftpd@wugate.wustl.edu; Sun, 1 Jun 1997 15:03:02 +0200 (MET DST)
Message-Id: <199706011303.PAA27393@pizza.hvu.nl>
Date: Sun, 1 Jun 1997 15:03:02 +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: 8.0 -- ListProcessor(tm) by CREN

* Contents of the FAQ file for wu-ftpd. The complete file can be found at
http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
Or, send mail to wu-ftpd-faq@pizza.hvu.nl with as subject "send faq"
(without the quotes, body ignored).

THE_URL:file://localhost/home/staff/koos/wu-ftpd-faq/wu-ftpd-faq.contents.html
    1. Contents of this FAQ
         1. Contents of this FAQ
         2. What is this document
         3. 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 ?
         4. Where do I get the wu-ftpd ?
              1. Where do I get the updated version ?
         5. 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. It doesn't compile at all on newer Linux installs. The
                 error is :
              5. I need to use S/KEY authorisation
              6. I need to authenticate real users via AFS
              7. The timezone in the xferlog is wrong
              8. The timezone in the ls output is wrong
              9. Digital Unix doesn't log commands after an anonymous
                 user logs in
             10. install fails with 'install: ..'
             11. Digital Unix (The Unix Formerly Known As OSF/1) and
                 Enhanced C2 security,
             12. It doesn't compile at all on Digital Unix, errors about
                 struct timeval
             13. What should I do to be able to use wu-ftpd in a HP-UX
                 10.01
         6. Installing the wu-ftpd
              1. Command-line options for wu-ftpd
              2. Testing on a different port number then ftp
         7. 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"
         8. 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. Building a statically linked ls for Solaris fails
              3. Linux
              4. Dec OSF
              5. SunOS4.1.x
              6. AIX
              7. IRIX (6.2)
              8. It worked, until I upgraded the operating system.
         9. 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. On-the-fly compression works, on-the-fly tarring, but
                 not both.
              5. I want to use zip compression (InfoZip)
              6. I want a real user to be able to access the host only
                 via ftp, not via telnet
              7. Somebody uploaded a file with a weird name
              8. I want anonymous users to be able to upload files, but
                 in the most secure manner possible
              9. The default umask used when a real user uploads a file
                 is wrong
             10. I heard something about 'SITE EXEC' having a security
                 hole
             11. How do I make reports more readable ?
             12. Incoming file transfers fail with SunOS and an NFS
                 mounted incoming
             13. Normal ftp clients work, Netscape ftp's fail. So,
                 passive mode doesn't work.
             14. I want to redirect anonymous users to another machine
        10. Other things
              1. Where is the FTP protocol documented ?
              2. How can I make my ftp-archive accessible by E-mail
                 (ftpmail) ?
        11. Credits

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


From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 11:37:53 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA01617;
	Sun, 1 Jun 1997 11:33:01 -0500 (CDT)
Received: from mailsrv1.pcy.mci.net (mailsrv1.pcy.mci.net [204.71.0.43])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA23446
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 11:28:37 -0500 (CDT)
Received: from seera.hn.pl.cp (usr2-dialup17.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10044)
 id <01IJK3VA8TKG96W7LF@MAIL-CLUSTER.PCY.MCI.NET> for wu-ftpd@wugate.wustl.edu;
 Sun, 1 Jun 1997 12:27:09 EDT
Received: from seera.hn.pl.cp (usr2-dialup17.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10044)
 with SMTP id <01IJK3U60XGK96W4TE@MAIL-CLUSTER.PCY.MCI.NET> for
 wu-ftpd@wugate.wustl.edu; Sun, 01 Jun 1997 12:26:13 -0400 (EDT)
Message-Id: <3391A292.41C67EA6@MCI2000.com>
Date: Sun, 01 Jun 1997 09:25:54 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Riats <foobar@mci2000.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Anonymous user messages
References: <Pine.LNX.3.95.970601190829.1808A-100000@cheetah.ml.org>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Sender: stair@MAIL-CLUSTER.PCY.MCI.NET
X-Mailer: Mozilla 3.01Gold (X11; U; FreeBSD 3.0-CURRENT i386)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Did you give an -a option upon invocation of wu-ftpd (from
inetd.conf)?  If you upgraded your ftpd from an earlier version, 
possibly non-academ, then this should be the problem.  -a option
makes wu-ftpd to read ftpaccess configuration file.  Academ 13
version has the default of -A, that is, ftpaccess is not read
automatically.

And make sure that if ~ftp/welcome.msg is a symbolic link it is
a relative link pointing something in the same chroot()'ed space.

I hope this helps.

Regards,
--
Stair

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Kim, Minsung (Stair in Cyberland)      <mailto:stair@MCI2000.com>

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 13:12:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA08760;
	Sun, 1 Jun 1997 13:09:56 -0500 (CDT)
Received: from library.ucsf.edu (apollo.ckm.ucsf.edu [128.218.33.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA06318
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 13:08:54 -0500 (CDT)
Received: from library.ucsf.edu (helios [128.218.33.50]) by library.ucsf.edu (8.8.4/8.7.3) with ESMTP id LAA27400 for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 11:08:27 -0700 (PDT)
Message-Id: <199706011808.LAA27400@library.ucsf.edu>
Date: Sun, 01 Jun 1997 11:04:52 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rasana Atreya <atreya@library.ucsf.edu>
To: wu-ftpd@wugate.wustl.edu
In-Reply-To: Your message of "Fri, 30 May 1997 18:05:28 PDT."
             <Pine.SUN.3.95.970530180259.4808W-100000@helmholtz> 
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

It is in there (maybe the permissions are setup so you cannot see it?). Just
go a get.

Rasana

> 
> hello,
> 
> i would like to install the latest version of wu-ftpd (presumeabley
> wu-ftpd-2.4.2-beta-13.tar.Z). a CERT message
> directed me to the following ftp location, but no files appear in this
> directory. can someone give me some pointers as to where i can find it?
> 
> ftp://ftp.academ.com/pub/wu-ftpd/private/
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Rasana Atreya                                     Voice:  (415) 476-3623  ~
~ System Administrator                              Fax:    (415) 476-4653  ~
~ Library & Ctr for Knowledge Mgnt, Univ. of California at San Francisco    ~
~ 530 Parnassus Ave, Box 0840, San Francisco, CA  94143-0840                ~
~ atreya@library.ucsf.edu                                                   ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 14:06:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA10594;
	Sun, 1 Jun 1997 14:04:08 -0500 (CDT)
Received: from gw.netcentre.com.sg ([203.116.43.125])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA03940
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 13:57:58 -0500 (CDT)
Received: from kenny ([10.1.1.101]) by gw.netcentre.com.sg (8.6.12/8.6.12) with SMTP id DAA08426; Mon, 2 Jun 1997 03:04:27 +0800
Message-Id: <33927D0A.5E1C@netcentre.com.sg>
Date: Mon, 02 Jun 1997 03:58:02 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kenny <kennyann@netcentre.com.sg>
To: wu-ftpd@wugate.wustl.edu
Cc: kennyann@netcentre.com.sg
Subject: sub-login in Solaris 2.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi,

i'm trying to configure sub-login in a solaris 2.5.1 system.

i recompiled source to get rid of the "can't change user in guest
login". however, the next problem i encountered on sub-login after a ftp
login is : "530 User kenny access denied". (i login as ftp and use :
"user kenny password xxxx)

i've config ~ftp/etc/passwd as
kenny:x:65535:1::/usr/local/www/ftp/./kenny:/usr/bin/false

and ftpaccess with
class local real,guest,anonymous  *
class guests guest *                                                    
class anonymouses anonymous *             

i'm missing something here?
thanks. :>

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun  1 16:07:43 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA14941;
	Sun, 1 Jun 1997 16:05:23 -0500 (CDT)
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA13551
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 16:02:04 -0500 (CDT)
Received: from lectura.CS.Arizona.EDU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA08783; Sun, 1 Jun 1997 14:02:02 MST
Received: from localhost (jdavis@localhost) by lectura.CS.Arizona.EDU (8.8.4/8.7.3) with SMTP id OAA20044 for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Jun 1997 14:02:01 -0700 (MST)
Message-Id: <Pine.SOL.3.95.970601135906.19825A-100000@lectura.CS.Arizona.EDU>
Date: Sun, 1 Jun 1997 14:02:00 -0700 (MST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Davis <jdavis@cs.arizona.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: sub-login in Solaris 2.5.1
In-Reply-To: <33927D0A.5E1C@netcentre.com.sg>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: lectura.CS.Arizona.EDU: jdavis owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 2 Jun 1997, Kenny wrote:

> i'm trying to configure sub-login in a solaris 2.5.1 system.

Hmm.  Aren't there security problems with sublogins? 

But if you're determined to use that 'feature', then check /etc/nscd.conf
and make sure you aren't caching passwords. 


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 11:53:34 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA29091;
	Mon, 2 Jun 1997 11:44:44 -0500 (CDT)
Received: from ozone.fmi.fi (ozone.fmi.fi [193.166.223.16])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA21334
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 11:34:25 -0500 (CDT)
Received: (from hurtta@localhost)
	by ozone.fmi.fi (8.8.6.Beta4(patch#1)/8.8.6.Beta3/test/1997-05-20) id TAA19416;
	Mon, 2 Jun 1997 19:34:12 +0300 (EDT)
Message-Id: <199706021634.TAA19416@ozone.fmi.fi>
Date: Mon, 2 Jun 1997 19:34:12 +0300 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Kari E. Hurtta" <Kari.Hurtta@ozone.fmi.fi>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd, Solaris, and chroot
In-Reply-To: <3.0.1.32.19970531234859.0078b478@wtrt.net> from Allen Hyer at "May 31, 97 11:48:59 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL32 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Allen Hyer:
> Hello,
>   I am in need of a little advice/help.  I presently run a web server on
> FreeBSD, and allow my customers to ftp their pages.  We use wuftpd on this
> machine.  We put these accounts in the same group, then make that group
> guestgroup.  wuftpd chroot's their home directory.  We put /bin/ls in their
> home directory, and all works well.
> 
>   Now, I am changing this machine to an UltraSPARC running Solaris 2.5.1.
> I have wuftpd up and running, and have the same functionality from above
> working.  Here's the problem.  For all to work well, I had to put almost
> 2mb worth of library and data files under the home directory for ls to
> function.  I have 400 accounts to transfer to this machine.  Do I really
> have to "waste" 800mb of disk space just to set this up?

Why waste? You need that many library and data files than you have 
partitions where you put these home directories. Same file can
be several names in unixes. Just create several names (links). Just
don't create soft links.


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 15:00:55 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA11378;
	Mon, 2 Jun 1997 14:55:29 -0500 (CDT)
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA10308
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 14:47:19 -0500 (CDT)
Received: from eel (eel.ucsd.edu [132.239.16.13]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id MAA26492 for <@ucsd.edu:wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 12:47:17 -0700 (PDT)
Received: by eel (950413.SGI.8.6.12/940406.SGI)
	for wu-ftpd@wugate.wustl.edu id MAA21192; Mon, 2 Jun 1997 12:47:15 -0700
Message-Id: <9706021247.ZM21191@eel.ucsd.edu>
Date: Mon, 2 Jun 1997 12:47:14 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mona Wong" <mona@eel.ucsd.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP password cracking
In-Reply-To: Kent Landfield <kent@landfield.com>
        "Re: FTP password cracking" (May 30, 12:17pm)
References: <199705301717.MAA01909@landfield.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> # But with Beta 11 version at least (and I strongly suspect all versions) if
you
> # enter a "garbage" user name you get the following response:
> #
> # 530 User garbage access denied....
> # Login failed.
>
> I tried that with the Beta-13 version I run and did not get the same results.
> It was asking for a password every time.

	Hmm, I have Beta-13 and it didn't ask for password when I entered an
invalid account:

Name (alex.ucsd.edu:mona): garbage
530 User garbage access denied....
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

Mona


-- 
===============================================================
Mona Wong, Programmer & Web Administrator
National Center for Microscopy and Imaging Research
University of California, San Diego
http://www-ncmir.ucsd.edu
===============================================================


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 15:14:50 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA12501;
	Mon, 2 Jun 1997 15:09:57 -0500 (CDT)
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA11566
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 14:57:19 -0500 (CDT)
Received: from eel (eel.ucsd.edu [132.239.16.13]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id MAA26966; Mon, 2 Jun 1997 12:55:26 -0700 (PDT)
Received: by eel (950413.SGI.8.6.12/940406.SGI)
	 id MAA21212; Mon, 2 Jun 1997 12:55:11 -0700
Message-Id: <9706021255.ZM21211@eel.ucsd.edu>
Date: Mon, 2 Jun 1997 12:55:10 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mona Wong" <mona@eel.ucsd.edu>
To: wu-ftpd@wugate.wustl.edu, jyang@cp10.es.xerox.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On May 30, 10:42am, joseph yang wrote:

> I'm trying the same, but further down the compile, I am getting
>
> gcc -g -I.. -I../support -L../support   -c ftpcmd.c
> ftpcmd.y: In function `print_groups':
> ftpcmd.y:1612: `NGROUPS_MAX' undeclared (first use this function)
> ftpcmd.y:1612: (Each undeclared identifier is reported only once
> ftpcmd.y:1612: for each function it appears in.)
> make: *** [ftpcmd.o] Error 1
>
> Should I just be defining this myself?  If so, what value should it be?

	I didn't get this error on SunOS 4.1.4.  I did a grep and found
NGROUPS_MAX in /usr/include/limits.h and it is defined as 16.

Mona


-- 
===============================================================
Mona Wong, Programmer & Web Administrator
National Center for Microscopy and Imaging Research
University of California, San Diego
http://www-ncmir.ucsd.edu
===============================================================


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 15:21:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA12907;
	Mon, 2 Jun 1997 15:15:59 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA12770
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 15:14:26 -0500 (CDT)
Message-Id: <199706022015.PAA12285@landfield.com>
Date: Mon, 2 Jun 1997 15:15:01 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP password cracking
In-Reply-To: <9706021247.ZM21191@eel.ucsd.edu> from "Mona Wong" at Jun 2, 97 12:47:14 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

# > # But with Beta 11 version at least (and I strongly suspect all versions) if
# you
# > # enter a "garbage" user name you get the following response:
# > #
# > # 530 User garbage access denied....
# > # Login failed.
# >
# > I tried that with the Beta-13 version I run and did not get the same results.
# > It was asking for a password every time.
# 
# 	Hmm, I have Beta-13 and it didn't ask for password when I entered an
# invalid account:
# 
# Name (alex.ucsd.edu:mona): garbage
# 530 User garbage access denied....
# Login failed.
# Remote system type is UNIX.
# Using binary mode to transfer files.

This must be a compiled features or configuration "thing".

220 rkive FTP server (Version wu-2.4.2-academ[BETA-13](1) Thu May 15 12:05:17 CDT 1997) ready.
Name (ftp.landfield.com:kent): garbage
331 Password required for garbage.
Password:
530 Login incorrect.
Login failed.
ftp> 

There is no 'garbage' user account here.  I'd really like to see what the
differences are...  Are you using the HOST_ACCESS code ? ANON_ONLY code ?
What systems are you running this on ? If you would not mind sending me
your config.h I'd be willing to investigate this tonight.  Bottom line
is that this is not desirable behavior. 

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 16:45:30 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA18533;
	Mon, 2 Jun 1997 16:40:04 -0500 (CDT)
Received: from penguin.nemi.org (root@[205.230.31.209])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA18293
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 16:35:50 -0500 (CDT)
Received: from [205.230.31.200] ([205.230.31.200]) by penguin.nemi.org (8.6.12/8.6.9) with ESMTP id RAA00532 for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 17:36:30 -0400
Message-Id: <v0302090aafb8d8993e7a@[205.230.31.200]>
Date: Mon, 2 Jun 1997 17:39:59 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Rouleau <drouleau@nemi.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Guest access creating "static"...
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

LINUX 20.0.27
wuftp 2.4(1)

ls does not work for guests (you can the files, you just can't see them).

2) I keep reading Linux does not need the ~/lib dir if utils in ~/bin are
"dynamically linked" (linked? loaded? linked? ... will someone please make
up their mind!).

2) Then, I read "use statically linked copies if all possible..."  (also
for Linux?  Does this mean I have to recompile ls to "link statically?")

I'm _guessing_ 1 and/or 2 is the reason ls won't work because the
permissions and everything else looks right.

Will someone please tell me what I'm doing wrong.  I have not delved into
links and shell progs yet... right now I just need to get this guest site
runnng.

Examples would be most welcome.

Thanks in advance,
David Rouleau



From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 17:02:47 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA19808;
	Mon, 2 Jun 1997 16:57:56 -0500 (CDT)
Received: from erinet.com (eri.erinet.com [207.0.229.18])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id QAA19604
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 16:54:48 -0500 (CDT)
Received: from eri.erinet.com (console.erinet.com [207.0.229.28]) by erinet.com (8.8.5/8.8.0) with ESMTP id RAA27235 for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 17:54:00 -0400 (EDT)
Received: (from timothy@localhost) by eri.erinet.com (8.8.5/8.8.0) id RAA09349 for wu-ftpd@wugate.wustl.edu; Mon, 2 Jun 1997 17:51:27 -0400 (EDT)
Message-Id: <199706022151.RAA09349@eri.erinet.com>
Date: Mon, 2 Jun 1997 17:51:26 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tim Finkenstadt <timothy@erinet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Restricting real users access
Content-Type: text
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Good afternoon,

I know that I can restrict guest users to a specific part of my directory
tree.  What I would like to do is restrict 'real' users to their own
file areas without access to any of the system files (/etc, /usr, etc).

Is there a way to do this easily?  There will be no anonymous user on this
particular server.

All help is appreciated.

TIA,

tim

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 17:14:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA20498;
	Mon, 2 Jun 1997 17:09:56 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA20412
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 17:09:11 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id RAA26519
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 17:09:15 -0500
Message-Id: <Pine.LNX.3.95.970602170520.25643A-100000@ns1.fni.com>
Date: Mon, 2 Jun 1997 17:09:14 -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 access creating "static"...
In-Reply-To: <v0302090aafb8d8993e7a@[205.230.31.200]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 2 Jun 1997, David Rouleau wrote:

> ls does not work for guests (you can the files, you just can't see them).
> 
> 2) I keep reading Linux does not need the ~/lib dir if utils in ~/bin are
> "dynamically linked" (linked? loaded? linked? ... will someone please make
> up their mind!).

Linux DOES need ~lib if the utilities are dynamically linked, does not
need it if statically linked. 

> 2) Then, I read "use statically linked copies if all possible..."  (also
> for Linux?  Does this mean I have to recompile ls to "link statically?")

No, but you have to be consistent one way or the other. Run the following:

ldd ls

If it says that it is statically linked, you are in good shape.  If not,
you will have to put a copy (or a link to a copy) of each library that ldd
mentions in the ~/lib directory. 

   -- Michael


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  2 17:21:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA20938;
	Mon, 2 Jun 1997 17:16:15 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA20587
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Jun 1997 17:11:24 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id RAA26562;
	Mon, 2 Jun 1997 17:11:26 -0500
Message-Id: <Pine.LNX.3.95.970602171056.25643B-100000@ns1.fni.com>
Date: Mon, 2 Jun 1997 17:11:26 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Tim Finkenstadt <timothy@erinet.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Restricting real users access
In-Reply-To: <199706022151.RAA09349@eri.erinet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


You just described guest users.

   -- Michael

On Mon, 2 Jun 1997, Tim Finkenstadt wrote:

> What I would like to do is restrict 'real' users to their own file areas
> without access to any of the system files (/etc, /usr, etc). 


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 03:14:16 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id DAA19816;
	Tue, 3 Jun 1997 03:09:27 -0500 (CDT)
Received: from alpha.logic.tuwien.ac.at (alpha.logic.tuwien.ac.at [128.130.175.20])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id CAA19308
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 02:59:06 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1]) by alpha.logic.tuwien.ac.at (8.8.3/8.8.3) with SMTP id JAA29291 for wu-ftpd@wugate.wustl.edu; Tue, 3 Jun 1997 09:58:34 +0200 (MET DST)
Message-Id: <199706030758.JAA29291@alpha.logic.tuwien.ac.at>
Date: Tue, 03 Jun 97 09:58:34 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gernot Salzer <salzer@logic.tuwien.ac.at>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd beta 12 and Digital Unix 4.0a
X-Mts: smtp
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Dear all,

I suppose this is a FAQ, so probably giving me the pointer to the FAQs is enough.

I'm trying to compile wu-ftpd beta 12 on Digital Unix 4.0a (formerly OSF/1).
After typing
   build osf
the support library seems to be built ok; but then I get:

> Making ftpd.
> cc -O -DDEBUG -I.. -I../support -Olimit 1000 -L../support -s -x -c ftpd.c
> cc: Error: ftpd.c, line 2271: In this declaration, "timeout" has no linkage 
>     and is of an incomplete type.
>         struct timeval timeout;
> -----------------------^
> *** Exit 1
> Stop.

Thanks for any hints,
   Gernot

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 08:11:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA29437;
	Tue, 3 Jun 1997 08:04:26 -0500 (CDT)
Received: from ds5200.sistecol.com (ds5200.sistecol.com [200.9.31.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA29107
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 07:57:27 -0500 (CDT)
Received: (from oscarb@localhost) by ds5200.sistecol.com (8.6.12/8.6.12) id IAA01364 for wu-ftpd@wugate.wustl.edu; Tue, 3 Jun 1997 08:05:32 -0500
Message-Id: <199706031305.IAA01364@ds5200.sistecol.com>
Date: Tue, 3 Jun 1997 08:05:31 -0500 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Oscar J. Bolivar G." <oscarb@ds5200.sistecol.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd beta 12 and Digital Unix 4.0a
In-Reply-To: <199706030758.JAA29291@alpha.logic.tuwien.ac.at> from "Gernot Salzer" at Jun 3, 97 09:58:34 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello:
> 
> 
> Dear all,
> 
> I suppose this is a FAQ, so probably giving me the pointer to the FAQs is enough.
> 
> I'm trying to compile wu-ftpd beta 12 on Digital Unix 4.0a (formerly OSF/1).
> After typing
>    build osf


This is the error..... now, in Digital unix, you can build the configuration 
files with the command:

build dec

> Thanks for any hints,
>    Gernot
> 

Oscar j, Bolivar G.
STA- Colombia


oscarb@mail.sistecol.com

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 09:01:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA04171;
	Tue, 3 Jun 1997 08:54:53 -0500 (CDT)
Received: from kcgw1.att.com (kcgw1.att.com [192.128.133.151])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA03629
	for <wu-ftpd@mail.wustl.edu>; Tue, 3 Jun 1997 08:47:27 -0500 (CDT)
Received: from lynxhub.ho.att.com by kcig1.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id IAA09613; Tue, 3 Jun 1997 08:39:30 -0500
Received: by lynxhub.ho.att.com (5.x/EMS-1.2 sol2)
	id AA18529; Tue, 3 Jun 1997 09:45:20 -0400
Message-Id: <9706031345.AA18529@lynxhub.ho.att.com>
Date: Tue, 3 Jun 1997 09:45:20 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dougc@lynxhub.ho.att.com
To: wu-ftpd@wugate.wustl.edu (ftp archive)
Subject: Recent CERT advisory
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: 8.0 -- ListProcessor(tm) by CREN

Folks,
The recent CERT advisory talked about a hole in the signal handling
of wuftpd. The upgrade path is to go to the latest BETA. I am using
the standard 2.4 and have made changes that make it difficult to
upgrade quickly. So my question is, is the fix for the CERT advisory
the small patch that was discussed some time ago about setting a
certain flag in the do_? routine ( I don't have the details at my
fingertips) or is the fix a much more involved one? Would someone be
able to give me a rough outline of the fix?

Thanks in advance

Doug

-- 
Doug Courtney
dougc@lynxhub.ho.att.com
(908)949-3597

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 09:14:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA05017;
	Tue, 3 Jun 1997 09:07:50 -0500 (CDT)
Received: from alpha.logic.tuwien.ac.at (alpha.logic.tuwien.ac.at [128.130.175.20])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA03786
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 08:49:28 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1]) by alpha.logic.tuwien.ac.at (8.8.3/8.8.3) with SMTP id PAA16790 for wu-ftpd@wugate.wustl.edu; Tue, 3 Jun 1997 15:49:19 +0200 (MET DST)
Message-Id: <199706031349.PAA16790@alpha.logic.tuwien.ac.at>
Date: Tue, 03 Jun 97 15:49:19 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gernot Salzer <salzer@logic.tuwien.ac.at>
To: wu-ftpd@wugate.wustl.edu
Subject: (SUMMARY) Building wu-ftpd beta 12 and Digital Unix 4.0a 
In-Reply-To: Your message of Tue, 3 Jun 1997 08:05:31 -0500 (EST) 
X-Mts: smtp
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Thanks to
"Oscar J. Bolivar G." <oscarb@ds5200.sistecol.com>
for his fast response which solved my problem.
As he pointed out, the right way of building wu-ftp under Digital Unix
is to use "build dec" instead of "build osf".

One additional note: Under DU 4.0a and 4.0b the compilation still yields an
error ("acl.h included by /usr/include/prot.h cannot be found"), which is a
known problem under these DU versions. It can be patched by creating the link
   ln -s sys/acl.h /usr/include/acl.h

Thanks once again,
   Gernot

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 09:28:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA05649;
	Tue, 3 Jun 1997 09:16:41 -0500 (CDT)
Received: from gate.teledata.co.uk (root@gate-isdn.teledata.co.uk [194.152.83.193])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id JAA05247
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 09:10:32 -0500 (CDT)
Received: from markh.teledata.co.uk(really [193.114.49.208]) by gate.teledata.co.uk
	via rsmtp with esmtp
	id <m0wYuIB-000LCcC@gate.teledata.co.uk>
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 97 15:10:31 +0100 (BST)
	(/\##/\ Smail3.1.30.13 #30.13 built 31-aug-95)
Message-Id: <339424ED.A2427D9D@prestel.net>
Date: Tue, 03 Jun 1997 15:06:38 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: webadmin <webadmin@prestel.net>
To: wu-ftpd@wugate.wustl.edu
Subject: unsubscribe
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0b3 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi

How do I unsubscribe from this list

Iqbal

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 10:01:03 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA07826;
	Tue, 3 Jun 1997 09:52:59 -0500 (CDT)
Received: from mpcalias.demon.co.uk (mpcalias.demon.co.uk [158.152.42.54])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA07459
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 09:48:34 -0500 (CDT)
Received: from kettle by mpcalias.demon.co.uk via ESMTP (940816.SGI.8.6.9/940406.SGI)
	for <@morley:wu-ftpd@wugate.wustl.edu> id PAA24260; Tue, 3 Jun 1997 15:09:19 +0100
Received: from kettle by kettle via SMTP (950413.SGI.8.6.12/930416.SGI)
	for <wu-ftpd@wugate.wustl.edu> id OAA12993; Tue, 3 Jun 1997 14:59:26 +0100
Message-Id: <3394233E.41C6@moving-picture.co.uk>
Date: Tue, 03 Jun 1997 14:59:26 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve MacPherson <steve-mac@moving-picture.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: SGI Irix compile
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: steve@moving-picture.co.uk
X-Mailer: Mozilla 3.01SGoldC-SGI (X11; I; IRIX 6.3 IP32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Anybody running wu-ftpd-2.4 under Irix 6.2?

I noticed that the last supported SGI version is 4.0.5a (Yowch!) and
must admit that I have not dived into the source...and am hoping that I
won't have to!

Any help would be greatly appreciated!
-steve
-- 


Steve MacPherson
The Moving Picture Company
25 Noel Street
London W1V 3RD
Tel:	+44 (0) 171 434-3100
Fax:	+44 (0) 171 494-7913
mailto:steve-mac@moving-picture.co.uk
http://www.moving-picture.co.uk

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 10:29:58 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA10415;
	Tue, 3 Jun 1997 10:23:28 -0500 (CDT)
Received: from zaz.kom.auc.dk (root@zaz.kom.auc.dk [130.225.51.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA10272
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 10:21:06 -0500 (CDT)
Received: from yugo.kom.auc.dk (yugo.kom.auc.dk [130.225.51.12]) by zaz.kom.auc.dk (8.7.6/8.7.3) with ESMTP id RAA05445; Tue, 3 Jun 1997 17:21:01 +0200 (MET DST)
Received: (from karthy@localhost) by yugo.kom.auc.dk (8.7.6/8.7.3) id RAA00935; Tue, 3 Jun 1997 17:20:59 +0200 (MET DST)
Message-Id: <199706031520.RAA00935@yugo.kom.auc.dk>
Date: Tue, 3 Jun 1997 17:20:59 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karsten Thygesen <karthy@kom.auc.dk>
To: wu-ftpd@wugate.wustl.edu
Subject: Guest write permissions in sub-dir
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi

After upgrading to beta-13 (from beta-10) in Solaris-2.5.1, I'm
struggling with a strange problem. My guest accounts can write in their
home-directories, but not in any subdirectories. They get permissions
denied (upload) or something similar.

Is this a new feature and how can I then make i possible for them to
maintain subdirectories within their own home-directory?

Best,
Karsten

-- 
M.Sc.E.E, Sys/Net-administrator, BOFH, Aalborg University, Denmark
http://www.kom.auc.dk/~karthy/ for more information.
SunSITE Denmark Manager (http://sunsite.auc.dk/)

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 10:42:26 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA11406;
	Tue, 3 Jun 1997 10:35:38 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA11227
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 10:33:34 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id KAA09858;
	Tue, 3 Jun 1997 10:33:19 -0500
Message-Id: <Pine.LNX.3.95.970603102941.8405H-100000@ns1.fni.com>
Date: Tue, 3 Jun 1997 10:33:19 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Karsten Thygesen <karthy@kom.auc.dk>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest write permissions in sub-dir
In-Reply-To: <199706031520.RAA00935@yugo.kom.auc.dk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 3 Jun 1997, Karsten Thygesen wrote:

> After upgrading to beta-13 (from beta-10) in Solaris-2.5.1, I'm
> struggling with a strange problem. My guest accounts can write in their
> home-directories, but not in any subdirectories. They get permissions
> denied (upload) or something similar.

I'm having no trouble here with this.  A couple of questions:

Do they actually own/have write permissions to the directory?  From your
.sig (Sunsite manager for .dk) I fully expect you have checked all this
out pretty thoroughly. :) 

Do you have any controls in /etc/ftpaccess that block the write?  upload
directives?  overwrite (a compilation option also)?  ???

   -- Michael


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 10:48:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA11954;
	Tue, 3 Jun 1997 10:41:35 -0500 (CDT)
Received: from star.win.or.jp (star.win.or.jp [202.26.20.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA11757
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 10:38:09 -0500 (CDT)
Received: (from ayamura@localhost) by star.win.or.jp (8.8.6.Beta4/8.8.6.Beta4) id AAA29261; Wed, 4 Jun 1997 00:38:07 +0900 (JST)
Message-Id: <199706031538.AAA29261@star.win.or.jp>
Date: Wed, 04 Jun 1997 00:30:03 +0900
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ayamura Kikuchi <ayamura@ayamura.tama.or.jp>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SGI Irix compile
In-Reply-To: Your message of "Tue, 03 Jun 1997 14:59:26 +0100"
References: <3394233E.41C6@moving-picture.co.uk>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: ayamura@ayamura.win.or.jp
X-MH-BIFF: Version: mh-biff.el version 0.96.1
X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3
X-PGP-Public-Key: http://www.ayamura.win.or.jp/pgp-public-key.asc
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

From: Steve MacPherson <steve-mac@moving-picture.co.uk>
Subject: SGI Irix compile
Date: Tue, 03 Jun 1997 14:59:26 +0100
Message-ID: <3394233E.41C6@moving-picture.co.uk>

> Anybody running wu-ftpd-2.4 under Irix 6.2?
> 
> I noticed that the last supported SGI version is 4.0.5a (Yowch!) and
> must admit that I have not dived into the source...and am hoping that I
> won't have to!

.Get and try ``wu-ftpd-2.4.2-beta-13'' package.
	ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-13.tar.Z

On wu-ftpd-2.4 not academ-beta version, add -DNCARGS=2048 to CFLAGS.
% systune | grep ncargs
        ncargs = 20480 (0x5000)

--
Ayamura Kikuchi (Dept., of Medicine, Keio Univ., Japan)

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 11:32:24 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA15428;
	Tue, 3 Jun 1997 11:25:21 -0500 (CDT)
Received: from sbcomp.com ([207.150.14.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA14960
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 11:21:18 -0500 (CDT)
Received: from skb (rockford04.inwave.com [206.190.10.104])
          by sbcomp.com (8.8.4/8.8.4) with SMTP
	  id LAA09487 for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 11:21:21 -0500 (CDT)
Message-Id: <3.0.1.32.19970603112032.006eb70c@sbcomp.net>
Date: Tue, 03 Jun 1997 11:20:32 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Steven K. Buehler" <skb@sbcomp.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Bug???
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: skb@sbcomp.net
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

wu-ftpd-2.4.2-beta-13
SunOS 5.5 (Solaris 2.5)
Pentium Pro 150

I think that I might have found a bug.  One of my customers noticed it.  Anyway, when a file is in the pub directory and you get a directory listing thru an Ftp client, the date and time are not the same as the date and time of the file when you look at it thru Telnet.
The server shows it as:
-rw-r--r--   1 amerynet customer    1803 Jun  3 10:54 CRIMEID.bin
-rw-r--r--   1 amerynet customer   13129 Jun  3 11:04 bookmark.htm

While looking at it thru Netscape or Ws_ftp or Win95's ftp, it looks like this:
CRIMEID.bin    1 Kb    Mon Jun 03 15:54:00 1996 Binary Executable
bookmark.htm  12 Kb    Mon Jun 03 16:04:00 1996 Hypertext Markup Language

The time is wrong and so is the Year.  The welcome messages have the %T variable in them and show the correct date and time....The server (when you telnet in and do a "date" command) shows the correct date and time also.  It isn't just his or my computer that might be off on time either.  The times on our computers are correct.  This happened from over 10 computers that uploaded that we have checked so far.  I figure that there just must be a bug in Wu-ftpd.  Has anybody else seen this and knows of a fix?  If so, I would like to know it also.

Thanks
Steve

======================================================
Steven K. Buehler
S & B Computers
Rockford Illinois, USA
Phone: 815-398-7169
Fax: 815-398-7266
======================================================

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 15:26:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA16362;
	Tue, 3 Jun 1997 15:17:21 -0500 (CDT)
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA15715
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 15:15:18 -0500 (CDT)
Received: from eel (eel.ucsd.edu [132.239.16.13]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id NAA19440 for <@ucsd.edu:wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 13:14:24 -0700 (PDT)
Received: by eel (950413.SGI.8.6.12/940406.SGI)
	for wu-ftpd@wugate.wustl.edu id NAA04193; Tue, 3 Jun 1997 13:14:16 -0700
Message-Id: <9706031314.ZM4192@eel.ucsd.edu>
Date: Tue, 3 Jun 1997 13:14:16 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mona Wong" <mona@eel.ucsd.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: PC anonymous ftp denied
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi wu-ftpd users:

	I am running wu-ftpd 2.4.2 beta 13 on SunOS 4.1.4.

	anonymous and valid users on a PC is being denied entrance when
anonymous users from a mac and UNIX works.

	Does anyone know why or how I should debug this problem?

Mona


-- 
===============================================================
Mona Wong, Programmer & Web Administrator
National Center for Microscopy and Imaging Research
University of California, San Diego
http://www-ncmir.ucsd.edu
===============================================================


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun  3 23:16:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA12270;
	Tue, 3 Jun 1997 23:09:04 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA12175
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Jun 1997 23:06:37 -0500 (CDT)
Message-Id: <199706040407.XAA29547@landfield.com>
Date: Tue, 3 Jun 1997 23:07:09 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: New version of ftpck available.
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: 8.0 -- ListProcessor(tm) by CREN

A new version of ftpck is ready.  It is nearly complete.  The following is
my todo list. When that is completed then I'll call it done and enter into
maintenance mode on ftpck.

1: Classify issues encountered into ERRORS or WARNINGS. (Started)
2: Do something intelligent with the undocumented guestserver feature
3: Complete valid_time function                            
4: Verify regexp expression in path-filter
5: Check any guestgroup accounts specified in passwd file.
6: If shutdown file see if shutdown time earlier than current and 
   alert user that the server is shutdown.
7: Setup for K&R and ANSI C.
8: Write a decent man page.

Now before people wonder what happen to all the ftp data directory checking...

There are really two problems here; checking the WU-FTPD specific configuration
and the administrator's ftp data directory layout.  ftpck checks the WU-FTPD
specific configuration.  This is the utility that you are probably going to 
want to run after you've made changes to WU-FTPD configuration files.  This
is different than running a periodic audit of your ftp data directories. That
will most likely be run from cron and send you mail concerning the results.
The ftpck needs to be reasonably quick to let you see any concerns or lack 
of them in changes you've just made. The second may take a while to run 
depending on the size and number of ftp data directory areas.  Using this 
logic (or lack of it. ;-)) I have separated the two utilities along those 
lines.

I have moved the auditftp functionality out of ftpck and into a separate 
utility.  It is under development at present.  Before I make any more real 
progress on it, I need to finish ftpck.  You can help.  See below.  Thanks!

What follows is the README from the latest version of ftpck.

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

What is ftpck

     ftpck is utility to verify the various files required to run wu-ftpd.

     Since the beginning, the only wu-ftpd configuration checker was
     "ckconfig". All it did was simply check to see if the needed files
     were where they had been specified in pathnames.h. Other than
     that, you had to look at the man pages, examples and the source
     code to try and figure out what was the proper syntax. In some
     cases, ftpaccess file directives were added but not listed in the
     man pages or READMEs.

     ftpck is intended to check all files and fields in all the files
     to assure proper syntax. It checks to assure that all files
     referenced in the various wu-ftpd system files exist. It checks
     modes on files as well as modes on ftp directories specified.

     This is a third developmental version and is finally nearing
     public release.

     Please help me complete this. It has already pointed out errors in
     my configuration here and I'm sure it will help you as well. I
     need suggestions about what checks make sense and should be added.
     Also I need help deciding what should be listed as an ERROR: and
     what should be listed as a WARNING:. Please help me create a
     useful and complete wu-ftpd configuration checker for all to use.

                                   [----]

Current development status

     June 3, 1997: This has been cleaned up greatly with all ftpaccess
     records now being checked. There a only a couple checks still
     needed and we are entering the cleanup phase in preparation for
     release. It has not been converted to ANSI C yet. That is coming.

     This was developed on Solaris 2.5 and there may be portability
     concerns. I hope not but if so, please send me any required
     patches and I'll add them.

     I could use some help. Portability testing is what I need most.

                                   [----]

What does it test ?

     This list nearly complete. At present the following things are
     checked.

     The following WU-FTPD configuration files being tested.

          ftpaccess, ftpconversions, ftphosts, ftppidnames,
          ftpgroups, ftpservers, ftpusers, xferlogs

     Additionally, the _PATH_EXECPATH define, is checked as is the
     inetd.conf file.

     The plan is to:

        * assure complete ftpaccess file checking is done,
        * final cleanup with manual page,
        * write a separate utility which checks permissions, modes,
          ownership, number of links, etc. of the individual ftp data
          directories. This utility is tenatively named auditftp.

     Please send suggestions to kent@landfield.com concerning tests you
     would like to see done.

     ftpaccess

            1. The existence of the specified ftpaccess file is
               verified.
            2. Modes on each of the specified ftpaccess files are
               checked to assure they are 0600.

          In addition, each record in the file is verified.

            1. alias directive
                  o Improper number of fields
                  o Checks if directory aliased exists for real
                    users
                  o Checks if directory aliased exists for
                    anonymous users
            2. autogroup directive
                  o Improper number of fields
                  o Groupname specified is a valid system group
                  o Checks each "class" specified to assure it is
                    a valid "class"
            3. banner directive
                  o Improper number of fields
                  o Checks if banner message file exists
            4. cdpath directive
                  o Improper number of fields
                  o Checks if directory aliased exists for real
                    users
                  o Checks if directory aliased exists for
                    anonymous users
            5. class directive
                  o Improper number of fields
                  o Verify there is a valid typelist specified
                  o Verify the Domain and/or IP address globbing
                    passed in
            6. compress and tar directives
                  o Improper number of fields
                  o Invalid "yes/no" specified
                  o Checks each "class" specified to assure it is
                    a valid "class"
            7. chmod, delete, overwrite, rename and umask directives
                  o Improper number of fields
                  o Invalid "yes/no" specified
                  o Assures <typelist> is a comma-separated list
                    of any of the keywords "anonymous", "guest"
                    and "real".
            8. deny directive
                  o Improper number of fields
                  o Checks for valid Address, domain or
                    !nameserved
                  o Checks to assure the message file exists
            9. email directive
                  o Improper number of fields
           10. guestgroup directive
                  o Improper number of fields
                  o Groupnames specified are valid system groups
           11. guestserver directive
                  o Improper number of fields
           12. limit directive
                  o Improper number of fields
                  o Check if valid class specified
                  o Check <n> is a number
                  o Valid <time> specified (valid_time TBD)
                  o Message file exists in guest and real ftp
                    directories
           13. log directive
                  o Improper number of fields
                  o Checks both the `log transfers' and `log
                    commands' entries.
                  o Assures <typelist> is a comma-separated list
                    of any of the
                  o Checks directions
           14. logfile directive (new virtual support directive)
                  o Improper number of fields
                  o Assure logfile exists at specified path
           15. loginfails directive
                  o Improper number of fields
                  o content is a number
           16. lslong and lsshort directives
                  o Verify the specified executable exists
           17. message directive
                  o Improper number of fields
                  o Check the <when> specified is valid
                  o Verify any classes listed are valid system
                    classes
           18. noretrieve directive
                  o Improper number of fields
                  o Check the to assure the <filename> file is
                    available
           19. passwd-check directive
                  o Improper number of fields
                  o Check for <none|trivial|rfc822> validity
                  o Check for <enforce|warn> validity
           20. path-filter directive
                  o Improper number of fields
                  o Check typelist specified is valid
                  o Verify message file path exists
           21. private directive
                  o Improper number of fields
                  o Invalid "yes/no" specified
                  o If "private yes" check to see if _PATH_PRIVATE
                    exists
           22. readme directive
                  o Improper number of fields
                  o Check the <when> is valid
                  o Verify any classes listed are valid system
                    classes
           23. root directive (new virtual support directive)
                  o Improper number of fields
                  o Verify specified ftpd root data directory
                    exists
                  o Check to assure path is a directory.
           24. shutdown directive
                  o Improper number of fields
           25. upload directive
                  o Improper number of fields
                  o Check to assure maximum of 7 arguments
                  o Make sure <root-dir> matches the ftp user
                    passwd file homedir
                  o Check if ARG2 is yes/no
                  o Validate dirs/nodirs
                  o Assure the mode specified is sane
                  o Assure any specified user has a passwd file
                    entry
                  o Assure any specified group has a group file
                    entry
           26. virtual directive
                  o Improper number of fields
                  o Make sure <addr> seems sane
                  o Check if ARG1 is root/banner/logfile
                  o Assure path exists (only from machine root)
                  o Assure root path is a directory
                  o Assure banner and logfiles are regular files

          Also checks for invalid directives used in the ftpaccess files.

     ftpconversions

       1. The existence of the ftpconversions file is verified.
       2. Modes on the ftpconversions file are checked to assure they
          are 0600.
       3. Verify syntax of the ftpconversions file.
       4. Verify specified external commands exist in the root.
       5. Verify specified external commands exist in the anonymous
          area.
       6. Verify 'types' specified are valid.
       7. Verify 'options' specified are valid.

     ftphosts

       1. The existence of the ftphosts file is verified.
       2. Modes on the ftphosts file are checked to assure they are
          0600.
       3. Verify syntax of the ftpgroups file.
       4. Verify allow/deny keyword usage.
       5. Verify valid domain and IP globbing specified.

     ftppidnames

       1. Checks the existence of the runtime pid file directory.

     ftpgroups

       1. The existence of the ftpgroups file is verified.
       2. Modes on the ftpgroups file are checked to assure they are
          0600.
       3. Verify syntax of the ftpgroups file.
       4. Make sure the groups specified are valid system groups.

     ftpservers

       1. The existence of the ftpservers file is verified if
          VIRTUAL_SERVER support compiled in.
       2. Modes on the ftpservers file are checked to assure they are
          0600.
       3. Checks to assure all ftpaccess files specified in the
          ftpservers file exist.
       4. All specified ftpaccess files are then themselves checked via
          the ftpaccess tests listed above.

     ftpusers

       1. The existence of the ftpusers file is verified.
       2. Modes on the ftpusers file are checked to assure they are
          0600.
       3. Account names not longer than 8 characters.
       4. Assure only one item per line.
       5. Records are newline terminated.
       6. Check root and all system accounts are in ftpusers file.

     xferlogs

       1. The existence of the xferlog files are verified. All xferlogs
          are checked if the site has indicated the use of virtual
          server support.
       2. Modes on the xferlog file are checked to assure they are
          0660.

     _PATH_EXECPATH

       1. Checks to assure you have not compiled WU-FTPD with
          _PATH_EXECPATH set to /bin, /usr/bin, /etc or /sbin. Doing so
          would open potential or real security holes onto your system.

     inetd.conf

       1. Check to assure the "-a" option is specified on the 'ftp'
          entry. Without it all ftpaccess functionality is disabled.

                                   [----]

Getting ftpck

     You can get the current snapshot of ftpck from
     ftp://ftp.landfield.com/wu-ftpd/ftpck/

                                   [----]

Installing ftpck

     As the distribution is configured, it needs to be unpacked under
     the wu-ftpd src/ directory. The tar/shar files will create a
     subdirectory ftpck.1.x. You will need to edit the Makefile in the
     ftpck directory and make sure things are right for your
     installation. It is setup to use your existing pathnames.h and
     config.h files.

     Type make and build it. Test it from that directory. When you are
     satisfied it does the right things, type make install and then go
     verify your config.

     Note: rdservers.c is not used unless you are one of the beta sites
     for my new way of doing virtual hosting. If so, make sure you put
     -DVIRTUAL_SERVER in the CFLAGS. If you are using the current
     virtual support then you do not need to do anything.

                                   [----]

Running ftpck

     usage: ftpck [ -ceFghprstuvx ] [-f accessfile]

     With no options, all WU-FTPD configuration files are checked.
     More than one set of checks can be specified at a time.

     Options for checking default config files
       -c:             Check ftpconversions file at /tmp/ftpd/ftpconversions
       -f:             Check ftpaccess file at /tmp/ftpd/ftpaccess
       -g:             Check ftpgroups file at /tmp/ftpd/ftpgroups
       -h:             Check ftphosts file at /tmp/ftpd/ftphosts
       -p:             Check pid directory at /tmp/ftpd/ftp.pids-%s
       -s:             Check ftpservers file at /tmp/ftpd/ftpservers
       -u:             Check ftpusers file at /tmp/ftpd/ftpusers
       -x:             Check xferlog file at /tmp/ftpd/xferlog

     Check named file options
       -C conversions: Check the specified ftpconversions file
       -F ftpaccess:   Check the specified ftpaccess file
       -G ftpgroups:   Check the specified ftpgroups file
       -H ftphosts:    Check the specified ftphosts file
       -S ftpservers:  Check the specified ftpservers file
       -U ftpusers:    Check the specified ftpusers file

     Other options
       -d:             Turn on describe mode. (Very verbose) A
                       second -d enables accessfile line display
       -e:             Check _PATH_EXECPATH not == /bin
       -i:             Check inetd.conf file at /etc/inetd.conf
       -I inetd.conf:  Check the specified inetd.conf file
       -r:             Verify aliases and cdpaths usable in all ftp root directories
       -v:             Produce verbose output

     Please Note: The files specified in the above usage example
     represent the test location of the various WU-FTPD config files on
     my system. These paths are dependent on the specifications in the
     pathnames.h you use.

                                   [----]

----
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun  4 04:39:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA15390;
	Wed, 4 Jun 1997 04:34:05 -0500 (CDT)
Received: from mpcalias.demon.co.uk (mpcalias.demon.co.uk [158.152.42.54])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA15154
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 04:29:30 -0500 (CDT)
Received: from kettle by mpcalias.demon.co.uk via ESMTP (940816.SGI.8.6.9/940406.SGI)
	for <@morley:wu-ftpd@wugate.wustl.edu> id KAA28541; Wed, 4 Jun 1997 10:09:21 +0100
Received: from kettle by kettle via SMTP (950413.SGI.8.6.12/930416.SGI)
	for <wu-ftpd@wugate.wustl.edu> id JAA17344; Wed, 4 Jun 1997 09:56:23 +0100
Message-Id: <33952DB6.794B@moving-picture.co.uk>
Date: Wed, 04 Jun 1997 09:56:22 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Steve MacPherson <steve-mac@moving-picture.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SGI Irix compile
References: <3394233E.41C6@moving-picture.co.uk> <199706031538.AAA29261@star.win.or.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: steve@moving-picture.co.uk
X-Mailer: Mozilla 3.01SGoldC-SGI (X11; I; IRIX 6.3 IP32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ayamura Kikuchi wrote:
> From: Steve MacPherson <steve-mac@moving-picture.co.uk>
> Subject: SGI Irix compile

> .Get and try ``wu-ftpd-2.4.2-beta-13'' package.
>         ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-13.tar.Z
> 
> On wu-ftpd-2.4 not academ-beta version, add -DNCARGS=2048 to CFLAGS.
> % systune | grep ncargs
>         ncargs = 20480 (0x5000)

Thank you, Ayamura.  I will give that a try.
-s

-- 


Steve MacPherson
The Moving Picture Company
25 Noel Street
London W1V 3RD
Tel:	+44 (0) 171 434-3100
Fax:	+44 (0) 171 494-7913
mailto:steve-mac@moving-picture.co.uk
http://www.moving-picture.co.uk

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun  4 10:04:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA15068;
	Wed, 4 Jun 1997 09:55:40 -0500 (CDT)
Received: from LOTUS.SSW.COM ([192.150.51.158])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA14066
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 09:47:19 -0500 (CDT)
Received: by LOTUS.SSW.COM (Soft-Switch LMS 2.0) with snapi via NOTES
          id 1101950000754876; Wed, 4 Jun 1997 10:39:56 -0400
Message-Id: <1101950000754876000002L562*@MHS>
Date: Wed, 4 Jun 1997 10:39:56 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Adam_Resnick <Adam_Resnick@lotus.ssw.com>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Path-Filter requiring a file start with...
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello. I'm running the 2.4.2-beta12 version of wu-ftpd under AIX 4.2. I'm
configuring my ftpaccess file, and would like to force users to start their
filenames with a specific letter sequence (TARxxxxxx). The documentation for
the 'path-filter' option lets you disallow characters and specify what a file
can't start with, but not the other way around.

Also - I had no difficulty compiling beta12 under AIX 4.1.4, but beta13 does
not compile. I can provide error details if anyone has any suggestions.

Thanks!

Adam Resnick
Systems Administrator
Soft-Switch Operations

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun  4 17:32:00 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA00170;
	Wed, 4 Jun 1997 17:23:32 -0500 (CDT)
Received: from mailsrv1.pcy.mci.net (mailsrv1.pcy.mci.net [204.71.0.43])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA31854
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 17:16:29 -0500 (CDT)
Received: from seera.hn.pl.cp (usr2-dialup11.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10044)
 id <01IJOK70KVA896WE2F@MAIL-CLUSTER.PCY.MCI.NET> for wu-ftpd@wugate.wustl.edu;
 Wed, 4 Jun 1997 17:04:26 EDT
Received: from seera.hn.pl.cp (usr2-dialup11.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10045)
 with SMTP id <01IJOK6JRUNM99DPJH@MAIL-CLUSTER.PCY.MCI.NET>; Wed,
 04 Jun 1997 16:56:47 -0400 (EDT)
Message-Id: <3395D675.41C67EA6@MCI2000.com>
Date: Wed, 04 Jun 1997 13:56:21 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Minsung Kim <stair@mci2000.com>
To: tambay@skyinet.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpaccess documentation
References: <199706040919.BAA15566@host05.qzn.skyinet.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Sender: stair@MAIL-CLUSTER.PCY.MCI.NET
X-Mailer: Mozilla 3.01Gold (X11; U; FreeBSD 3.0-CURRENT i386)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

marco antonio cabazal wrote:
> 
>         greetings!
> 
>         does anyone of know or have a thorough documentation of
>         ftpaccess? i'm just new to this list and i might have
>         already missed a response to a question similar to mine.
> 
>         thanks in advance! *:)
> 
> ....
>  *:) polly? marco? polly! marco! marco antonio cabazal -,-'{@
>  sysop, Tambayan ng Bayan! BBS Manila   | sysad, SKYinternet network services
>  +63-2-823-4853 8pm-7am [GMT+0800]      | Pager: 1277-35871
>  PGP: DD76A40986AE4795 23059CA948D18F70 | tambay@skyinet.net

RTFM, RTFM!  See ftpaccess(5) and you'll get what you want.  :-)

-- 
Stair

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Kim, Minsung (Stair in Cyberland)      <mailto:stair@MCI2000.com>

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun  4 19:45:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA10368;
	Wed, 4 Jun 1997 19:40:48 -0500 (CDT)
Received: from sun.alegria.com (sun.alegria.com [204.216.9.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA09724
	for <wu-ftpd@wustl.edu>; Wed, 4 Jun 1997 19:37:11 -0500 (CDT)
Received: by sun.alegria.com
	via sendmail with stdio
	id <m0wZQXG-000AKhC@sun.alegria.com>
	for wu-ftpd@wustl.edu; Wed, 4 Jun 1997 17:36:14 -0700 (PDT)
	(Smail-3.2.0.80 1996-Nov-10 #4 built 1997-Mar-31)
Message-Id: <970604173614.ZM27444@sun.alegria.com>
Date: Wed, 4 Jun 1997 17:36:14 -0700
Reply-To: Rob Lingelbach <rob@sun.alegria.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Rob Lingelbach" <rob@sun.alegria.com>
To: wu-ftpd@wustl.edu
Subject: location of config files
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (4.0.1 13Jan97)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've built wu-ftpd-2.4.2-beta-13 for Solaris 2.5, and ckonfig tells me I
need /etc/ftpaccess, etc/ftpconversions, (etc.).  I copied my existing
/usr/local/etc/ftpaccess (from 2.4) to /etc/ftpaccess (along with 
ftpconversions, ftpusers, ftpgroups) yet the new ftpd doesn't appear to
be reading /etc/ftpaccess (welcome.msg isn't displayed, etc.).

Also, if I want to retain and use instead the path /usr/local/etc, where 
would I do this in the source?  

thanks.
--Rob



-- 
Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
rob@alegria.com  	| "I care not much for a man's religion whose dog or 
rob@info.com		|  cat are not the better for it."  --Abraham Lincoln
rob@cloister.org		KB6CUN   http://www.alegria.com

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun  4 20:09:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA12584;
	Wed, 4 Jun 1997 20:04:44 -0500 (CDT)
Received: from lucinda.digigami.com (root@lucinda.digigami.com [199.106.62.125])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA12337
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 20:04:19 -0500 (CDT)
Received: from arrakis (nobody@gatekeeper.digigami.com [199.106.62.11]) by lucinda.digigami.com (8.8.5/8.8.2) with SMTP id SAA11812 for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 18:04:16 -0700 (PDT)
Message-Id: <3.0.1.32.19970604180339.00acabd0@popmail.digigami.com>
Date: Wed, 04 Jun 1997 18:03:39 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scott Callaway <scottc@digigami.com>
To: wu-ftpd@wugate.wustl.edu
Subject: noretrieve --> ~ftp/etc/group and ~ftp/etc/pwd.db 
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: scottc@popmail.digigami.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I am running wu_ftp 2.4 on a BSDI 2.1 box.

In the file /etc/ftpaccess , I have set the following line to 
TRY to stop folks from being able to ftp a copy of the group and/or 
passwd data base files.  (~ftp/etc/group and ~ftp/etc/pwd.db)

# Protected files, not to be retrieved at any time!
noretrieve /etc/passwd /etc/group /etc/shadow /etc/pwd.db /etc/spwd.db 
core pwd.db group /home/ftp/etc/pwd.db /home/ftp/etc/group

%%%%

Can anyone give me an idea of how to do this?

Thanks in advance.


-- Scott C.
______________________________________________________________________
  Scott Callaway         scottc@digigami.com          619-231-2600
  Digigami Inc.,   624 Broadway  Suite 200,   San Diego,    CA.  92101
 1:1000               <http://www.digigami.com>
______________________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun  4 21:04:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA14677;
	Wed, 4 Jun 1997 20:59:01 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA15228
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 20:56:30 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id UAA15605
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Jun 1997 20:56:36 -0500
Message-Id: <Pine.LNX.3.95.970604205455.989c-100000@ns1.fni.com>
Date: Wed, 4 Jun 1997 20:56: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: noretrieve --> ~ftp/etc/group and ~ftp/etc/pwd.db 
In-Reply-To: <3.0.1.32.19970604180339.00acabd0@popmail.digigami.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Which version of wuftpd?  If it is not a recent beta it may not honor the
noretrieve keyword.  Info on the beta is below.

   -- Michael

On Wed, 4 Jun 1997, Scott Callaway wrote:

> I am running wu_ftp 2.4 on a BSDI 2.1 box.
> 
> In the file /etc/ftpaccess , I have set the following line to 
> TRY to stop folks from being able to ftp a copy of the group and/or 
> passwd data base files.  (~ftp/etc/group and ~ftp/etc/pwd.db)
> 
> # Protected files, not to be retrieved at any time!
> noretrieve /etc/passwd /etc/group /etc/shadow /etc/pwd.db /etc/spwd.db 
> core pwd.db group /home/ftp/etc/pwd.db /home/ftp/etc/group
> 
> Can anyone give me an idea of how to do this?


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 04:11:59 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA19188;
	Thu, 5 Jun 1997 04:08:17 -0500 (CDT)
Received: from mailsrv2.pcy.mci.net (mailsrv2.pcy.mci.net [204.71.1.40])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id EAA19166
	for <wu-ftpd@wustl.edu>; Thu, 5 Jun 1997 04:02:42 -0500 (CDT)
Received: from seera.hn.pl.cp (usr2-dialup11.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10044)
 id <01IJP6XM1DDS96WH2Z@MAIL-CLUSTER.PCY.MCI.NET> for wu-ftpd@wustl.edu; Thu,
 5 Jun 1997 05:00:40 EDT
Received: from seera.hn.pl.cp (usr2-dialup11.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10045)
 with SMTP id <01IJOZ50ZCFK99DQ8X@MAIL-CLUSTER.PCY.MCI.NET>; Thu,
 05 Jun 1997 00:05:37 -0400 (EDT)
Message-Id: <33963AE5.41C67EA6@MCI2000.com>
Date: Wed, 04 Jun 1997 21:04:53 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Minsung Kim <stair@mci2000.com>
To: Rob Lingelbach <rob@sun.alegria.com>
Cc: wu-ftpd@wustl.edu
Subject: Re: location of config files
References: <970604173614.ZM27444@sun.alegria.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Sender: stair@MAIL-CLUSTER.PCY.MCI.NET
X-Mailer: Mozilla 3.01Gold (X11; U; FreeBSD 3.0-CURRENT i386)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Rob Lingelbach wrote:
> 
> I've built wu-ftpd-2.4.2-beta-13 for Solaris 2.5, and ckonfig tells me I
> need /etc/ftpaccess, etc/ftpconversions, (etc.).  I copied my existing
> /usr/local/etc/ftpaccess (from 2.4) to /etc/ftpaccess (along with
> ftpconversions, ftpusers, ftpgroups) yet the new ftpd doesn't appear to
> be reading /etc/ftpaccess (welcome.msg isn't displayed, etc.).

Did you give an '-a' option to ftpd?  Without it wu-ftpd won't read
ftpaccess
file.

> 
> Also, if I want to retain and use instead the path /usr/local/etc, where
> would I do this in the source?

I'm not sure about that because I don't have the source in hand right
now,
but I think it was src/pathnames.h

> 
> thanks.

You're welcome. :-)

> --Rob
> 
> --
> Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
> rob@alegria.com         | "I care not much for a man's religion whose dog or
> rob@info.com            |  cat are not the better for it."  --Abraham Lincoln
> rob@cloister.org                KB6CUN   http://www.alegria.com

Regards,
-- 
Stair

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Kim, Minsung (Stair in Cyberland)      <mailto:stair@MCI2000.com>

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 07:45:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA32097;
	Thu, 5 Jun 1997 07:41:33 -0500 (CDT)
Received: from zaz.kom.auc.dk (root@zaz.kom.auc.dk [130.225.51.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id HAA32337
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Jun 1997 07:37:14 -0500 (CDT)
Received: from yugo.kom.auc.dk (yugo.kom.auc.dk [130.225.51.12]) by zaz.kom.auc.dk (8.7.6/8.7.3) with ESMTP id OAA10218; Thu, 5 Jun 1997 14:37:09 +0200 (MET DST)
Received: (from karthy@localhost) by yugo.kom.auc.dk (8.7.6/8.7.3) id OAA05541; Thu, 5 Jun 1997 14:37:02 +0200 (MET DST)
Message-Id: <yd8lo4p8bv6.fsf@yugo.kom.auc.dk>
Date: 05 Jun 1997 14:37:01 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Karsten Thygesen <karthy@kom.auc.dk>
To: Michael Brennen <mbrennen@fni.com>
Cc: Karsten Thygesen <karthy@kom.auc.dk>, wu-ftpd@wugate.wustl.edu
Subject: Re: Guest write permissions in sub-dir
In-Reply-To: Michael Brennen's message of Tue, 3 Jun 1997 10:33:19 -0500 (CDT)
References: <Pine.LNX.3.95.970603102941.8405H-100000@ns1.fni.com>
X-Mailer: Gnus v5.4.53/Emacs 19.33
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>>>>> "Michael" == Michael Brennen <mbrennen@fni.com> writes:

Michael> On Tue, 3 Jun 1997, Karsten Thygesen wrote:
>> After upgrading to beta-13 (from beta-10) in Solaris-2.5.1, I'm
>> struggling with a strange problem. My guest accounts can write in
>> their home-directories, but not in any subdirectories. They get
>> permissions denied (upload) or something similar.

Michael> I'm having no trouble here with this.  A couple of questions:

Michael> Do they actually own/have write permissions to the directory?
Michael> From your .sig (Sunsite manager for .dk) I fully expect you
Michael> have checked all this out pretty thoroughly. :)

Yes :-)

Michael> Do you have any controls in /etc/ftpaccess that block the
Michael> write?  upload directives?  overwrite (a compilation option
Michael> also)?  ???

I had

upload  /data/ftp  *             no
upload  /data/ftp  /bin          no
upload  /data/ftp  /etc          no
upload  /data/ftp  /usr          no
upload  /data/ftp  /home        yes dirs

That did work just fine i beta-10, where the /home area was fully
writeable (if the unix-permissions was OK).

In beta-13, it seems, that the "*" matches any directories not
explicitly determined in other upload lines. In other words, guests
are able to write in /home/guestname but not in /home/guestname/subdir

I still do not understand why (and I haven't noticed any change in the
documentation on this point). 

The solution was to remove the "*" line - now guests can write in
their own sub-dirs.

Best
Karsten

-- 
M.Sc.E.E, Sys/Net-administrator, BOFH, Aalborg University, Denmark
http://www.kom.auc.dk/~karthy/ for more information.
SunSITE Denmark Manager (http://sunsite.auc.dk/)

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 11:23:49 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA20993;
	Thu, 5 Jun 1997 11:18:02 -0500 (CDT)
Received: from cagw2.att.com (cagw2.att.com [192.128.52.90])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA20118
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Jun 1997 11:08:03 -0500 (CDT)
Received: from lynxhub.ho.att.com by caig2.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id MAA09372; Thu, 5 Jun 1997 12:15:59 -0400
Received: from ROGERH ([135.16.115.112]) by lynxhub.ho.att.com (5.x/EMS-1.2 sol2)
	id AA06248; Thu, 5 Jun 1997 12:05:47 -0400
Received: by ROGERH with Microsoft Mail
	id <01BC71A9.90434270@ROGERH>; Thu, 5 Jun 1997 12:11:14 -0400
Message-Id: <01BC71A9.90434270@ROGERH>
Date: Thu, 5 Jun 1997 12:11:13 -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: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: FTP password cracking
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear WUFTPD'ers,
 Got two responses to my question about why WUFTPD Beta 13 (and previous
versions) rejects a bad userid in the following manner without prompting for
the password first as it should:

530 User garbage access denied....
Login failed.

One response said they have same problem with Beta 13, one response
said they were prompted for password with Beta 13, even when they 
entered a non existent userid like "garbage".

Obviously the ones of us who have this problem need to get to the bottom
of this since it is a serious security problem. Could some other people please   
try this exercise (just takes a couple minutes to try logging on
with a nonexistent user id like "garbage") and report back whether they get
the above error or get prompted for a password first. Feel free to respond
to me directly (rhanke@att.com) to avoid cluttering up the list (as well as
potential security issues). I will report back the findings in only a general 
manner to let people know roughly what percentage of us have this 
problem. This will help immensely to try to pin down what exactly is the
difference causing this. Please include your OS type and version, as well
as your WUFTPD version and any patches or changes you may have made
so we can try to start pinning down similarities or differences in the systems
that do have this problem.
	Thanx,
	Roger Hanke

----------
From: 	Roger A. Hanke[SMTP:rah@lynxhub]
Sent: 	Friday, May 30, 1997 11:36 AM
To: 	'WUFTPD List'
Subject: 	FTP password cracking

Dear WUFTPD'ers

 In trying to check some possible security holes, ran across one that WUFTPD
seemed to make worse. Hope someone can possibly point out a way around 
this. 

 Normally with UNIX, on purpose, they do not give you any feedback during
the login process until after you enter both the user id and password. 
This increases the number of permutations exponentially required to crack
into an account.

 But with Beta 11 version at least (and I strongly suspect all versions) if you
enter a "garbage" user name you get the following response:

530 User garbage access denied....
Login failed.

 Of course if you enter a valid user id that has proper access authorization
you get the password prompt. So it is very easy for a computer program 
being used to crack in, to realize when they have discovered a valid id.
Then can then shift to cracking the 8 character (on UNIX anyway) password
for this account. Even if you limit their consecutive logon tries to 3 like I 
do, this just slows them down a little, they just try 3 iterations at a time before
doing another open and 3 more tries....

 This scenario can occur on any WUFTPD server but in our case it is a FTP
download server that is on the internet. Many of our customers have been
given guest class ids that they use to setup private download areas. But since
their end users can come from any possible IP address, there is no way
to use guest class IP restrictions.

  Thought of using the UNIX account LOCKOUT mechanism (despite the
recent CERT on SGI's ;-(  but this introduces the possibility of denial of
service attacks on all accounts on this server. Which could render this
server useless if someone cracked valid user ids and then started cracking
the password resulting in account lockouts.

 Am not able to go to a skey implementation because our customers do
not want to put up with the extra inconvenience. But even this just means
an internet cracker would need to crack a 28 (or so) character password
instead of an 8 character one. It does not prevent them from discovering
valid user ids which is the real problem as I see it.

 So anyway to have WUFTPD suck in user id and password and then do
its access checks? So that valid user ids could not be discerned at least.
So that no access denied, or invalid password, or any other error messages
would come out prior to entering both user id and password?

 Thanx for hearing me out,
	Roger Hanke

 






From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 13:51:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA01704;
	Thu, 5 Jun 1997 13:41:19 -0500 (CDT)
Received: from lucinda.digigami.com (root@lucinda.digigami.com [199.106.62.125])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA01152
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Jun 1997 13:34:44 -0500 (CDT)
Received: from arrakis (nobody@gatekeeper.digigami.com [199.106.62.11]) by lucinda.digigami.com (8.8.5/8.8.2) with SMTP id LAA27239 for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Jun 1997 11:34:43 -0700 (PDT)
Message-Id: <3.0.1.32.19970605113405.00a563d0@popmail.digigami.com>
Date: Thu, 05 Jun 1997 11:34:05 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scott Callaway <scottc@digigami.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: noretrieve --> ~ftp/etc/group and ~ftp/etc/pwd.db 
In-Reply-To: <Pine.LNX.3.95.970604205455.989c-100000@ns1.fni.com>
References: <3.0.1.32.19970604180339.00acabd0@popmail.digigami.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: scottc@popmail.digigami.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 08:56 PM 6/4/97 -0500, you wrote:
>
>Which version of wuftpd?  If it is not a recent beta it may not honor the
>noretrieve keyword.  Info on the beta is below.
>

If I ftp to the machine I get the following
text returned  
"FTP server (Version wu-2.4(2) Tue Jan 7 08:37:31 EST 1997)"

Does this mean we have Beta2 or ??

Can you tell me how to figure out which version it is for sure?

The version in our previous sysadmins account that he compiled was
2.4 Beta-11.  However, the version he compiled is different than
the version that is currently running (I used 'cmp').  I'm in the 
process of figuring out what he was doing.

thanks,


-- Scott C.
______________________________________________________________________
  Scott Callaway         scottc@digigami.com          619-231-2600
  Digigami Inc.,   624 Broadway  Suite 200,   San Diego,    CA.  92101
 1:1000               <http://www.digigami.com>
______________________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 14:08:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA03178;
	Thu, 5 Jun 1997 13:58:54 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA03083
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Jun 1997 13:55:42 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id NAA00471;
	Thu, 5 Jun 1997 13:55:08 -0500
Message-Id: <Pine.LNX.3.95.970605135353.25122L-100000@ns1.fni.com>
Date: Thu, 5 Jun 1997 13:55:08 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Scott Callaway <scottc@digigami.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: noretrieve --> ~ftp/etc/group and ~ftp/etc/pwd.db 
In-Reply-To: <3.0.1.32.19970605113405.00a563d0@popmail.digigami.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


You don't have a beta at all.  You've got the *old* one.  The (2) is the
number of times it has been compiled. 

   -- Michael

On Thu, 5 Jun 1997, Scott Callaway wrote:

> >Which version of wuftpd?  If it is not a recent beta it may not honor the
> >noretrieve keyword.  Info on the beta is below.
> 
> If I ftp to the machine I get the following
> text returned  
> "FTP server (Version wu-2.4(2) Tue Jan 7 08:37:31 EST 1997)"


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 18:12:11 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA08633;
	Thu, 5 Jun 1997 18:05:50 -0500 (CDT)
Received: from sol.tins.net (sol.tins.net [205.173.230.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA19187
	for <wu-ftpd@wugate.wustl.edu>; Thu, 5 Jun 1997 18:00:49 -0500 (CDT)
Received: (from mgg@localhost)
	by sol.tins.net (8.8.5/8.8.5) id QAA21868;
	Thu, 5 Jun 1997 16:00:32 -0700 (PDT)
Message-Id: <199706052300.QAA21868@sol.tins.net>
Date: Thu, 5 Jun 1997 16:00:32 -0700 (PDT)
Reply-To: mgg@sol.tins.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Galbraith <mgg@sol.tins.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest write permissions in sub-dir
In-Reply-To: <yd8lo4p8bv6.fsf@yugo.kom.auc.dk> (message from Karsten Thygesen
	on 05 Jun 1997 14:37:01 +0200)
Mime-Version: 1.0 (generated by tm-edit 7.78)
Content-Type: text/plain; charset=US-ASCII
X-Mailer: Emacs-19.34
X-Attribution: mgg
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>>>>> "Karsten" == Karsten Thygesen <karthy@kom.auc.dk> writes:

>>>>> "Michael" == Michael Brennen <mbrennen@fni.com> writes:
Michael> On Tue, 3 Jun 1997, Karsten Thygesen wrote:
>>> After upgrading to beta-13 (from beta-10) in Solaris-2.5.1, I'm
>>> struggling with a strange problem. My guest accounts can write in
>>> their home-directories, but not in any subdirectories. They get
>>> permissions denied (upload) or something similar.

Michael> I'm having no trouble here with this.  A couple of questions:

Michael> Do they actually own/have write permissions to the directory?
Michael> From your .sig (Sunsite manager for .dk) I fully expect you
Michael> have checked all this out pretty thoroughly. :)

Karsten> Yes :-)

Michael> Do you have any controls in /etc/ftpaccess that block the
Michael> write?  upload directives?  overwrite (a compilation option
Michael> also)?  ???

Karsten> I had

Karsten> upload  /data/ftp  *             no
Karsten> upload  /data/ftp  /bin          no
Karsten> upload  /data/ftp  /etc          no
Karsten> upload  /data/ftp  /usr          no
Karsten> upload  /data/ftp  /home        yes dirs

Karsten> That did work just fine i beta-10, where the /home area was fully
Karsten> writeable (if the unix-permissions was OK).

Karsten> In beta-13, it seems, that the "*" matches any directories not
Karsten> explicitly determined in other upload lines. In other words, guests
Karsten> are able to write in /home/guestname but not in /home/guestname/subdir

Karsten> I still do not understand why (and I haven't noticed any change in the
Karsten> documentation on this point). 

Karsten> The solution was to remove the "*" line - now guests can write in
Karsten> their own sub-dirs.

Disclaimer: I've not yet upgraded.  I'm still using the 2.4 release.  My
suggestions may not make any difference in your installation.  I only
report what I had to do to make this work.

I did something else to enable this.  First, if you have a "*" line, you
don't need the "/bin, /etc, and /usr" lines.  They are redundant.

Now, you already have a "/home" entry.  The only thing you are missing
is a line for the sub directories.  Try adding:

    upload  /data/ftp  /home/*      yes dirs

to your ftpaccess file and see what happens.  This seems to be working
for me on the 2.4 release.

-- 
Mark Galbraith                   Member of The HTML Writers Guild
Engineer, Internet Services	              http://www.hwg.org/
Triad Systems Corporation
(PGP Fingerprint=1CB9 7481 AD5C 5709  690B AC09 7F65 D6F6)

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 18:32:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA21056;
	Thu, 5 Jun 1997 18:23:43 -0500 (CDT)
Received: from sol.tins.net (sol.tins.net [205.173.230.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA20365;
	Thu, 5 Jun 1997 18:16:24 -0500 (CDT)
Received: (from mgg@localhost)
	by sol.tins.net (8.8.5/8.8.5) id QAA22336;
	Thu, 5 Jun 1997 16:16:08 -0700 (PDT)
Message-Id: <199706052316.QAA22336@sol.tins.net>
Date: Thu, 5 Jun 1997 16:16:08 -0700 (PDT)
Reply-To: mgg@sol.tins.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Galbraith <mgg@sol.tins.net>
To: owner-wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: DAMN IT!  REMOVE THE REPLY-TO!!
Mime-Version: 1.0 (generated by tm-edit 7.78)
Content-Type: text/plain; charset=US-ASCII
X-Mailer: Emacs-19.34
X-Attribution: mgg
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm getting very tired of hitting "Reply" to send a private reply to
someone on the list, and ending up having my reply blasted to the entire
list.  This has happened too many times now, and I'm just about fed up.

I'm on numerous mailing lists on the Net.  The WU-FTPD list is the only
list left that still mangles the Reply-To header.  This has long been
considered to be "Bad."  It's about time that WU-FTPD caught up with the
times and stopped this practice, now considered undesireable by most of
the Internet.

Please let me know why you insist on mangling the Reply-To header.  I am
very close to resigning from this list over this.  If you are planning
to correct this misbehavior, I'll hold off.  If this doesn't change
soon, I *will* be resigning.

For the list: I would also consider starting a new list for users of
WU-FTPD who are also tired of this behavior.  If this is something you
would be interested in, send a short note to 'sysop@tins.net'.

-- 
Mark Galbraith                   Member of The HTML Writers Guild
Engineer, Internet Services	              http://www.hwg.org/
Triad Systems Corporation
(PGP Fingerprint=1CB9 7481 AD5C 5709  690B AC09 7F65 D6F6)

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 21:08:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id VAA27691;
	Thu, 5 Jun 1997 21:01:01 -0500 (CDT)
Received: from light.lightlink.com (homer@light.lightlink.com [205.232.34.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA27282;
	Thu, 5 Jun 1997 20:57:28 -0500 (CDT)
Received: from localhost (homer@localhost)
	by light.lightlink.com (8.8.5/8.8.5) with SMTP id VAA03833;
	Thu, 5 Jun 1997 21:57:23 -0400 (EDT)
Message-Id: <Pine.SUN.3.95.970605215627.1318A-100000@light.lightlink.com>
Date: Thu, 5 Jun 1997 21:57:05 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: Mark Galbraith <mgg@sol.tins.net>
Cc: owner-wu-ftpd@wugate.wustl.edu, wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT!  REMOVE THE REPLY-TO!!
In-Reply-To: <199706052316.QAA22336@sol.tins.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


     In general it is a very bad idea to have mailing lists reply
to the list.  It is not only dangerous personally, but can also
create mail loops.
 
      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 Thu, 5 Jun 1997, Mark Galbraith wrote:

> I'm getting very tired of hitting "Reply" to send a private reply to
> someone on the list, and ending up having my reply blasted to the entire
> list.  This has happened too many times now, and I'm just about fed up.
> 
> I'm on numerous mailing lists on the Net.  The WU-FTPD list is the only
> list left that still mangles the Reply-To header.  This has long been
> considered to be "Bad."  It's about time that WU-FTPD caught up with the
> times and stopped this practice, now considered undesireable by most of
> the Internet.
> 
> Please let me know why you insist on mangling the Reply-To header.  I am
> very close to resigning from this list over this.  If you are planning
> to correct this misbehavior, I'll hold off.  If this doesn't change
> soon, I *will* be resigning.
> 
> For the list: I would also consider starting a new list for users of
> WU-FTPD who are also tired of this behavior.  If this is something you
> would be interested in, send a short note to 'sysop@tins.net'.
> 
> -- 
> Mark Galbraith                   Member of The HTML Writers Guild
> Engineer, Internet Services	              http://www.hwg.org/
> Triad Systems Corporation
> (PGP Fingerprint=1CB9 7481 AD5C 5709  690B AC09 7F65 D6F6)
> 


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun  5 22:33:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA31690;
	Thu, 5 Jun 1997 22:25:12 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id WAA31060;
	Thu, 5 Jun 1997 22:16:23 -0500 (CDT)
Message-Id: <199706060316.WAA26457@landfield.com>
Date: Thu, 5 Jun 1997 22:16:57 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Cc: mgg@sol.tins.net, owner-wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT!  REMOVE THE REPLY-TO!!
In-Reply-To: <Pine.SUN.3.95.970605215627.1318A-100000@light.lightlink.com> from "Homer W. Smith" at Jun 5, 97 09:57:05 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: 8.0 -- ListProcessor(tm) by CREN


# > For the list: I would also consider starting a new list for users of
# > WU-FTPD who are also tired of this behavior.  If this is something you
# > would be interested in, send a short note to 'sysop@tins.net'.

Starting a new list for this reason alone makes little sense.  I agree that
it is rude to redirect the Reply-To: back to the list. That *should* be 
changed. But creating a splinter list is of little use to the community.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 04:14:34 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA17489;
	Fri, 6 Jun 1997 04:08:46 -0500 (CDT)
Received: from gate2.knmi.nl (gate2.knmi.nl [145.23.254.252])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id EAA16952;
	Fri, 6 Jun 1997 04:07:19 -0500 (CDT)
Received: (from root@localhost) by gate2.knmi.nl (8.7.1/8.6.12) id LAA03858; Fri, 6 Jun 1997 11:07:12 +0200 (MET DST)
Received: from bdanwb.knmi.nl(145.23.18.139) by gate2.knmi.nl via smap (V1.3)
	id sma003742; Fri, 6 Jun 97 11:07:05 +0200
Received: from btp349.knmi.nl (btp349.knmi.nl [145.23.19.6]) by bdanwb.knmi.nl (8.7.4/8.7.3) with SMTP id JAA17568; Fri, 6 Jun 1997 09:06:47 GMT
Message-Id: <199706060906.JAA17568@bdanwb.knmi.nl>
Date: Fri, 6 Jun 1997 11:09:14 +0100
Reply-To: gjs@knmi.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "frans stekelenburg" <gjs@knmi.nl>
To: Kent Landfield <kent@landfield.com>, wu-ftpd@wugate.wustl.edu
Cc: mgg@sol.tins.net, owner-wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT!  REMOVE THE REPLY-TO!!
In-Reply-To: <199706060316.WAA26457@landfield.com>
References: <Pine.SUN.3.95.970605215627.1318A-100000@light.lightlink.com> from "Homer W. Smith" at Jun 5, 97 09:57:05 pm
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v2.53/R1)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> Date:          Thu, 5 Jun 1997 22:16:57 -0500 (CDT)
> Reply-to:      wu-ftpd@wugate.wustl.edu
> From:          Kent Landfield <kent@landfield.com>
> To:            wu-ftpd@wugate.wustl.edu
> Cc:            mgg@sol.tins.net, owner-wu-ftpd@wugate.wustl.edu
> Subject:       Re: DAMN IT!  REMOVE THE REPLY-TO!!

> 
> # > For the list: I would also consider starting a new list for users of
> # > WU-FTPD who are also tired of this behavior.  If this is something you
> # > would be interested in, send a short note to 'sysop@tins.net'.
> 
> Starting a new list for this reason alone makes little sense.  I agree that it
> is rude to redirect the Reply-To: back to the list. That *should* be changed.
> But creating a splinter list is of little use to the community.
> 

Hear, hear.. and so is cursing.
Posting this as a reasonable request should at least be as affective.
No doubt this (rply-to) can be changed in a jiffy.

--gjs

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 06:31:02 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA18983;
	Fri, 6 Jun 1997 06:22:07 -0500 (CDT)
Received: from jkjerome.cc.rl.ac.uk (jkjerome.cc.rl.ac.uk [130.246.8.238])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id GAA20325;
	Fri, 6 Jun 1997 06:18:09 -0500 (CDT)
Received: from localhost (mwe@localhost) by jkjerome.cc.rl.ac.uk (8.7.3/8.7.3) with SMTP 
          id MAA15654; Fri, 6 Jun 1997 12:17:13 +0100
Message-Id: <Pine.A41.3.95.970606121524.13992L-100000@jkjerome.cc.rl.ac.uk>
Date: Fri, 6 Jun 1997 12:17:13 +0100 (BST)
Reply-To: m.w.ellwood@rl.ac.uk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Ellwood <mwe@rl.ac.uk>
To: Mark Galbraith <mgg@sol.tins.net>
Cc: owner-wu-ftpd@wugate.wustl.edu, wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT! REMOVE THE REPLY-TO!!
In-Reply-To: <199706052316.QAA22336@sol.tins.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mwe@jkjerome.cc.rl.ac.uk
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



On Thu, 5 Jun 1997, Mark Galbraith wrote:

> I'm getting very tired of hitting "Reply" to send a private reply to
> someone on the list, and ending up having my reply blasted to the entire
> list.  This has happened too many times now, and I'm just about fed up.
> 
> I'm on numerous mailing lists on the Net.  The WU-FTPD list is the only
> list left that still mangles the Reply-To header.  This has long been
> considered to be "Bad."  It's about time that WU-FTPD caught up with the
> times and stopped this practice, now considered undesireable by most of
> the Internet.
> 
> Please let me know why you insist on mangling the Reply-To header.  I am
> very close to resigning from this list over this.  If you are planning
> to correct this misbehavior, I'll hold off.  If this doesn't change
> soon, I *will* be resigning.
> 

I'm not quite sure what's wrong. I'm using Pine on UNIX.

When I reply, I get the the option to reply to all recipients.
If I reply yes, it goes to the list.

If I reply no, it goes only to the poster.
-- 
Mike.Ellwood@rl.ac.uk


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 08:03:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA24718;
	Fri, 6 Jun 1997 07:58:59 -0500 (CDT)
Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA24074
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 07:57:22 -0500 (CDT)
Received: from tigger.itc.virginia.edu by mail.virginia.edu id aa21943;
          6 Jun 97 8:57 EDT
Received: (from wfp5p@localhost) by tigger.itc.Virginia.EDU (8.8.5/1.0.0) id IAA45386 for wu-ftpd@wugate.wustl.edu; Fri, 6 Jun 1997 08:57:20 -0400
Message-Id: <199706061257.IAA45386@tigger.itc.Virginia.EDU>
Date: Fri, 6 Jun 1997 08:57:20 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Pemberton <wfp5p@tigger.itc.virginia.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: upload different in beta13
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.5 PL0b1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I just noticed that the upload option in ftpaccess works differently
in beta 13 (from standard wu-ftpd, it may be this way in all the betas).

Here's the part of my ftpaccess file:

upload  /ftp  /public_access  yes     ftp    ftp  0666 dirs
upload  /ftp  /public_access/*  yes     ftp    ftp  0666 dirs

With wu-ftpd this allowed anonymous to make dirs in public_access and
upload to them, and make dirs in dirs in dirs..... and all be
writable.  With beta 13 they can make 1 dirs as deep as they want, but
they can only upload to the first level down.

Anyhow, is this is a bug or a feature?

-- 
Bill Pemberton                                 wfp5p@virginia.edu
ITC/Unix Systems                               flash@virginia.edu
University of Virginia                         uunet!virginia!wfp5p


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 09:04:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA00400;
	Fri, 6 Jun 1997 08:59:27 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA30517;
	Fri, 6 Jun 1997 08:52:53 -0500 (CDT)
Message-Id: <199706061353.IAA06289@landfield.com>
Date: Fri, 6 Jun 1997 08:53:28 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Cc: owner-wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT! REMOVE THE REPLY-TO!!
In-Reply-To: <Pine.A41.3.95.970606121524.13992L-100000@jkjerome.cc.rl.ac.uk> from "Mike Ellwood" at Jun 6, 97 12:17:13 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: 8.0 -- ListProcessor(tm) by CREN

I sent a request last night to the postmaster asking that they remove the
Reply-To: redirect that was part of the list.  (I included some of the
more colorful messages. ;-)) I suspect that others did so as well.  Mark's
initial message went to the list owner. Well it looks as if they have
done so.  This is really more of a test than anything else.  If your mail
reader allows you to take a look at the headers, do so and see if the 
Reply-To: is set back at the list.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 09:28:00 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA03248;
	Fri, 6 Jun 1997 09:22:38 -0500 (CDT)
Received: from foil.apk.net (dhall@foil.apk.net [207.54.133.102])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id JAA02611
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 09:16:27 -0500 (CDT)
Received: (from dhall@localhost)
	by foil.apk.net (8.8.5/8.8.5) id KAA01020;
	Fri, 6 Jun 1997 10:17:21 -0400 (EDT)
Message-Id: <wxd8pzak9b.fsf@foil.apk.net>
Date: 06 Jun 1997 10:17:20 -0400
Reply-To: dhall@apk.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dhall@apk.net (d. hall)
To: mgg@sol.tins.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT!  REMOVE THE REPLY-TO!!
In-Reply-To: Mark Galbraith's message of Thu, 5 Jun 1997 16:16:08 -0700 (PDT)
References: <199706052316.QAA22336@sol.tins.net>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
X-Mailer: Gnus v5.4.55/Emacs 19.34
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

// thus on Thu, 5 Jun 1997 16:16:08 -0700 (PDT), mgg virtually wrote:

mgg> I'm getting very tired of hitting "Reply" to send a private reply to
mgg> someone on the list, and ending up having my reply blasted to the
mgg> entire list.  This has happened too many times now, and I'm just about
mgg> fed up.

"DAMN IT!  CHANGE YOUR MAIL READER!"

Ahem.

A private note the list owner would have sufficed and not made a public
display of crass and rude behavior.  And not all mail readers are created
equal and not everyone has experienced this problem.  I personally prefer
the Reply-To: in lists due to the nature of getting stupid follow-up's in
which brain dead mail readers will place all the applicable addresses
within the To: and CC: headers, therefore I often get two copies of the
same message.

This thread doesn't belong on this list, and forgive my outburst on the
matter.

d.
-- 
              Darren Hall               | phone: 216-241-7166
   Postmaster/Systems Administration    | pager: 216-517-9522
              APK Net Ltd.              | email: dhall@apk.net

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 09:33:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA03868;
	Fri, 6 Jun 1997 09:28:48 -0500 (CDT)
Received: from delta.threel.co.uk (aT1OJ3kQoGPtneoGGp9s7vDij5OzuxGo@delta.threel.co.uk [195.188.234.13])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA03706
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 09:25:59 -0500 (CDT)
Received: from oberon.threel.co.uk by delta.threel.co.uk; (5.65v3.2/1.1.8.2/1996112801)
	id AA02509; Fri, 6 Jun 1997 15:25:56 +0100
Message-Id: <1.5.4.32.19970606142541.0066a204@delta.threel.co.uk>
Date: Fri, 06 Jun 1997 15:25:41 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sara Hopkins <sh@threel.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT! REMOVE THE REPLY-TO!!
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: sh@delta.threel.co.uk
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 08:53 06/06/1997 -0500, you wrote:
>I sent a request last night to the postmaster asking that they remove the
>Reply-To: redirect that was part of the list.  (I included some of the
>more colorful messages. ;-)) I suspect that others did so as well.  Mark's
>initial message went to the list owner. Well it looks as if they have
>done so.  This is really more of a test than anything else.  If your mail
>reader allows you to take a look at the headers, do so and see if the 
>Reply-To: is set back at the list.

A short section of headers:

Date: Fri, 6 Jun 1997 08:53:28 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Cc: owner-wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT! REMOVE THE REPLY-TO!!

Alas it appears that the Reply-To: is still set to the list ...

Sara


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 09:58:08 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA05560;
	Fri, 6 Jun 1997 09:52:58 -0500 (CDT)
Received: from dover.vision-solns.co.uk (dover.vision-solns.co.uk [193.130.74.254])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA06022
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 09:48:12 -0500 (CDT)
Received: by dover.vision-solns.co.uk; id PAA08560; Fri, 6 Jun 1997 15:43:03 +0100
Received: from flint.vision-solns.co.uk(192.168.74.4) by dover.vision-solns.co.uk via smap (3.2)
	id xma008558; Fri, 6 Jun 97 15:42:57 +0100
Received: from norwich.vision-solns.co.uk by flint.vision-solns.co.uk (SMI-8.6/SMI-SVR4)
	id PAA05439; Fri, 6 Jun 1997 15:47:28 +0100
Message-Id: <2.2.32.19970606144638.0069e960@flint>
Date: Fri, 06 Jun 1997 15:46:38 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Baker <mbaker@vision-solns.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Weird permission problems
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mark@flint
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hiya.  I've just installed wu-ftp on an AIX 4.1 machine and am having some
strange permission/access problems.

My guest users can log in, get and put files, move around and use the simple
ftp 'ls'.  However, they can't 'pwd', use zip/compress/tar or 'dir'/'ls -l'.
These all fail in various mostly quiet ways.

Oddly, one of my users (which seems to be the same as the others) can use
'pwd' but not any of the "external" commands.  If I allow the root user to
log in, everything works just fine.

I've had a wander around the code and the situation seems to be that the
getcw() routine is returning NULL but no error message.  Any calls to
external programs gets success on its "open" but provides no output.

Any thoughts?

Cheers,
Mark
|   /               \|/     VISION* Solutions
|  / . __  . _   _  /|\     Yorktown House, 8 Frimley Road
| / / /_  / / \ / \         Camberley, Surrey  V: +44-1276-677707
|/ / __/ /  \_//  /         GU15 3HS, UK       F: +44-1276-676567


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 10:10:53 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA06021;
	Fri, 6 Jun 1997 10:05:27 -0500 (CDT)
Received: from cnnt07.scripps.com (cnnt07.scripps.com [204.78.63.213])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA06400
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 10:01:24 -0500 (CDT)
Received: by cnnt07.scripps.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63)
	id <01BC7268.DBD9CAA0@cnnt07.scripps.com>; Fri, 6 Jun 1997 11:00:35 -0400
Message-Id: <c=US%a=_%p=Scripps_Howard%l=CNNT07-970606150033Z-3310@cnnt07.scripps.com>
Date: Fri, 6 Jun 1997 11:00:33 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Schramm, Rich" <RDSchramm@scripps.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: DAMN IT! REMOVE THE REPLY-TO!!
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.994.63
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Didn't work, my reply to your message went to the list...

>-----Original Message-----
>From:	Kent Landfield [SMTP:kent@landfield.com]
>Sent:	Friday, June 06, 1997 9:53 AM
>To:	wu-ftpd@wugate.wustl.edu
>Cc:	owner-wu-ftpd@wugate.wustl.edu
>Subject:	Re: DAMN IT! REMOVE THE REPLY-TO!!
>
>I sent a request last night to the postmaster asking that they remove the
>Reply-To: redirect that was part of the list.  (I included some of the
>more colorful messages. ;-)) I suspect that others did so as well.  Mark's
>initial message went to the list owner. Well it looks as if they have
>done so.  This is really more of a test than anything else.  If your mail
>reader allows you to take a look at the headers, do so and see if the 
>Reply-To: is set back at the list.
>
>-- 
>Kent Landfield                        Phone: 1-817-545-2502             
>The Landfield Group                   FAX:   1-817-545-7650             
>Email: kent@landfield.com             http://www.landfield.com/
>Please send comp.sources.misc related mail to kent@uunet.uu.net.
>Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 10:29:00 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA08421;
	Fri, 6 Jun 1997 10:23:26 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA07858
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 10:20:12 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id KAA21309;
	Fri, 6 Jun 1997 10:19:58 -0500
Message-Id: <Pine.LNX.3.95.970606101606.18829D-100000@ns1.fni.com>
Date: Fri, 6 Jun 1997 10:19:58 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Mark Baker <mbaker@vision-solns.co.uk>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Weird permission problems
In-Reply-To: <2.2.32.19970606144638.0069e960@flint>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


This is expected behaviour and is what SITE EXEC is all about.  Read the
INSTALL doc about executables.  If ls -l is not working, get a copy of the
guest howto (if you don't have it) and go over it carefully; it covers ls
installation.

   -- Michael

On Fri, 6 Jun 1997, Mark Baker wrote:

> Hiya.  I've just installed wu-ftp on an AIX 4.1 machine and am having some
> strange permission/access problems.
> 
> My guest users can log in, get and put files, move around and use the simple
> ftp 'ls'.  However, they can't 'pwd', use zip/compress/tar or 'dir'/'ls -l'.
> These all fail in various mostly quiet ways.


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 10:45:17 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA08526;
	Fri, 6 Jun 1997 10:41:34 -0500 (CDT)
Received: from arbi.Informatik.Uni-Oldenburg.DE (arbi.Informatik.Uni-Oldenburg.DE [134.106.1.7])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA08537
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 10:36:19 -0500 (CDT)
Received: by arbi.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0wa13r-0005QvC>; Fri, 6 Jun 97 17:36 CST
Received: by diamant.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0wa13r-0004wdC>; Fri, 6 Jun 97 17:36 MET DST
Received: by tuerkis.Informatik.Uni-Oldenburg.DE (Smail3.1.29.1)
	id <m0wa13p-000AgDC>; Fri, 6 Jun 97 17:36 MET DST
Message-Id: <m0wa13p-000AgDC@tuerkis.Informatik.Uni-Oldenburg.DE>
Date: Fri, 6 Jun 1997 17:36:16 +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: Weird permission problems
In-Reply-To: <2.2.32.19970606144638.0069e960@flint> from "Mark Baker" at Jun 6, 97 03:46:38 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Aliased: From u173034@tuerkis.Informatik.Uni-Oldenburg.DE (Walter Harms)
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 
> Hiya.  I've just installed wu-ftp on an AIX 4.1 machine and am having some
> strange permission/access problems.
> 
> My guest users can log in, get and put files, move around and use the simple
> ftp 'ls'.  However, they can't 'pwd', use zip/compress/tar or 'dir'/'ls -l'.
> These all fail in various mostly quiet ways.
> 
> Oddly, one of my users (which seems to be the same as the others) can use
> 'pwd' but not any of the "external" commands.  If I allow the root user to
> log in, everything works just fine.
> 
> I've had a wander around the code and the situation seems to be that the
> getcw() routine is returning NULL but no error message.  Any calls to
> external programs gets success on its "open" but provides no output.
> 
 I had equaly problems on my AIX, you must use the setupscript from IBM
 to have all the proper libs etc. Since this it works.


	walter


-- 
-----
"One good solid hope's worth a cartload of certainties!"
-----

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 10:52:08 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA09777;
	Fri, 6 Jun 1997 10:47:32 -0500 (CDT)
Received: from aardvark.ucs.ou.edu (aardvark.ucs.ou.edu [129.15.10.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA09609
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 10:44:34 -0500 (CDT)
Received: from jim-586-nt (steveth.ucs.ou.edu)
 by aardvark.ucs.ou.edu (PMDF V5.1-4 #17542)
 with SMTP id <01IJQZSOK3ZY002ELW@aardvark.ucs.ou.edu> for
 wu-ftpd@wugate.wustl.edu; Fri, 6 Jun 1997 10:46:00 CDT
Message-Id: <33982F1A.5D90@msmailhub.oulan.ou.edu>
Date: Fri, 06 Jun 1997 10:39:06 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: shad3064@msmailhub.oulan.ou.edu
To: wu-ftpd@wugate.wustl.edu
Subject: unscribe
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Mailer: Mozilla 3.01Gold (WinNT; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

unscribe

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 11:33:45 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA11996;
	Fri, 6 Jun 1997 11:28:17 -0500 (CDT)
Received: from light.lightlink.com (homer@light.lightlink.com [205.232.34.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA11655
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 11:18:22 -0500 (CDT)
Received: from localhost (homer@localhost)
	by light.lightlink.com (8.8.5/8.8.5) with SMTP id MAA13254
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 12:18:14 -0400 (EDT)
Message-Id: <Pine.SUN.3.95.970606121748.7685N-100000@light.lightlink.com>
Date: Fri, 6 Jun 1997 12:18:11 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Re: DAMN IT! REMOVE THE REPLY-TO!! (fwd)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

  
   My Reply-To: is back to the list.

Message-Id: <199706061353.IAA06289@landfield.com>
Date: Fri, 6 Jun 1997 08:53:28 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Cc: owner-wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT! REMOVE THE REPLY-TO!!
In-Reply-To: <Pine.A41.3.95.970606121524.13992L-100000@jkjerome.cc.rl.ac.uk> from "Mike Ellwood" at Jun 6, 97 12:17:13 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: 8.0 -- ListProcessor(tm) by CREN

I sent a request last night to the postmaster asking that they remove the
Reply-To: redirect that was part of the list.  (I included some of the
more colorful messages. ;-)) I suspect that others did so as well.  Mark's
initial message went to the list owner. Well it looks as if they have
done so.  This is really more of a test than anything else.  If your mail
reader allows you to take a look at the headers, do so and see if the 
Reply-To: is set back at the list.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 11:53:51 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA13208;
	Fri, 6 Jun 1997 11:49:12 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA13787;
	Fri, 6 Jun 1997 11:45:14 -0500 (CDT)
Message-Id: <199706061645.LAA07594@landfield.com>
Date: Fri, 6 Jun 1997 11:45:51 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Cc: postmaster@wugate.wustl.edu
Subject: Headers on wu-ftpd list messages
In-Reply-To: <Pine.SUN.3.95.970606121748.7685N-100000@light.lightlink.com> from "Homer W. Smith" at Jun 6, 97 12:18:11 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: 8.0 -- ListProcessor(tm) by CREN

#    My Reply-To: is back to the list.
# 
# Message-Id: <199706061353.IAA06289@landfield.com>
# Date: Fri, 6 Jun 1997 08:53:28 -0500 (CDT)
# Reply-To: wu-ftpd@wugate.wustl.edu
# Sender: owner-wu-ftpd@wugate.wustl.edu
# From: Kent Landfield <kent@landfield.com>
# To: wu-ftpd@wugate.wustl.edu
# Cc: owner-wu-ftpd@wugate.wustl.edu

Well... It looks as if my local mail environment masked the Reply-To:...
I have sent a message to the person who is listed as the list owner in
listproc.  Let's take this offline and give them a chance to get to it.
I'm sure we can convince them to change the list semantics.  Just may take
a bit longer.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 12:18:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA14457;
	Fri, 6 Jun 1997 12:13:16 -0500 (CDT)
Received: from unet.univie.ac.at (unet.univie.ac.at [131.130.230.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA13235
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 12:08:59 -0500 (CDT)
Received: (from a8505970@localhost) by unet.univie.ac.at (8.7.1/8.7.1) id TAA41334; Fri, 6 Jun 1997 19:08:55 +0200
Message-Id: <Pine.A32.3.91.970606185538.38738A-100000@unet.univie.ac.at>
Date: Fri, 6 Jun 1997 19:08:55 +0200 (MSZ)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: a8505970@unet.univie.ac.at
To: wu-ftpd@wugate.wustl.edu
Subject: v2.4->2.4.2-beta-13: COMPRESS, TAR not working
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Just upgraded from wu-ftpd-2.4-academ to wu-ftpd-2.4.2-beta-13 and the 
"on the fly" tar archiving and compresison stopped working.

I used the same ftpconversions file, also the path for it should be right.
All I get is a "550 dir.tar.gz: No such file OR directory." error.

Has anyone experienced similar problems? Turning on debugging did not
reveal any further information. Platform is Alpha Digital Unix v4.0b with
a series of patches. 

-Michael

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 12:23:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA14871;
	Fri, 6 Jun 1997 12:19:21 -0500 (CDT)
Received: from camco2.celestial.com (root@camco2.celestial.com [192.136.111.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA15146
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 12:16:53 -0500 (CDT)
Received: by camco2.celestial.com
	via sendmail with stdio
	id <m0wa2ea-0028DfC@camco2.celestial.com>
	for wu-ftpd@wugate.wustl.edu; Fri, 6 Jun 1997 10:18:20 -0700 (PDT)
	(Smail-3.2.0.92 1997-Feb-9 #7 built 1997-Feb-22)
Message-Id: <19970606101820.36668@camco2.celestial.com>
Date: Fri, 6 Jun 1997 10:18:20 -0700
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Campbell <bill@camco2.celestial.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Re: DAMN IT! REMOVE THE REPLY-TO!!
In-Reply-To: <1.5.4.32.19970606142541.0066a204@delta.threel.co.uk>; from Sara Hopkins on Fri, Jun 06, 1997 at 03:25:41PM +0100
References: <1.5.4.32.19970606142541.0066a204@delta.threel.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.67
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

See http://www.unicom.com/FAQ/reply-to-harmful.html

I use the mutt mailer which asks if I want to accept the Reply-To: or
use the From: header.  This has saved my butt many times.

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

Government spending?  I don't know what it's all about.  I don't know
any more about this thing than an economist does, and, God knows, he
doesn't know much.
		-- Will Rogers

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 14:10:04 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA21480;
	Fri, 6 Jun 1997 14:02:49 -0500 (CDT)
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA20969
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 13:55:31 -0500 (CDT)
Received: from ranvier (ranvier.ucsd.edu [132.239.16.28]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id LAA14229 for <@ucsd.edu:wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 11:55:29 -0700 (PDT)
Received: by ranvier (940816.SGI.8.6.9/940406.SGI)
	for wu-ftpd@wugate.wustl.edu id LAA13768; Fri, 6 Jun 1997 11:55:29 -0700
Message-Id: <9706061155.ZM13766@ranvier.ucsd.edu>
Date: Fri, 6 Jun 1997 11:55:29 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mona Wong" <mona@ranvier.ucsd.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: invalid user prompting/not prompting for password
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi wu-ftpd users:

	There has been some discussions on the list lately regarding the
behavior of wu-ftpd when given an invalid username.

	Here is what I've found:

	If the ftpaccess file exists, then:
		Name (alex:mona): garbage
		331 Password required for garbage.
		Password:
		530 Login incorrect.
		Login failed.

	If the ftpaccess file does not exist, then:
		Name (alex:mona): garbage
		530 User garbage access denied....
		Login failed.

	Hopefully this helps someone :-)

Mona


-- 
===============================================================
Mona Wong, Programmer & Web Administrator
National Center for Microscopy and Imaging Research
University of California, San Diego
http://www-ncmir.ucsd.edu
===============================================================


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 14:38:25 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA22874;
	Fri, 6 Jun 1997 14:31:31 -0500 (CDT)
Received: from cbgw2.lucent.com (cbgw2.lucent.com [192.20.239.134])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA20457
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 14:25:53 -0500 (CDT)
Received: from ascc01.ascc.lucent.com by cbig2.firewall.lucent.com (SMI-8.6/EMS-L sol2)
	id PAA06776; Fri, 6 Jun 1997 15:24:36 -0400
Received: from zeppelin.ascc by ascc01.ascc.lucent.com (5.x/EMS-L sol2)
	id AA24682; Fri, 6 Jun 1997 15:26:42 -0400
Received: from localhost by zeppelin.ascc (SMI-8.6/SMI-SVR4)
	id PAA24592; Fri, 6 Jun 1997 15:26:34 -0400
Message-Id: <Pine.SOL.3.95.970606151501.24127B-100000@zeppelin>
Date: Fri, 6 Jun 1997 15:26:33 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marcus Eric Harris <marcush@ascc01.ascc.lucent.com>
To: WU-FTPD Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: [Q]: Default transfer mode/auto-sense of remote host type...
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: marcush@zeppelin
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello, all!

Could someone be so kind as to point me in the direction of a FAQ, README,
or some other source so I can get instruction on how to resolve this
problem:

	When a user logs in, I want the server to automatically do two
	things:

	. Automatically set the file transfer mode to 'binary'
	. Auto-sense the system type of the remote host 

I'm sure most of us recognize these familiar responses from the
wu-ftpd server upon a successful anonymous login:

	.
	.
	.
	230  Guest login ok, access restrictions apply.
	Remote system type is UNIX.
	Using binary mode to transfer files.
	ftp>

Any help is, as always, greatly appreciated!

Regards,

Marcus E. Harris

--- 
Marcus E. Harris                   Software Developer/Process Engineer
Lucent Technologies -- Bell Labs   Work Phone:  919.380.4555
2000 Regency Park                  Facsimile :  919.380.4640
Suite #500                         E-Mail: harrism@lucent.com (or)
Cary, North Carolina 27511                 marcush@ascc01.ascc.lucent.com
---------------------------------------------------------------------------
"Out the 10Base-T, through the router, down the T-1, over the leased line,
 off the bridge, past the firewall ... nothin' but Net."


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 15:38:36 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA27612;
	Fri, 6 Jun 1997 15:32:17 -0500 (CDT)
Received: from cagw1.att.com (cagw1.att.com [192.128.52.89])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA27428
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 15:28:26 -0500 (CDT)
Received: from lynxhub.ho.att.com by caig1.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id QAA21620; Fri, 6 Jun 1997 16:21:36 -0400
Received: from ROGERH ([135.16.115.112]) by lynxhub.ho.att.com (5.x/EMS-1.2 sol2)
	id AA10847; Fri, 6 Jun 1997 16:26:16 -0400
Received: by ROGERH with Microsoft Mail
	id <01BC7297.19410150@ROGERH>; Fri, 6 Jun 1997 16:31:34 -0400
Message-Id: <01BC7297.19410150@ROGERH>
Date: Fri, 6 Jun 1997 16:31:31 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Roger A. Hanke" <rah@lynxhub.ho.att.com>
To: "'WUFTPD List'" <wu-ftpd@wugate.wustl.edu>
Cc: "'John Valdes'" <jev@lynxhub.ho.att.com>,
        "'John Greco'"
	 <jag@lynxhub.ho.att.com>,
        "'Roger A. Hanke'"
	 <rah@lynxhub.ho.att.com>
Subject: user account cracking status
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear WUFTPD'ers,

 First new piece of info, is try the same exercise on your native FTP server.
On IRIX 6.2 I was prompted for password as expected.
On Solaris 2.5.1 I got the same result as with my WUFTPD B13 version:

220 hdpst01 FTP server (UNIX(r) System V Release 4.0) ready.
Name (hdpst01:rah): garbage
530 User garbage access denied.
Login failed. 

 Next new piece of info was the one other person that reproduced the same
problem with B13 now claims her version is working fine. Everyone else
that responded (yes 100% for you lurkers out there) was completely secure
(well, at least in this area ;-)

 Final piece of info was by putting a real class into my ftpaccess file the 
problem goes away, as long as the ftp client meets the access restriction
on that real line. I did not have a real class on purpose since this is a public
download server that anyone can bang against. If they broke in I at least 
wanted them chrooted someplace to protect the core server files. 
Anyway you can test this easily by commenting out your real class line
(if anyone does this and still gets prompted for password on a garbage
username please let me know!). Also you can make your real class line
too restrictive, so that your test ftp client does not have access and again
you should see the access denied after username before password prompt.

 So I do not want to add a real class line, nor do I feel I should have to just
to ensure I always get a password prompt. I realize I could list every real
account in ftpusers to deny them access but this introduces maintenance
issues and can get out of sync. I would classify this problem as a bug in
WUFTPD. I believe it should always prompt you for username and password
before any errors, including access denied are issued. 

 Does anyone with more familiarity with the code have any guesses on how
difficult a patch this might be? I am also open for suggestions on any
workarounds besides putting in "class everybody real *" in my ftpaccess file.

 Thanx for your patience if you made it this far ;-)
	Roger Hanke

 
------------------------------------------------------------------------------------
 Roger A. Hanke              AT&T Web Site Services
 (908)949-4091                   rah@lynxhub.ho.att.com or
 FAX (908)949-7171                    rhanke@att.com
 HO 6C-111                         http://lynxhub.ho.att.com/~rah/	
------------------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 17:10:27 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA32567;
	Fri, 6 Jun 1997 17:02:56 -0500 (CDT)
Received: from fotd.netcomi.com (asbestos.netcomi.com [204.58.155.101])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id QAA18181
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 16:56:56 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1])
	by fotd.netcomi.com (8.8.5/8.8.5) with SMTP id QAA18439
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 16:56:24 -0500
Message-Id: <Pine.LNX.3.95.970606164914.18402B-100000@fotd.netcomi.com>
Date: Fri, 6 Jun 1997 16:56:24 -0500 (CDT)
Reply-To: fishbowl@netcomi.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "James L. McGill" <fishbowl@fotd.netcomi.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Limit Number of Times a User can DL a File?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Please do not flame me for asking, but this one comes from my 
manager.  I have already said I do not think it can be done easily,
if at all.

I have a directory containing a file, and I will be using a true
authentication name/password, not anonymous.  

I would have to ensure that a user may download a particular file 
no more than THREE times.  (I hate this.  Business people think
in terms of baseball, or maybe the number of times Dorothy had to 
click her heels together.)

At any rate, if there is something about WUFTPD that I have overlooked
that can handle this situation for me, I'd be much obliged to hear
ideas for a solution.  I have suggested expiring the password after
a specified amount of time, and other pure unix concepts, but I do 
not even know why they want to do this "3 times" deal.

If there is a way, trivial or not, to just quietly deliver this
and be my usual heroic matter-of-fact can-do unix guy, it would be
cool.  If I can just say "No, you can't do that with FTP" that's
cool too.


--
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/      ]-----l-i-g-h-t


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 17:16:04 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA31694;
	Fri, 6 Jun 1997 17:08:40 -0500 (CDT)
Received: from finnegan.EE.McGill.CA (root@Finnegan.EE.McGill.CA [132.206.1.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA28313
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 17:03:42 -0500 (CDT)
Received: from spock2.EE.McGill.CA (alainm@Spock2.EE.McGill.CA [132.206.63.10])
	by finnegan.EE.McGill.CA (8.8.5/8.8.5) with ESMTP id SAA12264;
	Fri, 6 Jun 1997 18:03:39 -0400 (EDT)
Received: by spock2.EE.McGill.CA (8.8.5) id SAA04597; Fri, 6 Jun 1997 18:03:38 -0400 (EDT)
Message-Id: <199706062203.SAA04597@spock2.EE.McGill.CA>
Date: Fri, 6 Jun 1997 18:03:37 -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: jev@lynxhub.ho.att.com, jag@lynxhub.ho.att.com, rah@lynxhub.ho.att.com
Subject: Re: user account cracking status
In-Reply-To: <01BC7297.19410150@ROGERH> from "Roger A. Hanke" at Jun 6, 97 04:31: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: 8.0 -- ListProcessor(tm) by CREN

Bonjour Roger

> 
>  First new piece of info, is try the same exercise on your native FTP server.
> On IRIX 6.2 I was prompted for password as expected.
> On Solaris 2.5.1 I got the same result as with my WUFTPD B13 version:
> 
> 220 hdpst01 FTP server (UNIX(r) System V Release 4.0) ready.
> Name (hdpst01:rah): garbage
> 530 User garbage access denied.
> Login failed. 
> 

...

>  Does anyone with more familiarity with the code have any guesses on how
> difficult a patch this might be?

A patch should not be hard to do. In ftpd.c, the fucntion user() 
calls access_ok() which will return 0 because they're is no class
directive in the ftpaccess file and logs you out with :

"530 User .."

ftpd.c ----
user(char *name)
..
{
...
    if (access_ok(530) < 1) {
        reply(530, "User %s access denied....", name);
        syslog(LOG_NOTICE, "FTP LOGIN REFUSED (access denied) FROM %s [%s], %s",
               remotehost, remoteaddr, name);
        return;
...
}

access.c----
access_ok(int msgcode)
...
    /* if user is not in any class, deny access */
    if (!acl_getclass(class)) {
        syslog(LOG_NOTICE, "ACCESS DENIED (not in any class) TO %s [%s]",
               remotehost, remoteaddr);
        return (0);
....

> I am also open for suggestions on any
> workarounds besides putting in "class everybody real *" in my ftpaccess file.

when compiling set use_accessfile to 0, so you  won't have to use
the ftpaccess file.

> 
>  Thanx for your patience if you made it this far ;-)

Sure :-), this mail was forward to me by a coworker. I did not see any
previous posting, but I think you came up with some valuable info.

please CC me on any followups, many thanks

-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 19:16:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA05441;
	Fri, 6 Jun 1997 19:09:40 -0500 (CDT)
Received: from loekie.city.unisa.edu.au (Loekie.City.UniSA.edu.au [136.169.21.135])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA05506
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 19:03:31 -0500 (CDT)
Received: (from netmwdr@localhost) by loekie.city.unisa.edu.au (8.6.12/8.6.12) id AAA02951; Sat, 7 Jun 1997 00:03:09 GMT
Message-Id: <Pine.BSF.3.91.970607000102.2940C-100000@loekie.city.unisa.edu.au>
Date: Sat, 7 Jun 1997 00:02:57 +0000 ()
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mark W. de Raad" <netmwdr@loekie.city.unisa.edu.au>
To: fishbowl@netcomi.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Limit Number of Times a User can DL a File?
In-Reply-To: <Pine.LNX.3.95.970606164914.18402B-100000@fotd.netcomi.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 6 Jun 1997, James L. McGill wrote:

> If there is a way, trivial or not, to just quietly deliver this
> and be my usual heroic matter-of-fact can-do unix guy, it would be
> cool.  If I can just say "No, you can't do that with FTP" that's
> cool too.

This sort of thing would be much easier to setup under HTTP than FTP
using a simple CGI script with login - you can keep track exactly of
who is doing what/where/when/how many times etc etc... I think the 
FTP protocol is too 'open' to allow this type of restriction... 

Mmm.. heroic Unix guy to the rescue? Try running a 5 million hit/month
WWW server of a p100 with 32mb ram *chuckle* :p hehehe funny world out
there huh?

Cheers,

M

Mark W. de Raad			    			o
					             _ /-_
University of South Australia                 ......(_)>(_)
Australia

Telephone: (+6115) 717 472
In Australia: 015 717 472
For Quick response, please mail: Mark.deRaad@UniSA.edu.au

                              _\\|//_
                              ( O-O )
---------------------------o00--(_)--00o------------------------------
                    I Can't Even Think StRaIgHt!
 ..We learn from history that we do not learn anything from history..


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun  6 21:57:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id VAA09886;
	Fri, 6 Jun 1997 21:48:04 -0500 (CDT)
Received: from sun.alegria.com (sun.alegria.com [204.216.9.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id VAA09528
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Jun 1997 21:47:19 -0500 (CDT)
Received: by sun.alegria.com
	via sendmail with stdio
	id <m0waBVq-000AKiC@sun.alegria.com>
	for wu-ftpd@wugate.wustl.edu; Fri, 6 Jun 1997 19:45:54 -0700 (PDT)
	(Smail-3.2.0.80 1996-Nov-10 #4 built 1997-Mar-31)
Message-Id: <m0waBVq-000AKiC@sun.alegria.com>
Date: Fri, 6 Jun 1997 19:45:54 -0700
Reply-To: Rob Lingelbach <rob@alegria.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: rob@sun.alegria.com (Rob Lingelbach)
To: mgg@sol.tins.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: DAMN IT!  REMOVE THE REPLY-TO!!
In-Reply-To: Mark Galbraith <mgg@sol.tins.net>
       "DAMN IT!  REMOVE THE REPLY-TO!!" (Jun  5, 16:16)
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Jun 5, 16:16, Mark Galbraith wrote:
} Subject: DAMN IT!  REMOVE THE REPLY-TO!!

> I'm getting very tired of hitting "Reply" to send a private reply to
> someone on the list, and ending up having my reply blasted to the entire
> list.  This has happened too many times now, and I'm just about fed up.
> 
> Please let me know why you insist on mangling the Reply-To header.  I am
> very close to resigning from this list over this.  If you are planning
> to correct this misbehavior, I'll hold off.  If this doesn't change

the funny thing about this is, that when I looked at the Reply-To: on
your message quoted above, it contained your address only, which would
seem the opposite of what you thought.  And then, after the hue and
cry was raised on this mailinglist, the Reply-To: was changed to the
list address, which is definitely uncool!  Here are the applicable
headers from your message above, before the most recent change:

Date: Thu, 5 Jun 1997 16:16:08 -0700 (PDT)
Reply-To: mgg@sol.tins.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Galbraith <mgg@sol.tins.net>
To: owner-wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: DAMN IT!  REMOVE THE REPLY-TO!!

...so I would suggest that it's possible your mailer was using a
different header to generate the reply address, or else is using some
variation of a reply-to-all function.  The Reply-To: is set to the
author, not the list, which is 'considered' good net practice.

here are the headers from a more recent email through the wu-ftpd
group:

Date: Sat, 7 Jun 1997 00:02:57 +0000 ()
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mark W. de Raad" <netmwdr@loekie.city.unisa.edu.au>
To: fishbowl@netcomi.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Limit Number of Times a User can DL a File?

....so am I crazy, or has the *opposite* of the intended 'change'
taken place, i.e. the wu-ftpd list now has a reply-to pointing back to
the list, which (as was pointed out and is documented in
http://www.unicom.com/FAQ/reply-to-harmful.html) removes the
capability from most mailers of replying to only the author or only the
list, via the two reply functions (reply and reply-to-all)?

--Rob


-- 
Rob Lingelbach          |  2660 Hollyridge Dr., Los Angeles, CA 90068
rob@alegria.com  	| "I care not much for a man's religion whose dog or 
rob@info.com		|  cat are not the better for it."  --Abraham Lincoln
rob@cloister.org		KB6CUN   http://www.alegria.com

From owner-wu-ftpd@wugate.wustl.edu  Sat Jun  7 11:32:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA06848;
	Sat, 7 Jun 1997 11:26:46 -0500 (CDT)
Received: from nic2.sch.bme.hu (qmailr@nic2.sch.bme.hu [152.66.148.8])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA06564
	for <wu-ftpd@wugate.wustl.edu>; Sat, 7 Jun 1997 11:22:01 -0500 (CDT)
Received: (qmail 25883 invoked from network); 7 Jun 1997 16:22:02 -0000
Received: from unknown (HELO dlux.sch.bme.hu) (unknown)
  by unknown with SMTP; 7 Jun 1997 16:22:02 -0000
Received: from localhost (dlux@localhost)
          by dlux.sch.bme.hu (8.8.5/8.8.4) with SMTP
	  id SAA22039 for <wu-ftpd@wugate.wustl.edu>; Sat, 7 Jun 1997 18:21:45 +0200
Message-Id: <Pine.LNX.3.95.970607182043.20789B-100000@dlux.sch.bme.hu>
Date: Sat, 7 Jun 1997 18:21:45 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Szabo, Balazs" <dlux@sch.bme.hu>
To: wu-ftpd@wugate.wustl.edu
Subject: Bandwidth limitation
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-Authentication-Warning: dlux.sch.bme.hu: dlux owned process doing -bs
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by wugate.wustl.edu id LAA06791
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi!

  Can you get me an url where I can find patch for bandwidth limitation and
virtual (not password-file) users?

Thanks,

   < Szabó, Balázs Tibor - dLux >  - Hydrogen - HuLUG - Allinphos - Hp48gx
   ( mailto:dlux@hungary.net, mailto:dlux@enet.hu, http://dlux.sch.bme.hu )
  ( mailto:dlux@usa.net, mailto:dlux@dlux.sch.bme.hu, mailto:dlux@tarki.hu )
    * Whip me. Beat me. Make me maintain AIX. * Magzar billentzuyet suxx *


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun  7 11:55:59 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA08381;
	Sat, 7 Jun 1997 11:51:04 -0500 (CDT)
Received: from noaardc.noaa.gov (noaardc.noaa.gov [140.90.27.61])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA07297
	for <wu-ftpd@wugate.wustl.edu>; Sat, 7 Jun 1997 11:43:21 -0500 (CDT)
Message-Id: 
  <047B73399916D001*/c=US/admd=ATTMAIL/prmd=GOV+NOAA/o=CCNWS/s=Matusiewicz/g=Joseph/@MHS>
Date: 07 Jun 1997 12:50:53 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Joseph Matusiewicz <Joseph.Matusiewicz@noaa.gov>
To: wu-ftpd@wugate.wustl.edu (Return requested)
Subject: Weird permission problems
Content-Identifier: 047B73399916D001
Content-Return: Allowed
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


     >My guest users can log in, get and put files, move around and use the 
     >simple
     >ftp 'ls'.  However, they can't 'pwd', use zip/compress/tar or 
     >'dir'/'ls -l'.
     >These all fail in various mostly quiet ways.
     
     Mark, 
     
     To get ls,dir,pwd,etc. to work on my AIX boxes, I had to add the ls 
     command to the ~ftp/bin directory and libc.a to the ~ftp/lib 
     directory.  To get compress,tar,etc. to work, I had to add libbsd.a, 
     libcurses.a, and libs.a to the ~ftp/lib directory.
     
     Hope this helps,
     
                                _
                             {(ojo)}
                              |\Q/|
joe matusiewicz               \/-\/
national weather service       | |
silver spring, md 20910       / /
301.713.0864 ext 174           \ \
joseph.matusiewicz@noaa.gov    /__\

      

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 00:36:08 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA15268;
	Mon, 9 Jun 1997 00:32:15 -0500 (CDT)
Received: from light.lightlink.com (homer@light.lightlink.com [205.232.34.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id AAA14335
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 00:20:39 -0500 (CDT)
Received: from localhost (homer@localhost)
	by light.lightlink.com (8.8.5/8.8.5) with SMTP id BAA07577
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 01:20:33 -0400 (EDT)
Message-Id: <Pine.SUN.3.95.970609011954.7502A-100000@light.lightlink.com>
Date: Mon, 9 Jun 1997 01:20: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: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Linux and logs
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


    Running Linux 2.0.28 with wuftpd beta 12
 
    Why are *NO* logs showing up in /var/log/xferlog?
 
    Thanks.

    Homer

------------------------------------------------------------------------
Homer Wilson Smith     News, Web, Telnet      Art Matrix - Lightlink
(607) 277-0959         E-mail, FTP, Shell     Internet Access, Ithaca NY
homer@lightlink.com    info@lightlink.com     http://www.lightlink.com


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 03:14:13 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id DAA20028;
	Mon, 9 Jun 1997 03:10:32 -0500 (CDT)
Received: from lucinda.digigami.com (root@lucinda.digigami.com [199.106.62.125])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id DAA20109
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 03:06:10 -0500 (CDT)
Received: from arrakis (nobody@gatekeeper.digigami.com [199.106.62.11]) by lucinda.digigami.com (8.8.5/8.8.2) with SMTP id BAA05242; Mon, 9 Jun 1997 01:06:08 -0700 (PDT)
Message-Id: <3.0.1.32.19970609010530.00a4f950@popmail.digigami.com>
Date: Mon, 09 Jun 1997 01:05:30 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scott Callaway <scottc@digigami.com>
To: wu-ftpd@wugate.wustl.edu, "Homer W. Smith" <homer@lightlink.com>
Subject: Re: Linux and logs
In-Reply-To: <Pine.SUN.3.95.970609011954.7502A-100000@light.lightlink.co
 m>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: scottc@popmail.digigami.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 01:20 AM 6/9/97 -0400, you wrote:
>
>    Running Linux 2.0.28 with wuftpd beta 12
> 
>    Why are *NO* logs showing up in /var/log/xferlog?

In RedHat Linux, I had to add the following line to the 
 /etc/syslog.conf file:

ftp.*                            /var/log/xferlog

If you don't do this, I think the logging goes into the 
 /var/log/messages file.

Hope this helps,


-- Scott C.
______________________________________________________________________
  Scott Callaway         scottc@digigami.com          619-231-2600
  Digigami Inc.,   624 Broadway  Suite 200,   San Diego,    CA.  92101
 1:1000               <http://www.digigami.com>
______________________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 05:17:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA23235;
	Mon, 9 Jun 1997 05:12:39 -0500 (CDT)
Received: from dover.vision-solns.co.uk (dover.vision-solns.co.uk [193.130.74.254])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA23415
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 05:06:23 -0500 (CDT)
Received: by dover.vision-solns.co.uk; id LAA02729; Mon, 9 Jun 1997 11:01:18 +0100
Received: from flint.vision-solns.co.uk(192.168.74.4) by dover.vision-solns.co.uk via smap (3.2)
	id xma002727; Mon, 9 Jun 97 11:01:06 +0100
Received: from norwich.vision-solns.co.uk by flint.vision-solns.co.uk (SMI-8.6/SMI-SVR4)
	id LAA02460; Mon, 9 Jun 1997 11:05:39 +0100
Message-Id: <2.2.32.19970609100446.00699230@flint>
Date: Mon, 09 Jun 1997 11:04:46 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Baker <mbaker@vision-solns.co.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: AIX permission problems
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mark@flint
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi everyone.  I have a solutions (thank you Joe Matusiewicz) so thought I'd
summarise here.  I'll file these changes for a future update of wu-ftp along
with the code changes I had to make to compile the sucker successfully under
AIX.

In addition to all the other installation requirements, on an AIX box, the
following libraries need to be copied from /usr/lib to ~ftp/lib:
        libc.a (for ls)
        libbsd.a, libcurses.a, libs.a (for compress/gzip/tar)

Once these are installed, the external binaries work just fine.

The 'pwd' problem was just file permission irregularities (do I feel
sheepish). Unfortunately, the only response you get from AIX in this case is
that it failed with _maybe_ some strange character returned.

Thanks to everyone for their assistance.

Cheers,
Mark
|   /               \|/     VISION* Solutions
|  / . __  . _   _  /|\     Yorktown House, 8 Frimley Road
| / / /_  / / \ / \         Camberley, Surrey  V: +44-1276-677707
|/ / __/ /  \_//  /         GU15 3HS, UK       F: +44-1276-676567


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 08:47:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA00304;
	Mon, 9 Jun 1997 08:42:27 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA00060
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 08:41:20 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id IAA17612
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 08:40:53 -0500
Message-Id: <Pine.LNX.3.95.970609083800.17460A-100000@ns1.fni.com>
Date: Mon, 9 Jun 1997 08:40:52 -0500 (CDT)
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: Linux and logs
In-Reply-To: <Pine.SUN.3.95.970609011954.7502A-100000@light.lightlink.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Do you have logging enabled in /etc/ftpaccess?  Is your compile time log
configuration set right?  (~src/config/config.lnx,~src/pathnames.h)

   -- Michael

On Mon, 9 Jun 1997, Homer W. Smith wrote:

>     Running Linux 2.0.28 with wuftpd beta 12
>  
>     Why are *NO* logs showing up in /var/log/xferlog?


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 10:00:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA30704;
	Mon, 9 Jun 1997 09:55:09 -0500 (CDT)
Received: from cagw2.att.com (cagw2.att.com [192.128.52.90])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA29956
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 09:51:21 -0500 (CDT)
Received: from lynxhub.ho.att.com by caig2.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id KAA27062; Mon, 9 Jun 1997 10:59:22 -0400
Received: from ROGERH ([135.16.115.112]) by lynxhub.ho.att.com (5.x/EMS-1.2 sol2)
	id AA10292; Mon, 9 Jun 1997 10:49:10 -0400
Received: by ROGERH with Microsoft Mail
	id <01BC74C3.98E76EC0@ROGERH>; Mon, 9 Jun 1997 10:55:09 -0400
Message-Id: <01BC74C3.98E76EC0@ROGERH>
Date: Mon, 9 Jun 1997 10:54:57 -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: "'Alain Magloire'" <alain.magloire@rcsm.ee.mcgill.ca>
Cc: "'WUFTPD List'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: user account cracking status
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Bonjour Alain,

----------
From: 	Alain Magloire[SMTP:alain.magloire@rcsm.ee.mcgill.ca]
Sent: 	Friday, June 06, 1997 6:03 PM
To: 	wu-ftpd@wugate.wustl.edu
Cc: 	jev@lynxhub; jag@lynxhub; rah@lynxhub
Subject: 	Re: user account cracking status

Bonjour Roger

> 
>  First new piece of info, is try the same exercise on your native FTP server.
> On IRIX 6.2 I was prompted for password as expected.
> On Solaris 2.5.1 I got the same result as with my WUFTPD B13 version:
> 
> 220 hdpst01 FTP server (UNIX(r) System V Release 4.0) ready.
> Name (hdpst01:rah): garbage
> 530 User garbage access denied.
> Login failed. 
> 

..

>  Does anyone with more familiarity with the code have any guesses on how
> difficult a patch this might be?

A patch should not be hard to do. In ftpd.c, the fucntion user() 
calls access_ok() which will return 0 because they're is no class
directive in the ftpaccess file and logs you out with :
>> Well I am still very hesitant to hack code I am not familiar with.
Also have only been doing Perl programming lately, so C is a little rusty.
But this does explain exactly the behaviour I have been reporting.
But the important issue that remains is, is it reasonably simple to store this
failure return, continue with processing, then fail them after the password
check (wouldnt happen to know where that is done would you ;-)
because of the previous access list failure? That is the only way I can
think of always seeing the password prompt before any error is returned.
Do you agree that should always be the case? I would like to make sure
the design is acceptable to the list in general as I see this as something that
should be incorporated in the next version.
"530 User .."

ftpd.c ----
user(char *name)
.
{
..
    if (access_ok(530) < 1) {
        reply(530, "User %s access denied....", name);
        syslog(LOG_NOTICE, "FTP LOGIN REFUSED (access denied) FROM %s [%s], %s",
               remotehost, remoteaddr, name);
        return;
..
}

access.c----
access_ok(int msgcode)
..
    /* if user is not in any class, deny access */
    if (!acl_getclass(class)) {
        syslog(LOG_NOTICE, "ACCESS DENIED (not in any class) TO %s [%s]",
               remotehost, remoteaddr);
        return (0);
...

> I am also open for suggestions on any
> workarounds besides putting in "class everybody real *" in my ftpaccess file.

when compiling set use_accessfile to 0, so you  won't have to use
the ftpaccess file.
>> I do use guest logins and other stuff which of course all require ftpaccess
so cant get away with this :-(
> 
>  Thanx for your patience if you made it this far ;-)

Sure :-), this mail was forward to me by a coworker. I did not see any
previous posting, but I think you came up with some valuable info.
>> Yeah I am not sure why more people werent concerned about this.
Yours was the only response I got once I had finally nailed down the 
problem. I guess most people are using reals and expect to continue to
do so, so feel this wont ever affect them. But I cant believe they aren't using
some access controls on their reals, and if a user comes in from an invalid
IP or domain the same problem does occur. And unfortunately it is very easy
to crack the username and password when you can attack them in separate
steps. 
 Perhaps noone is allowing guest class logins from * (the internet) like
I am, and it is a guest class login they would be cracking into in my case.
My whole problem seems to be in ftpaccess where I only allow guest class
logins from *. This means the only way to get past the access control list
checking in ftpaccess is to enter a valid guest username. And of course 
this leads to the two distinguishable responses, when you enter an invalid
username and a valid guest class one :-( 
	Roger

please CC me on any followups, many thanks

-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!




From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 10:06:45 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA05462;
	Mon, 9 Jun 1997 10:01:02 -0500 (CDT)
Received: from twcol.com ([208.155.225.40])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA05671
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 10:00:09 -0500 (CDT)
Received: from localhost (paul@localhost) by twcol.com (8.8.5/8.8.5) with SMTP id LAA04907 for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 11:00:19 -0400 (EDT)
Message-Id: <Pine.GSO.3.96.970609104918.4851C-100000@wormhole.twcol.com>
Date: Mon, 9 Jun 1997 11:00:19 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul S. Bentivegna" <paul@wormhole.twcol.com>
To: wu-ftpd@wugate.wustl.edu
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

   I'm running Solaris x86 2.5.1 on a Dual PP200 Mhz.  I have the GNU gcc
compiler installed and running.  I downloaded, compiled, and installed the
latest version (wu-ftpd-2.4.2-beta-13) ftpd and it seems to work ok, with
2 exceptions.  

1. When I issue the ftpwho, and ftpcount commands they always return 0
users (remote/local).  I ran ckconfig and it showed everything OK.

2. Logging doesn't seem to work at all.  The logfile is there:

-rwxrwxrwx   1 root     root           0 May 28 18:20 /var/log/xferlog

and:
---------pathnames.h--------------
#define _PATH_BSHELL    "/bin/sh"
#define _PATH_DEVNULL   "/dev/null"
#define _PATH_EXECPATH  "/bin/ftp-exec"
#define _PATH_LASTLOG   "/usr/adm/lastlog"
#define _PATH_CVT       "/etc/ftp/ftpconversions"
#define _PATH_FTPACCESS "/etc/ftp/ftpaccess"
#define _PATH_FTPHOSTS  "/etc/ftp/ftphosts"
#define _PATH_FTPUSERS  "/etc/ftp/ftpusers"
#define _PATH_PRIVATE   "/etc/ftp/ftpgroups"
#define _PATH_PIDNAMES  "/etc/ftp/ftp-pids-%s"
#define _PATH_UTMP      "/etc/utmp"
#define _PATH_WTMP      "/usr/adm/wtmp"
#define _PATH_XFERLOG   "/var/log/xferlog"
---------pathnames.h--------------
-----------ckconfig---------------
./ckconfig
Checking _PATH_FTPUSERS :: /etc/ftp/ftpusers
ok.

Checking _PATH_FTPACCESS :: /etc/ftp/ftpaccess
ok.

Checking _PATH_PIDNAMES :: /etc/ftp/ftp-pids-%s
ok.

Checking _PATH_CVT :: /etc/ftp/ftpconversions
ok.

Checking _PATH_XFERLOG :: /var/log/xferlog
ok.

Checking _PATH_PRIVATE :: /etc/ftp/ftpgroups
ok.

Checking _PATH_FTPHOSTS :: /etc/ftp/ftphosts
ok.
-----------ckconfig---------------

I even went back to an old version of wuftp 2.4 and could not get 2.4 to
log either. Hmmm.... I think I missed something.  Any help would be great.

Thanks!

Paul S. Bentivegna -- paul@twcol.com



From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 11:18:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA12487;
	Mon, 9 Jun 1997 11:13:29 -0500 (CDT)
Received: from light.lightlink.com (homer@light.lightlink.com [205.232.34.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA11439
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 11:09:05 -0500 (CDT)
Received: from localhost (homer@localhost)
	by light.lightlink.com (8.8.5/8.8.5) with SMTP id MAA07510
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 12:08:58 -0400 (EDT)
Message-Id: <Pine.SUN.3.95.970609120850.5826G-100000@light.lightlink.com>
Date: Mon, 9 Jun 1997 12:08:57 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Homer W. Smith" <homer@lightlink.com>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Re: Linux and logs
In-Reply-To: <Pine.LNX.3.95.970609083800.17460A-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


    Yes and yes.

------------------------------------------------------------------------
Homer Wilson Smith     News, Web, Telnet      Art Matrix - Lightlink
(607) 277-0959         E-mail, FTP, Shell     Internet Access, Ithaca NY
homer@lightlink.com    info@lightlink.com     http://www.lightlink.com

On Mon, 9 Jun 1997, Michael Brennen wrote:

> 
> Do you have logging enabled in /etc/ftpaccess?  Is your compile time log
> configuration set right?  (~src/config/config.lnx,~src/pathnames.h)
> 
>    -- Michael
> 
> On Mon, 9 Jun 1997, Homer W. Smith wrote:
> 
> >     Running Linux 2.0.28 with wuftpd beta 12
> >  
> >     Why are *NO* logs showing up in /var/log/xferlog?
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 11:54:26 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA14092;
	Mon, 9 Jun 1997 11:49:21 -0500 (CDT)
Received: from smtp.usit.net (root@smtp.usit.net [199.1.48.16])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA14288
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 11:47:06 -0500 (CDT)
Received: from use.usit.net (use.usit.net [199.1.48.3]) by smtp.usit.net (8.8.5/8.8.5) with SMTP id MAA01661 for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 12:47:05 -0400 (EDT)
Message-Id: <Pine.GSO.3.95.970609124345.2651B-100000@use.usit.net>
Date: Mon, 9 Jun 1997 12:47:04 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jason Spears <jspears@usit.net>
To: wu-ftpd@wugate.wustl.edu
Subject: recent CERT advisory
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Someone appears to have recently gained root access to a machine running
2.4.  I have upgraded to 2.4.2-beta13.

Does anyone have details about the exploit used against 2.4?  I'd like to
determine if the ftpd was really the problem in this instance, or whether I
need to keep looking.

Thanks,

Jason Spears


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 12:30:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA16136;
	Mon, 9 Jun 1997 12:25:26 -0500 (CDT)
Received: from inorganic5.fdt.net (jlewis@inorganic5.fdt.net [205.229.48.42])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA16674
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 12:21:21 -0500 (CDT)
Received: from localhost (jlewis@localhost)
	by inorganic5.fdt.net  with SMTP id NAA18150
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 13:21:25 -0400
Message-Id: <Pine.LNX.3.95.970609132042.31682t-100000@inorganic5.fdt.net>
Date: Mon, 9 Jun 1997 13:21:23 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: FTP MAILING LIST <wu-ftpd@wugate.wustl.edu>
Subject: Re: Linux and logs
In-Reply-To: <Pine.SUN.3.95.970609011954.7502A-100000@light.lightlink.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 9 Jun 1997, Homer W. Smith wrote:

> 
>     Running Linux 2.0.28 with wuftpd beta 12
>  
>     Why are *NO* logs showing up in /var/log/xferlog?

Did you tell ftpd to use the ftpaccess file at all?

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/wu.ftpd
-laiou022

------------------------------------------------------------------
 Jon Lewis <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/message.
 Florida Digital Turnpike    |  
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 15:13:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA26883;
	Mon, 9 Jun 1997 15:08:45 -0500 (CDT)
Received: from sol.tins.net (sol.tins.net [205.173.230.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA20623
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 15:06:57 -0500 (CDT)
Received: (from mgg@localhost)
	by sol.tins.net (8.8.5/8.8.5) id NAA29755;
	Mon, 9 Jun 1997 13:06:34 -0700 (PDT)
Message-Id: <vubk9k3r16d.fsf@sol.tins.net>
Date: 09 Jun 1997 13:06:34 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Galbraith <mgg@sol.tins.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: recent CERT advisory
In-Reply-To: Jason Spears's message of Mon, 9 Jun 1997 12:47:04 -0400 (EDT)
References: <Pine.GSO.3.95.970609124345.2651B-100000@use.usit.net>
Mime-Version: 1.0 (generated by tm-edit 7.78)
Content-Type: text/plain; charset=US-ASCII
X-Mailer: Gnus v5.3/Emacs 19.34
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>>>>> "Jason" == Jason Spears <jspears@usit.net> writes:

Jason> Someone appears to have recently gained root access to a machine running
Jason> 2.4.  I have upgraded to 2.4.2-beta13.

Jason> Does anyone have details about the exploit used against 2.4?  I'd like to
Jason> determine if the ftpd was really the problem in this instance, or whether I
Jason> need to keep looking.

Please let me know what you find out.  I'm also looking to upgrade to
beta13, but I'm having trouble convincing my manager it's a good idea.
Perhaps some of the exploit capabilities would be enough of a shocker to
break the ice.

-- 
Mark Galbraith                   Member of The HTML Writers Guild
Engineer, Internet Services	              http://www.hwg.org/
Triad Systems Corporation
(PGP Fingerprint=1CB9 7481 AD5C 5709  690B AC09 7F65 D6F6)

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 17:32:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA00625;
	Mon, 9 Jun 1997 17:27:30 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA00039
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 17:24:47 -0500 (CDT)
Message-Id: <199706092225.RAA17378@landfield.com>
Date: Mon, 9 Jun 1997 17:25:25 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: recent CERT advisory
In-Reply-To: <vubk9k3r16d.fsf@sol.tins.net> from "Mark Galbraith" at Jun 9, 97 01:06:34 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: 8.0 -- ListProcessor(tm) by CREN

# 
# >>>>> "Jason" == Jason Spears <jspears@usit.net> writes:
# 
# Jason> Someone appears to have recently gained root access to a machine running
# Jason> 2.4.  I have upgraded to 2.4.2-beta13.
# 
# Jason> Does anyone have details about the exploit used against 2.4?  I'd like to
# Jason> determine if the ftpd was really the problem in this instance, or whether I
# Jason> need to keep looking.
# 
# Please let me know what you find out.  I'm also looking to upgrade to
# beta13, but I'm having trouble convincing my manager it's a good idea.
# Perhaps some of the exploit capabilities would be enough of a shocker to
# break the ice.

Take a look at the Advisories page in the Resource Center.
http://www.landfield.com/cert/

It has all the CERT advisories listed that pertain to wu-ftpd.
If you are running vanilla 2.4 then you need to convince him in a
hurry...

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 18:20:43 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA02294;
	Mon, 9 Jun 1997 18:15:28 -0500 (CDT)
Received: from orange.metron.com (gw0.metron.com [204.182.31.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA01130
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 18:14:44 -0500 (CDT)
Received: (from lou@localhost)
        by orange.metron.com (8.8.5/8.8.5) id QAA09933
		for wu-ftpd@wugate.wustl.edu; Mon, 9 Jun 1997 16:14:39 -0700 (PDT)
Message-Id: <199706092314.QAA09933@orange.metron.com>
Date: Mon, 9 Jun 1997 16:14:38 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lou Katz <lou@metron.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP password cracking
In-Reply-To: <01BC71A9.90434270@ROGERH> from "Roger A. Hanke" at "Jun 5, 97 12:11:13 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL28 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

BSDI/OS 2.1
OK here

(lou@diablo) [/users/lou]-19% ftp ftp.metron.com
Connected to ftp.metron.com.
220 orange.metron.com FTP server (Version wu-2.4(1) Fri Feb 23 17:06:34 MST
1996) ready.
Name (ftp.metron.com:lou): garbage
331 Password required for garbage.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> quit
221 Goodbye.

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 18:52:04 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA04846;
	Mon, 9 Jun 1997 18:45:42 -0500 (CDT)
Received: from on.on.com (on.on.com [207.18.216.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA05674
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 18:40:43 -0500 (CDT)
Received: from newftp (newftp.on.com [207.18.216.77]) by on.on.com (8.7.5/ON-1) with SMTP id TAA10860 for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 19:31:45 -0400 (EDT)
Message-Id: <339C9405.274D@on.com>
Date: Mon, 09 Jun 1997 19:38:45 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chris Strong <cstrong@on.com>
To: wu-ftpd@wugate.wustl.edu
Subject: make errors
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: chriss@on.com
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am using gcc 2.7.2.1 to compile wu-ftpd 2.4.1 on Solaris 2.51.  In
using the supplied makefiles, edited the sol ones for gcc, and I'm
getting the following error:

Making ftpd.
gcc -g -O -DDEBUG -I.. -I../support -I/opt/GCC2721/include -L../support 
-c  ftpd.c
ftpd.c: In function `statcmd':
ftpd.c:1972: `typenames' undeclared (first use this function)
ftpd.c:1972: (Each undeclared identifier is reported only once
ftpd.c:1972: for each function it appears in.)
ftpd.c:1974: `formnames' undeclared (first use this function)
ftpd.c:1982: `strunames' undeclared (first use this function)
ftpd.c:1982: `modenames' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `ftpd.o'


The missing variable names are declared in ftpcmd.y.  I
/usr/ccs/bin/yacc'd ftpcmd.y into .c and compiled it to .o.  I'm out of
ideas to get the core ftpd built.  I've looked across wustl's site and
various other sites at FAQ sheets for an answer and I'm at a loss.  Any
help is appreciated.

Chris Strong
IS Administrator
ON Technology/Davinci Systems
cstrong@on.com

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun  9 19:21:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA06588;
	Mon, 9 Jun 1997 19:15:51 -0500 (CDT)
Received: from homer.bus.miami.edu (homer.bus.miami.edu [129.171.39.247])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA03829
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Jun 1997 19:11:57 -0500 (CDT)
Received: From localhost (tom@localhost) by homer.bus.miami.edu (8.8.5/8.7.3) with SMTP id UAA00769 for <wu-ftpd@wugate.wustl.edu>;
Message-Id: <Pine.OSF.3.96.970609200556.493A-100000@homer.bus.miami.edu>
Date: Mon, 9 Jun 1997 20:11:56 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tom Leffingwell <tom@sba.miami.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: ls/dir problem
In-Reply-To: <339C9405.274D@on.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: tom@homer.bus.miami.edu
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi,

	I've been running beta 10 for quite awhile now with no problems,
until a few days ago.  If you type ls, you can what you'd expect. 
However, ls -l, or dir always return an empty directory listing.  It
happens for all users in all classes, anonymous, real, etc.  The ftp
client doesn't matter, I've tried dozens on various OSs.  I haven't made
any changes to anything in the past few months.  Normally I'd just upgrade
to beta-13, but if this worked before, it should continue.  I also have a
couple of patches on it that I haven't gotten around to applying to beta
13 either.  They have been this way for a long time, and shouldn't affect
anything (one adds ident support, the other prevents logins on
administratively locked accounts in Digital UNIX). 

Thanks,

Tom


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 01:26:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id BAA15376;
	Tue, 10 Jun 1997 01:21:18 -0500 (CDT)
Received: from malmo.trab.se (malmo.trab.se [131.115.48.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id BAA26289
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 01:15:57 -0500 (CDT)
Received: from linkoping.trab.se (helios.linkoping.trab.se [131.115.46.4]) by malmo.trab.se (8.7.5/TRAB-primary-2) with ESMTP id IAA02100; Tue, 10 Jun 1997 08:15:25 +0200 (MET DST)
Received: from helios.linkoping.trab.se (helios.linkoping.trab.se [131.115.46.4]) by linkoping.trab.se (8.8.3/TRAB-secondary-1) with SMTP id IAA21077; Tue, 10 Jun 1997 08:15:24 +0200 (MET DST)
Message-Id: <Roam.SIMC.2.0.6.865923322.17798.ath@helios>
Date: Tue, 10 Jun 1997 08:15:23 +0200 (MET DST)
Reply-To: Anders Thulin <Anders.X.Thulin@telia.se>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Anders Thulin <Anders.X.Thulin@telia.se>
To: fishbowl@netcomi.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Limit Number of Times a User can DL a File?
In-Reply-To: "Your message with ID" <Pine.LNX.3.95.970606164914.18402B-100000@fotd.netcomi.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


"James L. McGill" <fishbowl@fotd.netcomi.com> write:
> I would have to ensure that a user may download a particular file 
> no more than THREE times. 

  Is it one file, shared among N users, who each have 3 goes at it?
Or is it one file, one user? After 3 times, should the file disappear,
or should it remain, but just be impossible to GET? Or, as you
suggest, should the account terminate?

  If one user, one file, file disappears after third time, it can be
done by (a) a log sniffer a la Swatch that looks for the filename in
the transfer/system logs and calls (b) a script that implements the
necessary decision logic.

  If the limit 3 is hard (never 4), this must be done in more or
less real-time. If 3 is soft (3 times, and the rest of that last day),
it could be done each night as a batch job.

  There are seldom good ways to extend Internet servers with
local policy decisions, although it is getting more and more
desirable to do so.

  This list is probably the best forum for discussing the what/where/how
of it, though.

Anders Thulin       Anders.X.Thulin@telia.se        013-23 55 32
Telia Engineering AB, Teknikringen 6, S-583 30 Linkoping, Sweden



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 06:23:41 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA06097;
	Tue, 10 Jun 1997 06:18:38 -0500 (CDT)
Received: from pulse. (h-205-217-243-164.netscape.com [205.217.243.164])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA07362
	for <wu-ftpd@mail.wustl.edu>; Tue, 10 Jun 1997 06:11:43 -0500 (CDT)
Received: from pulse by pulse. (SMI-8.6/SMI-SVR4)
	id EAA24346; Tue, 10 Jun 1997 04:12:37 -0700
Message-Id: <339D36A3.8817F011@netscape.com>
Date: Tue, 10 Jun 1997 04:12:35 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Josh Cohen <josh@netscape.com>
To: wu-ftpd@wugate.wustl.edu
Subject: anonymous ftp (mozilla@)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: josh@netscape.com
X-Mailer: Mozilla 4.0b6C (X11; I; SunOS 5.5.1 i86pc)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

	I've read back in some of the archive messages, comments
about dealing with the fact that our navigator sends 'mozilla@' as 
the default email password.

	I've also noticed that some FTP sites have specifically
been set up to reject this email address. 

It's been a while since I configured wu-ftp, I am wondering
is this in a recent patch, or are people just configuring their
configuration files to do this ?

There were some issues raised in previous posts, I dont know if
they were resolved or not, but I'd like to point out how and
when that email address is used.

1.  In navigator 3.x and Communicator ( 4.x ), there is an
 option to send the users email address with anonymous FTP
 (instead of the default mozilla@ )

2. Setting up your server to block the 'mozilla@' could make
  it *very* difficult for a user to access your site, if they
  are behind a proxy.  When a user is accessing an FTP site
  via a proxy, the browser doesnt do FTP, it does HTTP. 
  The proxy does the FTP in this case.  Because of this, 
  the browser doesnt actually talk to the FTP daemon.
  The result is that the proxy has a similar 'default'
  email address, which in our case (netscape proxy server )
  is also 'mozilla@'

3. Clients in this predicament should urge their proxy 
  administrators to configure their proxy to send a more
  accurate email address. such as webuser@real.domain.
  For reference, to do this, the administrator simply needs 
  to edit his obj.conf configuration file, and modify
  the line:
   Init fn=init-proxy ......
  to include anon-pw="webuser@real.domain"
  ie: Init fn=init-proxy anon-pw="user@domain" read-timeout="60"
timeout-2="15" timeout="300"

Im curious what the general feeling is of the ftpd people on this issue, 
and if it remains a significant problem.

Thanks for your time.

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 06:41:37 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA09263;
	Tue, 10 Jun 1997 06:35:54 -0500 (CDT)
Received: from twcol.com ([208.155.225.40])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id GAA08207
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 06:34:24 -0500 (CDT)
Received: from localhost (paul@localhost) by twcol.com (8.8.5/8.8.5) with SMTP id HAA09254 for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 07:34:36 -0400 (EDT)
Message-Id: <Pine.GSO.3.96.970610073402.9189C-100000@wormhole.twcol.com>
Date: Tue, 10 Jun 1997 07:34:36 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul S. Bentivegna" <paul@wormhole.twcol.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ls/dir problem
In-Reply-To: <Pine.OSF.3.96.970609200556.493A-100000@homer.bus.miami.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Make sure that you have all the anonymous /usr/lib files.  I had the same
problem.
HTH

Paul

/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
- Paul S. Bentivegna -- Road Runner Network Engineer          |
\ Time Warner Communications -- Columbus, OH                  /
| Web:      http://www.twcol.com   or http://columbus.rr.com  -
/ E-Mail:   paul@twcol.com                                    \
- FTP:      ftp.twcol.com/incoming                            |
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/


On Mon, 9 Jun 1997, Tom Leffingwell wrote:

> 
> Hi,
> 
> 	I've been running beta 10 for quite awhile now with no problems,
> until a few days ago.  If you type ls, you can what you'd expect. 
> However, ls -l, or dir always return an empty directory listing.  It
> happens for all users in all classes, anonymous, real, etc.  The ftp
> client doesn't matter, I've tried dozens on various OSs.  I haven't made
> any changes to anything in the past few months.  Normally I'd just upgrade
> to beta-13, but if this worked before, it should continue.  I also have a
> couple of patches on it that I haven't gotten around to applying to beta
> 13 either.  They have been this way for a long time, and shouldn't affect
> anything (one adds ident support, the other prevents logins on
> administratively locked accounts in Digital UNIX). 
> 
> Thanks,
> 
> Tom
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 06:53:16 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA03818;
	Tue, 10 Jun 1997 06:48:17 -0500 (CDT)
Received: from mailman.city.ac.uk (mailman.city.ac.uk [138.40.22.200])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA09185
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 06:42:19 -0500 (CDT)
Received: from dhs by mailman.city.ac.uk with smtp (Exim 1.62 #3)
          id 0wbPJN-00005d-00; Tue, 10 Jun 1997 12:42:05 +0100
Message-Id: <Pine.SUN.3.95.970610123652.233C-100000@mailman.city.ac.uk>
Date: Tue, 10 Jun 1997 12:42:04 +0100 (BST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Sheryn <dhs@city.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: Building wu-ftpd-2.4.2-beta-13
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

Has anybody got wu-ftpd-2.4.2-beta-13 (or previous releases) to compile OK in
separate OS-specific build directories ? The docs imply this is possible but
it broke for me (complaining about not knowing how to make various stuff). As
I was in a hurry to get the new version installed, I just ended up doing each
one 'in situ', but any advice on how to crack this (to save reinventing the
wheel) would be appreciated. 

Reagrds,

DHS
-- David Sheryn <D.H.Sheryn@city.ac.uk>
-- City University, Northampton Square, London, EC1V 0HB
-- Phone: (+44) 171 477 8000  Direct 0171 477 8196  Fax: 0171 477 8165


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 06:58:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA09909;
	Tue, 10 Jun 1997 06:54:06 -0500 (CDT)
Received: from twcol.com ([208.155.225.40])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id GAA10080
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 06:50:12 -0500 (CDT)
Received: from localhost (paul@localhost) by twcol.com (8.8.5/8.8.5) with SMTP id HAA09374 for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 07:50:24 -0400 (EDT)
Message-Id: <Pine.GSO.3.96.970610074934.9372A-100000@wormhole.twcol.com>
Date: Tue, 10 Jun 1997 07:50:24 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul S. Bentivegna" <paul@wormhole.twcol.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Building wu-ftpd-2.4.2-beta-13
In-Reply-To: <Pine.SUN.3.95.970610123652.233C-100000@mailman.city.ac.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


On Tue, 10 Jun 1997, David Sheryn wrote:

> Has anybody got wu-ftpd-2.4.2-beta-13 (or previous releases) to compile OK in
> separate OS-specific build directories ? The docs imply this is possible but

I was able to compile under Soalris x86 2.5.1 with gnu 2.7.2.2.

Paul Bentivegna
paul@twcol.com



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 08:40:17 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA15054;
	Tue, 10 Jun 1997 08:34:50 -0500 (CDT)
Received: from cagw2.att.com (cagw2.att.com [192.128.52.90])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA15455
	for <wu-ftpd@mail.wustl.edu>; Tue, 10 Jun 1997 08:32:57 -0500 (CDT)
Received: from lynxhub.ho.att.com by caig2.att.att.com (SMI-8.6/EMS-1.2 sol2)
	id JAA17298; Tue, 10 Jun 1997 09:41:00 -0400
Received: by lynxhub.ho.att.com (5.x/EMS-1.2 sol2)
	id AA12171; Tue, 10 Jun 1997 09:30:46 -0400
Message-Id: <9706101330.AA12171@lynxhub.ho.att.com>
Date: Tue, 10 Jun 1997 09:30:45 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: dougc@lynxhub.ho.att.com
To: wu-ftpd@wugate.wustl.edu (ftp archive)
Subject: question again about CERT advisory
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: 8.0 -- ListProcessor(tm) by CREN

Folks,
A couple of weeks ago I posted a question about the recent CERT
advisory that focused on signal handling in WF. The fix was to
upgrade to Beta 13. Is there a specific fix for this advisory in B13
that I could retro-fit into vanilla 2.4 until I can merge a lot of my
customizations of 2.4 into the lastest beta.  Thanks for any help

Doug

-- 
Doug Courtney
dougc@lynxhub.ho.att.com
(908)949-3597

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 12:22:20 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA32089;
	Tue, 10 Jun 1997 12:17:06 -0500 (CDT)
Received: from bernstein.mrc-bsu.cam.ac.uk (bernstein-193.mrc-bsu.cam.ac.uk [193.60.86.52])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA30074
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 12:12:52 -0500 (CDT)
Received: from mrc-bsu.cam.ac.uk by bernstein.mrc-bsu.cam.ac.uk
          with Sendmail (8.8.5/BSU-1.08); Tue, 10 Jun 1997 18:12:07 +0100 (BST)
Message-Id: <199706101712.SAA14615@bernstein.mrc-bsu.cam.ac.uk>
Date: Tue, 10 Jun 1997 18:12:07 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vincent Everett <vincent.everett@mrc-bsu.cam.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd-2.4.2-beta-12
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 2.0gamma 1/27/96
X-url: <URL:http://www.mrc-bsu.cam.ac.uk>
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi All,

I have just installed wu-ftpd-2.4.2-beta-12 on a solaris2 box, standard 
install out of the box. The quote site gpass and group gives :-

200 Request for access to group VF.secret.name accepted.
ftp> quote site gpass VF.secret.password
530 Group access request incorrect.
ftp> 

I have have a 644 /etc/ftpgroups with the runes pulled over from the old 
machine, matching..I hasten to add..

Any pointers ?


Cheers Vin

Vin Everett 
Medical Research Council Biostatistics Unit
Institute of Public Health
University Forvie Site         Tel:    +44 1223 330381
Robinson Way                   Fax:    +44 1223 330383
Cambridge                      Mob:    +44  973 798164
Cambridgeshire                 E-mail: v.everett@mrc-bsu.cam.ac.uk
UK     CB2 2SR     
Key fingerprint =  69 CE C7 59 9B 7C AB 57  B0 B5 47 2A 1E 99 49 30



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 10 12:34:17 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA00595;
	Tue, 10 Jun 1997 12:28:56 -0500 (CDT)
Received: from finnegan.EE.McGill.CA (root@Finnegan.EE.McGill.CA [132.206.1.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA29123
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Jun 1997 12:26:02 -0500 (CDT)
Received: from spock2.EE.McGill.CA (alainm@Spock2.EE.McGill.CA [132.206.63.10])
	by finnegan.EE.McGill.CA (8.8.5/8.8.5) with ESMTP id NAA03318;
	Tue, 10 Jun 1997 13:26:00 -0400 (EDT)
Received: by spock2.EE.McGill.CA (8.8.5) id NAA27436; Tue, 10 Jun 1997 13:25:59 -0400 (EDT)
Message-Id: <199706101725.NAA27436@spock2.EE.McGill.CA>
Date: Tue, 10 Jun 1997 13:25:58 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alain Magloire <alainm@rcsm.ee.mcgill.ca>
To: rah@lynxhub.ho.att.com (Roger A. Hanke)
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: user account cracking status
In-Reply-To: <01BC74C3.98E76EC0@ROGERH> from "Roger A. Hanke" at Jun 9, 97 10:54:57 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: 8.0 -- ListProcessor(tm) by CREN

Bonjour Roger

> > difficult a patch this might be?
> 
> think of always seeing the password prompt before any error is returned.
> Do you agree that should always be the case? I would like to make sure
> the design is acceptable to the list in general as I see this as something that
> should be incorporated in the next version.
> ..

to be brief --

case (1) :  class directive
  If there is no class directive in ftpaccess, wu-ftpd will refuse
access to user with no account on the system:

ex:
220 spock2 FTP server (Version wu-2.4.2-academ[BETA-13](1) Sat Mar 29 09:29:21 EST 1997) ready.
Name (spock:alainm): garbage
530 User garbage access denied....
Login failed.

Caveat - an attacker can obtain valuable information on the system.

case (2) : ftpusers
  if a loggin name is part of ftpusers file, ftp server will not ask the passwd

ex:
220 spock2 FTP server (Version wu-2.4.2-academ[BETA-13](1) Sat Mar 29 09:29:21 EST 1997) ready.
Name (spock:alainm): adm
530 User adm access denied...(bad shell)
Login failed.


Roger, I believe that you're argumenting that wu-ftpd is giving out
too much info. Although not leading to breakin, someone
could scan ftp for all the valid users and then use 
crack later... inconvenient :-(

IMHO, I agree with Roger, and ftpd should always ask for passwd
regardeless. Make it harder for the bad guys.

any other comments or suggestions ?

please CC me on any followups, many thanks

-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 01:35:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id BAA08500;
	Wed, 11 Jun 1997 01:29:47 -0500 (CDT)
Received: from plaidworks.com (plaidworks.com [207.167.80.66])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id BAA06450
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 01:19:39 -0500 (CDT)
Received: from [207.167.80.70] (zamboni.plaidworks.com [207.167.80.70])
	by plaidworks.com (8.8.5/8.8.5) with ESMTP id XAA09649
	for <wu-ftpd@mail.wustl.edu>; Tue, 10 Jun 1997 23:21:54 -0700 (PDT)
Message-Id: <v0310280dafc3f2586643@[207.167.80.70]>
Date: Tue, 10 Jun 1997 23:21:34 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chuq Von Rospach <chuqui@plaidworks.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Beta 13 on AIX 4.1.x....
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I've been working on getting the current beta up on an AIX 4.1.4 machine.

One noted typo in src/makefiles/Makefile.aix:

in OBJS, it lists the file as sigfix.c, not sigfix.o. Hence, the
compile dies, and it you do a build clean, it deletes sigfix.c, making
the distribution non-compilable.

Other note: at least on AIX 4.1.4 and later, the need for Bison is
gone. the noted documentation on the yacc bug is no longer relevant...

So I'm now in a position of having it 99% running -- everything but
(ta-da) anonymous users. I've run the anon.ftp setup script per the
FAQ.

chroot ~ftp bin/ls -al works, so I've got the proper shared library for
ls in here.

wu-ftp works fine for normal users. hence, I'm missing a shared library
for ftpd (I believe). you can log in fine, logging works great (in -d
mode, also), you get your welcome banner, you get the .message banners
fine, it recognizes and flags README files -- and as soon as you try
*any* command (ls, dir, cd, binardy, etc...) you get a "421 Service not
available, remote server has closed connection" message -- and the
process is gone.

Sure sounds like a missing shared library post chroot to me, but I'll
be damned if I can figure out which one it is...

Compiled with gcc 2.7.2.2, FWIW.

Hints on what it might be or how to find it?

--
         Chuq Von Rospach (chuq@apple.com) Apple IS&T Mail List Gnome
                       <http://www.solutions.apple.com/>

 Plaidworks Consulting (chuqui@plaidworks.com) <http://www.plaidworks.com/>
   (<http://www.plaidworks.com/hockey/> +-+ The home for Hockey on the net)




From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 05:29:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA12435;
	Wed, 11 Jun 1997 05:16:36 -0500 (CDT)
Received: from bofh.co.telenet.pt (oberon.co.telenet.pt [193.219.102.129])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id FAA10116
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 05:13:53 -0500 (CDT)
Received: from urano.co.telenet.pt ([193.219.98.8]) by bofh.co.telenet.pt
          (Netscape Mail Server v1.1) with SMTP id AAA256
          for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 11:21:19 +0100
Message-Id: <33a06823.2724431@mail.co.telenet.pt>
Date: Wed, 11 Jun 1997 09:13:07 GMT
Reply-To: jose.monteiro@co.telenet.pt
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jose.monteiro@co.telenet.pt (Jose Monteiro)
To: wu-ftpd@wugate.wustl.edu
Subject: Help needed setting wuftpd configuration files
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Forte Agent 1.0/32.390
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id FAA01807
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi,


I'm having a little problem installing wuftpd in FreeBSD 2.1.7.

After compilation, I've made the necessary changes in /etc/inetd.conf
to point to the new daemon /usr/local/libexec/ftpd:

#       @(#)inetd.conf  5.4 (Berkeley) 6/30/90
ftp   stream  tcp     nowait  root    /usr/local/libexec/ftpd ftpd -l

After that, I've runned ckconfig to check that the necessary
configuration files were in place:

cvmicro# ./ckconfig
Checking _PATH_FTPUSERS :: /usr/local/etc/ftpusers
ok.

Checking _PATH_FTPACCESS :: /usr/local/etc/ftpaccess
ok.

Checking _PATH_PIDNAMES :: /var/run/ftp.pids-%s
ok.

Checking _PATH_CVT :: /usr/local/etc/ftpconversions
ok.

Then I started making the necessary settings in the configuration
files, so that only anonymous logins are allowed with no more than two
simultaneous users:


cvmicro# cat ftpaccess
class   all   anonymous  *
limit   all   2   Any              /etc/msgs/ftp.deny

But the surprise is that when I try to log in with my username, wuftpd
ignores the settings in the configuration files and *allows* the
login.

cvmicro# ftp localhost
Connected to localhost.
220 cvmicro.telenet.pt FTP server (Version wu-2.4.2-academ[BETA-13](1)
ri Jun 6 18:25:53 WET DST 1997) ready.
Name (localhost:urano): urano
331 Password required for urano.
Password:
230 User urano logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 

Can anyone give a help on this subject?



*------José Monteiro <jose.monteiro@co.telenet.pt>------*
|      TELENET - Serviços de Telecomunicaçőes S.A.      |
|       Tel:+351 1 3139190    Fax:+351 1 3541988        |
| Finger urano@bofh.co.telenet.pt or search key servers |
|                 for my PGP public key                 |
*-------------------------------------------------------*

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 08:26:35 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA18923;
	Wed, 11 Jun 1997 08:17:09 -0500 (CDT)
Received: from banzai.PCC.COM (banzai.pcc.com [205.219.166.145])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA18234
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 08:11:20 -0500 (CDT)
Received: by banzai.PCC.COM (Smail3.1.29.1 #3)
	id m0wbnB5-00003bC; Wed, 11 Jun 97 09:11 EDT
Message-Id: <m0wbnB5-00003bC@banzai.PCC.COM>
Date: Wed, 11 Jun 1997 09:11:07 -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
Cc: chuqui@plaidworks.com
Subject: Re: Beta 13 on AIX 4.1.x....
In-Reply-To: <v0310280dafc3f2586643@[207.167.80.70]> from "Chuq Von Rospach" at Jun 10, 97 11:21:34 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: 8.0 -- ListProcessor(tm) by CREN

Chuq Von Rospach writes:
> I've been working on getting the current beta up on an AIX 4.1.4 machine.

> Hints on what it might be or how to find it?

I've been running BETA 12 under AIX 4.1.4 for a while now.  For what I had
to do to set it up (and anon users do work), look at:
    http://www.pcc.com/~jay/src/networking/wu-ftpd-2.4/ORIGINALS/

Here's an ls -lR of /ftp:

    total 48
    dr-xr-xr-x   2 root     system       512 Nov 19 1996  bin
    dr-xr-xr-x   2 root     system       512 Nov 21 1996  dev
    dr-xr-xr-x   2 root     system       512 Nov 19 1996  etc
    dr-x--x--x  57 root     system      1024 May 16 14:42 home
    dr-xr-xr-x   2 root     system       512 Nov 20 1996  lib
    dr-xr-xr-x   4 root     system       512 Nov 19 1996  usr

    bin:
    total 40
    ---x--x--x   1 root     system     18897 Jul 03 1996  ls

    dev:
    total 0
    crw-rw-rw-   1 root     system     2,  2 Jun 11 09:06 null

    etc:
    total 0

    lib:
    total 4232
    -r-xr-xr-x   1 root     system   1653497 Jan 28 08:39 libc.a
    -r--r--r--   1 bin      bin       508441 Jan 28 08:39 libcurses.a

    usr:
    total 16
    d--x--x--x   3 root     system       512 Nov 19 1996  local
    dr-xr-xr-x   3 root     system       512 Nov 19 1996  lpp

    usr/local:
    total 8
    d--x--x--x   2 root     system       512 Nov 19 1996  bin

    usr/local/bin:
    total 504
    ---x--x--x   1 root     system     16283 Jul 05 1996  compress
    ---x--x--x   1 root     system    156395 Jul 05 1996  gtar
    ---x--x--x   1 root     system     78606 Jul 05 1996  gzip

    usr/lpp:
    total 8
    dr-xr-xr-x   3 root     system       512 Nov 19 1996  msg

    usr/lpp/msg:
    total 8
    dr-xr-xr-x   2 root     system       512 Nov 19 1996  C

    usr/lpp/msg/C:
    total 0

-- 
Jay Schuster <jay@pcc.com>
The People's Computer Company	`Revolutionary Programming'

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 10:00:37 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA25270;
	Wed, 11 Jun 1997 09:53:41 -0500 (CDT)
Received: from quest ([143.114.72.6])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA26105
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 09:51:44 -0500 (CDT)
Received: from mailhub by quest (SMI-8.6/SMI-SVR4)
	id JAA26819; Wed, 11 Jun 1997 09:50:44 -0500
Received: from emss07m01.lmtas.lmco.com by mailhub (SMI-8.6/SMI-SVR4)
	id JAA16797; Wed, 11 Jun 1997 09:51:02 -0500
Received: by emss07m01.lmtas.lmco.com with Internet Mail Service (5.0.1457.3)
	id <MA2V7P28>; Wed, 11 Jun 1997 09:50:15 -0500
Message-Id: <F14ABB2CA0BAD011966F0000F802BA9F0799AF@emss07m02.lmtas.lmco.com>
Date: Wed, 11 Jun 1997 09:46:15 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Manley, Jim W" <ManleyJW@SITE07.lmtas.lmco.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Problems with anonymous login
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1457.3)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I recently installed the latest version of wu-ftpd on a Solaris 2.5.1
box.  
I followed all the instructions in the README files and the O'Reilly
book.  
When I attempt to login to the server, it throws me out with an error
about 
the server shutting down.

I've looked at everything I can find but nothing looks wrong.

Any ideas?

Jim Manley
LMTAS


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 10:12:15 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA27742;
	Wed, 11 Jun 1997 10:05:25 -0500 (CDT)
Received: from twcol.com ([208.155.225.40])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA26164
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 10:02:27 -0500 (CDT)
Received: from localhost (paul@localhost) by twcol.com (8.8.5/8.8.5) with SMTP id LAA11053 for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 11:02:41 -0400 (EDT)
Message-Id: <Pine.GSO.3.96.970611110129.11024A-100000@wormhole.twcol.com>
Date: Wed, 11 Jun 1997 11:02:40 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Paul S. Bentivegna" <paul@wormhole.twcol.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Problems with anonymous login
In-Reply-To: <F14ABB2CA0BAD011966F0000F802BA9F0799AF@emss07m02.lmtas.lmco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Take a look at the /etc/inetd.conf file. I have:
ftp  stream  tcp     nowait  root    /usr/sbin/in.ftpd  in.ftpd -liou022

HTH

Paul

/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
- Paul S. Bentivegna -- Road Runner Network Engineer          |
\ Time Warner Communications -- Columbus, OH                  /
| Web:      http://www.twcol.com   or http://columbus.rr.com  -
/ E-Mail:   paul@twcol.com                                    \
- FTP:      ftp.twcol.com/incoming                            |
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/


On Wed, 11 Jun 1997, Manley, Jim W wrote:

> I recently installed the latest version of wu-ftpd on a Solaris 2.5.1
> box.  
> I followed all the instructions in the README files and the O'Reilly
> book.  
> When I attempt to login to the server, it throws me out with an error
> about 
> the server shutting down.
> 
> I've looked at everything I can find but nothing looks wrong.
> 
> Any ideas?
> 
> Jim Manley
> LMTAS
> 
> 


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 10:25:18 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA27212;
	Wed, 11 Jun 1997 10:17:27 -0500 (CDT)
Received: from plaidworks.com (plaidworks.com [207.167.80.66])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA13257
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 10:14:03 -0500 (CDT)
Received: from [207.167.80.70] (zamboni.plaidworks.com [207.167.80.70])
	by plaidworks.com (8.8.5/8.8.5) with ESMTP id IAA24051;
	Wed, 11 Jun 1997 08:16:12 -0700 (PDT)
Message-Id: <v0310280fafc4717b471a@[207.167.80.70]>
Date: Wed, 11 Jun 1997 08:15:28 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chuq Von Rospach <chuqui@plaidworks.com>
To: jay@pcc.com (Jay Schuster), wu-ftpd@wugate.wustl.edu
Cc: chuqui@plaidworks.com
Subject: Re: Beta 13 on AIX 4.1.x....
In-Reply-To: <m0wbnB5-00003bC@banzai.PCC.COM>
References: <v0310280dafc3f2586643@[207.167.80.70]> from "Chuq Von
 Rospach" at Jun 10, 97 11:21:34 pm
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

thanks. it was /dev/null.

(ack. I thought about that, too... But didn't try it...)

chuq

--
         Chuq Von Rospach (chuq@apple.com) Apple IS&T Mail List Gnome
                       <http://www.solutions.apple.com/>

 Plaidworks Consulting (chuqui@plaidworks.com) <http://www.plaidworks.com/>
   (<http://www.plaidworks.com/hockey/> +-+ The home for Hockey on the net)




From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 10:49:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA30633;
	Wed, 11 Jun 1997 10:41:34 -0500 (CDT)
Received: from quest ([143.114.72.6])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA28710
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 10:37:53 -0500 (CDT)
Received: from mailhub by quest (SMI-8.6/SMI-SVR4)
	id KAA28650; Wed, 11 Jun 1997 10:36:52 -0500
Received: from emss07m01.lmtas.lmco.com by mailhub (SMI-8.6/SMI-SVR4)
	id KAA17251; Wed, 11 Jun 1997 10:37:10 -0500
Received: by emss07m01.lmtas.lmco.com with Internet Mail Service (5.0.1457.3)
	id <MA2V7PKB>; Wed, 11 Jun 1997 10:36:24 -0500
Message-Id: <F14ABB2CA0BAD011966F0000F802BA9F0799B0@emss07m02.lmtas.lmco.com>
Date: Wed, 11 Jun 1997 10:32:23 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Manley, Jim W" <ManleyJW@SITE07.lmtas.lmco.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: Problems with anonymous login
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1457.3)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have two entries in inetd.conf:

#ftp    stream  tcp     nowait  root    /usr/sbin/in.ftpd       in.ftpd
ftp     stream  tcp     nowait  root    /usr/local/etc/ftpd     ftpd
-t300 -T300 -u022 -L -o

The entry for in.ftpd is the standard Solaris ftpd.

The other entry is the wu-ftpd.  My ftpaccess file is set up to disallow
incoming
file transfers.

Jim Manley
LMTAS

> ----------
> From: 	Paul S. Bentivegna[SMTP:paul@wormhole.twcol.com]
> Reply To: 	wu-ftpd@wugate.wustl.edu
> Sent: 	Wednesday, June 11, 1997 10:02 AM
> To: 	'wu-ftpd@wugate.wustl.edu'
> Subject: 	Re: Problems with anonymous login
> 
> Take a look at the /etc/inetd.conf file. I have:
> ftp  stream  tcp     nowait  root    /usr/sbin/in.ftpd  in.ftpd
> -liou022
> 
> HTH
> 
> Paul
> 
> /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
> - Paul S. Bentivegna -- Road Runner Network Engineer          |
> \ Time Warner Communications -- Columbus, OH                  /
> | Web:      http://www.twcol.com   or http://columbus.rr.com  -
> / E-Mail:   paul@twcol.com                                    \
> - FTP:      ftp.twcol.com/incoming                            |
> \|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
> 
> 
> On Wed, 11 Jun 1997, Manley, Jim W wrote:
> 
> > I recently installed the latest version of wu-ftpd on a Solaris
> 2.5.1
> > box.  
> > I followed all the instructions in the README files and the O'Reilly
> > book.  
> > When I attempt to login to the server, it throws me out with an
> error
> > about 
> > the server shutting down.
> > 
> > I've looked at everything I can find but nothing looks wrong.
> > 
> > Any ideas?
> > 
> > Jim Manley
> > LMTAS
> > 
> > 
> 

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 13:53:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA12940;
	Wed, 11 Jun 1997 13:42:56 -0500 (CDT)
Received: from ihgw1.lucent.com (ihgw1.lucent.com [207.19.48.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA11517
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 13:38:00 -0500 (CDT)
Received: from ascc01.ascc.lucent.com by ihig1.firewall.lucent.com (SMI-8.6/EMS-L sol2)
	id NAA11222; Wed, 11 Jun 1997 13:50:50 -0500
Received: from zeppelin.ascc by ascc01.ascc.lucent.com (5.x/EMS-L sol2)
	id AA25134; Wed, 11 Jun 1997 14:38:42 -0400
Received: from localhost by zeppelin.ascc (SMI-8.6/SMI-SVR4)
	id OAA06837; Wed, 11 Jun 1997 14:38:33 -0400
Message-Id: <Pine.SOL.3.95.970611143244.5037D-100000@zeppelin>
Date: Wed, 11 Jun 1997 14:38:32 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Marcus Eric Harris <marcush@ascc01.ascc.lucent.com>
To: WU-FTPD Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: [Q]: Default transfer mode/auto-sense of remote host type...
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: marcush@zeppelin
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello, everyone!

I was hoping to get some assistance with a configuration question.

I want to find out how to get the beta-13 version of the wuftpd software
to do two things upon a successful login:

    . Automatically set the file transfer mode to 'binary'
    . Automatically sense the system type of the remote host the user
      logs in from

For example, I'm sure many of us are used to these types of messages sent
by the FTP server after logging into a remote host:

	[...]
	230  Guest login ok, access restrictions apply.
	Remote system type is UNIX.
	Using binary mode to transfer files.
	ftp>

How can I get the software to perform these auto-sensing activities?

Any help is greatly appreciated!

Regards,

Marcus E. Harris

--- 
Marcus E. Harris                   Software Developer/Process Engineer
Lucent Technologies -- Bell Labs   Work Phone:  919.380.4555
2000 Regency Park                  Facsimile :  919.380.4640
Suite #500                         E-Mail: harrism@lucent.com (or)
Cary, North Carolina 27511                 marcush@ascc01.ascc.lucent.com
---------------------------------------------------------------------------
"Out the 10Base-T, through the router, down the T-1, over the leased line,
 off the bridge, past the firewall ... nothin' but Net."



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 14:07:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA14768;
	Wed, 11 Jun 1997 14:00:34 -0500 (CDT)
Received: from sbcomp.com ([207.150.14.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA13201
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 13:59:38 -0500 (CDT)
Received: from skb (rockford17.inwave.com [206.190.10.117])
          by sbcomp.com (8.8.4/8.8.4) with SMTP
	  id NAA12729; Wed, 11 Jun 1997 13:59:33 -0500 (CDT)
Message-Id: <3.0.1.32.19970611135542.008937c0@sbcomp.net>
Date: Wed, 11 Jun 1997 13:55:42 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Steven K. Buehler" <skb@sbcomp.net>
To: wu-ftpd@wugate.wustl.edu
Cc: "Manley, Jim W" <ManleyJW@SITE07.lmtas.lmco.com>
Subject: RE: Problems with anonymous login
In-Reply-To: <F14ABB2CA0BAD011966F0000F802BA9F0799B0@emss07m02.lmtas.lmc
 o.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: skb@sbcomp.net
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 10:32 AM 6/11/97 -0500, you wrote:
>I have two entries in inetd.conf:
>#ftp    stream  tcp     nowait  root    /usr/sbin/in.ftpd       in.ftpd
>ftp     stream  tcp     nowait  root    /usr/local/etc/ftpd     ftpd
>-t300 -T300 -u022 -L -o
>The entry for in.ftpd is the standard Solaris ftpd.
>The other entry is the wu-ftpd.  My ftpaccess file is set up to disallow
>incoming
>file transfers.

If you want to get the ftpaccess file to disallow incoming file transfers, you have to use the file first.  You must change your line in the inetd.conf to use it like this:
ftp     stream  tcp     nowait  root    /usr/local/etc/ftpd     ftpd
-a -t300 -T300 -u022 -L -o
Notice the new addition of "-a"?  Without that, wu-ftpd won't even read the ftpaccess file.

======================================================
Steven K. Buehler
S & B Computers
Rockford Illinois, USA
Phone: 815-398-7169
Fax: 815-398-7266
======================================================

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 15:02:36 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA13442;
	Wed, 11 Jun 1997 14:55:21 -0500 (CDT)
Received: from mailsrv2.pcy.mci.net (mailsrv2.pcy.mci.net [204.71.1.40])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA18336
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 14:54:42 -0500 (CDT)
Received: from seera.hn.pl.cp (usr2-dialup37.LosAngeles.mci.net)
 by MAIL-CLUSTER.PCY.MCI.NET (PMDF V5.1-8 #10044)
 with ESMTP id <01IJYA0G356S96WSN8@MAIL-CLUSTER.PCY.MCI.NET> for
 wu-ftpd@wugate.wustl.edu; Wed, 11 Jun 1997 15:53:24 EDT
Message-Id: <339F0210.F73D5747@MCI2000.com>
Date: Wed, 11 Jun 1997 12:52:48 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Minsung Kim <stair@mci2000.com>
To: Marcus Eric Harris <marcush@ascc01.ascc.lucent.com>
Cc: WU-FTPD Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: [Q]: Default transfer mode/auto-sense of remote host type...
References: <Pine.SOL.3.95.970611143244.5037D-100000@zeppelin>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Sender: stair@MAIL-CLUSTER.PCY.MCI.NET
X-Mailer: Mozilla 4.0b5C (X11; I; FreeBSD 3.0-CURRENT i386)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Marcus Eric Harris wrote:
> 
> Hello, everyone!
> 
> I was hoping to get some assistance with a configuration question.
> 
> I want to find out how to get the beta-13 version of the wuftpd software
> to do two things upon a successful login:
> 
>     . Automatically set the file transfer mode to 'binary'
>     . Automatically sense the system type of the remote host the user
>       logs in from
> 
> For example, I'm sure many of us are used to these types of messages sent
> by the FTP server after logging into a remote host:
> 
>         [...]
>         230  Guest login ok, access restrictions apply.
>         Remote system type is UNIX.
>         Using binary mode to transfer files.
>         ftp>
> 
> How can I get the software to perform these auto-sensing activities?
> 
> Any help is greatly appreciated!
> 

  I suppose there's some prevailing confusion about the "Remote
system" concept.  Put simply, those two lines ("Remote..." and
"Using...") of message is generated by the FTP client, not by the
server.

  On a successful login, indicated by the message "230 Guest
login ok..." received from the server, a client sends a SYST
command and tries to figure out what the remote system (i.e. the
server) is like. If it happens to be a UNIX system, then the
client sends "TYPE I" command to establish a binary transfer
mode, as if the user had typed a "binary" command.

  You can see this behavior using the debug mode of FTP clients,
usually turned on by -d command line option, or "debug" client
command.  (Debugging mode displays what commands -- as defined in
the FTP standard -- are sent to the remote server.)

  One simple rule to distinguish between messages generated by
the server and by the client is to check if there's a 3-digit
result code at the beginning of the message.  For instance, "230
Guest login ok..." is the message generated by the server,
whereas "Remote system type is..." is the message generated by
the client.  This rule works on most text-based ftp clients
provided by a UNIX platform.

-- 
Stair

PS.
  Reading the standard documents and understanding what is being
done underwater is fairly important. I always recommend these
practices to those who are serious about their task and those who
want to be kind of "versatile".  It may take some time at first,
but eventually makes a great deal of useful knowledge that become
a critical aid in many practical situations.
  Read them when you can.  They do help.  :-)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Kim, Minsung (Stair in Cyberland)      <mailto:stair@MCI2000.com>

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 15:19:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA19549;
	Wed, 11 Jun 1997 15:12:59 -0500 (CDT)
Received: from linux2.globalreach.net (root@linux2.globalreach.net [206.97.249.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA19815
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 15:10:40 -0500 (CDT)
Received: from tberry (as21.globalreach.net [206.97.249.121])
	by linux2.globalreach.net (8.8.5/8.8.5) with SMTP id NAA00679
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 13:53:34 -0500
Received: by tberry with Microsoft Mail
	id <01BC7679.A0D0F360@tberry>; Wed, 11 Jun 1997 15:10:42 -0500
Message-Id: <01BC7679.A0D0F360@tberry>
Date: Wed, 11 Jun 1997 15:10:40 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tony D. Berry" <tonyberry@globalreach.net>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Problems with real login
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BC7679.A0D0F360"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


------ =_NextPart_000_01BC7679.A0D0F360
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have been fighting with my Linux box for days now trying to secure my =
real FTP access. By real I mean valid users of the box but not shell =
users.

Everything is working fine except one thing. The users chroot variable, =
as specified in the /etc/passwd file (:/home/usr/./public_html:) is not =
working. The user starts in the correct directory =
(/home/user/public_html) but is allowed to cd /. This is a problem in my =
eyes. Is there something I am missing in the /etc/ftp* files?

Thank you in advance.

Tony D. Berry
Lafayette, LA


------ =_NextPart_000_01BC7679.A0D0F360
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IioUAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAyAEAAAEAAAAQAAAAAwAAMAIAAAAL
AA8OAAAAAAIB/w8BAAAATwAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAHd1LWZ0cGRAd3VnYXRl
Lnd1c3RsLmVkdQBTTVRQAHd1LWZ0cGRAd3VnYXRlLnd1c3RsLmVkdQAAHgACMAEAAAAFAAAAU01U
UAAAAAAeAAMwAQAAABkAAAB3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUAAAAAAwAVDAEAAAADAP4P
BgAAAB4AATABAAAAGwAAACd3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUnAAACAQswAQAAAB4AAABT
TVRQOldVLUZUUERAV1VHQVRFLldVU1RMLkVEVQAAAAMAADkAAAAACwBAOgEAAAAeAPZfAQAAABkA
AAB3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUAAAAAAgH3XwEAAABPAAAAAAAAAIErH6S+oxAZnW4A
3QEPVAIAAAAAd3UtZnRwZEB3dWdhdGUud3VzdGwuZWR1AFNNVFAAd3UtZnRwZEB3dWdhdGUud3Vz
dGwuZWR1AAADAP1fAQAAAAMA/18AAAAAAgH2DwEAAAAEAAAAAAAAAmllAQSAAQAZAAAAUHJvYmxl
bXMgd2l0aCByZWFsIGxvZ2luAB0JAQWAAwAOAAAAzQcGAAsADwAKACgAAwApAQEggAMADgAAAM0H
BgALAA8ABgAiAAMAHwEBCYABACEAAABGRTk1NEUxQjQ1RTJEMDExOEFBNDQ0NDU1MzU0MDAwMADr
BgEDkAYACAkAACEAAAALAAIAAQAAAAsAIwAAAAAAAwAmAAAAAAALACkAAAAAAAMALgAAAAAAAwA2
AAAAAABAADkA4JDdiKN2vAEeAHAAAQAAABkAAABQcm9ibGVtcyB3aXRoIHJlYWwgbG9naW4AAAAA
AgFxAAEAAAAWAAAAAbx2o4hxG06WAOJFEdCKpERFU1QAAAAAHgAeDAEAAAAFAAAAU01UUAAAAAAe
AB8MAQAAABoAAAB0b255YmVycnlAZ2xvYmFscmVhY2gubmV0AAAAAwAGEN1Ze40DAAcQqAEAAB4A
CBABAAAAZQAAAElIQVZFQkVFTkZJR0hUSU5HV0lUSE1ZTElOVVhCT1hGT1JEQVlTTk9XVFJZSU5H
VE9TRUNVUkVNWVJFQUxGVFBBQ0NFU1NCWVJFQUxJTUVBTlZBTElEVVNFUlNPRlRIRUJPWEIAAAAA
AgEJEAEAAADlBQAA4QUAAOwMAABMWkZ1TSRbrgMACgByY3BnMTI1cjIMYGMxAzABBwtgbpEOEDAz
Mw8WZmUPkk8B9wKkA2MCAGNoCsBzhGV0AtFwcnEyAACSKgqhbm8SUCAwAdCFAdA2D6AwNTA0FCHz
AdAUEDR9B20CgwBQA9T7Ef8TC2IT4RRQE7IY9BTQrwcTAoACkQjmOwlvMBrf+mUOMDUcCh0hHN8d
6Rv0/x4SHH8gTyANH48dvxwPEGD8Mjgl2ibxJq8nuRv0J+K/Jk8qHyndKV8njytUOQ5QHy6kMAEo
IzAAAoJzdHnqbAeQaAngdAAAE1AD8FBkY3RsCrFcMlhhmGRqdTFwBRBnaAVCOxYyDAFjCcAyYAMw
c258ZXgXMAewBbAAwAJzc7EAUHNiMhRQMWBhE/D0XGsJ4HALkDI/MqMIYOsykAuAZTGgdjlgAUAz
m78MMDRkKAA3QASgC4BnJ/HpNOZiYRcQZAIgNaA1Rucx0DOQO5EgMTEzDlA2n/83rzi/AFE5/ACg
NG48fz2G/zEkD8A+jz+fQK8OUDnvQw/bRB89szMCghMQYzZgS6GTM5A9sHRpOZAgRAEQqGF1bAVA
UArAYQnA4GFwaCBGAiE2JCVA6GZpLQ+QOAFAOTBQM+tHDzKjYgsgcglQUlIWoNlSUnc0JUEXAHAB
0E1yfzO/Sp9Lpk/QTpAFEAIwLUNPMANhOiBUb1ewUyh1YmoFkHRXsERh6HRlOjYkNk//UQ9SH/9T
L1Q5McA9ow4hS6E6tg5Qm1VvVn5SOYEXASBIPZH7BJA2JDdZb1p/W49cnTkPL12/D5BpcAjQYgqw
dDj/SfoPVEYQX79gxmoAYdALULx5L09AXLALEWJFczYk/ygAYz9kT2VfXK9UT2tfbG/vbXVX0ld0
WKk5b78zPwMwHWmzOXOfdK96oERvY/51B4ACMAXQTwAaAXjSeDD3eHBxUQGAblgwAGAJ8E2g730A
AgE14F5SZQDwfQAxgJJwHoBcdgiQd2sLgH5ka0CAogTwB0AQYYCEen5rDlAOAHEiPYKChQIQb28F
QhchEvJYwG0LUVjAIFBDOlxcVwBvTuFtb08wAxAHkIUwTQ3gA2Bzcm8BgCBPASAN4H/wXK2G5kUA
wAMQLktwdH3QbxcQeHA1IWdyeAFAfwFu7zHQGvCIhE40YwMgEvMAgPkFkGx2QaFG0A5wNeCLEv8B
kAAgi6KA8X1BAcGLERbgnw9wAABG0AzQAZAgLhoS/4sIgnGL0U5weMCMP41Pjl+/D8BG0AWBj/+R
D5IfbGtA3UbQbI+/lH+VhSmOjCVAx5NfmD+VdGIgKAKRmV//i1NZUJcPm8+c353vi4BjEP+fMowP
oJ+hr46MKACfP6S//6XPpt+LgHgAo7+pT6pfq2SfCvkDMHgveT96zXtJPXDqYU3xYgnhIG7QsuE9
woUD8HRPIG15IEwLgDR1eLSAb7Ywf3EgZKxheQQgsQEgsrB5PcL4dG8giJEIcBOAtcEa8OMHQE8w
VFAgANCHIAQQeC4gQriFtCAHgAORdu8HQDURspBiASCGoLdQMdC9tkNiZ1C3EQVAMcFsAyCtuwMu
CoUKhUVh8Xm1kP89wgQAtWAFsIDhPeBu0DVg/iA1cIcgBTECIBOAvoO5kP5Uu6G7BBbQA2CDwbqg
ByH5AmBlLLkgBCBygAWQBpAvCJA1ILDBu5IvFyBjL3sKsAQQdzUgbtAxoKrQOiQvaANwZS+ykHIv
Ti7EMFggZ3BjX7LwbfhsOim+0rxSvxXA6Lfwf61CBCDDhQWhGvCxULbAaffJYgWwtdAoxSYEkMXa
xqBvvBK+4QdACQB3w1G30WNfNSDFsMDxvuHMIiAXcG/PwmGFsLDBtcFleQeQuZD+SQQgu5G4QYaQ
B4C+hLQgPYWhbQQBvqPDmQGAcCo5xKNzP71cwQAAcGsg3nkIYMNysmC6oG6HIL1N9VfQbrXQRLmR
BJC3cAqFj7AksO+x/wVAe0xhTkBnzvACQMKBTEG9XBoQAAMDANuwAAAAAwAQEAAAAAADABEQAAAA
AAMAgBD/////QAAHMOB+5/WidrwBQAAIMOB+5/WidrwBCwAAgAggBgAAAAAAwAAAAAAAAEYAAAAA
A4UAAAAAAAADAAKACCAGAAAAAADAAAAAAAAARgAAAAAQhQAAAAAAAAMABYAIIAYAAAAAAMAAAAAA
AABGAAAAAFKFAAC3DQAAHgAlgAggBgAAAAAAwAAAAAAAAEYAAAAAVIUAAAEAAAAEAAAAOC4wAAMA
JoAIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAvgAggBgAAAAAAwAAAAAAAAEYAAAAADoUA
AAAAAAADADCACCAGAAAAAADAAAAAAAAARgAAAAARhQAAAAAAAAMAMoAIIAYAAAAAAMAAAAAAAABG
AAAAABiFAAAAAAAAHgBBgAggBgAAAAAAwAAAAAAAAEYAAAAANoUAAAEAAAABAAAAAAAAAB4AQoAI
IAYAAAAAAMAAAAAAAABGAAAAADeFAAABAAAAAQAAAAAAAAAeAEOACCAGAAAAAADAAAAAAAAARgAA
AAA4hQAAAQAAAAEAAAAAAAAAHgA9AAEAAAABAAAAAAAAAAMADTT9NwAAdLo=

------ =_NextPart_000_01BC7679.A0D0F360--


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 15:31:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA18247;
	Wed, 11 Jun 1997 15:25:07 -0500 (CDT)
Received: from rocinante.network1.net (rocinante.network1.net [208.142.243.8])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA20339
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 15:23:21 -0500 (CDT)
Received: from localhost (aholtz@localhost) by rocinante.network1.net (8.8.5/8.8.5/FNG) with SMTP id QAA09853 for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 16:20:15 -0400 (EDT)
Message-Id: <Pine.SOL.3.96.970611161244.9044B-100000@rocinante.network1.net>
Date: Wed, 11 Jun 1997 16:20:15 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Aaron Holtz <aholtz@network1.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual anonymous FTP question
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: rocinante.network1.net: aholtz owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello.  I'm having probably the opposite trouble that most have with
virtual FTP - I need to disable anonymous FTP for just one virtual.
I have a few virtual FTP sites running on a server and they all answer for
anonymous FTP, but one of the customers does not wish this to be the case.
What is the easiest way to just "flip the switch" for denying anonymous
FTP access to a virtual server?  It appears that if the user 'ftp' is in
/etc/passwd, then it attempts to do the anonymous login.  The virtual ftp
directory that I have setup for this site has the normal bin, dev, etc,
and usr directories in them - can removing some of those entries stop the
anonymous access?  This is running 2.4 beta 13 under Solaris 2.5.1 
Thanks for the assistance.


		
							--Aaron

---------------------------------------------------------------------
Aaron Holtz
First Network Group    "The First Name in Internetworking"
Manager, UNIX Systems Admin
Email:  aholtz@stockcar.network1.net
"...perhaps because it is very difficult, even with sensitive laboratory
 instruments, to distinguish one rap song from another."  -DB
---------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 20:25:12 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA20507;
	Wed, 11 Jun 1997 20:19:36 -0500 (CDT)
Received: from gibnet.gi ([195.166.192.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA02725
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 20:17:01 -0500 (CDT)
Received: from rocknet.therock.gi by gibnet.gi (SMI-8.6/SMI-SVR4)
	id DAA14316; Thu, 12 Jun 1997 03:15:36 +0200
Message-Id: <339F4C98.232D@gibnet.gi>
Date: Thu, 12 Jun 1997 03:10:48 +0200
Reply-To: danny@gibnet.gi
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Danny Calamaro <danny@gibnet.gi>
To: wu-ftpd@wugate.wustl.edu
Subject: Setting up users home directories.
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: 8.0 -- ListProcessor(tm) by CREN

Hi All,

I have installed wu-ftp on a netra running Solaris 5.5.1.
The anonymous side of things works fine, but I cannot get it to work
when I login as a user. 

I've created the directory ~/bin and put a copy of /usr/bin/ls, and the
~/etc/ and put a copy of /export/ftp/etc/passwd & the group, although I
havn't changed anything of these file,

But I get the following error. :-(

220 GIB FTP server (Version wu-2.4(2) Mon Jun 2 13:16:34 MET DST 1997)
ready.
Name (gib.gibnet.gi:dan): dan
331 Password required for dan
Password:
230 User dan logged in.  Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): Bad file number.

Can anyone offer any help with this.


Many Thks

Danny

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 11 22:07:37 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA00981;
	Wed, 11 Jun 1997 22:02:09 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id VAA05427
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Jun 1997 21:58:32 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id VAA13822;
	Wed, 11 Jun 1997 21:58:22 -0500
Message-Id: <Pine.LNX.3.95.970611215710.8632R-100000@ns1.fni.com>
Date: Wed, 11 Jun 1997 21:58:22 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Danny Calamaro <danny@gibnet.gi>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Setting up users home directories.
In-Reply-To: <339F4C98.232D@gibnet.gi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


This is a FAQ (also covered in the guest howto).

   -- Michael

On Thu, 12 Jun 1997, Danny Calamaro wrote:

> But I get the following error. :-(
> 
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number.


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 05:58:25 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA21541;
	Thu, 12 Jun 1997 05:51:09 -0500 (CDT)
Received: from cheylard.inforoutes-ardeche.fr (eldin@[195.248.18.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id FAA22195
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 05:46:54 -0500 (CDT)
Received: (from eldin@localhost) by cheylard.inforoutes-ardeche.fr (8.7.5/8.7.3) id MAA20000 for wu-ftpd@wugate.wustl.edu; Thu, 12 Jun 1997 12:52:35 +0200
Message-Id: <199706121052.MAA20000@cheylard.inforoutes-ardeche.fr>
Date: Thu, 12 Jun 1997 12:52:34 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Henry-Pascal ELDIN <eldin@inforoutes-ardeche.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problems with real login
In-Reply-To: <01BC7679.A0D0F360@tberry> from "Tony D. Berry" at Jun 11, 97 03:10:40 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL25]
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id FAA21726
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,
> 
> I have been fighting with my Linux box for days now trying to secure my > real FTP access. By real I mean valid users of the box but not shell > users.
> 
> Everything is working fine except one thing. The users chroot variable, > as specified in the /etc/passwd file (:/home/usr/./public_html:) is not > working. The user starts in the correct directory > (/home/user/public_html) but is allowed to cd /. This is a problem in my > eyes. Is there something I am missing in the /etc/ftp* files?
> 


In /etc/ftpaccess add : guestgroup  <group of users>

-- 
Eldin Henry-Pascal	
Administration Systeme et Reseau de la Plateforme Internet du Cheylard
Syndicat Intercommunal ŕ Vocation Unique des Inforoutes de l'Ardčche
		http://www.inforoutes-ardeche.fr

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 08:23:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA25889;
	Thu, 12 Jun 1997 08:16:35 -0500 (CDT)
Received: from zinho003.detewe.de (zinho003.detewe.de [194.115.52.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA25956
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 08:10:47 -0500 (CDT)
Received:  by zinho003.detewe.de (8.6.10/8.6.6) id PAA06803 for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 15:10:33 +0200
Received: from relay.detewe.de by zinho003.detewe.de via smap (V1.3)
	id sma006784; Thu Jun 12 15:10:14 1997
Received: from ctbse153  by zinho004.detewe.de (8.6.10/8.6.6) with ESMTP id PAA10721 for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 15:07:44 +0200
Received: from ctbws167 by ctbse153 (SMI-8.6/SMI-SVR4)
	id PAA04507; Thu, 12 Jun 1997 15:10:09 +0200
Received: by ctbws167 (SMI-8.6/SMI-SVR4)
	id PAA25951; Thu, 12 Jun 1997 15:10:09 +0200
Message-Id: <199706121310.PAA25951@ctbws167>
Date: Thu, 12 Jun 1997 15:10:09 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andreas.Szameit@detewe.de (Andreas Szameit)
To: wu-ftpd@wugate.wustl.edu
Subject: SITE GROUP problem
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I'm using WU-FTP 2.4 in a Solaris 2.5 environment running on a SPARCserver10
and the nameservices is NIS.
All anonymous things work well, but now I've configured the ftp-server
to let the user change the group.

1.  build the ftpaccess:

standard from the WU distribution

2.  build a ftpgroups with one entry:

1234567-890:bhPiFnux0KgeM:ftpusers

2.  build a group in the /etc/group with the appropriated password copied from
    teh /etc/passwd

/etc/group:
ftpusers:bhPiFnux0KgeM:9998:

/etc/passwd:
ftpusers:x:9998:9998:FTP anonymous:/export/ftp/./:/bin/csh

/etc/shadow:
ftpusers:bhPiFnux0KgeM:10022::::::

3.  running ckconfig, all is OK

Checking _PATH_FTPUSERS :: /usr/local/etc/ftpusers
ok.

Checking _PATH_FTPACCESS :: /usr/local/etc/ftpaccess
ok.

Checking _PATH_PIDNAMES :: /usr/local/daemon/ftpd/ftp.pids-%s
ok.

Checking _PATH_CVT :: /usr/local/etc/ftpconversions
ok.

Checking _PATH_XFERLOG :: /usr/adm/xferlog
ok.

Checking _PATH_PRIVATE :: /usr/local/etc/ftpgroups
ok.

Checking _PATH_FTPHOSTS :: /usr/local/etc/ftphosts
ok.

4.  reload the config files with kill -HUP on the inetd

5.  allways I try to "quote site group 1234567-890"
       and           "quote site gpass password"

    I get the following message:

230-
230 Guest login ok, access restrictions apply.
ftp> quote site group 1234567-890
200 Request for access to group 1234567-890 accepted.
ftp> quote site gpass password
530 Group access request incorrect.
ftp> 

6.  a second problem is that no messages are logged in the
    syslog file.

    Here is an except from the trussed ftpd and it shows me that 
    there is a problem opening the /etc/syslog.pid  but if I do
    a 

root@ctbse153 1011# cat /etc/syslog.pid	
22572
root@ctbse153 1012# 

    from the shell I can open it.

4352:   read(0, " Q U I T\r\n", 8192)                   = 6
4352:   alarm(0)                                        = 899
4352:   write(1, " 2 2 1   G o o d b y e .".., 14)      = 14
4352:   seteuid(0)                                      = 0
4352:   fstat(9, 0xEFFFF8B8)                            = 0
4352:   getpid()                                        = 4352 [4351]
4352:   time()                                          = 866120641
4352:   write(9, "\0\0\0\0\0\0\0\0 f t p\0".., 36)      = 36
4352:   time()                                          = 866120641
4352:   getpid()                                        = 4352 [4351]
4352:   open("/etc/syslog.pid", O_RDONLY)               Err#2 ENOENT
4352:   close(10)                                       = 0
4352:   fcntl(7, F_SETLK, 0xEFFFE138)                   = 0
4352:   getpid()                                        = 4352 [4351]
4352:   lseek(7, 0, SEEK_SET)                           = 0
4352:   read(7, "\0\0\0\0\0\0\0\0\0\0\0\0".., 4096)     = 4096
4352:   kill(4352, SIG#0)                               = 0
4352:   lseek(7, 0, SEEK_SET)                           = 0
4352:   write(7, "\0\0\0\0\0\0\0\0\0\0\0\0".., 4096)    = 4096
4352:   fcntl(7, F_SETLK, 0xEFFFE138)                   = 0
4352:   close(7)                                        = 0
4352:   _exit(0)

Where is the error of logic and
have anyone an answer or a solution to my problem?

regards

---------------------------------------------------------------------------
| Andreas Szameit         | Network & System    | Voice: +49 30 6104 5460 |
| Cordless Technology A/S | Administration      | FAX:   +49 30 6104 4234 |
| Branch Office Berlin    |-----------------------------------------------|
| A DeTeWe Group Company  | WWW:        http://www.detewe.de              |
| Koepenicker Str. 180    | E-MAIL:     andreas.szameit@detewe.de         |
| D-10997 Berlin          | COMPUSERVE: 100434,1610                       |
| Germany                 | X.400:      --                                |
------------------------\|||/----------------------------------------------
                         > >
                          O
If a packet hits a pocket on a socket on a port
& the bus is interrupted as a very last resort
& the memory address makes your processes abort
then the socket packet pocket has an error to report!

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 09:10:34 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA28556;
	Thu, 12 Jun 1997 09:05:28 -0500 (CDT)
Received: from linux2.globalreach.net (root@linux2.globalreach.net [206.97.249.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA29050
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 08:59:14 -0500 (CDT)
Received: from tberry (as05.globalreach.net [206.97.249.105])
	by linux2.globalreach.net (8.8.5/8.8.5) with SMTP id HAA10271
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 07:42:10 -0500
Received: by tberry with Microsoft Mail
	id <01BC770E.DCE3DEE0@tberry>; Thu, 12 Jun 1997 08:58:57 -0500
Message-Id: <01BC770E.DCE3DEE0@tberry>
Date: Thu, 12 Jun 1997 08:58:55 -0500
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Tony D. Berry" <tonyberry@globalreach.net>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Problems with real login
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BC770E.DCE3DEE0"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


------ =_NextPart_000_01BC770E.DCE3DEE0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Thanks, that was already done.

Tony D. Berry
SysAdmin
Global Reach
Lafayette, LA

-----Original Message-----
From:	Henry-Pascal ELDIN [SMTP:eldin@inforoutes-ardeche.fr]
Sent:	Thursday, June 12, 1997 5:53 AM
To:	wu-ftpd@wugate.wustl.edu
Subject:	Re: Problems with real login

In /etc/ftpaccess add : guestgroup  <group of users>

-- 
Eldin Henry-Pascal


------ =_NextPart_000_01BC770E.DCE3DEE0
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IjoNAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEkAYAyAEAAAEAAAAQAAAAAwAAMAIAAAAL
AA8OAAAAAAIB/w8BAAAATwAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAHd1LWZ0cGRAd3VnYXRl
Lnd1c3RsLmVkdQBTTVRQAHd1LWZ0cGRAd3VnYXRlLnd1c3RsLmVkdQAAHgACMAEAAAAFAAAAU01U
UAAAAAAeAAMwAQAAABkAAAB3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUAAAAAAwAVDAEAAAADAP4P
BgAAAB4AATABAAAAGwAAACd3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUnAAACAQswAQAAAB4AAABT
TVRQOldVLUZUUERAV1VHQVRFLldVU1RMLkVEVQAAAAMAADkAAAAACwBAOgEAAAAeAPZfAQAAABkA
AAB3dS1mdHBkQHd1Z2F0ZS53dXN0bC5lZHUAAAAAAgH3XwEAAABPAAAAAAAAAIErH6S+oxAZnW4A
3QEPVAIAAAAAd3UtZnRwZEB3dWdhdGUud3VzdGwuZWR1AFNNVFAAd3UtZnRwZEB3dWdhdGUud3Vz
dGwuZWR1AAADAP1fAQAAAAMA/18AAAAAAgH2DwEAAAAEAAAAAAAAAmllAQSAAQAZAAAAUHJvYmxl
bXMgd2l0aCByZWFsIGxvZ2luAB0JAQWAAwAOAAAAzQcGAAwACAA6ADcABABjAQEggAMADgAAAM0H
BgAMAAgAOgAHAAQAMwEBCYABACEAAABBQzEyQTRDNEZCRTJEMDExOEFBNDQ0NDU1MzU0MDAwMAD4
BgEDkAYAWAkAACEAAAALAAIAAQAAAAsAIwAAAAAAAwAmAAAAAAALACkAAAAAAAMALgAAAAAAAwA2
AAAAAABAADkAACaExDh3vAEeAHAAAQAAABkAAABQcm9ibGVtcyB3aXRoIHJlYWwgbG9naW4AAAAA
AgFxAAEAAAAWAAAAAbx3OMQXxKQSreL7EdCKpERFU1QAAAAAHgAeDAEAAAAFAAAAU01UUAAAAAAe
AB8MAQAAABoAAAB0b255YmVycnlAZ2xvYmFscmVhY2gubmV0AAAAAwAGECW5+10DAAcQJgEAAB4A
CBABAAAAZQAAAFRIQU5LUyxUSEFUV0FTQUxSRUFEWURPTkVUT05ZREJFUlJZU1lTQURNSU5HTE9C
QUxSRUFDSExBRkFZRVRURSxMQS0tLS0tT1JJR0lOQUxNRVNTQUdFLS0tLS1GUk9NOkhFTlIAAAAA
AgEJEAEAAAA3BgAAMwYAADAPAABMWkZ1p7FmSgMACgByY3BnMTI1cjIMYGMxAzABBwtgbpEOEDAz
Mw8WZmUPkk8B9wKkA2MCAGNoCsBzhGV0AtFwcnEyAACSKgqhbm8SUCAwAdCFAdA2D6AwNTA0FCHz
AdAUEDR9B20CgwBQA9T7Ef8TC2IT4RRQE7IY9BTQrwcTAoACkQjmOwlvMBrf+mUOMDUcCh0hHN8d
6Rv0/x4SHH8gTyANH48dvxwPEGD8Mjgl2ibxJq8nuRv0J+K/Jk8qHyndKV8njytUOQ5QHy6kMAEo
IzAAAoJzdHnqbAeQaAngdAAAE1AD8FBkY3RsCrFcMlhhmGRqdTFwBRBnaAVCOxYyDAFjCcAyYAMw
c258ZXgXMAewBbAAwAJzc7EAUHNiMhRQMWBhE/D0XGsJ4HALkDI/MqMIYOsykAuAZTGgdjlgAUAz
m78MMDRkKAA3QASgC4BnJ/HpNOZiYRcQZAIgNaA1Rucx0DOQO5EgMTEzDlA2n/83rzi/AFE5/ACg
NG48fz2G/zEkD8A+jz+fQK8OUDnvQw/bRB89szMCghMQYzZgS6GTM5A9sHRpOZAgRAEQqGF1bAVA
UArAYQnA4GFwaCBGAiE2JCVA6GZpLQ+QOAFAOTBQM+tHDzKjYgsgcglQUlIWoNlSUnc0JUEXAHAB
0E1yfzO/Sp9Lpk/QTpAFEAIwLUNPMANhOiBUb1ewUyh1YmoFkHRXsERh6HRlOjYkNk//UQ9SH/9T
L1Q5McA9ow4hS6E6tg5Qm1VvVn5SOYEXASBIPZH7BJA2JDdZb1p/W49cnTkPL12/D5BpcAjQYgqw
dDj/SfoPVEYQX79gxmoAYdALULx5L09AXLALEWJFczYk/ygAYz9kT2VfXK9UT2tfbG/vbXVX0ld0
WKk5b78zPwMwHWmzOXOfdK96oERvY/51B4ACMAXQTwAaAxMQGvCCdgJRIHtVbmt4IRMV0lfQbnlO
EC4gQvkEkHJ5GgF40ngweHBxUf0BgG5YMABgCfBNoH0AAgG7NeBeUmUA8H0AMYBwHoCkXHYIkHdr
C4Bka0CfgwIE8AdAEGGC5HprDlDfDgBxIj2ChOUCEG8FQhchGxLyWMBtC1FYwCBDOtRcXFcAb07h
bU8wAxCbB5CHkE0N4ANgc28BgFwgTwEgDeCCUFyJRkXrAMADEC5LcHSAMBcQeHDbNSFncngBQIFh
bjHQGvB7iuRONGN+cRMCAIAFkGz+dkGhRtAOcDXgjXIBkAAg/44Cg1F9QQHBjXEW4A9wAADnRtAM
0AGQIC59xI2GhNH/jjFOcHjAjp+Pr5C/D8BG0G8FgZJfk2+Uf2xrQEbQbPeSH5bfl+UpkOwlQJW/
mp/xl9RiICgCkZu/jbNZUP+Zb54vnz+gT43gYxChko5v/6L/pA+Q7CgAoZ+nH6gvqT//jeB4AKYf
q6+sv63ECvkDMB94L3k/es1/MJeBa3Ms/CB0FuAFQG2QBCAHQBrw57TAf3BLcWUuCoUKhX9LwwqF
BrBzQWRtC4AKhb5HCQBLMAMgYdAA0GgKhY+yhLNPtF8FQHtMYU5AznkXIFjAtuBMQbhsvKb/Z3Cw
gr0vvj8IwTTyNaAS8phia222wK+iIF99gKMDEFihYX0txhJPtSGbC4C7sU0HkEZQZ2XGE/+8O7Lm
Yv1vIMHPcL9xz2c//2hPaV9qb7YkxBZXcwyCYkEabn/wLU6gg+IgRUwARElOIFtTTVTsUDrNsD2x
QAuAgdHNUV0HkC0LEQWQMdAuA1Bd/8e/yMRuu8n/yw/MH3K/taz/DCHEJQZgAjDSpBoixDS2gJkI
cHNkv4C24Ep1NWANPfAytuAv8Dk3IDXAOjUzIEFNvDbdqSNX0d6td3UtAYBwZOpA49BnWLEu49Ax
cIqA/QmAdeGP3jFYJd6tYdBXsL+HsQJghvAEIAPwtwAgt7H/AyAJAMaR1l+zIsGPwp/cX1+2M8Cf
6y/sP78DSQOgL/kXIGMv5AEA0ImABBFNkXogV7BnClAxcAnACGBw2CAgPPPUiQAg7PBiAX4+uGzG
EMCP74/wn770Rf/UotL7ApF+IQQACYB+Ek5Ql7cAAFB+IWQCQG0tGXHj4TDhMDQxNPZH7nfElhOB
YcVpfQD/8AADABAQAAAAAAMAERAAAAAAAwCAEP////9AAAcw4NmKpzh3vAFAAAgw4NmKpzh3vAEL
AACACCAGAAAAAADAAAAAAAAARgAAAAADhQAAAAAAAAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAABCF
AAAAAAAAAwAFgAggBgAAAAAAwAAAAAAAAEYAAAAAUoUAALcNAAAeACWACCAGAAAAAADAAAAAAAAA
RgAAAABUhQAAAQAAAAQAAAA4LjAAAwAmgAggBgAAAAAAwAAAAAAAAEYAAAAAAYUAAAAAAAALAC+A
CCAGAAAAAADAAAAAAAAARgAAAAAOhQAAAAAAAAMAMIAIIAYAAAAAAMAAAAAAAABGAAAAABGFAAAA
AAAAAwAygAggBgAAAAAAwAAAAAAAAEYAAAAAGIUAAAAAAAAeAEGACCAGAAAAAADAAAAAAAAARgAA
AAA2hQAAAQAAAAEAAAAAAAAAHgBCgAggBgAAAAAAwAAAAAAAAEYAAAAAN4UAAAEAAAABAAAAAAAA
AB4AQ4AIIAYAAAAAAMAAAAAAAABGAAAAADiFAAABAAAAAQAAAAAAAAAeAD0AAQAAAAEAAAAAAAAA
AwANNP03AAD/3A==

------ =_NextPart_000_01BC770E.DCE3DEE0--


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 11:07:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA02220;
	Thu, 12 Jun 1997 11:00:10 -0500 (CDT)
Received: from sps.lane.edu (sps.lane.edu [157.246.2.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA02863
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 10:59:39 -0500 (CDT)
Received: from [157.246.2.121] (ds2m3.sps.lane.edu [157.246.2.121]) by sps.lane.edu (8.8.5/8.6.5.Beta7) with ESMTP id IAA26316 for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 08:59:35 -0700 (PDT)
Message-Id: <v03007800afc5dbd04acc@[157.246.2.121]>
Date: Thu, 12 Jun 1997 10:03:22 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Greg Shepherd <gshepher@sps.lane.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Setting up users home directories.
In-Reply-To: <Pine.LNX.3.95.970611215710.8632R-100000@ns1.fni.com>
References: <339F4C98.232D@gibnet.gi>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Okay, I got the guest accounts working great. Now the trouble is the
cooperation with our Netscape Web server (2.0).

To publish from a users home directory, N2.0 reads the /etc/passwd file to
find the location of the home directories. But for guest privs. to work,
the home dir in /etc/passwd is:

/home/users/uname/./

the dot (.) is confussing the web server. Any clues?

Greg

===================================================================
Greg Shepherd
Springfield Public Schools
Systems Engineer
(541) 726-3268
gshepher@sps.lane.edu

"...It is somewhat of a rude awakening for many of these parents to
     find that America is facing a most serious situation regarding its
     popular music. Welfare workers tell us that never in the history of
     our land have there been such immoral conditions among our
     young people, and in the surveys made by many organizations
     regarding these conditions, the blame is laid on jazz music and its
     evil influence on the young people of today... That it has a
     demoralizing effect upon the human brain has been demonstrated
     by many scientists."
                                           - Ladies Home Journal, 1921
===================================================================



From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 13:30:36 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA07537;
	Thu, 12 Jun 1997 13:24:04 -0500 (CDT)
Received: from mailbox2.ucsd.edu (mailbox2.ucsd.edu [132.239.1.54])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA12752
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 13:17:56 -0500 (CDT)
Received: from eel (eel.ucsd.edu [132.239.16.13]) by mailbox2.ucsd.edu (8.8.5/8.6.9) with SMTP id LAA12272 for <@ucsd.edu:wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 11:17:55 -0700 (PDT)
Received: by eel (950413.SGI.8.6.12/940406.SGI)
	for wu-ftpd@wugate.wustl.edu id LAA11175; Thu, 12 Jun 1997 11:17:54 -0700
Message-Id: <9706121117.ZM11174@eel.ucsd.edu>
Date: Thu, 12 Jun 1997 11:17:53 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Mona Wong" <mona@eel.ucsd.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: path-filter problem
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi wu-ftpd users:

	I am using wu-ftpd 2.4.2 beta 13 on SunOS 4.1.X.

	I tried to use the path-filter line recommended by both the O'Reilly
book and the wu-ftpd documentation:

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

	However, the disallow character part (^. ^-) doesn't work.  wu keeps
saying that the file isn't allowed when I am using a valid filename.  If I
remove the disallowed character part:

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

	then it works fine.

	I would like to have the disallow character specification so does
anyone know what is wrong?

Mona


-- 
===============================================================
Mona Wong, Programmer & Web Administrator
National Center for Microscopy and Imaging Research
University of California, San Diego
http://www-ncmir.ucsd.edu
===============================================================


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 13:42:35 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA12614;
	Thu, 12 Jun 1997 13:35:54 -0500 (CDT)
Received: from su.uni-sofia.bg (root@ns.uni-sofia.bg [193.68.240.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA08938
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 13:30:41 -0500 (CDT)
Received: from cc.ucc.uni-sofia.bg (root@cc.ucc.uni-sofia.bg [193.68.243.1]) by su.uni-sofia.bg (8.8.5/8.7.3) with ESMTP id VAA12329 for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 21:30:12 +0300 (EET DST)
Received: from child.uni-sofia.bg (child.uni-sofia.bg [193.68.240.68]) by cc.ucc.uni-sofia.bg (8.8.5/8.7.3) with SMTP id VAA10488 for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 21:30:34 +0300 (EET DST)
Message-Id: <33A0403E.2781@ucc.uni-sofia.bg>
Date: Thu, 12 Jun 1997 21:30:22 +0300
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Hristo Kirow <hristo@ucc.uni-sofia.bg>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: path-filter problem
References: <9706121117.ZM11174@eel.ucsd.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: hristo@ucc.uni-sofia.bg
X-Mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
I use:

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

And it looks fine.
Best regards.
-- 
    _/    _/    _/_/_/    _/_/_/      Hristo N. Kirov
   _/    _/  _/        _/             http://www.uni-sofia.bg/~hristo
  _/    _/  _/        _/              mailto:hristo@ucc.uni-sofia.bg 
 _/    _/  _/        _/               ico  on  IRC,  Chanel: #bulgaria
  _/_/      _/_/_/    _/_/_/          (359 2)625 657 9, (359 2)963 328 2

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 14:07:13 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA11974;
	Thu, 12 Jun 1997 14:00:04 -0500 (CDT)
Received: from socks2.raleigh.ibm.com (socks2.raleigh.ibm.com [204.146.167.123])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA14326
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 13:59:11 -0500 (CDT)
Received: from rtpmail03.raleigh.ibm.com by socks2.raleigh.ibm.com (AIX 4.1/UCB 5.64/RTP-FW1.0)
          id AA51570; Thu, 12 Jun 1997 14:59:09 -0400
Received: from madras.raleigh.ibm.com (madras.raleigh.ibm.com [9.67.166.15])
	by rtpmail03.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with SMTP id OAA24462;
	Thu, 12 Jun 1997 14:59:07 -0400
Received: by madras.raleigh.ibm.com (AIX 4.1/UCB 5.64/4.03-RAL)
          id AA23590; Thu, 12 Jun 1997 14:59:08 -0400
Message-Id: <9706121859.AA23590@madras.raleigh.ibm.com>
Date: Thu, 12 Jun 1997 14:59:07 +22324502
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alexey Lef <alexey@raleigh.ibm.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com
Subject: Typo in support/makefiles/Makefile.aix (beta 13)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.9 8/22/96
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

The typo in src/makefiles/Makefile.aix has been already mentioned. There is a 
similar typo in support/makefiles/Makefile.aix, line 17:
  
  snprintf.c should be snprintf.o

Alexey Lef
IBM Global Services


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 16:33:34 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA18480;
	Thu, 12 Jun 1997 16:26:15 -0500 (CDT)
Received: from socks2.raleigh.ibm.com (socks2.raleigh.ibm.com [204.146.167.123])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA22751
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 16:25:24 -0500 (CDT)
Received: from rtpmail02.raleigh.ibm.com by socks2.raleigh.ibm.com (AIX 4.1/UCB 5.64/RTP-FW1.0)
          id AA08498; Thu, 12 Jun 1997 17:25:21 -0400
Received: from madras.raleigh.ibm.com (madras.raleigh.ibm.com [9.67.166.15])
	by rtpmail02.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with SMTP id RAA36016;
	Thu, 12 Jun 1997 17:25:20 -0400
Received: by madras.raleigh.ibm.com (AIX 4.1/UCB 5.64/4.03-RAL)
          id AA35204; Thu, 12 Jun 1997 17:25:19 -0400
Message-Id: <9706122125.AA35204@madras.raleigh.ibm.com>
Date: Thu, 12 Jun 1997 17:25:18 +22324502
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alexey Lef <alexey@raleigh.ibm.com>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com
Subject: Performance problems with many "guestgroup" and "upload" statements
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.9 8/22/96
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

We are running wu-ftpd beta 13 on a fairly fast machine which has 1200+ users 
in /etc/passwd, 160 groups in /etc/group, 90 "guestgroup" and 100+ "upload" 
statements in ftpaccess file.

Ftp login times on that machine were between 1 and 2 minutes (!) even with 
hardly 20 users connected. During peak hours "uptime" was showing 40+ load 
average, sometimes going upto 170 (no, this is not a typo).

While looking through the source code, I found that acl_guestgroup() and 
expand_id() had getgrnam() and getpwnam() inside a loop. This means that in 
our case expand_id() calls getpwnam() and getgrnam() 100 times. Both 
getgrnam() and getpwnam() are very expensive calls, especially when /etc/group 
and /etc/passwd are big.

I changed acl_guestgroup() to use getuserattr() which returns the list of 
groups an id belongs to (looks like this function is AIX-specific, so I put 
"#ifdef AIX" around it). It improved performance, but only slightly.

Then I changed expand_id() code to store pointers to "upload" aclmember 
structures in a hash table and then go through /etc/passwd and /etc/group only 
once using getpwent() and getgrent(). The results were amazing. Login times 
went from 2 minutes to under 3 seconds even during peak hours, and load 
average never goes above 1.

If anyone is interested in the code,  ftp://ftp.raleigh.ibm.com/igs/wu-ftpd.big
passwd.tar.gz contains the following files:

  access.c
  extensions.h
  extensions.c
  hash.c       (this is an additional file implementing hash functions)
  Makefile     (had to add hash.c to SRCS and hash.o to OBJS
  README
  
The changes are marked with "alexey@raleigh.ibm.com".

Of course if you deem these changes worth being incorporated into official 
distribution, I will be delighted to remove these files from our ftp server :-)

I am yet to figure out why setpriv() is used in place of seteuid() and why 
process titles show up twice in "ps -ef" output.

Alexey Lef
UNIX Sysadmin, IBM Global Services



From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 17:09:43 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA24365;
	Thu, 12 Jun 1997 17:02:10 -0500 (CDT)
Received: from passion.doc.ic.ac.uk (passion.doc.ic.ac.uk [146.169.2.24])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA24078
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 16:58:34 -0500 (CDT)
Received: from triumph.doc.ic.ac.uk [146.169.24.1] 
	by passion.doc.ic.ac.uk with esmtp (Exim 1.61 #5)
	id 0wcHt2-0006Xw-00; Thu, 12 Jun 1997 22:58:32 +0100
Message-Id: <33A07107.B8DDB3A4@doc.ic.ac.uk>
Date: Thu, 12 Jun 1997 22:58:31 +0100
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lee McLoughlin <lmjm@doc.ic.ac.uk>
To: wu-ftpd@wugate.wustl.edu
Subject: improving performance
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: lmjm@doc.ic.ac.uk
X-Mailer: Mozilla 4.0b5C (X11; I; SunOS 4.1.3_U1 sun4m)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi I've a set of patches available at:

  http://sunsite.doc.ic.ac.uk/packages/mirror/experimental/wu-2.4.2-upd13.shar

These can help speed up the performance of ftpd and add some useful features.
I've been using these under various versions of wu-ftpd for some time, as have
quite a few others.  I've recently added them to beta 13 but I've
really only tested them under SunOS / Solaris.

The key bits are:

/*
 * DAEMON
 * If ftpd called with -D then run as a standalone daemon listing on the
 * ftp port.   This can speed up ftpd response as all ftpd then needs to
 * do is fork off a copy to handle an incoming request.  Under inetd 
 * a new copy has to be opened and exec'd.
 */


/*
 * FILEWHAT
 * If SETPROCTITLE doesn't work or if you have so many users that ps
 * takes a long time then FILEWHAT keeps the info in a file so that
 * ftpcount can just print it.
 */



and one of for people whose ftp area is a collection of separate mounts:



/*
 * MAPPING_CHDIR
 * Keep track of the path the user has chdir'd into and respond with
 * that to pwd commands.  This is to avoid having the absolue disk
 * path returned.  This helps avoid returning dirs like '.1/fred'
 * when lots of disks make up the ftp area.
 */


The other bits are: KERBEROS4, PLUS_PW and SKEY_CRIMELAB

Hope you find these useful.

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

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 17:14:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA21666;
	Thu, 12 Jun 1997 17:08:03 -0500 (CDT)
Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA23647
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 17:04:59 -0500 (CDT)
Received: from tiki ([13.1.85.56]) by alpha.xerox.com with SMTP id <15030(4)>; Thu, 12 Jun 1997 15:04:28 PDT
Received: from boscoe.ess.mc.xerox.com by tiki (4.1/SMI-4.1)
	id AA23304; Thu, 12 Jun 97 18:05:11 EDT
Received: by boscoe.ess.mc.xerox.com (SMI-8.6/XeroxClient-2.4)
	id SAA00543; Thu, 12 Jun 1997 18:04:48 -0400
Message-Id: <199706122204.SAA00543@boscoe.ess.mc.xerox.com>
Date: Thu, 12 Jun 1997 15:04:48 PDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: khall@ess.mc.xerox.com (Ken Hall)
To: wu-ftpd@wugate.wustl.edu
Cc: hall@vdata.com
Subject: WUFTPD won't run on Solaris - HELP
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am running Solaris 2.5.1 on a SPARC 10 on DNS.

I have compiled the 2.4 version using both GCC,  and
the Sun complier.

Setup my inetd.conf file:

ftp	stream	tcp	nowait	root	/usr2/wuftpd24/bin/fptd	ftpd -l

Executed ckconfig:

ckconfig
Checking _PATH_FTPUSERS :: /etc/ftpusers
ok.
Checking _PATH_FTPACCESS :: /usr/local/etc/ftpaccess
ok.
Checking _PATH_PIDNAMES :: /usr/local/daemon/ftpd/ftp.pids-%s
ok.
Checking _PATH_CVT :: /usr/local/etc/ftpconversions
ok.
Checking _PATH_XFERLOG :: /usr/adm/xferlog
I can't find it... 
Don't worry, it will be created automatically by the
server if you do transfer logging.
Checking _PATH_PRIVATE :: /etc/ftpgroups
ok.
Checking _PATH_FTPHOSTS :: /usr/local/etc/ftphosts
ok.

Did a kill -1 ### < the inetd process 

Now every time I attempt to ftp to my machine
the following is logged:

Jun 12 17:26:20 boscoe ftpd[518]: setsockopt (SO_OOBINLINE): Invalid argument
Jun 12 17:26:20 boscoe ftpd[518]: fcntl F_SETOWN: Invalid argument
Jun 12 17:26:45 boscoe ftpd[518]: exiting on signal 20

Can anyone point out what I need to change???

Thanks,
/Ken

PS: If I change back to the SUN in.ftpd all is well but I need the functionallity offered by
    the WUFTPD.

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 12 17:56:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA26595;
	Thu, 12 Jun 1997 17:50:02 -0500 (CDT)
Received: from legolas.mdh.se (legolas.mdh.se [130.238.251.203])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA26871
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Jun 1997 17:47:20 -0500 (CDT)
Received: from legolas.mdh.se (cel95eig@legolas.mdh.se [130.238.251.203]) by legolas.mdh.se (8.8.5/8.7.3) with SMTP id AAA04512 for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 00:49:04 +0200 (MET DST)
Message-Id: <Pine.GSO.3.95.970613004335.2453B-100000@legolas.mdh.se>
Date: Fri, 13 Jun 1997 00:49:03 +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: path-filter problem
In-Reply-To: <9706121117.ZM11174@eel.ucsd.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: cel95eig@mds.mdh.se
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 12 Jun 1997, Mona Wong wrote:
> Hi wu-ftpd users:

Hello wu-ftpd user.
:-)


> 	I tried to use the path-filter line recommended by both the O'Reilly
> book and the wu-ftpd documentation:

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

This is broken (I noticed it earlier but forgot to mention it .. somehow)
..

The problem is that '^.' is a regexp that will match anything beginning
with any character. But it should be matching anything beginning with a
dot. So for that to work you need to escape the dot in the regexp as in
'^\.'. Pretty easy, right?

The escape char '\' is needed because dot is a special char for a regexp.
But it isn't needed in the '^-' regexp as '-' isn't special (what I know).

Hope this is of any help.

-- 
/Emil
           "In a world without fences, who needs Gates?"
                                                ...Linux users



From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 13 00:15:50 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA06272;
	Fri, 13 Jun 1997 00:10:50 -0500 (CDT)
Received: from zinho003.detewe.de (zinho003.detewe.de [194.115.52.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA06979
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 00:07:33 -0500 (CDT)
Received:  by zinho003.detewe.de (8.6.10/8.6.6) id HAA26278; Fri, 13 Jun 1997 07:06:50 +0200
Received: from relay.detewe.de by zinho003.detewe.de via smap (V1.3)
	id sma026266; Fri Jun 13 07:06:50 1997
Received: from ctbse153  by zinho004.detewe.de (8.6.10/8.6.6) with ESMTP id HAA11804; Fri, 13 Jun 1997 07:04:14 +0200
Received: from ctbws167 by ctbse153 (SMI-8.6/SMI-SVR4)
	id HAA17556; Fri, 13 Jun 1997 07:06:39 +0200
Received: by ctbws167 (SMI-8.6/SMI-SVR4)
	id HAA26479; Fri, 13 Jun 1997 07:06:40 +0200
Message-Id: <199706130506.HAA26479@ctbws167>
Date: Fri, 13 Jun 1997 07:06:40 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andreas.Szameit@detewe.de (Andreas Szameit)
To: gray@yars.free.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: SITE GROUP problem
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> From gray@yars.free.net Thu Jun 12 18:02:57 1997
> From: gray@yars.free.net
> Comments: Authenticated sender is <gray@gemini.yars.free.net>
> To: Andreas.Szameit@detewe.de
> Date: Thu, 12 Jun 1997 20:01:37 +0300
> MIME-Version: 1.0
> Content-transfer-encoding: 7BIT
> Subject: Re: SITE GROUP problem
> Priority: normal
> X-mailer: Pegasus Mail for Win32 (v2.53/R1)
> 
> > Date:          Thu, 12 Jun 1997 15:10:09 +0200
> > Reply-to:      wu-ftpd@wugate.wustl.edu
> > From:          Andreas.Szameit@detewe.de (Andreas Szameit)
> > To:            wu-ftpd@wugate.wustl.edu
> > Subject:       SITE GROUP problem
> 

Hi,


> Hello there,
> did you restart the demon after the changes were made?

which daemon do you mean, the ftpd will be started bei the inetd and
inetd was restarted after changing the conf-files.

> Did you enable the private directive in the ftpaccess file?
Yes, I added a

privat yes

to the ftpaccess file.

> If you use vanilla wu-ftpd 2.4 I would recommend you to move to the latest
> version, i.e. 2.4.2 beta 13.

Yes, I have wu-ftpd 2.4 running, I wil try the beta version.

> 
> 
> > 6.  a second problem is that no messages are logged in the
> >     syslog file.
> 
> You should start the demon with -d option to enable logging. Refer to ftpd man
> page for details.

Yes, I start the ftpd with -d option, but nothing happend.

> 
> The feature you have problem with DOES work. My users change group passwd with 
> no problem. I'm running Solaris 2.5 as you are.
> 
Do you have the ftpd daemon running permanently or do you start them by the inetd ?


> Let me know if you problem persists.
> 
> Regards,
> Serge Bezzubov <gray@yars.free.net>
> YNC, Yarosalvl, Russia
> Serge Bezzubov <gray@yars.free.net>
> YNC, Yaroslavl, Russia
> 

rgs
---------------------------------------------------------------------------
| Andreas Szameit         | Network & System    | Voice: +49 30 6104 5460 |
| Cordless Technology A/S | Administration      | FAX:   +49 30 6104 4234 |
| Branch Office Berlin    |-----------------------------------------------|
| A DeTeWe Group Company  | WWW:        http://www.detewe.de              |
| Koepenicker Str. 180    | E-MAIL:     andreas.szameit@detewe.de         |
| D-10997 Berlin          | COMPUSERVE: 100434,1610                       |
| Germany                 | X.400:      --                                |
------------------------\|||/----------------------------------------------
                         > >
                          O
If a packet hits a pocket on a socket on a port
& the bus is interrupted as a very last resort
& the memory address makes your processes abort
then the socket packet pocket has an error to report!

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 13 01:03:59 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA14301;
	Fri, 13 Jun 1997 00:58:59 -0500 (CDT)
Received: from chico.rediris.es (chico.rediris.es [130.206.1.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id AAA09354
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 00:52:02 -0500 (CDT)
Received: by chico.rediris.es  id HAA16843 for wu-ftpd@wugate.wustl.edu; Fri, 13 Jun 1997 07:52:00 +0200 (MET DST)
Message-Id: <9706130752.ZM16841@rediris.es>
Date: Fri, 13 Jun 1997 07:52:00 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Javier Puche. CSIC RedIRIS" <javier.puche@rediris.es>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: improving performance
In-Reply-To: Lee McLoughlin <lmjm@doc.ic.ac.uk>
        "improving performance" (Jun 12, 10:58pm)
References: <33A07107.B8DDB3A4@doc.ic.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.1 10apr95)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi All,

> Hi I've a set of patches available at:
>
>   http://sunsite.doc.ic.ac.uk/packages/mirror/experimental/wu-2.4.2-upd13.shar
>
> These can help speed up the performance of ftpd and add some useful features.
> I've been using these under various versions of wu-ftpd for some time, as
have
> quite a few others.  I've recently added them to beta 13 but I've
> really only tested them under SunOS / Solaris.
>
> Hope you find these useful.

 They are really useful !!  I was running xdiff yersterday to try to adapt your
patches for earlier releases to b13, so ... I do not have to do it now :-)

Thanks a lot for making such useful things available to all of us.

Best Regards,

Javier Puche.

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 13 14:43:35 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA20870;
	Fri, 13 Jun 1997 14:35:35 -0500 (CDT)
Received: from elektra.ultra.net (elektra.ultra.net [199.232.56.13])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA18903
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 14:31:13 -0500 (CDT)
Received: from noc.ultra.net (jonz@noc.ultra.net [199.232.56.9]) by elektra.ultra.net (8.8.5/ult1.06) with ESMTP id PAA14395 for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 15:31:07 -0400 (EDT)
Received: from localhost (jonz@localhost) by noc.ultra.net (8.8.5/8.6.9/0.2jzp) with SMTP id PAA27167 for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 15:31:07 -0400 (EDT)
Message-Id: <Pine.OSF.3.92.970613152942.25074B-100000@noc.ultra.net>
Date: Fri, 13 Jun 1997 15:31:06 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Jonathan A. Zdziarski" <jonz@ultranet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: C2 Security/DEC
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: noc.ultra.net: jonz owned process doing -bs
X-Sender: jonz@noc.ultra.net
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi, we've recompiled ftpd numerous times, and can not get it working with
DEC Unix/C2 Security.  It keeps rejecting authentication.  This worked
fine previous to moving to C2 Security.  Any help would be appreciated.

--
Jonathan A. Zdziarski                           Network Operations Center
Network Operations Engineer                     UltraNet Communications, Inc.
jonz@noc.ultranet.com                           noc@ultra.net
508-229-8400 x3019                              508-229-8400 x3007



From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 13 19:18:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA02732;
	Fri, 13 Jun 1997 19:13:54 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA01976
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 19:05:43 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id UAA11646;
	Fri, 13 Jun 1997 20:05:41 -0400 (EDT)
Message-Id: <9706132005.AA39576@saloon.eng.intercon.com>
Date: Fri, 13 Jun 1997 20:05:39 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "P. Kearney III" <ioresult@usa.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Problem when denying access
MIME-Version: 1.0
Content-Type: Multipart/Mixed;boundary=part_AFC7589300CDAAA500000007
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--part_AFC7589300CDAAA500000007
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline

I have an entry in my ftpaccess file:

deny *.foo.com /etc/ftpdenymsg

The file exists in /export/ftp/etc/:

-rw-r--r--  1 root     daemon        611 Jun 13 18:58 ftpdenymsg

Even in /etc I have a sym link to it:

lrwxrwxrwx  1 root     staff          26 Jun 13 19:00 ftpdenymsg -> /export/
ftp/etc/ftpdenymsg


When a user from foo.com tries to login, they are kicked out, but the deny 
message is never displayed, all they get is:

ftp> open ftp.intercon.com
Connected to valhalla.intercon.com.
220 valhalla FTP server (Version wu-2.4(4) Wed Jun 11 04:10:46 EDT 1997) 
ready.
221 Server shutting down.  Goodbye.

In the syslog, all I get is one entry:

Jun 13 19:40:40 valhalla ftpd[18680]: FTP session closed


When I look in access.c, it is supposed to be putting an entry in the syslog 
and also displaying the message file, at least according to the access_ok() 
function:

    if (acl_deny(msgfile)) {
        pr_mesg(msgcode, msgfile);
        syslog(LOG_NOTICE, "ACCESS DENIED (deny command) TO %s [%s]",
               remotehost, remoteaddr);
        return (0);
    }


It this a bug or am I doing something wrong?

Oh...this is under SunOS 4.1

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------

--part_AFC7589300CDAAA500000007--


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 13 20:10:32 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA32239;
	Fri, 13 Jun 1997 20:05:39 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA29701
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 20:04:12 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id VAA11911
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Jun 1997 21:04:11 -0400 (EDT)
Message-Id: <9706132104.AA09003@saloon.eng.intercon.com>
Date: Fri, 13 Jun 1997 21:04:09 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "P. Kearney III" <ioresult@usa.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem when denying access
References: <9706132005.AA39576@saloon.eng.intercon.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, Jun 13, 1997 at 8:05:39 PM, "P. Kearney III" <ioresult@usa.net> wrote:

> I have an entry in my ftpaccess file: 
>  
> deny *.foo.com /etc/ftpdenymsg 
>  
> The file exists in /export/ftp/etc/: 
>  
> -rw-r--r--  1 root     daemon        611 Jun 13 18:58 ftpdenymsg 
>  
> Even in /etc I have a sym link to it: 
>  
> lrwxrwxrwx  1 root     staff          26 Jun 13 19:00 ftpdenymsg -> /
> export/ ftp/etc/ftpdenymsg 
>  
>  
> When a user from foo.com tries to login, they are kicked out, but the 
> deny message is never displayed, all they get is: 

OK...I was wrong.

If I have that file in /export/ftp/etc/ and the link in /etc, the server 
doesn't run at all.  Nobody can connect.

If I remove the file from /export/ftp/etc/, users can connect again.

If I remove the link and just change the deny line in ftpaccess to point to 
the real file instead of the link, everthing works perfectly, the deny message 
is even displayed.

deny *.foo.com /export/ftp/etc/ftpdenymsg

Maybe I just read INSTALL incorrectly.

In 11 it says that all messages must be in the anonymous ftp hierarchy.  Then 
in 12 is says you must create a link for shutdown to work correctly.  I 
assumed that you had to do the same thing for all other messages like deny, 
toomany, etc.

Do I just remove the links for all my messages and point the ftpd at the real 
files in my anonymous ftp hierarchy?

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 14 12:25:05 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA30717;
	Sat, 14 Jun 1997 12:18:27 -0500 (CDT)
Received: from chrome.burn.net (vomitron@chrome.burn.net [207.78.255.116])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA32121
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Jun 1997 12:14:29 -0500 (CDT)
Received: from localhost (vomitron@localhost)
	by chrome.burn.net (8.8.5/8.8.5) with SMTP id NAA00556
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Jun 1997 13:14:29 -0400
Message-Id: <Pine.LNX.3.95.970614130908.481D-100000@chrome.burn.net>
Date: Sat, 14 Jun 1997 13:14:29 -0400 (EDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vomitron <vomitron@burn.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Home dir glob hack ?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello all,

We are running Redhat Linux ~4.1 and wu-ftpd-beta12/13

Is there a patch or anything out there that will force a chroot to /home
for real users ??

TIA

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  (   vomitron@burn.net  "The matrix folds itself around me like an origami
 ) \                      trick...And the room smells of sweat and burning
( ( )                     circuitry."  - William Gibson, "Burning Chrome"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 14 22:32:03 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA11735;
	Sat, 14 Jun 1997 22:26:20 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id WAA11315
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Jun 1997 22:20:32 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id WAA10856
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Jun 1997 22:20:41 -0500
Message-Id: <Pine.LNX.3.95.970614222018.10784A-100000@ns1.fni.com>
Date: Sat, 14 Jun 1997 22:20:41 -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: Home dir glob hack ?
In-Reply-To: <Pine.LNX.3.95.970614130908.481D-100000@chrome.burn.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


guest ftp -- see the howto below.

   -- Michael

On Sat, 14 Jun 1997, Vomitron wrote:

> We are running Redhat Linux ~4.1 and wu-ftpd-beta12/13
> 
> Is there a patch or anything out there that will force a chroot to /home
> for real users ??


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs..


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 14 22:41:58 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA12652;
	Sat, 14 Jun 1997 22:35:38 -0500 (CDT)
Received: from mario.gams.at (mario.gams.at [194.42.96.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id WAA10671
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Jun 1997 22:27:31 -0500 (CDT)
Received: (from uucp@localhost)
	by mario.gams.at (8.8.5/8.8.5) with UUCP id FAA08821
	for wu-ftpd@wugate.wustl.edu; Sun, 15 Jun 1997 05:17:58 +0200
Received: from doulos.doulos.or.at by doulos.at (8.7.1/DCS-1.0)
	id WAA25995; Sat, 14 Jun 1997 22:20:22 +0200
Message-Id: <199706142020.WAA25995@doulos.at>
Date: Sat, 14 Jun 1997 22:20:20 +0200 (MET DST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wnp@doulos.at (Wolf N. Paul)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ***Home dir glob hack ?
In-Reply-To: <Pine.LNX.3.95.970614130908.481D-100000@chrome.burn.net> from "Vomitron" at Jun 14, 97 01:14:29 pm
Content-Type: text
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Vomitron writes,

> We are running Redhat Linux ~4.1 and wu-ftpd-beta12/13
> 
> Is there a patch or anything out there that will force a chroot to /home
> for real users ??

I haven't actually tried this, but shouldn't it work to simply declare
all users as "guest" and write their home dir entry in /etc/passwd as
"/users/login/./" ??

Please remember, though, that when you do that you need to duplicate
/etc, /lib, /bin and maybe some others, populated with the appropriate
files, in each user's home directory.
-- 
Wolf N. Paul                                      e-mail: wnp@doulos.or.at 
Podlahagasse 88A                                     phone: +43-1-774-1947
A-1220 Vienna-Austria, Europe                          fax: +43-1-774-3699
Never attribute to malice that which is adequately explained by ignorance.

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 12:00:56 1997
Received: from relay3.UU.NET by relay3.UU.NET with ESMTP 
	(peer crosschecked as: root@localhost)
	id QQcuib00896; Tue, 17 Jun 1997 08:19:46 -0400 (EDT)
Received: from wugate.wustl.edu by relay3.UU.NET with ESMTP 
	(peer crosschecked as: wugate.wustl.edu [128.252.120.1])
	id QQcuib00888; Tue, 17 Jun 1997 08:19:45 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA02329;
	Tue, 17 Jun 1997 07:14:56 -0500 (CDT)
Received: from aeppel.gmd.de (aeppel.gmd.de [129.26.8.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id QAA24587
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 16:22:47 -0500 (CDT)
Received: (from jc@localhost)
	by aeppel.gmd.de (8.8.5/8.8.5) id XAA23257;
	Mon, 16 Jun 1997 23:22:38 +0200
Message-Id: <199706162122.XAA23257@aeppel.gmd.de>
Date: Mon, 16 Jun 1997 23:22:38 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Juergen Christoffel <jc@aeppel.gmd.de>
To: Sean S Coleman <coleman@boulder.nist.gov>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Creating passwds for guests
In-Reply-To: <199706161658.KAA09273@tahoe.bldr.nist.gov> (message from Sean S
	Coleman on Mon, 16 Jun 1997 10:58:27 -0600 (MDT))
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

   Date: Mon, 16 Jun 1997 10:58:27 -0600 (MDT)
   From: Sean S Coleman <coleman@boulder.nist.gov>

   Is there a tool or clever way to create an encrypted passwd to put
   into the ftpgroups file? The only method I can think of right offhand is
   to set a passwd in the password file and copy it to the ftpgroups file?

It's possible in C and easy done in Perl:

sub encrypt  {
  my ($key, $salt) = @_;

  # possible chars for the salt, as specified in "man 3 crypt" 
  $FLAVORS = "abcdefghijklmnopqrstuvwxyz";
  $FLAVORS = $FLAVORS . "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  $FLAVORS = $FLAVORS . "0123456789.//";

  $l = length($FLAVORS);

  srand(time|$$);                       # initialize RNG

  # use salt if supplied, otherwise generate one
  return crypt($key, ($salt || spice()));
}

sub spice {
  # generate a random salt string for crypt
  $n=int(rand($l));             # $n is from [0..$l) now
  $m=int(rand($l));             # $m is from [0..$l) now
  return(substr($FLAVORS, $n, 1) . substr($FLAVORS, $m, 1));
}

Usage: call encrypt with one or two strings, the first one being the
clear text password and the optional second one the so called salt (a
string of at least two chars) to modify the encryption machinery:

while (<STDIN>) {
  chomp($text = $_);
  $result = encrypt($text);
  print "$result\n";
}

The example code is actually part of a web form I offer to our
internal users which they use to generate an encrypted password which
they send me when they ask for a login on our ftp server.

	--jc

-- 
   E-Mail: christoffel@gmd.de or one of {ftp,news,web}master@gmd.de
   GMD - German National Research Center for Information Technology

   Superstition brings bad luck. -- Raymond Smullyan

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 13:20:50 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA05267;
	Tue, 17 Jun 1997 13:12:32 -0500 (CDT)
Received: from fotd.netcomi.com ([204.58.155.101])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA04348
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 13:00:22 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1])
	by fotd.netcomi.com (8.8.5/8.8.5) with SMTP id MAA07503
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 12:59:37 -0500
Message-Id: <Pine.LNX.3.95.970617125758.7416B-100000@fotd.netcomi.com>
Date: Tue, 17 Jun 1997 12:59:37 -0500 (CDT)
Reply-To: fishbowl@netcomi.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "James L. McGill" <fishbowl@fotd.netcomi.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ***Home dir glob hack ?
In-Reply-To: <199706142020.WAA25995@doulos.at>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



On Sat, 14 Jun 1997, Wolf N. Paul wrote:

>I haven't actually tried this, but shouldn't it work to simply declare
>all users as "guest" and write their home dir entry in /etc/passwd as
>"/users/login/./" ??

Of course, this scheme breaks any utility that gets the user's home 
directory by reading /etc/passwd, doesn't it?

--
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/      ]-----l-i-g-h-t
Disco is to music what Etch-A-Sketch is to art.


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 13:52:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA06486;
	Tue, 17 Jun 1997 13:33:39 -0500 (CDT)
Received: from scol.sco.com (scol.london.sco.COM [150.126.1.48])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA05214
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 13:11:24 -0500 (CDT)
Received: from tyne.london.sco.com by scol.sco.COM id aa08288;
          17 Jun 97 19:05 BST
Message-Id: <9706171904.aa08419@tyne.sco.com>
Date: Tue, 17 Jun 97 19:04:14 BST
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ian Willis <ianw@sco.COM>
To: wfp5p@virginia.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: upload different in beta13
X-Mailer: SCO OpenServer Mail Release 5.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>From the behaviour you describe I think you must also have the
ftpaccess line (or something similar):
upload /ftp * no

If you add "nodirs" to the end of this, then making directories would
be restricted to the same directories into which uploads were allowed.

The fact that you can now only upload into the first level down was
caused by a change I submitted which first appeared in Beta 12.
The reasoning and description of my change was:
path_compare() is used to compare two directory paths, however a
path of "/????????????/new" incorrectly matches "/pub/incoming/new".
Fixed by passing FNM_PATHNAME and adding a special test for '*' which
matches all pathnames. This makes it more consistent with the
show_message() and show_readme() directory matching.

Unfortunately this also means that /public_access/* only matches one
directory down compared to the previous behaviour where it matched all
directories under /public_access. With my change you now need to add
an entry for each directory level, e.g.
upload /ftp /public_access/* yes ftp ftp 0666 dirs
upload /ftp /public_access/*/* yes ftp ftp 0666 dirs
upload /ftp /public_access/*/*/* yes ftp ftp 0666 dirs
...
etc which I don't think is reasonable, and I can see no way to achieve
the original behaviour and still pass FNM_PATHNAME, so the patch included
below and sent to wu-ftpd-bugs@academ.com restores the original behaviour
by restoring the Beta 11 fnmatch() call in path_compare().

*** extensions.c.00	Tue Jun 17 16:39:05 1997
--- extensions.c	Tue Jun 17 16:39:01 1997
***************
*** 799,806 ****
  char *p2;
  #endif
  {
!     if ( (*p1 == '*' && *(p1 + 1) == '\0') ||
!          fnmatch(p1, p2, FNM_PATHNAME) == 0 ) /* 0 means they matched */
          return(strlen(p1));
      else
          return(-2);
--- 799,805 ----
  char *p2;
  #endif
  {
!     if ( fnmatch(p1, p2, NULL) == 0 ) /* 0 means they matched */
          return(strlen(p1));
      else
          return(-2);

Ian Willis
SCO Internet Engineering Group, Watford, UK

| upload different in beta13
| Bill Pemberton (wfp5p@tigger.itc.virginia.edu)
| Fri, 6 Jun 1997 08:57:20 -0400 (EDT)
| 
| I just noticed that the upload option in ftpaccess works differently
| in beta 13 (from standard wu-ftpd, it may be this way in all the betas).
| 
| Here's the part of my ftpaccess file:
| 
| upload /ftp /public_access yes ftp ftp 0666 dirs
| upload /ftp /public_access/* yes ftp ftp 0666 dirs
| 
| With wu-ftpd this allowed anonymous to make dirs in public_access and
| upload to them, and make dirs in dirs in dirs..... and all be
| writable. With beta 13 they can make 1 dirs as deep as they want, but
| they can only upload to the first level down.
| 
| Anyhow, is this is a bug or a feature?
| 
| --
| Bill Pemberton                                 wfp5p@virginia.edu
| ITC/Unix Systems                               flash@virginia.edu
| University of Virginia                         uunet!virginia!wfp5p

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 15:01:54 1997
Received: from relay5.UU.NET by relay5.UU.NET with ESMTP 
	(peer crosschecked as: root@localhost)
	id QQcudz07504; Mon, 16 Jun 1997 05:46:30 -0400 (EDT)
Received: from wugate.wustl.edu by relay5.UU.NET with ESMTP 
	(peer crosschecked as: wugate.wustl.edu [128.252.120.1])
	id QQcudz07495; Mon, 16 Jun 1997 05:46:29 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA20072;
	Mon, 16 Jun 1997 04:39:11 -0500 (CDT)
Received: from bofh.co.telenet.pt (oberon.co.telenet.pt [193.219.102.129])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id EAA20014
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 04:33:14 -0500 (CDT)
Received: from urano.co.telenet.pt ([193.219.98.8]) by bofh.co.telenet.pt
          (Netscape Mail Server v1.1) with SMTP id AAA235
          for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 10:40:38 +0100
Message-Id: <33a4f98a.315397198@mail.co.telenet.pt>
Date: Mon, 16 Jun 1997 08:32:33 GMT
Reply-To: jose.monteiro@co.telenet.pt
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jose.monteiro@co.telenet.pt (Jose Monteiro)
To: wu-ftpd@wugate.wustl.edu
Subject: wuftpd configuration files
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Forte Agent 1.0/32.390
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id EAA20015
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi,


I'm having a little problem installing wuftpd in FreeBSD 2.1.7.

urano@cvmicro$ ftp cvmicro 
Connected to cvmicro.telenet.pt.
220 cvmicro.telenet.pt FTP server (Version wu-2.4.2-academ[BETA-13](1)
Fri Jun 6 18:25:53 WET DST 1997) ready.
Name (cvmicro:urano): 
530 User urano access denied...(bad shell)
ftp: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 


My /usr/local/etc/ftpaccess file is properly configured to allow real
accounts and user urano is in the ftpusers file.

Can anybody help me with this problem?

Thanks


José Monteiro


*------José Monteiro <jose.monteiro@co.telenet.pt>------*
|      TELENET - Serviços de Telecomunicaçőes S.A.      |
|       Tel:+351 1 3139190    Fax:+351 1 3541988        |
| Finger urano@bofh.co.telenet.pt or search key servers |
|                 for my PGP public key                 |
*-------------------------------------------------------*

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 15:02:21 1997
Received: from relay4.UU.NET by relay4.UU.NET with ESMTP 
	(peer crosschecked as: root@localhost)
	id QQcudv18662; Mon, 16 Jun 1997 04:46:52 -0400 (EDT)
Received: from wugate.wustl.edu by relay4.UU.NET with ESMTP 
	(peer crosschecked as: wugate.wustl.edu [128.252.120.1])
	id QQcudv18652; Mon, 16 Jun 1997 04:46:49 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id DAA18774;
	Mon, 16 Jun 1997 03:35:12 -0500 (CDT)
Received: from triton.worldonline.nl ([194.151.128.28])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id DAA18661
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 03:28:37 -0500 (CDT)
Received: from [194.151.155.229] (idefix.worldonline.nl [194.151.155.229])
	by triton.worldonline.nl (8.8.5/8.8.5) with ESMTP id KAA20464
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 10:28:30 +0200 (MET DST)
Message-Id: <l03020900afcaa94aa6de@[194.109.13.42]>
Date: Mon, 16 Jun 1997 10:28:44 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bas Meijer <brmeijer@worldonline.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ***Home dir glob hack ?
In-Reply-To: <199706142020.WAA25995@doulos.at>
References: <Pine.LNX.3.95.970614130908.481D-100000@chrome.burn.net> from
 "Vomitron" at Jun 14, 97 01:14:29 pm
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: brmeijer@pop3.worldonline.nl
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>Vomitron writes,
>
>> We are running Redhat Linux ~4.1 and wu-ftpd-beta12/13
>>
>> Is there a patch or anything out there that will force a chroot to /home
>> for real users ??
>
>I haven't actually tried this, but shouldn't it work to simply declare
>all users as "guest" and write their home dir entry in /etc/passwd as
>"/users/login/./" ??
>
>Please remember, though, that when you do that you need to duplicate
>/etc, /lib, /bin and maybe some others, populated with the appropriate
>files, in each user's home directory.
>--

Note: /etc /lib some stuff from /bin should be duplicated to where they are
chrooted to (their homedir can be somewhere else)

Bas Meijer

/'''    Bas Meijer      http://www.worldonline.nl/~brmeijer
c-OO    ---- A u d a x   T r o s   M u l t i m e d i a ----
\  >    Ceintuurbaan 2    1217HN   Hilversum    Netherlands
 \&&    Phone  +31 (0)35 6254545      



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 15:02:44 1997
Received: from relay1.UU.NET by relay1.UU.NET with ESMTP 
	(peer crosschecked as: root@localhost)
	id QQcufd11661; Mon, 16 Jun 1997 13:25:19 -0400 (EDT)
Received: from wugate.wustl.edu by relay1.UU.NET with ESMTP 
	(peer crosschecked as: [128.252.120.1])
	id QQcufd11096; Mon, 16 Jun 1997 13:22:35 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA12463;
	Mon, 16 Jun 1997 12:09:55 -0500 (CDT)
Received: from central.bldrdoc.gov (central.bldrdoc.gov [132.163.128.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA12345
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 11:58:33 -0500 (CDT)
Received: from tahoe.bldr.nist.gov (tahoe.bldr.nist.gov [132.163.129.121]) by central.bldrdoc.gov (8.8.5/8.6.11) with ESMTP id KAA25679 for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Jun 1997 10:58:27 -0600 (MDT)
Received: (from coleman@localhost) by tahoe.bldr.nist.gov (8.8.5/8.6.11) id KAA09273 for wu-ftpd@wugate.wustl.edu; Mon, 16 Jun 1997 10:58:27 -0600 (MDT)
Message-Id: <199706161658.KAA09273@tahoe.bldr.nist.gov>
Date: Mon, 16 Jun 1997 10:58:27 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sean S Coleman <coleman@boulder.nist.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Creating passwds for guests
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: AFbcWL5h9ceocWq+Z3wEIw==
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Is there a tool or clever way to create an encrypted passwd to put
into the ftpgroups file? The only method I can think of right offhand is
to set a passwd in the password file and copy it to the ftpgroups file?

Thanks

Sean Coleman
NIST
Boulder, CO

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 16:12:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA15766;
	Tue, 17 Jun 1997 15:57:12 -0500 (CDT)
Received: from cae3.chinalake.navy.mil (cae3.chinalake.navy.mil [129.131.42.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA15472
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 15:51:19 -0500 (CDT)
Received: (wood@localhost) by cae3.chinalake.navy.mil (8.7.5/8.6.10.1-CL-SOS5.3) id NAA09883 for wu-ftpd@wugate.wustl.edu; Tue, 17 Jun 1997 13:49:44 -0700 (PDT)
Message-Id: <199706172049.NAA09883@cae3.chinalake.navy.mil>
Date: Tue, 17 Jun 1997 13:49:44 -0700 (PDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Wood <wood@cae3.chinalake.navy.mil>
To: wu-ftpd@wugate.wustl.edu
Subject: dir
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello

I'm new to this list and have just installed wu-ftpd on this SunOS 4.1.3 machine.  I can't get "dir" to work.  While the "ls" command shows the files in the directory, the "dir" command gives the following:
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
Any ideas of what i did wrong in the installation or configuring?

Thanks for any help.

Lee

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 16:41:17 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA17812;
	Tue, 17 Jun 1997 16:33:33 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id QAA17483
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 16:26:31 -0500 (CDT)
Message-Id: <199706172127.QAA02506@landfield.com>
Date: Tue, 17 Jun 1997 16:27:06 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: dir
In-Reply-To: <199706172049.NAA09883@cae3.chinalake.navy.mil> from "Wood" at Jun 17, 97 01:49:44 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: 8.0 -- ListProcessor(tm) by CREN

# I'm new to this list and have just installed wu-ftpd on this SunOS 4.1.3 machine.  I can't get "dir" to work.  While the "ls" command shows the files in the directory, the "dir" command gives the following:
# 200 PORT command successful.
# 150 Opening ASCII mode data connection for /bin/ls.
# 226 Transfer complete.
# Any ideas of what i did wrong in the installation or configuring?
# 
# Thanks for any help.
# 
Lee,

The ls command is not configured correctly.  Is there a bin/ls command
in the anonymous ftp directory ?  Are the required shared libraries also
in the same hierarchy ?

There is real information on how to do this in the WU-FTPD Resource Center

	 http://www.landfield.com/wu-ftpd/

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 16:46:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA18121;
	Tue, 17 Jun 1997 16:38:20 -0500 (CDT)
Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA17547
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 16:28:42 -0500 (CDT)
Received: from LOCAL (uucp@localhost) 
          by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 13767
          on Tue, 17 Jun 1997 21:28:40 GMT; id VAA13767
          efrom: news@Garfield.IAEhv.nl; eto: UNKNOWN
Received: (from news@localhost)
	by Garfield.IAEhv.nl (8.8.5/8.8.5) id XAA29413;
	Tue, 17 Jun 1997 23:25:10 +0200
Message-Id: <5o6vbm$rtu$1@Garfield.IAEhv.nl>
Date: 17 Jun 1997 21:25:10 GMT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry.Rovers@IAE.nl
To: wu-ftpd@wugate.wustl.edu
Cc: Perry.Rovers@IAE.nl
Subject: Minor cd quirk
X-Sender: Perry Rovers <perry@Garfield.IAEhv.nl>
X-no-archive: yes
X-bofh-archive: yes
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970324; i586 Linux 2.0.28]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I think I've found a minor quirk in the behavior of cd
in wu-ftpd-2.4.2-beta-13 (goes for older versions too I think).
The quirk here is the result of a 'cd ~' command.
For me, one of the goals of using guestgroups and anon-ftp
is to obscure the rest of the system from the users. For example, 
knowing that they're actually a guestuser of a virtual server that's
located in /home/wu-ftpd/ftp.foo.com/root/ or something like that, isn't a
very big deal but not something that they need to be able to find out.
If I'm logged in as an anonymous or guestgroup user, cd / will take
me to the intended root just fine. cd ~ however will say something to the
effect of '/home/ftp not found'. Is this behaviour that's considered normal?

-- 
Perry Rovers (perry@Garfield.IAEhv.nl)

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 19:25:18 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA29018;
	Tue, 17 Jun 1997 19:19:07 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA28605
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 19:15:06 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id UAA09092;
	Tue, 17 Jun 1997 20:14:58 -0400 (EDT)
Message-Id: <9706172014.AA57960@saloon.eng.intercon.com>
Date: Tue, 17 Jun 1997 20:14:57 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "P. Kearney III" <ioresult@usa.net>
To: wu-ftpd@wugate.wustl.edu
Cc: jose.monteiro@co.telenet.pt (Jose Monteiro)
Subject: Re: wuftpd configuration files
References: <33a4f98a.315397198@mail.co.telenet.pt>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, Jun 16, 1997 at 4:32:33 AM, jose.monteiro@co.telenet.pt (Jose 
Monteiro) wrote:

>  
> Hi, 
>  
>  
> I'm having a little problem installing wuftpd in FreeBSD 2.1.7. 

[SNIP]

> My /usr/local/etc/ftpaccess file is properly configured to allow real 
> accounts and user urano is in the ftpusers file. 
>  
> Can anybody help me with this problem? 

Ummm...in "INSTALL" right at the beginning of the installation instructions it 
states:

    _PATH_FTPUSERS  "/etc/ftpusers"
        The file that lists users that can never ftp in.  Usually contains
        root and all usernames not connected to a real person (eg. bin, sync,
        nobody, etc.)

If you want urano NEVER to be able to log into the server, then you want him 
in ftpusers, but since you want him to be able to log in, I'd remove him from 
ftpusers and see if that helps.

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 19:54:51 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA30867;
	Tue, 17 Jun 1997 19:49:03 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA30440
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 19:42:55 -0500 (CDT)
Message-Id: <199706180043.TAA03638@landfield.com>
Date: Tue, 17 Jun 1997 19:43:30 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Minor cd quirk
In-Reply-To: <5o6vbm$rtu$1@Garfield.IAEhv.nl> from "Perry.Rovers@IAE.nl" at Jun 17, 97 09:25:10 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: 8.0 -- ListProcessor(tm) by CREN

# I think I've found a minor quirk in the behavior of cd
# in wu-ftpd-2.4.2-beta-13 (goes for older versions too I think).
# The quirk here is the result of a 'cd ~' command.
# For me, one of the goals of using guestgroups and anon-ftp
# is to obscure the rest of the system from the users. For example, 
# knowing that they're actually a guestuser of a virtual server that's
# located in /home/wu-ftpd/ftp.foo.com/root/ or something like that, isn't a
# very big deal but not something that they need to be able to find out.
# If I'm logged in as an anonymous or guestgroup user, cd / will take
# me to the intended root just fine. cd ~ however will say something to the
# effect of '/home/ftp not found'. Is this behaviour that's considered normal?

Perry,

Please send this to Stan so that he can fix it. I too consider this
a non-normal "minor quirk". ;-) 
	

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 20:10:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA31886;
	Tue, 17 Jun 1997 20:01:21 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA31294
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 19:54:06 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id UAA09310;
	Tue, 17 Jun 1997 20:54:04 -0400 (EDT)
Message-Id: <9706172054.AA02339@saloon.eng.intercon.com>
Date: Tue, 17 Jun 1997 20:54:02 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "P. Kearney III" <ioresult@usa.net>
To: wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com (Stan Barber)
Subject: Problem compiling beta 13
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'm trying to compile 2.4.2b13 on a Sun 4.1.x machine and it won't compile.  
when I di ./build s41, I keep getting:

Making support library.
cc -g  -c snprintf.c
"snprintf.c", line 95: syntax error at or near variable name "size_t"
*** Error code 1
make: Fatal error: Command failed for target `snprintf.o'

Anyone have any ideas?  Do I have a path incorrectly defined maybe?

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 20:13:36 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA32404;
	Tue, 17 Jun 1997 20:07:16 -0500 (CDT)
Received: from custmail.Internex.NET (custmail.internex.net [199.2.14.12])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA31758
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 19:59:34 -0500 (CDT)
Received: from logistix.com (gatekeeper.logistix.com [205.158.31.130])
	by custmail.Internex.NET (8.8.5/8.8.5) with SMTP id RAA13625
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 17:57:45 -0700 (PDT)
Received: from kimba by logistix.com (SMI-8.6/SMI-SVR4)
	id RAA04108; Tue, 17 Jun 1997 17:59:45 -0700
Message-Id: <33A73290.49C3@sirius.com>
Date: Tue, 17 Jun 1997 17:57:52 -0700
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Alberto U. Begliomini" <aub@sirius.com>
To: wu-ftpd@wugate.wustl.edu
Subject: GNU ls problems
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: aub@sirius.com
X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.5.1 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I am having troubles compiling GNU ls in static mode to put it in
the users bin directories. I wonder if anybody has already tried 
this.

Any help is greatly appreciated. Thanks a lot.

Alberto

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 20:18:16 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA00076;
	Tue, 17 Jun 1997 20:11:52 -0500 (CDT)
Received: from phs.mat-su.k12.ak.us (ben@PHS.Mat-Su.k12.ak.us [199.165.122.66])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA31778
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 19:59:51 -0500 (CDT)
Received: from localhost (ben@localhost) by phs.mat-su.k12.ak.us (8.8.5/8.7.3) with SMTP id QAA21520 for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 16:39:56 -0800
Message-Id: <Pine.LNX.3.93.970617163821.21518A-100000@phs.mat-su.k12.ak.us>
Date: Tue, 17 Jun 1997 16:39:55 -0800 (AKDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ben Hoyt <ben@phs.mat-su.k12.ak.us>
To: wu-ftpd@wugate.wustl.edu
Subject: Access permissions
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Can anyone help me out?  Here is what I'd like configure my ftp server to
do:

Limit everyone in group 1000 to their home directory, and sub-directories
of their home directory, full permissions to both, of course.




From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 20:22:36 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA00563;
	Tue, 17 Jun 1997 20:16:28 -0500 (CDT)
Received: from academ.com (sob@ACADEM.COM [198.137.249.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA31874
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 20:01:16 -0500 (CDT)
Received: (from sob@localhost)
	by academ.com (8.8.5/8.8.5) id UAA04379;
	Tue, 17 Jun 1997 20:00:08 -0500 (CDT)
Message-Id: <199706180100.UAA04379@academ.com>
Date: Tue, 17 Jun 1997 20:00:08 CDT
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: "P. Kearney III" <ioresult@usa.net>, wu-ftpd@wugate.wustl.edu
Cc: wu-ftpd-bugs@academ.com (Stan Barber), sw-support@owlman.academ.com
Subject: Re: Problem compiling beta 13
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

No idea. I have been able to build it on the SunOS 4.1.4 systems I use.

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

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 23:41:43 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA15391;
	Tue, 17 Jun 1997 23:32:18 -0500 (CDT)
Received: from central.bldrdoc.gov (central.bldrdoc.gov [132.163.128.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA15165
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 23:26:20 -0500 (CDT)
Received: (from coleman@localhost) by central.bldrdoc.gov (8.8.5/8.6.11) id WAA01759 for wu-ftpd@wugate.wustl.edu; Tue, 17 Jun 1997 22:26:18 -0600 (MDT)
Message-Id: <199706180426.WAA01759@central.bldrdoc.gov>
Date: Tue, 17 Jun 1997 22:26:18 -0600 (MDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sean S Coleman 303-497-5672 <coleman@boulder.nist.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: logging anonymous users
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I want to log each anonymous ftp login via syslog to keep track
of ftp access. I configured inetd.conf such that ftpd runs with 
the flags -a and -l. Based on the information in the ftpd man page 
and from a quick look at the code, these settings should be enough to
get the connection information into my log files. The particular entry
I want is:

 ANONYMOUS FTP LOGIN FROM tahoe [132.163.129.
 121], coleman@boulder.nist.tof

Unfortuantly, the only way I can get this information logged is to 
enable command logging in the ftpacces file. I added  a syslog() call
right after setting logging=1 in the ftpd.c while processing the
options. When I added the syslog call and took out the log command in
the ftpaccess file, I was able to get the above entry but when I removed
the syslog() call which I added, I could no longer get ftpd to log
connections.

I am running beta 13 on a Solaris 2.5 system. Is there a solution to
this problem or is this a bug in the software?

Your help will be appreciated because I am getting frustrated trying
to get this to work.

Thanks

Sean Coleman
NIST
Boulder, CO
.




From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 17 23:55:45 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA16422;
	Tue, 17 Jun 1997 23:50:17 -0500 (CDT)
Received: from basil.acr.net.au (basil.acr.net.au [203.22.236.98])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA15988
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Jun 1997 23:42:52 -0500 (CDT)
Received: from geoff.acr.net.au (geoff.acr.net.au [203.22.236.80]) by basil.acr.net.au (8.7.3/8.7.3) with SMTP id OAA13044 for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 14:50:36 +1000 (EST)
Message-Id: <199706180450.OAA13044@basil.acr.net.au>
Date: Wed, 18 Jun 1997 14:50:36 +1000 (EST)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: geoff@acr.net.au (Geoff Terry Systems & Net supt 064 923677)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Access permissions
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: geoff@pop.acr.net.au
X-Mailer: Windows Eudora Version 1.4.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ben,
use guests.
get the guest howto from the archive.

the FAQ should tell you

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

Geofft

>Can anyone help me out?  Here is what I'd like configure my ftp server to
>do:
>
>Limit everyone in group 1000 to their home directory, and sub-directories
>of their home directory, full permissions to both, of course.
>
>
>
>
>
Geoff Terry    Systems & Network Support
ACR Net        Sapphire Coast NSW 2550
Australia
Ph 064 923677  Mobile 015 668 227 Fax 064 924594


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 00:54:31 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA28325;
	Wed, 18 Jun 1997 00:45:00 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id AAA27791
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 00:39:01 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id BAA10944;
	Wed, 18 Jun 1997 01:38:58 -0400 (EDT)
Message-Id: <9706180138.AA56727@saloon.eng.intercon.com>
Date: Wed, 18 Jun 1997 01:38:56 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Philip Kearney III" <philip@intercon.com>
To: wu-ftpd@wugate.wustl.edu
Cc: coleman@boulder.nist.gov
Subject: Re: logging anonymous users
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> I want to log each anonymous ftp login via syslog to keep track of ftp 
> access. I configured inetd.conf such that ftpd runs with the flags -a 
> and -l. Based on the information in the ftpd man page and from a quick 
> look at the code, these settings should be enough to get the connection 
> information into my log files. The particular entry I want is: 
>  
>  ANONYMOUS FTP LOGIN FROM tahoe [132.163.129. 121], coleman@
>  boulder.nist.tof 
>  
> Unfortuantly, the only way I can get this information logged is to enable 
> command logging in the ftpacces file. I added  a syslog() call right 
> after setting logging=1 in the ftpd.c while processing the options. When 
> I added the syslog call and took out the log command in the ftpaccess 
> file, I was able to get the above entry but when I removed the syslog() 
> call which I added, I could no longer get ftpd to log connections. 

I had to do the same thing, except I wanted have the ability to log the 
address of every user who logged in anonymous or not as well as just anonymous 
users.

Here's what I did:

Added the following to config.h:

Right before the #define for LOG_FAILED, I added:

/*
 * log ALL login attempts. You may want this to be off if you have a
 * busy server because the log gets big and it puts a strain on syslog.
 */

#define LOG_ALL_LOGINS

/*
 * log ALL ANONYMOUS login attempts. You may want this to be off if you 
 * have a busy server because the log gets big and it puts a strain 
 * on syslog.
 */

#ifndef LOG_ALL_LOGINS

#define LOG_ALL_ANON_LOGINS

#endif



And then in ftpd.c, right at the top of the user() function I put:

user(char *name)
{
    register char *cp;
    char *shell;
    char *getusershell();
    int   why = 0;

#ifdef LOG_ALL_LOGINS    /* 11-Jun-97 PFK - Log ALL login attempts */

    syslog(LOG_INFO, "Login attempt from: %s [%s]", remotehost, remoteaddr);

#endif

.
.
.

    if (!strcasecmp(name, "ftp") || !strcasecmp(name, "anonymous")) {
      struct aclmember *entry = NULL;
      int machineok=1;
      char guestservername[MAXHOSTNAMELEN];
      guestservername[0]='\0';

#ifndef LOG_ALL_LOGINS    /* 11-Jun-97 PFK - Log ALL login attempts */

#ifdef LOG_ALL_ANON_LOGINS /* 11-Jun-97 PFK - Log ALL ANON login attempts */

    syslog(LOG_INFO, "ANONYMOUS Login attempt from: %s [%s]", remotehost,
           remoteaddr);
#endif

#endif

	.
	.
	.
    }
.
.
.

}


Then you get a log that looks like this:

Jun 18 00:44:34 valhalla ftpd[16792]: Login attempt from: 
mctnts07c11.nbnet.nb.ca [207.179.134.113]
Jun 18 00:44:34 valhalla ftpd[16792]: USER anonymous
Jun 18 00:44:34 valhalla ftpd[16792]: PASS robhgs@nbnet.nb.ca
Jun 18 00:44:39 valhalla ftpd[16792]: FTP session closed


If this is a feature that you want, I suggest you send e-mail to wu-ftpd-
bugs@academ.com and ask them for it.  I did.  I said I wanted one for logging 
all logins of anonymous users as well as logins of all users.

I like having them in the syslog so I can just copy the relevant portion of 
the log from connection to session close if someone is messing around on my 
server.  You can send it to the ISP and say here's where they connected, 
here's what they did and here's where they logged off.

All I did was assign one of the local syslogs, like local0 or local1 to be 
"syslog.ftp" and all FTP logging goes into that syslog file.

Hope this helps.

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 03:05:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id CAA05082;
	Wed, 18 Jun 1997 02:58:49 -0500 (CDT)
Received: from ranger.syntaxgroup.it (ranger.syntaxgroup.it [161.27.170.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id CAA04789
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 02:51:09 -0500 (CDT)
Received: by ranger.syntaxgroup.it with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63)
	id <01BC7BCE.C1B40090@ranger.syntaxgroup.it>; Wed, 18 Jun 1997 10:02:40 +0200
Message-Id: <c=IT%a=master400%p=Syntaxgroup%l=RANGER-970618080239Z-2655@ranger.syntaxgroup.it>
Date: Wed, 18 Jun 1997 10:02:39 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Menichini Giuseppe <Menichini@syntaxgroup.it>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: wu-ftpd on WinNT
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.994.63
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi guys,

my name is Giuseppe Menichini and I work in Syntax Processing,
an italian company of Sema Group.
I installed and use wu-ftp on a sparc station with solaris 2.4 and
I'am really satisfied.

A my collegue that use windows NT asked me on the possibility 
to use it on this O.S. I searched the net but I didn't find anything 
of interesting on Wu-ftpd and WinNT.
Could somebody tell me something more ?

My idea is that at this time there isn't a NT version of wu-ftp, if so,
do you think possible to port it without implement in a different way
many portions of the code ?

thanks in advance,

Giuseppe Menichini, Syntax Processing
Via Jervis 77, 10015 Ivrea, (TO)
Tel.  +39-125-522907
Fax. +39-125-522950
E-mail:	menichini@syntaxgroup.it

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 06:06:49 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA13833;
	Wed, 18 Jun 1997 06:00:09 -0500 (CDT)
Received: from pulse. (h-205-217-243-164.netscape.com [205.217.243.164])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA13521
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 05:55:18 -0500 (CDT)
Received: from localhost by pulse. (SMI-8.6/SMI-SVR4)
	id DAA28231; Wed, 18 Jun 1997 03:56:29 -0700
Message-Id: <ML-3.3.866631389.1183.josh@pulse>
Date: Wed, 18 Jun 1997 03:56:29 -0700 (PDT)
Reply-To: Josh <josh@netscape.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Josh <josh@netscape.com>
To: wu-ftpd@wugate.wustl.edu
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: wu-ftpd on WinNT
In-Reply-To: <c=IT%a=master400%p=Syntaxgroup%l=RANGER-970618080239Z-2655@ranger.syntaxgroup.it>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Sender: josh@pulse
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> Hi guys,
> 
> My idea is that at this time there isn't a NT version of wu-ftp, if so,
> do you think possible to port it without implement in a different way
> many portions of the code ?
> 
> thanks in advance,
> 
Actually its quite simple, you just need to perform a small 
step to prepare the machine.

1. Install Linux (or solaris x86, SCO, etc)
2. install wu-ftpd

:)
Sorry, couldnt resist.


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 07:25:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA19455;
	Wed, 18 Jun 1997 07:18:11 -0500 (CDT)
Received: from pluto.private.cableol.net (pluto.cableol.net [194.168.50.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA19098
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 07:14:01 -0500 (CDT)
Received: from client-117.private.cableol.net by pluto.private.cableol.net; (5.65v3.2/1.1.8.2/19Mar96-0213PM)
	id AA08101; Wed, 18 Jun 1997 13:13:28 +0100
Message-Id: <9706181213.AA08101@pluto.private.cableol.net>
Date: Wed, 18 Jun 1997 13:13:24 +0000
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Martin Leach" <leachm@cableol.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Locking customers into home directories
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Mailer: Pegasus Mail for Win32 (v2.53/R1)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello there,

I am new to this list, and kind of new to wu-ftpd, so bear with me.

I partly help admin and run a linux box which hosts virtual websites.
Now, what we are trying to do is to setup Virtual ftp access to the 
customers web directory, but not give the customer the ability to browse 
upper level directorys.

The virtual ftp bit works, but we are having trouble with the latter bit - 
not allowing access to upper level directories.

User logs into his virtual ftp site, and gets the etc, bin and the html 
directory. Etc contains passwd and group file.
Passwd is :- root:*:0:0:Ftp maintainer::  (with the main one being in 
/etc/passwd)
Group is a direct copy of the one in /etc/group.(just lists the one 
customer's entry)

I have tried using /bin/false, and /bin/csh (or whatever shell !), but 
that again doesn't work. (I don't have the ftponly shell)
I have tried to copy the setup for anonymous ftp, 
but that doesn't seem to work - it still gives the ability of browsing 
upper level directories.

Sorry to ask all this, but I haven't really found anywhere on the web to 
help with this !

Is what we are after possible, or would it be best to use disk quotas 
instead ?

Kernal 2.0.27 , 
Wu-ftpd version :- wu-2.4.2-academ[BETA-13]

So, if anyone could point me in the location of a good FAQ, or even give 
me some pointers on where I am going wrong, I would be grateful !

Cheers,

Martin

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 08:20:47 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA23707;
	Wed, 18 Jun 1997 08:12:27 -0500 (CDT)
Received: from relay.xlink.net (relay.xlink.net [193.141.40.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA23282
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 08:04:37 -0500 (CDT)
Received: from mailwizard.cinetic.de ([194.45.170.14])
	by relay.xlink.net (8.8.5/8.8.5) with ESMTP id PAA12500
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 15:04:05 +0200
Received: from sun (194.122.194.2) by mailwizard.cinetic.de
 with SMTP (Apple Internet Mail Server 1.1.1); Wed, 18 Jun 1997 15:08:22 +0200
Message-Id: <33A7DB7B.B1B@cinetic.de>
Date: Wed, 18 Jun 1997 14:58:35 +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: Locking customers into home directories
References: <9706181213.AA08101@pluto.private.cableol.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: oliver@mailwizard.cinetic.de
X-Mailer: Mozilla 3.01 (X11; I; SunOS 5.5.1 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Martin Leach wrote:
> 
> Hello there,
> 
> I am new to this list, and kind of new to wu-ftpd, so bear with me.
> 
> I partly help admin and run a linux box which hosts virtual websites.
> Now, what we are trying to do is to setup Virtual ftp access to the
> customers web directory, but not give the customer the ability to browse
> upper level directorys.
> 

Make sure whatever shell you're using that you register it in
/etc/shells,
or the system call to bind the shell will fail. You could probably use
any program which simply "swallows" the standard input as a shell to
prevent telnet access. "/dev/null" actually should work if you write
/dev/null in /etc/shells.


To prevent the CD command out from their native directory, my setup
is like this: I have doubled the user's directory, and am using
a /./ construct to set a chrooted environment.

so a user directory looks like:

/usr/people/bob/./bob

with the other paths:

/usr/people/bob/bin
/usr/people/bob/etc
/usr/people/bob/lib
...

Regards


Oliver



-- 
_/_/_/_/_/_/_/_/_/_/_/ O l i v e r _/_/_/ S t o l l _/_/_/_/_/_/_/_/_/_/
_/ Network Manager	     	                       	              _/
_/ Cinetic GmbH			      Please send private e-mail to:  _/
_/ os@cinetic.de  				                      _/
_/ Tel: +49 (721) 94329-0			Oliver.Stoll@inka.de  _/
_/ Fax: +49 (721) 94329-22					      _/
_/                                                                    _/
_/ Holmes: Once you've eliminated the obvious, the remainder, however _/
_/         improbable, must be the truth.                             _/
_/ Oliver: The highest probability to a quick solution is always given_/
_/         by applying the most improbable possibility first.         _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 08:56:08 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA26118;
	Wed, 18 Jun 1997 08:49:01 -0500 (CDT)
Received: from nasirc.hq.nasa.gov (nasirc.hq.nasa.gov [38.247.210.49])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA26140
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 08:45:00 -0500 (CDT)
Received: from localhost.hq.nasa.gov by nasirc.hq.nasa.gov (8.6.10/1.35)
	id JAA01729; Wed, 18 Jun 1997 09:44:58 -0400
Message-Id: <199706181344.JAA01729@nasirc.hq.nasa.gov>
Date: Wed, 18 Jun 1997 09:44:56 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mike Garner <garner@nasirc.hq.nasa.gov>
To: wu-ftpd@wugate.wustl.edu
Cc: garner@nasirc.hq.nasa.gov
Subject: Re: Problem compiling beta 13 
In-Reply-To: Your message of "Tue, 17 Jun 1997 20:54:02 EDT."
             <9706172054.AA02339@saloon.eng.intercon.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 2.0delta 6/3/97
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I had to make two changes to build the vanilla version of wuftpd-2.4.2-beta-13 
on SunOS 4.1.3.
One was to add -Dconst= to CFLAGS in src/Makefile. The other was the following
changes to support/snprintf.c:
 
*** snprintf.c  Mon Mar  3 17:55:01 1997
--- snprintf.c.orig     Tue Mar  4 15:20:53 1997
***************
*** 91,98 ****
  # else
  snprintf(str, count, fmt, va_alist)
        char *str;
!       int count;
!       char *fmt;
        va_dcl
  #endif
  {
--- 91,98 ----
  # else
  snprintf(str, count, fmt, va_alist)
        char *str;
!       size_t count;
!       const char *fmt;
        va_dcl
  #endif
  {

-- 
========================================================================
 Mike Garner                      |  Fax:    301-918-8154
 email: garner@nasirc.hq.nasa.gov |  Phone:  301-918-1989
   NASA Automated Incident Response Capability (NASIRC)



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 08:59:46 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA26818;
	Wed, 18 Jun 1997 08:53:00 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA26191
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 08:46:37 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id IAA30630;
	Wed, 18 Jun 1997 08:45:58 -0500
Message-Id: <Pine.LNX.3.95.970618084516.30212B-100000@ns1.fni.com>
Date: Wed, 18 Jun 1997 08:45:58 -0500 (CDT)
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Martin Leach <leachm@cableol.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Locking customers into home directories
In-Reply-To: <9706181213.AA08101@pluto.private.cableol.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


guest ftp will do what you want.  See below.

   -- Michael

On Wed, 18 Jun 1997, Martin Leach wrote:

> I partly help admin and run a linux box which hosts virtual websites.
> Now, what we are trying to do is to setup Virtual ftp access to the 
> customers web directory, but not give the customer the ability to browse 
> upper level directorys.


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 09:35:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA29589;
	Wed, 18 Jun 1997 09:24:48 -0500 (CDT)
Received: from socks2.raleigh.ibm.com (socks2.raleigh.ibm.com [204.146.167.123])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA29598
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 09:22:37 -0500 (CDT)
Received: from rtpmail02.raleigh.ibm.com by socks2.raleigh.ibm.com (AIX 4.1/UCB 5.64/RTP-FW1.0)
          id AA28006; Wed, 18 Jun 1997 10:22:34 -0400
Received: from pcaserver01.raleigh.ibm.com (pcaserver01.raleigh.ibm.com [9.37.74.225])
	by rtpmail02.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with SMTP id KAA30072
	for <wu-ftpd@mail.wustl.edu>; Wed, 18 Jun 1997 10:22:34 -0400
Received: from localhost.raleigh.ibm.com by pcaserver01.raleigh.ibm.com (AIX 4.1/UCB 5.64/4.03)
          id AA61336; Wed, 18 Jun 1997 10:22:33 -0400
Message-Id: <33A7EF29.2781@bcrvm1.rscs>
Date: Wed, 18 Jun 1997 10:22:33 -0400
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ralph Blach <rcblach@bcrvm1.rscs>
To: wu-ftpd@wugate.wustl.edu
Subject: Cant get wu-ftpd to log commands 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: rcblach@raleigh.ibm.com
X-Mailer: Mozilla 3.01Gold (X11; I; AIX 1)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi, 

I am running wuftpd and am trying to get it to do command logging an
an AIX 4.1.5 system.

I have the following ftp access file.

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

I have the following commands in my inetd.conf

ftp     stream  tcp     nowait  root    /etc/ftpd         ftpd -a -L

I also have the following line in my syslog.conf 

*.* /local/logs/ftpd.log
/local/lib/ftpd> ls -l /local/logs/ftpd.log

and ls -l of gives

 ls -l /local/logs/ftpd.log
-rw-rw-rw-   1 root     bin            0 Jun 17 14:33
/local/logs/ftpd.log

Does anybod have any ideas??

yes I did a refresh -s syslogd

Chip

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 10:37:51 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA01393;
	Wed, 18 Jun 1997 10:31:48 -0500 (CDT)
Received: from mail.internet.ubisoft.fr ([194.2.155.248])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA01388
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 10:28:53 -0500 (CDT)
Received: from JMSADOUL ([10.1.200.26]) by mail.internet.ubisoft.fr
          (Netscape Mail Server v2.0) with SMTP id AAA188
          for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 17:23:50 +0200
Received: by JMSADOUL with Microsoft Mail
	id <01BC7C0C.FB3FDE90@JMSADOUL>; Wed, 18 Jun 1997 17:28:05 +0200
Message-Id: <01BC7C0C.FB3FDE90@JMSADOUL>
Date: Wed, 18 Jun 1997 17:28:04 +0200
Reply-To: wu-ftpd@wugate.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: JMSadoul@Internet.UbiSoft.Fr (Jean-Michel Sadoul)
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Xferlog question ? 
X-MS-Attachment: WINMAIL.DAT 0 00-00-1980 00:00
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I log all the files transfer in the xferlog files.
 Is there a way to know if the transfer was aborted ? 
 Is there a message in another log file ?

 (I know I could check the size of the file each time, but I have a lot of files)

thanks for your help,
--
 jm sadoul 
 

begin 600 WINMAIL.DAT
M>)\^(@4/`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`- $```$````,`````P``, (````+``\.``````(!_P\!````3P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````'=U+69T<&1 =W5G871E+G=U<W1L+F5D
M=0!33510`'=U+69T<&1 =W5G871E+G=U<W1L+F5D=0``'@`", $````%````
M4TU44 `````>``,P`0```!D```!W=2UF='!D0'=U9V%T92YW=7-T;"YE9'4`
M`````P`5# $````#`/X/!@```!X``3 !````&P```"=W=2UF='!D0'=U9V%T
M92YW=7-T;"YE9'4G```"`0LP`0```!X```!33510.E=5+4944$1 5U5'051%
M+E=54U1,+D5$50````,``#D`````"P! .@$````"`?8/`0````0````````"
MG#P!!( !`!0```!89F5R;&]G('%U97-T:6]N(#\@`.X&`06 `P`.````S0<&
M`!(`$0`<``0``P`@`0$@@ ,`#@```,T'!@`2`!$`# `F``,`,@$!"8 !`"$`
M``!!,35%,T4S,D4X13=$,#$Q.#!!,3 P-C Y-S,Q-S$T,P#;!@$#D 8`^ (`
M`!0````+`",```````,`)@``````"P`I```````#`"X```````,`-@``````
M0 `Y`' &VS;\>[P!'@!P``$````4````6&9E<FQO9R!Q=65S=&EO;B _( `"
M`7$``0```!8````!O'O\-M0R/EZJY^@1T("A`&"7,7%#```>`!X,`0````4`
M``!33510`````!X`'PP!````'0```$I-4V%D;W5L0$EN=&5R;F5T+E5B:5-O
M9G0N1G(``````P`&$-Z/YLH#``<0RP```!X`"! !````90```$E,3T=!3$Q4
M2$5&24Q%4U1204Y31D5224Y42$581D523$]'1DE,15-)4U1(15)%05=!651/
M2TY/5TE&5$A%5%)!3E-&15)705-!0D]25$5$/TE35$A%4D5!34534T%'14E.
M04X``````@$)$ $```!I`0``90$``&4"``!,6D9U[B[3=?\`"@$/`A4"I /D
M!>L"@P!0$P-4`@!C: K <V5T;C(&``;#`H,R`\4"`'!<<G$2( <3`H,S#WIH
M1&5L`R!$;&<"@S2[`\83Y7T*@ C/"=D[%_]X,C4U`H *@0VQ"V!NX&<Q,#,V
M"OL2\@'0DB *A4D@%Y!G( = 90,@=!50(&8#$ >1=&IR`'%F!) @"X =HWCW
M'J$=,AWS+@J%'0`>,1500Q@`'6 @=V%Y':!O\"!K;F\'X :0':,>5Y\A8 0@
M`: 7H0F (#\<EN,@J@>!<V%G'= >X0!P?F\@XATC'?(CT J%) 8HSQT0(=,=
M$ 6@=6PCP!&PK060:QVC`)!Z'=!O(C0U)J-E`-!H': '<2P@W&)U!4 =$!' 
M=B$B%Y#W!4 IX1WS*0J/' \=L !P[FL$( (0!<!Y"&$KH!5@)' L+/4M+20&
M:FUY*8!A9"BA(_<L]1<A``$S0 ````,`$! ``````P`1$ ````! ``<P<$M,
K#_I[O % ``@P<$M,#_I[O $>`#T``0````$``````````P`--/TW``"KP4M,
`
end


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 11:09:04 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA03328;
	Wed, 18 Jun 1997 11:00:34 -0500 (CDT)
Received: from owlman.academ.com (nobody@OWLMAN.academ.com [198.137.249.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA02934
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 10:50:51 -0500 (CDT)
Received: (from nobody@localhost)
	by owlman.academ.com (8.8.5/8.8.5) id KAA02329;
	Wed, 18 Jun 1997 10:50:46 -0500 (CDT)
Message-Id: <199706181550.KAA02329@owlman.academ.com>
Date: Wed, 18 Jun 1997 10:50:46 -0500 (CDT)
Reply-To: sw-support@owlman.academ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: <sw-support@owlman.academ.com> Academ Software Support
To: wu-ftpd@wugate.wustl.edu
Subject: [ACADEM-SW-SUPPORT #371] Re: Problem compiling beta 13
X-Authentication-Warning: owlman.academ.com: nobody set sender to sw-support using -f
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Greetings.  (This is an automated response.  There is no need to reply.)

Your message regarding:
  [ACADEM-SW-SUPPORT #371] Re: Problem compiling beta 13
has been received and assigned a request number of 371.

In order help us track the progress of this request, we ask that you
include the string [ACADEM-SW-SUPPORT #371]  in the subject line of any further mail
about this particular request.
For example:
    Subject: [ACADEM-SW-SUPPORT #371] Re: Problem compiling beta 13

You may do this simply by replying to this email.

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 11:14:25 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA03403;
	Wed, 18 Jun 1997 10:56:59 -0500 (CDT)
Received: from rusty. (rusty.wustl.edu [128.252.120.70])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA02463
	for <wu-ftpd@mail>; Wed, 18 Jun 1997 10:48:16 -0500 (CDT)
Received: from localhost by rusty. (SMI-8.6/SMI-SVR4)
	id KAA01455; Wed, 18 Jun 1997 10:48:14 -0500
Message-Id: <Pine.SV4.3.94.970618104753.1450B-100000@rusty.wustl.edu>
Date: Wed, 18 Jun 1997 10:48:14 -0500 (CDT)
Reply-To: naeem@rusty.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Naeem Bari 314-935-4865 <naeem@rusty.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: testing Reply-To header
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


test...

-------------------------------------------------------------
Naeem Bari			Tel: (314) 935-4865
Software/Network Engineer	Fax: (314) 935-7142
Office of the N/W Coordinator	naeem@wugate.wustl.edu
Washington U. in St. Louis	http://rusty.wustl.edu/~naeem/
--------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 11:17:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA04378;
	Wed, 18 Jun 1997 11:07:20 -0500 (CDT)
Received: from rusty. (rusty.wustl.edu [128.252.120.70])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA02886
	for <wu-ftpd@mail>; Wed, 18 Jun 1997 10:51:38 -0500 (CDT)
Received: from localhost by rusty. (SMI-8.6/SMI-SVR4)
	id KAA01469; Wed, 18 Jun 1997 10:51:37 -0500
Message-Id: <Pine.SV4.3.94.970618105105.1450C-100000@rusty.wustl.edu>
Date: Wed, 18 Jun 1997 10:51:36 -0500 (CDT)
Reply-To: naeem@rusty.wustl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Naeem Bari 314-935-4865 <naeem@rusty.wustl.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Reply-To: header test 2
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


should be set to sender rather than the list...

-------------------------------------------------------------
Naeem Bari			Tel: (314) 935-4865
Software/Network Engineer	Fax: (314) 935-7142
Office of the N/W Coordinator	naeem@wugate.wustl.edu
Washington U. in St. Louis	http://rusty.wustl.edu/~naeem/
--------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 11:19:53 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA04203;
	Wed, 18 Jun 1997 11:03:59 -0500 (CDT)
Received: from owlman.academ.com (nobody@OWLMAN.academ.com [198.137.249.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA02964
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 10:50:53 -0500 (CDT)
Received: (from nobody@localhost)
	by owlman.academ.com (8.8.5/8.8.5) id KAA02347;
	Wed, 18 Jun 1997 10:50:50 -0500 (CDT)
Message-Id: <199706181550.KAA02347@owlman.academ.com>
Date: Wed, 18 Jun 1997 10:50:50 -0500 (CDT)
Reply-To: sw-support@owlman.academ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: <sw-support@owlman.academ.com> Academ Software Support
To: wu-ftpd@wugate.wustl.edu
Subject: [ACADEM-SW-SUPPORT #372] Re: Problem compiling beta 13
X-Authentication-Warning: owlman.academ.com: nobody set sender to sw-support using -f
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Greetings.  (This is an automated response.  There is no need to reply.)

Your message regarding:
  [ACADEM-SW-SUPPORT #372] Re: Problem compiling beta 13
has been received and assigned a request number of 372.

In order help us track the progress of this request, we ask that you
include the string [ACADEM-SW-SUPPORT #372]  in the subject line of any further mail
about this particular request.
For example:
    Subject: [ACADEM-SW-SUPPORT #372] Re: Problem compiling beta 13

You may do this simply by replying to this email.

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 11:30:49 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA05490;
	Wed, 18 Jun 1997 11:21:02 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA05057
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 11:16:00 -0500 (CDT)
Message-Id: <199706181616.LAA13910@landfield.com>
Date: Wed, 18 Jun 1997 11:16:40 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Thanks! (fwd)
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: 8.0 -- ListProcessor(tm) by CREN

# > Could you please drop me a note when it is complete and I'll forward
# > the fact to the wu-ftpd community.  Thanks again!
# 
# 
# Kent,
# 
# It should be fixed now. The Reply-To header will contain the sender's
# address rather than the list. Let me know if there is a problem.
# 
# Regards,
# naeem
# 
# -------------------------------------------------------------
# Naeem Bari			Tel: (314) 935-4865
# Software/Network Engineer	Fax: (314) 935-7142
# Office of the N/W Coordinator	naeem@wugate.wustl.edu
# Washington U. in St. Louis	http://rusty.wustl.edu/~naeem/
# --------------------------------------------------------------

A BIG Thanks to Naeem for helping get the header problem resolved...

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 11:39:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA06658;
	Wed, 18 Jun 1997 11:32:01 -0500 (CDT)
Received: from demdwu61.mediaways.net (demdwu61.mediaways.net [193.189.224.38])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA06365
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 11:29:01 -0500 (CDT)
Received: from bugfixx.mediaways.net ([193.189.241.137])
          by demdwu61.mediaways.net (Netscape Messaging Server 3.0b2)
           with ESMTP id AAA4460 for <wu-ftpd@wugate.wustl.edu>;
          Wed, 18 Jun 1997 18:28:45 +0200
Message-Id: <33A80CB8.199CE879@mediaWays.net>
Date: Wed, 18 Jun 1997 18:28:40 +0200
Reply-To: andre.merten@mediaways.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Andre Merten" <andre.merten@mediaways.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: dir
References: <199706172049.NAA09883@cae3.chinalake.navy.mil>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Wood wrote:
> 
> Hello
> 
> I'm new to this list and have just installed wu-ftpd on this SunOS 4.1.3 machine.  I can't get "dir" to work.  While the "ls" command shows the files in the directory, the "dir" command gives the following:
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for /bin/ls.
> 226 Transfer complete.
> Any ideas of what i did wrong in the installation or configuring?
> 
> Thanks for any help.
> 
> Lee
Hi, 

maybe you got the problem with the static-linked "ls". (I had the same
problem only a couply of weeks ago).

What you need is one copy of an static-linked "ls-binary" in evry
home-directory, because the "ls" which is normally used is typically in
a directory above the root directoy of restricted users.

good luck!

Sincerly

Andre  
-- 
Andre Merten, mediaWays, An der Autobahn, 33311 Guetersloh
Tel.: +49 (0) 5241/80-7686
Fax: +49 (0) 5241/80-90561
e-mail: andre.merten@mediaWays.net

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 12:13:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA09001;
	Wed, 18 Jun 1997 12:06:45 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA08896
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 12:04:04 -0500 (CDT)
Message-Id: <199706181704.MAA14137@landfield.com>
Date: Wed, 18 Jun 1997 12:04:42 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Thanks! (fwd)
In-Reply-To: <199706181616.LAA13910@landfield.com> from "Kent Landfield" at Jun 18, 97 11:16:40 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: 8.0 -- ListProcessor(tm) by CREN

# # 
# # It should be fixed now. The Reply-To header will contain the sender's
# # address rather than the list. Let me know if there is a problem.
# # 

One thing to remember here folks... Now if you want to reply to the list you
need to specify it. Otherwise only the original sender will see your response.

Just an FYI.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 12:44:42 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA10477;
	Wed, 18 Jun 1997 12:37:11 -0500 (CDT)
Received: from phs.mat-su.k12.ak.us (ben@PHS.Mat-Su.k12.ak.us [199.165.122.66])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA10572
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 12:33:42 -0500 (CDT)
Received: from localhost (ben@localhost) by phs.mat-su.k12.ak.us (8.8.5/8.7.3) with SMTP id JAA26071 for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 09:13:48 -0800
Message-Id: <Pine.LNX.3.93.970618091154.25512A-100000@phs.mat-su.k12.ak.us>
Date: Wed, 18 Jun 1997 09:13:48 -0800 (AKDT)
Reply-To: ben@phs.mat-su.k12.ak.us
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ben Hoyt <ben@phs.mat-su.k12.ak.us>
To: wu-ftpd@wugate.wustl.edu
Subject: my guest setup - I cant read my file listing!
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've set up my server to use guests, and it appears to work perfectly,
except when I ftp in and do an ls or a nlist or dir, I can't get a listing
of any files.. even the ones I upload!
Any idea whats going on?  I'm on an intel linux box running Version wu-2.4
thanks!



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 13:41:16 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA14995;
	Wed, 18 Jun 1997 13:32:06 -0500 (CDT)
Received: from sol.tins.net (sol.tins.net [205.173.230.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA14634
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 13:28:00 -0500 (CDT)
Received: (from mgg@localhost)
	by sol.tins.net (8.8.5/8.8.5) id LAA11979;
	Wed, 18 Jun 1997 11:27:29 -0700 (PDT)
Message-Id: <vubg1uf6a27.fsf@sol.tins.net>
Date: 18 Jun 1997 11:27:28 -0700
Reply-To: mgg@sol.tins.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mark Galbraith <mgg@sol.tins.net>
To: kent@landfield.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Thanks! (fwd)
In-Reply-To: Kent Landfield's message of Wed, 18 Jun 1997 11:16:40 -0500 (CDT)
References: <199706181616.LAA13910@landfield.com>
Mime-Version: 1.0 (generated by tm-edit 7.78)
Content-Type: text/plain; charset=US-ASCII
X-Mailer: Gnus v5.3/Emacs 19.34
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>>>>> "Kent" == Kent Landfield <kent@landfield.com> writes:

Kent> # > Could you please drop me a note when it is complete and I'll forward
Kent> # > the fact to the wu-ftpd community.  Thanks again!
Kent> # 
Kent> # 
Kent> # Kent,
Kent> # 
Kent> # It should be fixed now. The Reply-To header will contain the sender's
Kent> # address rather than the list. Let me know if there is a problem.
Kent> # 
Kent> # Regards,
Kent> # naeem

Kent> A BIG Thanks to Naeem for helping get the header problem resolved...

Absolutely!  Thanks Naeem.
-- 
Mark Galbraith                   Member of The HTML Writers Guild
Engineer, Internet Services	              http://www.hwg.org/
Triad Systems Corporation
(PGP Fingerprint=1CB9 7481 AD5C 5709  690B AC09 7F65 D6F6)

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 14:10:46 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA17125;
	Wed, 18 Jun 1997 14:00:38 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA15029
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 13:58:49 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id NAA04604;
	Wed, 18 Jun 1997 13:58:06 -0500
Message-Id: <Pine.LNX.3.95.970618135642.4326D-100000@ns1.fni.com>
Date: Wed, 18 Jun 1997 13:58:06 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ben Hoyt <ben@phs.mat-su.k12.ak.us>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: my guest setup - I cant read my file listing!
In-Reply-To: <Pine.LNX.3.93.970618091154.25512A-100000@phs.mat-su.k12.ak.us>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Probably a dynamic library thing on ls.  The guest howto goes over this in
some detail.

You should upgrade to the latest beta -- many bug and security fixes.

   -- Michael

On Wed, 18 Jun 1997, Ben Hoyt wrote:

> I've set up my server to use guests, and it appears to work perfectly,
> except when I ftp in and do an ls or a nlist or dir, I can't get a listing
> of any files.. even the ones I upload!
> Any idea whats going on?  I'm on an intel linux box running Version wu-2.4


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 14:20:52 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA18501;
	Wed, 18 Jun 1997 14:12:34 -0500 (CDT)
Received: from lap.plasma.inpe.br (lap.plasma.inpe.br [150.163.5.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA17795
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 14:06:32 -0500 (CDT)
Received: from localhost by lap.plasma.inpe.br; (5.65v3.2/1.1.8.2/19May97-0206PM)
	id AA17580; Wed, 18 Jun 1997 16:04:45 -0300
Message-Id: <9706181904.AA17580@lap.plasma.inpe.br>
Date: Wed, 18 Jun 97 16:04:45 -0300
Reply-To: montes@plasma.inpe.br
Sender: owner-wu-ftpd@wugate.wustl.edu
From: montes@plasma.inpe.br
To: wu-ftpd@wugate.wustl.edu
Subject: Unable to login in Digital Unix 
X-Mts: smtp
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'm trying to install wu-ftpd in a AlphaServer 2100 running Digital Unix 3.2c. 
The system is configured to use Enhanced Security (C2). I've built the binaries
using the modofications suggested in the FAQ for this situation. I have also 
moved the whole sia directory to ~ftp/sia, but still every time I try to login
I get the messages:
	550 Can't set guest privileges (for anonymous logins)
or
	530 Login incorrect (for real logins).
What am I doing wrong?

Antonio Montes

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 14:27:00 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA19039;
	Wed, 18 Jun 1997 14:18:35 -0500 (CDT)
Received: from camco2.celestial.com (root@camco2.celestial.com [192.136.111.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA18624
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 14:14:42 -0500 (CDT)
Received: by camco2.celestial.com
	via sendmail with stdio
	id <m0weQCu-002ALWC@camco2.celestial.com>
	for wu-ftpd@wugate.wustl.edu; Wed, 18 Jun 1997 12:15:52 -0700 (PDT)
	(Smail-3.2.0.92 1997-Feb-9 #7 built 1997-Feb-22)
Message-Id: <19970618121552.54156@camco2.celestial.com>
Date: Wed, 18 Jun 1997 12:15:52 -0700
Reply-To: bill@celestial.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Campbell <bill@camco2.celestial.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd: Cant get wu-ftpd to log commands
In-Reply-To: <33A7EF29.2781@bcrvm1.rscs>; from Ralph Blach on Wed, Jun 18, 1997 at 10:22:33AM -0400
References: <33A7EF29.2781@bcrvm1.rscs>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.67
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Wed, Jun 18, 1997 at 10:22:33AM -0400, Ralph Blach wrote:
>Hi, 
>
>I am running wuftpd and am trying to get it to do command logging an
>an AIX 4.1.5 system.
>
>I have the following ftp access file.
>
>log commands    real,guest,anonymous
>log transfers   guest,anonymous inbound,outbound
...
>Does anybod have any ideas??
>
We're running beta-11 here, and I find that logging isn't done unless
the IP address and logs are specified in the virtual section of the
ftpaccess file.  We have this for one of our ``virtual'' hosts.
virtual 192.136.111.1 root /ftp
virtual 192.136.111.1 banner /ftp/etc/msgs/BANNER
virtual 192.136.111.1 logfile /usr/adm/xferlog

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

Government spending?  I don't know what it's all about.  I don't know
any more about this thing than an economist does, and, God knows, he
doesn't know much.
		-- Will Rogers

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 14:34:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA19654;
	Wed, 18 Jun 1997 14:24:44 -0500 (CDT)
Received: from lucinda.digigami.com (root@lucinda.digigami.com [199.106.62.125])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA19359
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 14:21:12 -0500 (CDT)
Received: from arrakis (nobody@gatekeeper.digigami.com [199.106.62.11]) by lucinda.digigami.com (8.8.5/8.8.2) with SMTP id MAA22323 for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 12:21:08 -0700 (PDT)
Message-Id: <3.0.1.32.19970618122027.00a4f980@popmail.digigami.com>
Date: Wed, 18 Jun 1997 12:20:27 -0700
Reply-To: scottc@digigami.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scott Callaway <scottc@digigami.com>
To: wu-ftpd@wugate.wustl.edu
Subject: RedHat 4.2 and Beta13 won't compile -- libc.a error
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: scottc@popmail.digigami.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I have updated a linux box to RedHat 4.2 and wanted to install
the wu_ftp beta13, but when I run ./build lnx, I get the following
error related to libc.a.

##################
...
gcc -O2 -DDIRENT_ILLEGAL_ACCESS  -fomit-frame-pointer -I.. -I../support
-I/usr/include/bsd -L../support -s   -c hostacc.c -o hostacc.o
gcc -O2 -DDIRENT_ILLEGAL_ACCESS  -fomit-frame-pointer -I.. -I../support
-I/usr/include/bsd -L../support -s   -c sigfix.c -o sigfix.o
make: *** No rule to make target `/usr/lib/libc.a', needed by `ftpd'.  Stop.
...
####################

Even though I do not think this is related, I added 
the -DDIRENT_ILLEGAL_ACCESS flag after going to the FAQ page
<http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html#QA12> .

I also tried compiling the Beta12 version and I got the same error
about '/usr/lib/libc.a' .  Since RedHat comes with the Beta12 version
of wu_ftp, I must just be missing something.

All of the other programs (ftpcount, ftpwho, etc.) compile without
any problems.

Thanks in advance.


-- Scott C.
______________________________________________________________________
  Scott Callaway         scottc@digigami.com          619-231-2600
  Digigami Inc.,   624 Broadway  Suite 200,   San Diego,    CA.  92101
 1:1000               <http://www.digigami.com>
______________________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 18:49:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA31554;
	Wed, 18 Jun 1997 18:38:19 -0500 (CDT)
Received: from server.netidea.com (root@server.netidea.com [204.191.228.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA31785
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 18:36:48 -0500 (CDT)
Received: from pangea (root@ryan.office.netidea.com [206.116.61.103])
	by server.netidea.com (8.8.5/8.8.5) with ESMTP id QAA06078;
	Wed, 18 Jun 1997 16:42:37 -0700
Message-Id: <33A861BD.37238006@netidea.com>
Date: Wed, 18 Jun 1997 15:31:25 -0700
Reply-To: ryan@netidea.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ryan <ryan@netidea.com>
To: wu-ftpd@wugate.wustl.edu, wu-ftpd-bugs@academ.com
Subject: Bug in Virtual Hosting.
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@server.netidea.com
X-Mailer: Mozilla 4.0b3C (X11; I; Linux 2.0.29 i486)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have found the following bug in virtual hosting: (beta13)
Under linux kernel 2.0.29, and 2.0.30, the virtual hosting code does not
work. Both systems are running shadow, (one is slackware 3.1, the other
is slackware 3.2 but with ip aliasing) and I have properly configured
and determined that both shadow and virtual support *are* compiled in. I
have futher done testing and I have narrowed the bug to a single line: 
ftpd.c: 
    if (getsockname(0, (struct sockaddr *) &virtual_addr, &virtual_len)
== 0) {
 This call fails. I have noted the errno, and it is '22'. Which
corresponds to EINVAL -> Invalid Argument.
I have hacked the code to pass
stdin->_fileno (which ended up being 0 anyways)
instead of '0', but I get the same error. I suspect this is some kind of
kernel bug, but I don't know enough about daemon programming to
correctly assess and fix the situation. The server works, but the
virtual part doesn't work at all because of this failed call.


-ryan



--
Ryan Rawson
System Administrater
The Net Idea Communications Inc.
ryan@netidea.com

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 18:53:42 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA32294;
	Wed, 18 Jun 1997 18:44:11 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA32033
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 18:43:50 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id TAA17920
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 19:43:47 -0400 (EDT)
Message-Id: <9706181943.AA46667@saloon.eng.intercon.com>
Date: Wed, 18 Jun 1997 19:43:46 -0400
Reply-To: ioresult@usa.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "P. Kearney III" <ioresult@usa.net>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: IP addresses not being resolved in the log
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I recently built and started running beta 13 and when I looked at the logs I 
noticed something different:

Before, when a login was refused, I would get a line that looked like:

Jun 11 14:12:45 valhalla ftpd[3157]: FTP LOGIN REFUSED (bad shell) FROM 
saloon.eng.intercon.com [149.52.12.108], uucp

Now the line looks like this:

Jun 18 19:32:06 valhalla ftpd[29199]: FTP LOGIN REFUSED (bad shell) FROM 
149.52.12.108 [149.52.12.108], uucp

It doesn't seem to be resolving the IP address into a host name.

Could this be something I screwed up in my build or are other folks running 
beta 13 seeing the same thing?

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 19:22:55 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA16805;
	Wed, 18 Jun 1997 19:08:15 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA00752
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 19:03:31 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id UAA18071;
	Wed, 18 Jun 1997 20:03:29 -0400 (EDT)
Message-Id: <9706182003.AA28910@saloon.eng.intercon.com>
Date: Wed, 18 Jun 1997 20:03:28 -0400
Reply-To: philip@intercon.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Philip Kearney III" <philip@intercon.com>
To: Ralph Blach <rcblach@bcrvm1.rscs>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Cant get wu-ftpd to log commands 
References: <33A7EF29.2781@bcrvm1.rscs>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Wed, Jun 18, 1997 at 10:22:33 AM, Ralph Blach <rcblach@bcrvm1.rscs> wrote:

> Hi, 
>  
> I am running wuftpd and am trying to get it to do command logging an an 
> AIX 4.1.5 system. 
>  
> I have the following ftp access file. 
>  
> log commands    real,guest,anonymous 
> log transfers   guest,anonymous inbound,outbound 
>  
> I have the following commands in my inetd.conf 
>  
> ftp     stream  tcp     nowait  root    /etc/ftpd         ftpd -a -L 
>  
> I also have the following line in my syslog.conf 
>  
> *.* /local/logs/ftpd.log 
> /local/lib/ftpd> ls -l /local/logs/ftpd.log 
>  
> and ls -l of gives 
>  
>  ls -l /local/logs/ftpd.log 
> -rw-rw-rw-   1 root     bin            0 Jun 17 14:33 
> /local/logs/ftpd.log 
>  
> Does anybod have any ideas?? 
>  
> yes I did a refresh -s syslogd 
>  
> Chip 

In ./src/config.h (not the one at the root of the wu-ftpd hierarchy), you will 
see:

#ifndef FACILITY
#define FACILITY LOG_DAEMON
#endif

This is telling it to log stuff to syslog.daemon.  

What I did was add a line to /etc/syslog.conf:

local0.debug    /var/adm/syslog.ftp

Then I added the following lines in ./config.h (not the one in ./src):

/* 
 * Logging normally goes to syslog.daemon, but we want it to go to
 * local0 because we setup local0 to be /var/adm/syslog.ftp in our
 * syslog.conf
 */

#undef FACILITY
#define FACILITY LOG_LOCAL0

Now all of my ftpd logging goes to /var/adm/syslog.ftp.

Hope that helps.

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 19:28:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA01136;
	Wed, 18 Jun 1997 19:14:14 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA16756
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 19:08:23 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id UAA18125
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 20:08:21 -0400 (EDT)
Message-Id: <9706182008.AA20510@saloon.eng.intercon.com>
Date: Wed, 18 Jun 1997 20:08:20 -0400
Reply-To: ioresult@usa.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "P. Kearney III" <ioresult@usa.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Cant get wu-ftpd to log commands 
MIME-Version: 1.0
Content-Type: Multipart/Mixed;boundary=part_AFCDF0B4009EC29300000002
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--part_AFCDF0B4009EC29300000002
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline

On Wed, Jun 18, 1997 at 10:22:33 AM, Ralph Blach <rcblach@bcrvm1.rscs> wrote:

> Hi, 
>  
> I am running wuftpd and am trying to get it to do command logging an an 
> AIX 4.1.5 system. 
>  
> I have the following ftp access file. 
>  
> log commands    real,guest,anonymous 
> log transfers   guest,anonymous inbound,outbound 
>  
> I have the following commands in my inetd.conf 
>  
> ftp     stream  tcp     nowait  root    /etc/ftpd         ftpd -a -L 
>  
> I also have the following line in my syslog.conf 
>  
> *.* /local/logs/ftpd.log 
> /local/lib/ftpd> ls -l /local/logs/ftpd.log 
>  
> and ls -l of gives 
>  
>  ls -l /local/logs/ftpd.log 
> -rw-rw-rw-   1 root     bin            0 Jun 17 14:33 
> /local/logs/ftpd.log 
>  
> Does anybod have any ideas?? 
>  
> yes I did a refresh -s syslogd 
>  
> Chip 

In ./src/config.h (not the one at the root of the wu-ftpd hierarchy), you will 
see:

#ifndef FACILITY
#define FACILITY LOG_DAEMON
#endif

This is telling it to log stuff to syslog.daemon.  

What I did was add a line to /etc/syslog.conf:

local0.debug    /var/adm/syslog.ftp

Then I added the following lines in ./config.h (not the one in ./src):

/* 
 * Logging normally goes to syslog.daemon, but we want it to go to
 * local0 because we setup local0 to be /var/adm/syslog.ftp in our
 * syslog.conf
 */

#undef FACILITY
#define FACILITY LOG_LOCAL0

Now all of my ftpd logging goes to /var/adm/syslog.ftp.

Hope that helps.

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------

--part_AFCDF0B4009EC29300000002--


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 20:31:55 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA03826;
	Wed, 18 Jun 1997 20:21:27 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA01310
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 20:18:19 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id VAA18674
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 21:18:17 -0400 (EDT)
Message-Id: <9706182118.AA16476@saloon.eng.intercon.com>
Date: Wed, 18 Jun 1997 21:18:16 -0400
Reply-To: philip@intercon.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Philip Kearney III" <philip@intercon.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: IP addresses not being resolved in the log
References: <9706181943.AA46667@saloon.eng.intercon.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Wed, Jun 18, 1997 at 7:43:46 PM, "P. Kearney III" <ioresult@usa.net> wrote:

> I recently built and started running beta 13 and when I looked at the 
> logs I noticed something different: 
>  
> Before, when a login was refused, I would get a line that looked like: 
>  
> Jun 11 14:12:45 valhalla ftpd[3157]: FTP LOGIN REFUSED (bad shell) FROM 
> saloon.eng.intercon.com [149.52.12.108], uucp 
>  
> Now the line looks like this: 
>  
> Jun 18 19:32:06 valhalla ftpd[29199]: FTP LOGIN REFUSED (bad shell) 
> FROM 149.52.12.108 [149.52.12.108], uucp 
>  
> It doesn't seem to be resolving the IP address into a host name. 
>  
> Could this be something I screwed up in my build or are other folks 
> running beta 13 seeing the same thing? 

OK, well, I recompiled everything using gcc as the compiler in ./src/Makefile 
and everything works fine again.  The above behavior occurred when I used cc 
as the compiler.

This is on a SunOS 4.1.4 machine.

I had to make the changes Mike Garner suggested to snprintf.c in ./support in 
order to build beta 13 at all.

But I had to leave cc as the compiler in ./support/Makefile because when I 
changed that Makefile to use gcc, snprintf.c wouldn't compile again.

It works now though.

If anyone can get snprintf.c to compile under gcc, please lemme know how you 
did it.  The file looks fine to me (with Mike's changes).

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 18 22:54:33 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA06963;
	Wed, 18 Jun 1997 22:39:46 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id WAA08191
	for <wu-ftpd@wugate.wustl.edu>; Wed, 18 Jun 1997 22:35:08 -0500 (CDT)
Message-Id: <199706190335.WAA18658@landfield.com>
Date: Wed, 18 Jun 1997 22:35:37 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Creating passwds for guests
In-Reply-To: <199706162122.XAA23257@aeppel.gmd.de> from "Juergen Christoffel" at Jun 16, 97 11:22:38 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: 8.0 -- ListProcessor(tm) by CREN

# Date: Mon, 16 Jun 1997 10:58:27 -0600 (MDT)
# From: Sean S Coleman <coleman@boulder.nist.gov>
# 
# Is there a tool or clever way to create an encrypted passwd to put
# into the ftpgroups file? The only method I can think of right offhand is
# to set a passwd in the password file and copy it to the ftpgroups file?

I have a utility I put together recently. It will do what you are looking 
for. Here's a help message from it.

usage: privatepw [-c] [-f ftpgroups] [-g group] accessgroup
       privatepw [-d] [-f ftpgroups] accessgroup
       privatepw [-l] [-f ftpgroups]
            -c:           creates a new ftpgroups file.
            -d:           deletes specified accessgroup.
            -l:           list contents of ftpgroups file.
            -f ftpgroups: updates the specified file.
            -g group:     set real group to the specified group.

There is more information on it in the Resource Center at

	http://www.landfield.com/wu-ftpd/privatepw/

Sources can be retrieved from there or from 

	ftp://ftp.landfield.com/wu-ftpd/privatepw/

Enjoy.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 04:42:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA23317;
	Thu, 19 Jun 1997 04:34:26 -0500 (CDT)
Received: from ftp.cised.unina.it (ftp.cised.unina.it [192.132.34.17])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA22869
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 04:26:32 -0500 (CDT)
Received: by ftp.cised.unina.it; id AA24607; Thu, 19 Jun 1997 11:28:31 +0200
Message-Id: <Pine.OSF.3.93.970619112654.23152A-100000@ftp.cised.unina.it>
Date: Thu, 19 Jun 1997 11:28:30 +0200 (MET DST)
Reply-To: ftpadmin@ftp.cised.unina.it
Sender: owner-wu-ftpd@wugate.wustl.edu
From: FTP Administrator <ftpadmin@ftp.cised.unina.it>
To: wu-ftpd@wugate.wustl.edu
Subject: xferlog and syslog on Digital Unix
In-Reply-To: <9706190914.AA24416@ftp.cised.unina.it>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I've compiled the wuftpd 2.4 beta 13 on a Digital Unix 4.0B. 
I compiled it with a 'build osf'.

Everything works without to modify the sources but I have a couple of
problems:
 
1) The daemon.log in syslog.dated directory logs every command, but NOT
   always the xferlog file reports every RETR command. Why ?
2) The ftpwho strips away the most part of the calling hostname, like this:
   23897 ??       IW       0:00.04 ftpd: ht
   22753 ??       I        0:00.06 ftpd: pc
   22469 ??       S        0:00.27 ftpd: ph
   23982 ??       IW       0:00.05 ftpd: pc
How can I fix this ?

Thank you in advance,
  
Massimo Gais
 ----
FTP Administrator                                        <ftpadmin@ftp.unina.it>
C.D.S. - University "Federico II" of Naples (Italy)
 
                           "640K ought to be enough for anybody." 
                                            --  Bill Gates, 1981   
 


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 05:17:15 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA24793;
	Thu, 19 Jun 1997 05:09:56 -0500 (CDT)
Received: from ftp.cised.unina.it (ftp.cised.unina.it [192.132.34.17])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA24827
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 05:08:26 -0500 (CDT)
Received: by ftp.cised.unina.it; id AA26209; Thu, 19 Jun 1997 12:10:31 +0200
Message-Id: <Pine.OSF.3.93.970619120710.24219A-100000@ftp.cised.unina.it>
Date: Thu, 19 Jun 1997 12:10:31 +0200 (MET DST)
Reply-To: ftpadmin@ftp.cised.unina.it
Sender: owner-wu-ftpd@wugate.wustl.edu
From: FTP Administrator <ftpadmin@ftp.cised.unina.it>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog and syslog on Digital Unix 
In-Reply-To: <199706190944.LAA15676@alpha.logic.tuwien.ac.at>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 19 Jun 1997, Gernot Salzer wrote:

> 
> ftpadmin@ftp.cised.unina.it wrote:
> > 
> > I've compiled the wuftpd 2.4 beta 13 on a Digital Unix 4.0B. 
> > I compiled it with a 'build osf'.
>                               ^^^
> Maybe you should try "build dec" instead, which is for DU 3.X and higher.
> I don't know whether this will solve your problems, but at least you
> can be sure that you compiled it the right way ...
> 
> Regards, Gernot
> 
'build dec' is meant for  c2 enhanced security. I don't use it.

Massimo Gais
----
FTP Administrator                                        <ftpadmin@ftp.unina.it>
C.D.S. - University "Federico II" of Naples (Italy)

                          "640K ought to be enough for anybody." 
                                           --  Bill Gates, 1981   
 


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 08:38:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA30685;
	Thu, 19 Jun 1997 08:30:05 -0500 (CDT)
Received: from mail.point4.com (dougal.point4.com [194.205.28.68])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA30464
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 08:25:39 -0500 (CDT)
Received: from dougal by mail.point4.com via SMTP (940816.SGI.8.6.9/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id OAA09018; Thu, 19 Jun 1997 14:24:31 +0100
Message-Id: <33A9330D.1B37@point4.com>
Date: Thu, 19 Jun 1997 14:24:29 +0100
Reply-To: craig@point4.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Wallace <craig@point4.com>
To: wu-ftpd@wugate.wustl.edu
Subject: not sure how to do this?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@mail.point4.com
X-Mailer: Mozilla 3.01Gold (X11; I; IRIX 5.3 IP20)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I am running wu-ftpd-2.4.2-beta-11 on an O2 running irix6.3.

I have no problems with its performance or security but what i would
like to know is how do you setup ftp access only to the real users
account. By that i mean like a telnet shell using chrootuid restricts
the user to his "world" but how can i do the same for ftp. 

Anyone help? 
-- 

Regards

Craig

Craig Wallace                               Point4
craig@uk.point4.com                         Kingston-upon-Thames
http://www.point4.com                       United Kingdom
                                            T:+44(0)181 255 4004
Europe's premier Internet technologists     F:+44(0)181 255 4044

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 10:17:03 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA05228;
	Thu, 19 Jun 1997 10:05:52 -0500 (CDT)
Received: from mail.point4.com (dougal.point4.com [194.205.28.68])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA05035
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 10:03:50 -0500 (CDT)
Received: from dougal by mail.point4.com via SMTP (940816.SGI.8.6.9/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id QAA10053; Thu, 19 Jun 1997 16:02:37 +0100
Message-Id: <33A94A0C.63DA@point4.com>
Date: Thu, 19 Jun 1997 16:02:36 +0100
Reply-To: craig@point4.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Wallace <craig@point4.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftponly shell
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@mail.point4.com
X-Mailer: Mozilla 3.01Gold (X11; I; IRIX 5.3 IP20)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi,


What is it and where can i get it ?



Regards

Craig

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 10:32:46 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA03874;
	Thu, 19 Jun 1997 10:23:53 -0500 (CDT)
Received: from pizza.hvu.nl (koos@Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA32077
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 10:18:12 -0500 (CDT)
Received: (from koos@localhost) by pizza.hvu.nl (8.8.3/KH19961213 [Fight Spam]) id RAA02033 for wu-ftpd@wugate.wustl.edu; Thu, 19 Jun 1997 17:18:06 +0200 (MET DST)
Message-Id: <199706191518.RAA02033@pizza.hvu.nl>
Date: Thu, 19 Jun 1997 17:18:06 +0200 (MET DST)
Reply-To: koos@pizza.hvu.nl
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: ftponly shell
In-Reply-To: <33A94A0C.63DA@point4.com> from Craig Wallace at "Jun 19, 97 04:02:36 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Files: the truth is out there
X-I-Am-Not-Simes: undecided
X-Mailer: ELM [version 2.4ME+ PL31H (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Quoting Craig Wallace, who wrote :

> What is it and where can i get it ?

#!/bin/sh
#
# ftponly shell
#
echo "You are not allowed to login interactively"
#

Save as ftponly in /bin or /usr/bin or /usr/local/bin, make it mode 755,
put it in /etc/shells.

											 Grtx KH

-- 
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey      Fax: +31-30-2586290
  koos@kzdoos.xs4all.nl (Home)                      Workphone: +31-30-2586287
  http://www.cetis.hvu.nl/~koos/   Looking for a license plate with "RFC 822"
  Microsoft thinks "open systems" means they can leave out security.

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 10:34:59 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA06419;
	Thu, 19 Jun 1997 10:25:33 -0500 (CDT)
Received: from nuinfo.nwu.edu (nuinfo.nwu.edu [129.105.212.72])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA05904
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 10:19:47 -0500 (CDT)
Received: by nuinfo.nwu.edu
	(1.39.111.2/16.2) id AA234583585; Thu, 19 Jun 1997 10:19:45 -0500
Message-Id: <199706191519.KAA05904@wugate.wustl.edu>
Date: Thu, 19 Jun 1997 10:19:44 CDT
Reply-To: albert-lunde@nwu.edu (Albert Lunde)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: albert-lunde@nwu.edu (Albert Lunde)
To: craig@point4.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftponly shell
In-Reply-To: <33A94A0C.63DA@point4.com>; from "Craig Wallace" at Jun 19, 97 4:02 pm
X-Sender: lunde@nuinfo.nwu.edu (Albert Lunde)
X-Mailer: Elm [revision: 112.6]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 
> hi,
> What is it and where can i get it ?

I just use a shell script, like this:

#!/usr/bin/csh -fe
unsetenv IFS
unset IFS
set path=( /usr/bin )
echo
echo '***********************************************************************'
echo User accounts on SYSTEM are only allowed ftp access, not telnet access.
echo Read http://SYSTEM/ for information on using SYSTEM 
echo '***********************************************************************'
echo
/usr/bin/sleep 10
exit -1

Plug in your own host name for SYSTEM. (Some of the details like setting
the path and IFS may be needless paranoia since this isn't run
in a sensitive context, except that we want it to be hard to break out of.)

You likely want to put this in /etc/shells and not put a similar
script for disabled accounts in /etc/shells.

--
    Albert Lunde                      Albert-Lunde@nwu.edu

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 11:00:16 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA07699;
	Thu, 19 Jun 1997 10:48:02 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA07525
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 10:42:17 -0500 (CDT)
Received: from crawford (usr2-dialup15.mix1.WillowSprings.mci.net [166.55.35.79])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id LAA00281 for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 11:38:52 -0400
Message-Id: <33A952E6.7C78CEBC@dcrawford.com>
Date: Thu, 19 Jun 1997 11:40:22 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Virtual FTP
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Could someone give a recomendation on a 'Virtual FTP' solution that has
been proven to work.  Then I am looking to do something simlar to what
Craig Wallace is asking about.  For example I have setup a sever hosting
numerous virtual http domains with a directory structure like this:
/www/domain1/index.html
/www/domain2/index.html

I would like to be able to FTP into 'www.domain1.com' and have it dump
the user into /www/domain1/    then I would like the user to be 'locked'
in to their particular directory and not be able to roam outside of it.

-Dave


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 11:27:30 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA10087;
	Thu, 19 Jun 1997 11:18:22 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA09049
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 11:12:44 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id LAA27549;
	Thu, 19 Jun 1997 11:12:44 -0500
Message-Id: <Pine.LNX.3.95.970619111156.26650D-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 11:12:44 -0500 (CDT)
Reply-To: Michael Brennen <mbrennen@fni.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Craig Wallace <craig@point4.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: not sure how to do this?
In-Reply-To: <33A9330D.1B37@point4.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 19 Jun 1997, Craig Wallace wrote:

> I have no problems with its performance or security but what i would
> like to know is how do you setup ftp access only to the real users
> account. By that i mean like a telnet shell using chrootuid restricts
> the user to his "world" but how can i do the same for ftp. 


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.



From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 11:29:05 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA09695;
	Thu, 19 Jun 1997 11:20:13 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA09340
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 11:17:09 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id LAA27622;
	Thu, 19 Jun 1997 11:16:52 -0500
Message-Id: <Pine.LNX.3.95.970619111555.26650E-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 11:16:51 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Craig Wallace <craig@point4.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftponly shell
In-Reply-To: <33A94A0C.63DA@point4.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


You don't.  Just put that entry in /etc/shells.  It doesn't have to exist.

   -- Michael

On Thu, 19 Jun 1997, Craig Wallace wrote:

> What is it and where can i get it ?


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 11:32:11 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA08871;
	Thu, 19 Jun 1997 11:24:12 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA10620
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 11:21:24 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id LAA27692;
	Thu, 19 Jun 1997 11:21:19 -0500
Message-Id: <Pine.LNX.3.95.970619112040.26650F-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 11:21:19 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Dave Crawford <crawford@dcrawford.com>
Cc: wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Virtual FTP
In-Reply-To: <33A952E6.7C78CEBC@dcrawford.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


One more time... guest ftp.  See below.


On Thu, 19 Jun 1997, Dave Crawford wrote:

> Could someone give a recomendation on a 'Virtual FTP' solution that has
> been proven to work.  Then I am looking to do something simlar to what
> Craig Wallace is asking about.  For example I have setup a sever hosting
> numerous virtual http domains with a directory structure like this:
> /www/domain1/index.html
> /www/domain2/index.html
> 
> I would like to be able to FTP into 'www.domain1.com' and have it dump
> the user into /www/domain1/    then I would like the user to be 'locked'
> in to their particular directory and not be able to roam outside of it.

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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 11:38:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA11308;
	Thu, 19 Jun 1997 11:30:12 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA11195
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 11:28:36 -0500 (CDT)
Received: from crawford (usr2-dialup6.mix1.WillowSprings.mci.net [166.55.35.70])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id MAA00353 for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 12:25:12 -0400
Message-Id: <33A95DC1.D555753@dcrawford.com>
Date: Thu, 19 Jun 1997 12:26:41 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Virtual FTP
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------B218EE701F7CFFBEFA6B76B3"
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--------------B218EE701F7CFFBEFA6B76B3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

>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-13.tar.Z

I am already running this version with -DVIRTUAL added to the CFLAGS
before I compiled it.  And I added the appropriate lines to the
'ftpaccess' file.  But it still doesn't function as I wanted.  When you
FTP to 'www.domain1.com' it dumps you in the anon FTP directory for the
actual server, not the Virtual domain.

-Dave

--------------B218EE701F7CFFBEFA6B76B3
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
<I>>This is the location for the latest wu-ftpd.&nbsp; You can't see the</I>
<BR><I>>directory contents, but get the file anyway.&nbsp; It's there.</I><I></I>

<P><I>><A HREF="ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-13.tar.Z">ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-13.tar.Z</A></I><I></I>

<P>I am already running this version with -DVIRTUAL added to the CFLAGS
before I compiled it.&nbsp; And I added the appropriate lines to the 'ftpaccess'
file.&nbsp; But it still doesn't function as I wanted.&nbsp; When you FTP
to 'www.domain1.com' it dumps you in the anon FTP directory for the actual
server, not the Virtual domain.

<P>-Dave</HTML>

--------------B218EE701F7CFFBEFA6B76B3--


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 11:43:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA12023;
	Thu, 19 Jun 1997 11:36:09 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA11855
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 11:35:48 -0500 (CDT)
Message-Id: <199706191636.LAA27569@landfield.com>
Date: Thu, 19 Jun 1997 11:36:27 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual FTP
In-Reply-To: <33A952E6.7C78CEBC@dcrawford.com> from "Dave Crawford" at Jun 19, 97 11:40:22 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: 8.0 -- ListProcessor(tm) by CREN

# Could someone give a recomendation on a 'Virtual FTP' solution that has
# been proven to work.  Then I am looking to do something simlar to what
# Craig Wallace is asking about.  For example I have setup a sever hosting
# numerous virtual http domains with a directory structure like this:
# /www/domain1/index.html
# /www/domain2/index.html
# 
# I would like to be able to FTP into 'www.domain1.com' and have it dump
# the user into /www/domain1/    then I would like the user to be 'locked'
# in to their particular directory and not be able to roam outside of it.

There are multiple ways to do virtual hosting.  There is a FAQ 
"Supporting Virtual FTP Servers in WU-FTPD" located at 
http://www.landfield.com/wu-ftpd/virtual-ftp-faq.html

It describes the way that it supported in the current baselined Beta13 code.
The FAQ also provides access to an "A New Way of Supporting Virtual Hosts in
WU-FTPD" page (http://www.landfield.com/wu-ftpd/newvirt/newvirt.html) that 
describes how to provide complete ftpaccess file support for each virtual host.

There is also "An Alternative Way of Supporting Virtual FTP Servers" 
described in the FAQ.  One of the three methods will support your needs.

I have been running with the complete ftpaccess method (newvirt) with no 
problems for the last few months.  It really is nice having the granularity 
it supports.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 12:45:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA15741;
	Thu, 19 Jun 1997 12:36:28 -0500 (CDT)
Received: from sbcomp.com ([207.150.14.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA15472
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 12:32:17 -0500 (CDT)
Received: from skb (rockford32.inwave.com [206.190.10.132])
          by sbcomp.com (8.8.4/8.8.4) with SMTP
	  id MAA18796; Thu, 19 Jun 1997 12:31:43 -0500 (CDT)
Message-Id: <3.0.2.32.19970619122935.0085b3a0@sbcomp.net>
Date: Thu, 19 Jun 1997 12:29:35 -0500
Reply-To: skb@sbcomp.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Steven K. Buehler" <skb@sbcomp.net>
To: crawford@dcrawford.com, wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual FTP
In-Reply-To: <33A95DC1.D555753@dcrawford.com>
Mime-Version: 1.0
Content-Type: text/enriched; charset="us-ascii"
X-Sender: skb@sbcomp.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 12:26 PM 6/19/97 -0400, Dave Crawford wrote: 

>>>>

<excerpt><italic>>This is the location for the latest wu-ftpd.  You can't
see the</italic> 

<italic>>directory contents, but get the file anyway.  It's
there.</italic> 


<italic>><<ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-13.tar.Z>ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-13.tar.Z</italic> 


I am already running this version with -DVIRTUAL added to the CFLAGS
before I compiled it.  And I added the appropriate lines to the
'ftpaccess' file.  But it still doesn't function as I wanted.  When you
FTP to 'www.domain1.com' it dumps you in the anon FTP directory for the
actual server, not the Virtual domain. 


-Dave 

</excerpt><<<<<<<<


Are you using the -a option in your inetd.conf file?  If not, then it
isn't even reading your ftpaccess file.  If you are, then let us see what
your ftpaccess file looks like so that we can see what it wrong.  I am
not sure if you posted the ftpaccess file before, so if you could post it
again, it would help.



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

Steven K. Buehler

S & B Computers

Rockford Illinois, USA

Phone: 815-398-7169

Fax: 815-398-7266

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

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 12:55:41 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA15955;
	Thu, 19 Jun 1997 12:48:04 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA15776
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 12:42:32 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id MAA29658;
	Thu, 19 Jun 1997 12:41:11 -0500
Message-Id: <Pine.LNX.3.95.970619123857.26650K-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 12:41:11 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: crawford@dcrawford.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual FTP
In-Reply-To: <3.0.2.32.19970619122935.0085b3a0@sbcomp.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Do you have a unique IP address set up for the virtual host, complete with
aliased IP set up on the FTP server?  If you don't have the aliased IP
address set up on the FTP server, exactly what you described will happen.

   -- Michael

At 12:26 PM 6/19/97 -0400, Dave Crawford wrote: 

 I am already running this version with -DVIRTUAL added to the CFLAGS
 before I compiled it.  And I added the appropriate lines to the
 'ftpaccess' file.  But it still doesn't function as I wanted.  When you
 FTP to 'www.domain1.com' it dumps you in the anon FTP directory for the
 actual server, not the Virtual domain. 



From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 17:26:31 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA31725;
	Thu, 19 Jun 1997 17:15:32 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA31592
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 17:12:53 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id RAA02760
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 17:12:48 -0500
Message-Id: <Pine.LNX.3.95.970619160415.26650Q-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 17:12:48 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd@wugate.wustl.edu
Subject: FTP Uploads
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I've got a number of clients that are having trouble uploading files
across the Internet.  I know there was a discussion about this some time
ago, but I don't think I heard any definite conclusions about anything
that could be done.  Has anyone been able to find a way to get around
this?  I'm not sure anything can be done, but at least the question seems
worth asking. 

   -- Michael


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 17:38:52 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA00175;
	Thu, 19 Jun 1997 17:31:22 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA31800
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 17:25:48 -0500 (CDT)
Received: from crawford (usr2-dialup15.mix1.WillowSprings.mci.net [166.55.35.79])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id SAA00265 for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 18:22:18 -0400
Message-Id: <33A9B16A.234F9A2A@dcrawford.com>
Date: Thu, 19 Jun 1997 18:23:38 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Virtual FTP...
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ok, I've got the Virtual FTP up and running now. (I forgot the '-a',
thanks Kevin) But I'd like to shut off anon. access and allow only
specific users in.  Where would I look for info on this.  Again, here's
the layout:
/www/domain1/index.html    is where Apache is pointed for the Virtual
Domain
/www/domain1/                   is where wu-ftpd is pointed for the
Virtual FTP
I would like a user to be able to ftp in and have full access in their
particular directory, but not be able to roam outside of that
directory.  Thanks again for everyones help.

-Dave


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 17:39:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA00317;
	Thu, 19 Jun 1997 17:31:55 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA32236
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 17:28:25 -0500 (CDT)
Received: from crawford (usr2-dialup15.mix1.WillowSprings.mci.net [166.55.35.79])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id SAA00272 for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 18:24:59 -0400
Message-Id: <33A9B214.E558FACE@dcrawford.com>
Date: Thu, 19 Jun 1997 18:26:28 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
References: <Pine.LNX.3.95.970619160415.26650Q-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael Brennen wrote:

> I've got a number of clients that are having trouble uploading files
> across the Internet.  I know there was a discussion about this some
> time
> ago, but I don't think I heard any definite conclusions about anything
>
> that could be done.  Has anyone been able to find a way to get around
> this?  I'm not sure anything can be done, but at least the question
> seems
> worth asking.
>
>    -- Michael

   Could you describe what problems their experiencing?

-Dave


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 18:15:15 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA02342;
	Thu, 19 Jun 1997 18:06:55 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA02310
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 18:04:11 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id SAA03814;
	Thu, 19 Jun 1997 18:03:45 -0500
Message-Id: <Pine.LNX.3.95.970619180241.2831C-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 18:03:45 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Dave Crawford <crawford@dcrawford.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
In-Reply-To: <33A9B214.E558FACE@dcrawford.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Typically uploads just aborting somewhere during the session.  This always
leaves a hung wu-ftpd daemon also that must be manually killed. 

   -- Michael

On Thu, 19 Jun 1997, Dave Crawford wrote:

>    Could you describe what problems their experiencing?


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 18:25:50 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA03051;
	Thu, 19 Jun 1997 18:18:54 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA01626
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 18:15:31 -0500 (CDT)
Received: from crawford (usr2-dialup10.mix1.WillowSprings.mci.net [166.55.35.74])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id TAA00322; Thu, 19 Jun 1997 19:12:04 -0400
Message-Id: <33A9BD1A.713679E@dcrawford.com>
Date: Thu, 19 Jun 1997 19:13:30 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
References: <Pine.LNX.3.95.970619180241.2831C-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael Brennen wrote:

> Typically uploads just aborting somewhere during the session.  This
> always
> leaves a hung wu-ftpd daemon also that must be manually killed.
>
>    -- Michael

Why not setup a CRON job to run every half hour that looks for inactive
ftp sessions and kills them itself.  Is that what your asking...?
-Dave


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 19:01:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA03483;
	Thu, 19 Jun 1997 18:55:14 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA04706
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 18:51:55 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id SAA04670;
	Thu, 19 Jun 1997 18:51:54 -0500
Message-Id: <Pine.LNX.3.95.970619184822.2831F-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 18:51:54 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Dave Crawford <crawford@dcrawford.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
In-Reply-To: <33A9BD1A.713679E@dcrawford.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 19 Jun 1997, Dave Crawford wrote:

> Michael Brennen wrote:

> > Typically uploads just aborting somewhere during the session.  This
> > always
> > leaves a hung wu-ftpd daemon also that must be manually killed.
> 
> Why not setup a CRON job to run every half hour that looks for inactive
> ftp sessions and kills them itself.  Is that what your asking...?

Nope.  What can be done about aborted uploads to prevent them from
happening in the first place?  I don't think there is much.  But, when it
happens repeatedly it wears thin, even on the most understanding. 

   -- Michael




From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 19:26:33 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA04493;
	Thu, 19 Jun 1997 19:19:13 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA05517
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 19:18:12 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id TAA05205;
	Thu, 19 Jun 1997 19:18:08 -0500
Message-Id: <Pine.LNX.3.95.970619191013.2831H-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 19:18:08 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Dave Crawford <crawford@dcrawford.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
In-Reply-To: <33A9C8DA.A9C3D369@dcrawford.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


As you probably know, physical geographically has little to do with
Internet geography.  Staying within MCI you are probably fine; I don't
know if your server is through MCI also. 

I'm in Dallas, but when MCI has congestion through Chicago (as I saw this
afternoon while trying to trace a problem to Kansas City) it doesn't
matter. It's easy to contact a site across town that bounces traffic
through either coast, and the problems are seldom local. 

The question is not whether congestion exists or not; on today's Internet
that all too frequently a way of life.

The question is: what can be done to survive it? 

   -- Michael

On Thu, 19 Jun 1997, Dave Crawford wrote:

> Michael Brennen wrote:
> 
> > Nope.  What can be done about aborted uploads to prevent them from
> > happening in the first place?  I don't think there is much.  But, when
> > it happens repeatedly it wears thin, even on the most understanding.
> 
>    Where are you geographically?  Maybe it's a hub problem around your
> area.  I'm in western Connecticut and have an MCI account that I use to
> administer my server which is in eastern CT and haven't had a problem
> yet. (except my Zoom never connects faster than 24,000).
> 
> -Dave


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 19 19:37:58 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA04581;
	Thu, 19 Jun 1997 19:31:03 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA04741
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 19:30:13 -0500 (CDT)
Received: from crawford (usr2-dialup20.mix1.WillowSprings.mci.net [166.55.35.84])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id UAA00431; Thu, 19 Jun 1997 20:26:27 -0400
Message-Id: <33A9CE8C.7C570290@dcrawford.com>
Date: Thu, 19 Jun 1997 20:27:56 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: mbrennen@fni.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
References: <Pine.LNX.3.95.970619191013.2831H-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael Brennen wrote:

> As you probably know, physical geographically has little to do with
> Internet geography.  Staying within MCI you are probably fine; I don't
>
> know if your server is through MCI also.

No, my server is connected via PrimeNet...

> The question is: what can be done to survive it?

PopTarts...  throw 'em in the toaster for three minutes, and when I come
back to the computer; the congestion is gone.....   ;-)

-Dave


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 00:01:59 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA14546;
	Thu, 19 Jun 1997 23:56:26 -0500 (CDT)
Received: from inorganic5.fdt.net (jlewis@inorganic5.fdt.net [205.229.48.42])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA14141
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 23:51:49 -0500 (CDT)
Received: from localhost (jlewis@localhost)
	by inorganic5.fdt.net  with SMTP id AAA20862;
	Fri, 20 Jun 1997 00:51:54 -0400
Message-Id: <Pine.LNX.3.95.970620004941.31682m-100000@inorganic5.fdt.net>
Date: Fri, 20 Jun 1997 00:51:54 -0400 (EDT)
Reply-To: jlewis@inorganic5.fdt.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftponly shell
In-Reply-To: <199706191518.RAA02033@pizza.hvu.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 19 Jun 1997, Koos van den Hout _U nix and we all_ wrote:

> Quoting Craig Wallace, who wrote :
> 
> > What is it and where can i get it ?
> 
> #!/bin/sh
> #
> # ftponly shell
> #
> echo "You are not allowed to login interactively"
> #

I had to setup something similar today, and chose this instead:

ln /bin/passwd /bin/noshell
 
add /bin/noshell to /etc/shells.  Now users with /bin/noshell as their
shell cannot log in with telnet, rsh, ssh, etc., but can FTP, and can
change their password by telnet'ing to the system.  Enter
username/password, and you're prompted for a new password.  Complete that,
and your telnet session is terminated.

------------------------------------------------------------------
 Jon Lewis <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/message.
 Florida Digital Turnpike    |  
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 00:03:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA14607;
	Thu, 19 Jun 1997 23:58:35 -0500 (CDT)
Received: from hurricane.gnt.net (root@hurricane.gnt.net [204.49.53.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA12544
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 23:54:09 -0500 (CDT)
Received: from nohbody (x2p35.gnt.com [204.49.68.240])
	by hurricane.gnt.net (8.8.5/8.8.5) with SMTP id XAA15518;
	Thu, 19 Jun 1997 23:53:40 -0500
Message-Id: <199706200453.XAA15518@hurricane.gnt.net>
Date: Thu, 19 Jun 1997 23:53:59 -0500
Reply-To: Bill@Dyess.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Bill Dyess" <Bill@Dyess.com>
To: <mbrennen@fni.com>, "Dave Crawford" <crawford@dcrawford.com>
Cc: <wu-ftpd@wugate.wustl.edu>
Subject: Re: FTP Uploads
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 4.71.0544.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

A year and half or so ago I made several modifications to wu-ftpd to make
it 
fit a specific situation.  In the process I noticed that the download code
had an alarm call to abort dead transfers, but the upload code didn't,
leaving tons of dead ftpd's lying around if you had a system with frequent
uploads.  I fixed it then, but I figured someone else had noticed it and
the main distribution already had the fix.

Perhaps the bug still exists?  If so, it's easy to fix, just add the alarm
call to the upload code.

Bill Dyess
GulfNet Technologies, Destin

>Nope.  What can be done about aborted uploads to prevent them from
>happening in the first place?  I don't think there is much.  But, when it
>happens repeatedly it wears thin, even on the most understanding.



From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 00:04:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA14070;
	Thu, 19 Jun 1997 23:59:17 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA14300
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Jun 1997 23:55:55 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id XAA10711;
	Thu, 19 Jun 1997 23:55:53 -0500
Message-Id: <Pine.LNX.3.95.970619220514.2831R-100000@ns1.fni.com>
Date: Thu, 19 Jun 1997 23:55:52 -0500 (CDT)
Reply-To: Michael Brennen <mbrennen@fni.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: wu-ftpd-bugs@academ.com
Cc: wu-ftpd@wugate.wustl.edu, BUGTRAQ@netspace.org
Subject: wu-ftpd beta 13 Upload Ownership/Permissions Bug
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


There is a potentially serious bug in ftpd.c in wu-ftpd beta 13.  I have
no idea if it exists in previous betas.  I don't think this was a problem
in beta 11, but I've not kept any older source.  If you are not running
beta 13, check this against your source.

During anonymous login, the /./ is not clipped off the struct passwd
pw->pw_dir field that is saved as the chroot directory in ftpd.c. 

Because the /./ is still on the end of the pw->pw_dir field, upl_check() 
'upload' directive processing will fail in extensions.c because the file
name paths will not compare.  It is highly unlikely that the upload
directive root path would also have the /./ on the end. 

If upload directive processing fails for the anonymous user, sites that
depend on upload directives to properly set incoming file permissions
could find their site security compromised. 

For example, it is fairly common to set incoming files to not be readable
to the anonymous user; this prevents files from being traded through an
anonymous site without the permission of the owner.  With this bug, all
uploaded files are owned by the anonymous user, with default permissions
set by CMASK.

The patch below is my version of a fix.  In testing so far it has fixed
the problem.  It may apply with an offset of 1; I'm not sure my ftpd.c
source is pristine.  The patch has been sent to academ.com. 

   -- Michael

--- ftpd.c.orig	Thu Jun 19 22:59:21 1997
+++ ftpd.c	Thu Jun 19 23:01:26 1997
@@ -1560,12 +1560,7 @@
             pw->pw_dir = sgetsave(virtual_root);
         }
 #endif 
-        if (anonymous) {
-            if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
-                reply(550, "Can't set guest privileges.");
-                goto bad;
-            }
-        } else if (guest) {
+        if (anonymous || guest) {
             char *sp;
 
             /* determine root and home directory */


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 01:20:38 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id BAA23512;
	Fri, 20 Jun 1997 01:15:06 -0500 (CDT)
Received: from ftp.cised.unina.it (ftp.cised.unina.it [192.132.34.17])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id BAA23933
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 01:12:21 -0500 (CDT)
Received: by ftp.cised.unina.it; id AA14128; Fri, 20 Jun 1997 08:13:42 +0200
Message-Id: <Pine.OSF.3.93.970620080352.13776A-100000@ftp.cised.unina.it>
Date: Fri, 20 Jun 1997 08:13:42 +0200 (MET DST)
Reply-To: ftpadmin@ftp.cised.unina.it
Sender: owner-wu-ftpd@wugate.wustl.edu
From: FTP Administrator <ftpadmin@ftp.cised.unina.it>
To: Daniel Clar <Daniel.Clar@supelec.fr>
Cc: Wuftpd mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Re: xferlog and syslog on Digital Unix
In-Reply-To: <97061913421501@supelec.fr>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 19 Jun 1997, Daniel Clar wrote:

> It seems to me that you have to say build dec instead of osf.
> And there is another problem with wu-ftpd for DU : you have to modify the 
> makefile to include syslog.c instaed of using the standard syslog mechanism.
> 
> I've sent a mail on this subject some monthes ago. Perharps you'll find it 
> or send me another e-mail.
> 
> Daniel
> 
Yes, I have it. It's included also in the wuftpd.faq.
But I was thinking that beta13 won't need anymore (because I could see
ftp commands (CWD, RETR, STOR, etc.) logged on syslog.dated/*/daemon.log

About the build dec/osf, beacuse my machine doesn't run C2 security, I was
thinking I should choose 'build osf' (the config file are different only
for a #define SECUREOSF). Any explaination from source authors is welcome.

Thank you in advance,


Massimo Gais
 ----
FTP Administrator                                        <ftpadmin@ftp.unina.it>
C.D.S. - University "Federico II" of Naples (Italy)

                          "640K ought to be enough for anybody." 
                                           --  Bill Gates, 1981   
 


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 05:39:31 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA30661;
	Fri, 20 Jun 1997 05:32:38 -0500 (CDT)
Received: from scol.sco.com (scol.london.sco.COM [150.126.1.48])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id FAA30490
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 05:29:22 -0500 (CDT)
Received: from tyne.london.sco.com by scol.sco.COM id ab20083;
          20 Jun 97 11:23 BST
Message-Id: <9706201122.aa10728@tyne.sco.com>
Date: Fri, 20 Jun 97 11:22:42 BST
Reply-To: ianw@sco.COM
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ian Willis <ianw@sco.COM>
To: mbrennen@fni.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd beta 13 Upload Ownership/Permissions Bug
X-Mailer: SCO OpenServer Mail Release 5.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

The code in question has not changed between Beta 11 and Beta 13, why
would you have /./ in the home directory field for the anonymous user,
I thought this was only meaningful with guest accounts which only apply
to real users ?

Ian Willis
SCO Internet Engineering Group, Watford, UK

| Michael Brennen (mbrennen@fni.com)
| wu-ftpd beta 13 Upload Ownership/Permissions Bug
| Thu, 19 Jun 1997 23:55:52 -0500 (CDT)
| 
| There is a potentially serious bug in ftpd.c in wu-ftpd beta 13. I have
| no idea if it exists in previous betas. I don't think this was a problem
| in beta 11, but I've not kept any older source. If you are not running
| beta 13, check this against your source.
| 
| During anonymous login, the /./ is not clipped off the struct passwd
| pw->pw_dir field that is saved as the chroot directory in ftpd.c.
| 
| Because the /./ is still on the end of the pw->pw_dir field, upl_check()
| 'upload' directive processing will fail in extensions.c because the file
| name paths will not compare. It is highly unlikely that the upload
| directive root path would also have the /./ on the end.
| 
| If upload directive processing fails for the anonymous user, sites that
| depend on upload directives to properly set incoming file permissions
| could find their site security compromised.
| 
| For example, it is fairly common to set incoming files to not be readable
| to the anonymous user; this prevents files from being traded through an
| anonymous site without the permission of the owner. With this bug, all
| uploaded files are owned by the anonymous user, with default permissions
| set by CMASK.
| 
| The patch below is my version of a fix. In testing so far it has fixed
| the problem. It may apply with an offset of 1; I'm not sure my ftpd.c
| source is pristine. The patch has been sent to academ.com.
| 
| -- Michael
| 
| --- ftpd.c.orig Thu Jun 19 22:59:21 1997
| +++ ftpd.c Thu Jun 19 23:01:26 1997
| @@ -1560,12 +1560,7 @@
| pw->pw_dir = sgetsave(virtual_root);
| }
| #endif
| - if (anonymous) {
| - if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
| - reply(550, "Can't set guest privileges.");
| - goto bad;
| - }
| - } else if (guest) {
| + if (anonymous || guest) {
| char *sp;
| 
| /* determine root and home directory */

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 08:24:20 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA04149;
	Fri, 20 Jun 1997 08:16:04 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA04005
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 08:09:59 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id IAA17043;
	Fri, 20 Jun 1997 08:09:51 -0500
Message-Id: <Pine.LNX.3.95.970620073949.11168C-100000@ns1.fni.com>
Date: Fri, 20 Jun 1997 08:09:51 -0500 (CDT)
Reply-To: Michael Brennen <mbrennen@fni.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ian Willis <ianw@sco.COM>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd beta 13 Upload Ownership/Permissions Bug
In-Reply-To: <9706201122.aa10728@tyne.sco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 20 Jun 1997, Ian Willis wrote:

> The code in question has not changed between Beta 11 and Beta 13, why
> would you have /./ in the home directory field for the anonymous user,
> I thought this was only meaningful with guest accounts which only apply
> to real users ?

After some sleep, it looks like I recently went through and added the /./
to the end of the anon ftp path in /etc/passwd.  I must have done this
while looking at other things. I certainly had no idea that it would break
the upload directive code. 

The argument could be made that the /./ should never be on the anon ftp
path.  Given the unexpected consequences of placing it there, and that
adding the patch does not alter functionality if /./ is not there, I would
still argue that the source change should be made in the eventuality that
someone puts /./ on their anon ftp path.

anonymous is a chrooted account, and it would be easy to think you needed
the /./.  I've worked with this stuff for a long time, and perhaps
arguably should know better.  But, in a moment of inattention, while not
thinking of the full config options of wu-ftpd, I added /./ and
unexpectedly changed the behaviour of the daemon for the worse.  I guess I
would like to see that hole closed. 

   -- Michael


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 08:52:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA05787;
	Fri, 20 Jun 1997 08:46:17 -0500 (CDT)
Received: from postoffice.mail.cornell.edu (POSTOFFICE.MAIL.CORNELL.EDU [132.236.56.7])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id IAA05767
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 08:44:28 -0500 (CDT)
Received: from poppleton..cornell.edu (POPPLETON.ABC.CORNELL.EDU [128.253.91.14])
	by postoffice.mail.cornell.edu (8.8.5/8.8.5) with SMTP id JAA07339
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 09:44:26 -0400 (EDT)
Message-Id: <2.2.32.19970620134403.006a3ff0@postoffice.mail.cornell.edu>
Date: Fri, 20 Jun 1997 09:44:03 -0400
Reply-To: ljp2@cornell.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Linda J. Poppleton" <ljp2@cornell.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: aix 4.1.4 build errors
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: ljp2@postoffice.mail.cornell.edu
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am running AIX 4.1.4, attempting to run 'build' on the wu-ftpd 2.4.
I get the following errors on the make ftpd step.  All other steps appear to
work ok.

Making ftpd.
make ftpd
	cc -O -DDEBUG -I.. -I../support -L../support -c ftpcmd.c
"ftpcmd.y", line 371.18: 1506-045 (S) Undeclared identifier cmdtab.
"ftpcmd.y", line 383.26: 1506-045 (S) Undeclared identifier sitetab.
"ftpcmd.y", line 1057.36: 1506-280 (W) Function argument assignment between
types "void(*)(int)" and "void(*)()" is not allowed.
"ftpcmd.y", line 1519.1: 1506-343 (S) Redeclaration of print_groups differs
from previous declaration on line 683 of "ftpcmd.y".
"ftpcmd.y", line 1519.1: 1506-050 (I) Return type "void" in redeclaration is
not compatible with the previous return type "int".
make: The error code from the last command is 1.

Any ideas as to what is causing this problem?
Thanks,
Linda Poppleton
ljp2@cornell.edu


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 09:56:11 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA09654;
	Fri, 20 Jun 1997 09:49:29 -0500 (CDT)
Received: from mail.point4.com (dougal.point4.com [194.205.28.68])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA09256
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 09:44:48 -0500 (CDT)
Received: from dougal by mail.point4.com via SMTP (940816.SGI.8.6.9/940406.SGI)
	for <wu-ftpd@wugate.wustl.edu> id PAA24762; Fri, 20 Jun 1997 15:43:40 +0100
Message-Id: <33AA9719.1E4D@point4.com>
Date: Fri, 20 Jun 1997 15:43:37 +0100
Reply-To: craig@point4.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Wallace <craig@point4.com>
To: wu-ftpd@wugate.wustl.edu
Subject: guest accounts...
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@mail.point4.com
X-Mailer: Mozilla 3.01Gold (X11; I; IRIX 5.3 IP20)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi 

Thanks for all the help recently but i keep getting this error when a
guest account logs in i get this error 

root@maggie[/usr/local/lib/ftpd] ftp maggie
Connected to maggie.point4.com.
220 maggie FTP server (Version wu-2.4.2-academ[BETA-11](3) Mon Dec 9
06:37:02 PST 1996) ready.
Name (maggie:craig): zinc
331 Password required for zinc.
Password:
550 Can't set guest privileges.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 


I presume this has something to do with the ftpaccess file am i right ?

 

Regards

Craig

Craig Wallace                               Point4
craig@uk.point4.com                         Kingston-upon-Thames
http://www.point4.com                       United Kingdom
                                            T:+44(0)181 255 4004
Europe's premier Internet technologists     F:+44(0)181 255 4044

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 10:26:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA04642;
	Fri, 20 Jun 1997 10:20:07 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA10981
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 10:15:24 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id KAA19741;
	Fri, 20 Jun 1997 10:15:09 -0500
Message-Id: <Pine.LNX.3.95.970620101355.11168H-100000@ns1.fni.com>
Date: Fri, 20 Jun 1997 10:15:09 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Craig Wallace <craig@point4.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: guest accounts...
In-Reply-To: <33AA9719.1E4D@point4.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Do you have the -a flag on the inetd.conf line for wu-ftpd?

Is the group for the user zinc on the guestgroup line in ftpaccess?

   -- Michael

On Fri, 20 Jun 1997, Craig Wallace wrote:

> root@maggie[/usr/local/lib/ftpd] ftp maggie
> Connected to maggie.point4.com.
> 220 maggie FTP server (Version wu-2.4.2-academ[BETA-11](3) Mon Dec 9
> 06:37:02 PST 1996) ready.
> Name (maggie:craig): zinc
> 331 Password required for zinc.
> Password:
> 550 Can't set guest privileges.
> Login failed.
> Remote system type is UNIX.
> Using binary mode to transfer files.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 10:28:33 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA11656;
	Fri, 20 Jun 1997 10:22:06 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA10989
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 10:16:33 -0500 (CDT)
Message-Id: <199706201517.KAA10082@landfield.com>
Date: Fri, 20 Jun 1997 10:17:11 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: ftponly shell
In-Reply-To: <Pine.LNX.3.95.970620004941.31682m-100000@inorganic5.fdt.net> from "Jon Lewis" at Jun 20, 97 00:51:54 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: 8.0 -- ListProcessor(tm) by CREN

With all the traffic yesterday I put up a page on ftponly at

   http://www.landfield.com/wu-ftpd/ftponly/ftponly.html

It has my take on ftponly, the script I used as well as the scripts
that others posted.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 10:32:30 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA12154;
	Fri, 20 Jun 1997 10:26:06 -0500 (CDT)
Received: from mail.point4.com (dougal.point4.com [194.205.28.68])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA11834
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 10:25:39 -0500 (CDT)
Received: from dougal by mail.point4.com via SMTP (940816.SGI.8.6.9/940406.SGI)
	 id QAA26220; Fri, 20 Jun 1997 16:24:54 +0100
Message-Id: <33AAA0C4.3D0D@point4.com>
Date: Fri, 20 Jun 1997 16:24:52 +0100
Reply-To: craig@point4.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Wallace <craig@point4.com>
To: Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: guest accounts...
References: <Pine.LNX.3.95.970620101355.11168H-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: root@mail.point4.com
X-Mailer: Mozilla 3.01Gold (X11; I; IRIX 5.3 IP20)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael Brennen wrote:
> 
> Do you have the -a flag on the inetd.conf line for wu-ftpd?
> 
> Is the group for the user zinc on the guestgroup line in ftpaccess?
> 
>    -- Michael
> 
> On Fri, 20 Jun 1997, Craig Wallace wrote:
> 
> > root@maggie[/usr/local/lib/ftpd] ftp maggie
> > Connected to maggie.point4.com.
> > 220 maggie FTP server (Version wu-2.4.2-academ[BETA-11](3) Mon Dec 9
> > 06:37:02 PST 1996) ready.
> > Name (maggie:craig): zinc
> > 331 Password required for zinc.
> > Password:
> > 550 Can't set guest privileges.
> > Login failed.
> > Remote system type is UNIX.
> > Using binary mode to transfer files.



Micheal,

The entry in my inetd.conf file is

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


and i have an entry in the ftpaccess file that says

 guestgroup zinc ftponly


Do you have an example of what a "guest" entry in the ftpaccess file

I have followed the mort emample but still get that problem.

Just one thing however i am trying to get this account to login to a
part of an nfs mounted file system will this affect this in any way ?

I dont run anonymous ftp on this machine and as such there is no
anonymous ftp environment, but that wouldnt think this would affect this
problem.

The other problem i have is that it doesnt appear to secure then into
there own little area but this may be due to the guest environment not
working correctly.




Regards

Craig

Craig Wallace                               Point4
craig@uk.point4.com                         Kingston-upon-Thames
http://www.point4.com                       United Kingdom
                                            T:+44(0)181 255 4004
Europe's premier Internet technologists     F:+44(0)181 255 4044

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 10:45:46 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA12911;
	Fri, 20 Jun 1997 10:38:23 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA12680
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 10:34:55 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id KAA20093;
	Fri, 20 Jun 1997 10:34:41 -0500
Message-Id: <Pine.LNX.3.95.970620103051.11168I-100000@ns1.fni.com>
Date: Fri, 20 Jun 1997 10:34:41 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Craig Wallace <craig@point4.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: guest accounts...
In-Reply-To: <33AAA0C4.3D0D@point4.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> The entry in my inetd.conf file is
> 
> ftp     stream  tcp     nowait  root    /usr/local/etc/ftpd     ftpd -a 

Looks cool; you may want to give the full path to 'ftpd', but if it works
without it.... 


> and i have an entry in the ftpaccess file that says
> 
>  guestgroup zinc ftponly

What group is 'zinc' a member of?  If 'zinc' is a group listed in
/etc/group, this is fine.  If not, pull zinc out and put in its place the
name of zinc's group from the /etc/group file. 

   -- Michael


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 11:09:13 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA12465;
	Fri, 20 Jun 1997 11:02:48 -0500 (CDT)
Received: from scol.sco.com (scol.london.sco.COM [150.126.1.48])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA13165
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 11:01:29 -0500 (CDT)
Received: from tyne.london.sco.com by scol.sco.COM id aa10578;
          20 Jun 97 16:57 BST
Message-Id: <9706201656.aa01576@tyne.sco.com>
Date: Fri, 20 Jun 97 16:56:51 BST
Reply-To: ianw@sco.COM
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ian Willis <ianw@sco.COM>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd beta 13 Upload Ownership/Permissions Bug
X-Mailer: SCO OpenServer Mail Release 5.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Your change introduces a nice feature, it is now possible to specify
a home directory for the anonymous user under the anonymous root
(e.g. with a directory of /home/ftp/./pub).

Your change can be simplified slightly, there is no need to put the
"if (anonymous || guest) {" test  around the strstr(), we are already
inside an "if (anonymous || guest) {" test.

Ian Willis
SCO Internet Engineering Group, Watford, UK

| Michael Brennen (mbrennen@fni.com)
| Re: wu-ftpd beta 13 Upload Ownership/Permissions Bug
| Fri, 20 Jun 1997 08:09:51 -0500 (CDT)
| 
| On Fri, 20 Jun 1997, Ian Willis wrote:
| 
| > The code in question has not changed between Beta 11 and Beta 13, why
| > would you have /./ in the home directory field for the anonymous user,
| > I thought this was only meaningful with guest accounts which only apply
| > to real users ?
| 
| After some sleep, it looks like I recently went through and added the /./
| to the end of the anon ftp path in /etc/passwd. I must have done this
| while looking at other things. I certainly had no idea that it would break
| the upload directive code.
| 
| The argument could be made that the /./ should never be on the anon ftp
| path. Given the unexpected consequences of placing it there, and that
| adding the patch does not alter functionality if /./ is not there, I would
| still argue that the source change should be made in the eventuality that
| someone puts /./ on their anon ftp path.
| 
| anonymous is a chrooted account, and it would be easy to think you needed
| the /./. I've worked with this stuff for a long time, and perhaps
| arguably should know better. But, in a moment of inattention, while not
| thinking of the full config options of wu-ftpd, I added /./ and
| unexpectedly changed the behaviour of the daemon for the worse. I guess I
| would like to see that hole closed.
| 
| -- Michael

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 11:34:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA15143;
	Fri, 20 Jun 1997 11:27:16 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA15827
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 11:25:54 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id LAA21339;
	Fri, 20 Jun 1997 11:25:41 -0500
Message-Id: <Pine.LNX.3.95.970620110909.11168L-100000@ns1.fni.com>
Date: Fri, 20 Jun 1997 11:25:40 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Ian Willis <ianw@sco.COM>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd beta 13 Upload Ownership/Permissions Bug
In-Reply-To: <9706201656.aa01576@tyne.sco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 20 Jun 1997, Ian Willis wrote:

> Your change introduces a nice feature, it is now possible to specify
> a home directory for the anonymous user under the anonymous root
> (e.g. with a directory of /home/ftp/./pub).

I saw that too; could be a nice side effect the more I think about it. 


> Your change can be simplified slightly, there is no need to put the
> "if (anonymous || guest) {" test  around the strstr(), we are already
> inside an "if (anonymous || guest) {" test.

I know; sleep does wonderful things for peripheral vision. :) I saw that
the anonymous || guest check was already in a qualified anonymous || guest
block this morning.  A better patch against the original source is below; 
reverse the other one first (patch -R) before applying this one.  This has
tested out okay here.

   -- Michael

--- ftpd.c.orig	Wed May 21 09:29:17 1997
+++ ftpd.c	Fri Jun 20 11:19:01 1997
@@ -1550,6 +1550,8 @@
     expand_id();
 
     if (anonymous || guest) {
+        char *sp;
+
         /* We MUST do a chdir() after the chroot. Otherwise the old current
          * directory will be accessible as "." outside the new root! */
 #ifdef VIRTUAL
@@ -1559,28 +1561,19 @@
             pw->pw_dir = sgetsave(virtual_root);
         }
 #endif 
-        if (anonymous) {
+        /* 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 if (guest) {
-            char *sp;
-
-            /* determine root and home directory */
+        } else {
+            *sp++ = '\0';
 
-            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;
-                }
+            if (chroot(pw->pw_dir) < 0 || chdir(++sp) < 0) {
+                reply(550, "Can't set guest privileges.");
+                goto bad;
             }
         }
     }


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 12:10:38 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA17910;
	Fri, 20 Jun 1997 12:03:45 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA07049
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 12:02:16 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id MAA22188;
	Fri, 20 Jun 1997 12:02:15 -0500
Message-Id: <Pine.LNX.3.95.970620114426.11168N-100000@ns1.fni.com>
Date: Fri, 20 Jun 1997 12:02:15 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Bill Dyess <Bill@Dyess.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Uploads
In-Reply-To: <199706200453.XAA15518@hurricane.gnt.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I appreciate all the comments, but once again the point is not to avoid
hung ftpd daemons; that is a side effect.

The point is to avoid aborted upload (as well as download) sessions; when
the clients can't upload files, that's not cool.  With Internet load being
what it is, 15% to 20% packet losses are not uncommon on some routes,
which can cause real problems with TCP/IP.  Aborted sessions may not be
avoidable, but seems worth asking about FWIW.

   -- Michael

On Thu, 19 Jun 1997, Bill Dyess wrote:

> A year and half or so ago I made several modifications to wu-ftpd to make
> it 
> fit a specific situation.  In the process I noticed that the download code
> had an alarm call to abort dead transfers, but the upload code didn't,
> leaving tons of dead ftpd's lying around if you had a system with frequent
> uploads.  I fixed it then, but I figured someone else had noticed it and
> the main distribution already had the fix.
> 
> Perhaps the bug still exists?  If so, it's easy to fix, just add the alarm
> call to the upload code.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 20 15:02:51 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA27704;
	Fri, 20 Jun 1997 14:56:15 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA26859
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 14:51:46 -0500 (CDT)
Received: from crawford (usr2-dialup10.mix1.WillowSprings.mci.net [166.55.35.74])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id PAA01456 for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Jun 1997 15:48:18 -0400
Message-Id: <33AADECB.DBC2E2C9@dcrawford.com>
Date: Fri, 20 Jun 1997 15:49:31 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: wu-ftpd Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Guest FTP...
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've setup a guest ftp account and was wondering if anyone has
experienced this problem:  If I use a package called 'WS-FTP' to login,
I don't get a directory listing, but I can transfer files fine. But if I
use the command line 'ftp' program that comes with Windows 95 I can ftp
in, issue the 'ls' command and a directory shows up just fine...  Any
suggestions?

-Dave


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 03:25:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id DAA19672;
	Sat, 21 Jun 1997 03:20:07 -0500 (CDT)
Received: from hustle.rahul.net (hustle.rahul.net [192.160.13.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id DAA23075
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 03:15:26 -0500 (CDT)
Received: by hustle.rahul.net with UUCP id AA17672
  (5.67b8/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Sat, 21 Jun 1997 01:15:08 -0700
Received: from antares.starshine.org (localhost [127.0.0.1]) by antares.starshine.org (8.8.3/8.7.3) with ESMTP id TAA02255; Fri, 20 Jun 1997 19:17:15 -0700
Message-Id: <199706210217.TAA02255@antares.starshine.org>
Date: Fri, 20 Jun 1997 19:17:13 -0700
Reply-To: jimd@starshine.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Dennis <jimd@starshine.org>
To: Michael Brennen <mbrennen@fni.com>
Cc: jimd@starshine.org, wu-ftpd-bugs@academ.com, wu-ftpd@wugate.wustl.edu,
        sob@academ.com
Subject: Re: [mbrennen@fni.com: wu-ftpd beta 13 \
	Upload Ownership/Permissions Bug] 
In-Reply-To: <199706202117.OAA00480@responsible.com> 
	Message Apparently From "Russell L. Brand" <brand@responsible.com> 
	Dated Fri, 20 Jun 1997 14:17:19 PDT.
X-Mailer: MH 8.6.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> There is a potentially serious bug in ftpd.c in wu-ftpd beta 13.  I have
> no idea if it exists in previous betas.  I don't think this was a problem
> in beta 11, but I've not kept any older source.  If you are not running
> beta 13, check this against your source.
> 
> During anonymous login, the /./ is not clipped off the struct passwd
> pw->pw_dir field that is saved as the chroot directory in ftpd.c.
> 
> Because the /./ is still on the end of the pw->pw_dir field, upl_check()
> 'upload' directive processing will fail in extensions.c because the file
> name paths will not compare.  It is highly unlikely that the upload
> directive root path would also have the /./ on the end.
 

	I don't think that the beta 12 has this problem.
	(I've used the upload directive to set ownership and
	permissions on incoming directories with beta 12 -- and
	tested it.  They seemed to be doing what I wanted.

	I'm curious about the behavior of the 'guestgroup' and
	'autogroup' directives, though.

	It seems that 'autogroup' (set effective group rights
	based on class) is only checked for the anonymous user --
	and not for users in 'guestgroups'.  I say it seems that
	way because I'm willing to beleive that I just don't 
	understand the docs and that my test cases were all wrong.

	Some time ago I sent a message to ask about this and 
	submit it as an enhancement request.  I never heard back.

	I'm also curious if any work is being done on a PAM
	(pluggable authentication modules) version of wu-ftpd.

	It seems that a PAM version would allow sites to use
	S/Key (OPIE -- one-time passwords), shadow, MD5 (or 
	even some as yet unwritten SHA-1), pwdb, or other 
	(possibly future) password and account management 
	technologies without requiring further changes to the 
	ftpd code.

	That would be a great boon to sys admins everywhere -- 
	particularly to maintainers of corporate FTP sites that
	are under increasing pressure to provide reasonably secure
	non-anonymous access points to allow internal employees and
	contractors to exchange files with external contractors and
	consultants (and other business associates).

	It's been one of the things recently that's made be wish I 
	could take a couple months off and learn more C programming.

	Finally, I'm curious about the references to ACL support 
	that I've been seeing in the WU-ftpd betas.  How is that 
	coming?  Where is it documented (or when will it be)?

	So, how is the project going?  Is there any place I can
	get a "wishlist" or some sort of prospectus?  What sorts of
	help do you need (from non-programmers)?

--
Jim Dennis,                                info@mail.starshine.org
Proprietor,                          consulting@mail.starshine.org
Starshine Technical Services              http://www.starshine.org

        PGP  1024/2ABF03B1 Jim Dennis <jim@starshine.org>
        Key fingerprint =  2524E3FEF0922A84  A27BDEDB38EBB95A 


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 09:53:11 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA29085;
	Sat, 21 Jun 1997 09:46:54 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id JAA29063
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 09:42:41 -0500 (CDT)
Received: from tweety.fni.com (srnradio.fni.com [204.181.104.122])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id JAA08095;
	Sat, 21 Jun 1997 09:42:35 -0500
Message-Id: <33ABEBEE.500C@fni.com>
Date: Sat, 21 Jun 1997 09:57:50 -0500
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: crawford@dcrawford.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest FTP...
References: <33AADECB.DBC2E2C9@dcrawford.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (Win95; U)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dave Crawford wrote:
> 
> I've setup a guest ftp account and was wondering if anyone has
> experienced this problem:  If I use a package called 'WS-FTP' to login,
> I don't get a directory listing, but I can transfer files fine. But if I
> use the command line 'ftp' program that comes with Windows 95 I can ftp
> in, issue the 'ls' command and a directory shows up just fine...  Any
> suggestions?

This is what happens when ls is not set up right.  There is an internal
'ls' in wu-ftpd that is run when ls is entered without options.  With
any -?? options the external one is called.  Probably a dynamic library
issue.  The guest howto covers this some.

   -- Michael



From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 11:24:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA31915;
	Sat, 21 Jun 1997 11:18:10 -0500 (CDT)
Received: from dcrawford.dcrawford.com (root@www.dcrawford.com [206.165.153.177])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA31927
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 11:11:52 -0500 (CDT)
Received: from crawford (usr2-dialup14.mix1.WillowSprings.mci.net [166.55.35.78])
          by dcrawford.dcrawford.com (8.8.4/8.8.4) with ESMTP
	  id MAA02317; Sat, 21 Jun 1997 12:08:44 -0400
Message-Id: <33ABFCC5.C569CE84@dcrawford.com>
Date: Sat, 21 Jun 1997 12:09:41 -0400
Reply-To: crawford@dcrawford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Dave Crawford <crawford@dcrawford.com>
To: mbrennen@fni.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest FTP...
References: <33AADECB.DBC2E2C9@dcrawford.com> <33ABEBEE.500C@fni.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [en] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael Brennen wrote:

> This is what happens when ls is not set up right.  There is an
> internal
> 'ls' in wu-ftpd that is run when ls is entered without options.  With
> any -?? options the external one is called.  Probably a dynamic
> library
> issue.  The guest howto covers this some.
>
>    -- Michael

   Yes, it turned out to be a dynamic library issue.  I circumvented the
problem by copy  'ls' from the default anon. ftp/bin directory into the
/bin directory of my guest ftp account.  Being a newbie from the NT
world I have no idea how to replicate the  'Staticlly linked (ELF)' that
'ldd' would return on 'ls'.  Thanks again for everyone's help.
"No better way to learn something, than to force yourself to do it."

-Dave


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 14:58:20 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA04341;
	Sat, 21 Jun 1997 14:52:54 -0500 (CDT)
Received: from academ.com (sob@ACADEM.COM [198.137.249.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA04842
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 14:45:15 -0500 (CDT)
Received: (from sob@localhost)
	by academ.com (8.8.5/8.8.5) id OAA10665;
	Sat, 21 Jun 1997 14:44:44 -0500 (CDT)
Message-Id: <199706211944.OAA10665@academ.com>
Date: Sat, 21 Jun 1997 14:44:44 CDT
Reply-To: sob@academ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: Jim Dennis <jimd@starshine.org>, Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd-bugs@academ.com, wu-ftpd@wugate.wustl.edu
Subject: Re: [mbrennen@fni.com: wu-ftpd beta 13 \ Upload Ownership/Permissions Bug]
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

No new features will be added to this release. Only bug fixes will be 
performed. 

Adding PAM support will be considered after this version goes to release.

In fact, there will be a web page at http://www.academ.com/academ/wu-ftpd
that will discuss the next steps for the software once this beta becomes
release.



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

From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 18:21:43 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA04614;
	Sat, 21 Jun 1997 18:15:16 -0500 (CDT)
Received: from hustle.rahul.net (hustle.rahul.net [192.160.13.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA08704
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 18:09:18 -0500 (CDT)
Received: by hustle.rahul.net with UUCP id AA17837
  (5.67b8/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Sat, 21 Jun 1997 16:09:03 -0700
Received: from antares.starshine.org (localhost [127.0.0.1]) by antares.starshine.org (8.8.3/8.7.3) with ESMTP id PAA06487; Sat, 21 Jun 1997 15:34:30 -0700
Message-Id: <199706212234.PAA06487@antares.starshine.org>
Date: Sat, 21 Jun 1997 15:34:29 -0700
Reply-To: jimd@starshine.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Dennis <jimd@starshine.org>
To: sob@academ.com (Stan Barber)
Cc: Jim Dennis <jimd@starshine.org>, Michael Brennen <mbrennen@fni.com>,
        wu-ftpd-bugs@academ.com, wu-ftpd@wugate.wustl.edu
Subject: Re: [mbrennen@fni.com: wu-ftpd beta 13 \ Upload Ownership/Permissions Bug] 
In-Reply-To: <199706211944.OAA10665@academ.com> 
	Message Apparently From sob@academ.com (Stan Barber) 
	Dated Sat, 21 Jun 1997 14:44:44 CDT.
X-Mailer: MH 8.6.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


 
> No new features will be added to this release. Only bug fixes will be 
> performed. 

	The new release will be 2.5?
 
> Adding PAM support will be considered after this version goes to release.

	That will be projected for 2.6?  3.0?
 
> In fact, there will be a web page at http://www.academ.com/academ/wu-ftpd
> that will discuss the next steps for the software once this beta becomes
> release.

	Stan,

	I'll look for it.  I was already looking for it as I 
	wrote that message.  You might want academ entered into
	Yahoo! as the site for WU-ftpd.   (Touching story about 
	the origin of that name BTW).

	How about those ACL features (or docs for them)?  

	Also -- my attempts to peruse the code suggests that the 
	intent as for the autogroups directive to apply to members 
	of guestgroups as well as anonymous users.  (That's what I
	thought the comments were saying).

--
Jim Dennis,                                info@mail.starshine.org
Proprietor,                          consulting@mail.starshine.org
Starshine Technical Services              http://www.starshine.org

        PGP  1024/2ABF03B1 Jim Dennis <jim@starshine.org>
        Key fingerprint =  2524E3FEF0922A84  A27BDEDB38EBB95A 

From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 18:25:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA08924;
	Sat, 21 Jun 1997 18:19:35 -0500 (CDT)
Received: from academ.com (sob@ACADEM.COM [198.137.249.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA08967
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 18:12:11 -0500 (CDT)
Received: (from sob@localhost)
	by academ.com (8.8.5/8.8.5) id SAA12508;
	Sat, 21 Jun 1997 18:11:31 -0500 (CDT)
Message-Id: <199706212311.SAA12508@academ.com>
Date: Sat, 21 Jun 1997 18:11:31 CDT
Reply-To: sob@academ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: Jim Dennis <jimd@starshine.org>
Cc: Michael Brennen <mbrennen@fni.com>, wu-ftpd-bugs@academ.com,
        wu-ftpd@wugate.wustl.edu, sw-support@owlman.academ.com
Subject: Re: [mbrennen@fni.com: wu-ftpd beta 13 \ Upload Ownership/Permissions Bug]
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

The new release will be called 2.4.2. That's why the release is called
2.4.2 beta-13

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

From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 18:33:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA09227;
	Sat, 21 Jun 1997 18:27:16 -0500 (CDT)
Received: from academ.com (sob@ACADEM.COM [198.137.249.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA08736
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 18:16:39 -0500 (CDT)
Received: (from sob@localhost)
	by academ.com (8.8.5/8.8.5) id SAA12477;
	Sat, 21 Jun 1997 18:11:09 -0500 (CDT)
Message-Id: <199706212311.SAA12477@academ.com>
Date: Sat, 21 Jun 1997 18:11:08 CDT
Reply-To: sob@academ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: sob@academ.com (Stan Barber)
To: Jim Dennis <jimd@starshine.org>
Cc: Michael Brennen <mbrennen@fni.com>, wu-ftpd-bugs@academ.com,
        wu-ftpd@wugate.wustl.edu
Subject: Re: [mbrennen@fni.com: wu-ftpd beta 13 \ Upload Ownership/Permissions Bug]
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am making no public commmitments other than those listed on the web pages.

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

From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 21 20:54:46 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA06833;
	Sat, 21 Jun 1997 20:48:22 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA10590
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Jun 1997 20:45:19 -0500 (CDT)
Message-Id: <199706220145.UAA25549@landfield.com>
Date: Sat, 21 Jun 1997 20:45:55 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: WU-FTPD Suggestions page
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: 8.0 -- ListProcessor(tm) by CREN

In the past, suggestions have been made on the list about enhancements that
would be nice to have and quite often that was the end of it.  If someone 
came along later with the same idea, there was no way to see if the same 
suggestion had been made before without searching the mailing list archives. 
When it was time to think about what to put in a newer release, some good
suggestions may have been long forgotten.

After a question on the list concerning an enhancement suggestion I created 
a Suggestions page at

    http://www.landfield.com/cgi-bin/wusuggest

so that people can post ideas for future enhancements.  (It is also available
from the Resource Center menus.)  The Suggestions page is meant as a place 
where suggestions can be recorded for all to see. It is hoped that with this 
facility we can see what people want/need to improve their WU-FTPD 
installations.  Suggestions entered here are *not* forwarded directly to Stan.
He has more than enough to do just getting the next release out.  This page is 
only meant to supply him with ideas for future versions.  Suggestions entered
here will be available to be read when it's appropriate in the release cycle.

There is *no* commitment that any one suggestion will get into the baseline.  
The intent of the page is to act as a central place for posting suggestions.  
When new releases are made available, I'll check the posted suggestions
against new features or fixes. Any suggestions incorporated into the baseline 
will be removed from the list. 

On another note, I'm happy to see Stan's new page.  I've updated the 
"Latest Version" links on the Resource Center to point to Stan's page at 

	http://www.academ.com/academ/wu-ftpd/ 

---
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun 22 13:33:13 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA08694;
	Sun, 22 Jun 1997 13:24:48 -0500 (CDT)
Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA08530
	for <wu-ftpd@wugate.wustl.edu>; Sun, 22 Jun 1997 13:20:13 -0500 (CDT)
Received: from LOCAL (uucp@localhost) 
          by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 3707
          on Sun, 22 Jun 1997 18:20:10 GMT; id SAA03707
          efrom: news@Garfield.IAEhv.nl; eto: wu-ftpd@wugate.wustl.edu
Received: (from news@localhost)
	by Garfield.IAEhv.nl (8.8.5/8.8.5) id WAA01249;
	Wed, 18 Jun 1997 22:11:16 +0200
Message-Id: <5o9fd4$165$1@Garfield.IAEhv.nl>
Date: 18 Jun 1997 20:11:16 GMT
Reply-To: Perry.Rovers@IAE.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry.Rovers@IAE.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: RedHat 4.2 and Beta13 won't compile -- libc.a error
References: <3.0.1.32.19970618122027.00a4f980@popmail.digigami.com>
X-Sender: Perry Rovers <perry@Garfield.IAEhv.nl>
X-no-archive: yes
X-bofh-archive: yes
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970324; i586 Linux 2.0.28]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Pink elephants with an attitude inspired Scott Callaway <scottc@digigami.com> to tell garfield.mail.wu-ftpd:

: I have updated a linux box to RedHat 4.2 and wanted to install
: the wu_ftp beta13, but when I run ./build lnx, I get the following
: error related to libc.a.

: make: *** No rule to make target `/usr/lib/libc.a', needed by `ftpd'.  Stop.

Did you install the libc-static rpm? It contains the libc.a file.

-- 
Perry Rovers (perry@Garfield.IAEhv.nl)

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun 22 17:28:53 1997
Received: from relay3.UU.NET by relay3.UU.NET with ESMTP 
	(peer crosschecked as: root@localhost)
	id QQcvby01631; Sun, 22 Jun 1997 17:36:05 -0400 (EDT)
Received: from wugate.wustl.edu by relay3.UU.NET with ESMTP 
	(peer crosschecked as: wugate.wustl.edu [128.252.120.1])
	id QQcvby01622; Sun, 22 Jun 1997 17:36:04 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA13019;
	Sun, 22 Jun 1997 16:27:02 -0500 (CDT)
Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA11070
	for <wu-ftpd@mail.wustl.edu>; Sun, 22 Jun 1997 16:20:07 -0500 (CDT)
Received: from lynx.parc.xerox.com ([13.2.12.13]) by alpha.xerox.com with SMTP id <19373(5)>; Sun, 22 Jun 1997 14:19:36 PDT
Received: from baloo ([13.2.12.73]) by lynx.parc.xerox.com
          (Netscape Mail Server v2.02) with ESMTP id AAA591
          for <wu-ftpd@mail.wustl.edu>; Sun, 22 Jun 1997 14:19:56 -0700
Message-Id: <33AD96E8.BBA9D6D9@parc.xerox.com>
Date: Sun, 22 Jun 1997 14:19:36 PDT
Reply-To: ryan@parc.xerox.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Michael Ryan" <ryan@parc.xerox.com>
To: wu-ftpd mailing list <wu-ftpd@wugate.wustl.edu>
Subject: lamer question: how to get user listing for anonymous users
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

so i have read the FAQ and darci's great Solaris 2.5.x guide.  i have
read every word of everything i could find.  made excellent headway.

still cannot get "dir" or "ls" to list user names when i log in as
"anonymous."

can somebody please point me at the doc?

much thanks
//michael
-- 
:: michael ryan , ryan@parc.xerox.com
:: xerox office of the net , 3400 hillview avenue , palo alto , 94304
:: 415 813 7620 , *923 7620

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun 22 18:11:33 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA15046;
	Sun, 22 Jun 1997 18:05:13 -0500 (CDT)
Received: from web2.america.net (web2.america.net [206.113.230.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA14654
	for <wu-ftpd@wugate.wustl.edu>; Sun, 22 Jun 1997 17:59:03 -0500 (CDT)
Received: from atl1 (ns2.america.net [199.170.121.2])
	by web2.america.net (8.8.5/8.8.5) with SMTP id SAA14077;
	Sun, 22 Jun 1997 18:58:54 -0400 (EDT)
Message-Id: <Pine.SOL.3.91.970622185017.13157A-100000@atl1>
Date: Sun, 22 Jun 1997 18:55:49 -0400 (EDT)
Reply-To: garry@america.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Garry T. Williams" <garry@america.net>
To: Michael Ryan <ryan@parc.xerox.com>
Cc: wu-ftpd mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Re: lamer question: how to get user listing for anonymous users
In-Reply-To: <33AD96E8.BBA9D6D9@parc.xerox.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: garry@atl1
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael,

When you log in as anonymous, the server does a chroot to execute your 
session.  This means that /etc/passwd is really a faked copy of the real 
thing sitting in the anonymous directory.  If it doesn't have entries to 
correspond with the user IDs and group IDs on files, ls and dir won't be 
able to display the appropriate names.  

Add appropriate entries to ~ftp/etc/passwd and ls and dir will again 
display user names.  

Garry Williams
ISP Alliance, Inc.
(770) 667-7200 x600

On Sun, 22 Jun 1997, Michael Ryan wrote:

> so i have read the FAQ and darci's great Solaris 2.5.x guide.  i have
> read every word of everything i could find.  made excellent headway.
> 
> still cannot get "dir" or "ls" to list user names when i log in as
> "anonymous."
> 
> can somebody please point me at the doc?
> 
> much thanks
> //michael
> -- 
> :: michael ryan , ryan@parc.xerox.com
> :: xerox office of the net , 3400 hillview avenue , palo alto , 94304
> :: 415 813 7620 , *923 7620
> 

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun 22 18:55:10 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA14748;
	Sun, 22 Jun 1997 18:47:44 -0500 (CDT)
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA15673
	for <wu-ftpd@wugate.wustl.edu>; Sun, 22 Jun 1997 18:42:06 -0500 (CDT)
Received: from lectura.CS.Arizona.EDU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA01467; Sun, 22 Jun 1997 16:42:04 MST
Received: from localhost (jdavis@localhost) by lectura.CS.Arizona.EDU (8.8.4/8.7.3) with SMTP id QAA26307; Sun, 22 Jun 1997 16:42:02 -0700 (MST)
Message-Id: <Pine.SOL.3.95.970622163452.26011A-100000@lectura.CS.Arizona.EDU>
Date: Sun, 22 Jun 1997 16:42:01 -0700 (MST)
Reply-To: jdavis@cs.arizona.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Davis <jdavis@cs.arizona.edu>
To: Michael Ryan <ryan@parc.xerox.com>
Cc: wu-ftpd mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Re: lamer question: how to get user listing for anonymous users
In-Reply-To: <33AD96E8.BBA9D6D9@parc.xerox.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: lectura.CS.Arizona.EDU: jdavis owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Sun, 22 Jun 1997, Michael Ryan wrote:

> so i have read the FAQ and darci's great Solaris 2.5.x guide.  i have
> read every word of everything i could find.  made excellent headway.
> 
> still cannot get "dir" or "ls" to list user names when i log in as
> "anonymous."
> 
> can somebody please point me at the doc?

Do you mean ls doesn't work at all, or that when you do an ls you see
numbers in the owner and group fields instead of names? 

In the first case, go back to the Sun (not wu-ftpd) in.ftpd man page and
read it until you find the bit you missed.  Also check that /usr/ftp isn't
on a filesystem mounted 'nosuid'.

In the second case, do you have an appropriate /usr/ftp/etc/passwd and
/usr/ftp/etc/group file? 


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 23 15:43:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA31440;
	Mon, 23 Jun 1997 15:38:11 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA02167
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 15:31:01 -0500 (CDT)
Message-Id: <199706232031.PAA23421@landfield.com>
Date: Mon, 23 Jun 1997 15:31:38 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpck 1.11 now available
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: 8.0 -- ListProcessor(tm) by CREN

A new version of ftpck has been put up.  It is available from the
Resource Center off the Tools page or from

	www://www.landfield.com/wu-ftpd/ftpck/
	ftp://ftp.landfield.com/wu-ftpd/ftpck/

What's new in ftpck.1.11 ?
---------------------------
- Compiles in only what features you have specified in your config.h file.

- The man page ftpck.1 has been added.

- You can now specify the modes to check for on the configuration files to 
  better allow ftpck to fit into your local security/administrative policy.  
  Please be aware that the modes supplied as defaults are what is recommended 
  for the various WU-FTPD configuration and log files.

- Checking 'alias' and 'cdpath' directives more flexible.
  
  Checking 'alias' and 'cdpath' directives needs a little explaining here. 
  The problem is one of perspective. If you put aliases in your ftpaccess 
  file then the problem arises as to who gets to use them.  Aliases need to 
  be relative to the root structure the user logs in as.  If you login as a 
  real user then the path is a real path relative to your '/' directory.
  If you login as an anonymous user the path is based from the chrooted 
  environment.  

  Many sites have aliases and cdpath directives setup that are only usable 
  by one of the types of users (real or anonymous/virtual).  While maybe 
  not quite completely correct, there is no problem having aliases and cdpath 
  entries that are not usable by all users. 

  If you wish to assure aliases and cdpaths usable in all ftp directories,
  the alias and cdpath directives must be pathed so they are available to 
  real as well as anonymous/virtual users.  

  This version allows you to specify how you want to deal with checking of
  alias and cdpath directories much better.

- Some messages have been corrected (Warning instead of Error) 

- Other minor clean up.
--------

I am still waiting to hear about portability problems.  (So far only 
two minor items has been reported.)  With over a 120 separate copies 
retrieved in June alone, I was sort of expecting more feedback. Or did 
I just get lucky ? ;-) Naaaah.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 23 17:40:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA08049;
	Mon, 23 Jun 1997 17:36:34 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA07416
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 17:30:27 -0500 (CDT)
Message-Id: <199706232231.RAA24069@landfield.com>
Date: Mon, 23 Jun 1997 17:31:04 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual Hosting Support in WU-FTPD
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

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

NOTE: PLEASE READ THIS IF YOU ARE INTERESTED IN VIRTUAL HOSTING SUPPORT.

    This is a bit long but it is an important issue that may affect you...

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

There are now 15+ sites running my new way of supporting Virtual Hosts in 
WU-FTPD.  It has also been running here for the last two months with no 
problems.  While it still needs some more portability testing, the time has 
come to ask a question or two.

First off, the background.

     There are quite a few things that would be nice to have supported
     in virtual servers. In the current baselined version, virtual servers
     are only partially supported. The current implementation of virtual
     servers only supports setting 

         the root ftp directory, 
         the log file and 
         the banner. 

     All other directives in the ftpaccess file MUST be shared globally
     across all virtual servers. A real limitation if you wanted to have
     different features supported by different servers... 

     In reviewing how virtual servers were implemented, I reread the
     virtual server setup FAQ. There were two different methods
     documented. First is the VIRTUAL support that is a part of the
     current beta-13 baseline. It only supports the three ftpaccess file
     directives listed above. The other method is the alternative
     method which requires tcpwrappers. It then dawned on me that
     the answer to completely supporting virtual servers was right in
     front of me. 

     Why couldn't I simply specify which ftpaccess file to use ? If I
     could do that then maybe it wouldn't be a major task to add
     support for all access file directives.

     Here's what I did... First I created a new file called "ftpservers"
     defined by the path _PATH_FTPSERVERS. Presently, the file is optional 
     so if it's missing, the original ftpaccess (_PATH_FTPACCESS) file
     is used. In access_init() I included a call to a new function
     "getaccessfilename()" that looks up the access file based on the
     socket address the user is coming in on. The "found" file is then
     passed to readacl() as the hard-coded _PATH_FTPACCESS was before. 
     Other than a minor tweak, that was all that was needed. COMPLETE 
     virtual ftpaccess support... 

     I made the associated changes to ftpshut, ckconfig and my new
     ftprestart and ftpck utilities. The only program in the wu-ftpd 
     suite that does not have the new virtual access file support is 
     ftpcount. 

     All changes were made to the latest beta-13. (When Stan brings out
     beta-14 I'll be re-incorporating them into that.) I plan on sending 
     these to Stan for inclusion in a upcoming version. 

Second, the concern...

    We cannot ask Stan to support both methods of virtual hosting. There is 
    the limited version that is currently a part of the baseline and then 
    there is my version that completely supports all ftpaccess file directives.
    We need to decide what to do here.  

    First off, what we are discussing here is down the road and won't be 
    happening tomorrow so we have time to discuss this as needed.

    I PROPOSE that we drop the current method of supporting virtual hosting 
    from the baseline in favor of complete ftpaccess virtual hosting support.
    This will affect all but the 15 or so that are currently running that 
    version. 

    I know I'm asking some of you to do some work...  How much of a change 
    will it be ?  Well it will require creating a new file, ftpservers, that 
    looks like the following...

    #
    # ftpservers file
    #
    # Format:
    # ip-address associated-ftpaccess-file
    #
    # ftpaccess file for the some.domain
    #
    10.196.145.2 /etc/ftpd/ftpaccess
    #
    # ftpaccess file for the some.domain1
    #
    10.196.145.20 /etc/ftpd/ftpaccess.some.domain1
    #
    # ftpaccess file for the some.domain2
    #
    10.196.145.200 /etc/ftpd/ftpaccess.some.domain2
    
    Then it will require creating an ftpaccess file tailored to the individual
    virtual host/customer needs.
    
    Initially, a little cloning and editing of the existing ftpaccess file
    and you're ready to go.  If you then have customers that need more 
    specific changes, you can go back in and make those changes. (You 
    couldn't before.)
    
    It should not take long to do but only you know how many virtual domains
    you have to support.

Third, the benefit...

    In order to better support your virtual domains you need the granularity
    that the complete ftpaccess support provides.  Besides allowing ANY 
    virtual server to be able to set and use ANY ftpaccess file directive, 
    an additional benefit is that any future extensions Stan adds to the 
    ftpaccess file will be automatically supported for virtual servers as 
    well. Free. 
   
Finally....
    
    I have my flame retardant shorts on so have at it... ;)  I'd prefer
    that this discussion took place on the mailing list for all to see.
    This is an important decision.  Please take some time and think about
    it before responding.  If you simply want to call me a crazy #$!&*@
    fool, please do that in direct email to me. ;)

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 23 18:35:02 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA12170;
	Mon, 23 Jun 1997 18:31:19 -0500 (CDT)
Received: from dresden.bmc.com (dresden.bmc.com [198.64.253.250])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA04789
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 18:24:38 -0500 (CDT)
Received: (from uucp@localhost)
	by dresden.bmc.com (8.8.5/8.8.5) id SAA29771
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 18:24:41 -0500 (CDT)
Received: from cherry.bmc.com(172.17.1.25) by dresden.bmc.com via smap (3.2)
	id xma029753; Mon, 23 Jun 97 18:24:38 -0500
Received: from marseille (marseille.bmc.com [172.17.6.103]) by cherry.bmc.com with ESMTP (8.7.5/8.7.3) id SAA20186; Mon, 23 Jun 1997 18:24:32 -0500 (CDT)
Message-Id: <33AF0598.EF7AFED5@bmc.com>
Date: Mon, 23 Jun 1997 18:24:09 -0500
Reply-To: Robert_Anderson@crow.bmc.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Anderson <Robert_Anderson@crow.bmc.com>
To: wu-ftpd@wugate.wustl.edu
Cc: Alan Poindexter <Poindexter_Alan/houston_rd@cherry.bmc.com>
Subject: Strange logging
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (WinNT; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am seeing a strange problem with wu-2.4.2-academ[BETA-12] on Solaris
2.5.1.  In some instances a user will go and request a file like yyy
which lives under a directory called xxx.  The user is able to get the
file successfully, but in some cases the log entry in xferlog indicates
that the user actually retrieved the _directory_ xxx.

Has anyone else seen this strangeness?
-- 
Robert Anderson
Systems Programmer, BMC Software, Inc.
Robert_Anderson@bmc.com

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 23 20:22:04 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA15845;
	Mon, 23 Jun 1997 20:17:07 -0500 (CDT)
Received: from stockcar.network1.net (aholtz@stockcar.network1.net [208.142.243.9])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA08013
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 20:11:50 -0500 (CDT)
Received: from localhost (aholtz@localhost) by stockcar.network1.net (8.8.5/8.8.5) with SMTP id VAA17051; Mon, 23 Jun 1997 21:10:53 -0400
Message-Id: <Pine.LNX.3.96.970623210635.16982B-100000@stockcar.network1.net>
Date: Mon, 23 Jun 1997 21:10:52 -0400 (EDT)
Reply-To: aholtz@network1.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Aaron Holtz <aholtz@network1.net>
To: Kent Landfield <kent@landfield.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706232231.RAA24069@landfield.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: stockcar.network1.net: aholtz owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'd have to agree with Kent.  I love his method of attacking the virtuals.
It does get to be easier in that you have a finer control over the virtual
sites and in how they are configured.  Yes, you have to keep several
different config files (one for each virtual), but if most of them are
configured the same way I don't see the real trouble in keeping a template
and just making the appropriate edits for the newest server.  We run this
new code on a server with about 10 virtuals, each one (of course) wanting
something different in how their ftp server operates.  This method of
having a separate ftpaccess file for each virtual has let me fine tune
their servers to their needs (because inevitably their needs change on a
daily basis....).  I didn't quite have this luxury under the standard ftpd
code.    Just a vote in favor of the newest code.  We are running this on
a Solaris 2.5.1 UltraSparc platform for the record.   



							--Aaron

---------------------------------------------------------------------
Aaron Holtz
First Network Group    "The First Name in Internetworking"
Manager, UNIX Systems Admin
Email:  aholtz@stockcar.network1.net
"...perhaps because it is very difficult, even with sensitive laboratory
 instruments, to distinguish one rap song from another."  -DB
---------------------------------------------------------------------

On Mon, 23 Jun 1997, Kent Landfield wrote:

:----------------
:
:NOTE: PLEASE READ THIS IF YOU ARE INTERESTED IN VIRTUAL HOSTING SUPPORT.
:
:    This is a bit long but it is an important issue that may affect you...
:
:----------------
:
:There are now 15+ sites running my new way of supporting Virtual Hosts in 
:WU-FTPD.  It has also been running here for the last two months with no 
:problems.  While it still needs some more portability testing, the time has 
:come to ask a question or two.
:
:First off, the background.
:
:     There are quite a few things that would be nice to have supported
:     in virtual servers. In the current baselined version, virtual servers
:     are only partially supported. The current implementation of virtual
:     servers only supports setting 
:
:         the root ftp directory, 
:         the log file and 
:         the banner. 
:
:     All other directives in the ftpaccess file MUST be shared globally
:     across all virtual servers. A real limitation if you wanted to have
:     different features supported by different servers... 
:
:     In reviewing how virtual servers were implemented, I reread the
:     virtual server setup FAQ. There were two different methods
:     documented. First is the VIRTUAL support that is a part of the
:     current beta-13 baseline. It only supports the three ftpaccess file
:     directives listed above. The other method is the alternative
:     method which requires tcpwrappers. It then dawned on me that
:     the answer to completely supporting virtual servers was right in
:     front of me. 
:
:     Why couldn't I simply specify which ftpaccess file to use ? If I
:     could do that then maybe it wouldn't be a major task to add
:     support for all access file directives.
:
:     Here's what I did... First I created a new file called "ftpservers"
:     defined by the path _PATH_FTPSERVERS. Presently, the file is optional 
:     so if it's missing, the original ftpaccess (_PATH_FTPACCESS) file
:     is used. In access_init() I included a call to a new function
:     "getaccessfilename()" that looks up the access file based on the
:     socket address the user is coming in on. The "found" file is then
:     passed to readacl() as the hard-coded _PATH_FTPACCESS was before. 
:     Other than a minor tweak, that was all that was needed. COMPLETE 
:     virtual ftpaccess support... 
:
:     I made the associated changes to ftpshut, ckconfig and my new
:     ftprestart and ftpck utilities. The only program in the wu-ftpd 
:     suite that does not have the new virtual access file support is 
:     ftpcount. 
:
:     All changes were made to the latest beta-13. (When Stan brings out
:     beta-14 I'll be re-incorporating them into that.) I plan on sending 
:     these to Stan for inclusion in a upcoming version. 
:
:Second, the concern...
:
:    We cannot ask Stan to support both methods of virtual hosting. There is 
:    the limited version that is currently a part of the baseline and then 
:    there is my version that completely supports all ftpaccess file directives.
:    We need to decide what to do here.  
:
:    First off, what we are discussing here is down the road and won't be 
:    happening tomorrow so we have time to discuss this as needed.
:
:    I PROPOSE that we drop the current method of supporting virtual hosting 
:    from the baseline in favor of complete ftpaccess virtual hosting support.
:    This will affect all but the 15 or so that are currently running that 
:    version. 
:
:    I know I'm asking some of you to do some work...  How much of a change 
:    will it be ?  Well it will require creating a new file, ftpservers, that 
:    looks like the following...
:
:    #
:    # ftpservers file
:    #
:    # Format:
:    # ip-address associated-ftpaccess-file
:    #
:    # ftpaccess file for the some.domain
:    #
:    10.196.145.2 /etc/ftpd/ftpaccess
:    #
:    # ftpaccess file for the some.domain1
:    #
:    10.196.145.20 /etc/ftpd/ftpaccess.some.domain1
:    #
:    # ftpaccess file for the some.domain2
:    #
:    10.196.145.200 /etc/ftpd/ftpaccess.some.domain2
:    
:    Then it will require creating an ftpaccess file tailored to the individual
:    virtual host/customer needs.
:    
:    Initially, a little cloning and editing of the existing ftpaccess file
:    and you're ready to go.  If you then have customers that need more 
:    specific changes, you can go back in and make those changes. (You 
:    couldn't before.)
:    
:    It should not take long to do but only you know how many virtual domains
:    you have to support.
:
:Third, the benefit...
:
:    In order to better support your virtual domains you need the granularity
:    that the complete ftpaccess support provides.  Besides allowing ANY 
:    virtual server to be able to set and use ANY ftpaccess file directive, 
:    an additional benefit is that any future extensions Stan adds to the 
:    ftpaccess file will be automatically supported for virtual servers as 
:    well. Free. 
:   
:Finally....
:    
:    I have my flame retardant shorts on so have at it... ;)  I'd prefer
:    that this discussion took place on the mailing list for all to see.
:    This is an important decision.  Please take some time and think about
:    it before responding.  If you simply want to call me a crazy #$!&*@
:    fool, please do that in direct email to me. ;)
:
:-- 
:Kent Landfield                        Phone: 1-817-545-2502             
:The Landfield Group                   FAX:   1-817-545-7650             
:Email: kent@landfield.com             http://www.landfield.com/
:Please send comp.sources.misc related mail to kent@uunet.uu.net.
:Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/
:


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 23 20:46:32 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id UAA16841;
	Mon, 23 Jun 1997 20:41:34 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id UAA16604
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 20:35:20 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id UAA26639;
	Mon, 23 Jun 1997 20:35:13 -0500
Message-Id: <Pine.LNX.3.95.970623202840.19580K-100000@ns1.fni.com>
Date: Mon, 23 Jun 1997 20:35:13 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Kent Landfield <kent@landfield.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706232231.RAA24069@landfield.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 23 Jun 1997, Kent Landfield wrote:

>     I PROPOSE that we drop the current method of supporting virtual hosting 
>     from the baseline in favor of complete ftpaccess virtual hosting support.
>     This will affect all but the 15 or so that are currently running that 
>     version. 

yes++;

I like this latest layout.  I run three virtual FTPs now, and I wish I
could allocate a certain number of connections to each of them.  With the
present scheme, I just have to make the total number of connections high
enough that the smaller clients are not squeezed out.  With the new scheme
I can regulate bandwidth much more effectively as well as insuring a
certain level of service.

The price of fine granularity is maintaining multiple ftpaccess files; 
that's okay with me, as I like what I get for it.  Well done.

   -- Michael




From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 23 23:55:18 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA22549;
	Mon, 23 Jun 1997 23:51:19 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA21125
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 23:45:43 -0500 (CDT)
Message-Id: <199706240446.XAA07113@landfield.com>
Date: Mon, 23 Jun 1997 23:46:18 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Just for fun... ;-)
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: 8.0 -- ListProcessor(tm) by CREN

Just being the curious type I decided to profile the membership of the
WU-FTPD mailing list.  I had the tool to do so lying around so I generated
the following.  This has no importance _what so ever_ but I thought it might
be fun just to see how the members were scattered around the globe.
This is not totally accurate count-wise because some of the addresses are 
exploders, but what the heck.
 
#
#  The following is a break down of the numbers and nationality
#  of the members of the wu-ftpd@wugate.wustl.edu mailing list.
#
#    Internet                              Individual         Unique
#     Domain                                Members            Sites
#========================================================================
(com) US Commercial Sites                     330               318
(edu) US Educational                          151               147
(gov) US Government                            33                33
(int) International Organization                1                 1
(mil) US Military                              14                14
(net) US Network                               95                94
(org) US Non-Profit Organizations              20                20
(ar)  Argentina                                 1                 1
(at)  Austria                                   8                 8
(au)  Australian                               22                22
(be)  Belgium                                   2                 2
(bm)  Bermuda                                   1                 1
(bg)  Bulgaria                                  1                 1
(br)  Brazil                                   10                10
(ca)  Canada                                   46                45
(ch)  Switzerland                               8                 8
(cl)  Chile                                     3                 3
(cn)  China                                     7                 7
(cz)  Czech Republic                            1                 1
(de)  Germany                                  66                64
(dk)  Denmark                                   8                 8
(es)  Spain                                    10                10
(fi)  Finland                                   4                 4
(fr)  France                                   27                26
(gr)  Greece                                    3                 3
(jp)  Japan                                    44                43
(hk)  Hong Kong                                 1                 1
(hr)  Croatia                                   1                 1
(hu)  Hungary                                   5                 5
(id)  Indonesia                                 1                 1
(ie)  Ireland                                   1                 1
(il)  Israel                                    6                 6
(is)  Iceland                                   3                 3
(it)  Italy                                    17                17
(kr)  Korea (South)                             5                 5
(lu)  Luxembourg                                1                 1
(mx)  Mexico                                    5                 3
(my)  Malaysia                                  3                 2
(nl)  Netherlands                              11                11
(no)  Norway                                    4                 4
(ph)  Philippines                               1                 1
(pl)  Poland                                    4                 4
(pt)  Portugal                                  5                 4
(ru)  Russian Federation                        4                 4
(se)  Swedish                                  17                16
(sg)  Singapore                                 6                 5
(si)  Slovenia                                  2                 2
(sk)  Slovak Republic                           1                 1
(su)  Soviet Union                              2                 2
(th)  Thailand                                  2                 2
(tr)  Turkey                                    2                 2
(tw)  Taiwan                                    2                 2
(ua)  Ukraine                                   3                 3
(uk)  United Kingdom                           35                33
(us)  US Domain                                 7                 7
(yu)  Yugoslavia                                1                 1
(za)  South Africa                              6                 6
(??)  Questionable Members                      0                 0

Unknown Sites                                   0                 0

wu-ftpd@wustl.edu Totals:                    1080              1050

Total US Members:            650
Total non-US Members:        430

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 00:12:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA23670;
	Tue, 24 Jun 1997 00:09:09 -0500 (CDT)
Received: from inorganic5.fdt.net (jlewis@inorganic5.fdt.net [205.229.48.42])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA22497
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Jun 1997 23:56:05 -0500 (CDT)
Received: from localhost (jlewis@localhost)
	by inorganic5.fdt.net  with SMTP id AAA12250;
	Tue, 24 Jun 1997 00:56:04 -0400
Message-Id: <Pine.LNX.3.95.970624004231.31682U-100000@inorganic5.fdt.net>
Date: Tue, 24 Jun 1997 00:56:02 -0400 (EDT)
Reply-To: jlewis@inorganic5.fdt.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: Kent Landfield <kent@landfield.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706232231.RAA24069@landfield.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 23 Jun 1997, Kent Landfield wrote:

>     # Format:
>     # ip-address associated-ftpaccess-file
>     #
>     # ftpaccess file for the some.domain
>     #
>     10.196.145.2 /etc/ftpd/ftpaccess

Noooo....  If you're going to bother changing this, do it right.  In
Apache's httpd.conf, I use hostnames entirely rather than IP's so if I
change a host's IP, I don't have to go change it in bunches of config
files.  I should be able to have:

ftp.foo.com	/etc/ftpd/ftpaccess, etc.

As of beta11, hostnames in ftpaccess virtual FTP options don't work.

Also, rather than lots of hacking in wu-ftpd, it might make more sense to
use an inetd that handles virtual servers, and just run wu-ftpd with a
different ftpaccess file.  Then all you have to do is add a command line
switch that allows you to say 
/usr/sbin/wu-ftpd -a /home/virtual/domain1/ftpd/ftpaccess -lio

------------------------------------------------------------------
 Jon Lewis <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/message.
 Florida Digital Turnpike    |  
________Finger jlewis@inorganic5.fdt.net for PGP public key_______


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 00:37:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA30948;
	Tue, 24 Jun 1997 00:33:25 -0500 (CDT)
Received: from m54.oz.com (m54.oz.com [204.95.67.54])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA23604
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 00:26:14 -0500 (CDT)
Received: by m54.oz.com id AA16444
  (5.67a8/IDA-1.4.4 for wu-ftpd@wugate.wustl.edu); Mon, 23 Jun 1997 22:26:07 -0700
Message-Id: <199706240526.AA16444@m54.oz.com>
Date: Mon, 23 Jun 1997 22:26:07 -0700
Reply-To: mitch@oz.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mitch Wright <mitch@oz.com>
To: kent@landfield.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706232231.RAA24069@landfield.com>
References: <199706232231.RAA24069@landfield.com>
X-Ozid: <199706240526.AA16444@m54.oz.com>
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

/* Kent Landfield [kent@landfield.com] writes: */

>NOTE: PLEASE READ THIS IF YOU ARE INTERESTED IN VIRTUAL HOSTING SUPPORT.
>    This is a bit long but it is an important issue that may affect you...
>
I would like to voice my support for Kent's proposal.

However, I would recommend a slight change to the behavior Kent briefly
described which would provide a certain degree of backwards compatability.
It has been a while since I've had my nose deep into the WU-FTPd code so
please excuse me if I'm a bit off track with this...

I would like to see the daemon first load the "main" ftpaccess file and
then read (if it exists) the ftpaccess file that is specific to that
virtual host.  The first ftpaccess read would prime the defaults of the
server and the second read would tune them to that accounts liking.

Good job Kent on working through that one... I've nearly completed
something similar for providing true virtual E-mail hosting using
[gasp!] sendmail.

-- 
do svidaniya,

  ~mitch

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 00:38:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA30157;
	Tue, 24 Jun 1997 00:35:21 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id AAA29626
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 00:28:34 -0500 (CDT)
Message-Id: <199706240529.AAA08140@landfield.com>
Date: Tue, 24 Jun 1997 00:29:11 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

# >     # Format:
# >     # ip-address associated-ftpaccess-file
# >     #
# >     # ftpaccess file for the some.domain
# >     #
# >     10.196.145.2 /etc/ftpd/ftpaccess
# 
# Noooo....  If you're going to bother changing this, do it right.  In
# Apache's httpd.conf, I use hostnames entirely rather than IP's so if I
# change a host's IP, I don't have to go change it in bunches of config
# files.  I should be able to have:
# 
# ftp.foo.com   /etc/ftpd/ftpaccess, etc.

Reasonable, but the above is working today as is, that's why it's listed
the way it is.  It was also easy to do.  ;) I'd have no problem adding
hostname support as well.  

# As of beta11, hostnames in ftpaccess virtual FTP options don't work.

I didn't know they ever did.  I guess I never tried them.

# Also, rather than lots of hacking in wu-ftpd, it might make more sense to
# use an inetd that handles virtual servers, and just run wu-ftpd with a
# different ftpaccess file.  Then all you have to do is add a command line
# switch that allows you to say 
# /usr/sbin/wu-ftpd -a /home/virtual/domain1/ftpd/ftpaccess -lio

That's really what you get with this change except that you do not need
to get a separate inetd or complicate it's config file.  Even with that
method you still need the separate ftpaccess files.  What I'm proposing 
is a self contained solution that is working today.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 07:59:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA08541;
	Tue, 24 Jun 1997 07:54:44 -0500 (CDT)
Received: from ra.TSS.PeachNet.EDU (ra.TSS.PeachNet.EDU [168.24.241.111])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id HAA07549
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 07:49:11 -0500 (CDT)
Received: (from michael@localhost)
	by ra.TSS.PeachNet.EDU (8.8.5/8.8.5/TSS-usg.m4_1.14[22Jan1997]) id IAA16401;
	Tue, 24 Jun 1997 08:47:49 -0400 (EDT)
Message-Id: <199706241247.IAA16401@ra.TSS.PeachNet.EDU>
Date: Tue, 24 Jun 1997 08:47:49 -0400 (EDT)
Reply-To: michael@ra.TSS.PeachNet.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Bracewell <michael@ra.TSS.PeachNet.EDU>
To: kent@landfield.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706232231.RAA24069@landfield.com> from "Kent Landfield" at Jun 23, 97 05:31:04 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: 8.0 -- ListProcessor(tm) by CREN

Kent Landfield sez:
| 
|     I PROPOSE that we drop the current method of supporting virtual hosting 
|     from the baseline in favor of complete ftpaccess virtual hosting support.
|     This will affect all but the 15 or so that are currently running that 
|     version. 

First of all, great work Kent!  I prefer your method over the existing virtual
support.  I would suggest that if possible there be some way to set defaults
for directives so that maybe an entire access file would not have to be
maintained for every virtual host, but this could certainly be handled by a
macro preprocessor or such if it adds to much overhead or complexity...

Thanks again for all the hard work on this and ftpck!

-- 
Michael Bracewell <michael@ra.TSS.PeachNet.EDU>
Office of Information and Instructional Technology
Technology Support Services
Board of Regents of the University System of Georgia

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 09:18:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA10798;
	Tue, 24 Jun 1997 09:13:52 -0500 (CDT)
Received: from gaia.eurobretagne.fr (root@gaia.eurobretagne.fr [194.51.217.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id JAA12899
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 09:10:10 -0500 (CDT)
Received: from localhost (pydo@localhost [127.0.0.1])
	by gaia.eurobretagne.fr (8.8.5/8.8.5) with SMTP id QAA16941
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 16:10:09 +0200 (MET DST)
Message-Id: <Pine.SUN.3.96.970624154939.11233E-100000@gaia.eurobretagne.fr>
Date: Tue, 24 Jun 1997 16:10:08 +0200 (MET DST)
Reply-To: pydo@eurobretagne.fr
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
To: wu-ftpd@wugate.wustl.edu
Subject: Guest setup : Overwrite .rhosts .forward files.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

I've checked everything and i can't find any explanation for this
problem...

I followed the instructions in Guest-Howto and i set up a guest access for
some users with the rights to rename,delete and overwrite files as shown
below :

/etc/ftpaccess :
...
delete          no      anonymous         # delete permission?
overwrite       no      anonymous         # overwrite permission?
rename          no      anonymous         # rename permission?
chmod           no      guest,anonymous         # chmod permission?
umask           no      guest,anonymous         # umask permission?
...

The directory of the user1 after login (chrooted) looks like that :

-r--------   1 root     root            0 Jun 24 13:32 .forward
-r--------   1 root     root            0 Jun 24 13:32 .rhosts
-rw-r--r--   1 user1    guest        5157 Jun 24 12:26 archie1.html
d--x--x--x   2 root     root          512 Jun 24 12:01 bin
d--x--x--x   2 root     root          512 Jun 24 12:05 etc

In this case user1 CAN delete the .forward and .rhosts files even
if they belong to root and if it should NOT happen.

I run wu-ftp BETA-13 on Sunos 4.1.4.

Best regards,

Artur Pydo.

********************************************************************
* Eurobretagne               * http://www.eurobretagne.fr/         *
* 32, rue Mirabeau           * ftp://ftp.eurobretagne.fr/          *
* 29480 Le Relecq Kerhuon    * mailto:pydo@eurobretagne.fr         *
* France                     * Home : http://www.mygale.org/~pydo/ *
* TEL : +33 (0)2 98 00 46 53 * FAX : +33 (0)2 98 30 52 10          *
********************************************************************


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 10:20:23 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA04166;
	Tue, 24 Jun 1997 10:15:18 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA16070
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 10:10:11 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id KAA06643;
	Tue, 24 Jun 1997 10:09:33 -0500
Message-Id: <Pine.LNX.3.95.970624100504.5790I-100000@ns1.fni.com>
Date: Tue, 24 Jun 1997 10:09:33 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
In-Reply-To: <Pine.SUN.3.96.970624154939.11233E-100000@gaia.eurobretagne.fr>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'll bet user1 owns the parent directory.  To delete a file, write
permission is needed to the parent directory, not the file itself. 

As delivered in the latest betas, leading dot files cannot be uploaded, so
no one can create a .* file (/etc/ftpaccess path-filter). 

One exception to be careful of is if you have the mv command installed for
site exec use; then someone could upload a file and rename it to a leading
dot file.

   -- Michael

On Tue, 24 Jun 1997, Artur Pydo - EuroBretagne wrote:

> The directory of the user1 after login (chrooted) looks like that :
> 
> -r--------   1 root     root            0 Jun 24 13:32 .forward
> -r--------   1 root     root            0 Jun 24 13:32 .rhosts
> -rw-r--r--   1 user1    guest        5157 Jun 24 12:26 archie1.html
> d--x--x--x   2 root     root          512 Jun 24 12:01 bin
> d--x--x--x   2 root     root          512 Jun 24 12:05 etc
> 
> In this case user1 CAN delete the .forward and .rhosts files even
> if they belong to root and if it should NOT happen.


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 11:03:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA19928;
	Tue, 24 Jun 1997 10:57:56 -0500 (CDT)
Received: from gaia.eurobretagne.fr (root@gaia.eurobretagne.fr [194.51.217.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA19835
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 10:56:23 -0500 (CDT)
Received: from localhost (pydo@localhost [127.0.0.1])
	by gaia.eurobretagne.fr (8.8.5/8.8.5) with SMTP id RAA20770;
	Tue, 24 Jun 1997 17:42:07 +0200 (MET DST)
Message-Id: <Pine.SUN.3.96.970624171645.17346A-100000@gaia.eurobretagne.fr>
Date: Tue, 24 Jun 1997 17:42:07 +0200 (MET DST)
Reply-To: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
To: Michael Brennen <mbrennen@fni.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
In-Reply-To: <Pine.LNX.3.95.970624100504.5790I-100000@ns1.fni.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

On Tue, 24 Jun 1997, Michael Brennen wrote:

> I'll bet user1 owns the parent directory.

Yes that's true.

> To delete a file, write permission is needed to the parent directory,
> not the file itself. 

It sounds strange to me. In Unix world, to delete a file you must be owner
of the file or must have write access on it.
In any case a user may delete a file owned by root with read-only access.

> As delivered in the latest betas, leading dot files cannot be uploaded, so
> no one can create a .* file (/etc/ftpaccess path-filter).
> 
> One exception to be careful of is if you have the mv command installed for
> site exec use; then someone could upload a file and rename it to a leading
> dot file.

That's right.

Cordialement,

Artur Pydo.

********************************************************************
* Eurobretagne               * http://www.eurobretagne.fr/         *
* 32, rue Mirabeau           * ftp://ftp.eurobretagne.fr/          *
* 29480 Le Relecq Kerhuon    * mailto:pydo@eurobretagne.fr         *
* France                     * Home : http://www.mygale.org/~pydo/ *
* TEL : +33 (0)2 98 00 46 53 * FAX : +33 (0)2 98 30 52 10          *
********************************************************************



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 11:15:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA19610;
	Tue, 24 Jun 1997 11:10:11 -0500 (CDT)
Received: from nucleus.com (hribnak@nucleus.com [199.45.65.129])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA20398
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 11:08:32 -0500 (CDT)
Received: from localhost (hribnak@localhost) by nucleus.com (8.8.5/8.8.5) with SMTP id KAA28455; Tue, 24 Jun 1997 10:12:53 -0600 (MDT)
Message-Id: <Pine.BSI.3.95.970624100759.27378A-100000@nucleus.com>
Date: Tue, 24 Jun 1997 10:12:52 -0600 (MDT)
Reply-To: hribnak@nucleus.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Hribnak <hribnak@nucleus.com>
To: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
Cc: Michael Brennen <mbrennen@fni.com>, wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
In-Reply-To: <Pine.SUN.3.96.970624171645.17346A-100000@gaia.eurobretagne.fr>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



On Tue, 24 Jun 1997, Artur Pydo - EuroBretagne wrote:


> I'll bet user1 owns the parent directory.

Yes that's true.

> To delete a file, write permission is needed to the parent directory,
> not the file itself. 

>It sounds strange to me. In Unix world, to delete a file you must beowner
>of the file or must have write access on it.
>In any case a user may delete a file owned by root with read-only access.

> As delivered in the latest betas, leading dot files cannot be uploaded, so
> no one can create a .* file (/etc/ftpaccess path-filter).
> 
> One exception to be careful of is if you have the mv command installed for
> site exec use; then someone could upload a file and rename it to a leading
> dot file.
=========


on BSDI 2.1 you can use the chflags (man chflags) and make the files
undeletable by any user except the owner regardless of what the parent
diretory is set at..

I dont like users playing with .rhosts, .forward etc so when we create new
unix email accounts a .rhost and .forward are automatically created and
then I do the following:

chown root.wheel .forward ; chflags uchg .forward
chown root.wheel .rhosts ; chflags uchg .rhosts

this makes the file un changeable by anyone but ROOT (since he is the
owner) and also the super-user..

here is a little blurb from the man:

   uchg    set the user immutable flag (owner or super-user only)

you can change it back with a chflags nouchg <filename>  Make sure you
dont use schg the only way to remove that is in single user mode.


Jim



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 11:21:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA16927;
	Tue, 24 Jun 1997 11:16:21 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA21406
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 11:13:47 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id LAA07997;
	Tue, 24 Jun 1997 11:13:44 -0500
Message-Id: <Pine.LNX.3.95.970624111244.5790R-100000@ns1.fni.com>
Date: Tue, 24 Jun 1997 11:13:44 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Jim Hribnak <hribnak@nucleus.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
In-Reply-To: <Pine.BSI.3.95.970624100759.27378A-100000@nucleus.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Good point.  Linux has chattr to do effectively the same thing.

   -- Michael

On Tue, 24 Jun 1997, Jim Hribnak wrote:

> on BSDI 2.1 you can use the chflags (man chflags) and make the files
> undeletable by any user except the owner regardless of what the parent
> diretory is set at..


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 11:46:21 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA22818;
	Tue, 24 Jun 1997 11:41:03 -0500 (CDT)
Received: from mail.fns.com (mail.fns.com [168.127.10.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA23039
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 11:38:02 -0500 (CDT)
Received: from patches.fns.com by mail.fns.com (SMI-8.6/SMI-SVR4)
	id MAA01274; Tue, 24 Jun 1997 12:36:41 -0400
Received: from patches by patches.fns.com (SMI-8.6/SMI-SVR4)
	id MAA05483; Tue, 24 Jun 1997 12:35:49 -0400
Message-Id: <33AFF765.40F2@fns.com>
Date: Tue, 24 Jun 1997 12:35:49 -0400
Reply-To: glp@fns.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gwen Parker <glp@fns.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Passive FTP
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: glp@fns.com
X-Mailer: Mozilla 3.0Gold (X11; U; SunOS 5.5.1 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I need to know if wu-ftpd-2.4 comes with an FTP client as well as the
server.  If so, does the FTP *client* support passive FTP?

Thanks!

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 12:52:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA26569;
	Tue, 24 Jun 1997 12:47:54 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA28939
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 12:45:32 -0500 (CDT)
Message-Id: <199706241746.MAA00493@landfield.com>
Date: Tue, 24 Jun 1997 12:46:05 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: jlewis@inorganic5.fdt.net (Jon Lewis)
Cc: kent@landfield.com, wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <Pine.LNX.3.95.970624004231.31682U-100000@inorganic5.fdt.net> from "Jon Lewis" at Jun 24, 97 00:56: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: 8.0 -- ListProcessor(tm) by CREN

# >     # Format:
# >     # ip-address associated-ftpaccess-file
# >     #
# >     # ftpaccess file for the some.domain
# >     #
# >     10.196.145.2 /etc/ftpd/ftpaccess
# 
# Noooo....  If you're going to bother changing this, do it right.  In
# Apache's httpd.conf, I use hostnames entirely rather than IP's so if I
# change a host's IP, I don't have to go change it in bunches of config
# files.  I should be able to have:
# 
# ftp.foo.com	/etc/ftpd/ftpaccess, etc.

Ok. I took 10 minutes and added the ability to use either hostnames or
IP addresses.  I'm running it now. I'll be putting up a newer copy later
today after playing with it some more to assure there aren't problems.

Thanks for the push. ;)

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 12:58:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA28810;
	Tue, 24 Jun 1997 12:53:35 -0500 (CDT)
Received: from earth.astro.umd.edu (wls@earth.astro.umd.edu [129.2.163.100])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA25891
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 12:48:12 -0500 (CDT)
Received: (wls@localhost) 
	by earth.astro.umd.edu (8.8.3/8.6.6mWLS)
	id NAA17681 for wu-ftpd@wugate.wustl.edu; Tue, 24 Jun 1997 13:48:11 -0400 (EDT)
Message-Id: <199706241748.NAA17681@earth.astro.umd.edu>
Date: Tue, 24 Jun 1997 13:48:11 -0400 (EDT)
Reply-To: wls@astro.umd.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wls@astro.umd.edu (William L. Sebok)
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

 On Tue, 24 Jun 1997, Michael Brennen wrote:

> To delete a file, write permission is needed to the parent directory,
> not the file itself. 

Artur Pydo <pydo@eurobretagne.fr> replied: 
> It sounds strange to me. In Unix world, to delete a file you must be owner
> of the file or must have write access on it.
> In any case a user may delete a file owned by root with read-only access.

Not true: the behavior of Unix is and has been (at least since Version 6 on
the PDP 11) that to delete a file write permission on the directory containing
the file is sufficient.

The is an exception: on some Unix systems, such as SunOS 4.X and Solaris 2.X
from Sun, if the sticky bit is set on the directory then a file in that
directory can ownly be removed if the user owns the file, the user owns the
directory, the file is writable by the user, or the user is a privileged user.

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  Tue Jun 24 14:12:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA00472;
	Tue, 24 Jun 1997 14:07:20 -0500 (CDT)
Received: from penguin.nemi.org (root@[205.230.31.209])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA32083
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 14:06:39 -0500 (CDT)
Received: from [205.230.31.200] ([205.230.31.200]) by penguin.nemi.org (8.6.12/8.6.9) with ESMTP id PAA00965 for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 15:06:49 -0400
Message-Id: <v03020904afd5cb3ff8c2@[205.230.31.200]>
Date: Tue, 24 Jun 1997 15:11:37 -0400
Reply-To: drouleau@nemi.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Rouleau <drouleau@nemi.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Compiling errors w/ wu-ftpd-2.4.2-beta-12
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

linux 2.0.27   gcc 2.7.2    binutils 2.6.0.14   libc 5.0.9


Here's what happens when I "build lnx":

--
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 -o ftpd ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o
realpath.o acl.o private.o authenticate.o conversions.o hostacc.o sigfix.o
-lsup
port -lbsd
glob.o: In function `matchdir':
glob.o(.text+0x482): undefined reference to `dirfd'
make: *** [ftpd] Error 1

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

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

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

Links to executables are in bin directory:
size: bin/ftpd: No such file or directory
--

Anyone know what's goin' on?  Should I be using compiling an older ver. of
wu-ftp?

Thanks in advance,
Dave Rouleau



--
David Rouleau                                      <mailto: drouleau@nemi.org>
Communications Manager                        Home Page: <http://www.nemi.org>
NEMI, Inc.                                               <Phone: 703-834-2087>
2214 Rock Hill Road, Suite 110                              Fax: 703-834-2735



From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 15:11:53 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA02084;
	Tue, 24 Jun 1997 15:05:30 -0500 (CDT)
Received: from sv.compuland.com.br (sv.compuland.com.br [200.255.96.21])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA23249
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 15:00:33 -0500 (CDT)
Received: from clpc1.compuland.com.br (clpc1.compuland.com.br [200.255.96.22]) by sv.compuland.com.br (8.8.6/8.8.6) with SMTP id QAA09485 for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 16:59:45 -0300 (EST)
Message-Id: <2.2.32.19970624200130.009869fc@sv.compuland.com.br>
Date: Tue, 24 Jun 1997 17:01:30 -0300
Reply-To: helio@compuland.com.br
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Helio Coelho Jr." <helio@compuland.com.br>
To: wu-ftpd@wugate.wustl.edu
Subject: endless connections (zombies) on beta 13
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: helio@sv.compuland.com.br (Unverified)
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi:

     I'm running wu-ftpd in a FreeBSD3.0-current machine. After the upgrade from
beta 12 I started to notice lots of connections in the state ESTABLISHED but
actually with no traffic and no use. I think it's sort of a 'zombie' connection
that was not closed... Anyone has seen that ? Any ideas how to solve it ?
(I've set a timeout for the connections, but did not solve completely the
problem).

Thanks !

Regards,
Helio


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 16:54:40 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA10698;
	Tue, 24 Jun 1997 16:48:44 -0500 (CDT)
Received: from icarus.yml.com (icarus.yml.com [207.226.52.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id QAA09553
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 16:43:03 -0500 (CDT)
Received: from localhost (buffalo@localhost) by icarus.yml.com (8.7.6/8.7.3) with SMTP id RAA31112 for <wu-ftpd@mail.wustl.edu>; Wed, 25 Jun 1997 17:52:07 -0400
Message-Id: <Pine.LNX.3.95.970625174507.30071D-100000@icarus.yml.com>
Date: Wed, 25 Jun 1997 17:52:07 -0400 (EDT)
Reply-To: buffalo@icarus.yml.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Duncan Sterling <buffalo@icarus.yml.com>
To: wu-ftpd@wugate.wustl.edu
Subject: How To Set Up Limited FTP Access?
In-Reply-To: <199706242127.QAA08829@wugate.wustl.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

I've been through the FAQ and the various MAN pages, but still don't have
a clear idea of how to set up a limited-access FTP account.

My goal is to be able set up an account that can connect to our server via
ftp, and put files into a single directory, with no ability to change dirs
from the home dir assigned to the account. I assume it's a matter of
setting up the correct entries int /etc/ftpaccess. 

TIA for any pointers/suggestions!

--Duncan


From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 17:04:17 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA11656;
	Tue, 24 Jun 1997 16:58:59 -0500 (CDT)
Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA10999
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 16:52:05 -0500 (CDT)
Received: from LOCAL (uucp@localhost) 
          by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 1201
          on Tue, 24 Jun 1997 21:52:02 GMT; id VAA01201
          efrom: news@Garfield.IAEhv.nl; eto: wu-ftpd@wugate.wustl.edu
Received: (from news@localhost)
	by Garfield.IAEhv.nl (8.8.6/8.8.5) id UAA12009;
	Tue, 24 Jun 1997 20:07:02 +0200
Message-Id: <5op2c6$b6o$1@Garfield.IAEhv.nl>
Date: 24 Jun 1997 18:07:02 GMT
Reply-To: Perry.Rovers@IAE.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry.Rovers@IAE.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
References: <199706232231.RAA24069@landfield.com>
X-Sender: Perry Rovers <perry@Garfield.IAEhv.nl>
X-no-archive: yes
X-bofh-archive: yes
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970324; i586 Linux 2.0.28]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Pink elephants with an attitude inspired Kent Landfield <kent@landfield.com> to tell garfield.mail.wu-ftpd:
:     I PROPOSE that we drop the current method of supporting virtual hosting 
:     from the baseline in favor of complete ftpaccess virtual hosting support.

Couple of comments on this and on the responses:
- I'd rather see something like
  virtual ftp.foo.com /etc/ftp/ftp.foo.com in the main ftpaccess
  that loads settings that override stuff set in the main ftpaccess file
  for that particular hostname
  Oh, and no ip-addresses, but you already mentioned that. ;-)
- I'd rather *not* muck with extra inetd's. If this can be done without
  that kind of stuff ... please. It shouldn't be necessary for this and
  I feel it complicates things. That's MHO of course.
- I'd also like to see the incorporation of other configfiles.
  ftpusers in particular, so I can turn off anon-ftp for a
  virtual server. I can already do this with limiting anonymous
  to 0 or guestserver directives in the proposed config, but I
  bet someone's going to need this kind of stuff later on for
  guestgroups or something like that so it might be useful to
  think about it now.

-- 
Perry Rovers (perry@Garfield.IAEhv.nl)

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 17:17:34 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA10264;
	Tue, 24 Jun 1997 17:11:08 -0500 (CDT)
Received: from hustle.rahul.net (hustle.rahul.net [192.160.13.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA12350
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 17:10:18 -0500 (CDT)
Received: by hustle.rahul.net with UUCP id AA03457
  (5.67b8/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Tue, 24 Jun 1997 15:10:10 -0700
Received: from antares.starshine.org (localhost [127.0.0.1]) by antares.starshine.org (8.8.3/8.7.3) with ESMTP id OAA22307; Tue, 24 Jun 1997 14:25:25 -0700
Message-Id: <199706242125.OAA22307@antares.starshine.org>
Date: Tue, 24 Jun 1997 14:25:23 -0700
Reply-To: jimd@starshine.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Dennis <jimd@starshine.org>
To: wls@astro.umd.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files. 
In-Reply-To: <199706241748.NAA17681@earth.astro.umd.edu> 
	Message Apparently From wls@astro.umd.edu (William L. Sebok) 
	Dated Tue, 24 Jun 1997 13:48:11 EDT.
X-Mailer: MH 8.6.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


>  On Tue, 24 Jun 1997, Michael Brennen wrote:
> 
>> To delete a file, write permission is needed to the parent directory,
>> not the file itself. 
> 
> Artur Pydo <pydo@eurobretagne.fr> replied: 
>> It sounds strange to me. In Unix world, to delete a file you must 
>> be owner of the file or must have write access on it.
>> In any case a user may delete a file owned by root with read-only access.
> 
> Not true: the behavior of Unix is and has been (at least since 
> Version 6 on the PDP 11) that to delete a file write permission 
> on the directory containing the file is sufficient.
> 
> The is an exception: on some Unix systems, such as SunOS 4.X and
> Solaris 2.X from Sun, if the sticky bit is set on the directory then
> a file in that directory can ownly be removed if the user owns the
> file, the user owns the directory, the file is writable by the user,
> or the user is a privileged user.
>
> Bill Sebok      Computer Software Manager, Univ. of Maryland, Astronomy
> 	Internet: wls@astro.umd.edu	URL: http://www.astro.umd.edu/~wls/

	Bill,

	The semantics of the sticky bit on the directory isn't 
	quite as you describe.

	If a directory is 'chmod 1777' (for example) -- to set
	the sticky bit (NOT THE SGID/SUID bits) then files created
	in that directory can only be removed by their owner (or 
	root, of course).  Anyone with with write access to the file
	can truncate it or overwrite it -- but only the owner can 
	remove the link. 

	I'm no Unix historian but I think this feature was added
	to BSD variants first.  SunOS was BSD derived.  However
	Linux and Solaris (each considered to be a SysV "dialect")
	recognize it.  Linux, being an independently developed
	kernel, is a blend of BSD and SysV features -- and most of the
	utilities are GNU -- which lean heavily toward BSD features.
	Solaris probably implements this support to provide better
	backward compatibility.

	(Personally I think most of the good BSDisms have been 
	adopted by most of the modern SysV systems at this point 
	-- but with over 600 versions and variants of Unix out 
	there gathering statistics to support this claim would 
	be a major task.  First we'd spend a month or two defining
	BSDisms, "good BSDisms," and "modern").

	The confusion is simple:  a directory entry is a reference
	to an inode -- a link.  If you have write access to a directory
	you can unlink that file from that directory.  This doesn't 
	affect the file directly.  If there are any other links
	(hard links) to the file it only effects the reference count
	in the inode.  So the permissions on a directory determine
	who can add, modify or remove the links it contains.

	The ownership and permissions of the file (or directory) are 
	contained in it's inode.  We "think" of them as being part of
	the directory entry because 'ls' and 'find' show them to us
	in that context.  However the directory only contains the
	name and the inode information.  All of the ownership, permissions,
	dates, sizes, etc are contained in the inode (along with pointers
	to the first ? data blocks and possibly pointers to the first ?
	"extents" which are other inodes which point to more data blocks).

	Thus anyone with write access to a directory can create a 
	link to any inode on the same filesystem.  They can do this
	even if they don't have any access to any of the existing 
	links (i.e. they don't have read access to any of the directories
	which contain links) -- if they want to get it an write the 
	the code themselves -- and they can guess (watch over someone's
	should when they type 'ls -i') what the inode is.  This doesn't
	give them access to the file -- just a pointer to it.
	
	In recent BSD systems (including BSDI/OS and (Free|Net|Open)BSD)
	there is a chflags command that allows one to set a file to 
	"immutable" (actually they have 'uchg' and 'schg' flags for 
	different sorts of 'immutability')  It's also possible to make
	files "append-only."  

	Quite unrelated to that BSD systems have a feature called 
	"securelevel."  If you use the 'sysctl' command to set 
	securelevel to a specific non-zero value (1 or 2) you get 
	specific limitations -- which include the feature that no 
	flags can be changed on files.  "Securelevel" is a one way
	trip.  Once the system is "secured" it can only be rendered 
	back to securelevel 0 (allow filesystem to be mounted, unmounded
	or remounted, file flags to be changed, modules to be loaded,
	or certain sorts of access to kmem and some devices) by a
	shutdown.  (Someone else on this list who mentioned the 
	'chflags' command seemed to misrepresent this).

	In Linux, when using the 'ext2' filesystem there is the 
	'chattr' command to set "attributes" on files.  These are 
	basically the same as the BSD ufs flags -- there are minor
	differences in details but the basics "immutable," and 
	"append-only" are there.  The Linux 'ext2' fs also presages
	some features like "secure delete" (any file with this attribute
	set will be overwritten by several passes of 1's, 0's and 
	random binary upon removal), and "compressed" (to allow 
	filesystem transparent compression of individual files).
	They may even include some encryption features or "monitor"
	file objects (see the HURD's "watchdog" filesystem objects
	for comparison) in future versions.

	Linux is just now (2.1.x) adding the securelevel feature.

	In either case an immutable file can not be modified --
	not even by its owner.  In addition *no* hard links to 
	such a file can be made, changed or removed -- since that
	would change the reference count in the inode -- which 
	garners an "operation not permitted."

	Another exception to this rule is if the filesystem
	in which the directory exists is mounted read-only.

	Finally there are several forms of Unix (AIX and HP-UX
	at least) that support access control lists (ACL's).
	I'd like to know more about those if anyone could point
	me to a ten-minute administrator's reference.

	So, in summary:

		Manipulation of directory entries depends on 
		the ownership and permissions of the directory.

		Manipulation of file contents and status depends
		on the ownership and permissions of the inode.

		Manipulation of directory entries may affect the
		reference (link) count and possibly some of the 
		date fields in an inode -- even if the user doing
		this has no rights to the file.

		Any un-open inode whose link count is zero is
		reclaimed by the systme -- the file's data blocks
		are returned to the free list, and the inode is 
		marked as "available"

		(We won't discuss the case of an open file with
		a link count of zero).

		The sticky bit is usually meaningless on files in
		modern Unix variants (since the caching algorithms
		generally ignore this "hint" about which data to
		keep in "core").

		The sticky bit on directories means that only the
		owner (and root) of a given entry can remove it.
		This is reasonably widespread -- but not universal.

		Some forms of Unix support filesystem specific 
		"flags" or "attributes" which allow one to make files
		immutable.  These will not allow any normal operation by
		any users (including root) to modify the file's contents
		or inode.  Creating or removing links requires
		modifying the inode's link count field.  (Some systems
		might allow a tricky programmer to rename a link -- but
		the normal 'mv' command won't work on Linux or FreeBSD).

		Most forms of Unix support a read-only mounting option.
		Some have added features to do "union" or "loopback" or
		"overlay" mounting (such that filesystem that you've 
		mounted read-write might be "remounted" at some other
		mount point with different options).  (I'd also like to
		know more about the various implementations of these).

		Some forms of Unix support ACL's for finer granularity
		of access controls.

	In response to the original problem:

	Almost all forms to Unix support a chroot() call. All forms
	of rshd/rlogind that I know of look for .rhosts in the 
	user's home directory.  You can create a special inetd
	entry that does a chroot (8) an launches the ftpd inside of
	your chroot jail.  The authentication is then done on the
	passwd (and possibly the shadow) file inside of that jail.
	Thus you can concoct a guest system where guests can't 
	create .rhosts files that will have any effect.

	You can also use the guestgroups feature of wu-ftpd to 
	do selective chroot (using the 
		/wherever/chroot/./relative-tochroot/home
	syntax in the /etc/passwd file).  It seems that my
	tests showed that rlogind and rshd would not follow that
	sort of path to a .rhosts file (on a Red Hat Linux system --
	circa 4.0).  Also you can use the pathfilter? directive 
	to prevent the .rhosts and .forward problems.

	Personally I'm hoping that PAM will offer less baroque --
	easier to teach, explain and audit methods for limiting
	users to specific services under Unix.  The problem is 
	not new -- and it's shameful how long we've tolerated it.

--
Jim Dennis,                                info@mail.starshine.org
Proprietor,                          consulting@mail.starshine.org
Starshine Technical Services              http://www.starshine.org

        PGP  1024/2ABF03B1 Jim Dennis <jim@starshine.org>
        Key fingerprint =  2524E3FEF0922A84  A27BDEDB38EBB95A 

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 17:19:20 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA11028;
	Tue, 24 Jun 1997 17:12:02 -0500 (CDT)
Received: from hustle.rahul.net (hustle.rahul.net [192.160.13.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA10560
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 17:10:37 -0500 (CDT)
Received: by hustle.rahul.net with UUCP id AA03474
  (5.67b8/IDA-1.5 for wu-ftpd@wugate.wustl.edu); Tue, 24 Jun 1997 15:10:19 -0700
Received: from antares.starshine.org (localhost [127.0.0.1]) by antares.starshine.org (8.8.3/8.7.3) with ESMTP id OAA22339; Tue, 24 Jun 1997 14:31:44 -0700
Message-Id: <199706242131.OAA22339@antares.starshine.org>
Date: Tue, 24 Jun 1997 14:31:42 -0700
Reply-To: jimd@starshine.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Dennis <jimd@starshine.org>
To: kent@landfield.com
Cc: jlewis@inorganic5.fdt.net (Jon Lewis), wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD 
In-Reply-To: <199706241746.MAA00493@landfield.com> 
	Message Apparently From Kent Landfield <kent@landfield.com> 
	Dated Tue, 24 Jun 1997 12:46:05 CDT.
X-Mailer: MH 8.6.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


># Noooo....  If you're going to bother changing this, do it right.  In
># Apache's httpd.conf, I use hostnames entirely rather than IP's so if I
># change a host's IP, I don't have to go change it in bunches of config
># files.  I should be able to have:
># 
># ftp.foo.com	/etc/ftpd/ftpaccess, etc.
> 
> Ok. I took 10 minutes and added the ability to use either hostnames or
> IP addresses.  I'm running it now. I'll be putting up a newer copy later
> today after playing with it some more to assure there aren't problems.
> 
> Thanks for the push. ;)
> Kent Landfield                        Phone: 1-817-545-2502             

	How about address/host "globbing" a la tcpd's hosts.allow
	and hosts.deny files.  So I could say

	192.168.44.*		/etc/ftpaccess.private-rfc1918
	*.private.mylan.org	/etc/ftpaccess.private-rfc1918
	172.17.*.*		/etc/ftpaccess.big-intralan
	*.wan.myorg.org		/etc/ftpaccess.big-intralan

		(note: I'm not sure my syntax here is correct --
		 it's just for example).

	... etc.

	You might just lift the code right out of tcpd's parser
	(with Wietse's permission, of course).

	I've read about places that are hosting hundreds of virtual
	web servers on their machines -- this would be handy for them.


--
Jim Dennis,                                info@mail.starshine.org
Proprietor,                          consulting@mail.starshine.org
Starshine Technical Services              http://www.starshine.org

        PGP  1024/2ABF03B1 Jim Dennis <jim@starshine.org>
        Key fingerprint =  2524E3FEF0922A84  A27BDEDB38EBB95A 

From owner-wu-ftpd@wugate.wustl.edu  Tue Jun 24 19:18:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA17063;
	Tue, 24 Jun 1997 19:13:05 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id TAA18915
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Jun 1997 19:08:25 -0500 (CDT)
Message-Id: <199706250008.TAA02355@landfield.com>
Date: Tue, 24 Jun 1997 19:08:58 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: Perry.Rovers@IAE.nl
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <5op2c6$b6o$1@Garfield.IAEhv.nl> from "Perry.Rovers@IAE.nl" at Jun 24, 97 06:07:02 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

# Pink elephants with an attitude inspired Kent Landfield <kent@landfield.com> 
# to tell garfield.mail.wu-ftpd:
 
:) Take a nice simple proposal and blow it wide open... With an attitude... ;)

# Couple of comments on this and on the responses:
# - I'd rather see something like
#   virtual ftp.foo.com /etc/ftp/ftp.foo.com in the main ftpaccess
#   that loads settings that override stuff set in the main ftpaccess file
#   for that particular hostname

I have received 5+ private email messages and there has been a couple on the
list about enhancing the way I currently do complete virtual hosting. All have
suggested incorporating some sort of master template ftpaccess file.  If we are
serious about getting it right then I have a deal for those interested. Let's 
talk about it here, figure out what it is that we want to have and I'll 
prototype it.  Then, those that want to can help test it.  Once we feel 
comfortable with it's functionality and implementation, I ship it to Stan so
that he can put it in when its convenient in his the release cycle. Fair 
enough ? And I thought I was done... ;)
 
First premise: This can only affect the Virtual hosting sites. Standard,
               non-virtual sites will not be affected. 

Here is what I have gathered from the various messages:

  - When a site connects to a virtual ftp server, the server will get the
    IP address of the inbound socket to determine which virtual domain is
    to be served.

  - It will then reads the Master ftpaccess file setting the default values
    for the directives listed.  These values are inherited by all virtual
    domains initially.

  - The server then looks to see if there is an ftpaccess file for that 
    specific virtual domain that overrides the default settings.  If so, 
    the server will read that file resetting only the values listed. 

  - The server then begins a normal session.

This would make it possible to have one ftpaccess file for the entire site
or let a site customize an ftpaccess file just for that site.  With this
model, the site could create ftpaccess files with only the differences from
the master template or have complete ftpaccess files for each virtual site. 

Is this what people had in mind ?

# - I'd also like to see the incorporation of other configfiles.
#   ftpusers in particular, so I can turn off anon-ftp for a
#   virtual server. I can already do this with limiting anonymous
#   to 0 or guestserver directives in the proposed config, but I
#   bet someone's going to need this kind of stuff later on for
#   guestgroups or something like that so it might be useful to
#   think about it now.

      ftpaccess - been there, discussed that, just need to see if the
                  a concensus can be reached about semantics.
      xferlog   - Will be specifiable on a virtual domain basis.

 ftpconversions - Does this need to be different ??? Probably not.
       ftphosts - Does this need to be different ???
      ftpgroups - Does this need to be different ??? Or just support an
                  extended record format  for virtual servers only ?
       ftpusers - Does this need to be different ??? Or just support an
                  extended the record format for virtual servers only ?

   Man, those pink elephants are getting bigger and bigger... ;)

--
Kent Landfield                        Phone: 1-817-545-2502
The Landfield Group                   FAX:   1-817-545-7650
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 02:39:42 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id CAA15502;
	Wed, 25 Jun 1997 02:34:13 -0500 (CDT)
Received: from gaia.eurobretagne.fr (root@gaia.eurobretagne.fr [194.51.217.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id CAA14512
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 02:30:17 -0500 (CDT)
Received: from localhost (pydo@localhost [127.0.0.1])
	by gaia.eurobretagne.fr (8.8.5/8.8.5) with SMTP id JAA28641;
	Wed, 25 Jun 1997 09:30:11 +0200 (MET DST)
Message-Id: <Pine.SUN.3.96.970625092227.28287A-100000@gaia.eurobretagne.fr>
Date: Wed, 25 Jun 1997 09:30:10 +0200 (MET DST)
Reply-To: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
To: "A. Rich" <arr@oceanwave.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
In-Reply-To: <199706241609.MAA24993@shell2.shore.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

On Tue, 24 Jun 1997, A. Rich wrote:

> 
> pydo> It sounds strange to me. In Unix world, to delete a file you must be
> pydo> owner of the file or must have write access on it.  In any case a user
> pydo> may delete a file owned by root with read-only access.
> 
> you can delete any file that resides in a directory you own.  you may not edit
> the file or read it, but you can delete it if you own the directory.

Well... If it is a normal behavior, i suggest to create two directories
named .forward and .rhosts and then to create a file in each of them. The
name of each file is of your choice. Set the permissions as for bin or etc
directories.
In this case, the user will be unable to remove the not empty directories.
If it seems to be a good solution, maybe it can be added to the FAQs or
HOWTOs.

Best regards,

Artur Pydo.

********************************************************************
* Eurobretagne               * http://www.eurobretagne.fr/         *
* 32, rue Mirabeau           * ftp://ftp.eurobretagne.fr/          *
* 29480 Le Relecq Kerhuon    * mailto:pydo@eurobretagne.fr         *
* France                     * Home : http://www.mygale.org/~pydo/ *
* TEL : +33 (0)2 98 00 46 53 * FAX : +33 (0)2 98 30 52 10          *
********************************************************************



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 03:41:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id DAA19774;
	Wed, 25 Jun 1997 03:34:48 -0500 (CDT)
Received: from gaia.eurobretagne.fr (root@gaia.eurobretagne.fr [194.51.217.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id DAA20025
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 03:33:36 -0500 (CDT)
Received: from localhost (pydo@localhost [127.0.0.1])
	by gaia.eurobretagne.fr (8.8.5/8.8.5) with SMTP id KAA01119;
	Wed, 25 Jun 1997 10:33:19 +0200 (MET DST)
Message-Id: <Pine.SUN.3.96.970625101431.28287L-100000@gaia.eurobretagne.fr>
Date: Wed, 25 Jun 1997 10:33:18 +0200 (MET DST)
Reply-To: pydo@eurobretagne.fr
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
To: Duncan Sterling <buffalo@icarus.yml.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: How To Set Up Limited FTP Access?
In-Reply-To: <Pine.LNX.3.95.970625174507.30071D-100000@icarus.yml.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

On Wed, 25 Jun 1997, Duncan Sterling wrote:

> I've been through the FAQ and the various MAN pages, but still don't have
> a clear idea of how to set up a limited-access FTP account.

Take a look at http://www.landfield.com/wu-ftpd/guest-howto.html

Best regards,

Artur Pydo.

********************************************************************
* Eurobretagne               * http://www.eurobretagne.fr/         *
* 32, rue Mirabeau           * ftp://ftp.eurobretagne.fr/          *
* 29480 Le Relecq Kerhuon    * mailto:pydo@eurobretagne.fr         *
* France                     * Home : http://www.mygale.org/~pydo/ *
* TEL : +33 (0)2 98 00 46 53 * FAX : +33 (0)2 98 30 52 10          *
********************************************************************


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 06:45:03 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA00949;
	Wed, 25 Jun 1997 06:38:21 -0500 (CDT)
Received: from exchange01.exchange01.scottsco.com (user245.scottsco.com [206.150.246.245])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA01038
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 06:32:06 -0500 (CDT)
Received: by exchange01.exchange01.scottsco.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.994.57)
	id <01BC8139.67358150@exchange01.exchange01.scottsco.com>; Wed, 25 Jun 1997 07:28:40 -0400
Message-Id: <c=US%a=_%p=Scottsco%l=EXCHANGE01-970625112839Z-50@exchange01.exchange01.scottsco.com>
Date: Wed, 25 Jun 1997 07:28:39 -0400
Reply-To: Sara.Marxen@scottsco.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marxen, Sara" <Sara.Marxen@scottsco.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: PASV connection
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.994.57
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>I've recently installed wu-ftpd and have run into a problem uploading info
>from netscape to an anonymous ftp account, adn was hoping someone on this
>mailing list would have an idea what is happening.  If this is the wrong type
>of question for this list  - sorry, please disregard.  
>
>I have no problems ftping from anywhere else dosftp, winftp, unix ftp.
>Attachted is a debug file with an unsuccessfull upload attempt, after
>starting
>the upload netscape simply errors out and closes.   For the record, I can 
>upload using netscape if I supply an actual user name and password rather
>than
>the anonymous user name and email password.  The only difference 
>I can see between this connection and one using a normal user account is 
>that here a PASV connection is denied where as with a actual user account 
>PASV accounts are allowed.
>
>Any help  is much appreciated.
>
>
>Jun 24 14:07:06 sun1 ftpd[17686]: connection from 10.2.51.13 [10.2.51.13]
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 220 
>Jun 24 14:07:06 sun1 ftpd[17686]: sun1 FTP server (Version wu-2.4(2) Tue Jun
>24 10:54:16 EDT 1997) ready.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: USER anonymous 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 331 
>Jun 24 14:07:06 sun1 ftpd[17686]: Guest login ok, send your complete e-mail
>address as password.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: PASS Sara.Marxen@scottsco.com 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 230 
>Jun 24 14:07:06 sun1 ftpd[17686]: Guest login ok, access restrictions apply.
>Jun 24 14:07:06 sun1 ftpd[17686]: ANONYMOUS FTP LOGIN FROM 10.2.51.13
>[10.2.51.13], Sara.Marxen@scottsco.com
>Jun 24 14:07:06 sun1 ftpd[17686]: command: SYST 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 215 
>Jun 24 14:07:06 sun1 ftpd[17686]: UNIX Type: L8
>Jun 24 14:07:06 sun1 ftpd[17686]: command: PWD 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 257 
>Jun 24 14:07:06 sun1 ftpd[17686]: "/" is current directory.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: PASV 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 425 
>Jun 24 14:07:06 sun1 ftpd[17686]: Can't open passive connection: Permission
>denied.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: PORT 10,2,51,13,5,6 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 200 
>Jun 24 14:07:06 sun1 ftpd[17686]: PORT command successful.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: TYPE I 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 200 
>Jun 24 14:07:06 sun1 ftpd[17686]: Type set to I.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: SIZE / 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 550 
>Jun 24 14:07:06 sun1 ftpd[17686]: /: not a plain file.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: CWD / 
>Jun 24 14:07:06 sun1 ftpd[17686]: <--- 250 
>Jun 24 14:07:06 sun1 ftpd[17686]: CWD command successful.
>Jun 24 14:07:06 sun1 ftpd[17686]: command: LIST 
>Jun 24 14:07:07 sun1 ftpd[17686]: <--- 150 
>Jun 24 14:07:07 sun1 ftpd[17686]: Opening BINARY mode data connection for
>/bin/ls.
>Jun 24 14:07:07 sun1 ftpd[17686]: <--- 226 
>Jun 24 14:07:07 sun1 ftpd[17686]: Transfer complete.
>Jun 24 14:07:09 sun1 ftpd[17686]: command: PORT 10,2,51,13,5,7 
>Jun 24 14:07:09 sun1 ftpd[17686]: <--- 200 
>Jun 24 14:07:09 sun1 ftpd[17686]: PORT command successful.
>Jun 24 14:07:09 sun1 ftpd[17686]: command: SIZE /pub/ 
>Jun 24 14:07:09 sun1 ftpd[17686]: <--- 550 
>Jun 24 14:07:09 sun1 ftpd[17686]: /pub/: not a plain file.
>Jun 24 14:07:09 sun1 ftpd[17686]: command: CWD /pub/ 
>Jun 24 14:07:09 sun1 ftpd[17686]: <--- 250 
>Jun 24 14:07:09 sun1 ftpd[17686]: CWD command successful.
>Jun 24 14:07:09 sun1 ftpd[17686]: command: LIST 
>Jun 24 14:07:09 sun1 ftpd[17686]: <--- 150 
>Jun 24 14:07:09 sun1 ftpd[17686]: Opening BINARY mode data connection for
>/bin/ls.
>Jun 24 14:07:09 sun1 ftpd[17686]: <--- 226 
>Jun 24 14:07:09 sun1 ftpd[17686]: Transfer complete.
>Jun 24 14:09:28 sun1 ftpd[17686]: command: PORT 10,2,51,13,5,8 
>Jun 24 14:09:28 sun1 ftpd[17686]: <--- 200 
>Jun 24 14:09:28 sun1 ftpd[17686]: PORT command successful.
>Jun 24 14:09:30 sun1 ftpd[17686]: command: CWD /pub/ 
>Jun 24 14:09:30 sun1 ftpd[17686]: <--- 250 
>Jun 24 14:09:30 sun1 ftpd[17686]: CWD command successful.
>Jun 24 14:09:30 sun1 ftpd[17686]: command: STOR CONFIG.SYS 
>Jun 24 14:09:30 sun1 ftpd[17686]: <--- 150 
>Jun 24 14:09:30 sun1 ftpd[17686]: Opening BINARY mode data connection for
>CONFIG.SYS.
>Jun 24 14:09:39 sun1 ftpd[17686]: lost connection to 10.2.51.13 [10.2.51.13]
>Jun 24 14:09:39 sun1 ftpd[17686]: FTP session closed
>
>

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 11:00:26 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA19331;
	Wed, 25 Jun 1997 10:55:16 -0500 (CDT)
Received: from earth.astro.umd.edu (wls@earth.astro.umd.edu [129.2.163.100])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA17158
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 10:49:39 -0500 (CDT)
Received: (wls@localhost) 
	by earth.astro.umd.edu (8.8.3/8.6.6mWLS)
	id LAA08213; Wed, 25 Jun 1997 11:49:29 -0400 (EDT)
Message-Id: <199706251549.LAA08213@earth.astro.umd.edu>
Date: Wed, 25 Jun 1997 11:49:29 -0400 (EDT)
Reply-To: wls@astro.umd.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: wls@astro.umd.edu (William L. Sebok)
To: jimd@starshine.org
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Guest setup : Overwrite .rhosts .forward files.
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I wrote: 

> The is an exception: on some Unix systems, such as SunOS 4.X and
> Solaris 2.X from Sun, if the sticky bit is set on the directory then
> a file in that directory can ownly be removed if the user owns the
> file, the user owns the directory, the file is writable by the user,
> or the user is a privileged user.

> From jimd@starshine.org Tue Jun 24 18:12:02 1997
Jim Dennis <jimd@starshine.org> replied

> 	The semantics of the sticky bit on the directory isn't 
> 	quite as you describe.
> 
> 	If a directory is 'chmod 1777' (for example) -- to set
> 	the sticky bit (NOT THE SGID/SUID bits) then files created
> 	in that directory can only be removed by their owner (or 
> 	root, of course).  Anyone with with write access to the file
> 	can truncate it or overwrite it -- but only the owner can 
> 	remove the link. 

I was essentially quoting from the chmod(3) man page for Solaris 2.5.  I
neglected to say that the directory must be already writeable or that root
could delete the file no matter what the permissions --- that I was assuming.
I said nothing about who could write to or truncate these files.

Here is the exact quote from the man page:

     If a directory is writable and has S_ISVTX (the sticky  bit)
     set,  files  within that directory can be removed or renamed
     only if one or more of the following is true (see  unlink(2)
     and rename(2)):

               o     the user owns the file

               o     the user owns the directory

               o     the file is writable by the user

               o     the user is a privileged user

> 	I'm no Unix historian but I think this feature was added
> 	to BSD variants first.  SunOS was BSD derived.

I'm not sure when it was added.  I know it was not there in BSD 4.2.  I think
(but could be wrong) that it came into SunOS between SunoS 3.X and 4.0. I never
had a change to try a pure BSD 4.3 system.

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  Wed Jun 25 11:24:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA16897;
	Wed, 25 Jun 1997 11:19:03 -0500 (CDT)
Received: from icarus.yml.com (icarus.yml.com [207.226.52.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA14436
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 11:16:07 -0500 (CDT)
Received: from localhost (buffalo@localhost) by icarus.yml.com (8.7.6/8.7.3) with SMTP id MAA01082; Thu, 26 Jun 1997 12:25:01 -0400
Message-Id: <Pine.LNX.3.95.970626121929.762A-100000@icarus.yml.com>
Date: Thu, 26 Jun 1997 12:25:01 -0400 (EDT)
Reply-To: buffalo@icarus.yml.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Duncan Sterling <buffalo@icarus.yml.com>
To: Artur Pydo - EuroBretagne <pydo@eurobretagne.fr>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: How To Set Up Limited FTP Access?
In-Reply-To: <Pine.SUN.3.96.970625101431.28287L-100000@gaia.eurobretagne.fr>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Wed, 25 Jun 1997, Artur Pydo - EuroBretagne wrote:

> > I've been through the FAQ and the various MAN pages, but still don't have
> > a clear idea of how to set up a limited-access FTP account.
> 
> Take a look at http://www.landfield.com/wu-ftpd/guest-howto.html

Thanks for the pointer. I've actually seen a number of variants of this
page, but still haven't quite found what I'm looking for.

What I need is a set up where a subset of real users can ftp to a specific
directory which I designate, and cannot 'cd' to any directory other than
the designated specific directory. Also, these accounts should have no
telnet access.

Denying telnet access is simple, and already resolved; locking a real user
to a fixed directory seems not to be.

Again, TIA for any hints/suggestions

--Duncan




From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 12:43:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA26623;
	Wed, 25 Jun 1997 12:38:16 -0500 (CDT)
Received: from interlock2.lexmark.com (interlock2.lexmark.com [192.146.101.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA15753
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 12:36:13 -0500 (CDT)
Received: by interlock2.lexmark.com id AA27574
  (InterLock SMTP Gateway 3.0 for wu-ftpd@wugate.wustl.edu);
  Wed, 25 Jun 1997 13:36:03 -0400
Received: by interlock2.lexmark.com (Protected-side Proxy Mail Agent-1);
  Wed, 25 Jun 1997 13:36:03 -0400
Message-Id: <199706251736.AA27574@interlock2.lexmark.com>
Date: Wed, 25 Jun 1997 13:37:15 -0400
Reply-To: mowrer@lexmark.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: mowrer@lexmark.com
To: wu-ftpd@wugate.wustl.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Lotus-Fromdomain: LEXMARK@LEXMTA
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I am having trouble compiling and then running beta13 on AIX release 4.1.4.
Below is compile sequence. Notice the WARNING message and then after the
asterics see the resulted try. The wwwtest machine(with the new beta13 ftpd
loaded) asks for a userid and then once that is entered, you get failure
with no intervening ask for a password.. Anyone else seen this, or did I
miss something.   Thanks Jim

make args are :
make opts are :

Linking Makefiles.

Making support library.
     cc -O2   -c getusershell.c
     cc -O2   -c fnmatch.c
     cc -O2   -c strcasestr.c
     cc -O2   -c strsep.c
     cc -O2   -c authuser.c
     cc -O2   -c strdup.c
     rm -f libsupport.a
     ar cq libsupport.a getusershell.o fnmatch.o strcasestr.o strsep.o
authuser.o strdup.o snprintf.c
     ranlib libsupport.a

Making ftpd.
     cc -O2 -I.. -I../support -L../support -c ftpd.c
    820  1500-010: (W) WARNING in main: Infinite loop.  Program may not
stop.
     yacc  ftpcmd.y
     mv y.tab.c ftpcmd.c
     cc -O2 -I.. -I../support -L../support -c ftpcmd.c
     cc -O2 -I.. -I../support -L../support -c glob.c
     cc -O2 -I.. -I../support -L../support -c logwtmp.c
     cc -O2 -I.. -I../support -L../support -c popen.c
     sh newvers.sh
     cc -O2 -I.. -I../support -L../support -c vers.c
     cc -O2 -I.. -I../support -L../support -c access.c
     cc -O2 -I.. -I../support -L../support -c extensions.c
     cc -O2 -I.. -I../support -L../support -c realpath.c
     cc -O2 -I.. -I../support -L../support -c acl.c
     cc -O2 -I.. -I../support -L../support -c private.c
     cc -O2 -I.. -I../support -L../support -c authenticate.c
     cc -O2 -I.. -I../support -L../support -c conversions.c
     cc -O2 -I.. -I../support -L../support -c hostacc.c
     cc -O2 -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
logwtmp.o popen.o vers.o access.o  extensions.o  realpath.o acl.o private.o
 authenticate.o conversions.o hostacc.o  sigfix.c -lsupport -ls

Making ftpcount.
     cc -O2 -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o
-lsupport -ls

Making ftpshut.
     cc -O2 -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o
-lsupport -ls

Making ckconfig.
     cc -O2 -I.. -I../support -L../support -o ckconfig ckconfig.c

Links to executables are in bin directory:
bin/ftpcount: 4836 + 780 + 20 + 1551 = 7187
bin/ftpshut: 3088 + 948 + 16 + 1120 = 5172
bin/ftpwho: 4836 + 780 + 20 + 1551 = 7187
bin/ckconfig: 1476 + 1576 + 16 + 517 = 3585
Done


***************************************************************************
****


root@sybb /aixtools/wuftp/2.4.2.13b/wu-ftpd-2.4.2-beta-13 # ftp wwwtest
Connected to wwwtest.lex.lexmark.com.
220 wwwtest.lex.lexmark.com FTP server (Version wu-2.4.2-academ[BETA-13](1)
 Mon
Jun 23 14:46:03 EDT 1997) ready.
Name (wwwtest:root): root
530 User root access denied....
Login failed.
ftp>





From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 13:07:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA29926;
	Wed, 25 Jun 1997 13:02:44 -0500 (CDT)
Received: from socks1.raleigh.ibm.com (socks1.raleigh.ibm.com [204.146.167.124])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA29275
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 12:56:03 -0500 (CDT)
Received: from rtpmail02.raleigh.ibm.com by socks1.raleigh.ibm.com (AIX 4.1/UCB 5.64/RTP-FW1.0)
          id AA21014; Wed, 25 Jun 1997 13:55:53 -0400
Received: from madras.raleigh.ibm.com (madras.raleigh.ibm.com [9.67.166.15])
	by rtpmail02.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with SMTP id NAA28024
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 13:55:53 -0400
Received: by madras.raleigh.ibm.com (AIX 4.1/UCB 5.64/4.03-RAL)
          id AA36128; Wed, 25 Jun 1997 13:55:51 -0400
Message-Id: <9706251755.AA36128@madras.raleigh.ibm.com>
Date: Wed, 25 Jun 1997 13:55:51 +22324502
Reply-To: alexey@raleigh.ibm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Alexey Lef <alexey@raleigh.ibm.com>
To: wu-ftpd@wugate.wustl.edu
In-Reply-To: Your message of "Wed, 25 Jun 1997 13:37:15 EDT."
             <199706251736.AA27574@interlock2.lexmark.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 1.6.9 8/22/96
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Most likely you are missing /etc/shells, it is not there on AIX.

Alexey

> 
> 
> root@sybb /aixtools/wuftp/2.4.2.13b/wu-ftpd-2.4.2-beta-13 # ftp wwwtest
> Connected to wwwtest.lex.lexmark.com.
> 220 wwwtest.lex.lexmark.com FTP server (Version wu-2.4.2-academ[BETA-13](1)
>  Mon
> Jun 23 14:46:03 EDT 1997) ready.
> Name (wwwtest:root): root
> 530 User root access denied....
> Login failed.
> ftp>
> 
> 
> 
> 
> 



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 13:44:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA32379;
	Wed, 25 Jun 1997 13:39:14 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA28249
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 13:34:26 -0500 (CDT)
Message-Id: <199706251835.NAA14466@landfield.com>
Date: Wed, 25 Jun 1997 13:35:04 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: your mail
In-Reply-To: <9706251755.AA36128@madras.raleigh.ibm.com> from "Alexey Lef" at Jun 25, 97 01:55: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: 8.0 -- ListProcessor(tm) by CREN

# Most likely you are missing /etc/shells, it is not there on AIX.

Or the user root is listed in the ftpusers file...

# > root@sybb /aixtools/wuftp/2.4.2.13b/wu-ftpd-2.4.2-beta-13 # ftp wwwtest
# > Connected to wwwtest.lex.lexmark.com.
# > 220 wwwtest.lex.lexmark.com FTP server (Version wu-2.4.2-academ[BETA-13](1)
# >  Mon
# > Jun 23 14:46:03 EDT 1997) ready.
# > Name (wwwtest:root): root
# > 530 User root access denied....
# > Login failed.
# > ftp>


-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 13:45:27 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA00051;
	Wed, 25 Jun 1997 13:40:21 -0500 (CDT)
Received: from wunet.wustl.edu (wunet.wustl.edu [128.252.120.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA32458
	for <wu-ftpd@mail.wustl.edu>; Wed, 25 Jun 1997 13:38:12 -0500 (CDT)
Received: from mail.virginia.edu by wunet.wustl.edu (PMDF V4.3-10 #20062)
 id <01IKHOONB5O00000MU@wunet.wustl.edu>; Wed, 25 Jun 1997 13:18:50 -0500 (CDT)
Received: from tigger.itc.virginia.edu by mail.virginia.edu id aa20975; 25 Jun
 97 14:37 EDT
Received: (from wfp5p@localhost) by tigger.itc.Virginia.EDU (8.8.6/1.0.0)
 id OAA63926 for wu-ftpd@wunet.wustl.edu; Wed, 25 Jun 1997 14:37:53 -0400
Message-Id: <199706251837.OAA63926@tigger.itc.Virginia.EDU>
Date: Wed, 25 Jun 1997 14:37:52 -0400 (EDT)
Reply-To: wfp5p@tigger.itc.virginia.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Pemberton <wfp5p@tigger.itc.virginia.edu>
To: wu-ftpd@wunet.wustl.edu
Subject: Re: your mail
In-Reply-To: <9706251755.AA36128@madras.raleigh.ibm.com> from "Alexey Lef" at
 Jun 25, 1997 01:55:51 PM
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Mailer: ELM [version 2.5 PL0b1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 
> Most likely you are missing /etc/shells, it is not there on AIX.
> 

And if compiled properly, nothing should need it to be there (the beta
has the code to get the valid shells the AIX way).....


-- 
Bill Pemberton                                 wfp5p@virginia.edu
ITC/Unix Systems                               flash@virginia.edu
University of Virginia                         uunet!virginia!wfp5p


From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 15:41:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA08362;
	Wed, 25 Jun 1997 15:35:32 -0500 (CDT)
Received: from mail.cs.utexas.edu (root@mail.cs.utexas.edu [128.83.139.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA07363
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 15:31:41 -0500 (CDT)
Received: from growl.cs.utexas.edu (awalker@growl.cs.utexas.edu [128.83.138.82])
	by mail.cs.utexas.edu (8.8.5/8.8.5) with ESMTP id PAA26526
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 15:31:38 -0500 (CDT)
Received: by growl.cs.utexas.edu (8.8.5/Client-1.5)
	id PAA07668; Wed, 25 Jun 1997 15:31:36 -0500 (CDT)
Message-Id: <Pine.GSO.3.95q.970625152950.7611E-100000@growl.cs.utexas.edu>
Date: Wed, 25 Jun 1997 15:31:36 -0500 (CDT)
Reply-To: awalker@cs.utexas.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Allen Walker <awalker@cs.utexas.edu>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: restricting users to ftp only 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I was checking the docs of wuftpd and was wondering the best way to allow
users only ftp access (no telnet etc). I figured there may be a way to get
ftpd to read from a specified passwd file other than the system passwd
file for users, so that it could be different than /etc/passwd

Also is there a way to restrict users from moving BACK directories from
the their home dir?

Any help appreciated.

---
Allen Walker               |            University of Texas at Austin
<awalker@cs.utexas.edu>    |   http://www.cs.utexas.edu/users/awalker



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 15:43:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA08308;
	Wed, 25 Jun 1997 15:38:07 -0500 (CDT)
Received: from mail.cs.utexas.edu (root@mail.cs.utexas.edu [128.83.139.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id PAA07983
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 15:32:15 -0500 (CDT)
Received: from growl.cs.utexas.edu (awalker@growl.cs.utexas.edu [128.83.138.82])
	by mail.cs.utexas.edu (8.8.5/8.8.5) with ESMTP id PAA26568
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 15:32:13 -0500 (CDT)
Received: by growl.cs.utexas.edu (8.8.5/Client-1.5)
	id PAA07672; Wed, 25 Jun 1997 15:32:12 -0500 (CDT)
Message-Id: <Pine.GSO.3.95q.970625153149.7611F-100000@growl.cs.utexas.edu>
Date: Wed, 25 Jun 1997 15:32:11 -0500 (CDT)
Reply-To: awalker@cs.utexas.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Allen Walker <awalker@cs.utexas.edu>
To: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Compiling prob
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Greetings.
I am trying to compile wuftpd package (latest) and I am getting this
error. I am trying to compile on BSDI 2.0.1 (i386)

...
Making ftpd
cc -O -DDEBUG -I.. -I../support -L../support -c ftpd.c
ftpd.c:143: conflicting types for 'realpath'
/usr/include/stdlib.h:158: previous declaration of `realpath'
*** Error code 1

...
I figure it has something to do with paths. I didn't modify pathnames.h,
but all the directories specified there exist.

Thanks for any help.


---
Allen Walker               |            University of Texas at Austin
<awalker@cs.utexas.edu>    |   http://www.cs.utexas.edu/users/awalker



From owner-wu-ftpd@wugate.wustl.edu  Wed Jun 25 17:44:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA16531;
	Wed, 25 Jun 1997 17:39:12 -0500 (CDT)
Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA16503
	for <wu-ftpd@wugate.wustl.edu>; Wed, 25 Jun 1997 17:33:13 -0500 (CDT)
Received: from LOCAL (uucp@localhost) 
          by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 21837
          on Wed, 25 Jun 1997 22:33:11 GMT; id WAA21837
          efrom: news@Garfield.IAEhv.nl; eto: wu-ftpd@wugate.wustl.edu
Received: (from news@localhost)
	by Garfield.IAEhv.nl (8.8.6/8.8.5) id SAA17722;
	Wed, 25 Jun 1997 18:55:04 +0200
Message-Id: <5orih8$go4$1@Garfield.IAEhv.nl>
Date: 25 Jun 1997 16:55:04 GMT
Reply-To: Perry.Rovers@IAE.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry.Rovers@IAE.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
References: <199706250008.TAA02355@landfield.com>
X-Sender: Perry Rovers <perry@Garfield.IAEhv.nl>
X-no-archive: yes
X-bofh-archive: yes
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970324; i586 Linux 2.0.28]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

A flock of rogue penguins inspired Kent Landfield <kent@landfield.com> to tell garfield.mail.wu-ftpd:
: # Pink elephants with an attitude inspired Kent Landfield <kent@landfield.com> 
: # to tell garfield.mail.wu-ftpd:
:  
: :) Take a nice simple proposal and blow it wide open... With an attitude... ;)
Of course.. you know me .. ;-)

[snippage]

: Is this what people had in mind ?
In my case.. yes. I thought of an alternative/extension this afternoon where
you just specify something like:
virtual ftp.foo.com /etc/ftp/ftp.foo.com/
where the /etc/ftp.foo.com/ directory will contain 'local' ftpaccess,
ftpusers etc. files.

:  ftpconversions - Does this need to be different ??? Probably not.
Can't image why unless you have people with specific requirements
here. I've never seen them though. I don't use ftphosts/ftpgroups so I
can't comment on that.

:        ftpusers - Does this need to be different ??? Or just support an
:                   extended the record format for virtual servers only ?
Unable to parse sentence .. s/the //g.. continuing.. [ObInternalJoke:
English is your first language n'est ce pas? ;-)] if you adopt the idea of
separate configdirectories you could just 'add in' the extra ftpusers. Or
subtract 'm.. hmm.. could that be useful?

:    Man, those pink elephants are getting bigger and bigger... ;)
I intend to drink 'em away tonight.. always works for me. Sometimes they
turn into penguins though.

-- 
Perry Rovers (perry@Garfield.IAEhv.nl)

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 26 12:58:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA31959;
	Thu, 26 Jun 1997 12:51:13 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA30741
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 12:46:05 -0500 (CDT)
Message-Id: <199706261746.MAA27971@landfield.com>
Date: Thu, 26 Jun 1997 12:46:41 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <5orih8$go4$1@Garfield.IAEhv.nl> from "Perry.Rovers@IAE.nl" at Jun 25, 97 04:55:04 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: 8.0 -- ListProcessor(tm) by CREN

# In my case.. yes. I thought of an alternative/extension this afternoon where
# you just specify something like:

# virtual ftp.foo.com /etc/ftp/ftp.foo.com/

# where the /etc/ftp.foo.com/ directory will contain 'local' ftpaccess,
# ftpusers etc. files.

This might make sense to keep virtual domain config files separated...
In reviewing mail and list traffic there seems there might be other needs 
in order to support virtual domains completely.  What do others think ?  

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 26 17:06:14 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA09904;
	Thu, 26 Jun 1997 17:01:16 -0500 (CDT)
Received: from niki.isdnet.net (mat@ns.isdnet.net [194.149.160.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id QAA03643
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 16:55:27 -0500 (CDT)
Received: (from mat@localhost) by niki.isdnet.net (8.8.4/8.7.5) id XAA05125; Thu, 26 Jun 1997 23:55:19 +0200 (MET DST)
Message-Id: <Pine.BSI.3.91.970626235036.4994A-100000@niki.isdnet.net>
Date: Thu, 26 Jun 1997 23:55:19 +0200 (MET DST)
Reply-To: mat@isdnet.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mathieu Guillaume <mat@niki.isdnet.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706261746.MAA27971@landfield.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


On Thu, 26 Jun 1997, Kent Landfield wrote:
> This might make sense to keep virtual domain config files separated...
> In reviewing mail and list traffic there seems there might be other needs 
> in order to support virtual domains completely.  What do others think ?  

It would be nice to be able to use alternate password files too, on for 
each site. The problem with this, at the moment, is the /etc/passwd is 
hardcoded is the libc. A possibility would be a Apache-like system, where 
you specify the authentication file and method. You would then have the 
default in /etc/ftpaccess, which you could override in the virtual domain 
specific file. At the moment, different virtual hosts are not different 
enough to my taste (if a user has an account on domain1.com and logs on 
domain2.com, it is the same as if he logged on domain1.com, I'd like to 
be able to change that).
Hmmm... perhaps we could rip off Apache's code, it seems to work nicely :)

					Mat


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 26 17:30:18 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA13960;
	Thu, 26 Jun 1997 17:25:13 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA13321
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 17:20:22 -0500 (CDT)
Message-Id: <199706262220.RAA00616@landfield.com>
Date: Thu, 26 Jun 1997 17:20:57 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <199706261746.MAA27971@landfield.com> from "Kent Landfield" at Jun 26, 97 12:46:41 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: 8.0 -- ListProcessor(tm) by CREN

# # In my case.. yes. I thought of an alternative/extension this afternoon where
# # you just specify something like:
# 
# # virtual ftp.foo.com /etc/ftp/ftp.foo.com/
# 
# # where the /etc/ftp.foo.com/ directory will contain 'local' ftpaccess,
# # ftpusers etc. files.
# 
# This might make sense to keep virtual domain config files separated...
# In reviewing mail and list traffic there seems there might be other needs 
# in order to support virtual domains completely.  What do others think ?  

Alright... Since we are all so talkative today ;-) I decided to see how hard 
it might be to be able to use Perry's idea.  So over lunch I took a fresh copy
of beta-13 and added the ability for a site specify config files as follows.

Comments from ftpd.c:

/*
** Virtual Host Brainstorming:
** 
** Need to support on a virtual host basis:
** ----------------------------------------
**  _PATH_FTPACCESS  
**  _PATH_FTPUSERS   
**  _PATH_PRIVATE    
**  _PATH_FTPHOSTS   
**  _PATH_CVT        
**
** Set in a virtual site's ftpaccess file
** --------------------------------------
**  _PATH_XFERLOG  
**
** Need to support on a site basis:
** --------------------------------
**  _PATH_FTPSERVERS
**  _PATH_EXECPATH
**  _PATH_PIDNAMES
**  _PATH_UTMP 
**  _PATH_WTMP
**  _PATH_LASTLOG
**  _PATH_BSHELL 
**  _PATH_DEVNULL
*/

The ftpaccess, ftpusers, ftpgroups, ftphosts and ftpconversions files    
can all be specified on a per-domain basis.  What I have now is the
ability to override the Master WU-FTPD config files with a local copy 
specific to that domain. If you do not wish to place a copy in the 
virtual host directory for that specific host then the master copy is 
used. This was amazingly simple and I got expanded capabilities with 
less code than I had before. (Don't ask).  

The overlay/merge mechanism is not there yet. That will take more than a 
lunch to get right.  I need to clean it up before I put it up for others 
to look at it.  I'll play with it a bit more tonight.  

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 26 18:45:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA17975;
	Thu, 26 Jun 1997 18:40:03 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id SAA17624
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 18:32:40 -0500 (CDT)
Message-Id: <199706262333.SAA00906@landfield.com>
Date: Thu, 26 Jun 1997 18:33:16 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Virtual Hosting Support in WU-FTPD
In-Reply-To: <Pine.BSI.3.91.970626235036.4994A-100000@niki.isdnet.net> from "Mathieu Guillaume" at Jun 26, 97 11:55:19 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: 8.0 -- ListProcessor(tm) by CREN

# > This might make sense to keep virtual domain config files separated...
# > In reviewing mail and list traffic there seems there might be other needs 
# > in order to support virtual domains completely.  What do others think ?  
# 
# It would be nice to be able to use alternate password files too, on for 
# each site. The problem with this, at the moment, is the /etc/passwd is 
# hardcoded is the libc. A possibility would be a Apache-like system, where 
# you specify the authentication file and method. You would then have the 
# default in /etc/ftpaccess, which you could override in the virtual domain 
# specific file. At the moment, different virtual hosts are not different 
# enough to my taste (if a user has an account on domain1.com and logs on 
# domain2.com, it is the same as if he logged on domain1.com, I'd like to 
# be able to change that).
# Hmmm... perhaps we could rip off Apache's code, it seems to work nicely :)

Hmmm... Ok, I'll lay the foundation and you can mortar in the stonework. ;-)

This is probably something that should come in a subsequent release.  There
seems to be enough to deal with at present. ;)  Authentication can be tricky
and I'd rather we get that right... ;-) Replacing the privilege core needs 
a focused review to do it in the proper manner.  The Apache code is not a
simple drop-in.  There are other concerns such as not affecting the non-virtual
sites, integration with Kerberos, Ultrix authentication, Skey support, shadow
password access, pam, ...

I did however add your suggestion to the suggestions page on the resource 
center so that we don't loose track of it.  I actually think it's a good 
idea, just not the right time.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 26 22:47:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA22512;
	Thu, 26 Jun 1997 22:43:33 -0500 (CDT)
Received: from ns.wzrd.com (potatoe@ns.wzrd.com [206.99.165.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id WAA22796
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 22:39:11 -0500 (CDT)
Received: from localhost (potatoe@localhost) by ns.wzrd.com (8.8.5/8.7.3) with SMTP id XAA13544 for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 23:34:39 -0400 (EDT)
Message-Id: <Pine.BSI.3.95.970626233155.11974C-100000@ns.wzrd.com>
Date: Thu, 26 Jun 1997 23:34:38 -0400 (EDT)
Reply-To: potatoe@ns.wzrd.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Glover <potatoe@ns.wzrd.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Anon FTP with alternate account?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi, I want to make an FTP-ONLY account on my system, with a username such
as "user"..... I want this account to act like an anonymous account, only
being able to have access to its home directory and the subdirectories in
there... nothing below the home directory... For the life of me I cannot
find a way. can someone please give me directions or  point me towards a
FAQ that contains such information?? thanks.

BTW, I am running WU-FTPD ACADEM beta13, and running on intel linux.

					-Rob


From owner-wu-ftpd@wugate.wustl.edu  Thu Jun 26 23:05:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA24285;
	Thu, 26 Jun 1997 23:01:09 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA25160
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 23:00:19 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id XAA13295;
	Thu, 26 Jun 1997 23:00:20 -0500
Message-Id: <Pine.LNX.3.95.970626225940.8577E-100000@ns1.fni.com>
Date: Thu, 26 Jun 1997 23:00:20 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Robert Glover <potatoe@ns.wzrd.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Anon FTP with alternate account?
In-Reply-To: <Pine.BSI.3.95.970626233155.11974C-100000@ns.wzrd.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


guest ftp.  See below.

   -- Michael

On Thu, 26 Jun 1997, Robert Glover wrote:

> Hi, I want to make an FTP-ONLY account on my system, with a username such
> as "user"..... I want this account to act like an anonymous account, only
> being able to have access to its home directory and the subdirectories in
> there... nothing below the home directory... For the life of me I cannot
> find a way. can someone please give me directions or  point me towards a
> FAQ that contains such information?? thanks.


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-13.tar.Z

wu-ftpd FAQ:  http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
              OR
              send mail to wu-ftpd-faq@pizza.hvu.nl
              with a subject line: send faq

guest howto:  ftp://ftp.fni.com/pub/wu-ftpd/guest-howto
              OR
              send mail to "guesthowto@fni.com"
              (immediate autoresponder; subject does not matter)

wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

There are additional security references in the above docs.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 00:13:06 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA29886;
	Fri, 27 Jun 1997 00:09:08 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA32005
	for <wu-ftpd@wugate.wustl.edu>; Thu, 26 Jun 1997 23:58:07 -0500 (CDT)
Message-Id: <199706270458.XAA03813@landfield.com>
Date: Thu, 26 Jun 1997 23:58:39 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Virtual Host prototype
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: 8.0 -- ListProcessor(tm) by CREN

First off... This is for those interested in Virtual Hosting.  If you have 
no interest in the virtual hosting enhancement effort underway, hit delete
now.

The new prototype is available at http://www.landfield.com/wu-ftpd/newvirt/.
THIS IS ALPHA/BETA CODE!  It is running here and I have had not problems
but we are building a prototype here...  This was developed on a Solaris 2.5
box and that is the only box it has been tested on.  Please send me your
changes (for those of you willing to test it) and I'll incorporate them.

The ftpaccess, ftpusers, ftpgroups, ftphosts and ftpconversions files    
can now all be specified on a per-domain basis.  We now have the ability 
to override the Master WU-FTPD config files with a local copy specific to 
that domain. If you do not wish to place a copy of one or all files listed 
above in the virtual host directory for that specific host then the master 
copy is used. This was amazingly simple. If you are interested in the how 
it was done part, take a look at the code in NEWVIRT ifdefs.

I made the associated changes to ftpshut, ckconfig and my new ftprestart.  
The only programs in the wu-ftpd suite that do not have the new virtual 
access file support is ftpcount and ftpck. (ftpck is coming.)

Here is the current status of what config files have virtual hosting 
support and which don't.
 
    Supported on a virtual host basis:
    ----------------------------------
    _PATH_FTPACCESS  
    _PATH_FTPUSERS   
    _PATH_PRIVATE    
    _PATH_FTPHOSTS   
    _PATH_CVT        
    
    Set in a virtual site's ftpaccess file
    --------------------------------------
    _PATH_XFERLOG  
    
    Supported on a site-wide basis:
    -------------------------------
    _PATH_FTPSERVERS
    _PATH_EXECPATH
    _PATH_PIDNAMES
    _PATH_UTMP 
    _PATH_WTMP
    _PATH_LASTLOG
    _PATH_BSHELL 
    _PATH_DEVNULL

For each virtual domain that you want to support, you have the option
to create an ftpaccess file specific for that domain. This will override 
completely what you have in the Master ftpaccess file.  This file must 
contain all directives as the merge code is not there yet. If you do not 
create an ftpaccess file for a specific domain, the domain will use the
Master ftpaccess file settings. (Merge is coming...)

Besides allowing any virtual server to be able to individually configure
the files mentioned, an additional benefit is that any future extensions 
Stan adds to the ftpaccess file will be automatically supported for virtual 
servers as well. Free.

All my changes were made to the latest beta-13.  (If Stan brings out beta-14 
in the next few days, I'll be re-incorporating them into that. 

I plan on sending these to Stan for inclusion in a upcoming version.  


Installation Notes: 
===================

1. Setup Virtual domain configuration directories:
--------------------------------------------------

You will need to make sure the proper files/directories are in-place. 
Here is my structure. (As noted before, I put everything in a single
directory structure for testing convenience. Actually I do that when 
I'm not testing as well...)

>From my pathnames.h

/*
** Master Copies - Possibly overridden by VIRTUAL Hosting Configuation
*/

#define _PATH_FTPACCESS  "/tmp/NewFtpd/ftpaccess"
#define _PATH_CVT        "/tmp/NewFtpd/ftpconversions"
#define _PATH_FTPUSERS   "/tmp/NewFtpd/ftpusers"
#define _PATH_PRIVATE    "/tmp/NewFtpd/ftpgroups"
#define _PATH_FTPSERVERS "/tmp/NewFtpd/ftpservers"
#define _PATH_FTPHOSTS   "/tmp/NewFtpd/ftphosts"

/* site-wide */
#define _PATH_PIDNAMES   "/tmp/NewFtpd/ftp.pids-%s"

2. Create an ftpservers file:
------------------------------

   You will need to create an ftpservers file.  A real simple sample is 
   shown below.

   #
   # ftpservers file
   #
   # Format:
   #   IP Address     Path to directory holding configuration 
   #   or hostname    files for this virtual domain
   #
   # ftpaccess file for the landfield.com domain
   #
   landfield.com      /tmp/NewFtpd/config/landfield.com
   #
   # ftpaccess file for the some.domain 
   #
   some.domain       /tmp/NewFtpd/config/some.domain
   #
   # ftpaccess file for the some.other.domain 
   #
   208.196.145.140 /tmp/NewFtpd/some.other.domain
   #

Make sure to create the directories you have listed. ;-)

3. Virtual ftpaccess files:
---------------------------

   The only additions to the ftpaccess file that you need to make over a
   non-virtual version is the "root" and "logfile" directives.  These act
   to assure the proper ftpd root directory is used for each of the supported
   virtual domains.  The logfile directive is used to specify where you want
   the transfer logs recorded for that specific virtual domain.  A sample is
   specfied below.

        root     /ftp
        logfile  /var/log/xferlog

4. Adding other virtual domain files
------------------------------------

    With this release you have the ability to create other configuration
    files on a per-virtual-domain basis.  Currently, the files you put into 
    the virtual domain directory you have listed in the ftpservers file 
    MUST be named:

    ftpaccess - virtual domain's access file
    ftpusers  - restrict the accounts that can use the web server,
    ftpgroups - SITE GROUP and SITE GPASS support,
    ftphosts  - allow or deny usernames access to that virtual server,
    ftpconversions - customize conversions available in the virtual domain.

    NOTE!!!: If you misspell any of them or name them something else, the 
             server WILL NOT find them.

And Finally:
============
Again, a better test strategy is to create an entire runtime directory 
dedicated to wu-ftpd such as /usr/local/wu-ftpd-test/ or /tmp/NewFtpd/
and make sure all the files and executables go there.  In that manner 
you will be able to do a hot swap if you ever want to/need to.

Please send comments, bugs, enhancements, etc to kent@landfield.com.  Thanks!
-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 00:54:36 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA07986;
	Fri, 27 Jun 1997 00:50:49 -0500 (CDT)
Received: from foible.proxima.alt.za (foible.proxima.alt.za [192.96.32.132])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id AAA05788
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 00:48:14 -0500 (CDT)
Received: from localhost.proxima.alt.za (localhost.proxima.alt.za [127.0.0.1]) by foible.proxima.alt.za (8.8.6/8.8.2) with SMTP id HAA21841; Fri, 27 Jun 1997 07:50:47 +0200 (SAT)
Message-Id: <199706270550.HAA21841@foible.proxima.alt.za>
Date: Fri, 27 Jun 1997 07:50:47 +0200
Reply-To: lucio@proxima.alt.za
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lucio de Re <lucio@proxima.alt.za>
To: wu-ftpd@wugate.wustl.edu, lucio@foible.proxima.alt.za
Subject: Re: Virtual Hosting Support in WU-FTPD 
In-Reply-To: Message from Mathieu Guillaume <mat@niki.isdnet.net>
 of "Thu, 26 Jun 1997 23:55:19 +0200." <Pine.BSI.3.91.970626235036.4994A-100000@niki.isdnet.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Authentication-Warning: foible.proxima.alt.za: localhost.proxima.alt.za [127.0.0.1] didn't use HELO protocol
X-Mailer: exmh version 2.0gamma 1/27/96
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Mathieu Guillaume <mat@niki.isdnet.net> says,
> 
> It would be nice to be able to use alternate password files too, on for 
> each site. The problem with this, at the moment, is the /etc/passwd is 
> hardcoded is the libc. A possibility would be a Apache-like system, where 
> [ ... ]
> Hmmm... perhaps we could rip off Apache's code, it seems to work nicely :)
> 
My preference would be to use the "chroot"ed directory structure to
provide this functionality.  If the password file, with the configuration
files, could be accessed, on a virtual host basis, in a separate /etc
directory (delay the chroot till after the global configuration files
have been read), then the entire management becomes more feasible.

-- 
Lucio de Re (lucio@proxima.alt.za)
Disclaimer: I'm working at getting my opinions to agree with me.



From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 04:06:47 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA13073;
	Fri, 27 Jun 1997 04:01:30 -0500 (CDT)
Received: from cyberspy.cyberspy.com (root@[207.115.220.11])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id EAA12494
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 04:00:53 -0500 (CDT)
Received: from john-s.cyberspy.com (biscuit@JR.cyberspy.com [207.115.220.102]) by cyberspy.cyberspy.com (8.8.5/8.6.9) with SMTP id FAA29601 for <wu-ftpd@mail.wustl.edu>; Fri, 27 Jun 1997 05:01:36 GMT
Message-Id: <2.2.32.19970627090158.00d6f710@mail.cyberspy.com>
Date: Fri, 27 Jun 1997 05:01:58 -0400
Reply-To: john@cyberspy.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: John Richardson <john@cyberspy.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ws-ftpd.2.4.2 beta 13
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: biscuit@mail.cyberspy.com (Unverified)
X-Mailer: Windows Eudora Pro Version 2.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello all,

I have installed 2.4-fixed and works fine.  However, I wanted
to install 2.4.2 beta 13 but for some reason it's not doing what
the /etc/ftpaccess says it should such as displaying messages and
following the rules for uploading.  I did not change the /etc/ftpaccess
when i installed the beta 13.

I got no errors when compiling and i ran the ./bin/ckconfig and everything
was ok ( it said that /etc/ftpaccess was in the correct spot).  I am
running linux 2.0.29.

Can someone please help.

Thanks in advance,
John


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 05:01:59 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA14133;
	Fri, 27 Jun 1997 04:56:40 -0500 (CDT)
Received: from eugate.sgi.com (eugate.sgi.com [193.73.159.10])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id EAA13876
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 04:54:38 -0500 (CDT)
Received: from slurp.neu.sgi.com (slurp.neu.sgi.com [144.253.130.8]) by eugate.sgi.com (8.8.4/970417-sgi-europehub) via SMTP id LAA15624
	for <@eugate.neu.sgi.com:wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 11:54:27 +0200 (MDT)
	env-from (cwilson@slurp.neu.sgi.com)
Received: from loopback by slurp.neu.sgi.com via SMTP (950413.SGI.8.6.12/911001.SGI)
	for <wu-ftpd@wugate.wustl.edu> id LAA06600; Fri, 27 Jun 1997 11:54:26 +0200
Message-Id: <199706270954.LAA06600@slurp.neu.sgi.com>
Date: Fri, 27 Jun 1997 11:54:25 +0200
Reply-To: cwilson@slurp.neu.sgi.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chan Wilson <cwilson@slurp.neu.sgi.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SGI IRIX 5.3 and 6.2 
In-Reply-To: Your message of "Thu, 29 May 1997 12:39:40 PDT."
             <9705291239.ZM5457@eel.ucsd.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> 	I noticed that the README for wu-ftpd 2.4 says that it can build sgi
> for IRIX 4.0.5.  Does anyone know if this also works for 5.3 and 6.2?

Yes, works fine for 6.2 as well.

--Chan

 Chan Wilson                     International      +41-32-843-3760
 Silicon Graphics, SA.           U.S.      1-888-744-8638 x476-3760
 Cortaillod, Switzerland.	                cwilson@neu.sgi.com
    "Network Analyst"  &&  Irix SA Guru  &&  Gravitational Engineer

	     Practice Acting Kind of Random.  Beauty, eh?

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 06:10:02 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id GAA16269;
	Fri, 27 Jun 1997 06:04:28 -0500 (CDT)
Received: from sbcomp.com ([207.150.14.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id GAA16436
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 06:00:39 -0500 (CDT)
Received: from skb (rockford17.inwave.com [206.190.10.117])
          by sbcomp.com (8.8.4/8.8.4) with SMTP
	  id GAA02059; Fri, 27 Jun 1997 06:00:28 -0500 (CDT)
Message-Id: <3.0.2.32.19970627055739.00804100@sbcomp.net>
Date: Fri, 27 Jun 1997 05:57:39 -0500
Reply-To: skb@sbcomp.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Steven K. Buehler" <skb@sbcomp.net>
To: john@cyberspy.com, wu-ftpd@wugate.wustl.edu
Subject: Re: ws-ftpd.2.4.2 beta 13
In-Reply-To: <2.2.32.19970627090158.00d6f710@mail.cyberspy.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: skb@sbcomp.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 05:01 AM 6/27/97 -0400, John Richardson wrote:
>I have installed 2.4-fixed and works fine.  However, I wanted
>to install 2.4.2 beta 13 but for some reason it's not doing what
>the /etc/ftpaccess says it should such as displaying messages and
>following the rules for uploading.  I did not change the /etc/ftpaccess
>when i installed the beta 13.

In your inetd.conf file, are you starting your wu-ftpd with the -a option?  If not, that is your problem.

======================================================
Steven K. Buehler
S & B Computers
Rockford Illinois, USA
Phone: 815-398-7169
Fax: 815-398-7266
======================================================

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 07:55:33 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id HAA01885;
	Fri, 27 Jun 1997 07:50:20 -0500 (CDT)
Received: from newcastl.ecpn.nn.inri.com (newcastl.ecpn.nn.inri.com [199.165.146.202])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id HAA01450
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 07:38:46 -0500 (CDT)
Received: from localhost (sr@localhost) by newcastl.ecpn.nn.inri.com with SMTP (8.7.6/8.7.1) id IAA13420 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 08:37:04 -0400 (EDT)
Message-Id: <Pine.HPP.3.95.970627083505.13386G-100000@newcastl.ecpn.nn.inri.com>
Date: Fri, 27 Jun 1997 08:37:04 -0400 (EDT)
Reply-To: sr@inri.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Subu Rama <sr@inri.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Preventing more than one session ... 
In-Reply-To: <199706270550.HAA21841@foible.proxima.alt.za>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: newcastl.ecpn.nn.inri.com: sr owned process doing -bs
X-Sender: sr@newcastl.ecpn.nn.inri.com
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Is there an easy way to prevent the same ftp client connecting again
to the ftp server while another session is in progress ?

I am running wu-ftpd-2.4.2-beta-12

Thank you

Subu Rama
sr@inri.com



From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 08:42:43 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA04087;
	Fri, 27 Jun 1997 08:37:54 -0500 (CDT)
Received: from summit.bor.ohio.gov (summit.bor.ohio.gov [156.63.16.15])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id IAA03938
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 08:35:29 -0500 (CDT)
Received: by summit.bor.ohio.gov (8.6.13/5.901231)
	id JAA24360; Fri, 27 Jun 1997 09:35:28 -0400
Message-Id: <199706271335.JAA24360@summit.bor.ohio.gov>
Date: Fri, 27 Jun 1997 09:35:28 -0400 (EDT)
Reply-To: bobd@summit.bor.ohio.gov
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob DeBula <bobd@summit.bor.ohio.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: SGI IRIX 5.3 and 6.2
In-Reply-To: <199706270954.LAA06600@slurp.neu.sgi.com> from "Chan Wilson" at Jun 27, 1997 11:54:25 AM
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.5 PL0b1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> > 	I noticed that the README for wu-ftpd 2.4 says that it can build sgi
> > for IRIX 4.0.5.  Does anyone know if this also works for 5.3 and 6.2?
> 
> Yes, works fine for 6.2 as well.

I also have it running on an IRIX 5.3 system.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 10:26:30 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA10629;
	Fri, 27 Jun 1997 10:22:42 -0500 (CDT)
Received: from ohio.cse.fau.edu (craig@ohio.cse.fau.edu [131.91.81.226])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA10468
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 10:19:42 -0500 (CDT)
Received: (from craig@localhost)
	by ohio.cse.fau.edu (8.8.x/8.8.5) id LAA10465
	for wu-ftpd@wugate.wustl.edu; Fri, 27 Jun 1997 11:17:44 -0400 (EDT)
Message-Id: <199706271517.LAA10465@ohio.cse.fau.edu>
Date: Fri, 27 Jun 1997 11:17:43 -0400 (EDT)
Reply-To: craig@cse.fau.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Craig Yap <craig@cse.fau.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: core dumping programs
Content-Type: text
X-Mailer: ELM [version 2.4 PL25 PGP7]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I'm trying to get 'ls' working on a Solaris 2.5.1 system.  I've setup the
/dev/{tcp,zero,ticotsord} files and copied in all the shared libraries
related to 'ls'.  I continually get the error about not being able to
'create a data socket'.  Also when I attempt 'chroot ~ftp /bin/ls' 'ls'
core dumps.

This is what my /dev directory looks like under ~ftp.

crw-rw-rw-   1 root     sys       11, 42 Jun 26 17:14 tcp
crw-rw-rw-   1 root     sys      105,  1 Jun 27 09:00 ticotsord
crw-rw-rw-   1 root     sys       13, 12 Jun 26 17:15 zero

Any ideas?

Oh yea,  I'm running beta-13.

Thanks in advance for any help,
craig


-- 
Craig Yap                                        Email: craig@cse.fau.edu 
Systems Programmer Guy                           Phone:    (561) 367-3249
Dept of CS&E at Florida Atlantic University      Fax:      (561) 367-2800
http://www.cse.fau.edu/~craig        PGP key can be found on my home page

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 12:42:55 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA18344;
	Fri, 27 Jun 1997 12:37:41 -0500 (CDT)
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA17911
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 12:31:08 -0500 (CDT)
Received: from lectura.CS.Arizona.EDU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA01341; Fri, 27 Jun 1997 10:31:04 MST
Received: from localhost (jdavis@localhost) by lectura.CS.Arizona.EDU (8.8.4/8.7.3) with SMTP id KAA28660; Fri, 27 Jun 1997 10:31:01 -0700 (MST)
Message-Id: <Pine.SOL.3.95.970627102622.27204A-100000@lectura.CS.Arizona.EDU>
Date: Fri, 27 Jun 1997 10:31:01 -0700 (MST)
Reply-To: jdavis@cs.arizona.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Davis <jdavis@cs.arizona.edu>
To: Craig Yap <craig@cse.fau.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: core dumping programs
In-Reply-To: <199706271517.LAA10465@ohio.cse.fau.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: lectura.CS.Arizona.EDU: jdavis owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 27 Jun 1997, Craig Yap wrote:

> Hi,
> 
> I'm trying to get 'ls' working on a Solaris 2.5.1 system.  I've setup the
> /dev/{tcp,zero,ticotsord} files and copied in all the shared libraries
> related to 'ls'.  I continually get the error about not being able to
> 'create a data socket'.  Also when I attempt 'chroot ~ftp /bin/ls' 'ls'
> core dumps.
> 
> This is what my /dev directory looks like under ~ftp.
> 
> crw-rw-rw-   1 root     sys       11, 42 Jun 26 17:14 tcp
> crw-rw-rw-   1 root     sys      105,  1 Jun 27 09:00 ticotsord
> crw-rw-rw-   1 root     sys       13, 12 Jun 26 17:15 zero

You're missing the udp device.  You probably should check the Sun (not
wu-ftpd) in.ftpd man page and compare your setup with what they describe.

For 2.5.1 you may also need a copy of /usr/lib/libmp.so in ~/ftp/usr/lib. 
I don't think that's mentioned in the in.ftpd man page, but with that
exception you should be able to get everything working by doing just what
the man page says.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 12:54:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA19191;
	Fri, 27 Jun 1997 12:49:37 -0500 (CDT)
Received: from franklin.appliedtheory.com (franklin.appliedtheory.com [192.77.173.116])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA19001
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 12:47:05 -0500 (CDT)
Received: from localhost (tmwilkin@localhost)
          by franklin.appliedtheory.com (8.8.5/8.8.5) with SMTP
	  id NAA18026 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 13:45:36 -0400 (EDT)
Message-Id: <199706271745.NAA18026@franklin.appliedtheory.com>
Date: Fri, 27 Jun 1997 13:45:35 -0400
Reply-To: tmwilkin@AppliedTheory.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Todd Wilkinson <tmwilkin@AppliedTheory.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: core dumping programs 
In-Reply-To: Your message of "Fri, 27 Jun 1997 11:17:43 EDT."
             <199706271517.LAA10465@ohio.cse.fau.edu> 
X-Authentication-Warning: franklin.appliedtheory.com: tmwilkin@localhost didn't use HELO protocol
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


	I am getting the exact same problem on the same setup, although
	the problem is persistent in both 2.4.2 and 2.4.2-beta(13).

	Any help would be greatly appreciated.

-Todd Wilkinson
-Systems Administrator
-Appliedtheory Communications
-tmwilkin@appliedtheory.com



> Hi,
> 
> I'm trying to get 'ls' working on a Solaris 2.5.1 system.  I've setup the
> /dev/{tcp,zero,ticotsord} files and copied in all the shared libraries
> related to 'ls'.  I continually get the error about not being able to
> 'create a data socket'.  Also when I attempt 'chroot ~ftp /bin/ls' 'ls'
> core dumps.
> 
> This is what my /dev directory looks like under ~ftp.
> 
> crw-rw-rw-   1 root     sys       11, 42 Jun 26 17:14 tcp
> crw-rw-rw-   1 root     sys      105,  1 Jun 27 09:00 ticotsord
> crw-rw-rw-   1 root     sys       13, 12 Jun 26 17:15 zero
> 
> Any ideas?
> 
> Oh yea,  I'm running beta-13.
> 
> Thanks in advance for any help,
> craig
> 
> 
> -- 
> Craig Yap                                        Email: craig@cse.fau.edu 
> Systems Programmer Guy                           Phone:    (561) 367-3249
> Dept of CS&E at Florida Atlantic University      Fax:      (561) 367-2800
> http://www.cse.fau.edu/~craig        PGP key can be found on my home page

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 13:44:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA21680;
	Fri, 27 Jun 1997 13:38:36 -0500 (CDT)
Received: from groan.Berkeley.EDU (groan.Berkeley.EDU [128.32.123.20])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA21518
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 13:35:37 -0500 (CDT)
Received: by groan.Berkeley.EDU (5.65/DEC-Ultrix/4.3)
	id AA18676; Fri, 27 Jun 1997 11:34:18 -0700
Message-Id: <9706271834.AA18676@groan.Berkeley.EDU>
Date: Fri, 27 Jun 1997 11:34:18 -0700
Reply-To: rusty@groan.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rusty Wright <rusty@groan.Berkeley.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd-2.4.2-beta-13 problem
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

(I'm not on this mailing list, so please be sure and include me in
your replies.  Thanks.)

I'm trying to upgrade to wu-ftpd-2.4.2-beta-13 from wu-ftpd-2.4.
Everything is working with version 2.4.  When I replace the 2.4 ftpd
with the 2.4.2-beta-13 ftpd and I try to login as anonymous I get the
error message

	530 User anonymous unknown.

In the config.h file I've made the change

	#undef HOST_ACCESS

As a regular user I can login.

In case there's something wrong with my ftpaccess file, I've included
it below.  Also feel free to critique it for other possible problems.

(I'm not on this mailing list, so please be sure and include me in
your replies.  Thanks.)

================> ftpaccess <================

# define a "dead" class in case we want to "shut down" the ftp server for
# a while (this class, which has a 0-user limit, will print a nice message
# to all new connections telling them to go away and come back later)
#
# class dead_c	real,anonymous			*

#
# class names have _c appended to them, to make them easier
# to identify in this file
#
class		local_c		real,guest,anonymous	*.berkeley.edu
class		remote_c	real,guest,anonymous	*
class		transend_c	real,guest,anonymous transend.cs.berkeley.edu
class		transend_c	real,guest,anonymous transend1.cs.berkeley.edu
class		transend_c	real,guest,anonymous transend2.cs.berkeley.edu
class		transend_c	real,guest,anonymous transend3.cs.berkeley.edu
class		transend_c	real,guest,anonymous transend4.cs.berkeley.edu

#
# the limit on transend_c is unnecessary since we're doing a
# deny down below
#
limit		dead_c		0	Any /tuna_a/servers/ftp/etc/msgs/dead
limit		remote_c	0	Any /tuna_a/servers/ftp/etc/msgs/remote
limit		transend_c	0      Any /tuna_a/servers/ftp/etc/msgs/transend
limit		local_c		20	Any /tuna_a/servers/ftp/etc/msgs/toomany

deny		!nameserved	/tuna_a/servers/ftp/etc/msgs/nameserved
deny		transend.cs.berkeley.edu /tuna_a/servers/ftp/etc/msgs/transend
deny		transend1.cs.berkeley.edu /tuna_a/servers/ftp/etc/msgs/transend
deny		transend2.cs.berkeley.edu /tuna_a/servers/ftp/etc/msgs/transend
deny		transend3.cs.berkeley.edu /tuna_a/servers/ftp/etc/msgs/transend
deny		transend4.cs.berkeley.edu /tuna_a/servers/ftp/etc/msgs/transend

guestgroup	mmxp

private		yes

readme		README*		login
readme		README*		cwd=*

message		msgs/welcome	login
message		.message	cwd=*

compress	yes		local_c remote_c
tar		yes		local_c remote_c

log		transfers	anonymous,guest	inbound,outbound

shutdown	msgs/shutmsg

passwd-check	rfc822		warn

chmod		no		anonymous,guest
delete		no		anonymous,guest
overwrite	no		anonymous,guest
umask		no		anonymous,guest

upload		/tuna_a/ftp	*		no

email		drmicro@garnet.berkeley.edu

loginfails	2

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 15:40:25 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA28483;
	Fri, 27 Jun 1997 15:35:19 -0500 (CDT)
Received: from groan.Berkeley.EDU (groan.Berkeley.EDU [128.32.123.20])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA28370
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 15:33:57 -0500 (CDT)
Received: by groan.Berkeley.EDU (5.65/DEC-Ultrix/4.3)
	id AA18859; Fri, 27 Jun 1997 13:32:35 -0700
Message-Id: <9706272032.AA18859@groan.Berkeley.EDU>
Date: Fri, 27 Jun 1997 13:32:35 -0700
Reply-To: rusty@groan.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rusty Wright <rusty@groan.Berkeley.EDU>
To: kent@landfield.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd-2.4.2-beta-13 problem
In-Reply-To: <199706272021.PAA14898@landfield.com> (kent@landfield.com)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Yes, it's in both /etc/passwd and ~ftp/etc/passwd.

   From: Kent Landfield <kent@landfield.com>
   Subject: Re: wu-ftpd-2.4.2-beta-13 problem
   To: rusty
   Date: Fri, 27 Jun 1997 15:21:22 -0500 (CDT)

   # 
   # (I'm not on this mailing list, so please be sure and include me in
   # your replies.  Thanks.)
   # 
   # I'm trying to upgrade to wu-ftpd-2.4.2-beta-13 from wu-ftpd-2.4.
   # Everything is working with version 2.4.  When I replace the 2.4 ftpd
   # with the 2.4.2-beta-13 ftpd and I try to login as anonymous I get the
   # error message
   # 
   # 	530 User anonymous unknown.
   # 

   Check and make sure that the user "ftp" is in the /etc/passwd file.

   -- 
   Kent Landfield                        Phone: 1-817-545-2502             
   The Landfield Group                   FAX:   1-817-545-7650             
   Email: kent@landfield.com             http://www.landfield.com/
   Please send comp.sources.misc related mail to kent@uunet.uu.net.
   Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 17:12:39 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA32143;
	Fri, 27 Jun 1997 17:06:46 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA00712
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 17:04:13 -0500 (CDT)
Message-Id: <199706272204.RAA15431@landfield.com>
Date: Fri, 27 Jun 1997 17:04:50 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: wu-ftpd@wugate.wustl.edu
Subject: So...
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: 8.0 -- ListProcessor(tm) by CREN

In thinking about the merge code for the ftpaccess files I thought it
it would be easy, seemed so at first. Then came the questions phase.
Here's a couple...

When you are merging directives, what do you do with the old directives ?
Consider the 'message' directive ? When I encounter one in the virtual domain, 
does it automatically invalidate all message directives in the master ftpaccess
file ? There can be more than one message directive so do I just add it to the 
list ? That might be reasonable, but is it what you would want ? What about 
upload directives ? Does the existance in the virtual domain specific ftpaccess
file invalidate all upload directives in the master ?  Probably should but...
What would be the proper semantics for merging aliases, cdpaths, limits, 
classes, etc.

The merge code is going to be tricky.   I'm starting to wonder if its worth 
it to merge the files.  The administration of merging could get problematic 
in that it would be easy to be confused about what overrides what unless we
can make it simple.  At present it doesn't look simple.

Currently what I have is the ability to manage virtual domains totally
independent of each other with complete control over the ftpaccess, 
ftpgroups, ftpusers, ftphosts and ftpconversions files.  (Sure beats the 
root, banner and logfile support in beta-13... :))

Comments are really needed here...  At present I'm planning on cleanning up 
what I have and seriously testing it.  I'm going to put the merge code on 
hold until we can come up with some simple and understandable rules to manage
merging.  Like I said, comments, ideas, suggestions, etc are really needed.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 17:41:54 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA02644;
	Fri, 27 Jun 1997 17:37:00 -0500 (CDT)
Received: from groan.Berkeley.EDU (groan.Berkeley.EDU [128.32.123.20])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA02296
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 17:34:14 -0500 (CDT)
Received: by groan.Berkeley.EDU (5.65/DEC-Ultrix/4.3)
	id AA19052; Fri, 27 Jun 1997 15:32:55 -0700
Message-Id: <9706272232.AA19052@groan.Berkeley.EDU>
Date: Fri, 27 Jun 1997 15:32:55 -0700
Reply-To: rusty@groan.Berkeley.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Rusty Wright <rusty@groan.Berkeley.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd-2.4.2-beta-13 problem solved
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm doing this on Digital Unix version 3.2; dunno if the problem exits
on more current versions of Digital Unix (4.x).  The solution for me
was to remove

#define SECUREOSF

in src/config.h since that apparently causes it to use different
(i.e., incompatible) getpw routines in -lsecure.

I wish wu-ftp used the GNU autoconf stuff; that tends to reduce
occurances of configuration problems like this.  I have to compile
stuff for DEC Unix, DEC Ultrix, SunOS 4.x, and Solaris, and stuff that
uses autoconf is always the most trivial to install.

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 17:48:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id RAA02992;
	Fri, 27 Jun 1997 17:43:10 -0500 (CDT)
Received: from gate.transamerica.com (gate.transamerica.com [198.39.5.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id RAA02702
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 17:37:32 -0500 (CDT)
Received: from mailhub.transamerica.com (mailhub.transamerica.com [198.39.8.2]) by gate.transamerica.com  with SMTP id PAA08604 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 15:23:59 -0700 (PDT)
Message-Id: 
  <0485233B43EDE02E*/c=US/admd=ATTmail/prmd=Transam/o=ttc/s=Palbicki/g=Jeff/@MHS>
Date: 27 Jun 1997 15:29:50 -0700
Reply-To: Jeff.Palbicki@transamerica.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Jeff Palbicki" <Jeff.Palbicki@transamerica.com>
To: wu-ftpd@wugate.wustl.edu (Return requested)
Cc: "Peter Lai" <Peter.Lai@transamerica.com> (Return requested)
Subject: chroot directory
Content-Identifier: 0485233B43EDE02E
Content-Return: Allowed
MIME-Version: 1.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear admins,

I have setup group access using the guest-howto note, but I still end up 
with the guest user logging in with
his root directory not being "/". It still points to his real path 
"/ftp/home/user" when I do a pwd after logging in. The user also can cd 
to the real root "/". Help what am I doing wrong!!!. He does not appear 
to chrooted properly.

Any help will be greatly appreciated.

TIA

Jeff Palbicki@transamerica.com
213-742-3210

From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 22:42:56 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA13304;
	Fri, 27 Jun 1997 22:39:01 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id WAA13176
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 22:35:52 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id WAA03340;
	Fri, 27 Jun 1997 22:35:20 -0500
Message-Id: <Pine.LNX.3.95.970627223228.30551E-100000@ns1.fni.com>
Date: Fri, 27 Jun 1997 22:35:20 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: Jeff Palbicki <Jeff.Palbicki@transamerica.com>
Cc: Return requested <wu-ftpd@wugate.wustl.edu>
Subject: Re: chroot directory
In-Reply-To: <0485233B43EDE02E*/c=US/admd=ATTmail/prmd=Transam/o=ttc/s=Palbicki/g=Jeff/@MHS>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


guest setup is a bit meticulous; one missed detail and it won't work. 

* check that -a is on the wu-ftpd line in /etc/inetd.conf

* check that the group the user is in the /etc/ftpaccess 'guestgroup'

   -- Michael

On 27 Jun 1997, Jeff Palbicki wrote:

> I have setup group access using the guest-howto note, but I still end up 
> with the guest user logging in with
> his root directory not being "/". It still points to his real path 
> "/ftp/home/user" when I do a pwd after logging in. The user also can cd 
> to the real root "/". Help what am I doing wrong!!!. He does not appear 
> to chrooted properly.


From owner-wu-ftpd@wugate.wustl.edu  Fri Jun 27 23:39:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id XAA15257;
	Fri, 27 Jun 1997 23:35:11 -0500 (CDT)
Received: from ns.wzrd.com (potatoe@ns.wzrd.com [206.99.165.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id XAA15165
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Jun 1997 23:32:03 -0500 (CDT)
Received: from localhost (potatoe@localhost) by ns.wzrd.com (8.8.5/8.7.3) with SMTP id AAA15869 for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Jun 1997 00:27:26 -0400 (EDT)
Message-Id: <Pine.BSI.3.95.970628002629.15496A-100000@ns.wzrd.com>
Date: Sat, 28 Jun 1997 00:27:25 -0400 (EDT)
Reply-To: potatoe@ns.wzrd.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Robert Glover <potatoe@ns.wzrd.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpwho not working after upgrade?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I upgraded to WU-FTPD academ beta 13, from the regular wu-ftpd 2.4
installed in slackware linux 3.1.... aftr which, ftpwho doesn't function
anymore. even if someone is logged in via FTP, ftpwho reports 0 users....
Could somoene shed some light on the situatin? thanks

						-Rob


From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 28 04:14:48 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id EAA00105;
	Sat, 28 Jun 1997 04:11:12 -0500 (CDT)
Received: from sun.cyberia.net.lb ([194.126.34.35])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id EAA21336
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Jun 1997 04:07:12 -0500 (CDT)
Received: from raad.cyberia.net.lb ([194.126.34.44]) by sun.cyberia.net.lb
          (Netscape Mail Server v1.1) with SMTP id AAA11277
          for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Jun 1997 12:10:33 -0200
Received: by raad.cyberia.net.lb with Microsoft Mail
	id <01BC83BD.0E9143F0@raad.cyberia.net.lb>; Sat, 28 Jun 1997 12:16:07 +0300
Message-Id: <01BC83BD.0E9143F0@raad.cyberia.net.lb>
Date: Sat, 28 Jun 1997 12:16:06 +0300
Reply-To: hadi@cyberia.net.lb
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Hadi Raad" <hadi@cyberia.net.lb>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: urgent wu-ftpd problem
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Sir,

This is my problem if you can help:

My problem happened suddenly. Everythink was OK, then one day(actually the day before yesterday), it appeared.

It is with wu-ftpd.
I have users with chrooted environment
Ex: 
the user
gtest1:1DjZVac3Da7wY:502:400:guest test1:/webspace/guests/./gtest1:/etc/ftponly

cannot execute a pwd anymore in his home directory:
He can execute ls , but pwd will return 550 : permission denied.

If he goes up one level, ie to /webspace/guests, he then can execute pwd but ls will not return anything anymore.

I have the /bin and the /etc under /webspace/guests
Under the /bin there is the ls which is statically linked (I knew that by using ldd ls)
And under the /etc there is the passwd and group files.

Strange  for me..... Does it sound anything for you?

Any help would be greatly appreciated.

Thanks a lot,
Hadi Raad




From owner-wu-ftpd@wugate.wustl.edu  Sat Jun 28 16:56:41 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA25188;
	Sat, 28 Jun 1997 16:51:08 -0500 (CDT)
Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA25156
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Jun 1997 16:46:11 -0500 (CDT)
Received: from LOCAL (uucp@localhost) 
          by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 25130
          on Sat, 28 Jun 1997 21:46:08 GMT; id VAA25130
          efrom: news@Garfield.IAEhv.nl; eto: wu-ftpd@wugate.wustl.edu
Received: (from news@localhost)
	by Garfield.IAEhv.nl (8.8.6/8.8.5) id VAA06155;
	Sat, 28 Jun 1997 21:50:51 +0200
Message-Id: <5p3pur$609$1@Garfield.IAEhv.nl>
Date: 28 Jun 1997 19:50:51 GMT
Reply-To: Perry.Rovers@IAE.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry.Rovers@IAE.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: So...
References: <199706272204.RAA15431@landfield.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Sender: Perry Rovers <perry@Garfield.IAEhv.nl>
X-no-archive: yes
X-bofh-archive: yes
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970324; i586 Linux 2.0.28]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Pink elephants with an attitude inspired Kent Landfield <kent@landfield.com> to tell garfield.mail.wu-ftpd:
: The merge code is going to be tricky.   I'm starting to wonder if its worth 
: it to merge the files.  The administration of merging could get problematic 
: in that it would be easy to be confused about what overrides what unless we
: can make it simple.  At present it doesn't look simple.

To make it simple we can start with the premise of:
we override anything that can be overridden!
[since I don't like the opposite: yes master, we'll use your settings].
and start finetuning from there.

Basically, if you're going to host a number of sites you can keep a couple
of things the same and some things will be different. The easiest way to
implement this is to use the master ftpaccess file and override statements
in that file with the ones from the slave ftpaccess files if those statements 
are present. 

I.e. if you have statements in the master, they apply to the slave unless you
set a different setting in the slave config. If there's a setting in the slave
that's not present in the master, then that setting gets added to the
'current setting list' or something like that.

Now for a nice decision table (Ha!):

master			slave		active config
========================================================
setting1(master)	none		setting1(master)
setting2(master)	setting2(slave)	setting2(slave)
none			setting3(slave)	setting3(slave)
none			none		chaos!^Wnone

and for the logically inclined the much shorter but not quite correct:
1 0 1
1 1 1
0 1 1
0 0 0

: Currently what I have is the ability to manage virtual domains totally
: independent of each other with complete control over the ftpaccess, 
WU-FTPD, now with Complete Control! (tm).
OUT NOW!! Don't just sit there!! Run to your favourite computer,
and surf to.. eehhmm_pssshh_kent_what's_the_url_again_?.. 
http://www.landfield.com/wu-ftpd/newvirt !!
Get it now, before you're out of fashion!
Expected for the next version: Generic Complete Control with Java-Enhanced
cookiejars! Coming soon to an ftp site near *YOU*! [1]

: ftpgroups, ftpusers, ftphosts and ftpconversions files.  (Sure beats the 
: root, banner and logfile support in beta-13... :))
Definitely.

[1] <FONT=-20>
    Standard disclaimers apply. Not fit for anything. Do not inhale.
    External use only. Keep away from kids and crackers. Could harm
    pets and the environment. Not MS certified. Rinse before drying.
    </FONT>

-- 
Perry Rovers (perry@Garfield.IAEhv.nl)

From owner-wu-ftpd@wugate.wustl.edu  Sun Jun 29 01:04:34 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id AAA12636;
	Sun, 29 Jun 1997 00:59:39 -0500 (CDT)
Received: from chrome.burn.net (vomitron@chrome.burn.net [207.78.255.116])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id AAA11033
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Jun 1997 00:54:11 -0500 (CDT)
Received: from localhost (vomitron@localhost)
	by chrome.burn.net (8.8.5/8.8.5) with SMTP id BAA15459
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Jun 1997 01:54:11 -0400
Message-Id: <Pine.LNX.3.95.970629015315.15435C-100000@chrome.burn.net>
Date: Sun, 29 Jun 1997 01:54:10 -0400 (EDT)
Reply-To: Vomitron <vomitron@burn.net>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Vomitron <vomitron@burn.net>
To: wu-ftpd@wugate.wustl.edu
Subject: incoming woes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

(breathes deeply)

We have an incoming dir on our ftp server, that is mode root/root 1733.

Here are the relevant lines from ftpaccess:

upload /home/ftp * no
upload /ftp /ftp/incoming yes ftp users 0644 nodirs

Now,

We also have hacked ftpd.c to do a chroot to /home so no one can get to
real dirs (/, /etc, /tmp, etc) for security reasons.

With this setup, anon users cannot see whats in incoming, and they cannot
make dirs.  real users on the machine cannot see via 'ls' either (BOFH)
but they _can_ make dirs. :(

Any ideas ??  Need more info ?

TIA

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  (   vomitron@burn.net  "The matrix folds itself around me like an origami
 ) \                      trick...And the room smells of sweat and burning
( ( )                     circuitry."  - William Gibson, "Burning Chrome"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -




From owner-wu-ftpd@wugate.wustl.edu  Sun Jun 29 01:23:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id BAA13202;
	Sun, 29 Jun 1997 01:18:01 -0500 (CDT)
Received: from blinx.lizard.org (blinx.wms.co.uk [194.159.247.13])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id BAA13104
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Jun 1997 01:15:41 -0500 (CDT)
Received: (from tonym@localhost) by blinx.lizard.org (8.8.5/8.7.3) id HAA10942; Sun, 29 Jun 1997 07:18:31 +0100 (BST)
Message-Id: <Pine.BSF.3.91.970629071351.10872B-100000@blinx.lizard.org>
Date: Sun, 29 Jun 1997 07:18:31 +0100 (BST)
Reply-To: tonym@lizard.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: tonym <tonym@lizard.org>
To: wu-ftpd@wugate.wustl.edu
Subject: xferlog problem
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


We have recently upgraded wu-ftpd on a FreeBSD machine to
wu-ftpd-2.4.2-beta-13 and since the the server stopped logging
to xferlog.

Is there a bug in this version or is it something I 've done wrong ?


The reason for the upgrade was that apparently there was a security
problem with the version we were using. I don't have any details on
the subject though...

Any ideas?


Tony.

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 09:28:29 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA12799;
	Mon, 30 Jun 1997 09:24:37 -0500 (CDT)
Received: from ra.TSS.PeachNet.EDU (ra.TSS.PeachNet.EDU [168.24.241.111])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id JAA10501
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 09:21:02 -0500 (CDT)
Received: (from michael@localhost)
	by ra.TSS.PeachNet.EDU (8.8.5/8.8.5/TSS-usg.m4_1.14[22Jan1997]) id KAA12245;
	Mon, 30 Jun 1997 10:20:57 -0400 (EDT)
Message-Id: <199706301420.KAA12245@ra.TSS.PeachNet.EDU>
Date: Mon, 30 Jun 1997 10:20:56 -0400 (EDT)
Reply-To: michael@ra.TSS.PeachNet.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Bracewell <michael@ra.TSS.PeachNet.EDU>
To: kent@landfield.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: So...
In-Reply-To: <199706272204.RAA15431@landfield.com> from "Kent Landfield" at Jun 27, 97 05:04:50 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Kent Landfield sez:
| 
| In thinking about the merge code for the ftpaccess files I thought it
| it would be easy, seemed so at first. Then came the questions phase.
| Here's a couple...

Just a thought -- how about some sorta file include directive?  Wouldn't
that let ya keep base (common) directives in a file that could be included
into each virtual config that wanted to use those "defaults"?

-- 
Michael Bracewell <michael@ra.TSS.PeachNet.EDU>
Office of Information and Instructional Technology
Technology Support Services
Board of Regents of the University System of Georgia

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 09:50:42 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id JAA14248;
	Mon, 30 Jun 1997 09:46:26 -0500 (CDT)
Received: from donkeykong.rs.itd.umich.edu (smtp@donkeykong.rs.itd.umich.edu [141.211.63.19])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id JAA14101
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 09:44:25 -0500 (CDT)
Received: by donkeykong.rs.itd.umich.edu (8.7.5/3.0-mailhub)
	id KAA16988; Mon, 30 Jun 1997 10:44:08 -0400 (EDT)
Received: from turans@battlezone.rs.itd.umich.edu(141.211.63.96) by donkeykong.rs.itd.umich.edu via smap (2.0-umich)
	id xma016808; Mon, 30 Jun 97 10:43:10 -0400
Received: by battlezone.rs.itd.umich.edu (8.7.5/3.0-client)
Message-Id: <199706301443.KAA13167@battlezone.rs.itd.umich.edu>
Date: Mon, 30 Jun 1997 10:43:08 -0400
Reply-To: turans@umich.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Chris S. Turan" <turans@umich.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: beta-13 expolit?  patch?
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I saw this on bugtraq.  What's the status on this?

Thanks!
-Chris

------- Forwarded Message

Date: 	Thu, 19 Jun 1997 23:55:52 -0500
From: Michael Brennen <mbrennen@fni.com>
To: BUGTRAQ@NETSPACE.ORG

There is a potentially serious bug in ftpd.c in wu-ftpd beta 13.  I have
no idea if it exists in previous betas.  I don't think this was a problem
in beta 11, but I've not kept any older source.  If you are not running
beta 13, check this against your source.

During anonymous login, the /./ is not clipped off the struct passwd
pw->pw_dir field that is saved as the chroot directory in ftpd.c.

Because the /./ is still on the end of the pw->pw_dir field, upl_check()
'upload' directive processing will fail in extensions.c because the file
name paths will not compare.  It is highly unlikely that the upload
directive root path would also have the /./ on the end.

If upload directive processing fails for the anonymous user, sites that
depend on upload directives to properly set incoming file permissions
could find their site security compromised.

For example, it is fairly common to set incoming files to not be readable
to the anonymous user; this prevents files from being traded through an
anonymous site without the permission of the owner.  With this bug, all
uploaded files are owned by the anonymous user, with default permissions
set by CMASK.

The patch below is my version of a fix.  In testing so far it has fixed
the problem.  It may apply with an offset of 1; I'm not sure my ftpd.c
source is pristine.  The patch has been sent to academ.com.

   -- Michael

- --- ftpd.c.orig Thu Jun 19 22:59:21 1997
+++ ftpd.c      Thu Jun 19 23:01:26 1997
@@ -1560,12 +1560,7 @@
             pw->pw_dir = sgetsave(virtual_root);
         }
 #endif
- -        if (anonymous) {
- -            if (chroot(pw->pw_dir) < 0 || chdir("/") < 0) {
- -                reply(550, "Can't set guest privileges.");
- -                goto bad;
- -            }
- -        } else if (guest) {
+        if (anonymous || guest) {
             char *sp;

             /* determine root and home directory */


------- End of Forwarded Message


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 10:15:19 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id KAA13181;
	Mon, 30 Jun 1997 10:11:12 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id KAA16010
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 10:06:31 -0500 (CDT)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
	by ns1.fni.com (8.8.5/8.8.5) with SMTP id KAA17010;
	Mon, 30 Jun 1997 10:06:28 -0500
Message-Id: <Pine.LNX.3.95.970630100059.14835G-100000@ns1.fni.com>
Date: Mon, 30 Jun 1997 10:06:28 -0500 (CDT)
Reply-To: mbrennen@fni.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Brennen <mbrennen@fni.com>
To: "Chris S. Turan" <turans@umich.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: beta-13 expolit?  patch?
In-Reply-To: <199706301443.KAA13167@battlezone.rs.itd.umich.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


There was followup on bugtraq and wu-ftpd both about this.  I posted a
better patch and more complete explanation to bugtraq, and there was some
discussion and the same patch on this list.  Check the list archives. 

wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

   -- Michael

On Mon, 30 Jun 1997, Chris S. Turan wrote:

> 
> I saw this on bugtraq.  What's the status on this?
> 
> ------- Forwarded Message
> 
> Date: 	Thu, 19 Jun 1997 23:55:52 -0500
> From: Michael Brennen <mbrennen@fni.com>
> To: BUGTRAQ@NETSPACE.ORG
> 
> There is a potentially serious bug in ftpd.c in wu-ftpd beta 13.  I have
> no idea if it exists in previous betas.  I don't think this was a problem
> in beta 11, but I've not kept any older source.  If you are not running
> beta 13, check this against your source.


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 11:16:57 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA20254;
	Mon, 30 Jun 1997 11:12:27 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA20132
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 11:10:58 -0500 (CDT)
Message-Id: <199706301611.LAA22857@landfield.com>
Date: Mon, 30 Jun 1997 11:11:12 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: Perry.Rovers@IAE.nl
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: So...
In-Reply-To: <5p3pur$609$1@Garfield.IAEhv.nl> from "Perry.Rovers@IAE.nl" at Jun 28, 97 07:50: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: 8.0 -- ListProcessor(tm) by CREN

# : The merge code is going to be tricky.   I'm starting to wonder if its worth 
# : it to merge the files.  The administration of merging could get problematic 
# : in that it would be easy to be confused about what overrides what unless we
# : can make it simple.  At present it doesn't look simple.
# 
# To make it simple we can start with the premise of:
# we override anything that can be overridden!
# [since I don't like the opposite: yes master, we'll use your settings].
# and start finetuning from there.
# 
# Basically, if you're going to host a number of sites you can keep a couple
# of things the same and some things will be different. The easiest way to
# implement this is to use the master ftpaccess file and override statements
# in that file with the ones from the slave ftpaccess files if those statements 
# are present. 
# 
# I.e. if you have statements in the master, they apply to the slave unless you
# set a different setting in the slave config. If there's a setting in the slave
# that's not present in the master, then that setting gets added to the
# 'current setting list' or something like that.
# 
# Now for a nice decision table (Ha!):
# 
# master               slave             active config
# ========================================================
# setting1(master)    none               setting1(master)
# setting2(master)    setting2(slave)    setting2(slave)
# none                setting3(slave)    setting3(slave)
# none                none               chaos!^Wnone

In theory, that part I've got but now to specifics please... ;-)  Those 
directives that can be immediately overridden are listed below.  I generated 
a list of all the directives (I think) that shows whether or not those 
directive can have multiple valid entries. (I was not aware that multiple 
banners were possible... kewl)

#                   Access Capabilities
#
# Directive     Single/Multiple          Active config
# =========================================================================
autogroup         Multiple          Add too ? / Delete master list
class             Multiple          Add too ? / Delete master list
deny              Multiple          Add too ? / Delete master list
guestgroup        Multiple          Add too ? / Delete master list
guestserver       Single            Override
limit             Multiple          Add too ? / Delete master list
noretrieve        Multiple          Add too ? / Delete master list
loginfails        Single            Override
private           Single            Override

#                   Informational Capabilities
#
# Directive     Single/Multiple          Active config
# =========================================================================
banner            Multiple          Add too ? / Delete master list
email             Single            Override
message           Multiple          Add too ? / Delete master list
readme            Multiple          Add too ? / Delete master list

#                   Logging Capabilities
#
# Directive     Single/Multiple          Active config
# =========================================================================
log commands      Multiple          Add too ? / Delete master list
log transfers     Multiple          Add too ? / Delete master list

#                   Miscellaneous Capabilities
#
# Directive     Single/Multiple          Active config
# =========================================================================
alias             Multiple          Add too ? / Delete master list
cdpath            Multiple          Add too ? / Delete master list
compress          Multiple          Add too ? / Delete master list
tar               Multiple          Add too ? / Delete master list
shutdown          Single            Override
lslong            Single            Override
lsshort           Single            Override

#                   Permission Capabilities
#
# Directive     Single/Multiple          Active config
# =========================================================================
chmod             Multiple          Add too ? / Delete master list
delete            Multiple          Add too ? / Delete master list
overwrite         Multiple          Add too ? / Delete master list
rename            Multiple          Add too ? / Delete master list
umask             Multiple          Add too ? / Delete master list
passwd-check      Single            Override
path-filter       Multiple          Add too ? / Delete master list
upload            Multiple          Add too ? / Delete master list

#                   Virtual Specific Capabilities
#
# Directive     Single/Multiple          Active config
# =========================================================================
logfile            Single           Override
root               Single           Override

The questions I have are pretty basic ones. If I see a directive in a 
virtual-specific ftpaccess file, do I discard ALL previous directives 
of that type seen in the master file ? Or do I merge the new entry into 
the existing directive's list ? Or are they handled with independent 
rules based on the specific directive types ?

If we are talking about replacing all directives of the same type on first
encounter in a virtual domain's specific ftpaccess file then wouldn't it be
easier to simply have a complete copy of what we want and then simply edit 
that ?

Maybe I'm making this too complicated...

# : Currently what I have is the ability to manage virtual domains totally
# : independent of each other with complete control over the ftpaccess, 
#
# WU-FTPD, now with Complete Control! (tm).
# OUT NOW!! Don't just sit there!! Run to your favourite computer,
# and surf to.. eehhmm_pssshh_kent_what's_the_url_again_?.. 
# http://www.landfield.com/wu-ftpd/newvirt !!
# Get it now, before you're out of fashion!
# Expected for the next version: Generic Complete Control with Java-Enhanced
# cookiejars! Coming soon to an ftp site near *YOU*! [1]

:) Perry, are you in marketing ?  Can I use that ? ;-)  A visual cookiejar
metaphor could be useful for FTP archive sites. ;) :)

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 11:31:01 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA21047;
	Mon, 30 Jun 1997 11:24:49 -0500 (CDT)
Received: from linux.intmty.com.mx (root@[200.33.154.227])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA20362
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 11:18:49 -0500 (CDT)
Received: from negro.intmty.com.mx (negro.intmty.com.mx [200.33.154.228])
	by linux.intmty.com.mx (8.8.5/8.8.5) with SMTP id LAA11709
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 11:18:25 -0500
Message-Id: <1.5.4.32.19970630161757.00683698@intmty.com.mx>
Date: Mon, 30 Jun 1997 11:17:57 -0500
Reply-To: alfonso.lopez@intmty.com.mx
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Alfonso Lopez A." <alfonso.lopez@intmty.com.mx>
To: wu-ftpd@wugate.wustl.edu
Subject: little question.
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Sender: alopez@intmty.com.mx
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id LAA19225
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi there,

        I have a Red Hat 4.0 Linux System and I want to do the Ftp Guest
thing. Everything works excellent except one thing: I dont have a
/etc/ftponly file and I dont have it inside /etc/shells either..

        What can i do ? Do u have that file ? Can I use it ?  Please send it
to me. I'll appreciate a lot.

        Regards, Alfonso.



		Alfonso López Arriaga.
		Internet Monterrey.
		Tel y Fax. (8) 347-45-48
		alfonso.lopez@intmty.com.mx
		http://www.intmty.com.mx/
--------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 11:58:21 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id LAA01904;
	Mon, 30 Jun 1997 11:53:58 -0500 (CDT)
Received: from sbcomp.com ([207.150.14.3])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA01324
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 11:44:34 -0500 (CDT)
Received: from skb (rockford17.inwave.com [206.190.10.117])
          by sbcomp.com (8.8.4/8.8.4) with SMTP
	  id LAA15868; Mon, 30 Jun 1997 11:44:35 -0500 (CDT)
Message-Id: <3.0.2.32.19970630114346.007c9520@sbcomp.net>
Date: Mon, 30 Jun 1997 11:43:46 -0500
Reply-To: skb@sbcomp.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Steven K. Buehler" <skb@sbcomp.net>
To: alfonso.lopez@intmty.com.mx
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: little question.
In-Reply-To: <1.5.4.32.19970630161757.00683698@intmty.com.mx>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: skb@sbcomp.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 11:17 AM 6/30/97 -0500, you wrote:
>        I have a Red Hat 4.0 Linux System and I want to do the Ftp Guest
>thing. Everything works excellent except one thing: I dont have a
>/etc/ftponly file and I dont have it inside /etc/shells either..
>        What can i do ? Do u have that file ? Can I use it ?  Please send it
>to me. I'll appreciate a lot.

That's because it isn't a file.  (You can make one to do specific things for it if you want).  It is more like a keyword.  If you use ftponly as the shell, then the Ftp server knows what that means.  So if you don't have a file called ftponly, don't worry about it.  It will still work without it.

======================================================
Steven K. Buehler
S & B Computers
Rockford Illinois, USA
Phone: 815-398-7169
Fax: 815-398-7266
======================================================

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 12:16:44 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA02917;
	Mon, 30 Jun 1997 12:10:59 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA01452
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 11:46:48 -0500 (CDT)
Message-Id: <199706301647.LAA23125@landfield.com>
Date: Mon, 30 Jun 1997 11:47:19 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: alfonso.lopez@intmty.com.mx
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: little question.
In-Reply-To: <1.5.4.32.19970630161757.00683698@intmty.com.mx> from "Alfonso Lopez A." at Jun 30, 97 11:17:57 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: 8.0 -- ListProcessor(tm) by CREN

#         I have a Red Hat 4.0 Linux System and I want to do the Ftp Guest
# thing. Everything works excellent except one thing: I dont have a
# /etc/ftponly file and I dont have it inside /etc/shells either..
# 
#         What can i do ? Do u have that file ? Can I use it ?  Please send it
# to me. I'll appreciate a lot.
# 

Take a look at http://www.landfield.com/wu-ftpd/ftponly/ftponly.html
Script and discussion are available.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 12:26:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA03430;
	Mon, 30 Jun 1997 12:21:12 -0500 (CDT)
Received: from mail.intercon.com (mail.intercon.com [149.52.1.88])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id LAA01749
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 11:51:43 -0500 (CDT)
Received: from saloon.eng.intercon.com (saloon.eng.intercon.com [149.52.12.108])
	by mail.intercon.com (8.8.5/8.8.5) with SMTP id MAA28942;
	Mon, 30 Jun 1997 12:51:37 -0400 (EDT)
Message-Id: <9706301251.AA36514@saloon.eng.intercon.com>
Date: Mon, 30 Jun 1997 12:51:36 -0400
Reply-To: philip@intercon.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Philip Kearney III" <philip@intercon.com>
To: wu-ftpd@wugate.wustl.edu
Cc: kent@landfield.com
Subject: Re: So...
References: <199706301611.LAA22857@landfield.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Content-Disposition: Inline
X-Mailer: InterCon tcpCONNECT4 4.0.4b12 (Macintosh)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, Jun 30, 1997 at 12:11:12 PM, Kent Landfield <kent@landfield.com> 
wrote:

> The questions I have are pretty basic ones. If I see a directive in a 
> virtual-specific ftpaccess file, do I discard ALL previous directives of 
> that type seen in the master file ? Or do I merge the new entry into the 
> existing directive's list ? Or are they handled with independent rules 
> based on the specific directive types ? 
>  
> If we are talking about replacing all directives of the same type on 
> first encounter in a virtual domain's specific ftpaccess file then 
> wouldn't it be easier to simply have a complete copy of what we want and 
> then simply edit that ? 
>  
> Maybe I'm making this too complicated... 

I would argue that the master file is exactly that, the master, which is the 
defaults for every virtual domain that is being hosted.  Then, if the virtual 
domain in question has an ftpaccess file, the directives in that file override 
any defaults set by the master file.  The sequence of the daemon would then be 
to load in all directives from the master file and then load in directives 
from the virtual-specific file replacing any directives which are in the 
master file that are of the same type.  This would allow you to override only 
those defaults necessary to accomplish what the customer wants in terms of FTP 
access to his or her virtual domain.

This is at least how I'd personally like it to work.  Your mileage may vary.  
:)

-phil

----------------------------------------------------------------------------
Philip Kearney III                mailto:philip@intercon.com 
Sr. Software Engineer             mailto:philip@ascend.com
System Administrator              finger phil@avernus.com for my PGP key
Ascend Communications, Inc.       
Client Software Engineering Group             
----------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 12:51:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id MAA04856;
	Mon, 30 Jun 1997 12:45:50 -0500 (CDT)
Received: from quake.topix.nl (cal013212.student.utwente.nl [130.89.222.162])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id MAA04708
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 12:41:39 -0500 (CDT)
Received: from localhost (eli@localhost) by quake.topix.nl (8.8.2/8.7.3) with SMTP id TAA01251 for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 19:38:29 +0200
Message-Id: <Pine.LNX.3.95.970630193636.1245A-100000@quake.topix.nl>
Date: Mon, 30 Jun 1997 19:38:29 +0200 (MET DST)
Reply-To: e.j.r.leyssens@student.utwente.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: e.j.r.leyssens@student.utwente.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Bug reports, where to?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: quake.topix.nl: eli owned process doing -bs
X-Sender: eli@quake.topix.nl
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I think I've discovered a minor bug in the sources of wu-ftpd 2.4. I
couldn't find any addresses where to send my report to in the accompanying
help files, apart from this mailinglist.

So, can anybody tell me who I should contact about my findings?

Cheers,

-- 
Eli-Jean Leyssens, alias Pervect of Topix
email: e.j.r.leyssens@student.utwente.nl

      --- It's an OS Bill, but not as we know it ---


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 13:16:28 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA06133;
	Mon, 30 Jun 1997 13:10:36 -0500 (CDT)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA05839
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 13:05:30 -0500 (CDT)
Message-Id: <199706301806.NAA23598@landfield.com>
Date: Mon, 30 Jun 1997 13:06:03 -0500 (CDT)
Reply-To: kent@landfield.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Kent Landfield <kent@landfield.com>
To: e.j.r.leyssens@student.utwente.nl
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Bug reports, where to?
In-Reply-To: <Pine.LNX.3.95.970630193636.1245A-100000@quake.topix.nl> from "e.j.r.leyssens@student.utwente.nl" at Jun 30, 97 07:38:29 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: 8.0 -- ListProcessor(tm) by CREN

# I think I've discovered a minor bug in the sources of wu-ftpd 2.4. I
# couldn't find any addresses where to send my report to in the accompanying
# help files, apart from this mailinglist.

It is useful to make sure the bug has not been fixed in one of the Beta 
versions. To find out, grab a copy of the latest sources if you are not
running beta-13. Check the sources and the FIXES* files to find out.

# So, can anybody tell me who I should contact about my findings?

If you think you have found a bug, send the information, (including, 
wu-ftpd version, OS version, hardware patform, etc.) to 

              wu-ftpd-bugs@academ.com

and then post them to the 

              wu-ftpd@wugate.wustl.edu 

mailing list.  Please! make sure that they are sent to "wu-ftpd-bugs" and
not just to the wu-ftpd list.  If you don't it simply slows down the process.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
The Landfield Group                   FAX:   1-817-545-7650             
Email: kent@landfield.com             http://www.landfield.com/
Please send comp.sources.misc related mail to kent@uunet.uu.net.
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 13:45:22 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id NAA08012;
	Mon, 30 Jun 1997 13:41:25 -0500 (CDT)
Received: from wjao001-IN.sita.int ([57.250.224.18])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id NAA07776
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 13:38:42 -0500 (CDT)
Received: by wjao001-IN.sita.int; Sendmail 1.40.112.8 (26AUG93-fma/mjr/gauntlet) id AA054745885; Mon, 30 Jun 1997 18:38:05 GMT
Received: from corp-relay.sita.int(57.4.4.208) by wjao001 via smap (3.2)
	id xma005465; Mon, 30 Jun 97 18:37:55 GMT
Received: from sunshine.es.atl.sita.int (sunshine.es.atl.sita.int [57.4.4.16])
          by corp-relay.sita.int (8.8.5/8.8.5) with ESMTP
	  id SAA19872 for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 18:37:55 GMT
Received: from localhost by sunshine.es.atl.sita.int (8.8.3/1.34)
	id OAA29435; Mon, 30 Jun 1997 14:37:51 -0400 (EDT)
Message-Id: <Pine.GSO.3.92.970630143018.24223C-100000@sunshine>
Date: Mon, 30 Jun 1997 14:37:48 -0400 (EDT)
Reply-To: Andy.Berry@es.atl.sita.int
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andy Berry <Andy.Berry@es.atl.sita.int>
To: wu-ftpd@wugate.wustl.edu
Subject: ftp command restriction via wu-ftpd
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

We are trying to control ftp commands on an internal machine with the
ftpd. Is there a way to use the ftpaccess file to create this environment?
Has anyone else tryed to restrict ftp commands (one by one) without code
changes?

Thanks.

____________________________________________
Andy Berry <aberry@es.atl.sita.int>
ES IBM-HMP Development Atlanta (JAOSGXS)
(770) 612-4767   (F) (770) 850-5390
--------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 14:23:30 1997
Received: from relay6.UU.NET by relay6.UU.NET with ESMTP 
	(peer crosschecked as: root@localhost)
	id QQcwfd12434; Mon, 30 Jun 1997 15:23:00 -0400 (EDT)
Received: from wugate.wustl.edu by relay6.UU.NET with ESMTP 
	(peer crosschecked as: wugate.wustl.edu [128.252.120.1])
	id QQcwfd12379; Mon, 30 Jun 1997 15:22:54 -0400 (EDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA10225;
	Mon, 30 Jun 1997 14:12:20 -0500 (CDT)
Received: from Tron. (tron.Berkeley.EDU [128.32.152.9])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA10155
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 14:11:33 -0500 (CDT)
Received: from localhost by Tron. (SMI-8.6/SMI-SVR4)
	id MAA03259; Mon, 30 Jun 1997 12:10:20 -0700
Message-Id: <Pine.GSO.3.95.970630120725.3229D-100000@Tron.berkeley.edu>
Date: Mon, 30 Jun 1997 12:10:19 -0700 (PDT)
Reply-To: jakef@tron.berkeley.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jakef@tron.berkeley.edu
To: wu-ftpd@wugate.wustl.edu
Subject: Ultra 5000/ Unknown user name after ~ (fwd)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

I'm new to this list, so I don't know if this is an old problem that was
already discussed but here it is.


I have installed wu-ftpd-2.4.2-beta-13,
all works as it should, anonymous and real.

but wile testing it I tryed to cd to a fake users account, and this is
what happens.

Connected to platoi.berkeley.edu.
220 platoi FTP server (Version wu-2.4.2-academ[BETA-13](1) Mon Jun 30
11:29:50 PDT 1997) ready.
Name (platoi:jakef): jakef
331 Password required for jakef.
Password:
230 User jakef logged in.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
251 bytes received in 0.02 seconds (12 Kbytes/s) 

ftp> cd ~jakeff
550 Unknown user name after ~
ftp> ls
421 Service not available, remote server has closed connection
ftp> 

after I get the 550 Unknow user, it sends a sig 11 to the ftpd.

messages shows only 
Jun 30 11:59:42 platoi ftpd[787]: exiting on signal 11

I take the fptd and run it on a Sparc Station5 and it dose not happen.


any one seen any thing like this befor?

TIA,

Jake-F





From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 14:59:02 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id OAA13546;
	Mon, 30 Jun 1997 14:54:34 -0500 (CDT)
Received: from lucinda.digigami.com (root@lucinda.digigami.com [199.106.62.125])
	by wugate.wustl.edu (8.8.5/8.8.5) with ESMTP id OAA13542
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 14:53:18 -0500 (CDT)
Received: from arrakis (nobody@gatekeeper.digigami.com [199.106.62.11]) by lucinda.digigami.com (8.8.5/8.8.2) with SMTP id MAA23612; Mon, 30 Jun 1997 12:52:47 -0700 (PDT)
Message-Id: <3.0.2.32.19970630125202.00aa18a0@popmail.digigami.com>
Date: Mon, 30 Jun 1997 12:52:02 -0700
Reply-To: scottc@digigami.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Scott Callaway <scottc@digigami.com>
To: jakef@tron.berkeley.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Ultra 5000/ Unknown user name after ~ (fwd)
In-Reply-To: <Pine.GSO.3.95.970630120725.3229D-100000@Tron.berkeley.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: scottc@popmail.digigami.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

(see below)
At 12:10 PM 6/30/97 -0700, you wrote:
>
>Hello,
>
>I'm new to this list, so I don't know if this is an old problem that was
>already discussed but here it is.
>
>
>I have installed wu-ftpd-2.4.2-beta-13,
>all works as it should, anonymous and real.
>
>but wile testing it I tryed to cd to a fake users account, and this is
>what happens.
>
>Connected to platoi.berkeley.edu.
>220 platoi FTP server (Version wu-2.4.2-academ[BETA-13](1) Mon Jun 30
>11:29:50 PDT 1997) ready.
>Name (platoi:jakef): jakef
>331 Password required for jakef.
>Password:
>230 User jakef logged in.
>ftp> ls
>200 PORT command successful.
>150 Opening ASCII mode data connection for file list.
>226 Transfer complete.
>251 bytes received in 0.02 seconds (12 Kbytes/s) 
>
>ftp> cd ~jakeff
>550 Unknown user name after ~
>ftp> ls
>421 Service not available, remote server has closed connection
>ftp> 
>
>after I get the 550 Unknow user, it sends a sig 11 to the ftpd.
>
>messages shows only 
>Jun 30 11:59:42 platoi ftpd[787]: exiting on signal 11
>
>I take the fptd and run it on a Sparc Station5 and it dose not happen.
>
>
>any one seen any thing like this befor?

Dear Sir,

I am guessing that you need to copy /etc/group and /etc/passwd (or
equivalent) to ~ftp/etc/group and ~ftp/etc/passwd .

You can enter the following lines to your /etc/ftpaccess file
to protect these files:  Mine listed below.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# Protected files, not to be retrieved at any time!
noretrieve /etc/passwd /etc/group /etc/shadow /etc/pwd.db /etc/spwd.db core
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

If wu-ftpd really uses the /etc/passwd file for 'real' users, then it
is likely that what I am saying above is completely wrong.  But, it
is a place to start.  

(If someone else in the list knows if {or when} wu-ftp uses which files,
could you please let me know?)

Good luck,


-- Scott C.
______________________________________________________________________
  Scott Callaway         scottc@digigami.com          619-231-2600
  Digigami Inc.,   624 Broadway  Suite 200,   San Diego,    CA.  92101
 1:1000               <http://www.digigami.com>
______________________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 15:11:07 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA14678;
	Mon, 30 Jun 1997 15:06:37 -0500 (CDT)
Received: from Tron. (tron.Berkeley.EDU [128.32.152.9])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id PAA14048
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 15:01:52 -0500 (CDT)
Received: from localhost by Tron. (SMI-8.6/SMI-SVR4)
	id NAA03316; Mon, 30 Jun 1997 13:00:38 -0700
Message-Id: <Pine.GSO.3.95.970630125756.3229E-100000@Tron.berkeley.edu>
Date: Mon, 30 Jun 1997 13:00:38 -0700 (PDT)
Reply-To: jakef@tron.berkeley.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jakef@tron.berkeley.edu
To: Scott Callaway <scottc@digigami.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Ultra 5000/ Unknown user name after ~ (fwd)
In-Reply-To: <3.0.2.32.19970630125202.00aa18a0@popmail.digigami.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


No, I dont think thats it, I have the files in place.

I thinks it's some thing with the ~realuser lookup, but it only happens on
the ultra.

thaks tho

jake




> >I have installed wu-ftpd-2.4.2-beta-13,
> >all works as it should, anonymous and real.
> >but wile testing it I tryed to cd to a fake users account, and this is
> >what happens.
> >Connected to platoi.berkeley.edu.
> >220 platoi FTP server (Version wu-2.4.2-academ[BETA-13](1) Mon Jun 30
> >11:29:50 PDT 1997) ready.
> >Name (platoi:jakef): jakef
> >331 Password required for jakef.
> >Password:
> >230 User jakef logged in.
> >ftp> ls
> >200 PORT command successful.
> >150 Opening ASCII mode data connection for file list.
> >226 Transfer complete.
> >251 bytes received in 0.02 seconds (12 Kbytes/s) 
> >
> >ftp> cd ~jakeff
> >550 Unknown user name after ~
> >ftp> ls
> >421 Service not available, remote server has closed connection
> >ftp> 
> >
> >after I get the 550 Unknow user, it sends a sig 11 to the ftpd.
> >
> >messages shows only 
> >Jun 30 11:59:42 platoi ftpd[787]: exiting on signal 11
> >
> >I take the fptd and run it on a Sparc Station5 and it dose not happen.
> >
> >
> >any one seen any thing like this befor?
> 
> Dear Sir,
> 
> I am guessing that you need to copy /etc/group and /etc/passwd (or
> equivalent) to ~ftp/etc/group and ~ftp/etc/passwd .
> 
> You can enter the following lines to your /etc/ftpaccess file
> to protect these files:  Mine listed below.
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> # Protected files, not to be retrieved at any time!
> noretrieve /etc/passwd /etc/group /etc/shadow /etc/pwd.db /etc/spwd.db core
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> If wu-ftpd really uses the /etc/passwd file for 'real' users, then it
> is likely that what I am saying above is completely wrong.  But, it
> is a place to start.  
> 
> (If someone else in the list knows if {or when} wu-ftp uses which files,
> could you please let me know?)
> 
> Good luck,
> 
> 
> -- Scott C.


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 16:50:15 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA22039;
	Mon, 30 Jun 1997 16:44:38 -0500 (CDT)
Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id QAA21869
	for <wu-ftpd@mail.wustl.edu>; Mon, 30 Jun 1997 16:42:18 -0500 (CDT)
Received: from lynx.parc.xerox.com ([13.2.12.13]) by alpha.xerox.com with SMTP id <16083(2)>; Mon, 30 Jun 1997 09:46:47 PDT
Received: from baloo ([13.2.12.73]) by lynx.parc.xerox.com
          (Netscape Mail Server v2.02) with ESMTP id AAA20579
          for <wu-ftpd@mail.wustl.edu>; Mon, 30 Jun 1997 09:47:06 -0700
Message-Id: <33B7E2F0.B0EC5F41@parc.xerox.com>
Date: Mon, 30 Jun 1997 09:46:40 PDT
Reply-To: ryan@parc.xerox.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Michael Ryan" <ryan@parc.xerox.com>
To: wu-ftpd mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Re: lamer question: how to get user listing for anonymous users
References: <33AD96E8.BBA9D6D9@parc.xerox.com> <33ADDF87.5F16@fni.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

thank you michael.

i read the FAQ again.  sometimes it takes a few times.

i ran truss
> open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) Err#2 
...
> 20483:  open("/usr/lib/libmp.so.1", O_RDONLY)           Err#2 ENOENT        
and created the missing files.

i thought that ls and ls -l both ran.  they did, just not completely.

thank you for your patience.

//michael

Michael Brennen wrote:
> 
> Michael Ryan wrote:
> >
> > so i have read the FAQ and darci's great Solaris 2.5.x guide.  i have
> > read every word of everything i could find.  made excellent headway.
> >
> > still cannot get "dir" or "ls" to list user names when i log in as
> > "anonymous."
> 
> Try the guest howto; it spends some time on ls setup.  Location should
> be in the FAQ.
> 
>    -- Michael


-- 
:: michael ryan , ryan@parc.xerox.com
:: xerox office of the net , 3400 hillview avenue , palo alto , 94304
:: 415 813 7620 , *923 7620

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 18:35:09 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA27761;
	Mon, 30 Jun 1997 18:28:01 -0500 (CDT)
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id SAA27667
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 18:26:37 -0500 (CDT)
Received: from lectura.CS.Arizona.EDU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA17916; Mon, 30 Jun 1997 16:26:17 MST
Received: from localhost (jdavis@localhost) by lectura.CS.Arizona.EDU (8.8.4/8.7.3) with SMTP id QAA20628 for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 16:26:16 -0700 (MST)
Message-Id: <Pine.SOL.3.95.970630161344.13026C-100000@lectura.CS.Arizona.EDU>
Date: Mon, 30 Jun 1997 16:26:15 -0700 (MST)
Reply-To: Jim Davis <jdavis@cs.arizona.edu>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jim Davis <jdavis@cs.arizona.edu>
To: wu-ftpd mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Re: lamer question: how to get user listing for anonymous users
In-Reply-To: <33B7E2F0.B0EC5F41@parc.xerox.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: lectura.CS.Arizona.EDU: jdavis owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, 30 Jun 1997, Michael Ryan wrote:

> i ran truss
> > open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) Err#2 
> ...
> > 20483:  open("/usr/lib/libmp.so.1", O_RDONLY)           Err#2 ENOENT        
> and created the missing files.

While you do need libmp.so.1 under 2.5.1 in your ~ftp/usr/lib tree -- and
unfortunately that isn't mentioned in Sun's in.ftpd man page -- anyone
without an Ultra won't have a libc_psr shared library, even though when
you run truss you may still see calls to it.  That library contains
tweaked versions of libc routines but AFAIK there's only been a version
released for Ultras.  It's not strictly necessary in ~ftp/usr/lib on
Ultras either, though if you have it you might as well put it in there.


From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 19:17:30 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA30028;
	Mon, 30 Jun 1997 19:10:39 -0500 (CDT)
Received: from m54.oz.com (m54.oz.com [204.95.67.54])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id TAA29804
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 19:05:22 -0500 (CDT)
Received: by m54.oz.com id AA28839
  (5.67a8/IDA-1.4.4 for wu-ftpd@wugate.wustl.edu); Mon, 30 Jun 1997 17:04:56 -0700
Message-Id: <199707010004.AA28839@m54.oz.com>
Date: Mon, 30 Jun 1997 17:04:56 -0700
Reply-To: mitch@oz.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mitch Wright <mitch@oz.com>
To: kent@landfield.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: So...
In-Reply-To: <199706301611.LAA22857@landfield.com>
References: <5p3pur$609$1@Garfield.IAEhv.nl>
	<199706301611.LAA22857@landfield.com>
X-Ozid: <199707010004.AA28839@m54.oz.com>
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

/* Kent Landfield [kent@landfield.com] writes: */

>The questions I have are pretty basic ones. If I see a directive in a 
>virtual-specific ftpaccess file, do I discard ALL previous directives 
>of that type seen in the master file ? Or do I merge the new entry into 
>the existing directive's list ? Or are they handled with independent 
>rules based on the specific directive types ?
>
How about allowing both?  Either add a flag to toggle the behavior,
add a flag that can clear the directive, or modify the syntax so it
does clear, but if you do a "+banner" it appends.  Just an idea.

>:) Perry, are you in marketing ?  Can I use that ? ;-)  A visual cookiejar
>metaphor could be useful for FTP archive sites. ;) :)
>
Except that the marketing end has "cookies" as being a bad word since
many people associate it with a mythical bad thing that web browsers
will do to you to ruin your life.  Funny thing is, the obvious "bad things"
the browsers do to you is distract you from work.  :-)

-- 
do svidaniya,

  ~mitch

From owner-wu-ftpd@wugate.wustl.edu  Mon Jun 30 22:37:03 1997
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA04686;
	Mon, 30 Jun 1997 22:33:07 -0500 (CDT)
Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4])
	by wugate.wustl.edu (8.8.5/8.8.5) with SMTP id WAA04337
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Jun 1997 22:31:29 -0500 (CDT)
Received: from LOCAL (uucp@localhost) 
          by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 16592
          on Tue, 1 Jul 1997 03:31:27 GMT; id DAA16592
          efrom: news@Garfield.IAEhv.nl; eto: wu-ftpd@wugate.wustl.edu
Received: (from news@localhost)
	by Garfield.IAEhv.nl (8.8.6/8.8.5) id AAA21954;
	Tue, 1 Jul 1997 00:05:55 +0200
Message-Id: <5p9ak2$ka0$1@Garfield.IAEhv.nl>
Date: 30 Jun 1997 22:05:54 GMT
Reply-To: Perry.Rovers@IAE.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Perry.Rovers@IAE.nl
To: wu-ftpd@wugate.wustl.edu
Subject: Re: So...
References: <199706301611.LAA22857@landfield.com>
X-Sender: Perry Rovers <perry@Garfield.IAEhv.nl>
X-no-archive: yes
X-bofh-archive: yes
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970324; i586 Linux 2.0.28]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Pink elephants with an attitude inspired Kent Landfield <kent@landfield.com> to tell garfield.mail.wu-ftpd:

[snip way too long list of options.. no program needs that many!]

: The questions I have are pretty basic ones. If I see a directive in a 
: virtual-specific ftpaccess file, do I discard ALL previous directives 
: of that type seen in the master file ? Or do I merge the new entry into 
: the existing directive's list ? Or are they handled with independent 
: rules based on the specific directive types ?
Yes. No. Duh? Too complicated dewd. (IMHO of course)

: If we are talking about replacing all directives of the same type on first
: encounter in a virtual domain's specific ftpaccess file then wouldn't it be
: easier to simply have a complete copy of what we want and then simply edit 
: that ?
No, because separate configfiles makes it clear that they really belong to a
different site and I hate extra typing. One might argue that merging is
easier then, but I just thought of another reason why merging in additional
stuff can be confusing. I'd hate to run into an ftpusers file for some site
with just 'ftp' in it. Somehow I wouldn't quite trust it. I'd prefer a
'complete' list for that and for the other files except ftpaccess.

: Maybe I'm making this too complicated...
Yes ;-)

[snip marketingspeak]

: :) Perry, are you in marketing ?  Can I use that ? ;-)  A visual cookiejar
No but I took some courses in it in a past life. :) Sure.

: metaphor could be useful for FTP archive sites. ;) :)
I think I'm going to get a ruler to hit the warez folks with
"Been grabbing in the cookiejar again have you!!??"

Oh, I propose to make the default for the shutdown parameter
the_lid_is_shut and logging erroneous login attempts with
LOG_FAIL, "Slamming down lid. The jar is closed!"

Ah, I can just hear our helpdesk:
"Ehm.. we have a customer complaining that he can't access the cookiejar?"


-- 
Perry Rovers (perry@Garfield.IAEhv.nl)

