Chapter 5. THE LADDIE ALARM SYSTEM: A SAMPLE APPLIANCE

Previous chapters covered how to build and secure a daemon and how to communicate with the daemon while it is running. We'll tie these topics together in this chapter by building Laddie, a Linux-based alarm system.[1]

[1] Laddie is a sample appliance used to illustrate the techniques and software presented in this book. Laddie is not a commercially viable alarm system and should never be used in place of a real alarm system.

Laddie uses the five status inputs on a standard PC parallel port as sensor inputs to the alarm system. The heart of the Laddie appliance is the ladd (pronounced lad-dee) daemon that polls the status lines and reports input transitions using syslog(). An alarm system is ...

Get Linux Appliance Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.