Gift Guide

Linux Firewalls / Edition 2

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (16) from $1.99   
  • New (1) from $5.00   
  • Used (15) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2014

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

have a blessed day

Ships from: santa cruz, CA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Sort by


An Internet-connected Linux machine is in a high-risk situation. This book details security steps that a home or small-to-mid-size, non-enterprise business might take to protect itself from potential remote attackers. As with the first edition, this book will provide a description of the need for security measures and solutions built upon the most up-to-date technology available. The content for the Second Edition has been updated to cover the 2.4 kernel, and additional chapters on VPNs, SSH, and Tripwires have been added.

Read More Show Less

Editorial Reviews

From The Critics
This security resource examines iptables and how to use them with the new Linux kernel, and shows how to secure a computer system quickly and efficiently, concentrating on the security needs of residential users and small to mid-sized businesses. The book explains iptables, its new connections-state tracking, and the basic steps of designing and implementing an iptables packet-filtering firewall. It describes and demonstrates firewall optimization and the full NAT capabilities in iptables, and shows how to forward incoming requests through NAT to an internal server. Ziegler is a firewall architect. Annotation c. Book News, Inc., Portland, OR (
Read More Show Less

Product Details

  • ISBN-13: 9780735710993
  • Publisher: Pearson Education
  • Publication date: 10/24/2001
  • Series: Landmark Series
  • Edition description: Older Edition
  • Edition number: 2
  • Pages: 562
  • Product dimensions: 7.02 (w) x 8.96 (h) x 1.24 (d)

Meet the Author

Robert L Ziegler is principal engineer with Nokia , designing and developing firewall products for the lpsilon product family. In his spare time, Bob offers free Webbased firewall design services for the home user, as well a a popular Linux LAN and Firewall FAQ to help people quickly get their Linux systems set up securely. He has also worked as a UNIX operating system kernel developer for various research and development companies. He became interested in small systems security issues when he began working on making his home system secure. Firewalls quickly became a passion.
Read More Show Less

Read an Excerpt

Chapter 1: Preliminary Concepts Underlying Packet-Filtering Firewalls

A SMALL SITE MAY HAVE INTERNET ACCESS through a cable modem, an ASDL line, ISDN, or often, a PPP connection to a phone line dial-up account. The computer connected directly to the Internet is the focus for security issues. Whether you have one computer or a small local area network (LAN) of linked computers, the focus for a small site will be on the machine with the direct Internet connection.This machine will be the firewall machine.

The term firewall has a number of meanings depending on its implementation and purpose. At this opening point in the book, firewall means the Internet-connected machine. This is where your security policies will be implemented. The firewall machine's external network interface card is the connection point, or gateway, to the Internet. The purpose of a firewall is to protect what's on your side of this gateway from what's on the other side.

A simple firewall setup is sometimes called a bastion firewall because it's the main line of defense against attack from the outside. All your security measures are mounted from this one defender of your realm. Consequently, everything possible is done to protect this system. It's your one and only bastion of defense.

Behind this line of defense is your single computer or your group of computers. The purpose of the firewall machine might simply be to serve as the connection point to the Internet for other machines on your LAN.You might be running local, private services behind this firewall, such as a shared printer or shared file systems. Or you might want all your computers to have access to the World Wide Web. One of your machines might host your private financial records.You might want to have Internet access from this machine, but you won't want anyone getting in. At some point, you might want to offer your own services to the Internet. One of the machines might be hosting your own Web site for the Internet.Your setup and goals will determine your security policies.

The firewall's purpose is to enforce the security policies you define.These policies reflect the decisions you've made about which Internet services you want to be accessible to your computers, which services you want to offer the world from your computers, which services you want to offer to specific remote users or sites, and which services and programs you want to run locally for your own private use. Security policies are all about access control and authenticated use of private or protected services, programs, and files on your computers.

Home and small business systems don't face all the security issues of a large, corporate site. The basic ideas and steps are the same. There just aren't so many factors to consider. The emphasis is on protecting your site from unwelcome access from the Internet. (A corporate site would emphasize internal security, which isn't much of an issue for a home-based site.) A packet-filtering firewall is one common approach toand one piece of-network security and controlling access from the outside.

Before going into the details of developing a firewall, this chapter introduces basic underlying concepts and mechanisms a packet-filtering firewall is based on. These concepts include a general frame of reference for what network communication is, how network-based services are identified, what a packet is, and the types of messages and information sent between computers on a network.

The TCP/IP Reference Networking Model

In order to provide a framework for this chapter, and for the rest of the book, I'm going to use a few terms before they're defined in the following sections of this chapter. The definitions are old hat to computer science and networking people, but they might be new to less technically inclined people. If this is all new to you, don't worry. Right now, I'm just trying to give you a conceptual place to hang the upcoming definitions on so that they make more sense.

If you've had formal academic training in networking, you're familiar with the Open Systems Interconnection (OSI) reference model.The OSI reference model was developed in the late 1970s and early 1980s to provide a framework for network interconnection standards. The OSI model is a formal, careful, academic model. Textbooks and academicians use this model as their conceptual framework when talking about networking.

Networking was taking off in the late 1970s and early 1980s, so the world went on during the seven years the OSI reference model was being hammered out. As TCP/IP became the de facto standard for Internet communication between UNIX machines during this time, a second, informal model called the TCP/IP reference model developed. Rather than being an academic ideal, the TCP/IP reference model is based on what manufacturers and developers finally came to agree upon for communication across the Internet. Because the model focuses on TCP/IP from a practical, real-world, developer's point of view, the model is simpler than the OSI model. So where OSI explicitly delineates seven layers, the TCP/IP model clumps them into four layers.

This book uses the TCP/IP reference model. As with most people with a computer science background, I tend to use the OSI vocabulary, but map it into the TCP/IP conceptual model.

Network communication is conceptualized as a layered model, with communication taking place between adjacent layers on an individual computer, and between parallel layers on communicating computers. The program you're running (e.g., your Web browser) is at the top, at the application layer, talking to another program on another computer (e.g., a Web server).

In order for your Web browser client application to send a request for a Web page to the Web server application, it has to make library and system calls that take the information from the Web browser and encapsulate it in a message suitable for transport between the two programs across the network.These messages are either transport-layer TCP segments or UDP datagrams. To construct these messages, the application layer calls the transport layer to provide this service.The transport-layer messages are sent between the Web browser client and the Web server. The transport layer knows how to deliver messages between a program on one computer and a program on the other end of the network. Both the OSI model and TCP/IP model call this layer the transport layer, although the OSI model breaks this layer into several different layers functionally.

In order for these transport-layer messages to be delivered between the two programs, the messages have to be sent between the two computers. To do this, the transport layer calls functions in the operating system that take the TCP or UDP transport message and encapsulate it in an Internet datagram suitable for sending to the other computer.These datagrams are IP packets.The IP Internet packets are sent between the two computers across the Internet. The Internet layer knows how to talk to the computer on the other other end of the network. The TCP/IP reference model calls this layer the Internet layer. The OSI reference model vocabulary is commonly used for this layer, so it's more commonly called the network layer. They are one and the same.

Beneath the network layer is the subnet layer. Again, the packet is encapsulated in an Ethernet header. At the subnet level, the message is now called an Ethernet frame. From the TCP/IP point of view, the subnet layer is a clump of everything that happens to get the IP packet delivered to the next computer.This clump includes all the addressing and delivery details associated with routing the frame between the computers...

Read More Show Less

Table of Contents

I Packet-Filtering and Basic Security Measures 1
1 Preliminary Concepts Underlying Packet-Filtering Firewalls 3
2 Packet-Filtering Concepts 27
3 ipatables: The Linux Firewall Administration Program 81
4 Building and Installing a Standalone Firewall 111
II Advanced Issues, Multiple Firewalls, and Perimeter Networks 181
5 Firewall Optimization 183
6 Packet Forwarding 213
7 NAT - Network Address Translation 265
8 Debugging the Firewall Rules 285
III System-Level Security and Monitoring 311
9 Verifying That the System Is Running as You Expect 313
10 Issues at the UNIX System Administration Level 331
11 Secure Shell (SSH) 387
12 Tripwire 407
13 Intrusion Detection and Incident Reporting Software 433
IV Appendixes 449
A: Security Resources 451
B Firewall Examples and Support Scripts 461
C VPN 511
D: Glossary 525
Index 537
Read More Show Less

Customer Reviews

Average Rating 4.5
( 2 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Anonymous

    Posted July 29, 2002

    EXCELLENT firewall book

    This book makes the process of designing, understanding, and monitoring a linux-based firewall very easy. Anyone interested in building an inexpensive but very powerful, configurable firewall should STRONGLY consider this book, as it covers practically every aspect of firewall construction and configuration.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 21, 2001


    I have some experence with firewalls and i can't belve how much i learned about how linux can handle the same jobs at some advance ( and verry expensive) firewalls. My only regret is that VPN was not covered in great depth but threre is a nother book for that some moer light reading will solve that

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 29, 2001

    Great one

    Explains the Linux Kernel forwarding, input, output chains completely and provides examples to use or buil off on. Very good book for its price

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)