net/publicfile - The NetBSD Packages Collection

Secure read-only HTTP and FTP servers

publicfile supplies files to the public through HTTP and FTP

Security features:
       publicfile chroot()s to the public file area and sheds root privileges.
       publicfile never attempts to modify the public file area.
       publicfile never runs any other programs.

HTTP features:
       publicfile supports virtual hosts through the Host field.
       publicfile supports virtual hosts through absolute URLs.
       publicfile supports HTTP/1.1 persistent connections.
       publicfile supports HTTP/1.1 chunked responses.
       publicfile supports user-controlled content types.
       publicfile supports exact-prefix If-Modified-Since.

FTP features:
       publicfile has built-in LIST and NLST commands.
       publicfile provides EPLF LIST responses.
       publicfile supports restarted transfers.
       publicfile supports pipelining.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

sysutils/daemontools net/ucspi-tcp6

Binary packages


Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.