home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / network / wnos4doc.zip / WNOS4DOC.EXE / WNOS4CFG.TXT < prev    next >
Text File  |  1992-05-30  |  43KB  |  1,496 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                        WNOS4 Configuration Guide
  12.  
  13.  
  14.                      Mike Chace (G6DHU) (May 1992)
  15.  
  16.            After the German original by Mike Bentrup (DB3FL)
  17.  
  18.  
  19.                    Based on WNOS4 Program Version 4a6
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. 1.  Configuration Examples
  28.  
  29. In this section can be found example configuration files for WNOS. These
  30. are  also  provided  separately in the UK WNOS4 Distribution Pack and of
  31. course, will need to be ***EDITED*** to reflect your setup.
  32.  
  33. DB3FL's original was less detailed than the examples below. I have tried
  34. to  reflect  the  UK  Packet environment, especially with respect to the
  35. forwarding of mail via the BBS system and so on.
  36.  
  37.  
  38. 1.1.  The "alias" file
  39.  
  40. This file  is  used  for  two  main  purposes.  Firstly,  to  allow  the
  41. definition  of easy to remember names for complicated mail addresses and
  42. secondly, to define a mail 'name' that expands to more than one user. In
  43. this  way,  one  can  for  example,  mail  to  user 'john' which will be
  44. expanded by the SMTP server into some long, complicated mail address.
  45.  
  46. #
  47. # SMTP server ALIAS file. This is for resolving a given target
  48. # address into a single or multiple entry mail list.
  49. # Format:
  50. #    mail_alias_name call_1@host_1 [call_2@host_2]......# comments
  51. #
  52. me         g6dhu@g6dhu.ampr.org
  53. mike       g6dhu@g6dhu.ampr.org
  54. sysop      g6dhu@g6dhu.ampr.org
  55. dave       g4wrw@g4wrw.ampr.org
  56. john       g4otj@g4otj.ampr.org
  57. chris      g4jqd@g4jqd.ampr.org
  58. paul       g1plt%g1plt.ampr.org@g1wkk.ampr.org
  59. jim        g1wkk@g1wkk.ampr.org
  60. hayden     g8amd%g8amd.ampr.org%g8hbe%gb7bnm@g4wrw.ampr.org
  61. peter      g0bsx%g0bsx.ampr.org@g8amd.ampr.org
  62.  
  63.  
  64.                                                                         
  65.  
  66.  
  67.  
  68.                                                                         
  69.  
  70.  
  71. walt       gw3nyy%gw3nyy.ampr.org@g4wrw.ampr.org
  72. g0lxc      g0lxc@g0lxc.ampr.org
  73. tcpip      tcpip !gbr.tcpip
  74. sp         sp !gbr.sp
  75. #
  76. subnet-20  dave john chris g0lxc me
  77. #
  78.  
  79. Any mail sent to  address  "mike"  will  be  rewritten  to  the  address
  80. "g6dhu@g6dhu.ampr.org",  mail  addressed  to "subnet-20" will be sent to
  81. five different users as  specified  by  the  alias.  Mail  addressed  to
  82. "hayden"  will be directed to g4wrw who forwards to gb7bnm, who forwards
  83. to g8hbe who finally delivers it to g8amd@g8amd.
  84.  
  85. The tcpip alias contains some special syntax only implemented  in  WNOS3
  86. and  4.  If  mail is received for "tcpip", a copy is dumped in the local
  87. mail file (area) "tcpip" and a copy is sent to  the  SMTP->NNTP  gateway
  88. which  then  posts a copy of that message into the NNTP newsgroup called
  89. "gbr.tcpip".   Obviously,  this  syntax  is  only  of  use  if  NNTP  is
  90. configured  into  your WNOS program. Note also, that the "alias" file is
  91. scanned only once. Therefore the aliases for "tcpip"  and  "sp"  do  not
  92. result in a loop!
  93.  
  94.  
  95. 1.2.  The "areas" File
  96.  
  97. This file lists the mail areas that are publicly  accessible.  That  is,
  98. any  connected user may read mail in the specified areas. Switching to a
  99. different  mail  area  is  accomplished  through   the   mailbox   "area
  100. <area_name>"  command.  The  shorter "area" command will list all public
  101. mail areas ie whatever is in this file.
  102.  
  103. #
  104. # Mail Areas File.
  105. #
  106. # Format is:
  107. #
  108. # area_name Description
  109. #
  110. tcpip   -> Bulletins from the BBS Network concerning TCP/IP
  111. sp      -> Bulletins from the BBS Network about SP Packet Software
  112. amsat   -> Bulletins from the BBS Network from AMSAT
  113. baycom  -> Bulletins from the BBS Network about BayCom Packet Software
  114. #
  115. #
  116.  
  117. Due  to  DOS  filename  limits,  the  maximum  area_name  length  is   8
  118. characters.  Upper or lower case may be used.
  119.  
  120. The "areas" file has an important role within  Store  and  Forward  too,
  121. since  bulletins  in each of the areas listed will be forwarded to other
  122. mailboxes as well as a copy  being  held  for  local  reading.  This  is
  123. covered  in more detail in the "NOS Mailbox Manual" by SM0RGV, also part
  124. of the UK WNOS Distribution Pack.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         
  130.  
  131.  
  132.  
  133.                                                                         
  134.  
  135.  
  136. 1.3.  The "autoexec.bat" File
  137.  
  138. This is the DOS startup file installed on  Barry  (DC0HK)'s  WNOS  based
  139. packet  switch.  The file provides for controlled restart of the machine
  140. should any errors or  a  crash  in  WNOS  occur.  Like  most  other  DOS
  141. programs,  WNOS  returns  an  error  status  on  exit,  depending on the
  142. severity of the error. These error levels can be recognised by  the  DOS
  143. command  interpreter  through  the  ERRORLEVEL  variable.  WNOS  returns
  144. ERRORLEVELs above 250 as follows;
  145.  
  146. 251 - Timer Loop Occurred
  147. 252 - Memory Allocation Failure
  148. 254 - Stack Violation
  149. 255 - Corrupted Memory Node
  150.  
  151. Trapping each of these error levels allows a message to be  put  into  a
  152. logfile and the program restarted in a controlled manner.
  153.  
  154. REM
  155. REM DOS Batch File for WNOS
  156. REM
  157. :START
  158. @ECHO OFF
  159. CLS
  160. REM
  161. REM Start ArcNet Packet Driver
  162. REM
  163. CD \DRIVERS
  164. ARCNET 0x7e 5 0x2e0 0xd000
  165. REM
  166. REM Clean up temporary files
  167. REM
  168. CD WNOS
  169. DELETE *.TMP
  170. REM
  171. REM Set the Timezone
  172. REM
  173. SET TZ=UTC-1UTC
  174. REM
  175. REM Set Location of the Mailer called by the WNOS 'mail' command
  176. REM
  177. SET MAILER=C:\WNOS\VIEW.EXE
  178. REM
  179. REM Delete any mail lock files
  180. REM
  181. DELETE \WNOS\SPOOL\MQUEUE\*.LCK
  182. REM
  183. REM Start WNOS
  184. REM
  185. wnos -d/wnos autoexec.wn4
  186. REM
  187. REM Trap errors and restart according to severity
  188. REM
  189. IF ERRORLEVEL 255 GOTO REBOOT
  190. GOTO END
  191. :REBOOT
  192.  
  193.  
  194.                                                                         
  195.  
  196.  
  197.  
  198.                                                                         
  199.  
  200.  
  201. RESET.COM
  202. REBOOT.COM
  203. GOTO END
  204. :END
  205. REM
  206. REM Reset drivers
  207. REM
  208. CD \DRIVERS
  209. PKTSTAT 0x7e
  210. TERMIN 0x7e
  211. CD \
  212. REM
  213. REM The End
  214.  
  215. The programs "reboot.com" and "reset.com" aswell as  "warmboot.com"  are
  216. supplied  as  part  of the distribution pack. RESET.COM resets the BIOS,
  217. DOS  and  the  Disk  sub-systems  back  to  their  switch-on   defaults.
  218. REBOOT.COM does a cold start and WARMBOOT.COM, a warmboot (like Control-
  219. Alt-Delete). The above file should work with MSDOS and DRDOS.
  220.  
  221.  
  222. 1.4.  The "autoexec.nos" File
  223.  
  224. This is the WNOS4 startup file in use at g6dhu.ampr.org. It is  designed
  225. to  test  many different WNOS configurations and as such has some of the
  226. configurations are commented out. The  "attach"  examples  below  should
  227. cater for most users.
  228.  
  229. #
  230. #----------------------------------------------------------------------
  231. # General Setup Details
  232. #----------------------------------------------------------------------
  233. #
  234. # Screen is Mono so display Status Line accordingly
  235. #
  236. attribute mono
  237. #
  238. # Reboot the machine if free memory drops below 4k
  239. #
  240. mem thresh 8000
  241. mem reboot on
  242. #
  243. # Set interrupt buffer sizes (5 buffers each of 2k)
  244. #
  245. mem ibufs 2048
  246. mem nibuf 5
  247. #
  248. # Set the suffix to be added to hostnames for domain searches
  249. #
  250. domain suffix ampr.org.
  251. #
  252. # Set the local hostname
  253. #
  254. hostname g6dhu.ampr.org
  255. #
  256. # Set MYCALL (used by Mailbox and NET/ROM node)
  257.  
  258.  
  259.                                                                         
  260.  
  261.  
  262.  
  263.                                                                         
  264.  
  265.  
  266. #
  267. ax25 mycall g6dhu-5
  268. #
  269. # Set the IP address of this machine
  270. #
  271. ip address 44.131.20.3
  272. #
  273. #----------------------------------------------------------------------
  274. # Attach Hardware Ports
  275. #----------------------------------------------------------------------
  276. #
  277. # Attach TNC running KISS on COM2: Serial port speed is 9600bps
  278. # This is to a 2m radio and the interface is called "144".
  279. #
  280. attach asy 0x2f8 3 ax25 144 2048 236 9600
  281. #
  282. # Attach SLIP link running 9600bps (to sys2.g6dhu) on COM1:
  283. # The interface is called "sl0".
  284. #
  285. attach asy 0x3f8 4 slip sl0 2048 236 9600
  286. #
  287. # Attach Packet driver looking at interrupt 62 (for G8BPQ TheNode)
  288. #
  289. #attach packet 62 slip 5 236
  290. #
  291. # Attach Packet driver looking at interrupt 61 (for G8BPQ TheNode)
  292. #
  293. #attach packet 61 144 5 236
  294. #
  295. # Tell TNC running NORD><LINK The Firmware to switch into KISS mode
  296. #
  297. # Send it CR CR ESC @ K  CR CR
  298. #
  299. param 144 13 13 27 64 75 13 13
  300. #
  301. # Set Broadcast Address for direct channel
  302. #
  303. ifconfig 144 broadcast 44.255.255.255
  304. #
  305. #----------------------------------------------------------------------
  306. # TCP, IP and ICMP Parameters
  307. #----------------------------------------------------------------------
  308. #
  309. # Maximum Segment size is 512 bytes
  310. #
  311. tcp mss 512
  312. #
  313. # Window is 1024 bytes (send up to this value before waiting for an ACK)
  314. #
  315. tcp window 1024
  316. #
  317. # Initial Round Trip Time for new connections is 30 seconds
  318. #
  319. tcp irtt 30000
  320. #
  321. # Accept Telnet WILL ECHO
  322.  
  323.  
  324.                                                                         
  325.  
  326.  
  327.  
  328.                                                                         
  329.  
  330.  
  331. #
  332. echo accept
  333. #
  334. # IP Time To Live is 25 hops
  335. #
  336. ip ttl 25
  337. #
  338. # Respond to ICMP Echo Requests (pings)
  339. #
  340. icmp echo on
  341. #
  342. #----------------------------------------------------------------------
  343. # Startup servers
  344. #----------------------------------------------------------------------
  345. #
  346. start ftp
  347. start ax25
  348. start telnet
  349. start smtp
  350. start finger
  351. start echo
  352. start ttylink
  353. start netrom
  354. start discard
  355. start remote
  356. start convers
  357. start xconvers
  358. start nntp
  359. #
  360. #----------------------------------------------------------------------
  361. # SMTP Parameters
  362. #----------------------------------------------------------------------
  363. #
  364. # Kick out e-mail every 40 or so minutes
  365. #
  366. smtp timer 2500
  367. #
  368. # I am my own gateway - I need to be for BBS mail forwarding to work
  369. #
  370. smtp gateway g6dhu.ampr.org
  371. #
  372. # We want to route mail to destinations, not queue it
  373. #
  374. smtp mode route
  375. #
  376. # Only print a message on the console as new mail arrives
  377. #
  378. smtp quiet 1
  379. #
  380. # Always try delivering mail in compressed mode
  381. #
  382. smtp lzw yes
  383. #
  384. #----------------------------------------------------------------------
  385. # AX.25 Parameters
  386. #----------------------------------------------------------------------
  387.  
  388.  
  389.                                                                         
  390.  
  391.  
  392.  
  393.                                                                         
  394.  
  395.  
  396. #
  397. # Set Auto-routing as the default
  398. #
  399. ax25 digipeat 144 2
  400. #
  401. # Broadcast ID message every quarter of an hour (UK Regs)
  402. #
  403. ax25 bcinterval 900
  404. ax25 bctext "Bath, Avon - TCP/IP Mailbox and Node"
  405. #
  406. # Initial MAXFRAME to use is 7 frames
  407. #
  408. ax25 maxframe 144 7
  409. #
  410. # PACLEN is 256 bytes
  411. #
  412. ax25 paclen 144 256
  413. #
  414. # Retry for 10 times
  415. #
  416. ax25 retry 144 10
  417. #
  418. # Accept 2048 bytes before sending RNR's
  419. #
  420. ax25 window 144 2048
  421. #
  422. # Poll Threshold is 128 bytes
  423. #
  424. ax25 pthresh 144 128
  425. #
  426. # Link Inactivity Timer is 15 minutes
  427. #
  428. ax25 t3 144 900
  429. #
  430. # Link Busy Timer is 200 seconds
  431. #
  432. ax25 t4 144 200
  433. #
  434. # The default channel is the 2m one
  435. #
  436. ax25 route add 144 default
  437. #
  438. #----------------------------------------------------------------------
  439. # Log file location
  440. #----------------------------------------------------------------------
  441. #
  442. log c:/tcpip/net.log
  443. #
  444. #----------------------------------------------------------------------
  445. # NET/ROM Configuration
  446. #----------------------------------------------------------------------
  447. #
  448. attach netrom
  449. netrom user G6DHU
  450. #
  451. # Set our NET/ROM alias
  452.  
  453.  
  454.                                                                         
  455.  
  456.  
  457.  
  458.                                                                         
  459.  
  460.  
  461. #
  462. netrom interface 144 ip1403 192
  463. #
  464. # Age routes every hour and send a NODES broadcast at the same interval
  465. #
  466. netrom nodetimer 3600
  467. netrom obsotimer 3600
  468. #
  469. # Only broadcast my own route and nobody else's
  470. #
  471. netrom verbose no
  472. #
  473. # Time To Live is 25 hops
  474. #
  475. netrom ttl 25
  476. #
  477. # Accept upto 1024 bytes before Choking the L4 connection
  478. #
  479. netrom qlimit 1024
  480. #
  481. # Any node with a route quality of 1 or greater gets put in the table
  482. #
  483. netrom minq 1
  484. #
  485. # Retry a Level 4 Info frame three times
  486. #
  487. netrom retries 3
  488. #
  489. # Initial Round Trip Time on NET/ROM Level 4 is 120secs
  490. #
  491. netrom irtt 120
  492. #
  493. #----------------------------------------------------------------------
  494. # Load other configuration files (see UK Distribution Pack)
  495. #----------------------------------------------------------------------
  496. #
  497. # NET/ROM Nodefilter Table
  498. #
  499. source /tcpip/nodes.fil
  500. #
  501. # NET/ROM Routing
  502. #
  503. source /tcpip/nodes.inf
  504. #
  505. # ARP Statements
  506. #
  507. source /tcpip/nodes.arp
  508. #
  509. # AX25 Routing Table
  510. #
  511. source /tcpip/nodes.axr
  512. #
  513. # IP Routing Table
  514. #
  515. source /tcpip/nodes.rou
  516. #
  517.  
  518.  
  519.                                                                         
  520.  
  521.  
  522.  
  523.                                                                         
  524.  
  525.  
  526. # Mode Table
  527. #
  528. source /tcpip/nodes.mod
  529. #
  530. #----------------------------------------------------------------------
  531. # Mailbox sign-on texts
  532. #----------------------------------------------------------------------
  533. #
  534. # General Message Of The Day
  535. #
  536. motd "Hello from G6DHU's  TCP/IP  System  in  Bath  (Send  Control-X  to
  537. Escape)"
  538. #
  539. # Mailbox Message Of The Day
  540. #
  541. mbox motd "Type C to Chat, ? for Command List, and 'S mike' to mail me"
  542. #
  543. # Do logging of mail activity (to spool/node.log)
  544. #
  545. mbox log yes
  546. #
  547. # Allow paging of mail whilst it is read (on telnet connections)
  548. #
  549. mbox more yes
  550. #
  551. #----------------------------------------------------------------------
  552. # Mail Forwarding Parameters
  553. #----------------------------------------------------------------------
  554. #
  555. thirdparty on
  556. #
  557. # Kick out BBS mail every hour
  558. #
  559. mbox ftimer 3600
  560. #
  561. # Set the location and hierarchical address of this mailbox
  562. #
  563. mbox finfo "Bath, Avon"
  564. mbox fnic "GB7WRW.#41.GBR.EU"
  565. #
  566. #----------------------------------------------------------------------
  567. # Auto Router Save Times
  568. #----------------------------------------------------------------------
  569. #
  570. ax25 route hold 1
  571. save 7200
  572. netrom route save yes
  573. #
  574. #----------------------------------------------------------------------
  575. # Enable swap to disk or EMS/XMS RAM
  576. #----------------------------------------------------------------------
  577. #
  578. swap yes
  579. #
  580. #----------------------------------------------------------------------
  581. # NNTP Setup
  582.  
  583.  
  584.                                                                         
  585.  
  586.  
  587.  
  588.                                                                         
  589.  
  590.  
  591. #----------------------------------------------------------------------
  592. #
  593. nntp profile sig c:/tcpip/spool/signatur/g6dhu
  594. nntp profile reply <g6dhu@g6dhu.ampr.org>
  595. nntp profile organ "84 Frankland Close, Bath, Avon, BA1 4EL"
  596. nntp profile user g6dhu
  597. nntp profile fullname "Michael Chace"
  598. nntp ihave 1
  599. #
  600. #----------------------------------------------------------------------
  601. # Set up TNC running TheFirmware (or any other) KISS
  602. #----------------------------------------------------------------------
  603. #
  604. # TXdelay = 36 x 10ms
  605. #
  606. param 144 1 36
  607. #
  608. #  Persistance = 50/255 (Matches local nodes)
  609. #
  610. param 144 2 50
  611. #
  612. # Slottime = 10 x 10ms (Matches local nodes)
  613. #
  614. param 144 3 10
  615. #
  616. # TXTail = 3 x 10ms
  617. #
  618. param 144 4 3
  619. #
  620. # Set Half Duplex Radio Channel working (most are!)
  621. #
  622. param 144 5 0
  623. #
  624. #----------------------------------------------------------------------
  625. # Tell local NET/ROM nodes that we are on-air
  626. #----------------------------------------------------------------------
  627. #
  628. netrom bcnodes 144
  629. netrom bcnodes 144
  630. netrom bcnodes 144
  631. #
  632. # The END
  633.  
  634.  
  635. 1.5.  The "convers.cfg" File
  636.  
  637. This file configures the interlinking between  hosts  that  support  the
  638. convers (and xconvers) round table conferencing servers. Hosts listed in
  639. this file will be connected  automatically  at  program  startup  and  a
  640. convers interlink established.
  641.  
  642. # convers.cfg
  643. #
  644. # Define hosts to connect with, forming an interlinked
  645. # convers cluster.
  646. #
  647.  
  648.  
  649.                                                                         
  650.  
  651.  
  652.  
  653.                                                                         
  654.  
  655.  
  656. # The hostname of this convers node
  657. #
  658. g6dhu
  659. #
  660. # Hosts to connect to, in the format:
  661. #
  662. # convers_hostname connect_protocol
  663. #
  664. g0lxc telnet
  665. g4otj xtelnet
  666. g8hbe telnet
  667. #
  668. # The End
  669.  
  670. The first line specifies  the hostname to recognise this node by in  the
  671. cluster.  It  should  not include a ".ampr.org" extension. The following
  672. lines indicate the hostnames of nodes that will be  linked  to  and  the
  673. connection method used to reach each. The connect_protocol may be one of
  674. "ax25", "netrom", "telnet" and "xtelnet" however, WNOS4 only supports  a
  675. TCP  based  connection  ie  "telnet"  or  "xtelnet".   Both  implemented
  676. connect_protocols will autoconnect to the hosts indicated and  login  to
  677. the  remote  convers  server.  "telnet"  builds  a  normal  (text based)
  678. connection, whereas "xtelnet" uses LZW data compression on the link.
  679.  
  680.  
  681. 1.6.  The "domain.txt" File
  682.  
  683. Used to look up IP addresses and domain names. The UK domain.txt file is
  684. part of the UK Distribution Pack.
  685.  
  686.  
  687. 1.7.  The "forward.bbs" File
  688.  
  689. This file defines the actions to be taken to forward  mail  using  AX.25
  690. Store  and Forward to other Mailboxes. Mail may also be forwarded to TNC
  691. based PMSs and PBBSs. Here is the forward.bbs file in use at G6DHU-5.
  692.  
  693. #
  694. # forward.bbs - AX.25 Store and Forward control file
  695. #
  696. # Format:  <mailfile_name>
  697. #      <connect_type> <iface> <callsign|hostname|nodename>
  698. #      .<connect_command>  # Optional
  699. #          <area_to_forward>
  700. #          <area_to_forward>
  701. #          .....
  702. #          ------------------  # Start of next forward record
  703. #
  704. #
  705. g7xyz
  706. ax25 144 g7xyz-2
  707. g7xyz
  708. amsat
  709. ------
  710. gb7imb
  711. ax25 144 aqusul-2
  712.  
  713.  
  714.                                                                         
  715.  
  716.  
  717.  
  718.                                                                         
  719.  
  720.  
  721. .c imbbbs
  722. gb7imb
  723. ------
  724. gb7wrw
  725. netrom gb7wrw
  726. gb7wrw
  727. bbsnet TCPIP @ GBR.EU
  728. #
  729. # The End
  730.  
  731. The first record forwards mail to G7XYZ. This is a TNC running a PacComm
  732. PMS.  All  that  is  required  is  to  connect  to  his  PMS over the 2m
  733. interface, and following successful exchange of mailbox IDs, forward any
  734. mail  to  him  that  is  in  the g7xyz mailfile and in the amsat "area".
  735. Personal mail delivered from the g7xyz mailfile  will  be  deleted  once
  736. successfully transferred. Since the "amsat" area is listed in my "areas"
  737. file (see earlier section) messages in this mailfile will not be deleted
  738. after  forwarding.  In  this  way,  public  mail  "areas" keep copies of
  739. messages forwarded to other mailboxes.
  740.  
  741. The second forwarding record, forwards to a local mailbox which is  part
  742. of  the UK BBS network. To connect to GB7IMB, I must first connect to my
  743. local TheNet node (GB7UX-2, alias AQUSUL), once connected, I send it the
  744. text  'c  imbbbs' which instructs GB7UX-2 to make the connection for me.
  745. Once a connection is made and WNOS sees  the  mailbox  login  banner,  I
  746. forward any mail in the "gb7imb" mailfile.
  747.  
  748. The last forwarding record is much the same as before except that GB7WRW
  749. appears  in  my  NET/ROM  routing  table. Therefore, I can connect to it
  750. using a NET/ROM Level 4 circuit, much like using  the  "netrom  connect"
  751. command  in WNOS. Mail for "gb7wrw" is forwarded, as well as anything in
  752. the "bbsnet" area. If any messages in the "bbsnet" area are addressed to
  753. "bbsnet" I readdress them to "TCPIP @ GBR.EU" before forwarding them.
  754.  
  755. Not shown here  is  a  forwarding  record  that  uses  "telnet"  as  the
  756. connection  method.  Must hosts supporting telnet are usually capable of
  757. handling mail via SMTP and as such, Store and Forward is not often used.
  758.  
  759. WNOS does two other noteworthy things when forwarding mail  using  Store
  760. and Forward. Firstly, if the mail was delivered to your node using SMTP,
  761. WNOS will strip all SMTP message headers (eg Received:, Date: etc)  from
  762. the  message  as  it  is  forwarded since BBSes don't need or understand
  763. those headers. Secondly, WNOS adds a BBS style R:  header  line  to  the
  764. message.   All  mailboxes add their own R: headers as they forward mail,
  765. rather like the Received: headers in SMTP. WNOS's "mbox finfo" and "mbox
  766. fnic"  commands  allow  you  to add extra information to the header. For
  767. example, I set
  768.  
  769. mbox finfo "Bath, Avon"
  770. mbox fnic "GB7WRW.#41.GBR.EU"
  771.  
  772. in my "autoexec.nos" file. This generates an R: header like
  773.  
  774. R:920322/2203z 12345@:G6DHU.GB7WRW.#41.GBR.EU [Bath, Avon] (WNOS4)
  775.  
  776.  
  777.  
  778.  
  779.                                                                         
  780.  
  781.  
  782.  
  783.                                                                         
  784.  
  785.  
  786. Mailboxes  interpret  the  Heirarchical  Address  part  of  the   header
  787. (G6DHU.GB7WRW.#41.GBR.EU) and use it to learn a path to your mailbox.
  788.  
  789.  
  790. 1.8.  The "ftpusers" File
  791.  
  792. This file is used to control access to the internal mailbox and the  FTP
  793. server.  It  is  Internet tradition to specify permissions for the users
  794. "anonymous", "guest" and "bbs" but not any passwords. Any users  unknown
  795. to  your  system  can  then  login and use it, albeit with (usually) few
  796. permissions.  Also, don't forget to  add  an  entry  for  yourself,  the
  797. sysop, and give it all permissions.
  798.  
  799. Please also note, that as my WNOS "root" is the  C:\TCPIP  subdirectory,
  800. my  public  files area is therefore "/tcpip/public", it may be different
  801. for your system. The leading "/" is taken to mean "this is a  path  name
  802. from  the  root  of  the disk" ie short-hand for "C:\". If you do have a
  803. different starting directory you will need to  edit  the  "public"  file
  804. area path as required.
  805.  
  806. #
  807. # FTPUSERS - Access control file for FTP and Mailbox users
  808. #
  809. # Format is: <username> <password> <login_directory> <permission>
  810. #
  811. # Forward slashes "/" *NOT* backslashes "\" are used to delimit
  812. # directory names.
  813. #
  814. # The 'traditional' users
  815. #
  816. anon * /tcpip/public 3
  817. anonymous * /tcpip/public 3
  818. bbs * /tcpip/public 3
  819. guest * /tcpip/public 3
  820. nocall * /tcpip/public 128
  821. #
  822. #-----------------------------------------------------
  823. #
  824. # here follows my user list and permissions
  825. #
  826. g6dhu mike / 127
  827. #
  828. g4wrw dave /tcpip/public 59
  829. g0bsx peter /tcpip/public 59
  830. g4otj john /tcpip/public 59
  831. g4jqd chris /tcpip/public 59
  832. g4htv * /tcpip/public 59
  833. g8amd hayden /tcpip/public 59
  834. g0lxc john /tcpip/public 59
  835. g7btd sean /tcpip/public 59
  836. g1nmw alex /tcpip/public 59
  837. g4fro garry /tcpip/public 59
  838. g8dkc peter /tcpip/public 59
  839. gb7bnm dave /tcpip/public 59
  840. g0jps chris /tcpip/public 59
  841. gb7sdn bbs /tcpip/public 25
  842.  
  843.  
  844.                                                                         
  845.  
  846.  
  847.  
  848.                                                                         
  849.  
  850.  
  851. g8hbe bob /tcpip/public 59
  852. #
  853. # THE END
  854.  
  855. Note that although users connecting to the mailbox via AX.25 or  NET/ROM
  856. will  not  have  to  login,  they  will  still  inherit  the permissions
  857. specified for their callsign (username). A "*"  in  the  password  field
  858. means accept any password.
  859.  
  860. The permission is set in the following way. Select from the table below,
  861. the  access  to  facilities you wish to grant a user. For each facility,
  862. note its number. Add all the numbers together to give the final  setting
  863. for <permission> in the "ftpusers" file.
  864.  
  865. 1   : Read permission
  866. 2   : Write permission (if file does not exist)
  867. 4   : File Delete and overwrite permission
  868. 8   : AX.25 Connect privilege
  869. 16  : Telnet privilege
  870. 32  : NET/ROM (NConnect) privilege
  871. 64  : Sysop privilege
  872. 128 : This user is Banned from the BBS
  873.  
  874.  
  875. 1.9.  The "host.hlp" file
  876.  
  877. This file can be used to provide a short piece of announcement text when
  878. users  connect  to  the mailbox. This overrides the default text sent by
  879. the mailbox on connecting. Keep the text to a minimum!
  880.  
  881. Welcome to the G6DHU TCP/IP Mailbox and Node in Bath, Avon
  882.  
  883. The Escape Character is Control-X
  884.  
  885. System running version 4 test software (Mike - 1 May 1992)
  886.  
  887. ***PLEASE*** remember to edit the 'host.hlp' file supplied with  the  UK
  888. dirstribution pack. I must have had at least a dozen messages from users
  889. asking me why their system gave the text above when someone connected to
  890. their mailbox!!
  891.  
  892.  
  893. 1.10.  The "nos.rc" File
  894.  
  895. This file is used by the FTP client to provide autologin at a remote FTP
  896. server. Manual login is no longer necessary,  just type "ftp <host>" and
  897. when connected, WNOS logs in with your  username  and  password  at  the
  898. remote  machine  automatically. Login is complete when the "ftp>" prompt
  899. appears in the session window.
  900.  
  901. #
  902. # nos.rc - FTP Autologin control file
  903. #
  904. # Format is: <FTP-hostname> <Username> <Password>
  905. #
  906. g6dhu g6dhu mike
  907.  
  908.  
  909.                                                                         
  910.  
  911.  
  912.  
  913.                                                                         
  914.  
  915.  
  916. sys2.g6dhu mike remote
  917. g4wrw g6dhu mike
  918. g4otj g6dhu mike
  919. g0lxc g6dhu mike
  920. #
  921. # The End.
  922.  
  923.  
  924. 1.11.  The "popusers" File
  925.  
  926. This file controls access to the POP server if you are a mail collection
  927. point  for other hosts. User and password must be separated with a colon
  928. ":", and spaces are not allowed.
  929.  
  930. #
  931. # popusers - POP server access control file
  932. #
  933. # Format is: username:password:
  934. #
  935. g4otj:john:
  936. g4wrw:dave:
  937. g4jqd:chris:
  938. #
  939. # The End.
  940.  
  941.  
  942. 1.12.  The "rewrite" File
  943.  
  944. This file allows mail to be redirected to a mail  file  other  than  the
  945. default  ie  that  specified  in  the  To: address. See the "NOS Mailbox
  946. Manual" for further details. here is the simple  rewrite  file  used  at
  947. g6dhu.
  948.  
  949. sp@* sp
  950. tcpip@* tcpip
  951. *@*.eu gb7wrw
  952. *@*.gbr.eu gb7wrw
  953. *@gb7* gb7wrw
  954.  
  955. The rewrite file above specifies 5 rules on which to match addresses.
  956.  
  957. The first two rules cater for the receipt of BBS bulletins mailed to  me
  958. by  a  local mailbox. For example, it therefore does not matter if TCPIP
  959. bulletins are addressed as "TCPIP @ GBR", "TCPIP @ GBR.EU" or any  other
  960. "@"  address,  they  will  always be written straightaway to the "tcpip"
  961. mail area. From then on, they can  be  dealt  with  as  is  appropriate;
  962. forwarded to another BBS, to users, a copy to myself etc.
  963.  
  964. The last three rules are used to catch BBS style addresses and  redirect
  965. the  message  to the "gb7wrw" mailfile for forwarding to GB7WRW (see the
  966. "forward.bbs" file example above). This means for instance, that  in  my
  967. favourite  mailer  (BM,  PCElm,  View  etc)  I  can  address mail to say
  968. "g7zzz@gb7zzz.#99.gbr.eu" or "g7zzz@gb7zzz" (a BBS destination address).
  969. The  third  rule  of  the "rewrite" file matches this address and so the
  970. message  is  redirected  to  the  "gb7wrw"  mailfile.  Note  that   only
  971. REDIRECTION  takes  place,  the  To:  address remains the same. When the
  972.  
  973.  
  974.                                                                         
  975.  
  976.  
  977.  
  978.                                                                         
  979.  
  980.  
  981. mailbox forwarding timer kicks, this message will be forwarded to GB7WRW
  982. mailbox as;
  983.  
  984. SP G7ZZZ @ GB7ZZZ.#99.GBR.EU < G6DHU
  985.  
  986. and so be forwarded through the mailbox network to G7ZZZ at  the  GB7ZZZ
  987. mailbox.
  988.  
  989. Please note that for this to work, you must set yourself to be your  own
  990. SMTP gateway (in the autoexec.nos file) eg
  991.  
  992. smtp gateway g6dhu.ampr.org
  993.  
  994.  
  995. 1.13.  Using WNOS with the G8BPQ Node Software
  996.  
  997. To be written
  998.  
  999.  
  1000. 1.14.  Using WNOS  with a PK232 Multi Mode Controller
  1001.  
  1002. The following lines may be inserted at the  end  of  the  "autoexec.nos"
  1003. file in order to configure a PK232 Controller for use with WNOS. You may
  1004. need to change the interface name ("144" in this case) to match yours.
  1005.  
  1006. #
  1007. # Set PK232 to KISS mode
  1008. #
  1009. param 144 13 17 %500
  1010. param 144 13 %500 ">awlen 8" 13
  1011. param 144 13 %500 ">parity 0" 13
  1012. param 144 13 %500 ">persist 255" 13
  1013. param 144 13 %500 ">hf off" 13
  1014. param 144 13 %500 ">packet" 13
  1015. param 144 13 %500 ">hbaud 300" 13
  1016. param 144 13 %500 ">start $0" 13
  1017. param 144 13 %500 ">stop $0" 13
  1018. param 144 13 %500 ">xon $0" 13
  1019. param 144 13 %500 ">xoff $0" 13
  1020. param 144 13 %500 ">xflow off" 13
  1021. param 144 13 %500 ">conmode trans" 13
  1022. param 144 13 %500 ">hpoll off" 13
  1023. param 144 13 %500 ">kiss on" 13
  1024. param 144 13 %500 ">rawhdlc on" 13
  1025. param 144 13 %500 ">ppersist on" 13
  1026. param 144 13 %500 ">host on" 13
  1027. #
  1028. # The End.
  1029.  
  1030. Use the command "param 144 255" to switch the  controller  out  of  KISS
  1031. mode before exiting WNOS if desired.
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.                                                                         
  1040.  
  1041.  
  1042.  
  1043.                                                                         
  1044.  
  1045.  
  1046. 1.15.  Using WNOS with a PacComm Tiny2 TNC
  1047.  
  1048. These commands switch a Tiny2 TNC into KISS mode
  1049.  
  1050. #
  1051. # Set Tiny 2 into KISS mode
  1052. #
  1053. param 144 13 %500 ">kiss on" 13
  1054. param 144 13 %500 ">restart" 13
  1055. #
  1056. # The End.
  1057.  
  1058. Use the command "param 144 255" to switch the  controller  out  of  KISS
  1059. mode before exiting WNOS if desired.
  1060.  
  1061.  
  1062. 1.16.  Using WNOS under DesqView
  1063.  
  1064. WNOS can be used with  the  Desqview  (DV)  multitasker.  The  following
  1065. procedure was developed by Rick, (DA2WD/KE0GB) for his system.
  1066.  
  1067.      1. Start DV from DOS with the "dv" command
  1068.  
  1069.      2. Activate Learn Mode with SHIFT+ALT
  1070.  
  1071.      3. "Start Script" appears, press Return
  1072.  
  1073.      4. Enter "!" to the question "Press key you want to redefine"
  1074.  
  1075.      5. Type "STARTUP WNOS" and press Return.
  1076.  
  1077.      6. From this point on, all key presses are shown  by  DV.  If,  for
  1078.      instance,  the  DV  Window  is  to use the whole of the screen, the
  1079.      following commands are necessary; Call the "Open Window" menu  with
  1080.      the  normal 2-character-command used to start WNOS. Then use "Zoom"
  1081.      (or Alt-Z) to expand the window.
  1082.  
  1083.      7. Press ALT+SHIFT to end Learn Mode.
  1084.  
  1085.      8. Press Return in response to the "Finish Script" prompt.
  1086.  
  1087.      9. Quit DV. On being asked "Save Scripts?", enter "save  them"  and
  1088.      press Return. Enter Return in response to the security question.
  1089.  
  1090.      10. Restart DV from scratch with the DOS "dv" command. WNOS  should
  1091.      now  start  automatically.  If  DV  is to be started from a machine
  1092.      boot, the lines "cd \dv" and "dv" should be in  the  "autoexec.bat"
  1093.      file.
  1094.  
  1095. WNOS can also be  used  in  extended  43/50  line  mode.  The  following
  1096. commands should then be used;
  1097.  
  1098.      1. Call up the command window from DV.
  1099.  
  1100.      2. Type "CP", to change the configuration of a program.
  1101.  
  1102.  
  1103.  
  1104.                                                                         
  1105.  
  1106.  
  1107.  
  1108.                                                                         
  1109.  
  1110.  
  1111.      3. Type in the 2-character-command that starts the program.
  1112.  
  1113.      4. Press <F1>, to call up the extended options.
  1114.  
  1115.      5. In the "Window  Position"  fields,  the  following  are  usually
  1116.      satisfactory.
  1117.  
  1118.      Max Height: 50          Starting Height: 50     Starting Row: 0
  1119.      Max Width:  80          Starting Width:  80     Starting Col: 0
  1120.  
  1121.      6. Save the new parameters and leave the Configuration Mode.
  1122.  
  1123.  
  1124. 2.  Glossary
  1125.  
  1126. ARP      The Address Resolution Protocol. Used to map
  1127.          IP addresses to their physical link-layer
  1128.          addresses. On AMPRNET therefore, ARP is used
  1129.          to map IP addresses to callsigns and vice versa.
  1130.  
  1131. BBS      Bulletin Board System (= Mailbox).
  1132.  
  1133. CHAT     Variation on the Telnet protocol using TCP.
  1134.          It is implemented in most NOS versions and
  1135.          lives on TCP port 87. It allows a direct
  1136.          connection to the console of another host.
  1137.  
  1138. CONVERS  Round Table Conferencing System which lives
  1139.          on TCP port 3600. Allows multi user round
  1140.          table conferencing to be distributed across
  1141.          more than one host.
  1142.          Data transfer in WNOS uses TCP and IP.
  1143.  
  1144. CONSOLE  In this manual, the console refers to the PC.
  1145.          Typically, its attached screen and keyboard.
  1146.  
  1147. CR       Carriage Return. The "Return" or "Enter" key.
  1148.  
  1149. CTRL     The "Control" key.
  1150.  
  1151. DISCARD  TCP Server on port 9.
  1152.          Incoming frames to this port are sent an
  1153.          acknowledgement but are thrown away. This
  1154.          port is used for test purposes.
  1155.  
  1156. DOMAIN   UDP Service on port 53.
  1157.          Allows the querying of unknown hostnames or
  1158.          IP addresses on a remote domain server.
  1159.  
  1160. ECHO     TCP service on port 7.
  1161.          The opposite of DISCARD. Any frames sent to
  1162.          this port are echoed back with an Ack. Used
  1163.          for testing purposes.
  1164.  
  1165. ESC      The "Escape" or "Esc" key.
  1166.  
  1167.  
  1168.  
  1169.                                                                         
  1170.  
  1171.  
  1172.  
  1173.                                                                         
  1174.  
  1175.  
  1176. FINGER   TCP service on port 79.
  1177.          Allows for querying information about the
  1178.         users of a remote system by another.
  1179.  
  1180. FRAME    Data to send between hosts is broken into
  1181.          frames. They may (loosely) be thought of as
  1182.          packets. They hold control information such
  1183.          as destination address etc and the raw data
  1184.          to be sent to the destination.
  1185.  
  1186. FTP      TCP service on ports 20 and 21.
  1187.          This is the File Transfer Protocol used for
  1188.          moving files, both text and binary between
  1189.          different machines.
  1190.  
  1191. HEADER   This is the term used to describe the part of
  1192.          a frame that contains the control information.
  1193.          Typically, it contains addresses, byte counts,
  1194.          and other important information.
  1195.  
  1196. HOST     The way of identifying a node in a network. In
  1197.          AMPRNET, a host usually an Amateur Radio Station.
  1198.  
  1199. IP       The Internet Protocol. IP is responsible for
  1200.          routing TCP or UDP frames between hosts.
  1201.          The logical connections being set up and
  1202.          disconnected by TCP.
  1203.          IP is a Level 3 (Network) layer protocol.
  1204.  
  1205. LZW      A data compression method (Lempel-Ziv-Welch).
  1206.          WNOS uses LZW to provide real time compression
  1207.          of messages sent by SMTP, NNTP and the Convers
  1208.          system.
  1209.  
  1210. MODE DATAGRAM Indicates that TCP/IP frames are sent
  1211.          using AX.25's broadcast mode (UI frames).
  1212.          Therefore, AX.25 is used purely as a
  1213.          transmission method with no active part
  1214.                 in the connection.
  1215.  
  1216. MODE VC  Indicates that TCP/IP frames are sent over
  1217.          an AX.25 connection. AX.25 takes an active
  1218.          part in the connection by providing the means
  1219.          for acknowledgement and retries at the link
  1220.          layer. VC = Virtual Circuit (a connection).
  1221.  
  1222. MODE IPCAM A variation on the VC mode where instead of
  1223.          sending TCP/IP frames across AX.25 connections
  1224.          with a PID (Protocol Identifier) of "IP", the
  1225.          normal PID of "Text" is used. This allows
  1226.          TCP/IP to be used in AX.25 networks that may
  1227.          not support PIDs other than text.
  1228.  
  1229. MTU      Maximum Transmission Unit. This is the maximum
  1230.          length of a frame that will be sent by IP in any
  1231.          one instance.
  1232.  
  1233.  
  1234.                                                                         
  1235.  
  1236.  
  1237.  
  1238.                                                                         
  1239.  
  1240.  
  1241. NET      The first implementation of Amateur TCP/IP also by
  1242.          Phil Karn (KA9Q). NOS built upon the experience
  1243.          gained during the development of NET.
  1244.  
  1245. NET/ROM  A Networking Protocol proving both routing (level 3)
  1246.          an Transport (level 4) functions. Now beginning to
  1247.          be replaced by more intelligent protocols with more
  1248.          power and less overhead.
  1249.  
  1250. NNTP     The Network News Transfer Protocol service on TCP
  1251.          port 119. Allows for the distribution of news amongst
  1252.          hosts defined by a heirarchy of discussion groups
  1253.          known as newsgroups.
  1254.  
  1255. NOS      The Network Operating System. The TCP/IP implementation
  1256.          developed on the IBM PC by KA9Q.
  1257.  
  1258. PID      Protocol IDentifier. This is a field in the header sent
  1259.          by all AX.25 Information frames. Its value determines
  1260.          which upper-layer (or none) are being carried by the
  1261.          AX.25 frame (eg PID=F0 Hex is Text, CF=NET/ROM etc).
  1262.  
  1263. POP      The Post Office Protocol service on TCP port 109.
  1264.          Allows collection of personal mail from a remote
  1265.          host.
  1266.  
  1267. RFC      Request For Comments. The set of documents (there are
  1268.          hundreds) which define and standardize the Internet
  1269.          protocols.
  1270.  
  1271. REMOTE   Usually denotes the other end of a connection. In NOS
  1272.          it is also a server, on UDP port 1234 that allows
  1273.          remote control of other hosts.
  1274.  
  1275. RTT      Round Trip Time. The time taken between sending a frame
  1276.          and receiving its acknowledgement from the remote end.
  1277.  
  1278. SESSION  In this manual, this is a connection setup over whatever
  1279.          protocol, with a remote host.
  1280.  
  1281. SLIP     The Serial Line Internet Protocol. Allows to TCP/IP
  1282.          hosts to communicate over a normal serial connection.
  1283.  
  1284. SMTP     The Simple Mail Transfer Protocol on TCP port 25.
  1285.          Allows sending, receiving and routing of personal
  1286.          electronic mail between users of each TCP/IP host.
  1287.          This is in contrast to NNTP where messages (news
  1288.          articles) are 'broadcast' in nature ie like BBS
  1289.          bulletins.
  1290.  
  1291. SRTT     Smoothed Round Trip Time. The RTT averaged over the
  1292.          number of frames sent in a certain time.
  1293.  
  1294. SYSOP    = SYStem OPerator. Usually the owner of guardian
  1295.           of the host.
  1296.  
  1297.  
  1298.  
  1299.                                                                         
  1300.  
  1301.  
  1302.  
  1303.                                                                         
  1304.  
  1305.  
  1306. TCP      The Transmission Control Protocol. Responsible for
  1307.          all aspects of connection control, setup, disconnection
  1308.          and ensurance that data reaches the remote host and is
  1309.          not lost. TCP uses IP for it's host-host routing. TCP
  1310.          is a Level 4 (transport) protocol.
  1311.  
  1312. TCP/IP   A generic term used for any networking system that
  1313.          uses TCP for Transport and IP for Network functions.
  1314.  
  1315. TELNET   A TCP service on port 23.
  1316.          Allows login to a remote host running TCP/IP.
  1317.  
  1318. TTYLINK  A variation of the Telnet protocol that allows a
  1319.          direct link to the console of another TCP/IP host.
  1320.  
  1321. UDP      The User Datagram Protocol.
  1322.          Like TCP, this is a Level 4 (Transport) layer
  1323.          protocol but only provides an unreliable connection.
  1324.          UDP frames are sent to host ports, like TCP but the
  1325.          frames are not acknowledged by that host - just acted
  1326.          upon if received. UDP uses IP as its routing protocol.
  1327.  
  1328. UNIX     An Operating System popular on many mini and mainframe
  1329.          computers. TCP, IP and UDP are almost always supported
  1330.          by machines running Unix. Much more powerful than DOS
  1331.          since it is multi-user and multi-processing by design.
  1332.  
  1333. USER     A user of a TCP/IP host.
  1334.  
  1335. WAMPES   The Wuerttemberg Amateur Multi-Protocol Experimental
  1336.          System.
  1337.          A Unix based TCP/IP implementation also based on NOS.
  1338.          It allows remote login to a full Unix Shell, and supports
  1339.          SMTP, NNTP, Convers, NET/ROM, AX.25 and all other usual
  1340.          TCP service.
  1341.  
  1342. XCONVERS See CONVERS. Round Table Conferencing service on
  1343.          TCP port 3601. Transports conference data using
  1344.          LZW data compression.
  1345.  
  1346.  
  1347. 2.1.  The ISO Reference Model
  1348.  
  1349. Throughout this manual, you will have read terms such as "layer 1", "the
  1350. Transport  layer"  and  so on. These terms are used in everyday "network
  1351. speak". Layer and level can be used interchangeably.
  1352.  
  1353. The  International  Standards  Organisation   has   defined   networking
  1354. technology  in  terms of a 7 layer or levels reference model. Each layer
  1355. has a distinct task to perform in a network. It also  provides  services
  1356. for  the layer above it to use, and uses the services of the layer below
  1357. it. Briefly, the layers and their functions are as follows;
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.                                                                         
  1365.  
  1366.  
  1367.  
  1368.                                                                         
  1369.  
  1370.  
  1371. 2.1.1.  Layer 1 (The Physical Layer)
  1372.  
  1373. This layer is responsible for the actual transmission of  data.  In  our
  1374. world, it is made of radios, wires, modems and so on. This is the lowest
  1375. layer in the hierarchy. It deals with  modulation,  signalling  and  may
  1376. perform basic error correction.
  1377.  
  1378.  
  1379. 2.1.2.  Layer 2 (The Data Link Layer)
  1380.  
  1381. This layer is responsible for taking a raw physical link (eg a wire or a
  1382. radio  channel)  and  turning it into a point-to-point link that appears
  1383. nearly error free to the layer above it. It does this by using  framing,
  1384. error  correction, flow control and a retry mechanism.  AX.25 is a Layer
  1385. 2 protocol.
  1386.  
  1387.  
  1388. 2.1.3.  Layer 3 (the Network Layer)
  1389.  
  1390. This layer masks routing and switching details from the layer above  it.
  1391. Its job is to get a message from source to destination without regard to
  1392. the underlying network structure, be it  a  radio  channel,  wire  link,
  1393. Ethernet  etc.  It  knows  how to reach the other end by some addressing
  1394. scheme. IP is a Layer 3 protocol.
  1395.  
  1396.  
  1397. 2.1.4.  Layer 4 (The Transport Layer)
  1398.  
  1399. This layer is the last  of  the  "communication"  oriented  layers.  Its
  1400. responsibility  is  to  get error-free data across what appears to be an
  1401. end-to-end connection. It usually deals with flow (congestion)  control,
  1402. fragmenting of large messages into ones that fit the lower layers and so
  1403. on. TCP is a transport protocol.
  1404.  
  1405.  
  1406. 2.1.5.  Layer 5 (The Session Layer)
  1407.  
  1408. Deals with the maintenance of an end-to-end connection.
  1409.  
  1410.  
  1411. 2.1.6.  Layer 6 (The Presentation Layer)
  1412.  
  1413. Resolves differences in the presentation of data between one  end  of  a
  1414. session and the other. For instance, converting the IBM EBCDIC character
  1415. set to the ASCII character set.
  1416.  
  1417.  
  1418. 2.1.7.  Layer 7 (The Application Layer)
  1419.  
  1420. This is the top of the 'protocol stack'. It  consists  of  the  programs
  1421. that  are  run on a machine and use the services of the levels below it.
  1422. SMTP for instance, as an application that provides  an  electronic  mail
  1423. service, Telnet provides a remote login service and so on.
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.                                                                         
  1430.  
  1431.  
  1432.  
  1433.                                                                         
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.                                                                         
  1495.  
  1496.