kwakd icon indicating copy to clipboard operation
kwakd copied to clipboard

A super small webserver that serves blank pages

Kwakd is a very small foot print web server written in C that serves blank html pages for any request. The request can be arbitrary, may even be invalid, but only its first line will be read and the response will be the same: a blank page consisting of " ". It is quite easy to change the response to whatever you like though. Kwakd can be handy if you want to intercept traffic from your client (web browser for example) to annoying sites and direct all such traffic to your local machine.

The script kwakd.init can be used to automatically start kwakd on boot. Copy it to the appropriate location for your distribution, typically /etc/init.d

If your system uses systemd instead of the older init.d for starting services you may use the example service file kwakd.service

Daniel Fetchinson [email protected]

The code is heavily based on Luke Reeves' cheetah web server

Luke Reeves [email protected]