Table of Contents
Preface
Chapter 1: System Configuration—Disks
Chapter 2: System Configuration—Keeping it Updated
Chapter 3: System Configuration—Software Package Management
Chapter 4: System Configuration—System Management
Chapter 5: System Configuration—Jails
Chapter 6: System Configuration—Tuning Performance
Chapter 7: Network Configuration—Basics
Chapter 8: Network Configuration—Tunneling
Chapter 9: Network Configuration—PPP
Chapter 10: Network Configuration—Routing and Bridging
Chapter 11: Network Configuration—IPv6
Chapter 12: Network Configuration—Firewalls
Chapter 13: Network Services—Internet Servers
Chapter 14: Network Services—Local Network Services
- Chapter 1: System Configuration—Disks
- Partition Layout and Sizes
- Swap
- Adding More Swap Space
- Swap Encryption
- Softupdates
- Snapshots
- Quotas
- Assigning Quotas
- File System Backup
- Dump and Restore
- The tar, cpio, and pax Utilities
- Snapshots
- RAID-GEOM Framework
- RAID0—Striping
- RAID1—Mirroring
- Disk Concatenation
- Summary
- Chapter 2: System Configuration—Keeping it Updated
- CVSup—Synchronizing the Source Code
- Tracking –STABLE
- Tracking –CURRENT
- Ports Collection
- Tracking Ports
- Portsnap
- Security Advisories
- VuXML—Vulnerability Database
- CVS Branch Tag
- Customizing and Rebuilding Kernel
- Rebuilding World
- Binary Update
- Recovering from a Dead Kernel
- Summary
- CVSup—Synchronizing the Source Code
- Chapter 3: System Configuration—Software Package Management
- Ports and Packages
- The Legacy Method
- Software Directories
- Packages
- Ports
- Package Management Tools
- Portupgrade
- portinstall
- pkg_deinstall
- portversion
- pkg_which
- portsclean
- Portmaster
- Portupgrade
- Summary
- Ports and Packages
- Chapter 4: System Configuration—System Management
- Process Management and Control
- Processes and Daemons
- Getting Information about Running Processes—ps, top, and pgrep
- Sending Signals to Running Processes—kill, killall, and pkill
- Prioritizing Running Processes—nice and renice
- Resource Management and Control
- System Resource Monitoring Tools—vmstat, iostat, pstat, and systat
- Process Accounting
- Processes and Daemons
- Summary
- Process Management and Control
- Chapter 5: System Configuration—Jails
- Concept
- Introduction
- Setting Up a Jail
- Configuring the Host System
- Starting the Jail
- Automatic Startup
- Shutting Down Jails
- Managing Jails
- Jail Security
- Jail Limitations
- Summary
- Chapter 6: System Configuration—Tuning Performance
- Tweaking Kernel Variables using SYSCTL
- Kernel
- SMP
- Disk
- File limits
- I/O Performance
- RAID
- Network
- TCP Delayed ACK
- RFC 1323 Extensions
- TCP Listen Queue Size
- TCP Buffer Space
- Network Interface Polling
- The /etc/make.conf file
- CPUTYPE
- CFLAGS and COPTFLAGS
- The /boot/loader.conf file
- Summary
- Chapter 7: Network Configuration—Basics
- Ifconfig Utility
- Configuring IP Address
- Configuring Layer2 Address
- Configuring IPX
- Configuring AppleTalk
- Configuring Secondary (alias) IP Addresses
- Configuring Media Options
- Configuring VLANs
- Advanced ifconfig Options
- Hardware Offloading
- Promiscuous Mode
- MTU
- ARP
- Static ARP
- Monitor Mode
- Configuring Fast EtherChannel
- Default Routing
- Name Resolution
- Network Testing Tools
- Ping
- Traceroute
- Sockstat
- netstat
- ARP
- Tcpdump
- Summary
- Ifconfig Utility
- Chapter 8: Network Configuration—Tunneling
- Generic Routing Encapsulation (GRE) protocol
- IPSEC
- Operating Modes
- Tunnel Mode
- Operating Modes
- Summary
- Chapter 9: Network Configuration—PPP
- Setting up PPP Client
- Setting up PPP Server
- Setting up PPPoE Client
- Setting up PPPoE Server
- Summary
- Chapter 10: Network Configuration—Routing and Bridging
- Basic Routing—IP Forwarding
- Static Routing
- routed and route6d
- Running OSPF—OpenOSPFD
- Running BGP—OpenBGPD
- Bridging
- Filtering Bridges
- Proxy ARP
- Summary
- Chapter 11: Network Configuration—IPv6
- IPv6 Facts
- Fact One—Addressing
- Fact Two—Address Types
- Fact Three—ARP
- Fact Four—Interface Configuration
- Using IPv6
- Configuring Interfaces
- Routing IPv6
- RIP6
- Multicast Routing
- Tunneling
- GIF Tunneling
- Summary
- IPv6 Facts
- Chapter 12: Network Configuration—Firewalls
- Packet Filtering with IPFW
- Basic Configuration
- Ruleset Templates
- Customized Rulesets
- Logging
- Network Address Translation (NAT)
- Traffic Shaping
- Packet Filtering with PF
- PF Configuration Syntax
- Controlling PF
- Network Address Translation using PF and IPFW
- Summary
- Packet Filtering with IPFW
- Chapter 13: Network Services—Internet Servers
- inetd Daemon
- tcpd
- SSH
- Running a Command Remotely
- SSH Keys
- SSH Authentication Agent
- SSH Tunneling or Port Forwarding
- NTP
- Syncing
- NTP Server
- DNS
- BIND software
- Operating Modes
- Forwarding/Caching DNS Server
- Authoritative
- Monitoring
- Optimizations
- FTP
- Anonymous FTP Server
- Mail
- Sendmail
- Postfix
- Web
- Apache
- Virtual Hosts
- Alternative HTTP Servers
- Apache
- Proxy
- Summary
- inetd Daemon
- Chapter 14: Network Services—Local Network Services
- Dynamic Host Configuration Protocol (DHCP)
- dhclient
- ISC DHCPD
- DHCPD Configuration
- Trivial File Transfer Protocol (TFTP)
- Network File System (NFS)
- Server
- Client
- NFS Locking
- Server Message Block (SMB) or CIFS
- SMB Client
- SMB Server
- Authentication
- Samba Web Administration Tool (SWAT)
- Simple Network Management Protocol (SNMP)
- bsnmpd
- NET-SNMP
- Client Tools
- Printing
- lpd—Print Spooler Daemon
- Common UNIX Printing System (CUPS)
- Network Information System (NIS)
- NIS Server
- Initializing NIS Server
- NIS Server
- Summary
- Index
- Dynamic Host Configuration Protocol (DHCP)



