TCP/IP Illustrated, Volume 1: The Protocols (Hardcover)
暫譯: TCP/IP 插圖解說,第 1 卷:協定 (精裝版)
W. Richard Stevens
- 出版商: Addison Wesley
- 出版日期: 1993-12-31
- 售價: $1,205
- 語言: 英文
- 頁數: 576
- 裝訂: Hardcover
- ISBN: 0201633469
- ISBN-13: 9780201633467
-
相關分類:
TCP/IP
-
其他版本:
TCP/IP Illustrated, Volume 1 : The Protocols, 2/e (美國原版)
買這商品的人也買了...
-
$1,230$1,205 -
$580$458 -
$680$537 -
$2,660$2,527 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$880$695 -
$1,900$1,805 -
$690$587 -
$780$741 -
$750$638 -
$760$600 -
$590$466 -
$690$538 -
$720$569 -
$750$638 -
$560$476 -
$850$723 -
$480$379 -
$750$593 -
$780$616 -
$490$382 -
$650$507 -
$880$695 -
$650$507
商品描述
Description
For students writing applications that run over TCP/IP, or for those responsible for managing and maintaining a TCP/IP internet, this book's innovative approach helps readers at all levels to truly understand how TCP/IP really works. Rather than just describing the protocols from an abstract, standards-related point of view-describing what the standards say the protocol suite should do-TCP/IP Illustrated, Volume 1 actually shows the protocols in action. Stevens also recognizes that readers deal with multiple TCP/IP implementations on heterogeneous platforms. Therefore, the examples in this book show how current, popular TCP/IP implementations operate-SunOS 4.1.3, Solaris 2.2, System V Release 4, BSD/386, AIX 3.2.2, and 4.4 BSD-and they relate these real-world implementations to the RFC standards.
Table Of Contents
1. Introduction.Layering.
TCP/IP Layering.
Internet Addresses.
The Domain Name System.
Encapsulation.
Demultiplexing.
Client-Server Model.
Port Numbers.
Standardization Process.
RFCs.
Standard, Simple Services.
The Internet.
Implementations.
Application Programming Interfaces.
Test Network.
Summary.
2. Link Layer.
Ethernet and IEEE 802 Encapsulation.
Trailer Encapsulation.
SLIP: Serial Line IP.
Compressed SLIP.
PPP: Point-to-Point Protocol.
Loopback Interface.
MTU.
Path MTU.
Serial Line Throughput Calculations.
Summary.
3. IP: Internet Protocol.
IP Header.
IP Routing.
Subnet Addressing.
Subnet Mask.
Special Case IP Addresses.
A Subnet Example.
ifconfig Command.
netstat Command.
IP Futures.
Summary.
4. ARP: Address Resolution Protocol.
An Example.
ARP Cache.
ARP Packet Format.
ARP Examples.
Proxy ARP.
Gratuitous ARP.
arp Command.
Summary.
5. RARP: Reverse Address Resolution Protocol.
RARP Packet Format.
RARP Examples.
RARP Server Design.
Summary.
6. ICMP: Internet Control Message Protocol.
ICMP Message Types.
ICMP Address Mask Request and Reply.
ICMP Timestamp Request and Reply.
ICMP Port Unreachable Error.
4.4BSD Processing of ICMP Messages.
Summary.
7. Ping Program.
Ping Program.
IP Record Route Option.
IP Timestamp Option.
Summary.
8. Traceroute Program.
Traceroute Program Operation.
LAN Output.
WAN Output.
IP Source Routing Option.
Summary.
9. IP Routing.
Routing Principles.
ICMP Host and Network Unreachable Errors.
To Forward or Not to Forward.
ICMP Redirect Errors.
ICMP Router Discovery Messages.
Summary.
10. Dynamic Routing Protocols.
Dynamic Routing.
Unix Routing Daemons.
RIP: Routing Information Protocol.
RIP Version 2.
OSPF: Open Shortest Path First.
BGP: Border Gateway Protocol.
CIDR: Classless Interdomain Routing.
Summary.
11. UDP: User Datagram Protocol.
UDP Header.
UDP Checksum.
A Simple Example.
IP Fragmentation.
ICMP Unreachable Error (Fragmentation Required).
Determining the Path MTU Using Traceroute.
Path MTU Discovery with UDP.
Interaction Between UDP and ARP.
Maximum UDP Datagram Size.
ICMP Source Quench Error.
UDP Server Design.
Summary.
12. Broadcasting and Multicasting.
Broadcasting.
Broadcasting Examples.
Multicasting.
Summary.
13. IGMP: Internet Group Management Protocol.
IGMP Message.
IGMP Protocol.
An Example.
Summary.
14. DNS: The Domain Name System.
DNS Basics.
DNS Message Format.
A Simple Example.
Pointer Queries.
Resource Records.
Caching.
UDP or TCP.
Another Example.
Summary.
15. TFTP: Trivial File Transfer Protocol.
Protocol.
An Example.
Security.
Summary.
16. BOOTP: Bootstrap Protocol.
BOOTP Packet Format.
An Example.
BOOTP Server Design.
BOOTP Through a Router.
Vendor-Specific Information.
Summary.
17. TCP: Transmission Control Protocol.
TCP Services.
TCP Header.
Summary.
18. TCP Connection Establishment and Termination.
Connection Establishment and Termination.
Timeout of Connection Establishment.
Maximum Segment Size.
TCP Half-Close.
TCP State Transition Diagram.
Reset Segments.
Simultaneous Open.
Simultaneous Close.
TCP Options.
TCP Server Design.
Summary.
19. TCP Interactive Data Flow.
Interactive Input.
Delayed Acknowledgments.
Nagle Algorithm.
Window Size Advertisements.
Summary.
20. TCP Bulk Data Flow.
Normal Data Flow.
Sliding Windows.
Window Size.
PUSH Flag.
Slow Start.
Bulk Data Throughput.
Urgent Mode.
Summary.
21. TCP Timeout and Retransmission.
Simple Timeout and Retransmission Example.
Round-Trip Time Measurement.
An RTT Example.
Congestion Example.
Congestion Avoidance Algorithm.
Fast Retransmit and Fast Recovery Algorithms.
Congestion Example (Continued).
Per-Route Metrics.
ICMP Errors.
Repacketization.
Summary.
22. TCP Persist Timer.
An Example.
Silly Window Syndrome.
Summary.
23. TCP Keepalive Timer.
Description.
Keepalive Examples.
Summary.
24. TCP Futures and Performance.
Path MTU Discovery.
Long Fat Pipes.
Window Scale Option.
Timestamp Option.
PAWS: Protection Against Wrapped Sequence Numbers.
T/TCP: A TCP Extension for Transactions.
TCP Performance.
Summary.
25. SNMP: Simple Network Management Protocol.
Protocol.
Structure of Management Information.
Object Identifiers.
Introduction to the Management Information Base.
Instance Identification.
Simple Examples.
Management Information Base (Continued).
Additional Examples.
Traps.
ASN.1 and BER.
SNMP Version 2.
Summary.
26. Telnet and Rlogin: Remote Login.
Rlogin Protocol.
Rlogin Examples.
Telnet Protocol.
Telnet Examples.
Summary.
27. FTP: File Transfer Protocol.
FTP Protocol.
FTP Examples.
Summary.
28. SMTP: Simple Mail Transfer Protocol.
SMTP Protocol.
SMTP Examples.
SMTP Futures.
Summary.
29. NFS: Network File System.
Sun Remote Procedure Call.
XDR: External Data Representation.
Port Mapper.
NFS Protocol.
NFS Examples.
NFS Version 3.
Summary.
30. Other TCP/IP Applications.
Finger Protocol.
Whois Protocol.
Archie, WAIS, Gopher, Veronica, and WWW.
X Window System.
Summary.
Appendix A. The tcpdump Program.
SunOS Network Interface Tap.
SVR4 Data Link Provider Interface.
tcpdump Output.
Security Considerations.
Socket Debug Option.
Appendix B. Computer Clocks.
Appendix C. The sock Program.
Appendix D. Solutions to Selected Exercises.
Appendix E. Configurable Options.
SunOS 4.1.3.
System V Release 4.
Solaris 2.2.
AIX 3.2.2.
4.4BSD.
Appendix F. Source Code Availability.
Bibliography.
Index. 0201633469T04062001

商品描述(中文翻譯)
描述
對於撰寫在 TCP/IP 上運行的應用程式的學生,或負責管理和維護 TCP/IP 網際網路的人員,本書的創新方法幫助各個層級的讀者真正理解 TCP/IP 的運作方式。《TCP/IP Illustrated, Volume 1》不僅僅是從抽象的標準相關角度描述協議——描述標準所說的協議套件應該做什麼——而是實際展示協議的運作。Stevens 也認識到讀者在異構平台上處理多種 TCP/IP 實作。因此,本書中的範例展示了當前流行的 TCP/IP 實作如何運作——SunOS 4.1.3、Solaris 2.2、System V Release 4、BSD/386、AIX 3.2.2 和 4.4 BSD——並將這些實際的實作與 RFC 標準相關聯。
目錄
1. 介紹
介紹
分層
TCP/IP 分層
網際網路地址
網域名稱系統
封裝
去多路復用
客戶端-伺服器模型
埠號
標準化過程
RFC
標準、簡單服務
網際網路
實作
應用程式介面
測試網路
總結
2. 連結層
介紹
以太網和 IEEE 802 封裝
尾部封裝
SLIP:串行線 IP
壓縮 SLIP
PPP:點對點協議
迴路介面
MTU
路徑 MTU
串行線吞吐量計算
總結
3. IP:網際網路協議
介紹
IP 標頭
IP 路由
子網地址
子網掩碼
特殊案例 IP 地址
子網範例
ifconfig 命令
netstat 命令
IP 未來
總結
4. ARP:地址解析協議
介紹
範例
ARP 快取
ARP 封包格式
ARP 範例
代理 ARP
免費 ARP
arp 命令
總結
5. RARP:反向地址解析協議
介紹
RARP 封包格式
RARP 範例
RARP 伺服器設計
總結
6. ICMP:網際網路控制消息協議
介紹
ICMP 消息類型
ICMP 地址掩碼請求和回覆
ICMP 時間戳請求和回覆
ICMP 埠不可達錯誤
4.4BSD 對 ICMP 消息的處理
總結
7. Ping 程式
介紹
Ping 程式
IP 記錄路由選項
IP 時間戳選項
總結
8. Traceroute 程式
介紹
Traceroute 程式操作
LAN 輸出
WAN 輸出
IP 源路由選項
總結
9. IP 路由
介紹
路由原則
ICMP 主機和網路不可達錯誤
是否轉發
ICMP 重定向錯誤
ICMP 路由器發現消息
總結
10. 動態路由協議
介紹
動態路由
Unix 路由守護進程
RIP:路由資訊協議
RIP 版本 2
OSPF:開放最短路徑優先
BGP:邊界網關協議
CIDR:無類別網際網路路由
總結
11. UDP:用戶數據報協議
介紹
UDP 標頭
UDP 校驗和
簡單範例
IP 分片
ICMP 不可達錯誤(需要分片)
使用 Traceroute 確定路徑 MTU
使用 UDP 的路徑 MTU 發現
UDP 與 ARP 之間的互動
最大 UDP 數據報大小
ICMP 源抑制錯誤
UDP 伺服器設計
總結
12. 廣播和多播
介紹
廣播
廣播範例
多播
總結
13. IGMP:網際網路群組管理協議
介紹
IGMP 消息
IGMP 協議
範例
總結
14. DNS:網域名稱系統
介紹
DNS 基礎
DNS 消息格式
簡單範例
指標查詢
資源記錄
快取
UDP 或 TCP
另一個範例
總結
15. TFTP:簡單檔案傳輸協議
介紹
協議
範例
安全性
總結
16. BOOTP:啟動協議
介紹
BOOTP 封包格式
範例
BOOTP 伺服器設計
通過路由器的 BOOTP
廠商特定資訊
總結
17. TCP:傳輸控制協議
介紹
TCP 服務
TCP 標頭
總結
18. TCP 連接建立與終止
介紹
連接建立與終止
連接建立的超時
最大段大小
TCP 半關閉
TCP 狀態轉換圖
重置段
同時開啟
同時關閉
TCP 選項
TCP 伺服器設計
總結
19. TCP 互動數據流
介紹
互動輸入
延遲確認
Nagle 演算法
窗口大小廣告
總結
20. TCP 大量數據流
介紹
正常數據流
滑動窗口
窗口大小
PUSH 標誌
慢啟動
大量數據吞吐量
緊急模式
總結
21. TCP 超時與重傳
介紹
簡單的超時與重傳範例
往返時間測量
RTT 範例
擁塞範例
擁塞避免演算法
快速重傳與快速恢復演算法
擁塞範例(續)
每路由度量
ICMP 錯誤
重新打包
總結
22. TCP 持久計時器
介紹
範例
愚蠢窗口綜合症
總結
23. TCP 保活計時器
介紹
描述
保活範例
總結
24. TCP 未來與性能
介紹
路徑 MTU 發現
長胖管道
窗口縮放選項
時間戳選項
PAWS:防止序列號重包的保護
T/TCP:交易的 TCP 擴展
TCP 性能
總結
25. SNMP:簡單網路管理協議
介紹
協議
管理資訊結構
物件識別符
管理資訊庫簡介
實例識別
簡單範例
管理資訊庫(續)
額外範例
陷阱
ASN.1 和 BER
SNMP 版本 2
總結
26. Telnet 和 Rlogin:遠端登入
介紹
Rlogin 協議
Rlogin 範例
Telnet 協議
Telnet 範例
總結
27. FTP:檔案傳輸協議
介紹
FTP 協議
FTP 範例
總結
28. SMTP:簡單郵件傳輸協議
介紹
SMTP 協議
SMTP 範例
SMTP 未來
總結
29. NFS:網路檔案系統
介紹
Sun 遠端程序調用
XDR:外部數據表示
埠映射器
NFS 協議
NFS 範例
NFS 版本 3
總結
30. 其他 TCP/IP 應用
介紹
Finger 協議
Whois 協議
Archie、WAIS、Gopher、Veronica 和 WWW
X Window 系統
總結
附錄 A. tcpdump 程式
BSD 封包過濾器
SunOS 網路介面 Tap
SVR4 數據鏈路提供者介面
tcpdump 輸出
安全考量
Socket 除錯選項
附錄 B. 電腦時鐘
附錄 C. sock 程式
附錄 D. 選定練習的解答
附錄 E. 可配置選項
BSD/386 版本 1.0
SunOS 4.1.3
System V Release 4
Solaris 2.2
AIX 3.2.2
4.4BSD
附錄 F. 原始碼可用性
參考文獻
索引