TCP/IP Illustrated, Volume 1: The Protocols / Edition 2

Hardcover (Print)
Rent from
(Save 54%)
Est. Return Date: 06/15/2014
Buy New
Buy New from
Buy Used
Buy Used from
(Save 41%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $43.98
Usually ships in 1-2 business days
(Save 37%)
Other sellers (Hardcover)
  • All (15) from $43.98   
  • New (10) from $46.38   
  • Used (5) from $43.98   


“For an engineer determined to refine and secure Internet operation or to explore alternative solutions to persistent problems, the insights provided by this book will be invaluable.”

—Vint Cerf, Internet pioneer

TCP/IP Illustrated, Volume 1, Second Edition, is a detailed and visual guide to today’s TCP/IP protocol suite. Fully updated for the newest innovations, it demonstrates each protocol in action through realistic examples from modern Linux, Windows, and Mac OS environments. There’s no better way to discover why TCP/IP works as it does, how it reacts to common conditions, and how to apply it in your own applications and networks.

Building on the late W. Richard Stevens’ classic first edition, author Kevin R. Fall adds his cutting-edge experience as a leader in TCP/IP protocol research, updating the book to fully reflect the latest protocols and best practices. He first introduces TCP/IP’s core goals and architectural concepts, showing how they can robustly connect diverse networks and support multiple services running concurrently. Next, he carefully explains Internet addressing in both IPv4 and IPv6 networks. Then, he walks through TCP/IP’s structure and function from the bottom up: from link layer protocols–such as Ethernet and Wi-Fi–through network, transport, and application layers.

Fall thoroughly introduces ARP, DHCP, NAT, firewalls, ICMPv4/ICMPv6, broadcasting, multicasting, UDP, DNS, and much more. He offers extensive coverage of reliable transport and TCP, including connection management, timeout, retransmission, interactive data flow, and congestion control. Finally, he introduces the basics of security and cryptography, and illuminates the crucial modern protocols for protecting security and privacy, including EAP, IPsec, TLS, DNSSEC, and DKIM. Whatever your TCP/IP experience, this book will help you gain a deeper, more intuitive understanding of the entire protocol suite so you can build better applications and run more reliable, efficient networks.

Read More Show Less

Editorial Reviews

From the Publisher

"What makes this book unique, in my estimation, is the level of detail and attention to history. It provides background and a sense for the ways in which solutions to networking problems have evolved. It is relentless in its effort to achieve precision and to expose remaining problem areas. For an engineer determined to refine and secure Internet operation or to explore alternative solutions to persistent problems, the insights provided by this book will be invaluable. The authors deserve credit for a thorough rendering of the technology of today’s Internet."

—Vint Cerf

Praise for the First Edition of TCP/IP Illustrated, Volume 1: The Protocols . . .

“This is sure to be the bible for TCP/IP developers and users. Within minutes of picking up the text, I encountered several scenarios that had tripped up both my colleagues and myself in the past. Stevens reveals many of the mysteries once held tightly by the ever-elusive networking gurus. Having been involved in the implementation of TCP/IP for some years now, I consider this by far the finest text to date.”

—Robert A. Ciampa, network engineer, Synernetics, division of 3COM

“While all of Stevens’ books are readable and technically excellent, this new opus is awesome. Although many books describe the TCP/IP protocols, Stevens provides a level of depth and real-world detail lacking from the competition. He puts the reader inside TCP/IP using a visual approach and shows the protocols in action.”

—Steven Baker, networking columnist, Unix Review

TCP/IP Illustrated, Volume 1, is an excellent reference for developers, network administrators, or anyone who needs to understand TCP/IP technology. TCP/IP Illustrated is comprehensive in its coverage of TCP/IP topics, providing enough details to satisfy the experts while giving enough background and commentary for the novice.”

—Bob Williams, vice president, Marketing, NetManage, Inc.

“. . . [T]he difference is that Stevens wants to show as well as tell about the protocols. His principal teaching tools are straightforward explanations, exercises at the ends of chapters, byte-by-byte diagrams of headers and the like, and listings of actual traffic as examples.”

—Walter Zintz, UnixWorld

“Much better than theory only. . . . W. Richard Stevens takes a multihost-based configuration and uses it as a travelogue of TCP/IP examples with illustrations. TCP/IP Illustrated, Volume 1, is based on practical examples that reinforce the theory—distinguishing this book from others on the subject, and making it both readable and informative.”

—Peter M. Haverlock, consultant, IBM TCP/IP Development

“The diagrams he uses are excellent and his writing style is clear and readable. In sum, Stevens has made a complex topic easy to understand. This book merits everyone’s attention. Please read it and keep it on your bookshelf.”

—Elizabeth Zinkann, sys admin

“W. Richard Stevens has produced a fine text and reference work. It is well organized and very clearly written with, as the title suggests, many excellent illustrations exposing the intimate details of the logic and operation of IP, TCP, and the supporting cast of protocols and applications.”

—Scott Bradner, consultant, Harvard University OIT/NSD

Read More Show Less

Product Details

  • ISBN-13: 9780321336316
  • Publisher: Addison-Wesley
  • Publication date: 11/29/2011
  • Series: Addison-Wesley Professional Computing Series
  • Edition description: New Edition
  • Edition number: 2
  • Pages: 1056
  • Sales rank: 308,647
  • Product dimensions: 7.00 (w) x 9.20 (h) x 1.60 (d)

Meet the Author

Kevin R. Fall, Ph.D., has worked with TCP/IP for more than twenty-five years, and served on the Internet Architecture Board. He co-chairs the Internet Research Task Force’s Delay Tolerant Networking Research Group (DTNRG), which explores networking in extreme and performance-challenged environments. He is an IEEE Fellow.

W. Richard Stevens, Ph.D. (1951-1999), was the pioneering author who taught a generation of network professionals the TCP/IP skills they’ve used to make the Internet central to everyday life. His best-selling books included all three volumes of TCP/IP Illustrated (Addison-Wesley), as well as UNIX Network Programming (Prentice Hall).

Read More Show Less

Table of Contents

Foreword xxv

Preface to the Second Edition xxvii

Adapted Preface to the First Edition xxxiii

Chapter 1: Introduction 1

1.1 Architectural Principles 2

1.2 Design and Implementation 8

1.3 The Architecture and Protocols of the TCP/IP Suite 13

1.4 Internets, Intranets, and Extranets 19

1.5 Designing Applications 20

1.6 Standardization Process 22

1.7 Implementations and Software Distributions 24

1.8 Attacks Involving the Internet Architecture 25

1.9 Summary 26

1.10 References 28

Chapter 2: The Internet Address Architecture 31

2.1 Introduction 31

2.2 Expressing IP Addresses 32

2.3 Basic IP Address Structure 34

2.4 CIDR and Aggregation 46

2.5 Special-Use Addresses 50

2.6 Allocation 62

2.7 Unicast Address Assignment 65

2.8 Attacks Involving IP Addresses 70

2.9 Summary 71

2.10 References 72

Chapter 3: Link Layer 79

3.1 Introduction 79

3.2 Ethernet and the IEEE 802 LAN/MAN Standards 80

3.3 Full Duplex, Power Save, Autonegotiation, and 802.1X Flow Control 94

3.4 Bridges and Switches 98

3.5 Wireless LANs—IEEE 802.11(Wi-Fi) 111

3.6 Point-to-Point Protocol (PPP) 130

3.7 Loopback 145

3.8 MTU and Path MTU 148

3.9 Tunneling Basics 149

3.10 Attacks on the Link Layer 154

3.11 Summary 156

3.12 References 157

Chapter 4: ARP: Address Resolution Protocol 165

4.1 Introduction 165

4.2 An Example 166

4.3 ARP Cache 169

4.4 ARP Frame Format 170

4.5 ARP Examples 171

4.6 ARP Cache Timeout 174

4.7 Proxy ARP 174

4.8 Gratuitous ARP and Address Conflict Detection (ACD) 175

4.9 The arp Command 177

4.10 Using ARP to Set an Embedded Device’s IPv4 Address 178

4.11 Attacks Involving ARP 178

4.12 Summary 179

4.13 References 179

Chapter 5: The Internet Protocol (IP) 181

5.1 Introduction 181

5.2 IPv4 and IPv6 Headers 183

5.3 IPv6 Extension Headers 194

5.4 IP Forwarding 208

5.5 Mobile IP 215

5.6 Host Processing of IP Datagrams 220

5.7 Attacks Involving IP 226

5.8 Summary 226

5.9 References 228

Chapter 6: System Configuration: DHCP and Autoconfiguration 233

6.1 Introduction 233

6.2 Dynamic Host Configuration Protocol (DHCP) 234

6.3 Stateless Address Autoconfiguration (SLAAC) 276

6.4 DHCP and DNS Interaction 285

6.5 PPP over Ethernet (PPPoE) 286

6.6 Attacks Involving System Configuration 292

6.7 Summary 292

6.8 References 293

Chapter 7: Firewalls and Network Address Translation (NAT) 299

7.1 Introduction 299

7.2 Firewalls 300

7.3 Network Address Translation (NAT) 303

7.4 NAT Traversal 316

7.5 Configuring Packet-Filtering Firewalls and NATs 334

7.6 NAT for IPv4/IPv6 Coexistence and Transition 339

7.7 Attacks Involving Firewalls and NATs 345

7.8 Summary 346

7.9 References 347

Chapter 8: ICMPv4 and ICMPv6: Internet Control Message Protocol 353

8.1 Introduction 353

8.2 ICMP Messages 355

8.3 ICMP Error Messages 361

8.4 ICMP Query/Informational Messages 380

8.5 Neighbor Discovery in IPv6 395

8.6 Translating ICMPv4 and ICMPv6 424

8.7 Attacks Involving ICMP 428

8.8 Summary 430

8.9 References 430

Chapter 9: Broadcasting and Local Multicasting (IGMP and MLD) 435

9.1 Introduction 435

9.2 Broadcasting 436

9.3 Multicasting 441

9.4 The Internet Group Management Protocol (IGMP) and Multicast Listener Discovery Protocol (MLD) 451

9.5 Attacks Involving IGMP and MLD 469

9.6 Summary 470

9.7 References 471

Chapter 10: User Datagram Protocol (UDP) and IP Fragmentation 473

10.1 Introduction 473

10.2 UDP Header 474

10.3 UDP Checksum 475

10.4 Examples 478

10.5 UDP and IPv6 481

10.6 UDP-Lite 487

10.7 IP Fragmentation 488

10.8 Path MTU Discovery with UDP 493

10.9 Interaction between IP Fragmentation and ARP/ND 496

10.10 Maximum UDP Datagram Size 497

10.11 UDP Server Design 498

10.12 Translating UDP/IPv4 and UDP/IPv6 Datagrams 505

10.13 UDP in the Internet 506

10.14 Attacks Involving UDP and IP Fragmentation 507

10.15 Summary 508

10.16 References 508

Chapter 11: Name Resolution and the Domain Name System (DNS) 511

11.1 Introduction 511

11.2 The DNS Name Space 512

11.3 Name Servers and Zones 516

11.4 Caching 517

11.5 The DNS Protocol 518

11.6 Sort Lists, Round-Robin, and Split DNS 565

11.7 Open DNS Servers and DynDNS 567

11.8 Transparency and Extensibility 567

11.9 Translating DNS from IPv4 to IPv6 (DNS64) 568

11.10 LLMNR and mDNS 569

11.11 LDAP 570

11.12 Attacks on the DNS 571

11.13 Summary 572

11.14 References 573

Chapter 12: TCP: The Transmission Control Protocol (Preliminaries) 579

12.1 Introduction 579

12.2 Introduction to TCP 584

12.3 TCP Header and Encapsulation 587

12.4 Summary 591

12.5 References 591

Chapter 13: TCP Connection Management 595

13.1 Introduction 595

13.2 TCP Connection Establishment and Termination 595

13.3 TCP Options 605

13.4 Path MTU Discovery with TCP 612

13.5 TCP State Transitions 616

13.6 Reset Segments 625

13.7 TCP Server Operation 631

13.8 Attacks Involving TCP Connection Management 640

13.9 Summary 642

13.10 References 643

Chapter 14: TCP Timeout and Retransmission 647

14.1 Introduction 647

14.2 Simple Timeout and Retransmission Example 648

14.3 Setting the Retransmission Timeout (RTO) 651

14.4 Timer-Based Retransmission 664

14.5 Fast Retransmit 667

14.6 Retransmission with Selective Acknowledgments 671

14.7 Spurious Timeouts and Retransmissions 677

14.8 Packet Reordering and Duplication 682

14.9 Destination Metrics 685

14.10 Repacketization 686

14.11 Attacks Involving TCP Retransmission 687

14.12 Summary 688

14.13 References 689

Chapter 15: TCP Data Flow and Window Management 691

15.1 Introduction 691

15.2 Interactive Communication 692

15.3 Delayed Acknowledgments 695

15.4 Nagle Algorithm 696

15.5 Flow Control and Window Management 700

15.6 Urgent Mechanism 719

15.7 Attacks Involving Window Management 723

15.8 Summary 723

15.9 References 724

Chapter 16: TCP Congestion Control 727

16.1 Introduction 727

16.2 The Classic Algorithms 730

16.3 Evolution of the Standard Algorithms 739

16.4 Handling Spurious RTOs—the Eifel Response Algorithm 744

16.5 An Extended Example 745

16.6 Sharing Congestion State 767

16.7 TCP Friendliness 768

16.8 TCP in High-Speed Environments 770

16.9 Delay-Based Congestion Control 777

16.10 Buffer Bloat 781

16.11 Active Queue Management and ECN 782

16.12 Attacks Involving TCP Congestion Control 785

16.13 Summary 786

16.14 References 788

Chapter 17: TCP Keepalive 793

17.1 Introduction 793

17.2 Description 795

17.3 Attacks Involving TCP Keepalives 802

17.4 Summary 802

17.5 References 803

Chapter 18: Security: EAP, IPsec, TLS, DNSSEC, and DKIM 805

18.1 Introduction 805

18.2 Basic Principles of Information Security 806

18.3 Threats to Network Communication 807

18.4 Basic Cryptography and Security Mechanisms 809

18.5 Certificates, Certificate Authorities (CAs), and PKIs 821

18.6 TCP/IP Security Protocols and Layering 832

18.7 Network Access Control: 802.1X, 802.1AE, EAP, and PANA 833

18.8 Layer 3 IP Security (IPsec) 840

18.9 Transport Layer Security (TLS and DTLS) 876

18.10 DNS Security (DNSSEC) 894

18.11 DomainKeys Identified Mail (DKIM) 915

18.12 Attacks on Security Protocols 918

18.13 Summary 919

18.14 References 922

Glossary of Acronyms 933

Index 963

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
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

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