书籍详情
《TCP\》[37M]百度网盘|亲测有效|pdf下载
  • TCP\

  • 出版社:人民邮电出版社官方旗舰店
  • 热度:12141
  • 上架时间:2024-06-30 09:38:03
  • 价格:0.0
书籍下载
书籍预览
免责声明

本站支持尊重有效期内的版权/著作权,所有的资源均来自于互联网网友分享或网盘资源,一旦发现资源涉及侵权,将立即删除。希望所有用户一同监督并反馈问题,如有侵权请联系站长或发送邮件到ebook666@outlook.com,本站将立马改正

内容介绍


内容介绍

本书是TCP/IP*域的*之作!书中主要讲述TCP/IP协议,***讲述RFC的标准协议,而且结合大量实例讲述了TCP/IP协议族的定义原因,以及在各种*同的操作系统中的应用及工作方式,使读者可以轻松掌握TCP/IP的知识。本书内容详尽,几乎每章*提供*选的习题,并提供了*分习题的答案。

作者介绍

W. Richard Stevens *际*的UNIX和网络*家,备受赞誉的技术作家。他*95*年2月5日出生于赞比亚,后随父母回到美*。中学时*读于弗吉尼亚菲什伯恩军事学校,*973年获得密歇根大学航空和航天工程学士学位。*975年到*982年,他在亚利桑那州图森市的基*峰*家天文台从事计算机编程工作,业余时间喜爱飞行运动,做过兼职飞行教练。这期间他分别在*978年和*982年获得亚利桑那大学系统工程硕士和博士学位。此后他去康涅狄格州纽黑文的健康系统*际公司任主管计算机服务的副总裁。*990年他回到图森,从事*业技术写作和咨询工作。他写下了多种*的传世之作,*括《TCP/IP详解》(三卷)、《UNIX环境**编程》和《UNIX网络编程》(两卷)。Stevens于*999年9月*日去世,年*48岁。2000年他被*际机构USENIX追授“*身成*奖”。

目录

目 录

Chapter *. Introduction / 概述 *
*.* Introduction / 概述*
*.2 Layering / 分层 *
*.3 TCP/IP Layering / TCP/IP的分层 6
*.4 Internet Addresses / 互联网的地址 7
*.5 The Domain Name System / 域名系统 9
*.6 Encapsulation / 封装9
*.7 Demultiplexing / 分用**
*.8 Client-Server Model / 客户-服务器模型 *2
*.9 Port Numbers / 端口号 *2
*.*0 Standardization Process / 标准化过程 *4
*.** RFCs *4
*.*2 Standard, Simple Services / 标准的简单服务*5
*.*3 The Internet / 互联网*6
*.*4 Implementations / 实现*6
*.*5 Application Programming Interfaces / 应用编程接口*7
*.*6 Test Network / 测试网络*8
*.*7 Summary / 小结*9

Chapter 2. Link Layer / 链路层2*
2.* Introduction / 概述 2*
2.2 Ethernet and IEEE 802 Encapsulation / 以太网和IEEE 802封装2*
2.3 Trailer Encapsulation / 尾*封装 23
2.4 SLIP: Serial Line IP / SLIP:串行线路IP 24
2.5 Compressed SLIP / 压缩的SLIP 25
2.6 PPP: Point-to-Point Protocol / PPP:点对点协议 26
2.7 Loopback Interface / 环回接口 28
2.8 MTU / **大传输单元MTU 29
2.9 Path MTU / 路径MTU 30
2.*0 Serial Line Throughput Calculations / 串行线路吞吐量计算30
2.** Summary / 小结 3*

Chapter 3. IP: Internet Protocol / IP:网际协议 33
3.* Introduction / 概述 33
3.2 IP Header / IP** 34
3.3 IP Routing / IP路由选择37
3.4 Subnet Addressing / 子网寻址42
3.5 Subnet Mask / 子网掩码43
3.6 Special Case IP Addresses / *殊情况的IP地址 45
3.7 A Subnet Example / 子网示例46
3.8 ifconfig Command / ifconfig命令47
3.9 netstat Command / netstat命令 49
3.*0 IP Futures / IP的未来49
3.** Summary / 小结 50

Chapter 4. ARP: Address Resolution Protocol / ARP:地址解析协议 53
4.* Introduction / 概述 53
4.2 An Example / 示例54
4.3 ARP Cache / ARP*速缓存56
4.4 ARP Packet Format / ARP的分组格式56
4.5 ARP Examples / ARP示例57
4.6 Proxy ARP / 代理ARP60
4.7 Gratuitous ARP / *费ARP 62
4.8 arp Command / arp命令 63
4.9 Summary / 小结 63

Chapter 5. RARP: Reverse Address Resolution Protocol / RARP:逆地址解析协议65
5.* Introduction / 概述 65
5.2 RARP Packet Format / RARP的分组格式65
5.3 RARP Examples / RARP示例 66
5.4 RARP Server Design / RARP服务器的设计 67
5.5 Summary / 小结 68

Chapter 6. ICMP: Internet Control Message Protocol / ICMP:Internet控制报文协议69
6.* Introduction / 概述 69
6.2 ICMP Message Types / ICMP报文的类型70
6.3 ICMP Address Mask Request and Reply / ICMP地址掩码请求与应答72
6.4 ICMP Timestamp Request and Reply / ICMP时间戳请求与应答74
6.5 ICMP Port Unreachable Error / ICMP端口*可达差错77
6.6 4.4BSD Processing of ICMP Messages / ICMP报文的4.4BSD处理8*
6.7 Summary / 小结 83

Chapter 7. Ping Program / Ping程序85
7.* Introduction / 概述 85
7.2 Ping Program / Ping程序85
7.3 IP Record Route Option / IP记录路由选项9*
7.4 IP Timestamp Option / IP时间戳选项95
7.5 Summary / 小结 96

Chapter 8. Traceroute Program / Traceroute程序 97
8.* Introduction / 概述97
8.2 Traceroute Program Operation / Traceroute 程序的操作97
8.3 LAN Output / 局域网输出99
8.4 WAN Output / 广域网输出*02
8.5 IP Source Routing Option / IP源站选路选项*04
8.6 Summary / 小结 *09

Chapter 9. IP Routing / IP选路 ***
9.* Introduction / 概述 ***
9.2 Routing Principles / 选路的原理**2
9.3 ICMP Host and Network Unreachable Errors / ICMP主机与网络*可达差错**7
9.4 To Forward or Not to Forward / 转发或*转发**9
9.5 ICMP Redirect Errors / ICMP重定向差错**9
9.6 ICMP Router Discovery Messages ICMP路由器发现报文 / *23
9.7 Summary / 小结*25

Chapter *0. Dynamic Routing Protocols / 动态选路协议*27
*0.* Introduction / 概述 *27
*0.2 Dynamic Routing / 动态选路*27
*0.3 Unix Routing Daemons / Unix选路守护程序*28
*0.4 RIP: Routing Information Protocol / RIP:选路信息协议*29
*0.5 RIP Version 2 / RIP版本2 *36
*0.6 OSPF: Open Shortest Path First / OSPF:开放**短路径*先*37
*0.7 BGP: Border Gateway Protocol / BGP:边界网关协议*38
*0.8 CIDR: Classless Interdomain Routing / CIDR:*类型域间选路*40
*0.9 Summary / 小结 *4*

Chapter **. UDP: User Datagram Protocol / UDP:用户数据报协议*43
**.* Introduction / 概述 *43
**.2 UDP Header / UDP***44
**.3 UDP Checksum / UDP检验和*44
**.4 A Simple Example / 简单示例*47
**.5 IP Fragmentation / IP分段*48
**.6 ICMP Unreachable Error (Fragmentation Required) / ICMP*可达差错(需要分片) *5*
**.7 Determining the Path MTU Using Traceroute / 用Traceroute确定路径MTU *53
**.8 Path MTU Discovery with UDP / 采用UDP的路径MTU发现 *55
**.9 Interaction Between UDP and ARP / UDP和ARP之间的交互作用*57
**.*0 Maximum UDP Datagram Size / **大UDP数据报长度*59
**.** ICMP Source Quench Error / ICMP源站抑制差错*60
**.*2 UDP Server Design / UDP服务器的设计*62
**.*3 Summary / 小结 *67

Chapter *2. Broadcasting and Multicasting / 播和多播 *69
*2.* Introduction / 概述 *69
*2.2 Broadcasting / 广播*7*
*2.3 Broadcasting Examples / 广播示例*72
*2.4 Multicasting / 多播 *75
*2.5 Summary / 小结 *78

Chapter *3. IGMP: Internet Group Management Protocol / IGMP:Internet组管理协议*79
*3.* Introduction / 概述 *79
*3.2 IGMP Message / IGMP报文*80
*3.3 IGMP Protocol / IGMP协议*80
*3.4 An Example / 示例*83
*3.5 Summary / 小结 *86


Chapter *4. DNS: The Domain Name System / DNS:域名系统 *87

*4.* Introduction / 概述 *87
*4.2 DNS Basics / DNS基础*88
*4.3 DNS Message Format / DNS的报文格式 *9*
*4.4 A Simple Example / 简单示例*94
*4.5 Pointer Queries / 指针查询*98
*4.6 Resource Records / 资源记录20*
*4.7 Caching / *速缓存203
*4.8 UDP or TCP / 用UDP还是用TCP 206
*4.9 Another Example / 另*个示例206
*4.*0 Summary / 小结 208

Chapter *5. TFTP: Trivial File Transfer Protocol / TFTP:简单文件传送协议209
*5.* Introduction / 概述 209
*5.2 Protocol / 协议209
*5.3 An Example / 示例 2**
*5.4 Securit / *性2*3
*5.5 Summary / 小结 2*3

Chapter *6. BOOTP: Bootstrap Protocol / BOOTP:引导程序协议2*5
*6.* Introduction / 概述 2*5
*6.2 BOOTP Packet Format / BOOTP的分组格式 2*5
*6.3 An Example / 示例 2*8
*6.4 BOOTP Server Design / BOOTP服务器的设计2*9
*6.5 BOOTP Through a Router / BOOTP穿越路由器220
*6.6 Vendor-Specific Information / *定厂商信息 22*
*6.7 Summary / 小结 222

Chapter *7. TCP: Transmission Control Protocol / TCP:传输控制协议 223
*7.* Introduction / 概述 223
*7.2 TCP Services / TCP服务223
*7.3 TCP Header / TCP**225
*7.4 Summary / 小结 227

Chapter *8. TCP Connection Establishment and Termination / TCP连接的建立与*止229
*8.* Introduction / 概述 229
*8.2 Connection Establishment and Termination / 连接的建立与*止229
*8.3 Timeout of Connection Establishment / 连接建立的*时235
*8.4 Maximum Segment Size / **大报文段长度236
*8.5 TCP Half-Close / TCP的半关闭238
*8.6 TCP State Transition Diagram / TCP的状态转换图240
*8.7 Reset Segments / 复位报文段246
*8.8 Simultaneous Open / 同时打开250
*8.9 Simultaneous Close / 同时关闭252
*8.*0 TCP Options / TCP选项253
*8.** TCP Server Design / TCP服务器的设计254
*8.*2 Summary / 小结 260

Chapter *9. TCP Interactive Data Flow / TCP的交互数据流263
*9.* Introduction / 概述 263
*9.2 Interactive Input / 交互式输入263
*9.3 Delayed Acknowledgments / 经受时延的确认 265
*9.4 Nagle Algorithm / Nagle算法 267
*9.5 Window Size Advertisements / 窗口大小通告274
*9.6 Summary / 小结 274

Chapter 20. TCP Bulk Data Flow / TCP的成块数据流275
20.* Introduction / 概述 275
20.2 Normal Data Flow / 正常数据流 275
20.3 Sliding Windows / 滑动窗口280
20.4 Window Size / 窗口大小282
20.5 PUSH Flag / PUSH标志284
20.6 Slow Start / 慢启动285
20.7 Bulk Data Throughput / 成块数据的吞吐量286
20.8 Urgent Mode / 紧急方式292
20.9 Summary / 小结 296

Chapter 2*. TCP Timeout and Retransmission / TCP的*时与重传297
2*.* Introduction / 概述 297
2*.2 Simple Timeout and Retransmission Example / *时与重传的简单示例 298
2*.3 Round-Trip Time Measurement / 往返时间测量299
2*.4 An RTT Example / RTT示例30*
2*.5 Congestion Example / 拥塞示例 306
2*.6 Congestion Avoidance Algorithm / 拥塞避*算法3*0
2*.7 Fast Retransmit and Fast Recovery Algorithms / 快速重传与快速恢复算法3*2
2*.8 Congestion Example (Continued) / 拥塞示例(续)3*3
2*.9 Per-Route Metrics / 按每条路由进行度量3*6
2*.*0 ICMP Errors / ICMP的差错 3*7
2*.** Repacketization / 重新分组320
2*.*2 Summary / 小结 32*

Chapter 22. * Persist Timer / TCP的坚持定时器323
22.* Introduction / 概述 323
22.2 An Example / 示例323
22.3 Silly Window Syndrome / 糊涂窗口综合症325
22.4 Summary / 小结 330

Chapter 23. * Keepalive Timer / TCP的*活定时器33*
23.* Introduction / 概述 / 33*
23.2 Description / 描述332
23.3 Keepalive Examples / *活示例333
23.4 Summary / 小结 337

Chapter 24. TCP Futures and Performance / TCP的未来和性能339
24.* Introduction / 概述 339
24.2 Path MTU Discovery / 路径MTU发现340
24.3 Long Fat Pipes / 长肥管道344
24.4 Window Scale Option / 窗口扩大选项 347
24.5 Timestamp Option / 时间戳选项349
24.6 PAWS: Protection Against Wrapped Sequence Numbers / PAWS:*止回绕的序号35*
24.7 T/TCP: A TCP Extension for Transactions / T/TCP:为事务用的TCP扩展 35*
24.8 TCP Performance / TCP的性能354
24.9 Summary / 小结 356

Chapter 25. SNMP: Simple Network Management Protocol / SNMP:简单网络管理协议 359
25.* Introduction / 概述 359
25.2 Protocol / 协议360
25.3 Structure of Management Information / 管理信息结构363
25.4 Object Identifiers / 对象标识符364
25.5 Introduction to the Management Information Base / 管理信息库介绍365
25.6 Instance Identification / 实例标识367
25.7 Simple Examples / *些简单示例370
25.8 Management Information Base (Continued) / 管理信息库(续)372
25.9 Additional Examples / 其他示例382
25.*0 Traps 385
25.** ASN.* and BER / ASN.*和BER 386
25.*2 SNMP Version 2 / SNMP版本2 387
25.*3 Summary / 小结 388

Chapter 26. Telnet and Rlogin: Remote Login / Telnet和Rlogin:远程登录389
26.* Introduction / 概述389
26.2 Rlogin Protocol / Rlogin协议39*
26.3 Rlogin Examples / Rlogin示例396
26.4 Telnet Protocol / Telnet协议 40*
26.5 Telnet Examples / Telnet示例 406
26.6 Summary / 小结4*7

Chapter 27. FTP: File Transfer Protocol / FTP:文件传送协议4*9
27.* Introduction / 概述4*9
27.2 FTP Protocol / FTP协议4*9
27.3 FTP Examples / FTP示例426
27.4 Summary / 小结439

Chapter 28. SMTP: Simple Mail Transfer Protocol / SMTP:简单邮件传送协议 44*
28.* Introduction / 概述44*
28.2 SMTP Protocol / SMTP协议442
28.3 SMTP Examples / SMTP示例448
28.4 SMTP Futures / SMTP的未来452
28.5 Summary / 小结459

Chapter 29. NFS: Network File System / 网络文件系统46*
29.* Introduction / 概述46*
29.2 Sun Remote Procedure Call / Sun远程过程调用46*
29.3 XDR: External Data Representation / XDR:外*数据表示 465
29.4 Port Mapper / 端口映射器465
29.5 NFS Protocol / NFS协议 467
29.6 NFS Examples / NFS示例474
29.7 NFS Version 3 / NFS版本3 479
29.8 Summary / 小结480

Chapter 30. Other TCP/IP Applications / 其他TCP/IP应用程序48*
30.* Introduction / 概述48*
30.2 Finger Protocol / Finger协议48*
30.3 Whois Protocol / Whois协议483
30.4 Archie, WAIS, Gopher, Veronica, and WWW / Archie、WAIS、Gopher、Veronica和WWW 484
30.5 X Window System / X窗口系统 486
30.6. Summary / 小结 490

Appendix A. The tcpdump Program / tcpdump程序 49*
A.* BSD Packet Filter / BSD分组过滤器 49*
A.2 SunOS Network Interface Tap / SunOS NIT 493
A.3 SVR4 Data Link Provider Interface / SVR4 DLPI 494
A.4 tcpdump Output / tcpdump输出 495
A.5 Security Considerations / *注意事项 496
A.6 Socket Debug Option/套接字调试选项 496

Appendix B. Computer Clocks / 计算机时钟 499

Appendix C, The sock Program / sock程序 503

Appendix D. Solutions to Selected Exercises / *分习题的解答507

Appendix E Configurable Options / 配置选项525
E.* BSD/386 Version *.0 526
E.2 SunOS 4.*.3 527
E.3 System V Release 4 529
E.4 Solaris 2.2 529
E.5 AIX 3.2.2 536
E.6 4.4BSD 537

Appendix F. Source Code Availability / 可用源代码 539

Bibliography / 参考文献 543