db-httpd
The db-enabled shell HTTP server
About
db-httpd is a little inetd daemon coded as example for an article about inetd daemon programming.
It's able to serve contents from disk and from ndbm databases. The server itself it's a little sh script easy to understand (I hope) and modify.
It uses a service program coded in C to handle ndbm databases. A tool to create databases is also provided.
This daemon is not secure for a production environment due it's vulnerable to DoS attacks. Be careful if you use it ;-)
Required to build
- Any library that provides ndbm support
- date, echo, test, printf, sed and tr
- ksh compatible shell
Download
Version 1.0r2 - December 4th, 2003