home *** CD-ROM | disk | FTP | other *** search
/ Hacker Chronicles 1 / HACKER1.ISO / phrk3 / phrack33.3 < prev    next >
Text File  |  1992-09-26  |  40KB  |  925 lines

  1.                                                                         
  2.                                 ==Phrack Inc.==
  3.  
  4.                 Volume Three, Issue Thirty-Three, File 3 of 13
  5.  
  6. ______________________________________________________________________________
  7.  
  8.                        A Hacker's Guide to the Internet
  9.  
  10.                                  By The Gatsby
  11.  
  12.                       Version 2.00 / AXiS / July 7, 1991
  13. ______________________________________________________________________________
  14.  
  15.  
  16. 1   Index
  17. ~~~~~~~~~
  18.             Part:     Title:
  19.             ~~~~      ~~~~~
  20.              1        Index
  21.              2        Introduction
  22.              3        Glossary, Acronyms, and Abbreviations
  23.              4        What is the Internet?
  24.              5        Where You Can Access The Internet
  25.              6        TAC
  26.              7        Basic Commands
  27.                a           TELNET command
  28.                b           ftp ANONYMOUS to a Remote Site
  29.                c           Basic How to tftp the Files
  30.                d           Basic Fingering
  31.              8        Networks
  32.              9        Internet Protocols
  33.             10        Host Names and Addresses
  34.  
  35.  
  36. 2   Introduction
  37. ~~~~~~~~~~~~~~~~
  38.      The original release of this informative file was in an IRG newsletter,
  39. but it had some errors that I wanted to correct.  I have also added more
  40. technical information.
  41.  
  42.      This file is intended for the newcomer to Internet and people (like
  43. me) who are not enrolled at a university with Internet access.  It covers the
  44. basic commands, the use of Internet, and some tips for hacking through
  45. Internet. There is no MAGICAL way to hacking a UNIX system.  If you have any
  46. questions, I can be reached on a number of boards.
  47.  
  48. - The Crypt       -            - 619/457+1836 -     - Call today -
  49. - Land of Karrus  -            - 215/948+2132 -
  50. - Insanity Lane   -            - 619/591+4974 -
  51. - Apocalypse NOW  -            - 2o6/838+6435 -  <*> AXiS World HQ <*>
  52.  
  53.   Mail me on the Internet:  gats@ryptyde.cts.com
  54.                             bbs.gatsby@spies.com
  55.  
  56.                                 The Gatsby
  57.  
  58. *** Special Thanks go to Haywire (a/k/a Insanity: SysOp of Insanity Lane),
  59.     Doctor Dissector, and all the members of AXiS.
  60.  
  61.  
  62. 3   Glossary, Acronyms, and Abbreviations
  63. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  64. ACSE     -  Association Control Service Element, this is used with ISO to help
  65.             manage associations.
  66. ARP      -  Address Resolution Protocol, this is used to translate IP protocol
  67.             to Ethernet Address.
  68. ARPA     -  Defense Advanced Research Project Agency
  69. ARPANET  -  Defense Advanced Research Project Agency or ARPA.  This is an
  70.             experimental PSN which is still a sub network in the Internet.
  71. CCITT    -  International Telegraph and Telephone Consultative Committee is a
  72.             international committee that sets standard.  I wish they would set
  73.             a standard for the way they present their name!
  74. CERT     -  Computer Emergency Response Team, they are responsible for
  75.             coordinating many security incident response efforts.  They have
  76.             real nice reports on "holes" in various UNIX strands, which you
  77.             should get because they are very informative.
  78. CMIP     -  Common Management Information Protocol, this is a new HIGH level
  79.             protocol.
  80. CLNP     -  Connection Less Network Protocol is OSI equivalent to Internet IP
  81. DARPA    -  Defence Advanced Research Project Agency.  See ARPANET
  82. DDN      -  Defence Data Network
  83. driver   -  a program (or software) that communicates with the network itself,
  84.             examples are TELNET, FTP, RLOGON, etc.
  85. ftp      -  File Transfer Protocol, this is used to copy files from one host
  86.             to another.
  87. FQDN     -  Fully Qualified Domain Name, the complete hostname that reflects
  88.             the domains of which the host is a part.
  89. Gateway  -  Computer that interconnects networks.
  90. Host     -  Computer that is connected to a PSN.
  91. Hostname -  Name that officially identifies each computer attached
  92.             internetwork.
  93. Internet -  The specific IP-base internetwork.
  94. IP       -  Internet Protocol which is the standard that allows dissimilar
  95.             host to connect.
  96. ICMP     -  Internet Control Message Protocol is used for error messages for
  97.             the TCP/IP.
  98. LAN      -  Local Area Network
  99. MAN      -  Metropolitan Area Network
  100. MILNET   -  DDN unclassified operational military network.
  101. NCP      -  Network Control Protocol, the official network protocol from 1970
  102.             until 1982.
  103. NIC      -  DDN Network Information Center
  104. NUA      -  Network User Address
  105. OSI      -  Open System Interconnection.  An international standardization
  106.             program facilitate to communications among computers of different
  107.             makes and models.
  108. Protocol -  The rules for communication between hosts, controlling the
  109.             information by making it orderly.
  110. PSN      -  Packet Switched Network
  111. RFC      -  Request For Comments, is technical files about Internet protocols
  112.             one can access these from anonymous ftp at NIC.DDN.MIL.
  113. ROSE     -  Remote Operations Service Element, this is a protocol that is used
  114.             along with OSI applications.
  115. TAC      -  Terminal Access Controller; a computer that allow direct access to
  116.             Internet.
  117. TCP      -  Transmission Control Protocol
  118. TELNET   -  Protocol for opening a transparent connection to a distant host.
  119. tftp     -  Trivial File Transfer Protocol, one way to transfer data from one
  120.             host to another.
  121. UDP      -  User Datagram _Protocol
  122. Unix     -  This is copyrighted by AT&T, but I use it to cover all the
  123.             look-alike Unix systems, which you will run into more often.
  124. UUCP     -  Unix-to-Unix Copy Program, this protocol allows UNIX file
  125.             transfers.  This uses phone lines using its own protocol, X.25 and
  126.             TCP/IP.  This protocol also exist for VMS and MS-DOS.
  127. uucp     -  uucp when in lower case refers to the UNIX command uucp.  For
  128.             more information on uucp read files by The Mentor in the Legion of
  129.             Doom Technical Journals.
  130. WAN      -  Wide Area Network
  131. X.25     -  CCITTs standard protocol that rules the interconnection of two
  132.             hosts.
  133.  
  134.  
  135.      In this file I have used several special charters to signify certain
  136. things. Here is the key;
  137.  
  138. *  - Buffed from UNIX itself.  You will find this on the left side of the
  139.      margin.  This is normally "how to do" or just "examples" of what to do
  140.      when using Internet.
  141.  
  142. #  - This means these are commands, or something that must be typed in.
  143.  
  144.  
  145. 4   What is the Internet?
  146. ~~~~~~~~~~~~~~~~~~~~~~~~~
  147.      To understand the Internet you must first know what it is.  The Internet
  148. is a group of various networks, ARPANET (an experimental WAN) was the first.
  149. ARPANET started in 1969, this experimental PSN used Network Control Protocol
  150. (NCP).  NCP was the official protocol from 1970 until 1982 of the Internet (at
  151. this time also known as DARPA Internet or ARPA Internet).  In the early 80's
  152. DARPA developed the Transmission Control Protocol/Internet Protocol which is
  153. the official protocol today, but much more on this later.  Due to this fact,
  154. in 1983 ARPANet split into two networks, MILNET and ARPANET (both are still
  155. part of the DDN).
  156.  
  157.     The expansion of Local Area Networks (LAN) and Wide Area Networks (WAN)
  158. helped make the Internet connecting 2,000+ networks strong.  The networks
  159. include NSFNET, MILNET, NSN, ESnet and CSNET.  Though the largest part of the
  160. Internet is in the United States, the Internet still connects the TCP/IP
  161. networks in Europe, Japan, Australia, Canada, and Mexico.
  162.  
  163.  
  164. 5   Where You Can Access Internet
  165. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166.      Internet is most likely to be found on Local Area Networks or LANs and
  167. Wide Area networks or WANs.  LANs are defined as networks permitting the
  168. interconnection and intercommunication of a group of computers, primarily for
  169. the sharing of resources such as data storage device and printers.  LANs cover
  170. a short distance (less than a mile) and are almost always within a single
  171. building complex.  WANs are networks which have been designed to carry data
  172. calls over long distances (many hundreds of miles).  You can also access
  173. Internet through TymNet or Telenet via gateway.  You'll have to find your own
  174. NUAs though.
  175.  
  176.  
  177. 6   TAC
  178. ~~~~~~~
  179.      TAC (terminal access controller) is another way to access Internet.  This
  180. is just dial-up terminal to a terminal access controller.  You will need to
  181. get a password and an account.  TAC has direct access to MILNET.  One example
  182. of a TAC dialup is (800)368-2217, but there are several out there to be found.
  183. In fact, CERT has a report circulating about people attempting to find these
  184. dialups through social engineering.
  185.  
  186.      If you want the TAC manual you can write a letter to:
  187.  
  188.        Defense Communications Agency
  189.        Attn: Code BIAR
  190.        Washington, DC 2o3o5-2ooo
  191.  
  192. Be sure to write that you want the TAC User Guide, 310-p70-74.
  193.  
  194.      In order to logon, you will need a TAC Access Card.  You would probably
  195. get it from the DDN NIC.  Here is a sample logon:
  196.  
  197.  
  198. Use Control-Q for help...
  199.  
  200. *
  201. * PVC-TAC 111: 01               \ TAC uses to this to identify itself
  202. * @ #o 124.32.5.82               \ Use ``O'' for open and the internet
  203. *                                / address which yea want to call.
  204. *
  205. * TAC Userid: #THE.GATSBY
  206. * Access Code: #10kgb0124
  207. * Login OK
  208. * TCP trying...Open
  209. *
  210. *
  211.  
  212.  
  213. 7   Basic Commands
  214. ~~~~~~~~~~~~~~~~~~
  215. a:  Basic TELNET Commands
  216.  
  217.       Situation:  You have an account on a UNIX system that is a host on
  218. Internet.  Now you can access the entire world!  Once the UNIX system you
  219. should see a prompt, which can look like a '$' or '%' (it also depends on what
  220. shell you are in and the type of Unix system).  At the prompt you can do all
  221. the normal UNIX commands, but when on a Internet host you can type 'telnet'
  222. which will bring you to the 'telnet' prompt.
  223.  
  224. *
  225. * $ #telnet
  226. * ^   ^
  227.   |   |
  228.   |  the command that will bring you to the telnet prompt
  229.   |
  230.   a normal UNIX prompt
  231.  
  232.  
  233.      You should get this:
  234.  
  235. *
  236. * telnet>
  237. *
  238.      At this prompt you will have a whole different set of commands which are
  239. as follows (This comes from UCSD, so it may vary from place to place).
  240.  
  241. *
  242. * telnet> #help
  243. *
  244. * close           close current connection
  245. * display         display operating parameters
  246. * open            connect to a site
  247. * quit            exit telnet
  248. * send            transmit special character
  249. * set             set operating parameters
  250. * status          print status information
  251. * toggle          toggle operating parameters
  252. * ?               to see what you are looking at now
  253. *
  254.  
  255. close      - this command is used to 'close' a connection, when multitasking
  256.              or jumping between systems.
  257.  
  258. display    - this set the display setting, commands for this are as follow.
  259.  
  260.              ^E    echo.
  261.              ^]    escape.
  262.              ^H    erase.
  263.              ^O    flushoutput.
  264.              ^C    interrupt.
  265.              ^U    kill.
  266.              ^\    quit.
  267.              ^D    eof.
  268.  
  269.  
  270. open       - type 'open [host]' to connect to a system
  271.  
  272. *
  273. * $ #telnet ucsd.edu
  274. *
  275.  
  276.      or
  277. *
  278. * telnet> #open 125.24.64.32.1
  279. *
  280.  
  281. quit   - to get out of telnet and back to UNIX
  282. send   - send files
  283. set    - set
  284. echo   - character to toggle local echoing on/off
  285. escape - character to escape back to telnet command mode
  286.  
  287.  
  288.      The following need 'localchars' to be toggled:
  289.  
  290. erase         -  character to cause an Erase Character
  291. flushoutput   -  character to cause an Abort Output
  292. interrupt     -  character to cause an Interrupt Process
  293. kill          -  character to cause an Erase Line
  294. quit          -  character to cause a Break
  295. eof           -  character to cause an EOF
  296. ?             -  display help information
  297.  
  298.  
  299. b:   ftp ANONYMOUS to a remote site
  300.  
  301.      ftp or file transfer protocol is used to copy files from a remote host to
  302. the one that you are on.  You can copy anything.  Security has really clamped
  303. down on the passwd file, but it will still work here and there (always worth a
  304. shot).
  305.  
  306.      This could be useful when you see a Internet CuD (Computer Underground
  307. Digest) site that accepts a anonymous ftps, and you want to read the CuDs, but
  308. do not feel like wasting your time on boards downloading them.  The best way
  309. to start out is to ftp a directory to see what you are getting.
  310.  
  311.      Example:  The CuD archive site has an Internet address of 192.55.239.132
  312. and my account name is "gats".
  313.  
  314. *
  315. * $ #ftp
  316. * ^  ^
  317.   |  |
  318.   | ftp command
  319.   |
  320.  UNIX prompt
  321.  
  322. *
  323. * ftp> #open 192.55.239.132
  324. * Connected to 192.55.239.132
  325. * 220 192.55.239.132 FTP Server (sometimes the date, etc)
  326. * Name (192.55.239.132:gats): #anonymous
  327. *            ^         ^        ^
  328.              |         |        |
  329.              |         |       This is where you type 'anonymous' unless
  330.              |         |     you have a account on 192.55.239.132.
  331.              |         |
  332.              |        This is the name of my account or [from]
  333.              |
  334.             This is the Internet address or [to]
  335. *
  336. * Password: #gats
  337. *            ^
  338.              |
  339.             For this just type your username or anything you feel like typing
  340.             in at that time.  It doesn't matter.
  341.  
  342. *
  343. * % ftp 192.55.239.132
  344. * Connected to 192.55.239.132
  345. * ftp> #ls
  346. *       ^
  347.         |
  348.        You are connected now, thus you can ls it.
  349.  
  350.      Just move around like you would in a normal unix system.  Most of the
  351. commands still apply on this connection. Here is a example of me getting a
  352. copy of the Electronic Frontier Foundation's Effector (issue 1.04) from
  353. Internet address 192.55.239.132.
  354.  
  355. *
  356. * % #ftp
  357. * ftp> #open 128.135.12.60
  358. * Trying 128.135.12.60...
  359. * 220 chsun1 FTP server (SunOS 4.1) ready.
  360. * Name (128.135.12.60:gatsby): anonymous
  361. * 331 Guest login ok, send ident as password.
  362. * Password: #gatsby
  363. * 230 Guest login ok, access restrictions apply.
  364. * ftp> #ls
  365. * 200 PORT command successful.
  366. * 150 ASCII data connection for /bin/ls (132.239.13.10,4781) * (0 bytes).
  367. * .hushlogin
  368. * bin
  369. * dev
  370. * etc
  371. * pub
  372. * usr
  373. * README
  374. * 226 ASCII Transfer complete.
  375. * 37 bytes received in 0.038 seconds (0.96 Kbytes/s)
  376. * ftp>
  377.  
  378.      _________________________________________________________________________
  379.     |
  380.     |  This is where you can try to 'cd' the "etc" dir or just 'get'
  381.     |  /etc/passwd, but grabbing the passwd file this way is a dieing art.
  382.     |_________________________________________________________________________
  383.  
  384. * ftp> #cd pub
  385. * 200 PORT command successful.
  386. * ftp> #ls
  387. * ceremony
  388. * cud
  389. * dos
  390. * eff
  391. * incoming
  392. * united
  393. * unix
  394. * vax
  395. * 226 ASCII Transfer cmplete.
  396. * 62 bytes received in 1.1 seconds (0.054 Kbytes/s)
  397. * ftp> #cd eff
  398. * 250 CWD command successful.
  399. * ftp> #ls
  400. * 200 PORT command successful.
  401. * 150 ASCII data connection for /bin/ls (132.239.13.10,4805) (0 bytes).
  402. * Index
  403. * eff.brief
  404. * eff.info
  405. * eff.paper
  406. * eff1.00
  407. * eff1.01
  408. * eff1.02
  409. * eff1.03
  410. * eff1.04
  411. * eff1.05
  412. * realtime.1
  413. * 226 ASCII Transfer complete.
  414. * 105 bytes received in 1.8 seconds (0.057 Kbytes/s)
  415. * ftp> #get
  416. * (remote-file) #eff1.04
  417. * (local-file) #eff1.04
  418. * 200 PORT command successful.
  419. * 150 Opening ASCII mode data connection for eff1.04 (909 bytes).
  420. * 226 Transfer complete.
  421. * local: eff1.04 remote: eff1.04
  422. * 931 bytes received in 2.2 seconds (0.42 Kbytes/s)
  423. * ftp> #close
  424. * Bye...
  425. * ftp> #quit
  426. * %
  427. *
  428.  
  429.      To read the file you can just 'get' the file and buffer it.  If the files
  430. are just too long, you can 'xmodem' it off the host you are on.  Just type
  431. 'xmodem' and that will make it much faster to get the files.  Here is the set
  432. up (as found on ocf.berkeley.edu).
  433.  
  434.    If you want to:                                         type:
  435.  
  436. send a text file from an apple computer to the ME       xmodem ra <filename>
  437. send a text file from a non-apple home computer         xmodem rt <filename>
  438. send a non-text file from a home computer               xmodem rb <filename>
  439. send a text file to an apple computer from the ME       xmodem sa <filename>
  440. send a text file to a non-apple home computer           xmodem st <filename>
  441. send a non-text file to a home computer                 xmodem sb <filename>
  442.  
  443. xmodem will then display:
  444.  
  445. *
  446. * XMODEM Version 3.6 -- UNIX-Microcomputer Remote File Transfer Facility
  447. * File filename Ready to (SEND/BATCH RECEIVE) in (binary/text/apple) mode
  448. * Estimated File Size (file size)
  449. * Estimated transmission time (time)
  450. * Send several Control-X characters to cancel
  451. *
  452.  
  453.  
  454. Hints- File transfer can be an iffy endeavor; one thing that can help is to
  455.        tell the annex box not to use flow control.  Before you do rlogin, type
  456.  
  457.  stty oflow none
  458.  stty iflow none
  459.  
  460. at the annex prompt.  This works best coming through 2-6092.
  461.  
  462.     Some special commands used during ftp session are cdup (same as cd ..) and
  463. dir (gives a detailed listing of the files).
  464.  
  465.  
  466. c:   How to tftp the Files
  467.  
  468.      tftp (Trivial File Transfer Protocol, the command is NOT in caps, because
  469. UNIX is case sensitive) is a command used to transfer files from host to host.
  470. This command is used sometimes like ftp, in that you can move around using
  471. UNIX commands.  I will not go into this part of the command, but I will go
  472. into the basic format, and structure to get files you want. Moreover, I will
  473. be covering how to flip the /etc/passwd out of remote sites.
  474.      There is a little trick that has been around a while.  It helps you to
  475. "flip" the /etc/passwd file out of different sites, which gets you the passwd
  476. file without out breaking into the system.  Then just run Brute Hacker (the
  477. latest version) on the thing and you save time and energy.  This 'hole' (not
  478. referring to the method of obtaining Unix superuser status) may can be found
  479. on SunOS 3.X, but has been fixed in 4.0.  It has sometimes appeared in
  480. System V, BSD and a few others.
  481.  
  482.      The only problem with this 'hole' is that the system manager will often
  483. realize what you are doing.  The problem occurs when attempts to tftp the
  484. /etc/passwd is happen too many times.  You may see this (or something like
  485. this) when you logon on to your account.  This was buffered off of
  486. plague.berkeley.edu.  I guess they knew what I was doing.
  487.  
  488. *
  489. * DomainOS Release 10.3 (bsd4.3) Apollo DN3500 (host name):
  490. *         This account has been deactivated due to use in system cracking
  491. * activities (specifically attempting to tftp /etc/passwd files from remote
  492. * sites) and for having been used or broken in to from <where the calls are
  493. * from>.  If the legitimate owner of the account wishes it reactivated,
  494. * please mail to the staff for more information.
  495. *
  496. * - Staff
  497. *
  498.  
  499.      The tftp is used in this format:
  500.  
  501.  tftp -<command> <any name> <Internet Address>  /etc/passwd  <netascii>
  502.  
  503. Command      -g   is to get the file, this will copy the file onto
  504.                   your 'home' directory, thus you can do anything with
  505.                   the file.
  506.  
  507. Any Name     If your going to copy it to your 'home' directory, it needs a
  508.              name.
  509.  
  510. Internet     This is the address that you want to snag the passwd file from.
  511.  Address     There are hundreds of thousands of them.
  512.  
  513. /ETC/PASSWD  THIS IS THE FILE THAT YOU WANT.  You do not want John Smith's
  514.              even though it would be trivial to retreive it.
  515.  
  516. netascii     This how you want the file to be transferred.
  517.  
  518. &            Welcome to the power of UNIX, it is multitasking, this little
  519.              symbol place at the end will allow you to do other things (such
  520.              as grab the passwd file from the UNIX that you are on).
  521.  
  522.      Here is the set up:  We want to get the passwd file from
  523. sunshine.ucsd.edu.  The file in your 'home' directory is going to be named
  524. 'asunshine'.
  525.  
  526. *
  527. * $ #tftp -g asunshine sunshine.ucsd.edu /etc/passwd &
  528. *
  529.  
  530.  
  531. d  Basic Fingering
  532.  
  533.      Fingering is a real good way to get an account on remote sites.  Typing
  534. 'who' or just 'finger <account name> <CR>' you can have names to "finger".
  535. This will give you all kinds information on the person's account.  Here is a
  536. example of how to do it:
  537.  
  538. *
  539. * % #who
  540. * joeo                 ttyp0       Jun 10 21:50   (bmdlib.csm.edu)
  541. * gatsby               ttyp1       Jun 10 22:25   (foobar.plague.mil)
  542. * ddc                  crp00       Jun 10 11:57   (aogpat.cs.pitt.edu)
  543. * liliya               display     Jun 10 19:40
  544.  
  545.                  /and fingering what you see
  546.  
  547. * % #finger bbc
  548. * Login name: ddc                     In real life: David Douglas Cornwall
  549. * Office: David C. Co
  550. * Directory: //aogpat/users_local/bdc     Shell: /bin/csh
  551. * On since Jun 10 11:57:46 on crp00 from aogpat   Phone 555-1212
  552. * 52 minutes Idle Time
  553. * Plan:  I like to eat apples and bananas.
  554. * %
  555. *
  556.  
  557.      Now you could just call (or Telnet to) 'aogpat.cs.pit.edu' and try to
  558. hack out an account.  Try the last name as the password, the first name, the
  559. middle name, and try them all backwards.  The chances are real good that you
  560. WILL get in because people are stupid.
  561.  
  562.      If there are no users online for you to type "who" you can just type
  563. "last" and all of the users who logged on will come rolling out.  Now "finger"
  564. them.  The only problem with using the "last" command is aborting it.
  565.  
  566.      You can also try telephoning individual users and tell them you are the
  567. system manager (i.e. social engineer them).  However, I have not always seen
  568. phone numbers in everyone's ".plan" file (the file you see when you finger the
  569. user).
  570.  
  571.  
  572. 8  Other Networks
  573. ~~~~~~~~~~~~~~~~~
  574. AARNet -      Australian Academic and Research Network.  This network supports
  575.               research for various Australian Universities.  This network
  576.               supports TCP/IP, DECnet, and OSI (CLNS).
  577.  
  578. ARPANET -     We've already discussed this network.
  579.  
  580. BITNET -      Because It's Time NETwork (BITNET) is a worldwide network that
  581.               connects many colleges and universities.  This network uses many
  582.               different protocols, but it dose use the TCP/IP.
  583.  
  584. CREN CSNET -  Corporation for Research and Educational Network (CREN) or
  585.               Computer + Science research NETwork (CSNET).  This network links
  586.               scientists at sites all over the world.  CSNET providing access
  587.  
  588.               to the Internet, CREN to BITNET.  CREN is the name more often
  589.               used today.
  590.  
  591. CSUNET -      California State University Network (CSUNET).  This network
  592.               connects the California State University campuses and other
  593.               universities in California.  This network is based on the CCITT
  594.               X.25 protocol, and also uses TCP/IP, SNA/DSLC, DECnet, and
  595.               others.
  596.  
  597.  
  598.  
  599. The Cypress Net - This network started as a experimental network.  The use of
  600.                   this network today is as a connection to the TCP/IP Internet
  601.                   as a cheap price.
  602.  
  603. DRI -        Defense Research Internet is a WAN that is used as a platform
  604.              from which to work from.  This network has all kind of services,
  605.              such as multicast service, real-time conference and more.  This
  606.              network uses the TCP/IP (also see RFC 907-A for more information
  607.              on this network).
  608.  
  609. ESnet -      This is the new network operated by the Department of Energy's
  610.              Office of Energy Research (DoE OER).  This net is the backbone
  611.              for all DoE OER programs.  This network replaced the High Energy
  612.              Physics DECnet (HEPnet) and also the Magnetic Fusion Energy
  613.              network (MFEnet).  The protocols offered are IP/TCP and also
  614.              DECnet service.
  615.  
  616. JANET -      JANET is a Joint Academic NETwork based in the UK, connected to
  617.              the Internet.  JANET is a PSN (information has pass through a
  618.              PAD) using the protocol X.25 though it does support the TCP/IP.
  619.              This network also connects PSS (Packet Switched Service is a PSN
  620.              that is owned and operated by British telecom).
  621.  
  622. JUNET -      Japan's university message system using UUCP, the Internet as its
  623.              backbone, and X.25 (see RFC 877).  This network is also a part of
  624.              USENET (this is the network news).
  625.  
  626. Los Nettos - Los Nettos is a high speed MAN in the Los Angeles area.  This
  627.              network uses the IP/TCP.
  628.  
  629. MILNET -     When ARPANET split, the DDN was created and MILNET (MILitary
  630.              NETwork) is also a part of the network.  MILNET is unclassified,
  631.              but there are three other classified networks that make up the
  632.              DDN.
  633.  
  634. NORDUNet -   This net is the backbone to the networks in the Nordic Countries,
  635.              Denmark (DENet), Finland (FUNET), Iceland (SURIS), Norway
  636.              (UNINETT), and Sweden (SUNET).  NORDUnet supports TCP/IP, DECNet,
  637.              and X.25.
  638.  
  639. NSN -        NASA Science Network (NSN).  This network is used by NASA to send
  640.              and relay information.  The protocols used are TCP/IP.  NSN has a
  641.              sister network called Space Physics Analysis Network (SPAN) for
  642.              DECNet.
  643.  
  644. ONet -       Ontario Network is a TCP/IP network used for research.
  645.  
  646. NSFNet -     National Science Foundation Network, this network is in the
  647.              IP/TCP family, but in any case it uses UDP (User Diagram
  648.              Protocol) and not TCP.  NSFnet is the network for the US
  649.              scientific and engineering research community.  Listed below are
  650.              all the NSFNet Sub-networks:
  651.  
  652.        BARRNet -     Bay Area Regional Research Network is located in the San
  653.                      Francisco area.  This network uses TCP/IP.
  654.  
  655.        CERFnet -     California Education and Research Federation Network is
  656.                      a research based network supporting Southern California
  657.                      Universities communication services.  This network uses
  658.                      TCP/IP.
  659.  
  660.        CICNet -      Committee on Institutional Cooperation.  This network
  661.                      services the BIG 10, and University of Chicago.  This
  662.                      network uses TCP/IP.
  663.  
  664.        JvNCnet -     John von Neumann National Supercomputer Center.  This
  665.                      network uses TCP/IP.
  666.  
  667.        Merit -       Merit connects Michigan's academic and research
  668.                      computers. This network supports TCP/IP, X.25 and
  669.                      Ethernet for LANs.
  670.  
  671.        MIDnet -      MIDnet connects 18 universities and research centers in
  672.                      the midwest United States.  The support protocols are
  673.                      TELNET, FTP and SMTP.
  674.  
  675.        MRNet -       Minnesota Regional Network, this network services
  676.                      Minnesota.  The network protocols are TCP/IP.
  677.  
  678.        NEARnet -     New England Academic and Research Network, connects
  679.                      various research/educational institutions.  You
  680.                      can get more information about this net by mailing
  681.                      'nearnet-staff@bbn.com'.
  682.  
  683.  
  684.        NCSAnet -     The National Center for Supercomputing Applications
  685.                      supports the whole IP family (TCP, UDP, ICMP, etc).
  686.  
  687.        NWNet -       North West Network provides service to the Northwestern
  688.                      United States and Alaska.  This network supports IP and
  689.                      DECnet.
  690.  
  691.        NYSERNet -    New York Service Network is a autonomous nonprofit
  692.                      network.  This network supports the TCP/IP.
  693.  
  694.        OARnet -      Ohio Academic Resources Network gives access to the
  695.                      Ohio Supercomputer Center.  This network supports TCP/IP.
  696.  
  697.        PREPnet -     Pennsylvania Research and Economic Partnership is a
  698.                      network operated and managed by Bell of Pennsylvania.  It
  699.                      supports TCP/IP.
  700.  
  701.        PSCNET -      Pittsburgh Supercomputer Center serving Pennsylvania,
  702.                      Maryland, and Ohio.  It supports TCP/IP, and DECnet.
  703.  
  704.        SDSCnet -     San Diego Super Computer Center is a network whose goal
  705.                      is to support research in the field of science.  The
  706.                      Internet address is 'y1.ucsc.edu' or call Bob at
  707.                      (619)534-5060 and ask for a account on his Cray.
  708.  
  709.        Sesquinet -   Sesquinet is a network based in Texas.  It supports
  710.                      TCP/IP.
  711.  
  712.        SURAnet -     Southeastern Universities Research Association Network
  713.                      is a network that connects institutions in the Southeast
  714.                      United States.
  715.  
  716.        THEnet -      Texas Higher Education Network is a network that is run
  717.                      by Texas A&M University.  This network connects to hosts
  718.                      in Mexico.
  719.  
  720.        USAN/NCAR -   University SAtellite Network (USAN)/National Center for
  721.                      Atmospheric Research is a network for information
  722.                      exchange.
  723.  
  724.        Westnet -     Westnet connects the western part of the United States,
  725.                      but not including California.  The network is supported
  726.                      by Colorado State University.
  727.  
  728. USENET -     USENET is the network news (the message base for the Internet).
  729.              This message base is quite large with over 400 different topics
  730.              and connecting to 17 different countries.
  731.  
  732.  
  733. 9  Internet Protocols
  734. ~~~~~~~~~~~~~~~~~~~~~
  735.      TCP/IP is a general term relating to the whole family of Internet
  736. protocols.  The protocols in this family are IP, TCP, UDP, ICMP, ROSE, ACSE,
  737. CMIP, ISO, ARP and Ethernet for LANs.  If if you want more information, get
  738. the RFCs.
  739.  
  740.       TCP/IP protocol is a "layered" set of protocols.  In this diagram taken
  741. from RFC 1180 you will see how the protocol is layered when connection is
  742. made.
  743.  
  744. Figure is of a Basic TCP/IP Network Node:
  745.  
  746.          -----------------------------------
  747.          |      Network    Application     |
  748.          |                                 |
  749.          | ... \  |  /  ..  \  |  /    ... |
  750.          |     -------      -------        |
  751.          |     | TCP |      | UDP |        |
  752.          |     -------      -------        |
  753.          |           \       /             |          % Key %
  754.          |  -------   ---------            |          ~~~~~~~
  755.          |  | ARP |   |  IP   |            |   UDP  User Diagram Protocol
  756.          |  -------   ------*--            |   TCP  Transfer Control Protocol
  757.          |     \            |              |   IP   Internet Protocol
  758.          |      \           |              |   ENET Ethernet
  759.          |       -------------             |   ARP  Address Resolution
  760.          |       |    ENET   |             |                  Protocol
  761.          |       -------@-----             |   O    Transceiver
  762.          |              |                  |   @    Ethernet Address
  763.          -------------- | ------------------   *    IP address
  764.                         |
  765. ========================O=================================================
  766.       ^
  767.       |
  768.   Ethernet Cable
  769.  
  770. TCP/IP:  If connection is made is between the IP module and the TCP module the
  771.          packets are called a TCP datagram.  TCP is responsible for making
  772.          sure that the commands get through the other end.  It keeps track of
  773.          what is sent, and retransmits anything that does not go through.  The
  774.          IP provides the basic service of getting TCP datagram from place to
  775.          place.  It may seem like the TCP is doing all the work, this is true
  776.          in small networks, but when connection is made to a remote host on
  777.          the Internet (passing through several networks) this is a complex
  778.          job. Say I am connected from a server at UCSD to LSU (SURAnet) the
  779.          data grams have to pass through a NSFnet backbone.  The IP has to
  780.          keep track of all the data when the switch is made at the NSFnet
  781.          backbone from the TCP to the UDP.  The only NSFnet backbone that
  782.          connects LSU is the University of Maryland, which has different
  783.          circuit sets.  The cable (trunk)/circuit types are the T1 (a basic
  784.          24-channel 1.544 Md/s pulse code modulation used in the US) to a
  785.          56 Kbps.  Keeping track of all the data from the switch from T1 to
  786.          56Kbs and TCP to UDP is not all it has to deal with.  Datagrams on
  787.          their way to the NSFnet backbone (at the University of Maryland) may
  788.          take many different paths from the UCSD server.
  789.  
  790.          All the TCP does is break up the data into datagrams (manageable
  791.          chunks), and keeps track of the datagrams.  The TCP keeps track of
  792.          the datagrams by placing a header at the front of each datagram.  The
  793.          header contains 160 (20 octets) pieces of information about the
  794.          datagram.  Some of this information is the FQDN (Fully Qualified
  795.          Domain Name).  The datagrams are numbers in octets (a group of eight
  796.          binary digits, say there are 500 octets of data, the numbering of the
  797.          datagrams would be 0, next datagram 500, next datagram 1000, 1500
  798.           etc.
  799.  
  800. UDP/IP:  UDP is one of the two main protocols of the IP.  In other words the
  801.          UDP works the same as TCP, it places a header on the data you send,
  802.          and passes it over to the IP for transportation throughout the
  803.          Internet.  The difference is that it offers service to the user's
  804.          network application.  It does not maintain an end-to-end connection,
  805.          it just pushes the datagrams out.
  806.  
  807. ICMP:  ICMP is used for relaying error messages.  For example you might try to
  808.        connect to a system and get a message back saying "Host unreachable",
  809.        this is ICMP in action.  This protocol is universal within the
  810.        Internet, because of its nature.  This protocol does not use port
  811.        numbers in it's headers, since it talks to the network software itself.
  812.  
  813.  
  814. Ethernet:  Most of the networks use Ethernet.  Ethernet is just a party line.
  815.            When packets are sent out on the Ethernet, every host on the
  816.            Ethernet sees them.  To make sure the packets get to the right
  817.            place, the Ethernet designers wanted to make sure that each address
  818.            is different.  For this reason 48 bits are allocated for the
  819.            Ethernet address, and a built in Ethernet address on the Ethernet
  820.            controller.
  821.  
  822.            The Ethernet packets have a 14-octet header, this includes address
  823.            "to" and "from."  The Ethernet is not too secure, it is possible to
  824.            have the packets go to two places, thus someone can see just what
  825.            you are doing.  You need to take note that the Ethernet is not
  826.            connected to the Internet.  A host on both the Ethernet and on the
  827.            Internet has to have both an Ethernet connection and an Internet
  828.            server.
  829.  
  830. ARP:  ARP translates the IP address into an Ethernet address.  A conversion
  831.       table is used (the table is called ARP Table) to convert the addresses.
  832.       Therefore, you would never even know if you were connected to the
  833.       Ethernet because you would be connecting to the IP address.
  834.  
  835.       The following is a real sketchy description of a few Internet protocols,
  836.       but if you would like to get more information you can access it via
  837.       anonymous ftp from several hosts.  Here is a list of RFCs that deal with
  838.       the topic of protocols.
  839.  
  840.       |~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  841.       |     RFC:      |       Description:                     |
  842.       |               |                                        |
  843.       |~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
  844.       |   rfc1011     |  Official Protocols of the Internet    |
  845.       |   rfc1009     |  NSFnet gateway specifications         |
  846.       |   rfc1001/2   |  netBIOS: networking for PC's          |
  847.       |   rfc894      |  IP on Ethernet                        |
  848.       |   rfc854/5    |  telnet - protocols for remote logins  |
  849.       |   rfc793      |  TCP                                   |
  850.       |   rfc792      |  ICMP                                  |
  851.       |   rfc791      |  IP                                    |
  852.       |   rfc768      |  UDP                                   |
  853.       |               |                                        |
  854.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  855.  
  856.  
  857. 10  Host Name and Address
  858. ~~~~~~~~~~~~~~~~~~~~~~~~~
  859.      Internet addresses are long and difficult hard to remember (i.e.,
  860. 128.128.57.83) so we use host names.  All hosts registered on the Internet
  861. must have names that reflect them domains under which they are registered.
  862. Such names are called Fully Qualified Domain Names (FQDNs).  Lets dissect a
  863. name and see the domains:
  864.  
  865.  lilac.berkeley.edu
  866.    ^      ^      ^
  867.    |      |      |
  868.    |      |      |____  "edu" shows that this host is sponsored by an
  869.    |      |             education related organization.  This is a top-level
  870.    |      |             domain.
  871.    |      |
  872.    |      |___________  "berkeley" is the second-level domain.  This shows
  873.    |                    that it is an organization within University of
  874.    |                    Calironia at  Berkeley.
  875.    |
  876.    |__________________  "lilac" is the third-level domain.  This indicates the
  877.                         local host name is 'lilac'.
  878.  
  879.      Common Top-Level Domains
  880.  
  881.      COM  -  commercial enterprise
  882.      EDU  -  educational institutions
  883.      GOV  -  nonmilitary government agencies
  884.      MIL  -  military (non-classified)
  885.      NET  -  networking entities
  886.      ORG  -  nonprofit intuitions
  887.  
  888.      A network address is the numerical address of a host, gateway, or TAC.
  889. The addresses are made up of four decimal numbered slots, which are separated
  890. by a period.
  891.  
  892.      There are three classes that are used most, these are Class A, Class B,
  893. and Class C.
  894.  
  895.    Class A  -  from '0'    to  '127'
  896.    Class B  -  from '128'  to  '191'
  897.    Class C  -  from '192'  to  '223'
  898.  
  899. Class A  -  Is for MILNET net hosts.  The first part of the address has the
  900.             network number.  The second is for the physical PSN port number.
  901.             The third is for the logical port number, since it is on MILNET,
  902.             it is a MILNET host.  The fourth part is for which PSN it is on.
  903.             On 29.34.0.9.  '29' is the network it is on.  '34' means it is on
  904.             port '34'.  '9' is the PSN number.
  905.  
  906. Class B  -  This is for the Internet hosts, the first two "clumps" are for the
  907.             network portion.  The second two are for the local port.
  908.  
  909.              128.28.82.1
  910.                \_/   \_/
  911.                 |     |_____ Local portion of the address
  912.                 |
  913.                 |___________ Potation address.
  914.  
  915. Class C  -  The first three "clumps" are the network portion and the last one
  916.             is the local port.
  917.  
  918.             193.43.91.1
  919.                \_|_/  |_____ Local Portation Address
  920.                  |
  921.                  |__________ Network Portation Address
  922. _______________________________________________________________________________
  923.  
  924. Downloaded From P-80 International Information Systems 304-744-2253 12yrs+
  925.