SCO TCP/IP:  Release Notes SCO TCP/IP Derived from LACHMAN SYSTEM V STREAMS TCP User's Guige ( ) The Santa Cruz Operation . ____________________________________________________________________ 1. . TCP/IP? 1-1 ? 1-3 ICMP 1-5 1-6 1-7 2. . 2-1 TCP/IP 2-2 UNIX 2-4 2-6 2-9 2-10 2-11 3. . rcmd 3-1 3-3 4. . 4-1 telnet 4-2 rlogin 4-11 5. . 5-1 ftp 5-2 rcp 5-21 6. . 6-1 6-3 TSP 6-4 1. . ____________________________________________________________________ TCP/IP? 1-1 (IP) 1-1 (TCP) 1-2 1-3 1-3 1-3 1-4 ICMP 1-5 1-6 1-7 1-7 TCP/IP 1-8 LAN Ethernet 1-9 1-1 TCP/IP? _________________ TCP/IP - , . "TCP" " ", "IP" " ". , , . , , TCP/IP, . , . , DARPA . , , TCP/IP. . ( " " . "internet"). "hosts"( ) "nodes"( ). TCP/IP , , . . , . . . (IP). ----------------------------------------- IP . - . "" , . () - . , . , . , . TCP . 1-2 , . . , . ( , , , ). , . , ; , IP , . - , . (TCP). --------------------------------- (TCP) IP . , , , , , , . TCP - , , , , , . , , , , TCP. TCP , , . . , . , . "-" TCP . TCP - . ( ) TCP, . 1-3 . ____________________________________________________________________ . . . ------ , , . - , . . , -, . . . - . . , -. . --------------- TCP/IP 32 . : . , , , . (NIC), SRI Information , . NIC . . , , . , . , , . , 32 , . , , . : ,,. : 1-4 ____________________________________________________________________ 7 - , 24 - 14 - , 16 - 21 - , 8 - 32 . - 0, . 10 11. , , . , ( ), ( ) ( ). , , 32 . , 128.12.3.5. . --------------- TCP 16 , , . , ftp ( ). - , , TCP. netstat(TC). SCO TCP/IP Socket Programmer's Guide. 1-5 ICMP. ____________________________________________________________________ ICMP - . . ICMP , . , " " " " . ICMP , , , . 1-6 . ____________________________________________________________________ , - , , - . . , IP - , TCP - , , IP6, , . , , TCP -. TCP/IP, . , , . , IP, . , , TCP, , , . , telnet(TC) ftp(TC) , . , , . 1-7 . ___________________________________________________________________ TCP/IP. , - . : - - TCP/IP - LAN Ethernet . ----------------------------------- Tannenbaum,Andrew S., Computer Netwoks, (Prentice-Hall,Englewood Cliffs.,(1981). ISBN 0-13-165183-8. Stallings,william, Data and Computer Communications. (Macmillan Publishing Company, New York, 1988), 2nd Ed. ISBN 0-02-415451-2. . ------------------------- , Inc.,1430 Broadway, New York, NY 10018: 7498 (IS 7498),"Information processing systems - Open Systems Interconnection - Basic Reference Model," (Internetional Organization for Standardization (ISO), 1984). "OSI Reference Model". X.200, "OSI Reference Model for CCITT Applications", (Inernational Telegraph and Telephone Consultative Committee (CCITT) Geneva,1985).ISBN 92-61-02341-X. , ISO , (CCITT). 8 - Fascicle VIII.5 . 1-8 - . CCITT . 1985 10 , "Fascicles", 42 . TCP/IP. --------------------- . ------------------------ Comer,Douglas, Internetworking with TCP/IP: Principles,Protocols, and Architecture,(Prentice-Hall,Englewood Cliffs,N.J,1988). ISBN 13-470154-2. , , "Requests For Comments (RFCs)( )". Stallings, William S., et.al., Handbook of Computer Communications Standarts, 3: Department of Defence (DOD) Protocol Standarts, (Macmillan Publishing Company, New York, 1988).ISBN 0-02-948072-8. Devidson,JOHN, An Introduction to TCP/IP, (Springer-verlag Inc., New York 1988). ISBN 0-387-96651-X. . ------------------------- Feinler,Elizabeth J.,et.al. (Eds.),DDN Protocol Handbook, (SRI International, Menlo Park,Calif.,1985) 3 . 1-9 DDN Protocol Handbook - , RFCs (IENs). , RFC 791 IEN 48. RFCs IENs , , , ARPA , DDN Network Information Center. 1985 , DDN Protocol Handbook , . . 3 . , , RFC 961 . LAN ETHERNET. ----------------------------- . ------------------------ Stallings, William S., et.al., Handbook of Computer Communications Standarts, 2: Department of Defence (DOD) Protocol Standarts, (Macmillan Publishing Company, New York, 1988).ISBN 0-02-948072-8. Chorafas, Dimitris N., Desining and Implementing Local Area Networks (McGraw-Hill,Inc.,New York, 1984). ISBN 0-07-010819-6. Hammond,Joseph L.,and O'Reilly, Peter J.P., Performance Analysis of Local Computer Networks, (Addison-Wesly,Reading,Mass.,1986). ISBN 0-201-11530-1. , . . ------------------------- ANSI/IEEE Std 802.2-1985(ISO Draft International Standard 8802/2), American National Standard: IEEE Standards for Local Area Netwirks: Logical Link Control (The Institute of Electrical and Electronic Engineers,Inc.,1984). ISBN 471-82748-7. ANSI/IEEE Std 802.3-1985(ISO Draft International Standard 8802/3), American National Standard: IEEE Standards for Local Area Netwirks: Carrier Sense Multiple Access with Collision Detection (CSMA/CD), Access Method and Physical Layer Specifications (The Institute of Electrical and Electronic Engineers,Inc.,1985). ISBN 471-82749-5. 2. . ____________________________________________________________________ 2-1 TCP/IP 2-2 UNIX 2-4 2-6 2-6 , , 2-7 2-7 2-9 telnet 2-9 rlogin 2-9 2-10 2-11 2-1 . ____________________________________________________________________ UNIX . , , . , . . , , : - - - - - - - 2-2 TCP/IP. ____________________________________________________________________ TCP/IP - Berkeley UNIX ARPANET . ARPA - Advanced Research Projects Agency. , Berkeley UNIX, UNIX UNIX . ARPANET . , 4.3BSD(Berkeley UNIX) UNIX- , ARPANET . , TCP/IP Berkeley UNIX r- ( -r). rcp, rcmd, rlogin. 4.3BSD UNIX , UNIX. , telnet ftp ARPANET. . , Department of Defense (DoD) Internet. . . . TCP/IP . ------------------------- ____________________________________________________________________ ftp(TC) ifconfig(ADMN) logger(TC) mkhosts(ADMN) netstat(TC) rcmd(TC) 2-3 rcp(TC) rlogin(TC) ruptime(TC) rwho(TC) slattach(ADMN) sldetach(ADMN) talk(TC) telnet(TC) DARPA TELNET trpt(ADMN) 2-4 UNIX. ____________________________________________________________________ UNIX - , UNIX UNIX, , Ethernet. UNIX . , .( IP ). UNIX - - , , UNIX, , UNIX. . , fork(S) exec(S) system(S) . - , . UNIX , , . , UNIX, : - , . - ( "" , ). - . , , , . , . , , UNIX , pipes, . - . - , ( chmod(C)). 2-5 - , . - , . - . - UNIX , . , UNIX: - ( daemons), - - 2-6 . ____________________________________________________________________ , , . : - - - . ------------------------ c rcp, rcmd rlogin. rcp . rlogin , ; , . rcmd . ( rcmd , , ; , rlogin . login). . /etc/hosts.equiv , . .rhosts "" . ( /.rhosts). /etc/password, . : - .rhosts /etc/password - /etc/hosts.equiv /etc/password /etc/password . , . sysadmsh(ADM), /etc/password . XENIX , /etc/password, . UNIX. 2-7 , , . .rhosts , . , /etc/hosts.equiv , ( ). , /etc/hosts.equiv , ( ). .rhosts . /etc/hosts.equiv . /etc/hosts.equiv .rhosts , , /etc/hosts.equiv . , . ---------------------- , . TCP/IP , telnet ftp. . , . , . .. , . . , , . , () . . . -------------- . , . . 2-8 , , . ftp ( " " ), . , ( " " ). 2-9 . ____________________________________________________________________ rlogin(TC) ARPANET telnet(TC) . . , . UNIX- , . , , , vi(C). . , , . telnet rlogin. 4 " ". telnet. --------------- . telnet, , , , . telnet , , , , . . telnet 4 " ". rlogin. -------------------------------------------- rlogin UNIX- . , . , , . rlogin UNIX- . rlogin 4 " ". 2-10 . ____________________________________________________________________ ftp . ftp, . . ftp , , , fyp. ftp ( ) . rcp . UNIX , UNIX- . ftp rcp 5" ". 2-11 . ____________________________________________________________________ rcmd UNIX . , rcmd; . shell , . rmcd, - (, ). , UNIX UNIX- . rcmd , , .. . /usr/hosts. rcmd 3 " ". 3. . ____________________________________________________________________ rcmd 3-1 rcmd 3-1 rcmd 3-1 rcmd 3-2 3-2 3-3 3-1 rcmd. ____________________________________________________________________ rcmd UNIX- . , rcmd. shell . rcmd, -.( 2). - , . , UNIX UNIX- . rcmd , , .. . /usr/hosts. rcmd. ----------- rcmd UNIX. . : # rcmd () rcmd, : # () , , UNIX rcmd. . rcmd. ----------- , rcmd. : 3-2 -l , , , . . : # rcmd -l tom , . . -n rcmd . /dev/null. : # rcmd -n -l tom . rcmd , . rcmd. --------------------------------- rcmd who(C) , admin. . /tmp/admin.who. # rcmd admin who > /tmp/admin.who . --------------------- rcmd , , , templ , systemx: $ cat temp1 | rcmd systemx lp 3-3 . ____________________________________________________________________ TCP/IP , .. (pipe).( sh(C) pipe(C) ). , : - - rcmd lp . - troff(CT). , . - / cpio. - . - .  4. . ____________________________________________________________________ 4-1 telnet 4-2 4-2 telnet 4-2 telnet 4-4 4-8 rlogin