Secure Architectures with OpenBSD

Brandon Palmer, Jose Nazario

  • 出版商: Addison Wesley
  • 出版日期: 2004-04-17
  • 定價: $1,400
  • 售價: 6.0$840
  • 語言: 英文
  • 頁數: 544
  • 裝訂: Paperback
  • ISBN: 0321193660
  • ISBN-13: 9780321193667
  • 相關分類: BSD資訊安全
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

商品描述

Table of Contents:

1. Introduction.

WhatWill This Book Cover?

Whom Is This Book For?

Book Syntax.

About the Authors.

Brandon Palmer.

Jose Nazario.

Contributing Authors.

Acknowledgments.

I. GETTING STARTED.

2. Overview of OpenBSD.

A Brief History of OpenBSD.

OpenBSD Security.

The OpenBSD Security Model.

The Audit.

Cryptography.

Proactive Security.

Which Applications Are and Are Not Secure?

Licensing.

The Feel of OpenBSD.

Filesystem Layout.

Security.

User Friendliness.

Packages and Ports.

Where Is OpenBSD Used?

3. Installation.

Supported Hardware.

System Preparation.

Getting the Files for Installation.

Selecting Boot Media.

Booting.

The Boot Configuration.

Creating a Serial Console.

Platform-Specific Information.

Boot Example.

Filesystem Partitioning.

A Private System.

A Multiuser System with Untrusted Users.

Server Partitioning.

Firewall.

Swap Space Allocation.

Partitioning Example.

Network Configuration.

Network Setup Example.

Base Software Set Installation.

Types of Installations.

Descriptions of the Installation Sets.

Installation Example.

Post-Installation.

Time Zone Information and Example.

After Reboot.

Customizing the Installation Process.

Creating Site-Specific Files.

Jumpstarting Installations.

Customized Installation Floppies.

Upgrading an Installation.

4. Basic Use.

General Filesystem Layout.

/bin and /sbin.

/usr/bin and /usr/sbin.

/var.

/tmp.

/usr/local.

/home.

/dev.

/sys.

/stand.

Start-up and Shutdown.

Logging In.

RC Scripts.

Default Processes.

Random PID Values.

Ports and Packages.

Networking in Brief.

APM: Automatic Power Management.

Mouse Control with wsmoused.

5. Basic Default Services.

inetd: The Super-Server.

The Use of TCPWrappers.

syslog: The Logging Service.

Electronic Mail with sendmail.

The Secure Shell Server sshd.

6. Online Help Resources.

Manual Pages.

Which Manual Page?

The Layout of the Manual.

Notable Manual Pages.

Added Sections.

Writing Your Own Manual Pages.

GNU Info Pages.

Converting Info to Manual Pages.

perldoc and Pod.

Package-Specific Documentation.

Other Sources.

7. X Window System.

Installation.

Quick Setup.

Troubleshooting Configuration.

xdm.

Window Managers.

Basic X Applications.

Remote Display.

X and Security.

II. SYSTEM CONFIGURATION AND ADMINISTRATION.

8. User Administration.

User Creation and Deletion.

Altering the Default New User Options.

vipw and Group Management.

Self Account Administration for Users.

User Limits with ulimit.

Process Accounting.

Privileged Users with sudo.

The sudoers File.

Logging with sudo.

Security of sudo.

Restricted Shells.

Restricting Users with systrace.

9. Networking.

Device Support.

Virtual Interface Drivers.

Kernel Messages.

Basic Setup.

Interface Media Options.

DNS Client Configuration.

DHCP.

Alias Addresses.

ARP: Address Resolution Protocol.

Diagnostic Information.

Routing.

Bridging.

PPP.

User Dial-up with PPP.

Listening Ports and Processes.

Troubleshooting.

10. inetd.

ftpd.

sftp.

telnetd.

shell.

fingerd.

identd.

comsat.

ntalkd.

popa3d.

Internal Services.

Kerberos Services.

RPC Services.

11. Other Installed Services.

tftpd.

rarpd/bootparamd.

The Remote Shell.

Time Services.

Mouse Services.

Printing.

dhcpd: The DHCP Server.

Requirements.

Configuration.

Starting dhcpd.

DHCP Leases.

Considerations to Note.

BOOTP Support.

12. Precompiled Third-Party Software: Packages.

An Overview of Packages.

Installation of Packages.

Local Installation Sources.

Network Installation Sources.

Options for Package Installation.

Uninstalling Packages.

Options for Uninstallation.

Upgrading Packages.

Information About Installed Packages.

Third-Party Software and Security.

13. The Ports Tree: Third-Party Software from Source.

Ports.

Getting the Ports Tree.

The Structure of the Ports Tree.

The Life Cycle of a Ports Build.

Building a Package from Ports.

Making Many Ports at Once.

Updating Specific Ports.

Troubleshooting.

14. Disks and Filesystems.

Disk Devices.

The Concatenated Disk Driver and RAIDFrame.

Filesystems.

New Filesystems.

Other Common Filesystems: ext2, msdos, iso9660.

Disk Quotas.

Soft Updates.

Other Tricks to Speed Up Access.

Disklabels.

Mounting Filesystems.

Pseudo-Disks with vnconfig.

Caring for Filesystems.

The Last Resort for Mistakes: scan ffs.

Listing Open Files and Devices.

15. Backup Utilities.

Introduction.

Devices.

Preliminaries.

Backup Strategies.

Data-Specific Options.

Authentication.

Available Tools.

cpio.

pax.

dump and restore.

tar.

Additional Tools from Ports and Packages.

Amanda.

GNU tar for Backups.

Backup Using rsync.

16. Housekeeping.

What Is Housekeeping?

Regular System Scripts.

Daily Checks.

Weekly Checks.

Monthly Checks.

Logfile Rotation.

Scheduling Facilities.

The cron System.

at.

Controlling Execution of at Jobs.

17. Mail Server Operations.

Introduction to Electronic Mail.

Overview of Electronic Mail in OpenBSD.

sendmail.

Virtual Hosting.

Security with STARTTLS.

Upgrading.

POP Server Administration.

IMAP Server Administration.

Mailing List Software.

E-mail Security.

MTA Security.

POP Security.

Message Security.

18. The Domain Name Services.

Introduction to DNS.

Configuring the Resolver.

The DNS Server named.

A Simple Caching-Only Nameserver.

DNS Security Issues.

Firewall Rules for DNS.

Upgrading named.

BIND8 and BIND9.

DJBDNS.

DNS Tools.

dig.

host.

nslookup.

nslint.

Resources.

Troubleshooting.

19. Web Servers with Apache.

Apache.

Quick Overview.

chroot.

SSL.

Using Dynamic Content in the chroot Environment.

Modules for Apache.

OtherWeb Servers.

Apache 2.0.x 19.4.2 thttpd.

MiscellaneousWeb Server Tools.

Squid.

mod load.

weblint.

analog.

20. OpenSSH.

Command-Line Use.

ssh.

scp.

ssh-keygen.

ssh-agent and ssh-add.

sshd.

Configuration.

Client Options.

Server Configuration Options.

Use in Other Packages.

Command Line.

Privilege Separation.

sftp.

III. ADVANCED FEATURES.

21. The OpenBSD Development Environment.

Introduction.

Editors.

Compilers and Languages.

Base Language Support.

Default Security Options.

Additional Languages from Ports.

Debuggers.

Additional Debugging Tools from Ports.

Tracing System Calls.

Additional Source Code Development Tools.

make.

automake.

Imake and xmkmf.

Libraries.

Shared Library and Object Tools.

Documentation.

22. Packet Filtering and NAT.

Introduction to Firewalls.

Introduction to PF.

The PF Configuration File.

Firewalls with PF.

Introduction to Network Address Translation.

NAT with PF.

Redirection.

Advanced PF Usage.

Tables.

Anchors.

Packet Scrubbing.

Rate Limiting.

Transparent Filtering.

Load Balancing.

Selective Filtering Based on the Operating System.

Logging with pflogd.

Examining the State Table with pfsync.

Determining Firewall Rules.

Opening Ports.

Authenticated Firewall Rules.

Firewall Performance Tuning.

23. NFS: The Network Filesystem.

Introduction to NFS.

NFS Client Configuration.

NFS Server Configuration.

Kernel Configuration.

Configuration of the Server.

NFS Security.

24. NIS and YP Services.

Introduction to NIS.

Client Setup.

Server Setup.

Security.

Resources.

25. Kerberos.

What Is Kerberos?

Why Use Kerberos?

Key Concepts in Kerberos.

Overall System Setup.

Clock Synchronization.

Build Support for Kerberos.

Client Setup.

Client Configuration.

Obtaining Tickets.

Kerberos Server Setup.

KDC Configuration.

keytab Creation.

Initialization Realm.

Controlling Access to the Administrative Server.

Starting the Kerberos Server.

Activating Kerberos V Services at Start-up.

Kerberizing Services.

Secure Shell.

telnet.

Windows 2000 and Kerberos V.

Security of the Kerberos Scheme.

Resources.

Troubleshooting.

26. Authentication Methods.

Authentication Overview.

passwd.

skey.

S/Key Setup.

Getting Passphrases.

sshd Setup and Usage with S/Key.

Additional Login Classes.

lchpass.

chpass.

Token-Based Authentication Methods.

Kerberos.

radius Method.

reject Method.

27. IPsec: Security at the IP Layer.

Introduction.

IPsec Basics.

Creating x509 Keys.

Setting Up IPsec.

Kernel Requirements.

Endpoint Setup.

Manual Configuration.

Automatic Configuration.

Testing/Debugging the Configuration.

tcpdump.

ipsecadm monitor.

/kern/ipsec.

/var/run/isakmpd.pcap.

/var/run/isakmpd.report.

netstat -nr.

Example VPN Configurations.

Transport: OpenBSDÐOpenBSD + Tunnel: NetÐNet.

Transport: None + Tunnel: NetÐNet.

Transport: OpenBSDÐOpenBSD + Tunnel: None.

Wireless Laptop to a Secure Gateway.

OpenBSDÐOpenBSD Through an OpenBSD PF NAT Firewall.

28. IPv6: IP Version 6.

How IPv6Works.

Special Addresses.

Tunnelling IPv4 and IPv6.

Kernel Setup.

Userland Setup.

Normal Use.

Manual Configuration.

Configuring a Router for IPv6.

Configuring a Host for IPv6 Automatically.

Getting on the IPv6 Network.

Freenet6.

IPv4 and IPv6 Proxying.

Some IPv6-Ready Applications.

Service Support for IPv6.

sendmail.

Secure Shell Daemon.

DNS.

Apache.

Routing Daemons.

DHCP Daemons.

IPsec with ISAKMP.

Kerberos V 400

Programming with IPv6.

IPv6 and Security.

Firewalling IPv6 with pf.

Resources.

Troubleshooting.

29. systrace.

Introduction.

Example Use.

Creating Policies.

Editing Policies.

The Benefit of a Local Caching Name Server.

Privilege Elevation with systrace.

Where to Use systrace.

System Coverage with systrace.

Additional Uses for systrace.

Software Testing.

IDS Logging.

Limitations of systrace.

Resources.

30. Network Intrusion Detection.

Introduction.

Snort.

Installation.

Configuration.

Loading New Rules.

Snort Add-Ons.

Integration with PF.

Other IDS Solutions.

Important Notes.

Resources.

31. Upgrading.

Upgrading an Installation.

CVS and Branches.

System Preparation.

Upgrading from Binary Sets.

Upgrading from Source.

Upgrading Configuration Files.

Using mergemaster.

Manual Merging.

Binary Format Changes and Upgrades.

32. Kernel Compilation.

Why Recompile a Kernel?

Why Not Reconfigure and Rebuild Your Kernel?

Where to Get the Source and How to Compile.

Information to Be Set in the Configuration Files.

Tweaking a Built Kernel.

Kernel-Userland Synchronization.

33. Bug Reports with OpenBSD.

Introduction.

Diagnosing a Problem.

Check with Others.

Develop a Solution.

The OpenBSD Bug Tracking System.

Reporting Bugs with sendbug.

IV. APPENDIXES.

A. CVS Basics.

How to Set Yourself Up for CVS.

CVS and the pserver.

Using CVS.

CVS and Tags.

Speeding Up CVS.

Choosing a Mirror.

Compression.

Ignoring Parts of the Tree.

Resources.

B. Applying Source Code Patches.

What Are Patches?

The Structure of a Patch.

Using the patch Tool.

Obtaining Patches for OpenBSD.

C. Tuning the Kernel with sysctl.

What Are Tunable Parameters?

Using sysctl.

Reading Variables.

Writing to Variables.

The Variable Hierarchy.

Filesystem Improvements.

D. Admesg Walkthrough.

What Does dmesg Give Us?

What Do the Messages Mean?

The Boot Messages.

E. Core File Evaluation.

Applications That Crashed.

Kernel Crash Dump Analysis.

Using ddb.

Post-Reboot Analysis.

Examining the Process Table.

F. Other OpenBSD Tools and Resources.

Web Pages.

Software Mirrors.

BSD-Specific Software.

Generic Software Sites.

Mailing Lists.

User Groups.

Newsgroups.

RFC Availability.

G. IPsec m4.
Index.

商品描述(中文翻譯)

目錄:


1. 簡介。



本書將涵蓋什麼內容?



這本書適合哪些讀者?



書籍語法。



關於作者。



Brandon Palmer。



Jose Nazario。



貢獻作者。



致謝。


I. 入門。



2. OpenBSD 概述。



OpenBSD 簡史。



OpenBSD 安全性。



OpenBSD 安全模型。



審計。



密碼學。



主動安全。



哪些應用程式是安全的,哪些不是?



授權。



OpenBSD 的感覺。



檔案系統佈局。



安全性。



使用者友善性。



套件和埠。



OpenBSD 的應用範圍。



3. 安裝。



支援的硬體。



系統準備。



取得安裝檔案。



選擇開機媒體。



開機。



開機設定。



建立串列控制台。



特定平台資訊。



開機範例。



檔案系統分割。



私有系統。



具有不受信任使用者的多使用者系統。



伺服器分割。



防火牆。



交換空間配置。



分割範例。



網路配置。



網路設定範例。



安裝基本軟體集。



安裝類型。



安裝集的說明。



安裝範例。



安裝後。



時區資訊和範例。



重新開機後。



自訂安裝過程。



建立特定網站的檔案。