• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

dist/H25-Mar-2004-149109

init/H25-Mar-2004-6840

man/H25-Mar-2004-336271

src/H03-May-2022-5,6784,208

AUTHORSH A D27-May-2001477 1610

BUGSH A D26-Jan-20021.4 KiB2922

COPYINGH A D26-Feb-20011.3 KiB2721

ChangeLogH A D25-Mar-200411 KiB255211

FAQH A D03-Apr-20011.3 KiB3621

INSTALLH A D09-Mar-20007.6 KiB183143

Makefile.amH A D18-May-2001145 42

Makefile.inH A D25-Mar-200410.6 KiB350275

NEWSH A D25-Mar-2004373 1710

READMEH A D25-Mar-20042.1 KiB6443

TODOH A D03-Apr-20011.6 KiB7841

acconfig.hH A D27-May-2001285 134

aclocal.m4H A D04-Feb-20024.3 KiB128113

configureH A D03-May-2022195.6 KiB7,0025,952

configure.inH A D12-Jun-20012.5 KiB10488

install-shH A D10-Mar-20005.5 KiB252153

missingH A D10-Mar-20006.1 KiB191154

mkinstalldirsH A D10-Mar-2000723 4123

README

1$Id: README,v 1.8 2004/03/25 20:52:09 shane Exp $
2
3
4Installation
5
6See the INSTALL file for directions on compiling and installing the
7binary.  Short version (as root):
8
9  # ./configure
10  # make
11  # make install
12
13This will install the oftpd daemon itself.  To run the server via the
14standard Unix startup mechanism, you'll need to add it to your startup
15files.  In most Linux systems, this means putting a shell script in the
16/etc/rc.d/init.d directory and linking to it from the directories for
17your various run levels.  If you have a Red Hat 7.0 (or similiar)
18system, you can use the oftpd.redhat7 script for this purpose:
19
20  # cp init/oftpd.redhat7 /etc/rc.d/init.d/oftpd
21  # chkconfig --add oftpd
22
23Be sure to read the FAQ if you have any questions!
24
25
26Introduction
27
28oftpd is designed to be as secure as an anonymous FTP server can
29possibly be.  It runs as non-root for most of the time, and uses the
30Unix chroot() command to hide most of the systems directories from
31external users - they cannot change into them even if the server is
32totally compromised!  It contains its own directory change code, so that
33it can run efficiently as a threaded server, and its own directory
34listing code (many FTP servers execute the system "ls" command to list
35files).  It is currently being code-reviewed for buffer overflows, and
36being load-tested.
37
38
39History
40
41I wrote oftpd to fill a need we had at my company.  Our public FTP site
42was a mess, and in addition to reorganizing organizing the hierarchy and
43file layout I wanted to get the latest version of our FTP server
44software.  It turns out that the version we had had had a number of
45security issues.  So I decided to find an anonymous-only, secure FTP
46server.  None of the ones I found were fully baked.  Time to write my
47own.  :)
48
49
50Portability
51
52oftpd currently runs on modern Linux systems, including Red Hat-derived
53(Mandrake, Trustix, etc.) and Debian systems.  oftpd has been ported to
54FreeBSD and is in the FreeBSD ports collection.
55
56
57While I have given up development of oftpd, it's small and reliable.  Don't
58hesitate to e-mail if you have questions or suggestions.
59Good luck!
60
61
62Shane Kerr
63shane@time-travellers.org
64