Book Review: Relayd and Httpd Mastery
The httpd server is a web server with FastCGI and TLS support. The relayd is a free and open source load-balancer and web-proxy server. One can use httpd and relayd to run a static website, blog, a PHP base application and so on using OpenBSD, FreeBSD, TrueOS, and HardenedBSD operating system. The book “Relayd and Httpd Mastery” talks about web server, distribute traffic between backends, running dynamic web sites, php based web apps, securing and optimizing web server, LibreSSL based modern cryptography library, TLS/SSL support and load-balancing your web traffic across multiple servers.
The relayd project provides a FREE implementation of a secure web engine that consists of relayd and httpd. relayd first appeared in OpenBSD 4.1 to provide a service that helps Server Load Balancing (SLB) with OpenBSD’s Packet Filter (pf). It was written by Pierre-Yves Ritschard and Reyk Floeter. The HTTP server, httpd, first appeared in OpenBSD 5.6 and was based on the code of relayd. The development is an an ongoing effort by Reyk Floeter, Sebastian Benoit, Florian Obser and various contributing OpenBSD hackers. The software is used by some large sites and has also been ported to other operating systems.
Chapter nine to sixteen talks about building advanced setups for enterprise or startup companies such as setting up a reverse proxy server, application level proxies, TLS accelerator & offloaded TLS session and more using relayd. I did not even know many of config option possible on OpenBSD. One such example is an outbound proxy server. A chapter or additional note about distributed file system and clustering MariaDB database would have been a nice addition.
Overall an excellent book which is typical Michael W Lucas writing style. Easy to follow, clear cut instructions, and tons of new stuff to learn. If one must use OpenBSD or FreeBSD, then the chances are high that one will stick with the defaults that come with OpenBSD. No need to use fat Apache, or Nginx/Lighttpd web server especially when httpd and relayd audited for security by OpenBSD core team.
- Title: Relayd and Httpd Mastery
- Author: Michael W. Lucas.
- Publisher: Tilted Windmill Press.
- Length: 233 pages.
- Target: Professional system administrators or hobbyist is interested in setting up the website or running a farm of web servers securely using OpenBSD or FreeBSD and friends.
- Rating: 4.5/5
- Purchase online at Amazon (Kindle Edition).
- Disclaimer: Tilted Windmill Press sent us a review copy.