Books & Videos

Table of Contents

  1. Chapter 1 Getting Additional Help

    1. OpenBSD’s Support Model

    2. The Code Is Fine. What’s Wrong with You?

    3. Sources of Information

    4. Using OpenBSD Problem-Solving Resources

  2. Chapter 2 Installation Preparations

    1. OpenBSD Hardware

    2. Getting OpenBSD

    3. File Sets

    4. Partitioning

    5. Partition Filesystems

    6. Multiple Hard Drives

    7. Understanding Partitions

    8. Understanding Disklabels

    9. Other Information

  3. Chapter 3 Installation Walk-Through

    1. Hardware Setup

    2. BIOS Configuration

    3. Making Boot Media

    4. Installing OpenBSD

    5. Custom Disk Layout

    6. Advanced Disklabel Commands

  4. Chapter 4 Post-Install Setup

    1. First Steps

    2. Software Configuration

    3. Time and Date

    4. Hostname

    5. Networking

    6. Mail Aliases and Status Mail

    7. Keyboard Mapping

    8. Installing Ports and Source Code

    9. Booting to a Graphic Console

    10. Onward!

  5. Chapter 5 The Boot Process

    1. Power-On and the Boot Loader

    2. Booting in Single-User Mode

    3. Booting an Alternate Kernel

    4. Making Boot Loader Settings Permanent

    5. Serial Consoles

    6. Multiuser Startup

  6. Chapter 6 User Management

    1. The Root Account

    2. Adding Users

    3. Removing User Accounts

    4. Editing User Accounts

    5. Login Classes

    6. Unprivileged User Accounts

  7. Chapter 7 Root, and How to Avoid It

    1. The Root Password

    2. Using Groups

    3. Hiding Root with sudo

    4. Using sudo

    5. sudoedit

    6. The Biggest sudo Mistake: Exclusions

    7. sudo Logs

  8. Chapter 8 Disks and Filesystems

    1. Device Nodes

    2. DUIDs and /etc/fstab

    3. MBR Partitions and fdisk(8)

    4. Labeling Disks

    5. The Fast File System

    6. What’s Currently Mounted?

    7. Mounting and Unmounting Partitions

    8. How Full Is That Partition?

    9. Adding New Hard Disks

  9. Chapter 9 More Filesystems

    1. Backing Up to the /altroot Partition

    2. Memory Filesystems

    3. Foreign Filesystems

    4. Removable Media

    5. Mounting Filesystem Images

    6. Basic NFS Setup

    7. The OpenBSD NFS Server

    8. NFS Clients

    9. Software RAID

    10. Encrypted Disk Partitions

  10. Chapter 10 Securing Your System

    1. Who Is the Enemy?

    2. OpenBSD Security Announcements

    3. OpenBSD Memory Protection

    4. File Flags

    5. Securelevels

    6. Keeping Secure

  11. Chapter 11 Overview of TCP/IP

    1. Network Layers

    2. The Life and Times of a Network Request

    3. Network Stacks

    4. IPv4 Addresses and Subnets

    5. IPv6 Addresses and Subnets

    6. Remedial TCP/IP

    7. IP Routing

  12. Chapter 12 Connecting to the Network

    1. DNS Resolution

    2. Ethernet

    3. Configuring Ethernet

    4. Trunking

    5. VLANs

    6. IPv6 Over Tunnels

  13. Chapter 13 Software Management

    1. Making Software

    2. Source Code and Software

    3. The Ports and Packages System

    4. Using Packages

    5. Using Ports

    6. Building Ports

    7. Customizing Ports

    8. Subpackages

    9. Packages and rc.d Scripts

  14. Chapter 14 Everything /etc

    1. /etc Across Unix Variants

    2. The /etc Files

  15. Chapter 15 System Maintenance

    1. Scheduled Tasks

    2. System Logs

    3. Log File Maintenance

    4. System Time

    5. Hardware Sensors

  16. Chapter 16 Network Servers

    1. The inetd Small-Server Handler

    2. The lpd Printing Daemon

    3. The DHCP Server dhcpd

    4. The TFTP Daemon tftpd

    5. The SNMP Agent snmpd

    6. The SSH Server sshd

  17. Chapter 17 Desktop OpenBSD

    1. Configuring Your Console with wscons

    2. Running Virtual Terminals with tmux

    3. Setting Up X

    4. Using the cwm Window Manager

  18. Chapter 18 Kernel Configuration

    1. What Is the Kernel?

    2. Viewing and Adjusting Sysctls

    3. Altering the Kernel with config(8)

    4. Boot-Time Kernel Configuration

  19. Chapter 19 Building Custom Kernels

    1. Kernel Cautions

    2. Preparing for Kernel Customization

    3. Kernel Configuration

    4. Building a Kernel

    5. Installing Your Kernel

    6. Identifying the Running Kernel

  20. Chapter 20 Upgrading

    1. Why Upgrade?

    2. OpenBSD Versions

    3. The OpenBSD Upgrade Process

    4. Upgrading from Official Media

    5. Updating /etc

    6. Updating Installed Packages

    7. Why Build Your Own OpenBSD?

    8. Preparations for Building Your Own OpenBSD

    9. Building OpenBSD-stable

    10. Building OpenBSD-current

    11. Upgrading Ports

  21. Chapter 21 Packet Filtering

    1. Firewalls

    2. Enabling and Configuring PF

    3. Packet-Filtering Basics

    4. PF Components

    5. Filtering Rules

    6. Filtering Rules and the State Table

    7. Packet Filtering with Lists and Macros

    8. Sanitizing Traffic

    9. PF Options

  22. Chapter 22 Advanced PF

    1. Packet Filtering with Tables

    2. Using NAT

    3. Anchors

    4. FTP and PF

    5. Bandwidth Management

    6. PF Edges

    7. Logging PF

  23. Chapter 23 Customizing OpenBSD

    1. Virtualizing OpenBSD

    2. Diskless Installation

    3. Running Diskless

    4. USB Installation Media

    5. Customizing OpenBSD Installations

    6. Customizing Upgrades

  1. Appendix Afterword