Security Incidents


oftpd is designed to be as secure as an anonymous FTP server can possibly be. It runs as non-root for most of the time, and uses the Unix chroot() command to hide most of the systems directories from external users - they cannot change into them even if the server is totally compromised! It contains its own directory change code, so that it can run efficiently as a threaded server, and its own directory listing code (most FTP servers execute the system "ls" command to list files).


I wrote oftpd to fill a need we had at my company. Our public FTP site was a mess, and in addition to reorganizing the hierarchy and file layout I wanted to get the latest version of our FTP server software. It turns out that the version we had had had a number of security issues. So I decided to find an anonymous-only, secure FTP server. None of the ones I found were fully baked. Time to write my own.

The name oftpd was chosen scientifically - I started with "aftpd", but another server already had that name. Likewise with "bftpd", "cftpd", and so on... "oftpd" was the first single-character ftpd name available.

I have since been informed that oftp stands for ODETTE File Transfer Protocol. I should have searched for "oftp" as well as "oftpd". No matter, the folks at don't mind the name similarity.


oftpd is designed to be secure. Please report any concerns you have about this! It is also designed to be easy to install, configure, and run, because I think we've all see too many exploits caused by misconfigured servers. The code is intended to be easy to read and thereby audit.


0.3.7 is the latest of the "development" series, but I've been using the 0.3.6 version for a few years without any problems, so I recommend it. It is a security fix for a DoS bug found in 0.3.6. Details are in the ChangeLog

Please read the FAQ if you have questions.


You can also download earlier versions, but there's not really any reason to do so:



You can download Mauro Tortonesi's IPv6 patch from here:
You can see his other IPv6 patches on this page.

Use this against the 0.2.0 release. It is more likely to work than the current 0.3.x code if you need IPv6 support!


Christian Dietrich has taken the oftpd source and made a nice program for easy file sharing. He has set up a project page here:

Shane Kerr <>
Last modified 2007-08-10