[comp.protocols.tcp-ip] free ftpd with statistics gathering.

seindal@skinfaxe.diku.dk (Rene' Seindal) (02/14/90)

I have pieced together a version of Berkeleys ftpd, with all
non-redistributable code rewritten.  It is based on a version found on
uunet.uu.net.

I have added a message of the day for anonymous ftp, and some statistics
gathering of anonymous file transfers.  These things were mostly made for
local convenience, but if they can be of use for others, great.

You'll find it in /pub/misc/ftpd.tar.Z, on ftp.diku.dk (129.142.96.1).

Rene' Seindal (seindal@diku.dk)


Here's the README file I made back then.

--- README.DIKU -------------------------------------------------------------
This is a modified version of the version of ftpd found on uunet.uu.net as of
20 Jan 1990.

The modifications are as follows.

The STAT command without arguments have been disabled, because the code caused
some unresolved externals.  As it is not normally used, it shouldn't be a
problem.  If the code does compile at your site, remove the definition of
NO_STATCMD from the Makefile.

A motd for anonymous ftp has been added.  To disable this, remove the
definition of MOTD from the Makefile.  If enabled, the motd lives in /etc/motd
after the server has chroot'ed.  If you place anonymous ftp in /, you will
have to change the name.

Logging of uses of anonymous ftp is added.  This is handy, to see which files
are used and which aren't.  To disable this, remove the definition of STATS
from the Makefile.  If enabled, the logfile lives in /usr/adm/ftp-log.

Finally, the globbing routines have been completely rewritten, which should
make the whole thing freely redistributable.

If yo have trouble with any of the things I have changed, please write to me.
My address is seindal@diku.dk.

Rene' Seindal -- Wed Jan 24 16:33:29 1990
------------------------------------------------------------------------

Here's an excerpt of our log file, as an example.

freja 10 $ tail -5 /usr/adm/ftp-log
Feb 14 07:00:49 1990!guest!UNSVAX.NEVADA.EDU!/pub/nn/nn-6.3.7.tar.Z!348361!102
Feb 14 07:13:41 1990!aa!thales.math.umass.edu!/pub/README!2278!1
Feb 14 07:18:23 1990!aa!thales.math.umass.edu!/pub/misc/hosts.dk!5692!4
Feb 14 07:18:32 1990!guest!UNSVAX.NEVADA.EDU!/pub/nn/nn-6.3.7.tar.Z!348361!380
Feb 14 07:20:45 1990!tot!otax.tky.hut.fi!/pub/GNU/gcc-diff/1.36-1.37.Z!165604!61

The fields are the date, the password, the host (or ipaddr), the file fetched,
its size, and the number of seconds the transfer took.  It is just about what
I could squeeze out of the program.

We mostly use the log file to see which files are unused, or less used,
because we are *always* low on space for all the things we'd like to have
available.  We can then remove the least used files first.

adnan@sgtech.UUCP (Adnan Yaqub) (02/16/90)

In article <1990Feb14.120354.15038@diku.dk> seindal@skinfaxe.diku.dk (Rene' Seindal) writes:

   I have pieced together a version of Berkeleys ftpd, with all
   non-redistributable code rewritten.  It is based on a version found on
   uunet.uu.net.

   You'll find it in /pub/misc/ftpd.tar.Z, on ftp.diku.dk (129.142.96.1).

Isn't this kind of like distributing the sources to compress in
compressed form? (:-)
--
Adnan Yaqub
Star Gate Technologies, 29300 Aurora Rd, Solon, OH, 44139, USA, +1 216 349 1860
[...cwjcc!ncoast ...uunet!abvax ...ism780c ...sco ...mstar]!sgtech!adnan

edwin@praxis.cs.ruu.nl (Edwin Kremer) (02/19/90)

In article <ADNAN.90Feb16085036@sgtech.UUCP> adnan@sgtech.UUCP
(Adnan Yaqub) writes:

    > In article <1990Feb14.120354.15038@diku.dk> Rene' Seindal writes:
    >   You'll find it in /pub/misc/ftpd.tar.Z, on ftp.diku.dk (129.142.96.1).

 | Isn't this kind of like distributing the sources to compress in
 | compressed form? (:-)

No, absolutely not. Rene' is talking about an ftp daemon and you *do not*
need an ftp daemon yourself to get his version: you need an ftp client
program.

						--[ Edwin ]--
--
Edwin Kremer (SysAdm), Dept. of Computer Science, Utrecht University
Padualaan 14,   P.O. Box 80.089,  3508 TB  Utrecht,  The Netherlands
Telephone: +31-30-534104  | UUCP: ...!uunet!mcsun!hp4nl!ruuinf!edwin
Telefax  : +31-30-513791  | Email: edwin@cs.ruu.nl    [131.211.80.5]

seindal@skinfaxe.diku.dk (Rene' Seindal) (02/21/90)

adnan@sgtech.UUCP (Adnan Yaqub) writes:

> In article <1990Feb14.120354.15038@diku.dk> seindal@skinfaxe.diku.dk (Rene' Seindal) writes:

>    I have pieced together a version of Berkeleys ftpd, with all
>    non-redistributable code rewritten.  It is based on a version found on
>    uunet.uu.net.

>    You'll find it in /pub/misc/ftpd.tar.Z, on ftp.diku.dk (129.142.96.1).

> Isn't this kind of like distributing the sources to compress in
> compressed form? (:-)

No, it is the server end that is being distributed,not the client.  You only
need an FTP client to get it.

Rene' Seindal (seindal@diku.dk)