all options
forky  ] [  sid  ]
[ Source: publicfile  ]

Package: publicfile (0.52-14)

Links for publicfile

Screenshot

Debian Resources:

Download Source Package publicfile:

Maintainer:

External Resources:

Similar packages:

http and ftp server by Daniel J Bernstein

publicfile supplies files to the public through HTTP and FTP.

Security features:

 - Before accepting any commands, publicfile chroot()s to the public file area
   and sheds root privileges.
 - doesn't let users log in. Intruders can't use publicfile to
   check your usernames and passwords.
 - refuses to supply files that are unreadable to owner, unreadable
   to group, or unreadable to world.
 - never attempts to modify the public file area. It refuses all
   HTTP and FTP modification commands.
 - never runs any other programs. It does not support HTTP CGI or
   FTP SITE EXEC.

HTTP features: publicfile supports:

 - virtual hosts through the Host field as well as through absolute URLs.
 - HTTP/1.1 persistent connections and chunked responses.
 - user-controlled content types.
 - exact-prefix If-Modified-Since.

FTP features: publicfile:

 - has built-in LIST and NLST commands. You don't have to bother
   setting up bin/ls, shared libraries, et al. inside the public file area.
 - provides EPLF LIST responses, including options "i", "s", and "m".
 - supports restarted transfers and pipelining.
 - uses local ports above 1024 for PORT connections.
 - prohibits remote ports below 1024 for PORT and prohibits PORT relaying.
 - includes automatic PASV IP protection.

Next to upstream code, this package contains three simple small shellscripts by the package maintainter: ad1810-autoindex - a tool to generate index.html from directory listings; get-publicfile-docs - a tool to download and install publicfile documentation; and update-publicfile-contenttype - helpful in making publicfile give suitable MIME types with files served.

Three patches are applied to the sources: errno.patch and implicit-int.patch (both fixing compilation) and filetype.patch (adding functionality for handling extra MIME types).

publicfile was written in 1999 and didn't change a lot after that. Modern features (e.g. SSL / https) are not supported. However, if you're looking for a small, simple and secure webserver, which integrates with the runit and daemontools UNIX service managers, publicfile will suit your needs.

Other Packages Related to publicfile

  • depends
  • recommends
  • suggests
  • enhances

Download publicfile

Download for all available architectures
Architecture Package Size Installed Size Files
alpha (unofficial port) 44.9 kB256.0 kB [list of files]
amd64 45.1 kB148.0 kB [list of files]
arm64 44.1 kB256.0 kB [list of files]
armhf 42.0 kB253.0 kB [list of files]
hppa (unofficial port) 45.0 kB134.0 kB [list of files]
i386 48.0 kB157.0 kB [list of files]
m68k (unofficial port) 39.7 kB125.0 kB [list of files]
ppc64 (unofficial port) 46.9 kB256.0 kB [list of files]
ppc64el 46.5 kB256.0 kB [list of files]
riscv64 45.5 kB136.0 kB [list of files]
s390x 44.9 kB148.0 kB [list of files]
sh4 (unofficial port) 42.3 kB253.0 kB [list of files]
sparc64 (unofficial port) 41.4 kB3,138.0 kB [list of files]
x32 (unofficial port) 44.1 kB141.0 kB [list of files]