From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  1 08:06:31 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA09821
	for <wuftpd@landfield.com>; Sun, 1 Aug 1999 08:06:30 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA14131;
	Sun, 1 Aug 1999 08:05:03 -0500 (CDT)
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA13472
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Aug 1999 08:03:04 -0500 (CDT)
Received: (from koos@localhost)
	by pizza.hvu.nl (8.9.3/8.9.3/KH19990720) id PAA01891
	for wu-ftpd@wugate.wustl.edu; Sun, 1 Aug 1999 15:03:02 +0200 (MET DST)
Message-Id: <199908011303.PAA01891@pizza.hvu.nl>
Date: Sun, 1 Aug 1999 15:03:02 +0200 (MET DST)
Reply-To: koos@pizza.hvu.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
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@wu-ftpd.org 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. Are there any alternatives ?
         4. Where do I get the wu-ftpd ?
              1. Where do I get the latest version ?
              2. What were the VR patches for wu-ftpd ?
              3. What is BeroFTPD ?
         5. Compiling the wu-ftpd
              1. cc complains about strunames, typenames, modenames, ..
                 being undeclared.
              2. I don't have yacc
              3. wu-ftpd doesn't 'see' that users are in multiple groups.
              4. I get "conflicting types for `realpath'"
              5. wu-ftpd doesn't use the shadow passwords on my Linux
                 machine.
              6. It doesn't compile at all on newer Linux installs. The
                 error is :
              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
             14. What should I do for HP-UX 10.10 to make it work
                 completely.
             15. Installation notes for HP-UX 10.20.
         6. Special compilation options/fixes
              1. I need to authenticate real users via AFS
              2. I need to use S/KEY authorisation
              3. I want to block certain default addresses (IE30User@,
                 mozilla@)
         7. Installing the wu-ftpd
              1. Command-line options for wu-ftpd
              2. Testing on a different port number then ftp:21
              3. Not all command line parameters seem to be used by
                 wu-ftpd
              4. How do I use the package file
                 WUFtpd250.wu-ftpd-2.5.0.SPARC.ULTRASparc.2.5.1.2.5.pkg.t
                 ar ?
         8. Are there year 2000 issues with wu-ftpd?
         9. 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"
              3. What tools are there to check the configuration
              4. Why does %M produce (Max unlimited) on the login banner
        10. 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 (5.3, 6.2)
              8. SCO Unix
              9. BSD vs SVR4 ls
             10. It worked, until I upgraded the operating system.
        11. 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 made a symbolic link within the anonymous tree and it
                 doesn't work for the anonymous users.
             15. I want to redirect anonymous users to another machine
             16. ftpd stops accepting connections when a lot of
                 connections come in.
             17. Running wu-ftpd on a *large* site
             18. Only the first 8 characters of the anonymous username
                 are recieved by the server.
             19. wu-ftpd fails with '500 Illegal PORT Command' under AIX
                 4.3
             20. I want to host multiple ftp servers on the same machine
             21. I just upgraded and now nobody can log in. It worked
                 before.
        12. Other things
              1. Where is the FTP protocol documented ?
              2. How can I make my ftp-archive accessible by Email
                 (ftpmail) ?
        13. Credits/miscellanious
              1. How do I contact the WU-FTPD Development team
              2. I have a correction / new feature, how do I submit it
                 for the WU-FTPD Development team's consideration
              3. I have what I believe to be a critical security problem
                 with the daemon and don't want to talk about it via
                 email. Can I call someone on the telephone

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


From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  1 09:08:39 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA10327
	for <wuftpd@landfield.com>; Sun, 1 Aug 1999 09:08:38 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA21825;
	Sun, 1 Aug 1999 09:08:53 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA22267;
	Sun, 1 Aug 1999 09:04:08 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id KAA17862;
	Sun, 1 Aug 1999 10:04:05 -0400
Message-Id: <19990801100404.A17837@vr.net>
Date: Sun, 1 Aug 1999 10:04:04 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: WUFTPD Questions <wuftpd-questions@wu-ftpd.org>,
        WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>,
        WUFTPD Announcements <wuftpd-announce@wu-ftpd.org>,
        WUFTPD Announcements <wu-ftpd-announce@wugate.wustl.edu>
Subject: WU-FTPD Mirrors
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=YZ5djTAD1cGYuMQK; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

The primary distribution site for the WU-FTPD daemon is:

  ftp://ftp.wu-ftpd.org/pub/wu-ftpd/

Mirrors are available at the following sites:

Australia
---------
    ftp://mirror.aarnet.edu.au/pub/wu-ftpd/
    http://mirror.aarnet.edu.au/pub/wu-ftpd/

Austria
-------
    ftp://gd.tuwien.ac.at/infosys/servers/ftp/wu-ftpd/
    http://gd.tuwien.ac.at/infosys/servers/ftp/wu-ftpd/

Canada
------
    ftp://ftp.crc.ca/pub/packages/ftp/servers/wuarchive-ftpd-vr/

Estonia
-------
    ftp://ftp.ut.ee/pub/unix/networking/wu-ftpd/

Hungary
-------
    ftp://ftp.ahol.com/pub/mirrors/wu-ftpd/
    ftp://ftp.kfki.hu/pub/infosystems/wu-ftpd/

Germany
-------
    ftp://ftp.dpn.de/pub/mirrors/wu-ftpd/

Israel
------
    ftp://ftp.tau.ac.il/pub/unix/ftp/wu-ftpd/

Japan
-----

    Ring Server Project
    -------------------
        ftp://ftp.ring.gr.jp/pub/net/wu-ftpd/
        http://www.ring.gr.jp/archives/net/wu-ftpd/

        ftp://ring.aist.go.jp/pub/net/wu-ftpd/
        http://ring.aist.go.jp/archives/net/wu-ftpd/

        ftp://ring.asahi-net.or.jp/pub/net/wu-ftpd/
        http://ring.asahi-net.or.jp/archives/net/wu-ftpd/

        ftp://ring.so-net.ne.jp/pub/net/wu-ftpd/
        http://ring.so-net.ne.jp/archives/net/wu-ftpd/

        ftp://ring.nacsis.ac.jp/pub/net/wu-ftpd/
        http://ring.nacsis.ac.jp/archives/net/wu-ftpd/

        ftp://ring.etl.go.jp/pub/net/wu-ftpd/
        http://ring.etl.go.jp/archives/net/wu-ftpd/

    Other Japan sites
    -----------------
    ftp://ftp.win.ne.jp/pub/network/wu-ftpd/

    ftp://mirror.nucba.ac.jp/mirror/wu-ftpd/
    http://mirror.nucba.ac.jp/mirror/wu-ftpd/

    ftp://ftp.cin.nihon-u.ac.jp/pub/net/ftp/wu-ftpd-vr/

    ftp://ftp.riken.go.jp/pub/net/wu-ftpd/

    http://SunSITE.sut.ac.jp/pub/archives/packages/wu-ftpd/
    ftp://SunSITE.sut.ac.jp/pub/archives/packages/wu-ftpd/

Norway
------
    ftp://ftp.bitcon.no/pub/unix/networking/wu-ftpd/
    http://archive.bitcon.no/pub/unix/networking/wu-ftpd/

Poland
------
    ftp://ftp.task.gda.pl/pub/unix/ftp/wu-ftpd-vr/

    ftp://giswitch.sggw.waw.pl/pub/unix/wu-ftpd/

Spain
-----
    ftp://ftp.upc.es/pub/wu-ftpd/

Sweden
------
    ftp://ftp.sunet.se/pub/nir/ftp/servers/wuarchive-ftpd/
    http://ftp.sunet.se/pub/nir/ftp/servers/wuarchive-ftpd/

Switzerland
-----------
    ftp://sunsite.cnlab-switch.ch/mirror/wu-ftpd/

Taiwan
------
    ftp://ftp.nchu.edu.tw/pub/packages/wu-ftpd/
    http://pds.nchu.edu.tw/pub/packages/wu-ftpd/

Turkey
------
    ftp://ftp.ulak.net.tr/pub/wu-ftpd/
    http://ftp.ulak.net.tr/pub/wu-ftpd/

United Kingdom
--------------
    ftp://sunsite.org.uk/Mirrors/ftp.vr.net/pub/wu-ftpd/
    http://sunsite.org.uk/Mirrors/ftp.vr.net/pub/wu-ftpd/

    ftp://ftp.ox.ac.uk/pub/comp/security/COAST/mirrors/ftp.vr.net/

United States
-------------

    New York
    --------
        ftp://ftp.academy.rpi.edu/pub/wu-ftpd/

    Ohio
    ----
        ftp://ftp.vr.net/pub/wu-ftpd/

    Texas
    -----
        ftp://ftp.landfield.com/wu-ftpd/wu-ftpd.org/
        http://www.landfield.com/wu-ftpd/wu-ftpd.org/

If you run a mirror and would like it listed above, send the URL to
wuftpd-members@wu-ftpd.org.  Unless your local policy requires it, there is
no need to ask permission to mirror the primary distribution site.  We do
like knowing who is mirroring, though.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--YZ5djTAD1cGYuMQK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN6RFvQ2nXFkJc83RAQE4OQL8DpOkpZgTUlQK3Q2EDLjYiuzPdVjA0sr+
/N/2A30JJs6LH7VryHx4tXSiBgqA+thdSxEU4pgnoh1O9MM4/reV0HNuu7lRHeDl
GYDKEoHl3/J6WRFplaNna2i1faEYqFab
=Nj0F
-----END PGP SIGNATURE-----

--YZ5djTAD1cGYuMQK--

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  1 10:07:05 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA10909
	for <wuftpd@landfield.com>; Sun, 1 Aug 1999 10:07:04 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA18350;
	Sun, 1 Aug 1999 10:07:17 -0500 (CDT)
Received: from harpy.servcom.net.au (root@harpy.servcom.net.au [202.61.205.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA22742
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Aug 1999 10:04:54 -0500 (CDT)
Received: (from root@localhost)
	by harpy.servcom.net.au (8.9.3/8.9.3) id XAA32381;
	Sun, 1 Aug 1999 23:15:48 +0800
Received: from sysop (dup15.servcom.net.au [202.61.195.15])
	by harpy.servcom.net.au (8.9.3/8.9.3) with SMTP id XAA32377
	for <wu-ftpd@wugate.wustl.edu>; Sun, 1 Aug 1999 23:15:47 +0800
Message-Id: <004601bedc2f$a6cd5240$0fc33dca@servcom.net.au>
Date: Sun, 1 Aug 1999 23:08:02 +0800
Reply-To: sentinal@servcom.net.au
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Leigh Welton" <sentinal@servcom.net.au>
To: <wu-ftpd@wugate.wustl.edu>
Subject: unsubscribe
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0043_01BEDC72.B4598260"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

------=_NextPart_000_0043_01BEDC72.B4598260
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe me.


------=_NextPart_000_0043_01BEDC72.B4598260
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>unsubscribe me.</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0043_01BEDC72.B4598260--


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  2 07:11:02 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA24778
	for <wuftpd@landfield.com>; Mon, 2 Aug 1999 07:11:01 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA31201;
	Mon, 2 Aug 1999 07:08:15 -0500 (CDT)
Received: from earth.space.gc.ca (earth.space.gc.ca [198.103.177.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id GAA23267
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Aug 1999 06:59:34 -0500 (CDT)
Received: from polux.space.gc.ca (moon.space.gc.ca [198.103.177.3])
	by earth.space.gc.ca (8.9.3/8.9.3) with ESMTP id HAA26581
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Aug 1999 07:58:53 -0400 (EDT)
Received: from excsth3.space.gc.ca (excsth3.space.gc.ca [10.20.11.13])
	by polux.space.gc.ca (8.9.0/8.9.0) with ESMTP id HAA02046
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Aug 1999 07:59:33 -0400 (EDT)
Received: by excsth3.space.gc.ca with Internet Mail Service (5.5.2448.0)
	id <35BGC2QB>; Mon, 2 Aug 1999 07:59:33 -0400
Message-Id: <2F3CB79E8E13D3119F1F0090274EC52105D149@excsth2.space.gc.ca>
Date: Mon, 2 Aug 1999 07:59:28 -0400 
Reply-To: Michel.Valiquette@space.gc.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Valiquette, Michel" <Michel.Valiquette@space.gc.ca>
To: wu-ftpd@wugate.wustl.edu
Subject: unsubscribe
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

 
 

... 
Michel Valiquette 
Analyste Principal UNIX / UNIX Senior Analyst 
Agence Spatiale Canadienne / Canadian Space Agency 
Michel.Valiquette@space.gc.ca 
Tel: (450)926-4854 
Fax: (450)926-6611 


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  2 16:17:10 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA10717
	for <wuftpd@landfield.com>; Mon, 2 Aug 1999 16:17:10 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA17868;
	Mon, 2 Aug 1999 16:14:41 -0500 (CDT)
Received: from mail5.svr.pol.co.uk (mail5.svr.pol.co.uk [195.92.193.20])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA01552
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Aug 1999 16:13:54 -0500 (CDT)
Received: from modem-77.actinium.dialup.pol.co.uk ([62.136.44.77] helo=gdmckee.freeserve.co.uk)
	by mail5.svr.pol.co.uk with esmtp (Exim 2.12 #2)
	id 11BPP4-0005Ik-00
	for wu-ftpd@wugate.wustl.edu; Mon, 2 Aug 1999 22:13:50 +0100
Received: from p300.gdmckee.local (P300 [192.168.0.5])
	by gdmckee.freeserve.co.uk (8.9.3/8.9.3) with SMTP id VAA01549
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Aug 1999 21:29:24 +0100
Message-Id: <004801bedd25$b5ca1200$0500a8c0@gdmckee.local>
Date: Mon, 2 Aug 1999 21:29:24 +0100
Reply-To: gordon@gdmckee.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Gordon McKee" <gordon@gdmckee.com>
To: <wu-ftpd@wugate.wustl.edu>
Subject: How do I un-subscribe
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0045_01BEDD2E.175C1F60"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

------=_NextPart_000_0045_01BEDD2E.175C1F60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have sent the message to unsubscribe but I still get the messages.

Any one got any ideas

Gordon McKee

------=_NextPart_000_0045_01BEDD2E.175C1F60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have sent the message to unsubscribe =
but I still=20
get the messages.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any one got any ideas</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Gordon McKee</FONT></DIV></BODY></HTML>

------=_NextPart_000_0045_01BEDD2E.175C1F60--


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  2 16:46:31 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA11233
	for <wuftpd@landfield.com>; Mon, 2 Aug 1999 16:46:31 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA04139;
	Mon, 2 Aug 1999 16:46:47 -0500 (CDT)
Received: from doctor.nl2k.ab.ca (doctor@doctor.nl2k.ab.ca [204.209.81.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA07363
	for <wu-ftpd@wugate.wustl.edu>; Mon, 2 Aug 1999 16:41:15 -0500 (CDT)
Received: (from doctor@localhost)
	by doctor.nl2k.ab.ca (8.9.3/8.9.1) id PAA19692;
	Mon, 2 Aug 1999 15:36:38 -0600 (MDT)
Message-Id: <19990802153637.A19639@doctor.nl2k.ab.ca>
Date: Mon, 2 Aug 1999 15:36:37 -0600
Reply-To: doctor@doctor.nl2k.ab.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: The Doctor <doctor@doctor.nl2k.ab.ca>
To: Gordon McKee <gordon@gdmckee.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: How do I un-subscribe
In-Reply-To: <004801bedd25$b5ca1200$0500a8c0@gdmckee.local>; from Gordon McKee on Mon, Aug 02, 1999 at 09:29:24PM +0100
References: <004801bedd25$b5ca1200$0500a8c0@gdmckee.local>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6us
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Mon, Aug 02, 1999 at 09:29:24PM +0100, Gordon McKee wrote:
> I have sent the message to unsubscribe but I still get the messages.
> 
> Any one got any ideas
> 
> Gordon McKee

You send an unsubscribe message to majordomo NOT to the list.

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug  3 09:14:50 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA14801
	for <wuftpd@landfield.com>; Tue, 3 Aug 1999 09:14:49 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA07976;
	Tue, 3 Aug 1999 09:12:39 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA12674;
	Tue, 3 Aug 1999 09:05:16 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id KAA08424;
	Tue, 3 Aug 1999 10:05:03 -0400
Message-Id: <19990803100502.A8227@vr.net>
Date: Tue, 3 Aug 1999 10:05:03 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: WU-FTPD Announcements <wuftpd-announce@wu-ftpd.org>,
        WU-FTPD Announcements <wu-ftpd-announce@wugate.wustl.edu>,
        WU-FTPD Questions <wuftpd-questions@wu-ftpd.org>,
        WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Cc: Josip Rodin <joy@cibalia.gkvk.hr>,
        Chris Butler <chrisb@sandy.force9.co.uk>, 42302@bugs.debian.org,
        Alex Yu <yua@artlover.com>, pam-list@redhat.com,
        redhat-list@redhat.com,
        WU-FTPD Development Group <wuftpd-members@wu-ftpd.org>
Subject: [2.5.0 Quick Fix] GNU libc updwtmp() does not record logouts
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="i0/AhcQY5QxfSsSZ"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--i0/AhcQY5QxfSsSZ
Content-Type: multipart/mixed; boundary=NzB8fVQJ5HfG6fxh


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii

A change in WU-FTPD version 2.5.0 was to use the supplied udpwtmp()
function to handle wtmp logging.  Unfortunately, udpwtmp() turns out to be
overly simplistic and unreliable.

This correction allows WU-FTPD 2.5.0 on systems using GNU libc version 2 to
record logout information in the wtmp file.  Primarily, this effects Linux;
other systems may be effected.

The fix for this problem is available from:

  ftp://ftp.wu-ftpd.org/pub/wu-ftpd/quickfixes/apply_to_2.5.0/glibc.wtmp.patch

--

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="glibc.wtmp.patch"
Content-Transfer-Encoding: quoted-printable

This reverses an earlier change to src/logwtmp.c.  The original comment was:
Garry Shtern <shterng@akula.com> submitted a patch on Fri, 9 Apr 1999, whic=
h he
says was needed to support glibc2 on linux.

It turns out this has the effect of breaking wtmp logging on Linux.  The GNU
libc updwtmp() function cannot find _PATH_WTMP when a guest or anonymous us=
er
is logging out because the daemon has chroot'd.

Index: logwtmp.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/wu-ftpd-stable/src/logwtmp.c,v
retrieving revision 1.4
diff -c -r1.4 logwtmp.c
*** logwtmp.c	1999/05/21 14:15:39	1.4
--- logwtmp.c	1999/08/03 13:28:08
***************
*** 93,127 ****
      struct stat buf;
      struct utmp ut;
 =20
-=20
- #if defined(__GLIBC__)
- #   if (__GLIBC__ =3D=3D 2) && defined(LINUX)
-=20
-     /* zero out the entry */
-     memset(&ut, 0, sizeof(ut));
-=20
-     /* fill with defaults */
-     gettimeofday(&ut.ut_tv, NULL);
-     strncpy(ut.ut_line,line,UT_LINESIZE);
-     strncpy(ut.ut_id,"",3);
-     strncpy(ut.ut_host,host,UT_HOSTSIZE);
-     ut.ut_pid =3D getpid();
-=20
-     /* create a new entry */
-     if (login) {
-        strncpy(ut.ut_user,name,UT_NAMESIZE);
-        ut.ut_type =3D USER_PROCESS;
-     } /* delete existing one */
-     else {
-        ut.ut_type =3D DEAD_PROCESS;
-     }
-=20
-     /* dump out the structure */
-     updwtmp(_PATH_WTMP,&ut);
-=20
- #   endif
- #else
-=20
  #ifdef SVR4
  #ifndef NO_UTMPX
      /*
--- 93,98 ----
***************
*** 233,239 ****
              sizeof(struct utmp))
                (void) ftruncate(fd, buf.st_size);
      }
- #endif
  }
 =20
 =20
--- 204,209 ----

--NzB8fVQJ5HfG6fxh--

--i0/AhcQY5QxfSsSZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN6bo+g2nXFkJc83RAQFvOAL/XuH6y7VC4g4kU2psqfCm+ZdxokCl6Inn
foN4WqR0cQL7HLAmP2FyiJ+sgxjluS+GV6JbhrRA4Umxz1GDeqpE1H3SPk8hvziM
Bw2Tgv+IuamqaaEka/jTSZwc1aTujw2N
=qbRZ
-----END PGP SIGNATURE-----

--i0/AhcQY5QxfSsSZ--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug  3 12:44:27 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id MAA18899
	for <wuftpd@landfield.com>; Tue, 3 Aug 1999 12:44:27 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA29964;
	Tue, 3 Aug 1999 12:42:04 -0500 (CDT)
Received: from egret1.Stanford.EDU (egret1.Stanford.EDU [36.64.0.121])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA10867
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Aug 1999 12:36:30 -0500 (CDT)
Received: (from pln@localhost)
	by egret1.Stanford.EDU (8.8.8+Sun/8.8.5) id KAA03767;
	Tue, 3 Aug 1999 10:36:24 -0700 (PDT)
Message-Id: <199908031736.KAA03767@egret1.Stanford.EDU>
Date: Tue, 3 Aug 1999 10:36:24 -0700 (PDT)
Reply-To: pln@egret1.Stanford.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Patrick L. Nolan" <pln@egret1.Stanford.EDU>
To: wu-ftpd@wugate.wustl.edu
Cc: pln@egret1.Stanford.EDU
Subject: logins fail with 2.5.0, HPUX
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: OoytGj78glBJubG3ztYN1Q==
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Yesterday I downloaded 2.5.0.  I installed it on a Solaris 2.5.1 machine and
it works fine.  Today I installed it on an HP-UX 10.20 machine, and it doesn't
work fine.

It rejects logins, both anonymous and regular.  In the error log, the anonymous
login looks like this:
Aug  3 10:24:05 glast ftpd[13056]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FR
OM glast [36.92.0.110], anonymous

The regular login:
Aug  3 10:24:15 glast ftpd[13058]: failed login from glast [36.92.0.110], pln

Here's what I know:

* There is an entry for ftp in /etc/passwd:
ftp:*:103:30:FTP server:/home/ftp:/usr/bin/false
In fact, anonymous ftp works with the HP ftpd.

* /usr/bin/false is in /etc/shells

* ckconfig is happy with my configuration files

* I believe ftpaccess is readable.  It's clear that ftpcount can see it.

* At first I started ftpd with the options -l -a -o.  I took all those out,
and it doesn't help.

* There was some problem compiling.  Since I use gcc, I had to remove some of
the HP-specific compiler flags in the Makefiles.  I just let the script put
the files wherever it wanted to.

* Yes, I did remember to HUP inetd after each change.

* I typed my own password enough times to be confident it's not just a typo.
The anonymous password checking is "trivial", so that's pretty easy to get
right.

* There's not much fancy stuff in my ftpaccess file.  Here it is, just in case:
class   all   real,guest,anonymous  *
guestgroup guest,bloom
limit   all   11   Any              /usr/local/etc/msgs/msg.dead
readme  README*    login
readme  README*    cwd=*
message /welcome.msg            login
message .message                cwd=*
compress        yes             local remote
tar             yes             local remote
delete          no      guest,anonymous 
overwrite       no      guest,anonymous
rename          no      guest,anonymous
chmod           no      anonymous
umask           no      anonymous
log commands real,guest,anonymous
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg
upload /home/ftp *             no
upload /home/ftp /pub/incoming yes ftp guest 0644 nodirs
upload /home/elliott/guest *             no
upload /home/elliott/guest /pub/incoming yes elliott 0644 dirs
passwd-check trivial
email pln

* There's some history I didn't mention.  I had a very old version, which worked
OK.  I don't remember the number.  That's where I developed that ftpaccess.
Months ago I upgraded to one of the 2.4.2-academ versions (14? 18?).  Guest
and anonymous ftp access quit working then.  I can live without those, so I
let it slide.  Now it's worse.

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug  3 14:44:08 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA21523
	for <wuftpd@landfield.com>; Tue, 3 Aug 1999 14:44:07 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA00175;
	Tue, 3 Aug 1999 14:41:37 -0500 (CDT)
Received: from web601.yahoomail.com (web1205.mail.yahoo.com [128.11.23.141])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA29848
	for <wu-ftpd@wugate.wustl.edu>; Tue, 3 Aug 1999 14:40:35 -0500 (CDT)
Received: from [209.241.84.162] by web1205.mail.yahoo.com; Tue, 03 Aug 1999 12:40:12 PDT
Message-Id: <19990803194012.6279.rocketmail@web601.yahoomail.com>
Date: Tue, 3 Aug 1999 12:40:12 -0700 (PDT)
Reply-To: qsystems_99@yahoo.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "K.Y. Lee" <qsystems_99@yahoo.com>
To: wu-ftpd@wugate.wustl.edu
Cc: pln@egret1.Stanford.EDU
Subject: Re: logins fail with 2.5.0, HPUX
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I just went through simliar hell for installing 2.5.0 on HPUX 10.20. 
Greg helped me a lot to solve it.  I don't know whether this is same
problem but I sure had trouble logging in; I tested with 'ftp
localhost'

So, here is my 2 cent worth of comments.

One place you might look is whether either /usr/bin/ksh or /usr/bin/sh,
depending on what you use, is in /etc/shells.

--- "Patrick L. Nolan" <pln@egret1.Stanford.EDU> wrote:
> Yesterday I downloaded 2.5.0.  I installed it on a
> Solaris 2.5.1 machine and
> it works fine.  Today I installed it on an HP-UX
> 10.20 machine, and it doesn't
> work fine.
> 
> It rejects logins, both anonymous and regular.  In
> the error log, the anonymous
> login looks like this:
> Aug  3 10:24:05 glast ftpd[13056]: FTP LOGIN REFUSED
> (ftp not in /etc/passwd) FR
> OM glast [36.92.0.110], anonymous
> 
> The regular login:
> Aug  3 10:24:15 glast ftpd[13058]: failed login from
> glast [36.92.0.110], pln
> 
> Here's what I know:
> 
> * There is an entry for ftp in /etc/passwd:
> ftp:*:103:30:FTP server:/home/ftp:/usr/bin/false
> In fact, anonymous ftp works with the HP ftpd.
> 
> * /usr/bin/false is in /etc/shells
> 
> * ckconfig is happy with my configuration files
> 
> * I believe ftpaccess is readable.  It's clear that
> ftpcount can see it.
> 
> * At first I started ftpd with the options -l -a -o.
>  I took all those out,
> and it doesn't help.

According to Greg, you must have '-a' for 2.5.0.

> * There was some problem compiling.  Since I use
> gcc, I had to remove some of
> the HP-specific compiler flags in the Makefiles.  I
> just let the script put
> the files wherever it wanted to.

This is the Makefile.hpx I used.  Notice that I am using bison, instead
of yacc.

-----------------------------------------
#
# Makefile for HPUX
# $Id: Makefile.hpx,v 1.10 1999/02/26 16:09:28 sob RELEASE sob $
#
YACC    = bison -y
CC       = cc
IFLAGS   = -I.. -I../support
LFLAGS   =
CFLAGS   = -Dunix -O ${IFLAGS} ${LFLAGS}
XOBJS    =
LIBES    = ../support/libsupport.a -lsec
LIBC     = /lib/libc.a
LINTFLAGS=
LKERB    = -lauth -lckrb -lkrb -ldes
XLIBS    = ${LIBES}
MKDEP    = ../util/mkdep.hpx 
-----------------------------------------

Good luck!
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com


From owner-wu-ftpd@wugate.wustl.edu  Wed Aug  4 11:23:13 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA09114
	for <wuftpd@landfield.com>; Wed, 4 Aug 1999 11:23:12 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA08786;
	Wed, 4 Aug 1999 11:21:46 -0500 (CDT)
Received: from garcia.krjda.com ([204.249.105.145])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA11725
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Aug 1999 11:16:42 -0500 (CDT)
Received: (qmail 32039 invoked from network); 4 Aug 1999 09:09:33 -0000
Received: from unknown (HELO krjda.com) (204.249.105.150)
  by 204.249.105.145 with SMTP; 4 Aug 1999 09:09:33 -0000
Message-Id: <37A866D9.B93C0970@krjda.com>
Date: Wed, 04 Aug 1999 12:14:17 -0400
Reply-To: bdelph@krjda.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Delphenich <bdelph@krjda.com>
To: WU-FTP Mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Upgrading wu-ftp on Caldera?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: bdelph
X-Mailer: Mozilla 4.51C-Caldera [en] (X11; I; Linux 2.2.5 i686)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am running wu-ftp on a Caldera v1.3 Linux server. I'd like to keep as
current as possible on wu-ftp but it takes a while for Caldera to
generate their new RPM's. Can I use the Red Hat RPM's on the ftp site to
upgrade my Caldera? If not, what are my other choices? I am a total
newbie when it comes to compiling source.

Thanks.




From owner-wu-ftpd@wugate.wustl.edu  Wed Aug  4 13:37:16 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA00891
	for <wuftpd@landfield.com>; Wed, 4 Aug 1999 13:37:16 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA31361;
	Wed, 4 Aug 1999 13:36:11 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA13677
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Aug 1999 13:29:48 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA24154;
	Wed, 4 Aug 1999 14:29:45 -0400
Message-Id: <19990804142945.B24103@vr.net>
Date: Wed, 4 Aug 1999 14:29:45 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Bill Delphenich <bdelph@krjda.com>
Cc: WU-FTP Mailing list <wu-ftpd@wugate.wustl.edu>
Subject: Re: Upgrading wu-ftp on Caldera?
In-Reply-To: <37A866D9.B93C0970@krjda.com>; from Bill Delphenich on Wed, Aug 04, 1999 at 12:14:17PM -0400
References: <37A866D9.B93C0970@krjda.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=LyciRD1jyfeSSjG0; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--LyciRD1jyfeSSjG0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 04, 1999 at 12:14:17PM -0400, Bill Delphenich wrote:

> I am running wu-ftp on a Caldera v1.3 Linux server. I'd like to keep as
> current as possible on wu-ftp but it takes a while for Caldera to
> generate their new RPM's. Can I use the Red Hat RPM's on the ftp site to
> upgrade my Caldera? If not, what are my other choices? I am a total
> newbie when it comes to compiling source.

I'm given to understand Caldera uses standard Redhat RPMs.  So the RPM
should install.  The only question is if Caldera changes any of the file
locations from the defaults Redha uses; you'll not know unless you
look/try.

The other way to upgrade would be to grab the current release, unpack it,
apply the quick fix patches for that version, and build the daemon
yourself.  IMHO someone who wishes to be as current as possible would
choose this method since it does not rely upon any third parties; just you
and the prinicple maintainers.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--LyciRD1jyfeSSjG0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN6h4hQ2nXFkJc83RAQHucgL/ZXKe095v13R4E+IXfPmVI/m6ObYnqdFe
xDRIy672gpYnj9od0YxBvY3k6yV3rLTv1qIaJ/0/8QWuFDY1A/TiEYnwjYrO3kH+
64WnIsvabbaG+IV4sl2c2ROGfKSkhnXQ
=BTVs
-----END PGP SIGNATURE-----

--LyciRD1jyfeSSjG0--

From owner-wu-ftpd@wugate.wustl.edu  Wed Aug  4 15:01:46 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA02708
	for <wuftpd@landfield.com>; Wed, 4 Aug 1999 15:01:45 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA05522;
	Wed, 4 Aug 1999 15:00:39 -0500 (CDT)
Received: from hotmail.com (law2-f248.hotmail.com [216.32.181.248])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA29562
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Aug 1999 14:57:36 -0500 (CDT)
Received: (qmail 53957 invoked by uid 0); 4 Aug 1999 19:56:45 -0000
Received: from 151.166.15.65 by www.hotmail.com with HTTP;
	Wed, 04 Aug 1999 12:56:45 PDT
Message-Id: <19990804195645.53956.qmail@hotmail.com>
Date: Wed, 04 Aug 1999 14:56:45 CDT
Reply-To: coryderrick@hotmail.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Cory Derrick" <coryderrick@hotmail.com>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftp error that started occuring a couple of days ago
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-Originating-IP: [151.166.15.65]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Can someone please tell me what the following error might mean?

...<snip>... ftpd[4248]: getpeername (in.ftpd): Transport endpoint is not 
connected

I started getting this message a few days ago but it is only when a certain 
machine (a mainframe that has some automated procedure for trasfers a bunch 
of files) tries to connect. Other machines from the same location can ftp in 
and login w/out any problems. I haven't had any problems with this before 
until Sunday morning. Does anyone know what maybe causing this. It is fairly 
urgent to get that machine able to ftp in again.

TIA,

Cory Derrick


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

From owner-wu-ftpd@wugate.wustl.edu  Wed Aug  4 16:21:11 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA04248
	for <wuftpd@landfield.com>; Wed, 4 Aug 1999 16:21:10 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA04280;
	Wed, 4 Aug 1999 16:21:21 -0500 (CDT)
Received: from hotmail.com (law2-f178.hotmail.com [216.32.181.178])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA08419
	for <wu-ftpd@wugate.wustl.edu>; Wed, 4 Aug 1999 16:15:11 -0500 (CDT)
Received: (qmail 36681 invoked by uid 0); 4 Aug 1999 21:14:33 -0000
Received: from 151.166.15.65 by www.hotmail.com with HTTP;
	Wed, 04 Aug 1999 14:14:33 PDT
Message-Id: <19990804211433.36680.qmail@hotmail.com>
Date: Wed, 04 Aug 1999 16:14:33 CDT
Reply-To: coryderrick@hotmail.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Cory Derrick" <coryderrick@hotmail.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftp error that started occuring a couple of days ago
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-Originating-IP: [151.166.15.65]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Disregard... I found the problem. Just as the error message says, it 
couldn't get the peer name. My ftp server couldn't get a name for the ip 
address that was trying to connect. I guess tcp_wrappers requires a reverse 
name lookup before allowing a connection. Since it couldn't resolve the ip 
address, it denied the connection. I added the ip address and hostname in my 
hosts file and it worked.

- Cory Derrick


>From: "Cory Derrick" <coryderrick@hotmail.com>
>Reply-To: coryderrick@hotmail.com
>To: wu-ftpd@wugate.wustl.edu
>Subject: wu-ftp error that started occuring a couple of days ago
>Date: Wed, 04 Aug 1999 14:56:45 CDT
>
>Can someone please tell me what the following error might mean?
>
>...<snip>... ftpd[4248]: getpeername (in.ftpd): Transport endpoint is not
>connected
>
>I started getting this message a few days ago but it is only when a certain
>machine (a mainframe that has some automated procedure for trasfers a bunch
>of files) tries to connect. Other machines from the same location can ftp 
>in
>and login w/out any problems. I haven't had any problems with this before
>until Sunday morning. Does anyone know what maybe causing this. It is 
>fairly
>urgent to get that machine able to ftp in again.
>
>TIA,
>
>Cory Derrick
>
>
>_______________________________________________________________
>Get Free Email and Do More On The Web. Visit http://www.msn.com


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug  6 19:31:24 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA17895
	for <wuftpd@landfield.com>; Fri, 6 Aug 1999 19:31:24 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA20018;
	Fri, 6 Aug 1999 16:32:42 -0500 (CDT)
Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA13798
	for <wu-ftpd@mail.wustl.edu>; Fri, 6 Aug 1999 14:30:52 -0500 (CDT)
Received: from zrchb200.us.nortel.com (actually zrchb200) 
          by smtprch1.nortel.com; Fri, 6 Aug 1999 14:22:45 -0500
Received: by zrchb200.us.nortel.com with Internet Mail Service (5.5.2448.0) 
          id <QKP6YM2N>; Fri, 6 Aug 1999 14:30:10 -0500
Message-Id: <F35D5CFDF93ED311A2CD0000F808AAD83B373C@zftzd001.ca.nortel.com>
Date: Fri, 6 Aug 1999 14:29:55 -0500
Reply-To: danhb@nortelnetworks.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Daniel Bissetsmith" <danhb@nortelnetworks.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Anonymous users can't use subdirectories
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Orig: <danhb@americasm01.nt.com>
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

We are running two ftpd deamons, one for internal users and one for internet
users. The internal users can drop files, which are then accessible to
internet users, but not internal users. The internet users can drop files
which are accessible to internal users, but not internet users. (i.e. the
transfer is only one way for each user type).

The internal users can put and get files, but if they create a subdir, they
can't cd to it or drop files in it. When I look at the server, the directory
permissions of the subdirectory are set for internet users, instead of local
users.

ftp-access seems to be set to allow creation of subdirs and to drop files in
subdirs.

Suggestions?

Dan Bissetsmith
daniel.bissetsmith@nortelnetworks.com

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug  6 19:33:51 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA18004
	for <wuftpd@landfield.com>; Fri, 6 Aug 1999 19:33:51 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA03526;
	Fri, 6 Aug 1999 16:38:36 -0500 (CDT)
Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA13798
	for <wu-ftpd@mail.wustl.edu>; Fri, 6 Aug 1999 14:30:52 -0500 (CDT)
Received: from zrchb200.us.nortel.com (actually zrchb200) 
          by smtprch1.nortel.com; Fri, 6 Aug 1999 14:22:45 -0500
Received: by zrchb200.us.nortel.com with Internet Mail Service (5.5.2448.0) 
          id <QKP6YM2N>; Fri, 6 Aug 1999 14:30:10 -0500
Message-Id: <F35D5CFDF93ED311A2CD0000F808AAD83B373C@zftzd001.ca.nortel.com>
Date: Fri, 6 Aug 1999 14:29:55 -0500
Reply-To: danhb@nortelnetworks.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Daniel Bissetsmith" <danhb@nortelnetworks.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Anonymous users can't use subdirectories
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Orig: <danhb@americasm01.nt.com>
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

We are running two ftpd deamons, one for internal users and one for internet
users. The internal users can drop files, which are then accessible to
internet users, but not internal users. The internet users can drop files
which are accessible to internal users, but not internet users. (i.e. the
transfer is only one way for each user type).

The internal users can put and get files, but if they create a subdir, they
can't cd to it or drop files in it. When I look at the server, the directory
permissions of the subdirectory are set for internet users, instead of local
users.

ftp-access seems to be set to allow creation of subdirs and to drop files in
subdirs.

Suggestions?

Dan Bissetsmith
daniel.bissetsmith@nortelnetworks.com

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug  6 21:06:05 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id VAA23703
	for <wuftpd@landfield.com>; Fri, 6 Aug 1999 21:06:04 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA05069;
	Fri, 6 Aug 1999 21:06:46 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA02473
	for <wu-ftpd@wugate.wustl.edu>; Fri, 6 Aug 1999 21:04:24 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id WAA20845;
	Fri, 6 Aug 1999 22:04:21 -0400
Message-Id: <19990806220421.B20762@vr.net>
Date: Fri, 6 Aug 1999 22:04:21 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Daniel Bissetsmith <danhb@nortelnetworks.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Anonymous users can't use subdirectories
In-Reply-To: <F35D5CFDF93ED311A2CD0000F808AAD83B373C@zftzd001.ca.nortel.com>; from Daniel Bissetsmith on Fri, Aug 06, 1999 at 02:29:55PM -0500
References: <F35D5CFDF93ED311A2CD0000F808AAD83B373C@zftzd001.ca.nortel.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=wzJLGUyc3ArbnUjN; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--wzJLGUyc3ArbnUjN
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 06, 1999 at 02:29:55PM -0500, Daniel Bissetsmith wrote:

> We are running two ftpd deamons, one for internal users and one for
> internet users. The internal users can drop files, which are then
> accessible to internet users, but not internal users. The internet users
> can drop files which are accessible to internal users, but not internet
> users. (i.e. the transfer is only one way for each user type).
>=20
> The internal users can put and get files, but if they create a subdir,
> they can't cd to it or drop files in it. When I look at the server, the
> directory permissions of the subdirectory are set for internet users,
> instead of local users.
>=20
> ftp-access seems to be set to allow creation of subdirs and to drop files
> in subdirs.

If you're not running 2.5.0, upgrade to it.  Read the new manpage for
ftpaccess and read the upload.configuration.HOWTO.  BTW, I don't see any
partcilar reason for running two different servers for the problem you've
outlined.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--wzJLGUyc3ArbnUjN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN6uGEA2nXFkJc83RAQHBWQL+JpQAPsdzzRETv4FOG7oCzaWLr0xY+F0P
mJbahDJbdTG7tDHUqorHAfM9wmUwZRmo0IUsQMqd9tR9R9lWDMudD3tqveQQ6SG+
m3W/VGk5/bVO23IJPQ/89C6f1JpBsQJ+
=a+D8
-----END PGP SIGNATURE-----

--wzJLGUyc3ArbnUjN--

From owner-wu-ftpd@wugate.wustl.edu  Sat Aug  7 11:31:37 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA14674
	for <wuftpd@landfield.com>; Sat, 7 Aug 1999 11:31:36 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA15784;
	Sat, 7 Aug 1999 11:30:56 -0500 (CDT)
Received: from pecos.mis.earthlink.net (pecos.mis.earthlink.net [207.217.69.23])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA08298
	for <wu-ftpd@wugate.wustl.edu>; Sat, 7 Aug 1999 11:24:54 -0500 (CDT)
Received: by pecos.mis.earthlink.net with Internet Mail Service (5.5.2448.0)
	id <PD6JJJBP>; Sat, 7 Aug 1999 09:24:56 -0700
Message-Id: <1BEE67ADF602D3119F9A0008C79174C701B80FA3@PETRIFIED>
Date: Sat, 7 Aug 1999 09:24:56 -0700 
Reply-To: KJDurham@corp.earthlink.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Durham, Kenneth J" <KJDurham@corp.earthlink.net>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Chroot ftpusers
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have upgraded my wu-ftpd to 2.5.  Now that i have done that my ftpusers
are not chrooted to there dir.  I havent change anything in the passwd file
or in the group file.  i still have the users dir as
/ftp/usr/username/./webdocs/:/ftp/only.  Does this still work in 2.5?  Or do
i need to add something else to get this working.  I went through all the
help files and I still get the same thing ive already gotten.  Can someone
help me out?  Thanks for your time

From owner-wu-ftpd@wugate.wustl.edu  Sat Aug  7 15:53:20 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA17321
	for <wuftpd@landfield.com>; Sat, 7 Aug 1999 15:53:19 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA09094;
	Sat, 7 Aug 1999 15:52:50 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA04707
	for <wu-ftpd@wugate.wustl.edu>; Sat, 7 Aug 1999 15:46:58 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA28359;
	Sat, 7 Aug 1999 16:46:52 -0400
Message-Id: <19990807164652.C28273@vr.net>
Date: Sat, 7 Aug 1999 16:46:52 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Durham, Kenneth J" <KJDurham@corp.earthlink.net>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Chroot ftpusers
In-Reply-To: <1BEE67ADF602D3119F9A0008C79174C701B80FA3@PETRIFIED>; from Durham, Kenneth J on Sat, Aug 07, 1999 at 09:24:56AM -0700
References: <1BEE67ADF602D3119F9A0008C79174C701B80FA3@PETRIFIED>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="z4+8/lEcDcG5Ke9S"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--z4+8/lEcDcG5Ke9S
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 07, 1999 at 09:24:56AM -0700, Durham, Kenneth J wrote:

> I have upgraded my wu-ftpd to 2.5.  Now that i have done that my ftpusers
> are not chrooted to there dir.  I havent change anything in the passwd
> file or in the group file.  i still have the users dir as
> /ftp/usr/username/./webdocs/:/ftp/only.  Does this still work in 2.5?  Or
> do i need to add something else to get this working.  I went through all
> the help files and I still get the same thing ive already gotten.  Can
> someone help me out?  Thanks for your time

Check that the daemon is looking at your ftpaccess file: -a option on
command line, ckconfig command to check file is there and readable.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--z4+8/lEcDcG5Ke9S
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN6yNKQ2nXFkJc83RAQHvwAMAkMIi68GyCxWW0e+PGeq07Vdf7CAIW/VU
oZLeobRwiWLvRfNgJP1k1SJAx1Z9f22aQvQvUOo0dQuCTCU3fcms7LoxC3vo1XpE
TBeGZyYHYY6FamakuBnClTvso2QfLXJa
=5JWm
-----END PGP SIGNATURE-----

--z4+8/lEcDcG5Ke9S--

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  8 02:43:20 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id CAA23979
	for <wuftpd@landfield.com>; Sun, 8 Aug 1999 02:43:19 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA19078;
	Sun, 8 Aug 1999 02:40:03 -0500 (CDT)
Received: from wasabi.it.uq.edu.au (wasabi.it.uq.edu.au [130.102.192.56])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id CAA30150
	for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Aug 1999 02:37:17 -0500 (CDT)
Received: from whistle.it.uq.edu.au (dross@whistle.it.uq.edu.au [130.102.64.15]) by wasabi.it.uq.edu.au (8.8.7/8.8.7) with ESMTP id PAA23309 for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Aug 1999 15:25:46 +1000 (EST)
Received: from localhost (dross@localhost)
	by whistle.it.uq.edu.au (8.9.3/8.9.3) with ESMTP id PAA06491
	for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Aug 1999 15:25:44 +1000 (EST)
Message-Id: <Pine.GSO.4.10.9908081512010.6173-100000@whistle>
Date: Sun, 8 Aug 1999 15:25:44 +1000 (EST)
Reply-To: dross@csee.uq.edu.au
Sender: owner-wu-ftpd@wugate.wustl.edu
From: David Ross <dross@csee.uq.edu.au>
To: WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Makefile.sol
In-Reply-To: <Pine.LNX.4.03.9906141537590.19970-100000@gaia.vr.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: whistle.it.uq.edu.au: dross owned process doing -bs
X-Sender: dross@whistle
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Does anyone know why wu-ftpd-2.5.0/makefiles/Makefile.sol has:

BINDIR=         ${DESTDIR}/usr/sbin
and
SBINDIR=        ${DESTDIR}/etc

when every Solaris box I've worked on needs:

BINDIR=         ${DESTDIR}/usr/bin
and
SBINDIR=        ${DESTDIR}/usr/sbin

Is this something peculiar about my boxes or a bug?

Thanks - Dave.

-------------------------------------------------------------------------
Dave Ross

dross@csee.uq.edu.au
Department of Computer Science and Electrical Engineering,
The University of Queensland

David.Ross@citec.com.au
CFMU UNIX - TSG3 - Internet Team,
Facilities Management and Bureau Services,
CITEC (in Brisbane, Queensland, Australia.)
-------------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  8 03:26:59 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id DAA24361
	for <wuftpd@landfield.com>; Sun, 8 Aug 1999 03:26:59 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA19340;
	Sun, 8 Aug 1999 03:25:13 -0500 (CDT)
Received: from dell3.bentium.net ([202.102.3.254])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA09729
	for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Aug 1999 03:24:43 -0500 (CDT)
Received: (qmail 14734 invoked from network); 8 Aug 1999 04:23:52 -0000
Received: from unknown (HELO yhb.bentium.com) (202.102.3.249)
  by dell4.bentium.net with SMTP; 8 Aug 1999 04:23:52 -0000
Message-Id: <199908080824.DAA09729@wugate.wustl.edu>
Date: Sun, 8 Aug 1999 12:22:55 +0800
Reply-To: allanchen@bentium.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: chenjian <allanchen@bentium.net>
To: "wu-ftpd@mail.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: what is "virtual hosts"
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-mailer: FoxMail 2.1 [cn]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

What is "virtual hosts"?


From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  8 04:39:03 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id EAA25084
	for <wuftpd@landfield.com>; Sun, 8 Aug 1999 04:39:02 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA19448;
	Sun, 8 Aug 1999 04:38:28 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA05754
	for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Aug 1999 04:32:38 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id FAA00725;
	Sun, 8 Aug 1999 05:32:28 -0400
Message-Id: <19990808053228.A662@vr.net>
Date: Sun, 8 Aug 1999 05:32:28 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: David Ross <dross@csee.uq.edu.au>
Cc: WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Makefile.sol
In-Reply-To: <Pine.GSO.4.10.9908081512010.6173-100000@whistle>; from David Ross on Sun, Aug 08, 1999 at 03:25:44PM +1000
References: <Pine.LNX.4.03.9906141537590.19970-100000@gaia.vr.net> <Pine.GSO.4.10.9908081512010.6173-100000@whistle>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="k+w/mQv8wyuph6w0"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 08, 1999 at 03:25:44PM +1000, David Ross wrote:

> Does anyone know why wu-ftpd-2.5.0/makefiles/Makefile.sol has:
>=20
> BINDIR=3D         ${DESTDIR}/usr/sbin
> and
> SBINDIR=3D        ${DESTDIR}/etc
>=20
> when every Solaris box I've worked on needs:
>=20
> BINDIR=3D         ${DESTDIR}/usr/bin
> and
> SBINDIR=3D        ${DESTDIR}/usr/sbin
>=20
> Is this something peculiar about my boxes or a bug?

In 2.4.2 and earlier versions these were called BINDIR and ETCDIR
respectively.  I renamed them for consistency across platforms.  And
because, quite frankly, I wanted people to see eactly the kinds of dumb
things as you're pointing at.

Here's the phylosophy:

  The WU-FTPD, by default, is a drop-in replacement for the old, original
  BSD ftpd.

What that means is, for installation, the Makefile should put the WU-FTPD
daemon where the BSD daemon which originally came with your operating
system appears.  Now, you have to remember that all this is based on FIVE
to TEN YEARS AGO.  Worse yet, the configuration and installation files for
your (read: any) platform were done be someone with no time and little
knowledge (read: some FTP site administrator) whose only qualification to
do the work was he/she took the time to report back what was needed to get
it to work.

My personal take on it:

  Both locations are incorrect.  So is POSIX and the Single Unix Standard
  (or whatever the "standards" are Redhat claims when asked why they put
  something in the idiotic spot they did).

The correct location to install a package is /usr/local/<packagename>.  If
you need an /etc/<conffile> for the package, it should be a symlink to
/usr/local/<packagename>/<conffile>.  If you need several config files (say
Sendmail), /etc/<feature>/<files> is good.  I have /etc/ftpd /etc/mail
/etc/ntpd and so forth; makes things in /etc a lot easier to take care of.

I've tried a lot of other schemes; I like this one because it keeps the
packages separate.  The only thing I really don't like about it is all the
symlinks (which is why I'm moving toward /etc/<feature>).  But it is nice
knowing that all files for a package are in one place.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN61AlQ2nXFkJc83RAQF3HQL/W6fte7+MFs0ojFLZ6OlQSz5tvHZfJBO/
UqSS3+9v9g7pmqfs9qDqLQ2Q8aMPCouJcYWIRp3NHzMJEjAkEaAukQ4/+WQ6C/CO
+8U2O1rh3OV5NMqxUOWOT5imxnYHJmGh
=um6k
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug  8 04:44:20 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id EAA25166
	for <wuftpd@landfield.com>; Sun, 8 Aug 1999 04:44:19 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA09331;
	Sun, 8 Aug 1999 04:45:07 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAB16347
	for <wu-ftpd@wugate.wustl.edu>; Sun, 8 Aug 1999 04:40:53 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id FAA00752;
	Sun, 8 Aug 1999 05:40:19 -0400
Message-Id: <19990808054019.B662@vr.net>
Date: Sun, 8 Aug 1999 05:40:19 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: chenjian <allanchen@bentium.net>
Cc: "wu-ftpd@mail.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: what is "virtual hosts"
In-Reply-To: <199908080824.DAA09729@wugate.wustl.edu>; from chenjian on Sun, Aug 08, 1999 at 12:22:55PM +0800
References: <199908080824.DAA09729@wugate.wustl.edu>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="5/uDoXvLw7AC5HRs"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--5/uDoXvLw7AC5HRs
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 08, 1999 at 12:22:55PM +0800, chenjian wrote:

> What is "virtual hosts"?

What do you want it to mean?

You may choose anything EXCEPT "two names sharing an IP number" .. FTP
(not the software .. the protocol) does not provide for having different
"named-based virtual hosts sharing the same IP address".

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--5/uDoXvLw7AC5HRs
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN61Cbw2nXFkJc83RAQEY6AMArwI3WPgZhg7FXn50lOuYCF3oGpJnDM/u
iLFEDhHojw6zhObVhvoPPef6R1egediUjObEtdRXI9IfHSHT/uQdMB1dEIM5RRUD
19ePHFTZ6epS4OCVssthorGP6hIP+yhd
=xAZ7
-----END PGP SIGNATURE-----

--5/uDoXvLw7AC5HRs--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 10:51:59 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA17191
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 10:51:59 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA03121;
	Mon, 9 Aug 1999 10:50:48 -0500 (CDT)
Received: from gw1.bfg.com (gateway.bfg.com [131.187.253.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA10247
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 10:49:11 -0500 (CDT)
Received: (from uucp@localhost)
	by gw1.bfg.com (8.9.3/8.9.3) id UAA04880;
	Sun, 8 Aug 1999 20:41:09 -0400 (EDT)
Received: from ns1.bfg.com(192.73.67.20) by gw1.bfg.com via smap (V2.1)
	id sma004785; Sun, 8 Aug 99 20:40:35 -0400
Received: from localhost (keller@localhost)
	by ns1.bfg.com (8.9.3/8.9.3) with ESMTP id UAA24100;
	Sun, 8 Aug 1999 20:40:34 -0400 (EDT)
Message-Id: <Pine.GSO.4.10.9908082039060.24078-100000@ns1.bfg.com>
Date: Sun, 8 Aug 1999 20:40:34 -0400 (EDT)
Reply-To: keller@bfg.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ted Keller <keller@bfg.com>
To: "Durham, Kenneth J" <KJDurham@corp.earthlink.net>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Chroot ftpusers
In-Reply-To: <1BEE67ADF602D3119F9A0008C79174C701B80FA3@PETRIFIED>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ken,

Change your password file to be /ftp/usr/username/webdocs/./:/ftp/only

I've found that this configurations seems to work better with regard for
change-roots.

Also, make the corresponding changes in your ftpaccess file - since you
will now be chrooted at the webdocs livel.

ted keller - bfg.com


On Sat, 7 Aug 1999, Durham, Kenneth J wrote:

> I have upgraded my wu-ftpd to 2.5.  Now that i have done that my ftpusers
> are not chrooted to there dir.  I havent change anything in the passwd file
> or in the group file.  i still have the users dir as
> /ftp/usr/username/./webdocs/:/ftp/only.  Does this still work in 2.5?  Or do
> i need to add something else to get this working.  I went through all the
> help files and I still get the same thing ive already gotten.  Can someone
> help me out?  Thanks for your time
> 


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 11:09:25 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA17574
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 11:09:24 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA02483;
	Mon, 9 Aug 1999 11:09:58 -0500 (CDT)
Received: from nic.lth.se (root@nic.lth.se [130.235.20.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA00237
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 11:04:13 -0500 (CDT)
Received: from barbanet.com (G422.sparta.lu.se [194.47.241.185])
	by nic.lth.se (8.9.3/8.9.3) with ESMTP id MAA12341;
	Mon, 9 Aug 1999 12:02:33 +0200 (MET DST)
Message-Id: <37AEA70A.82EEBB30@barbanet.com>
Date: Mon, 09 Aug 1999 12:01:46 +0200
Reply-To: Mattias@barbanet.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Mattias Axelsson <Mattias@barbanet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ls not listing owner/group names when chroot'ed 
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is the probably the same problem that Michael St. Laurent asked
about 30 jun on this mailing list, but I couldn't find the solution to
the problem in the archives.

I would like guest users (I don't have anonymous access) to only be able
to access the /foo/ftp directory so I entered the following in my
/etc/wu-ftpd/ftpaccess:

  restricted-gid ftp nogroup

and setting their home directory in /etc/passwd to /foo/ftp

This works but it would be much safer to use a chroot'ed enviroment,
which means replacing the line above in ftpaccess with the following:

  guestgroup ftp nogroup
  guest-root /foo/ftp

and setting up /foo/ftp/{etc,bin,lib} correctly.
This works fine, except that uid/gid isn't decoded to real names.
I have set up the passwd and group files correctly, even tried with
copies of /etc/passwd and /etc/group and altered the users home
directory entry. In the bin directory I have a dynamically linked ls and
my Linux system says (using ldd) that the only libraries needed in lib
are libc.so.6 and ld-linux.so.2 (with the correct local symlinks, of
course). I have even tried to copy the complete /lib directory to
/foo/ftp/lib.
Still ls -l won't translate the uid/gid numbers to names.


Mattias Axelsson
Lund Institute of Technology, Sweden

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 11:44:36 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA18321
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 11:44:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA28696;
	Mon, 9 Aug 1999 11:43:39 -0500 (CDT)
Received: from dwdmx2.dwd.de (dwdmx2.dwd.de [141.38.2.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA28399
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 11:40:41 -0500 (CDT)
Received: (qmail 5640 invoked from network); 9 Aug 1999 06:49:24 -0000
Received: from unknown (HELO mhofsv1.dwd.de) (141.38.32.42)
  by dwdmx2.dwd.de with SMTP; 9 Aug 1999 06:49:24 -0000
Received: from tiofadm2.dwd.de by mhofsv1.dwd.de; Mon, 9 Aug 1999 09:39:41 +0200
Received: from dwd.de (localhost [127.0.0.1]) by tiofadm2.dwd.de (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id HAA06241 for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 07:39:17 GMT
Message-Id: <37AE85A5.C184F008@dwd.de>
Date: Mon, 09 Aug 1999 09:39:17 +0200
Reply-To: Andreas.Zierott@dwd.de
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Andreas Zierott <Andreas.Zierott@dwd.de>
To: WU-FTPD Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: "226 Closing data connection" appears too early
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: azierott@dwd.de
X-Mailer: Mozilla 4.07C-SGI [en] (X11; I; IRIX 6.3 IP32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

(Seems the list processor doesn't like me. Ok, once again...)

I've got a request by a customer. He complains that, when retrieving
large files, the reply "226 Closing data connection" appears long before
the transfer really completed. The customer remarks, that he has tested
it on different servers, but only on our server the problem happens.

We are using BeroFTPD-1.3.4. Can someone agree, that this problem
exists? Is it a bug (or perhaps a feature)? Or do I have to look
elsewhere?

BTW: What's going on with BeroFTPD, long nothing heard about it? Will
all it's features (especially improved virtual servers) be implemented
in WU-FTPD 2.6.0 or will it live on?

Thanx,
Andreas

--
Andreas Zierott
Deutscher Wetterdienst, Kaiserleistr 42, 63067 Offenbach/Main,  Germany
Tel: +49 69 80622250,Fax: +49 69 80622801,eMail: Andreas.Zierott@dwd.de

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 12:29:23 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id MAA19045
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 12:29:22 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA02214;
	Mon, 9 Aug 1999 12:29:43 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA18789
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 12:24:30 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id NAA12069;
	Mon, 9 Aug 1999 13:24:18 -0400
Message-Id: <19990809132414.C11529@vr.net>
Date: Mon, 9 Aug 1999 13:24:15 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Mattias Axelsson <Mattias@barbanet.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ls not listing owner/group names when chroot'ed
In-Reply-To: <37AEA70A.82EEBB30@barbanet.com>; from Mattias Axelsson on Mon, Aug 09, 1999 at 12:01:46PM +0200
References: <37AEA70A.82EEBB30@barbanet.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=EVF5PPMfhYS0aIcm; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 09, 1999 at 12:01:46PM +0200, Mattias Axelsson wrote:

> This is the probably the same problem that Michael St. Laurent asked
> about 30 jun on this mailing list, but I couldn't find the solution to
> the problem in the archives.
>=20
> I would like guest users (I don't have anonymous access) to only be able
> to access the /foo/ftp directory so I entered the following in my
> /etc/wu-ftpd/ftpaccess:
>=20
>   restricted-gid ftp nogroup
>=20
> and setting their home directory in /etc/passwd to /foo/ftp
>=20
> This works but it would be much safer to use a chroot'ed enviroment,
> which means replacing the line above in ftpaccess with the following:
>=20
>   guestgroup ftp nogroup
>   guest-root /foo/ftp
>=20
> and setting up /foo/ftp/{etc,bin,lib} correctly.
> This works fine, except that uid/gid isn't decoded to real names.
> I have set up the passwd and group files correctly, even tried with
> copies of /etc/passwd and /etc/group and altered the users home
> directory entry. In the bin directory I have a dynamically linked ls and
> my Linux system says (using ldd) that the only libraries needed in lib
> are libc.so.6 and ld-linux.so.2 (with the correct local symlinks, of
> course). I have even tried to copy the complete /lib directory to
> /foo/ftp/lib.
> Still ls -l won't translate the uid/gid numbers to names.

The problem with your second attempt is an incomplete setup (no passwd or
group file to map the numbers to names).  See the FAQ and the Guest HOWTO.

I'd use BOTH methods.  chroot people to a common point then restrict them
to their homes.  That way I only need one copy of the glue stuff needed for
chroot and I still keep them separate.

The location of the latest version of wu-ftpd can be found in the=20
directory
=20
      ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
=20
wu-ftpd Resource Center:  http://www.landfield.com/wu-ftpd/
wu-ftpd FAQ:              http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html
wu-ftpd list archive:     http://www.landfield.com/wu-ftpd/mail-archive/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--EVF5PPMfhYS0aIcm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN68AqQ2nXFkJc83RAQHbEQMAqPo0kn36aXBBAb5o5uz008HVuooLm8E9
8CsEkEHn3dbqHngIXnZEFaGHpf4Ri3VycHadQJBUTbyceAFYB7WHZAio6kB6HawP
aZD8hRYkY2LdzTlqsR5Cp7TiwC//1oGg
=Mb4k
-----END PGP SIGNATURE-----

--EVF5PPMfhYS0aIcm--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 13:47:05 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA20545
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 13:47:04 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA22157;
	Mon, 9 Aug 1999 10:29:23 -0500 (CDT)
Received: from molbio.unmc.edu (molbio.unmc.edu [137.197.214.37])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA01809
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 10:17:47 -0500 (CDT)
Received: from windsurf2 (windsurf2.unmc.edu [137.197.214.115])
	by molbio.unmc.edu (8.9.1b+Sun/8.9.1) with ESMTP id KAA07707;
	Mon, 9 Aug 1999 10:18:53 -0500 (CDT)
Message-Id: <4.2.0.58.19990809101333.00ba1ab0@137.197.214.37>
Date: Mon, 09 Aug 1999 10:18:50 -0500
Reply-To: cprice@molbio.unmc.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chad Price <cprice@molbio.unmc.edu>
To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Makefile.sol (Install locations)
In-Reply-To: <19990808053228.A662@vr.net>
References: <Pine.GSO.4.10.9908081512010.6173-100000@whistle>
 <Pine.LNX.4.03.9906141537590.19970-100000@gaia.vr.net>
 <Pine.GSO.4.10.9908081512010.6173-100000@whistle>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Sender: cprice@137.197.214.37
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

At 05:32 AM 8/8/1999 -0400, you wrote:
>My personal take on it:
>
>   Both locations are incorrect.  So is POSIX and the Single Unix Standard
>   (or whatever the "standards" are Redhat claims when asked why they put
>   something in the idiotic spot they did).
>
>The correct location to install a package is /usr/local/<packagename>.  If
>you need an /etc/<conffile> for the package, it should be a symlink to
>/usr/local/<packagename>/<conffile>.  If you need several config files (say
>Sendmail), /etc/<feature>/<files> is good.  I have /etc/ftpd /etc/mail
>/etc/ntpd and so forth; makes things in /etc a lot easier to take care of.
>
>I've tried a lot of other schemes; I like this one because it keeps the
>packages separate.  The only thing I really don't like about it is all the
>symlinks (which is why I'm moving toward /etc/<feature>).  But it is nice
>knowing that all files for a package are in one place.

This is exactly why I use GNU Stow.  It makes all the symlinks and verifies 
that none over-write existing ones.
         config --prefix=/usr/local/stow-dir/package-name

allows me to install it as:
         /usr/local/stow-dir/package-name/bin
         (etc)
and then cd to /usr/local/stow-dir  and issue the command
         stow package-name

Which creates all the symlinks to all the appropriate /usr/local/ 
directories. unstow inverts the process and cleans up all the symlinks 
without deleting any of the actual binaries or config files.  As a result, 
swapping between versions of packages verges on trivial. Stow it and test 
it. If it works, fine; otherwise, unstow it and stow the old one again.

Chad



Chad Price
Systems Manager
University of Nebraska Medical Center
600 S 42nd St
Omaha, NE 68506-6495
cprice@molbio.unmc.edu
(402) 559-9527
(402) 559-4077 (FAX)


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 13:47:55 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA20559
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 13:47:54 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA02122;
	Mon, 9 Aug 1999 13:48:10 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA07664
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 13:44:09 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA12871;
	Mon, 9 Aug 1999 14:43:04 -0400
Message-Id: <19990809144302.C12556@vr.net>
Date: Mon, 9 Aug 1999 14:43:02 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Andreas Zierott <Andreas.Zierott@dwd.de>
Cc: WU-FTPD Mailing List <wu-ftpd@wugate.wustl.edu>
Subject: Re: "226 Closing data connection" appears too early
In-Reply-To: <37AE85A5.C184F008@dwd.de>; from Andreas Zierott on Mon, Aug 09, 1999 at 09:39:17AM +0200
References: <37AE85A5.C184F008@dwd.de>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=O5XBE6gyVG5Rl6Rj; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--O5XBE6gyVG5Rl6Rj
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 09, 1999 at 09:39:17AM +0200, Andreas Zierott wrote:

> I've got a request by a customer. He complains that, when retrieving
> large files, the reply "226 Closing data connection" appears long before
> the transfer really completed. The customer remarks, that he has tested
> it on different servers, but only on our server the problem happens.

Your customer has lame client.  And I wonder which other daemons they
tested against.

That said, yes, the WU-FTPD daemon (and, therefore BeroFTPD) sends the 2xx
message immedeately after closing, and does not wait for the data socket to
close down.

One of the changes I've submitted for 2.6.0 (at the request of another user
in the field) is to force the daemon to wait until the data connection is
closed before sending the 2xx message.

I'm currently testing this change on ftp.wu-ftpd.org.  It seems to be
working about 99% of the time.  The problem I'm seeing is that sometimes
the daemon isn't timing out .. so I guess I'll be doing a little tweaking
in a bit.

> We are using BeroFTPD-1.3.4. Can someone agree, that this problem exists?
> Is it a bug (or perhaps a feature)? Or do I have to look elsewhere?

It's a (true) bug in the client which is tickled by a bug (oversight) in
the daemon.

> BTW: What's going on with BeroFTPD, long nothing heard about it? Will all
> it's features (especially improved virtual servers) be implemented in
> WU-FTPD 2.6.0 or will it live on?

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--O5XBE6gyVG5Rl6Rj
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN68TIg2nXFkJc83RAQHPxAMAptEUBxYiOpiNrP/UQ264F/TJjIYpC2v7
JsLALtHOLwwAYje6+bE4yz9sAJDPXq5J4ku7NWb+eXj66DoPfkZknghphipaZBmm
mWC9T+kS75HQQc/81E9h3wxHYVgxrznl
=Gk0m
-----END PGP SIGNATURE-----

--O5XBE6gyVG5Rl6Rj--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 16:33:09 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA23617
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 16:33:08 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA13452;
	Mon, 9 Aug 1999 16:32:33 -0500 (CDT)
Received: from bert.acesag.auburn.edu (bert.acesag.auburn.edu [131.204.46.47])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA22509
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 16:27:51 -0500 (CDT)
Received: from elmo (elmo [131.204.46.20])
	by bert.acesag.auburn.edu (8.8.8/8.8.8) with ESMTP id QAA11065;
	Mon, 9 Aug 1999 16:27:13 -0500 (CDT)
Message-Id: <Pine.GSO.4.10.9908091315270.7340-100000@elmo.acesag.auburn.edu>
Date: Mon, 9 Aug 1999 16:27:20 -0500 (CDT)
Reply-To: gparmer@acesag.auburn.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Gregory A. Parmer" <gparmer@acesag.auburn.edu>
To: David Ross <dross@csee.uq.edu.au>,
        Gregory A Lundberg <lundberg@wu-ftpd.org>
Cc: WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Makefile.sol
In-Reply-To: <19990808053228.A662@vr.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


On Sun, 8 Aug 1999, Gregory A Lundberg wrote:
> The correct location to install a package is /usr/local/<packagename>.  If
> you need an /etc/<conffile> for the package, it should be a symlink to

The caveat is that /usr/local/ may be used for SW that is available to all
machines at a site (via NFS). At such a site, the above makes for a tidy
installation at the expense of added network traffic.

Same for /opt/<packagename>.

In response to the original post, /usr/sbin/ and /etc work on my
Solaris boxes although it scatters files all over the system and
makes a general mess.

-greg


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 19:29:31 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA28858
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 19:29:30 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA24221;
	Mon, 9 Aug 1999 19:28:48 -0500 (CDT)
Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA29624
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 19:22:44 -0500 (CDT)
Received: from ms.uab.ericsson.se (ms.uab.ericsson.se [134.138.44.44])
	by penguin.wise.edt.ericsson.se (8.9.3/8.9.3/WIREfire-1.3) with ESMTP id CAA17222
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Aug 1999 02:22:42 +0200 (MET DST)
Received: from uabs28 (uabs28 [134.138.228.5])
	by ms.uab.ericsson.se (8.9.3/8.9.3/uab-1.37) with ESMTP id CAA04672
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Aug 1999 02:22:41 +0200 (MET DST)
Received: from uab.ericsson.se by uabs28 (8.8.8+Sun/client-1.3uab2)
	id CAA24097; Tue, 10 Aug 1999 02:22:40 +0200 (MET DST)
Message-Id: <37AF5CFF.EC557831@uab.ericsson.se>
Date: Tue, 10 Aug 1999 00:58:07 +0200
Reply-To: Johan.Claesson@uab.ericsson.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Johan Claesson <Johan.Claesson@uab.ericsson.se>
To: wu-ftpd@wugate.wustl.edu
Cc: WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Makefile.sol
References: <Pine.GSO.4.10.9908091315270.7340-100000@elmo.acesag.auburn.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: Johan.Claesson@uab.ericsson.se
X-Mailer: Mozilla 4.6 [en] (X11; I; SunOS 5.7 i86pc)
X-Accept-Language: en-US, sv
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

"Gregory A. Parmer" wrote:
> 
> On Sun, 8 Aug 1999, Gregory A Lundberg wrote:
> > The correct location to install a package is /usr/local/<packagename>.  If
> > you need an /etc/<conffile> for the package, it should be a symlink to
> 
> The caveat is that /usr/local/ may be used for SW that is available to all
> machines at a site (via NFS). At such a site, the above makes for a tidy
> installation at the expense of added network traffic.
> 
> Same for /opt/<packagename>.
> 
> In response to the original post, /usr/sbin/ and /etc work on my
> Solaris boxes although it scatters files all over the system and
> makes a general mess.
> 
> -greg

Greetings,

Probably off-topic, but...

I usally don't trust 'make install' for most packages. Most of them
installs where they were supposed to, but I have also discoverd some,
like Gregory mentioned, which scatters files around and makes a mess.
wu-ftpd is definetly not one of theese though.

Anyhow, I usally keep the entire distribution under /usr/local/pgm. Like
this:
% ls -F /usr/local/pgm
/usr/local/pgm:
wu-ftpd@    wu-ftpd-2.4.2-vr16/    wu-ftpd-2.5.0/

Where wu-ftpd is symbolic link pointing to the current release. In this
case:
ls -l wu-ftpd
... wu-ftpd -> wu-ftpd-2.5.0/

In /usr/sbin on our Solaris server there are symbolic links for ftpd,
ftpwho and ftpcount which are pointing to
/usr/local/pgm/wu-ftpd/bin/ftpd etc.

This makes it very easy and fast to upgrade to a more current release.
Download the latest tar-ball, unpack in /usr/local/pgm, make, and change
the wu-ftpd link under /usr/local/pgm, to point to the new release. The
/usr/sbin links will still remain and will point to the new release.
This way we never need to run a make install after a make, it simply
just works.


/J

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug  9 22:18:25 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id WAA08265
	for <wuftpd@landfield.com>; Mon, 9 Aug 1999 22:18:24 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA08915;
	Mon, 9 Aug 1999 22:17:55 -0500 (CDT)
Received: from infinity.erf.net (infinity.erf.net [209.144.18.194])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA10722
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 22:14:20 -0500 (CDT)
Received: from [209.197.193.221] (ftworth.tx.tnt1.221.fastlane.net [209.197.193.221])
	by infinity.erf.net (8.9.1a/8.9.1) with SMTP id WAA02604
	for <wu-ftpd@wugate.wustl.edu>; Mon, 9 Aug 1999 22:14:04 -0500
Message-Id: <199908100314.WAA02604@infinity.erf.net>
Date: Mon, 9 Aug 1999 22:14:04 -0500
Reply-To: brd@erf.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: brd <brd@erf.net>
To: <wu-ftpd@wugate.wustl.edu>
Subject: mac clients ls hangs
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi all,

I'm turning to this list as a last resort, so I hope it's not an 
inappropriate topic.  I'm trying to connect to a friend's redhat box 
running wu-ftpd 2.5.0, using a macintosh and various ftp clients (fetch 
3.0.3, websynch, anararchie).  At seemingly random times, my mac client 
will hang when getting a file listing.  I get the entire list of files, 
but the client just hangs, until I hit abort or it times out eventually.  
It happens randomly, and not always on the same directory.  Sometimes, a 
dir will list, then the next time it won't.  

I've used my same setup and software, and I can connect to my isp's ftp 
server (wu 2.4.2 acad 18) fine with no problems, so I don't think it's 
me.  However, I don't really know what the problem is server-side, to 
fix.  I couldn't find the answer in the faq or the mailing list archive.  
We compiled a static ls and put it in ~ftpd/bin, but it didn't help.  All 
my dirs and the parent dir of my $HOME have read and execute permissions. 
 Also, a command line ftp works fine, of course.

Any ideas?  Thanks in advance,
Brian
brd@erf.net

The third millenium begins January 1, 2001.


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 10 08:54:36 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA26967
	for <wuftpd@landfield.com>; Tue, 10 Aug 1999 08:54:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA21791;
	Tue, 10 Aug 1999 08:53:52 -0500 (CDT)
Received: from garcia.krjda.com ([204.249.105.145])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA28700
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Aug 1999 08:46:04 -0500 (CDT)
Received: (qmail 13870 invoked from network); 10 Aug 1999 13:43:38 -0000
Received: from unknown (HELO krjda.com) (204.249.105.150)
  by 204.249.105.145 with SMTP; 10 Aug 1999 13:43:38 -0000
Message-Id: <37B02C80.33820434@krjda.com>
Date: Tue, 10 Aug 1999 09:43:28 -0400
Reply-To: bdelph@krjda.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bill Delphenich <bdelph@krjda.com>
To: "WU-FTP, Mailing list" <wu-ftpd@wugate.wustl.edu>
Subject: Wierd time problem
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.61 [en] (WinNT; I)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

All at once yesterday, some files that have been uploaded to our FTP
site are showing a date that is exactly one year wrong (1998) when
viewed from Netscape.  It happens on both M$-based Netscape and Linux
Netscape as well. However if I go to the server and type "date" at the
command prompt, the date is correct. Also, if I look at the directory
using the "Home Directory" icon in KDE the date is correct.

What's going on here?




From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 10 09:43:31 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA27959
	for <wuftpd@landfield.com>; Tue, 10 Aug 1999 09:43:30 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA06854;
	Tue, 10 Aug 1999 09:44:18 -0500 (CDT)
Received: from molbio.unmc.edu (molbio.unmc.edu [137.197.214.37])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA10389
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Aug 1999 09:39:38 -0500 (CDT)
Received: from windsurf2 (windsurf2.unmc.edu [137.197.214.115])
	by molbio.unmc.edu (8.9.1b+Sun/8.9.1) with ESMTP id JAA02302;
	Tue, 10 Aug 1999 09:36:35 -0500 (CDT)
Message-Id: <4.2.0.58.19990810093309.00b9b100@137.197.214.37>
Date: Tue, 10 Aug 1999 09:36:36 -0500
Reply-To: cprice@molbio.unmc.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Chad Price <cprice@molbio.unmc.edu>
To: Johan.Claesson@uab.ericsson.se, wu-ftpd@wugate.wustl.edu
Cc: WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Makefile.sol (install locations)
In-Reply-To: <37AF5CFF.EC557831@uab.ericsson.se>
References: <Pine.GSO.4.10.9908091315270.7340-100000@elmo.acesag.auburn.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Sender: cprice@137.197.214.37
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hey guys - one more time.  GNU stow takes care of the location problems and 
intermingling of files from different packages. Why reinvent the wheel?

http://www.gnu.org/software/stow/stow.html  Which says:

GNU Stow

GNU Stow is a program for managing the installation of software packages, 
keeping them separate (/usr/local/stow/emacs vs. /usr/local/stow/perl, for 
example)
while making them appear to be installed in the same place (/usr/local).

You can read the Stow manual (52k characters) on-line.

Stow is a Perl script which should run correctly under Perl 4 and Perl 5. 
You must install Perl before running Stow. For more information about Perl, see
http://www.perl.com/perl/.

Stow was inspired by Carnegie Mellon's Depot program, but is substantially 
simpler. Whereas Depot requires database files to keep things in sync, Stow 
stores no extra
state between runs, so there's no danger (as there is in Depot) of mangling 
directories when file hierarchies don't match the database. Also unlike 
Depot, Stow will never
delete any files, directories, or links that appear in a Stow directory 
(e.g., /usr/local/stow/emacs), so it's always possible to rebuild the 
target tree (e.g., /usr/local).
Stow is free software, licensed under the GNU General Public License.

       Changes in version 1.3:
             Added --restow option.
             Fixed handling of slashes in package names.
             Expanded configure-time search for Perl binary.
       Changes in version 1.2:
             Dependency on `pwd' removed.
             Perl 4 compatibility fixes.
             Manual expanded even more.
       Changes in version 1.1:
             Long and short options now accepted.
             Manual expanded.
             `make clean' removes stow (which is generated from stow.in).

Please mail comments, questions, and criticisms to the author, Bob 
Glickstein, <bobg+stow@zanshin.com>.

Chad Price
Systems Manager
University of Nebraska Medical Center
600 S 42nd St
Omaha, NE 68506-6495
cprice@molbio.unmc.edu
(402) 559-9527
(402) 559-4077 (FAX)


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 10 15:21:49 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA04562
	for <wuftpd@landfield.com>; Tue, 10 Aug 1999 15:21:48 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA25662;
	Tue, 10 Aug 1999 15:21:17 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA01111
	for <wu-ftpd@wugate.wustl.edu>; Tue, 10 Aug 1999 15:16:50 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA27001;
	Tue, 10 Aug 1999 16:16:39 -0400
Message-Id: <19990810161639.D26415@vr.net>
Date: Tue, 10 Aug 1999 16:16:39 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Bill Delphenich <bdelph@krjda.com>
Cc: "WU-FTP, Mailing list" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Wierd time problem
In-Reply-To: <37B02C80.33820434@krjda.com>; from Bill Delphenich on Tue, Aug 10, 1999 at 09:43:28AM -0400
References: <37B02C80.33820434@krjda.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="/3yNEOqWowh/8j+e"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--/3yNEOqWowh/8j+e
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 10, 1999 at 09:43:28AM -0400, Bill Delphenich wrote:

> All at once yesterday, some files that have been uploaded to our FTP site
> are showing a date that is exactly one year wrong (1998) when viewed from
> Netscape.  It happens on both M$-based Netscape and Linux Netscape as
> well. However if I go to the server and type "date" at the command
> prompt, the date is correct. Also, if I look at the directory using the
> "Home Directory" icon in KDE the date is correct.
>=20
> What's going on here?

Sounds like a bug in the client.  Do away with all clients, use the
telnet.testing.HOWTO to see how to by-hand see what the daemon is sending
in responce to NLST -al .. compare that to what you see on the screen.  If
not the same, then there you go.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--/3yNEOqWowh/8j+e
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7B6kQ2nXFkJc83RAQFzzgL/YqOJfU+yueReLb14btI8xz/G1H0A/Ua9
fqv4hqqS8MfeBAmhxOODvnwQkO2FcfxEX5SruDbY5glw2ArsIVd2QMP2lP7dlx5S
VMMu1GAnH9o4GDk5R1KxMFnQvtOziSVt
=d19u
-----END PGP SIGNATURE-----

--/3yNEOqWowh/8j+e--

From owner-wu-ftpd@wugate.wustl.edu  Wed Aug 11 02:05:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id CAA14283
	for <wuftpd@landfield.com>; Wed, 11 Aug 1999 02:05:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA21216;
	Wed, 11 Aug 1999 02:03:55 -0500 (CDT)
Received: from mailbox.caramail.com (mailbox1.caramail.com [195.68.99.61])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA27913
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Aug 1999 01:53:20 -0500 (CDT)
Received: from caramail.com (www7.caramail.com [195.68.99.27])
	by mailbox.caramail.com (8.8.8/8.8.8) with SMTP id IAA04599
	for wu-ftpd@wugate.wustl.edu; Wed, 11 Aug 1999 08:52:34 +0100 (WET DST)
Message-Id: <934351181016011@caramail.com>
Date: Wed, 11 Aug 1999 08:53:13 GMT+1
Reply-To: yonel.iridium@caramail.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: yonel iridium <yonel.iridium@caramail.com>
To: wu-ftpd@wugate.wustl.edu
Subject: The return of time AND upload problems
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_NextPart_Caramail_016011934351181_ID"
X-Mailer: Caramail - www.caramail.com
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

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

hello,

I think that you haven't forgotten my last message.
But I will try to explain it with my poor english.

At work, I've installed Linux Redhat 6.0 and I'm using 
wu-ftpd to share files. The computer is a 486DX2-66, and 
all works perfectly.

At home, I've installed Linux Redhat 6.0 and I'm using 
wu-ftpd in order to give a large space of archiving to my 
demo group. The computer is a BI P-III at 500Mhz (YES !!!), 
and it have got little problems:

- The ftp client, (I've tested many of it) tell that it 
connected the server and wait for welcome message. But, 
this welcome message take a long time to be displayed. On a 
range of 2 or 3 minutes !!!!

- The second problem is: when I upload, I cannot have a 
transfert rate more than 500Ko/s !!!! Whereas the download 
have no quota and can send data in 100Mb/s in full duplex 
mode.

The last answer gived to me is:

< * Try the last version of wu-ftpd, look at the special  
version for redhat

I tryed it, and there is NO changes.

< * It's probably a kernel problem !!!

If there is, how to understand the fact that the download 
works perfectly ??? Which mean that the network card also, 
works perfectly, like all the other services. (httpd,...)

HELP, please HELP, It's my ONLY unresolved problem !!!

Thanks, for you answer.

______________________________________________________
Bo=eete aux lettres - Caramail - http://www.caramail.com


--=_NextPart_Caramail_016011934351181_ID--

From owner-wu-ftpd@wugate.wustl.edu  Wed Aug 11 16:51:21 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA27525
	for <wuftpd@landfield.com>; Wed, 11 Aug 1999 16:51:20 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA15195;
	Wed, 11 Aug 1999 16:50:33 -0500 (CDT)
Received: from sbehsd.sbceo.k12.ca.us (sbehsd.sbceo.k12.ca.us [204.48.149.250])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA32463
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Aug 1999 16:43:17 -0500 (CDT)
Received: from ashe_nt4 ([204.48.149.50]) by sbehsd.sbceo.k12.ca.us
          (Post.Office MTA v3.5.3 release 223 ID# 0-56937U2100L100S0V35)
          with SMTP id us for <wu-ftpd@wugate.wustl.edu>;
          Wed, 11 Aug 1999 14:43:04 -0700
Message-Id: <19990811214304596.AAA300@sbehsd.sbceo.k12.ca.us@ashe_nt4>
Date: Wed, 11 Aug 1999 14:38:18 -0700
Reply-To: ashe_ftp@sbehsd.sbceo.k12.ca.us
Sender: owner-wu-ftpd@wugate.wustl.edu
From: ashe_ftp@sbehsd.sbceo.k12.ca.us (Coutts, Ashe)
To: wu-ftpd@wugate.wustl.edu
Subject: ftp - can't see what's in the directory
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v3.11)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've just installed a RedHat 6 system. As the hard drive was 540MB 
I choose packages rather than use the EVERYTHING option. Now 
I'm trying to get anonymous ftp working. All is well Except that when 
I run WS_FTP Pro (a Win32 program) into the pub directory I see 
no files there. I can retreive and send files as long as I can specify 
the filename I know is there.  
I've set up several RH6 systems with the EVERYTHING option and 
all works well. What gives?? Answers/Ideas of course welcome -- 
Ashe Coutts




"Life can only be understood backwards;
  but it must be lived forwards."
   -- Soren Kierkegarrd 1813-1855


Ashe Coutts (ashe@sbceo.k12.ca.us)
805.963-4338 Ext 300
Fax 805.884.1557

From owner-wu-ftpd@wugate.wustl.edu  Wed Aug 11 18:22:36 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA28786
	for <wuftpd@landfield.com>; Wed, 11 Aug 1999 18:22:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA22556;
	Wed, 11 Aug 1999 18:22:10 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA15043
	for <wu-ftpd@wugate.wustl.edu>; Wed, 11 Aug 1999 18:17:37 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id TAA09800;
	Wed, 11 Aug 1999 19:17:31 -0400
Message-Id: <19990811191729.C9721@vr.net>
Date: Wed, 11 Aug 1999 19:17:30 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Coutts, Ashe" <ashe_ftp@sbehsd.sbceo.k12.ca.us>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftp - can't see what's in the directory
In-Reply-To: <19990811214304596.AAA300@sbehsd.sbceo.k12.ca.us@ashe_nt4>; from Coutts, Ashe on Wed, Aug 11, 1999 at 02:38:18PM -0700
References: <19990811214304596.AAA300@sbehsd.sbceo.k12.ca.us@ashe_nt4>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=aVD9QWMuhilNxW9f; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--aVD9QWMuhilNxW9f
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 11, 1999 at 02:38:18PM -0700, Coutts, Ashe wrote:

> I've just installed a RedHat 6 system. As the hard drive was 540MB I
> choose packages rather than use the EVERYTHING option. Now I'm trying to
> get anonymous ftp working. All is well Except that when I run WS_FTP Pro
> (a Win32 program) into the pub directory I see no files there. I can
> retreive and send files as long as I can specify the filename I know is
> there.  I've set up several RH6 systems with the EVERYTHING option and
> all works well. What gives?? Answers/Ideas of course welcome -- Ashe
> Coutts

A FAQ.

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--aVD9QWMuhilNxW9f
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7H2dg2nXFkJc83RAQFyUQMAqT3zyeS6jNF0Qr68pNoKDmpwK3Xm5pkP
KljPTooyVJ2YpR93MOZjeSvVuGlYH8oUlj6frE95PEtBIA/7lh7DPpdkAuS6lIiW
Uv7rOCtxIigGtHoOf/Uvt9Amd/U22c18
=jRP/
-----END PGP SIGNATURE-----

--aVD9QWMuhilNxW9f--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 12 01:52:32 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id BAA04707
	for <wuftpd@landfield.com>; Thu, 12 Aug 1999 01:52:31 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA26197;
	Thu, 12 Aug 1999 01:51:59 -0500 (CDT)
Received: from mailbox.caramail.com (mailbox1.caramail.com [195.68.99.61])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA22410
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Aug 1999 01:47:23 -0500 (CDT)
Received: from caramail.com (www2.caramail.com [195.68.99.22])
	by mailbox.caramail.com (8.8.8/8.8.8) with SMTP id IAA18002
	for wu-ftpd@wugate.wustl.edu; Thu, 12 Aug 1999 08:46:45 +0100 (WET DST)
Message-Id: <934438358002093@caramail.com>
Date: Thu, 12 Aug 1999 08:47:20 GMT+1
Reply-To: yonel.iridium@caramail.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: yonel iridium <yonel.iridium@caramail.com>
To: wu-ftpd@wugate.wustl.edu
Subject: RE: The return of time AND upload problems
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_NextPart_Caramail_002093934438358_ID"
X-Mailer: Caramail - www.caramail.com
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

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

The problem has been SOLVED !!!!!
It was a network card configuration problem, but I don't 
ever understand why it don't work correctly !

I made a 'rmmod' and an 'insmod', that's all !

Thanks for your " online-support "


Cordialement, YoNel.
Attention, le vengeur masqu=e9 est toujours pr=e8s =e0 surgir !

______________________________________________________
Bo=eete aux lettres - Caramail - http://www.caramail.com


--=_NextPart_Caramail_002093934438358_ID--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 12 20:36:19 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id UAA21656
	for <wuftpd@landfield.com>; Thu, 12 Aug 1999 20:36:19 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA19184;
	Thu, 12 Aug 1999 20:34:30 -0500 (CDT)
Received: from joker.mil.ufl.edu (joker.mil.ufl.edu [128.227.56.11])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA00202
	for <wu-ftpd@wugate.wustl.edu>; Thu, 12 Aug 1999 20:26:25 -0500 (CDT)
Received: from 98CB1F6C.ipt.aol.com by joker.mil.ufl.edu with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8)
	id QXGFKM3K; Thu, 12 Aug 1999 21:25:17 -0400
Message-Id: <37B3661E.5EAB4F12@mlr.ufl.edu>
Date: Thu, 12 Aug 1999 20:26:09 -0400
Reply-To: pomalley@mlr.ufl.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Patrick O'Malley" <pomalley@mlr.ufl.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: port theft?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

  I'm running wu-ftpd 2.5 on a RedHat Linux 5.2 (kernel 2.0.36) server.
  My problem is with tunnelling ftp over ssh. After making the
connection and authenticating to the ftp server, it replies with:
possible port theft cannot open data connection.
  This did not happen with version 2.4.

  Any ideas?

  Thanks,

  Patrick O'Malley


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 13 07:34:28 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA29913
	for <wuftpd@landfield.com>; Fri, 13 Aug 1999 07:34:28 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA24170;
	Fri, 13 Aug 1999 07:33:55 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA03731
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Aug 1999 07:29:13 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id IAA29737;
	Fri, 13 Aug 1999 08:29:08 -0400
Message-Id: <19990813082907.A29596@vr.net>
Date: Fri, 13 Aug 1999 08:29:07 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Patrick O'Malley" <pomalley@mlr.ufl.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: port theft?
In-Reply-To: <37B3661E.5EAB4F12@mlr.ufl.edu>; from Patrick O'Malley on Thu, Aug 12, 1999 at 08:26:09PM -0400
References: <37B3661E.5EAB4F12@mlr.ufl.edu>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=WIyZ46R2i8wDzkSu; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 12, 1999 at 08:26:09PM -0400, Patrick O'Malley wrote:

> I'm running wu-ftpd 2.5 on a RedHat Linux 5.2 (kernel 2.0.36) server.  My
> problem is with tunnelling ftp over ssh. After making the connection and
> authenticating to the ftp server, it replies with: possible port theft
> cannot open data connection.  This did not happen with version 2.4.

No, but 2.4 is so insecure that having your data stolen is the least of
your problems.

I have a testing version of the changes which will be in 2.6.0 to support
sites like yours.  Email me directly and I'll forward a copy so you ca
'test' it.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7QBfw2nXFkJc83RAQHb2wMAqNVuXN/OnwIumkZWVu87BG9DsBRkYRUd
JLDR79Ee8xfiLeHtdgFPH16KAMarxgaKavdZ/qUpec8vwe5hMzPafG0Gwj2GCcmJ
ZGc05hhVxxAdQtVokUeLnh2wNoI82fI3
=+/NZ
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 13 11:57:45 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA03997
	for <wuftpd@landfield.com>; Fri, 13 Aug 1999 11:57:44 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA20279;
	Fri, 13 Aug 1999 11:57:05 -0500 (CDT)
Received: from mercury.healtheon.com (mercury.healtheon.com [208.25.212.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA10492
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Aug 1999 11:52:45 -0500 (CDT)
Received: from hscape.healtheon.com (hscape [208.25.212.6])
	by mercury.healtheon.com (8.8.8/8.8.7) with ESMTP id JAA28653
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Aug 1999 09:52:39 -0700 (PDT)
Received: from helios.sf.healtheon.com (helios.sf.healtheon.com [192.168.101.5])
	by hscape.healtheon.com (8.9.1/8.9.1) with ESMTP id JAA13731
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Aug 1999 09:52:38 -0700 (PDT)
Received: from healtheon.com ([192.168.101.130])
	by helios.sf.healtheon.com (8.9.1/8.9.1) with ESMTP id JAA22990
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Aug 1999 09:52:33 -0700 (PDT)
Message-Id: <37B44D5E.947C7CD8@healtheon.com>
Date: Fri, 13 Aug 1999 09:52:46 -0700
Reply-To: minhh@healtheon.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Minh Huynh <minhh@healtheon.com>
To: wu-ftpd@wugate.wustl.edu
Subject: wu ftp
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.61 [en] (WinNT; U)
X-Accept-Language: zh-TW,en,zh,zh-CN
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Has anyone successfully compiled wu-ftpd 2.4 on freebsd version 3.0? I
had many errors when I tried to compile the beast.

-minh


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 13 13:28:37 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA05637
	for <wuftpd@landfield.com>; Fri, 13 Aug 1999 13:28:36 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA03285;
	Fri, 13 Aug 1999 13:29:21 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA16601
	for <wu-ftpd@wugate.wustl.edu>; Fri, 13 Aug 1999 13:23:27 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA32723;
	Fri, 13 Aug 1999 14:23:13 -0400
Message-Id: <19990813142312.B32653@vr.net>
Date: Fri, 13 Aug 1999 14:23:12 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Minh Huynh <minhh@healtheon.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu ftp
In-Reply-To: <37B44D5E.947C7CD8@healtheon.com>; from Minh Huynh on Fri, Aug 13, 1999 at 09:52:46AM -0700
References: <37B44D5E.947C7CD8@healtheon.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=7ZAtKRhVyVSsbBD2; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--7ZAtKRhVyVSsbBD2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 13, 1999 at 09:52:46AM -0700, Minh Huynh wrote:

> Has anyone successfully compiled wu-ftpd 2.4 on freebsd version 3.0? I
> had many errors when I tried to compile the beast.

Who cares?  Better yet, who really cares to remember that long ago?

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/


--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--7ZAtKRhVyVSsbBD2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7RUew2nXFkJc83RAQFCawL8DkdNUj8HdLs29bQN/w7UPnUio1GEfjdo
Wh4hqSC/em/v8CWyqp4F15DnyOavt/Xs8iQbbJU7kSW4L9jklyvOWFogDo8ssDrb
WPwZYByHmef2+x7lLj+1RrLzFiu1xpf0
=OxN7
-----END PGP SIGNATURE-----

--7ZAtKRhVyVSsbBD2--

From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 14 01:04:49 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id BAA04210
	for <wuftpd@landfield.com>; Sat, 14 Aug 1999 01:04:48 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA10664;
	Sat, 14 Aug 1999 01:03:59 -0500 (CDT)
Received: from suede.plea.se (root@[193.14.227.64])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA05876
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Aug 1999 01:01:02 -0500 (CDT)
Received: from db_notebook (t5o33p32.telia.com [195.198.243.32])
	by suede.plea.se (8.9.3/8.9.3/Debian/GNU) with SMTP id GAA22366
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Aug 1999 06:53:32 +0200
Message-Id: <001b01bee61a$0b440d60$20f3c6c3@db_notebook.puressence>
Date: Sat, 14 Aug 1999 07:58:33 +0200
Reply-To: darijo@suede.plea.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Darijo" <darijo@suede.plea.se>
To: <wu-ftpd@wugate.wustl.edu>
Subject: stay in thier home dir
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id BAA02453
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

I have wu-ftpd on my Linux-Debian server and now I have a problem..

it's like this, if a user ftp in they get to their home dir, that´s ok, but then they can
go out from their home dir and go out to the whole hard drive and look at files and 
so on,so my question is, is there any way to do so that the users can not go out from
their home dirs, and is there anyway to exclude any user, I mean I still want to be able
to do that and not anyone else.

Best regards,

/Darijo


From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 14 12:58:47 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id MAA10313
	for <wuftpd@landfield.com>; Sat, 14 Aug 1999 12:58:47 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA12168;
	Sat, 14 Aug 1999 12:58:10 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA23622
	for <wu-ftpd@wugate.wustl.edu>; Sat, 14 Aug 1999 12:55:36 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id NAA10401;
	Sat, 14 Aug 1999 13:55:26 -0400
Message-Id: <19990814135522.B10354@vr.net>
Date: Sat, 14 Aug 1999 13:55:24 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Darijo <darijo@suede.plea.se>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: stay in thier home dir
In-Reply-To: <001b01bee61a$0b440d60$20f3c6c3@db_notebook.puressence>; from Darijo on Sat, Aug 14, 1999 at 07:58:33AM +0200
References: <001b01bee61a$0b440d60$20f3c6c3@db_notebook.puressence>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=BXVAT5kNtrzKuDFl; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


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

On Sat, Aug 14, 1999 at 07:58:33AM +0200, Darijo wrote:

> it's like this, if a user ftp in they get to their home dir, that=B4s ok,
> but then they can go out from their home dir and go out to the whole hard
> drive and look at files and so on,so my question is, is there any way to
> do so that the users can not go out from their home dirs, and is there
> anyway to exclude any user, I mean I still want to be able to do that and
> not anyone else.

You need to run 2.5.0, read the Guest HOWTO and use the 'restricted-uid'
feature.

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7WfdA2nXFkJc83RAQHuagMAwlH6cR++fNHY/Jb8eza645LH7G0H59+v
2bJa5l0W3x0Qo/EmWttI1+Trxk01PMxQ0UICcujVKMtALWA+jcIJEnV+oFUzyC//
RG7NCaQFFn6dt3zrmvYNZBrraoeNvz0U
=3jHX
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 16 10:08:11 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA12885
	for <wuftpd@landfield.com>; Mon, 16 Aug 1999 10:08:10 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA02434;
	Mon, 16 Aug 1999 10:06:35 -0500 (CDT)
Received: from iceman.colorado.edu (iceman.Colorado.EDU [128.138.135.31])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA26882
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Aug 1999 09:58:12 -0500 (CDT)
Received: (from troisi@localhost)
	by iceman.colorado.edu (8.9.3/8.9.3/UnixOps+NoHesiod (PDH)) id IAA12717;
	Mon, 16 Aug 1999 08:58:11 -0600 (MDT)
Message-Id: <9908160858.ZM12517@iceman.colorado.edu>
Date: Mon, 16 Aug 1999 08:58:11 -0600
Reply-To: troisi@iceman.colorado.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Vincent J. Troisi" <troisi@iceman.colorado.edu>
To: wu-ftpd@wugate.wustl.edu
Cc: troisi@iceman.colorado.edu
Subject: Log time stamp inconsistency (Y2K)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
X-Mailer: Z-Mail (3.0.1 14feb94)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Hi!


I had an interesting result when we performed our Y2K validation.
We are running Version wu-2.1c(2) as our ftp server on an
SGI Challenge (IRIX 5.3). The SGI OS has been patched to
handle Y2K issues.

Our test for ftp compliance was performed by
synching the dates on a client and our ftp server;
both systems had dates set to March 1 2000.
A file was transferred to the ftp server. The time
stamp of the file was correct (Mar 1 2000 00:13) but
the entry in the xferlog file had a transfer time of
March 2 2000 00:13! Has anyone else attempted
a similar test and had similar or differing results?



-- 
__________________________________________________________________________

Vincent J. Troisi					
University of Colorado			
CIRES/NSIDC				Phone: 303.492.1827
Campus Box 449				Fax:   303.492.2468
Boulder, CO 80309-0449			Email: troisi@kryos.colorado.edu
__________________________________________________________________________

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 16 17:00:49 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id RAA21375
	for <wuftpd@landfield.com>; Mon, 16 Aug 1999 17:00:49 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA09621;
	Mon, 16 Aug 1999 16:57:41 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA13932
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Aug 1999 11:05:43 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id MAA27614;
	Mon, 16 Aug 1999 12:05:31 -0400
Message-Id: <19990816120530.A27533@vr.net>
Date: Mon, 16 Aug 1999 12:05:31 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Vincent J. Troisi" <troisi@iceman.colorado.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Log time stamp inconsistency (Y2K)
In-Reply-To: <9908160858.ZM12517@iceman.colorado.edu>; from Vincent J. Troisi on Mon, Aug 16, 1999 at 08:58:11AM -0600
References: <9908160858.ZM12517@iceman.colorado.edu>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=VS++wcV0S1rZb1Fb; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 16, 1999 at 08:58:11AM -0600, Vincent J. Troisi wrote:

> I had an interesting result when we performed our Y2K validation.  We are
> running Version wu-2.1c(2) as our ftp server on an SGI Challenge (IRIX
> 5.3). The SGI OS has been patched to handle Y2K issues.
>=20
> Our test for ftp compliance was performed by synching the dates on a
> client and our ftp server; both systems had dates set to March 1 2000.  A
> file was transferred to the ftp server. The time stamp of the file was
> correct (Mar 1 2000 00:13) but the entry in the xferlog file had a
> transfer time of March 2 2000 00:13! Has anyone else attempted a similar
> test and had similar or differing results?

I cannot imagine why anyone would bother.

Your system is so old and has such severe security problems, I'm sure the
hackers using it (and I'd not be surprised to learn there's been a few
thousand of them) just chuckle and overwrite your system logs using the
lame dates so you'll not notice.  That's if they even both letting you see
your system logs.

For purely acedemic reasons, if you actually have the _original_ source kit
to a version of the deamon that old, I'd be interested in adding it to the
attic area of the ftp site .. not that anyone would ever want to use it,
but it might be nice to have some of the old, lost code like you're running
in case someone wants to know when Bryon added a particular feature.

In the meantime, I STRONGLY suggest you completely disconnect that computer
from ALL networks and IMMEDEATELY begin the process of regaining control of
your computer.  If you need assistance, there's a good reference on
'Detecting and Recovering from a Root Compromise' at http://www.CERT.org/

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7gotQ2nXFkJc83RAQFWmgMAtgCooWAqCa3akN9E9wjjD9VWRNMlCAbx
1aPENA0I+ShRgsQNic+lY3zQnVPhEt/dw4G01xSKx7y2iD1eLObFVTrr0kHlGjMa
2ZvFBTzgFgVM/4bSRdZ1LWSt7vutjion
=tFB4
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 16 17:05:00 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id RAA21438
	for <wuftpd@landfield.com>; Mon, 16 Aug 1999 17:05:00 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA32583;
	Mon, 16 Aug 1999 17:05:14 -0500 (CDT)
Received: from gatekeep.ti.com (gatekeep.ti.com [192.94.94.61])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA27268
	for <wu-ftpd@wugate.wustl.edu>; Mon, 16 Aug 1999 16:59:04 -0500 (CDT)
Received: from spanky.dal.asp.ti.com ([172.24.154.20]) by gatekeep.ti.com (8.9.3) with ESMTP id QAA09076; Mon, 16 Aug 1999 16:58:33 -0500 (CDT)
Received: from pavis.asic.sc.ti.com (pavis.asic.sc.ti.com [128.247.100.46])
	by spanky.dal.asp.ti.com (8.8.8+Sun/8.8.8/FL-ASP-1.13) with ESMTP id QAA10822;
	Mon, 16 Aug 1999 16:58:32 -0500 (CDT)
Received: (from bobl@localhost) by pavis.asic.sc.ti.com (8.8.6 (PHNE_17135)/8.7.1) id QAA22494; Mon, 16 Aug 1999 16:58:31 -0500 (CDT)
Message-Id: <199908162158.QAA22494@pavis.asic.sc.ti.com>
Date: Mon, 16 Aug 1999 16:58:31 CDT
Reply-To: bobl@ti.com (Bob Luckin)
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bob Luckin <bobl@dal.asp.ti.com>
To: troisi@iceman.colorado.edu
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Log time stamp inconsistency (Y2K)
In-Reply-To: <9908160858.ZM12517@iceman.colorado.edu>; from "Vincent J. Troisi" at Aug 16, 99 8:58 am
X-MIMI-Options: HEADERS TI2
X-Mailer: Elm [revision: 212.4]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Vincent wrote :-
> I had an interesting result when we performed our Y2K validation.
> We are running Version wu-2.1c(2) as our ftp server on an
> SGI Challenge (IRIX 5.3). The SGI OS has been patched to
> handle Y2K issues.
> 
> Our test for ftp compliance was performed by
> synching the dates on a client and our ftp server;
> both systems had dates set to March 1 2000.
> A file was transferred to the ftp server. The time
> stamp of the file was correct (Mar 1 2000 00:13) but
> the entry in the xferlog file had a transfer time of
> March 2 2000 00:13! Has anyone else attempted
> a similar test and had similar or differing results?

I haven't tried this, but...

Version wu-2.1c is _very_ old (circa 1993 or 1994 I think), and has some
known security flaws, so you might want to consider upgrading to the latest
release (2.5.0).

Having said that, both 2.1c and 2.5.0 generate the date for the xferlog by
calling time()
   time_t curtime = time(NULL);
and later on calling sprintf, and supplying a format of "%.24s" with the
output of a call to ctime...

2.1c :-
   sprintf(msg, "%.24s %d %s %d %s %c %s %c %c %s ftp %d %s\n",
           ctime(&curtime),
           ...

2.5.0 :-
   sprintf(msg, "%.24s %d %s %" L_FORMAT " ",
           ctime(&curtime),
   ...

(It was discovered that sprintf() under some OS's was quite limited in the
number of parameters it could be passed; hence the reason the 2.5.0 call is
a shorter format string - the output gets concatenated with a subsequent
sprintf() call which produces the rest of the string.)

This makes me believe that upgrading to 2.5.0 may not fix the problem;
I wonder if IRIX 5.3 ineeds another patch to fix ctime()...  You could write
a small stand-alone program to test this hypothesis.

Of course, you may want to upgrade to 2.5.0 for other reasons, since you are
running such an old version at present.

Good luck !

Cheers, Bob
-- 
Bob Luckin      bobl@ti.com      "Coder, adapt.  FTP Ada, redo C."

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 07:06:14 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA22562
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 07:06:13 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA32024;
	Tue, 17 Aug 1999 07:05:12 -0500 (CDT)
Received: from mailfw1.ford.com (mailfw1.ford.com [136.1.1.26])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA13254
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 06:55:37 -0500 (CDT)
Received: by mailfw1.ford.com id HAA10970
  (InterLock SMTP Gateway 4.2 for wu-ftpd@wugate.wustl.edu);
  Tue, 17 Aug 1999 07:55:36 -0400
Received: by mailfw1.ford.com (Internal Mail Agent-1);
  Tue, 17 Aug 1999 07:55:36 -0400
Message-Id: <199908171155.HAA10970@mailfw1.ford.com>
Date: Tue, 17 Aug 1999 07:55:29 -0400
Reply-To: aadams6@ford.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Adams, Ann (A.M.)" <aadams6@ford.com>
To: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: virtual servers with 2.5.0 on Solaris 2.6
Mime-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>   H I
> The virtual servers appear to work 99% .  The issue I appear to
> be having yet is the root directory that NIS users start in.  The
> default appears to be their own /home directory.
> 
> I tried  "virtual <ip addrss> root /home/ftp".  This appears to work for
> anonymous user, but not a standard NIS user.  Is this suppose to work
> for all user? am I missing a configuration user in the ftpaccess user?
> These users can be anywhere in the building and belong to no particular
> group.  The banner line works with the virtual server, so it is reading
> /etc/ftpaccess.
> 
> from the man page...  This makes it appear that this should be
> sufficient.
>   virtual <address> <root|banner|logfile> <path>^M
>    527            Enables  the  virtual  ftp  server  capabilities.
> The^M
>    528            <address>  is the ip address of the virtual server.
> The^M
>    529            second argument specifies that the <path> is either
> the^M
>    530            path  to  the  root  of the filesystem for this
> virtual^M server, the banner presented to the user when  connect-^M
> etc...
> 
> My attempted work arond is to use:
> guestuser *
> guest-root /home/ftp
> in /etc/ftpaccess.  This appears to work and my users now start in
> /home/ftp.  Unfortunately, I have more than one virtual server, so I
> want different servers having different root(home) directories for the
> users.  Is there a way to spcify the virtual server in this case?
> 
> Thanks!

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 07:47:05 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA23261
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 07:47:04 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA15544;
	Tue, 17 Aug 1999 07:47:36 -0500 (CDT)
Received: from server1.c-ids.net ([209.47.225.220])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA12383
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 07:41:31 -0500 (CDT)
Received: from mqbot13 (p3E9D410D.dip0.t-ipconnect.de [62.157.65.13]) by server1.c-ids.net (8.8.8) id NAA02388; Tue, 17 Aug 1999 13:46:08 GMT
Message-Id: <199908171346.NAA02388@server1.c-ids.net>
Date: Tue, 17 Aug 1999 14:39:31 +0200
Reply-To: webmaster@c-ids.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Dimitrios Karvounaris" <webmaster@c-ids.net>
To: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Replacing wuftpd with BeroFTPD doesn't work?
In-Reply-To: <199908171155.HAA10970@mailfw1.ford.com>
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v3.11)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi, 

I have setup on a new server BeroFTPD, as I have on my old server. 
But I want to use now chrooted users. 

I have search in the mailinglist archive for infos and have found, that I 
must use guestusers. I have also setup this and if I try this with wu-ftpd 
2.5.0 it is working now without problems. But if I try the same 
configuration with BeroFTPD 1.3.4, it is chrooting only on anonymous 
access, but not with the other users. 
I have tried to compile this with other options and checked twice the 
correct location of ftpaccess, but don't have found the problem. 

Can somebody help me with that? 

Thanx!



# Dimitrios Karvounaris       Email: info@c-ids.net 
# Bastionstrasse 51           Tel: (02941) 65 80 51
# 59555 Lippstadt             
*
# www.C-IDS.net                 www.WebSitePark.com
*
# Bank:  SSK Lippstadt
# BLZ:   416 500 01
# Konto: 19 513
 

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 08:13:22 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA23697
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 08:13:22 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA21277;
	Tue, 17 Aug 1999 08:13:50 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA05399
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 08:09:09 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA05233;
	Tue, 17 Aug 1999 09:09:00 -0400
Message-Id: <19990817090859.A5000@vr.net>
Date: Tue, 17 Aug 1999 09:09:00 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Adams, Ann (A.M.)" <aadams6@ford.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: virtual servers with 2.5.0 on Solaris 2.6
In-Reply-To: <199908171155.HAA10970@mailfw1.ford.com>; from Adams, Ann (A.M.) on Tue, Aug 17, 1999 at 07:55:29AM -0400
References: <199908171155.HAA10970@mailfw1.ford.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=+QahgC5+KEYLbs62; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 1999 at 07:55:29AM -0400, Adams, Ann (A.M.) wrote:

> > The virtual servers appear to work 99% .  The issue I appear to be
> > having yet is the root directory that NIS users start in.  The default
> > appears to be their own /home directory.
> >=20
> > I tried  "virtual <ip addrss> root /home/ftp".  This appears to work
> > for anonymous user, but not a standard NIS user.  Is this suppose to
> > work for all user? am I missing a configuration user in the ftpaccess
> > user?  These users can be anywhere in the building and belong to no
> > particular group.  The banner line works with the virtual server, so it
> > is reading /etc/ftpaccess.
> >=20
> > from the man page...  This makes it appear that this should be
> > sufficient.
> >   virtual <address> <root|banner|logfile> <path>^M
> >    527            Enables  the  virtual  ftp  server  capabilities.
> > The^M
> >    528            <address>  is the ip address of the virtual server.
> > The^M
> >    529            second argument specifies that the <path> is either
> > the^M
> >    530            path  to  the  root  of the filesystem for this
> > virtual^M server, the banner presented to the user when  connect-^M
> > etc...
> >=20
> > My attempted work arond is to use:
> > guestuser *
> > guest-root /home/ftp
> > in /etc/ftpaccess.  This appears to work and my users now start in
> > /home/ftp.  Unfortunately, I have more than one virtual server, so I
> > want different servers having different root(home) directories for the
> > users.  Is there a way to spcify the virtual server in this case?

You could use BeroFTPD to get this.  This is one of the cases where I've
always said BeroFTPD should be used.

Or you could use a fancy inet daemon (xinetd is what I use) and select a
different ftpaccess file for each vhost.  This works but is a pain to set
up.

If you organize your users so the ID numbers are arranged by the vhost you
want the user to use, you can specify those ranges on the guest-root .. ie:

 # No non-anonymous access on the default server
 defaultserver deny *=20
 # Except these three
 defaultserver allow user1 user2 user3
 # These users on vhost 1
 virtual vhost1 allow user4 user5 user6
 guest-root /home/vhost1 user4 user5 user6
 # And these on vhost 2
 virtual vhost2 allow user7 user8 user9
 # Users 7 through 9 are UID 20007 through 20009
 guest-root /home/vhost2 %20007-20009

Looking at the code for the defaultserver/virutal allow/deny, I see it ONLY
accepts user NAMES and does not accept UID numbers or ranges.  The code for
guest-root does.  It shouldn't be too much work to copy that code from
guest-root to the allow/deny functions.  [My head's into other things right
now or I'd offer to do it .. if you get it, send the patches along and I'll
propose them for an upcoming release.]

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7lQ1Q2nXFkJc83RAQEJeQMAzOX03vB8rc5m57V+zuB1wtTyQ5RvS/WU
eY4ERVvsA51sKBWgbJ4XfTE/03N/jdknpBimJHoxr36dKLvv2yUOXkuqzUm66CHU
Gf29W46K6OR5sVILZ++tvBeH9CXqic2T
=c5DR
-----END PGP SIGNATURE-----

--+QahgC5+KEYLbs62--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 08:19:45 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA23830
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 08:19:43 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA10729;
	Tue, 17 Aug 1999 08:20:18 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA19044
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 08:16:41 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA05326;
	Tue, 17 Aug 1999 09:16:34 -0400
Message-Id: <19990817091633.B5000@vr.net>
Date: Tue, 17 Aug 1999 09:16:34 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Dimitrios Karvounaris <webmaster@c-ids.net>
Cc: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Replacing wuftpd with BeroFTPD doesn't work?
In-Reply-To: <199908171346.NAA02388@server1.c-ids.net>; from Dimitrios Karvounaris on Tue, Aug 17, 1999 at 02:39:31PM +0200
References: <199908171155.HAA10970@mailfw1.ford.com> <199908171346.NAA02388@server1.c-ids.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=TRYliJ5NKNqkz5bu; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 1999 at 02:39:31PM +0200, Dimitrios Karvounaris wrote:

> I have setup on a new server BeroFTPD, as I have on my old server.   But
> I want to use now chrooted users.=20
>=20
> I have search in the mailinglist archive for infos and have found, that I
> must use guestusers. I have also setup this and if I try this with
> wu-ftpd 2.5.0 it is working now without problems. But if I try the same
> configuration with BeroFTPD 1.3.4, it is chrooting only on anonymous
> access, but not with the other users.   I have tried to compile this with
> other options and checked twice the correct location of ftpaccess, but
> don't have found the problem.=20

I'm sure Bernhard will correct me if I'm wrong ...

If you're talking about the old 'guestgroup' clause, this should be working
in BeroFTPD.  Probably the problem is a missing entry for the users in
/etc/group: there seems to be a lot of confusion by this on both WU-FTPD
and BeroFTPD .. the user MUST be explicitly listed in the named guestgroup
in /etc/groups for guestgroup to take effect.  With BeroFTPD this is
compounded by the possibilty of multiple etc/group files.

If you're talking about guest-root, ISTM this is one of the later features
of WU-FTPD which has not yet made it into BeroFTPD.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7lSnA2nXFkJc83RAQGNegMAm1L1Fokf+AW+f8UzYLmp73S2IIUPeJbk
YMIwmqrbnRFoMU+MaMeejrucCjz9cpFg5pxncLiTBkckSsckd7fGI6UfkOUjwfkh
RVMfUo+MaNd4RK58a9SbhaYF6gfXwP4h
=7x0v
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 08:24:54 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA23965
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 08:24:53 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA25201;
	Tue, 17 Aug 1999 08:25:32 -0500 (CDT)
Received: from ACML.COM (gtwy1.acml.com [207.140.173.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA12854
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 08:19:22 -0500 (CDT)
Received: from njmta1.acml.com by ACML.COM (SMI-8.6/SMI-SVR4)
	id JAA27093; Tue, 17 Aug 1999 09:19:21 -0400
Received: by njmta1.acml.com(Lotus SMTP MTA v4.6.3  (733.2 10-16-1998))  id 852567D0.004927C7 ; Tue, 17 Aug 1999 09:19:03 -0400
Message-Id: <852567D0.004926F1.00@njmta1.acml.com>
Date: Tue, 17 Aug 1999 09:18:22 -0400
Reply-To: Naveen_Malhotra@ACML.COM
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Naveen_Malhotra@ACML.COM
To: wu-ftpd@wugate.wustl.edu
Subject: WU-FTP - chroot setup
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Lotus-FromDomain: ALLIANCE CAPITAL
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN




Hi,

I'm trying to configure wu-ftp in a chrooted environment. I am able to do it for
anonymous and guest user. How can I do the same for an existing real user?
Please advise.

Regards,
Naveen Malhotra



From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 08:39:54 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA24220
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 08:39:53 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA20516;
	Tue, 17 Aug 1999 08:40:22 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA05148
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 08:35:57 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA05553;
	Tue, 17 Aug 1999 09:35:52 -0400
Message-Id: <19990817093551.A5496@vr.net>
Date: Tue, 17 Aug 1999 09:35:52 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Naveen_Malhotra@ACML.COM
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: WU-FTP - chroot setup
In-Reply-To: <852567D0.004926F1.00@njmta1.acml.com>; from Naveen_Malhotra@ACML.COM on Tue, Aug 17, 1999 at 09:18:22AM -0400
References: <852567D0.004926F1.00@njmta1.acml.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=EVF5PPMfhYS0aIcm; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 1999 at 09:18:22AM -0400, Naveen_Malhotra@ACML.COM wrote:

> I'm trying to configure wu-ftp in a chrooted environment. I am able to do
> it for anonymous and guest user. How can I do the same for an existing
> real user?  Please advise.

The only difference between real and guest is the chroot .. make the real
users guests.  In fact, you should make ALL non-anonymous users guests:

  guestuser *

Some people like to leave one or two non-anonymous users a real.  I
recommend against this.

  realuser ftpadmin

You can also use guestgroup/realgroup but you need to remember the users
MUST be explicitly listed in /etc/groups for these to take effect.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--EVF5PPMfhYS0aIcm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7lXIA2nXFkJc83RAQG5PAL/WTsVuHuBEcsQuC2cngYbjPUzbyCQhFsF
q/+XtDlI0PI/kOaBMhzvuvq3kdKfzX9cFcDt6QzAOHggvtuheRR43kbtKbKWu76t
LIojXE4U8QFJ3FgN7I93q3OM3FvT/hAM
=DWh6
-----END PGP SIGNATURE-----

--EVF5PPMfhYS0aIcm--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 09:05:25 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA24756
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 09:05:24 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA04362;
	Tue, 17 Aug 1999 09:06:06 -0500 (CDT)
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.4.3] (may be forged))
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA03196
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 09:04:14 -0500 (CDT)
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.160.3])
	by ecbull20.frec.bull.fr (8.9.2/8.9.1) with ESMTP id QAA59432
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 16:04:32 +0200
Received: from bull.net (localhost [127.0.0.1]) by lozere.frec.bull.fr (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA85592 for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 16:04:31 +0200 (DFT)
Message-Id: <37B96BEF.6B968643@bull.net>
Date: Tue, 17 Aug 1999 16:04:31 +0200
Reply-To: Pascale.Martinez@bull.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pascale Martinez <Pascale.Martinez@bull.net>
To: wu-ftpd@wugate.wustl.edu
Subject: command line parameters used by wu-ftpd
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: martinep@lozere.frec.bull.fr
X-Mailer: Mozilla 4.06 [en] (X11; I; AIX 4.2)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have installed the wu-ftp 2.5 on an AIX 4.2 system.
But the option -a is'nt recognized.
I have seen in the FAQ that I have to add some code. But I'm not 
a specialist in compiling and I don't know in which source file 
I have to add it. 
Could someone help me ?

Thanks in advance

Best Regards
-- 
      
-- 

+--------------------------------------------------------------+
|Pascale MARTINEZ- BULL SA - XS/BU - R&D Unix - Unix Factory   |   
+--------------------------------------------------------------+
| Address :     1 Rue de Provence, B.P. 208                    |
|               38432 Echirolles Cedex - FRANCE                |
| Mail :        FREC/B1-348                                    |
| Phone:        04 76 29 71 52 (33 4 76 29 71 52 from abroad)  |
| Fax  :        04 76 29 71 02 (33 4 76 29 71 02 from abroad)  |
| Bullcom:      229 7152                                       |
| Email:        mailto:Pascale.Martinez@bull.net               |
+--------------------------------------------------------------+

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 10:12:24 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA26213
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 10:12:23 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA21145;
	Tue, 17 Aug 1999 10:12:46 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA04589
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 10:09:54 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id LAA06427;
	Tue, 17 Aug 1999 11:07:51 -0400
Message-Id: <19990817110750.A6378@vr.net>
Date: Tue, 17 Aug 1999 11:07:50 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Pascale Martinez <Pascale.Martinez@bull.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: command line parameters used by wu-ftpd
In-Reply-To: <37B96BEF.6B968643@bull.net>; from Pascale Martinez on Tue, Aug 17, 1999 at 04:04:31PM +0200
References: <37B96BEF.6B968643@bull.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=mP3DRpeJDSE+ciuQ; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 1999 at 04:04:31PM +0200, Pascale Martinez wrote:

> I have installed the wu-ftp 2.5 on an AIX 4.2 system.
> But the option -a is'nt recognized.
> I have seen in the FAQ that I have to add some code. But I'm not=20
> a specialist in compiling and I don't know in which source file=20
> I have to add it.=20
> Could someone help me ?

Start by just doing a kill -HUP on inetd.  That should tell inetd to reload
the config file (/etc/inetd.conf) .. on most systems that's a  yo need to
do.

If you need more command-line parameters than inetd will allow (some
systems have a limit, someties a very low limit like 3) .. use a shell
script and yo don't need to write any code at all.  ISTM that's the "code"
you saw in the FAQ.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7lssQ2nXFkJc83RAQEcOQMAsUToIj66oRg9tVe2Z2sB9eCnT5/S+Wup
WL9HdbfFX+D5+XOkg1tY85IbXyk012rBI0NM4btucQvOQOHs0dSiy2DN5NHgoe9y
F4kyyX6vy8O7GMZF2lMQT7uH4kEBFxvr
=gfrx
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 18:07:30 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA05109
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 18:07:30 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA00523;
	Tue, 17 Aug 1999 18:08:07 -0500 (CDT)
Received: from rjo04.embratel.net.br (rjo04.embratel.net.br [200.255.253.237])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA09423
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 18:05:29 -0500 (CDT)
Received: from rjo02.embratel.net.br (rjo02.embratel.net.br [200.255.253.238]) by rjo04.embratel.net.br (8.8.2/8.8.2) with ESMTP id UAA21687 for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 20:05:23 -0300 (EST)
Received: from localhost (reinaldo@localhost) by rjo02.embratel.net.br (8.8.2/8.8.2) with SMTP id UAA10939 for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 20:05:23 -0300 (EST)
Message-Id: <Pine.GSO.3.96.990817195900.10132A-100000@rjo02.embratel.net.br>
Date: Tue, 17 Aug 1999 20:05:22 -0300 (EST)
Reply-To: Reinaldo Penno Filho <reinaldo@embratel.net.br>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Reinaldo Penno Filho <reinaldo@embratel.net.br>
To: wu-ftpd@wugate.wustl.edu
Subject: CNAMES or Multiple IPs?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: rjo02.embratel.net.br: reinaldo owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

All,

in the university that i study every departament will have its own
FTP server. There will be some 200-300 virtual FTP servers. whats the
best solution ? Unique IP addresses or CNAMES entries in the DNS zone
file, something like this..

www3.mydomain.net  IN   A   some.ip.address

;
; Aliases
;
ftp.otherdomain1.com   IN   CNAME     www3.mydomain.net.
ftp.otherdomain2.com   IN   CNAME     www3.mydomain.net.

and so forth..  

whats the pros and cons of the two schemes?

thanks in advance

Reinaldo

___________________________________
Federal University of Rio de Janeiro
Computer Science Department

___________________________________


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 18:40:27 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA05693
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 18:40:26 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA22135;
	Tue, 17 Aug 1999 18:41:08 -0500 (CDT)
Received: from aventurine.sge.net (aventurine.sge.net [152.91.14.25])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA11652
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 18:40:40 -0500 (CDT)
Received: from cadmium.sge.net (cadmium.sge.net [152.91.9.5])
	by aventurine.sge.net (8.9.3/8.9.3) with ESMTP id JAA02804;
	Wed, 18 Aug 1999 09:40:37 +1000 (EST)
Received: (from uucp@localhost)
	by cadmium.sge.net (8.9.3/8.9.3) id JAA23257;
	Wed, 18 Aug 1999 09:40:36 +1000 (EST)
Received: from nodnsquery(10.1.2.11) by cadmium.sge.net via smap (V5.0)
	id xma023196; Wed, 18 Aug 99 09:40:30 +1000
Received: from amber (amber-int2.sge.net [10.1.2.254])
	by kryptonite.sge.net (8.9.3/8.9.3) with SMTP id JAA18483;
	Wed, 18 Aug 1999 09:40:29 +1000 (EST)
Message-Id: <37B9F272.53938BFA@sge.net>
Date: Wed, 18 Aug 1999 09:38:26 +1000
Reply-To: james.mcmahon@sge.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James McMahon <james.mcmahon@sge.net>
To: Reinaldo Penno Filho <reinaldo@embratel.net.br>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
References: <22B3FAB63EE61A014A2567D0007F40EC.007F41124A2567D0@sge.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Reinaldo Penno Filho wrote:
> 
> All,
> 
> in the university that i study every departament will have its own
> FTP server. There will be some 200-300 virtual FTP servers. whats the
> best solution ? Unique IP addresses or CNAMES entries in the DNS zone
> file, something like this..
> 
> www3.mydomain.net  IN   A   some.ip.address
> 
> ;
> ; Aliases
> ;
> ftp.otherdomain1.com   IN   CNAME     www3.mydomain.net.
> ftp.otherdomain2.com   IN   CNAME     www3.mydomain.net.
> 
> and so forth..
> 
> whats the pros and cons of the two schemes?
> 

The ftp daemon is unable to differentiate between connections made to
different DNS names (CNAMES), so if you use multiple CNAMES, then whichever
name you use to connect will always get you to the same server.

If you want the different virtual FTP servers to then have different ftp
root directories, then I believe that you have to use unique IP addresses,
and then set up virtual server definitions for each of them.

In either case, you are looking at a lot of fun - 200 or 300 IP addresses
on a single box, with it's associated ftpaccess file, or otherwise trying
to sort out the connections using login names or groups to decide which
part of the ftp tree that the user should be seeing.

Good luck,

James

DISCLAIMER:  I am a little out of date on wu-ftpd right now, so there may
be a better way to do things.  If there is, don't shoot me :)

> thanks in advance
> 
> Reinaldo
> 
> ___________________________________
> Federal University of Rio de Janeiro
> Computer Science Department
> 
> ___________________________________

-- 
**************************************************************************
*     James McMahon                  *     When all else fails ...       *
*     Secure Gateway Environment     *     Read the destructions.        *
*     james.mcmahon@sge.net          *             -- (unknown)          *
**************************************************************************

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 19:13:20 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA06221
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 19:13:20 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA00519;
	Tue, 17 Aug 1999 19:13:43 -0500 (CDT)
Received: from rjo04.embratel.net.br (rjo04.embratel.net.br [200.255.253.237])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA13899
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 19:08:04 -0500 (CDT)
Received: from rjo02.embratel.net.br (rjo02.embratel.net.br [200.255.253.238]) by rjo04.embratel.net.br (8.8.2/8.8.2) with ESMTP id VAA23089; Tue, 17 Aug 1999 21:07:59 -0300 (EST)
Received: from localhost (reinaldo@localhost) by rjo02.embratel.net.br (8.8.2/8.8.2) with SMTP id VAA14163; Tue, 17 Aug 1999 21:07:58 -0300 (EST)
Message-Id: <Pine.GSO.3.96.990817210027.10132B-100000@rjo02.embratel.net.br>
Date: Tue, 17 Aug 1999 21:07:57 -0300 (EST)
Reply-To: reinaldo@embratel.net.br
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Reinaldo Penno Filho <reinaldo@embratel.net.br>
To: James McMahon <james.mcmahon@sge.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
In-Reply-To: <37B9F272.53938BFA@sge.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: rjo02.embratel.net.br: reinaldo owned process doing -bs
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Great, thanks for the answer.

How about flexibility of the to schemes. I want the department
administrator be able to create, remove directories, etc and an anonymous
area where he can put files to other people download (thesis, docs,
reports, etc). Is it possible for a administrator create other
administrator users? Well, I think this will happen many times, so would
be great if they have this power without having to be "root" or ask me to
do it.

best regards,

Reinaldo




On Wed, 18 Aug 1999, James McMahon wrote:

> 
> 
> Reinaldo Penno Filho wrote:
> > 
> > All,
> > 
> > in the university that i study every departament will have its own
> > FTP server. There will be some 200-300 virtual FTP servers. whats the
> > best solution ? Unique IP addresses or CNAMES entries in the DNS zone
> > file, something like this..
> > 
> > www3.mydomain.net  IN   A   some.ip.address
> > 
> > ;
> > ; Aliases
> > ;
> > ftp.otherdomain1.com   IN   CNAME     www3.mydomain.net.
> > ftp.otherdomain2.com   IN   CNAME     www3.mydomain.net.
> > 
> > and so forth..
> > 
> > whats the pros and cons of the two schemes?
> > 
> 
> The ftp daemon is unable to differentiate between connections made to
> different DNS names (CNAMES), so if you use multiple CNAMES, then whichever
> name you use to connect will always get you to the same server.
> 
> If you want the different virtual FTP servers to then have different ftp
> root directories, then I believe that you have to use unique IP addresses,
> and then set up virtual server definitions for each of them.
> 
> In either case, you are looking at a lot of fun - 200 or 300 IP addresses
> on a single box, with it's associated ftpaccess file, or otherwise trying
> to sort out the connections using login names or groups to decide which
> part of the ftp tree that the user should be seeing.
> 
> Good luck,
> 
> James
> 
> DISCLAIMER:  I am a little out of date on wu-ftpd right now, so there may
> be a better way to do things.  If there is, don't shoot me :)
> 
> > thanks in advance
> > 
> > Reinaldo
> > 
> > ___________________________________
> > Federal University of Rio de Janeiro
> > Computer Science Department
> > 
> > ___________________________________
> 
> -- 
> **************************************************************************
> *     James McMahon                  *     When all else fails ...       *
> *     Secure Gateway Environment     *     Read the destructions.        *
> *     james.mcmahon@sge.net          *             -- (unknown)          *
> **************************************************************************
> 


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 17 23:48:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id XAA10334
	for <wuftpd@landfield.com>; Tue, 17 Aug 1999 23:48:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA19149;
	Tue, 17 Aug 1999 23:49:34 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA28903
	for <wu-ftpd@wugate.wustl.edu>; Tue, 17 Aug 1999 23:47:09 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id AAA15416;
	Wed, 18 Aug 1999 00:46:15 -0400
Message-Id: <19990818004614.C15251@vr.net>
Date: Wed, 18 Aug 1999 00:46:15 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Reinaldo Penno Filho <reinaldo@embratel.net.br>
Cc: James McMahon <james.mcmahon@sge.net>, wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
In-Reply-To: <Pine.GSO.3.96.990817210027.10132B-100000@rjo02.embratel.net.br>; from Reinaldo Penno Filho on Tue, Aug 17, 1999 at 09:07:57PM -0300
References: <37B9F272.53938BFA@sge.net> <Pine.GSO.3.96.990817210027.10132B-100000@rjo02.embratel.net.br>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=8t9RHnE3ZwKMSgU+; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 1999 at 09:07:57PM -0300, Reinaldo Penno Filho wrote:

> How about flexibility of the to schemes. I want the department
> administrator be able to create, remove directories, etc and an anonymous
> area where he can put files to other people download (thesis, docs,
> reports, etc). Is it possible for a administrator create other
> administrator users? Well, I think this will happen many times, so would
> be great if they have this power without having to be "root" or ask me to
> do it.

Many of the features you're asking for are attainable using the current
2.5.0 base release.

=46rom the daemon's point of view, however, users are handled externally.  =
So
there is currently no way to handle the problem in the daemon.  You may
want to take a look at BeroFTPD .. it may offer features I'm unaware of.

The way I've handled the problem is to run the daemon completely chroot'd
(before startup) so it has a completely private /etc/passwd and /etc/group
file.  I then wrote a special SSH (don't like telnet for this) shell for
use in the chroot'd environment.  Users with authorized keys in this
environment are able to run {user,group}{add,del} in this environment.
They can also {up,down}load the local user's
~/.ssh/authorized_keys so they can grant or revoke permissions on the
server.  Non-root users get another version of the SSH shell which allows
them to manage their passwords and perform certain canned operations.



In specific response to the earlier question about CNAME hosts:

There is an IETF Working Group developing a solution to this problem.  This
solution is part of the 'mlst' draft proposal (available through
http://www.wu-ftpd.org/ ).  Basically, the proposal is to add a new FTP
command, HOST, which allows the client to select the host by name after
connecting to the IP address and before authorization.  BeroFTPD supports
the HOST command, as do NcFTPD.  At this time, the only FTP client I know
of which supports HOST is NcFTP (both the Nc client and server are for-pay
packages).

The WU-FTPD Development Group has a number of plans for the daemon.  One of
those is support for the HOST command along with the other 'mlst' features
and the other FTP features described in RFCs which followed 959.  We've not
decided yet whether these features will be put into the current source or
whether they'll have to await a complete rewrite (ie., version 3.x) and
we've not yet discussed a timeline for this development.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--8t9RHnE3ZwKMSgU+
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7osgg2nXFkJc83RAQGe2gL9GjiCgKJXhX4xC8nnrER45nlna9kTnauR
Z3eskgphXA7cLUn5kHx9z8D1ibmdXXLwqUiZMCNG0E1Eov8zjU+eQIlCO9swKFuY
xpNkFLXRoYQEYFZxsEVdT/3LEzn1oyIZ
=IsQA
-----END PGP SIGNATURE-----

--8t9RHnE3ZwKMSgU+--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 07:45:14 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA07311
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 07:45:13 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA00365;
	Thu, 19 Aug 1999 07:44:19 -0500 (CDT)
Received: from spektr.eu.org ([195.84.7.43])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA24011
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 07:38:29 -0500 (CDT)
Received: from localhost (jp@localhost)
	by spektr.eu.org (8.9.3/8.9.3) with ESMTP id OAA06759
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 14:38:24 +0200 (CEST)
	(envelope-from jp@spektr.eu.org)
Message-Id: <Pine.BSF.4.10.9908191431001.6677-100000@spektr.eu.org>
Date: Thu, 19 Aug 1999 14:38:24 +0200 (CEST)
Reply-To: jp@spektr.eu.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jorgen Pehrson <jp@spektr.eu.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Limit connections?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
looking through the mail list archives I found someone asking the same
question I've got about wuftpd. 

http://www.landfield.com/wu-ftpd/mail-archive/1999/Apr/0013.html

Is there some new functionality in wuftpd which lets me limit the number
of simultaneous connections from one IP? The advice to set the timeout to
a shorter time than default doesn't really help when the users willfully
connects 30 times and steals all the bandwidth... Although it do help a
bit against the IE users.

If not yet, is this a feature that is on the todo list of wuftpd?

Thanks.

-- 
Jörgen Pehrson  jp@spektr.eu.org  http://spektr.eu.org/~jp/
-----------------------------------------------------------
"Bill Gates and Richard Stallman Meet in Airport; Thousands
Killed in Resulting Explosion. News at 11."


From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 08:45:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA08234
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 08:45:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA29203;
	Thu, 19 Aug 1999 08:46:12 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA04311
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 08:43:26 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA29234;
	Thu, 19 Aug 1999 09:43:10 -0400
Message-Id: <19990819094308.E28988@vr.net>
Date: Thu, 19 Aug 1999 09:43:09 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Jorgen Pehrson <jp@spektr.eu.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Limit connections?
In-Reply-To: <Pine.BSF.4.10.9908191431001.6677-100000@spektr.eu.org>; from Jorgen Pehrson on Thu, Aug 19, 1999 at 02:38:24PM +0200
References: <Pine.BSF.4.10.9908191431001.6677-100000@spektr.eu.org>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="Km1U/tdNT/EmXiR1"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--Km1U/tdNT/EmXiR1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 19, 1999 at 02:38:24PM +0200, Jorgen Pehrson wrote:

> Is there some new functionality in wuftpd which lets me limit the number
> of simultaneous connections from one IP? The advice to set the timeout to
> a shorter time than default doesn't really help when the users willfully
> connects 30 times and steals all the bandwidth... Although it do help a
> bit against the IE users.
>=20
> If not yet, is this a feature that is on the todo list of wuftpd?

Not yet.

Yes.

If the user is common from a known IP, you could create a special class for
that user's IP (or IP block) and limit the class.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--Km1U/tdNT/EmXiR1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7v71w2nXFkJc83RAQH9rgL+PakGRxpMLbARJIcMuF5VAZ7DmqZgFvmr
GieprQ9ZkXXLFl0Z7lBaPRt9DTRcAJGa9whxZxyTnuvImD7DGfOaK//1HCwCoGDZ
q42fOu1vKFCgF3o9hk8KeSDLqxVCfuZb
=UDQb
-----END PGP SIGNATURE-----

--Km1U/tdNT/EmXiR1--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 09:11:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA08845
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 09:11:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA16745;
	Thu, 19 Aug 1999 09:12:28 -0500 (CDT)
Received: from academ01.mty.itesm.mx (academ01.mty.itesm.mx [131.178.2.25])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA24301
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 09:05:51 -0500 (CDT)
Received: (from al175036@localhost)
	by academ01.mty.itesm.mx (8.8.8/8.8.8) id JAA18364;
	Thu, 19 Aug 1999 09:01:57 -0500
Message-Id: <Pine.A32.3.91.990819085557.61200A-100000@academ01.mty.itesm.mx>
Date: Thu, 19 Aug 1999 09:01:57 -0500 (CDT)
Reply-To: al175036@mail.mty.itesm.mx
Sender: owner-wu-ftpd@wugate.wustl.edu
From: JUAN ANTONIO GONZALEZ SALINAS <al175036@mail.mty.itesm.mx>
To: James McMahon <james.mcmahon@sge.net>
Cc: Reinaldo Penno Filho <reinaldo@embratel.net.br>, wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
In-Reply-To: <37B9F272.53938BFA@sge.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Hi,

a nice feature for future releases would be support for CNAMES 
supporting different virtual ftp servers using one ip, just like in the 
http dimension with apache http server :)

what do you think?

yours, antonio
On Wed, 18 Aug 1999, James McMahon wrote:

> 
> 
> Reinaldo Penno Filho wrote:
> > 
> > All,
> > 
> > in the university that i study every departament will have its own
> > FTP server. There will be some 200-300 virtual FTP servers. whats the
> > best solution ? Unique IP addresses or CNAMES entries in the DNS zone
> > file, something like this..
> > 
> > www3.mydomain.net  IN   A   some.ip.address
> > 
> > ;
> > ; Aliases
> > ;
> > ftp.otherdomain1.com   IN   CNAME     www3.mydomain.net.
> > ftp.otherdomain2.com   IN   CNAME     www3.mydomain.net.
> > 
> > and so forth..
> > 
> > whats the pros and cons of the two schemes?
> > 
> 
> The ftp daemon is unable to differentiate between connections made to
> different DNS names (CNAMES), so if you use multiple CNAMES, then whichever
> name you use to connect will always get you to the same server.
> 
> If you want the different virtual FTP servers to then have different ftp
> root directories, then I believe that you have to use unique IP addresses,
> and then set up virtual server definitions for each of them.
> 
> In either case, you are looking at a lot of fun - 200 or 300 IP addresses
> on a single box, with it's associated ftpaccess file, or otherwise trying
> to sort out the connections using login names or groups to decide which
> part of the ftp tree that the user should be seeing.
> 
> Good luck,
> 
> James
> 
> DISCLAIMER:  I am a little out of date on wu-ftpd right now, so there may
> be a better way to do things.  If there is, don't shoot me :)
> 
> > thanks in advance
> > 
> > Reinaldo
> > 
> > ___________________________________
> > Federal University of Rio de Janeiro
> > Computer Science Department
> > 
> > ___________________________________
> 
> -- 
> **************************************************************************
> *     James McMahon                  *     When all else fails ...       *
> *     Secure Gateway Environment     *     Read the destructions.        *
> *     james.mcmahon@sge.net          *             -- (unknown)          *
> **************************************************************************
> 

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 09:38:08 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA09402
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 09:38:07 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA28115;
	Thu, 19 Aug 1999 09:38:40 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA21019
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 09:33:30 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id KAA29782;
	Thu, 19 Aug 1999 10:32:47 -0400
Message-Id: <19990819103246.B29561@vr.net>
Date: Thu, 19 Aug 1999 10:32:46 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: JUAN ANTONIO GONZALEZ SALINAS <al175036@mail.mty.itesm.mx>
Cc: James McMahon <james.mcmahon@sge.net>,
        Reinaldo Penno Filho <reinaldo@embratel.net.br>,
        wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
In-Reply-To: <Pine.A32.3.91.990819085557.61200A-100000@academ01.mty.itesm.mx>; from JUAN ANTONIO GONZALEZ SALINAS on Thu, Aug 19, 1999 at 09:01:57AM -0500
References: <37B9F272.53938BFA@sge.net> <Pine.A32.3.91.990819085557.61200A-100000@academ01.mty.itesm.mx>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=qMm9M+Fa2AknHoGS; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 19, 1999 at 09:01:57AM -0500, JUAN ANTONIO GONZALEZ SALINAS wro=
te:

> a nice feature for future releases would be support for CNAMES supporting
> different virtual ftp servers using one ip, just like in the http
> dimension with apache http server :)
>=20
> what do you think?

Yes, but.

The feature won't work since there's no client out there which support it.
IT's not yet an RFC, only an IETF Draft Proposal.  You can view the current
draft at http://www.wuftpd.org/rfc/draft-ietf-ftpext-mlst-07.txt

BeroFTPD supports the HOST command specified in this draft.  That support
is solely in support of the IETF FTPEXT Working Group's efforts.

NcFTPD (the server) and NcFTP (the client) support HOST as well.  These are
for-pay packages.  Their implementation of the HOST feature is also
experimental in support of the FTPEXT effort.

At this point, these are the only two servers and the sole client known to
support the HOST feature.

The WU-FTPD Development Group has merging BeroFTPD's implementation of the
HOST feature as one of its goals.  The feature will not be put into the
base daemon until the Draft becomes an RFC.  Implementation of HOST
requires implementation of a large number of other features which already
_are_ RFCs; obviously our first priority is to add support of the existing,
but unimplemented, features of FTP before we move on to the still-
experimental ones.  At least, this is how I see the development effort as
proceeding; another group member might decide he wants HOST now and put it
in anyway.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7wHeQ2nXFkJc83RAQF5tAL9EFuuYmY345KkowgTZMsbUDjwjqUQQNlp
m5qX8RJf1TeJVWdcC+mXzgJK4snWiSNKU3E+8v1PYVJVjbzCbFwGIaRU6WaFIFAb
nzyEZA0Fs64vwP8d9IQytOLN3iotKEuX
=4o87
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 09:52:13 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA09645
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 09:52:12 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA13648;
	Thu, 19 Aug 1999 09:52:05 -0500 (CDT)
Received: from mailgate.gbdirect.co.uk (root@bfd-gate.gbdirect.co.uk [194.217.100.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA25110
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 09:48:49 -0500 (CDT)
Received: from gbdirect.co.uk (lee@landlord.gbdirect.co.uk [192.168.0.129])
	by mailgate.gbdirect.co.uk (8.8.7/8.8.7) with ESMTP id PAA10669;
	Thu, 19 Aug 1999 15:47:21 +0100
Received: (from lee@localhost)
	by gbdirect.co.uk (8.8.7/8.8.7) id PAA11337;
	Thu, 19 Aug 1999 15:47:20 +0100
Message-Id: <lzogg3vnd3.fsf@landlord.gbdirect.co.uk>
Date: 19 Aug 1999 15:47:20 +0100
Reply-To: lee@gbdirect.co.uk
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Lee Willis <lee@gbdirect.co.uk>
To: al175036@mail.mty.itesm.mx
Cc: James McMahon <james.mcmahon@sge.net>,
        Reinaldo Penno Filho <reinaldo@embratel.net.br>,
        wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
References: <Pine.A32.3.91.990819085557.61200A-100000@academ01.mty.itesm.mx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Sender: lee@gbdirect.co.uk
X-Face: "J~~0'L`GfL^sW4%+i35x#X308)K/$7\]qy)UZ$`k:}Bx]6mgAA^N5,@brn/19TPn%o;j28
 W7mD)UN~se8P9\3?wU.g+i9)X<UMbOZm.'#`6?=Ui1E8cy7mC&/?v=']>7+R?ls}.ZwTx]xsol>)V^
 SJ?(e|0H6<9+u;pn<Q@j_ozt/tP#@#!guy|`;"95429mFa}3Bi2Cu|~-90',b19}%cd_Wu-h/TqxKp
 1{w,,!R)9\+1tlD~oY'
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

JUAN ANTONIO GONZALEZ SALINAS <al175036@mail.mty.itesm.mx> writes:

> a nice feature for future releases would be support for CNAMES 
> supporting different virtual ftp servers using one ip, just like in the 
> http dimension with apache http server :)
> 
> what do you think?

Not quite the same, HTTP (At least version 1.1) supports the facility
for the client to tell the server which site it is requesting (It sends
a Host: header saying something like http://www.foo.com).  The FTP
protocol doesn't feature any such thing AFAIK so it would be difficult
for the server to know which site it should serve.

This may change I s'pose ...

Lee.
-- 
I was doing object-oriented assembly at 1 year old ...  
For some reason my mom insists on calling it "Playing with blocks"

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 13:15:59 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA16415
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 13:15:58 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA23624;
	Thu, 19 Aug 1999 13:16:35 -0500 (CDT)
Received: from ukiah.riverside.org (postfix@ukiah.riverside.org [199.217.72.204])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA13800
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 13:15:10 -0500 (CDT)
Received: by ukiah.riverside.org (Postfix, from userid 1000)
	id 9BD8D47C3E; Thu, 19 Aug 1999 11:15:03 -0700 (PDT)
Message-Id: <19990819111503.A15104@riverside.org>
Date: Thu, 19 Aug 1999 11:15:03 -0700
Reply-To: mhall@riverside.org
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Michael Hall <mhall@riverside.org>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
In-Reply-To: <19990819103246.B29561@vr.net>; from Gregory A Lundberg on Thu, Aug 19, 1999 at 10:32:46AM -0400
References: <37B9F272.53938BFA@sge.net> <Pine.A32.3.91.990819085557.61200A-100000@academ01.mty.itesm.mx> <19990819103246.B29561@vr.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, Aug 19, 1999 at 10:32:46AM -0400, Gregory A Lundberg wrote:

> On Thu, Aug 19, 1999 at 09:01:57AM -0500, JUAN ANTONIO GONZALEZ SALINAS wrote:
> 
> > a nice feature for future releases would be support for CNAMES supporting
> > different virtual ftp servers using one ip, just like in the http
> > dimension with apache http server :)
> > 
> > what do you think?
> 
> Yes, but.
> 
> The feature won't work since there's no client out there which support it.
> IT's not yet an RFC, only an IETF Draft Proposal.  You can view the current
> draft at http://www.wuftpd.org/rfc/draft-ietf-ftpext-mlst-07.txt
> 
> BeroFTPD supports the HOST command specified in this draft.  That support
> is solely in support of the IETF FTPEXT Working Group's efforts.
> 
> NcFTPD (the server) and NcFTP (the client) support HOST as well.  These are
> for-pay packages.  Their implementation of the HOST feature is also
> experimental in support of the FTPEXT effort.

  I know NcFTPD is 'for-pay' but I always thought NcFTP was free. Was on
their site not to long ago getting the latest 3.0beta and don't remember
seeing anything about paying for the client, what did I miss ?

--
Purranoia: the fear your cat is up to something.

Mike Hall <mhall@riverside.org>, ICQ: #37292579, http://www.riverside.org
System Administrator (MH993) (*nix, OS/2 certified - C, Perl, CGI hacker)

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 13:48:55 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA17106
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 13:48:54 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA27375;
	Thu, 19 Aug 1999 13:49:32 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA03639
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 13:46:55 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA32380;
	Thu, 19 Aug 1999 14:46:31 -0400
Message-Id: <19990819144630.D32180@vr.net>
Date: Thu, 19 Aug 1999 14:46:31 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Michael Hall <mhall@riverside.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: CNAMES or Multiple IPs?
In-Reply-To: <19990819111503.A15104@riverside.org>; from Michael Hall on Thu, Aug 19, 1999 at 11:15:03AM -0700
References: <37B9F272.53938BFA@sge.net> <Pine.A32.3.91.990819085557.61200A-100000@academ01.mty.itesm.mx> <19990819103246.B29561@vr.net> <19990819111503.A15104@riverside.org>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=f+W+jCU1fRNres8c; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--f+W+jCU1fRNres8c
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

> I know NcFTPD is 'for-pay' but I always thought NcFTP was free. Was on
> their site not to long ago getting the latest 3.0beta and don't remember
> seeing anything about paying for the client, what did I miss ?

Prolly my misunderstanding.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--f+W+jCU1fRNres8c
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7xC8g2nXFkJc83RAQHHBwL/dblgEsywR90x9vJWReJd4Y3GHbyR6zDi
qM7IlfDdyXaBNcKMfbKlSm63ufRqEKEZD/k8NFnGnRfE7qZbNmKGvkJ6skG8vx3y
xaLiOpGa4zLvuBgShcyB6vb6HGkcRk44
=t5uA
-----END PGP SIGNATURE-----

--f+W+jCU1fRNres8c--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 22:54:57 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id WAA28010
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 22:54:56 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA07068;
	Thu, 19 Aug 1999 22:55:32 -0500 (CDT)
Received: from shadow.muchoweb.com (august-216-87-139-180.august.net [216.87.139.180])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA06669
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 22:48:57 -0500 (CDT)
Received: from bitterboy (august-216-87-139-178.AUGUST.net [216.87.139.178])
	by shadow.muchoweb.com (8.9.3/8.9.3) with SMTP id WAA02599
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 22:45:37 -0500
Message-Id: <006c01beeabe$ede75840$b28b57d8@muchoweb.com>
Date: Thu, 19 Aug 1999 22:48:56 -0500
Reply-To: "Todd Routhier - Muchoweb Webhosting" <support@muchoweb.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Todd Routhier - Muchoweb Webhosting" <support@muchoweb.com>
To: <wu-ftpd@wugate.wustl.edu>
Subject: New to this list.
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0069_01BEEA95.04E696C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

------=_NextPart_000_0069_01BEEA95.04E696C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,
    I have a question..
Running:
Redhat 6.0
WU-FTPD 2.4.2

I am trying to configure the server so users can log in and they will be =
chrooted to there home directory and be stuck there, I don't want them =
to be able to move out of this directory not even in read only mode. So =
I added the line:

guestgroup    ftpusers

 THen I make everyone that I want to use FTP a member of the group =
ftpusers. I then go into the /etc/passwd file and modify each line so =
they chroot properly. All seems to work fine when i log in with a users =
id, the directory they see is / and they seem to have been placed in =
there home directory, they seem to be able to write an overwrite to teh =
directory fine but I can't get a directory listing AT ALL. I tried =
moving a copy of ls to the users home directory but that did not work. =
LS works fine via ftp until I set up this guestgroup and chroot stuff. I =
have read all teh docs and FAQs I can find and have banged my head in =
all teh newsgroups trying to find an answer but I am still stuck. I am =
pretty new to Linux as well as WU-Ftpd so please provide detailed =
answers if possible.=20

       Thanks for your help in advance.

   Todd Routhier=20

------=_NextPart_000_0069_01BEEA95.04E696C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I have a =
question..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Running:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Redhat 6.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>WU-FTPD 2.4.2</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am trying to configure the server so =
users can=20
log in and they will be chrooted to there home directory and be stuck =
there, I=20
don't want them to be able to move out of this directory not even in =
read only=20
mode. So I added the line:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>guestgroup&nbsp;&nbsp;&nbsp; =
ftpusers</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;THen I make everyone that I want =
to use FTP a=20
member of&nbsp;the group ftpusers. I then go into the&nbsp;/etc/passwd =
file=20
and&nbsp;modify each line so they chroot properly. All seems to work =
fine when i=20
log in with a users id, the directory they see is / and they seem to =
have been=20
placed in there home directory, they seem to be able to&nbsp;write an =
overwrite=20
to teh directory fine but I can't get a directory listing AT ALL. I =
tried moving=20
a copy of ls to the users home directory but that did not work. LS works =

fine&nbsp;via ftp until I set up this guestgroup and chroot stuff. I =
have read=20
all teh docs and FAQs I can find and have banged my head in all teh =
newsgroups=20
trying to find an answer but I am still stuck. I am pretty new =
to&nbsp;Linux as=20
well as WU-Ftpd so please provide detailed answers if=20
possible.&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Thanks=20
for&nbsp;your help in advance.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; Todd=20
Routhier</FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0069_01BEEA95.04E696C0--


From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 23:20:26 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id XAA28267
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 23:20:26 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA17388;
	Thu, 19 Aug 1999 23:21:13 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA05610
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 23:17:16 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id AAA07833;
	Fri, 20 Aug 1999 00:17:12 -0400
Message-Id: <19990820001709.I4365@vr.net>
Date: Fri, 20 Aug 1999 00:17:10 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Todd Routhier - Muchoweb Webhosting <support@muchoweb.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: New to this list.
In-Reply-To: <006c01beeabe$ede75840$b28b57d8@muchoweb.com>; from Todd Routhier - Muchoweb Webhosting on Thu, Aug 19, 1999 at 10:48:56PM -0500
References: <006c01beeabe$ede75840$b28b57d8@muchoweb.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=f2QGlHpHGjS2mn6Y; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 19, 1999 at 10:48:56PM -0500, Todd Routhier - Muchoweb Webhosti=
ng wrote:

> WU-FTPD 2.4.2

You should upgrade to 2.5.0.  There's an RPM for it if that's how you do
your installs.

> I am trying to configure the server so users can log in and they will be
> chrooted to there home directory and be stuck there, I don't want them to
> be able to move out of this directory not even in read only mode. So I
> added the line:
>=20
> guestgroup    ftpusers
>=20
> THen I make everyone that I want to use FTP a member of the group
> ftpusers. I then go into the /etc/passwd file and modify each line so
> they chroot properly. All seems to work fine when i log in with a users
> id, the directory they see is / and they seem to have been placed in
> there home directory, they seem to be able to write an overwrite to teh
> directory fine but I can't get a directory listing AT ALL. I tried moving
> a copy of ls to the users home directory but that did not work.  LS works
> fine via ftp until I set up this guestgroup and chroot stuff. I have read
> all teh docs and FAQs I can find and have banged my head in all teh
> newsgroups trying to find an answer but I am still stuck. I am pretty new
> to Linux as well as WU-Ftpd so please provide detailed answers if
> possible.=20

You also need to read the FAQ.  It has the detailed instructions you need.

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN7zIrw2nXFkJc83RAQHkDAMAt0NKbjsH0/y193yeBKztbLvak02R05pw
x+KG55N3uApiDELeimybsGX+cu7cqG2J+BbwWzk8Q79B/UO0Lwi6qNlZQZWfTtCx
noQ1qPInfGLCA/hBXnck2BMJSuudswAY
=kV4j
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--

From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 23:26:59 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id XAA28304
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 23:26:58 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA19533;
	Thu, 19 Aug 1999 23:27:44 -0500 (CDT)
Received: from gw1.bfg.com (gateway.bfg.com [131.187.253.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA11930
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 23:22:57 -0500 (CDT)
Received: (from uucp@localhost)
	by gw1.bfg.com (8.9.3/8.9.3) id AAA07359;
	Fri, 20 Aug 1999 00:22:53 -0400 (EDT)
Received: from ns1.bfg.com(192.73.67.20) by gw1.bfg.com via smap (V2.1)
	id sma007257; Fri, 20 Aug 99 00:22:26 -0400
Received: from localhost (keller@localhost)
	by ns1.bfg.com (8.9.3/8.9.3) with ESMTP id AAA27971;
	Fri, 20 Aug 1999 00:22:23 -0400 (EDT)
Message-Id: <Pine.GSO.4.10.9908200017590.27944-100000@ns1.bfg.com>
Date: Fri, 20 Aug 1999 00:22:23 -0400 (EDT)
Reply-To: keller@bfg.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Ted Keller <keller@bfg.com>
To: Todd Routhier - Muchoweb Webhosting <support@muchoweb.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: New to this list.
In-Reply-To: <006c01beeabe$ede75840$b28b57d8@muchoweb.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Todd,

Looks like your well on the way.

First - for security reasons, UPGRADE to 2.5.0 (ftp.wu-ftpd.org).  The
2.4.2 if full of security holes.

Second, you have to do a bit more work on your chrooted environment.  I'm
assuming that the ls is staticly linked.  If so, then all you probably
need is the /dev/zero entry in the chrooted area.  Note, ls will be
looking for password and group entries.  You can skinny down copies of
these files and put them in the etc directory of your chrooted area.

If your ls is not statically linked, you will also have to add the
corresponding libraries.

ted keller


On Thu, 19 Aug 1999, Todd Routhier - Muchoweb Webhosting wrote:

> Hello all,
>     I have a question..
> Running:
> Redhat 6.0
> WU-FTPD 2.4.2
> 
> I am trying to configure the server so users can log in and they will be chrooted to there home directory and be stuck there, I don't want them to be able to move out of this directory not even in read only mode. So I added the line:
> 
> guestgroup    ftpusers
> 
>  THen I make everyone that I want to use FTP a member of the group ftpusers. I then go into the /etc/passwd file and modify each line so they chroot properly. All seems to work fine when i log in with a users id, the directory they see is / and they seem to have been placed in there home directory, they seem to be able to write an overwrite to teh directory fine but I can't get a directory listing AT ALL. I tried moving a copy of ls to the users home directory but that did not work. LS works fine via ftp until I set up this guestgroup and chroot stuff. I have read all teh docs and FAQs I can find and have banged my head in all teh newsgroups trying to find an answer but I am still stuck. I am pretty new to Linux as well as WU-Ftpd so please provide detailed answers if possible. 
> 
>        Thanks for your help in advance.
> 
>    Todd Routhier 
> 


From owner-wu-ftpd@wugate.wustl.edu  Thu Aug 19 23:52:17 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id XAA28604
	for <wuftpd@landfield.com>; Thu, 19 Aug 1999 23:52:16 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA31504;
	Thu, 19 Aug 1999 23:22:33 -0500 (CDT)
Received: from aventurine.sge.net (aventurine.sge.net [152.91.14.25])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA06281
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 23:18:44 -0500 (CDT)
Received: from cadmium.sge.net (cadmium.sge.net [152.91.9.5])
	by aventurine.sge.net (8.9.3/8.9.3) with ESMTP id OAA23616;
	Fri, 20 Aug 1999 14:18:40 +1000 (EST)
Received: (from uucp@localhost)
	by cadmium.sge.net (8.9.3/8.9.3) id OAA12108;
	Fri, 20 Aug 1999 14:18:39 +1000 (EST)
Received: from nodnsquery(10.1.2.11) by cadmium.sge.net via smap (V5.0)
	id xma012036; Fri, 20 Aug 99 14:18:34 +1000
Received: from amber (amber-int2.sge.net [10.1.2.254])
	by kryptonite.sge.net (8.9.3/8.9.3) with SMTP id OAA04689;
	Fri, 20 Aug 1999 14:18:33 +1000 (EST)
Message-Id: <37BCD6B0.801D0806@sge.net>
Date: Fri, 20 Aug 1999 14:16:48 +1000
Reply-To: james.mcmahon@sge.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James McMahon <james.mcmahon@sge.net>
To: Todd Routhier - Muchoweb Webhosting <support@muchoweb.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: New to this list.
References: <2337F41BAE517A2A4A2567D30015C522.0015C5C94A2567D3@sge.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi Todd, 

Welcome to the list.

Firstly, I should point out that wu-ftpd 2.4.2 is a *very* old version
which has a number of security holes.  I would highly recommend that you
upgrade to wu-ftpd 2.5.0 as soon as possible.

Now, assuming that you upgrade to wu-ftpd 2.5.0, accomplishing what you
wish is a relatively simple task.  There is a document that is included in
the wu-ftpd 2.5.0 distribution entitled upload.configuration.HOWTO which
covers this and other issues in great depth.  I would suggest that you have
a read of this, and if you have any further problems, get back to the list.

The current version of wu-ftpd is available from the following locations:

ftp://ftp.wu-ftpd.org/pub/wu-ftpd/wu-ftpd-current.tar.[gz,Z]

Good luck,

James


Todd Routhier - Muchoweb Webhosting wrote:
> 
> Hello all,
>     I have a question..
> Running:
> Redhat 6.0
> WU-FTPD 2.4.2
> 
> I am trying to configure the server so users can log in and they will be
> chrooted to there home directory and be stuck there, I don't want them to
> be able to move out of this directory not even in read only mode. So I
> added the line:
> 
> guestgroup    ftpusers
> 
>  THen I make everyone that I want to use FTP a member of the group
> ftpusers. I then go into the /etc/passwd file and modify each line so they
> chroot properly. All seems to work fine when i log in with a users id, the
> directory they see is / and they seem to have been placed in there home
> directory, they seem to be able to write an overwrite to teh directory fine
> but I can't get a directory listing AT ALL. I tried moving a copy of ls to
> the users home directory but that did not work. LS works fine via ftp until
> I set up this guestgroup and chroot stuff. I have read all teh docs and
> FAQs I can find and have banged my head in all teh newsgroups trying to
> find an answer but I am still stuck. I am pretty new to Linux as well as
> WU-Ftpd so please provide detailed answers if possible.
> 
>        Thanks for your help in advance.
> 
>    Todd Routhier
>  - att1.htm
> 
>   ---------------------------------------------------------------------------
>                Name: att1.htm
>    att1.htm    Type: Hypertext Markup Language (text/html)
>            Encoding: quoted-printable

-- 
**************************************************************************
*     James McMahon                  *     When all else fails ...       *
*     Secure Gateway Environment     *     Read the destructions.        *
*     james.mcmahon@sge.net          *             -- (unknown)          *
**************************************************************************

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 20 00:12:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id AAA28837
	for <wuftpd@landfield.com>; Fri, 20 Aug 1999 00:12:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA17694;
	Fri, 20 Aug 1999 00:13:41 -0500 (CDT)
Received: from shadow.muchoweb.com (august-216-87-139-180.august.net [216.87.139.180])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA00877
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Aug 1999 00:11:26 -0500 (CDT)
Received: from bitterboy (august-216-87-139-178.AUGUST.net [216.87.139.178])
	by shadow.muchoweb.com (8.9.3/8.9.3) with SMTP id AAA02979
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Aug 1999 00:08:06 -0500
Message-Id: <00c001beeaca$73b52fa0$b28b57d8@muchoweb.com>
Date: Fri, 20 Aug 1999 00:11:25 -0500
Reply-To: "Todd Routhier - Muchoweb Webhosting" <support@muchoweb.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Todd Routhier - Muchoweb Webhosting" <support@muchoweb.com>
To: <wu-ftpd@wugate.wustl.edu>
Subject: chroot problem solved Thanks!
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00BD_01BEEAA0.8A9C0420"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

------=_NextPart_000_00BD_01BEEAA0.8A9C0420
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks to all that helped with input. I installed anonftp first to see =
if that would help but no dice. Then I decided to copy the bin and lib =
directories from the /home/ftp dir to the /home/testuser dir and it all =
works now. Hope that was what I needed to do??=20

  Thanks!

------=_NextPart_000_00BD_01BEEAA0.8A9C0420
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks to all that helped with input. I =
installed=20
anonftp first to see if that would help but no dice. Then I decided to =
copy the=20
bin and lib directories from the /home/ftp dir to the /home/testuser dir =
and it=20
all works now. Hope that was what I needed to do?? </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; =
Thanks!</FONT></DIV></BODY></HTML>

------=_NextPart_000_00BD_01BEEAA0.8A9C0420--


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 20 00:35:49 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id AAA29133
	for <wuftpd@landfield.com>; Fri, 20 Aug 1999 00:35:48 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA16469;
	Fri, 20 Aug 1999 00:34:42 -0500 (CDT)
Received: from gateway1.dhl.com (ssf218c.dhl.com [199.41.199.218])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA16936
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Aug 1999 00:32:21 -0500 (CDT)
Received: from milkyway.systems.DHL.COM by gateway1.dhl.com with ESMTP
	(DHLGMS 4.08-DSI) id BAA12342; Fri, 20 Aug 1999 01:31:47 -0400 (EDT)
Received: from dhlsys.systems.dhl.com (nsmail@dhlsys.systems.DHL.COM [199.41.200.36])
	by milkyway.systems.DHL.COM (8.8.6 (PHNE_17135)/8.8.6/SML 1.2.2) with ESMTP id WAA17872
	for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 22:31:46 -0700 (PDT)
Received: from systems.dhl.com ([199.41.200.202]) by dhlsys.systems.dhl.com
          (Netscape Messaging Server 3.6)  with ESMTP id AAA4F73
          for <wu-ftpd@wugate.wustl.edu>; Thu, 19 Aug 1999 22:31:43 -0700
Message-Id: <37BCE83C.5E9A4CBC@systems.dhl.com>
Date: Thu, 19 Aug 1999 22:31:40 -0700
Reply-To: vterzic@systems.dhl.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Veselin Terzic" <vterzic@systems.dhl.com>
To: wu-ftpd@wugate.wustl.edu
Subject: ftpconversions (tar + gzip)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi,

platform: hpux, wu-ftpd-2.5.0, gnu tar-1.13, gzip (static)

when a guest user logs in, get <dir>.tar works, but
get dir.tar.gz says "no such file or directory".
i was hoping i can get a directory by taring  + gzip on the fly?

i use default ftpconversion.
i alo tried replacing "-z" with --use-compress-program:

 :   : :.tar.gz:/bin/tar -c --use-compress-program=/bin/gzip 
           -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

thanks
--veselin

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 20 08:40:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA05459
	for <wuftpd@landfield.com>; Fri, 20 Aug 1999 08:40:34 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA00959;
	Fri, 20 Aug 1999 08:39:48 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA28298
	for <wu-ftpd@wugate.wustl.edu>; Fri, 20 Aug 1999 08:38:09 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA11032;
	Fri, 20 Aug 1999 09:38:05 -0400
Message-Id: <19990820093803.C10669@vr.net>
Date: Fri, 20 Aug 1999 09:38:05 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Veselin Terzic <vterzic@systems.dhl.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpconversions (tar + gzip)
In-Reply-To: <37BCE83C.5E9A4CBC@systems.dhl.com>; from Veselin Terzic on Thu, Aug 19, 1999 at 10:31:40PM -0700
References: <37BCE83C.5E9A4CBC@systems.dhl.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="hYooF8G/hrfVAmum"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--hYooF8G/hrfVAmum
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 19, 1999 at 10:31:40PM -0700, Veselin Terzic wrote:

> platform: hpux, wu-ftpd-2.5.0, gnu tar-1.13, gzip (static)
>=20
> when a guest user logs in, get <dir>.tar works, but get dir.tar.gz says
> "no such file or directory".  i was hoping i can get a directory by
> taring  + gzip on the fly?
>=20
> i use default ftpconversion.  i alo tried replacing "-z" with
> --use-compress-program:
>=20
>  :   : :.tar.gz:/bin/tar -c --use-compress-program=3D/bin/gzip=20
>            -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

Some machines don't handle that very well.  Usually what you do is get a
'pipe' program and tell it to run tar, piping the results through gzip.

This may or may not be the case here.  All I can say is it must be an HP/UX
issue since tar+gzip works fine on other platforms using the default
ftpconversions.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--hYooF8G/hrfVAmum
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN71MJA2nXFkJc83RAQHhPAMAtUfxVQM2qIVwdxw4xe+enLWmCDUzAUkk
rsY5gDzsGR9pC5yH6T5M9rkKCfJdU3Hmaw2M8Mq0tRUuqn/75uvsLZjZhXnqnvKJ
kJzWDbyWk2FwpDDMfrE6qhjp/JWMNahM
=LnLd
-----END PGP SIGNATURE-----

--hYooF8G/hrfVAmum--

From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 21 18:34:50 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA22546
	for <wuftpd@landfield.com>; Sat, 21 Aug 1999 18:34:49 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA02229;
	Sat, 21 Aug 1999 18:34:01 -0500 (CDT)
Received: from server1.c-ids.net ([209.47.225.220])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA27454
	for <wu-ftpd@wugate.wustl.edu>; Sat, 21 Aug 1999 18:27:22 -0500 (CDT)
Received: from mqbot13 (p183.dpl.zet.net [195.189.103.183]) by server1.c-ids.net (8.8.8) id AAA28017; Sun, 22 Aug 1999 00:31:54 GMT
Message-Id: <199908220031.AAA28017@server1.c-ids.net>
Date: Sun, 22 Aug 1999 01:25:17 +0200
Reply-To: webmaster@c-ids.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Dimitrios Karvounaris" <webmaster@c-ids.net>
To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Cc: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Replacing wuftpd with BeroFTPD doesn't work?
In-Reply-To: <19990817091633.B5000@vr.net>
References: <199908171346.NAA02388@server1.c-ids.net>; from Dimitrios Karvounaris on Tue, Aug 17, 1999 at 02:39:31PM +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-mailer: Pegasus Mail for Win32 (v3.11)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> > I have setup on a new server BeroFTPD, as I have on my old server.   But
> > I want to use now chrooted users.=20
> >=20
> > I have search in the mailinglist archive for infos and have found, that
> > I must use guestusers. I have also setup this and if I try this with
> > wu-ftpd 2.5.0 it is working now without problems. But if I try the same
> > configuration with BeroFTPD 1.3.4, it is chrooting only on anonymous
> > access, but not with the other users.   I have tried to compile this
> > with other options and checked twice the correct location of ftpaccess,
> > but don't have found the problem.=20
> 
> I'm sure Bernhard will correct me if I'm wrong ...
> 
> If you're talking about the old 'guestgroup' clause, this should be
> working in BeroFTPD.  Probably the problem is a missing entry for the
> users in /etc/group: there seems to be a lot of confusion by this on both
> WU-FTPD and BeroFTPD .. the user MUST be explicitly listed in the named
> guestgroup in /etc/groups for guestgroup to take effect.  With BeroFTPD
> this is compounded by the possibilty of multiple etc/group files.
> 
> If you're talking about guest-root, ISTM this is one of the later features
> of WU-FTPD which has not yet made it into BeroFTPD.

No, that wasn't the problem ... 
I have found now the problem and I am wondering about one thing. 

I have heard, that the hostbased ftpservers like on apache, doesn't 
work, because this isn't official. I has setup before I tried that with the 
chroot a hostbased ftpserver, but forgot this, because I thinked it 
doesn't work. And it has worked, if I was used with only one IP 
different hostnames, that was the reason, that the changes on the 
default ftpaccess-file doesn't applied. I use AbsoluteFTP as ftp-client. 
Has this software implemented the hostbased feature, or why it is 
working on me??? 


# Dimitrios Karvounaris       Email: info@c-ids.net 
# Bastionstrasse 51           Tel: (02941) 65 80 51
# 59555 Lippstadt             
*
# www.C-IDS.net
*
# Bank:  SSK Lippstadt
# BLZ:   416 500 01
# Konto: 19 513
 

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug 22 07:48:11 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA00264
	for <wuftpd@landfield.com>; Sun, 22 Aug 1999 07:48:09 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA20704;
	Sun, 22 Aug 1999 07:47:17 -0500 (CDT)
Received: from gatekeeper.osp.nl (gatekeeper.osp.nl [193.78.233.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA25485
	for <wu-ftpd@wugate.wustl.edu>; Sun, 22 Aug 1999 07:40:25 -0500 (CDT)
Received: from jadzia.josv.com (root@dialup2.osp.nl [193.78.233.164])
	by gatekeeper.osp.nl (8.9.3/8.9.3) with ESMTP id NAA00710
	for <wu-ftpd@wugate.wustl.edu>; Sun, 22 Aug 1999 13:12:27 +0200 (CEST)
Received: from osp.nl (josv@localhost [127.0.0.1])
	by jadzia.josv.com (8.9.3/8.9.3) with ESMTP id NAA17938
	for <wu-ftpd@mail.wustl.edu>; Sun, 22 Aug 1999 13:12:20 +0200
Message-Id: <37BFDB13.50E02395@osp.nl>
Date: Sun, 22 Aug 1999 13:12:19 +0200
Reply-To: josv@osp.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jos Visser <josv@osp.nl>
To: wu-ftpd@wugate.wustl.edu
Subject: WU FTPD and LDAP
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------9E38B2430F9CE538BA32DD83"
X-Sender: josv@osp.nl
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i586)
X-Accept-Language: nl, en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.
--------------9E38B2430F9CE538BA32DD83
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

And thus it came to pass that I felt this pressing need to integratie
WU-FTPD with LDAP without any intervention from PAM. I have looked
around a bit but did not find an out-of the box solution that I could
use. I therefore decided to write my own. It seems to be working
allright (tested on Linux and HP-UX). I would like to share this code
with the WU-FTPD community so I include the files of interest with this
e-mail message.

Please beware that this code has a serious "0.1-under-development"
status. Please heed the warnings in README.LDAP! 
I would be interested to hear what people think and where it can be
improved. I would be happy to take in requests and see if, when and how
they could be implemented.

With this e-mail I include a recursive diff of the 'wu-ftpd-2.5.0' and
'wu-ftpd-2.5.0-ldap' directories. New/changed files in the
wu-ftpd-2.5.0-ldap directory are reflected in the diff output.
Currently, I have updated the Linux makefile only (my development
platform), modifications for HP-UX are underway. Included in the patch
is a README.LDAP file that explains some of the mechanisms employed.

Share and Enjoy! (motto of the Sirius Cybernetics Corporation :-)

++Jos

=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT
diff -N -r wu-ftpd-2.5.0/README.LDAP wu-ftpd-2.5.0-ldap/README.LDAP
0a1,235
> ===========
> README.LDAP                   Jos Visser (josv@osp.nl)
> ===========
> 
> Date: Fri Aug 20 16:01:14 MEST 1999
> 
> Introduction
> ------------
> And thus it came to pass that for an extranet project I am working on I
> felt this pressing need to have the WU FTP daemon lookup and
> authenticate users in an LDAP compliant directory service (e.g. the
> Netscape Directory Server). After having looked around on the Internet,
> and investigating things like PAM, I decided to extend WU FTP with an
> LDAP capability. Since you're reading this file, I presume that you want
> to know how it works.
> 
> First of all, the current capability is *very* basic, but, it is exactly
> what I need and can relatively easily be extended. An important thing
> that is currently missing is connecting over SSL (port 636). But, who
> knows what the future will hold?
> 
> Why?
> ----
> Good question. Traditionally, FTP knows two types of users: anonymous
> users and real users. The anonymous user has a virtual user name
> ("anonymous" or "ftp"), whereas real users must be present in the system
> password file. WU FTP has a "guest user" capability which restricts a
> real user to his home directory. However, the user and password are
> still maintained in the system password file (/etc/passwd).
> 
> In my project, I have an extranet application that uses a mix of web and
> FTP to up-and-download files to and from an Internet server. Both web
> and FTP access are restricted to authenticated and authorised users. I
> want to use the same user administration for web and FTP access, and I
> do not want the users to be in the Unix password file (for security and
> other reasons).
> 
> My web server is a Netscape Enterprise (web) Server which has built-in
> capabilities to use an LDAP directory server. So, all I lack is LDAP
> support in my FTP daemon.
> 
> Building WU FTP with LDAP
> -------------------------
> The following description assumes that you're a code warrior who has
> build, installed and configured WU FTP before.
> 
> To build WU FTP with LDAP support you need:
> 
> - WU FTP 2.5.0
> - a patched version of src/ftpd.c
> - ldapftp.c
> - patched makefiles for the various platforms (currently, I have the
>   Linux and HP-UX makefiles updated, because these are my development
>   and production platforms).
> - The OpenLDAP LDAP SDK
> 
> First, build OpenLDAP conform its instructions. We only need the LDAP
> SDK libraries, but why not build the OpenLDAP directory server and play
> with it while your at it?
> 
> Then, build WU FTP with LDAP support:
> 
> ./build "USE_LDAP=1 LDAP_INCLUDE=/path/to/openldap/include LDAP_LIBS=/path/to/src/openldap/libraries" <platform>
> 
> If you're really lucky, everything builds. Mind you, currently this is
> all development code. It builds on my laptop (SuSE Linux 6.1), that's
> all I can currently promise. What is especially the case is that you
> currently need an ANSI C compiler because I use prototypes and I haven't
> yet found the time to throw in the #ifdefs to make it compile under both
> K&R C and ANSI C.
> 
> After build, just run "./build install" and you're set to go.
> 
> How does the WU FTP daemon use LDAP?
> ------------------------------------
> The core of WU FTP is in the file "src/ftpd.c". When an FTP user sends
> his/her user name, WU FTP normally uses "getpwnam" to retrieve user
> information such as the uid, gid and home directory. When this fails
> user authentication fails. In the patched ftpd.c compiled with
> -DUSE_LDAP, ftpd.c then calls out to "getpwnam_ldap()" (in ldapftp.c)
> which tries to look up the user in the directory. If this succeeds, the
> user information is retrieved from the directory and then copied in an
> industry standard "struct passwd". 
> 
> If the user then sends his/her password (and the user information was
> looked up using LDAP), the routine "check_pass_ldap()" is called to
> check the password against the password field in the directory. 
> 
> Please beware that the patched "ftpd.c" *first* looks up the user using
> the "old" lookup scheme (anonymous, system password file), and only when
> this fails it employs LDAP to lookup the user in the directory. So it
> remains possible to FTP in using a real user!
> 
> Furthermore, LDAP can be employed *together* with the "guest user"
> facility. WU FTP with LDAP retrieves the numeric uid and gid from the
> directory, and then the ordinary "ftpaccess" statements like "guestuser"
> and "guestgroup" are checked to see if access restrictions apply. Most
> commonly you would want to use "guest access" together with LDAP!
> 
> Configuring WU FTP for LDAP access
> ----------------------------------
> All necessary parameters for the LDAP connection have to be specified in
> the "ftpaccess" file. A couple of new ftpaccess statements have been
> added that allow the administrator to specify the connection parameters:
> 
> ldap-host     ldap.osp.nl
> ldap-port     389
> ldap-base     o=osp.nl
> ldap-user     uid=dirmgr, ou=Directory Users, o=osp.nl
> ldap-password secret
> 
> Sensible defaults exist for these parameters, so you do not need to
> specify anything. However, the "ldap-user" used in the LDAP connection
> must have enough permission to search the directory, retrieve user
> information and compare the user password to the value stored in the
> directory.
> 
> Configuring the directory for WU FTP
> ------------------------------------
> WU FTP looks up users with the search filter "uid=username". The user
> entries for which you want to allow FTP access *must* be of object class
> "ftpUser". Presumably this object class does not exist in your
> directory. The solution: add it using your directories extensible schema
> editor.
> 
> WU FTP expects the following attributes to be present in the user entry:
> 
> - uid                 the user name (string)
> - userPassword        (string)
> - uidNumber   the numeric userid (a la Unix, integer)
> - gidNumber   the numeric groupid (a la Unix, integer)
> - homeDirectory       the user's home directory (string)
> 
> The following attributes may be present:
> 
> - cn          the common name of the user (string)
> - gecos               a standard Unix gecos field (string)
> 
> You need to set up permissions in the directory so that the user that WU
> FTP uses has enough permissions to search through the directory,
> retrieve the attributes specified before *and* have "compare" permission
> to the userPassword field.
> 
> Regarding user password storage. WU FTP tries SHA, MD5 and clear text
> passwords before it gives up.
> 
> Reference
> ---------
> There is tons of stuff on LDAP out there. From personal experience I can
> recommend the book "LDAP -- programming directory enabled applications
> with lightweight directory access protocol" by Tim Howes and Mark Smith.
> 
> Example
> -------
> The following is the output of a series of Unix commands that show how
> things work (everything following // are my comments):
> 
> // First I perform an ldapsearch to show you the entry of user test in
> // the directory
> 
> $ ldapsearch -b o=osp.nl uid=test
> uid=test,o=OSP,ou=extranet,o=osp.nl
> objectclass=top
> objectclass=person
> objectclass=organizationalPerson
> objectclass=inetOrgPerson
> objectclass=ftpUser           // You see, this is an FTP user
> cn=Test User
> uid=test
> givenname=Test
> sn=User
> creatorsname=uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot
> createtimestamp=19990819205615Z
> homedirectory=/home/josv/tmp
> uidnumber=1003                        // Pay attention here!
> gidnumber=1003
> modifiersname=uid=dirmgr,ou=Directory Users,o=osp.nl
> modifytimestamp=19990820093201Z
> 
> // Please note that you do not see the userPassword field in the entry
> // above. This is because the anonymous LDAP user that I used in the
> // ldapsearch does not have read permission for this attribute.
> 
> // Now I am going to perform an FTP
> $ ftp localhost
> Connected to localhost.
> 220 jadzia.josv.com FTP server (Version wu-2.5.0(1) Fri Aug 20 08:52:14 MEST 1999) ready.
> Name (localhost:josv): test   // This is a directory user!
> 331 Password required for test.
> Password:
> 230-Welcome Test User         // This comes from the "cn" attribute
> 230-Please read the file README
> 230-  it was last modified on Fri Apr  2 08:19:31 1999 - 140 days ago
> 230 User test logged in.  Access restrictions apply.  // Pay attention!
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> pwd
> 257 "/" is current directory.                         // Pay attention!
> ftp> quit
> 221-You have transferred 0 bytes in 0 files.
> 221-Total traffic for this session was 431 bytes in 0 transfers.
> 221-Thank you for using the FTP service on jadzia.josv.com.
> 221 Goodbye.
> 
> // Well, that spoke for itself I reckon....
> 
> // And we have logged something in the syslog
> 
> $ tail /var/log/messages
> Aug 20 16:36:43 jadzia wu.ftpd[8722]: connect from josv@127.0.0.1
> Aug 20 16:36:45 jadzia ftpd[8722]: test recognised as uid=test,o=OSP,ou=extranet,o=osp.nl (Test User)
> 
> About the example
> -----------------
> In this example, I used the WU FTP guest user facility in combination
> with WU FTP LDAP. In the directory the numeric uid and gid of the user
> "test" are 1003. This is the actual uid and gid of a user and group in
> the system:
> 
> In /etc/passwd:
> extraftp:x:1003:1003:Extranet FTP user:/not/exist:/no/shell
> 
> In /etc/group:
> extraftp:x:1003:extraftp
> 
> So, the FTP daemon assumes the identity of the "extraftp" Unix user.
> Furthermore, in "/etc/ftpaccess" we have:
> 
> guestuser %1003
> 
> So, after having authenticated the user, WU FTP fires up its normal
> "guest" facilities, doing a chroot to the user's home directory (from
> the directory (/home/josv/tmp)) and restricts the user to that
> directory. Neat uh?
> 
diff -N -r wu-ftpd-2.5.0/m wu-ftpd-2.5.0-ldap/m
0a1,2
> cd /home/josv/src/wu-ftpd-2.5.0
> ./build "USE_LDAP=1 LDAP_INCLUDE=/home/josv/src/openldap/include LDAP_LIBS=/home/josv/src/openldap/libraries" lnx
diff -N -r wu-ftpd-2.5.0/src/ftpd.c wu-ftpd-2.5.0-ldap/src/ftpd.c
513a514,519
> #ifdef USE_LDAP
> struct passwd *getpwnam_ldap(char *name);
> int check_pass_ldap(char *passwd);
> int ldap_user=0;
> #endif
> 
1368c1374,1384
<     if ((p = getpwnam(name)) == NULL)
---
> #ifdef USE_LDAP
>     ldap_user=0;
> #endif /* USE_LDAP */
>     if ((p = getpwnam(name)) == NULL) {
> #ifdef USE_LDAP
>       p=getpwnam_ldap(name);
>       
>       if (!p) return 0;
> 
>       ldap_user=1;
> #else /* !USE_LDAP */
1369a1386,1387
> #endif /* USE_LDAP */
>     }
2355a2374,2378
> #ifdef USE_LDAP
>       if (ldap_user)
>           if (pw && check_pass_ldap(passwd)) 
>               rval=0;
> #endif
diff -N -r wu-ftpd-2.5.0/src/ldapftp.c wu-ftpd-2.5.0-ldap/src/ldapftp.c
0a1,547
> /*
>  * (c) Copyright 1999 Open Solution Providers
>  *
>  * Author: Jos Visser (josv@osp.nl)
>  *
>  * This software is provided under the GNU Public License (GPL). Contact
>  * me (josv@osp.nl) if you have no idea what that means, and we'll work on
>  * your education a bit :-).
>  *
>  * This software is provided "as is", with all flaws, bugs, errors and
>  * hidden features that are evident from close scrutiny of the source
>  * code.
>  *
>  * This file is the heart of the WU-FTP LDAP feature that I implemented
>  * because I felt that I needed it. Please feel free to adopt, adapt and
>  * improve this source, but send me (josv@osp.nl) a note when you do.
>  *
>  * For more elaborate documentation, see README.LDAP.
>  */
> 
> #ifdef USE_LDAP
> 
> #include <unistd.h>
> 
> #include "portable.h"
> 
> #include <stdlib.h>
> 
> #include <ac/string.h>
> #include <ac/unistd.h>
> 
> #include "lutil_md5.h"
> #include "lutil_sha1.h"
> #include "lutil.h"
> 
> #include <lber.h>
> #include <ldap.h>
> 
> #include <sys/time.h>
> #include <pwd.h>
> #include <syslog.h>
> 
> #include "extensions.h"
> 
> #ifdef LDAP_OPT_SIZELIMIT
> #define NETSCAPE_LDAP_SDK
> #else
> #define UMICH_LDAP_SDK
> #endif
> 
> #ifdef NETSCAPE_LDAP_SDK
> #define GET_LDERROR(ld) ldap_get_lderrno((ld),0,0)
> #else
> #define GET_LDERROR(ld) (ld)->ld_errno
> #endif
> 
> /*
>  * A user found in the directory must be of this objectClass to be
>  * deemed a valid FTP user.
>  */
> #define FTP_OBJECTCLASS       "ftpUser"
> 
> #define FREE(x)                       { if ((x)) free((x)); (x)=0; }
> 
> void reply(int code, char *fmt, ...);
> void lreply(int code, char *fmt, ...);
> 
> /*
>  * It seems that global variables are coming in vogue again.
>  */
> static LDAP *ld=0;
> static struct timeval tv;
> static struct passwd pw;
> static char *dn=0;
> static char *cn=0;
> static char base64digest[29];
> static char *diruser=0;
> static char *dirpass=0;
> static char *dirhost="localhost";
> static int dirport=LDAP_PORT;
> static char *dirbase="o=osp.nl";
> 
> /* 
>  * The list of entry attributes that I am interested in. An ldap_search
>  * will return only these attributes.
>  */
> static char *ftpattrs[] = {
>       "objectClass",
>       "cn",
>       "gidNumber",
>       "uidNumber",
>       "homeDirectory",
>       "gecos",
>       0
> };
> 
> /*
>  * Something went wrong. Let's try to give a meaningful error. The error
>  * is written to the syslog, and to the FTP user (at the client side) as
>  * a 500 permanent error reply. The FTP client on the remote site will
>  * terminate the connection.
>  */
> static void *error(LDAP *ld,char *s)
> {
>       int err=0;
>       char *msg;
> 
>       if (ld) {
>               err=GET_LDERROR(ld);
>               msg=ldap_err2string(err);
>               syslog(LOG_ERR,"LDAP error: %s reports %s",s,msg);
>               reply(500,"LDAP error: %s reports %s",s,msg);
>       } else {
>               syslog(LOG_ERR,"General LDAP error: %s",s);
>               reply(500,"General LDAP error: %s",s);
>       }
> 
>       return 0;
> }
> 
> /*
>  * Initialise the connection to the directory server. First retrieve the
>  * necessary parameters from the ftpaccess file, the set up an LDAP
>  * connection.
>  */
> static int init_ldap() 
> {
>       struct aclmember *entry;
>       int i,len;
>       char *buf;
> 
>       entry=0;
>       if (getaclentry("ldap-host", &entry) && ARG0) dirhost=ARG0;
> 
>       entry=0;
>       if (getaclentry("ldap-port", &entry) && ARG0) dirport=atoi(ARG0);
> 
>       /*
>        * An LDAP bind dn can (and almost always will) contain spaces.
>        * Therefore, I construct the bind dn from the entire set of
>        * arguments specified on the "ldap-user" line.
>        */
>       entry=0;
>       if (getaclentry("ldap-user", &entry) && ARG0) {
> 
>               for (len=i=0; i<MAXARGS && ARG[i]; i++)
>                       len+=strlen(ARG[i]);
> 
>               buf=malloc(len+1);
>               *buf=0;
> 
>               for (i=0; i<MAXARGS && ARG[i]; i++) {
>                       if (i>0) strcat(buf," ");
>                       strcat(buf,ARG[i]);
>               }
> 
>               FREE(diruser);
>               diruser=buf;
>       }
> 
>       /*
>        * Currently, the password is specified in clear text in the
>        * ftpaccess file. I must do something about that.
>        */
>       entry=0;
>       if (getaclentry("ldap-password", &entry) && ARG0) dirpass=ARG0;
> 
>       entry=0;
>       if (getaclentry("ldap-base", &entry) && ARG0) dirbase=ARG0;
> 
>       /*
>        * syslog(LOG_INFO,"LDAP parameters:");
>        * syslog(LOG_INFO,"server   = %s",dirhost);
>        * syslog(LOG_INFO,"port     = %d",dirport);
>        * syslog(LOG_INFO,"base dn  = %s",dirbase);
>        * syslog(LOG_INFO,"bind dn  = %s",diruser?diruser:"(anonymous)");
>        * syslog(LOG_INFO,"password = %s",dirpass?"(withheld)":"(none)");
>        */
> 
>       /*
>        * Build a connection to the directory server.
>        */
>       if (!(ld=ldap_init(dirhost,dirport)))
>               return (int)error(0,"ldap_init()");
> 
>       /*
>        * Bind to the directory server as the specified user (bind dn)
>        * and with the specified password. If they are not specified in
>        * the ftpaccess file, we bind as the anonymous user, but it is
>        * then up to you to make sure that this user has enough rights
>        * to perform searches and compares in the directory. Especially
>        * the userPassword attribute is critical, since most
>        * directories protect this attribute from anonymous access by
>        * default.
>        */
>       if (ldap_simple_bind_s(ld,diruser,dirpass)!=LDAP_SUCCESS) 
>               return (int)error(ld,"ldap_bind");
> 
>       /*
>        * This struct timeval is used to limit the maximum time an LDAP
>        * search operation can take to 10 seconds.
>        */
>       tv.tv_sec=10;
>       tv.tv_usec=0;
> 
>       return 1;
> }
> 
> /*
>  * Check whether the user we found in the directory is of the correct
>  * objectClass. I could have fired off an ldap_compare_s(), but since we
>  * have the data in storage on the client, why not go through the data
>  * myself?
>  */
> static int check_ftpUser(LDAP *ld, LDAPMessage *entry)
> {
>       char **vals;
>       int i;
> 
>       vals=ldap_get_values(ld,entry,"objectClass");
> 
>       if (!vals) return 0;
> 
>       for (i=0; vals[i]; i++) 
>               if (strcmp(vals[i],FTP_OBJECTCLASS)==0) {
>                       ldap_value_free(vals);
>                       return 1;
>               }
> 
>       ldap_value_free(vals);
>       return 0;
> }
> 
> /* 
>  * Return an LDAP entry attribute of the user as a string.
>  */
> static char *attr_str(LDAP *ld, LDAPMessage *entry, char *attr, char *def)
> {
>       char **vals;
>       char *result;
> 
>       vals=ldap_get_values(ld,entry,attr);
> 
>       if (vals) {
>               result=strdup(vals[0]);
>               ldap_value_free(vals);
>       } else if (def)
>               result=strdup(def);
>       else
>               result=0;
> 
>       return result;
> }
> 
> /* 
>  * Return an LDAP entry attribute of the user as an integer.
>  */
> static int attr_num(LDAP *ld, LDAPMessage *entry, char *attr, int def)
> {
>       char **vals;
>       int result;
> 
>       vals=ldap_get_values(ld,entry,attr);
> 
>       if (vals) {
>               result=atoi(vals[0]);
>               ldap_value_free(vals);
>       } else
>               result=def;
> 
>       return result;
> }
> 
> /*
>  * Search the directory for the given user, and fill an industry
>  * standard "struct passwd" with the values found. The main of the WU
>  * FTP daemon has got no clue where the data came from, and will use it
>  * regardless. Returns 0 if the * user can not be found, or is invalid.
>  */
> struct passwd *getpwnam_ldap(char *name)
> {
>       int             n;
>       LDAPMessage     *result,*entry;
>       char            buf[80];
> 
>       /*
>        * Initialise the LDAP connection.
>        */
>       if (!ld) if (!init_ldap()) return 0;
> 
>       /*
>        * Build the LDAP search filter. Rather simple, but exactly what
>        * we need.
>        */
>       sprintf(buf,"(uid=%s)",name);
> 
>       /* 
>        * Fire off the search operation. Only retrieves the attributes
>        * I'm interested in.
>        */
>       n=ldap_search_st(ld,dirbase,LDAP_SCOPE_SUBTREE,buf,
>               ftpattrs,0,&tv,&result);
> 
>       /*
>        * Oh, oh, the user does not exist!
>        */
>       if (n==LDAP_NO_SUCH_OBJECT) return 0;
> 
>       /*
>        * "If we don't succeed, we run the risk of failure" -- D. Quale
>        */
>       if (n!=LDAP_SUCCESS) return error(ld,"search");
> 
>       /*
>        * Count how much entries we got back from the directory.
>        */
>       if ((n=ldap_count_entries(ld,result))==-1) return error(ld,"count");
> 
>       /*
>        * Hmm, we got back more than one! I'll use the first one but
>        * let's be nice and give a warning.
>        */
>       if (n>1) syslog(LOG_WARNING,"ldap_search returned %d entries for %s",
>                       n,buf);
> 
>       entry=ldap_first_entry(ld,result);
>                       
>       /*
>        * Retrieve the Distinguised Name (DN) and Common Name (CN) of
>        * the user. And log who tries to log on.
>        */
>       FREE(dn);
>       dn=ldap_get_dn(ld,entry);
>       FREE(cn);
>       cn=attr_str(ld,entry,"cn",0);
>       syslog(LOG_INFO,"%s recognised as %s (%s)",name,dn,cn?cn:"");
> 
>       /*
>        * Check whether this user is of the correct objectClass
>        * (ftpUser). If not, let's pretend he does not exist at all.
>        */
>       if (!check_ftpUser(ld,entry)) {
>               syslog(LOG_ERR,"%s is not of type (objectclass) %s",
>                       name,FTP_OBJECTCLASS);
>               return 0;
>       }
> 
>       /*
>        * Ok, I now fill the struct passwd with the fields from the
>        * directory entry.
>        */
>       FREE(pw.pw_name);
>       FREE(pw.pw_passwd);
>       FREE(pw.pw_gecos);
>       FREE(pw.pw_dir);
>       FREE(pw.pw_shell);
> 
>       pw.pw_name=strdup(name);
>       pw.pw_passwd=strdup("secret :-)");
>       pw.pw_gecos=attr_str(ld,entry,"gecos","");
>       pw.pw_dir=attr_str(ld,entry,"homeDirectory",0);
> 
>       /*
>        * This should not happen, but for those who have not configured
>        * the directory correctly... (mind you, schema checking *is* a
>        * good idea).
>        */
>       if (!pw.pw_dir) {
>               syslog(LOG_ERR,"%s has no homeDirectory attribute",name);
>               return 0;
>       }
> 
>       /*
>        * An empty shell is handled correctly by the core of WU FTPD.
>        */
>       pw.pw_shell=strdup("");
>       pw.pw_uid=attr_num(ld,entry,"uidNumber",-1);
> 
>       /*
>        * Again, this should not happen.
>        */
>       if (pw.pw_uid<0) {
>               syslog(LOG_ERR,"%s has no uidNumber attribute",name);
>               return 0;
>       }
> 
>       pw.pw_gid=attr_num(ld,entry,"gidNumber",-1);
> 
>       /*
>        * And again, this should not happen as well.
>        */
>       if (pw.pw_gid<0) {
>               syslog(LOG_ERR,"%s has no gidNumber attribute",name);
>               return 0;
>       }
> 
>       /*
>        * Ok, we're done. Bring out the dancing girls!
>        */
>       ldap_msgfree(result);
> 
>       return &pw;
> }
> 
> /*
>  * Close the LDAP connection. Quiz question: from where is this called?
>  */
> void close_ldap()
> {
>       if (!ld) return;
> 
>       ldap_unbind(ld);
>       ld=0;
> }
> 
> /*
>  * Calculate the MD5 hash of a password. This code has been adapted from
>  * the OpenLDAP passwd.c source in liblutil. Thanks guys!
>  */
> static char *md5_passwd(char *cred)
> {
>       lutil_MD5_CTX MD5context;
>       unsigned char MD5digest[16];
> 
>       lutil_MD5Init(&MD5context);
>       lutil_MD5Update(&MD5context,(const unsigned char *)cred,strlen(cred));
>       lutil_MD5Final(MD5digest, &MD5context);
> 
>       if (lutil_b64_ntop(MD5digest, sizeof(MD5digest), base64digest, 
>                                       sizeof(base64digest)) < 0)
>                       return 0;
> 
>       return base64digest;
> }
> 
> /*
>  * Calculate the SHA hash of a password. This code has been adapted from the
>  * OpenLDAP passwd.c source in liblutil. Thanks guys!
>  */
> static char *sha_passwd(char *cred)
> {
>       lutil_SHA1_CTX SHA1context;
>       unsigned char SHA1digest[20];
> 
>       lutil_SHA1Init(&SHA1context);
>       lutil_SHA1Update(&SHA1context,(const unsigned char *)cred,strlen(cred));
>       lutil_SHA1Final(SHA1digest, &SHA1context);
> 
>       if (lutil_b64_ntop(SHA1digest, sizeof(SHA1digest),
>                       base64digest, sizeof(base64digest)) < 0)
>               return 0;
> 
>       return base64digest;
> }
> 
> /* 
>  * This helper routine checkes whether its argument string happens to be
>  * the same as the content of the userPassword field of the user trying
>  * to log on. For obvious reasons, this is done with an ldap_compare(),
>  * so it is the server that does the comparison. Any hashing or crypting
>  * of the password has already been done by the caller.
>  */
> static int check_pass(char *s)
> {
>       int n=ldap_compare_s(ld,dn,"userPassword",s);
> 
>       if (n==LDAP_COMPARE_TRUE)       return 1;
>       if (n==LDAP_COMPARE_FALSE)      return 0;
> 
>       error(ld,"ldap_compare");
>       return 0;
> }
> 
> /*
>  * This routine is the core of the password checking routine. It takes
>  * the password supplied by the FTP user and tries to match it with the
>  * userPassword field of the user in the directory (through the
>  * check_pass helper). Most directories can hash the userPassword so
>  * that it is obscured from the directory administrator. This routine
>  * tries the most common hashing algorithms: SHA and MD5. If they do not
>  * match, a clear text match is tried.
>  */
> static int check_pass_ldap_horse(char *passwd)
> {
>       char *s;
>       char buf[80];
> 
>       /*
>        * This should not happen.
>        */
>       if (!ld || !dn) return 0;
> 
>       /*
>        * Hash the supplied password with SHA and compare it.
>        */
>       s=sha_passwd(passwd);
> 
>       if (s) {
>               sprintf(buf,"{SHA}%s",s);
>               if (check_pass(buf)) return 1;
>       }
> 
>       /*
>        * Hash the supplied password with MD5 and compare it.
>        */
>       s=md5_passwd(passwd);
> 
>       if (s) {
>               sprintf(buf,"{MD5}%s",s);
>               if (check_pass(buf)) return 1;
>       }
> 
>       /*
>        * If all else fails, try a clear text match, but give a warning
>        * if it matches. You better configure your directory for SHA
>        * hashing of the userPassword field.
>        */
>       if (check_pass(passwd)) {
>               syslog(LOG_WARNING,"%s uses a clear text password",dn);
>               return 1;
>       }
> 
>       /*
>        * No match!
>        */
>       return 0;
> }
> 
> /*
>  * The main password checking routine. Uses the horse function to
>  * perform the actual check, and give a nice welcome to the user if the
>  * supplied password matches.
>  */
> int check_pass_ldap(char *passwd)
> {
>       char *s;
> 
>       if (check_pass_ldap_horse(passwd)) {
>               lreply(230,"Welcome %s",cn?cn:dn);
>               return 1;
>       }
> 
>       return 0;
> }
> 
> #endif /* USE_LDAP */
> 
diff -N -r wu-ftpd-2.5.0/src/makefiles/Makefile.lnx
wu-ftpd-2.5.0-ldap/src/makefiles/Makefile.lnx
27a28,33
>             if [ "${USE_LDAP}" = "1" ]; then \
>               echo "-DUSE_LDAP"; \
>                 if [ "${LDAP_INCLUDE}" != "" ]; then \
>                   echo "-I ${LDAP_INCLUDE}"; \
>                 fi; \
>             fi; \
48a55,60
>             fi; \
>             if [ "${USE_LDAP}" = "1" ]; then \
>                 if [ "${LDAP_LIBS}" != "" ]; then \
>                   echo "-L ${LDAP_LIBS}"; \
>                 fi; \
>               echo "-lldap -llber -llutil"; \
diff -N -r wu-ftpd-2.5.0/src/makefiles/common
wu-ftpd-2.5.0-ldap/src/makefiles/common
4c4
<          sigfix.c routevector.c restrict.c
---
>          sigfix.c routevector.c restrict.c ldapftp.c
7c7
<          sigfix.o routevector.o restrict.o
---
>          sigfix.o routevector.o restrict.o ldapftp.o
=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT=CUT
 
-- 
Meningitis is one of the scariest diseases I know. If not diagnosed
correctly and treated quickly it can kill anyone, anywhere, anytime  
in a matter of hours! Don't let meningitis surprise you!

Read up on this disease at http://www.musa.org.
--------------9E38B2430F9CE538BA32DD83
Content-Type: text/x-vcard; charset=us-ascii;
 name="josv.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jos Visser
Content-Disposition: attachment;
 filename="josv.vcf"

begin:vcard 
n:Visser;Jos
tel;fax:+31-20-4950 223
tel;home:+31-36-522 0400
tel;work:+31-20-4950 222
x-mozilla-html:FALSE
url:http://www.osp.nl/~josv
org:Open Solution Providers
adr:;;Dalsteindreef 16;Diemen;;NL-1112 XC;Kingdom of the Netherlands
version:2.1
email;internet:josv@osp.nl
x-mozilla-cpt:;0
fn:Jos Visser
end:vcard

--------------9E38B2430F9CE538BA32DD83--


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 23 04:11:24 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id EAA14068
	for <wuftpd@landfield.com>; Mon, 23 Aug 1999 04:11:23 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA23222;
	Mon, 23 Aug 1999 04:10:17 -0500 (CDT)
Received: from gantek.com.tr ([212.58.17.131])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA10616
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 04:06:07 -0500 (CDT)
Received: from gantek.com.tr ([62.248.11.33])
	by gantek.com.tr (8.8.8+Sun/8.8.8) with ESMTP id MAA23585
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 12:04:54 +0300 (EET DST)
Message-Id: <37C10DFE.E95EED7F@gantek.com.tr>
Date: Mon, 23 Aug 1999 12:01:51 +0300
Reply-To: emres@gantek.com.tr
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Emre =?iso-8859-9?Q?Sevin=E7?= <emres@gantek.com.tr>
To: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Restricting a real user to a directory...
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-9
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I found the question but not the answer in the mail archives so
unfortunately I have to
repeat it once again:

Specs: Solaris 2.6 Wu-Ftp 2.5.0

I can restrict the user anonymous to the directory specified in the
/etc/passwd
but I cannot do it for a regular user such as "bulent".

Of course I run the deamon with the -a option. And checked a couple of
things.
But since this is the first time I ever install and configure Wu-Ftp I
need a little bit
help.

Thanks in advance.

(Here are my passwd and shadow files:

/etc/passwd

root:AD4Tok4lri.No:10821::::::
daemon:NP:6445::::::
bin:NP:6445::::::
sys:NP:6445::::::
adm:NP:6445::::::
lp:NP:6445::::::
smtp:NP:6445::::::
uucp:NP:6445::::::
nuucp:NP:6445::::::
listen:*LK*:::::::
nobody:NP:6445::::::
noaccess:NP:6445::::::
nobody4:NP:6445::::::
ftp:NP:::::::
ergin:*LK*:::::::
bulent:wJ9FHVHP8Ab.I:10822::::::
arif::::::::


/etc/passwd

root:x:0:1:Super-User:/:/sbin/sh
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:
lp:x:71:8:Line Printer Admin:/usr/spool/lp:
smtp:x:0:0:Mail Daemon User:/:
uucp:x:5:5:uucp Admin:/usr/lib/uucp:
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
listen:x:37:4:Network Admin:/usr/net/nls:
nobody:x:60001:60001:Nobody:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x Nobody:/:
ftp:x:30000:30000:Anonymous FTP:/data/home/./:/bin/false
emre:x:40000:40000:Emre Sevinc:/data/home/./:/bin/sh
ergin::9949:40000::/home/ergin:/bin/sh
bulent:x:40000:40000::/data/home/bulent/./:/bin/sh
arif:x:1069:10::/export/home/arif:/bin/sh
)


Emre


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 23 04:52:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id EAA14774
	for <wuftpd@landfield.com>; Mon, 23 Aug 1999 04:52:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA05847;
	Mon, 23 Aug 1999 04:53:15 -0500 (CDT)
Received: from gatekeeper.osp.nl (gatekeeper.osp.nl [193.78.233.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA12882
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 04:47:24 -0500 (CDT)
Received: from jadzia.josv.com (root@dialup2.osp.nl [193.78.233.164])
	by gatekeeper.osp.nl (8.9.3/8.9.3) with ESMTP id LAA03994;
	Mon, 23 Aug 1999 11:46:50 +0200 (CEST)
Received: from osp.nl (josv@localhost [127.0.0.1])
	by jadzia.josv.com (8.9.3/8.9.3) with ESMTP id LAA18883;
	Mon, 23 Aug 1999 11:18:54 +0200
Message-Id: <37C111FD.DE54278D@osp.nl>
Date: Mon, 23 Aug 1999 11:18:53 +0200
Reply-To: josv@osp.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jos Visser <josv@osp.nl>
To: emres@gantek.com.tr
Cc: "wu-ftpd@wugate.wustl.edu" <wu-ftpd@wugate.wustl.edu>
Subject: Re: Restricting a real user to a directory...
References: <37C10DFE.E95EED7F@gantek.com.tr>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------1EDFA257C98ACC95A0D6073D"
X-Sender: josv@osp.nl
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i586)
X-Accept-Language: nl, en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.
--------------1EDFA257C98ACC95A0D6073D
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Real users can be restricted to a directory (like the anonymous user)
with the "guestuser" and "guestgroup" statements in the ftpaccess file.

e.g.
"guestuser bulent"

++Jos

Emre Sevinç wrote:
> 
> I found the question but not the answer in the mail archives so
> unfortunately I have to
> repeat it once again:
> 
> Specs: Solaris 2.6 Wu-Ftp 2.5.0
> 
> I can restrict the user anonymous to the directory specified in the
> /etc/passwd
> but I cannot do it for a regular user such as "bulent".
> 
> Of course I run the deamon with the -a option. And checked a couple of
> things.
> But since this is the first time I ever install and configure Wu-Ftp I
> need a little bit
> help.
> 
> Thanks in advance.
> 
> (Here are my passwd and shadow files:
> 
> /etc/passwd
> 
> root:AD4Tok4lri.No:10821::::::
> daemon:NP:6445::::::
> bin:NP:6445::::::
> sys:NP:6445::::::
> adm:NP:6445::::::
> lp:NP:6445::::::
> smtp:NP:6445::::::
> uucp:NP:6445::::::
> nuucp:NP:6445::::::
> listen:*LK*:::::::
> nobody:NP:6445::::::
> noaccess:NP:6445::::::
> nobody4:NP:6445::::::
> ftp:NP:::::::
> ergin:*LK*:::::::
> bulent:wJ9FHVHP8Ab.I:10822::::::
> arif::::::::
> 
> /etc/passwd
> 
> root:x:0:1:Super-User:/:/sbin/sh
> daemon:x:1:1::/:
> bin:x:2:2::/usr/bin:
> sys:x:3:3::/:
> adm:x:4:4:Admin:/var/adm:
> lp:x:71:8:Line Printer Admin:/usr/spool/lp:
> smtp:x:0:0:Mail Daemon User:/:
> uucp:x:5:5:uucp Admin:/usr/lib/uucp:
> nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
> listen:x:37:4:Network Admin:/usr/net/nls:
> nobody:x:60001:60001:Nobody:/:
> noaccess:x:60002:60002:No Access User:/:
> nobody4:x:65534:65534:SunOS 4.x Nobody:/:
> ftp:x:30000:30000:Anonymous FTP:/data/home/./:/bin/false
> emre:x:40000:40000:Emre Sevinc:/data/home/./:/bin/sh
> ergin::9949:40000::/home/ergin:/bin/sh
> bulent:x:40000:40000::/data/home/bulent/./:/bin/sh
> arif:x:1069:10::/export/home/arif:/bin/sh
> )
> 
> Emre

-- 
Meningitis is one of the scariest diseases I know. If not diagnosed
correctly and treated quickly it can kill anyone, anywhere, anytime  
in a matter of hours! Don't let meningitis surprise you!

Read up on this disease at http://www.musa.org.
--------------1EDFA257C98ACC95A0D6073D
Content-Type: text/x-vcard; charset=us-ascii;
 name="josv.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jos Visser
Content-Disposition: attachment;
 filename="josv.vcf"

begin:vcard 
n:Visser;Jos
tel;fax:+31-20-4950 223
tel;home:+31-36-522 0400
tel;work:+31-20-4950 222
x-mozilla-html:FALSE
url:http://www.osp.nl/~josv
org:Open Solution Providers
adr:;;Dalsteindreef 16;Diemen;;NL-1112 XC;Kingdom of the Netherlands
version:2.1
email;internet:josv@osp.nl
x-mozilla-cpt:;0
fn:Jos Visser
end:vcard

--------------1EDFA257C98ACC95A0D6073D--


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 23 07:51:52 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA17469
	for <wuftpd@landfield.com>; Mon, 23 Aug 1999 07:51:51 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA28611;
	Mon, 23 Aug 1999 07:50:46 -0500 (CDT)
Received: from dora.ins.at (dora.ins.at [194.152.96.75])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA01510
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 07:47:55 -0500 (CDT)
Received: from sv-95 (al.papa.at [194.152.104.82])
	by dora.ins.at (8.9.3/8.9.3) with ESMTP id OAA06681
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 14:47:11 +0200
Message-Id: <001001beed65$9dd1ba40$526898c2@sv-95.papa.at>
Date: Mon, 23 Aug 1999 14:47:10 +0200
Reply-To: <sv@papa.at>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Sascha Vogt" <sv@ins.at>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Stupid Newbie #4000 question
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi Folks!

After a week I dedice to call for help.

My anonymous users cant 'dir', allthough 'ls' works. Since most users
are using W32 and something like WS_FTP or CuteFTP, they cant see
anything. But a user using a commandline driven ftp-client like in W95
can use 'ls' and it works, but he cant use 'dir' either.

All happens on a SuSe 2.0.36 (i586) with wu-ftpd.2.4.2.

I made a group ftpano and a user ftp in it.

Homedirectory of ftp is /usr/local/ftp, further I have following below
this directory:

~/bin/
~/etc/
~/msgs/
~/pub/

I download the static versions of ls, dir, compress and tar from GNU,
compiled and put them into ~/bin

In ~/etc I created a passwd and a group file like this:

#---passwd for ftp
anonymous:*:2000:4004:Anonymous FTP::
guest:*:2001:4004:Anonymous FTP::
ftp:*:2002:4004:Anonymous FTP::
#--- EOF passwd

#---group for ftp
ftpano:*:4004:ftp,guest,anonymous
#---EOF group

I chmod +rx -R ~

I changed the group of all files and directories begining with
/usr/local/ftp and below to ftpano. I know this is not the way to do
it, but I wanted to see if it helps.

One step further I changed the owner of all files and directories
begining with /usr/local/ftp to ftp. Same as above.

The symptom is still the same.

When a anonymous User logs in, he can type 'ls' and gets a list of
contents, when he types 'dir' he doesn't see anything, but still gets
the '226 Transfer complete.'-message, e.g. no error.

After searching and trying all man's faq's and how-to's I could get
hold of, I finaly see no other way than bothering you with my problem.
I am pretty sure it is just a little mistake I made which is an "Of
course you have to..." for the authors of the things I read.

Any hints?

Sascha


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 23 08:36:37 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA18173
	for <wuftpd@landfield.com>; Mon, 23 Aug 1999 08:36:37 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA22161;
	Mon, 23 Aug 1999 08:37:10 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA02261
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 08:30:34 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA06481;
	Mon, 23 Aug 1999 09:30:01 -0400
Message-Id: <19990823093001.G5779@vr.net>
Date: Mon, 23 Aug 1999 09:30:01 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: sv@papa.at
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Stupid Newbie #4000 question
In-Reply-To: <001001beed65$9dd1ba40$526898c2@sv-95.papa.at>; from Sascha Vogt on Mon, Aug 23, 1999 at 02:47:10PM +0200
References: <001001beed65$9dd1ba40$526898c2@sv-95.papa.at>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="AjmyJqqohANyBN/e"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--AjmyJqqohANyBN/e
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Read the FAQ and the Guest HOWTO refernced from it.

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/


--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--AjmyJqqohANyBN/e
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8E+xw2nXFkJc83RAQHBMAL/fIcM+3YeqPILUoydEZA/rw+weHPjIQoW
ajQwOIF75BOaEE9DC0bYPeBNBRW2YRue2f0SZbH3MiRtwABDdM1xa3A9ITkWJGj+
+v1GUaN1RrT1hDiicc/Hm0dMwUOPkjhb
=EwrX
-----END PGP SIGNATURE-----

--AjmyJqqohANyBN/e--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 23 10:05:01 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA19888
	for <wuftpd@landfield.com>; Mon, 23 Aug 1999 10:05:00 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA22087;
	Mon, 23 Aug 1999 10:03:17 -0500 (CDT)
Received: from gevjon.ttsg.com (ttsg@gevjon.ttsg.com [207.198.190.175])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA00896
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 10:01:54 -0500 (CDT)
Received: (from ttsg@localhost)
	by gevjon.ttsg.com (8.9.0/8.9.0) id LAA19321
	for wu-ftpd@wugate.wustl.edu; Mon, 23 Aug 1999 11:01:53 -0400 (EDT)
Message-Id: <199908231501.LAA19321@gevjon.ttsg.com>
Date: Mon, 23 Aug 1999 11:01:53 -0400 (EDT)
Reply-To: ttsg@ttsg.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: TTSG <ttsg@ttsg.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Upload and chroot'd users
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

Hi,

	Wondering if upload will work with chrooted users.  It seems
to imply its for the anonymous ftp only. I'm basically trying to say
that all chrooted users can't create directories.

In /etc/passwd:

fred:x:111:111:Fred:/usr/ftp/./usr/fred:/usr/bin/false

In /etc/ftpaccess

upload /usr/ftp /usr/fred yes fred other 0600 nodirs


			Thanks, Tuc/TTSG

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 23 10:16:10 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA20068
	for <wuftpd@landfield.com>; Mon, 23 Aug 1999 10:16:09 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA18361;
	Mon, 23 Aug 1999 10:16:11 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA22279
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 10:14:19 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id LAA07528;
	Mon, 23 Aug 1999 11:13:55 -0400
Message-Id: <19990823111344.C7300@vr.net>
Date: Mon, 23 Aug 1999 11:13:51 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: TTSG <ttsg@ttsg.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Upload and chroot'd users
In-Reply-To: <199908231501.LAA19321@gevjon.ttsg.com>; from TTSG on Mon, Aug 23, 1999 at 11:01:53AM -0400
References: <199908231501.LAA19321@gevjon.ttsg.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=nVMJ2NtxeReIH9PS; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--nVMJ2NtxeReIH9PS
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 23, 1999 at 11:01:53AM -0400, TTSG wrote:

> Wondering if upload will work with chrooted users.  It seems to imply its
> for the anonymous ftp only. I'm basically trying to say that all chrooted
> users can't create directories.

1) Yes, it works fine.

2) Dude, you are a Development Group member.  If the manpage is unclear,
   clarify it and commit that change for 2.6.0 :P

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--nVMJ2NtxeReIH9PS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8FXAw2nXFkJc83RAQECAgMAz/JrC/KTOSbfhw8VPFIBUxFtdcWl+Ozj
shMMbiat/cKjPssROdykKf1+2yp2pvvjNDqx5JmmeH4XOSHSlV5WxW6qCd+0Hc9Y
tXKIoxO+vB+ZGyPusBhJtlK35I0AVcAc
=CgxR
-----END PGP SIGNATURE-----

--nVMJ2NtxeReIH9PS--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 09:17:31 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA26941
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 09:17:30 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA00887;
	Fri, 27 Aug 1999 09:14:50 -0500 (CDT)
Received: from gevjon.ttsg.com (ttsg@gevjon.ttsg.com [207.198.190.175])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA01755
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 14:24:29 -0500 (CDT)
Received: (from ttsg@localhost)
	by gevjon.ttsg.com (8.9.0/8.9.0) id PAA28020
	for wu-ftpd@wugate.wustl.edu; Mon, 23 Aug 1999 15:24:28 -0400 (EDT)
Message-Id: <199908231924.PAA28020@gevjon.ttsg.com>
Date: Mon, 23 Aug 1999 15:24:28 -0400 (EDT)
Reply-To: ttsg@ttsg.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: TTSG <ttsg@ttsg.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Upload and chroot'd users
In-Reply-To: <19990823111344.C7300@vr.net> from "Gregory A Lundberg" at Aug 23, 99 11:13:51 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

> 
> On Mon, Aug 23, 1999 at 11:01:53AM -0400, TTSG wrote:
> 
> > Wondering if upload will work with chrooted users.  It seems to imply its
> > for the anonymous ftp only. I'm basically trying to say that all chrooted
> > users can't create directories.
> 
> 1) Yes, it works fine.
>
	Then given the example of:

fred:x:111:111:Fred:/usr/ftp/./usr/fred:/usr/bin/false

in the /etc/passwd


	What is the proper syntax for the upload line?

upload /usr/ftp /usr/fred yes fred other 0600 nodirs

			or

upload /usr/ftp/usr/fred * yes fred other 0600 nodirs


			or?????

					Tuc/TTSG

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 09:42:52 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA27475
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 09:42:51 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA05588;
	Fri, 27 Aug 1999 09:42:04 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA06706
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Aug 1999 09:03:35 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id KAA03724;
	Tue, 24 Aug 1999 10:01:31 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0HAG1>; Tue, 24 Aug 1999 10:00:55 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D834@saturn.fundserv.com>
Date: Tue, 24 Aug 1999 10:00:53 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@wu-ftpd.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: ftpusers entry in /etc/group file  - NIS
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

 Hello,
I had to split ftpusers group since we do have about 500 ftpusers and the
line was too long.  I split ftpusers and created three groups.

Is this setup correct?
/etc/group:
ftpusers::60004:ftpgroup1,ftpgroup2,ftpgroup3
ftpgroup1::60005:smith, john, eva
ftpgroup2::6006:bcROP000, BwsWp009, BGSFp3345
ftpgroup3::6007:b087,b9843,b8972

I am getting this error messages when updating NIS:
# cd /var/yp
# make
make[1]: Entering directory `/var/yp'
updated group

Error talking to : unknown host
Cmake[1]: *** Deleting file `group.time'
make[1]: *** [group.time] Error 130
make: *** [k] Error 130
# 

Please help.
Regards,
Magda

Magdalena Hewryk
FundSERV Inc.
416 362-2400 ext. 237

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 09:51:57 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA27669
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 09:51:56 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA17662;
	Fri, 27 Aug 1999 09:50:27 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA18768
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Aug 1999 10:48:37 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id LAA27106;
	Tue, 24 Aug 1999 11:47:27 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0HB7X>; Tue, 24 Aug 1999 11:46:50 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D838@saturn.fundserv.com>
Date: Tue, 24 Aug 1999 11:46:43 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@wu-ftpd.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: ftpusers entry in /etc/group file  - NIS
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Before I do upgrade to v. 2.5 (late afternoon), how can I make it working
correctly now? 
A)
I added to /etc/ftpaccess my new ftpgroup1, ftpgroup2 and ftpgroup3:
# specify which group of users will be treated as "guests".
guestgroup ftpusers,ftpgroup1,ftpgroup2,ftpgroup3

I tested  ftp   and this users are not treated as   "guests" and can go
anywhere.

--Q1 
Is there something else to do?
1. /etc/group file (split ftpusers lines)
2. /etc/ftpaccess file (add new groups to guestgroup)
2. re-start inetd

Magda


> -----Original Message-----
> From: Gregory A Lundberg [mailto:lundberg@wu-ftpd.org]
> Sent: Tuesday, August 24, 1999 10:15 AM
> To: Magdalena Hewryk
> Cc: wu-ftpd@wugate.wustl.edu
> Subject: Re: ftpusers entry in /etc/group file - NIS
> 
> 
> On Tue, Aug 24, 1999 at 10:00:53AM -0400, Magdalena Hewryk wrote:
> 
> > I had to split ftpusers group since we do have about 500 
> ftpusers and the
> > line was too long.  I split ftpusers and created three groups.
> 
> Upgrade to 2.5.0 if you have not already done soe.
> 
> Delete the ftpusers group.
> 
> Add the following line to your ftpaccess
> 
> guestuser *
> realuser ftp
> 
> Now everyone is a quest.  Except 'ftp' .. who's the anonymous 
> user and due
> to a current oddity of the way the daemon works, needs to be 
> called a 'real'
> user.
> 
> -- 
> 
> Gregory A Lundberg              WU-FTPD Development Group
> 1441 Elmdale Drive              lundberg@wu-ftpd.org
> Kettering, OH 45409-1615 USA    1-800-809-2195
> 

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 10:13:53 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA28040
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 10:13:52 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA26331;
	Fri, 27 Aug 1999 09:57:36 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA05306
	for <wu-ftpd@wugate.wustl.edu>; Tue, 24 Aug 1999 12:52:07 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id NAA23292;
	Tue, 24 Aug 1999 13:51:49 -0400
Message-Id: <19990824135149.A23217@vr.net>
Date: Tue, 24 Aug 1999 13:51:49 -0400
Reply-To: lundberg+wuftpd@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpusers entry in /etc/group file  - NIS
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D838@saturn.fundserv.com>; from Magdalena Hewryk on Tue, Aug 24, 1999 at 11:46:43AM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D838@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="W/nzBZO5zC0uMSeA"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 24, 1999 at 11:46:43AM -0400, Magdalena Hewryk wrote:

> guestgroup ftpusers,ftpgroup1,ftpgroup2,ftpgroup3

Lose the commas.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8LNoQ2nXFkJc83RAQFRlgL/cT+JLTWOYokjfFcRNonPVMYcyxMlCgWw
JzRiYIhZVxA6PIdrOb8sA9SgUnx5MP7wDB1GoF+Bf/sMxo8INhgrP01xcXjYW2xQ
oEjy81aJYs6bI1gMWdbDpUVHMrBampzw
=MwEQ
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 10:43:43 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA28613
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 10:43:42 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA01812;
	Fri, 27 Aug 1999 10:38:41 -0500 (CDT)
Received: from alcor.concordia.ca (syl@alcor.Concordia.CA [132.205.7.51])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA15681
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 10:33:55 -0500 (CDT)
Received: from localhost (syl@localhost)
	by alcor.concordia.ca (8.8.7/8.8.7) with ESMTP id LAA04887;
	Fri, 27 Aug 1999 11:33:48 -0400 (EDT)
Message-Id: <Pine.OSF.4.10.9908271119220.1669-100000@alcor.concordia.ca>
Date: Fri, 27 Aug 1999 11:33:47 -0400 (EDT)
Reply-To: syl@alcor.concordia.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sylvain Robitaille <syl@alcor.concordia.ca>
To: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Cc: wuftpd-questions@wu-ftpd.org
Subject: wu-ftpd-2.5.0 Potential buffer overflow (proposed patch)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


On Sun, 4 Jul 1999 Michal Zalewski <lcamtuf@IDS.PL> posted a message to
Bugtraq which included the following:

> - ----------------------------
> wu-ftpd 2.5, VR and BeroFTPD
> - ----------------------------
> 
> Compromise: remote root
> 
> Solution: add strlen() check somewhere
> 
> There's an overflow in wu-ftpd 2.5 and prior releases (including VR and
> BeroFTPD) in mapped_path when mapping current working directory to
> command-line. While I discovered this vunerability by myself, I don't want
> to provide exploit code, as all other, hard work has been done
> independently by someone else. Instead of that, there's a .diff file with
> patch, attached somewhere as ftpd.diff.

I checked the current version (2.5.0) and sure enough the code is
potentially vulnerable (I say "potentially" because it depends on having
MAPPING_CHDIR defined at compile time, which I'm not sure is or isn't
the case in all installations).

The patch supplied by Michal misses one potential overflow, though, and
makes an improper assumption about MAXPATHLEN (he hard-codes his length
check to 4095 bytes, while MAXPATHLEN on at least some Linux systems is
1024 bytes!)

I have prepared a patch myself (appended below my signature), against the
wu-ftpd-2.5.0 source found at ftp.vr.net/wu-ftpd/wu-ftpd-2.5.0.tar.gz.
Please look this over and consider incorporating it into a future release
of the distribution. In the meantime, I suggest that admins should make
a point to apply this patch.

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems Manager                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------
# 1999/08/27 Sylvain Robitaille
# ----------
#
# Michal Zalewski <lcamtuf@IDS.PL> posted an announcement and proposed
# fix to Bugtraq on Sun, 4 Jul 1999 (message ID not available):
#
# Compromise: remote root
#
# Solution: add strlen() check somewhere
#
# There's an overflow in wu-ftpd 2.5 and prior releases (including VR
# and BeroFTPD) in mapped_path when mapping current working directory
# to command-line. While I discovered this vunerability by myself,
# I don't want to provide exploit code, as all other, hard work has
# been done independently by someone else. Instead of that, there's
# a .diff file with patch, attached somewhere as ftpd.diff.
#
# His patch overlooked one possible overflow (and makes an inappropriate
# assumption about MAXPATHLEN). I have created the following patch
# instead:

--- ftpd.c.original	Fri May 21 10:44:01 1999
+++ ftpd.c	Fri Aug 27 11:05:57 1999
@@ -1194,7 +1194,7 @@
 
 #ifdef 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
+ * that to pwd commands.  This is to avoid having the absolute disk
  * path returned, which I want to avoid.
  */
 char mapped_path[ MAXPATHLEN ] = "/";
@@ -1207,6 +1207,10 @@
       char *path;
 #endif
 {
+      /*
+       * 1999/08/26 Sylvain Robitaille: path is defined in the calling
+       *            routine as MAXPATHLEN + 1 long, so this is safe.
+       */
       strcpy( path, mapped_path );
       return path;
 }
@@ -1243,9 +1247,20 @@
       }
 
       /* append the dir part with a leading / unless at root */
-      if( !(mapped_path[0] == '/' && mapped_path[1] == '\0') )
-              strcat( mapped_path, "/" );
-      strcat( mapped_path, dir );
+      /*
+       * 1999/08/26 Sylvain Robitaille: Check first that we won't
+       *            overrun the mapped_path buffer. Complain if we
+       *            would. Note that in our length check, the extra
+       *            2 is accounted for by the "/" we're going to
+       *            append and the terminating null.
+       */
+      if( (strlen(mapped_path) + strlen(dir) + 2) < sizeof(mapped_path) ) {
+            if( !(mapped_path[0] == '/' && mapped_path[1] == '\0') )
+                    strcat( mapped_path, "/" );
+            strcat( mapped_path, dir );
+      } else {
+            syslog(LOG_ERR, "FTPD mapped_path attack ");
+      }
 }
 
 int
@@ -1259,6 +1274,11 @@
       int ret;
       char *sl, *path;
 
+      /*
+       * 1999/08/26 Sylvain Robitaille: Both old_mapped_path and
+       *            mapped_path are MAXPATHLEN long so this is
+       *            safe.
+       */
       strcpy( old_mapped_path, mapped_path );
       path = &pathspace[0];
       strcpy( path, orig_path );
@@ -1284,6 +1304,11 @@
               do_elem( path );
 
       if( (ret = chdir( mapped_path )) < 0 ){
+      /* 
+       * 1999/08/26 Sylvain Robitaille: Both old_mapped_path and
+       *            mapped_path are MAXPATHLEN long so this is
+       *            safe.
+       */
               strcpy( mapped_path, old_mapped_path );
       }


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 11:18:30 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA29328
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 11:18:29 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA06710;
	Fri, 27 Aug 1999 11:18:25 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA30483
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 11:15:08 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id MAA32606;
	Fri, 27 Aug 1999 12:14:46 -0400
Message-Id: <19990827121446.B32528@vr.net>
Date: Fri, 27 Aug 1999 12:14:46 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: checking PATHS.......how can I know which ftpaccess is checked on my system
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D88A@saturn.fundserv.com>; from Magdalena Hewryk on Fri, Aug 27, 1999 at 10:54:55AM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D88A@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=v9Ux+11Zm5mwPlX6; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--v9Ux+11Zm5mwPlX6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 10:54:55AM -0400, Magdalena Hewryk wrote:

> I have a questions regarding a location of ftpaccess file.
>=20
> I do have ftpaccess file under /usr/local/etc/ directory and under /etc
> directory.
>=20
> I don't have anymore  directory where I performed installation of FTP and=
 I
> don't have access to /bin/ckconifg file...
>=20
> --Q1.
> How can I check PATH_FTPACCESSS:: on my machine?
> Other words, how can I know which ftpaccess is checked on my system?
>=20
> To check binary I go to /etc/inetd.conf file and check the entry but for
> ftpaccess I don't know where to go and check it.

Go to the binary exposed in /etc/inetd.conf.  run strings on it:

  strings ftpd | grep ftpaccess

The access file is usually the second line listed.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--v9Ux+11Zm5mwPlX6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8arXQ2nXFkJc83RAQEunwMAw8hp1WYycUsn+k9SJbXgEmWxlCpbZgIm
Y+y/CI78WrPzQz4zJmtpnmeD+3Lu4uMTKrvSDvHU0v516DkxJybiD/70KLVKK6GS
pEeqgmBs04Hww6CsMtoywRmBOiHVO62B
=Xkxx
-----END PGP SIGNATURE-----

--v9Ux+11Zm5mwPlX6--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 11:25:26 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA29451
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 11:25:25 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA11694;
	Fri, 27 Aug 1999 11:24:38 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA08499
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 11:23:06 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id MAA32668;
	Fri, 27 Aug 1999 12:22:55 -0400
Message-Id: <19990827122254.C32528@vr.net>
Date: Fri, 27 Aug 1999 12:22:55 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Sylvain Robitaille <syl@alcor.concordia.ca>
Cc: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>,
        wuftpd-questions@wu-ftpd.org
Subject: Re: wu-ftpd-2.5.0 Potential buffer overflow (proposed patch)
In-Reply-To: <Pine.OSF.4.10.9908271119220.1669-100000@alcor.concordia.ca>; from Sylvain Robitaille on Fri, Aug 27, 1999 at 11:33:47AM -0400
References: <Pine.OSF.4.10.9908271119220.1669-100000@alcor.concordia.ca>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=ncSAzJYg3Aa9+CRW; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--ncSAzJYg3Aa9+CRW
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 11:33:47AM -0400, Sylvain Robitaille wrote:

> I checked the current version (2.5.0) and sure enough the code is
> potentially vulnerable (I say "potentially" because it depends on having
> MAPPING_CHDIR defined at compile time, which I'm not sure is or isn't the
> case in all installations).
>=20
> The patch supplied by Michal misses one potential overflow, though, and
> makes an improper assumption about MAXPATHLEN (he hard-codes his length
> check to 4095 bytes, while MAXPATHLEN on at least some Linux systems is
> 1024 bytes!)
>=20
> I have prepared a patch myself (appended below my signature), against the
> wu-ftpd-2.5.0 source found at ftp.vr.net/wu-ftpd/wu-ftpd-2.5.0.tar.gz.
> Please look this over and consider incorporating it into a future release
> of the distribution. In the meantime, I suggest that admins should make a
> point to apply this patch.

The WU-FTPD Development Group released a patch for this problem yesterday.
That patch includes yet another case missed by your patch.  The
announcement of that patch is available through our web site:

  http://www.wu-ftpd.org/

and is on our ftp site:

  ftp://ftp.wu-ftpd.org/pub/wu-ftpd/2.5.0.Security.Update.asc

please refer to that announcement for a full discussion of these issues.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--ncSAzJYg3Aa9+CRW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8atSw2nXFkJc83RAQFW1AL+N/PxuGPGETm3jiW3Eog76g4dZIYnRYaf
jN7I2RTEfRr+KIJwhz1wSLQDzwnxwIGErjjGLHwTya0vt6gBoySjbraIUngm0ajX
BWV/r6fUJWq9bZqnE5Q+0GUqQRMR2Dvu
=fjJI
-----END PGP SIGNATURE-----

--ncSAzJYg3Aa9+CRW--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 11:27:57 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA29500
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 11:27:56 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA30760;
	Fri, 27 Aug 1999 11:27:03 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA05178
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 11:23:53 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id MAA23986;
	Fri, 27 Aug 1999 12:22:50 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0JHGP>; Fri, 27 Aug 1999 12:22:08 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D890@saturn.fundserv.com>
Date: Fri, 27 Aug 1999 12:22:07 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@wu-ftpd.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: checking PATHS.......how can I know which ftpaccess is checke
	d on my system
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Thanks, I've got it:

# strings /usr/sbin/in.ftpd | grep ftpaccess
FTP server started without ftpaccess file
/usr/local/etc/ftpaccess
Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
ERROR ftpaccess port entry<%s> too large
ERROR ftpaccess port entry<%s> invalid
ERROR ftpaccess passive entry <%s> to large
ERROR ftpaccess vector entry<%s> to large
ERROR ftpaccess vector entry<%s> invalid

> -----Original Message-----
> From: Gregory A Lundberg [mailto:lundberg+wuftpd@vr.net]
> Sent: Friday, August 27, 1999 12:15 PM
> To: Magdalena Hewryk
> Cc: wu-ftpd@wugate.wustl.edu
> Subject: Re: checking PATHS.......how can I know which ftpaccess is
> checked on my system
> 
> 
> On Fri, Aug 27, 1999 at 10:54:55AM -0400, Magdalena Hewryk wrote:
> 
> > I have a questions regarding a location of ftpaccess file.
> > 
> > I do have ftpaccess file under /usr/local/etc/ directory 
> and under /etc
> > directory.
> > 
> > I don't have anymore  directory where I performed 
> installation of FTP and I
> > don't have access to /bin/ckconifg file...
> > 
> > --Q1.
> > How can I check PATH_FTPACCESSS:: on my machine?
> > Other words, how can I know which ftpaccess is checked on my system?
> > 
> > To check binary I go to /etc/inetd.conf file and check the 
> entry but for
> > ftpaccess I don't know where to go and check it.
> 
> Go to the binary exposed in /etc/inetd.conf.  run strings on it:
> 
>   strings ftpd | grep ftpaccess
> 
> The access file is usually the second line listed.
> 
> -- 
> 
> Gregory A Lundberg              WU-FTPD Development Group
> 1441 Elmdale Drive              lundberg@wu-ftpd.org
> Kettering, OH 45409-1615 USA    1-800-809-2195
> 

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 11:33:03 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA29585
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 11:33:02 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA14838;
	Fri, 27 Aug 1999 11:31:22 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA07228
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 11:30:47 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id MAA26827;
	Fri, 27 Aug 1999 12:29:44 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0JHJD>; Fri, 27 Aug 1999 12:29:02 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D891@saturn.fundserv.com>
Date: Fri, 27 Aug 1999 12:29:01 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@wu-ftpd.org>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: FTP server started without ftpaccess file
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

The machine which I didn't upgrade to (Version
wu-2.4.2-academ[BETA-18-VR15](1)
and still is running the old (Version wu-2.4.2-academ[BETA-13](1) doesn't
say that FTP Server started without ftpaccess file...

# strings /usr/local/etc/wuftpd  | grep ftpaccess
Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
/etc/ftpaccess

All machines with FTP which I upgraded to v. 18 give me messages about
server started without ftpaccess file.

Please advise,
Magda


> -----Original Message-----
> From: Magdalena Hewryk 
> Sent: Friday, August 27, 1999 12:22 PM
> To: 'Gregory A Lundberg'
> Cc: wu-ftpd@wugate.wustl.edu
> Subject: RE: checking PATHS.......how can I know which ftpaccess is
> checked on my system
> 
> 
> Thanks, I've got it:
> 
> # strings /usr/sbin/in.ftpd | grep ftpaccess
> FTP server started without ftpaccess file
> /usr/local/etc/ftpaccess
> Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
> ERROR ftpaccess port entry<%s> too large
> ERROR ftpaccess port entry<%s> invalid
> ERROR ftpaccess passive entry <%s> to large
> ERROR ftpaccess vector entry<%s> to large
> ERROR ftpaccess vector entry<%s> invalid
> 
> > -----Original Message-----
> > From: Gregory A Lundberg [mailto:lundberg+wuftpd@vr.net]
> > Sent: Friday, August 27, 1999 12:15 PM
> > To: Magdalena Hewryk
> > Cc: wu-ftpd@wugate.wustl.edu
> > Subject: Re: checking PATHS.......how can I know which ftpaccess is
> > checked on my system
> > 
> > 
> > On Fri, Aug 27, 1999 at 10:54:55AM -0400, Magdalena Hewryk wrote:
> > 
> > > I have a questions regarding a location of ftpaccess file.
> > > 
> > > I do have ftpaccess file under /usr/local/etc/ directory 
> > and under /etc
> > > directory.
> > > 
> > > I don't have anymore  directory where I performed 
> > installation of FTP and I
> > > don't have access to /bin/ckconifg file...
> > > 
> > > --Q1.
> > > How can I check PATH_FTPACCESSS:: on my machine?
> > > Other words, how can I know which ftpaccess is checked on 
> my system?
> > > 
> > > To check binary I go to /etc/inetd.conf file and check the 
> > entry but for
> > > ftpaccess I don't know where to go and check it.
> > 
> > Go to the binary exposed in /etc/inetd.conf.  run strings on it:
> > 
> >   strings ftpd | grep ftpaccess
> > 
> > The access file is usually the second line listed.
> > 
> > -- 
> > 
> > Gregory A Lundberg              WU-FTPD Development Group
> > 1441 Elmdale Drive              lundberg@wu-ftpd.org
> > Kettering, OH 45409-1615 USA    1-800-809-2195
> > 
> 

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 12:06:01 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id MAA00146
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 12:06:00 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA24922;
	Fri, 27 Aug 1999 12:05:05 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA22436
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 12:01:38 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id NAA00335;
	Fri, 27 Aug 1999 13:01:33 -0400
Message-Id: <19990827130133.F32528@vr.net>
Date: Fri, 27 Aug 1999 13:01:33 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: FTP server started without ftpaccess file
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D891@saturn.fundserv.com>; from Magdalena Hewryk on Fri, Aug 27, 1999 at 12:29:01PM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D891@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=2qXFWqzzG3v1+95a; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--2qXFWqzzG3v1+95a
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 12:29:01PM -0400, Magdalena Hewryk wrote:

> The machine which I didn't upgrade to (Version wu-2.4.2-academ[BETA-18-VR=
15](1)
> and still is running the old (Version wu-2.4.2-academ[BETA-13](1) doesn't
> say that FTP Server started without ftpaccess file...
>=20
> # strings /usr/local/etc/wuftpd  | grep ftpaccess
> Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
> /etc/ftpaccess
>=20
> All machines with FTP which I upgraded to v. 18 give me messages about
> server started without ftpaccess file.

One of my changes was to syslog a message if the daemon started without
using an ftpaccess file.

The reason is there was a change some time ago (one of the academ betas)
which switched the default from -a (use ftpaccess) to -A (don't user
ftpaccess).  The reasoning behind the change was the old NET-2 (BSD) ftp
daemon did not have an ftpaccess file, and WU-FTPD is supposed to be a
drop-in replacement for that daemon.

The result was a new FAQ.

To fight that, I added a syslog message in one of the later -VR updates.

The long and the short of it is yo need to be sure the -a option appears on
your inetd.conf line which executes the daemon.  And yo need to be sure the
syntax of that line is correct .. some people on some systems forget to put
'ftpd' for arg0, so the '-a' becomes arg0 (the program name) and the daemon
never sees it.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--2qXFWqzzG3v1+95a
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8a2WA2nXFkJc83RAQGDXgL+LCidfAFjdvZosIdf9/6b1h0cBrQOHDt2
+vTRWcPhcYIaCijSMMs5S28pbW9ZyB0qnxk0f/PRxkehek7st29C8VzuGV7kbKX4
09fR9G66gJYjsY6PSiLYBldijsw7webk
=kxwT
-----END PGP SIGNATURE-----

--2qXFWqzzG3v1+95a--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 12:08:41 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id MAA00205
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 12:08:40 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA18953;
	Fri, 27 Aug 1999 12:07:57 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA32410
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 12:03:54 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id NAA00359;
	Fri, 27 Aug 1999 13:03:41 -0400
Message-Id: <19990827130341.G32528@vr.net>
Date: Fri, 27 Aug 1999 13:03:41 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Eugene Choi <eugenec@amc.com>
Cc: Sylvain Robitaille <syl@alcor.concordia.ca>,
        WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>,
        wuftpd-questions@wu-ftpd.org
Subject: Re: wu-ftpd-2.5.0 Potential buffer overflow (proposed patch)
In-Reply-To: <37C6C38D.D2D2D9B1@amc.com>; from Eugene Choi on Fri, Aug 27, 1999 at 09:57:49AM -0700
References: <Pine.OSF.4.10.9908271119220.1669-100000@alcor.concordia.ca> <37C6C38D.D2D2D9B1@amc.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=5CUMAwwhRxlRszMD; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--5CUMAwwhRxlRszMD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 09:57:49AM -0700, Eugene Choi wrote:

> is there any tests i can perform to check if the patches were typed
> correctly?

You should download the patches from ftp.wu-ftpd.org and then you'd not
need to worry about typing or MIME/mailer munging.

Please see the security notice at http://www.wu-ftpd.org/ for a full
discussion of the patches and this recent security problem.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--5CUMAwwhRxlRszMD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8a21w2nXFkJc83RAQGi0gMAgXgNoxMxgB8EPrDSLjF65T8LqPvH89KP
+5SUgVodrMlEsqWv7v2kmVHYY9ZqldwX0x5Y6KHAKnjE3UPgeeCMgbPmzNbJykxi
e25yBNzHvBJkU2YIhRu+FjKuphX+BbG7
=Hvih
-----END PGP SIGNATURE-----

--5CUMAwwhRxlRszMD--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 13:03:32 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA01290
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 13:03:31 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA25591;
	Fri, 27 Aug 1999 13:04:10 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA24298
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 13:03:21 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id OAA02706;
	Fri, 27 Aug 1999 14:02:14 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0J2VG>; Fri, 27 Aug 1999 14:01:32 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D896@saturn.fundserv.com>
Date: Fri, 27 Aug 1999 14:01:31 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@wu-ftpd.org>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: FTP server started without ftpaccess file
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

RE:  FTP server starts without ftpaccess file

# strings /usr/sbin/in.ftpd | grep ftpaccess
FTP server started without ftpaccess file
/usr/local/etc/ftpaccess

***I've checked /etc/inetd.conf file and the string with ftp binary.  The
daemon starts with -a option but ftpaccess file seems not to be started?

this is the string:
ftp     stream  tcp     nowait  root    /usr/sbin/in.ftpd       in.ftpd -L
-a 


> 
> The long and the short of it is yo need to be sure the -a 
> option appears on
> your inetd.conf line which executes the daemon.  And yo need 
> to be sure the
> syntax of that line is correct .. some people on some systems 
> forget to put
> 'ftpd' for arg0, so the '-a' becomes arg0 (the program name) 
> and the daemon
> never sees it.
> 

Magdalena Hewryk
 
 

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 13:31:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA01814
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 13:31:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA14683;
	Fri, 27 Aug 1999 13:30:26 -0500 (CDT)
Received: from f04n07.cac.psu.edu (f04s07.cac.psu.edu [128.118.141.35])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA32592
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 13:24:54 -0500 (CDT)
Received: from [146.186.113.123] (host123.mrl.psu.edu [146.186.113.123]) by f04n07.cac.psu.edu (8.8.7/8.6.12) with ESMTP id OAA144874 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 14:24:53 -0400
Message-Id: <v04210103b3ec80a1055d@[146.186.113.123]>
Date: Fri, 27 Aug 1999 14:25:33 -0400
Reply-To: sxk13@psu.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stephen Kwan <sxk13@psu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Help with assigning guest groups to class(es)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Sender: sxk13@email.psu.edu
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all, I need some help configuring wu-ftpd for assigning multiple 
guest groups to class.

Here's what I'm trying to do:

I'd like to set up 2 classes of guest users, with each class having a 
maximum # of users.

In my case, I have 2 groups of users, ftponly1 and ftponly2.  There 
are multiple users in each group, each with their unique Login.  I 
want to allow maximum of 5 ftp users from each group, with chroot() 
guest access.

So I've entered in /etc/ftpaccess the following:
...
class ftponly1 guest *
class ftponly2 guest *
guestgroup ftponly1 ftponly2
...

Of course this doesn't work because users from _either_ groups would 
be classified as ftponly1 and the max limit for one group would 
applied to both groups of users.

I'd appreciate a direct email, the listserv traffic is not completely 
coming through and I have no idea why.

Thanks,
--
Stephen Kwan
sxk13@psu.edu
(814)863-2975
http://host46.mrl.psu.edu/~skwan

  -- I am Pentium of Borg.  Division is futile.  You will be approximated. --

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 14:03:06 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA02374
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 14:03:05 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA19604;
	Fri, 27 Aug 1999 14:03:29 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA03892
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 14:01:45 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id PAA01554;
	Fri, 27 Aug 1999 15:01:14 -0400
Message-Id: <19990827150114.A1524@vr.net>
Date: Fri, 27 Aug 1999 15:01:14 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: ftpusers entry in /etc/group file  - NIS
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D834@saturn.fundserv.com>; from Magdalena Hewryk on Tue, Aug 24, 1999 at 10:00:53AM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D834@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=PNTmBPCT7hxwcZjr; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--PNTmBPCT7hxwcZjr
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 24, 1999 at 10:00:53AM -0400, Magdalena Hewryk wrote:

>  Hello,
> I had to split ftpusers group since we do have about 500 ftpusers and the
> line was too long.  I split ftpusers and created three groups.
>=20
> Is this setup correct?
> /etc/group:
> ftpusers::60004:ftpgroup1,ftpgroup2,ftpgroup3
> ftpgroup1::60005:smith, john, eva
> ftpgroup2::6006:bcROP000, BwsWp009, BGSFp3345
> ftpgroup3::6007:b087,b9843,b8972

Groups cannot be members of other groups (ftpusers)

> I am getting this error messages when updating NIS:

I don't use NIS .. or NIS+ (which is what I hope you're using), so I cannot
help you.  Maybe someone else ...

Fix /etc/group (delete ftpusers) and try again is all I can suggest.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--PNTmBPCT7hxwcZjr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8bSZA2nXFkJc83RAQERYwL/e32tW8F2XxOuFlgqJ+PXFhKxrBVhzGeB
ua3lh4jG6QFpr5G1El+rdFir3l7xNHvHJvUKjY+qxpE5I+GmsySbYiMaWRfIOJx8
Guh2nfG8pXr3JDGgs5f0X0EPcT5nI24H
=Qr/j
-----END PGP SIGNATURE-----

--PNTmBPCT7hxwcZjr--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 14:09:30 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA02469
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 14:09:29 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA15983;
	Fri, 27 Aug 1999 14:09:51 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA32395
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 14:07:45 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id PAA01606;
	Fri, 27 Aug 1999 15:06:38 -0400
Message-Id: <19990827150638.B1524@vr.net>
Date: Fri, 27 Aug 1999 15:06:38 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Stephen Kwan <sxk13@psu.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Help with assigning guest groups to class(es)
In-Reply-To: <v04210103b3ec80a1055d@[146.186.113.123]>; from Stephen Kwan on Fri, Aug 27, 1999 at 02:25:33PM -0400
References: <v04210103b3ec80a1055d@[146.186.113.123]>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=kORqDWCi7qDJ0mEj; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--kORqDWCi7qDJ0mEj
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 02:25:33PM -0400, Stephen Kwan wrote:

> ...
> class ftponly1 guest *
> class ftponly2 guest *
> guestgroup ftponly1 ftponly2
> ...
>=20
> Of course this doesn't work because users from _either_ groups would be
> classified as ftponly1 and the max limit for one group would applied to
> both groups of users.

User IP address selection on the class.  If that won't work, you'll have to
wait for me to finish rewriting the ftpaccess file handling .. could be a
few months (read as: I'm working on other stuff right now).

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--kORqDWCi7qDJ0mEj
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8bTqQ2nXFkJc83RAQHAOAMAqHeB8BW3aK0iF6a48f1PuXUgVbpxQmyE
GIwSrlC/lrXnC6PCy66BPaTcHIBakhIFNIKBktUa4tsKiKYa1Qswvi9n9DlSpj2G
zNMc8/vEwq6mV1UKfu3SGq4o8cuFWo4G
=j+7I
-----END PGP SIGNATURE-----

--kORqDWCi7qDJ0mEj--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 14:44:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA03261
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 14:44:34 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA32185;
	Fri, 27 Aug 1999 14:42:10 -0500 (CDT)
Received: from f04n07.cac.psu.edu (f04s07.cac.psu.edu [128.118.141.35])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA12807
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 14:38:46 -0500 (CDT)
Received: from [146.186.113.123] (host123.mrl.psu.edu [146.186.113.123]) by f04n07.cac.psu.edu (8.8.7/8.6.12) with ESMTP id PAA69070 for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 15:38:44 -0400
Message-Id: <v04210108b3ec99b5e9a8@[146.186.113.123]>
Date: Fri, 27 Aug 1999 15:39:24 -0400
Reply-To: sxk13@psu.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stephen Kwan <sxk13@psu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Help with assigning guest groups to class(es)
In-Reply-To: <19990827150638.B1524@vr.net>
References: <v04210103b3ec80a1055d@[146.186.113.123]>
 <19990827150638.B1524@vr.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Sender: sxk13@email.psu.edu
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>On Fri, Aug 27, 1999 at 02:25:33PM -0400, Stephen Kwan wrote:
>
> > ...
> > class ftponly1 guest *
> > class ftponly2 guest *
> > guestgroup ftponly1 ftponly2
> > ...
> >
> > Of course this doesn't work because users from _either_ groups would be
> > classified as ftponly1 and the max limit for one group would applied to
> > both groups of users.
>
>User IP address selection on the class.  If that won't work, you'll have to
>wait for me to finish rewriting the ftpaccess file handling .. could be a

OK then, I'll wait :-).  Meanwhile, does anyone know if there's 
anyway to chroot() a real user?

--
Stephen Kwan
sxk13@psu.edu
(814)863-2975
http://host46.mrl.psu.edu/~skwan

  -- I am Pentium of Borg.  Division is futile.  You will be approximated. --

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 14:54:45 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA03451
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 14:54:45 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA26014;
	Fri, 27 Aug 1999 10:25:28 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA15080
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 10:18:00 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id LAA32059;
	Fri, 27 Aug 1999 11:17:55 -0400
Message-Id: <19990827111752.A32011@vr.net>
Date: Fri, 27 Aug 1999 11:17:53 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: TTSG <ttsg@ttsg.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Upload and chroot'd users
In-Reply-To: <199908231924.PAA28020@gevjon.ttsg.com>; from TTSG on Mon, Aug 23, 1999 at 03:24:28PM -0400
References: <19990823111344.C7300@vr.net> <199908231924.PAA28020@gevjon.ttsg.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=82I3+IH0IqGh5yIs; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 23, 1999 at 03:24:28PM -0400, TTSG wrote:

> >=20
> > On Mon, Aug 23, 1999 at 11:01:53AM -0400, TTSG wrote:
> >=20
> > > Wondering if upload will work with chrooted users.  It seems to imply=
 its
> > > for the anonymous ftp only. I'm basically trying to say that all chro=
oted
> > > users can't create directories.
> >=20
> > 1) Yes, it works fine.
> >
> 	Then given the example of:
>=20
> fred:x:111:111:Fred:/usr/ftp/./usr/fred:/usr/bin/false
>=20
> in the /etc/passwd
>=20
>=20
> 	What is the proper syntax for the upload line?
>=20
> upload /usr/ftp /usr/fred yes fred other 0600 nodirs
>=20
> 			or
>=20
> upload /usr/ftp/usr/fred * yes fred other 0600 nodirs

The last one should work, but this might be better:

upload /usr/ftp/usr/fred /usr/fred yes fred other 0600 nodirs

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8aeDA2nXFkJc83RAQEQfgMAjXcKQM9Bgg9iMSFehvre6LTWvJCFKIUx
CEeGF3mvAl7QJ1vCMW4NL/cyfx8OMp3ublvBO5iWMXMVPM6hMJDoY5DhUr50C2BT
WntKHM3Y7TufT583WhnevE8TK0lSokqr
=m4c3
-----END PGP SIGNATURE-----

--82I3+IH0IqGh5yIs--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 14:57:37 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA03518
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 14:57:36 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA13888;
	Fri, 27 Aug 1999 13:33:50 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA26768
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 13:26:43 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA01241;
	Fri, 27 Aug 1999 14:26:13 -0400
Message-Id: <19990827142612.C952@vr.net>
Date: Fri, 27 Aug 1999 14:26:12 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: FTP server started without ftpaccess file
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D896@saturn.fundserv.com>; from Magdalena Hewryk on Fri, Aug 27, 1999 at 02:01:31PM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D896@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=3lcZGd9BuhuYXNfi; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 02:01:31PM -0400, Magdalena Hewryk wrote:

> ***I've checked /etc/inetd.conf file and the string with ftp binary.  The
> daemon starts with -a option but ftpaccess file seems not to be started?
>=20
> ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -L -a=20

That should work.  Did you remember to kill -HUP the inetd process if youu
changes the inetd.conf?  Gotta do that.  Won't hurt, so do it again, to be
sure.

Make sure the ftpaccess file is readable and in executable directories.  It
should be (you've been editing it) but check anyway.

Run ckconfig.  What does it have to say?

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8bKLQ2nXFkJc83RAQF55QL/U7wSq7/e5GdFC+d31wn9wnN5KTYivDl/
EFjbXOaClq5Axq2GDraXj0udbqGl3UebhXTvD+TSHzJufkbywMpZA9eIaYl4uuvI
kkyJJlp1CzOpSKbMpw2Hrd5ORLK8JIEE
=6hcV
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 16:03:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA04827
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 16:03:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA14094;
	Fri, 27 Aug 1999 16:03:10 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA00944
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 15:56:14 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA02575;
	Fri, 27 Aug 1999 16:55:30 -0400
Message-Id: <19990827165530.C2459@vr.net>
Date: Fri, 27 Aug 1999 16:55:30 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Stephen Kwan <sxk13@psu.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Help with assigning guest groups to class(es)
In-Reply-To: <v04210108b3ec99b5e9a8@[146.186.113.123]>; from Stephen Kwan on Fri, Aug 27, 1999 at 03:39:24PM -0400
References: <v04210103b3ec80a1055d@[146.186.113.123]> <19990827150638.B1524@vr.net> <v04210108b3ec99b5e9a8@[146.186.113.123]>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="CUfgB8w4ZwR/yMy5"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--CUfgB8w4ZwR/yMy5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 03:39:24PM -0400, Stephen Kwan wrote:

> OK then, I'll wait :-).  Meanwhile, does anyone know if there's anyway to
> chroot() a real user?

That's the definition of a guest user.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--CUfgB8w4ZwR/yMy5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8btLQ2nXFkJc83RAQGSOAL/dtPF30Wsj7xtSedRnKqzNu/Jpd3gr8Qz
vKyHRAlcMh6ltziuxmSh706EgxJv0wQxd4cV2nnKNQgRcsWdOXh0kzcF9IiQZXHY
0cTRKnTlgrWIL5fIBKpajdMIuHP0qVm2
=/AxU
-----END PGP SIGNATURE-----

--CUfgB8w4ZwR/yMy5--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 16:12:28 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA04999
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 16:12:27 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA04229;
	Fri, 27 Aug 1999 16:12:54 -0500 (CDT)
Received: from merix.merix.com (soladyne.com [4.18.226.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA08726
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 16:11:49 -0500 (CDT)
Received: from fgmail01.merix.com by merix.merix.com with ESMTP
	(1.38.110.45/16.2) id AA107628542; Fri, 27 Aug 1999 14:15:42 -0700
Received: by fgmail01.merix.com with Internet Mail Service (5.0.1458.49)
	id <QV18H8T8>; Fri, 27 Aug 1999 14:11:40 -0700
Message-Id: <813E52C581EED011B6F400805FA6BDE802FCA094@fgmail01.merix.com>
Date: Fri, 27 Aug 1999 14:11:38 -0700
Reply-To: joel@fgmail01.merix.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Look, Joseph" <joel@fgmail01.merix.com>
To: wu-ftpd@wugate.wustl.edu
Cc: "Look, Joseph" <joel@fgmail01.merix.com>
Subject: xferlog
Mime-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I would like to know what is the setting that will cause the xferlog to
report a full path filename or a relative path filename
Both of the following accounts are in /home.
But one of them show the full path name /home/joel/testfile.zip and the
other one show a relative path name /angie/test.zip
Fri Aug 27 13:57:39 1999 1 10.1.174.50 937542 /home/joel/testfile.zip b
_ i r joel ftp 0 *
Fri Aug 27 13:57:41 1999 2 10.1.174.50 619280 /angie/test.zip b _ i r
angie ftp 0 *   

Any help will be appreciate.  Thanks!


=================================================================
Joseph Look
Merix Corporation                Tel: 503.992.4396
1521 Poplar Lane                Fax: 503.359.1624
Forest Grove, OR 97116     Email: joel@merix.com


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 16:15:41 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA05040
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 16:15:39 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA00282;
	Fri, 27 Aug 1999 09:35:10 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA18156
	for <wu-ftpd@wugate.wustl.edu>; Mon, 23 Aug 1999 17:17:08 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id SAA11975;
	Mon, 23 Aug 1999 18:17:04 -0400
Message-Id: <19990823181703.A11958@vr.net>
Date: Mon, 23 Aug 1999 18:17:03 -0400
Reply-To: lundberg+wuftpd@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: WU-FTPD Discussion List <wu-ftpd@wugate.wustl.edu>,
        WU-FTPD Announcements <wuftpd-announce@wu-ftpd.org>,
        WU-FTPD Questions <wuftpd-questions@wu-ftpd.org>,
        WU-FTPD Development Group <wuftpd-members@wu-ftpd.org>
Subject: [2.5.0 QUICKFIX] Anonymous not in any class
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="ftEhullJWpWg/VHq"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--ftEhullJWpWg/VHq
Content-Type: multipart/mixed; boundary=KsGdsel6WgEHnImy


--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Under certain conditions it was possible for an anonymous user to log in
even though no class had been defined for anonymous users.  This patch
corrects the error.

The patch is available online from

      ftp://ftp.wu-ftpd.org/pub/wu-ftpd/quickfixes/apply_to_2.5.0/

under the name

      not.in.class.patch

Online resources, including the latest version of the daemon, are available
through:
=20
      http://www.wu-ftpd.org/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="not.in.class.patch"

Index: src/access.c
===================================================================
RCS file: /cvsroot/wu-ftpd-stable/src/access.c,v
retrieving revision 1.7
diff -c -r1.7 access.c
*** src/access.c	1999/05/27 14:49:26	1.7
--- src/access.c	1999/08/23 22:08:13
***************
*** 771,777 ****
                  hostmatch(ARG[which],remoteaddr,remotehost))
                  return (1);
  
!             if (guest && strcasestr(ARG1, "guest") && hostmatch(ARG[which],remoteaddr,remotehost))
                  return (1);
  
              if (!guest && !anonymous && strcasestr(ARG1, "real") &&
--- 771,777 ----
                  hostmatch(ARG[which],remoteaddr,remotehost))
                  return (1);
  
!             if (guest && !anonymous && strcasestr(ARG1, "guest") && hostmatch(ARG[which],remoteaddr,remotehost))
                  return (1);
  
              if (!guest && !anonymous && strcasestr(ARG1, "real") &&

--KsGdsel6WgEHnImy--

--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQCVAwUBN8G6Sw7NCCRiiFh1AQGV6wP/SSJCA09xtwzDemMh6ebz+3X3IbD53aNp
SNfil0LFCDmJrf/qjzed5Xu/R5NGT8VsIyN/hihlz+Uo24FtXSvv7HCxo4VZJsMG
za8PPRdYoEvddSwTvZHRXwWZzmT8ACoeBBPgmmjTn3TNJrHZ6mPzveYGW74cjp/V
rpfjFAFlhag=
=rOfW
-----END PGP SIGNATURE-----

--ftEhullJWpWg/VHq--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 16:25:27 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA05294
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 16:25:24 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA04093;
	Fri, 27 Aug 1999 16:25:52 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA17687
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 16:18:57 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id RAA02807;
	Fri, 27 Aug 1999 17:18:52 -0400
Message-Id: <19990827171851.E2459@vr.net>
Date: Fri, 27 Aug 1999 17:18:51 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Tak <takacs@netscape.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: [wuftpd] Trailing spaces bug in ftpcmd.y
In-Reply-To: <37C6FB4C.16CCE327@netscape.com>; from Tak on Fri, Aug 27, 1999 at 01:55:40PM -0700
References: <37C6FB4C.16CCE327@netscape.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=a2FkP9tdjPU2nyhF; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--a2FkP9tdjPU2nyhF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 01:55:40PM -0700, Tak wrote:

> I'm not sure if this is a bug or it supposed to behave that way.  If a
> client sends a command w/trailing spaces, the command is unrecognized by
> the parser.
>=20
> We stumbled across this while trying to figure out why
> ftp://uid@ftp.wu-ftpd.org  (without the trailing slash) from within the
> web browser sometimes returns a "netscape is unable to find the directory
> /.  Check the name and try again" error message.
>=20
> After some mucking around with telneting to port 21 and snoop, we found
> that when you leave out the trailing slash in the URL, the Netscape ftp
> client sends "<command> " (Note the trailing space). This is probably a
> bug w/in the client (I assume it's expecting an argument and is doing
> somthing like sprintf(buffer,"%s %s",command, url_args) and if URL_args
> are null, it sticks it on there anyway.  I've filed this as a bug at
> netscape. In any case...
>=20
> This happens on any command.  See below:   Line 'u' is a "CWD" and line
> 'x' is a "CWD " (with a trailing space) that fails.  Line Z illustrates
> that it happens on other commands as well.
>=20
> My question -- is there a problem with stripping the white space from the
> END of the input line?  In our implementation of the ftp server, we
> changed ftpcmd.y.  Our local version now has a fix to getline() that
> strips trailing spaces before handing it over to the rest of the parser.
> Is this a bad thing for some reason?   Or has it just never come up?

The way I read the RFCs is this:

  A command without parameters must NOT have any trailing spaces.  So

    PWD <SP> <CR> <LF>

  is an invalid command.



  A command taking parameters must have EXACTLY ONE space between the
  command the the parameter.  So

    CWD <SP> /pub <CR> <LF>

  is valid, resulting in the C function

     chdir("/pub");

  where

    CWD <SP> <SP> /pub <CR> <LF>

  is also valid, but probably results in and error.  It becomes the C
  function

    chdir(" /pub");

  Since your cwd probably does not include the directory " ", this probably
  results in an error.



  A command taking an optional parameter must have EXACTLY ONE space when
  the parameter is present, and NOT have any trailing spaces when it is
  not.  So

    CWD <CR> <LF>

  Means "take me home" and becomes the C function

    chdir(pw->pw_dir);

  where

    CWD <SP> <CR> <LF>

  should resolve to either

    chdir(NULL);

  or

    chdir("");

  resulting in an error.  Notice the meaning is "here's a parameter ..
  nothing at all."



In summary, your Netscape web browser is not speaking FTP.  Upgrade to the
latest version.  If the problem recurs, report the bug to Netscape.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--a2FkP9tdjPU2nyhF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8bypw2nXFkJc83RAQFiQQMAoYJ46zJ/SjVXETYyqG/Gis17Im6pwqNT
snSqbvDRnwWHkn/PJNQVP5JNJ/zFc0I6k0NVfTt/9cVoP6PEIpbxOaErc8zSLule
C+CkMR6F7r+M0Z+xDPJOhOR0ydETf2/x
=23nM
-----END PGP SIGNATURE-----

--a2FkP9tdjPU2nyhF--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 16:51:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA05843
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 16:51:34 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA23560;
	Fri, 27 Aug 1999 16:00:05 -0500 (CDT)
Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA16898
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 15:56:13 -0500 (CDT)
Received: from tintin.mcom.com (tintin.mcom.com [205.217.233.42])
	by netscape.com (8.8.5/8.8.5) with ESMTP id NAA20262
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 13:55:42 -0700 (PDT)
Received: from netscape.com ([198.95.250.60]) by tintin.mcom.com
          (Netscape Messaging Server 4.1) with ESMTP id FH564U00.DLL; Fri,
          27 Aug 1999 13:55:42 -0700 
Message-Id: <37C6FB4C.16CCE327@netscape.com>
Date: Fri, 27 Aug 1999 13:55:40 -0700
Reply-To: takacs@netscape.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Tak <takacs@netscape.com>
To: wu-ftpd@wugate.wustl.edu
Subject: [wuftpd] Trailing spaces bug in ftpcmd.y
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: takacs@netscape.com (Mark Takacs)
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm not sure if this is a bug or it supposed to behave that way.  If a
client sends a command w/trailing spaces, the command is unrecognized by
the parser.

We stumbled across this while trying to figure out why
ftp://uid@ftp.wu-ftpd.org  (without the trailing slash) from within the
web browser sometimes returns a "netscape is unable to find the
directory /.  Check the name and try again" error message.

After some mucking around with telneting to port 21 and snoop, we found
that when you leave out the trailing slash in the URL, the Netscape ftp
client sends "<command> " (Note the trailing space). This is probably a
bug w/in the client (I assume it's expecting an argument and is doing
somthing like sprintf(buffer,"%s %s",command, url_args) and if URL_args
are null, it sticks it on there anyway.  I've filed this as a bug at
netscape. In any case...

This happens on any command.  See below:   Line 'u' is a "CWD" and line
'x' is a "CWD " (with a trailing space) that fails.  Line Z illustrates
that it happens on other commands as well.

My question -- is there a problem with stripping the white space from
the END of the input line?  In our implementation of the ftp server, we
changed ftpcmd.y.  Our local version now has a fix to getline() that
strips trailing spaces before handing it over to the rest of the
parser.  Is this a bad thing for some reason?   Or has it just never
come up?

-tak

a. telnet ftp.wu-ftpd.org 21
b. Trying 205.133.13.68...
c. Connected to ftp.wu-ftpd.org.
d. Escape character is '^]'.
e. 220 ftp.wu-ftpd.org FTP server ready.
f. USER ftp
g. 331 Guest login ok, send your complete e-mail address as password.
h. PASS takacs@netscape.com
i. 230-Welcome to the FTP server for the WU-FTPD Development Group
j. 230-
k. 230-This server is the primary distribution site for the WU-FTPD
daemon.
l. 230-
m. 230-The pub directory contains the distribution and supporting files.

n. 230-
o. 230-If you are uploading contributions, please place them in the
incoming
p. 230-directory and email wuftpd-members@wu-ftpd.org announcing your
upload.
q. 230-
r. 230 Guest login ok, access restrictions apply.
s. PWD
t. 257 "/" is current directory.
u. CWD
v. 250 CWD command successful.
w. CWD
   [ line 'w' has a trailing space. -tak ]
x. 500 'CWD ': command not understood.
y. PASV
   [ line 'y' has a trailing space. -tak ]
z. 500 'PASV ': command not understood.
0. quit

--




From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 17:12:09 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id RAA06221
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 17:12:05 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA15087;
	Fri, 27 Aug 1999 16:28:23 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA09798
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 16:25:09 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id RAA02858;
	Fri, 27 Aug 1999 17:24:41 -0400
Message-Id: <19990827172440.F2459@vr.net>
Date: Fri, 27 Aug 1999 17:24:40 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Look, Joseph" <joel@fgmail01.merix.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: xferlog
In-Reply-To: <813E52C581EED011B6F400805FA6BDE802FCA094@fgmail01.merix.com>; from Look, Joseph on Fri, Aug 27, 1999 at 02:11:38PM -0700
References: <813E52C581EED011B6F400805FA6BDE802FCA094@fgmail01.merix.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=JBi0ZxuS5uaEhkUZ; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--JBi0ZxuS5uaEhkUZ
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 02:11:38PM -0700, Look, Joseph wrote:

> I would like to know what is the setting that will cause the xferlog to
> report a full path filename or a relative path filename
> Both of the following accounts are in /home.
> But one of them show the full path name /home/joel/testfile.zip and the
> other one show a relative path name /angie/test.zip
> Fri Aug 27 13:57:39 1999 1 10.1.174.50 937542 /home/joel/testfile.zip b
> _ i r joel ftp 0 *
> Fri Aug 27 13:57:41 1999 2 10.1.174.50 619280 /angie/test.zip b _ i r
> angie ftp 0 *  =20

Start by upgading to 2.5.0 (at least, ISTM 2.5.0 will ONLY log the full
pathname).

There may be a compile-time soption in 2.5.0 to change this behavior back
to the old way, but I don't remember if I thought it important enough to
let anyone configure it back to the old, broken and confusing method.

I know I can cause something like you're seeing if the first line is from a
normally-nstalled server and the second is from on which was running
chroot'd prior to executing the daemon (or used the  chroot command-line
swithc).  Both of which are such rare cases, I'm probably confusing things
by even mentioning them. :P

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--JBi0ZxuS5uaEhkUZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8b0AQ2nXFkJc83RAQH5pwL9F6UVQAQpl+dEoYfdQu2tdJGhNRgfIYMZ
9hiTC/yg9TE8ihMKcF4fhfX3V8PSrbYJeKc/B+r3GpGhfHyQ/JZM+ibE1IvPN2QU
7nRq//C63CnEAA6BEEtnboO188z4h3u5
=xQFZ
-----END PGP SIGNATURE-----

--JBi0ZxuS5uaEhkUZ--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 17:17:29 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id RAA06325
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 17:17:28 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA20107;
	Fri, 27 Aug 1999 17:18:09 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA20052
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 17:12:21 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id SAA00816;
	Fri, 27 Aug 1999 18:11:18 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0JMH3>; Fri, 27 Aug 1999 17:53:54 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D89E@saturn.fundserv.com>
Date: Fri, 27 Aug 1999 17:53:53 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@wu-ftpd.org>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: FTP server started without ftpaccess file
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

 I don't have ckconfig file anymore because originally installed directory
was deleted, so I use # strings /usr/local/etc/wuftpd | grep ftpaccess
command, as you suggested.

--Question1
How many group I can set up under ftpaccess file under guestgroup?
Is there a limit?  If yes, what is the limit? How many ftpgroup99999 I can
add to ftpaccess file?

# specify which group of users will be treated as "guests".
guestgroup ftpusers ftpgroup1 ftpgroup2 ftpgroup3 ftpgroup4

---Question2
What these errors mean?  Any hints?
How can I debug them and fix them?
Server still starts without ftpaccess file but guestgroup rules are applied.
I re-start  /usr/sbin/inetd -s but without the result.

# strings /usr/sbin/in.ftpd | grep ftpaccess
FTP server started without ftpaccess file
Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
ERROR ftpaccess port entry<%s> too large
ERROR ftpaccess port entry<%s> invalid
ERROR ftpaccess passive entry <%s> to large
ERROR ftpaccess vector entry<%s> to large
ERROR ftpaccess vector entry<%s> invalid
ERROR ftpaccess vector entry<%s> invalid
/usr/local/etc/ftpaccess
 
ls -ld /usr/local/etc/ftpaccess
-rw-------   1 root     other       2053 Aug 24 15:21
/usr/local/etc/ftpaccess
 
THIS IS FTPACCESS FILE:
# vi ftpaccess
"ftpaccess" 69 lines, 2053 characters 
# File: ftpaccess
# Date: March 23, 1997
#
# Details: This file is parsed by the ftp daemon on startup
#          for access settings
#

# Kick them off on two failed logins...
loginfails 2

# The group classes...
class   local   real,guest,anonymous *.domain 0.0.0.0
class   remote  real,guest,anonymous *

# User limits...
limit   local   25  Any                 /etc/msgs/msg.toomany
limit   remote  25  Any                 /etc/msgs/msg.toomany

# For directory READMEs
readme  README*    login
readme  README*    cwd=*

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

compress        yes             local remote
tar             yes             local remote

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

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

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

shutdown /etc/shutmsg

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

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

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

# cdpath
cdpath  /incoming
cdpath  /pub
cdpath  /

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

# specify which group of users will be treated as "guests".
guestgroup ftpusers ftpgroup1 ftpgroup2 ftpgroup3 ftpgroup4

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 19:01:37 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA08872
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 19:01:36 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA15989;
	Fri, 27 Aug 1999 19:02:12 -0500 (CDT)
Received: from alcor.concordia.ca (syl@alcor.Concordia.CA [132.205.7.51])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA02979
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 19:01:14 -0500 (CDT)
Received: from localhost (syl@localhost)
	by alcor.concordia.ca (8.8.7/8.8.7) with ESMTP id UAA04771;
	Fri, 27 Aug 1999 20:01:12 -0400 (EDT)
Message-Id: <Pine.OSF.4.10.9908271955040.1669-100000@alcor.concordia.ca>
Date: Fri, 27 Aug 1999 20:01:11 -0400 (EDT)
Reply-To: syl@alcor.concordia.ca
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Sylvain Robitaille <syl@alcor.concordia.ca>
To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Cc: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>,
        wuftpd-questions@wu-ftpd.org
Subject: Re: wu-ftpd-2.5.0 Potential buffer overflow (proposed patch)
In-Reply-To: <19990827122254.C32528@vr.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 27 Aug 1999, Gregory A Lundberg wrote:

> The WU-FTPD Development Group released a patch for this problem
> yesterday.

Thanks Gregory. I did try to make sure to look for such before I sent in
my patch, but I very plainly missed the official patch. :-(

> That patch includes yet another case missed by your patch.

Hrmmm... I don't see it, though I realize I should take your word for
it. :-)

If you're talking about the strcpy in mapping_getcwd, isn't the path
passed to that declared as an array of MAXPATHLEN (or was that the one
that's MAXPATHLEN + 1?) before the call?

> The announcement of that patch is available through our web site:
> please refer to that announcement for a full discussion of these issues.

Again thanks. I'm sorry I missed that earlier.

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca
 
Systems Manager                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 20:38:45 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id UAA16809
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 20:38:44 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA18295;
	Fri, 27 Aug 1999 20:39:32 -0500 (CDT)
Received: from mail.rdc1.pa.home.com (imail@ha1.rdc1.pa.home.com [24.2.5.66])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA04969
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 20:38:44 -0500 (CDT)
Received: from lexicondevil ([24.8.209.217]) by mail.rdc1.pa.home.com
          (InterMail v4.01.01.00 201-229-111) with SMTP
          id <19990828013843.TOJ24014.mail.rdc1.pa.home.com@lexicondevil>
          for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 18:38:43 -0700
Message-Id: <NDBBJGOKBKOEFHNCMJKAGEEDCBAA.nm666@home.com>
Date: Fri, 27 Aug 1999 21:42:08 -0400
Reply-To: nm666@home.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Nothinman" <nm666@home.com>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Throughput restrictions
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have a couple of questions about the throughput limiting implementation of
wu-ftpd. First off the way it appears to work to me so far is that when a
person logs on it checks where they're from (domain/IP addr) and limits them
accordingly. I have been doing it this way and it has been adequate for now,
but what I would like to do is:

A. Limit per class, instead of per address
B. One large b/w pool, instead of per instance of ftpd

What I mean is, lets say I have a class of users called ftp1, I would like
to limit them to 20K/s speeds. But instead of each logged in user getting
the limitation, the whole class gets limited and they share the 20K/s I
specified in the ftpaccess file.

Anyone have any thoughts on the idea?

"One World, One Web, One Program" - Microsoft Promotional Ad
"Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler


From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 21:11:17 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id VAA18229
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 21:11:16 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA13581;
	Fri, 27 Aug 1999 21:12:02 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA23443
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 21:06:32 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id WAA04944;
	Fri, 27 Aug 1999 22:06:29 -0400
Message-Id: <19990827220629.C4845@vr.net>
Date: Fri, 27 Aug 1999 22:06:29 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Nothinman <nm666@home.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Throughput restrictions
In-Reply-To: <NDBBJGOKBKOEFHNCMJKAGEEDCBAA.nm666@home.com>; from Nothinman on Fri, Aug 27, 1999 at 09:42:08PM -0400
References: <NDBBJGOKBKOEFHNCMJKAGEEDCBAA.nm666@home.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=+xNpyl7Qekk2NvDX; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--+xNpyl7Qekk2NvDX
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 09:42:08PM -0400, Nothinman wrote:

> I have a couple of questions about the throughput limiting implementation
> of wu-ftpd. First off the way it appears to work to me so far is that
> when a person logs on it checks where they're from (domain/IP addr) and
> limits them accordingly. I have been doing it this way and it has been
> adequate for now, but what I would like to do is:
>=20
> A. Limit per class, instead of per address
> B. One large b/w pool, instead of per instance of ftpd
>=20
> What I mean is, lets say I have a class of users called ftp1, I would
> like to limit them to 20K/s speeds. But instead of each logged in user
> getting the limitation, the whole class gets limited and they share the
> 20K/s I specified in the ftpaccess file.
>=20
> Anyone have any thoughts on the idea?

Don't hold your breath.  This is something which _might_ be doable in
version 3, if/when we get going on it.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--+xNpyl7Qekk2NvDX
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8c2EQ2nXFkJc83RAQFezAL/cObKtqaP9CH/2SVoqZkMOYFMlRYf+B0a
jVuTTlNNi+P7ClhrHlGBJ6TUJA3EqwJU4vDNkoSUPgQcIBh5EFFZqEjh6dYRehw6
M8zlcY8Yo26oDxoBC8GQfSY+aoldloBt
=I3KB
-----END PGP SIGNATURE-----

--+xNpyl7Qekk2NvDX--

From owner-wu-ftpd@wugate.wustl.edu  Fri Aug 27 21:25:16 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id VAA18852
	for <wuftpd@landfield.com>; Fri, 27 Aug 1999 21:25:15 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA09108;
	Fri, 27 Aug 1999 21:25:49 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA01567
	for <wu-ftpd@wugate.wustl.edu>; Fri, 27 Aug 1999 21:18:52 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id WAA05002;
	Fri, 27 Aug 1999 22:18:49 -0400
Message-Id: <19990827221849.D4845@vr.net>
Date: Fri, 27 Aug 1999 22:18:49 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: FTP server started without ftpaccess file
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D89E@saturn.fundserv.com>; from Magdalena Hewryk on Fri, Aug 27, 1999 at 05:53:53PM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D89E@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="9UV9rz0O2dU/yYYn"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--9UV9rz0O2dU/yYYn
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 27, 1999 at 05:53:53PM -0400, Magdalena Hewryk wrote:

> I don't have ckconfig file anymore because originally installed directory
> was deleted, so I use # strings /usr/local/etc/wuftpd | grep ftpaccess
> command, as you suggested.
>=20
> --Question1
> How many group I can set up under ftpaccess file under guestgroup?
> Is there a limit?  If yes, what is the limit? How many ftpgroup99999 I can
> add to ftpaccess file?

Unlimited.  Well, limited by physical memory.

> # specify which group of users will be treated as "guests".
> guestgroup ftpusers ftpgroup1 ftpgroup2 ftpgroup3 ftpgroup4
>=20
> ---Question2
> What these errors mean?  Any hints?
> How can I debug them and fix them?
> Server still starts without ftpaccess file but guestgroup rules are appli=
ed.
> I re-start  /usr/sbin/inetd -s but without the result.
>=20
> # strings /usr/sbin/in.ftpd | grep ftpaccess
> FTP server started without ftpaccess file
> Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
> ERROR ftpaccess port entry<%s> too large
> ERROR ftpaccess port entry<%s> invalid
> ERROR ftpaccess passive entry <%s> to large
> ERROR ftpaccess vector entry<%s> to large
> ERROR ftpaccess vector entry<%s> invalid
> ERROR ftpaccess vector entry<%s> invalid
> /usr/local/etc/ftpaccess
> =20
> ls -ld /usr/local/etc/ftpaccess
> -rw-------   1 root     other       2053 Aug 24 15:21
> /usr/local/etc/ftpaccess
> =20
> THIS IS FTPACCESS FILE:
> # vi ftpaccess
> "ftpaccess" 69 lines, 2053 characters=20
> # File: ftpaccess
> # Date: March 23, 1997
> #
> # Details: This file is parsed by the ftp daemon on startup
> #          for access settings
> #
>=20
> # Kick them off on two failed logins...
> loginfails 2
>=20
> # The group classes...
> class   local   real,guest,anonymous *.domain 0.0.0.0

Edit this.  *.domain and 0.0.0.0 should be replaced; or just remove the
entire line and and 'class local' stuff like the limit below.

> class   remote  real,guest,anonymous *
>=20
> # User limits...
> limit   local   25  Any                 /etc/msgs/msg.toomany
> limit   remote  25  Any                 /etc/msgs/msg.toomany
>=20
> # For directory READMEs
> readme  README*    login
> readme  README*    cwd=3D*
>=20
> # Banners
> message /welcome.msg            login
> message .message                cwd=3D*
>=20
> compress        yes             local remote
> tar             yes             local remote
>=20
> # allow use of private file for SITE GROUP and SITE GPASS?
> private         yes

You probably don't use this.  Omit it or say 'private no'

>=20
> # passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
> passwd-check    rfc822  enforce
>=20
> log commands  anonymous,guest,real inbound,outbound
> log transfers anonymous,guest,real inbound,outbound
>=20
> shutdown /etc/shutmsg
>=20
> # all the following default to "yes" for everybody
> delete          yes      guest,anonymous         # delete permission?
> overwrite       yes      guest,anonymous         # overwrite permission?
> rename          yes      guest,anonymous                # rename permissi=
on?
> chmod           no      guest,anonymous         # chmod permission?
> umask           no      guest,anonymous         # umask permission?

Do you really want anonymous overwrite, delete and rename?  It's VERY
dangerous.

>=20
> # specify the upload directory information
> upload  /var/ftp  *             no
> upload  /var/ftp  /incoming     yes     root    daemon  0600 dirs
> upload  /var/ftp  /bin          no
> upload  /var/ftp  /etc          no

These only apply to users whose home directory is '/var/ftp', probably the
anonymous user.  Guest are, therefore, 'upload * * yes dirs'

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

Do you really use this?

>=20
> # cdpath
> cdpath  /incoming
> cdpath  /pub
> cdpath  /

Or these?

>=20
> # path-filter...
> path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
> path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
>=20
> # specify which group of users will be treated as "guests".
> guestgroup ftpusers ftpgroup1 ftpgroup2 ftpgroup3 ftpgroup4

I keep coming back to inetd not passing the parameters to the daemon.
That's the only reason I can see for it not using ftpaccess.  No -a switch
and no use ftpaccess.

Here's how I'd test for ftpaccess being used:

Check the manpage, do you have 'hostname' or 'greeting'?  If so, use one of
these and see if the greeting when you connect to the server changes:

hostname it.worked
greeting brief

If so, take them out.  Your ftpaccess file is being users.

If you don't have these features (an academ version), comment out all
'class' statements.  You shouldn't be allowed in: no class.


The problem is almost always inetd.conf if the ftpaccess file isn't being
used.


--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--9UV9rz0O2dU/yYYn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8c49g2nXFkJc83RAQFVewL/ZjkY8Jv/NEoBp+ukd3YZpbb6CXWOp7MZ
igPCJq9ntNd6GJDi0jb6B1ZATQ1DPrL6Usk27VNwbQjk09voPWWmrWK+G49Naorv
2gAnuHasZTwlnihHVwb1EP43hhAjBZ1h
=aSgR
-----END PGP SIGNATURE-----

--9UV9rz0O2dU/yYYn--

From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 28 02:00:53 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id CAA05356
	for <wuftpd@landfield.com>; Sat, 28 Aug 1999 02:00:52 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA10526;
	Sat, 28 Aug 1999 02:00:11 -0500 (CDT)
Received: from boispop1.bois.uswest.net (boispop1.bois.uswest.net [207.108.224.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA04117
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Aug 1999 01:54:15 -0500 (CDT)
Received: (qmail 12739 invoked by alias); 28 Aug 1999 06:54:13 -0000
Received: (qmail 12704 invoked by uid 0); 28 Aug 1999 06:54:12 -0000
Received: from cdslppp168.bois.uswest.net (HELO USWEST) (216.161.136.168)
  by boispop1.bois.uswest.net with SMTP; 28 Aug 1999 06:54:12 -0000
Message-Id: <013a01bef122$25e80fa0$0200000a@uswest.net>
Date: Sat, 28 Aug 1999 00:54:15 -0600
Reply-To: resmith666@uswest.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Ron Smith" <resmith666@uswest.net>
To: <lundberg+wuftpd@vr.net>
Cc: <wu-ftpd@wugate.wustl.edu>
Subject: Another question...
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0131_01BEF0EF.D9AA01C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.

------=_NextPart_000_0131_01BEF0EF.D9AA01C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Gregory,
=20
 I was looking through my partitions for 'wu-ftp*' and the only thing I =
found,
next to the files I've downloaded, was a directory
'/usr/doc/wu-ftpd-2.4.2vr17' with no executables.  My inetd.conf shows =
one
line for ftp as follows:
=20
 ftp  stream  tcp  nowait  root  /usr/sbin/tcpd  in.ftpd -l -a
=20
 but no reference to wu-ftpd.
=20
 I am confused I guess, because I don't know how to tell what ftpd I am =
using.
I thought it was wf-ftpd but now I just don't know.  If I install the
wu-ftpd-2.4* package and I'm not running wu-ftpd, won't that cause =
access
problems?
=20
 What steps would you recommend I take at this point to get 2.5 =
installed and
running?
=20
 Thanks for your help...
=20
 Ron Smith
Boise, Idaho


------=_NextPart_000_0131_01BEF0EF.D9AA01C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Hi Gregory,<BR>&nbsp;<BR> I was looking through my partitions for =
'wu-ftp*'=20
and the only thing I found,<BR>next to the files I've downloaded, was a=20
directory<BR>'/usr/doc/wu-ftpd-2.4.2vr17' with no executables.&nbsp; My=20
inetd.conf shows one<BR>line for ftp as follows:<BR>&nbsp;<BR> ftp&nbsp; =

stream&nbsp; tcp&nbsp; nowait&nbsp; root&nbsp; /usr/sbin/tcpd&nbsp; =
in.ftpd -l=20
-a<BR>&nbsp;<BR> but no reference to wu-ftpd.<BR>&nbsp;<BR> I am =
confused I=20
guess, because I don't know how to tell what ftpd I am using.<BR>I =
thought it=20
was wf-ftpd but now I just don't know.&nbsp; If I install =
the<BR>wu-ftpd-2.4*=20
package and I'm not running wu-ftpd, won't that cause=20
access<BR>problems?<BR>&nbsp;<BR> What steps would you recommend I take =
at this=20
point to get 2.5 installed and<BR>running?<BR>&nbsp;<BR> Thanks for your =

help...<BR>&nbsp;<BR> Ron Smith<BR>Boise, Idaho<BR></DIV></BODY></HTML>

------=_NextPart_000_0131_01BEF0EF.D9AA01C0--


From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 28 11:19:28 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA10992
	for <wuftpd@landfield.com>; Sat, 28 Aug 1999 11:19:27 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA14951;
	Sat, 28 Aug 1999 11:18:47 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAB20270
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Aug 1999 11:13:40 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id MAA11967;
	Sat, 28 Aug 1999 12:13:25 -0400
Message-Id: <19990828121322.A11941@vr.net>
Date: Sat, 28 Aug 1999 12:13:24 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Ron Smith <resmith666@uswest.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Another question...
In-Reply-To: <013a01bef122$25e80fa0$0200000a@uswest.net>; from Ron Smith on Sat, Aug 28, 1999 at 12:54:15AM -0600
References: <013a01bef122$25e80fa0$0200000a@uswest.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=OXfL5xGRrasGEqWY; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 28, 1999 at 12:54:15AM -0600, Ron Smith wrote:

>  I was looking through my partitions for 'wu-ftp*' and the only thing I
>  found, next to the files I've downloaded, was a directory
>  '/usr/doc/wu-ftpd-2.4.2vr17' with no executables.  My inetd.conf shows
>  one line for ftp as follows:
> =20
>  ftp  stream  tcp  nowait  root  /usr/sbin/tcpd  in.ftpd -l -a

wu-ftpd usually installs as the same name as the original ftp daemon for
your system.  that's because the original concept was to be a dropin
replacement.

connect to the server.  the greeting (usually) will tell you the version.
If it doesn't you're probably running wu-ftpd, but you can check by logging
in and issuing
  quote stat
the status report will always have the version number

btw, your inetd.conf is an example of a improperly formatted line.  you're
using tcp wrappers, so you need in.ftpd stated TWICE:

ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd in.ftpd -l -a

> =20
>  but no reference to wu-ftpd.
> =20
>  I am confused I guess, because I don't know how to tell what ftpd I am u=
sing.
> I thought it was wf-ftpd but now I just don't know.  If I install the
> wu-ftpd-2.4* package and I'm not running wu-ftpd, won't that cause access
> problems?
> =20
>  What steps would you recommend I take at this point to get 2.5 installed=
 and
> running?

download 2.5.0 and the patches, patch and build fresh.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8f8iw2nXFkJc83RAQGimAMAj5zq8Zxmzr1qY2OkVXiFN+x9zEndd3zo
O2ufWiGd/eNo6f7CPOlKuQi5yKiAnejLEtLzMp7XzqOlN1uy2UM6ng6eddxEFt8q
bMnrf+d89KFHfxdzj9gArVOZaW0S5q68
=GtSL
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--

From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 28 15:00:11 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA13345
	for <wuftpd@landfield.com>; Sat, 28 Aug 1999 15:00:10 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA26669;
	Sat, 28 Aug 1999 14:59:35 -0500 (CDT)
Received: from boispop1.bois.uswest.net (boispop1.bois.uswest.net [207.108.224.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA21558
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Aug 1999 14:53:32 -0500 (CDT)
Received: (qmail 10501 invoked by alias); 28 Aug 1999 19:53:30 -0000
Received: (qmail 10477 invoked by uid 0); 28 Aug 1999 19:53:30 -0000
Received: from cdslppp168.bois.uswest.net (HELO USWEST) (216.161.136.168)
  by boispop1.bois.uswest.net with SMTP; 28 Aug 1999 19:53:30 -0000
Message-Id: <028901bef18f$0461fae0$0200000a@uswest.net>
Date: Sat, 28 Aug 1999 13:53:26 -0600
Reply-To: resmith666@uswest.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Ron Smith" <resmith666@uswest.net>
To: "Gregory A Lundberg" <lundberg@wu-ftpd.org>
Cc: <wu-ftpd@wugate.wustl.edu>
Subject: Re: Another question...
References: <013a01bef122$25e80fa0$0200000a@uswest.net> <19990828121322.A11941@vr.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi Gregory,

> wu-ftpd usually installs as the same name as the
> original ftp daemon for your system.  that's because
> the original concept was to be a dropin replacement.

That's good information.  Thanks.

> connect to the server.  the greeting (usually) will tell
> you the version.  If it doesn't you're probably running
> wu-ftpd, but you can check by logging in and issuing
> quote stat
> the status report will always have the version number

Both worked great!  Thanks again.

> you're using tcp wrappers, so you need in.ftpd stated
> TWICE:

Ok, I understand adding it twice - but why?  I don't understand what tcp
wrappers are or a working knowledge of what in.ftpd is or how it basically
works.  Could you, at your leasure, expand on them?

> download 2.5.0 and the patches, patch and build fresh.

Will do.  I downloaded 2.5.0 after our first e-mail exchange and will go get
the patches today.

Thanks again for your expert assistance.  I particularly appreciate your
ability to explain things so I can understand them.

Have a supper weekend my friend...

Ron



From owner-wu-ftpd@wugate.wustl.edu  Sat Aug 28 20:44:38 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id UAA18550
	for <wuftpd@landfield.com>; Sat, 28 Aug 1999 20:44:37 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA30930;
	Sat, 28 Aug 1999 20:44:06 -0500 (CDT)
Received: from ad1.net (adesignweb.com [206.54.62.221])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA22430
	for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Aug 1999 20:39:24 -0500 (CDT)
Received: from am.net ([206.54.62.5]) by ad1.net (Post.Office MTA v3.5.3
          release 223 ID# 30-54809U3000L300S0V35) with ESMTP id net
          for <wu-ftpd@wugate.wustl.edu>; Sat, 28 Aug 1999 18:39:09 -0700
Message-Id: <37C88F49.8CD0E2B@am.net>
Date: Sat, 28 Aug 1999 18:39:21 -0700
Reply-To: jeff@am.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Jeff Huber <jeff@am.net>
To: wu-ftpd@wugate.wustl.edu
Subject: Running wu-ftpd on multiple IP addresses
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

How can I run wu-ftpd on several IP address of a machine? I have a machine
that has five IPs on it, and I'ld like the daemon to run on only four of
those.

By reading the FAQ and the man pages I can not figure out how to do this. By
default wu-ftpd runs on all addresses of a machine; I see that I can use the
daemonaddress ftpaccesses parameter to set the daemon to run on only one
address. Neither of these settings work for me.

Any help would be much appreciated..

-- 
----------------------------------------------
|  Jeff Huber  | Web Applications Developer  |
| jeff@am.net  |   AM.net - http://am.net    |
----------------------------------------------

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug 29 00:11:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id AAA21937
	for <wuftpd@landfield.com>; Sun, 29 Aug 1999 00:11:54 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA27055;
	Sun, 29 Aug 1999 00:11:21 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA26711
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Aug 1999 00:01:27 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id BAA20055;
	Sun, 29 Aug 1999 01:00:53 -0400
Message-Id: <19990829010053.E19924@vr.net>
Date: Sun, 29 Aug 1999 01:00:53 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Ron Smith <resmith666@uswest.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Another question...
In-Reply-To: <028901bef18f$0461fae0$0200000a@uswest.net>; from Ron Smith on Sat, Aug 28, 1999 at 01:53:26PM -0600
References: <013a01bef122$25e80fa0$0200000a@uswest.net> <19990828121322.A11941@vr.net> <028901bef18f$0461fae0$0200000a@uswest.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=TYecfFk8j8mZq+dy; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 28, 1999 at 01:53:26PM -0600, Ron Smith wrote:

> Ok, I understand adding it twice - but why?  I don't understand what tcp
> wrappers are or a working knowledge of what in.ftpd is or how it
> basically works.  Could you, at your leasure, expand on them?

You only _appear_ to be giving the name twice.  Actually, the first
parameter is the name of the FILE.  The second is the name by which you
want the program to _think_ it was called.

This can be important to programs like Sendmail which behave differently
depending upon the name the program _thinks_ it was executed as.

In C programming terms: the first argument to TCPwrappers is the name of
the executable file.  The following arguments are the argv strings to be
passed to the programs.  The first argv value (argv[0] to the C program) is
the name under which the program _thinks_ it was executed and is required.

So your command line said, "Run in.ftpd, but let the program think it is
named '-L' and pass it the parameter '-a'."

You never noticed the -L wasn't working and your ftpaccess file was being
used because the '-a' was still being passed in.

If you'd have done the options the other way arround, you'd have posted a
question (see the FAQ), "I have -a on the command line and the daemon isn't
using my ftpaccess file.  What's wrong?"

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8iwbw2nXFkJc83RAQEEewL/WRd7YfwOTWKSt40P2KuCzQ17bfN5TULo
01cveQ9+rkluax51/RBe2EbY0bb6fpOoumFN79g3eGf2gyv5c73HJbkcwOEKUw4o
axfIKy46ZDDAC+NbieMXcQNyBR4VzI4z
=/iW5
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug 29 00:42:34 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id AAA22422
	for <wuftpd@landfield.com>; Sun, 29 Aug 1999 00:42:33 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA10046;
	Sun, 29 Aug 1999 00:14:20 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA22058
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Aug 1999 00:03:00 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id BAA20084;
	Sun, 29 Aug 1999 01:02:53 -0400
Message-Id: <19990829010253.F19924@vr.net>
Date: Sun, 29 Aug 1999 01:02:53 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Jeff Huber <jeff@am.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Running wu-ftpd on multiple IP addresses
In-Reply-To: <37C88F49.8CD0E2B@am.net>; from Jeff Huber on Sat, Aug 28, 1999 at 06:39:21PM -0700
References: <37C88F49.8CD0E2B@am.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=zbGR4y+acU1DwHSi; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--zbGR4y+acU1DwHSi
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 28, 1999 at 06:39:21PM -0700, Jeff Huber wrote:

> How can I run wu-ftpd on several IP address of a machine? I have a
> machine that has five IPs on it, and I'ld like the daemon to run on only
> four of those.
>=20
> By reading the FAQ and the man pages I can not figure out how to do this.
> By default wu-ftpd runs on all addresses of a machine; I see that I can
> use the daemonaddress ftpaccesses parameter to set the daemon to run on
> only one address. Neither of these settings work for me.

In a word: xinetd.

The daemonaddress parameter is there to tell the _standalone_mode_ daemon
to use ONE address.  I put it in because I needed it for a specific
configuration.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--zbGR4y+acU1DwHSi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8iw6Q2nXFkJc83RAQEh7QL/eJ3E4osYvAkoUcA7D9ha45WB1/CUJ/0u
zvn4Ri/2BmA7wlLvuIGN7YsCj93pjGHUhdtohxrs3swfVP7UQ6QwYDhMBoBlKkWj
4lXupeb6MPxr0us/bMl3rmhiyajMOyS5
=c7fD
-----END PGP SIGNATURE-----

--zbGR4y+acU1DwHSi--

From owner-wu-ftpd@wugate.wustl.edu  Sun Aug 29 22:18:27 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id WAA12417
	for <wuftpd@landfield.com>; Sun, 29 Aug 1999 22:18:26 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA29096;
	Sun, 29 Aug 1999 22:17:45 -0500 (CDT)
Received: from smtp.WPI.EDU (root@smtp.WPI.EDU [130.215.24.62])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA05637
	for <wu-ftpd@wugate.wustl.edu>; Sun, 29 Aug 1999 22:11:11 -0500 (CDT)
Received: from mongoose (mongoose.res.WPI.NET [130.215.226.29])
	by smtp.WPI.EDU (8.9.3/8.9.3) with SMTP id XAA05189
	for <wu-ftpd@mail.wustl.edu>; Sun, 29 Aug 1999 23:11:09 -0400 (EDT)
Message-Id: <199908300311.XAA05189@smtp.WPI.EDU>
Date: Sun, 29 Aug 1999 23:11:38 -0400
Reply-To: mongoose@WPI.EDU
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Garrett Banuk <mongoose@WPI.EDU>
To: wu-ftpd@wugate.wustl.edu
Subject: directory tree
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: mongoose@smtp.wpi.edu
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

	I have a fat32 drive mounted in linux and would like users to be able to
upload and download to it. Also it would be nice if the users could only
browse around in that one drive and nothing else. Any idea how I would do this?



-Mongoose   WPI student majoring in Computer Science
This messge sent from Windoze.... ugh.

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 07:45:50 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id HAA20875
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 07:45:49 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA06208;
	Mon, 30 Aug 1999 07:45:00 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA15669
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 07:38:23 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id IAA31735;
	Mon, 30 Aug 1999 08:38:14 -0400
Message-Id: <19990830083814.F31575@vr.net>
Date: Mon, 30 Aug 1999 08:38:14 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Garrett Banuk <mongoose@WPI.EDU>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: directory tree
In-Reply-To: <199908300311.XAA05189@smtp.WPI.EDU>; from Garrett Banuk on Sun, Aug 29, 1999 at 11:11:38PM -0400
References: <199908300311.XAA05189@smtp.WPI.EDU>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=hxkXGo8AKqTJ+9QI; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--hxkXGo8AKqTJ+9QI
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 29, 1999 at 11:11:38PM -0400, Garrett Banuk wrote:

> I have a fat32 drive mounted in linux and would like users to be able to
> upload and download to it. Also it would be nice if the users could only
> browse around in that one drive and nothing else. Any idea how I would do
> this?

Guestgroup.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--hxkXGo8AKqTJ+9QI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8ptIg2nXFkJc83RAQGRsQMAqkhn/PTsymrL0UU3AD9y/Na+UaAs5PrW
ffTXnYaPFJ0gjVZaGG6/bLiMi/mQoWCpP9pK0GRDFt2aj/YmmxCRJe0+6fSJMggx
nXoCvPidt/upcMxB+wqfpxmGhgs2fZoO
=e58t
-----END PGP SIGNATURE-----

--hxkXGo8AKqTJ+9QI--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 08:20:19 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA21563
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 08:20:19 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA00204;
	Mon, 30 Aug 1999 08:21:01 -0500 (CDT)
Received: from leganes.uf-isf.es ([194.140.67.19])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA22015
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 08:14:41 -0500 (CDT)
Received: from sfpc0489 ([10.111.68.32])
	by leganes.uf-isf.es (8.9.1/8.9.1) with SMTP id PAA03545
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:10:16 -0100 (GMT)
Message-Id: <002001bef2ea$74dc0d40$20446f0a@sfpc0489>
Date: Mon, 30 Aug 1999 15:20:39 +0200
Reply-To: <csanchez@uf-isf.es>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "=?iso-8859-1?B?TaogQ2FybWVuIFPhbmNoZXo=?=" <csanchez@uf-isf.es>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Problem building wu-ftpd-2.4
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

I'm trying to install wu ftp in a Solaris 2.6 with cc 4.2, I have edit the
file /src/pathnames.h and then I run build sol (as the step 2 indicates) and
obtain the follow error:


make args are :
make opts are :

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

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

Making ftpd.
cc -g -DDEBUG -I.. -I../support -L../support  -c  ftpd.c
"ftpd.c", line 143: identifier redeclared: realpath
        current : function(pointer to char, pointer to char) returning
pointer t
o char
        previous: function(pointer to const char, pointer to char) returning
poi
nter to char : "/usr/include/stdlib.h", line 180
"ftpd.c", line 1446: cannot recover from previous errors
cc: acomp failed for ftpd.c
*** Error code 2
make: Fatal error: Command failed for target `ftpd.o'

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

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

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

Links to executables are in bin directory:
size: bin/ftpd: cannot open
size: bin/ftpcount: cannot open
size: bin/ftpshut: cannot open
size: bin/ftpwho: cannot open
bin/ckconfig: 5249 + 752 + 324 = 6325
Done


As you see, I need some help.
Thank you.


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 09:15:49 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA22712
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 09:15:49 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA32662;
	Mon, 30 Aug 1999 09:16:24 -0500 (CDT)
Received: from mail01.t-net.net.ve (mail.telcel.net.ve [206.48.41.100])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA10871
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 09:12:04 -0500 (CDT)
Received: from telcel.net.ve ([206.48.41.237]) by mail01.t-net.net.ve
          (Post.Office MTA v3.5.3 release 223
          ID# 557-52511U100000L100000S0V35) with ESMTP id ve
          for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 14:11:31 +0000
Message-Id: <37CA2042.CF9140D9@telcel.net.ve>
Date: Mon, 30 Aug 1999 10:10:10 +0400
Reply-To: admnt1@telcel.net.ve
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Antonio Ferri <admnt1@telcel.net.ve>
To: wu-ftpd@wugate.wustl.edu
Subject: FTP Web Access doesn't work
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------9FB2720BF9DCE4F7405CB495"
X-Sender: root
X-Mailer: Mozilla 4.51 [en] (X11; I; SunOS 5.7 sun4u)
X-Accept-Language: es, en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a multi-part message in MIME format.
--------------9FB2720BF9DCE4F7405CB495
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I install WU-FTPD version 2.4.2 in Solaris 2.6, but when I need to
access the FTP site from Web Client the FTP Server not responding.

Could anybody tell me the solve of the problem ?

Thanks .....
--------------9FB2720BF9DCE4F7405CB495
Content-Type: text/x-vcard; charset=us-ascii;
 name="admnt1.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Antonio Ferri
Content-Disposition: attachment;
 filename="admnt1.vcf"

begin:vcard 
n:Ferri;Antonio
x-mozilla-html:FALSE
org:Telcel Celular C.A.;Gerencia de Operaciones T-NET
adr:;;;;;;
version:2.1
email;internet:aferri@telcel.net.ve
title:Administrador de Sistemas
x-mozilla-cpt:;-15600
fn:Antonio Ferri
end:vcard

--------------9FB2720BF9DCE4F7405CB495--


From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 09:30:58 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA23114
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 09:30:57 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA04180;
	Mon, 30 Aug 1999 09:30:22 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA01795
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 09:23:15 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id KAA32744;
	Mon, 30 Aug 1999 10:22:58 -0400
Message-Id: <19990830102257.B32554@vr.net>
Date: Mon, 30 Aug 1999 10:22:57 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Antonio Ferri <admnt1@telcel.net.ve>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: FTP Web Access doesn't work
In-Reply-To: <37CA2042.CF9140D9@telcel.net.ve>; from Antonio Ferri on Mon, Aug 30, 1999 at 10:10:10AM +0400
References: <37CA2042.CF9140D9@telcel.net.ve>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="ikeVEW9yuYc//A+q"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 10:10:10AM +0400, Antonio Ferri wrote:

> I install WU-FTPD version 2.4.2 in Solaris 2.6, but when I need to access
> the FTP site from Web Client the FTP Server not responding.
>=20
> Could anybody tell me the solve of the problem ?

2.4.2 is old.  The current version is 2.5.0 (plus patches).  You should
upgrade.

To your specific problem: more information would help.  IS it only some web
browsers?   What about normal ftp clients?  Does it work on the localhost?
What about other hosts on your LAN?

The FAQ might help.  Please look through it before following up.

  httP//www.wu-ftpd.org/

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8qFrA2nXFkJc83RAQEk1AMAzyUsT75CeJ/JzdkZd79Z7yZjzKGp7ifE
y8jtxv2zjNvA3SyLVRX/lW6ZB7jycEZw4pkILpJysfY+Exb/f3nG9KxLfJd1foAD
t9mc2E/Q9ap0/sy0uSNCRlk0QSwqsKdx
=cLMp
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 09:36:01 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA23254
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 09:35:59 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA06625;
	Mon, 30 Aug 1999 09:36:41 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA10741
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 09:32:38 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id KAA00078;
	Mon, 30 Aug 1999 10:32:03 -0400
Message-Id: <19990830103201.C32554@vr.net>
Date: Mon, 30 Aug 1999 10:32:02 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: =?iso-8859-1?Q?M=AA_Carmen_S=E1nchez?= <csanchez@uf-isf.es>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problem building wu-ftpd-2.4
In-Reply-To: =?iso-8859-1?Q?=3C002001bef2ea$74dc0d40$20446f0a=40sfpc0489=3E=3B_from_M?=
 =?iso-8859-1?Q?=AA_Carmen_S=E1nchez_on_Mon=2C_Aug_30=2C_1999_at_03:20:39?=
 =?iso-8859-1?Q?PM_+0200?=
References: <002001bef2ea$74dc0d40$20446f0a@sfpc0489>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=3lcZGd9BuhuYXNfi; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 03:20:39PM +0200, M=AA Carmen S=E1nchez wrote:

> I'm trying to install wu ftp in a Solaris 2.6 with cc 4.2, I have edit
> the file /src/pathnames.h and then I run build sol (as the step 2
> indicates) and obtain the follow error:

> As you see, I need some help.

No.  What you need is to get something writeen in, say, the last decade.
The current version is 2.5.0 (with patches).  Get it.  Version 2.4 has so
many security problems, I'd suggest the failure to compile is a godsend; at
least it stopped you from making a monsterous mistake.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8qHzA2nXFkJc83RAQF1+wL/e/xdyHRzYJ2M1Qu5Ug4DywtjpFV0gciZ
mYrgfyooaocjpODqZ4WDJ7EtG49Qhvo4YgRNr+BQslwt02/LYx0lxK3A4wT9eXk2
NkUF7s9471OX05I6j7RLox2Yvhg0Aqzm
=B0EE
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 10:14:04 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA24259
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 10:14:03 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA13029;
	Mon, 30 Aug 1999 10:14:43 -0500 (CDT)
Received: from smtprtp1.ntcom.nortel.net (smtprtp1.ntcom.nortel.net [137.118.22.14])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA20387
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 10:08:08 -0500 (CDT)
Received: from zrtpd004.us.nortel.com (actually nrtpd004) 
          by smtprtp1.ntcom.nortel.net; Mon, 30 Aug 1999 11:07:46 -0400
Received: by zrtpd004.us.nortel.com with Internet Mail Service (5.5.2448.0) 
          id <Q6136TQX>; Mon, 30 Aug 1999 11:07:37 -0400
Message-Id: <F35D5CFDF93ED311A2CD0000F808AAD86CBE45@zftzd001.ca.nortel.com>
Date: Mon, 30 Aug 1999 11:07:28 -0400
Reply-To: danhb@nortelnetworks.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Daniel Bissetsmith" <danhb@nortelnetworks.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Umask for directories
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

In the current version of wu-ftp the umask of the directories is set as a
default to the mask of the user who has access the server. We have need for
the directory permissions to be different. The ftpaccess man page says that
this is possible using the <d_word>. 

Okay, I gather that this must be something done during the compile. I wish
is was in the ftpaccess file. What do I change and in what file during the
compile to do this?

Dan Bissetsmith

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 12:31:19 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id MAA27162
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 12:31:18 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA22969;
	Mon, 30 Aug 1999 12:31:35 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA14952
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 12:25:39 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id NAA01708;
	Mon, 30 Aug 1999 13:25:34 -0400
Message-Id: <19990830132532.A1687@vr.net>
Date: Mon, 30 Aug 1999 13:25:32 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Daniel Bissetsmith <danhb@nortelnetworks.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Umask for directories
In-Reply-To: <F35D5CFDF93ED311A2CD0000F808AAD86CBE45@zftzd001.ca.nortel.com>; from Daniel Bissetsmith on Mon, Aug 30, 1999 at 11:07:28AM -0400
References: <F35D5CFDF93ED311A2CD0000F808AAD86CBE45@zftzd001.ca.nortel.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=6c2NcOVqGQ03X4Wi; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 11:07:28AM -0400, Daniel Bissetsmith wrote:

> In the current version of wu-ftp the umask of the directories is set as a
> default to the mask of the user who has access the server. We have need
> for the directory permissions to be different. The ftpaccess man page
> says that this is possible using the <d_word>.=20
>=20
> Okay, I gather that this must be something done during the compile. I
> wish is was in the ftpaccess file. What do I change and in what file
> during the compile to do this?

The source files.  Try using the 2.5.0 version, and grab the patches while
you're at it.

The _read_ the upload.configuration.HOWTO.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8qweA2nXFkJc83RAQEmyAMAy6Zcr72kLAr+BUquOxbMdDcVLX5eIPeM
YaJan1MAEnrnMhHR17i4phggO7l+57p43h1t3b0ciua8aZLq3qRGV6FoM5FyJZGC
uUVrFrK6BDtGYEfllAFdVZnS9KEhXqkP
=vlI8
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 13:23:00 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA28216
	for <wuftpd@landfield.com>; Mon, 30 Aug 1999 13:22:58 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA03717;
	Mon, 30 Aug 1999 13:23:30 -0500 (CDT)
Received: from westnet.com (chris@westnet.com [206.24.6.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA02011
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 13:18:28 -0500 (CDT)
Received: from localhost (chris@localhost)
	by westnet.com (8.9.1/8.9.1) with ESMTP id OAA16546
	for <wu-ftpd@mail.wustl.edu>; Mon, 30 Aug 1999 14:18:24 -0400 (EDT)
Message-Id: <Pine.SUN.4.10.9908301418120.13399-100000@westnet.com>
Date: Mon, 30 Aug 1999 14:18:24 -0400 (EDT)
Reply-To: chris@westnet.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher X. Candreva" <chris@westnet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: wu-ftpd 2.5.0 and SunOS 4.1.3 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'm attempting to upgrade in response to the recent announcements about
holes in older versions.  Is the answer for those of us running 4.1.3
basicly that we are SOL ?

The problem: I've gotten it to compile, but I can't 'get' any files.
Apparently, it's looking for files in whatever dirrectory ls is run from.

I've checked through the the mailing list archive and the FAQ, and found no
mention of this. If it has been brought up I will happily take a pointer.

I'm assuming this as to do with the getwd/getcwd problem. For now I've
compiled it with getwd, simply commenting out the #error line. 

Is this a known problem, has someone already solved this, or am I just doing
something dumb ?

-Chris

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



From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 13:51:15 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA28919;
	Mon, 30 Aug 1999 13:51:14 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA22933;
	Mon, 30 Aug 1999 13:51:47 -0500 (CDT)
Received: from wukon.appliedtheory.com (root@wukon.appliedtheory.com [204.168.18.26])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA22386
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 13:45:34 -0500 (CDT)
Received: from wukon.appliedtheory.com (IDENT:jreed@localhost [127.0.0.1])
	by wukon.appliedtheory.com (8.9.1/8.9.1) with ESMTP id OAA30240
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 14:45:33 -0400
Message-Id: <199908301845.OAA30240@wukon.appliedtheory.com>
Date: Mon, 30 Aug 1999 14:45:32 -0400
Reply-To: jreed@wukon.appliedtheory.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jreed@wukon.appliedtheory.com
To: wu-ftpd@wugate.wustl.edu
Subject: How to give diff. guest groups diff. access?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 2.0.2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Our "guest" community under wu-ftpd-2.4.2/2.5.0 (Tru64 UNIX v4.0D) is
composed of two distinct subcommunities. We'd like to give these subcommunities
different sets of privileges, specifically to have one subcommunity be able 
to use "rename", and the other not. 

How do we set this up? Should I have two guestgroups? What would the 
"rename" clause for the two subgroups look like? What other statements
would be diff. than the standard config? Here's our ftpaccess right
now:
		---------------------------------------
class   local   real,guest,anonymous *

guestgroup      misc
delete          yes     guest
delete          no      anonymous               # delete permission?
overwrite       yes     guest                   # overwrite permission?
overwrite       no      anonymous
rename          no      guest,anonymous         # rename permission?
chmod           no      guest,anonymous         # chmod permission?
umask           no      guest,anonymous         # umask permission?
#
#
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
#
guestgroup misc
log security real,anonymous,guest
		-----------------------------------------

TIA...

-- 
Judith Reed
jreed@appliedtheory.com
(315) 453-2912 x335






From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 14:30:21 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA29796;
	Mon, 30 Aug 1999 14:30:20 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA07700;
	Mon, 30 Aug 1999 14:30:55 -0500 (CDT)
Received: from server.computeralt.com (server.computeralt.com [207.41.29.10])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA07650
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 14:26:42 -0500 (CDT)
Received: from scott (scott.computeralt.com [207.41.29.100])
	by server.computeralt.com (8.9.1/8.9.1) with ESMTP id PAA15169
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:26:40 -0400 (EDT)
Message-Id: <4.2.0.58.19990830152449.00b432e0@mail.computeralt.com>
Date: Mon, 30 Aug 1999 15:27:36 -0400
Reply-To: scott@computeralt.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Scott I. Remick" <scott@computeralt.com>
To: wu-ftpd@wugate.wustl.edu
Subject: glibc.tmp patch problems
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Sender: scott@mail.computeralt.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

The glib.wtmp patch for 2.5.0 isn't going smoothly for me.  Instead of just 
applying, I get prompted for "File to patch:".  What am I doing 
wrong?  Here's the output:

/usr/libexec/ld.so: warning: /usr/lib/libc.so.3.0: minor version 0 older 
than expected 1, using it anyway
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|This reverses an earlier change to src/logwtmp.c.  The original comment was:
|Garry Shtern <shterng@akula.com> submitted a patch on Fri, 9 Apr 1999, 
which he
|says was needed to support glibc2 on linux.
|
|It turns out this has the effect of breaking wtmp logging on Linux.  The GNU
|libc updwtmp() function cannot find _PATH_WTMP when a guest or anonymous user
|is logging out because the daemon has chroot'd.
|
|Index: logwtmp.c
|===================================================================
|RCS file: /cvsroot/wu-ftpd-stable/src/logwtmp.c,v
|retrieving revision 1.4
|diff -c -r1.4 logwtmp.c
|*** logwtmp.c  1999/05/21 14:15:39     1.4
|--- logwtmp.c  1999/08/03 13:28:08
--------------------------
File to patch:
-----------------------
Scott I. Remick			scott@computeralt.com
Network and Information		(802)388-7545 ext. 236
Systems Manager			FAX:(802)388-3697
Computer Alternatives, Inc.		http://www.computeralt.com

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 14:56:14 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA00451;
	Mon, 30 Aug 1999 14:56:13 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA26784;
	Mon, 30 Aug 1999 14:56:52 -0500 (CDT)
Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAB11166
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 14:53:38 -0500 (CDT)
Received: from zrchb213.us.nortel.com (actually zrchb213) 
          by smtprch1.nortel.com; Mon, 30 Aug 1999 14:45:28 -0500
Received: by zrchb213.us.nortel.com with Internet Mail Service (5.5.2448.0) 
          id <R2725R1Y>; Mon, 30 Aug 1999 14:53:17 -0500
Message-Id: <F35D5CFDF93ED311A2CD0000F808AAD86CC1A7@zftzd001.ca.nortel.com>
Date: Mon, 30 Aug 1999 14:53:15 -0500
Reply-To: danhb@nortelnetworks.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Daniel Bissetsmith" <danhb@nortelnetworks.com>
To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: RE: Umask for directories
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Okay, I've read the howto ... and it says to use the defumask to define
rights not disallowed in the upload section. Pretty much everything we can
think of is defined, except directory creation. I added a 'defumask 000
testgroup' to my ftpaccess. When I log on to the system using a ftp client,
it creates the directories with the access d---r-x--- rights. So the
directory is created, but no one else can use the directory. 

Basically, a user needs to create a directory for a client, who then can ftp
to the site, with a different class definition, and can change to the
directory and get the files. What am I missing here?

Dan


> > In the current version of wu-ftp the umask of the directories is set as
> a
> > default to the mask of the user who has access the server. We have need
> > for the directory permissions to be different. The ftpaccess man page
> > says that this is possible using the <d_word>. 
> > 
> > Okay, I gather that this must be something done during the compile. I
> > wish is was in the ftpaccess file. What do I change and in what file
> > during the compile to do this?
> 
> The source files.  Try using the 2.5.0 version, and grab the patches while
> you're at it.
> 
> The _read_ the upload.configuration.HOWTO.
> 
> 

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 15:17:25 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA00939;
	Mon, 30 Aug 1999 15:17:23 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA21657;
	Mon, 30 Aug 1999 15:16:49 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA04845
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:10:29 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA03110;
	Mon, 30 Aug 1999 16:10:10 -0400
Message-Id: <19990830161009.C2916@vr.net>
Date: Mon, 30 Aug 1999 16:10:09 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Christopher X. Candreva" <chris@westnet.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: wu-ftpd 2.5.0 and SunOS 4.1.3
In-Reply-To: <Pine.SUN.4.10.9908301418120.13399-100000@westnet.com>; from Christopher X. Candreva on Mon, Aug 30, 1999 at 02:18:24PM -0400
References: <Pine.SUN.4.10.9908301418120.13399-100000@westnet.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=OwLcNYc0lM97+oe1; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--OwLcNYc0lM97+oe1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 02:18:24PM -0400, Christopher X. Candreva wrote:

> I'm attempting to upgrade in response to the recent announcements about
> holes in older versions.  Is the answer for those of us running 4.1.3
> basicly that we are SOL ?

No, the 2.5.0 daemon should work acceptably well on your server.

> The problem: I've gotten it to compile, but I can't 'get' any files.
> Apparently, it's looking for files in whatever dirrectory ls is run from.

Huh?

> I've checked through the the mailing list archive and the FAQ, and found =
no
> mention of this. If it has been brought up I will happily take a pointer.

Never heard anything like this before.  The only thing which comes to mind
is a guess: try using an ftp client instead of a web browser: does that
make a difference?

> I'm assuming this as to do with the getwd/getcwd problem. For now I've
> compiled it with getwd, simply commenting out the #error line.=20

Maybe, but I'd have to see what is happening.

> Is this a known problem, has someone already solved this, or am I just do=
ing
> something dumb ?

Yes, yes, and .. well .. maybe.

There's a file, getcwd.c, in the support area, which implementes a portable
getcwd() function for systems which don't have one.  The best thing to do
is to use that function.  That way, the monsterous security deficiency of
your operating system can be overcome, and a more-secure FTP site provided.
The rest of your services are potentially still in-secure, but at least FTP
will be protected from a lot of buffer overruns).

There's a note about this in the ERRATA.  Also, someone has alrady done a
SunOS port fixup for getcwd(), which will appear in 2.6.0 .. I don't recall
if he did anything more than cause the file to be compiled and linked with
the daemon .. maybe added a header.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--OwLcNYc0lM97+oe1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8rXDQ2nXFkJc83RAQFu8QL/SXya/UR7v5izSn2MU1F/2/ICrzJ19zmw
QWwngX00/AFMcxwoiSV9ZFcyFH4lAwm8WE88g9WlPQIR1IASqsZoIytsI8q7X85K
ajnfRJT2FGnhNbdeBL597k5ImSfRMBCX
=TiZ6
-----END PGP SIGNATURE-----

--OwLcNYc0lM97+oe1--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 15:22:47 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA01055;
	Mon, 30 Aug 1999 15:22:46 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA10606;
	Mon, 30 Aug 1999 15:23:17 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA06989
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:17:09 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA03180;
	Mon, 30 Aug 1999 16:16:35 -0400
Message-Id: <19990830161631.D2916@vr.net>
Date: Mon, 30 Aug 1999 16:16:32 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: jreed@wukon.appliedtheory.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: How to give diff. guest groups diff. access?
In-Reply-To: <199908301845.OAA30240@wukon.appliedtheory.com>; from jreed@wukon.appliedtheory.com on Mon, Aug 30, 1999 at 02:45:32PM -0400
References: <199908301845.OAA30240@wukon.appliedtheory.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="GPJrCs/72TxItFYR"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--GPJrCs/72TxItFYR
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Caveat: it's been a while since I played with this, so it may be a little
flaky.

On Mon, Aug 30, 1999 at 02:45:32PM -0400, jreed@wukon.appliedtheory.com wro=
te:

> Our "guest" community under wu-ftpd-2.4.2/2.5.0 (Tru64 UNIX v4.0D) is
> composed of two distinct subcommunities. We'd like to give these subcommu=
nities
> different sets of privileges, specifically to have one subcommunity be ab=
le=20
> to use "rename", and the other not.=20
>=20
> How do we set this up? Should I have two guestgroups? What would the=20
> "rename" clause for the two subgroups look like? What other statements
> would be diff. than the standard config? Here's our ftpaccess right
> now:
> 		---------------------------------------
> class   local   real,guest,anonymous *
>=20
> guestgroup      misc
> delete          yes     guest
> delete          no      anonymous               # delete permission?
> overwrite       yes     guest                   # overwrite permission?
> overwrite       no      anonymous
> rename          no      guest,anonymous         # rename permission?
> chmod           no      guest,anonymous         # chmod permission?
> umask           no      guest,anonymous         # umask permission?
> #
> #
> path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
> #
> guestgroup misc
> log security real,anonymous,guest
> 		-----------------------------------------

Yes, create two classes.
Remember the defaults for for 2.5.0 are 'no' for anonymous and 'yes' for
guest and real.

class norename guest !10.0.0.0/8
class canrename guest 10.0.0.0/8
class insecure real *
class anyone anonymous *

guestgroup misc
rename no class=3Dnorename



Don't forget to read the upload.configuration.HOWTO.  This use of class=3D =
is
what the ERRATA is referring to .. it should work as I have it here to get
what you want done.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--GPJrCs/72TxItFYR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8rYhw2nXFkJc83RAQGCDgMAoFdKnNdv8VnJLSe6vG2O+v6i+0rBaNBv
BhxHCrhRf6yfTKW5Z9NnZlAcBZvAyxZZC4ql+pLvyjJUFBKmFiNYLAQ1kJ81+TBn
pzoQMSJX1hCSeGv87X8keIi5SEHtuL7n
=WA24
-----END PGP SIGNATURE-----

--GPJrCs/72TxItFYR--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 15:23:39 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA01096;
	Mon, 30 Aug 1999 15:23:39 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA23931;
	Mon, 30 Aug 1999 15:24:08 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA26185
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:20:15 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA03259;
	Mon, 30 Aug 1999 16:19:59 -0400
Message-Id: <19990830161958.E2916@vr.net>
Date: Mon, 30 Aug 1999 16:19:58 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Scott I. Remick" <scott@computeralt.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: glibc.tmp patch problems
In-Reply-To: <4.2.0.58.19990830152449.00b432e0@mail.computeralt.com>; from Scott I. Remick on Mon, Aug 30, 1999 at 03:27:36PM -0400
References: <4.2.0.58.19990830152449.00b432e0@mail.computeralt.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=mSxgbZZZvrAyzONB; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--mSxgbZZZvrAyzONB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 03:27:36PM -0400, Scott I. Remick wrote:

> The glib.wtmp patch for 2.5.0 isn't going smoothly for me.  Instead of ju=
st=20
> applying, I get prompted for "File to patch:".  What am I doing=20
> wrong?  Here's the output:
>=20
> /usr/libexec/ld.so: warning: /usr/lib/libc.so.3.0: minor version 0 older=
=20
> than expected 1, using it anyway
> Hmm...  Looks like a new-style context diff to me...
> The text leading up to this was:
> --------------------------
> |This reverses an earlier change to src/logwtmp.c.  The original comment =
was:
> |Garry Shtern <shterng@akula.com> submitted a patch on Fri, 9 Apr 1999,=
=20
> which he
> |says was needed to support glibc2 on linux.
> |
> |It turns out this has the effect of breaking wtmp logging on Linux.  The=
 GNU
> |libc updwtmp() function cannot find _PATH_WTMP when a guest or anonymous=
 user
> |is logging out because the daemon has chroot'd.
> |
> |Index: logwtmp.c
> |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> |RCS file: /cvsroot/wu-ftpd-stable/src/logwtmp.c,v
> |retrieving revision 1.4
> |diff -c -r1.4 logwtmp.c
> |*** logwtmp.c  1999/05/21 14:15:39     1.4
> |--- logwtmp.c  1999/08/03 13:28:08
> --------------------------
> File to patch:

You're not doing anything wrong.  Somehow the patch got built wrong (it was
already in the src directory).  Just type in src/logwtmp.c and you will be
fine.

Sorry, the patch has been out for a while, and I just noticed the problem a
couple days ago.  I don't like changing a released file, so I've not
updated it to correct the error.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--mSxgbZZZvrAyzONB
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8rZWg2nXFkJc83RAQGWtwL+NqkEpNxoIHFDh3IL0gM4oHlnvBJNmUtU
LdVl8Doauxrxl3mfdtMsy+N+rlUjY8XQPmO85UxqC1ITx9STp8xHyz7P58S9Knlr
JCVtaFgrEeRiTn1U1qYJb/rWupqIZwYq
=5yxQ
-----END PGP SIGNATURE-----

--mSxgbZZZvrAyzONB--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 15:24:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA01119;
	Mon, 30 Aug 1999 15:24:34 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA05459;
	Mon, 30 Aug 1999 15:25:06 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA25700
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:22:21 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA03278;
	Mon, 30 Aug 1999 16:21:54 -0400
Message-Id: <19990830162152.F2916@vr.net>
Date: Mon, 30 Aug 1999 16:21:53 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Daniel Bissetsmith <danhb@nortelnetworks.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Umask for directories
In-Reply-To: <F35D5CFDF93ED311A2CD0000F808AAD86CC1A7@zftzd001.ca.nortel.com>; from Daniel Bissetsmith on Mon, Aug 30, 1999 at 02:53:15PM -0500
References: <F35D5CFDF93ED311A2CD0000F808AAD86CC1A7@zftzd001.ca.nortel.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=VdOwlNaOFKGAtAAV; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--VdOwlNaOFKGAtAAV
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable


defumask only applies when there is no upload clause.  (thought the Howto
said that .. doesn't it?)

Looks like you have an upload with a directory mode parameter of 050
specified.

On Mon, Aug 30, 1999 at 02:53:15PM -0500, Daniel Bissetsmith wrote:

> Okay, I've read the howto ... and it says to use the defumask to define
> rights not disallowed in the upload section. Pretty much everything we can
> think of is defined, except directory creation. I added a 'defumask 000
> testgroup' to my ftpaccess. When I log on to the system using a ftp clien=
t,
> it creates the directories with the access d---r-x--- rights. So the
> directory is created, but no one else can use the directory.=20
>=20
> Basically, a user needs to create a directory for a client, who then can =
ftp
> to the site, with a different class definition, and can change to the
> directory and get the files. What am I missing here?
>=20
> Dan
>=20
>=20
> > > In the current version of wu-ftp the umask of the directories is set =
as
> > a
> > > default to the mask of the user who has access the server. We have ne=
ed
> > > for the directory permissions to be different. The ftpaccess man page
> > > says that this is possible using the <d_word>.=20
> > >=20
> > > Okay, I gather that this must be something done during the compile. I
> > > wish is was in the ftpaccess file. What do I change and in what file
> > > during the compile to do this?
> >=20
> > The source files.  Try using the 2.5.0 version, and grab the patches wh=
ile
> > you're at it.
> >=20
> > The _read_ the upload.configuration.HOWTO.
> >=20
> >=20

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--VdOwlNaOFKGAtAAV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8rZyw2nXFkJc83RAQFnvwMAwhgtlqzAoMzUhNd3cPjA+L5kEVVv5CRb
LmqzE7VMSOUi6m5J67a6ntMkNamoiG0lvqEMmrlrh+41inTgV2qtEpSBids9YZRu
lpn/W8K1nBW7cFE9YoKWzqrvRp42+kYz
=hWAU
-----END PGP SIGNATURE-----

--VdOwlNaOFKGAtAAV--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 15:45:17 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA01622;
	Mon, 30 Aug 1999 15:45:16 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA22805;
	Mon, 30 Aug 1999 15:42:56 -0500 (CDT)
Received: from f04n01.cac.psu.edu (f04s01.cac.psu.edu [128.118.141.31])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA17995
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 15:37:08 -0500 (CDT)
Received: from [146.186.113.123] (host123.mrl.psu.edu [146.186.113.123]) by f04n01.cac.psu.edu (8.8.7/8.6.12) with ESMTP id QAA75358 for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 16:37:05 -0400
Message-Id: <v04210102b3f09bd3d300@[146.186.113.123]>
Date: Mon, 30 Aug 1999 16:37:53 -0400
Reply-To: sxk13@psu.edu
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stephen Kwan <sxk13@psu.edu>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: How to give diff. guest groups diff. access?
In-Reply-To: <19990830161631.D2916@vr.net>
References: <199908301845.OAA30240@wukon.appliedtheory.com>
 <19990830161631.D2916@vr.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Sender: sxk13@email.psu.edu
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>Caveat: it's been a while since I played with this, so it may be a little
>flaky.
>
>On Mon, Aug 30, 1999 at 02:45:32PM -0400, jreed@wukon.appliedtheory.com wrote:
>
> > Our "guest" community under wu-ftpd-2.4.2/2.5.0 (Tru64 UNIX v4.0D) is
> > composed of two distinct subcommunities. We'd like to give these 
>subcommunities
> > different sets of privileges, specifically to have one subcommunity be able
> > to use "rename", and the other not.
> >
> > How do we set this up? Should I have two guestgroups? What would the
> > "rename" clause for the two subgroups look like? What other statements
> > would be diff. than the standard config? Here's our ftpaccess right
> > now:
> > 		---------------------------------------
> > class   local   real,guest,anonymous *
> >
> > guestgroup      misc
> > delete          yes     guest
> > delete          no      anonymous               # delete permission?
> > overwrite       yes     guest                   # overwrite permission?
> > overwrite       no      anonymous
> > rename          no      guest,anonymous         # rename permission?
> > chmod           no      guest,anonymous         # chmod permission?
> > umask           no      guest,anonymous         # umask permission?
> > #
> > #
> > path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
> > #
> > guestgroup misc
> > log security real,anonymous,guest
> > 		-----------------------------------------
>
>Yes, create two classes.
>Remember the defaults for for 2.5.0 are 'no' for anonymous and 'yes' for
>guest and real.


Pardon my ignorance, but what do these IP#'s (?) refer to?


>class norename guest !10.0.0.0/8
>class canrename guest 10.0.0.0/8
>class insecure real *
>class anyone anonymous *
>
>guestgroup misc
>rename no class=norename
>
>
>
>Don't forget to read the upload.configuration.HOWTO.  This use of class= is
>what the ERRATA is referring to .. it should work as I have it here to get
>what you want done.

--
Stephen Kwan
sxk13@psu.edu
(814)863-2975
http://host46.mrl.psu.edu/~skwan

  -- I am Pentium of Borg.  Division is futile.  You will be approximated. --

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 16:47:48 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id QAA02673;
	Mon, 30 Aug 1999 16:47:47 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA12900;
	Mon, 30 Aug 1999 16:48:11 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA09895
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 16:46:41 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id RAA03993;
	Mon, 30 Aug 1999 17:46:26 -0400
Message-Id: <19990830174625.B3945@vr.net>
Date: Mon, 30 Aug 1999 17:46:25 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Stephen Kwan <sxk13@psu.edu>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: How to give diff. guest groups diff. access?
In-Reply-To: <v04210102b3f09bd3d300@[146.186.113.123]>; from Stephen Kwan on Mon, Aug 30, 1999 at 04:37:53PM -0400
References: <199908301845.OAA30240@wukon.appliedtheory.com> <19990830161631.D2916@vr.net> <v04210102b3f09bd3d300@[146.186.113.123]>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=VrqPEDrXMn8OVzN4; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--VrqPEDrXMn8OVzN4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 04:37:53PM -0400, Stephen Kwan wrote:

> >Caveat: it's been a while since I played with this, so it may be a little
> >flaky.
> >
> >On Mon, Aug 30, 1999 at 02:45:32PM -0400, jreed@wukon.appliedtheory.com =
wrote:
> >
> > > Our "guest" community under wu-ftpd-2.4.2/2.5.0 (Tru64 UNIX v4.0D) is
> > > composed of two distinct subcommunities. We'd like to give these=20
> >subcommunities
> > > different sets of privileges, specifically to have one subcommunity b=
e able
> > > to use "rename", and the other not.
> > >
> > > How do we set this up? Should I have two guestgroups? What would the
> > > "rename" clause for the two subgroups look like? What other statements
> > > would be diff. than the standard config? Here's our ftpaccess right
> > > now:
> > > 		---------------------------------------
> > > class   local   real,guest,anonymous *
> > >
> > > guestgroup      misc
> > > delete          yes     guest
> > > delete          no      anonymous               # delete permission?
> > > overwrite       yes     guest                   # overwrite permissio=
n?
> > > overwrite       no      anonymous
> > > rename          no      guest,anonymous         # rename permission?
> > > chmod           no      guest,anonymous         # chmod permission?
> > > umask           no      guest,anonymous         # umask permission?
> > > #
> > > #
> > > path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
> > > #
> > > guestgroup misc
> > > log security real,anonymous,guest
> > > 		-----------------------------------------
> >
> >Yes, create two classes.
> >Remember the defaults for for 2.5.0 are 'no' for anonymous and 'yes' for
> >guest and real.
>=20
>=20
> Pardon my ignorance, but what do these IP#'s (?) refer to?
>=20
>=20
> >class norename guest !10.0.0.0/8
> >class canrename guest 10.0.0.0/8
> >class insecure real *
> >class anyone anonymous *
> >
> >guestgroup misc
> >rename no class=3Dnorename
> >
> >
> >
> >Don't forget to read the upload.configuration.HOWTO.  This use of class=
=3D is
> >what the ERRATA is referring to .. it should work as I have it here to g=
et
> >what you want done.
>=20
> --
> Stephen Kwan
> sxk13@psu.edu
> (814)863-2975
> http://host46.mrl.psu.edu/~skwan
>=20
>   -- I am Pentium of Borg.  Division is futile.  You will be approximated=
. --

Example numbers.  The Class A network 10 (10.*.*.*) is reserved by the IANA
for use by internal LANs and is not routable (unless your ISP is a fool).

What I'm saying here is "noreanme, not internal users", "rename, people from
my Intr-A-net."

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--VrqPEDrXMn8OVzN4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8rtnQ2nXFkJc83RAQHkTQMAiiHfQMGWMlgGOjXu4iDAVOl2cW+nfRcq
T1gSJFHlOCZJfSkZdDuCM4IofpxMCyDaG8RPzpkFQMeh7tEI11CzePumlqZu/rc1
twyYoRF7N6GvyrSt0Wb7Yeh5JeZRb6rl
=z784
-----END PGP SIGNATURE-----

--VrqPEDrXMn8OVzN4--

From owner-wu-ftpd@wugate.wustl.edu  Mon Aug 30 19:56:28 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA10480;
	Mon, 30 Aug 1999 19:56:27 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA05459;
	Mon, 30 Aug 1999 19:57:08 -0500 (CDT)
Received: from smtprtp1.ntcom.nortel.net (smtprtp1.ntcom.nortel.net [137.118.22.14])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA24010
	for <wu-ftpd@wugate.wustl.edu>; Mon, 30 Aug 1999 19:51:04 -0500 (CDT)
Received: from zrtpd004.us.nortel.com (actually nrtpd004) 
          by smtprtp1.ntcom.nortel.net; Mon, 30 Aug 1999 19:47:45 -0400
Received: by zrtpd004.us.nortel.com with Internet Mail Service (5.5.2448.0) 
          id <Q6137B07>; Mon, 30 Aug 1999 19:47:45 -0400
Message-Id: <F35D5CFDF93ED311A2CD0000F808AAD86CC294@zftzd001.ca.nortel.com>
Date: Mon, 30 Aug 1999 19:47:40 -0400
Reply-To: danhb@nortelnetworks.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Daniel Bissetsmith" <danhb@nortelnetworks.com>
To: WU-FTP posting address <wu-ftpd@wugate.wustl.edu>
Subject: special access / umask problem ... continued
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> We have two distinct user communities ... our clients and our employees.
>defumask only applies when there is no upload clause.  
>(thought the Howto said that .. doesn't it?)
I misunderstood it

>Looks like you have an upload with a directory mode 
>parameter of 050 specified.
I'm kind of new to this. Which document would I read about changing the
directory mode parameter?

Our server must be set up to allow our employees to post, but not to be able
to retrieve the files once dropped on the server. They can delete the files.
These files should only be retrievable to the clients.
In the same manner, the clients have to be able to drop files, but not be
able to retrieve these files once dropped on the server. These files should
only be retrievable to the employees.

What we did was to compile two ftp deamons. The employee group drops the
files in the client class, and these files are 'owned' by the clients who
can then retrieve them. Likewise the clients drop files in the employee
class, meaning only employees can retrieve them.

This was working well, as I mentioned in a previous posting, until version
2.4.2 vr 18. At this time, the umask of the system no longer was carried
over to directory creation. Instead, the directory is owned by the wrong
class for us. 

This meant that when an employee created a file, it now is created owned by
the client, as the files are. The employee cannot change directory into the
directory he has just created. Likewise the client.

There must be a was we can do this bi-polar kind of arrangement just using
the ftp access. I've read the howto's and they don't seem to cover this kind
of senario. Suggestions?

Dan

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 01:48:03 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id BAA01070;
	Tue, 31 Aug 1999 01:48:03 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA27346;
	Tue, 31 Aug 1999 01:47:18 -0500 (CDT)
Received: from leganes.uf-isf.es ([194.140.67.19])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA00518
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 01:38:15 -0500 (CDT)
Received: from sfpc0489 ([10.111.68.32])
	by leganes.uf-isf.es (8.9.1/8.9.1) with SMTP id IAA29715
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 08:33:46 -0100 (GMT)
Message-Id: <001c01bef37c$3c945180$20446f0a@sfpc0489>
Date: Tue, 31 Aug 1999 08:44:11 +0200
Reply-To: <csanchez@uf-isf.es>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "=?iso-8859-1?B?TaogQ2FybWVuIFPhbmNoZXo=?=" <csanchez@uf-isf.es>
To: <wu-ftpd@wugate.wustl.edu>
Subject: Get wu-ftpd-2.5.0
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

Where can I get the last version of wu-ftpd-2.5.0?
The last version I have  found is 2.4.2.

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 02:42:55 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id CAA01955;
	Tue, 31 Aug 1999 02:42:53 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA32702;
	Tue, 31 Aug 1999 02:43:39 -0500 (CDT)
Received: from aventurine.sge.net (aventurine.sge.net [152.91.14.25])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id CAA08309
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 02:33:19 -0500 (CDT)
Received: from cadmium.sge.net (cadmium.sge.net [152.91.9.5])
	by aventurine.sge.net (8.9.3/8.9.3) with ESMTP id RAA01308
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 17:33:12 +1000 (EST)
Received: (from uucp@localhost)
	by cadmium.sge.net (8.9.3/8.9.3) id RAA25429
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 17:33:11 +1000 (EST)
Received: from nodnsquery(10.1.2.11) by cadmium.sge.net via smap (V5.0)
	id xma025370; Tue, 31 Aug 99 17:33:04 +1000
Received: from amber (amber-int2.sge.net [10.1.2.254])
	by kryptonite.sge.net (8.9.3/8.9.3) with SMTP id RAA10175
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 17:33:03 +1000 (EST)
Message-Id: <37CB84B8.C2598261@sge.net>
Date: Tue, 31 Aug 1999 17:31:04 +1000
Reply-To: james.mcmahon@sge.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James McMahon <james.mcmahon@sge.net>
To: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Problems with home directories for guest users
References: <CD9C6234879B3DFE4A2567DA005A96BF.005A97BE4A2567DA@sge.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear all,

I have the following relevant entries in my ftpaccess file:

guestroot /data01
guestgroup guest

/data01/etc/password contains:

guest:x:10000:1001:Guest User:/guest:

/etc/passwd contains:

guest:x:10000:1001:Guest User:/data01/guest

/etc/group contains:

guest::1001:guest

My question is .... When I log in as guess I get chrooted to /data01 and my
initial directory is / (the chrooted /).  What I want is for my initial
directory to be /guest (chrooted), and if possible, restricted that
directory and it's subdirs.

Could anyone point out what changes I should make?

I assume that I will need to make use of the restricted gid command in
order to accomplish this, but am having no luck on my attempts so far.

Thanks in advance,

James

-- 
**************************************************************************
*     James McMahon                  *     When all else fails ...       *
*     Secure Gateway Environment     *     Read the destructions.        *
*     james.mcmahon@sge.net          *             -- (unknown)          *
**************************************************************************

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 03:17:06 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id DAA02402;
	Tue, 31 Aug 1999 03:17:05 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA22763;
	Tue, 31 Aug 1999 03:15:03 -0500 (CDT)
Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id DAA32027
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 03:10:38 -0500 (CDT)
Received: from ms.uab.ericsson.se (ms.uab.ericsson.se [134.138.44.44])
	by penguin.wise.edt.ericsson.se (8.9.3/8.9.3/WIREfire-1.3) with ESMTP id KAA07733
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:10:30 +0200 (MET DST)
Received: from uabs78c74.uab.ericsson.se (uabs78c74 [134.138.201.124])
	by ms.uab.ericsson.se (8.9.3/8.9.3/uab-1.37) with ESMTP id KAA10352
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:10:29 +0200 (MET DST)
Received: from uab.ericsson.se by uabs78c74.uab.ericsson.se (8.8.8/client-1.3uab2)
	id KAA16409; Tue, 31 Aug 1999 10:10:28 +0200 (MET DST)
Message-Id: <37CB8DEC.31E08ED7@uab.ericsson.se>
Date: Tue, 31 Aug 1999 10:10:20 +0200
Reply-To: Johan.Claesson@uab.ericsson.se
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Johan Claesson <Johan.Claesson@uab.ericsson.se>
To: wu-ftpd@wugate.wustl.edu
Subject: Re: Get wu-ftpd-2.5.0
References: <001c01bef37c$3c945180$20446f0a@sfpc0489>
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msBFA22D67BD96B01AF1A70F20"
X-Sender: Johan.Claesson@uab.ericsson.se
X-Mailer: Mozilla 4.61C-CCK-MCD  [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en-US, sv
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a cryptographically signed message in MIME format.

--------------msBFA22D67BD96B01AF1A70F20
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Mª Carmen Sánchez wrote:
> 
> Hi,
> 
> Where can I get the last version of wu-ftpd-2.5.0?
> The last version I have  found is 2.4.2.

-------- Original Message --------
Subject: WU-FTPD Mirrors
Date: Sun, 1 Aug 1999 10:04:04 -0400
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
To: WUFTPD Questions <wuftpd-questions@wu-ftpd.org>,WUFTPD Discussion
List <wu-ftpd@wugate.wustl.edu>,WUFTPD Announcements
<wuftpd-announce@wu-ftpd.org>,WUFTPD Announcements
<wu-ftpd-announce@wugate.wustl.edu>

The primary distribution site for the WU-FTPD daemon is:

  ftp://ftp.wu-ftpd.org/pub/wu-ftpd/

Mirrors are available at the following sites:

Australia
---------
    ftp://mirror.aarnet.edu.au/pub/wu-ftpd/
    http://mirror.aarnet.edu.au/pub/wu-ftpd/

Austria
-------
    ftp://gd.tuwien.ac.at/infosys/servers/ftp/wu-ftpd/
    http://gd.tuwien.ac.at/infosys/servers/ftp/wu-ftpd/

Canada
------
    ftp://ftp.crc.ca/pub/packages/ftp/servers/wuarchive-ftpd-vr/

Estonia
-------
    ftp://ftp.ut.ee/pub/unix/networking/wu-ftpd/

Hungary
-------
    ftp://ftp.ahol.com/pub/mirrors/wu-ftpd/
    ftp://ftp.kfki.hu/pub/infosystems/wu-ftpd/

Germany
-------
    ftp://ftp.dpn.de/pub/mirrors/wu-ftpd/

Israel
------
    ftp://ftp.tau.ac.il/pub/unix/ftp/wu-ftpd/

Japan
-----

    Ring Server Project
    -------------------
        ftp://ftp.ring.gr.jp/pub/net/wu-ftpd/
        http://www.ring.gr.jp/archives/net/wu-ftpd/

        ftp://ring.aist.go.jp/pub/net/wu-ftpd/
        http://ring.aist.go.jp/archives/net/wu-ftpd/

        ftp://ring.asahi-net.or.jp/pub/net/wu-ftpd/
        http://ring.asahi-net.or.jp/archives/net/wu-ftpd/

        ftp://ring.so-net.ne.jp/pub/net/wu-ftpd/
        http://ring.so-net.ne.jp/archives/net/wu-ftpd/

        ftp://ring.nacsis.ac.jp/pub/net/wu-ftpd/
        http://ring.nacsis.ac.jp/archives/net/wu-ftpd/

        ftp://ring.etl.go.jp/pub/net/wu-ftpd/
        http://ring.etl.go.jp/archives/net/wu-ftpd/

    Other Japan sites
    -----------------
    ftp://ftp.win.ne.jp/pub/network/wu-ftpd/

    ftp://mirror.nucba.ac.jp/mirror/wu-ftpd/
    http://mirror.nucba.ac.jp/mirror/wu-ftpd/

    ftp://ftp.cin.nihon-u.ac.jp/pub/net/ftp/wu-ftpd-vr/

    ftp://ftp.riken.go.jp/pub/net/wu-ftpd/

    http://SunSITE.sut.ac.jp/pub/archives/packages/wu-ftpd/
    ftp://SunSITE.sut.ac.jp/pub/archives/packages/wu-ftpd/

Norway
------
    ftp://ftp.bitcon.no/pub/unix/networking/wu-ftpd/
    http://archive.bitcon.no/pub/unix/networking/wu-ftpd/

Poland
------
    ftp://ftp.task.gda.pl/pub/unix/ftp/wu-ftpd-vr/

    ftp://giswitch.sggw.waw.pl/pub/unix/wu-ftpd/

Spain
-----
    ftp://ftp.upc.es/pub/wu-ftpd/

Sweden
------
    ftp://ftp.sunet.se/pub/nir/ftp/servers/wuarchive-ftpd/
    http://ftp.sunet.se/pub/nir/ftp/servers/wuarchive-ftpd/

Switzerland
-----------
    ftp://sunsite.cnlab-switch.ch/mirror/wu-ftpd/

Taiwan
------
    ftp://ftp.nchu.edu.tw/pub/packages/wu-ftpd/
    http://pds.nchu.edu.tw/pub/packages/wu-ftpd/

Turkey
------
    ftp://ftp.ulak.net.tr/pub/wu-ftpd/
    http://ftp.ulak.net.tr/pub/wu-ftpd/

United Kingdom
--------------
    ftp://sunsite.org.uk/Mirrors/ftp.vr.net/pub/wu-ftpd/
    http://sunsite.org.uk/Mirrors/ftp.vr.net/pub/wu-ftpd/

    ftp://ftp.ox.ac.uk/pub/comp/security/COAST/mirrors/ftp.vr.net/

United States
-------------

    New York
    --------
        ftp://ftp.academy.rpi.edu/pub/wu-ftpd/

    Ohio
    ----
        ftp://ftp.vr.net/pub/wu-ftpd/

    Texas
    -----
        ftp://ftp.landfield.com/wu-ftpd/wu-ftpd.org/
        http://www.landfield.com/wu-ftpd/wu-ftpd.org/

If you run a mirror and would like it listed above, send the URL to
wuftpd-members@wu-ftpd.org.  Unless your local policy requires it, there
is
no need to ask permission to mirror the primary distribution site.  We
do
like knowing who is mirroring, though.
--------------msBFA22D67BD96B01AF1A70F20
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIIAQYJKoZIhvcNAQcCoIIH8jCCB+4CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
Be4wggKtMIICFqADAgECAgMBQ04wDQYJKoZIhvcNAQEEBQAwgbkxCzAJBgNVBAYTAlpBMRUw
EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMRowGAYDVQQKExFU
aGF3dGUgQ29uc3VsdGluZzEpMCcGA1UECxMgVGhhd3RlIFBGIFJTQSBJSyAxOTk4LjkuMTYg
MTc6NTUxNjA0BgNVBAMTLVRoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBSU0EgSXNzdWVyIDE5
OTguOS4xNjAeFw05OTA4MjAwOTAyNDZaFw0wMDA4MTkwOTAyNDZaMFAxHzAdBgNVBAMTFlRo
YXd0ZSBGcmVlbWFpbCBNZW1iZXIxLTArBgkqhkiG9w0BCQEWHkpvaGFuLkNsYWVzc29uQHVh
Yi5lcmljc3Nvbi5zZTBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQCg3duPRZuWDB11mluIcP0B
i6hR5db7JK0ECyHjuyQTm4M4XJCz42fSkFb/PDYUjAze0JJInG3HdjvSumDkzcm5AgMBAAGj
bzBtMBEGCWCGSAGG+EIBAQQEAwIFoDApBgNVHREEIjAggR5Kb2hhbi5DbGFlc3NvbkB1YWIu
ZXJpY3Nzb24uc2UwDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAWgBT+PmCca4wPsNgzxsrGHliw
cTi14DANBgkqhkiG9w0BAQQFAAOBgQBDfrOcXEYGQ5FQUnw29kNZ9fkQ7uduJOrlZjtdYdRm
cZi1rz8j3rOIRmYRqHurLvPH/bSXf3duUlmzTLyk79OsAV/k85Il3SRbZVD75Qvqp712emKi
bRGSMug13kML9lo9TPuoVX88OyL3rHwerfl7xkUn5qXlA2cY+40uTb1YuzCCAzkwggKioAMC
AQICAQowDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJu
IENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcx
KDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1Ro
YXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJl
ZW1haWxAdGhhd3RlLmNvbTAeFw05ODA5MTYxNzU1MzRaFw0wMDA5MTUxNzU1MzRaMIG5MQsw
CQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRQwEgYDVQQHEwtEdXJiYW52aWxs
ZTEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKTAnBgNVBAsTIFRoYXd0ZSBQRiBSU0Eg
SUsgMTk5OC45LjE2IDE3OjU1MTYwNAYDVQQDEy1UaGF3dGUgUGVyc29uYWwgRnJlZW1haWwg
UlNBIElzc3VlciAxOTk4LjkuMTYwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSl5dTU
0F8IAu4HIX0kv6trjh7rIAcCFYRrj9CTJB8bne5osrksT+mTZxcQFx6h+UNBI7kwqnaXu/Pn
/YHAtTGL9qZQJlTylSjrGaQelx6w4ribwQSaMtA8CWxP5DVP8Ha/ABMDT0UIYPP8tNCQAYoS
yZy6f1LqKpM1Njw85DUvAgMBAAGjNzA1MBIGA1UdEwEB/wQIMAYBAf8CAQAwHwYDVR0jBBgw
FoAUcknCczTGVfQLdnKBfnf0h+fGsg4wDQYJKoZIhvcNAQEEBQADgYEALMeCHwFDPgeP7mlc
qWSC+MCWrZMry5tQ10CagcK6pnadPJVA3FXB4VWCeasKKabVDOFXKD6P+bvV3w2TWKpbLYuP
M+TdWBU1dnIVKb1C9FqSC3dfnSfbmi1OG4IGjtKNVruV3tsMZQXelZ4C3VMXvr78a8MaInoU
K2G9wp9eeloxggHbMIIB1wIBATCBwTCBuTELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rl
cm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0
aW5nMSkwJwYDVQQLEyBUaGF3dGUgUEYgUlNBIElLIDE5OTguOS4xNiAxNzo1NTE2MDQGA1UE
AxMtVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIFJTQSBJc3N1ZXIgMTk5OC45LjE2AgMBQ04w
CQYFKw4DAhoFAKCBsTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP
Fw05OTA4MzEwODEwMjNaMCMGCSqGSIb3DQEJBDEWBBRjKiOoTDwvobHiAMXqYlqFQyXhKTBS
BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMCBzAN
BggqhkiG9w0DAgIBQDANBggqhkiG9w0DAgIBKDANBgkqhkiG9w0BAQEFAARAMWuhl0wGhm7W
PdHB8VtrcN2mt9moP4z7VW0RhQvtxRT5aLtLrkO2crAoFOZMvWO4a5qBA3x7+NJNhejJsmJ/
9Q==
--------------msBFA22D67BD96B01AF1A70F20--


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 03:39:56 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id DAA02715;
	Tue, 31 Aug 1999 03:39:55 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA13998;
	Tue, 31 Aug 1999 03:40:39 -0500 (CDT)
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.4.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id DAA21565
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 03:32:58 -0500 (CDT)
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.160.3])
	by ecbull20.frec.bull.fr (8.9.2/8.9.1) with ESMTP id KAA68708
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:32:53 +0200
Received: from bull.net (localhost [127.0.0.1]) by lozere.frec.bull.fr (AIX4.2/UCB 8.7/8.7) with ESMTP id KAA110936 for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:32:52 +0200 (DFT)
Message-Id: <37CB9333.296C7A13@bull.net>
Date: Tue, 31 Aug 1999 10:32:51 +0200
Reply-To: Pascale.Martinez@bull.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pascale Martinez <Pascale.Martinez@bull.net>
To: wu-ftpd@wugate.wustl.edu
Subject: get & put commands
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: martinep@lozere.frec.bull.fr
X-Mailer: Mozilla 4.06 [en] (X11; I; AIX 4.2)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have installed wu-ftpd 2.5.0 on an AIX 4.3
the ftpaccess file is used but the commands "get", "put" 
don't work.
I receive the message:

ftp> get index.html
500 Illegal PORT Command

I can just use the cd and pwd command ... I don't understand why ?

Could someone help me ?

Thanks
-- 

+--------------------------------------------------------------+
|Pascale MARTINEZ- BULL SA - XS/BU - R&D Unix - Unix Factory   |   
+--------------------------------------------------------------+
| Address :     1 Rue de Provence, B.P. 208                    |
|               38432 Echirolles Cedex - FRANCE                |
| Mail :        FREC/B1-348                                    |
| Phone:        04 76 29 71 52 (33 4 76 29 71 52 from abroad)  |
| Fax  :        04 76 29 71 02 (33 4 76 29 71 02 from abroad)  |
| Bullcom:      229 7152                                       |
| Email:        mailto:Pascale.Martinez@bull.net               |
+--------------------------------------------------------------+

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 08:10:36 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA07728;
	Tue, 31 Aug 1999 08:10:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA19502;
	Tue, 31 Aug 1999 08:11:18 -0500 (CDT)
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA31710
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 08:06:41 -0500 (CDT)
Received: from canadamail2.Canada.Sun.COM ([129.155.5.101])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id GAA11573;
	Tue, 31 Aug 1999 06:06:38 -0700 (PDT)
Received: from opcom-mail.canada.sun.com (scot.Canada.Sun.COM [129.155.8.107])
	by canadamail2.Canada.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id JAA00747;
	Tue, 31 Aug 1999 09:06:34 -0400 (EDT)
Received: from glide.canada.sun.com (glide [129.155.8.230])
	by opcom-mail.canada.sun.com (8.9.1b+Sun/8.9.1) with ESMTP id JAA20274;
	Tue, 31 Aug 1999 09:06:35 -0400 (EDT)
Received: from glide (glide [129.155.8.230])
	by glide.canada.sun.com (8.8.8+Sun/8.8.8) with SMTP id JAA26606;
	Tue, 31 Aug 1999 09:03:33 -0400 (EDT)
Message-Id: <199908311303.JAA26606@glide.canada.sun.com>
Date: Tue, 31 Aug 1999 09:03:33 -0400 (EDT)
Reply-To: Gunter Vanasse -- Opcom ACE Web Engineer <gmax@scot.canada.sun.com>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gunter Vanasse -- Opcom ACE Web Engineer <gmax@scot.canada.sun.com>
To: james.mcmahon@sge.net
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Problems with home directories for guest users
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=ISO-8859-1
Content-MD5: ktLeXe4mMAYYJOXXY1z6UA==
Content-Transfer-Encoding: 8bit
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc 
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by wugate.wustl.edu id IAA20390
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


James,

I've used Michael Brennen's how-to setup a WU-FTP guest account
at ftp://ftp.fni.com/pub/wu-ftpd/guest-howto.

I now have individual "home directories" in which each WU-FTP guest
account is restricted to (and any directories created within it).

The issue I have is that, setting a chroot'd environment on Solaris
implies that I had to add libraries to get ls to run with '-l' option 
and the likes. Setting up guest accounts in this way, would require
to setup chrooted environments for each account to get the functionality
I want. Short of this, guests can still 'ls' (using the WU-FTP provided
'ls' function) as well as upload/download files to their directory.

I vaguely recall 'lofs' as a potential solution to setting up multiple 
chroot'd environments without duplicating all the files. I haven't
found information to explain how to set this up (anyone on the list?)

Günter.

> Date: Tue, 31 Aug 1999 17:31:04 +1000
> From: James McMahon <james.mcmahon@sge.net>
> To: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>
> Subject: Problems with home directories for guest users
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Accept-Language: en
> X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN
> 
> Dear all,
> 
> I have the following relevant entries in my ftpaccess file:
> 
> guestroot /data01
> guestgroup guest
> 
> /data01/etc/password contains:
> 
> guest:x:10000:1001:Guest User:/guest:
> 
> /etc/passwd contains:
> 
> guest:x:10000:1001:Guest User:/data01/guest
> 
> /etc/group contains:
> 
> guest::1001:guest
> 
> My question is .... When I log in as guess I get chrooted to /data01 and my
> initial directory is / (the chrooted /).  What I want is for my initial
> directory to be /guest (chrooted), and if possible, restricted that
> directory and it's subdirs.
> 
> Could anyone point out what changes I should make?
> 
> I assume that I will need to make use of the restricted gid command in
> order to accomplish this, but am having no luck on my attempts so far.
> 
> Thanks in advance,
> 
> James
> 
> -- 
> **************************************************************************
> *     James McMahon                  *     When all else fails ...       *
> *     Secure Gateway Environment     *     Read the destructions.        *
> *     james.mcmahon@sge.net          *             -- (unknown)          *
> **************************************************************************


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 08:24:23 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA08043;
	Tue, 31 Aug 1999 08:24:22 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA27752;
	Tue, 31 Aug 1999 08:23:59 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA20436
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 08:16:48 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA16231;
	Tue, 31 Aug 1999 09:15:05 -0400
Message-Id: <19990831091505.D15748@vr.net>
Date: Tue, 31 Aug 1999 09:15:05 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Daniel Bissetsmith <danhb@nortelnetworks.com>
Cc: WU-FTP posting address <wu-ftpd@wugate.wustl.edu>
Subject: Re: special access / umask problem ... continued
In-Reply-To: <F35D5CFDF93ED311A2CD0000F808AAD86CC294@zftzd001.ca.nortel.com>; from Daniel Bissetsmith on Mon, Aug 30, 1999 at 07:47:40PM -0400
References: <F35D5CFDF93ED311A2CD0000F808AAD86CC294@zftzd001.ca.nortel.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=c3bfwLpm8qysLVxt; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--c3bfwLpm8qysLVxt
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 1999 at 07:47:40PM -0400, Daniel Bissetsmith wrote:

> There must be a was we can do this bi-polar kind of arrangement just
> using the ftp access. I've read the howto's and they don't seem to cover
> this kind of senario. Suggestions?

RTFM.  The map page.  upload.configuration.HOWTO.

You need to be able to determine whather a user is an employee or not.
Require employees to be AT WORK when they are working, and use IP addresses
to classify them.  If you cannot use IP addresses to classify employees,
then wait for 2.6.0 (or use BeroFTPD in the interim) and use two IP
addresses for your server.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--c3bfwLpm8qysLVxt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8vHRQ2nXFkJc83RAQEH/gL/ThaZn4CyKStAi6Bs6M8b5U9bcQ+683Im
DXt3h7d12CCWSpKmpAI5vFVubs156faZs942wU3d0U31IcbXECphF+ezGe0x1l18
D/kaw3SCH/sXbB+ruC+aCdEjkMbSUIcc
=XEdo
-----END PGP SIGNATURE-----

--c3bfwLpm8qysLVxt--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 08:29:12 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA08170;
	Tue, 31 Aug 1999 08:29:11 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA21028;
	Tue, 31 Aug 1999 08:29:52 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA32275
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 08:21:12 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA16322;
	Tue, 31 Aug 1999 09:21:03 -0400
Message-Id: <19990831092101.F15748@vr.net>
Date: Tue, 31 Aug 1999 09:21:01 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: James McMahon <james.mcmahon@sge.net>
Cc: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Problems with home directories for guest users
In-Reply-To: <37CB84B8.C2598261@sge.net>; from James McMahon on Tue, Aug 31, 1999 at 05:31:04PM +1000
References: <CD9C6234879B3DFE4A2567DA005A96BF.005A97BE4A2567DA@sge.net> <37CB84B8.C2598261@sge.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=O98KdSgI27dgYlM5; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--O98KdSgI27dgYlM5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 05:31:04PM +1000, James McMahon wrote:

> Could anyone point out what changes I should make?

restricted-gid guest

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--O98KdSgI27dgYlM5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8vIqQ2nXFkJc83RAQEQMwL+PcZLNCURg8NmELDoTWLYyuG5jS8DD0D6
QKPH+LEOtZPo+6J/QZrpQxSbU3X4PWDkAdGIvzgWhwK3bQDpuBU3tZph8T5QZGQ9
6knlzKy2n/vu8PMYpqbYmTe3QsxwwL55
=8Qz6
-----END PGP SIGNATURE-----

--O98KdSgI27dgYlM5--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 08:36:38 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA08386;
	Tue, 31 Aug 1999 08:36:36 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA21006;
	Tue, 31 Aug 1999 08:37:23 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA02470
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 08:24:14 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id JAA16349;
	Tue, 31 Aug 1999 09:23:53 -0400
Message-Id: <19990831092351.G15748@vr.net>
Date: Tue, 31 Aug 1999 09:23:52 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Pascale Martinez <Pascale.Martinez@bull.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: get & put commands
In-Reply-To: <37CB9333.296C7A13@bull.net>; from Pascale Martinez on Tue, Aug 31, 1999 at 10:32:51AM +0200
References: <37CB9333.296C7A13@bull.net>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="ulDeV4rPMk/y39in"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--ulDeV4rPMk/y39in
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 10:32:51AM +0200, Pascale Martinez wrote:

> I have installed wu-ftpd 2.5.0 on an AIX 4.3
> the ftpaccess file is used but the commands "get", "put"=20
> don't work.
> I receive the message:
>=20
> ftp> get index.html
> 500 Illegal PORT Command
>=20
> I can just use the cd and pwd command ... I don't understand why ?

Nobody's reported a problem quite like this, so I'm guessing:

You're behind a firewall or NAT.  The IP addresses don't match up.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--ulDeV4rPMk/y39in
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8vJTw2nXFkJc83RAQEn8QL+Li+xrk3a350kty1jwhWBIBU+1IytDRT1
Wa75B85oPTf/3lN/1bNj0qBPvjVfTtQYIS07/4LhDQg93xSYm7ZT2dde8O7wHiuq
oV/JbuMPupkPpCWQy4q+0phRXRt3Njyr
=8rre
-----END PGP SIGNATURE-----

--ulDeV4rPMk/y39in--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 08:57:43 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id IAA08720;
	Tue, 31 Aug 1999 08:57:42 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA02876;
	Tue, 31 Aug 1999 08:58:14 -0500 (CDT)
Received: from e1.ny.us.ibm.com (e1.ny.us.ibm.com [32.97.182.101])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA29277
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 08:54:08 -0500 (CDT)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.117.200.22])
	by e1.ny.us.ibm.com (8.9.3/8.9.3) with ESMTP id JAA214732;
	Tue, 31 Aug 1999 09:53:36 -0400
Received: from D51MTA05.pok.ibm.com (d51mta05.pok.ibm.com [9.117.200.33])
	by northrelay02.pok.ibm.com (8.8.8m2/NCO v2.04) with SMTP id JAA165920;
	Tue, 31 Aug 1999 09:54:00 -0400
Received: by D51MTA05.pok.ibm.com(Lotus SMTP MTA v4.6.4  (830.2 3-23-1999))  id 852567DE.004C59B2 ; Tue, 31 Aug 1999 09:53:56 -0400
Message-Id: <852567DE.004C56D3.00@D51MTA05.pok.ibm.com>
Date: Tue, 31 Aug 1999 09:52:46 -0400
Reply-To: edgy@us.ibm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: edgy@us.ibm.com
To: Pascale Martinez <Pascale.Martinez@bull.net>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: get & put commands
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Lotus-FromDomain: IBMUS
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello there,

     I spent some time figuring this out the first time I got this problem.
In /etc/inetd.conf make sure the protocol is tcp not tcp6. AIX v4.3.X uses
IPv6/4 compatible versions of the daemons. You entries in inetd.conf
should look something like this:

ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd         ftpd -a
#ftp     stream  tcp6    nowait  root    /usr/sbin/ftpd         ftpd

I think I have seen this in the FAQ some where.. Not sure I'll have to look.

EdGy


On Tue, Aug 31, 1999 at 10:32:51AM +0200, Pascale Martinez wrote:

> I have installed wu-ftpd 2.5.0 on an AIX 4.3
> the ftpaccess file is used but the commands "get", "put"
> don't work.
> I receive the message:
>
> ftp> get index.html
> 500 Illegal PORT Command
>
> I can just use the cd and pwd command ... I don't understand why ?




From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 09:15:25 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA08964;
	Tue, 31 Aug 1999 09:15:24 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA25722;
	Tue, 31 Aug 1999 09:16:03 -0500 (CDT)
Received: from ecbull20.frec.bull.fr (ecbull20.frec.bull.fr [129.183.4.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA28407
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 09:12:56 -0500 (CDT)
Received: from lozere.frec.bull.fr (lozere.frec.bull.fr [129.183.160.3])
	by ecbull20.frec.bull.fr (8.9.2/8.9.1) with ESMTP id QAA38800;
	Tue, 31 Aug 1999 16:12:35 +0200
Received: from bull.net (localhost [127.0.0.1]) by lozere.frec.bull.fr (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA138274; Tue, 31 Aug 1999 16:12:32 +0200 (DFT)
Message-Id: <37CBE2CF.9159CBB7@bull.net>
Date: Tue, 31 Aug 1999 16:12:31 +0200
Reply-To: Pascale.Martinez@bull.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Pascale Martinez <Pascale.Martinez@bull.net>
To: edgy@us.ibm.com
Cc: wu-ftpd@wugate.wustl.edu, Gregory A Lundberg <lundberg@wu-ftpd.org>
Subject: Re: get & put commands
References: <852567DE.004C56D3.00@D51MTA05.pok.ibm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: martinep@lozere.frec.bull.fr
X-Mailer: Mozilla 4.06 [en] (X11; I; AIX 4.2)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Thanks a lot . Your solution works very well
I was surprised because I have upgraded my system from AIX 4.1 and in
this version
of AIX I didn't had this problem !


Pascale


edgy@us.ibm.com wrote:
> 
> Hello there,
> 
>      I spent some time figuring this out the first time I got this problem.
> In /etc/inetd.conf make sure the protocol is tcp not tcp6. AIX v4.3.X uses
> IPv6/4 compatible versions of the daemons. You entries in inetd.conf
> should look something like this:
> 
> ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd         ftpd -a
> #ftp     stream  tcp6    nowait  root    /usr/sbin/ftpd         ftpd
> 
> I think I have seen this in the FAQ some where.. Not sure I'll have to look.
> 
> EdGy
> 
> On Tue, Aug 31, 1999 at 10:32:51AM +0200, Pascale Martinez wrote:
> 
> > I have installed wu-ftpd 2.5.0 on an AIX 4.3
> > the ftpaccess file is used but the commands "get", "put"
> > don't work.
> > I receive the message:
> >
> > ftp> get index.html
> > 500 Illegal PORT Command
> >
> > I can just use the cd and pwd command ... I don't understand why ?

-- 

+--------------------------------------------------------------+
|Pascale MARTINEZ- BULL SA - XS/BU - R&D Unix - Unix Factory   |   
+--------------------------------------------------------------+
| Address :     1 Rue de Provence, B.P. 208                    |
|               38432 Echirolles Cedex - FRANCE                |
| Mail :        FREC/B1-348                                    |
| Phone:        04 76 29 71 52 (33 4 76 29 71 52 from abroad)  |
| Fax  :        04 76 29 71 02 (33 4 76 29 71 02 from abroad)  |
| Bullcom:      229 7152                                       |
| Email:        mailto:Pascale.Martinez@bull.net               |
+--------------------------------------------------------------+

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 09:36:36 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA09415;
	Tue, 31 Aug 1999 09:36:35 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA26516;
	Tue, 31 Aug 1999 09:37:14 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA20862
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 09:32:25 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id KAA04206;
	Tue, 31 Aug 1999 10:31:15 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0MBPB>; Tue, 31 Aug 1999 10:30:26 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B3@saturn.fundserv.com>
Date: Tue, 31 Aug 1999 10:30:25 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@vr.net>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: <<425 Can't create data socket (142.148.10.35,20): Address alread
	y in use.>>  &&& ftpaccess file
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am getting constantly this error message:
 
<<425 Can't create data socket (142.148.10.35,20): Address already in use.>>

I am fighting with it for few months by upgrading FTP to the newer version
and changing control files but nothing helps.
Lately I think that because ftpaccess is not started I am getting into this
problem
We do have one machine on which 'DATA Sockect' error never occurs.  Nothing
is really different except server starts with ftpaccess.

Any hints for me?


This is the output of 
strings /usr/sbin/in.ftpd | grep ftpaccess
 

FTP server started without ftpaccess file
FTP server (%s) ready.
Cannot create socket to listen on: %m
Cannot set SO_REUSEADDR option: %m
Cannot find service ftp: %m
Cannot bind socket: %m
accepting connections on port %i
Accept failed: %m
failed to fork: %m
MDTM
SIZE
STOU
XCUP
(change to parent directory)
CDUP
XPWD
(return current directory)
XRMD
XMKD
<sp> path-name
NOOP
[ <sp> <string> ]
HELP
STAT
(get type of operating system)
SYST
site-cmd [ <sp> arguments ]
SITE
NLST
[ <sp> path-name ]
LIST
XCWD
[ <sp> directory-name ]
DELE
(abort operation)
ABOR
RNTO
RNFR
(restart command)
REST
allocate storage (vacuously)
ALLO
(mail recipient)
MRCP
(mail recipient scheme question)
MRSQ
(mail send to terminal and mailbox)
MSAM
(mail send to terminal or mailbox)
MSOM
(mail send to terminal)
MSND
(mail to user)
MAIL
(mail file)
MLFL
APPE
STOR
<sp> file-name
RETR
(specify transfer mode)
MODE
(specify file structure)
STRU
<sp> [ A | E | I | L ]
TYPE
(set server in passive mode)
PASV
<sp> b0, b1, b2, b3, b4, b5
PORT
(terminate service)
QUIT
(reinitialize server state)
REIN
(structure mount)
SMNT
(specify account)
ACCT
<sp> password
PASS
<sp> username
USER
[ <sp> file-name ]
CHECKSUM
[ <sp> method ]
CHECKMETHOD
GROUPS
[ <sp> ] 
CDPATH
[ <sp> alias ] 
ALIAS
<sp> command [ <sp> arguments ]
EXEC
<sp> pattern
INDEX
MINFO
<sp> YYYYMMDDHHMMSS [ <sp> path-name ]
NEWER
<sp> access-password
GPASS
<sp> access-group
GROUP
<sp> mode <sp> file-name
CHMOD
[ <sp> maximum-idle-time ]
IDLE
[ <sp> umask ]
UMASK
PASS password
command: %s
%c%c%c
Timeout (%d seconds): closing control connection.
User %s timed out after %d seconds at %.24s
unknown
Time limit reached.  Goodbye.
Server shutting down.  Goodbye.
%s: IDLE
You could at least say goodbye.
SITE GPASS
%s: %s
Unknown state in scanner.
'%s': command not understood.
Please login with USER and PASS.
Ran out of memory.
SITE 
The following %scommands are recognized %s.
(* =>'s unimplemented)
%s%c
email
Direct comments to %s.
Direct comments to ftp-bugs@%s.
Unknown command %s.
Syntax: %s%s %s
%s%-*s
%s; unimplemented.
%s: not a plain file.
SIZE not implemented for Type %c.
?AEIL
/bin/ftp-exec
%s/%s
SITE EXEC (FAIL: %m): %s
site-exec-max-lines
*** Truncated ***
 (end of '%s')
SITE EXEC (lines: %d): %s
alias
%s is an alias for %s.
Unknown alias %s.
The following aliases are available.
   %-8s %s
The cdpath is:
cdpath
  %s
Group membership is:
  %d
yacc stack overflow
syntax error
USER %s
PASS %s
PASS password
PORT command successful.
refused PORT %s,%d from %s
Illegal PORT Command
TYPE %s
Type set to A.
Form must be N.
Type E not implemented.
Type set to I.
Type set to L (byte size 8).
Byte size must be 8.
STRU %s
STRU F ok.
Unimplemented STRU type.
MODE %s
MODE S ok.
Unimplemented MODE type.
ALLO %d
ALLO command ignored.
ALLO %d R %d
RETR %s
(null)
STOR %s
APPE %s
NLST %s
LIST %s
STAT %s
DELE %s
RNTO %s
Bad sequence of commands.
ABOR command successful.
CWD %s
HELP %s
NOOP command successful.
MKD %s
RMD %s
SITE HELP
SITE HELP %s
SITE UMASK
Current UMASK is %03o
SITE UMASK %03o
umask
Bad UMASK value
UMASK set to %03o (was %03o)
Permission denied. (umask)
SITE CHMOD %03o %s
chmod
CHMOD: Mode value must be between 0 and 0777
%s of %s changed permissions for %s
CHMOD command successful.
Permission denied. (chmod)
SITE IDLE
Current IDLE time limit is %d seconds; max %d
SITE IDLE %d
Maximum IDLE time must be between 30 and %d seconds
Maximum IDLE time set to %d seconds
SITE GROUP %s
SITE GPASS password
SITE NEWER %s
SITE NEWER %s %s
SITE MINFO %s
SITE MINFO %s %s
index %s
STOU %s
UNIX Type: L%d
SIZE %s
MDTM %s
%04d%02d%02d%02d%02d%02d
You have transferred %d bytes in %d files.
Total traffic for this session was %d bytes in %d transfers.
Thank you for using the FTP service on %s.
Goodbye.
RNFR %s
REST %d
Restarting at %ld. %s
Send STORE or RETRIEVE to initiate transfer.
SITE ALIAS
SITE ALIAS %s
SITE GROUPS
SITE CDPATH
SITE CHECKMETHOD %s
SITE CHECKMETHOD
SITE CHECKSUM %s
SITE CHECKSUM
cmd failure - not logged in
`{[*?
../*/..
Arguments too long
Unknown user name after ~
Bad directory components
Pathname too long
Out of memory
/var/adm/wtmpx
wtmpx %s %m
/var/adm/wtmp
wtmp %s %m
/dev/null
%d-%d
%d.%d.%d.%d/%d
%d.%d.%d.%d
%d.%d.%d.%d:%d.%d.%d.%d
%d.%d.%d.*
%d.%d.*.*
%d.*.*.*
cannot open addrglob file %s: %s
guestuser
guestgroup
realuser
realgroup
autogroup
autogroup: set group %s not found
loginfails
private
/usr/local/etc/ftpgroups
compress
commands
anonymous
guest
real
transfers
inbound
outbound
security
syslog
class
limit
nice
defumask
tcpwindow
file-limit
total
data-limit
deny
!nameserved
/var/adm/ftp.pids-%s
cannot open pid file %s: %s
sleeping: fcntl lock of pid file failed: %s
/usr/local/etc/ftpaccess
shutdown
ACCESS DENIED (error reading access file) TO %s
ACCESS DENIED (deny command) TO %s
ACCESS DENIED (not in any class) TO %s
Process nice value adjusted by %d
ACCESS DENIED (user limit %d; class %s) TO %s
%s %d %d %s
email
unlimited
[unknown]
banner
message
login
cwd=
readme
Please read the file %s
  it was last modified on %.24s - %d day%s ago
This is a BINARY file, using ASCII mode to transfer will corrupt it.
%d %d %d %d %d %d %d
%04d%02d%02d%02d%02d%02d
file list
Data connection
Transfer complete.
Bad DATE format
anonymous
guest
real
class=
upload
absolute
relative
calloc error in expand_id
path-filter
REGEX error
%s: Permission denied. (Filename (accept))
%s: Permission denied. (Filename (deny))
Could not determine cwdir
Could not determine pwdir
%s: Permission denied. (Upload dirs)
nodirs
dirs
%s: Permission denied. (Upload)
delete
%s: Permission denied. (Delete)
allow-retrieve
noretrieve
%s is marked unretrievable
throughput
%.0f
malloc error in throughput_adjust
rfc1321
posix
Unrecognized checksum method
Checksum method is now: MD5 (RFC1321)
Checksum method is now: CRC (POSIX)
Current checksum method: MD5 (RFC1321)
Current checksum method: CRC (POSIX)
%s: not a plain file.
/bin/md5sum
/bin/cksum
Pathname too long
%s %s
Nothing transferred yet
$Id: acl.c,v 1.9 1998/07/06 09:13:57 sob BETA-18 sob $
calloc error parsing acl
Too many args (>%d) in ftpaccess: %s %s %s %s %s ...
cannot open access file %s: %s
cannot fstat access file %s: %s
could not malloc aclbuf (%d bytes)
error reading acl file %s: %s
calloc error in parsepriv
cannot open private access file %s: %s
cannot fstat private access file %s: %s
could not malloc passbuf (%d bytes)
error reading private access file %s: %s
Request for access to group %s accepted.
Illegal group name
Give group name with SITE GROUP first.
Group access request incorrect.
repeated group access failures from %s, group %s
Group access enabled.
O_TAR
O_UNCOMPRESS
O_COMPRESS
T_DIR
T_ASCII
T_REG
cannot open conversion file %s: %s
cannot fstat conversion file %s: %s
could not malloc convbuf (%d bytes)
error reading conv file %s: %s
calloc error parsing ftpconversions
/usr/local/etc/ftpconversions
rhost_ok: sethacc failed
anonymous
rhost_ok: endhacc failed
/usr/local/etc/ftphosts
Can't open host access file
malloc error in sethacc
Failed to realloc host access array
deny
allow
Format error in host access file
Line too long
host_access: %s
$Id: sigfix.c,v 1.7 1998/07/06 09:13:57 sob BETA-18 sob $
ERROR allocating memory for index record
Local resource failure: malloc
ERROR allocating memory for port addresses
ERROR allocating memory for vector index
0.0.0.0
ERROR allocating memory for port index
ERROR port index addition, invalid ptr
ERROR ftpaccess port entry<%s> too large
ERROR ftpaccess port entry<%s> invalid
ERROR bad slot count  for port index record
ERROR vector index addition, invalid ptr
ERROR ftpaccess passive entry <%s> to large
ERROR ftpaccess vector entry<%s> to large
ERROR ftpaccess vector entry<%s> invalid
ERROR bad slot count  for passive vectors index record
passive
ports
address
Permission denied.  You are restricted to your account.
Permission denied.  Out of memory.
X-Forgery-By: %s
X-Auth-User: %s
%u , %u
%hd,%hd: USERID :%*[^:]:%400s
@(#) Copyright (c) 1985, 1988, 1990 Regents of the University of California.
 All rights reserved.
@(#)$Id: ftpd.c,v 1.38 1998/07/06 09:13:57 sob BETA-18 sob $ based on ftpd.c
5.40 (Berkeley) 7/2/91
@(#)$Id: ftpcmd.y,v 1.17 1998/07/06 09:13:57 sob BETA-18 sob $ based on
ftpcmd.y    5.24 (Berkeley) 2/25/91
@(#)$Id: glob.c,v 1.13 1998/07/06 09:13:57 sob BETA-18 sob $ from glob.c 5.9
(Berkeley) 2/25/91
@(#)logwtmp.c   5.7 (Berkeley) 2/25/91
@(#)$Id: logwtmp.c,v 1.14 1998/07/06 09:13:57 sob BETA-18 sob $
@(#)$Id: popen.c,v 1.15 1998/07/06 09:13:57 sob BETA-18 sob $
Version wu-2.4.2-academ[BETA-18-VR15](1) Tue Jun 8 12:48:12 EDT 1999
@(#)$Id: access.c,v 1.16 1998/07/06 09:13:57 sob BETA-18 sob $
@(#)$Id: extensions.c,v 1.24 1998/07/06 09:13:57 sob BETA-18 sob $
@(#)$Id: private.c,v 1.13 1998/07/06 09:13:57 sob BETA-18 sob $
@(#)$Id: authenticate.c,v 1.8 1998/07/06 09:13:57 sob BETA-18 sob $
$Id: conversions.c,v 1.8 1998/07/06 09:13:57 sob BETA-18 sob $
;0@(#)$Id: $

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 09:42:55 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id JAA09571;
	Tue, 31 Aug 1999 09:42:54 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA29698;
	Tue, 31 Aug 1999 09:43:39 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA31356
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 09:38:20 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id KAA07611;
	Tue, 31 Aug 1999 10:37:08 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0MBXY>; Tue, 31 Aug 1999 10:36:19 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B4@saturn.fundserv.com>
Date: Tue, 31 Aug 1999 10:36:18 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'edgy@us.ibm.com'" <edgy@us.ibm.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: in.ftpd -a
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Isn't it  in.ftpd -a ?
I thought the standard UNIX implementation of FtP server binary should be
represented as in.ftpd. -a?

Please advise.

my string looks like this:
ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd   in.ftpd -a


> -----Original Message-----
> From: Pascale Martinez [mailto:Pascale.Martinez@bull.net]
> Sent: Tuesday, August 31, 1999 10:13 AM
> To: edgy@us.ibm.com
> Cc: wu-ftpd@wugate.wustl.edu; Gregory A Lundberg
> Subject: Re: get & put commands
> 
> 
> Thanks a lot . Your solution works very well
> I was surprised because I have upgraded my system from AIX 4.1 and in
> this version
> of AIX I didn't had this problem !
> 
> 
> Pascale
> 
> 
> edgy@us.ibm.com wrote:
> > 
> > Hello there,
> > 
> >      I spent some time figuring this out the first time I 
> got this problem.
> > In /etc/inetd.conf make sure the protocol is tcp not tcp6. 
> AIX v4.3.X uses
> > IPv6/4 compatible versions of the daemons. You entries in inetd.conf
> > should look something like this:
> > 
> > ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd    
>      ftpd -a
> > #ftp     stream  tcp6    nowait  root    /usr/sbin/ftpd         ftpd
> > 
> > I think I have seen this in the FAQ some where.. Not sure 
> I'll have to look.
> > 
> > EdGy
> > 
> > On Tue, Aug 31, 1999 at 10:32:51AM +0200, Pascale Martinez wrote:
> > 
> > > I have installed wu-ftpd 2.5.0 on an AIX 4.3
> > > the ftpaccess file is used but the commands "get", "put"
> > > don't work.
> > > I receive the message:
> > >
> > > ftp> get index.html
> > > 500 Illegal PORT Command
> > >
> > > I can just use the cd and pwd command ... I don't understand why ?
> 
> -- 
> 
> +--------------------------------------------------------------+
> |Pascale MARTINEZ- BULL SA - XS/BU - R&D Unix - Unix Factory   |   
> +--------------------------------------------------------------+
> | Address :     1 Rue de Provence, B.P. 208                    |
> |               38432 Echirolles Cedex - FRANCE                |
> | Mail :        FREC/B1-348                                    |
> | Phone:        04 76 29 71 52 (33 4 76 29 71 52 from abroad)  |
> | Fax  :        04 76 29 71 02 (33 4 76 29 71 02 from abroad)  |
> | Bullcom:      229 7152                                       |
> | Email:        mailto:Pascale.Martinez@bull.net               |
> +--------------------------------------------------------------+
> 

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:09:01 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA10075;
	Tue, 31 Aug 1999 10:09:00 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA20188;
	Tue, 31 Aug 1999 10:09:39 -0500 (CDT)
Received: from e1.ny.us.ibm.com (e1.ny.us.ibm.com [32.97.182.101])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA13077
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:03:10 -0500 (CDT)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.117.200.22])
	by e1.ny.us.ibm.com (8.9.3/8.9.3) with ESMTP id LAA268128;
	Tue, 31 Aug 1999 11:01:05 -0400
Received: from D51MTA05.pok.ibm.com (d51mta05.pok.ibm.com [9.117.200.33])
	by northrelay02.pok.ibm.com (8.8.8m2/NCO v2.04) with SMTP id LAA130830;
	Tue, 31 Aug 1999 11:01:22 -0400
Received: by D51MTA05.pok.ibm.com(Lotus SMTP MTA v4.6.4  (830.2 3-23-1999))  id 852567DE.005283C7 ; Tue, 31 Aug 1999 11:01:16 -0400
Message-Id: <852567DE.005281F2.00@D51MTA05.pok.ibm.com>
Date: Tue, 31 Aug 1999 10:54:51 -0400
Reply-To: edgy@us.ibm.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: edgy@us.ibm.com
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: in.ftpd -a
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Lotus-FromDomain: IBMUS
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Yep, I missed that. that is the problem when you cut and paste
from the system supplied line. You end up missing something. Either
way(in.ftpd -a or ftpd -a) worked but I would use in.ftpd -a to
be correct.


ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd in.ftpd -a
#ftp     stream  tcp6    nowait  root    /usr/sbin/ftpd  ftpd



Thanx for correcting that error.

EdGy


Magdalena Hewryk <Magdalena.Hewryk@FundServ.com> on 08/31/99 10:36:18 AM

To:   Edward Geraghty/Somers/IBM@IBMUS
cc:   "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject:  in.ftpd -a





Isn't it  in.ftpd -a ?
I thought the standard UNIX implementation of FtP server binary should be
represented as in.ftpd. -a?

Please advise.

my string looks like this:
ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd   in.ftpd -a


> -----Original Message-----
> From: Pascale Martinez [mailto:Pascale.Martinez@bull.net]
> Sent: Tuesday, August 31, 1999 10:13 AM
> To: edgy@us.ibm.com
> Cc: wu-ftpd@wugate.wustl.edu; Gregory A Lundberg
> Subject: Re: get & put commands
>
>
> Thanks a lot . Your solution works very well
> I was surprised because I have upgraded my system from AIX 4.1 and in
> this version
> of AIX I didn't had this problem !
>
>
> Pascale
>
>
> edgy@us.ibm.com wrote:
> >
> > Hello there,
> >
> >      I spent some time figuring this out the first time I
> got this problem.
> > In /etc/inetd.conf make sure the protocol is tcp not tcp6.
> AIX v4.3.X uses
> > IPv6/4 compatible versions of the daemons. You entries in inetd.conf
> > should look something like this:
> >
> > ftp     stream  tcp    nowait  root    /usr/sbin/in.ftpd
>      ftpd -a
> > #ftp     stream  tcp6    nowait  root    /usr/sbin/ftpd         ftpd
> >
> > I think I have seen this in the FAQ some where.. Not sure
> I'll have to look.
> >
> > EdGy
> >
> > On Tue, Aug 31, 1999 at 10:32:51AM +0200, Pascale Martinez wrote:
> >
> > > I have installed wu-ftpd 2.5.0 on an AIX 4.3
> > > the ftpaccess file is used but the commands "get", "put"
> > > don't work.
> > > I receive the message:
> > >
> > > ftp> get index.html
> > > 500 Illegal PORT Command
> > >
> > > I can just use the cd and pwd command ... I don't understand why ?
>
> --
>
> +--------------------------------------------------------------+
> |Pascale MARTINEZ- BULL SA - XS/BU - R&D Unix - Unix Factory   |
> +--------------------------------------------------------------+
> | Address :     1 Rue de Provence, B.P. 208                    |
> |               38432 Echirolles Cedex - FRANCE                |
> | Mail :        FREC/B1-348                                    |
> | Phone:        04 76 29 71 52 (33 4 76 29 71 52 from abroad)  |
> | Fax  :        04 76 29 71 02 (33 4 76 29 71 02 from abroad)  |
> | Bullcom:      229 7152                                       |
> | Email:        mailto:Pascale.Martinez@bull.net               |
> +--------------------------------------------------------------+
>




From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:15:26 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA10211;
	Tue, 31 Aug 1999 10:15:25 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA22865;
	Tue, 31 Aug 1999 10:15:59 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA00497
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:09:46 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id LAA17351;
	Tue, 31 Aug 1999 11:09:43 -0400
Message-Id: <19990831110942.E17017@vr.net>
Date: Tue, 31 Aug 1999 11:09:43 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: <<425 Can't create data socket (142.148.10.35,20): Address alread y in use.>>  &&& ftpaccess file
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B3@saturn.fundserv.com>; from Magdalena Hewryk on Tue, Aug 31, 1999 at 10:30:25AM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B3@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="SWTRyWv/ijrBap1m"; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--SWTRyWv/ijrBap1m
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 10:30:25AM -0400, Magdalena Hewryk wrote:

> <<425 Can't create data socket (142.148.10.35,20): Address already in use=
.>>

Upgrade to 2.5.0

ISTM there was a problem in the daemon (I don't _think_ it was a VR-only
problem, but it might have been) .. the PASV port was binding to the wrong
IP Address.

This looks like a data port .. but maybe it's the same problem.

I'd also look for missing vendor patches, or a bad kernel gen (ie., I can
cause this by not enabling some features in Linux).

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--SWTRyWv/ijrBap1m
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8viIw2nXFkJc83RAQHuqAL9E1HTPpg9YyzLp+tZg5g/5Ws5o7nV1ttD
Gm6aU/Eqi8QBVpCKri9imHc22Up1qXxBBg2/GBTE9i6wimYbbDBCnRl16rNCkfpZ
w34tWilkYTd5OdBVuAeaVmZoKh0q0dRr
=2mBW
-----END PGP SIGNATURE-----

--SWTRyWv/ijrBap1m--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:29:45 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA10513;
	Tue, 31 Aug 1999 10:29:44 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA25479;
	Tue, 31 Aug 1999 10:29:56 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA28872
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:21:04 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id LAA17507;
	Tue, 31 Aug 1999 11:21:00 -0400
Message-Id: <19990831112059.A17456@vr.net>
Date: Tue, 31 Aug 1999 11:20:59 -0400
Reply-To: lundberg+wuftpd@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: <<425 Can't create data socket (142.148.10.35,20): Address alread y in use.>>  &&& ftpaccess file
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B3@saturn.fundserv.com>; from Magdalena Hewryk on Tue, Aug 31, 1999 at 10:30:25AM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B3@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, Aug 31, 1999 at 10:30:25AM -0400, Magdalena Hewryk wrote:

> I am getting constantly this error message:
>  
> <<425 Can't create data socket (142.148.10.35,20): Address already in use.>>

If you're looking for vendor patches, use the keyword SO_REUSEADDR which is
the name of the socket option which enables address/port reuse.  If it's
broken, not present, or denied by some security feature, the daemon won't
be able to do PORT-mode data transfers.

-- 

Gregory A Lundberg              Senior Partner, VRnet Company
1441 Elmdale Drive              lundberg@vr.net
Kettering, OH 45409-1615 USA    1-800-809-2195

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:41:58 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA10823;
	Tue, 31 Aug 1999 10:41:58 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA07674;
	Tue, 31 Aug 1999 10:42:43 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA29302
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:40:26 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id LAA10139;
	Tue, 31 Aug 1999 11:39:24 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0MCWV>; Tue, 31 Aug 1999 11:38:35 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B7@saturn.fundserv.com>
Date: Tue, 31 Aug 1999 11:38:34 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg@vr.net>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: 421 Service not available, remote server has closed connection
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On one machine the last command shows that ftp user is logged on to the
system...
#last
ftp       ftp          localhost        Tue Aug 31 00:14   still logged in
 
 
 Since then ftp server is closed:
# ftp 0
Connected to 0.
421 Service not available, remote server has closed connection
ftp> 

ps -ef | grep ftp shows none of processes.

Any hints how to get server back up and running?
I restarted /usr/sbin/inetd but nothing has been changed.

Regards,
Magda




From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:48:23 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA10954;
	Tue, 31 Aug 1999 10:48:22 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA20972;
	Tue, 31 Aug 1999 10:49:01 -0500 (CDT)
Received: from wukon.appliedtheory.com (root@wukon.appliedtheory.com [204.168.18.26])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA02806
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:43:36 -0500 (CDT)
Received: from wukon.appliedtheory.com (IDENT:jreed@localhost [127.0.0.1])
	by wukon.appliedtheory.com (8.9.1/8.9.1) with ESMTP id LAA00975
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 11:43:35 -0400
Message-Id: <199908311543.LAA00975@wukon.appliedtheory.com>
Date: Tue, 31 Aug 1999 11:43:34 -0400
Reply-To: jreed@wukon.appliedtheory.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: jreed@wukon.appliedtheory.com
To: wu-ftpd@wugate.wustl.edu
Subject: Revised query - diff. guest groups with diff access??
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: exmh version 2.0.2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I asked how to set up 2 guest groups with diff. access, so one group could use
rename, and the other not. I got one useful response from Gregory Lundberg,
setting up different classes. Problem is, I neglected to mention that the
members of these groups come in from all over the country, so there's no
good way to isolate them based on IPs. Is there a way to assign members to
a class or group based on their userids??????

Thanks!


-- 
Judith Reed
jreed@appliedtheory.com
(315) 453-2912 x335



From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:52:03 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA11058;
	Tue, 31 Aug 1999 10:52:02 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA21183;
	Tue, 31 Aug 1999 10:52:40 -0500 (CDT)
Received: from ghtmail.cr.usgs.gov (root@gldmutt.cr.usgs.gov [136.177.30.58])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA16238
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:45:11 -0500 (CDT)
Received: from gldbrockman2 (gldbrockman2 [136.177.30.78])
	by ghtmail.cr.usgs.gov (8.9.2/8.9.2) with SMTP id JAA04153
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 09:45:06 -0600 (MDT)
Message-Id: <199908311545.JAA04153@ghtmail.cr.usgs.gov>
Date: Tue, 31 Aug 1999 09:45:06 -0600 (MDT)
Reply-To: Stan Brockman <brockman@gldmutt.cr.usgs.gov>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Stan Brockman <brockman@gldmutt.cr.usgs.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: aliasing the host name
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: LUHNZXbbaZITpf+pjxkLDg==
X-Mailer: dtmail 1.3.0 CDE Version 1.3 SunOS 5.7 sun4m sparc 
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'd like for the wu-ftpd server to show an alias hostname of the
machine it is running on rather than to display the actual host
name of the machine itself.  Eg., at connect time, it should say,

"220 MyFtpSrvr FTP server ready." instead of
"220 MyHstName FTP server ready."

Ditto at disconnect,
"221-Thank you for using the FTP service on MyFtpSrvr." instead 
of
"221-Thank you for using the FTP service on MyHstName."

I cannot find a way do that via the configuration scripts.  Must
I set up a virtual server to accomplish my goal?  I'd rather not
hack the code in ftpd.c and ftpcmd.c..., perhaps other places.

Thanks  --Stan

Stan Brockman, Computer Specialist    303-273-8560 Voice
US Geological Survey                  303-273-8600 Fax
Denver CO 80225                       brockman@usgs.gov


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 10:56:14 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id KAA11182;
	Tue, 31 Aug 1999 10:56:13 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA23151;
	Tue, 31 Aug 1999 10:56:33 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA27623
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:47:52 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id LAA17814;
	Tue, 31 Aug 1999 11:47:47 -0400
Message-Id: <19990831114746.A17701@vr.net>
Date: Tue, 31 Aug 1999 11:47:47 -0400
Reply-To: lundberg+wuftpd@vr.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: Re: 421 Service not available, remote server has closed connection
In-Reply-To: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B7@saturn.fundserv.com>; from Magdalena Hewryk on Tue, Aug 31, 1999 at 11:38:34AM -0400
References: <C1A0D0F399C3D21197D70008C74CEB2C0137D8B7@saturn.fundserv.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=CE+1k2dSO48ffgeK; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 11:38:34AM -0400, Magdalena Hewryk wrote:

> On one machine the last command shows that ftp user is logged on to the
> system...
> #last
> ftp       ftp          localhost        Tue Aug 31 00:14   still logged in

Noise.  lastlogs are notoriously unreliable for determining what is
running.  Use ps.

>  Since then ftp server is closed:
> # ftp 0
> Connected to 0.
> 421 Service not available, remote server has closed connection
> ftp>=20

Take a look at your ftpaccess.  Does it name a shutdown file?  Delete that
file.

> ps -ef | grep ftp shows none of processes.

See?  You lastlog is wrong.

> Any hints how to get server back up and running?
> I restarted /usr/sbin/inetd but nothing has been changed.

--=20

Gregory A Lundberg              Senior Partner, VRnet Company
1441 Elmdale Drive              lundberg@vr.net
Kettering, OH 45409-1615 USA    1-800-809-2195

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8vrDw2nXFkJc83RAQFdJAL+P1ERoiPAaWVy1QcRACLlMYWj3DRYIuLF
nop4roJhPtM0ITlP4VxrqwLn/hxHR6yf9Bc/U2J/vaGy5hzQsWKztwjKcZFGpXC2
6Ue2ZD/Hk964wgdft+v6w6NvlTruQHSk
=NVRF
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 11:01:35 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA11344;
	Tue, 31 Aug 1999 11:01:34 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA11164;
	Tue, 31 Aug 1999 11:01:56 -0500 (CDT)
Received: from mercury.infoshare.net (mercury.infoshare.net [199.212.229.202])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA03842
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 10:49:56 -0500 (CDT)
Received: from saturn.fundserv.com ([142.148.16.4])
	by mercury.infoshare.net (1.0.0/1.0.0) with ESMTP id LAA14304;
	Tue, 31 Aug 1999 11:48:49 -0400 (EDT)
Received: by saturn.fundserv.com with Internet Mail Service (5.5.2448.0)
	id <38Z0MC7W>; Tue, 31 Aug 1999 11:48:00 -0400
Message-Id: <C1A0D0F399C3D21197D70008C74CEB2C0137D8BA@saturn.fundserv.com>
Date: Tue, 31 Aug 1999 11:47:59 -0400
Reply-To: Magdalena.Hewryk@FundServ.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Magdalena Hewryk <Magdalena.Hewryk@FundServ.com>
To: "'Gregory A Lundberg'" <lundberg+wuftpd@vr.net>
Cc: "'wu-ftpd@wugate.wustl.edu'" <wu-ftpd@wugate.wustl.edu>
Subject: RE: <<425 Can't create data socket (142.148.10.35,20): Address al
	read y in use.>>  &&& ftpaccess file
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Internet Mail Service (5.5.2448.0)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Thanks, I will take a look at the patches today and give you the update.

> -----Original Message-----
> From: Gregory A Lundberg [mailto:lundberg+wuftpd@vr.net]
> Sent: Tuesday, August 31, 1999 11:21 AM
> To: Magdalena Hewryk
> Cc: 'wu-ftpd@wugate.wustl.edu'
> Subject: Re: <<425 Can't create data socket 
> (142.148.10.35,20): Address
> alread y in use.>> &&& ftpaccess file
> 
> 
> On Tue, Aug 31, 1999 at 10:30:25AM -0400, Magdalena Hewryk wrote:
> 
> > I am getting constantly this error message:
> >  
> > <<425 Can't create data socket (142.148.10.35,20): Address 
> already in use.>>
> 
> If you're looking for vendor patches, use the keyword 
> SO_REUSEADDR which is
> the name of the socket option which enables address/port 
> reuse.  If it's
> broken, not present, or denied by some security feature, the 
> daemon won't
> be able to do PORT-mode data transfers.
> 
> -- 
> 
> Gregory A Lundberg              Senior Partner, VRnet Company
> 1441 Elmdale Drive              lundberg@vr.net
> Kettering, OH 45409-1615 USA    1-800-809-2195
> 

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 11:05:19 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA11461;
	Tue, 31 Aug 1999 11:05:18 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA21114;
	Tue, 31 Aug 1999 11:05:51 -0500 (CDT)
Received: from pizza.hvu.nl (Pizza.hvu.nl [145.89.234.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA06974
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 11:01:03 -0500 (CDT)
Received: (from koos@localhost)
	by pizza.hvu.nl (8.9.3/8.9.3/KH19990810) id SAA19062;
	Tue, 31 Aug 1999 18:00:51 +0200 (MET DST)
Message-Id: <19990831180050.A19043@pizza.hvu.nl>
Date: Tue, 31 Aug 1999 18:00:51 +0200
Reply-To: koos@pizza.hvu.nl
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
To: Stan Brockman <brockman@gldmutt.cr.usgs.gov>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: aliasing the host name
In-Reply-To: <199908311545.JAA04153@ghtmail.cr.usgs.gov>; from Stan Brockman on Tue, Aug 31, 1999 at 09:45:06AM -0600
References: <199908311545.JAA04153@ghtmail.cr.usgs.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i
X-Zen: Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
X-Files: the truth is out there
X-I-Am-Not-Simes: There is only one Simes
X-Confirm-reading-to: koos@pizza.hvu.nl
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Quoting Stan Brockman who wrote on Tue, Aug 31, 1999 at 09:45:06AM -0600:

> I'd like for the wu-ftpd server to show an alias hostname of the
> machine it is running on rather than to display the actual host
> name of the machine itself.  Eg., at connect time, it should say,
> 
> "220 MyFtpSrvr FTP server ready." instead of
> "220 MyHstName FTP server ready."
> 
> Ditto at disconnect,
> "221-Thank you for using the FTP service on MyFtpSrvr." instead 
> of
> "221-Thank you for using the FTP service on MyHstName."
> 
> I cannot find a way do that via the configuration scripts.  Must
> I set up a virtual server to accomplish my goal?  I'd rather not
> hack the code in ftpd.c and ftpcmd.c..., perhaps other places.

Sounds like you have an older version of the daemon. Upgrade to the latest
version from ftp.wu-ftpd.org (if not for this reason then for security
reasons!).

In which there is a configuration directive

hostname

which will do what you want.

                                                  Koos

-- 
 Koos van den Hout                    Expertisecentrum Cetis http://cetis.nl/
 koos@pizza.hvu.nl (Work)                     Workphonenumber: +31-30-2586287
 koos@kzdoos.xs4all.nl (Home)                   Workfaxnumber: +31-30-2586290
 http://www.cetis.hvu.nl/~koos/  PGP keyid RSA/1024 0xCA845CB5 via keyservers

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 11:14:43 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id LAA11663;
	Tue, 31 Aug 1999 11:14:42 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA22258;
	Tue, 31 Aug 1999 11:15:21 -0500 (CDT)
Received: from westnet.com (chris@westnet.com [206.24.6.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA18019
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 11:02:58 -0500 (CDT)
Received: from localhost (chris@localhost)
	by westnet.com (8.9.1/8.9.1) with ESMTP id MAA13864
	for <wu-ftpd@mail.wustl.edu>; Tue, 31 Aug 1999 12:02:57 -0400 (EDT)
Message-Id: <Pine.SUN.4.10.9908311202390.10677-100000@westnet.com>
Date: Tue, 31 Aug 1999 12:02:56 -0400 (EDT)
Reply-To: chris@westnet.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher X. Candreva" <chris@westnet.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Update Re: wu-ftpd 2.5.0 and SunOS 4.1.3
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Gregory  Lundberg was helpfull in better defining my problem. Basicly, what
happens is that for two successive DIR commands, the first returns the
actually current directory, but the second returns /bin (or wherever ls is
located).

This he says he recalls as bing a bug in SunOS, which there is a patch to
fix. Unfortunately, he can't recall which patch.  I installed the latest
libc patch last night, and it hasn't helped.

Is there someone out there who went through this that can tell me which
patch I need ?

Thank you very much in advance !

-Chris

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




From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 13:30:52 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA14876;
	Tue, 31 Aug 1999 13:30:50 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA27640;
	Tue, 31 Aug 1999 13:31:24 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA15459
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 13:27:13 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA19225;
	Tue, 31 Aug 1999 14:27:05 -0400
Message-Id: <19990831142704.C19067@vr.net>
Date: Tue, 31 Aug 1999 14:27:05 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: jreed@wukon.appliedtheory.com
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Revised query - diff. guest groups with diff access??
In-Reply-To: <199908311543.LAA00975@wukon.appliedtheory.com>; from jreed@wukon.appliedtheory.com on Tue, Aug 31, 1999 at 11:43:34AM -0400
References: <199908311543.LAA00975@wukon.appliedtheory.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=aVD9QWMuhilNxW9f; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--aVD9QWMuhilNxW9f
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 11:43:34AM -0400, jreed@wukon.appliedtheory.com wro=
te:

> I asked how to set up 2 guest groups with diff. access, so one group
> could use rename, and the other not. I got one useful response from
> Gregory Lundberg, setting up different classes. Problem is, I neglected
> to mention that the members of these groups come in from all over the
> country, so there's no good way to isolate them based on IPs. Is there a
> way to assign members to a class or group based on their userids??????

Not in 2.5.0.  It's one of the things I've been thinking about for the
ftpaccess handling rewrite.  Since that's not ready, it won't be in 2.6.0
either.

So, I'd suggest using two IP addresses on the FTP server.  One for
employees and one for non-employees.  Using BeroFTPD or 2.6.0 you should be
able to use one daemon to serve both.  The issue then becomes which groups
are 'guest'.

To be honest, though, if I had a need for this myself, I'd hack the feature
in right now.  I don't, and I'm busy with other things on the daemon, so I
won't be able to do it for a while.  Now .. if YOU want to fiddle with C, I
can point you to the right area of the code and let you peek at what I've
been doning for the rewrite of the ftpaccess handlers.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--aVD9QWMuhilNxW9f
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8wQZA2nXFkJc83RAQGJOQMAqzqeh1msh2MjlgCyE170IEwhs0mvISkr
exQjqDl5jcI1JE7EIoAhvV9iNqKXMGXB2M2O2N9z+FekjtKwGHkTIgSriKkSHFcQ
P7UAR8wSLNl5ZOeV5svqTpCgED8CWwSK
=0tEf
-----END PGP SIGNATURE-----

--aVD9QWMuhilNxW9f--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 13:37:04 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id NAA15054;
	Tue, 31 Aug 1999 13:37:02 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA29883;
	Tue, 31 Aug 1999 13:37:37 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA01583
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 13:33:08 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id OAA19299;
	Tue, 31 Aug 1999 14:33:03 -0400
Message-Id: <19990831143301.D19067@vr.net>
Date: Tue, 31 Aug 1999 14:33:02 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Christopher X. Candreva" <chris@westnet.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Update Re: wu-ftpd 2.5.0 and SunOS 4.1.3
In-Reply-To: <Pine.SUN.4.10.9908311202390.10677-100000@westnet.com>; from Christopher X. Candreva on Tue, Aug 31, 1999 at 12:02:56PM -0400
References: <Pine.SUN.4.10.9908311202390.10677-100000@westnet.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=yVhtmJPUSI46BTXb; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--yVhtmJPUSI46BTXb
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 12:02:56PM -0400, Christopher X. Candreva wrote:

> Gregory  Lundberg was helpfull in better defining my problem. Basicly,
> what happens is that for two successive DIR commands, the first returns
> the actually current directory, but the second returns /bin (or wherever
> ls is located).
>=20
> This he says he recalls as bing a bug in SunOS, which there is a patch to
> fix. Unfortunately, he can't recall which patch.  I installed the latest
> libc patch last night, and it hasn't helped.
>=20
> Is there someone out there who went through this that can tell me which
> patch I need ?

It was me, secure shell'd into another user's box, debugging the problem on
SunOS with the getcwd() and getwd() functions for a VR upgrade.  The patch
from my work is merged into 2.5.0.

What I did was put in syslog debugging statements for the cwd the daemon
thought was current, and what the OS returned.  I did that before and after
the calls to the external 'ls' function (via popen.c) and littered a few
other paces throughout the daemon.  By walking them arround, I was able to
find which getcwd() function was causing the true working directory to be
changed.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--yVhtmJPUSI46BTXb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8wRyQ2nXFkJc83RAQE/NAMApBriDzdtm2rE3sXb/RG76v9q4zJiAHQ2
L6IQkVvO+UQNx77TDv0c8zBW60Zjyzjj8yNO8KpKqCZDiQ2nq0YgbwCOgsZm2XkE
fJ5E7N4z3uMX1RicDBwLeF0/Zhn7DMXQ
=Tg69
-----END PGP SIGNATURE-----

--yVhtmJPUSI46BTXb--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 14:23:48 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id OAA16969;
	Tue, 31 Aug 1999 14:23:47 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA23156;
	Tue, 31 Aug 1999 14:24:10 -0500 (CDT)
Received: from westnet.com (chris@westnet.com [206.24.6.2])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA27724
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 14:22:05 -0500 (CDT)
Received: from localhost (chris@localhost)
	by westnet.com (8.9.1/8.9.1) with ESMTP id PAA06282;
	Tue, 31 Aug 1999 15:22:00 -0400 (EDT)
Message-Id: <Pine.SUN.4.10.9908311514480.16491-100000@westnet.com>
Date: Tue, 31 Aug 1999 15:22:00 -0400 (EDT)
Reply-To: chris@westnet.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Christopher X. Candreva" <chris@westnet.com>
To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Update Re: wu-ftpd 2.5.0 and SunOS 4.1.3
In-Reply-To: <19990831143301.D19067@vr.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 31 Aug 1999, Gregory A Lundberg wrote:

> It was me, secure shell'd into another user's box, debugging the problem on
> SunOS with the getcwd() and getwd() functions for a VR upgrade.  The patch
> from my work is merged into 2.5.0.

OK - from our e-mail yesterday, it sounded like you were talking about
the actual updates to Sunos from Sun --as in an OS problem.

IS this actually merged into the production 2.5.0 out there now, or the
development 2.6 ?

-Chris
 

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


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 15:55:16 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id PAA19158;
	Tue, 31 Aug 1999 15:55:14 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA27657;
	Tue, 31 Aug 1999 15:55:55 -0500 (CDT)
Received: from mail.vr.net (lundberg@mail.vr.net [205.133.13.8])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA16490
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 15:54:03 -0500 (CDT)
Received: (from lundberg@localhost)
	by mail.vr.net (8.9.3/8.9.3) id QAA20835;
	Tue, 31 Aug 1999 16:53:32 -0400
Message-Id: <19990831165331.C20565@vr.net>
Date: Tue, 31 Aug 1999 16:53:32 -0400
Reply-To: Gregory A Lundberg <lundberg@wu-ftpd.org>
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Gregory A Lundberg <lundberg+wuftpd@vr.net>
To: "Christopher X. Candreva" <chris@westnet.com>
Cc: wu-ftpd@wugate.wustl.edu
Subject: Re: Update Re: wu-ftpd 2.5.0 and SunOS 4.1.3
In-Reply-To: <Pine.SUN.4.10.9908311514480.16491-100000@westnet.com>; from Christopher X. Candreva on Tue, Aug 31, 1999 at 03:22:00PM -0400
References: <19990831143301.D19067@vr.net> <Pine.SUN.4.10.9908311514480.16491-100000@westnet.com>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary=tKW2IUtsqtDRztdT; micalg=pgp-md5;
	protocol="application/pgp-signature"
X-Mailer: Mutt 0.95.6i
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 31, 1999 at 03:22:00PM -0400, Christopher X. Candreva wrote:

> On Tue, 31 Aug 1999, Gregory A Lundberg wrote:
>=20
> > It was me, secure shell'd into another user's box, debugging the proble=
m on
> > SunOS with the getcwd() and getwd() functions for a VR upgrade.  The pa=
tch
> > from my work is merged into 2.5.0.
>=20
> OK - from our e-mail yesterday, it sounded like you were talking about
> the actual updates to Sunos from Sun --as in an OS problem.
>=20
> IS this actually merged into the production 2.5.0 out there now, or the
> development 2.6 ?


In 2.5.0; 2.6.0 changes it a bit to use the protable getcwd() function.
Actually, ecept for you and the site I was debugging, I've not heard of
this problem; which makes me think it's SunOS version -specific and there
may be some obscure vendor patch for it.

--=20

Gregory A Lundberg              WU-FTPD Development Group
1441 Elmdale Drive              lundberg@wu-ftpd.org
Kettering, OH 45409-1615 USA    1-800-809-2195

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5

iQB1AwUBN8wytg2nXFkJc83RAQH/ZwL8C4gRoa/KBTEbB+RaM1Z3Cv0a64fpsXaj
a6FuIyapnkulHbS0/VewUvwWir1CnnqIRUlUEgG663VY5bLAZf9C6jdwSf6eJ7EN
x2qvv/qacFSZ+laWQThkLhQR0fQRLSbL
=5yt3
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 17:45:50 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id RAA21455;
	Tue, 31 Aug 1999 17:45:50 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA24141;
	Tue, 31 Aug 1999 17:46:37 -0500 (CDT)
Received: from ubermail.laffeycomputer.com (101@alfred.laffeycomputer.com [209.74.129.142])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA02797
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 17:40:10 -0500 (CDT)
Received: by ubermail.laffeycomputer.com (Postfix, from userid 1001)
	id 3E97925802; Tue, 31 Aug 1999 17:40:07 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1])
	by ubermail.laffeycomputer.com (Postfix) with ESMTP id 287DD24802
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 17:40:07 -0500 (CDT)
Message-Id: <Pine.LNX.4.10.9908311737320.623-100000@alfred.laffeycomputer.com>
Date: Tue, 31 Aug 1999 17:40:07 -0500 (CDT)
Reply-To: joe@laffeycomputer.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Joe Laffey <joe@laffeycomputer.com>
To: wu-ftpd@wugate.wustl.edu
Subject: Lots of spaces in syslog
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am running the wuftpd inetl rpm (2.5.0-5.6.0) from rufus.w3.org.

Many messages like login messages and login failures have a few lines
worth of spaces in them for no apparent reason. Has anyone else seen this?
Is this only in the RPM? I can compile it myself if need be. I do not see
this on the version I patched manually on NetBSD (also where I fixed the
segfault on non-existent username bug).

Any ideas, thoughts?

Thanks,

Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO


From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 18:31:43 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA22225;
	Tue, 31 Aug 1999 18:31:42 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA27781;
	Tue, 31 Aug 1999 18:32:23 -0500 (CDT)
Received: from aventurine.sge.net (aventurine.sge.net [152.91.14.25])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA19875
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 18:28:47 -0500 (CDT)
Received: from cadmium.sge.net (cadmium.sge.net [152.91.9.5])
	by aventurine.sge.net (8.9.3/8.9.3) with ESMTP id JAA22325;
	Wed, 1 Sep 1999 09:28:43 +1000 (EST)
Received: (from uucp@localhost)
	by cadmium.sge.net (8.9.3/8.9.3) id JAA05922;
	Wed, 1 Sep 1999 09:28:41 +1000 (EST)
Received: from nodnsquery(10.1.2.11) by cadmium.sge.net via smap (V5.0)
	id xma005866; Wed, 1 Sep 99 09:28:37 +1000
Received: from amber (amber-int2.sge.net [10.1.2.254])
	by kryptonite.sge.net (8.9.3/8.9.3) with SMTP id JAA26268;
	Wed, 1 Sep 1999 09:28:35 +1000 (EST)
Message-Id: <37CC64B9.99FDF77F@sge.net>
Date: Wed, 01 Sep 1999 09:26:49 +1000
Reply-To: james.mcmahon@sge.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James McMahon <james.mcmahon@sge.net>
To: Gregory A Lundberg <lundberg+wuftpd@vr.net>
Cc: WUFTPD Discussion List <wu-ftpd@wugate.wustl.edu>
Subject: Re: Problems with home directories for guest users
References: <6F430383D91340BF4A2567DE00492573.004925EA4A2567DE@sge.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Gregory,

I added the restricted-gid command and am still having the same problems. 
What I log in with user guest, I am chrooted to the base directory
/data01.  It appears that the daemon is not reading the home directory from
/data01/etc/passwd or I have the entry in the wrong form.

I have tried putting the home directory in both absolute and chroot forms
in this file, and neither seem to work.

I just tried using the /data01/./guest syntax in the real /etc/passwd and
managed to get the effect that I am looking for (chroot point of
/data01/guest), but my impression from reading the man pages is that this
shouldn't be necessary.  The relevant man page section from ftpaccess.5 is
included below:

		If a guest-root is  chosen  for  the  user,  the
          user's home directory in the <root-dir>/etc/passwd file
          is used to determine the initial  directory  and  their
          home  directory  in  the system-wide /etc/passwd is not
          used.

As can be seen from the file excerpts included with my original message
(below), the global guest root is set to be /data01 for all guest users
(users in group guest set by "guestgroup guest"), and hence I believe that
the entry in /data01/etc/passwd should then be used to set the home
directory and the user restricted to that directory by restricted-gid.

Perhaps this is a bug, perhaps a feature.

James


Gregory A Lundberg wrote:
> 
> On Tue, Aug 31, 1999 at 05:31:04PM +1000, James McMahon wrote:
> 
> > Could anyone point out what changes I should make?
> 
> restricted-gid guest
> 

James McMahon wrote:

> Dear all,
>
> I have the following relevant entries in my ftpaccess file:
>
> guestroot /data01
> guestgroup guest
>
> /data01/etc/password contains:
>
> guest:x:10000:1001:Guest User:/guest:
>
> /etc/passwd contains:
>
> guest:x:10000:1001:Guest User:/data01/guest
>
> /etc/group contains:
>
> guest::1001:guest
>
> My question is .... When I log in as guess I get chrooted to /data01 and 
my
> initial directory is / (the chrooted /).  What I want is for my initial
> directory to be /guest (chrooted), and if possible, restricted that
> directory and it's subdirs.
>
> Could anyone point out what changes I should make?
>
> I assume that I will need to make use of the restricted gid command in
> order to accomplish this, but am having no luck on my attempts so far.
>
> Thanks in advance,
>
> James
-- 
**************************************************************************
*     James McMahon                  *     When all else fails ...       *
*     Secure Gateway Environment     *     Read the destructions.        *
*     james.mcmahon@sge.net          *             -- (unknown)          *
**************************************************************************

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 18:38:02 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA22360;
	Tue, 31 Aug 1999 18:38:01 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA31504;
	Tue, 31 Aug 1999 18:38:49 -0500 (CDT)
Received: from fs0.cam.nist.gov (fs0.cam.nist.gov [129.6.84.20])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA16698
	for <wu-ftpd@mail.wustl.edu>; Tue, 31 Aug 1999 18:34:19 -0500 (CDT)
Received: from nist.gov by fs0.cam.nist.gov (8.8.8+Sun/SMI-SVR4)
	id TAA16879; Tue, 31 Aug 1999 19:34:10 -0400 (EDT)
Message-Id: <37CC6673.FF2E3A04@nist.gov>
Date: Tue, 31 Aug 1999 19:34:11 -0400
Reply-To: bruce.miller@nist.gov
Sender: owner-wu-ftpd@wugate.wustl.edu
From: Bruce R Miller <bruce.miller@nist.gov>
To: wu-ftpd@wugate.wustl.edu
Subject: Log rotation
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: miller@nist.gov
X-Mailer: Mozilla 4.61C-SGI [en] (X11; U; IRIX64 6.5 IP28)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello all;
  I'm trying to set up daily rotation of wu-ftp's xferlog.
The landfield website shows an example script, processlog, that
does this by
  cat $xferlog >> $newfile
  rm $xferlog
  touch $xferlog
I was under the impression that this was an unsafe approach,
since ftpd keeps xferlog open for relatively long periods
(? at least through each ftp session, if I've understood the code).
So it seems you're likely to either loose entries, or end up
with a log full of \0's
  --- or have I misunderstood something?

Is there a way to setup wu-ftp to pipe xferlog to another program,
as with apache? or some other recommended approach?

Thanks

--
bruce.miller@nist.gov
http://math.nist.gov/~BMiller/

From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 18:51:07 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id SAA22642;
	Tue, 31 Aug 1999 18:51:06 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA30482;
	Tue, 31 Aug 1999 18:51:45 -0500 (CDT)
Received: from bawhub1.british-airways.com (mail.british-airways.com [194.201.29.3])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA26421
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 18:51:12 -0500 (CDT)
Received: from baw-gw.british-airways.com by bawhub1.british-airways.com (X.400 to RFC822 Gateway); Tue, 31 Aug 1999 23:37:49 Z
Message-Id: 
  <"0367837CC674D001*/c=GB/admd=ATTMAIL/prmd=BA/o=British Airways PLC/ou=CORPLN1/s=Marson/g=Hamish/i=N/"@MHS>
Date: 31 Aug 1999 23:37:49 Z
Reply-To: Hamish.N.Marson@British-Airways.com
Sender: owner-wu-ftpd@wugate.wustl.edu
From: "Marson, Hamish N" <Hamish.N.Marson@British-Airways.com>
To: "bruce.miller" <bruce.miller@nist.gov>
Cc: wu-ftpd <wu-ftpd@wugate.wustl.edu>
Subject: Re: Log rotation
Content-Identifier: 0367837CC674D001
Content-Return: Allowed
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Try just an 

xferlog=whatever
newfile=xferlog.`$date +"%Y%m%d"`
mv $xferlog $newfile


Assuming that you're moving to the same filesystem... If ftpd has it open it will keep writing until it closes. Then next time it will start a new ferlog file for you. A week or so later (a couple of days?) you can move the oldlogfiles to an archive filesystem, delete them whatever.

H




bruce.miller@nist.gov on 31/08/99 23:29:00
To:	wu-ftpd
cc:	
bcc:	Hamish N Marson
Subject:	Log rotation

Reply-To: bruce.miller@nist.gov@INTERNET

Hello all;
  I'm trying to set up daily rotation of wu-ftp's xferlog.
The landfield website shows an example script, processlog, that
does this by
  cat $xferlog >> $newfile
  rm $xferlog
  touch $xferlog
I was under the impression that this was an unsafe approach,
since ftpd keeps xferlog open for relatively long periods
(? at least through each ftp session, if I've understood the code).
So it seems you're likely to either loose entries, or end up
with a log full of \0's
  --- or have I misunderstood something?

Is there a way to setup wu-ftp to pipe xferlog to another program,
as with apache? or some other recommended approach?

Thanks

--
bruce.miller@nist.gov
http://math.nist.gov/~BMiller/



From owner-wu-ftpd@wugate.wustl.edu  Tue Aug 31 19:30:07 1999
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
	by landfield.com (8.9.0/8.9.0) with ESMTP id TAA23391;
	Tue, 31 Aug 1999 19:30:06 -0500 (CDT)
Received: from host (wugate.wustl.edu [128.252.120.1])
	by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA03289;
	Tue, 31 Aug 1999 19:30:41 -0500 (CDT)
Received: from aventurine.sge.net (aventurine.sge.net [152.91.14.25])
	by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA24247
	for <wu-ftpd@wugate.wustl.edu>; Tue, 31 Aug 1999 19:27:05 -0500 (CDT)
Received: from cadmium.sge.net (cadmium.sge.net [152.91.9.5])
	by aventurine.sge.net (8.9.3/8.9.3) with ESMTP id KAA27787
	for <wu-ftpd@wugate.wustl.edu>; Wed, 1 Sep 1999 10:27:02 +1000 (EST)
Received: (from uucp@localhost)
	by cadmium.sge.net (8.9.3/8.9.3) id KAA04087
	for <wu-ftpd@wugate.wustl.edu>; Wed, 1 Sep 1999 10:27:00 +1000 (EST)
Received: from nodnsquery(10.1.2.11) by cadmium.sge.net via smap (V5.0)
	id xma004014; Wed, 1 Sep 99 10:26:55 +1000
Received: from amber (amber-int2.sge.net [10.1.2.254])
	by kryptonite.sge.net (8.9.3/8.9.3) with SMTP id KAA14937
	for <wu-ftpd@wugate.wustl.edu>; Wed, 1 Sep 1999 10:26:54 +1000 (EST)
Message-Id: <37CC7265.13BB50B4@sge.net>
Date: Wed, 01 Sep 1999 10:25:09 +1000
Reply-To: james.mcmahon@sge.net
Sender: owner-wu-ftpd@wugate.wustl.edu
From: James McMahon <james.mcmahon@sge.net>
To: wu-ftpd@wugate.wustl.edu
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I feel that I have been missing some of the list messages, so this is just
a test to see if I get the message back from the list serv, and to see if
other people get it. 

Please don't cc replies to the list-serv in this instance.

Thanks

James

-- 
**************************************************************************
*     James McMahon                  *     When all else fails ...       *
*     Secure Gateway Environment     *     Read the destructions.        *
*     james.mcmahon@sge.net          *             -- (unknown)          *
**************************************************************************

