本书是一本有关传输协议Internet协议(TCP/TP)的经典教材。它详尽地讲述有关TCP/IP的整套协议规范和应用的协议规则的产生,到最近的广泛运用,包括在世界上最大的网络Internet中的运用。本书由三个部分组成,第一部分介绍了TCP/IP协议的历史体系结构和标准,包含了核心网络传送路由和运用协议。第二部分讲述了新的体系结构和应用协议,如IPV6 IP安全和服务质量控制等。第三部分详细讲述了有关网络连接和TCP/IP平台的具体应用配置。\r\n 本书内容新,理论联系实际,讲练结合,有很强的实用性和指导性,面向开发和编程人员,对于广大计算机专业的师生来说是一本必不可少的计算机教程,对于社会上广大自学者和工程人员来讲也具有很强的指导作用。\r\n 本版光盘内容包括本版电子书。\r\n
PART ONE Architecture and Core Protocols\r\n\r\nCHAPTER 1 Introduction to TCP/IP-History,Architecture and Standards\r\n\r\n1.1 Internet History-Where It All Came From\r\n1.1.1 Internetworks\r\n1.1.2 The Internet\r\n1.1.3 ARPANET\r\n1.1.4 NSFNET\r\n1.1.5 Commercial Use of the Internet\r\n1.1.6 Information Superhighway\r\n1.1.7 Internet2\r\n1.1.8 The Open Systems Interconnect(OSI)Model\r\n1.2 TCP/IP Architectural Model-What It Is All About\r\n1.2.1 Internetworking\r\n1.2.2 The TCP/IP Protocol Stack\r\n1.2.3 TCP/IP Applications\r\n1.2.4 Bridges,Routers and Gateways\r\n1.3 Finding Standards for TCP/IP and the Internet\r\n1.3.1 Request For Comments(RFC)\r\n1.3.2 Internet Standards\r\n1.3.3 Major Internet Protocols\r\n1.4 Future of the Internet\r\n1.5 IBM and the Internet\r\n1.5.1 The Network Computing Framework\r\n\r\nCHAPTER 2 Internetworking and Transport Layer Protocols\r\n\r\n2.1 Internet Protocol(IP)\r\n2.1.1 IP Addressing\r\n2.1.2 IP Subnets\r\n2.1.3 IP Routing\r\n2.1.4 Methods of Delivery-Unicast,Broadcast,Multicast and Anycast\r\n2.1.5 The IP Address Exhaustion Problem\r\n2.1.6 Intranets(Private IP Addresses)\r\n2.1.7 Classless Inter-Domain Routing(CIDR)\r\n2.1.8 IP Datagram\r\n2.2 Internet Control Message Protocol(ICMP)\r\n2.2.1 ICMP Messages\r\n2.2.2 ICMP Applications\r\n2.3 Internet Group Management Protocol(IGMP)\r\n2.4 Address Resolution Protocol(ARP)\r\n2.4.1 ARP Overview\r\n2.4.2 ARP Detailed Concept\r\n2.4.3 ARP and Subnets\r\n2.4.4 Proxy-ARP or Transparent Subnetting\r\n2.5 Reverse Address Resolution Protocol(RARP)\r\n2.5.1 RARP Concept\r\n2.6 Ports and Sockets\r\n2.6.1 Ports\r\n2.6.2 Sockets\r\n2.7 User Datagram Protocol(UDP)\r\n2.7.1 UDP Datagram Format\r\n2.7.2 UDP Application Programming Interface\r\n2.8 Transmission Control Protocol(TCP)\r\n2.8.1 TCP Concept\r\n2.8.2 TCP Application Programming Interface\r\n2.8.3 TCP Congestion Control Algorithms\r\n2.9 References\r\n\r\nCHAPTER 3 Routing Protocols\r\n\r\n3.1 Basic IP Routing\r\n3.1.1 Routing Processes\r\n3.1.2 Autonomous Systmes\r\n3.2 Routing Algorithms\r\n3.2.1 Static Routing\r\n3.2.2 Distance Vector Routing\r\n3.2.3 Link State Routing\r\n3.3 Interior Gateway Protocols(IGP)\r\n3.3.1 Routing Information Protocol(RIP)\r\n3.3.2 Routing Information Protocol Version 2(RIP-2)\r\n3.3.3 RIPng for IPv6\r\n3.3.4 Open Shortest Path First(OSPF)\r\n3.4 Exterior Routing Protocols\r\n3.4.1 Exterior Gateway Protocol(EGP)\r\n3.4.2 Border Gateway Protocol(BGP-4)\r\n3.5 References\r\n\r\nCHAPTER 4 Application Protocols\r\n\r\n4.1 Characteristics of Applications\r\n4.1.1 Client/Server Model\r\n4.2 Domain Name System(DNS)\r\n4.2.1 The Hierarchical Namespace\r\n4.2.2 Fully Qualified Domain Names(FQDNs)\r\n4.2.3 Generic Domains\r\n4.2.4 Country Domains\r\n4.2.5 Mapping Domain Names to IP Addresses\r\n4.2.6 Mapping IP Addresses to Domain Names-Pointer Queries\r\n4.2.7 The Distributed Name Space\r\n4.2.8 Domain Name Resolution\r\n4.2.9 Domain Name System Resource Records\r\n4.2.10 Domain Name System Messages\r\n4.2.11 A Simple Scenario\r\n4.2.12 Extended scenario\r\n4.2.13 Transport\r\n4.2.14 DNS Applications\r\n4.2.15 References\r\n4.3 TELNET\r\n4.3.1 TELNET Operation\r\n4.3.2 Terminal Emulation(Telnet 3270)\r\n4.3.3 TN3270 Enhancements(TN3270E)\r\n4.3.4 References\r\n4.4 File Transfer Protocol(FTP)\r\n4.4.1 Overview of FTP\r\n4.4.2 FTP Operations\r\n4.4.3 Reply Codes\r\n4.4.4 FTP Scenario\r\n4.4.5 A Sample FTP Session\r\n4.4.6 Anonymous FTP\r\n4.4.7 Remote Job Entry Using FTP\r\n4.5 Trivial File Transfer Protocol(TFTP)\r\n4.5.1 FTFP Usage\r\n4.5.2 Protocol Description\r\n4.5.3 TFTP Multicast Option\r\n4.5.4 Security Issue\r\n4.6 Remote Execution Command Protocol(REXEC and RSH)\r\n4.6.1 Principle of Operation\r\n4.7 Simple Mail Transfer Protocol(SMTP)\r\n4.7.1 How SMTP Works\r\n4.7.2 SMTP and the Domain Name System\r\n4.7.3 References\r\n4.8 Multipurpose Internet Mail Extensions(MIME)\r\n4.8.1 How MIME Works\r\n4.8.2 The Content-Type Field\r\n4.8.3 The Content-Transfer-Encoding Field\r\n4.8.4 Using Non-ASCII Characters in Message Headers\r\n4.8.5 References\r\n4.9 Post Office Protocol(POP)\r\n4.9.1 POP3 Commands and Responses\r\n4.9.2 References\r\n4.10 Internet Message Access Protocol Version 4(IMAP4)\r\n4.10.1 IMAP4 Underlying Electronic Mail Models\r\n4.10.2 IMAP4 Commands and Responses\r\n4.10.3 Message Numbers\r\n4.10.4 IMAP4 States\r\n4.10.5 Client Commands\r\n4.10.6 References\r\n4.11 Network Management\r\n4.11.1 Standards\r\n4.11.2 Bootstrap Protocol(BOOTP)\r\n4.11.3 Structure and Identification of Management Information(SMI)\r\n4.11.4 Management Information Base(MIB)\r\n4.11.5 Simple Network Management Protocol(SNMP)\r\n4.11.6 Simple Network Management Protocol Version 2(SNMPv2)\r\n4.11.7 MIB for SNMPv2\r\n4.11.8 Single Authentication and Privacy Protocol\r\n4.11.9 The New Administrative Model\r\n4.11.10 Simple Network Management Protocol Version 3(SNMPv3)\r\n4.11.11 References\r\n4.12 Remote Printing(LPR and LPD)\r\n4.13 Network File System(NFS)\r\n4.13.1 NFS Concept\r\n4.13.2 WebNFS\r\n4.13.3 References\r\n4.14 X Window System\r\n4.14.1 Functional Concept\r\n4.14.2 Protocol\r\n4.15 Finger Protocol\r\n4.16 NETSTAT\r\n4.17 Network Information System(NIS)\r\n4.18 NetBIOS over TCP/IP\r\n4.18.1 NetBIOS over TCP/IP in IBM OS/2 Warp 4\r\n4.18.2 NetBIOS over TCP/IP in Microsoft Windows Systems\r\n4.18.3 NetBIOS Name Server(NBNS)Implementations\r\n4.19 Application Programming Interfaces(APIs)\r\n4.19.1 The Socket API\r\n4.19.2 Remote Procedure Call(RPC)\r\n4.19.3 Windows sockets Version 2(Winsock V2.0)\r\n4.19.4 SNMP Distributed Programming Interface(SNMP DPI)\r\n4.19.5 FTP API\r\n4.19.6 CICS Socket Interface\r\n4.19.7 IMS Socket Interface\r\n4.19.8 Sockets Extended\r\n4.19.9 REXX Sockets\r\n\r\nPART TWO Special Purpose Protocols and New Technologies\r\n\r\nCHAPTER 5 TCP/IP Security Overview\r\n\r\n5.1 Security Exposures and Solutions\r\n5.1.1 Common Attacks Against Security\r\n5.1.2 Solutions to Network Security Problems\r\n5.1.3 Implementations of Security Solutions\r\n5.1.4 Network Security Policy\r\n5.2 A Short Introduction to Cryptography\r\n5.2.1 Terminology\r\n5.2.2 symmetric or Secret-Key Algorithms\r\n5.2.3 Asymmetric or Public-Key Algorithms\r\n5.2.4 Hash Functions\r\n5.2.5 digital Certificates and Certification Authorities\r\n5.2.6 Random-Number Generators\r\n5.2.7 Export/Import Restrictions on Cryptography\r\n5.3 Firewalls\r\n5.3.1 Firewall Concept\r\n5.3.2 Components of A Firewall System\r\n5.3.3 Packet-Filtering Router\r\n5.3.4 Application Level Gateway(Proxy)\r\n5.3.5 Circuit Level Gateway\r\n5.3.6 Firewall Examples\r\n5.4 Network Address Translation(NAT)\r\n5.4.1 NAT Concept\r\n5.4.2 Translation Mechanism\r\n5.4.3 NAT Limitations\r\n5.5 The IP Security Architecture(IPSec)\r\n5.5.1 Concepts\r\n5.5.2 Authentication Header(AH)\r\n5.5.3 Encapsulating Security Payload(ESP)\r\n5.5.4 Combining IPSec Protocols\r\n5.5.5 The Internet Key Exchange Protocol(IKE)\r\n5.5.6 References\r\n5.6 SOCKS\r\n5.6.1 SOCKS Version 5(SOCKSv5)\r\n5.7 Secure Sockets Layer(SSL)\r\n5.7.1 SSL Overview\r\n5.7.2 SSL Protocol\r\n5.8 Transport Layer Security(TLS)\r\n5.9 Secure Multipurpose Internet Mail Extension(S-MIME)\r\n5.10 Virtural Private Networks(VPN)Overview\r\n5.10.1 VPN Introduction and Benefits\r\n5.11 Kerberos Authentication and Authorization System\r\n5.11.1 Assumptions\r\n5.11.2 Naming\r\n5.11.3 Kerberos Authentication Process\r\n5.11.4 Kerberos Database Management\r\n5.11.5 Kerberos Authorization Model\r\n5.11.6 Kerberos Version 5 Enhancements \r\n5.12 Remote Access Authentication Protocols\r\n5.13 Layer 2 Tunneling Protocol(L2TP)\r\n5.13.1 Terminology\r\n5.13.2 Protocol Overview\r\n5.13.3 L2TP Security Issues\r\n5.14 Secure Electronic Transactions(SET)\r\n5.14.1 SET Roles\r\n5.14.2 SET Transactions\r\n5.14.3 The SET Certificate Scheme\r\n5.15 References\r\n\r\nCHAPTER 6 IP Version 6\r\n\r\n6.1 IPv6 Overview\r\n6.2 The IPv6 Header Format\r\n6.2.1 Packet Sizes\r\n6.2.2 Extension Headers\r\n6.2.3 IPv6 Addressing\r\n6.2.4 Priority\r\n6.2.5 Flow Labels\r\n6.3 Internet Control Message Protocol Version 6(ICMPv6)\r\n6.3.1 Neighbor Discovery\r\n6.3.2 Stateless Address Autoconfiguration\r\n6.3.3 Multicast Listener Discovery(MLD)\r\n6.4 DNS in IPv6\r\n6.4.1 Format of IPv6 Resource Records\r\n6.5 DHCP in IPv6\r\n6.5.1 Differences between DHCPv6 and DHCPv4\r\n6.5.2 DHCPv6 Messages\r\n6.6 Mobility Support in IPv6\r\n6.7 Internet Transition-Migrating from IPv4 to IPv6\r\n6.7.1 Dual IP Stack Implementation-The IPv6/IPv4 Node\r\n6.7.2 Tunneling\r\n6.7.3 Header Translation\r\n6.7.4 Interoperability Summary\r\n6.8 The Drive Towards IPv6\r\n6.9 References\r\n\r\nCHAPTER 7 Dynamic IP,Mobile IP and Network Computers\r\n\r\n7.1 Bootstrap Protocol(BOOTP)\r\n7.1.1 BOOTP Forwarding\r\n7.1.2 BOOTP Considerations\r\n7.2 Dynamic Host Configuration Protocol(DHCP)\r\n7.2.1 The DHCP Message Types\r\n7.2.2 Allocating a New Network Address\r\n7.2.3 DHCP Lease Renewal Process\r\n7.2.4 Reusing a Previously Allocated Network Address\r\n7.2.5 Configuration Parameters Repository\r\n7.2.6 DHCP Considerations\r\n7.2.7 DHCP Considerations\r\n7.2.8 BOOTP and DHCP Interoperability\r\n7.3 Dynamic Domain Name System\r\n7.3.1 The UPDATE DNS Message Format\r\n7.3.2 IBM’s Implementation of DDNS\r\n7.3.3 Proxy A Record Update(ProxyArec)\r\n7.4 Mobile IP\r\n7.4.1 Mobile IP Overview\r\n7.4.2 Mobile IP Operation\r\n7.4.3 Mobility Agent Advertisement Extemsions\r\n7.4.4 Mobile IP Registration Process\r\n7.4.5 Tunneling\r\n7.4.6 Broadcast Datagrams\r\n7.4.7 Move Detection\r\n7.4.8 ARP Considerations\r\n7.4.9 Mobile IP Security Considerations\r\n7.5 IP Masquerading\r\n7.6 The Network Computer\r\n7.7 References\r\n\r\nCHAPTER 8 Internet Protocols and Applications\r\n\r\n8.1 The World Wide Web(WWW)\r\n8.1.1 Web Browsers\r\n8.1.2 Web Servers\r\n8.1.3 Web Server Application Technologies\r\n8.2 Hypertext Rtansfer Protocol(HTTP)\r\n8.2.1 Overview of HTTP\r\n8.2.2 HTTP Operation\r\n8.3 Hypertext Markup Language(HTML)\r\n8.4 The Extensible Markup Language(XML)\r\n8.5 Java\r\n8.5.1 Java Components Overview\r\n8.5.2 JavaScript\r\n8.5.3 Java in the World Wide Web\r\n8.5.4 Java Security\r\n8.5.5 Distributed Objects\r\n8.6 Accessing Legacy Applications from the Web\r\n8.6.1 Business Requirements\r\n8.6.2 Technical Issues\r\n8.6.3 Security Issues\r\n8.6.4 IBM e-business Solutions\r\n8.7 Network News Transfer Protocol(NNTP)\r\n8.8 Gopher\r\n8.9 Internet2\r\n8.9.1 Mission\r\n8.9.2 Project Description\r\n8.9.3 Internet2 and NGI\r\n\r\nCHAPTER 9 Multicast and Multimedia\r\n\r\n9.1 Multicasting\r\n9.2 Internet Group Management Protocol(IGMP)\r\n9.2.1 IGMP Operation\r\n9.3 Multicast Routing Protocols\r\n9.3.1 distance Vector Multicast Routing Protocol(DVMRP)\r\n9.3.2 Multicast OSPF(MOSPF)\r\n9.3.3 Protocol Independent Multicast(PIM)\r\n9.4 The Multicast Backbone\r\n9.4.1 MBONE Routing\r\n9.4.2 MBONE Applications\r\n9.5 The Real-Time Protocols RTP and RTCP\r\n9.5.1 The Real-Time Transport Protocol(RTP)\r\n9.5.2 The Real-Time Control Protocol\r\n9.5.3 RTP Translators and Mixers\r\n9.5.4 Real-Time Applications\r\n9.6 Voice over IP\r\n9.6.1 ITU-T Recommendation H.323\r\n9.6.2 Voice Compression(G.723.1 and G.729)\r\n9.6.3 The VoIP Protocol Stack\r\n9.7 References\r\n\r\nCHAPTER 10 Quality of Service\r\n\r\n10.1 Why QoS\r\n10.2 Integrated Services\r\n10.2.1 Service Classes\r\n10.2.2 The Reservation Protocol(RSVP)\r\n10.2.3 The Future of Integrated Services\r\n10.3 Differentiated Services\r\n10.3.1 Differentiated Services Architecture\r\n10.3.2 Using RSVP with Differentiated Services\r\n10.3.3 Configuration and Administration of DS Components with LDAP\r\n10.3.4 Using Differentiated Services with IPSec\r\n10.3.5 Internet Drafts on Differentiated Services\r\n10.4 References\r\n\r\nCHAPTER 11 Availability,Scalability and Load Balancing\r\n\r\n11.1 Virtual Router Redundancy Protocol(VRRP)\r\n11.1.1 Introduction\r\n11.1.2 VRRP Definitions\r\n11.1.3 VRRP Overview\r\n11.1.4 Sample Configuration\r\n11.1.5 VRRP Packet Format\r\n11.2 Round-Robin DNS\r\n11.3 IMB eNetwork Dispatcher\r\n11.3.1 eNetwork Dispatcher Components\r\n11.3.2 Load Balancing with Weights\r\n11.3.3 High Availability\r\n11.3.4 Server Affinity\r\n11.3.5 Rules-Based Balancing\r\n11.3.6 Wide Area Network Dispatcher\r\n11.3.7 Combining ISS and Dispatcher\r\n11.3.8 Advisors and Custom Advisors\r\n11.3.9 SNMP Support\r\n11.3.10 Co-Location Option\r\n11.3.11 ISP Configuration\r\n11.3.12 OS/390 Parallel Sysplex Support\r\n11.4 Alternative Solutions to Load Balancing\r\n11.4.1 Network Address Translation\r\n11.4.2 Encapsulation\r\n11.4.3 HTTP Redirection\r\n11.5 TCP/IP for OS/390 Using Workload Manager(WLM)\r\n11.5.1 Related Terminology and Products\r\n11.5.2 Overview of WLM\r\n11.6 OSPF Equal-Cost Multipath\r\n11.7 OS/390 VIPA Connection Recovery\r\n\r\nCHAPTER 12 Directory Protocols and Distributed Computing\r\n\r\n12.1 Introduction to the Distributed Computing Environment(DCE)\r\n12.1.1 DCE Directory Service\r\n12.1.2 DCE Security Service\r\n12.1.3 DCE Threads\r\n12.1.4 DCE Remote Procedure Call\r\n12.1.5 Distributed Time Service\r\n12.1.6 Distributed File Service(DFS)\r\n12.2 The Andrew File System(AFS)\r\n12.3 Lightweight Directory Access Protocol(LDAP)\r\n12.3.1 LDAP-Lightweight Access to X.500\r\n12.3.2 The LDAP Directory Server\r\n12.3.3 Overview of LDAP Architecture\r\n12.3.4 LDAP Models\r\n12.3.5 LDAP Security\r\n12.3.6 LDAP URLs\r\n12.3.7 LDAP and DCE\r\n12.3.8 The Directory-Enabled Networks Initiative(DEN)\r\n12.3.9 References\r\n\r\nPART THREE Connection Protocols and Platform Implementations\r\n\r\nCHAPTER 13 Connection Protocols\r\n\r\n13.1 Ethernet and IEEE 802.x Local Area Networks(LANs)\r\n13.2 Fiber Distributed Data Interface()\r\n13.3 Asynchronous Transfer Mode(ATM)\r\n13.3.1 Address Resolution(ATMARP and InATMARP)\r\n13.3.2 Classical IP over ATM\r\n13.3.3 ATM LAN Emulation\r\n13.3.4 Classical IP over ATM versus LAN Emulation\r\n13.4 Data Link Switching:Switch-to-switch Protocol\r\n13.4.1 Introduction\r\n13.4.2 Functional Description\r\n13.5 Serial Line IP(SLIP)\r\n13.6 Point-to-Point Protocol(PPP)\r\n13.6.1 Point-to-Point Encapsulation\r\n13.7 Integrated Services Digital Network(ISDN)\r\n13.8 TCP/IP and X.25\r\n13.9 Frame Relay\r\n13.9.1 Frame Format\r\n13.9.2 Interconnect Issues\r\n13.9.3 Data Link Layer Parameter Negotiation\r\n13.9.4 IP over Frame Relay\r\n13.10 PPP over SONET and SDH Circuits\r\n13.10.1 Physical Layer\r\n13.11 Multiprotocol Label Switching(MPLS)\r\n13.11.1 Forwarding Methods\r\n13.11.2 MPLS Usefulness\r\n13.12 Enterprise Extender\r\n13.12.1 Performance and Recovery\r\n13.13 Multiprotocol Transport Network(MPTN)\r\n13.13.1 Requirements for Mixed-Protocol Networking\r\n13.13.2 MPTN Architecture\r\n13.13.3 MPTN Methodology\r\n13.13.4 MPTN Major Components\r\n13.14 Multi-Path Channel+(MPC+)\r\n13.15 S/390 Open Systems Adapter 2\r\n13.15.1 OSA-2 Modes\r\n13.15.2 S/390 Unit Addresses Correlate with OSA-2 LAN Port Numbers\r\n13.15.3 Open Systems Adapter/Support Facility(OSA/SF)\r\n13.16 Multiprotocol over ATM(MPOA)\r\n13.16.1 Benefits of MPOA\r\n13.16.2 MPOA Logical Components\r\n13.16.3 MPOA Functional Components\r\n13.16.4 MPOA Operation\r\n13.17 Private Network-to-Network Interface(PNNI)\r\n13.17.1 PNNI Overview\r\n13.17.2 PNNI Routing\r\n13.17.3 PNNI Signalling\r\n13.18 References\r\n\r\nCHAPTER 14 Platform Implementations\r\n\r\n14.1 Software Operating System Implementations\r\n14.1.1 IBM OS/390 V2R6\r\n14.1.2 IBM TCP/IP V2R4 for VM\r\n14.1.3 IBM OS/400 V4R3\r\n14.1.4 IBM AIX 4.3\r\n14.1.5 IBM TCP/IP 4.1 for OS/2\r\n14.1.6 Functional Comparisons\r\n14.2 IBM Hardware Platform Implementations\r\n14.2.1 The IBM Nways Router Family\r\n14.2.2 The IBM Multiprotocol Switch Hub Family\r\n14.2.3 The IBM Workgroup Hubs and Workgroup Switches\r\n14.2.4 The IBM High Performance Controllers\r\n14.2.5 The IBM Nways Wide Area Switches\r\n14.2.6 Functional Comparisons\r\n\r\nAPPENDIX A Special Notices\r\n\r\n