TCP/IP详解.卷1:协议(英文版)(图灵原版计算机科学系列)(TCP/IP Illustrated, Volume 1: The Protocols)
分類: 图书,英语与其他外语,英语读物,英文版,科普,
品牌: 史蒂文斯(W. Richard Stevens)
基本信息·出版社:人民邮电出版社
·页码:576 页
·出版日期:2010年04月
·ISBN:9787115222596
·条形码:9787115222596
·版本:第1版
·装帧:平装
·开本:16
·正文语种:英语
·丛书名:图灵原版计算机科学系列
·外文书名:TCP/IP Illustrated, Volume 1: The Protocols
产品信息有问题吗?请帮我们更新产品信息。
内容简介本书是TCP/IP领域的经典之作!书中主要讲述TCP/IP协议,不仅仅讲述RFC的标准协议,而且结合大量实例讲述了TCP/IP协议族的定义原因,以及在各种不同的操作系统中的应用及工作方式,使读者可以轻松掌握TCP/IP的知识。本书内容详尽且具权威性,几乎每章都提供精选的习题,并提供了部分习题的答案。 本书适合任何希望理解TCP/IP协议如何实现的人阅读,更是TCP/IP领域研究人员和开发人员的权威参考书。无论是初学者还是功底深厚的网络领域高手,本书都是案头必备。
目录
Contents Chapter 1. Introduction1 1.1Introduction1 1.2Layering1 1.3TCP/IP Layering6 1.4Internet Addresses7 1.5The Domain Name System9 1.6Encapsulation9 1.7Demultiplexing11 1.8Client-Server Model12 1.9Port Numbers12 1.10Standardization Process14 1.11RFCs14 1.12Standard, Simple Services15 1.13The Internet16 1.14Implementations16 1.15Application Programming Interfaces17 1.16Test Network18 1.17Summary19 Chapter 2. Link Layer21 2.1Introduction21 2.2Ethernet and IEEE 802 Encapsulation21 2.3Trailer Encapsulation23 2.4SLIP: Serial Line IP24 2.5Compressed SLIP25 2.6PPP: Point-to-Point Protocol26 2.7Loopback Interface28 2.8MTU29 2.9Path MTU30 2.10Serial Line Throughput Calculations30 2.11Summary31 Chapter 3. IP: Internet Protocol33 3.1Introduction33 3.2IP Header34 3.3IP Routing37 3.4Subnet Addressing42 3.5Subnet Mask43 3.6Special Case IP Addresses45 3.7A Subnet Example46 3.8ifconfig Command47 3.9netstat Command49 3.10IP Futures49 3.11Summary50 Chapter 4. ARP: Address Resolution Protocol53 4.1Introduction53 4.2An Example54 4.3ARP Cache56 4.4ARP Packet Format56 4.5ARP Examples57 4.6Proxy ARP60 4.7Gratuitous ARP62 4.8arp Command63 4.9Summary63 Chapter 5. RARP: Reverse Address Resolution Protocol65 5.1Introduction65 5.2RARP Packet Format65 5.3RARP Examples66 5.4RARP Server Design67 5.5Summary68 Chapter 6. ICMP: Internet Control Message Protocol69 6.1Introduction69 6.2ICMP Message Types70 6.3ICMP Address Mask Request and Reply72 6.4ICMP Timestamp Request and Reply74 6.5ICMP Port Unreachable Error77 6.64.4BSD Processing of ICMP Messages81 6.7Summary83 Chapter 7. Ping Program85 7.1Introduction85 7.2Ping Program85 7.3IP Record Route Option91 7.4IP Timestamp Option95 7.5Summary96 Chapter 8. Traceroute Program97 8.1Introduction97 8.2Traceroute Program Operation97 8.3LAN Output99 8.4WAN Output102 8.5IP Source Routing Option104 8.6Summary109 Chapter 9. IP Routing111 9.1Introduction111 9.2Routing Principles112 9.3ICMP Host and Network Unreachable Errors117 9.4To Forward or Not to Forward119 9.5ICMP Redirect Errorsv 119 9.6ICMP Router Discovery Messages123 9.7Summary125 Chapter 10. Dynamic Routing Protocols127 10.1Introduction127 10.2Dynamic Routing127 10.3Unix Routing Daemons128 10.4RIP: Routing Information Protocol129 10.5RIP Version 2136 10.6OSPF: Open Shortest Path First137 10.7BGP: Border Gateway Protocol138 10.8CIDR: Classless Interdomain Routing140 10.9Summary141 Chapter 11. UDP: User Datagram Protocol143 11.1Introduction143 11.2UDP Header144 11.3UDP Checksum144 11.4A Simple Example147 11.5IP Fragmentation148 11.6ICMP Unreachable Error (Fragmentation Required)151 11.7Determtntng the Path MTU Using Traceroute153 11.8Path MTU Discovery with UDP155 11.9Interaction Between UDP and ARP157 11.10Maximum UDP Datagram Size159 11.11ICMP Source Quench Error160 11.12UDP Server Design162 11.13Summary167 Chapter 12. Broadcasting and Multicasting169 12.1Introduction169 12.2Broadcasting171 12.3Broadcasting Examples172 12.4Multicasting175 12.5Summary178 Chapter 13. IGMP: Internet Group Management Protocol179 13.1Introduction179 13.2IGMP Message180 13.3IGMP Protocol180 13.4An Example183 13.5Summary186 Chapter 14. DNS: The Domain Name System187 14.1Introduction187 14.2DNS Basics188 14.3DNS Message Format191 14.4A Simple Example194 14.5Pointer Queries198 14.6Resource Records201 14.7Caching203 14.8UDP or TCP206 14.9Another Example206 14.10Summary208 Chapter 15. TFTP: Trivial File Transfer Protocol209 15.1Introduction209 15.2Protocol209 15.3An Example211 15.4Security213 15.5Summary213 Chapter 16. BOOTP: Bootstrap Protocol215 16.1Introduction215 16.2BOOTP Packet Format215 16.3An Example218 16.4BOOTP Server Design219 16.5BOOTP Through a Router220 16.6Vendor-Specific Information221 16.7Summary222 Chapter 17. TCP: Transmission Control Protocol223 17.1Introduction223 17.2TCP Services223 17.3TCP Header225 17.4Summary227 Chapter 18. TCP Connection Establishment and Termination229 18.1Introduction229 18.2Connection Establishment and Termination229 18.3Timeout of Connection Establishment235 18.4Maximum Segment Size236 18.5TCP Half-Close238 18.6TCP State Transition Diagram240 18.7Reset Segments246 18.8Simultaneous Open250 18.9Simultaneous Close252 18.10TCP Options253 18.11TCP Server Design254 18.12Summary260 Chapter 19. TCP Interactive Data Flow263 19.1Introduction263 19.2Interactive Input263 19.3Delayed Acknowledgments265 19.4Nagle Algorithm267 19.5Window Size Advertisements274 19.6Summary274 Chapter 15. TFTP: Trivial File Transfer Protocol209 15.1Introduction209 15.2Protocol209 15.3An Example211 15.4Security213 15.5Summary213 Chapter 16. BOOTP: Bootstrap Protocol215 16.1Introduction215 16.2BOOTP Packet Format215 16.3An Example218 16.4BOOTP Server Design219 16.5BOOTP Through a Router220 16.6Vendor-Specific Information221 16.7Summary222 Chapter 17. TCP: Transmission Control Protocol223 17.1Introduction223 17.2TCP Services223 17.3TCP Header225 17.4Summary227 Chapter 18. TCP Connection Establishment and Termination229 18.1Introduction229 18.2Connection Establishment and Termination229 18.3Timeout of Connection Establishment235 18.4Maximum Segment Size236 18.5TCP Half-Close238 18.6TCP State Transition Diagram240 18.7Reset Segments246 18.8Simultaneous Open250 18.9Simultaneous Close252 18.10TCP Options253 18.11TCP Server Design254 18.12Summary260 Chapter 19. TCP Interactive Data Flow263 19.1Introduction263 19.2Interactive Input263 19.3Delayed Acknowledgments265 19.4Nagle Algorithm267 19.5Window Size Advertisements274 19.6Summary274 Chapter 20. TCP Bulk Data Flow275 20.1Introduction275 20.2Normal Data Flow275 20.3Sliding Windows280 20.4Window Size282 20.5PUSH Flag284 20.6Slow Start285 20.7Bulk Data Throughput286 20.8Urgent Mode292 20.9Summary296 Chapter 21. TCP Timeout and Retransmission297 21.1Introduction297 21.2Simple Timeout and Retransmission Example298 21.3Round-Trip Time Measurement299 21.4An RTT Example301 21.5Congestion Example306 21.6Congestion Avoidance Algorithm310 21.7Fast Retransmit and Fast Recovery Algorithms312 21.8Congestion Example (Continued)313 21.9Per-Route Metrics316 21.10I CMP Errors317 21.11Repacketization320 21.12Summary321 Chapter 22. TOP Persist Timer323 22.1Introduction323 22.2An Example323 22.3Silly Window Syndrome325 22.4Summary330 Chapter 23. TOP Keepalive Timer331 23.1Introduction331 23.2Description332 23.3Keepalive Examples333 23.4Summary337 Chapter 24. TCP Futures and Performance339 24.1Introduction339 24.2Path MTU Discovery340 24.3Long Fat Pipes344 24.4Window Scale Option347 24.5Timestamp Option349 24.6PAWS: Protection Against Wrapped Sequence Numbers351 24.7T/TCP: A TCP Extension for Transactions351 24.8TCP Performance354 24.9Summary356 Chapter 25. SNMP: Simple Network Management Protocol359 25.1Introduction359 25.2Protocol360 25.3Structure of Management Information363 25.4Object Identifiers364 25.5Introduction to the Management Information Base365 25.6Instance Identification367 25.7Simple Examples370 25.8Management Information Base (Continued)372 25.9Additional Examples382 25.10Traps385 25.11ASN.1 and BER386 25.12SNMP Version 2387 25.13Summary388 Chapter 26. Telnet and Rlogin: Remote Login389 26.1Introduction389 26.2Rlogin Protocol391 26.3Rlogin Examples396 26.4Telnet Protocol401 26.5Telnet Examples406 26.6Summary417 Chapter 27. FTP: File Transfer Protocol419 27.1Introduction419 27,2FTP Protocol419 27.3FTP Examples426 27.4Summary439 Chapter 28. SMTP: Simple Mail Transfer Protocol441 28.1Introduction441 28.2SMTP Protocol442 28.3SMTP Examples448 28.4SMTP Futures452 28.5Summary459 24.5Timestamp Option349 24.6PAWS: Protection Against Wrapped Sequence Numbers351 24.7T/TCP: A TCP Extension for Transactions351 24.8TCP Performance354 24.9Summaryv356 Chapter 25. SNMP: Simple Network Management Protocol359 25.1Introduction359 25.2Protocol360 25.3Structure of Management Information363 25.4Object Identifiers364 25.5Introduction to the Management Information Base365 25.6Instance Identification367 25.7Simple Examples370 25.8Management Information Base (Continued)372 25.9Additional Examples382 25.10Traps385 25.11ASN.1 and BER386 25.12SNMP Version 2387 25.13Summary388 Chapter 26. Telnet and Rlogin: Remote Login389 26.1Introduction389 26.2Rlogin Protocol391 26.3Rlogin Examples396 26.4Telnet Protocol 401 26.5Telnet Examples 406 26.6Summary417 Chapter 27. FTP: File Transfer Protocol419 27.1Introduction419 27.2FTP Protocol419 27.3FTP Examples426 27.4Summary439 Chapter 28. SMTP: Simple Mail Transfer Protocol441 28.1Introduction441 28.2SMTP Protocol442 28.3SMTP Examples448 28.4SMTP Futures452 28.5Summary459 Chapter 29. NFS: Network File System461 29.1Introduction461 29.2Sun Remote Procedure Call461 29.3XDR: External Data Representation465 29.4Port Mapper465 29.5NFS Protocol467 29.6NFS Examples474 29.7NFS Version 3479 29.8Summary480 Chapter 30. Other TCP/IP Applications481 30.1Introduction481 30.2Finger Protocol481 30.3Whois Protocol483 30.4Archie, WAIS, Gopher, Veronica, and WWW484 30.5X Window System486 30.6Summary490 Appendix A. The tcpdump Program491 A.1BSD Packet Filter491 A.2SunOS Network Interface Tap493 A.3SVR4 Data Link Provider Interface494 A.4tcpdump Output495 A.5Security Considerations496 A.6Socket Debug Option496 Appendix B. Computer Clocks499 Appendix C. The sock Program503 Appendix D. Solutions to Selected Exercises507 Appendix E. Configurable Options525 E.1BSD/386 Version 1.0526 E.2SunOS 4.1.3527 E.3System V Release 4529 E.4Solaris 2.2529 E.5AIX 3.2.2536 E.64.4BSD537 Appendix F. Source Code Availability539 Bibliography543 Index555
……[看更多目录]