
kwakd
The code moved to github.
Kwakd is a very small foot print web server written in C (under 400 lines of code) 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 "
<html>
</html>
". 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.
News
10/28/12 version 0.3
- added kwakd.service systemd service file
07/09/08 version 0.2
- added init script which will use port 80, modify if needed
12/31/07 initial release 0.1
Installation
./configure
make
make install
Usage
kwakd options
where options are
-b, --background background mode (disables console output, and allows multiple requests to be served simultaneously)
-H, --headers print out all client request headers
-l, --log log all requests to standard output
-p, --port port to listen for requests on, defaults to 8000
-v, --verbose verbose output
-q, --quiet suppress any output
-V, --version print version and exit
-h, --help display this message and exit
Feedback
Please send any feedback to fetchinson@gmail.com
Credit
Kwak daemon is a stripped down version of Luke Reeves' cheetah web server.