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