From [email protected]  Thu Jan  1 08:09:39 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA05601;
       Thu, 1 Jan 1998 08:09:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA18844;
       Thu, 1 Jan 1998 08:08:04 -0600 (CST)
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 IAA18068
       for <[email protected]>; Thu, 1 Jan 1998 08:03:01 -0600 (CST)
Received: (from koos@localhost) by pizza.hvu.nl (8.8.6/KH19970721 (dbm++)) id PAA06305 for [email protected]; Thu, 1 Jan 1998 15:03:01 +0100 (MET)
Message-Id: <[email protected]>
Date: Thu, 1 Jan 1998 15:03:01 +0100 (MET)
Reply-To: [email protected]
Sender: [email protected]
From: Koos van den Hout _U nix and we all_ <[email protected]>
To: [email protected]
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 [email protected] with as subject "send faq"
(without the quotes, body ignored).

THE_URL:file://localhost/home/staff/koos/wu-ftpd-faq/wu-ftpd-faq.contents.html
   1. Contents of this FAQ
        1. Contents of this FAQ
        2. What is this document
        3. What is wu-ftpd itself and this mailing list in particular ?
             1. How do I subscribe/unsubscribe ?
             2. Is this list archived anywhere ?
             3. What are related documents ?
        4. Where do I get the wu-ftpd ?
             1. Where do I get the updated version ?
        5. Compiling the wu-ftpd
             1. cc complains about strunames, typenames, modenames, ..
                being undeclared.
             2. wu-ftpd doesn't 'see' that users are in multiple groups.
             3. wu-ftpd doesn't use the shadow passwords on my Linux
                machine.
             4. It doesn't compile at all on newer Linux installs. The
                error is :
             5. I need to use S/KEY authorisation
             6. I need to authenticate real users via AFS
             7. The timezone in the xferlog is wrong
             8. The timezone in the ls output is wrong
             9. Digital Unix doesn't log commands after an anonymous
                user logs in
            10. install fails with 'install: ..'
            11. Digital Unix (The Unix Formerly Known As OSF/1) and
                Enhanced C2 security,
            12. It doesn't compile at all on Digital Unix, errors about
                struct timeval
            13. What should I do to be able to use wu-ftpd in a HP-UX
                10.01
            14. What should I do for 10.10.
        6. Installing the wu-ftpd
             1. Command-line options for wu-ftpd
             2. Testing on a different port number then ftp
             3. Not all command line parameters seem to be used by
                wu-ftpd
        7. The ftpaccess file
             1. Some files (banners, etc) don't get shown to anonymous
                users.
             2. What is the exact format of the <times> parameter in the
                "limit"
             3. What tools are there to check the configuration
        8. Programs (ls, gzip, tar) work for real users, not for
           anonymous users, giving errors like 425 Can't create data
           socket (0.0.0.0,20): Bad file number or simply no output.
             1. Solaris
             2. Building a statically linked ls for Solaris fails
             3. Linux
             4. Dec OSF
             5. SunOS4.1.x
             6. AIX
             7. IRIX (6.2)
             8. SCO Unix
             9. BSD vs SVR4 ls
            10. It worked, until I upgraded the operating system.
        9. Running wu-ftpd
             1. ftpd allways says "221 Server shutting down. Goodbye."
             2. Anonymous ftp works fine, but real users are denied
                access
             3. ftpconversions doesn't work
             4. On-the-fly compression works, on-the-fly tarring, but
                not both.
             5. I want to use zip compression (InfoZip)
             6. I want a real user to be able to access the host only
                via ftp, not via telnet
             7. Somebody uploaded a file with a weird name
             8. I want anonymous users to be able to upload files, but
                in the most secure manner possible
             9. The default umask used when a real user uploads a file
                is wrong
            10. I heard something about 'SITE EXEC' having a security
                hole
            11. How do I make reports more readable ?
            12. Incoming file transfers fail with SunOS and an NFS
                mounted incoming
            13. Normal ftp clients work, Netscape ftp's fail. So,
                passive mode doesn't work.
            14. I want to redirect anonymous users to another machine
       10. Other things
             1. Where is the FTP protocol documented ?
             2. How can I make my ftp-archive accessible by E-mail
                (ftpmail) ?
       11. Credits

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


From [email protected]  Sat Jan  3 23:10:50 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id XAA09098;
       Sat, 3 Jan 1998 23:10:49 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA20481;
       Sat, 3 Jan 1998 23:08:48 -0600 (CST)
Received: from delta.acabtu.com.mx (delta.acabtu.com.mx [200.33.20.90])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA19889
       for <[email protected]>; Sat, 3 Jan 1998 23:00:06 -0600 (CST)
Received: from acabtu.com.mx (delta.acabtu.com.mx [200.33.20.90])
       by delta.acabtu.com.mx (8.8.6/8.8.6) with ESMTP id XAA01893;
       Sat, 3 Jan 1998 23:00:47 -0800 (PST)
Message-Id: <[email protected]>
Date: Sat, 03 Jan 1998 23:00:42 -0800
Reply-To: [email protected]
Sender: [email protected]
From: "Ing. Diana Liz Tejeda Cortes" <[email protected]>
To: [email protected], "[email protected]" <[email protected]>
Subject: Help!!!
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.03 [en] (X11; I; IRIX 5.3 IP22)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi:

I've just compiled and installed the 2.4 version in a SGI with irix 5.3
and my problem is that I can't get the anonymous or guest account to
gett logged in. Only real users with a valid shell can get connected. I
don't know how to make the /etc/shell file for irix 5.3 if that's the
problem.

I need your help!!!

What am I doing wrong?


Thanks in advance....

--
...........................................................
Ing. Diana Liz Tejeda Cortes    [email protected]
System Administrator
BTU Comunicacion, S.A. de C.V.  http://www.acabtu.com.mx

From [email protected]  Mon Jan  5 10:37:41 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA14661;
       Mon, 5 Jan 1998 10:37:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA04162;
       Mon, 5 Jan 1998 10:35:03 -0600 (CST)
Received: from gear.elektroson.com (gear.elektroson.com [204.32.47.66])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA03893
       for <[email protected]>; Mon, 5 Jan 1998 10:24:37 -0600 (CST)
Received: from quack.elektroson.com (ktorres [204.32.47.78]) by gear.elektroson.com (8.8.0/8.7.3) with SMTP id IAA09163 for <[email protected]>; Mon, 5 Jan 1998 08:14:03 -0800 (PST)
Message-Id: <[email protected]>
Date: Mon, 05 Jan 1998 08:23:22 -0800
Reply-To: [email protected]
Sender: [email protected]
From: Kevin Pearsall <[email protected]>
To: [email protected]
Subject: WU ftpd connection limits
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email protected]
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I was wondering if anyone knows of a way to limit the maximum amount of
anonymous connections per IP address.  I am continually having problems with
users opening multiple connections -- up to 20 per user in some cases!

Here's an example...  I just got in to work this morning and I've already
got a few people with 3+ anonymous logins a piece:
28731  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
28740  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
28742  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
28743  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
28744  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows

I can't figure out what to do...  A friend of mine is working on a perl
script to kill multiple logins, but that might not be very effective...  The
two Windows FTP daemons that I've tried (Serv-U FTPD and War FTPD) both have
an option to limit connections per single IP address...  The only problem
with those daemons is that they are very unreliable compared to wu-ftpd.

Anybody know what I might be able to do??  This is starting to become a
serious problem...

Thanks,
Kevin Pearsall

---------------------------------------------------------------------
 ______   ___  ______   ____)\_____________________________________
/ ___ /__/  /_/ ___ /__/  /__/__   __/  \__/ _ /_  ____/ _ /_      )
\_____  /______/____  /___\___//__/ /__\__ \____/__   /_____/_/___/
      )/            )/                    )/      \__(
---------------------------------------------------------------------
Elektroson Inc - manufacturers of Gear, the Standard in CD-R Software
       2105 South Bascom Ave., Suite #160, Campbell CA 95008
          phone[1.408.371.4800] - support[1.408.371.4995]
           fax[1.408.371.4895] - web[www.elektroson.com]
    email[[email protected]] - email[[email protected]]
--- <eof> -----------------------------------------------------------


From [email protected]  Mon Jan  5 10:58:26 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA14804;
       Mon, 5 Jan 1998 10:58:26 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA08715;
       Mon, 5 Jan 1998 10:56:36 -0600 (CST)
Received: from academ.com ([email protected] [198.137.249.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA09341
       for <[email protected]>; Mon, 5 Jan 1998 10:56:07 -0600 (CST)
Received: (from sob@localhost)
       by academ.com (8.8.8/8.8.8) id KAA11191
       for [email protected]; Mon, 5 Jan 1998 10:55:56 -0600 (CST)
Message-Id: <[email protected]>
Date: Mon, 5 Jan 1998 10:55:56 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Stan Barber)
To: [email protected]
Subject: BETA 17 coming
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Beta 17 is coming. It will address a memory allocation problem that is causing
Linux and some other systems to abort. The quick fix is to undefine HOST_ACCESS
in the root directory file config.h. This will stop the use of the ftphosts
file in that version of wu-ftpd, but will remove the problem as well.

There are some other bug fixes that are not as severe as that one coming
as well.

For those of you who have offered to test beta-16 on AIX, Digital Unix and
others, please do you testing as soon as possible and get back to me on
your results. I don't know of any new portability problems in Beta 16 and
I believe some problems (especially on AIX) to be resolved.

Happy new year.


From [email protected]  Mon Jan  5 22:09:44 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA17858;
       Mon, 5 Jan 1998 22:09:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA05061;
       Mon, 5 Jan 1998 22:07:40 -0600 (CST)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA04436
       for <[email protected]>; Mon, 5 Jan 1998 22:03:07 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
       by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id UAA10582;
       Mon, 5 Jan 1998 20:02:57 -0800 (PST)
Received: by sadhana.india.hp.com
       (1.37.109.20/16.2) id AA279591255; Tue, 6 Jan 1998 09:34:15 +0500
Message-Id: <[email protected]>
Date: Tue, 6 Jan 1998 09:34:15 +0500 (IST)
Reply-To: [email protected]
Sender: [email protected]
From: Harshal Savalia <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: WU ftpd connection limits
In-Reply-To: <[email protected]> from Kevin Pearsall at Jan "5," 1998 "08:23:22" am
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Kevin,

       I think you can use "limit" and "class" directives of ftpaccess
       file to set a limit on the maximum amount of anonymous connections
       per IP address.

       Hope this will help you.

Regards,
Harshal



> I was wondering if anyone knows of a way to limit the maximum amount of
> anonymous connections per IP address.  I am continually having problems with
> users opening multiple connections -- up to 20 per user in some cases!
>
> Here's an example...  I just got in to work this morning and I've already
> got a few people with 3+ anonymous logins a piece:
> 28731  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28740  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28742  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28743  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28744  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
>
> I can't figure out what to do...  A friend of mine is working on a perl
> script to kill multiple logins, but that might not be very effective...  The
> two Windows FTP daemons that I've tried (Serv-U FTPD and War FTPD) both have
> an option to limit connections per single IP address...  The only problem
> with those daemons is that they are very unreliable compared to wu-ftpd.
>
> Anybody know what I might be able to do??  This is starting to become a
> serious problem...
>
> Thanks,
> Kevin Pearsall
>
> ---------------------------------------------------------------------
>   ______   ___  ______   ____)\_____________________________________
>  / ___ /__/  /_/ ___ /__/  /__/__   __/  \__/ _ /_  ____/ _ /_      )
>  \_____  /______/____  /___\___//__/ /__\__ \____/__   /_____/_/___/
>        )/            )/                    )/      \__(
> ---------------------------------------------------------------------
> Elektroson Inc - manufacturers of Gear, the Standard in CD-R Software
>         2105 South Bascom Ave., Suite #160, Campbell CA 95008
>            phone[1.408.371.4800] - support[1.408.371.4995]
>             fax[1.408.371.4895] - web[www.elektroson.com]
>      email[[email protected]] - email[[email protected]]
> --- <eof> -----------------------------------------------------------
>
>


From [email protected]  Mon Jan  5 22:40:18 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA18067;
       Mon, 5 Jan 1998 22:40:17 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA05519;
       Mon, 5 Jan 1998 22:38:41 -0600 (CST)
Received: from natalia.fnn.net (root@[200.250.12.15])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA07683
       for <[email protected]>; Mon, 5 Jan 1998 22:32:19 -0600 (CST)
Received: from [200.250.12.92] (macintosh.fnn.net [200.250.12.92])
       by natalia.fnn.net (8.8.5/8.8.5) with SMTP id BAA15193
       for <[email protected]>; Tue, 6 Jan 1998 01:39:18 -0300
Message-Id: <[email protected]>
Date: Tue, 6 Jan 98 02:38:07 -0300
Reply-To: [email protected]
Sender: [email protected]
From: "Eduardo B. Fonseca" <[email protected]>
To: "wu-ftpd list" <[email protected]>
Subject: Guest acct Problems...
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello gyus (and gals)...

My name is Eduardo B. Fonseca. I'm a Webmaster here in Brazil... I just
moved to the FreeBSD business and I'm having some problems setting up
Guest accounts for my users to put their Home Pages via FTP. Here is my
configuration:

FreeBSD 2.2.2
wu-ftpd 2.4(BETA 16)

I've done everything listed on guest-HOWTO but no success... any tip?

Thanks a lot



____________________________________................
Eduardo Brasao da Fonseca
Technical Director
........................
The FutureNet Network
www.fnn.net
........................
[email protected]
[email protected]
____________________________________................


From [email protected]  Mon Jan  5 22:59:29 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA18124;
       Mon, 5 Jan 1998 22:59:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA08850;
       Mon, 5 Jan 1998 22:57:28 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA09316
       for <[email protected]>; Mon, 5 Jan 1998 22:57:05 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id WAA04971;
       Mon, 5 Jan 1998 22:56:59 -0600
Message-Id: <[email protected]>
Date: Mon, 5 Jan 1998 22:56:59 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: "Eduardo B. Fonseca" <[email protected]>
Cc: [email protected]
Subject: Re: Guest acct Problems...
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


ummm....  more specific information?

  -- Michael

On Tue, 6 Jan 1998, Eduardo B. Fonseca wrote:

> moved to the FreeBSD business and I'm having some problems setting up
> Guest accounts for my users to put their Home Pages via FTP. Here is my
> configuration:
>
> FreeBSD 2.2.2
> wu-ftpd 2.4(BETA 16)
>
> I've done everything listed on guest-HOWTO but no success... any tip?


From [email protected]  Tue Jan  6 06:52:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id GAA00057;
       Tue, 6 Jan 1998 06:52:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA12749;
       Tue, 6 Jan 1998 06:46:33 -0600 (CST)
Received: from natalia.fnn.net (root@[200.250.12.15])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id GAA12385
       for <[email protected]>; Tue, 6 Jan 1998 06:42:28 -0600 (CST)
Received: from [200.250.12.92] (macintosh.fnn.net [200.250.12.92])
       by natalia.fnn.net (8.8.5/8.8.5) with SMTP id JAA18639;
       Tue, 6 Jan 1998 09:49:39 -0300
Message-Id: <[email protected]>
Date: Tue, 6 Jan 98 10:48:17 -0300
Reply-To: [email protected]
Sender: [email protected]
From: "Eduardo B. Fonseca" <[email protected]>
To: <[email protected]>
Cc: "wu-ftpd list" <[email protected]>
Subject: Re: Guest acct Problems...
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Michael -

Here comes EVERYTHING :)

<SNIP>

/etc/ftpaccess:

loginfails 2

class   local   real,guest,anonymous *.domain 200.250.12.0
class   remote  real,guest,anonymous *

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

banner /etc/banner

readme  README*    login
readme  README*    cwd=*

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

compress        yes             local remote
tar             yes             local remote
# allow use of private file for SITE GROUP and SITE GPASS?
private         no

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

log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg

# all the following default to "yes" for everybody
delete          no      anonymous         # delete permission?
overwrite       no      anonymous         # overwrite permission?
rename                  no              anonymous                       #
renam$
chmod           no      anonymous               # chmod permission?
umask           no      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 users

email [email protected]

<snip>

/etc/passwd: line 32
dudu:*:1005:1109:Dudu:/home/dudu/./:/etc/ftponly

<snip>

/etc/shells

# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/usr/local/bin/bash
/etc/ftponly
/etc/ftpno

<snip>
ls -l /home/dudu

-rw-r--r--  1 dudu  users    466 Jan  4 23:56 .cshrc
-r--------  1 root  daemon     0 Jan  5 00:36 .forward
-rw-r--r--  1 dudu  users    619 Jan  4 23:56 .login
-rw-r--r--  1 dudu  users    290 Jan  4 23:56 .mailrc
-rw-r--r--  1 dudu  users   1203 Jan  4 23:56 .profile
-r--------  1 root  daemon   257 Jan  5 00:36 .rhosts
d--x--x--x  2 root  daemon   512 Jan  5 00:40 bin
d--x--x--x  2 root  daemon   512 Jan  5 00:40 etc
drwxr-xr-x  2 root  users    512 Jan  5 00:41 pub

NOTE: every file listed on the guest-HOWTO is installed
(ls/passwd/group...)

<snip>

LOG OF THE FTP SESSION:

bash# ftp ftp.fnn.net

220 vanessa.fnn.net FTP server (Version wu-2.4.2-academ[BETA-16](1) Mon
Jan 5 02
:29:31 EDT 1998) ready.
Name (ftp.fnn.net:root): dudu
331 Password required for dudu.
Password:
550 Can't set guest privileges.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

<snip>

that's it... I hope I didn't miss anything.

Cheers,


____________________________________................
Eduardo Brasao da Fonseca
Technical Director
........................
The FutureNet Network
www.fnn.net
........................
[email protected]
[email protected]
____________________________________................


From [email protected]  Tue Jan  6 09:56:12 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA00765;
       Tue, 6 Jan 1998 09:56:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA29745;
       Tue, 6 Jan 1998 09:54:09 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA28580
       for <[email protected]>; Tue, 6 Jan 1998 09:48:44 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id JAA13106;
       Tue, 6 Jan 1998 09:48:44 -0600
Message-Id: <[email protected]>
Date: Tue, 6 Jan 1998 09:48:44 -0600 (CST)
Reply-To: Michael Brennen <[email protected]>
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: "Eduardo B. Fonseca" <[email protected]>
Cc: wu-ftpd list <[email protected]>
Subject: Re: Guest acct Problems...
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Tue, 6 Jan 1998, Eduardo B. Fonseca wrote:

> Name (ftp.fnn.net:root): dudu
> 331 Password required for dudu.
> Password:
> 550 Can't set guest privileges.

The code snippet from ftpd.c that sets this error is below.  I don't
see any immediately obvious problems in your data set, but the
chroot() is failing.  Not sure what to suggest, and I've got a full
plate today with client issues.  Hope you find it.

  -- Michael

     if (chroot(pw->pw_dir) < 0 || chdir(++sp) < 0) {
       reply(550, "Can't set guest privileges.");
       goto bad;
     }


From [email protected]  Tue Jan  6 10:02:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA00818;
       Tue, 6 Jan 1998 10:02:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA30336;
       Tue, 6 Jan 1998 10:00:09 -0600 (CST)
Received: from cocos.omsk.su ([email protected] [193.124.32.129])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA30014
       for <[email protected]>; Tue, 6 Jan 1998 09:56:25 -0600 (CST)
Received: from cntrymn.omsk.su!cntrman!piv.lab.com!lab321.ru (root@localhost) by cocos.omsk.su (8.8.5/8.6.12) with UUCP id VAA27072 for [email protected]; Tue, 6 Jan 1998 21:28:13 +0600 (OSK)
Received: from cntrman.UUCP (uucp@localhost)
       by cntrymn.omsk.su (8.8.5/8.8.5) with UUCP id VAA11308
       for wugate.wustl.edu!wu-ftpd; Tue, 6 Jan 1998 21:24:02 +0600 (OSK)
Received: from piv.lab.com by countrymen.countrymen.omsk.su id aa01544;
         6 Jan 98 21:24 Omsk
Received: by piv.lab.com with Microsoft Mail
       id <[email protected]>; Tue, 6 Jan 1998 21:24:01 +-600
Message-Id: <[email protected]>
Date: Tue, 6 Jan 1998 21:24:00 +-600
Reply-To: [email protected]
Sender: [email protected]
From: Eugeny Kuzakov <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: RE: WU ftpd connection limits
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


>Hello Kevin,
Hi, All !
>
>       I think you can use "limit" and "class" directives of ftpaccess
I can't agree with you. With "limit"&"class" keywords you
can setup limit connections for same _KNOWN_ ip adresses.
One example: you can limit up to 100 anonymous connections.
But you can't limit number connections of one ip in one time.
Imho...

                       Best wishes, Eugeny Kuzakov.

>       file to set a limit on the maximum amount of anonymous connections
>       per IP address.



> I was wondering if anyone knows of a way to limit the maximum amount of
> anonymous connections per IP address.  I am continually having problems with
> users opening multiple connections -- up to 20 per user in some cases!
>
> Here's an example...  I just got in to work this morning and I've already
> got a few people with 3+ anonymous logins a piece:
> 28731  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28740  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28742  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28743  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
> 28744  ?  S    0:00 ftpd: fw2.cdrail.cz: anonymous/IE30User@: RETR /pub/windows
>
> I can't figure out what to do...  A friend of mine is working on a perl
> script to kill multiple logins, but that might not be very effective...  The
> two Windows FTP daemons that I've tried (Serv-U FTPD and War FTPD) both have
> an option to limit connections per single IP address...  The only problem
> with those daemons is that they are very unreliable compared to wu-ftpd.
>
> Anybody know what I might be able to do??  This is starting to become a
> serious problem...
>
> Thanks,
> Kevin Pearsall
>
> ---------------------------------------------------------------------
>   ______   ___  ______   ____)\_____________________________________
>  / ___ /__/  /_/ ___ /__/  /__/__   __/  \__/ _ /_  ____/ _ /_      )
>  \_____  /______/____  /___\___//__/ /__\__ \____/__   /_____/_/___/
>        )/            )/                    )/      \__(
> ---------------------------------------------------------------------
> Elektroson Inc - manufacturers of Gear, the Standard in CD-R Software
>         2105 South Bascom Ave., Suite #160, Campbell CA 95008
>            phone[1.408.371.4800] - support[1.408.371.4995]
>             fax[1.408.371.4895] - web[www.elektroson.com]
>      email[[email protected]] - email[[email protected]]
> --- <eof> -----------------------------------------------------------
>
>






From [email protected]  Tue Jan  6 10:33:13 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA00957;
       Tue, 6 Jan 1998 10:33:12 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA02036;
       Tue, 6 Jan 1998 10:31:20 -0600 (CST)
Received: from inetgw.fs.lmco.com (inetgw.fs.lmco.com [204.177.125.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA02483
       for <[email protected]>; Tue, 6 Jan 1998 10:28:51 -0600 (CST)
Received: (from mail@localhost) by inetgw.fs.lmco.com (AIX4.2/UCB 8.7/8.7) id LAA86242 for <[email protected]>; Tue, 6 Jan 1998 11:28:50 -0500 (EST)
Received: from shake.man.fs.lmco.com(158.187.189.101) by inetgw.fs.lmco.com via smap (V2.0)
       id xma012252; Tue, 6 Jan 98 11:20:01 -0500
Received: by shake.man.fs.lmco.com with Internet Mail Service (5.5.1960.3)
       id <CMLHT16S>; Tue, 6 Jan 1998 11:11:44 -0500
Message-Id: <[email protected]>
Date: Tue, 6 Jan 1998 11:06:29 -0500
Reply-To: [email protected]
Sender: [email protected]
From: "Anderson, R. D. (Randy)" <[email protected]>
To: "'[email protected]'" <[email protected]>
Subject: Ftpcount, ftpwho fails on AIX
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: Internet Mail Service (5.5.1960.3)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Running BETA-16 on AIX 4.2.0, I get the following error when invoking
'ftpwho' or 'ftpcount':

 ftpcount: could not malloc aclbuf: Invalid argument

Also the "limits" command in my ftpaccess file may not be working, I
have the following message file set up to display at login:

 "There are currently %N users out of %M allowed."

However, the user always sees this:

 "There are currently 0 users out of unlimited allowed."

Under BETA-15 the user count failed also, but instead of "unlimited" it
reported "-1".  "Ckconfig" reports all is well. Any hints?

Randy Anderson
Site Systems Integration      Internet:  [email protected]

Lockheed Martin Federal Systems - Manassas, VA



From [email protected]  Tue Jan  6 17:21:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA02636;
       Tue, 6 Jan 1998 17:21:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA10317;
       Tue, 6 Jan 1998 17:18:54 -0600 (CST)
Received: from academ.com ([email protected] [198.137.249.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA04621
       for <[email protected]>; Tue, 6 Jan 1998 17:12:13 -0600 (CST)
Received: (from sob@localhost)
       by academ.com (8.8.8/8.8.8) id RAA18633
       for [email protected]; Tue, 6 Jan 1998 17:12:12 -0600 (CST)
Message-Id: <[email protected]>
Date: Tue, 6 Jan 1998 17:12:12 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Stan Barber)
To: [email protected]
Subject: setproctitle problem
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


The proctitle routines using the wu-ftpd have been based on those from
sendmail for a long time. In beta-16, I imported the version from sendmail
8.8.8, but didn't change the string from "sendmail" to "ftpd". This does
not break anything, but does cause confusion.

I have had three folks send me mail about it. Please don't send any more.
It's fixed in beta-17, which is now in test.

From [email protected]  Wed Jan  7 01:31:25 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id BAA08118;
       Wed, 7 Jan 1998 01:31:24 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA30393;
       Wed, 7 Jan 1998 01:29:32 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA31693
       for <[email protected]>; Wed, 7 Jan 1998 01:25:50 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id BAA29024;
       Wed, 7 Jan 1998 01:25:47 -0600
Message-Id: <[email protected]>
Date: Wed, 7 Jan 1998 01:25:47 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Anders Thulin <[email protected]>
Cc: [email protected]
Subject: Re: Guest acct Problems...
In-Reply-To: <Roam.SIMC.2.0.6.884157634.16887.ath@helios>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Similar messages appear in ftpd.c, but this is the only one that I
found that exactly fits the message he published.  There is a 530
error with this text also, but his was a 550 error.

  -- Michael

On Wed, 7 Jan 1998, Anders Thulin wrote:

> Michael Brennen wrote:
> >
> >       if (chroot(pw->pw_dir) < 0 || chdir(++sp) < 0) {
> >         reply(550, "Can't set guest privileges.");
> >         goto bad;
> >       }
>
> This code appears several times in ftpd.c, and it can be tricky to
> decide and ensure just which of them complains.


From [email protected]  Wed Jan  7 09:41:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA17910;
       Wed, 7 Jan 1998 09:41:23 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA00802;
       Wed, 7 Jan 1998 09:38:05 -0600 (CST)
Received: from vodka.tnx.djmarkets.co.uk (vodka.tnx.djmarkets.co.uk [194.176.164.9])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA31676
       for <[email protected]>; Wed, 7 Jan 1998 09:35:59 -0600 (CST)
Received: from TNX-KIWI1 (soup.tnx.djmarkets.co.uk [194.176.164.12])
       by vodka.tnx.djmarkets.co.uk (8.8.5/8.8.5) with SMTP id PAA11896
       for <[email protected]>; Wed, 7 Jan 1998 15:33:07 GMT
Received: by TNX-KIWI1 with Microsoft Mail
       id <01BD1B81.CB05D490@TNX-KIWI1>; Wed, 7 Jan 1998 15:34:50 -0000
Message-Id: <01BD1B81.CB05D490@TNX-KIWI1>
Date: Wed, 7 Jan 1998 15:34:48 -0000
Reply-To: [email protected]
Sender: [email protected]
From: Kevin Dell <[email protected]>
To: "'[email protected]'" <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

begin
help
list
end


Kevin J.Dell
I KNOW I'm right. And if I'm not, I'm STILL right,
    because I'm the *ADMINISTRATOR*.



From [email protected]  Wed Jan  7 10:00:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA18074;
       Wed, 7 Jan 1998 10:00:17 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA31775;
       Wed, 7 Jan 1998 09:57:06 -0600 (CST)
Received: from landfield.com (ns.landfield.com [208.196.145.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA02382
       for <[email protected]>; Wed, 7 Jan 1998 09:51:35 -0600 (CST)
Received: (from root@localhost)
       by landfield.com (8.8.8/8.8.8) id JAA18010;
       Wed, 7 Jan 1998 09:52:10 -0600 (CST)
Message-Id: <[email protected]>
Date: Wed, 7 Jan 1998 09:52:09 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Kent Landfield <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: your mail
In-Reply-To: <01BD1B81.CB05D490@TNX-KIWI1> from "Kevin Dell" at Jan 7, 98 03:34:48 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

#
# begin
# help
       http://www.landfield.com/wu-ftpd/
# list
       http://www.landfield.com/wu-ftpd/mail-archive/
# end
#
#
# Kevin J.Dell
# I KNOW I'm right. And if I'm not, I'm STILL right,
#      because I'm the *ADMINISTRATOR*.


--
Kent Landfield                        Phone: 1-817-545-2502
Email: [email protected]             http://www.landfield.com/
Email: [email protected]                   http://www.nfr.net/
Please send comp.sources.misc related mail to [email protected]
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/

From [email protected]  Wed Jan  7 10:59:52 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA18357;
       Wed, 7 Jan 1998 10:59:52 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA11252;
       Wed, 7 Jan 1998 10:56:11 -0600 (CST)
Received: from Humpty.pwgsc.gc.ca (humpty.pwgsc.gc.ca [198.103.167.20])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA07812
       for <[email protected]>; Wed, 7 Jan 1998 10:52:15 -0600 (CST)
Received: tid LAA13243; Wed, 7 Jan 1998 11:45:30 -0500
Received: (from rocker@localhost)
       by tiger.ncr.pwgsc.gc.ca (8.8.5/8.8.5) id LAA10283
       for [email protected]; Wed, 7 Jan 1998 11:44:51 -0500 (EST)
Message-Id: <[email protected]>
Date: Wed, 7 Jan 1998 11:44:51 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Rocker UNIX/NT Support 736-2974 <[email protected]>
To: [email protected]
Subject: How to limit amount of disk space used by anonymous
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Howdy all.

Is there a config flag in the ftpaccess file to limit an anonymous user to down load a certain amount of bytes of data ? Concern is a person trying to create a denial of service scenario by filling up a filesystem. I dont have it on its own partition, and wont be able to for a bit. Will disk quota's have to do the trick, will it work for user ftp ? I would assume it would.

Any feedback would be welcome.
Thanks in advance.


"Life is like a box of chocolates"

_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Rocke Robertson
UNIX Admin
350 King Edward
(613) 991-2604
Ottawa, Ontario
[email protected]
_/_/_/_/_/_/_/_/_/_/_/_/_/_/


From [email protected]  Wed Jan  7 20:57:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id UAA20807;
       Wed, 7 Jan 1998 20:57:09 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA26101;
       Wed, 7 Jan 1998 20:53:10 -0600 (CST)
Resent-Date: Wed, 7 Jan 1998 20:53:10 -0600 (CST)
Resent-Message-Id: <[email protected]>
Received: from academ.com ([email protected] [198.137.249.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA01268
       for <[email protected]>; Wed, 7 Jan 1998 20:45:35 -0600 (CST)
Received: (from sob@localhost)
       by academ.com (8.8.8/8.8.8) id UAA04293
       for [email protected]; Wed, 7 Jan 1998 20:45:33 -0600 (CST)
Received: from owlman.academ.com ([email protected] [198.137.249.5])
       by academ.com (8.8.8/8.8.8) with ESMTP id UAA04003
       for <[email protected]>; Wed, 7 Jan 1998 20:12:43 -0600 (CST)
Received: (from nobody@localhost)
       by owlman.academ.com (8.8.8/8.8.5) id UAA28483
       for sw-support-manager; Wed, 7 Jan 1998 20:12:43 -0600 (CST)
Received: from academ.com ([email protected] [198.137.249.2])
       by owlman.academ.com (8.8.8/8.8.5) with ESMTP id UAA28478
       for <[email protected]>; Wed, 7 Jan 1998 20:12:41 -0600 (CST)
Received: from public.shenzhen.cngb.com (do.not.ask.again [203.93.104.3] (may be forged))
       by academ.com (8.8.8/8.8.8) with ESMTP id UAA03998
       for <[email protected]>; Wed, 7 Jan 1998 20:12:35 -0600 (CST)
Received: from public.shenzhen.cngb.com ([203.93.104.21])
       by public.shenzhen.cngb.com (8.8.5/8.8.5) with ESMTP id KAA24946
       for <[email protected]>; Thu, 8 Jan 1998 10:10:27 +0800 (CST)
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 10:12:34 +0800
Reply-To: [email protected]
Sender: [email protected]
From: ZhenYu Wang <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [ACADEM-SW-SUPPORT #602] can not get the file!
Resent-To: [email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 7bit
Resent-From: [email protected] (Stan Barber)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
X-Authentication-Warning: owlman.academ.com: nobody set sender to [email protected] using -f
X-Mailer: Mozilla 4.02 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear Sir:

I want to get wu-ftpd beta16, but I found the private is drwx--x--x, I
can't get file from it, how to do?

Thanks.

I want to use virtual feature in solaris2.5.1, but I can't do it well. I
have done it in linux from 2.0.x to 2.1.78 with beta15. I found the
config.lnx with a define VIRTUAL, that is not in config.sol. would you
like to give me some help message?

Best Regards!



From [email protected]  Thu Jan  8 12:48:39 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA04682;
       Thu, 8 Jan 1998 12:48:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA27050;
       Thu, 8 Jan 1998 12:44:43 -0600 (CST)
Received: from IAS.EDU (mailgate.ias.edu [192.16.204.20])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA23368
       for <[email protected]>; Thu, 8 Jan 1998 12:41:27 -0600 (CST)
Received: from blackhole.sns.ias.edu (blackhole.sns.ias.edu [198.138.243.35]) by IAS.EDU (8.6.12/8.6.12) with ESMTP id NAA15752 for <[email protected]>; Thu, 8 Jan 1998 13:41:02 -0500
Received: from rogue.sns.ias.edu (rogue [198.138.243.13])
       by blackhole.sns.ias.edu (8.8.5/8.8.5) with ESMTP id NAA11112
       for <[email protected]>; Thu, 8 Jan 1998 13:41:49 -0500 (EST)
Received: from rogue (shelley@localhost)
       by rogue.sns.ias.edu (8.8.5/8.8.5) with ESMTP id NAA05213
       for <[email protected]>; Thu, 8 Jan 1998 13:41:50 -0500 (EST)
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 13:41:49 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Shelley A Waltz <[email protected]>
To: [email protected]
Subject: beta 16 problems on Solaris
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Authentication-Warning: rogue.sns.ias.edu: shelley owned process doing -bs
X-Mailer: exmh version 1.6.7 5/3/96
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I just installed beta 16 on Solaris2.5.  I have a couple of problems.

1) inetd.conf
wuftp   stream  tcp     nowait  root    /usr/etc/sbin/wu.ftpd   wu-ftpd -al

In testing wu-ftpd, the above line in inetd.conf does not allow
any options to be specified, in fact if any options are specified,
when tring to connect, the server reports
"421 Service not available, remote server has closed connection"
If I remove all options, it does work, but I cannot use the ftpaccess
file since I cannot specify -a.

If I change the line to read
wuftp   stream  tcp     nowait  root    /usr/etc/sbin/wu.ftpd -al
it does work, however, now I have problem 2)

2) Command and and file transfer logging.
I used LOG_LOCAL5 in the config.sol file when compiling and specified
USE_VAR so xfer logging will go to /var/adm/xferlog.  I checked this
after compiling with ckconfig.  I added# anonymous ftpd logging
#
local5.info                     /var/adm/xferlog
local5.notice                   /var/adm/xferlog
local5.debug                    /var/adm/xferlog
to syslog.conf.

I also have in my ftpaccess file
log commands anonymous,real
log transfers anonymous inbound


In testing, no logging whatsoever goes to /var/adm/xferlog.
Only DELE command is logged in /var/adm/messages, not xferlog.

Am I missing something.  Yes, I did restart inetd and syslog, even rebooted
after the changes.

TIA
shelley




From [email protected]  Thu Jan  8 13:05:22 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA04784;
       Thu, 8 Jan 1998 13:05:21 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA30027;
       Thu, 8 Jan 1998 13:01:53 -0600 (CST)
Received: from earth.astro.umd.edu ([email protected] [129.2.163.100])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA28459
       for <[email protected]>; Thu, 8 Jan 1998 12:59:59 -0600 (CST)
Received: (wls@localhost)
       by earth.astro.umd.edu (8.8.6/8.6.6mWLS)
       id NAA15927; Thu, 8 Jan 1998 13:59:52 -0500 (EST)
Message-Id: <[email protected]>
Date: Thu, 8 Jan 1998 13:59:52 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (William L. Sebok)
To: [email protected]
Cc: [email protected]
Subject: Re: beta 16 problems on Solaris
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> I just installed beta 16 on Solaris2.5.  I have a couple of problems.
>
> 1) inetd.conf
> wuftp   stream  tcp     nowait  root    /usr/etc/sbin/wu.ftpd   wu-ftpd -al
>
> In testing wu-ftpd, the above line in inetd.conf does not allow
> any options to be specified, in fact if any options are specified,
> when tring to connect, the server reports
> "421 Service not available, remote server has closed connection"
> If I remove all options, it does work, but I cannot use the ftpaccess
> file since I cannot specify -a.

My inetd.conf (Solaris 2.5) is

ftp     stream  tcp     nowait  root    /usr/Local/etc/ftpd     ftpd -l -a

and it works fine.  I am still using beta 15 in case that makes any difference.
The main thing I note about your inetd.conf is that the first entry is wuftp
rather than ftp.  Have you defined wuftp to be something in /etc/services?  Is
there still also an entry for "ftp" (rather than "wuftp") in inetd.conf
pointing to the normal Sun ftp daemon in /usr/sbin/in.ftpd?  If that is the
case maybe you are having a conflict between wu-ftpd and the Sun ftpd.

Bill Sebok      Computer Software Manager, Univ. of Maryland, Astronomy
       Internet: [email protected]     URL: http://www.astro.umd.edu/~wls/

From [email protected]  Thu Jan  8 13:17:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA04846;
       Thu, 8 Jan 1998 13:17:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA28858;
       Thu, 8 Jan 1998 13:14:31 -0600 (CST)
Received: from paris.tactech.com (paris.tactech.com [199.107.8.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA31328
       for <[email protected]>; Thu, 8 Jan 1998 13:10:04 -0600 (CST)
Received: (from jleung@localhost)
       by paris.tactech.com (8.8.8/8.8.8) id LAA22461;
       Thu, 8 Jan 1998 11:09:28 -0800 (PST)
Message-Id: <Pine.3.89.9801081149.A21497-0100000@paris>
Date: Thu, 8 Jan 1998 11:09:25 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: Janet Leung <[email protected]>
To: [email protected]
Subject: Help w/ beta-16 installation
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

During the upgrade of beta-16 version of wu-ftpd, I ran into the
following error message while doing "./build sol":

Making ftpd.
cc -g -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
logwtmp.o popen.o vers.o access.o  extensions.o  realpath.o acl.o
private.o authenticate.o conversions.o hostacc.o  sigfix.o -lsupport
-lsocket -lnsl -lgen
ld: fatal: file access.o: unknown type, unable to process using elf(3E)
libraries
ld: fatal: File processing errors.  No output written to ftpd
*** Error code 1
make: Fatal error: Command failed for target `ftpd'

Could somebody please tell me what went wrong and how I could resolve
this problem.

Thanks,
Janet Leung, TACTech, Inc., Yorba Linda, CA 92887-4608


From [email protected]  Thu Jan  8 13:37:41 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA04961;
       Thu, 8 Jan 1998 13:37:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA01127;
       Thu, 8 Jan 1998 13:33:40 -0600 (CST)
Received: from sun.sd.cyberworks.net (sun.sd.cyberworks.net [209.76.0.21])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA09894
       for <[email protected]>; Thu, 8 Jan 1998 13:27:11 -0600 (CST)
Received: from mail.cyberworks.net (slinky.sd.cyberworks.net [209.76.0.42])
       by sun.sd.cyberworks.net (8.8.5/8.8.5) with ESMTP id LAA15190
       for <[email protected]>; Thu, 8 Jan 1998 11:22:11 -0800 (PST)
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 11:19:12 -0800
Reply-To: [email protected]
Sender: [email protected]
From: Brad McMahan <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Ratios...
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.04 [en] (X11; I; IRIX 5.3 IP22)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

   Does Wuftpd support ratios yet, if not doese anyone know when it
will.

Brad


From [email protected]  Thu Jan  8 14:15:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA05096;
       Thu, 8 Jan 1998 14:15:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA07022;
       Thu, 8 Jan 1998 14:11:10 -0600 (CST)
Received: from uswgco3.uswc.uswest.com (uswgco3.uswest.com [206.196.133.82])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA32061
       for <[email protected]>; Thu, 8 Jan 1998 14:04:46 -0600 (CST)
Received: from egate2.mnet.uswest.com (egate-ne1.mnet.uswest.com [151.117.138.135])
       by uswgco3.uswc.uswest.com (8.8.5/8.8.5) with ESMTP id NAA16483
       for <[email protected]>; Thu, 8 Jan 1998 13:04:15 -0700 (MST)
Received: from easthub.mnet.uswest.com (easthub.mnet.uswest.com [151.117.26.86]) by egate2.mnet.uswest.com (8.7.1/8.7.1) with SMTP id OAA04739 for <[email protected]>; Thu, 8 Jan 1998 14:04:13 -0600 (CST)
Received: from netmail2.mnet.uswest.com (netmail2.mnet.uswest.com [151.119.114.11]) by easthub.mnet.uswest.com (8.6.11/8.6.11) with ESMTP id OAA06685 for <[email protected]>; Thu, 8 Jan 1998 14:12:28 -0600
Received: from pcs-chekov ([151.116.59.56]) by netmail2.mnet.uswest.com
         (Netscape Mail Server v2.02) with SMTP id AAA23341
         for <[email protected]>; Thu, 8 Jan 1998 13:04:12 -0700
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 13:04:12 -0700
Reply-To: [email protected]
Sender: [email protected]
From: Brad Waite <[email protected]>
To: [email protected]
Subject: Re: Ratios...
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Brad McMahan wrote:
>
>     Does Wuftpd support ratios yet, if not doese anyone know when it
> will.
>
> Brad

Hey, cool name.

Actually, I put together a pretty decent ratio plugin a few months ago.
But since ratios are apparently not good for anything other than W4r3Z,
I didn't figure anyone else would care to use it.

-Brad

From [email protected]  Thu Jan  8 14:34:20 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA05158;
       Thu, 8 Jan 1998 14:34:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA08400;
       Thu, 8 Jan 1998 14:30:14 -0600 (CST)
Received: from finch.engrs.infi.net (finch.engrs.infi.net [206.153.61.77])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA09027
       for <[email protected]>; Thu, 8 Jan 1998 14:27:46 -0600 (CST)
Received: by finch.engrs.infi.net id AA02869; Thu, 8 Jan 1998 15:26:05 -0500
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 15:26:05 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Scot Needy <[email protected]>
To: [email protected]
Subject: How can I enable Site EXEC
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.04 [en] (X11; I; OSF1 V4.0 alpha)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Solaris 2.5.1

How can I enable site exec chmod?

We only allow real users in to publish html in a chrooted env
and we also allow them to do their own CGI.

We need to enable the site exec.

Umask is only working for directories.

Thanks
Scot

From [email protected]  Thu Jan  8 14:46:30 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA05222;
       Thu, 8 Jan 1998 14:46:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA04778;
       Thu, 8 Jan 1998 14:43:04 -0600 (CST)
Received: from msgpacbh1.PAC.DFO.CA (msgpacbh1.pac.dfo.ca [199.60.88.34])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA08307
       for <[email protected]>; Thu, 8 Jan 1998 14:36:14 -0600 (CST)
Received: by msgpacbh1.pac.dfo.ca with Internet Mail Service (5.0.1458.49)
       id <Z3851BH6>; Thu, 8 Jan 1998 12:36:05 -0800
Message-Id: <F100AE5FB1C8D011AA820000F8031329AC77@MSGPACIOS1>
Date: Thu, 8 Jan 1998 11:03:24 -0800
Reply-To: [email protected]
Sender: [email protected]
From: "Green, William" <[email protected]>
To: "'[email protected]'" <[email protected]>, [email protected]
Subject: RE: beta 16 problems on Solaris
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 had similar problems with beta 15 on Sun 4.1.
The options were not picked up correctly.
I hard coded the options in the c code and it works great.

> -----Original Message-----
> From: Shelley A Waltz [SMTP:[email protected]]
> Sent: Thursday, January 08, 1998 10:42 AM
> To:   [email protected]
> Subject:      beta 16 problems on Solaris
>
> I just installed beta 16 on Solaris2.5.  I have a couple of problems.
>
> 1) inetd.conf
> wuftp   stream  tcp     nowait  root    /usr/etc/sbin/wu.ftpd
> wu-ftpd -al
>
> In testing wu-ftpd, the above line in inetd.conf does not allow
> any options to be specified,
>
> TIA
> shelley
>
>

From [email protected]  Thu Jan  8 15:18:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id PAA05365;
       Thu, 8 Jan 1998 15:18:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA12925;
       Thu, 8 Jan 1998 15:14:40 -0600 (CST)
Received: from nms.rz.uni-kiel.de (nms100.rz.uni-kiel.de [134.245.1.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA12838
       for <[email protected]>; Thu, 8 Jan 1998 15:08:52 -0600 (CST)
Received: from marvin.bwl.uni-kiel.de by nms.rz.uni-kiel.de
         with Local-SMTP (PP) id <[email protected]>;
         Thu, 8 Jan 1998 22:14:31 +0100
Received: by marvin.bwl.uni-kiel.de (AIX 3.2/UCB 5.64/4.03) id AA22044;
         Thu, 8 Jan 1998 22:09:22 +0100
Message-Id: <[email protected]>
Date: Thu, 8 Jan 1998 22:09:22 +0100 (NFT)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Josef Siemes)
To: [email protected]
Cc: [email protected] (wu-ftp Mailinglist)
Subject: Re: beta 16 problems on Solaris
In-Reply-To: <[email protected]> from "Shelley A Waltz" at Jan 8, 98 01:41:49 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: ELM [version 2.4 PL24]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


There was a fix for this posted end december to the list.
The options weren't correctly parsed, and the server coredumped.

Subject: Re: beta-16 dies with single parm.
Date: Mon, 29 Dec 1997

See the list archives at http://www.landfield.com/wu-ftpd/

> I just installed beta 16 on Solaris2.5.  I have a couple of problems.
[..]
> when tring to connect, the server reports
> "421 Service not available, remote server has closed connection"

Josef Siemes,
[email protected]

From [email protected]  Thu Jan  8 15:20:28 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id PAA05385;
       Thu, 8 Jan 1998 15:20:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA13944;
       Thu, 8 Jan 1998 15:16:35 -0600 (CST)
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 PAA13234
       for <[email protected]>; Thu, 8 Jan 1998 15:11:22 -0600 (CST)
Received: from dadd.ti.com. ([156.117.179.59]) by gatekeep.ti.com (8.8.8) with ESMTP id PAA12028; Thu, 8 Jan 1998 15:10:51 -0600 (CST)
Received: from pavis.dadd.ti.com by dadd.ti.com. (8.8.4/)
         id PAA07688; Thu, 8 Jan 1998 15:10:48 -0600 (CST)
Received: by pavis.dadd.ti.com id <[email protected]>; Thu, 8 Jan 1998 15:10:47 -0600
Message-Id: <[email protected]>
Date: Thu, 8 Jan 98 15:10:46 CST
Reply-To: [email protected] (Bob Luckin)
Sender: [email protected]
From: Bob Luckin <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: How can I enable Site EXEC
In-Reply-To: <[email protected]>; from "Scot Needy" at Jan 08, 98 3:26 pm
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Scot Needy said :-
> Solaris 2.5.1
>
> How can I enable site exec chmod?
>
> We only allow real users in to publish html in a chrooted env
> and we also allow them to do their own CGI.
>
> We need to enable the site exec.
>
> Umask is only working for directories.

If ALL you want to do is chmod, you don't need to enable site exec.
WU-FTPD supports chmod via the SITE CHMOD command (ie. no exec needed).

I'm running on Solaris 2.5 and I can connect from an HP-UX ftp client
(which has a built-in "chmod" command - which I assume issues a "SITE CHMOD")
and it works fine; if I connect from a Solaris client I have to use
"quote site chmod", but this also works - I don't have site exec enabled on
my Solaris 2.5 server.

(I'm running an old version of wu-ftpd, but I assume this aspect hasn't
changed significantly.  Someone please correct me if site exec is now
required...)

I hope this helps solve your problem.

Cheers, Bob
--
Bob Luckin      [email protected]
"Emit no data, coder ?  Adapt !  FTP Ada, redo C a tad - on time !"
[http://www.dhc.net/~luckin/palindromes.html]

From [email protected]  Thu Jan  8 20:01:23 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id UAA06496;
       Thu, 8 Jan 1998 20:01:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA06781;
       Thu, 8 Jan 1998 19:57:56 -0600 (CST)
Received: from xavier.ups.com (xavier.ups.com [198.80.14.117])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA06994
       for <[email protected]>; Thu, 8 Jan 1998 19:52:06 -0600 (CST)
Received: from revere2.telecom.ups.com (localhost [127.0.0.1])
       by xavier.ups.com (8.8.7/UPS) with ESMTP id UAA18445
       for <[email protected]>; Thu, 8 Jan 1998 20:50:52 -0500 (EST)
Received: from tel1mlg.telecom.ups.com (dialup6.telecom.ups.com [153.2.164.206])
       by revere2.telecom.ups.com (8.8.7/UPS) with SMTP id UAA14379
       for <[email protected]>; Thu, 8 Jan 1998 20:50:51 -0500 (EST)
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 20:50:45 -0500
Reply-To: [email protected]
Sender: [email protected]
From: "Maria L. Giamboi" <[email protected]>
To: [email protected]
Subject: ftp exploits
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

While testing wu-ftpd-2.4.2-beta-16 I came across a very recent exploit
associated with wu-ftpd at www.rootshell.com. If go there and search for
ftp there are several exploits listed, the most recent date 1/8/98. I
attempted to run that one and it didn't appear to do anything. Are there
patches or ways to protect against these types of exploits?

Maria

From [email protected]  Thu Jan  8 21:49:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA07029;
       Thu, 8 Jan 1998 21:48:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA12631;
       Thu, 8 Jan 1998 21:44:24 -0600 (CST)
Received: from implode.root.com (implode.root.com [198.145.90.17])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA16669
       for <[email protected]>; Thu, 8 Jan 1998 21:39:49 -0600 (CST)
Received: from implode.root.com (localhost [127.0.0.1])
       by implode.root.com (8.8.5/8.8.5) with ESMTP id TAA00677;
       Thu, 8 Jan 1998 19:38:29 -0800 (PST)
Message-Id: <[email protected]>
Date: Thu, 08 Jan 1998 19:38:29 -0800
Reply-To: [email protected]
Sender: [email protected]
From: David Greenman <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: ftp exploits
In-Reply-To: Your message of "Thu, 08 Jan 1998 20:50:45 EST."
            <[email protected]>
X-Sender: [email protected]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>While testing wu-ftpd-2.4.2-beta-16 I came across a very recent exploit
>associated with wu-ftpd at www.rootshell.com. If go there and search for
>ftp there are several exploits listed, the most recent date 1/8/98. I
>attempted to run that one and it didn't appear to do anything. Are there
>patches or ways to protect against these types of exploits?

  The one with the date of 1/8/98 tries to take advantage of the SIGURG
signal related bug that I discovered about a year ago. I know this one was
fixed (I think in beta-15, but I'm not sure about that).

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project

From [email protected]  Thu Jan  8 22:41:23 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA07375;
       Thu, 8 Jan 1998 22:41:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA03910;
       Thu, 8 Jan 1998 22:38:26 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA20414
       for <[email protected]>; Thu, 8 Jan 1998 22:37:57 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by thongvilay.giganet.net (8.8.5/8.8.5) with SMTP id NAA23441;
       Fri, 9 Jan 1998 13:37:46 +0900 (JST)
Message-Id: <Pine.GSO.3.95LJ1.1b4.980109133731.25211F-100000@thongvilay.giganet.net>
Date: Fri, 9 Jan 1998 13:37:46 +0900 (JST)
Reply-To: [email protected]
Sender: [email protected]
From: Tatsuya Kawasaki <[email protected]>
To: Janet Leung <[email protected]>
Cc: [email protected]
Subject: Re: Help w/ beta-16 installation
In-Reply-To: <Pine.3.89.9801081149.A21497-0100000@paris>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

try gcc, it seems to work better to complie ANYTHING?

tatsuya


$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9(B $B$+$o$5$-(B@ giganet$B$G$9!#(B




$B$+$o$5$-(B


= = = = = =
$BEEOC(B 03-3239-0607 fax 03-3239-2609
business network telecom
http://www.giganet.net

On Thu, 8 Jan 1998, Janet Leung wrote:

> During the upgrade of beta-16 version of wu-ftpd, I ran into the
> following error message while doing "./build sol":
>
> Making ftpd.
> cc -g -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
> logwtmp.o popen.o vers.o access.o  extensions.o  realpath.o acl.o
> private.o authenticate.o conversions.o hostacc.o  sigfix.o -lsupport
> -lsocket -lnsl -lgen
> ld: fatal: file access.o: unknown type, unable to process using elf(3E)
> libraries
> ld: fatal: File processing errors.  No output written to ftpd
> *** Error code 1
> make: Fatal error: Command failed for target `ftpd'
>
> Could somebody please tell me what went wrong and how I could resolve
> this problem.
>
> Thanks,
> Janet Leung, TACTech, Inc., Yorba Linda, CA 92887-4608
>
>


From [email protected]  Fri Jan  9 06:49:39 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id GAA19401;
       Fri, 9 Jan 1998 06:49:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA00965;
       Fri, 9 Jan 1998 06:47:19 -0600 (CST)
Received: from finch.engrs.infi.net (finch.engrs.infi.net [206.153.61.77])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA15389
       for <[email protected]>; Fri, 9 Jan 1998 06:35:07 -0600 (CST)
Received: by finch.engrs.infi.net id AA04295; Fri, 9 Jan 1998 07:33:27 -0500
Message-Id: <[email protected]>
Date: Fri, 09 Jan 1998 07:33:27 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Scot Needy <[email protected]>
To: Bob Luckin <[email protected]>
Cc: [email protected]
Subject: Re: How can I enable Site EXEC
References: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.04 [en] (X11; I; OSF1 V4.0 alpha)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Bob;

Thanks for your RE but I think I got problems which stem from
compile time. Here all the commands ftpd understands.
ftp> ?
Commands may be abbreviated.  Commands are:

!               cr              macdef          proxy           send
$               delete          mdelete         sendport        status
account         debug           mdir            put             struct
append          dir             mget            pwd             sunique
ascii           disconnect      mkdir           quit            tenex
bell            form            mls             quote           trace
binary          get             mode            recv            type
bye             glob            mput            remotehelp      user
case            hash            nmap            rename          verbose
cd              help            ntrans          reset           ?
cdup            lcd             open            rmdir
close           ls              prompt          runique
ftp>




Bob Luckin wrote:
>
> Scot Needy said :-
> > Solaris 2.5.1
> >
> > How can I enable site exec chmod?
> >
> > We only allow real users in to publish html in a chrooted env
> > and we also allow them to do their own CGI.
> >
> > We need to enable the site exec.
> >
> > Umask is only working for directories.
>
> If ALL you want to do is chmod, you don't need to enable site exec.
> WU-FTPD supports chmod via the SITE CHMOD command (ie. no exec needed).
>
> I'm running on Solaris 2.5 and I can connect from an HP-UX ftp client
> (which has a built-in "chmod" command - which I assume issues a "SITE CHMOD")
> and it works fine; if I connect from a Solaris client I have to use
> "quote site chmod", but this also works - I don't have site exec enabled on
> my Solaris 2.5 server.
>
> (I'm running an old version of wu-ftpd, but I assume this aspect hasn't
> changed significantly.  Someone please correct me if site exec is now
> required...)
>
> I hope this helps solve your problem.
>
> Cheers, Bob
> --
> Bob Luckin      [email protected]
> "Emit no data, coder ?  Adapt !  FTP Ada, redo C a tad - on time !"
> [http://www.dhc.net/~luckin/palindromes.html]

From [email protected]  Fri Jan  9 08:09:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA19659;
       Fri, 9 Jan 1998 08:09:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA06090;
       Fri, 9 Jan 1998 08:07:25 -0600 (CST)
Received: from gaia.vr.net ([email protected] [205.133.13.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA05742
       for <[email protected]>; Fri, 9 Jan 1998 08:02:45 -0600 (CST)
Received: from localhost (lundberg@localhost)
       by gaia.vr.net (8.8.5/8.8.5) with SMTP id JAA03174;
       Fri, 9 Jan 1998 09:02:36 -0500
Message-Id: <[email protected]>
Date: Fri, 9 Jan 1998 09:02:36 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Gregory A Lundberg <[email protected]>
To: Scot Needy <[email protected]>
Cc: Bob Luckin <[email protected]>, [email protected]
Subject: Re: How can I enable Site EXEC
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Um .. nope .. those are the commands your local ftp client understands.


From [email protected]  Fri Jan  9 09:57:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA20197;
       Fri, 9 Jan 1998 09:57:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA18941;
       Fri, 9 Jan 1998 09:56:11 -0600 (CST)
Received: from xavier.ups.com (xavier.ups.com [198.80.14.117])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA18715
       for <[email protected]>; Fri, 9 Jan 1998 09:53:55 -0600 (CST)
Received: from revere2.telecom.ups.com (localhost [127.0.0.1])
       by xavier.ups.com (8.8.7/UPS) with ESMTP id KAA25838
       for <[email protected]>; Fri, 9 Jan 1998 10:53:25 -0500 (EST)
Received: from tel1mlg.telecom.ups.com (mystique.telecom.ups.com [153.2.164.42])
       by revere2.telecom.ups.com (8.8.7/UPS) with SMTP id KAA10224
       for <[email protected]>; Fri, 9 Jan 1998 10:53:24 -0500 (EST)
Message-Id: <[email protected]>
Date: Fri, 09 Jan 1998 10:53:21 -0500
Reply-To: [email protected]
Sender: [email protected]
From: "Maria L. Giamboi" <[email protected]>
To: [email protected]
Subject: File Transfer Size Limit
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Does anyone know if there is a way to set the max. file size that is
allowed to be transfered?

From [email protected]  Fri Jan  9 10:29:58 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA20389;
       Fri, 9 Jan 1998 10:29:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA22667;
       Fri, 9 Jan 1998 10:27:58 -0600 (CST)
Received: from ns.inel.gov (ns.INEL.GOV [204.134.132.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA21624
       for <[email protected]>; Fri, 9 Jan 1998 10:26:00 -0600 (CST)
Received: from moran ([134.20.96.168]) by ns.inel.gov (Post.Office MTA v3.1
         release PO203a  ID# 0-39246U200L200S0) with SMTP id AAA8613
         for <[email protected]>; Fri, 9 Jan 1998 09:25:50 -0700
Received: by moran; (5.65/1.1.8.2/10May94-1009AM)
       id AA00595; Fri, 9 Jan 1998 09:25:49 -0700
Message-Id: <gll-9800091625.AA0001556@moran>
Date: Fri, 9 Jan 1998 09:25:49 -0700
Reply-To: [email protected]
Sender: [email protected]
From: Gerald Litteer <[email protected]>
To: [email protected]
Subject: Using Autogroup for WRITE permission....
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I need to set up my anonymous directories so inside users (ie., users from *.inel.gov) can
write to a given directory (Outgoing).
The outside users (non *.inel.gov) would be able to read this directory only.   I have autogroup
setup which solves half of the problem (inside reading and outside write-only directory).
Is there a way to fix autogroup to perform as I need.
Where do I need to 'fix' the code???
Note:   The Incoming directory is setup so outsiders can not 'see' its contents.

The directories are set up as follows:

d-wxrwxr-x   2 ftp      INEEL        512 Jan  7 13:44 Incoming
dr-xrwxr-x   2 ftp      INEEL        512 Jan  7 13:44 Outgoing

I'll share any code/replies....
Thanks in advance...

--
------------------------------------------------------------------
Jerry Litteer
Scientific Technical Support      e-mail:  [email protected]
Lockheed-Martin Idaho Technologies Company
POB 1625 M.S. 3640                Phone: (208) 526-9117
Idaho Falls, Id. 83415-3640       FAX:   (208) 526-2641
------------------------------------------------------------------
"Machines were mice and men were lions once upon a time.
But, now that it's the opposite, it's twice upon a time."  -- Moondog (Louis Hardin), 1960's


From [email protected]  Fri Jan  9 12:05:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA20940;
       Fri, 9 Jan 1998 12:05:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA00259;
       Fri, 9 Jan 1998 12:03:23 -0600 (CST)
Received: from jester.ti.com (jester.ti.com [192.94.94.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA32732
       for <[email protected]>; Fri, 9 Jan 1998 12:01:03 -0600 (CST)
Received: from dadd.ti.com. ([156.117.180.253]) by jester.ti.com (8.8.8) with ESMTP id MAA11353; Fri, 9 Jan 1998 12:00:03 -0600 (CST)
Received: from pavis.dadd.ti.com by dadd.ti.com. (8.8.4/)
         id LAA12112; Fri, 9 Jan 1998 11:59:57 -0600 (CST)
Received: by pavis.dadd.ti.com id <[email protected]>; Fri, 9 Jan 1998 11:59:57 -0600
Message-Id: <[email protected]>
Date: Fri, 9 Jan 98 11:59:56 CST
Reply-To: [email protected] (Bob Luckin)
Sender: [email protected]
From: Bob Luckin <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: How can I enable Site EXEC
In-Reply-To: <[email protected]>; from "Scot Needy" at Jan 09, 98 7:33 am
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Scot Needy said :-
>  Thanks for your RE but I think I got problems which stem from
>  compile time. Here all the commands ftpd understands.
> ftp> ?
> Commands may be abbreviated.  Commands are:
>
> !               cr              macdef          proxy           send
> $               delete          mdelete         sendport        status
> account         debug           mdir            put             struct
> append          dir             mget            pwd             sunique
> ascii           disconnect      mkdir           quit            tenex
> bell            form            mls             quote           trace
> binary          get             mode            recv            type
> bye             glob            mput            remotehelp      user
> case            hash            nmap            rename          verbose
> cd              help            ntrans          reset           ?
> cdup            lcd             open            rmdir
> close           ls              prompt          runique
> ftp>

Gregory Lundberg replied :-

>Um .. nope .. those are the commands your local ftp client understands

Exactly.  What you have listed above are the commands your ftp client
program knows - not the commands understood by the wu-ftpd server.

Since your client understands "quote" (which passes the rest of the command
directly to the FTP server), if you enter something like :-
  quote site chmod 666 myfile
in your ftp, it should work with the wu-ftpd server (which in turn should
unbderstand the "site chmod" command).

Try it and see...

Cheers, Bob
--
Bob Luckin      [email protected]
"Emit no data, coder ?  Adapt !  FTP Ada, redo C a tad - on time !"
[http://www.dhc.net/~luckin/palindromes.html]


> Bob Luckin wrote:
> >
> > Scot Needy said :-
> > > Solaris 2.5.1
> > >
> > > How can I enable site exec chmod?
> > >
> > > We only allow real users in to publish html in a chrooted env
> > > and we also allow them to do their own CGI.
> > >
> > > We need to enable the site exec.
> > >
> > > Umask is only working for directories.
> >
> > If ALL you want to do is chmod, you don't need to enable site exec.
> > WU-FTPD supports chmod via the SITE CHMOD command (ie. no exec needed).
> >
> > I'm running on Solaris 2.5 and I can connect from an HP-UX ftp client
> > (which has a built-in "chmod" command - which I assume issues a "SITE CHMOD")
> > and it works fine; if I connect from a Solaris client I have to use
> > "quote site chmod", but this also works - I don't have site exec enabled on
> > my Solaris 2.5 server.
> >
> > (I'm running an old version of wu-ftpd, but I assume this aspect hasn't
> > changed significantly.  Someone please correct me if site exec is now
> > required...)
> >
> > I hope this helps solve your problem.

From [email protected]  Fri Jan  9 13:04:06 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA21310;
       Fri, 9 Jan 1998 13:04:05 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA05881;
       Fri, 9 Jan 1998 13:01:57 -0600 (CST)
Received: from finch.engrs.infi.net (finch.engrs.infi.net [206.153.61.77])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAB05491
       for <[email protected]>; Fri, 9 Jan 1998 12:57:27 -0600 (CST)
Received: by finch.engrs.infi.net id AA04987; Fri, 9 Jan 1998 13:55:35 -0500
Message-Id: <[email protected]>
Date: Fri, 09 Jan 1998 13:55:34 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Scot Needy <[email protected]>
To: Bob Luckin <[email protected]>
Cc: [email protected]
Subject: Re: How can I enable Site EXEC
References: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.04 [en] (X11; I; OSF1 V4.0 alpha)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Bob Luckin wrote:
>
> Scot Needy said :-
> >  Thanks for your RE but I think I got problems which stem from
> >  compile time. Here all the commands ftpd understands.
> > ftp> ?
> > Commands may be abbreviated.  Commands are:
> >
> > !               cr              macdef          proxy           send
> > $               delete          mdelete         sendport        status
> > account         debug           mdir            put             struct
> > append          dir             mget            pwd             sunique
> > ascii           disconnect      mkdir           quit            tenex
> > bell            form            mls             quote           trace
> > binary          get             mode            recv            type
> > bye             glob            mput            remotehelp      user
> > case            hash            nmap            rename          verbose
> > cd              help            ntrans          reset           ?
> > cdup            lcd             open            rmdir
> > close           ls              prompt          runique
> > ftp>
>
> Gregory Lundberg replied :-
>
> >Um .. nope .. those are the commands your local ftp client understands
>
> Exactly.  What you have listed above are the commands your ftp client
> program knows - not the commands understood by the wu-ftpd server.
>
> Since your client understands "quote" (which passes the rest of the command
> directly to the FTP server), if you enter something like :-
>    quote site chmod 666 myfile
> in your ftp, it should work with the wu-ftpd server (which in turn should
> unbderstand the "site chmod" command).
>
> Try it and see...
>
U R Right Sir

Thanks to all for the help and lesson

Scot


> Cheers, Bob
> --
> Bob Luckin      [email protected]
> "Emit no data, coder ?  Adapt !  FTP Ada, redo C a tad - on time !"
> [http://www.dhc.net/~luckin/palindromes.html]
>
> > Bob Luckin wrote:
> > >
> > > Scot Needy said :-
> > > > Solaris 2.5.1
> > > >
> > > > How can I enable site exec chmod?
> > > >
> > > > We only allow real users in to publish html in a chrooted env
> > > > and we also allow them to do their own CGI.
> > > >
> > > > We need to enable the site exec.
> > > >
> > > > Umask is only working for directories.
> > >
> > > If ALL you want to do is chmod, you don't need to enable site exec.
> > > WU-FTPD supports chmod via the SITE CHMOD command (ie. no exec needed).
> > >
> > > I'm running on Solaris 2.5 and I can connect from an HP-UX ftp client
> > > (which has a built-in "chmod" command - which I assume issues a "SITE CHMOD")
> > > and it works fine; if I connect from a Solaris client I have to use
> > > "quote site chmod", but this also works - I don't have site exec enabled on
> > > my Solaris 2.5 server.
> > >
> > > (I'm running an old version of wu-ftpd, but I assume this aspect hasn't
> > > changed significantly.  Someone please correct me if site exec is now
> > > required...)
> > >
> > > I hope this helps solve your problem.

From [email protected]  Fri Jan  9 15:48:20 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id PAA22077;
       Fri, 9 Jan 1998 15:48:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA22340;
       Fri, 9 Jan 1998 15:46:07 -0600 (CST)
Received: from delta.acabtu.com.mx (delta.acabtu.com.mx [200.33.20.90])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA22145
       for <[email protected]>; Fri, 9 Jan 1998 15:44:19 -0600 (CST)
Received: from acabtu.com.mx (delta.acabtu.com.mx [200.33.20.90])
       by delta.acabtu.com.mx (8.8.6/8.8.6) with ESMTP id PAA19275
       for <[email protected]>; Fri, 9 Jan 1998 15:45:05 -0800 (PST)
Message-Id: <[email protected]>
Date: Fri, 09 Jan 1998 15:45:05 -0800
Reply-To: [email protected]
Sender: [email protected]
From: "Ing. Diana Liz Tejeda Cortes" <[email protected]>
To: wu-ftpd <[email protected]>
Subject: anonymous and guest acct problems
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.03 [en] (X11; I; IRIX 5.3 IP22)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi everyone:

I read and did everything listed in anonymous FTP FAQ and How to setup
Guest accounts and I can't get it to work, this is my configuration...

Irix 5.3

WU-FTPD-2.4

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

/etc/ftpaccess

loginfails 2

class   all   real,guest,anonymous *

limit   all   20  Any     /etc/msgs/msg.toomany

readme  README*    login
readme  README*    cwd=*

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

compress        yes             local remote
tar             yes             local remote

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

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

log commands real,guest,anonymous
log transfers anonymous inbound,outbound
shutdown /etc/msgs/shutmsg

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

# specify the upload directory information
upload  /disk2/ftp  *             no
upload  /disk2/ftp  /incoming     no
upload  /disk2/ftp  /bin          no
upload  /disk2/ftp  /etc          no

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

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

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

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

email [email protected]
----------------------------
/etc/passwd

ftp:*:1467:20:Anonymous FTP:/disk2/ftp:/etc/ftponly
dtejeda:*:1465:400:FTP guest user:/disk2/temp:/etc/ftponly

-----------------------------
/etc/group

user::20:
ftpusers::400:dtejeda

-----------------------------
/etc/shells


/bin/sh
/bin/csh
/etc/ftponly

-----------------------------
ls -l /disk2/ftp

dr-xr-xr-x    8 root     user         512 Jan  8 09:39 .
drwxr-xr-x   29 root     root        1024 Jan  9 10:35 ..
-r--------    1 root     root         551 Jan  7 13:03 .cshrc
-r--------    1 root     daemon         0 Jan  7 13:03 .forward
-r--------    1 root     root         632 Jan  7 13:01 .login
-r--------    1 root     root         641 Jan  7 13:03 .profile
-r--------    1 root     daemon         0 Jan  7 13:03 .rhosts
-rw-r--r--    1 root     daemon       606 Jan  7 13:03 README
d--x--x--x    2 root     daemon       512 Jan  7 12:58 bin
dr-xr-xr-x    2 root     daemon       512 Jan  7 14:03 dev
d--x--x--x    3 root     daemon       512 Jan  8 19:18 etc
dr-xr-xr-x    4 root     user         512 Jan  7 13:03 internet
drwxr-xr-x    2 root     daemon       512 Jan  7 13:00 lib
dr-xr-xr-x    7 root     user        1024 Jan  7 12:56 pub

------------------------------
ls -l /disk2/temp

drwxrwxr-x    6 dtejeda  ftpusers    1024 Jan  8 19:17 .
drwxr-xr-x   29 root     root        1024 Jan  9 10:35 ..
d--x--x--x    2 root     root         512 Jan  7 13:40 bin
dr-xr-xr-x    2 root     root         512 Jan  7 14:03 dev
d--x--x--x    2 root     root         512 Jan  8 13:38 etc
-rw-r--r--    1 dtejeda  ftpusers    1540 Jan  7 13:52 exrut1.txt
-rw-r--r--    1 dtejeda  ftpusers 10290604 Jan  7 13:52
gcc-2.7.2.1.tar.gz
-rw-r--r--    1 dtejeda  ftpusers   72676 Jan  7 13:52 gzip-1.24
-rw-r--r--    1 dtejeda  ftpusers   16498 Jan  7 13:52 iss121.shar.gz
d--x--x--x    2 root     root         512 Jan  7 13:40 lib

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

LOG of the Anonymous FTP session:

Connected to: btu
USER anonymous
331 Guest login ok, send your complete e-mail address as password.
PASS
230-Please read the file README
230-  it was last modified on Tue Dec 23 01:15:11 1997 - 17 days ago
230 Guest login ok, access restrictions apply.
SYST
CWD /disk2/ftp
PWD
CWD /
Connection Closed

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

LOG of the Guest Account Session:

Connected to 200.33.20.90.
220 delta FTP server (Version wu-2.4(3) Tue Dec 23 13:37:32 PST 1997)
ready.
Name (200.33.20.90:root): dtejeda
331 Password required for dtejeda.
Password:
230 User dtejeda logged in.  Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
---------------------------------------------------

Do you know why is doing that?

If the guest user is not in the ftpusers group, then the `ls` command
shows the directory list.

Can you help me with this or where can I have some help?

Thanks in Advance!!!

--
...........................................................
Ing. Diana Liz Tejeda Cortes    [email protected]
System Administrator
BTU Comunicacion, S.A. de C.V.  http://www.acabtu.com.mx

From [email protected]  Fri Jan  9 18:50:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id SAA22913;
       Fri, 9 Jan 1998 18:50:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA07172;
       Fri, 9 Jan 1998 18:48:39 -0600 (CST)
Received: from sgi.sgi.com (SGI.COM [192.48.153.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA06959
       for <[email protected]>; Fri, 9 Jan 1998 18:45:49 -0600 (CST)
Received: from odin.corp.sgi.com (odin.corp.sgi.com [192.26.51.194]) by sgi.sgi.com (950413.SGI.8.6.12/970507) via ESMTP id QAA10783
       for <@external-mail-relay.sgi.com:[email protected]>; Fri, 9 Jan 1998 16:45:47 -0800
       env-from ([email protected])
Received: from rock.csd.sgi.com by odin.corp.sgi.com via ESMTP (951211.SGI.8.6.12.PATCH1502/951211.SGI)
       for <@fddi-odin.corp.sgi.com:[email protected]> id QAA05966; Fri, 9 Jan 1998 16:45:39 -0800
Received: from bromo.csd.sgi.com by rock.csd.sgi.com via ESMTP (950413.SGI.8.6.12/910805.SGI)
       for <@rock.csd.sgi.com:[email protected]> id QAA04578; Fri, 9 Jan 1998 16:45:39 -0800
Received: by bromo.csd.sgi.com (950413.SGI.8.6.12/911001.SGI)
       for [email protected] id QAA28561; Fri, 9 Jan 1998 16:45:38 -0800
Message-Id: <[email protected]>
Date: Fri, 9 Jan 1998 16:45:36 -0800
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Muljadi Sulistio)
To: [email protected]
Subject: tar on the fly
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Is there any documentation on how to setup tar on the fly?  I'm interested in
setting up a ftp server that will create tar on the fly for download.  Is there
any drawbacks on using this feature, security or resources ?
Thanks.

--
Muljadi Sulistio
[email protected]
Silicon Graphics, Inc.

From [email protected]  Sat Jan 10 08:51:05 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA07053;
       Sat, 10 Jan 1998 08:51:04 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA01623;
       Sat, 10 Jan 1998 08:49:22 -0600 (CST)
Received: from acesag.auburn.edu (dns.acesag.auburn.edu [131.204.46.50])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA01633
       for <[email protected]>; Sat, 10 Jan 1998 08:37:01 -0600 (CST)
Received: from bert by acesag.auburn.edu (SMI-8.6/SMI-SVR4dns)
       id IAA23515; Sat, 10 Jan 1998 08:36:59 -0600
Message-Id: <Pine.SOL.3.96.980110081724.13093C-100000@bert>
Date: Sat, 10 Jan 1998 08:36:58 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: "Gregory A. Parmer" <[email protected]>
To: [email protected]
Subject: "User xfer access denied"
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: gparmer@bert
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


ftp> user
(username) xfer
530 User xfer access denied.
Login failed.

Does wu-ftpd deny access to real accounts under uid 100?

Both anon and real ftp are working fine, but this particular
account used only for administrative transfers fails.
The account is setup up with a shell of "/bin/true" as described in the
FAQ. The only thing odd I see is that the uid is one of typical
admin accounts ( <100).

It never asks for a passwd, which is why I suspected a shell
or uid problem. Any ideas?

TIA,
-greg


From [email protected]  Sat Jan 10 12:16:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA07923;
       Sat, 10 Jan 1998 12:16:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA14612;
       Sat, 10 Jan 1998 12:15:03 -0600 (CST)
Received: from camco2.celestial.com ([email protected] [192.136.111.3])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA07716
       for <[email protected]>; Sat, 10 Jan 1998 12:08:49 -0600 (CST)
Received: from localhost (2730 bytes) by camco2.celestial.com
       via sendmail with P:stdio/R:inet_hosts/T:smtp
       (sender: <bill>) (ident <bill> using unix)
       id <[email protected]>
       for <[email protected]>; Sat, 10 Jan 1998 10:08:43 -0800 (PST)
       (Smail-3.2.0.96 1997-Jun-2 #19 built 1997-Jun-30)
Message-Id: <[email protected]>
Date: Sat, 10 Jan 1998 10:08:43 -0800
Reply-To: [email protected]
Sender: [email protected]
From: Bill Campbell <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: tar on the fly
In-Reply-To: <[email protected]>; from Muljadi Sulistio on Fri, Jan 09, 1998 at 04:45:36PM -0800
References: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=YiEDa0DAkWCtVeE4
X-Mailer: Mutt 0.88
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


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

On Fri, Jan 09, 1998 at 04:45:36PM -0800, Muljadi Sulistio wrote:
>Is there any documentation on how to setup tar on the fly?  I'm interested in
>setting up a ftp server that will create tar on the fly for download.  Is there
>any drawbacks on using this feature, security or resources ?
>Thanks.

This only requires setting up the appropriate entries in your
ftpconversions file, and putting the support programs in the ~ftp/bin
directory.  I'm attaching a sample ftpconversions file which allows
automatic .tar, .tar.Z, and .tar.gz requests to send straight tar,
compressed tar, and gzip'ed tar files respectively.

Like all things allowing this is a trade-off.  We recommend that people
getting our mailing list archives from our ftp site use the tar.gz options
for multiple files or .gz for single files as we keep the archives in
uncompressed Berkeley mailbox format so that we can index them and retrieve
on the indexes.

The CPU time for compression and/or tar is probably offset by the decreased
bandwidth consumed in the transfer.

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

Bagdikian's Observation:
       Trying to be a first-rate reporter on the average American
       newspaper is like trying to play Bach's "St. Matthew Passion"
       on a ukelele.

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=ftpconversions

:.Z:  :  :/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
:   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
:.gz: :  :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP
:   : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP
:   : :.tar:/bin/gtar -c -f - %s:T_REG|T_DIR:O_TAR:TAR
:   : :.tar.Z:/bin/gtar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS
:   : :.tar.gz:/bin/gtar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP

--YiEDa0DAkWCtVeE4--

From [email protected]  Sun Jan 11 06:20:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id GAA21833;
       Sun, 11 Jan 1998 06:20:37 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA24404;
       Sun, 11 Jan 1998 06:18:23 -0600 (CST)
Received: from ns.sbs.de (ns.sbs.de [194.112.84.17])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id GAA24101
       for <[email protected]>; Sun, 11 Jan 1998 06:09:47 -0600 (CST)
Received: from mail.fth.sbs.de (mail.fth.sbs.de [192.129.41.35])
       by ns.sbs.de (8.8.8/8.8.6) with ESMTP id NAA13890
       for <[email protected]>; Sun, 11 Jan 1998 13:13:08 +0100 (MET)
Received: from desaster.fth.sbs.de (desaster.fth.sbs.de [192.129.41.36])
       by mail.fth.sbs.de (8.8.7/8.8.6) with ESMTP id NAA09221
       for <[email protected]>; Sun, 11 Jan 1998 13:06:18 +0100 (MET)
Received: (from hh@localhost)
       by desaster.fth.sbs.de (8.8.8/8.8.8) id OAA03702;
       Sun, 11 Jan 1998 14:07:13 +0100 (MET)
Message-Id: <[email protected]>
Date: Sun, 11 Jan 1998 14:07:13 +0100
Reply-To: [email protected]
Sender: [email protected]
From: Hermann Heimhardt <[email protected]>
To: [email protected]
Subject: Re: "User xfer access denied"
In-Reply-To: <Pine.SOL.3.96.980110081724.13093C-100000@bert>; from Gregory A. Parmer on Sat, Jan 10, 1998 at 08:36:58AM -0600
References: <[email protected]> <Pine.SOL.3.96.980110081724.13093C-100000@bert>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Envelope-Sender-Is: [email protected] (at relayer mail.fth.sbs.de)
X-Mailer: Mutt 0.88
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Sat, Jan 10, 1998 at 08:36:58AM -0600, Gregory A. Parmer wrote:
> Does wu-ftpd deny access to real accounts under uid 100?
Nope.
>
> Both anon and real ftp are working fine, but this particular
> account used only for administrative transfers fails.
> The account is setup up with a shell of "/bin/true" as described in the
> FAQ. The only thing odd I see is that the uid is one of typical
> admin accounts ( <100).
Do you have /bin/true listed as a valid shell in /etc/shells ?

cheers

hh
--
[email protected]    HH937-RIPE   http://www.scn.de/~hermann (PGP key available)
Hermann Heimhardt           Siemens Business Services Internet Administration
Van Roy's Law:          An unbreakable toy is useful for breaking other toys.

From [email protected]  Sun Jan 11 08:32:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA22103;
       Sun, 11 Jan 1998 08:32:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA31733;
       Sun, 11 Jan 1998 08:30:57 -0600 (CST)
Received: from plazaone.com ([209.60.152.199])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA31614
       for <[email protected]>; Sun, 11 Jan 1998 08:22:41 -0600 (CST)
Received: from plazaone.com ([email protected] [192.100.81.120])
       by plazaone.com (8.8.7/8.8.7) with SMTP id GAA11204
       for <[email protected]>; Sun, 11 Jan 1998 06:22:49 -0800 (PST)
       (envelope-from [email protected])
Message-Id: <[email protected]>
Date: Sun, 11 Jan 1998 07:23:12 -0800
Reply-To: [email protected]
Sender: [email protected]
From: Miles Welter <[email protected]>
To: [email protected]
Subject: Anonymous login, can't see files.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 2.1.2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
I just joined this list

I just setup wu-ftpd-2.4.2-beta-16 for the first time and maybe I missed
something in the setup. My problem is I cannot get a file listing for either
an anonymous login or a login to my virtual ftp site. I can change
directories if I know what they are and I can post file to them if they are
777. but I cannot see the files either when I login to the account or when I
cd to new directory. can anyone help? Also what is the procedure for
restricting REAL users to their home directories.
-
Miles.


From [email protected]  Sun Jan 11 10:33:01 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA22378;
       Sun, 11 Jan 1998 10:33:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA05030;
       Sun, 11 Jan 1998 10:31:12 -0600 (CST)
Received: from acesag.auburn.edu (dns.acesag.auburn.edu [131.204.46.50])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA01918
       for <[email protected]>; Sun, 11 Jan 1998 10:21:38 -0600 (CST)
Received: from bert by acesag.auburn.edu (SMI-8.6/SMI-SVR4dns)
       id KAA09613; Sun, 11 Jan 1998 10:21:32 -0600
Message-Id: <Pine.SOL.3.96.980111101449.13898A-100000@bert>
Date: Sun, 11 Jan 1998 10:21:31 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: "Gregory A. Parmer" <[email protected]>
To: Hermann Heimhardt <[email protected]>
Cc: [email protected]
Subject: THANKS! --Re: "User xfer access denied"
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: gparmer@bert
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



On Sun, 11 Jan 1998, Hermann Heimhardt wrote:
> Do you have /bin/true listed as a valid shell in /etc/shells ?

Thanks to Jim Davis also.

I misread the FAQ. Duh.

-greg



From [email protected]  Sun Jan 11 17:58:06 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA23606;
       Sun, 11 Jan 1998 17:58:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA04289;
       Sun, 11 Jan 1998 17:56:26 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA03929
       for <[email protected]>; Sun, 11 Jan 1998 17:51:05 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id RAA23591;
       Sun, 11 Jan 1998 17:51:11 -0600
Message-Id: <[email protected]>
Date: Sun, 11 Jan 1998 17:51:11 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Miles Welter <[email protected]>
Cc: [email protected]
Subject: Re: Anonymous login, can't see files.
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


See the guest howto for answers to both questions.

  -- Michael

On Sun, 11 Jan 1998, Miles Welter wrote:

> I just setup wu-ftpd-2.4.2-beta-16 for the first time and maybe I missed
> something in the setup. My problem is I cannot get a file listing for either
> an anonymous login or a login to my virtual ftp site. I can change
> directories if I know what they are and I can post file to them if they are
> 777. but I cannot see the files either when I login to the account or when I
> cd to new directory. can anyone help? Also what is the procedure for
> restricting REAL users to their home directories.


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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Tue Jan 13 15:37:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id PAA27489;
       Tue, 13 Jan 1998 15:37:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA19971;
       Tue, 13 Jan 1998 15:34:40 -0600 (CST)
Received: from mail.cs.utexas.edu ([email protected] [128.83.139.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA19425
       for <[email protected]>; Tue, 13 Jan 1998 15:28:31 -0600 (CST)
Received: from baseball.cs.utexas.edu ([email protected] [128.83.144.36])
       by mail.cs.utexas.edu (8.8.5/8.8.5) with ESMTP id PAA24131
       for <[email protected]>; Tue, 13 Jan 1998 15:28:19 -0600 (CST)
Received: by baseball.cs.utexas.edu (8.8.5/Client-1.5)
       id PAA07360; Tue, 13 Jan 1998 15:28:16 -0600
Message-Id: <[email protected]>
Date: Tue, 13 Jan 1998 15:28:16 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Allen Walker <[email protected]>
To: [email protected]
Subject: linux guest dir only access
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have wu-ftp beta[15] installed on a redhat 5.0 (kernel 2.0.33). Anyhow
I'm trying to setup ftp only accounts. I've got it workiing except for the
fact that when someone ftp's, it says invalid login, but if I telnet they
can login so I know the user is in the system properly. I want the users
to only be able to see their own direcotry and not be able to chroot()
back. I've read how to do it, but for some reason the ftp daemon isn't
reading the passwd file or whatever it needs to read in order for it to
check users and their passwords.

Any help appreciated.

Thanks
-allen-

---
Allen Walker               |            University of Texas at Austin
<[email protected]>    |   http://www.cs.utexas.edu/users/awalker


From [email protected]  Tue Jan 13 16:31:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA27770;
       Tue, 13 Jan 1998 16:30:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA23988;
       Tue, 13 Jan 1998 16:28:21 -0600 (CST)
Received: from deepthought.cs.utexas.edu ([email protected] [128.83.120.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA23562
       for <[email protected]>; Tue, 13 Jan 1998 16:22:34 -0600 (CST)
Received: from baseball.cs.utexas.edu ([email protected] [128.83.144.36])
       by deepthought.cs.utexas.edu (8.8.5/8.8.5) with ESMTP id QAA26441
       for <[email protected]>; Tue, 13 Jan 1998 16:22:26 -0600 (CST)
Received: by baseball.cs.utexas.edu (8.8.5/Client-1.5)
       id QAA07879; Tue, 13 Jan 1998 16:22:25 -0600
Message-Id: <[email protected]>
Date: Tue, 13 Jan 1998 16:22:25 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Allen Walker <[email protected]>
To: wu-ftpd <[email protected]>
Subject: anonymous ftp probs
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm getting this error with wu-ftp betat[15] with anonymous ftp:

530 Can't set guest privledges.
Here's my ftpaccess file
class   all   real,guest,anonymous  *

email root@localhost

loginfails 5

readme  README*    login
readme  README*    cwd=*

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

compress        yes             all
tar             yes             all
chmod           no              guest,anonymous
delete          no              guest,anonymous
overwrite       no              guest,anonymous
rename          no              guest,anonymous

guestgroup client

log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg

passwd-check rfc822 warn

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

guestgroup client

Thanks for any help
-allen-


---
Allen Walker               |            University of Texas at Austin
<[email protected]>    |   http://www.cs.utexas.edu/users/awalker


From [email protected]  Tue Jan 13 16:43:46 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA27831;
       Tue, 13 Jan 1998 16:43:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA25156;
       Tue, 13 Jan 1998 16:41:03 -0600 (CST)
Received: from natalia.fnn.net (root@[200.250.12.15])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA24927
       for <[email protected]>; Tue, 13 Jan 1998 16:39:27 -0600 (CST)
Received: from [200.250.12.92] (macintosh.fnn.net [200.250.12.92])
       by natalia.fnn.net (8.8.5/8.8.5) with SMTP id TAA04061
       for <[email protected]>; Tue, 13 Jan 1998 19:46:00 -0300
Message-Id: <[email protected]>
Date: Tue, 13 Jan 98 20:45:22 -0300
Reply-To: [email protected]
Sender: [email protected]
From: "Eduardo B. Fonseca" <[email protected]>
To: "wu-ftpd list" <[email protected]>
Subject: Guest Acct Problems
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Dear list,

I *really* need some help... Lemme explain... I'm own an ISP here... and
I used to run Windows NT on the FTP server... everything was nice, users
uploading their HomePages nicely, and such. But, I'm installing FreeBSD
on all machines on the network, because UNIX is a much better Network OS
than NT. And when I was installing the system, a friend of mine
recommended wu-ftpd, because of it's "Guest Accounts possibilities" (like
on my old NT system). But, I'm trying to set it up for a week... with no
success... I've read all faqs, docs, notes... everything about it. No
success. Even Michael Brennen does not know what the error could be. So I
ask you, if you are running wu-ftpd with FreeBSD, please, send me an
e-mail asap. I really need this working until Friday... thanks a lot.

Here is my configuration files...

Thanks.


<SNIP>

/etc/ftpaccess:

loginfails 2

class   local   real,guest,anonymous *.domain 200.250.12.0
class   remote  real,guest,anonymous *

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

banner /etc/banner

readme  README*    login
readme  README*    cwd=*

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

compress        yes             local remote
tar             yes             local remote
# allow use of private file for SITE GROUP and SITE GPASS?
private         no

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

log commands real
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg

# all the following default to "yes" for everybody
delete          no      anonymous         # delete permission?
overwrite       no      anonymous         # overwrite permission?
rename                  no              anonymous                       #
renam$
chmod           no      anonymous               # chmod permission?
umask           no      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 users

email [email protected]

<snip>

/etc/passwd: line 32
dudu:*:1005:1109:Dudu:/home/dudu/./:/etc/ftponly

<snip>

/etc/shells

# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/usr/local/bin/bash
/etc/ftponly
/etc/ftpno

<snip>
ls -l /home/dudu

-rw-r--r--  1 dudu  users    466 Jan  4 23:56 .cshrc
-r--------  1 root  daemon     0 Jan  5 00:36 .forward
-rw-r--r--  1 dudu  users    619 Jan  4 23:56 .login
-rw-r--r--  1 dudu  users    290 Jan  4 23:56 .mailrc
-rw-r--r--  1 dudu  users   1203 Jan  4 23:56 .profile
-r--------  1 root  daemon   257 Jan  5 00:36 .rhosts
d--x--x--x  2 root  daemon   512 Jan  5 00:40 bin
d--x--x--x  2 root  daemon   512 Jan  5 00:40 etc
drwxr-xr-x  2 root  users    512 Jan  5 00:41 pub

NOTE: every file listed on the guest-HOWTO is installed
(ls/passwd/group...)

<snip>

LOG OF THE FTP SESSION:

bash# ftp ftp.fnn.net

220 vanessa.fnn.net FTP server (Version wu-2.4.2-academ[BETA-16](1) Mon
Jan 5 02
:29:31 EDT 1998) ready.
Name (ftp.fnn.net:root): dudu
331 Password required for dudu.
Password:
550 Can't set guest privileges.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

<snip>

that's it... I hope I didn't miss anything.

Cheers,


____________________________________................
Eduardo Brasao da Fonseca
Technical Director
........................
The FutureNet Network
www.fnn.net
........................
[email protected]
[email protected]
____________________________________................


From [email protected]  Tue Jan 13 16:49:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA27867;
       Tue, 13 Jan 1998 16:49:13 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA25751;
       Tue, 13 Jan 1998 16:47:12 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA25269
       for <[email protected]>; Tue, 13 Jan 1998 16:41:59 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id QAA03983;
       Tue, 13 Jan 1998 16:42:04 -0600
Message-Id: <[email protected]>
Date: Tue, 13 Jan 1998 16:42:04 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Allen Walker <[email protected]>
Cc: [email protected]
Subject: Re: anonymous ftp probs
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


There could be any number of reasons for this having to do with
account configuration, etc. If you haven't already, get the guest
howto and *carefully* go over it.  Follow up on this list with
problems.

  -- Michael

On Tue, 13 Jan 1998, Allen Walker wrote:

> I'm getting this error with wu-ftp betat[15] with anonymous ftp:


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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Tue Jan 13 17:22:27 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA28101;
       Tue, 13 Jan 1998 17:22:00 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA27716;
       Tue, 13 Jan 1998 17:19:39 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA28336
       for <[email protected]>; Tue, 13 Jan 1998 17:15:25 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id RAA04601;
       Tue, 13 Jan 1998 17:15:20 -0600
Message-Id: <[email protected]>
Date: Tue, 13 Jan 1998 17:15:20 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: "Eduardo B. Fonseca" <[email protected]>
Cc: [email protected]
Subject: Re: Guest Acct Problems
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


One thing that I thought of yesterday (based on a different problem)
is that the /home/dudu directory itself must have the low order bit
set for each class of user that needs to access it.  That is,
/home/dudu should be owned by account 'dudu' and group ID 1109
(users), and it should have permissions of something like 0755.  If
permissions are 0644, the chroot and/or chdir will fail.

  -- Michael

On Tue, 13 Jan 1998, Eduardo B. Fonseca wrote:

> /etc/passwd: line 32
> dudu:*:1005:1109:Dudu:/home/dudu/./:/etc/ftponly
>
> <snip>
> ls -l /home/dudu
>
> -rw-r--r--  1 dudu  users    466 Jan  4 23:56 .cshrc
> -r--------  1 root  daemon     0 Jan  5 00:36 .forward
> -rw-r--r--  1 dudu  users    619 Jan  4 23:56 .login
> -rw-r--r--  1 dudu  users    290 Jan  4 23:56 .mailrc
> -rw-r--r--  1 dudu  users   1203 Jan  4 23:56 .profile
> -r--------  1 root  daemon   257 Jan  5 00:36 .rhosts
> d--x--x--x  2 root  daemon   512 Jan  5 00:40 bin
> d--x--x--x  2 root  daemon   512 Jan  5 00:40 etc
> drwxr-xr-x  2 root  users    512 Jan  5 00:41 pub


From [email protected]  Tue Jan 13 18:07:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id SAA28292;
       Tue, 13 Jan 1998 18:07:12 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA31578;
       Tue, 13 Jan 1998 18:04:47 -0600 (CST)
Received: from deepthought.cs.utexas.edu ([email protected] [128.83.120.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA31232
       for <[email protected]>; Tue, 13 Jan 1998 18:03:15 -0600 (CST)
Received: from baseball.cs.utexas.edu ([email protected] [128.83.144.36])
       by deepthought.cs.utexas.edu (8.8.5/8.8.5) with ESMTP id SAA01520;
       Tue, 13 Jan 1998 18:03:10 -0600 (CST)
Received: by baseball.cs.utexas.edu (8.8.5/Client-1.5)
       id SAA08959; Tue, 13 Jan 1998 18:03:09 -0600
Message-Id: <[email protected]>
Date: Tue, 13 Jan 1998 18:03:09 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Allen Walker <[email protected]>
To: Michael Brennen <[email protected]>
Cc: wu-ftpd <[email protected]>
Subject: Re: Guest Acct Problems
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

anonymous access works fine. However individual users I set as guests that
chroots to their dir only isn't working. For some reason it's still saying
incorrect password upon login.
in the ~user/etc dir, I have a passwd and group file, but I put the actual
encrypted passwd instead of the '*' you have in your guest howto.

Thanks for any help
-allen-


---
Allen Walker               |            University of Texas at Austin
<[email protected]>    |   http://www.cs.utexas.edu/users/awalker


From [email protected]  Wed Jan 14 09:57:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA13327;
       Wed, 14 Jan 1998 09:56:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA29025;
       Wed, 14 Jan 1998 09:54:05 -0600 (CST)
Received: from hpicel.hp.is (hpicel.hp.is [193.4.28.66])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA28197
       for <[email protected]>; Wed, 14 Jan 1998 09:46:49 -0600 (CST)
Received: from xo.hp.is ([email protected] [193.4.28.118]) by hpicel.hp.is with ESMTP (8.8.8/8.8.7) id PAA18768 for <[email protected]>; Wed, 14 Jan 1998 15:46:46 GMT
Received: by xo.hp.is (8.8.8/HP/17-01-97); Wed, 14 Jan 1998 15:46:45 GMT
Message-Id: <[email protected]>
Date: Wed, 14 Jan 1998 15:46:45 +0000
Reply-To: [email protected]
Sender: [email protected]
From: Richard Allen <[email protected]>
To: [email protected]
Subject: Fixes/cleanup for HP-UX
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.88
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've been toying around a bit with wu-ftpd beta 16 and frankly it look's
very nice, except for a few things on HP-UX.  The biggest feature of
the included patch is support for HP-UX 10 trusted mode (HP's shadow
passwd's). All the code was already in wu-ftpd, disguised as SecureWare
(OSF) code ;)  Therefore, all that was needed was to tweak ifdef's
around a bit.

Regards...

*** src/ftpd.c.cln      Sun des 21 23:25:06 1997
--- src/ftpd.c  Mi� jan 14 15:27:03 1998
***************
*** 245,250 ****
--- 245,255 ----
 #include <prot.h>
 #endif

+ #ifdef HPUX_10_TRUSTED
+ #include <hpsecurity.h>
+ #include <prot.h>
+ #endif
+
 int anonymous = 1;
 int guest;
 int type;
***************
*** 920,926 ****
     register struct authorization *q;
 #endif /* KERBEROS */

! #ifdef SecureWare
     struct pr_passwd *pr;
 #endif

--- 925,931 ----
     register struct authorization *q;
 #endif /* KERBEROS */

! #if defined(SecureWare) || defined(HPUX_10_TRUSTED)
     struct pr_passwd *pr;
 #endif

***************
*** 931,947 ****
 #endif /* KERBEROS */

 #ifdef M_UNIX
! # ifdef SecureWare
     if ((pr = getprpwnam(name)) == NULL)
         goto DONE;
! # endif /* SecureWare */
     if ((p = getpwnam(name)) == NULL)
         goto DONE;
 #else   /* M_UNIX */
! # ifdef SecureWare
     if ((pr = getprpwnam(name)) == NULL)
         return((struct passwd *) pr);
! # endif /* SecureWare */
     if ((p = getpwnam(name)) == NULL)
         return (p);
 #endif  /* M_UNIX */
--- 936,952 ----
 #endif /* KERBEROS */

 #ifdef M_UNIX
! # if defined(SecureWare) || defined(HPUX_10_TRUSTED)
     if ((pr = getprpwnam(name)) == NULL)
         goto DONE;
! # endif /* SecureWare || HPUX_10_TRUSTED */
     if ((p = getpwnam(name)) == NULL)
         goto DONE;
 #else   /* M_UNIX */
! # if defined(SecureWare) || defined(HPUX_10_TRUSTED)
     if ((pr = getprpwnam(name)) == NULL)
         return((struct passwd *) pr);
! # endif /* SecureWare || HPUX_10_TRUSTED */
     if ((p = getpwnam(name)) == NULL)
         return (p);
 #endif  /* M_UNIX */
***************
*** 958,964 ****

 #ifdef KERBEROS
     save.pw_passwd = sgetsave(q->a_password);
! #elif defined(SecureWare)
     if (pr->uflg.fg_encrypt && pr->ufld.fd_encrypt && *pr->ufld.fd_encrypt)
        save.pw_passwd = sgetsave(pr->ufld.fd_encrypt);
     else
--- 963,969 ----

 #ifdef KERBEROS
     save.pw_passwd = sgetsave(q->a_password);
! #elif defined(SecureWare) || defined(HPUX_10_TRUSTED)
     if (pr->uflg.fg_encrypt && pr->ufld.fd_encrypt && *pr->ufld.fd_encrypt)
        save.pw_passwd = sgetsave(pr->ufld.fd_encrypt);
     else
***************
*** 1007,1013 ****
 DONE:
     endpwent();
 #endif
! #ifdef SecureWare
     endprpwent();
 #endif
 #ifdef M_UNIX
--- 1012,1018 ----
 DONE:
     endpwent();
 #endif
! #if defined(SecureWare) || defined(HPUX_10_TRUSTED)
     endprpwent();
 #endif
 #ifdef M_UNIX
***************
*** 1431,1437 ****
         salt = "xx";
       else
         salt = pw->pw_passwd;
! #ifdef SECUREOSF
         xpasswd = bigcrypt(passwd, salt);
 #else
 #ifdef KERBEROS
--- 1436,1442 ----
         salt = "xx";
       else
         salt = pw->pw_passwd;
! #if defined(SECUREOSF) || defined(HPUX_10_TRUSTED)
         xpasswd = bigcrypt(passwd, salt);
 #else
 #ifdef KERBEROS
***************
*** 2366,2372 ****

         timeout.tv_usec = 0;
         timeout.tv_sec = 120;
! #ifdef hpux
         if (select(pdata+1, (int *)&set, NULL, NULL, &timeout) == 0 ||
 #else
         if (select(pdata+1, &set, (fd_set *) 0, (fd_set *) 0, &timeout) == 0 ||
--- 2371,2377 ----

         timeout.tv_usec = 0;
         timeout.tv_sec = 120;
! #ifdef HPUX9
         if (select(pdata+1, (int *)&set, NULL, NULL, &timeout) == 0 ||
 #else
         if (select(pdata+1, &set, (fd_set *) 0, (fd_set *) 0, &timeout) == 0 ||
*** src/pathnames.h.cln Mi� jan 14 13:48:55 1998
--- src/pathnames.h     Mi� jan 14 15:31:41 1998
***************
*** 45,50 ****
--- 45,56 ----
 #define _PATH_CVT       "/etc/ftpd/ftpconversions"
 #define _PATH_PRIVATE   "/etc/ftpd/ftpgroups"
 #else
+ #ifdef USE_OPT_FTPD
+ #define _PATH_FTPUSERS  "/opt/ftpd/lib/ftpusers"
+ #define _PATH_FTPACCESS "/opt/ftpd/lib/ftpaccess"
+ #define _PATH_CVT       "/opt/ftpd/lib/ftpconversions"
+ #define _PATH_PRIVATE   "/opt/ftpd/lib/ftpgroups"
+ #else
 #define _PATH_FTPUSERS  "/usr/local/lib/ftpd/ftpusers"
 #define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
 #define _PATH_CVT       "/usr/local/lib/ftpd/ftpconversions"
***************
*** 51,56 ****
--- 57,63 ----
 #define _PATH_PRIVATE   "/usr/local/lib/ftpd/ftpgroups"
 #endif
 #endif
+ #endif

 #ifdef USE_VAR
 #ifdef USE_PID
***************
*** 117,123 ****
--- 124,134 ----
 #ifdef USE_ETC_FTPD
 #define _PATH_FTPHOSTS  "/etc/ftpd/ftphosts"
 #else
+ #ifdef USE_OPT_FTPD
+ #define _PATH_FTPHOSTS  "/opt/ftpd/lib/ftphosts"
+ #else
 #define _PATH_FTPHOSTS  "/usr/local/lib/ftpd/ftphosts"
+ #endif
 #endif
 #endif
 #endif
*** src/config/config.hpx.cln   Mi� jan 14 13:37:00 1998
--- src/config/config.hpx       Mi� jan 14 15:00:20 1998
***************
*** 21,29 ****
 #define REGEX
 #define REGEXEC
 #define SPT_TYPE SPT_PSTAT
- #ifdef V4FS
 #define HAVE_GETRLIMIT
- #endif
 #undef  SHADOW_PASSWORD
 #define SVR4
 #define UPLOAD
--- 21,27 ----
***************
*** 31,38 ****
--- 29,46 ----
 #ifndef VIRTUAL
 #define VIRTUAL
 #endif
+ #undef HPUX9
+ #undef HPUX_10_TRUSTED

+ #ifdef HPUX9
 #define _PATH_WTMP "/etc/wtmp"
+ #undef USE_VAR
+ #else
+ #define _PATH_WTMP "/var/adm/wtmp"
+ #define USE_OPT_FTPD
+ #define USE_VAR
+ #define VAR_RUN
+ #endif

 #define RLIM_INFINITY 0x7fffffff
 #define       seteuid(x)      setresuid(-1,x,-1)
*** src/makefiles/Makefile.hpx.cln      Mi� jan 14 13:58:53 1998
--- src/makefiles/Makefile.hpx  Mi� jan 14 14:52:12 1998
***************
*** 5,12 ****
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   =
! CFLAGS   = -Aa -Dunix -D_HPUX_SOURCE -O ${IFLAGS} ${LFLAGS}
! LIBES    = ../support/libsupport.a
 LIBC     = /lib/libc.a
 LINTFLAGS=
 LKERB    = -lauth -lckrb -lkrb -ldes
--- 5,12 ----
 CC       = cc
 IFLAGS   = -I.. -I../support
 LFLAGS   =
! CFLAGS   = -Aa -Dunix -D_HPUX_SOURCE -O +Onolimit ${IFLAGS} ${LFLAGS}
! LIBES    = ../support/libsupport.a -lsec
 LIBC     = /lib/libc.a
 LINTFLAGS=
 LKERB    = -lauth -lckrb -lkrb -ldes

--
Rikki.
Bell Labs Unix -- Reach out and grep someone.
ech`echo "xiun"|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

From [email protected]  Wed Jan 14 10:39:53 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA13625;
       Wed, 14 Jan 1998 10:39:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA01595;
       Wed, 14 Jan 1998 10:37:18 -0600 (CST)
Received: from melona.complex.is ([email protected] [193.4.210.100])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA01369
       for <[email protected]>; Wed, 14 Jan 1998 10:35:16 -0600 (CST)
Received: (from einari@localhost)
       by melona.complex.is (8.8.5/ISnet/Comp-97)
       id QAA08314; Wed, 14 Jan 1998 16:34:17 GMT
Message-Id: <[email protected]>
Date: Wed, 14 Jan 1998 16:34:17 +0000 (GMT)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Einar Indridason)
To: [email protected]
Cc: [email protected]
Subject: Re: Fixes/cleanup for HP-UX
In-Reply-To: <[email protected]> from "Richard Allen" at "Jan 14, 98 03:46:45 pm"
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

> I've been toying around a bit with wu-ftpd beta 16 and frankly it look's
> very nice, except for a few things on HP-UX.  The biggest feature of
> the included patch is support for HP-UX 10 trusted mode (HP's shadow
> passwd's). All the code was already in wu-ftpd, disguised as SecureWare
> (OSF) code ;)  Therefore, all that was needed was to tweak ifdef's
> around a bit.

Which brings up a question I have.  Wouldn't it be better to restruct the
wu-ftpd code so that we won't have that spaghetti of "ifdef this and that
and not this_one", but would instead have something like:

#ifdef HAS_THIS_FUNCTION
       x = has_this_function(a1, a2, a3);
#endif
#ifdef HAS_THAT_FUNCTION
       x = has_that_function(a3, a1, a2);
#endif

We might even look at using some auto-configuration tool, like (for
example) GNU's autoconfig.  That way, we might have something like:

% ./configure --with-chroot-for-ordinary-users --log-paranoid
--deny-port-bounce --log-level=local7
..........
% make

Instead of the current one:

% ./build lnx
% ./build ult
% ./build sol
% ./build s41

etc...

???  This is just a thought...

--
[email protected]

From [email protected]  Wed Jan 14 16:14:36 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA00296;
       Wed, 14 Jan 1998 16:14:35 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA00600;
       Wed, 14 Jan 1998 16:12:13 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA32621
       for <[email protected]>; Wed, 14 Jan 1998 16:04:50 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id QAA26165;
       Wed, 14 Jan 1998 16:04:55 -0600
Message-Id: <[email protected]>
Date: Wed, 14 Jan 1998 16:04:55 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: "Alexis S. Panagides" <[email protected]>
Cc: [email protected]
Subject: Re: chroot user ftp daemon ?
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Space separated -- no commas.

  -- Michael

On Wed, 14 Jan 1998, Alexis S. Panagides wrote:

> Other bit of info, I recently discovered that guestgroup in wu-ftp
> can take more than one group argument.


From [email protected]  Wed Jan 14 16:30:39 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA00414;
       Wed, 14 Jan 1998 16:30:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA01831;
       Wed, 14 Jan 1998 16:29:03 -0600 (CST)
Received: from rintintin.sierra.com (rintintin.sierra.com [207.82.195.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA01641
       for <[email protected]>; Wed, 14 Jan 1998 16:22:43 -0600 (CST)
Received: from localhost (philip@localhost) by rintintin.sierra.com (8.7.6/8.7.3-jmm-p) with SMTP id OAA05068 for <[email protected]>; Wed, 14 Jan 1998 14:22:25 -0800 (PST)
Message-Id: <Pine.GSO.3.96.980114141834.27471z-100000@rintintin>
Date: Wed, 14 Jan 1998 14:22:25 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: Philip Hallstrom <[email protected]>
To: [email protected]
Subject: /var/adm/wtmp[x] getting really large...
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: philip@rintintin
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all -
       I'm currently running 2.4.2-beta-14 without any problems other
than my /var/adm/wtmp[x] files are getting huge (to the point of filling
up /var).  Currently I just wipe /var/adm/wtmp[x] once a week and let it
go at that.  However I'd rather not do that as I'd like to keep some of
the information in there.  I'd also rather not rotate the files since I
don't care *that much*.
       So the only other option is to make wu-ftpd not log to wtmp[x].  I
think I can do that by modifying the logwtmp function to just return true,
but before I did that I was wondering if there is an obscure option
somewhere else (either command line, or in the Makefile) that I could set
that would accomplish this correctly.
       Also - are there any side effects (other than not having ftp
entries for last, etc..) I should know about?  Such as ftpcount/ftpwho not
working?  Are there any other options?

Thanks! -philip

--
Philip Hallstrom                 Sierra Online Services
[email protected]      http://www.sierra.com/


From [email protected]  Wed Jan 14 16:37:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA00450;
       Wed, 14 Jan 1998 16:37:09 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA03005;
       Wed, 14 Jan 1998 16:35:22 -0600 (CST)
Received: from ns1.gol.org ([204.253.89.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA02450
       for <[email protected]>; Wed, 14 Jan 1998 16:30:29 -0600 (CST)
Received: from lola (lola.disaster.com [205.139.198.46])
       by ns1.gol.org (8.8.8/8.8.5) with SMTP id WAA24360
       for <[email protected]>; Wed, 14 Jan 1998 22:28:55 GMT
Message-Id: <[email protected]>
Date: Wed, 14 Jan 1998 17:32:43 +0000
Reply-To: [email protected]
Sender: [email protected]
From: Joel Turoff <[email protected]>
To: [email protected]
Subject: Virtual FTP dying on domains with 8+ characters
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 3.0 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Greetings!

I hope I haven't overlooked this one in the FAQ or in the archive.

I've got (Version wu-2.4(3)) running on a BSD/OS 2.1 server and I've
recently run into an odd problem when setting up virtual ftp sites.

Basically, if the domain name has more than eight characters, users cannot
use a browser to get a directory listing of the virtual FTP root.  Users
can anonymous ftp into the virtual site from a Unix command line and can
use the ws_ftp client to anonymous ftp in.  In both cases, they are
presented with a list of the subdirectories in their site.  But trying to
pull up the site from a browser just hangs.  No problems with domain names
under 8 characters.

When I put ftpd in debug mode, here's what the log says.  I'd appreciate
any tips or pointers on resolving this problem.

TIA,

Joel

______________________________

log entry:


Jan 14 14:27:39 frodo ftpd[19431]: <--- 220-
Jan 14 14:27:39 frodo ftpd[19431]: Welcome to to our FTP Server
Jan 14 14:27:39 frodo ftpd[19431]: <--- 220-
Jan 14 14:27:39 frodo ftpd[19431]:
Jan 14 14:27:39 frodo ftpd[19431]: <--- 220
Jan 14 14:27:39 frodo ftpd[19431]: frodo.mydomain.net FTP server (Version
wu-2.4(3) Tue Dec 10 10:55:50 PST 1996) ready.
Jan 14 14:27:40 frodo ftpd[19431]: command: USER anonymous^M
Jan 14 14:27:40 frodo ftpd[19431]: open of pid file failed: No such file or
directory
Jan 14 14:27:40 frodo last message repeated 2 times
Jan 14 14:27:40 frodo ftpd[19431]: <--- 331
Jan 14 14:27:40 frodo ftpd[19431]: Guest login ok, send your complete
e-mail address as password.
Jan 14 14:27:40 frodo ftpd[19431]: command: PASS mozilla@^M
Jan 14 14:27:40 frodo ftpd[19431]: exiting on signal 11



From [email protected]  Wed Jan 14 17:41:16 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA00843;
       Wed, 14 Jan 1998 17:41:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA07699;
       Wed, 14 Jan 1998 17:38:48 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA07126
       for <[email protected]>; Wed, 14 Jan 1998 17:33:14 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id RAA27968;
       Wed, 14 Jan 1998 17:33:20 -0600
Message-Id: <[email protected]>
Date: Wed, 14 Jan 1998 17:33:20 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Joel Turoff <[email protected]>
Cc: [email protected]
Subject: Re: Virtual FTP dying on domains with 8+ characters
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


This is a *very* old release; does it even support virtual FTP???  You
should upgrade to beta 15 (16 has a few gotchas for some OSs) below
for bug fix and security reasons.  I have no problem with virtual site
> 8 chars in the domain name.  From the messages below you have
something badly misconfigured but don't know, could be the old WU
release. ???

  -- Michael

On Wed, 14 Jan 1998, Joel Turoff wrote:

> I've got (Version wu-2.4(3)) running on a BSD/OS 2.1 server and I've
> recently run into an odd problem when setting up virtual ftp sites.
>
> Basically, if the domain name has more than eight characters, users cannot
> use a browser to get a directory listing of the virtual FTP root.  Users


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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Thu Jan 15 05:13:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id FAA13917;
       Thu, 15 Jan 1998 05:13:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA17047;
       Thu, 15 Jan 1998 05:12:09 -0600 (CST)
Received: from tigger.scc.uni-weimar.de ([email protected] [141.54.1.3])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA07629
       for <[email protected]>; Thu, 15 Jan 1998 05:09:42 -0600 (CST)
Received: from unternehmen.com (felix07.medien.uni-weimar.de [141.54.117.47])
       by tigger.scc.uni-weimar.de (8.8.7/8.8.7) with ESMTP id MAA00426
       for <[email protected]>; Thu, 15 Jan 1998 12:02:37 +0100 (MET)
Message-Id: <[email protected]>
Date: Thu, 15 Jan 1998 12:13:21 +0100
Reply-To: [email protected]
Sender: [email protected]
From: Tilo Hirsch <[email protected]>
To: [email protected]
Subject: problem with public ftp
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.03 (Macintosh; I; PPC)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have setup public ftp on a Sun Sparc running SunOS 5.6 (Solaris). It works,
but is very slow. For the command "ls -l" it takes 40 seconds but the "ls"
works normal.

Does anybody have an idea where to look for the error?

Thank you very much

Greetings,
Tilo
[email protected]


######################

izmedien:/>ftp 151.196.205.49
Connected to 151.196.205.49.
220 izmedien FTP server (SunOS 5.6) ready.
Name (151.196.205.49:izmedien): anonymous
331 Guest login ok, send ident as password.
Password:
230 Guest login ok, access restrictions apply.
ftp> ls
^^^^^^^
200 PORT command successful.
150 ASCII data connection for /bin/ls (151.196.205.49,34410) (0 bytes).
bin
dev
etc
pub
usr
welcome.msg
226 ASCII Transfer complete.
38 bytes received in 0.073 seconds (0.51 Kbytes/s)^
                 ^^^^^^^^^^^^^^^^
ftp> ls -l
^^^^^^^^^^^
200 PORT command successful.
150 ASCII data connection for /bin/ls (151.196.205.49,34411) (0 bytes).
total 12
dr-xr-xr-x   2 0        1            512 Aug 27  1996 bin
dr-xr-xr-x   2 0        0            512 Jul  1  1996 dev
dr--r--r--   3 0        0            512 Jan 15 09:45 etc
dr-x--x--x   3 200      0            512 Jan 14 12:15 pub
dr-xr-xr-x   5 0        0            512 Jun 29  1996 usr
-rw-r--r--   1 0        0            428 Jan 12 20:53 welcome.msg
226 ASCII Transfer complete.
remote: -l
372 bytes received in 41 seconds (0.01 Kbytes/s)
                  ^^^^^^^^^^^^^
ftp>

From [email protected]  Thu Jan 15 09:53:32 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA15552;
       Thu, 15 Jan 1998 09:53:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA30461;
       Thu, 15 Jan 1998 09:51:44 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA32290
       for <[email protected]>; Thu, 15 Jan 1998 09:48:48 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id JAA09862
       for <[email protected]>; Thu, 15 Jan 1998 09:48:51 -0600
Message-Id: <[email protected]>
Date: Thu, 15 Jan 1998 09:48:51 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: [email protected]
Subject: Re: chroot user ftp daemon ?
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


wu-ftpd can do this; see the guest howto below.

  -- Michael

On Thu, 15 Jan 1998, Adria Garcia wrote:

> I am looking for a FTP daemon that will perform a chroot to the respective
> user. I would like to prevent my WWW users from seeing the rest of the
> file system.


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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Thu Jan 15 15:21:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id PAA00727;
       Thu, 15 Jan 1998 15:21:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA30452;
       Thu, 15 Jan 1998 15:19:25 -0600 (CST)
Received: from fw.reyrey.com ([email protected] [206.175.68.194])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id PAA29846
       for <[email protected]>; Thu, 15 Jan 1998 15:16:02 -0600 (CST)
Received: by fw.reyrey.com; id QAA17250; Thu, 15 Jan 1998 16:03:37 -0500 (EST)
Received: from mailgate.reyrey.com(168.207.1.211) by fw.reyrey.com via smap (3.2)
       id xma017178; Thu, 15 Jan 98 16:03:26 -0500
Received: (from mailgate@localhost) by mailgate.reyrey.com (951211.SGI.8.6.12.PATCH1042/8.6.12) id QAA25980; Thu, 15 Jan 1998 16:13:38 -0500
Received: by OH02EX02.reyrey.com with Internet Mail Service (5.0.1457.3)
       id <C882NLGQ>; Thu, 15 Jan 1998 16:15:58 -0500
Message-Id: <[email protected]>
Date: Thu, 15 Jan 1998 16:15:55 -0500
Reply-To: [email protected]
Sender: [email protected]
From: "Robinson, George H" <[email protected]>
To: wu-ftpd mailing list <[email protected]>
Subject: RISC/os binaries
MIME-Version: 1.0
Content-Type: text/plain
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1457.3)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

I'm looking for wuftpd binaries for RISC/os 4_52. I found version 1.4,
but really need something more current.
I've been working on my own port of the 2.4 relesae, but it's been
rather slow going.

Thanks,

George Robinson

From [email protected]  Fri Jan 16 10:11:29 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA16208;
       Fri, 16 Jan 1998 10:11:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA32425;
       Fri, 16 Jan 1998 10:09:36 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA29925
       for <[email protected]>; Fri, 16 Jan 1998 10:01:46 -0600 (CST)
Received: by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
       id LAA17527; Fri, 16 Jan 1998 11:03:40 -0500
Message-Id: <[email protected]>
Date: Fri, 16 Jan 1998 11:03:40 -0500
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Ming Lu)
To: [email protected]
Subject: Latest version?
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I went to ftp://ftp.academ.com/pub/wu-ftpd/private and could not find
anything there. Could anyone here tell me where I download the latest
version of wu-ftpd?

TIA

_ming

From [email protected]  Fri Jan 16 10:20:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA16250;
       Fri, 16 Jan 1998 10:20:55 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA00624;
       Fri, 16 Jan 1998 10:19:24 -0600 (CST)
Received: from doctor.nl2k.ab.ca (doctor@[204.209.81.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA31968
       for <[email protected]>; Fri, 16 Jan 1998 10:09:20 -0600 (CST)
Received: (from doctor@localhost)
       by doctor.nl2k.ab.ca (8.8.8/8.8.5) id JAA04595;
       Fri, 16 Jan 1998 09:10:22 -0700 (MST)
Message-Id: <[email protected]>
Date: Fri, 16 Jan 1998 09:10:22 -0700 (MST)
Reply-To: [email protected]
Sender: [email protected]
From: The Doctor <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Latest version?
In-Reply-To: <[email protected]> from "Ming Lu" at Jan 16, 98 11:03:40 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4 PL25]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>
> I went to ftp://ftp.academ.com/pub/wu-ftpd/private and could not find
> anything there. Could anyone here tell me where I download the latest
> version of wu-ftpd?
>
> TIA
>
> _ming
>

Since this is private, you have to type the FULL name and retrieve it
and private directories do NOT list their contents.

From [email protected]  Fri Jan 16 10:47:05 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA16399;
       Fri, 16 Jan 1998 10:47:04 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA00523;
       Fri, 16 Jan 1998 10:45:21 -0600 (CST)
Received: from populo.vip.fi ([email protected] [194.197.215.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id KAA02267
       for <[email protected]>; Fri, 16 Jan 1998 10:38:49 -0600 (CST)
Received: from localhost (viha@localhost)
       by populo.vip.fi (8.8.8/8.8.5) with SMTP id SAA26950;
       Fri, 16 Jan 1998 18:37:58 +0200
Message-Id: <[email protected]>
Date: Fri, 16 Jan 1998 18:37:58 +0200 (EET)
Reply-To: [email protected]
Sender: [email protected]
From: Ville <[email protected]>
To: Ming Lu <[email protected]>
Cc: [email protected]
Subject: Re: Latest version?
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Fri, 16 Jan 1998, Ming Lu wrote:

> I went to ftp://ftp.academ.com/pub/wu-ftpd/private and could not find
> anything there. Could anyone here tell me where I download the latest
> version of wu-ftpd?

Hmm, maybe you should pay a bit more attention to the site next time :)

<quote>

This directory contains the latest beta (if one exists) for the
Washington University at Saint Louis FTP daemon for Unix systems with
bug fixes and enhancements added by Academ Consulting Services.

This directory is protected. The name of the current beta is
wu-ftpd-2.4.2-beta-16.tar.Z and this file must be downloaded in binary.

</quote>

So, just go:

viha~$ lynx ftp://ftp.academ.com/pub/wu-ftpd/wu-ftpd-2.4.2-beta-16.tar.Z


> _ming

- Ville/[email protected] [CryptLink Networking]


From [email protected]  Fri Jan 16 16:25:54 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA18396;
       Fri, 16 Jan 1998 16:25:53 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA07757;
       Fri, 16 Jan 1998 16:24:09 -0600 (CST)
Received: from relay2.smtp.psi.net (relay2.smtp.psi.net [38.8.188.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA05053
       for <[email protected]>; Fri, 16 Jan 1998 16:19:40 -0600 (CST)
Received: from extsvr.aptix.com by relay2.smtp.psi.net (8.8.5/SMI-5.4-PSI)
       id RAA06920; Fri, 16 Jan 1998 17:19:38 -0500 (EST)
Received: from [38.229.247.10] (gatekeeper.aptix.com [38.229.247.10]) by  extsvr.aptix.com (8.8.4/8.8.3) with SMTP id OAA06546 for <[email protected]>; Fri, 16 Jan 1998 14:20:38 -0800 (PST)
Received: from intsvr ([132.147.160.93]) by [38.229.247.10]
         via smtpd (for extsvr [38.229.247.20]) with SMTP; 16 Jan 1998 22:10:30 UT
Received: from axws2.aptix.com (axws2.aptix.com [132.147.160.16]) by intsvr.aptix.com (8.8.4/8.8.3) with SMTP id OAA06993 for <[email protected]>; Fri, 16 Jan 1998 14:27:13 -0800 (PST)
Received: by axws2.aptix.com (SMI-8.6/SMI-SVR4)
       id OAA05250; Fri, 16 Jan 1998 14:23:52 -0800
Message-Id: <[email protected]>
Date: Fri, 16 Jan 1998 14:23:52 -0800
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Jeffrey Liu)
To: [email protected]
Subject: wu-ftp2.4 upload deny
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-MD5: 6REIAHynG2qC/wWNOwQVUw==
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id QAA06725
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


We are using wu-ftpd 2.4 on a SunOS 4.1.4 server.
We setup 'admin' user account to upload on ~ftp/pub directory.
'anonymous' user upload to ~ftp/outgoing directory.
ftpaccess file
...
upload  /home/ftp  /pub          yes     admin   admin  0600 dirs
upload  /home/ftp  /pub/*        yes     admin   admin  0600 dirs
upload  /home/ftp  /outgoing         yes     ftp  ftp  0600 dirs
upload  /home/ftp  /outgoing/*        yes     ftp  ftp  0600 dirs
..
~ftp is /home/ftp and 'admin' home directory is /home/ftp also.

'admin' get error when upload to ~ftp/pub:
ftp> put faq.html
200 PORT command successful.
553 faq.html: Permission denied. (Upload)
The ~ftp/pub is owned by 'admin'.

But 'anonymous' has no problem to upload to /outgoing.


What do we missing?

Thanks,

Jeffrey
[email protected]


From [email protected]  Fri Jan 16 17:16:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA18854;
       Fri, 16 Jan 1998 17:16:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA13667;
       Fri, 16 Jan 1998 17:14:03 -0600 (CST)
Received: from web4u.com.br (alpha.web4u.com.br [200.255.248.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA13392
       for <[email protected]>; Fri, 16 Jan 1998 17:11:54 -0600 (CST)
Received: from lobo [200.255.248.230] by web4u.com.br with smtp
       id BEBIDHAI ; Fri, 16 Jan 1998 20:24:54 -0500
Message-Id: <01bd22cd$61916300$e6f8ffc8@lobo>
Date: Fri, 16 Jan 1998 20:23:33 -0200
Reply-To: "Sergio Lobo" <[email protected]>
Sender: [email protected]
From: "Sergio Lobo" <[email protected]>
To: <[email protected]>
Subject: Virtual Users
MIME-Version: 1.0
Content-Type: text/plain;
       charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-ROUTED: Fri, 16 Jan 1998 21:11:36 -0500
X-TCP-IDENTITY: Ghost
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello;

I am new to this list and maybe my question is a very simple one. Anyway, I
need to have some special FTP users in my system. They are special because
they should not have a normal accout with e-mail or telnet access. Those
users should only access specific directories (one directory for each user).
Also, those users should not have their password, user id, etc, in any of
the usual account files (passwd or shadow). I mean, there should be some
other configuration file so that I could have users that would access FTP
only. Is it possible to do that with wu-ftpd?

Thanks in advance,

Sergio Lobo




From [email protected]  Fri Jan 16 17:23:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA18933;
       Fri, 16 Jan 1998 17:23:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA14541;
       Fri, 16 Jan 1998 17:20:27 -0600 (CST)
Received: from mailserver.cnf.com ([205.185.108.11])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA13929
       for <[email protected]>; Fri, 16 Jan 1998 17:18:23 -0600 (CST)
Received: from cnfvs008.cnf.com (localhost [127.0.0.1])
       by mailserver.cnf.com (8.8.7/8.8.7) with ESMTP id PAA21894
       for <[email protected]>; Fri, 16 Jan 1998 15:18:11 -0800 (PST)
Received: by cnfvs008.cnf.com with Internet Mail Service (5.0.1458.49)
       id <CYW12SM0>; Fri, 16 Jan 1998 15:17:57 -0800
Message-Id: <[email protected]>
Date: Fri, 16 Jan 1998 15:17:55 -0800
Reply-To: [email protected]
Sender: [email protected]
From: "Speier, Guy J - CNF" <[email protected]>
To: [email protected], "'Sergio Lobo'" <[email protected]>
Subject: RE: Virtual Users
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

yes ... check out setting up a guest user in the faq

> ----------
> From:         Sergio Lobo[SMTP:[email protected]]
> Reply To:     Sergio Lobo
> Sent:         Friday, January 16, 1998 2:23 PM
> To:   [email protected]
> Subject:      Virtual Users
>
> Hello;
>
> I am new to this list and maybe my question is a very simple one.
> Anyway, I
> need to have some special FTP users in my system. They are special
> because
> they should not have a normal accout with e-mail or telnet access.
> Those
> users should only access specific directories (one directory for each
> user).
> Also, those users should not have their password, user id, etc, in any
> of
> the usual account files (passwd or shadow). I mean, there should be
> some
> other configuration file so that I could have users that would access
> FTP
> only. Is it possible to do that with wu-ftpd?
>
> Thanks in advance,
>
> Sergio Lobo
>
>
>

From [email protected]  Sat Jan 17 00:49:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id AAA21436;
       Sat, 17 Jan 1998 00:49:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA23729;
       Sat, 17 Jan 1998 00:47:11 -0600 (CST)
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA24039
       for <[email protected]>; Sat, 17 Jan 1998 00:41:02 -0600 (CST)
Received: from sadhana.india.hp.com (sadhana.india.hp.com [15.10.40.76])
       by palrel1.hp.com (8.8.6/8.8.5tis) with ESMTP id WAA19393;
       Fri, 16 Jan 1998 22:40:50 -0800 (PST)
Received: by sadhana.india.hp.com
       (1.37.109.20/16.2) id AA041751122; Sat, 17 Jan 1998 12:12:02 +0500
Message-Id: <[email protected]>
Date: Sat, 17 Jan 1998 12:12:02 +0500 (IST)
Reply-To: [email protected]
Sender: [email protected]
From: Harshal Savalia <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Virtual Users
In-Reply-To: <[email protected]> from "Speier, Guy J - CNF" at Jan "16," 1998 "03:17:55" pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [Revision: 213.1]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,


> yes ... check out setting up a guest user in the faq

       Guest users require password and it uses passwd file. The question
       is that it should use some other configuration file rather than
       using passwd or shadow files. I don't think this is possible in
       current version of wu-ftpd. Corrct me if I am wrong.

Regards,
Harshal

>
> > ----------
> > From:       Sergio Lobo[SMTP:[email protected]]
> > Reply To:   Sergio Lobo
> > Sent:       Friday, January 16, 1998 2:23 PM
> > To:         [email protected]
> > Subject:    Virtual Users
> >
> > Hello;
> >
> > I am new to this list and maybe my question is a very simple one.
> > Anyway, I
> > need to have some special FTP users in my system. They are special
> > because
> > they should not have a normal accout with e-mail or telnet access.
> > Those
> > users should only access specific directories (one directory for each
> > user).
> > Also, those users should not have their password, user id, etc, in any
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > of
> > the usual account files (passwd or shadow). I mean, there should be
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > some
> > other configuration file so that I could have users that would access
> > FTP
> > only. Is it possible to do that with wu-ftpd?
> >
> > Thanks in advance,
> >
> > Sergio Lobo
> >
> >
> >
>


--
-------------------------------------------------------------------------------
Harshal Savalia                                 email : [email protected]
Hewlett Packard - ISO                           Phone : (91)(80)2251554 x 1424
30C, Cunningham Road                            Fax   : (91)(80)2200196
Bangalore 560 052                               Telnet: 847-1424
India.
-------------------------------------------------------------------------------

From [email protected]  Sat Jan 17 07:05:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id HAA03317;
       Sat, 17 Jan 1998 07:05:37 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA11525;
       Sat, 17 Jan 1998 07:04:00 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA08253
       for <[email protected]>; Sat, 17 Jan 1998 07:02:33 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id IAA02893
       for <[email protected]>; Sat, 17 Jan 1998 08:04:34 -0500 (EST)
Message-Id: <[email protected]>
Date: Sat, 17 Jan 1998 08:04:33 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: wuftpd list <[email protected]>
Subject: permissions and groups questions
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi all.  I've successfully set up 2.4.2-16 on Solaris 2.5.1, and its
working fine.  I had a few questions I hoped someone could help me with.

1) I had a problem resolving group and password numbers into their actual
names, but after adding libmp.so.1 to my ~ftp/usr/lib, it worked fine.
Why isn't this in the documentation?

2) I remember quite a few years back there being some issues with chroot()
and its security.  Can someone point me to information on potential
chroot() security holes, or a brief rundown on how one might be exploited?

3) I've read the Solaris FAQ about compiling static ls on 2.5.1, and
applied the sh-utils patch, yet I still cannot compile one statically.
There seems to be conflicting documentation and I hoped someone could
clarify how this is done, if at all..  How about gzip and tar?  They
appear to not use libw, so it should be possible, correct?  Does it really
gain that much?

Thanks,
Dave



From [email protected]  Sat Jan 17 08:47:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA03458;
       Sat, 17 Jan 1998 08:47:50 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA17735;
       Sat, 17 Jan 1998 08:46:22 -0600 (CST)
Received: from Bahamut.dragonfire.net (Bahamut.dragonfire.net [209.70.16.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA16713
       for <[email protected]>; Sat, 17 Jan 1998 08:40:35 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id JAA24979; Sat, 17 Jan 1998 09:40:32 -0500
Message-Id: <[email protected]>
Date: Sat, 17 Jan 1998 09:40:05 EST
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Andy Church)
To: [email protected]
Subject: Re: Virtual Users
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>       Guest users require password and it uses passwd file. The question
>       is that it should use some other configuration file rather than
>       using passwd or shadow files. I don't think this is possible in
>       current version of wu-ftpd. Corrct me if I am wrong.

    This is not possible, period.  Check the FAQ
(http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html) for information on how to
set up users which only have FTP, and not telnet or other, privileges.
Also see the guest HOWTO (ftp://ftp.fni.com/pub/wu-ftpd/guest-howto) for
information on how to set up users which have access to only a particular
directory.

 --Andy Church                  | If Bell Atlantic really is the heart
   [email protected]       | of communication, then it desperately
   www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From [email protected]  Sat Jan 17 17:54:53 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA05082;
       Sat, 17 Jan 1998 17:54:52 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA20520;
       Sat, 17 Jan 1998 17:53:15 -0600 (CST)
Received: from tecoma.mccc.edu (tecoma.mccc.edu [198.133.170.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA20283
       for <[email protected]>; Sat, 17 Jan 1998 17:46:02 -0600 (CST)
Received: from tecoma (tecoma [198.133.170.1])
       by tecoma.mccc.edu (8.8.8/8.8.5) with SMTP id SAA21207
       for <[email protected]>; Sat, 17 Jan 1998 18:45:55 -0500 (EST)
Message-Id: <Pine.SOL.3.96.980117184247.21164A-100000@tecoma>
Date: Sat, 17 Jan 1998 18:45:55 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Pete Holsberg <[email protected]>
To: [email protected]
Subject: Time-of-day limits not working
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: pjh@tecoma
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi...

I'm running wu-2.4.2-academ[BETA-15] and putting a
UUCP-System-like day_and_time field not only doesn't work
-- it changes the limit on the max number of logins to -1!

Here's what works (no time/date):

limit   mccc      35   Any      /usr/local/etc/msg.toomany
limit   nonmccc   10   Any      /usr/local/etc/msg.toomany

I changed that last line to:

limit   nonmccc   10   Any0000-1800     /usr/local/etc/msg.toomany

and found that people could login in after 1800 local and
more than 10 were logged in last I checked.

Kindly point out where I went wrong.

Thanks,
Pete


From [email protected]  Sun Jan 18 08:15:31 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA18619;
       Sun, 18 Jan 1998 08:15:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA12623;
       Sun, 18 Jan 1998 08:13:51 -0600 (CST)
Received: from chakotay.allgaeu.org (chakotay.allgaeu.org [195.37.215.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA10625
       for <[email protected]>; Sun, 18 Jan 1998 08:06:55 -0600 (CST)
Received: from picard.li.allgaeu.org ([email protected] [195.37.215.169]) by chakotay.allgaeu.org (8.8.8/Antispam) with ESMTP id PAA21494 for <[email protected]>; Sun, 18 Jan 1998 15:06:43 +0100
Received: from uuagt.ag-trek.allgaeu.org (uucp@localhost) by picard.li.allgaeu.org (8.8.8/Antispam) with UUCP id PAA25302 for wugate.wustl.edu!wu-ftpd; Sun, 18 Jan 1998 15:07:01 +0100
Message-Id: <[email protected]>
Date: Sun, 18 Jan 98 14:57:52 CET
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Andreas Kerber)
To: [email protected]
Subject: owner permissions problem under Beta16
X-ZC-VIA: [email protected]
X-ZC-PGP-KEY-AVAIL: PGP Key via Return-Receipt.
X-Mailer: MicroDot 1.17beta3 [REGISTERED 004fd1]
X-ZC-TELEFON: V +49 8386-961152
X-ZC-POST: Am Staufen 10, 87534 Oberstaufen
X-ZC-VIA: [email protected]
X-Gateway: ZConnect CL uuagt.ag-trek.allgaeu.org [Connectline/AmigaOS]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,

we've been using wuftpd 2.4Beta11 for quite some time
now, using the following parameteres in /etc/ftpaccess
to manage our Users homepageuploads.

# homepage uploads
guestgroup users
upload /home */private yes ! webman 0644 dirs
upload /home */private/* yes ! webman 0644 dirs
upload /home */official yes ! webman 0644 dirs
upload /home */official/* yes ! webman 0644 dirs
upload /home */* yes ! webman 0664 dirs

Under 2.4Beta11 these settings gave the uploaded
files owner permission to the uploader.

Now running with 2.4.2Beta16 the owner is _always_ root, which
is what we really don't want. (we want the uploader to be the owner)

Am I doing something wrong here or is this a bug?

Andreas Kerber


From [email protected]  Sun Jan 18 16:58:45 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA20095;
       Sun, 18 Jan 1998 16:58:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA18913;
       Sun, 18 Jan 1998 16:57:07 -0600 (CST)
Received: from news.IAEhv.nl ([email protected] [194.151.64.4])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA15088
       for <[email protected]>; Sun, 18 Jan 1998 16:51:53 -0600 (CST)
Received: from LOCAL (uucp@localhost)
         by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 22778
         on Sun, 18 Jan 1998 22:51:48 GMT; id WAA22778
         efrom: [email protected]; eto: [email protected]
Received: (from news@localhost)
       by Garfield.IAE.nl (8.8.5/8.8.5) id VAA03605
       for [email protected]; Sun, 18 Jan 1998 21:39:41 +0100
Message-Id: <[email protected]>
Date: 18 Jan 1998 20:39:41 GMT
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Perry Rovers)
To: [email protected]
Subject: Re: Virtual Users
References: <[email protected]>
X-no-archive: yes
X-bofh-archive: yes
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Pink elephants with an attitude inspired Andy Church <[email protected]> to tell garfield.mail.wu-ftpd:
:>      Guest users require password and it uses passwd file. The question
:>      is that it should use some other configuration file rather than
:>      using passwd or shadow files. I don't think this is possible in
:>      current version of wu-ftpd. Corrct me if I am wrong.

:      This is not possible, period.  Check the FAQ
: (http://www.cetis.hvu.nl/~koos/wu-ftpd-faq.html) for information on how to
: set up users which only have FTP, and not telnet or other, privileges.
: Also see the guest HOWTO (ftp://ftp.fni.com/pub/wu-ftpd/guest-howto) for
: information on how to set up users which have access to only a particular
: directory.

It would be a nice feature though.. I have a site here that will start to
require some major maintenance in terms of adding/deleting/modifying users.
I'd love to be able to delegate this to the owner of the site, but since the
ftpd is working with the 'regular' passwd files and the owner isn't supposed
to mess with that, this isn't really possible. A .ftpaccess would be nice.


--
Perry Rovers ([email protected])

From [email protected]  Sun Jan 18 23:42:23 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id XAA21968;
       Sun, 18 Jan 1998 23:42:22 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA13812;
       Sun, 18 Jan 1998 23:40:45 -0600 (CST)
Received: from inorganic5.fdt.net ([email protected] [205.229.48.42])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA08119
       for <[email protected]>; Sun, 18 Jan 1998 23:21:19 -0600 (CST)
Received: from localhost (jlewis@localhost)
       by inorganic5.fdt.net  with SMTP id AAA06978;
       Mon, 19 Jan 1998 00:18:46 -0500
Message-Id: <[email protected]>
Date: Mon, 19 Jan 1998 00:18:45 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Jon Lewis <[email protected]>
To: Perry Rovers <[email protected]>
Cc: [email protected]
Subject: Re: Virtual Users
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-To-Stop-Spam-See: http://inorganic5.fdt.net/~jlewis/spam.html
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On 18 Jan 1998, Perry Rovers wrote:

> It would be a nice feature though.. I have a site here that will start to
> require some major maintenance in terms of adding/deleting/modifying users.
> I'd love to be able to delegate this to the owner of the site, but since the
> ftpd is working with the 'regular' passwd files and the owner isn't supposed
> to mess with that, this isn't really possible. A .ftpaccess would be nice.

How about using an inetd (maybe xinetd) that supports "virtual interfaces"
and have it start a ftpd chrooted such that /etc/passwd is acutally
/home/blah/ftp/etc/passwd?  Sounds simple enough.  I do a simlar thing to
have a backup radiusd that uses /var/radius/etc/passwd as /etc/passwd.

------------------------------------------------------------------
Jon Lewis <[email protected]>  |  Unsolicited commercial e-mail will
Network Administrator       |  be proof-read for $199/message.
Florida Digital Turnpike    |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____


From [email protected]  Mon Jan 19 20:49:45 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id UAA08259;
       Mon, 19 Jan 1998 20:49:44 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA15841;
       Mon, 19 Jan 1998 20:48:08 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA13467
       for <[email protected]>; Mon, 19 Jan 1998 20:41:43 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id UAA18707;
       Mon, 19 Jan 1998 20:41:41 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980119203839.18688A-100000@Argus>
Date: Mon, 19 Jan 1998 20:41:41 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>,
       Solaris x86 <[email protected]>
Cc: [email protected]
Subject: wuftpd-Beta-16
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm trying to compile wu-ftpd on a Solaris 2.6 box (x86).  I'm getting
this error:
gcc -g -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
logwtmp.o popen.o
vers.o access.o extensions.o realpath.o acl.o private.o authenticate.o
conversions.o
hostacc.o sigfix.o -lsocket -lnsl -lgen
Undefined                       first referenced
symbol                             in file
strsep                              private.o
strcasestr                          access.o
ld: fatal: Symbol referencing errors. No output written to ftpd
collect2: ld returned 1 exit status
make: *** [ftpd] Error 1

Ideas?

TIA,
Alan

[email protected]


From [email protected]  Mon Jan 19 23:49:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id XAA09332;
       Mon, 19 Jan 1998 23:49:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA01002;
       Mon, 19 Jan 1998 23:48:15 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA00058
       for <[email protected]>; Mon, 19 Jan 1998 23:44:51 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id AAA16649;
       Tue, 20 Jan 1998 00:46:51 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 00:46:50 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Alan Halachmi <[email protected]>
Cc: wu-ftpd list <[email protected]>,
       Solaris x86 <[email protected]>, [email protected]
Subject: Re: wuftpd-Beta-16
In-Reply-To: <Pine.GSO.3.96.980119203839.18688A-100000@Argus>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> I'm trying to compile wu-ftpd on a Solaris 2.6 box (x86).  I'm getting
> this error:
> gcc -g -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o
> logwtmp.o popen.o
>  vers.o access.o extensions.o realpath.o acl.o private.o authenticate.o
> conversions.o
> hostacc.o sigfix.o -lsocket -lnsl -lgen
> Undefined                       first referenced
>  symbol                             in file
> strsep                              private.o
> strcasestr                          access.o
> ld: fatal: Symbol referencing errors. No output written to ftpd
> collect2: ld returned 1 exit status
> make: *** [ftpd] Error 1

strcasestr() and strsep() are functions within wu-ftpd, so they are not
solaris libraries.

Which version of gcc are you using?  Was it compiled on a 2.6 box, for a
2.6 box?  Are you able to successfully compile other programs?

Make sure ./support/strsep.c and ./support/strcasestr.c are being compiled
correctly...

Dave



From [email protected]  Tue Jan 20 04:47:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id EAA20367;
       Tue, 20 Jan 1998 04:47:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA26087;
       Tue, 20 Jan 1998 04:46:07 -0600 (CST)
Received: from cemef.cma.fr (cemef.cma.fr [193.54.112.199])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA26299
       for <[email protected]>; Tue, 20 Jan 1998 04:40:51 -0600 (CST)
Received: from paris.cma.fr (paris.cma.fr [193.54.112.194])
         by cemef.cma.fr (8.8.8/jtpda-5.2.9.1) with ESMTP id LAA04060
         ; Tue, 20 Jan 1998 11:40:31 +0100
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 11:40:27 +0100
Reply-To: [email protected]
Sender: [email protected]
From: Serge ALGAROTTI <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: problems with Solaris 2.5.1
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: exmh version 2.0.1 12/23/97
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

I have to migrate a wu-ftp server from Aix to Solaris. and I have some
problems to setup on Solaris 2.5.1 (wu-2.4.2-academ[BETA-16)

I have read the A How-To Guide for wu-ftpd on Solaris 2.5.x and I think I
have do all the instructions.

The wu-ftpd works without problems in "standard" mode (without the -a switch)
:

$ ftp bego.cma.fr
Connected to bego.cma.fr.
220 bego.cma.fr FTP server (Version wu-2.4.2-academ[BETA-16](1) Mon Jan 19
17:29:08 MET 1998) ready.
Name (bego.cma.fr:algarott):
[...]


, but with the -a, I have the message:

$ ftp bego.cma.fr
Connected to bego.cma.fr.
421 Service not available, remote server has closed connection

and the error message in the log file is:

Jan 20 11:19:56 bego.cma.fr ftpd[9050]: exiting on signal 11


Where can I search for the problems ?


Here are some informations :

------------------------------------------------------------------------
# fgrep ftp /etc/passwd
ftp:x:30000:30000:Anonymous FTP:/ftp/./:/bin/false
------------------------------------------------------------------------

/ftp:
total 40
drwxr-xr-x  10 root     other        512 Jan 19 16:29 .
drwxr-xr-x  81 root     root        2048 Jan 20 10:44 ..
-r-xr-xr-x   1 root     other       1898 Mar 24  1997 README
d--x--x--x   2 root     other        512 Jan 19 15:28 bin
drwxr-xr-x   2 root     other        512 Jan 19 16:58 dev
d--x--x--x   3 root     other        512 Jan 20 10:58 etc
drwx--x--x   2 root     other        512 Jan 19 14:52 incoming
drwx--x--x   2 root     other        512 Jan 19 15:51 lib
drwx------   2 root     other       8192 Sep 19 13:52 lost+found
drwxr-xr-x   2 root     other        512 Jan 20 09:05 pub
d--x--x--x   4 root     other        512 Jan 19 16:35 usr

/ftp/dev:
total 4
drwxr-xr-x   2 root     other        512 Jan 19 16:58 .
drwxr-xr-x  10 root     other        512 Jan 19 16:29 ..
crw-r--r--   1 root     other     13,  2 Jan 19 16:57 null
crw-rw-rw-   1 root     other     11, 42 Jan 19 16:57 tcp
crw-rw-r--   1 root     other    105,  1 Jan 19 16:58 ticotsord
crw-rw-r--   1 root     other     11, 41 Jan 19 16:58 udp
crw-rw-r--   1 root     other     13, 12 Jan 19 16:58 zero

/ftp/etc:
total 16
-r--r-xr-x   1 root     other         47 Jan 24  1995 group
-r--r-xr-x   1 root     other         55 Nov 13 19:49 passwd
-rw-r-xr-x   1 root     other         50 Jan 20 10:58 shells
[...]
------------------------------------------------------------------------
# ls -al /usr/local/lib/ftpd/
total 26
drwxr-xr-x   3 root     other        512 Jan 19 15:07 .
drwxr-xr-x  13 root     other       1024 Jan 19 14:28 ..
-rw-------   1 root     other       1762 Jan 20 08:59 ftpaccess
-rw-------   1 root     other        455 Jan 19 14:37 ftpconversions
-rw-------   1 root     other         37 Jan 19 15:04 ftpgroups
-rw-------   1 root     other        240 Jan 19 14:37 ftphosts
-rw-------   1 root     other        108 Jan 19 15:04 ftpusers
drwxr-xr-x   2 ftp      other        512 Jan 19 15:07 pids
[...]


Thank for your help, I dont know what I can do to resolve the problem.
--
Serge ALGAROTTI  ([email protected]) [http://www-cemef.cma.fr/]
Ecole des Mines de Paris / CEMEF URA CNRS n� 1374    [tel: 04 93 95 74 02]


From [email protected]  Tue Jan 20 05:26:10 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id FAA20556;
       Tue, 20 Jan 1998 05:26:09 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29949;
       Tue, 20 Jan 1998 05:24:32 -0600 (CST)
Received: from spock.tinet.ie (spock.tinet.ie [159.134.237.8])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id FAA29456
       for <[email protected]>; Tue, 20 Jan 1998 05:23:22 -0600 (CST)
Received: from tinet.ie (pc215.eng.tinet.ie [159.134.242.215])
       by spock.tinet.ie (8.8.7/8.8.7) with ESMTP id LAA18558
       for <[email protected]>; Tue, 20 Jan 1998 11:23:20 GMT
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 10:10:12 +0000
Reply-To: [email protected]
Sender: [email protected]
From: Conor Mc Goveran <[email protected]>
To: WUFTPD Mailing List <[email protected]>
Subject: OSF1 4.0b and chroot
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.29 i686)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
       I was wondering if anyone is using beta 15 on osf1 4.0 and
is not having problems with chrooted enviroments.
Regards,
       Conor.

=========================================================
Conor Mc Goveran,       Email: [email protected]
Systems Operator,       ICQ: Eire Og
Telecom Internet.       Phone: 2692222

Telecom Internet,       Quidquid latine dictum sit,
Merrion Hse,            Altum viditur.
Merrion Rd,
Dublin 4.
========================================================


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGPfreeware 5.0i for non-commercial use

mQCNAzSOptMAAAEEANxGD/FAQ0R2w+J0mQlTeaLu74oebSfZaO7yTaI65LT+jX++
lCZewG+Cqv3RukiTFj7HqmRLjWrIB+hXI8BIoNawpCTcy+x6rO0qMRYWbxANfvzM
M1562whI1At3xpibkye92Xs8T/3zJud8IMXZ82/CWySNJ6twe7n1f6LQHkdRAAUR
tCFDb25vciBNYyBHb3ZlcmFuIDxjb25vckB0aW5ldC5pZT6JAJUDBRA0jqbTufV/
otAeR1EBAeh+BADJXUWnscmS/MIpmgldmQwtYrwIRq+QqGIU1kQwRFOJDDuo/IA9
pG2k98TT6H/WFWc4JrQD4VqIcsMRkSAuyQ8R9ZtGHyNNkNgZAkx16gog42OM9c/V
2t+G23RORlpHrHlSPoriGWXhaI4zFfBm2AJGgiZ1FnwwNvSnIGKLVmGdnw==
=eza3
-----END PGP PUBLIC KEY BLOCK-----

From [email protected]  Tue Jan 20 05:28:06 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id FAA20566;
       Tue, 20 Jan 1998 05:28:05 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29357;
       Tue, 20 Jan 1998 05:26:32 -0600 (CST)
Received: from www.samart.co.th (ftp.samart.co.th [203.149.0.12])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29114
       for <[email protected]>; Tue, 20 Jan 1998 05:23:49 -0600 (CST)
Received: (qmail 8435 invoked by uid 502); 20 Jan 1998 11:22:48 -0000
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 18:22:48 +0700 (GMT)
Reply-To: [email protected]
Sender: [email protected]
From: Yutthapong Amornfa <[email protected]>
To: Serge ALGAROTTI <[email protected]>
Cc: [email protected]
Subject: Re: problems with Solaris 2.5.1
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by wugate.wustl.edu id FAA29910
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

Please see in
http://www.landfield.com/wu-ftpd/mail-archive/1997/Dec/0235.html

Yuth
([email protected])


On Tue, 20 Jan 1998, Serge ALGAROTTI wrote:

>
> Hello,
>
> I have to migrate a wu-ftp server from Aix to Solaris. and I have some
> problems to setup on Solaris 2.5.1 (wu-2.4.2-academ[BETA-16)
>
>  I have read the A How-To Guide for wu-ftpd on Solaris 2.5.x and I think I
> have do all the instructions.
>
>  The wu-ftpd works without problems in "standard" mode (without the -a switch)
> :
>
> $ ftp bego.cma.fr
> Connected to bego.cma.fr.
> 220 bego.cma.fr FTP server (Version wu-2.4.2-academ[BETA-16](1) Mon Jan 19
> 17:29:08 MET 1998) ready.
> Name (bego.cma.fr:algarott):
> [...]
>
>
> , but with the -a, I have the message:
>
> $ ftp bego.cma.fr
> Connected to bego.cma.fr.
> 421 Service not available, remote server has closed connection
>
> and the error message in the log file is:
>
> Jan 20 11:19:56 bego.cma.fr ftpd[9050]: exiting on signal 11
>
> Where can I search for the problems ?
>
> Thank for your help, I dont know what I can do to resolve the problem.
> --
> Serge ALGAROTTI  ([email protected]) [http://www-cemef.cma.fr/]
> Ecole des Mines de Paris / CEMEF URA CNRS n� 1374    [tel: 04 93 95 74 02]
>
>


From [email protected]  Tue Jan 20 06:17:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id GAA21194;
       Tue, 20 Jan 1998 06:17:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id GAA32678;
       Tue, 20 Jan 1998 06:15:37 -0600 (CST)
Received: from cemef.cma.fr (cemef.cma.fr [193.54.112.199])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id GAA31231
       for <[email protected]>; Tue, 20 Jan 1998 06:10:07 -0600 (CST)
Received: from paris.cma.fr (paris.cma.fr [193.54.112.194])
         by cemef.cma.fr (8.8.8/jtpda-5.2.9.1) with ESMTP id MAA25506
         ; Tue, 20 Jan 1998 12:56:21 +0100
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 12:56:19 +0100
Reply-To: [email protected]
Sender: [email protected]
From: Serge ALGAROTTI <[email protected]>
To: Yutthapong Amornfa <[email protected]>
Cc: [email protected]
Subject: Re: problems with Solaris 2.5.1
In-Reply-To: (Your message of Tue, 20 Jan 1998 18:22:48 +0700.)
            <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: exmh version 2.0.1 12/23/97
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hello,

>> 421 Service not available, remote server has closed connection

>http://www.landfield.com/wu-ftpd/mail-archive/1997/Dec/0235.html

Thank very much for the replies. The patch solve the problem and wu-ftpd
2.4.2-academ[BETA-16] now works with Solaris 2.5.1

--
Serge ALGAROTTI  ([email protected]) [http://www-cemef.cma.fr/]
Ecole des Mines de Paris / CEMEF URA CNRS n� 1374    [tel: 04 93 95 74 02]


From [email protected]  Tue Jan 20 09:28:07 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA21986;
       Tue, 20 Jan 1998 09:28:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA16071;
       Tue, 20 Jan 1998 09:26:04 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA14530
       for <[email protected]>; Tue, 20 Jan 1998 09:19:56 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id JAA23749
       for <[email protected]>; Tue, 20 Jan 1998 09:19:55 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980120090952.23612A-100000@Argus>
Date: Tue, 20 Jan 1998 09:19:55 -0600 (CST)
Reply-To: Alan Halachmi <[email protected]>
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Subject: ls problem
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm running solaris 2.6 (x86) and ls won't work.  I don't get the socket
0,0,0 error.... When I try to ftp in and ls and from the outside it says:
intern:~> ftp montgomerybell.com
Connected to montgomerybell.com.
220 Argus FTP server (Version wu-2.4.2-academ[BETA-13](1) Sun Jul 6 18:35:50 CDT 1997) ready.
Name (montgomerybell.com:halacha):
331 Password required for halacha.
Password:
230-Please read the file README
230-  it was last modified on Wed Aug  6 22:32:03 1997 - 167 days ago
230 User halacha logged in.  Access restrictions apply.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> quit
221 Goodbye.

However, from the inside:
Connected to localhost.
220 Argus FTP server (Version wu-2.4.2-academ[BETA-13](1) Sun Jul 6 18:35:50 CDT 1997) ready.
Name (localhost:halacha): halacha
331 Password required for halacha.
Password:
230-Please read the file README
230-  it was last modified on Wed Aug  6 22:32:03 1997 - 167 days ago
230 User halacha logged in.  Access restrictions apply.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
profile
login
cshrc
pla
mail
addressbook.lu
etc
usr
web
dev
bin
226 Transfer complete.
776 bytes received in 0.08 seconds (12.03 Kbytes/s)
ftp> quit
221 Goodbye.

Ideas?

I don't see anything in /etc/ftpaccess regarding local as opposed to
remote.

Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com



From [email protected]  Tue Jan 20 09:53:28 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA22211;
       Tue, 20 Jan 1998 09:53:27 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA18041;
       Tue, 20 Jan 1998 09:51:48 -0600 (CST)
Received: from claret.psychology.mcmaster.ca (claret.psychology.McMaster.CA [130.113.218.34])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA14396
       for <[email protected]>; Tue, 20 Jan 1998 09:50:42 -0600 (CST)
Received: by claret.psychology.mcmaster.ca (951211.SGI.8.6.12.PATCH1502/951211.SGI)
       for [email protected] id KAA24845; Tue, 20 Jan 1998 10:50:41 -0500
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 10:50:41 -0500
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Alan J Rosenthal)
To: [email protected]
Subject: Re:  ls problem
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

When you use localhost, it goes over a different interface which is
software-only.  So it doesn't use some of the /dev stuff relating to the
ethernet interface card; that's the difference you're experiencing.  You need
a few more things in /dev for solaris (try some of tcp ticlts ticots ticotsord
udp, but I'm not sure exactly); see the faq or archives of this list.

From [email protected]  Tue Jan 20 10:05:46 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA22261;
       Tue, 20 Jan 1998 10:05:45 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA21085;
       Tue, 20 Jan 1998 10:04:09 -0600 (CST)
Received: from mailnet.rdc.cl ([email protected] [200.27.2.4])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA20250
       for <[email protected]>; Tue, 20 Jan 1998 09:58:42 -0600 (CST)
Received: from rsred.redbanc.cl (rsred.redbanc.net [200.27.107.130]) by mailnet.rdc.cl (8.8.5-r-beta/8.8.5-obm) with SMTP id MAA03321 for <[email protected]>; Tue, 20 Jan 1998 12:58:56 -0300
Received: from intern.redbanc.net by rsred.redbanc.cl (AIX 3.2/UCB 5.64/4.03)
         id AA10243; Tue, 20 Jan 1998 11:02:38 -0600
Message-Id: <01bd25c5$18097560$10fafaa3@pc_cgaete.rbc.cl>
Date: Tue, 20 Jan 1998 13:01:47 -0400
Reply-To: "Claudia Gaete I" <[email protected]>
Sender: [email protected]
From: "Claudia Gaete I" <[email protected]>
To: <[email protected]>
Subject: WU-ftpD and Solaris2.6
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 4.71.1712.3
X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm new in the list. Here are 2 questions:

which version of wu-ftpd is year 2000 compliant (2.4, 2.4.2, some beta,
etc)?
Has anybody compiled that version in Solaris 2.6? Any problem or
consideration?

Best Regards
Claudia Gaete I.
Technology Project Manager
Redbanc S.A.
Huerfanos 770, 12th Floor, Santiago, Chile
Phone : (562) 674 67 00
Fax : (562) 671 10 09



From [email protected]  Tue Jan 20 10:08:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA22280;
       Tue, 20 Jan 1998 10:08:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id KAA17346;
       Tue, 20 Jan 1998 10:06:45 -0600 (CST)
Received: from mail.sebank.se (yen.sebank.se [129.178.88.65])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA20951
       for <[email protected]>; Tue, 20 Jan 1998 09:59:55 -0600 (CST)
Received: (from smap@localhost)
       by mail.sebank.se (8.8.8/8.8.8) id QAA13200
       for <[email protected]>; Tue, 20 Jan 1998 16:59:24 +0100 (MET)
Received: from se2000(129.178.2.1) by yen via smap (V1.3)
       id sma013189; Tue Jan 20 16:59:10 1998
Received: from se2006a (harot) by se2000.sebank.se (8.7.5/8.7.3) with SMTP
       id QAA01658 for <[email protected]>;
       Tue, 20 Jan 1998 16:59:09 +0100 (MET)
Received: from localhost by se2006a (SMI-8.6/SMI-SVR4)
       id QAA21869; Tue, 20 Jan 1998 16:59:09 +0100
Message-Id: <Pine.SOL.3.96.980120163040.21529A-100000@se2006a>
Date: Tue, 20 Jan 1998 16:59:08 +0100 (MET)
Reply-To: [email protected]
Sender: [email protected]
From: Harald Otterlind <[email protected]>
To: wuftpd <[email protected]>
Subject: Many entries in ftphosts
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: u05099@se2006a
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


To make wu-ftpd-2.4.2-beta-16 work with more than 10 entries in the
ftphosts file on Solaris 2.5.1, we had to make a fix in the hostacc.c

diff hostacc.c.org hostacc.c

261c261
<                 if (++iHaInd > iHaMalloc)
---
>                 if (++iHaInd >= iHaMalloc)


/Harald Ottelind
UnixTeknik, Sebanken Sweden, [email protected]


From [email protected]  Tue Jan 20 11:09:30 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA22612;
       Tue, 20 Jan 1998 11:09:30 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA24465;
       Tue, 20 Jan 1998 11:07:19 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA28273
       for <[email protected]>; Tue, 20 Jan 1998 11:03:37 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id MAA23923;
       Tue, 20 Jan 1998 12:05:33 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 12:05:32 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Alan Halachmi <[email protected]>
Cc: wu-ftpd list <[email protected]>
Subject: Re: ls problem
In-Reply-To: <Pine.GSO.3.96.980120090952.23612A-100000@Argus>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



> I'm running solaris 2.6 (x86) and ls won't work.  I don't get the socket
> 0,0,0 error.... When I try to ftp in and ls and from the outside it says:

[ls is broken from outside, but works from within the local network]

> I don't see anything in /etc/ftpaccess regarding local as opposed to
> remote.

I'm inclined to think you have your user account set up wrong here.  Be
sure your allowing him access to the ~ftp/usr/lib directory, and the real
/etc/password represents the proper path.

If it happens for all users, this is almost definately your problem.
Consider using the DAEMON facility from syslog to gather more information
on what's happening here.

Dave




From [email protected]  Tue Jan 20 11:15:16 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA22661;
       Tue, 20 Jan 1998 11:15:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA29246;
       Tue, 20 Jan 1998 11:13:33 -0600 (CST)
Received: from josephus.furph.com (josephus.furph.com [38.154.194.160])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA26276
       for <[email protected]>; Tue, 20 Jan 1998 11:07:04 -0600 (CST)
Received: from localhost (beckers@localhost) by josephus.furph.com (8.8.0/8.8.0) with SMTP id MAA11132 for <[email protected]>; Tue, 20 Jan 1998 12:09:40 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 12:09:40 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Becki Kain <[email protected]>
To: [email protected]
Subject: real users showing up as guests
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

If a real user is also part of a guest group, they can't get to their own
home directory when they ftp in (du 4.0/beta 15).  What am I doing wrong?

thanks

beckers


From [email protected]  Tue Jan 20 11:17:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA22682;
       Tue, 20 Jan 1998 11:17:20 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA29405;
       Tue, 20 Jan 1998 11:15:42 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA29022
       for <[email protected]>; Tue, 20 Jan 1998 11:08:12 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id MAA23984;
       Tue, 20 Jan 1998 12:09:42 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 12:09:40 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Claudia Gaete I <[email protected]>
Cc: [email protected]
Subject: Re: WU-ftpD and Solaris2.6
In-Reply-To: <01bd25c5$18097560$10fafaa3@pc_cgaete.rbc.cl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> which version of wu-ftpd is year 2000 compliant (2.4, 2.4.2, some beta,
> etc)?

I sure hope you won't be using the version that's available in 2000 that
your using today.. Anyway, it is prudent to use the 2.4.2-BETA-16 at this
point.

> Has anybody compiled that version in Solaris 2.6? Any problem or
> consideration?

Compiles and runs fine, but not fully tested..  Just be sure that if your
using gcc, you've compiled it for a 2.6 box, as there are significant
library changes between 2.5.1 and 2.6.

Dave



From [email protected]  Tue Jan 20 11:27:59 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA22731;
       Tue, 20 Jan 1998 11:27:58 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA31518;
       Tue, 20 Jan 1998 11:26:19 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA31375
       for <[email protected]>; Tue, 20 Jan 1998 11:25:25 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id LAA15914;
       Tue, 20 Jan 1998 11:25:17 -0600
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 11:25:17 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Becki Kain <[email protected]>
Cc: [email protected]
Subject: Re: real users showing up as guests
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I don't understand; a guest is chroot'ed into their home directory. ??

  -- Michael

On Tue, 20 Jan 1998, Becki Kain wrote:

> If a real user is also part of a guest group, they can't get to their own
> home directory when they ftp in (du 4.0/beta 15).  What am I doing wrong?


From [email protected]  Tue Jan 20 11:40:39 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA22804;
       Tue, 20 Jan 1998 11:40:39 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA31577;
       Tue, 20 Jan 1998 11:38:51 -0600 (CST)
Received: from josephus.furph.com (josephus.furph.com [38.154.194.160])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA30997
       for <[email protected]>; Tue, 20 Jan 1998 11:36:45 -0600 (CST)
Received: from localhost (beckers@localhost) by josephus.furph.com (8.8.0/8.8.0) with SMTP id MAA04510; Tue, 20 Jan 1998 12:39:16 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 12:39:16 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Becki Kain <[email protected]>
To: Michael Brennen <[email protected]>
Cc: [email protected]
Subject: Re: real users showing up as guests
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

sorry, if a real user is part of a guest group (ie:  a group that is
listed in guestgroup in ftpaccess) then when they log in, they end up in
the guest group and cannot cd into their own home directory.

sorry for being vague


On Tue, 20 Jan 1998, Michael Brennen wrote:

>
> I don't understand; a guest is chroot'ed into their home directory. ??
>
>    -- Michael
>
> On Tue, 20 Jan 1998, Becki Kain wrote:
>
> > If a real user is also part of a guest group, they can't get to their own
> > home directory when they ftp in (du 4.0/beta 15).  What am I doing wrong?
>
>


From [email protected]  Tue Jan 20 12:12:16 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA22982;
       Tue, 20 Jan 1998 12:12:15 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA02701;
       Tue, 20 Jan 1998 12:10:36 -0600 (CST)
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 MAA02950
       for <[email protected]>; Tue, 20 Jan 1998 12:07:47 -0600 (CST)
Received: from dadd.ti.com. ([156.117.179.59]) by gatekeep.ti.com (8.8.8) with ESMTP id MAA22757; Tue, 20 Jan 1998 12:06:40 -0600 (CST)
Received: from pavis.dadd.ti.com by dadd.ti.com. (8.8.4/)
         id MAA27158; Tue, 20 Jan 1998 12:06:39 -0600 (CST)
Received: by pavis.dadd.ti.com id <[email protected]>; Tue, 20 Jan 1998 12:06:37 -0600
Message-Id: <[email protected]>
Date: Tue, 20 Jan 98 12:06:37 CST
Reply-To: [email protected] (Bob Luckin)
Sender: [email protected]
From: Bob Luckin <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: real users showing up as guests
In-Reply-To: <[email protected]>; from "Becki Kain" at Jan 20, 98 12:09 (noon)
X-Mimi-Options: HEADERS TI2
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Becky said :-
> If a real user is also part of a guest group, they can't get to their own
> home directory when they ftp in (du 4.0/beta 15).  What am I doing wrong?

I _think_ what you are doing wrong is putting a real user into a guestgroup,
when you want them to have real user rights...  :-)

As I understand it, one of the functions of the guestgroup is to provide
limited access to the site; anyone in that group will be chrooted to a
special area for the guestgroup and should not be allowed access outside
that area.  So it sounds like guestgroups is working fine in your setup.

Since you don't appear to want to restrict the access of your real user,
why not simply remove them from the guestgroup ?

Since I don't use guestgroups much myself I may have misunderstood the
problem, in which case I stand to be corrected...

Cheers, Bob
--
Bob Luckin   [email protected]   "On data, coder, adapt - FTP Ada, redo C a tad, no ?"
                          [http://www.dhc.net/~luckin/palindromes.html]

From [email protected]  Tue Jan 20 13:29:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA23422;
       Tue, 20 Jan 1998 13:29:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA11881;
       Tue, 20 Jan 1998 13:26:55 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA10836
       for <[email protected]>; Tue, 20 Jan 1998 13:24:52 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id NAA01456
       for <[email protected]>; Tue, 20 Jan 1998 13:24:51 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980120132156.1397A-100000@Argus>
Date: Tue, 20 Jan 1998 13:24:51 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Subject: beta-16 problem - more info
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Undefined                       first referenced
symbol                             in file
strsep                              private.o
strcasestr                          access.o
ld: fatal: Symbol referencing errors. No output written to ftpd
collect2: ld returned 1 exit status
make: *** [ftpd] Error 1

I went into ~ftp/src and executed the command:
find ./ -type f -exec grep strsep {} \;

I only found strsep in private.c and conversions.c
How does one define these symbols?

Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com


From [email protected]  Tue Jan 20 13:35:10 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA23471;
       Tue, 20 Jan 1998 13:35:09 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA07449;
       Tue, 20 Jan 1998 13:32:49 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA09366
       for <[email protected]>; Tue, 20 Jan 1998 13:31:35 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id NAA01604;
       Tue, 20 Jan 1998 13:31:33 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980120132926.1560A-100000@Argus>
Date: Tue, 20 Jan 1998 13:31:33 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Cc: [email protected]
Subject: Plea!
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Please help me get this ftpd working.  My old ver was working... then I
tried to upgrade to this new ver and now nothing works!  My users are
setup in the /home/user/./ style.  That should make things earier.  Please
help me out here.

First setup is simply getting the ftpd to compile!

Help, TIA,
Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com


From [email protected]  Tue Jan 20 13:40:59 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA23523;
       Tue, 20 Jan 1998 13:40:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA13792;
       Tue, 20 Jan 1998 13:39:16 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA12459
       for <[email protected]>; Tue, 20 Jan 1998 13:38:21 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id NAA01677
       for <[email protected]>; Tue, 20 Jan 1998 13:38:15 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980120133732.1663A-100000@Argus>
Date: Tue, 20 Jan 1998 13:38:15 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Subject: Plea - Idea
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

If anyone has success compiling beta16 w/ sol 2.6 (x86), let me know and
I'm more than happy to take a binary until we can figure out what's going
on.

Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com


From [email protected]  Tue Jan 20 14:06:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA23698;
       Tue, 20 Jan 1998 14:06:54 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA12011;
       Tue, 20 Jan 1998 14:04:55 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA16552
       for <[email protected]>; Tue, 20 Jan 1998 14:00:04 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id PAA26613;
       Tue, 20 Jan 1998 15:01:51 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 15:01:51 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Alan Halachmi <[email protected]>
Cc: wu-ftpd list <[email protected]>, [email protected]
Subject: Re: Plea!
In-Reply-To: <Pine.GSO.3.96.980120132926.1560A-100000@Argus>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> Please help me get this ftpd working.  My old ver was working... then I
> tried to upgrade to this new ver and now nothing works!  My users are
> setup in the /home/user/./ style.  That should make things earier.  Please
> help me out here.

Umm.. How about some more information?  What have you done so far?  Have
you read the installation instructions?  If it doesn't compile, where does
the compile fail?  What operating system are you using?  What version of
wuftpd are you using?

I noticed your .sig said you are a Solaris sysadmin.  You should know
better than to be so brief in your description of the problem.  Go here
and get the binary and be done with it:

http://smc.vnet.net/

Dave



From [email protected]  Tue Jan 20 14:12:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA23751;
       Tue, 20 Jan 1998 14:12:54 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA17086;
       Tue, 20 Jan 1998 14:11:09 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA17581
       for <[email protected]>; Tue, 20 Jan 1998 14:08:55 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id PAA26719;
       Tue, 20 Jan 1998 15:11:00 -0500 (EST)
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 15:10:59 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Alan Halachmi <[email protected]>
Cc: wu-ftpd list <[email protected]>
Subject: Re: beta-16 problem - more info
In-Reply-To: <Pine.GSO.3.96.980120132156.1397A-100000@Argus>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> Undefined                       first referenced
>  symbol                             in file
> strsep                              private.o
> strcasestr                          access.o
> ld: fatal: Symbol referencing errors. No output written to ftpd
> collect2: ld returned 1 exit status
> make: *** [ftpd] Error 1

See the support directory.  There are a few lines in the makefile that are
specific to 2.6, and perhaps that's your problem.

The two functions are defined in ./support/strcasestr.c and
/support/strsep.c, and linked to form libsupport.a.

Its odd, because without any modifications, it compiles fine on 2.6 sparc.

Dave



From [email protected]  Tue Jan 20 18:41:42 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id SAA25396;
       Tue, 20 Jan 1998 18:41:41 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA14572;
       Tue, 20 Jan 1998 18:39:53 -0600 (CST)
Received: from relay4.smtp.psi.net (relay4.smtp.psi.net [38.9.52.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA14325
       for <[email protected]>; Tue, 20 Jan 1998 18:38:11 -0600 (CST)
Received: from extsvr.aptix.com by relay4.smtp.psi.net (8.8.5/SMI-5.4-PSI)
       id TAA05497; Tue, 20 Jan 1998 19:38:06 -0500 (EST)
Received: from [38.229.247.10] (gatekeeper.aptix.com [38.229.247.10]) by  extsvr.aptix.com (8.8.4/8.8.3) with SMTP id QAA14582 for <[email protected]>; Tue, 20 Jan 1998 16:37:10 -0800 (PST)
Received: from intsvr ([132.147.160.93]) by [38.229.247.10]
         via smtpd (for extsvr [38.229.247.20]) with SMTP; 21 Jan 1998 00:27:08 UT
Received: from axws2.aptix.com (axws2.aptix.com [132.147.160.16]) by intsvr.aptix.com (8.8.4/8.8.3) with SMTP id QAA13705; Tue, 20 Jan 1998 16:43:50 -0800 (PST)
Received: by axws2.aptix.com (SMI-8.6/SMI-SVR4)
       id QAA08591; Tue, 20 Jan 1998 16:40:30 -0800
Message-Id: <[email protected]>
Date: Tue, 20 Jan 1998 16:40:30 -0800
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Jeffrey Liu)
To: [email protected]
Cc: [email protected]
Subject: wu-ftp2.4 upload deny
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-MD5: q/sy1Optz2fqKDg/yvE6gg==
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id SAA13881
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


We are using wu-ftpd 2.4 on a SunOS 4.1.4 server.
We setup 'admin' user account to upload to ~ftp/pub directory.
and 'anonymous' account to upload to ~ftp/outgoing directory.

ftpaccess file
...
upload  /home/ftp  /pub          yes     admin   admin  0600 dirs
upload  /home/ftp  /pub/*        yes     admin   admin  0600 dirs
upload  /home/ftp  /outgoing       yes     ftp   ftp   0600 dirs
upload  /home/ftp  /outgoing       yes     ftp   ftp   0600 dirs

..
~ftp is /home/ftp  and 'admin' home directory is /home/ftp also.

'anonymous' has no problem to upload files to ~ftp/outgoing directory
but 'admin' get error when upload to ~ftp/pub directory:
ftp> put faq.html
200 PORT command successful.
553 faq.html: Permission denied. (Upload)

The permission of ~ftp/pub is 755 and is owned by 'admin'.

What do we missing?

Thanks,

Jeffrey
[email protected]



From [email protected]  Tue Jan 20 21:07:43 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA26090;
       Tue, 20 Jan 1998 21:07:42 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA25824;
       Tue, 20 Jan 1998 21:06:06 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA23694
       for <[email protected]>; Tue, 20 Jan 1998 20:59:40 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id UAA05179
       for <[email protected]>; Tue, 20 Jan 1998 20:59:37 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980120205809.5173A-100000@Argus>
Date: Tue, 20 Jan 1998 20:59:37 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Subject: Won't believe..
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I'm sure nobody will believe this... but, after all the problem I was
having - everyone told me that they haddn't had the problem.  So, I rm
-rf'ed the directory for wuftpd and downloaded the tar.Z file again.  This
time it compiled w/ no errors.  I don't quite know what I did, but it
worked.

Thanks,
Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com


From [email protected]  Tue Jan 20 21:45:36 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA26361;
       Tue, 20 Jan 1998 21:45:35 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA30443;
       Tue, 20 Jan 1998 21:44:02 -0600 (CST)
Received: from public.shenzhen.cngb.com ([203.93.104.3])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA23520
       for <[email protected]>; Tue, 20 Jan 1998 21:38:06 -0600 (CST)
Received: from localhost (wzy@localhost)
       by public.shenzhen.cngb.com (8.8.5/8.8.5) with SMTP id LAA19320
       for <[email protected]>; Wed, 21 Jan 1998 11:35:45 +0800 (CST)
Message-Id: <Pine.SOL.3.96.980121112805.19298A-100000@public>
Date: Wed, 21 Jan 1998 11:35:44 +0800 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: [email protected]
Subject: Timezone
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi:

I want to know how to set the timezone correct. I am in P.R.C. I do like
this:

~ftp/etc/:
 -r-xr-xr-x 1 root system 462 Feb  5 15:33 TIMEZONE*
 the content of TIMEZONE is TZ=PRC

~ftp/usr/share/lib/zoneinfo
 -r--r--r-- 1 root bin         634  May 3 1996 PRC

but when I login, I found the time is not like I am in the system, there
are 8 hours

How to do?



From [email protected]  Tue Jan 20 22:49:11 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA26806;
       Tue, 20 Jan 1998 22:49:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA30333;
       Tue, 20 Jan 1998 22:47:33 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA02371
       for <[email protected]>; Tue, 20 Jan 1998 22:43:33 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id WAA00806
       for <[email protected]>; Tue, 20 Jan 1998 22:43:28 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980120222124.612A-100000@Argus>
Date: Tue, 20 Jan 1998 22:43:28 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Subject: Last step, one last Q.
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

OK,
       Alrighty folks... So, I finally got the ftpd compiled and
installed.  So, My inetd.conf line looks like this:
ftp stream  tcp  nowait  root  /usr/local/bin/tcpd /usr/sbin/in.ftpd

Great... everything looks and runs great...

So, I change the line to:
ftp stream  tcp  nowait  root  /usr/local/bin/tcpd /usr/sbin/in.ftpd -a

This is what I get:
Connected to montgomerybell.com.
421 Service not available, remote server has closed connection

My /var/adm/messages reveals:
Jan 20 22:29:21 Argus ftpd[671]: exiting on signal 11

So, I figure it's one of my config files, so I try this:
tp stream  tcp  nowait  root  /usr/local/bin/tcpd /usr/sbin/in.ftpd -A

This is what I get:
Connected to montgomerybell.com.
421 Service not available, remote server has closed connection

My /var/adm/messages reveals:
Jan 20 22:32:20 Argus ftpd[709]: exiting on signal 11


I'm baffled.  Thoughts?

Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com


From [email protected]  Wed Jan 21 02:15:12 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id CAA06091;
       Wed, 21 Jan 1998 02:15:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA24925;
       Wed, 21 Jan 1998 02:13:32 -0600 (CST)
Received: from www.samart.co.th (ftp.samart.co.th [203.149.0.12])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA21697
       for <[email protected]>; Wed, 21 Jan 1998 02:06:36 -0600 (CST)
Received: (qmail 19939 invoked by uid 502); 21 Jan 1998 08:05:35 -0000
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 15:05:34 +0700 (GMT)
Reply-To: [email protected]
Sender: [email protected]
From: Yutthapong Amornfa <[email protected]>
To: Alan Halachmi <[email protected]>
Cc: wu-ftpd list <[email protected]>
Subject: Re: Last step, one last Q.
In-Reply-To: <Pine.GSO.3.96.980120222124.612A-100000@Argus>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


       If you use wu-ftp 2.4.2 BETA 16 please see at
http://www.landfield.com/wu-ftpd/mail-archive/1997/Dec/0235.html
It will tell you what's happen in beta 16.

Yuth
([email protected])

On Tue, 20 Jan 1998, Alan Halachmi wrote:

> OK,
>       Alrighty folks... So, I finally got the ftpd compiled and
> installed.  So, My inetd.conf line looks like this:
> ftp stream  tcp  nowait  root  /usr/local/bin/tcpd /usr/sbin/in.ftpd
>
> Great... everything looks and runs great...
>
> So, I change the line to:
> ftp stream  tcp  nowait  root  /usr/local/bin/tcpd /usr/sbin/in.ftpd -a
>
> This is what I get:
> Connected to montgomerybell.com.
> 421 Service not available, remote server has closed connection
>
> My /var/adm/messages reveals:
> Jan 20 22:29:21 Argus ftpd[671]: exiting on signal 11
>
> So, I figure it's one of my config files, so I try this:
> tp stream  tcp  nowait  root  /usr/local/bin/tcpd /usr/sbin/in.ftpd -A
>
> This is what I get:
> Connected to montgomerybell.com.
> 421 Service not available, remote server has closed connection
>
> My /var/adm/messages reveals:
> Jan 20 22:32:20 Argus ftpd[709]: exiting on signal 11
>
>
> I'm baffled.  Thoughts?
>
> Alan
>
> Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
> Solaris Administrator/ Web Design       | Ingram Entertainment &
> Montgomery Bell Academy                 |       SpeedServe, Inc.
> mailto:[email protected]       | mailto:[email protected]
> http://www.montgomerybell.com           | http://www.speedserve.com
>
>


From [email protected]  Wed Jan 21 02:59:10 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id CAA07412;
       Wed, 21 Jan 1998 02:59:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA29122;
       Wed, 21 Jan 1998 02:57:40 -0600 (CST)
Received: from etri.re.kr (mail.etri.re.kr [129.254.9.28])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id CAA24661
       for <[email protected]>; Wed, 21 Jan 1998 02:51:47 -0600 (CST)
Received: from mail.etri.re.kr (pc-1183f.etri.re.kr [129.254.4.152])
       by etri.re.kr (8.8.8H1/8.8.8) with ESMTP id QAA22424
       for <[email protected]>; Wed, 21 Jan 1998 16:54:45 +0900 (KST)
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 16:57:07 +0900
Reply-To: [email protected]
Sender: [email protected]
From: "����ȣ" <[email protected]>
To: [email protected]
Subject: Give me answer
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mozilla 4.03 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

HELLO!
Please give me answer
I can,t build wu-ftpd on HP-UX 10.20
I met error messages

------------------------------------------------------------
cp support/ftp.h /usr/include/arpa/ftp.h

/build hpx
.....
*Initialization*:1: missing token-sequence in `#assert'
*** Error exit code 1

gcc: ../support/libsupport.a: No such file or directory
*Initialization*:1: missing token-sequence in `#assert'
*** Error exit code 1

cat't create ftpd, ftpshut, ftpcount
sorry I can't speek english
please give me answer!!
Thank you read my letter. :-)
--
mail to :
[email protected]

. ��  .    ï¿½ï¿½ .   . ..   .��.   .  .   .�� .    .   .��   ..  .
    .   .   .   .        .    ï¿½ï¿½ .    .     �� .       .   ��
   ï¿½ï¿½   .     .    .      .      .        .  .      .    .
 .�� .       .       �� .    .    ï¿½ï¿½.    .    .





From [email protected]  Wed Jan 21 11:21:41 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA10695;
       Wed, 21 Jan 1998 11:21:40 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA03202;
       Wed, 21 Jan 1998 11:19:58 -0600 (CST)
Received: from ns1.francelink.com ([209.8.232.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA32375
       for <[email protected]>; Wed, 21 Jan 1998 11:13:59 -0600 (CST)
Received: from elk (elk.francelink.com [209.8.232.157]) by ns1.francelink.com (8.7.4/8.7.3) with SMTP id MAA12182 for <[email protected]>; Wed, 21 Jan 1998 12:10:03 -0500
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 12:05:34 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Cyrille Mastchenko <[email protected]>
To: [email protected]
Subject: guest account and user and passwd id
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email protected]
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hello,

I have some ftp guest account on a computer here.
This work really well with the redhat 4.2 but now I just install the redhat 5
and, with the "new" ls and the new library I can't see the group name and
the user name with
the command "dir", I see only the id number.

Is there any possibility to correct that ?

Thanks

Cyrille Mastchenko
[email protected]



From [email protected]  Wed Jan 21 12:25:58 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA10961;
       Wed, 21 Jan 1998 12:25:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA11178;
       Wed, 21 Jan 1998 12:24:16 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA10558
       for <[email protected]>; Wed, 21 Jan 1998 12:18:14 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id MAA06928
       for <[email protected]>; Wed, 21 Jan 1998 12:18:13 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980121120556.6803A-100000@Argus>
Date: Wed, 21 Jan 1998 12:18:12 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: wu-ftpd list <[email protected]>
Subject: Questions...
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: halacha@Argus
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

OK,

       I applied the patch for 2.6 to the beta-16 code and there is no
more denial of service.  Now, here's the situation...
Regardless of if I'm using the -a option or not the anonymous ftp works.
I also have some accounts setup...
one is /home/user1  the other is /home/user2/./
So, if I turn OFF the -a option, both of these accounts work fine (except
that the user2 account doesn't chroot).  However, when I USE the -a option
the user1 account and the user2 account list the directory fine if I'm
ftping to 127.0.0.1, but remotely the user1 account doesn't return
the directory listing from ls; and with the user2 account ls returns
no information and gives a core dump.

       I'm running a 2.6 (x86) box using the latest version of egcs
(gcc).  My version of wu-ftpd is BETA-16.  I've copied the proper
libraries w/ their original ownership and permissions to the ~/usr/lib for
user2; and the same goes for ~/bin.  In the dev dir I've got tcp and zero
and their major/minor numbers match those I have in the /dev dir.

       I'm VERY baffled.

Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design       | Ingram Entertainment &
Montgomery Bell Academy                 |       SpeedServe, Inc.
mailto:[email protected]       | mailto:[email protected]
http://www.montgomerybell.com           | http://www.speedserve.com


From [email protected]  Wed Jan 21 13:42:10 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA11379;
       Wed, 21 Jan 1998 13:42:09 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA19098;
       Wed, 21 Jan 1998 13:40:28 -0600 (CST)
Received: from noc.belwue.de ([email protected] [129.143.2.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA19270
       for <[email protected]>; Wed, 21 Jan 1998 13:36:57 -0600 (CST)
Received: from dns1.rz.fh-heilbronn.de (dns1.rz.fh-heilbronn.de [141.7.1.18])
       by noc.belwue.de (8.8.8/8.8.8) with ESMTP id UAA10429;
       Wed, 21 Jan 1998 20:36:53 +0100 (MET)
       env-from ([email protected])
Received: from jupiter.rz.fh-heilbronn.de (jupiter.rz.fh-heilbronn.de [141.7.1.40])
       by dns1.rz.fh-heilbronn.de (8.8.5/8.8.5) with ESMTP id UAA19489;
       Wed, 21 Jan 1998 20:36:10 +0100 (MET)
Received: from hendrix (hendrix [141.7.12.100])
       by jupiter.rz.fh-heilbronn.de (8.8.6/8.8.6) with SMTP id UAA29290;
       Wed, 21 Jan 1998 20:33:54 +0100 (MET)
Message-Id: <Pine.GSO.3.94.980121202443.17542A-100000@hendrix>
Date: Wed, 21 Jan 1998 20:33:52 +0100 (MET)
Reply-To: [email protected]
Sender: [email protected]
From: Matthias Sturm <[email protected]>
To: [email protected]
Cc: "test an [email protected]" <[email protected]>
Subject: compiling for trusted system (hpux)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: sturm@hendrix
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi,

who can i compile the wu-ftpd for a trusted system (hpux) ?

help !!

ciao matthias



From [email protected]  Wed Jan 21 16:47:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA12384;
       Wed, 21 Jan 1998 16:46:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA07576;
       Wed, 21 Jan 1998 16:45:06 -0600 (CST)
Received: from frosty.irss.unc.edu (frosty.irss.unc.edu [152.2.32.82])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA07586
       for <[email protected]>; Wed, 21 Jan 1998 16:41:26 -0600 (CST)
Received: from veblen.unc.edu (veblen [152.2.32.87]) by frosty.irss.unc.edu (8.6.12/8.6.10) with ESMTP id RAA00888 for <[email protected]>; Wed, 21 Jan 1998 17:40:04 -0500
Received: by veblen.unc.edu (SMI-8.6/SMI-SVR4)
       id RAA22581; Wed, 21 Jan 1998 17:40:56 -0500
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 17:40:56 -0500
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: [email protected]
Subject: gz to zip compression
X-Sun-Charset: US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Everyone,

I would like to store my archive in gzip format but I would like the users
to get a zip format with the on the fly compression via ftpconversions file.
Can you run a series of commands or a script in the ftpconversions file
ie gzip2zip.sh %s or something like that. Or is there a better way to do this?


Jon Crabtree

From [email protected]  Wed Jan 21 21:27:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA13507;
       Wed, 21 Jan 1998 21:27:47 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA02244;
       Wed, 21 Jan 1998 21:26:03 -0600 (CST)
Received: from radar.wwisp.com ([email protected] [205.218.116.12])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA07506
       for <[email protected]>; Wed, 21 Jan 1998 21:24:46 -0600 (CST)
Received: from yan (pm30a-ppp25.wwisp.com [205.218.116.218]) by radar.wwisp.com (8.8.5/8.7.3) with SMTP id VAA08570 for <[email protected]>; Wed, 21 Jan 1998 21:24:44 -0600 (CST)
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 21:11:49 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Yan Zhu <[email protected]>
To: [email protected]
Subject: invisible ftp
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01C-KIT  (Win95; U)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi all :)
       I set up a guest ftp account. Everything works fine except when I log
in using web or a ftp gui client such as cuteftp, the directory appears
to be empty. I am running linux. If I ftp in using dos prompt, I can see
everything in it, and I can upload and download just fine. If I use
cuteftp or web, I can upload successfully, but afterwards I won't see a
thing in the directory.

       help please! thanks in advance.

yan

From [email protected]  Wed Jan 21 21:52:31 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA13765;
       Wed, 21 Jan 1998 21:52:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA09485;
       Wed, 21 Jan 1998 21:50:46 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA09935
       for <[email protected]>; Wed, 21 Jan 1998 21:50:27 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id WAA22526;
       Wed, 21 Jan 1998 22:52:21 -0500 (EST)
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 22:52:21 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Yan Zhu <[email protected]>
Cc: [email protected]
Subject: Re: invisible ftp
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


>       I set up a guest ftp account. Everything works fine except when I log
> in using web or a ftp gui client such as cuteftp, the directory appears
> to be empty. I am running linux. If I ftp in using dos prompt, I can see
> everything in it, and I can upload and download just fine. If I use
> cuteftp or web, I can upload successfully, but afterwards I won't see a
> thing in the directory.

Sounds like directory permission problem.  Most likely 'cuteftp' and
netscape reconnect and relogin on every file transfer.  This may have
something to do with how it reads the directory tree, and file
permissions.

Be sure directories you wish to read have read permissions, and
directories you wish to access have execute permissions.

Also, typically, files that guest users upload should be unreadable, and
changed to be owned by root, which will avoid warez trading...  If you
wish to have users read these files, consider creating a 'guestgroup',
which has a finer level of user/group control.

If you are confident directory permissions are correct, check to make sure
you are putting the user in the correct spot in the ftp tree to read
~ftp/usr/lib.

If you still don't understand, respond with more information.  What is
this going to be used for?  How many people will be using this account?
Have you read the ftpaccess man page?  Do you know how to use standard
unix file permissioning?

Dave



From [email protected]  Wed Jan 21 22:36:55 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA14240;
       Wed, 21 Jan 1998 22:36:53 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA13805;
       Wed, 21 Jan 1998 22:35:07 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA09477
       for <[email protected]>; Wed, 21 Jan 1998 22:32:16 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id WAA16879;
       Wed, 21 Jan 1998 22:32:23 -0600
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 22:32:23 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Yan Zhu <[email protected]>
Cc: [email protected]
Subject: Re: invisible ftp
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Your external 'ls' is not working.  The FAQ, guest howto and other
resources below will help you get it working.

  -- Michael

On Wed, 21 Jan 1998, Yan Zhu wrote:

>       I set up a guest ftp account. Everything works fine except when I log
> in using web or a ftp gui client such as cuteftp, the directory appears
> to be empty. I am running linux. If I ftp in using dos prompt, I can see


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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Wed Jan 21 22:49:25 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA14346;
       Wed, 21 Jan 1998 22:49:24 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA14564;
       Wed, 21 Jan 1998 22:47:51 -0600 (CST)
Received: from vs1.virtualisys.com ([207.137.172.173])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA32243
       for <[email protected]>; Wed, 21 Jan 1998 22:42:42 -0600 (CST)
Received: from ntrkcasa (pool39.hiper.net [207.137.172.39])
       by vs1.virtualisys.com (8.8.8/8.8.8) with SMTP id UAA29182;
       Wed, 21 Jan 1998 20:42:04 -0800 (PST)
Message-Id: <[email protected]>
Date: Wed, 21 Jan 1998 20:42:35 -0800
Reply-To: [email protected]
Sender: [email protected]
From: "Randy A. Katz" <[email protected]>
To: [email protected], [email protected]
Subject: Re: invisible ftp
In-Reply-To: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email protected]
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Gee,

You wouldn't happen to be on a virtual FTP would you? If so, you must
specify virtual as the first argument in ftpaccess for that virtual FTP
rather then the domain name...(please let me know)...

Thanx,
Randy Katz


At 09:11 PM 1/21/98 -0500, Yan Zhu wrote:
>hi all :)
>       I set up a guest ftp account. Everything works fine except when I log
>in using web or a ftp gui client such as cuteftp, the directory appears
>to be empty. I am running linux. If I ftp in using dos prompt, I can see
>everything in it, and I can upload and download just fine. If I use
>cuteftp or web, I can upload successfully, but afterwards I won't see a
>thing in the directory.
>
>       help please! thanks in advance.
>
>yan
>
>

From [email protected]  Thu Jan 22 02:21:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id CAA18568;
       Thu, 22 Jan 1998 02:21:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA06685;
       Thu, 22 Jan 1998 02:19:30 -0600 (CST)
Received: from virtex.lnstar.com ([email protected] [207.239.132.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id CAA06941
       for <[email protected]>; Thu, 22 Jan 1998 02:15:45 -0600 (CST)
Received: from localhost (allen@localhost)
       by virtex.lnstar.com (8.8.8/8.8.8) with SMTP id CAA16494
       for <[email protected]>; Thu, 22 Jan 1998 02:15:52 -0600
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 02:15:52 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: lnstar programmer <[email protected]>
To: [email protected]
Subject: guest groups
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I am having problems setting up guest groups for certain accounts. It
appears that it has something to do with wuftp reading the passwd file
upon login for these guest group accounts. When I try to ftp in with these
accounts and enter the passwd, I get a login failed message. Telnet works
fine from these accounts.
Standard anonymous ftp works, and so does ftp with accounts that are
standard user accounts (non-guests).

For each guest account I am creating an entry in the /etc/passwd file, and
adding them to an entry in the /etc/group as a member of group 'client'.
Those are the only additions made with respect to guest users.

I am wondering if there are some permission problems with reading the
passwd file somehow. I have to get past this stage before I can even try
to get the rest of it working.

This is linux 2.0.33 using wuftp[beta15]

Any help is appreciated!

-allen-


From [email protected]  Thu Jan 22 07:53:49 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id HAA27208;
       Thu, 22 Jan 1998 07:53:48 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA31299;
       Thu, 22 Jan 1998 07:52:06 -0600 (CST)
Received: from radar.wwisp.com ([email protected] [205.218.116.12])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id HAA30547
       for <[email protected]>; Thu, 22 Jan 1998 07:46:03 -0600 (CST)
Received: from wwisp.com (p3-1-ppp43.wwisp.com [207.98.225.43]) by radar.wwisp.com (8.8.5/8.7.3) with ESMTP id HAA04829 for <[email protected]>; Thu, 22 Jan 1998 07:46:01 -0600 (CST)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 07:46:51 -0600
Reply-To: [email protected]
Sender: [email protected]
From: Yan Zhu <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Invisible Ftp Again
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all:
   Thanks for all the responses.
   I am not using a virtual ftp.
   Ftp's purpose is pretty much as anonymouse ftp with a usrename and
password and a home directory which they can't get out of. In my case,
the username is telemagic, the home directory is /home/telemagic.

my directory information:

drwxr-xr-x   5 telemagi ftpuser      1024 Jan 22 08:37 telemagic

under telemagic

drwxr-xr-x   2 root     root         1024 Jan 21 12:02 bin
drwxr-xr-x   2 root     root         1024 Jan 22 08:38 etc
drwxr-xr-x   2 root     root         1024 Jan 21 11:49 lib

under bin

-rwxr-xr-x   1 root     root        14776 Jan 21 12:02 compress
-rwxr-xr-x   1 root     root        42285 Jan 21 12:02 cpio
-rwxr-xr-x   1 root     root        45277 Jan 21 12:02 gzip
-rwxr-xr-x   1 root     root        22977 Jan 21 12:02 ls
-rwxr-xr-x   1 root     root        77873 Jan 21 12:02 tar
-rwxr-xr-x   1 root     root        45277 Jan 21 12:02 zcat

under etc

-r--r--r--   1 root     daemon         31 Jan 21 10:39 group
-r--r--r--   1 root     daemon        102 Jan 22 08:36 passwd

my group file

root::0:root
ftpuser::400:hal

my password file

root:*:0:0::/:/etc/ftponly
telemagic:*:403:400:Caldera Desktop User:/home/telemagic/./:/etc/ftponly

Again, it does everything I want it to do in dos, but when I log in
using web or cuteftp, it does not show any
thing in the directory. I can upload, yet I don't see anything.

I am using linux 1.2.13.

thanks a lot.

yan







From [email protected]  Thu Jan 22 09:54:54 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA27819;
       Thu, 22 Jan 1998 09:54:53 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA11903;
       Thu, 22 Jan 1998 09:52:59 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA11416
       for <[email protected]>; Thu, 22 Jan 1998 09:47:06 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id JAA26674;
       Thu, 22 Jan 1998 09:47:07 -0600
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 09:47:07 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: lnstar programmer <[email protected]>
Cc: [email protected]
Subject: Re: guest groups
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Do you use shadow passwords?  Is wuftpd compiled w/ or w/o shadow?

If you haven't gone over the guest howto be sure to do so.

  -- Michael

On Thu, 22 Jan 1998, lnstar programmer wrote:

> I am having problems setting up guest groups for certain accounts. It
> appears that it has something to do with wuftp reading the passwd file
> upon login for these guest group accounts. When I try to ftp in with these


From [email protected]  Thu Jan 22 11:56:52 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA28464;
       Thu, 22 Jan 1998 11:56:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA27999;
       Thu, 22 Jan 1998 11:54:04 -0600 (CST)
Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA18254
       for <[email protected]>; Thu, 22 Jan 1998 11:50:51 -0600 (CST)
Received: from eedn.ericsson.se (eedn1ls.eedn.ericsson.se [164.48.126.10]) by penguin.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-1.12) with ESMTP id SAA09999 for <[email protected]>; Thu, 22 Jan 1998 18:50:49 +0100 (MET)
Received: from eedn147w.eedn.ericsson.se by eedn.ericsson.se (8.7.1/EEDN-MH-3.3-V8)
       id SAA23203; Thu, 22 Jan 1998 18:50:47 +0100 (MET)
Received: from eedn.ericsson.se by eedn147w.eedn.ericsson.se (SMI-8.6/EEDN-MC-1.1)
       id SAA04291; Thu, 22 Jan 1998 18:50:45 +0100
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 18:50:45 MET
Reply-To: [email protected]
Sender: [email protected]
From: Werner Hack <[email protected]>
To: [email protected]
Subject: Problems setting up wu-ftpd on Solaris 2.5
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: MH-6.8.3
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id LAA27362
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all,

I am having problems setting up an aftp server on a Solaris 2.5 machine
with wu-ftpd 2.4.2-beta15.

I have been using a shell script from SunSolve SRDB #12193 that should
actually do the whole setup (devices, shared libs, timezone ...).
After connecting from a client, I am unable to use DIR or GET cmds
without having the following error:

ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): No such device or address.
ftp>


I have retried several times to rebuild the structure but to no avail.
When I trace the server process I see that ~ftp/dev/tcp is actually
causing problems:

[607] strace -f -p 21145
..
alarm(0)                                ï¿½57
write(1, "200 PORT command successful.\r\n"..., 30) �0
sigaction(SIGALRM, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}) �
alarm(900)                              ï¿½
time()                                  ï¿½85489613
stat("/etc/ftpd/msgs/shutmsg", 0xeffff220) �1 ENOENT (No such file or directory)
read(0, "NLST\r\n", 8192)               �
alarm(0)                                ï¿½00
stat(".", {st_mode�IFDIR|0777, st_sizeQ2, ...}) �
open(".", O_RDONLY|O_NDELAY)            ï¿½
fcntl(9, F_SETFD, FD_CLOEXEC)           �
fstat(9, {st_mode�IFDIR|0777, st_sizeQ2, ...}) �
getdents(9, [total 3 dents], 1048)      ï¿½4
seteuid(0)                              ï¿½
open("/dev/tcp", O_RDWR)                ï¿½1 ENXIO (No such device or address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
seteuid(200)                            ï¿½
write(1, "425 Can\'t create data socket (0"..., 71) �1
close(9)                                ï¿½
sigaction(SIGALRM, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}) �
alarm(900)                              ï¿½
time()                                  ï¿½85489613
stat("/etc/ftpd/msgs/shutmsg", 0xeffff220) �1 ENOENT (No such file or directory)
[...]



Here is a listing of the device files:

[27] ls -laL /dev/tcp ~ftp/dev/tcp
crw-rw-rw-   1 root     sys       11, 42 Dec 21  1996 /dev/tcp
crw-rw-rw-   1 root     sys       11, 42 Jan 21 10:58 /home/ftp/dev/tcp


As this is not an unusal configuration someone else must have come across this
before. I would greatly appreciate any pointers on how to fix this.

Thanks & regards

Werner

--
Werner Hack                              voice: +49 911 5217 212
Ericsson Eurolab GmbH                    fax:   +49 911 5217 952
R&D Radio Communication                  email: [email protected]
Nuernberg, Germany                       memo:  ERI.EED.EEDWHA

From [email protected]  Thu Jan 22 12:20:40 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA28604;
       Thu, 22 Jan 1998 12:20:38 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA25149;
       Thu, 22 Jan 1998 12:19:01 -0600 (CST)
Received: from Argus.montgomerybell.com (argus.montgomerybell.com [207.234.44.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA31029
       for <[email protected]>; Thu, 22 Jan 1998 12:15:17 -0600 (CST)
Received: from Argus (Argus [207.234.44.2])
       by Argus.montgomerybell.com (8.8.8/8.8.7) with SMTP id MAA17556;
       Thu, 22 Jan 1998 12:15:13 -0600 (CST)
Message-Id: <Pine.GSO.3.96.980122120907.17298A-100000@Argus>
Date: Thu, 22 Jan 1998 12:15:13 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Alan Halachmi <[email protected]>
To: Werner Hack <[email protected]>
Cc: [email protected]
Subject: Re: Problems setting up wu-ftpd on Solaris 2.5
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Sender: halacha@Argus
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by wugate.wustl.edu id MAA29835
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

You need to do two things:
1) Make sure that ~ftp/dev/tcp and ~ftp/dev/zero exist w/ 666 permissions
2) go into ~ftp/bin and run ldd ./ls; make sure that the referred
libraries exist in ~ftp/usr/lib/

You'll need to do the same thing for compress and tar.

Unless I'm forgetting something else, that's it.

Alan

Alan Halachmi, Head of Internet Services| UNIX and Networking Consultant
Solaris Administrator/ Web Design | Ingram Entertainment & Montgomery Bell
Academy | SpeedServe, Inc.  mailto:[email protected] |
mailto:[email protected] http://www.montgomerybell.com |
http://www.speedserve.com

On Thu, 22 Jan 1998, Werner Hack wrote:

> Hi all,
>
> I am having problems setting up an aftp server on a Solaris 2.5 machine
> with wu-ftpd 2.4.2-beta15.
>
> I have been using a shell script from SunSolve SRDB #12193 that should
> actually do the whole setup (devices, shared libs, timezone ...).
> After connecting from a client, I am unable to use DIR or GET cmds
> without having the following error:
>
> ftp> ls
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): No such device or address.
> ftp>
>
>
> I have retried several times to rebuild the structure but to no avail.
> When I trace the server process I see that ~ftp/dev/tcp is actually
> causing problems:
>
> [607] strace -f -p 21145
> ...
> alarm(0)                                ï¿½57
> write(1, "200 PORT command successful.\r\n"..., 30) �0
> sigaction(SIGALRM, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}) �
> alarm(900)                              ï¿½
> time()                                  ï¿½85489613
> stat("/etc/ftpd/msgs/shutmsg", 0xeffff220) �1 ENOENT (No such file or directory)
> read(0, "NLST\r\n", 8192)               �
> alarm(0)                                ï¿½00
> stat(".", {st_mode�IFDIR|0777, st_sizeQ2, ...}) �
> open(".", O_RDONLY|O_NDELAY)            ï¿½
> fcntl(9, F_SETFD, FD_CLOEXEC)           �
> fstat(9, {st_mode�IFDIR|0777, st_sizeQ2, ...}) �
> getdents(9, [total 3 dents], 1048)      ï¿½4
> seteuid(0)                              ï¿½
> open("/dev/tcp", O_RDWR)                ï¿½1 ENXIO (No such device or address)
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> seteuid(200)                            ï¿½
> write(1, "425 Can\'t create data socket (0"..., 71) �1
> close(9)                                ï¿½
> sigaction(SIGALRM, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}, {0xef677d90, [], SA_RESETHAND|SA_NODEFER}) �
> alarm(900)                              ï¿½
> time()                                  ï¿½85489613
> stat("/etc/ftpd/msgs/shutmsg", 0xeffff220) �1 ENOENT (No such file or directory)
> [...]
>
>
>
> Here is a listing of the device files:
>
> [27] ls -laL /dev/tcp ~ftp/dev/tcp
> crw-rw-rw-   1 root     sys       11, 42 Dec 21  1996 /dev/tcp
> crw-rw-rw-   1 root     sys       11, 42 Jan 21 10:58 /home/ftp/dev/tcp
>
>
> As this is not an unusal configuration someone else must have come across this
> before. I would greatly appreciate any pointers on how to fix this.
>
> Thanks & regards
>
> Werner
>
> --
> Werner Hack                              voice: +49 911 5217 212
> Ericsson Eurolab GmbH                    fax:   +49 911 5217 952
> R&D Radio Communication                  email: [email protected]
> Nuernberg, Germany                       memo:  ERI.EED.EEDWHA
>


From [email protected]  Thu Jan 22 12:28:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA28649;
       Thu, 22 Jan 1998 12:28:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA32215;
       Thu, 22 Jan 1998 12:25:33 -0600 (CST)
Received: from noc.belwue.de ([email protected] [129.143.2.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA29681
       for <[email protected]>; Thu, 22 Jan 1998 12:20:52 -0600 (CST)
Received: from dns1.rz.fh-heilbronn.de (dns1.rz.fh-heilbronn.de [141.7.1.18])
       by noc.belwue.de (8.8.8/8.8.8) with ESMTP id TAA28542
       for <[email protected]>; Thu, 22 Jan 1998 19:20:42 +0100 (MET)
       env-from ([email protected])
Received: from jupiter.rz.fh-heilbronn.de (jupiter.rz.fh-heilbronn.de [141.7.1.40])
       by dns1.rz.fh-heilbronn.de (8.8.5/8.8.5) with ESMTP id TAA27064
       for <[email protected]>; Thu, 22 Jan 1998 19:19:59 +0100 (MET)
Received: from sturm-server (dial12.rz.fh-heilbronn.de [141.7.42.12])
       by jupiter.rz.fh-heilbronn.de (8.8.6/8.8.6) with ESMTP id TAA11301
       for <[email protected]>; Thu, 22 Jan 1998 19:17:44 +0100 (MET)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 19:20:04 +0100
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: wu-ftpd <[email protected]>
Subject: help !
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [de] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi,

who can i compile the wu-ftpd for a trusted system (hpux 10.xx) ?

matthias



From [email protected]  Thu Jan 22 12:46:15 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id MAA28741;
       Thu, 22 Jan 1998 12:46:14 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id MAA00801;
       Thu, 22 Jan 1998 12:44:19 -0600 (CST)
Received: from noc.belwue.de ([email protected] [129.143.2.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id MAA00199
       for <[email protected]>; Thu, 22 Jan 1998 12:43:04 -0600 (CST)
Received: from dns1.rz.fh-heilbronn.de (dns1.rz.fh-heilbronn.de [141.7.1.18])
       by noc.belwue.de (8.8.8/8.8.8) with ESMTP id TAA02477
       for <[email protected]>; Thu, 22 Jan 1998 19:43:01 +0100 (MET)
       env-from ([email protected])
Received: from jupiter.rz.fh-heilbronn.de (jupiter.rz.fh-heilbronn.de [141.7.1.40])
       by dns1.rz.fh-heilbronn.de (8.8.5/8.8.5) with ESMTP id TAA27166
       for <[email protected]>; Thu, 22 Jan 1998 19:42:17 +0100 (MET)
Received: from sturm-server (dial12.rz.fh-heilbronn.de [141.7.42.12])
       by jupiter.rz.fh-heilbronn.de (8.8.6/8.8.6) with ESMTP id TAA11542
       for <[email protected]>; Thu, 22 Jan 1998 19:40:02 +0100 (MET)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 19:42:23 +0100
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: wu-ftpd <[email protected]>
Subject: compile for hpux
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [de] (Win95; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hi,

who can i compile the wu-ftpd for a trusted system (hpux 10.xx) ?

matthias





From [email protected]  Thu Jan 22 13:50:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA29080;
       Thu, 22 Jan 1998 13:50:03 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA01619;
       Thu, 22 Jan 1998 13:48:22 -0600 (CST)
Received: from mail.cs.utexas.edu ([email protected] [128.83.139.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA04351
       for <[email protected]>; Thu, 22 Jan 1998 13:41:14 -0600 (CST)
Received: from hardhat.cs.utexas.edu ([email protected] [128.83.144.62])
       by mail.cs.utexas.edu (8.8.5/8.8.5) with ESMTP id NAA08008
       for <[email protected]>; Thu, 22 Jan 1998 13:41:00 -0600 (CST)
Received: by hardhat.cs.utexas.edu (8.8.5/Client-1.5)
       id NAA02261; Thu, 22 Jan 1998 13:40:57 -0600
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 13:40:57 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Allen Walker <[email protected]>
To: wu-ftpd <[email protected]>
Subject: Re: guest groups
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ok I found the problem. I am setting the shell for the guest users as
"/bin/ftponly", a shell script as follows:

#!/bin/sh
#
#ftponly shell
#
#allows users to login only to ftp and if they telnet to
#the server allows only a passwd change
#
echo " "
echo "You are not allowed to login interactively."
echo "You may, however, change your password."
echo " "
/usr/bin/passwd


When I remove this and use a standard shell like 'bash' it allows users to
login fine. This script used to work on the BSDI system, but for
some reason it's causing problems on the linux machine.

To reinterate: When I have this set as the user shell, the user cannot
login at all thru ftp, it will say invalid login. Telnet works fine and
the script runs as expected.

Thanks for any help
-allen-

---
Allen Walker               |            University of Texas at Austin
<[email protected]>    |   http://www.cs.utexas.edu/users/awalker


From [email protected]  Thu Jan 22 14:02:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29140;
       Thu, 22 Jan 1998 14:02:32 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA10279;
       Thu, 22 Jan 1998 14:00:44 -0600 (CST)
Received: from inertia.dfacades.com (inertia.dfacades.com [207.155.93.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA11837
       for <[email protected]>; Thu, 22 Jan 1998 13:56:26 -0600 (CST)
Received: (from dleeds@localhost)
       by inertia.dfacades.com (8.8.7/8.8.7) id LAA12962;
       Thu, 22 Jan 1998 11:59:54 -0800 (PST)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 11:59:54 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: Daniel Leeds <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: wu-ftpd probs
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL35 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



I am trying to set up an account for a particular user on solaris 2.5.1
so that they cannot telnet in, but have ftp access to a certain directory
and all files below that.

i set up the account with /bin/false as the login shell, and put that
in /etc/shells.

when i go to use the ftpaccess file and use the guestgroup function
they cannot see any files in the directory nor can they go anywhere.

without this, they can login fine, but can access anywhere on the
system (cd /etc /usr/local etc)...this i do not want.

any suggestions?


--

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Daniel Leeds                    Systems Administrator
(310)-581-4100 X227             Digital Facades
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

From [email protected]  Thu Jan 22 14:47:32 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29417;
       Thu, 22 Jan 1998 14:47:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA14007;
       Thu, 22 Jan 1998 14:45:15 -0600 (CST)
Received: from Bahamut.dragonfire.net (Bahamut.dragonfire.net [209.70.16.2] (may be forged))
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA17013
       for <[email protected]>; Thu, 22 Jan 1998 14:44:09 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id PAA07282; Thu, 22 Jan 1998 15:42:05 -0500
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 15:41:42 EST
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Andy Church)
To: [email protected]
Subject: Re: guest groups
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>Ok I found the problem. I am setting the shell for the guest users as
>"/bin/ftponly", a shell script as follows:
[...]
>When I remove this and use a standard shell like 'bash' it allows users to
>login fine. This script used to work on the BSDI system, but for
>some reason it's causing problems on the linux machine.
>
>To reinterate: When I have this set as the user shell, the user cannot
>login at all thru ftp, it will say invalid login. Telnet works fine and
>the script runs as expected.

    Sounds like you didn't put /bin/ftponly in /etc/shells.  (BTW, I'd
recommend using a C program instead of a shell script for the FTP-only
"shell", because a shell script can introduce all sorts of loopholes.)

 --Andy Church                  | If Bell Atlantic really is the heart
   [email protected]       | of communication, then it desperately
   www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From [email protected]  Thu Jan 22 14:53:47 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA29453;
       Thu, 22 Jan 1998 14:53:46 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA19089;
       Thu, 22 Jan 1998 14:51:55 -0600 (CST)
Received: from inertia.dfacades.com (inertia.dfacades.com [207.155.93.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA08829
       for <[email protected]>; Thu, 22 Jan 1998 14:49:45 -0600 (CST)
Received: (from dleeds@localhost)
       by inertia.dfacades.com (8.8.7/8.8.7) id MAA13240
       for [email protected]; Thu, 22 Jan 1998 12:53:11 -0800 (PST)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 12:53:10 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: Daniel Leeds <[email protected]>
To: [email protected]
Subject: solaris 2.5.1 and guest ftp access
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL35 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Okay, i have read the GUEST-HOWTO a million times and have followed
everything to the letter.  I have a proper setup for the guestgroup.

If i add  guestgroup ftp  (ftp being the group from /etc/group)
it will let me log in, but NOTHING shows up...i am in the proper directory
and i cant get to non authorized directories...but i cant access anything.

if i remove the guestgroup line, everything shows up fine, but i can
access /etc  etc..

:((((   any suggestions??  anyone have this problem??

this is maddening.

-

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Daniel Leeds                    Systems Administrator
(310)-581-4100 X227             Digital Facades
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

From [email protected]  Thu Jan 22 16:18:07 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA29968;
       Thu, 22 Jan 1998 16:18:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA25216;
       Thu, 22 Jan 1998 16:14:53 -0600 (CST)
Received: from kerouac.hepcat.org ([email protected] [207.155.93.61])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA13010
       for <[email protected]>; Thu, 22 Jan 1998 16:13:11 -0600 (CST)
Received: (qmail 11224 invoked by uid 1000); 22 Jan 1998 22:19:42 -0000
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 14:19:42 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: [email protected]
Cc: [email protected]
Subject: solaris 2.5.1 w/ beta-16
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL32 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


does anyone here have a working wu-ftpd beta 16 setup under solaris 2.5.1
using guest groups?

i have gone over and over and over and over the guest-howto and followed
it completely, and i cannot get guestgroup to work.

i used the ftp setup script from sun to set up the /bin /dev and /usr/lib
areas.

it works if i dont use guestgroup, but as soon as i use guestgroup group
to restrict access to their home dir and below, it wont show any files.

help!



From [email protected]  Thu Jan 22 18:57:19 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id SAA00733;
       Thu, 22 Jan 1998 18:57:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id SAA18444;
       Thu, 22 Jan 1998 18:54:57 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id SAA16795
       for <[email protected]>; Thu, 22 Jan 1998 18:49:08 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id TAA09437;
       Thu, 22 Jan 1998 19:51:05 -0500 (EST)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 19:51:05 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Daniel Leeds <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: wu-ftpd probs
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> when i go to use the ftpaccess file and use the guestgroup function
> they cannot see any files in the directory nor can they go anywhere.

What do you have the users home directory set to in /etc/passwd?  It
should be the home directory you've created for that user in your ftp
tree.  Like this:

ftpuser:x:100:100:FTP User:/home/ftp/./home/ftpuser:/bin/false

So /home/ftp is their home directory, and then './home/ftpuser' indicates
where they should be placed when the login.  To them it appears like their
home directory.

At the /home/ftp level should contain a complete filesystem, including
lib, etc, bin, etc..

Be sure to read the installation instructions, and the FAQ, available at:

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

Dave


From [email protected]  Thu Jan 22 19:59:59 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id TAA01134;
       Thu, 22 Jan 1998 19:59:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id TAA24719;
       Thu, 22 Jan 1998 19:58:22 -0600 (CST)
Received: from relay3.smtp.psi.net (relay3.smtp.psi.net [38.8.210.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id TAA25325
       for <[email protected]>; Thu, 22 Jan 1998 19:54:46 -0600 (CST)
Received: from extsvr.aptix.com by relay3.smtp.psi.net (8.8.5/SMI-5.4-PSI)
       id UAA16657; Thu, 22 Jan 1998 20:54:41 -0500 (EST)
Received: from [38.229.247.10] (gatekeeper.aptix.com [38.229.247.10]) by  extsvr.aptix.com (8.8.4/8.8.3) with SMTP id RAA20955 for <[email protected]>; Thu, 22 Jan 1998 17:55:43 -0800 (PST)
Received: from intsvr ([132.147.160.93]) by [38.229.247.10]
         via smtpd (for extsvr [38.229.247.20]) with SMTP; 23 Jan 1998 01:45:44 UT
Received: from axws2.aptix.com (axws2.aptix.com [132.147.160.16]) by intsvr.aptix.com (8.8.4/8.8.3) with SMTP id SAA16992 for <[email protected]>; Thu, 22 Jan 1998 18:02:25 -0800 (PST)
Received: by axws2.aptix.com (SMI-8.6/SMI-SVR4)
       id RAA00473; Thu, 22 Jan 1998 17:59:04 -0800
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 17:59:04 -0800
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Jeffrey Liu)
To: [email protected]
Subject: wu-ftp2.4 upload deny
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-MD5: kRYELdGT7ylxJnv8wV2JUA==
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id TAA25573
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I've sent it before but didn't receive any reply.
The problem is still exist.  Hope to get some help.

Jeffrey

------------- Begin Forwarded Message -------------

We are using wu-ftpd 2.4 on a SunOS 4.1.4 server.
We setup 'admin' user account to upload to ~ftp/pub directory.
and 'anonymous' account to upload to ~ftp/outgoing directory.

ftpaccess file
...
upload  /home/ftp  /pub          yes     admin   admin  0600 dirs
upload  /home/ftp  /pub/*        yes     admin   admin  0600 dirs
upload  /home/ftp  /outgoing       yes     ftp   ftp   0600 dirs
upload  /home/ftp  /outgoing       yes     ftp   ftp   0600 dirs

..
~ftp is /home/ftp  and 'admin' home directory is /home/ftp also.

'anonymous' has no problem to upload files to ~ftp/outgoing directory
but 'admin' get error when upload to ~ftp/pub directory:
ftp> put faq.html
200 PORT command successful.
553 faq.html: Permission denied. (Upload)

The permission of ~ftp/pub is 755 and is owned by 'admin'.

What do we missing?

Thanks,

Jeffrey
[email protected]



------------- End Forwarded Message -------------


From [email protected]  Thu Jan 22 20:19:11 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id UAA01262;
       Thu, 22 Jan 1998 20:19:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA26003;
       Thu, 22 Jan 1998 20:17:04 -0600 (CST)
Received: from www.samart.co.th (ftp.samart.co.th [203.149.0.12])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA28104
       for <[email protected]>; Thu, 22 Jan 1998 20:13:36 -0600 (CST)
Received: (qmail 16722 invoked by uid 502); 23 Jan 1998 02:12:30 -0000
Message-Id: <[email protected]>
Date: Fri, 23 Jan 1998 09:12:30 +0700 (GMT)
Reply-To: [email protected]
Sender: [email protected]
From: Yutthapong Amornfa <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: solaris 2.5.1 w/ beta-16
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Please make sure you have /bin /dev /usr/lib in each home of guest group.

Yuth

On Thu, 22 Jan 1998 [email protected] wrote:

>
> does anyone here have a working wu-ftpd beta 16 setup under solaris 2.5.1
> using guest groups?
>
> i have gone over and over and over and over the guest-howto and followed
> it completely, and i cannot get guestgroup to work.
>
> i used the ftp setup script from sun to set up the /bin /dev and /usr/lib
> areas.
>
> it works if i dont use guestgroup, but as soon as i use guestgroup group
> to restrict access to their home dir and below, it wont show any files.
>
> help!
>
>
>


From [email protected]  Thu Jan 22 21:03:20 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA01567;
       Thu, 22 Jan 1998 21:03:19 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA24852;
       Thu, 22 Jan 1998 21:01:32 -0600 (CST)
Received: from nic.com (nic.com [204.141.60.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id UAA29998
       for <[email protected]>; Thu, 22 Jan 1998 20:55:00 -0600 (CST)
Received: from localhost (dave@localhost)
       by nic.com (8.8.7/8.8.7) with SMTP id VAA11636;
       Thu, 22 Jan 1998 21:57:04 -0500 (EST)
Message-Id: <[email protected]>
Date: Thu, 22 Jan 1998 21:57:03 -0500 (EST)
Reply-To: Dave Wreski <[email protected]>
Sender: [email protected]
From: Dave Wreski <[email protected]>
To: Jeffrey Liu <[email protected]>
Cc: [email protected]
Subject: Re: wu-ftp2.4 upload deny
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


> We are using wu-ftpd 2.4 on a SunOS 4.1.4 server.

You should be using the more secure development versions, 2.4.2-BETA-16.

> We setup 'admin' user account to upload to ~ftp/pub directory.
> and 'anonymous' account to upload to ~ftp/outgoing directory.

Just how did you set it up?  It would be much easier if you specified whet
exactly you were trying to do.  I believe should look something like this:

admin:x:100:100:Admin FTP:/home/ftp/./pub:/bin/noshell
ftp:x:101:100:Anon FTP User:/home/ftp/./outgoing:/bin/noshell

Group 100 would be 'ftp' if you want to allow users to share files.
Else use 100 for 'ftp' and another number for 'admin', like you have
indicated in your ftpaccess file.

> ftpaccess file
> ....
> upload  /home/ftp  /pub          yes     admin   admin  0600 dirs
> upload  /home/ftp  /pub/*        yes     admin   admin  0600 dirs
> upload  /home/ftp  /outgoing       yes     ftp   ftp   0600 dirs
> upload  /home/ftp  /outgoing       yes     ftp   ftp   0600 dirs

Why do you have two identical lines?  Also, do you have a line that looks
like:

upload /home/ftp *      no

that might be preventing you from uploading to a specific directory?  Have
you tried to remove one line at a time to figure out which one is causing
the problem?

> ~ftp is /home/ftp  and 'admin' home directory is /home/ftp also.

This is fine, and make their home directory owned by root, so they cannot
write to their own directory.  I think this will enhance security by
preventing ~/.rhosts and other exploits.  Then change them to the
directory they are allowed to write to when the login, using the '/./ftp'
convention, as shown above.

> 'anonymous' has no problem to upload files to ~ftp/outgoing directory
> but 'admin' get error when upload to ~ftp/pub directory:

They do not appear to be in the same group.  What are the permissions of
the directory they can write to?  You say ~ftp/pub is 755, but is user
'ftp' in the admin group?

> What do we missing?

Provide more information on what you really want to do.  Do you simply
want the admin user to retrieve/read files left by ftp?

Dave



From [email protected]  Fri Jan 23 17:58:37 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA19854;
       Fri, 23 Jan 1998 17:58:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA06347;
       Fri, 23 Jan 1998 17:56:51 -0600 (CST)
Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA22793
       for <[email protected]>; Fri, 23 Jan 1998 17:50:00 -0600 (CST)
Received: from [207.155.93.60] by send1b; Fri, 23 Jan 1998 15:49:40 PST
Message-Id: <[email protected]>
Date: Fri, 23 Jan 1998 15:49:40 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: kozmo killah <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Fwd: Re: System
MIME-Version: 1.0
Content-Type: text/html; charset=us-ascii
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


merde!




[email protected] wrote:
>
> Ca ne va pas ?
>
>
<hr size=1><b>DO YOU YAHOO!?</b><br>Get your free @yahoo.com address at <a href="http://mail.yahoo.com">Yahoo! Mail</a>.<br>


From [email protected]  Sat Jan 24 01:49:31 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id BAA24554;
       Sat, 24 Jan 1998 01:49:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id BAA08144;
       Sat, 24 Jan 1998 01:47:42 -0600 (CST)
Received: from tidal.wave.net ([email protected] [198.68.31.225])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id BAA15181
       for <[email protected]>; Sat, 24 Jan 1998 01:45:34 -0600 (CST)
Received: from greymalkin.greymalkin.com ([email protected] [206.163.149.219])
       by tidal.wave.net (8.8.6/8.8.6) with SMTP id XAA02518
       for <[email protected]>; Fri, 23 Jan 1998 23:43:57 -0800 (PST)
Message-Id: <Pine.LNX.3.95.980123233947.5069A-100000@greymalkin.greymalkin.com>
Date: Fri, 23 Jan 1998 23:45:08 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: "Richard G. Duvall" <[email protected]>
To: [email protected]
Subject: HELP (on Virtuals)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I just downloaded wu-ftpd-2.4.2-academ-beta-16 and compiled it for use
with virtual.

It compiled fine (with no errors or warnings), and I installed it.  I
edited the /etc/ftpaccess file to show:

virtual 206.163.149.218 root    /usr/local/ftp/jots
virtual 206.163.149.218 banner  /usr/local/ftp/jots/welcome.msg
virtual 206.163.149.218 logfile /usr/local/www/jots/logs/xferlog

When I ftp over to jotsresort.com though, it gives me the directory
structure of the main server on 206.163.149.219.

Is there something that I may need to know that I havn't been told yet?

I am running Linux 2.0.0 with shadow passwords (yes, I compiled shadow
passwords into it too)

Sincerely,

Richard G. Duvall


From [email protected]  Sat Jan 24 21:59:09 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA07176;
       Sat, 24 Jan 1998 21:59:08 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA24102;
       Sat, 24 Jan 1998 21:57:22 -0600 (CST)
Received: from frank.cs.bham.ac.uk (frank.cs.bham.ac.uk [147.188.192.9])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA25620
       for <[email protected]>; Sat, 24 Jan 1998 21:52:33 -0600 (CST)
Received: from laa-laa by frank.cs.bham.ac.uk with SMTP (MMTA);
         Sun, 25 Jan 1998 03:47:06 +0000
Message-Id: <Pine.sol.3.96.980125034747.24282A-100000@laa-laa>
Date: Sun, 25 Jan 1998 03:49:12 +0000 (GMT)
Reply-To: [email protected]
Sender: [email protected]
From: LSC <[email protected]>
To: [email protected]
Subject: where can i find wuftp?
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: lsc@laa-laa
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello sir  I would like to know where can I find wuftp client latest
version (not the server) since I want to update my old version.
I also would like to know if there are commands like TI (tick counter) and
reget (resume files) are implemented?

Faithfully

!======================================!

E-Mail: [email protected]
        or [email protected]
        E & Software ENGiNEERiNG

!======================================!


From [email protected]  Sat Jan 24 22:16:02 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id WAA07468;
       Sat, 24 Jan 1998 22:16:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id WAA00706;
       Sat, 24 Jan 1998 22:14:14 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id WAA00143
       for <[email protected]>; Sat, 24 Jan 1998 22:12:18 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id WAA12905;
       Sat, 24 Jan 1998 22:12:24 -0600
Message-Id: <[email protected]>
Date: Sat, 24 Jan 1998 22:12:24 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: LSC <[email protected]>
Cc: [email protected]
Subject: Re: where can i find wuftp?
In-Reply-To: <Pine.sol.3.96.980125034747.24282A-100000@laa-laa>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


There is no wuftpd client.  If you are looking for ws_ftp, look at
http://www.ipswitch.com/.

  -- Michael

On Sun, 25 Jan 1998, LSC wrote:

> Hello sir  I would like to know where can I find wuftp client latest
> version (not the server) since I want to update my old version.
> I also would like to know if there are commands like TI (tick counter) and
> reget (resume files) are implemented?


From [email protected]  Sun Jan 25 13:28:56 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA21012;
       Sun, 25 Jan 1998 13:28:54 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA00491;
       Sun, 25 Jan 1998 13:26:26 -0600 (CST)
Received: from tecoma.mccc.edu (tecoma.mccc.edu [198.133.170.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA32561
       for <[email protected]>; Sun, 25 Jan 1998 13:19:49 -0600 (CST)
Received: from tecoma (tecoma [198.133.170.1])
       by tecoma.mccc.edu (8.8.8/8.8.5) with SMTP id OAA23927
       for <[email protected]>; Sun, 25 Jan 1998 14:19:48 -0500 (EST)
Message-Id: <Pine.SOL.3.96.980125141855.23917A-100000@tecoma>
Date: Sun, 25 Jan 1998 14:19:48 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Pete Holsberg <[email protected]>
To: [email protected]
Subject: TEST
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: pjh@tecoma
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

It seems that nothing I send to this list gets posted (or
at least I don't see it and I didn't get any answers). Am I
doing something wrong?

Thanks,
Pete


From [email protected]  Sun Jan 25 13:39:56 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA21080;
       Sun, 25 Jan 1998 13:39:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA02283;
       Sun, 25 Jan 1998 13:38:18 -0600 (CST)
Received: from tecoma.mccc.edu (tecoma.mccc.edu [198.133.170.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id NAA30683
       for <[email protected]>; Sun, 25 Jan 1998 13:33:45 -0600 (CST)
Received: from tecoma (tecoma [198.133.170.1])
       by tecoma.mccc.edu (8.8.8/8.8.5) with SMTP id OAA24161
       for <[email protected]>; Sun, 25 Jan 1998 14:33:44 -0500 (EST)
Message-Id: <Pine.SOL.3.96.980125143232.24141A-100000@tecoma>
Date: Sun, 25 Jan 1998 14:33:44 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Pete Holsberg <[email protected]>
To: [email protected]
Subject: Re: TEST
In-Reply-To: <Pine.SOL.3.96.980125141855.23917A-100000@tecoma>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: pjh@tecoma
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Sun, 25 Jan 1998, Pete Holsberg wrote:

> It seems that nothing I send to this list gets posted (or
> at least I don't see it and I didn't get any answers). Am
> I doing something wrong?

Well, let me try again! :-)

I'm running wu-2.4.2-academ[BETA-15] and putting a
UUCP-System-like day_and_time field not only doesn't work
-- it changes the limit on the max number of logins to -1!

Here's what works (no time/date):

limit   mccc      35   Any      /usr/local/etc/msg.toomany
limit   nonmccc   10   Any      /usr/local/etc/msg.toomany

I changed that last line to:

limit   nonmccc   10   Any0000-1800     /usr/local/etc/msg.toomany

and found that people could login in after 1800 local and
more than 10 were logged in last I checked.

Kindly point out where I went wrong.

Thanks,
Pete


From [email protected]  Sun Jan 25 17:17:30 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA21904;
       Sun, 25 Jan 1998 17:17:29 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA16603;
       Sun, 25 Jan 1998 17:15:52 -0600 (CST)
Received: from news.IAEhv.nl ([email protected] [194.151.64.4])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA15638
       for <[email protected]>; Sun, 25 Jan 1998 17:13:09 -0600 (CST)
Received: from LOCAL (uucp@localhost)
         by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 23408
         on Sun, 25 Jan 1998 23:13:08 GMT; id XAA23408
         efrom: [email protected]; eto: [email protected]
Received: (from news@localhost)
       by Garfield.IAE.nl (8.8.5/8.8.5) id WAA04209
       for [email protected]; Sun, 25 Jan 1998 22:58:10 +0100
Message-Id: <[email protected]>
Date: 25 Jan 1998 21:58:10 GMT
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Perry Rovers)
To: [email protected]
Subject: Re: TEST
References: <Pine.SOL.3.96.980125143232.24141A-100000@tecoma>
X-no-archive: yes
X-bofh-archive: yes
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Pink elephants with an attitude inspired Pete Holsberg <[email protected]> to tell garfield.mail.wu-ftpd:
: I'm running wu-2.4.2-academ[BETA-15] and putting a
: UUCP-System-like day_and_time field not only doesn't work
: -- it changes the limit on the max number of logins to -1!

: limit   nonmccc   10   Any0000-1800   /usr/local/etc/msg.toomany

A) are you running ftpd with the -a option from inetd?
B) Have you tried something like Any,0000-18000?
  (the line you have works for me, but I've also seen examples with ,)

--
Perry Rovers ([email protected])

From [email protected]  Mon Jan 26 10:00:18 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id KAA07375;
       Mon, 26 Jan 1998 10:00:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA32536;
       Mon, 26 Jan 1998 09:58:09 -0600 (CST)
Received: from boykin.nnic.noaa.gov (BOYKIN.NNIC.NOAA.GOV [140.90.231.35])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA32165
       for <[email protected]>; Mon, 26 Jan 1998 09:49:28 -0600 (CST)
Received: from bouchet (BOUCHET.NNIC.NOAA.GOV [140.90.231.22]) by boykin.nnic.noaa.gov (8.7.3/8.7.3) with SMTP id KAA20078 for <[email protected]>; Mon, 26 Jan 1998 10:48:37 -0500 (EST)
Message-Id: <[email protected]>
Date: Mon, 26 Jan 1998 10:51:35 -0500
Reply-To: [email protected]
Sender: [email protected]
From: Reginald Pace <[email protected]>
To: [email protected]
Subject: WU-2.4 and solaris 2.6
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.5 sun4m)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I recently upgraded to Solaris 2.6 and now when an anonymous user logs
into the ftp server, they can't do a long directory listing.  However,
they are able to do a simple name listing.  When a valid user logs into
the anonymous ftp server with their login name and password, they are
able to complete a long directory listing.  Does anybody know what is
going on?  I think it is a library problem.

Thanks,

Reggie
--
*******************************************************************
Reginald L. Pace                        Voice (301)457-5140
NOAA/NIC                                  Fax (301)457-5238
NOAA/NIC URL http://www.nnic.noaa.gov
*******************************************************************

From [email protected]  Mon Jan 26 13:12:35 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA08528;
       Mon, 26 Jan 1998 13:12:34 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA13345;
       Mon, 26 Jan 1998 13:10:04 -0600 (CST)
Received: from math.ams.org (math.ams.org [130.44.210.14])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA19151
       for <[email protected]>; Mon, 26 Jan 1998 13:07:25 -0600 (CST)
Received: from axp103.ams.org by math.ams.org
         via smtpd (for wugate.wustl.edu [128.252.120.1]) with SMTP; 26 Jan 1998 19:07:15 UT
Received: from localhost by axp103.ams.org (5.65v3.2/1.1.10.5/13Aug97-0554PM)
       id AA10327; Mon, 26 Jan 1998 14:07:16 -0500
Message-Id: <[email protected]>
Date: Mon, 26 Jan 98 14:07:16 -0500
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: [email protected]
Subject: guest user password
X-Mts: smtp
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi everyone,

I recently installed wu-ftpd and set up several
guest accounts for people who will only need to
have ftp access (what a great feature!). Is there
a way that they can change their own password?


Thanks,

Bob Morse
System Administrator
American Mathematical Society



From [email protected]  Mon Jan 26 13:50:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id NAA08772;
       Mon, 26 Jan 1998 13:50:13 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA16855;
       Mon, 26 Jan 1998 13:47:17 -0600 (CST)
Received: from preferred-sys.presys.com (preferred-sys.presys.com [206.100.164.250])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id NAA24991
       for <[email protected]>; Mon, 26 Jan 1998 13:44:27 -0600 (CST)
Received: (qmail 10379 invoked from network); 26 Jan 1998 19:44:25 -0000
Received: from hitesh.presys.com (HELO presys.com) (206.100.164.237)
 by preferred-sys.presys.com with SMTP; 26 Jan 1998 19:44:25 -0000
Message-Id: <[email protected]>
Date: Mon, 26 Jan 1998 11:42:32 -0800
Reply-To: [email protected]
Sender: [email protected]
From: Hitesh Patel <[email protected]>
To: wuftpd <[email protected]>
Subject: Can't get banner to display
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

For some reason I can't get the banner to display before a user get's
the username prompt.  I am using wu-ftpd 2.4.2 beta 16 and have the
following line in ftpacces:   banner /opt/lib/ftpd/motd

this is not an ftp client problem... i can't see the banner at all no
matter what i used... also... the banner showed fine on a older version
of wu-ftpd it just doesn't want to work with the new one i installed....

--
Hitesh Patel
Assistant Network Administrator
Preferred Systems
http://www.presys.com
mailto:[email protected]



From [email protected]  Mon Jan 26 14:54:52 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA09222;
       Mon, 26 Jan 1998 14:54:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA00473;
       Mon, 26 Jan 1998 14:52:23 -0600 (CST)
Received: from inertia.dfacades.com (inertia.dfacades.com [207.155.93.5])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA31615
       for <[email protected]>; Mon, 26 Jan 1998 14:48:59 -0600 (CST)
Received: (from dleeds@localhost)
       by inertia.dfacades.com (8.8.7/8.8.7) id MAA25718;
       Mon, 26 Jan 1998 12:52:15 -0800 (PST)
Message-Id: <[email protected]>
Date: Mon, 26 Jan 1998 12:52:14 -0800 (PST)
Reply-To: [email protected]
Sender: [email protected]
From: Daniel Leeds <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: ftpwho on solaris 2.5.1?
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL35 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


anyone have trouble getting ftpwho to work on solaris 2.5.1?

did i miss something int he compile options?

mine comes out garbled with other process info...

thanks

--

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Daniel Leeds                    Systems Administrator
(310)-581-4100 X227             Digital Facades
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

From [email protected]  Mon Jan 26 21:10:22 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id VAA11753;
       Mon, 26 Jan 1998 21:10:21 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id VAA31703;
       Mon, 26 Jan 1998 21:08:10 -0600 (CST)
Received: from Bahamut.dragonfire.net (Bahamut.dragonfire.net [209.70.16.2] (may be forged))
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id VAA17956
       for <[email protected]>; Mon, 26 Jan 1998 21:05:55 -0600 (CST)
Received: (from achurch@localhost) by Bahamut.dragonfire.net (8.8.5/8.8.8) id WAA25162; Mon, 26 Jan 1998 22:05:53 -0500
Message-Id: <[email protected]>
Date: Mon, 26 Jan 1998 22:05:11 EST
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Andy Church)
To: [email protected]
Subject: Re: guest user password
X-Mailer: MMail v4.62
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>I recently installed wu-ftpd and set up several
>guest accounts for people who will only need to
>have ftp access (what a great feature!). Is there
>a way that they can change their own password?

    The easiest way is to set their shell as /usr/bin/passwd, or wherever
the passwd binary resides on your system (make sure you put it in
/etc/shells!), and have them telnet in to change their password.

 --Andy Church                  | If Bell Atlantic really is the heart
   [email protected]       | of communication, then it desperately
   www.dragonfire.net/~achurch/ | needs a quadruple bypass.

From [email protected]  Tue Jan 27 04:45:51 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id EAA22753;
       Tue, 27 Jan 1998 04:45:49 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id EAA32554;
       Tue, 27 Jan 1998 04:43:53 -0600 (CST)
Received: from deimos.sovam.com (deimos.sovam.com [194.67.1.156])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id EAA11488
       for <[email protected]>; Tue, 27 Jan 1998 04:39:58 -0600 (CST)
Received: from ppp1.primorsky.ru ([194.84.64.31]:1027 "HELO prim.ru" ident: "NO-IDENT-SERVICE") by deimos.sovam.com with SMTP id <3270935-28305>; Tue, 27 Jan 1998 13:37:10 +0300
Message-Id: <[email protected]>
Date: Tue, 27 Jan 1998 20:33:17 +1000
Reply-To: [email protected]
Sender: [email protected]
From: Egor Nikolaev <[email protected]>
To: [email protected]
Subject: disable SITE command
Mime-Version: 1.0
Content-Type: text/plain; CHARSET=koi8-r
X-Sender: [email protected] (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Is it possible to disable SITE command?
It would be great to disable it for certain users group...

thank you in advance,
Egor Nikolaev ([email protected])

From [email protected]  Tue Jan 27 16:33:21 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA27157;
       Tue, 27 Jan 1998 16:33:20 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA08930;
       Tue, 27 Jan 1998 16:30:55 -0600 (CST)
Received: from novell.com (prv-mail20.Provo.Novell.COM [137.65.40.4])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA05591
       for <[email protected]>; Tue, 27 Jan 1998 16:21:56 -0600 (CST)
Received: from INET-PRV-Message_Server by novell.com
       with Novell_GroupWise; Tue, 27 Jan 1998 15:21:25 -0700
Message-Id: <[email protected]>
Date: Tue, 27 Jan 1998 15:20:48 -0700
Reply-To: [email protected]
Sender: [email protected]
From: "Brian Christensen" <[email protected]>
To: [email protected]
Subject: Problems with guest login
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailer: Novell GroupWise 5.2
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id QAA09180
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I have set up a guest group for sysops that need access to a certain directory on our server. I have set it up so they are chrooted to the directory they need access to. When they log in, the chroot functions properly, but they aren't able to execute any commands. Everything they try returns the message "425 Can't create data socket (0.0.0.0,20): No such file or directory."

I have searched through all the documentation I can find and I haven't found a solution for this problem.

Can somebody point me in the right direction?

Thanks


From [email protected]  Tue Jan 27 16:49:47 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id QAA27263;
       Tue, 27 Jan 1998 16:49:45 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA31369;
       Tue, 27 Jan 1998 16:47:43 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA13282
       for <[email protected]>; Tue, 27 Jan 1998 16:42:59 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id QAA02659;
       Tue, 27 Jan 1998 16:43:06 -0600
Message-Id: <[email protected]>
Date: Tue, 27 Jan 1998 16:43:06 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Brian Christensen <[email protected]>
Cc: [email protected]
Subject: Re: Problems with guest login
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Covered at the foot of the guest howto, probably the FAQ also.  The
list archives will also give an answer.

  -- Michael

On Tue, 27 Jan 1998, Brian Christensen wrote:

> I have set up a guest group for sysops that need access to a certain
> directory on our server. I have set it up so they are chrooted to
> the directory they need access to. When they log in, the chroot
> functions properly, but they aren't able to execute any commands.
> Everything they try returns the message "425 Can't create data
> socket (0.0.0.0,20): No such file or directory."

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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Wed Jan 28 07:29:53 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id HAA12327;
       Wed, 28 Jan 1998 07:29:51 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA02168;
       Wed, 28 Jan 1998 07:28:09 -0600 (CST)
Received: from Atel.it ([194.244.75.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id HAA29268
       for <[email protected]>; Wed, 28 Jan 1998 07:24:54 -0600 (CST)
Received: from titan.atel.it by Atel.it (SMI-8.6/SMI-SVR4)
       id OAA18409; Wed, 28 Jan 1998 14:21:18 +0100
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 14:23:49 +0100
Reply-To: [email protected]
Sender: [email protected]
From: Massimo Vulpiani <[email protected]>
To: [email protected]
Subject: ls problem
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Sender: vulpiani@mail
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0
X-MIME-Autoconverted: from quoted-printable to 8bit by wugate.wustl.edu id HAA32251
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

I downloaded the package (not the source code) of wu-ftpd (2)
and I installed it on  Solaris 2.5.1,
I would like to use it with standard users (not anonymous),
this is what happen:

# ftp juliet
Connected to juliet.
220 juliet FTP server (Version wu-2.4(2) Mon Jun 2 12:37:12 EDT 1997) ready.
Name (juliet:root): testftp
331 Password required for testftp.
Password:
230 User testftp logged in.  Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd257 "/testftp" is current directory.
ftp> ls
200 PORT command successful.
425 Can't create data socket (0.0.0.0,20): Bad file number.
ftp>

Someone can help me ?

Thank you in advance

Massimo Vulpiani


�������
������� _____������� Massimo Vulpiani
������ /��� /\������ Senior Security Engineer
����� /____/� \����� Atel Spa
���� /��� /\�� \���� Via Caldera, 21 D/3
��� /____/� \�� \��� 20153 Milano - Italy
��� \��� \� /\� /��� Phone : +39.2.452701
���� \____\/\/\/���� Fax�� : +39.2.45270299
����� \____\/\/����� E-mail: [email protected]
������ \____\/������ http://<http://www.atel.it/>www.atel.it


From [email protected]  Wed Jan 28 08:14:01 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA12640;
       Wed, 28 Jan 1998 08:14:00 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA11582;
       Wed, 28 Jan 1998 08:12:12 -0600 (CST)
Received: from interlock.mgh.com (interlock.mgh.com [152.159.1.2])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA28469
       for <[email protected]>; Wed, 28 Jan 1998 08:06:52 -0600 (CST)
Received: by interlock.mgh.com id AA26815
 (InterLock SMTP Gateway 3.0 for [email protected]);
 Wed, 28 Jan 1998 09:06:51 -0500
Received: by interlock.mgh.com (Protected-side Proxy Mail Agent-1);
 Wed, 28 Jan 1998 09:06:51 -0500
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 09:07:01 -0500
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (greg_piney)
To: [email protected]
Subject: "dir" with guest access
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

I recently set up guest access for a client. Everything appeared to be working
properly except the 'dir' command. 'ls' works, but the 'dir' command gives no
output.
I am running Beta 13 on Solaris 2.6. Any clues?

Greg Piney
Sr. Software Engineer
The McGraw-Hill Companies


From [email protected]  Wed Jan 28 08:26:29 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA12731;
       Wed, 28 Jan 1998 08:26:28 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA11535;
       Wed, 28 Jan 1998 08:24:42 -0600 (CST)
Received: from futuro.pop-ce.rnp.br (futuro.pop-ce.rnp.br [200.129.0.33])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA09518
       for <[email protected]>; Wed, 28 Jan 1998 08:22:32 -0600 (CST)
Received: by futuro.pop-ce.rnp.br (AIX 4.1/UCB 5.64/4.03)
         id AA04236; Wed, 28 Jan 1998 11:17:33 -0300
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 11:17:32 -0300 (GRNLNDST)
Reply-To: [email protected]
Sender: [email protected]
From: Adalto Silva Correia Filho <[email protected]>
To: [email protected]
Subject: Help with logs
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Dear friends,

       I've recently installed wu-ftpd-2.4.2b16 and I'm having a little
trouble with logs. How should I configure my syslogd to log :

- unsuccesful logins ?
- user commands ?

       I've already tried the option -i but it doesn't create the file
xferlog by itself. So I tried creating a /usr/adm/xferlog with a 777
mode, but it still doesn't log anything on it. I would appreciate a
little help on configuring this one too.

       Thanks in advance. I'll be expecting for any answers.

Adalto S. C. Filho



From [email protected]  Wed Jan 28 08:46:14 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id IAA12868;
       Wed, 28 Jan 1998 08:46:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id IAA02263;
       Wed, 28 Jan 1998 08:44:04 -0600 (CST)
Received: from ns.sbs.de (ns.sbs.de [194.112.84.17])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id IAA10946
       for <[email protected]>; Wed, 28 Jan 1998 08:43:06 -0600 (CST)
Received: from mail.fth.sbs.de (mail.fth.sbs.de [192.129.41.35])
       by ns.sbs.de (8.8.8/8.8.6) with ESMTP id PAA25336
       for <[email protected]>; Wed, 28 Jan 1998 15:46:28 +0100 (MET)
Received: from desaster.fth.sbs.de (desaster.fth.sbs.de [192.129.41.36])
       by mail.fth.sbs.de (8.8.8/8.8.6) with ESMTP id PAA23686
       for <[email protected]>; Wed, 28 Jan 1998 15:39:06 +0100 (MET)
Received: (from hh@localhost)
       by desaster.fth.sbs.de (8.8.8/8.8.8) id RAA03892;
       Wed, 28 Jan 1998 17:09:59 +0100 (MET)
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 17:09:59 +0100
Reply-To: [email protected]
Sender: [email protected]
From: Hermann Heimhardt <[email protected]>
To: [email protected]
Subject: Re: Help with logs
In-Reply-To: <[email protected]>; from Adalto Silva Correia Filho on Wed, Jan 28, 1998 at 11:17:32AM -0300
References: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Envelope-Sender-Is: [email protected] (at relayer mail.fth.sbs.de)
X-Mailer: Mutt 0.88
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi,
On Wed, Jan 28, 1998 at 11:17:32AM -0300, Adalto Silva Correia Filho wrote:
>
>       I've already tried the option -i but it doesn't create the file
> xferlog by itself. So I tried creating a /usr/adm/xferlog with a 777
You should never ever create logging information with this permission set.
Everybody on with a login on your system can alter those files (and hide
important information) !

[root@ftp adm]# ls -al xferlog
-rw-------   1 root     root       13504 Jan 28 15:33 xferlog

This is sufficient.

> mode, but it still doesn't log anything on it. I would appreciate a
> little help on configuring this one too.
Did you check where your wu-ftpd expects it's logfiles:
There is a program called ckconfig in the wu-ftpd tarball. Run it and watch
the output.
[root@ftp etc]# ./ckconfig
Checking _PATH_XFERLOG :: /var/adm/xferlog
ok.                       ^^^^^^^^^^^^^^^^
check if the file is there||||||||||||||||


I have something like this within the fwtk that starts the ftp daemon:
netacl-in.ftpd: permit-hosts * -exec /usr/local/etc/in.ftpd -a -l -o -i -d
and it logs just fine.

hh
--
[email protected]    HH937-RIPE   http://www.scn.de/~hermann (PGP key available)
Hermann Heimhardt           Siemens Business Services Internet Administration
A sucking chest wound is nature's way of telling you to slow down.

From [email protected]  Wed Jan 28 09:24:11 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA13126;
       Wed, 28 Jan 1998 09:24:10 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA18468;
       Wed, 28 Jan 1998 09:21:55 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA11173
       for <[email protected]>; Wed, 28 Jan 1998 09:19:02 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id JAA16951;
       Wed, 28 Jan 1998 09:18:48 -0600
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 09:18:48 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: Massimo Vulpiani <[email protected]>
Cc: [email protected]
Subject: Re: ls problem
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Wed, 28 Jan 1998, Massimo Vulpiani wrote:

> # ftp juliet
> Connected to juliet.
> 220 juliet FTP server (Version wu-2.4(2) Mon Jun 2 12:37:12 EDT 1997) ready.

Questa versione e' gia' vecchissima e contiene bachi e buchi. :)
Dovresti prendere la beta 16 sotto sia per la funzionalita' che per i
miglioramenti di sicurezza.  Va distribuito solo la sorgente, quindi
dovrai compilarlo te stesso.

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

Questo si trova in ambedue il FAQ e il guest howto, anche gli archivi.

In bocca al lupo,

  -- Michael


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

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

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

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

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

There are additional security references in the above docs.


From [email protected]  Wed Jan 28 09:30:48 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id JAA13180;
       Wed, 28 Jan 1998 09:30:33 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id JAA16285;
       Wed, 28 Jan 1998 09:28:27 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id JAA10193
       for <[email protected]>; Wed, 28 Jan 1998 09:23:04 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id JAA17050;
       Wed, 28 Jan 1998 09:23:03 -0600
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 09:23:03 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: greg_piney <[email protected]>
Cc: [email protected]
Subject: Re: "dir" with guest access
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Your external 'ls' is not working.  See the guest howto in the
resource list I just sent to Massimo Vulpiani (I hate to keep sending
that thing to the entire list).

  -- Michael

On Wed, 28 Jan 1998, greg_piney wrote:

> I recently set up guest access for a client. Everything appeared to be working
> properly except the 'dir' command. 'ls' works, but the 'dir' command gives no
> output.


From [email protected]  Wed Jan 28 15:12:03 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id PAA15190;
       Wed, 28 Jan 1998 15:12:02 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA21796;
       Wed, 28 Jan 1998 15:09:26 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id PAA20586
       for <[email protected]>; Wed, 28 Jan 1998 15:05:25 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
       id QAA03827; Wed, 28 Jan 1998 16:13:13 -0500
Message-Id: <Pine.GSO.3.96.980128155401.3455A-100000@dinosaur>
Date: Wed, 28 Jan 1998 16:13:12 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Ming Lu <[email protected]>
To: Wu-ftpd Mailing List <[email protected]>
Subject: help!!!!
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi all:

I compiled and installed wu-ftpd-2.4.2-beta-16. Everything seems to be
fine expcept I started it with -a option, and I am getting this:

$ ftp localhost
Connected to localhost.
421 Service not available, remote server has closed connection
ftp>

I have all of ftp files in /etc

_ming

============================================================================
Ming Lu                                             Email: [email protected]
Network Tech Consulting Engineer                    Phone: 703-689-5290 (w)
Engineering Division                                       703-855-4194 (m)
Global One Telecommunications, LLT.                        703-689-6575 (f)
============================================================================
"Do not pay attention to every word people say, or you may hear your
servant cursing you ---- for you know in your heart that many times you
yourself have cursed others."


From [email protected]  Wed Jan 28 17:00:46 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA15815;
       Wed, 28 Jan 1998 17:00:45 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id QAA01117;
       Wed, 28 Jan 1998 16:58:45 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id QAA01251
       for <[email protected]>; Wed, 28 Jan 1998 16:51:14 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by thongvilay.giganet.net (8.8.5/8.8.5) with SMTP id HAA10768;
       Thu, 29 Jan 1998 07:50:56 +0900 (JST)
Message-Id: <Pine.GSO.3.95LJ1.1b4.980129074749.10634B-100000@thongvilay.giganet.net>
Date: Thu, 29 Jan 1998 07:50:56 +0900 (JST)
Reply-To: [email protected]
Sender: [email protected]
From: Tatsuya Kawasaki <[email protected]>
To: Ming Lu <[email protected]>
Cc: Wu-ftpd Mailing List <[email protected]>
Subject: Re: help!!!!
In-Reply-To: <Pine.GSO.3.96.980128155401.3455A-100000@dinosaur>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello Ming,

What is your OS? does your inetd knows about your ftpd?

someone posted eariler how to fix this sort of problem.  If you need more
info about how to fix it, just e-mail me, I will forward it to you.

If you are using solaris, I think I can help.

tatsuya




$B$+$o$5$-(B


= = = = = =
$BEEOC(B 03-3239-0607 fax 03-3239-2609
business network telecom
http://www.giganet.net

On Wed, 28 Jan 1998, Ming Lu wrote:

> Hi all:
>
> I compiled and installed wu-ftpd-2.4.2-beta-16. Everything seems to be
> fine expcept I started it with -a option, and I am getting this:
>
> $ ftp localhost
> Connected to localhost.
> 421 Service not available, remote server has closed connection
> ftp>
>
> I have all of ftp files in /etc
>
> _ming
>
> ============================================================================
> Ming Lu                                             Email: [email protected]
> Network Tech Consulting Engineer                    Phone: 703-689-5290 (w)
> Engineering Division                                       703-855-4194 (m)
> Global One Telecommunications, LLT.                        703-689-6575 (f)
> ============================================================================
> "Do not pay attention to every word people say, or you may hear your
>  servant cursing you ---- for you know in your heart that many times you
>  yourself have cursed others."
>
>


From [email protected]  Wed Jan 28 17:51:08 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA16046;
       Wed, 28 Jan 1998 17:51:07 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA03132;
       Wed, 28 Jan 1998 17:48:48 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA03717
       for <[email protected]>; Wed, 28 Jan 1998 17:46:41 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by thongvilay.giganet.net (8.8.5/8.8.5) with SMTP id IAA12209;
       Thu, 29 Jan 1998 08:46:29 +0900 (JST)
Message-Id: <Pine.GSO.3.95LJ1.1b4.980129084126.10634F-100000@thongvilay.giganet.net>
Date: Thu, 29 Jan 1998 08:46:29 +0900 (JST)
Reply-To: [email protected]
Sender: [email protected]
From: Tatsuya Kawasaki <[email protected]>
To: Massimo Vulpiani <[email protected]>
Cc: [email protected]
Subject: Re: ls problem
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by wugate.wustl.edu id RAA01270
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

hello Massimo,

Okay... question
1. so testftp is a real person in /etc/passwd, right?
2. do you put anything on that user directory shown in /etc/passwd
       i.e. ././ or something like that?
 if you do, you MUST put ls command in ~yourname/bin
 but Solaris ls is "dynamically linked" so it does not work.

When I tried to put my stuff, I checked FAQ, it had special instructions
for solaris 2.5.x, check it out, if you can not find it, see if I can
dig it and forward it to you.

thnx
tatsuya


$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9(B $B$+$o$5$-(B@ giganet$B$G$9!#(B




$B$+$o$5$-(B


= = = = = =
$BEEOC(B 03-3239-0607 fax 03-3239-2609
business network telecom
http://www.giganet.net

On Wed, 28 Jan 1998, Massimo Vulpiani wrote:

> Hello,
>
> I downloaded the package (not the source code) of wu-ftpd (2)
> and I installed it on  Solaris 2.5.1,
> I would like to use it with standard users (not anonymous),
> this is what happen:
>
> # ftp juliet
> Connected to juliet.
> 220 juliet FTP server (Version wu-2.4(2) Mon Jun 2 12:37:12 EDT 1997) ready.
> Name (juliet:root): testftp
> 331 Password required for testftp.
> Password:
> 230 User testftp logged in.  Access restrictions apply.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> pwd257 "/testftp" is current directory.
> ftp> ls
> 200 PORT command successful.
> 425 Can't create data socket (0.0.0.0,20): Bad file number.
> ftp>
>
> Someone can help me ?
>
> Thank you in advance
>
> Massimo Vulpiani
>
>
> �������
> ������� _____������� Massimo Vulpiani
> ������ /��� /\������ Senior Security Engineer
> ����� /____/� \����� Atel Spa
> ���� /��� /\�� \���� Via Caldera, 21 D/3
> ��� /____/� \�� \��� 20153 Milano - Italy
> ��� \��� \� /\� /��� Phone : +39.2.452701
> ���� \____\/\/\/���� Fax�� : +39.2.45270299
> ����� \____\/\/����� E-mail: [email protected]
> ������ \____\/������ http://<http://www.atel.it/>www.atel.it
>
>


From [email protected]  Wed Jan 28 17:57:00 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id RAA16065;
       Wed, 28 Jan 1998 17:56:59 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id RAA03880;
       Wed, 28 Jan 1998 17:55:13 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id RAA01827
       for <[email protected]>; Wed, 28 Jan 1998 17:54:48 -0600 (CST)
Received: from thongvilay.giganet.net (thongvilay.giganet.net [203.182.192.97])
       by thongvilay.giganet.net (8.8.5/8.8.5) with SMTP id IAA12408;
       Thu, 29 Jan 1998 08:54:24 +0900 (JST)
Message-Id: <Pine.GSO.3.95LJ1.1b4.980129085254.10634H-100000@thongvilay.giganet.net>
Date: Thu, 29 Jan 1998 08:54:23 +0900 (JST)
Reply-To: [email protected]
Sender: [email protected]
From: Tatsuya Kawasaki <[email protected]>
To: Adalto Silva Correia Filho <[email protected]>
Cc: [email protected]
Subject: Re: Help with logs
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

simple question

Did you check config file? Are you sure is this the locaton
where it suppose to put out log?
some system put out the log /var/adm ...

Check it out.

thnx

tatsuya



$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9(B $B$+$o$5$-(B@ giganet$B$G$9!#(B




$B$+$o$5$-(B


= = = = = =
$BEEOC(B 03-3239-0607 fax 03-3239-2609
business network telecom
http://www.giganet.net

On Wed, 28 Jan 1998, Adalto Silva Correia Filho wrote:

>
> Dear friends,
>
>       I've recently installed wu-ftpd-2.4.2b16 and I'm having a little
> trouble with logs. How should I configure my syslogd to log :
>
> - unsuccesful logins ?
> - user commands ?
>
>       I've already tried the option -i but it doesn't create the file
> xferlog by itself. So I tried creating a /usr/adm/xferlog with a 777
> mode, but it still doesn't log anything on it. I would appreciate a
> little help on configuring this one too.
>
>       Thanks in advance. I'll be expecting for any answers.
>
> Adalto S. C. Filho
>
>
>


From [email protected]  Wed Jan 28 23:35:33 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id XAA17662;
       Wed, 28 Jan 1998 23:35:31 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA19705;
       Wed, 28 Jan 1998 23:33:46 -0600 (CST)
Received: from TYO39.gate.nec.co.jp (TYO39.gate.nec.co.jp [202.247.7.13])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA32502
       for <[email protected]>; Wed, 28 Jan 1998 23:31:19 -0600 (CST)
Received: from mailsv.nec.co.jp ([192.168.1.203])
       by TYO39.gate.nec.co.jp (8.8.7+2.7Wbeta6/3.6Wbeta698012219) with ESMTP id OAA19396
       for <[email protected]>; Thu, 29 Jan 1998 14:31:17 +0900 (JST)
Received: from siaew3.ksp.nis.nec.co.jp (siaew3.ksp.nis.nec.co.jp [133.207.104.222]) by mailsv.nec.co.jp (8.8.7+2.7Wbeta6/3.6Wbeta6-98012219) with ESMTP
       id OAA15818 for <[email protected]>; Thu, 29 Jan 1998 14:31:10 +0900 (JST)
Received: by siaew3.ksp.nis.nec.co.jp (8.8.8+2.7Wbeta7/3.6W/kajino-12/17/97) id OAA29581; Thu, 29 Jan 1998 14:31:03 +0900 (JST)
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 14:31:03 +0900
Reply-To: [email protected]
Sender: [email protected]
From: "S.Kajino/=?ISO-2022-JP?B?GyRCM2FMbj84GyhC?= " <[email protected]>
To: [email protected]
Subject: 'guestgroup' not work. Please help me.
Mime-Version: 1.0 (MH-6.8.3JP2c+)
Content-Type: text/plain; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello, I'm one of admins of our local domain.

We used 'guestgroup' function of wu-ftpd.
It worked propery untill wu-ftp-2.4.2-beta13 version.
But from the version beta14, it can't work.

Tested follows.
       wu-ftpd-2.4.2-beta13....OK
       wu-ftpd-2.4.2-beta14....NG
       wu-ftpd-2.4.2-beta15....NG
       wu-ftpd-2.4.2-beta16....NG
(Same configuration; exchanged the daemon only.)

Our tested environment is follows:
       1. Sun ULTRA-1 Solaris 2.5.1.
       2. Sun SS20    SunOS 4.1.4.


Are there any change about configuration from beta14?

Are there HELP?


Yours sincerely.                             S.Kajino.
////////////////////////////////////////////////////////////////
  NEC informatec systems Co.,ltd.           TEL 044-812-8418
  Network SI Div., 2nd SI Dept.                   (S.Kajino)
  [email protected]         [email protected]

From [email protected]  Thu Jan 29 00:00:37 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id AAA17796;
       Thu, 29 Jan 1998 00:00:36 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id XAA00437;
       Wed, 28 Jan 1998 23:58:45 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id XAA32042
       for <[email protected]>; Wed, 28 Jan 1998 23:54:09 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id XAA31872;
       Wed, 28 Jan 1998 23:52:38 -0600
Message-Id: <[email protected]>
Date: Wed, 28 Jan 1998 23:52:38 -0600 (CST)
Reply-To: [email protected]
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: "S.Kajino/=?ISO-2022-JP?B?GyRCM2FMbj84GyhC?= " <[email protected]>
Cc: [email protected]
Subject: Re: 'guestgroup' not work. Please help me.
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


What are the specific errors?

  -- Michael

On Thu, 29 Jan 1998, S.Kajino/[ISO-2022-JP] $B3aLn?8(B  wrote:

> We used 'guestgroup' function of wu-ftpd.
> It worked propery untill wu-ftp-2.4.2-beta13 version.
> But from the version beta14, it can't work.


From [email protected]  Thu Jan 29 00:14:17 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id AAA17888;
       Thu, 29 Jan 1998 00:14:16 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA06302;
       Thu, 29 Jan 1998 00:12:39 -0600 (CST)
Received: from TYO39.gate.nec.co.jp (TYO39.gate.nec.co.jp [202.247.7.13])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA02682
       for <[email protected]>; Thu, 29 Jan 1998 00:05:20 -0600 (CST)
Received: from mailsv.nec.co.jp ([192.168.1.203])
       by TYO39.gate.nec.co.jp (8.8.7+2.7Wbeta6/3.6Wbeta698012219) with ESMTP id PAA05194;
       Thu, 29 Jan 1998 15:05:12 +0900 (JST)
Received: from siaew3.ksp.nis.nec.co.jp (siaew3.ksp.nis.nec.co.jp [133.207.104.222]) by mailsv.nec.co.jp (8.8.7+2.7Wbeta6/3.6Wbeta6-98012219) with ESMTP
       id PAA23321; Thu, 29 Jan 1998 15:05:11 +0900 (JST)
Received: by siaew3.ksp.nis.nec.co.jp (8.8.8+2.7Wbeta7/3.6W/kajino-12/17/97) id PAA00016; Thu, 29 Jan 1998 15:05:11 +0900 (JST)
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 15:05:11 +0900
Reply-To: [email protected]
Sender: [email protected]
From: "S.Kajino/=?ISO-2022-JP?B?GyRCM2FMbj84GyhC?= " <[email protected]>
To: Michael Brennen <[email protected]>
Cc: [email protected]
Subject: Re: 'guestgroup' not work. Please help me.
In-Reply-To: Michael Brennen's message of "Wed, 28 Jan 1998 23:52:38 JST"
References: <[email protected]>
Mime-Version: 1.0 (MH-6.8.3JP2c+)
Content-Type: text/plain; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>>In Article <[email protected]>
>       Michael Brennen writes:

>
>What are the specific errors?

Sorry.
The problem with guestgroups is can't chroot.

Perhaps like this.....
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
81 siaew3 kajino> ftp lsisv1
Connected to lsisv1.
220 lsisv1 FTP server (Version wu-2.4.2-lsi[BETA-15](1) Wed Jan 28 17:32:48 JST1998) ready.
Name (lsisv1:kajino): kaji
331 Password required for kaji.
Password:
230 User kaji logged in.
ftp> pwd
257 "/home/kaji" is current directory.
ftp>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
(beta-13, it works properly.)

////////////////////////////////////////////////////////////////
  NEC informatec systems Co.,ltd.           TEL 044-812-8418
  Network SI Div., 2nd SI Dept.                   (S.Kajino)
  [email protected]         [email protected]

From [email protected]  Thu Jan 29 00:34:58 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id AAA17949;
       Thu, 29 Jan 1998 00:34:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA07898;
       Thu, 29 Jan 1998 00:31:51 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA08450
       for <[email protected]>; Thu, 29 Jan 1998 00:30:07 -0600 (CST)
Received: from ns1.fni.com (ns1.fni.com [204.181.104.1])
       by ns1.fni.com (8.8.8/8.8.8) with SMTP id AAA32444;
       Thu, 29 Jan 1998 00:30:02 -0600
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 00:30:02 -0600 (CST)
Reply-To: Michael Brennen <[email protected]>
Sender: [email protected]
From: Michael Brennen <[email protected]>
To: "S.Kajino/=?ISO-2022-JP?B?GyRCM2FMbj84GyhC?= " <[email protected]>
Cc: [email protected]
Subject: Re: 'guestgroup' not work. Please help me.
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

On Thu, 29 Jan 1998, S.Kajino/[ISO-2022-JP] $B3aLn?8(B  wrote:

> Sorry.
> The problem with guestgroups is can't chroot.
>
> Perhaps like this.....
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 81 siaew3 kajino> ftp lsisv1
> Connected to lsisv1.
> 220 lsisv1 FTP server (Version wu-2.4.2-lsi[BETA-15](1) Wed Jan 28 17:32:48 JST1998) ready.
                                         ^^^^^^^^^^^

You are running beta 15 -- I thought you said earlier you were running
13 and 14. I don't know of any outstanding chroot problems with 15; I
for one had no trouble with the transition between 13, 14, and 15.


> Name (lsisv1:kajino): kaji
> 331 Password required for kaji.
> Password:
> 230 User kaji logged in.
> ftp> pwd
> 257 "/home/kaji" is current directory.
> ftp>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> (beta-13, it works properly.)


Have you gone over the guest howto carefully?  I don't mean to
belittle the problem, but it sounds like something is not set up
correctly.

  -- Michael



From [email protected]  Thu Jan 29 00:40:59 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id AAA17976;
       Thu, 29 Jan 1998 00:40:57 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id AAA06758;
       Thu, 29 Jan 1998 00:38:27 -0600 (CST)
Received: from TYO39.gate.nec.co.jp (TYO39.gate.nec.co.jp [202.247.7.13])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id AAA11245
       for <[email protected]>; Thu, 29 Jan 1998 00:33:38 -0600 (CST)
Received: from mailsv.nec.co.jp ([192.168.1.203])
       by TYO39.gate.nec.co.jp (8.8.7+2.7Wbeta6/3.6Wbeta698012219) with ESMTP id PAA15481;
       Thu, 29 Jan 1998 15:33:34 +0900 (JST)
Received: from siaew3.ksp.nis.nec.co.jp (siaew3.ksp.nis.nec.co.jp [133.207.104.222]) by mailsv.nec.co.jp (8.8.7+2.7Wbeta6/3.6Wbeta6-98012219) with ESMTP
       id PAA25118; Thu, 29 Jan 1998 15:33:32 +0900 (JST)
Received: by siaew3.ksp.nis.nec.co.jp (8.8.8+2.7Wbeta7/3.6W/kajino-12/17/97) id PAA00421; Thu, 29 Jan 1998 15:33:32 +0900 (JST)
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 15:33:31 +0900
Reply-To: [email protected]
Sender: [email protected]
From: "S.Kajino/=?ISO-2022-JP?B?GyRCM2FMbj84GyhC?= " <[email protected]>
To: Michael Brennen <[email protected]>
Cc: [email protected]
Subject: Re: 'guestgroup' not work. Please help me.
In-Reply-To: Michael Brennen's message of "Thu, 29 Jan 1998 00:30:02 JST"
References: <[email protected]>
Mime-Version: 1.0 (MH-6.8.3JP2c+)
Content-Type: text/plain; charset=ISO-2022-JP
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

>>In Article <[email protected]>
>       Michael Brennen writes:

>Have you gone over the guest howto carefully?  I don't mean to
>belittle the problem, but it sounds like something is not set up
>correctly.

Thanks a lot.
I check it from now.
////////////////////////////////////////////////////////////////
  NEC informatec systems Co.,ltd.           TEL 044-812-8418
  Network SI Div., 2nd SI Dept.                   (S.Kajino)
  [email protected]         [email protected]

From [email protected]  Thu Jan 29 03:20:12 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id DAA21694;
       Thu, 29 Jan 1998 03:20:11 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA04282;
       Thu, 29 Jan 1998 03:18:16 -0600 (CST)
Received: from oscar.broadcom.ie (oscar.broadcom.ie [192.107.110.20])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id DAA19706
       for <[email protected]>; Thu, 29 Jan 1998 03:12:08 -0600 (CST)
Received: from pc4 (pc4.broadcom.ie [192.107.110.104])
       by oscar.broadcom.ie (8.8.8/8.8.8) with ESMTP id JAA23598;
       Thu, 29 Jan 1998 09:11:34 GMT
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 09:11:34 +0000
Reply-To: [email protected]
Sender: [email protected]
From: Matthew Brookes <[email protected]>
To: [email protected]
Cc: Wu-ftpd Mailing List <[email protected]>
Subject: Re: help!!!!
References: <Pine.GSO.3.96.980128155401.3455A-100000@dinosaur>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
X-Priority: 3 (Normal)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Ming Lu wrote:

> Hi all:
>
> I compiled and installed wu-ftpd-2.4.2-beta-16. Everything seems to be
> fine expcept I started it with -a option, and I am getting this:
>
> $ ftp localhost
> Connected to localhost.
> 421 Service not available, remote server has closed connection
> ftp>

There is a bug in beta-16 which stops it working with one argument.

There was a patch posted to this list, or as a workaround, add a second
argument, eg. -t300.

Matt.

--
----------------------------------------------------------------------
 Matthew Brookes  -  Unix Admin  -  Broadcom Eireann Research Ltd.
----------------------------------------------------------------------

From [email protected]  Thu Jan 29 05:08:38 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id FAA28099;
       Thu, 29 Jan 1998 05:08:37 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA18049;
       Thu, 29 Jan 1998 05:07:04 -0600 (CST)
Received: from futuro.pop-ce.rnp.br (futuro.pop-ce.rnp.br [200.129.0.33])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA16520
       for <[email protected]>; Thu, 29 Jan 1998 05:00:47 -0600 (CST)
Received: by futuro.pop-ce.rnp.br (AIX 4.1/UCB 5.64/4.03)
         id AA22068; Thu, 29 Jan 1998 07:55:50 -0300
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 07:55:50 -0300 (GRNLNDST)
Reply-To: [email protected]
Sender: [email protected]
From: Adalto Silva Correia Filho <[email protected]>
To: [email protected]
Subject: Re: Help with logs
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Hi friends,

       Before installing wu-ftpd, I used TCPWrapper to restrict ftp
logs. Well, tcpd logs information in syslog through the facility "mail".
So I used the following entry of syslog.conf in order to get the logs:

- mail.warning    /var/log/log.rej

       I'd like to know how was supposed to be the syslog.conf line that
redirects the logs from wu-ftpd. Is there different kinds of priority for
each kind of wu-ftpd logs? For example:

- ftpd.warning -> logs commands
- ftpd.info -> any user that logs succesfully + the stuff above.

Thanks in advance,

Adalto S. C. Filho
Adm. do POP-CE/RNP

P.S.: Bob Morse, sorry for the duplicate message.



From [email protected]  Thu Jan 29 05:10:01 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id FAA28112;
       Thu, 29 Jan 1998 05:10:01 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA26971;
       Thu, 29 Jan 1998 05:08:26 -0600 (CST)
Received: from futuro.pop-ce.rnp.br (futuro.pop-ce.rnp.br [200.129.0.33])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA04830
       for <[email protected]>; Thu, 29 Jan 1998 05:06:08 -0600 (CST)
Received: by futuro.pop-ce.rnp.br (AIX 4.1/UCB 5.64/4.03)
         id AA37836; Thu, 29 Jan 1998 08:01:16 -0300
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 08:01:16 -0300 (GRNLNDST)
Reply-To: [email protected]
Sender: [email protected]
From: Adalto Silva Correia Filho <[email protected]>
To: [email protected]
Subject: Security Concerning
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Dear Friends,

       I'm a beginner on this list, and I'd like to know if wu-ftpd 2.4.2b16
has any bug concerning the site's security.

       I've already seen the Related Bugs web page, but I'd like to
certificate that this release's bugs resume to those listed.

Thanks in advance,

Adalto S. C. Filho


From [email protected]  Thu Jan 29 05:53:20 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id FAA28270;
       Thu, 29 Jan 1998 05:53:18 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29416;
       Thu, 29 Jan 1998 05:51:41 -0600 (CST)
Received: from futuro.pop-ce.rnp.br (futuro.pop-ce.rnp.br [200.129.0.33])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id FAA29090
       for <[email protected]>; Thu, 29 Jan 1998 05:47:34 -0600 (CST)
Received: by futuro.pop-ce.rnp.br (AIX 4.1/UCB 5.64/4.03)
         id AA36620; Thu, 29 Jan 1998 08:42:35 -0300
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 08:42:35 -0300 (GRNLNDST)
Reply-To: [email protected]
Sender: [email protected]
From: Adalto Silva Correia Filho <[email protected]>
To: [email protected]
Subject: Web access
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN



Dear friends,

       I've configured my anonymous ftp and it seems to work quite fine,
what doesn't happen when we try to access it via WWW (ftp://). It even
shows the pub directory, in fact it shows the welcome message only.Is there
other files or directories that must exist in ~ftp ?

       I'll be expecting any answers.

Adalto S. C. Filho
Adm. do POP-CE/RNP

Sorry if this question was already around here, and you're
becoming tired of answering it :)


From [email protected]  Thu Jan 29 11:28:07 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA01426;
       Thu, 29 Jan 1998 11:28:06 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA18795;
       Thu, 29 Jan 1998 11:25:58 -0600 (CST)
Received: from delta.acabtu.com.mx (delta.acabtu.com.mx [200.33.20.90])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id LAA22041
       for <[email protected]>; Thu, 29 Jan 1998 11:25:06 -0600 (CST)
Received: from acabtu.com.mx (delta.acabtu.com.mx [200.33.20.90])
       by delta.acabtu.com.mx (8.8.6/8.8.6) with ESMTP id LAA04072
       for <[email protected]>; Thu, 29 Jan 1998 11:26:46 -0600 (CST)
Message-Id: <[email protected]>
Date: Thu, 29 Jan 1998 11:26:45 -0600
Reply-To: [email protected]
Sender: [email protected]
From: "Ing. Diana Liz Tejeda Cortes" <[email protected]>
To: wu-ftpd <[email protected]>
Subject: Incorrect Time
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: [email protected]
X-Mailer: Mozilla 4.04 [en] (X11; I; IRIX 5.3 IP22)
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hi:

I have wu-ftpd-2.4.2-beta-16 in a SGI with Irix 5.3, everything is
working fine, except for the ftp logs in the SYSLOG file. Here is a
small sample:

Jan 29 07:08:26 5Q:delta popper[9274]: (v2.1.4-pre-R3) Servicing request
from "200.33.20.72" at 200.33.20.72
Jan 29 07:08:26 5Q:delta popper[9274]: (v2.1.4-pre-R3) Ending request
from "etanar" at (200.33.20.72) 200.33.20.72
Jan 29 13:08:35 6D:delta ftpd[9275]: USER anonymous
Jan 29 13:08:35 6D:delta ftpd[9275]: PASS IE30User@

as you can see, the log for the ftpd daemon is 6 hours later than the
local time.

I've already chech my TIMEZONE file and is set properly.

TZ=CST6CDT5  <- We are in the Central time zone and -6 hours difference
from the GMT.

Any suggestions?

Thanks in advance....
--
...........................................................
Ing. Diana Liz Tejeda Cortes    [email protected]
System Administrator
BTU Comunicacion, S.A. de C.V.  http://www.acabtu.com.mx

From [email protected]  Fri Jan 30 14:43:24 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id OAA19708;
       Fri, 30 Jan 1998 14:43:24 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id OAA32482;
       Fri, 30 Jan 1998 14:38:45 -0600 (CST)
Received: from fwns2.raleigh.ibm.com (fwns2d.raleigh.ibm.com [204.146.167.236])
       by wugate.wustl.edu (8.8.8/8.8.5) with ESMTP id OAA22343
       for <[email protected]>; Fri, 30 Jan 1998 14:25:35 -0600 (CST)
Received: from rtpmail02.raleigh.ibm.com (rtpmail02.raleigh.ibm.com [9.37.172.48]) by fwns2.raleigh.ibm.com (AIX4.2/UCB 8.7/8.7RTP-FW1.1) with ESMTP id PAA28918 for <[email protected]>; Fri, 30 Jan 1998 15:25:28 -0500 (EST)
Received: from houns02.houston.ibm.com (houns02.houston.ibm.com [9.35.40.19])
       by rtpmail02.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with SMTP id PAA30726
       for <[email protected]>; Fri, 30 Jan 1998 15:25:32 -0500
Received: by houns02.houston.ibm.com(Lotus SMTP MTA v1.1 (385.6 5-6-1997))  id 8625659C.006F8985 ; Fri, 30 Jan 1998 14:18:17 -0600
Message-Id: <[email protected]>
Date: Fri, 30 Jan 1998 14:10:36 -0600
Reply-To: [email protected]
Sender: [email protected]
From: [email protected]
To: [email protected]
Subject: wild card (*)
Mime-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Lotus-FromDomain: HPSI
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


I'm running wu-ftpd-2.4 on AIX 4.2.0 and noticed that when I do a 'mget
*.jpg' (for example), I see this error
    Bad directory components
    can't find list of remote files, oops

Did I miss something during compile time?

Thanks for any input

Thuy



From [email protected]  Fri Jan 30 20:24:57 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id UAA21529;
       Fri, 30 Jan 1998 20:24:56 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA24022;
       Fri, 30 Jan 1998 20:23:17 -0600 (CST)
Received: from dinosaur.privsys.gip.net (dinosaur.gip.net [204.59.155.63])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id UAA29994
       for <[email protected]>; Fri, 30 Jan 1998 20:18:20 -0600 (CST)
Received: from dinosaur by dinosaur.privsys.gip.net (SMI-8.6/SMI-SVR4)
       id VAA04999; Fri, 30 Jan 1998 21:25:57 -0500
Message-Id: <Pine.GSO.3.96.980130212428.4230A-100000@dinosaur>
Date: Fri, 30 Jan 1998 21:25:57 -0500 (EST)
Reply-To: [email protected]
Sender: [email protected]
From: Ming Lu <[email protected]>
To: Matthew Brookes <[email protected]>
Cc: Wu-ftpd Mailing List <[email protected]>
Subject: Re: help!!!!
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: mlu@dinosaur
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN


Thanks for the tip...:-), it worked very well! Could anyone email me the
patch?

Best Regards

_ming

On Thu, 29 Jan 1998, Matthew Brookes wrote:

->Ming Lu wrote:
->
->> Hi all:
->>
->> I compiled and installed wu-ftpd-2.4.2-beta-16. Everything seems to be
->> fine expcept I started it with -a option, and I am getting this:
->>
->> $ ftp localhost
->> Connected to localhost.
->> 421 Service not available, remote server has closed connection
->> ftp>
->
->There is a bug in beta-16 which stops it working with one argument.
->
->There was a patch posted to this list, or as a workaround, add a second
->argument, eg. -t300.
->
->Matt.
->
->--
->----------------------------------------------------------------------
->  Matthew Brookes  -  Unix Admin  -  Broadcom Eireann Research Ltd.
->----------------------------------------------------------------------
->

============================================================================
Ming Lu                                             Email: [email protected]
Network Tech Consulting Engineer                    Phone: 703-689-5290 (w)
Engineering Division                                       703-855-4194 (m)
Global One Telecommunications, LLT.                        703-689-6575 (f)
============================================================================
"Do not pay attention to every word people say, or you may hear your
servant cursing you ---- for you know in your heart that many times you
yourself have cursed others."


From [email protected]  Sat Jan 31 03:05:04 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id DAA02859;
       Sat, 31 Jan 1998 03:05:02 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id DAA27442;
       Sat, 31 Jan 1998 03:03:19 -0600 (CST)
Received: from supelec.supelec.fr (supelec.supelec.fr [160.228.120.192])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id CAA28726
       for <[email protected]>; Sat, 31 Jan 1998 02:58:35 -0600 (CST)
Received: by supelec.supelec.fr id AA01958; Sat, 31 Jan 1998 09:58:30 +0100
Message-Id: <[email protected]>
Date: Sat, 31 Jan 1998 09:48:28 +0200
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Daniel Clar)
To: [email protected]
Subject: How to fix the name of the ftp server ?
X-Vms-To: SMTP%"[email protected]"
X-Vms-Cc: DC
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

Hello,

My ftp server ftp.supelec.fr is an alias on my main internet server
supelec.supelec.fr. How can I manage so that people connecting to ftp.
supelec.fr see this name instead of the true name ?

Thanks

Daniel


o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o
|   Daniel Clar                            e-mail : [email protected]  |
|   Computer Operations Manager                   : [email protected]           |
|   Service Informatique Supelec                    and                     |
|   Plateau de Moulon                            DECUSF::CLAR_D or          |
|   91192 Gif sur Yvette Cedex - France           [email protected]      |
|   Tel : (33 1) 69 85 14 87               Fax : (33 1) 69 85 12 34         |
o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o


From [email protected]  Sat Jan 31 11:05:35 1998
Received: from wugate.wustl.edu (wugate.wustl.edu [128.252.120.1])
       by landfield.com (8.8.8/8.8.8) with ESMTP id LAA05241;
       Sat, 31 Jan 1998 11:05:34 -0600 (CST)
Received: from host (wugate.wustl.edu [128.252.120.1])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA20580;
       Sat, 31 Jan 1998 11:03:32 -0600 (CST)
Received: from slarti.muc.de (slarti.muc.de [193.174.4.10])
       by wugate.wustl.edu (8.8.8/8.8.5) with SMTP id LAA11757
       for <[email protected]>; Sat, 31 Jan 1998 11:01:19 -0600 (CST)
Received: (qmail 26047 invoked by uid 66); 31 Jan 1998 17:01:01 -0000
Received: by en1.engelschall.com (Sendmail 8.8.8)
       id SAA13424; Sat, 31 Jan 1998 18:00:20 +0100 (MET)
Message-Id: <[email protected]>
Date: Sat, 31 Jan 1998 18:00:20 +0100 (MET)
Reply-To: [email protected]
Sender: [email protected]
From: [email protected] (Ralf S. Engelschall)
To: [email protected], [email protected]
Subject: PATCH: restricted throughput, traffic count, etc.
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: ELM [version 2.4ME+ PL37 (25)]
X-Listprocessor-Version: 8.0 -- ListProcessor(tm) by CREN

This is a patch against the sources of WU-FTPd 2.4.2-B16.
It adds three features which have to be enabled explicitly
by setting one or more of the following preprocessor defines:

  THROUGHPUT .............. Restrict network transfer throughput
                            (This is needed for an archive I set up)
  TRANSFER_COUNT .......... Count total amount of transfer bytes
                            (I just found it interesting)
  NO_SUCKING_NEWLINES ..... Disable some sucking newlines in outputs
                            (The extra blank lines for message and
                             banner annoyed me a bit...)

Feel free to do with it what you want...

Greetings,
                                      Ralf S. Engelschall
                                      [email protected]
                                      www.engelschall.com

diff -r -C3 wu-ftpd-2.4.2-beta-16.orig/doc/ftpaccess.5 wu-ftpd-2.4.2-beta-16/doc/ftpaccess.5
*** wu-ftpd-2.4.2-beta-16.orig/doc/ftpaccess.5  Mon Dec 22 00:03:32 1997
--- wu-ftpd-2.4.2-beta-16/doc/ftpaccess.5   Sat Jan 31 17:45:27 1998
***************
*** 389,394 ****
--- 389,427 ----
 The upload keyword only applies to users who
 have a home directory (the argument to the chroot() )
 of <root-dir>.
+
+ .TP 0.5i
+ .B throughput <root-dir> <subdir-glob> <file-glob-list> <bytes-per-second> <bytes-per-second-multiply> <remote-glob-list>
+
+ Define files via comma-seperated <file-glob-list> in subdir matched by
+ <subdir-glob> under <root-dir> that have restricted transfer throughput of
+ <bytes-per-second> on download when the remote hostname or remote IP address
+ matches the comma-seperated <remote-glob-list>.
+
+ Entries are matched on a best-match basis.
+
+ For example:
+  throughput /e/ftp *    *      oo   -   *
+  throughput /e/ftp /sw* *      1024 0.5 *
+  throughput /e/ftp /sw* README oo   -   *
+  throughput /e/ftp /sw* *      oo   -   *.foo.com
+
+ This would set maximum throughput per default, but restrict download to 1024
+ bytes/s for any files under /e/ftp/sw/ which are not named README. The only
+ exceptions are remote hosts from within the domain foo.com which always get
+ maximum throughput. Every time a remote client has retrieved a file under
+ /e/ftp/sw/ the bytes per seconds of the matched entry line are internally
+ multiplied by a factor, here 0.5. So when the remote client retrieves its
+ second file it is served with 512 bytes/s, the third time with only 254
+ bytes/s, the fourth time with only 128 bytes/s and so on.
+
+ The string "oo" for the bytes per second field means no throughput
+ restriction. A multiply factor of 1.0 or "-" means no change of the throughput
+ after every successful transfer.
+
+ Note that the <root-dir> here must match the home directory specified in the
+ password database for the "ftp" user.  The throughput keyword only applies to
+ users who have a home directory (the argument to the chroot() ) of <root-dir>.
 .SH Files
 FTPLIB/ftpaccess
 .SH See Also
diff -r -C3 wu-ftpd-2.4.2-beta-16.orig/src/extensions.c wu-ftpd-2.4.2-beta-16/src/extensions.c
*** wu-ftpd-2.4.2-beta-16.orig/src/extensions.c Mon Dec 22 00:24:56 1997
--- wu-ftpd-2.4.2-beta-16/src/extensions.c  Sat Jan 31 17:45:27 1998
***************
*** 96,101 ****
--- 96,104 ----
 #endif
  *globerr,
   remotehost[],
+ #ifdef THROUGHPUT
+   remoteaddr[],
+ #endif
   hostname[],
   authuser[],
  *autospout,
***************
*** 384,390 ****
--- 387,395 ----
          lreply(msgcode, "%s", outbuf);
        }
       fclose(infile);
+ #ifndef NO_SUCKING_NEWLINES
       lreply(msgcode, "");
+ #endif
     }
       }
     else {
***************
*** 400,406 ****
--- 405,413 ----
         lreply(msgcode, "%s", outbuf);
       }
       fclose(infile);
+ #ifndef NO_SUCKING_NEWLINES
       lreply(msgcode, "");
+ #endif
       }
    }
 #ifdef VIRTUAL
***************
*** 477,483 ****
--- 484,492 ----
                     lreply(msgcode, "%s", outbuf);
                 }
                 fclose(infile);
+ #ifndef NO_SUCKING_NEWLINES
                 lreply(msgcode, "");
+ #endif
             }
         }
     }
***************
*** 1185,1191 ****
--- 1194,1398 ----
    return 0;
 }

+ #ifdef THROUGHPUT

+ int
+ #ifdef __STDC__
+ file_compare(char *patterns, char *file)
+ #else
+ file_compare(patterns, file)
+     char *patterns;
+     char *file;
+ #endif
+ {
+     char buf[BUFSIZ];
+     char *cp;
+     char *cp2;
+     int i;
+     int matches = 0;
+
+     strcpy(buf, patterns);
+     i = strlen(buf);
+     buf[i++] = ',';
+     buf[i++] = '\0';
+
+     cp = buf;
+     while ((cp2 = strchr(cp, ',')) != NULL) {
+         *cp2++ = '\0';
+         if (fnmatch(cp, file, 0) == 0) {
+             matches = 1;
+             break;
+         }
+     }
+     return matches;
+ }

+ int
+ #ifdef __STDC__
+ remote_compare(char *patterns)
+ #else
+ remote_compare(patterns)
+     char *patterns;
+ #endif
+ {
+     char buf[BUFSIZ];
+     char *cp;
+     char *cp2;
+     int i;
+     int matches = 0;
+
+     strcpy(buf, patterns);
+     i = strlen(buf);
+     buf[i++] = ',';
+     buf[i++] = '\0';
+
+     cp = buf;
+     while ((cp2 = strchr(cp, ',')) != NULL) {
+         *cp2++ = '\0';
+         if (fnmatch(cp, remotehost, 0) == 0) {
+             matches = 1;
+             break;
+         }
+         else if (fnmatch(cp, remoteaddr, NULL) == 0) {
+             matches = 1;
+             break;
+         }
+     }
+     return matches;
+ }

+ void
+ #ifdef __STDC__
+ throughput_calc(char *name, int *bps, double *bpsmult)
+ #else
+ throughput_calc(name)
+     char *name;
+     int *bps;
+     double *bpsmult;
+ #endif
+ {
+     int match_value = -1;
+     char cwdir[BUFSIZ];
+     char path[BUFSIZ];
+     char file[BUFSIZ];
+     char x[BUFSIZ];
+     char *ap1 = NULL, *ap2 = NULL, *ap3 = NULL, *ap4 = NULL;
+     struct aclmember *entry = NULL;
+     extern struct passwd *pw;
+     char *sp;
+     int i;
+
+     /* default is maximum throughput */
+     *bps = -1;
+     *bpsmult = 1.0;
+
+     /* what's our current directory? */
+     strcpy(path, name);
+     if (sp = strrchr(path, '/'))
+         *sp = '\0';
+     else
+         strcpy(path, ".");
+     if (sp = strrchr(name, '/'))
+         strcpy(file, sp + 1);
+     else
+         strcpy(file, name);
+     if ((realpath(path, cwdir)) == NULL) {
+         perror_reply(553, "Could not determine cwdir");
+         return;
+     }
+
+     /* find best matching entry */
+     while (getaclentry("throughput", &entry) && ARG0 && ARG1 && ARG2 && ARG3 && ARG4 && ARG5 != NULL) {
+         if ((!strcmp(ARG0, pw->pw_dir)) &&
+             ((i = path_compare(ARG1, cwdir)) >= match_value)) {
+             if (file_compare(ARG2, file)) {
+                 if (remote_compare(ARG5)) {
+                     match_value = i;
+                     ap3 = ARG3;
+                     ap4 = ARG4;
+                 }
+             }
+         }
+     }
+
+     /* if we did get matches */
+     if (match_value >= 0) {
+         if (strcmp(ap3, "oo") == 0)
+             *bps = -1;
+         else
+             *bps = atoi(ap3);
+         if (strcmp(ap4, "-") == 0)
+             *bpsmult = 1.0;
+         else
+             *bpsmult = atof(ap4);
+     }
+     return;
+ }
+
+ void
+ #ifdef __STDC__
+ throughput_adjust(char *name)
+ #else
+ throughput_adjust(name)
+     char *name;
+     int *bps;
+     double *bpsmult;
+ #endif
+ {
+     int match_value = -1;
+     char cwdir[BUFSIZ];
+     char path[BUFSIZ];
+     char file[BUFSIZ];
+     char buf[BUFSIZ];
+     char *ap1 = NULL, *ap2 = NULL, *ap3 = NULL, *ap4 = NULL, *ap5 = NULL;
+     char **pap3;
+     struct aclmember *entry = NULL;
+     extern struct passwd *pw;
+     char *sp;
+     int i;
+
+     /* what's our current directory? */
+     strcpy(path, name);
+     if (sp = strrchr(path, '/'))
+         *sp = '\0';
+     else
+         strcpy(path, ".");
+     if (sp = strrchr(name, '/'))
+         strcpy(file, sp + 1);
+     else
+         strcpy(file, name);
+     if ((realpath(path, cwdir)) == NULL) {
+         perror_reply(553, "Could not determine cwdir");
+         return;
+     }
+
+     /* find best matching entry */
+     while (getaclentry("throughput", &entry) && ARG0 && ARG1 && ARG2 && ARG3 && ARG4 && ARG5 != NULL) {
+         if ((!strcmp(ARG0, pw->pw_dir)) &&
+             ((i = path_compare(ARG1, cwdir)) >= match_value)) {
+             if (file_compare(ARG2, file)) {
+                 if (remote_compare(ARG5)) {
+                     match_value = i;
+                     ap3 = ARG3;
+                     pap3 = &ARG3;
+                     ap4 = ARG4;
+                 }
+             }
+         }
+     }
+
+     /* if we did get matches */
+     if (match_value >= 0) {
+         if (strcmp(ap3, "oo") != 0) {
+             if (strcmp(ap4, "-") != 0) {
+                 sprintf(buf, "%.0f", atoi(ap3) * atof(ap4));
+                 *pap3 = (char *) malloc(strlen(buf) + 1);
+                 strcpy(*pap3, buf);
+             }
+         }
+     }
+     return;
+ }
+
+ #endif

diff -r -C3 wu-ftpd-2.4.2-beta-16.orig/src/ftpcmd.y wu-ftpd-2.4.2-beta-16/src/ftpcmd.y
*** wu-ftpd-2.4.2-beta-16.orig/src/ftpcmd.y Mon Dec 22 00:25:05 1997
--- wu-ftpd-2.4.2-beta-16/src/ftpcmd.y  Sat Jan 31 17:45:27 1998
***************
*** 102,107 ****
--- 102,112 ----
 extern  char    *modenames[];
 extern  char    *formnames[];

+ #ifdef TRANSFER_COUNT
+ extern  int data_count_total;
+ extern  int byte_count_total;
+ #endif
+
 static    unsigned short cliport = 0;
 static    struct in_addr cliaddr;
 static  int cmd_type;
***************
*** 699,704 ****
--- 704,713 ----
     |   QUIT CRLF
         = {
             if (log_commands) syslog(LOG_INFO, "QUIT");
+ #ifdef TRANSFER_COUNT
+             lreply(221, "You have transferred %d bytes (total traffic: %d bytes).", data_count_total, byte_count_total);
+             lreply(221, "Thank you for using the FTP service on %s.", hostname);
+ #endif /* TRANSFER_COUNT */
             reply(221, "Goodbye.");
             dologout(0);
         }
diff -r -C3 wu-ftpd-2.4.2-beta-16.orig/src/ftpd.c wu-ftpd-2.4.2-beta-16/src/ftpd.c
*** wu-ftpd-2.4.2-beta-16.orig/src/ftpd.c   Mon Dec 22 00:25:06 1997
--- wu-ftpd-2.4.2-beta-16/src/ftpd.c    Sat Jan 31 17:45:27 1998
***************
*** 258,263 ****
--- 258,268 ----
 off_t file_size;
 off_t byte_count;

+ #ifdef TRAFFIC_COUNT
+ int data_count_total = 0; /* total number of data bytes */
+ int byte_count_total = 0; /* total number of general traffic */
+ #endif
+
 #if !defined(CMASK) || CMASK == 0
 #undef CMASK
 #define CMASK 022
***************
*** 362,368 ****
--- 367,377 ----

 #ifdef __STDC__
 void end_login(void);
+ #ifdef THROUGHPUT
+ void send_data(char *name, FILE *, FILE *, off_t);
+ #else
 void send_data(FILE *, FILE *, off_t);
+ #endif
 void dolog(struct sockaddr_in *);
 void dologout(int);
 void perror_reply(int, char *);
***************
*** 374,379 ****
--- 383,397 ----
 void perror_reply();
 #endif

+ #ifdef THROUGHPUT
+ #ifdef __STDC__
+ extern void throughput_calc(char *, int *, double *);
+ extern void throughput_adjust(char *);
+ #else
+ extern void throughput_calc();
+ extern void throughput_adjust();
+ #endif
+ #endif

 void
 #ifdef __STDC__
***************
*** 1911,1920 ****
--- 1929,1946 ----
     if (dout == NULL)
         goto done;
 #ifdef HAVE_ST_BLKSIZE
+ #ifdef THROUGHPUT
+     send_data(name, fin, dout, st.st_blksize*2);
+ #else
     send_data(fin, dout, st.st_blksize*2);
+ #endif
+ #else
+ #ifdef THROUGHPUT
+     send_data(name, fin, dout, BUFSIZ);
 #else
     send_data(fin, dout, BUFSIZ);
 #endif
+ #endif
     (void) fclose(dout);

   dolog:
***************
*** 2331,2336 ****
--- 2357,2366 ----
 #ifdef IPTOS_LOWDELAY
     int tos;
 #endif
+ #ifdef THROUGHPUT
+     int bps;
+     double bpsmult;
+ #endif

     file_size = size;
     byte_count = 0;
***************
*** 2391,2396 ****
--- 2421,2436 ----
                           sizeof(int));

 #endif
+
+ #ifdef THROUGHPUT
+         throughput_calc(name, &bps, &bpsmult);
+         if (bps != -1) {
+             lreply(150, "Opening %s mode data connection for %s%s.",
+                    type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
+             reply(150, "Restricting network throughput to %d bytes/s.", bps);
+         }
+         else
+ #endif
         reply(150, "Opening %s mode data connection for %s%s.",
               type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
         return (fdopen(pdata, mode));
***************
*** 2428,2433 ****
--- 2468,2482 ----
         data = -1;
         return (NULL);
     }
+ #ifdef THROUGHPUT
+     throughput_calc(name, &bps, &bpsmult);
+     if (bps != -1) {
+         lreply(150, "Opening %s mode data connection for %s%s.",
+                type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
+         reply(150, "Restricting network throughput to %d bytes/s.", bps);
+     }
+     else
+ #endif
     reply(150, "Opening %s mode data connection for %s%s.",
           type == TYPE_A ? "ASCII" : "BINARY", name, sizebuf);
     return (file);
***************
*** 2440,2448 ****
--- 2489,2506 ----

 void
 #ifdef __STDC__
+ #ifdef THROUGHPUT
+ send_data(char *name, FILE *instr, FILE *outstr, off_t blksize)
+ #else
 send_data(FILE *instr, FILE *outstr, off_t blksize)
+ #endif
+ #else
+ #ifdef THROUGHPUT
+ send_data(name,instr,outstr,blksize)
+ char *name;
 #else
 send_data(instr,outstr,blksize)
+ #endif
 FILE *instr;
 FILE *outstr;
 off_t blksize;
***************
*** 2453,2458 ****
--- 2511,2525 ----
     static char *buf;
     int netfd,
       filefd;
+ #ifdef THROUGHPUT
+     int bps;
+     double bpsmult;
+     time_t t1, t2;
+ #endif
+
+ #ifdef THROUGHPUT
+     throughput_calc(name, &bps, &bpsmult);
+ #endif

     buf = NULL;
     if (setjmp(urgcatch)) {
***************
*** 2475,2480 ****
--- 2542,2550 ----
                 (void) putc('\r', outstr);
             }
             (void) putc(c, outstr);
+ #ifdef TRAFFIC_COUNT
+             byte_count_total++;
+ #endif
         }
   alarm(0);
         fflush(outstr);
***************
*** 2488,2493 ****
--- 2558,2567 ----

     case TYPE_I:
     case TYPE_L:
+ #ifdef THROUGHPUT
+         if (bps != -1)
+             blksize = bps;
+ #endif
         if ((buf = (char *) malloc((u_int) blksize)) == NULL) {
             transflag = 0;
             perror_reply(451, "Local resource failure: malloc");
***************
*** 2496,2507 ****
--- 2570,2601 ----
         netfd = fileno(outstr);
         filefd = fileno(instr);
   alarm((unsigned)timeout);
+ #ifdef THROUGHPUT
+         if (bps != -1)
+             t1 = time(NULL);
+ #endif
         while ((cnt = read(filefd, buf, (u_int) blksize)) > 0 &&
                write(netfd, buf, cnt) == cnt){
     alarm((unsigned)timeout);
     byte_count += cnt;
+ #ifdef TRAFFIC_COUNT
+           data_count_total += cnt;
+           byte_count_total += cnt;
+ #endif
+ #ifdef THROUGHPUT
+           if (bps != -1) {
+               t2 = time(NULL);
+               if (t2 == t1)
+                   sleep(1);
+               t1 = time(NULL);
+           }
+ #endif
   }
   alarm(0);
+ #ifdef THROUGHPUT
+         if (bps != -1)
+             throughput_adjust(name);
+ #endif
         transflag = 0;
         (void) free(buf);
         if (cnt != 0) {
***************
*** 2572,2577 ****
--- 2666,2675 ----
         while ((cnt = read(netfd, buf, BUFSIZ)) > 0 &&
                write(filefd, buf, cnt) == cnt){
             byte_count += cnt;
+ #ifdef TRAFFIC_COUNT
+             data_count_total += cnt;
+             byte_count_total += cnt;
+ #endif
       alarm((unsigned)timeout);
   }
   alarm(0);
***************
*** 2607,2612 ****
--- 2705,2713 ----
                 }
             }
             (void) putc(c, outstr);
+ #ifdef TRAFFIC_COUNT
+             data_count_total++;
+ #endif
           contin2:;
         }
   alarm(0);
***************
*** 2822,2827 ****
--- 2923,2931 ----
    */

   printf("%s\r\n", buf); /* and send it to the client */
+ #ifdef TRAFFIC_COUNT
+   byte_count_total += strlen(buf);
+ #endif
   fflush(stdout);
 }

***************
*** 3559,3564 ****
--- 3663,3671 ----
             fprintf(dout, "%s%s\n", dirname,
                     type == TYPE_A ? "\r" : "");
             byte_count += strlen(dirname) + 1;
+ #ifdef TRAFFIC_COUNT
+             data_count_total += strlen(dirname) + 1;
+ #endif
             continue;
         } else if ((st.st_mode & S_IFMT) != S_IFDIR)
             continue;
***************
*** 3606,3611 ****
--- 3713,3721 ----
                     fprintf(dout, "%s%s\n", nbuf,
                             type == TYPE_A ? "\r" : "");
                 byte_count += strlen(nbuf) + 1;
+ #ifdef TRAFFIC_COUNT
+                 data_count_total += strlen(nbuf) + 1;
+ #endif
             }
         }
         (void) closedir(dirp);