BSD Ports

www/bozohttpd 20210227 MidnightBSD

Bozotic HTTP server from NetBSD

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
d514d19482
License
bsd2
Categories
www

Description

Bozohttpd is a small and secure HTTP version 1.1 server. Its main feature is the lack of features, reducing the code size and improving verifiability. This is also the minimal web server that is shipped by default in NetBSD.

It supports SSL, CGI/1.1, HTTP/1.1, HTTP/1.0, HTTP/0.9, ~user translations, virtual hosting support, as well as multiple IP-based servers on a single machine. It is capable of serving pages via the IPv6 protocol. It has no configuration file by design. Many features are enabled with CLI options.

For extra security, unused features can be excluded when you build the port:

o Support for blacklistd(8) to avoid DoS abuse
o Common Gateway Interface (CGI) support (-C, -c, -E, -e)
o Optional daemon mode (-b)
o Debug support (-d)
o Automatic directory index if index.html is missing (-X)
o Dynamic content based on file suffixes (-C, -M)
o Basic authentication with .htpasswd files
o SSL/TLS for HTTPS requests (-Z, -z)
o Lua scripts for dynamic content (-L)
o Optional /~user transformation (-e, -p, -u)

In the other systems

The newest version among them is 20260503, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDwww/bozohttpd20210227no data-[email protected]2026-07-17
FreeBSDwww/bozohttpd20240126_1none known-[email protected]2026-08-17
OpenBSDwww/bozohttpd20260503 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDwww/bozohttpd20260503 newestnone known-[email protected]-
HardenedBSDwww/bozohttpd20240126_1no data-[email protected]-
GhostBSDwww/bozohttpd20240126_1no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install bozohttpd

From mports:

cd /usr/mports/www/bozohttpd && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bozohttpd>0:www/bozohttpd

Dependencies

No port depends on this one.

Configuration

Options name: www_bozohttpd

OptionDefaultDescription
BLACKLISTonReport Unauthorized and Forbidden accesses to blacklistd
CGIonCommon Gateway Interface (CGI) support (-C, -c, -E, -e)
DAEMONonOptional daemon mode (-b)
DEBUGonDebug support (-d)
DIRINDEXonAutomatic directory index if index.html is missing (-X)
DYNAMIConDynamic content based on file suffixes (-C, -M)
HTPASSWDonBasic authentication with .htpasswd files
LUAonLua scripts for dynamic content (-L)
SSLonSSL/TLS for HTTPS requests (-Z, -z)
USERonOptional /~user transformation (-e, -p, -u)
USES
cpe uidfix tar:bzip2
Service scripts
bozohttpd

Files

distinfo 1
FileSizeSHA256
bozohttpd-20210227.tar.bz26373223f6708be9e4f1b151718320228bf6765586965db48e2b0e5a943c4020e8adff
Master sites 2
  • http://www.eterna.com.au/bozohttpd/
  • NETBSD

Commit history 1

DateCommitCreditsLog message
d514d19482 Lucas Holt www/bozohttpd: handle OpenSSL deprecation warning
Allow the legacy OpenSSL error helper to compile with WARNS=4 on OpenSSL 3. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>