home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / pcbnet01.arc / NETMAL50.ARC / NETDOR50.ARC / NETDOOR.DOC < prev    next >
Encoding:
Text File  |  1990-12-30  |  22.5 KB  |  598 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. NetDoor
  10. Version 5.0
  11. HUB Door System for NetMail
  12.  
  13.  
  14. by Mark J. Findlay
  15. Home Dba BBS   (206) 789-9302 HST 19.2  (WASEA)
  16.  
  17. Copyright (c) 1989, 90
  18. All Rights Reserved
  19.  
  20.  
  21.  
  22.  
  23. Disclaimer.
  24.  
  25. The author makes no warranties expressed or implied as to the
  26. quality or performance of this program. The author will not
  27. be held liable for any direct, indirect, incidental, or
  28. consequential damages resulting from the use of this
  29. program.  Your use of the program constitutes your agreement
  30. to this disclaimer and your release of the author from any
  31. form of liability or litigation.
  32.  
  33.  
  34.  
  35. We are continuing our full support of the NetMail system and are
  36. constantly working to improve our product to suit the needs of the
  37. users. Many of the upgrades to NetMail since its original release
  38. are due to user's comments and suggestions for improvement. We also
  39. provide FREE 24 hour support to ALL Home Dba Software users regardless
  40. of their registration status via our support board (Home Dba BBS) as
  41. well as the HOMEDBA conference carried by systems throughout the
  42. United States.
  43.  
  44.  
  45.  
  46. Table of Contents.
  47.  
  48. NETDOOR.ZIP Contents ...............................  1.0
  49.  
  50.      Files Included with NETDOOR.ZIP ...............  1.1
  51.      Files Created By NetDoor ......................  1.2
  52.      Multi-Node Processing and NetDoor .............  1.3
  53.  
  54. Setup ..............................................  2.0
  55.  
  56.      HUB Responsibility : Assigning Conf Names .....  2.1
  57.      Directories ...................................  2.2
  58.      Updating DOORS.DAT ............................  2.3
  59.      Adjusting the NETDOOR batch file ..............  2.4
  60.      Other Required Programs .......................  2.5
  61.      Before Running NetDoor ........................  2.6
  62.  
  63. Running NetDoor ....................................  3.0
  64.  
  65.      When a NODE calls .............................  3.1
  66.      Security : BBS.NET ............................  3.2
  67.      PCBoard Caller Log ............................  3.3
  68.      When a NODE Changes Configuration .............  3.4
  69.      Deleting a NODE from the Network ..............  3.5
  70.      Unattended Logging of NetDoor Operation .......  3.6
  71.      PCBoard Events ................................  3.7
  72.  
  73. How to Get Additional Help .........................  4.0
  74.  
  75. Help in Finding/Joining a NetMail Network ..........  5.0
  76.  
  77. Other Programs From Home Dba Software ..............  6.0
  78.  
  79. Acknowledgements ...................................  7.0
  80.  
  81.  
  82. Page 1
  83.  
  84. 1.0  NETDOOR.ZIP Contents.
  85.  
  86. 1.1  Files Included with NETDOOR.ZIP.
  87.  
  88. The following files should be contained in your NETDOOR.ZIP
  89. file:
  90.  
  91.           NETDOOR.EXE    - NetDoor executable file.
  92.  
  93.           NETDOOR.CNF    - NetDoor config file.
  94.  
  95.           NETDOOR.DOC    - This document.
  96.  
  97.               NETDOOR    - NetDoor batch file.
  98.  
  99.  
  100. If your NETDOOR.ZIP file is missing any of these files, please contact
  101. Home Dba BBS at (206) 789-9302 (WASEA). You may always download the most
  102. recent version of NetMail from the support conference there.
  103.  
  104.  
  105.  
  106. 1.2  Files Created by NetDoor.
  107.  
  108. NetDoor will create new files not included with the original
  109. NetMail/NetDoor package, in order to help in the processing of calling
  110. nodes.
  111.  
  112. <BBSCODE>.HST   : NetDoor will create this file and maintain it for each
  113.                   calling node. <BBSCODE> represents the 1 - 8 character
  114.                   unique identifier for the calling node. This file
  115.                   contains a history of the calling node's last successful
  116.                   mail transfer, in the form of last message numbers
  117.                   processed for each conference carried by the calling node
  118.                   at the time of the last successful call. With this
  119.                   information, NetDoor can prompt calling nodes as to
  120.                   whether they wish to re-receive their previously
  121.                   received mail packet. You should not alter this file or
  122.                   attempt to move this file from its directory.
  123.  
  124.  
  125. 1.3  Multi Node processing and NetDoor.
  126.  
  127. You may make this door available to as many nodes simultaneously
  128. as you wish. This door can be run concurrently by any number
  129. of callers. Remember that you must create a work directory for
  130. each of your PCBoard nodes. Each work directory will have a name
  131. equal to the work directory specified in your NetMail GLOBAL
  132. configuration, with an added number corresponding to the node
  133. number of each PCBoard node. For example:
  134.  
  135.  If your WORK DIRECTORY = C:\NETMAIL\WORK
  136.  
  137.  and you are operating 3 nodes, you will need to create 3
  138.  NetDoor work directories:
  139.  
  140.                   C:\NETMAIL\WORK1
  141.                   C:\NETMAIL\WORK2
  142.                   C:\NETMAIL\WORK3
  143.  
  144.  NetDoor will use the work directory corresponding to the node
  145.  number the caller is currently on. If a NetMail node calls
  146.  on your PCBoard node 2, then C:\NETMAIL\WORK2 would be the
  147.  work directory NetDoor uses for that call.
  148.  
  149. NOTE:  IT IS ABSOLUTELY VITAL THAT YOU CREATE A SEPARATE WORK
  150.        DIRECTORY FOR EACH PCBOARD NODE YOU OPERATE!
  151.  
  152.  
  153.  
  154. 2.0    Setup.
  155.  
  156. 2.1    HUB Responsibility : Assigning Conference Names.
  157.  
  158.     As stated in the NetMail documentation, you, as the HUB
  159. sysop must assign a unique conference name for each
  160. conference that will be networked through your HUB. This
  161. applies to ALL conferences networked through you regardless
  162. of whether or not you intend to actually carry the
  163. conferences on your BBS!  Never alter or reuse these names
  164. once networking begins unless deleting the conference from
  165. your network or your nodes will not recieve their mail from
  166. that conference and you will not receive theirs.
  167.  
  168.  
  169. 2.2    Directories.
  170.  
  171.     The first step in setting up NetDoor is creating the
  172. directory in which NetDoor will reside. For the sake of
  173. order, the author recommends the creation of a separate
  174. subdirectory to house NetDoor:
  175.  
  176.                   Example:    C:\Netdoor\
  177.  
  178. Next, copy the files NETDOOR.EXE and NETDOOR.CNF into
  179. this directory or subdirectory. Place the NETDOOR file
  180. in your main PCBoard directory.
  181.  
  182. See section 1.3 above to properly set up your NetDoor work
  183. directories.
  184.  
  185.  
  186. 2.3    Updating DOORS.DAT
  187.  
  188. You will need to update your PCBoard DOORS.DAT file with the
  189. appropriate entry. If you have never configured a door before
  190. you should re-read the PCBoard documentation on the subject
  191. to completely familiarize yourself with the entire process,
  192. but as an aid in Setup configuration we will brief you on the
  193. details.  Using PCBSETUP, enter the screen containing the
  194. DOORS.DAT file specification and press F2 to edit the
  195. DOORS.DAT file. Add an entry for NetDoor by adding the name
  196. of the NetDoor batch file:  NETDOOR. Next, assign a security
  197. level to which the user (NODE system Sysop) will need in
  198. order to enter the door from PCBoard.
  199.  
  200. NOTE: NetDoor is not designed to be a Door security system. Please
  201.       specify an adequate security level to insure that only
  202.       the NODE system sysops are granted access to the door.
  203.  
  204.  
  205.  
  206.  
  207. 2.4    Adjusting the NETDOOR batch file.
  208.  
  209. NetDoor comes with a pre-written NETDOOR batch file which you
  210. are to place in your PCBoard executable directory. (Do not
  211. add the extention of ".BAT" to the NETDOOR file, PCBoard will
  212. take care of this when the door is entered). You may need to
  213. update the NETDOOR file depending on your configuration.
  214. Update this file accordingly based on the following example:
  215.  
  216. NETDOOR file statement     comment
  217. ----------------------     ----------------------------------------
  218. echo off                   Do not echo to screen.
  219.  
  220. cd \Netdoor                Change directory to the directory housing
  221.                            Netdoor.
  222.  
  223. SET DSZLOG=C:\PCB\DSZ.LOG  Tells DSZ to create DSZ.LOG in this
  224.                            directory. IMPORTANT: The file MUST be
  225.                            called DSZ.LOG and MUST be in the same
  226.                            directory as parameter #2 in the following
  227.                            line! Since parameter #2 changes with each
  228.                            PCBoard node you run, each NETDOOR batch
  229.                            file must reflect the unique and proper
  230.                            location of the DSZ.LOG file.
  231.  
  232. Netdoor netdoor.cnf c:\pcb c:\hubmail c:\utils c:\nodemail
  233.  
  234.                            The above line illustrates the startup
  235.                            command for NetDoor.
  236.  
  237.                            Netdoor     = Startup Netdoor.exe
  238.  
  239.                            Netdoor.cnf = Config file for NetDoor
  240.  
  241.                            c:\pcb      = This is where your PCBOARD.DAT,
  242.                                          PCBOARD.SYS reside. NetDoor will
  243.                                          scan these node specific files
  244.                                          when first entered by the calling
  245.                                          node.
  246.  
  247.                            c:\hubmail  = HUB's Main NETMAIL directory.
  248.  
  249.                            c:\utils    = PATH of your PKZIP.EXE file.
  250.  
  251.                                          NetDoor was re-written to execute
  252.                                          PKZIP WITHOUT loading a copy of
  253.                                          COMMAND.COM in order to save
  254.                                          approximately 24K of memory at
  255.                                          compression time. This 4th parameter
  256.                                          tells NetDoor the directory that
  257.                                          PKZIP.EXE resides in.
  258.  
  259.                            c:\nodemail = NODE's Main NetMail Directory.
  260.  
  261. cd \pcb                    return to the main PCBoard directory.
  262.  
  263. board                      restart PCBoard.
  264.  
  265.  
  266. You must enter the parameters in EXACTLY the order presented above.
  267. NetDoor uses the HUB's NetMail directory specified to load both the HUB
  268. GLOBAL.NET file and BBS.NET files and the NODE's NetMail directory to
  269. maintain the network-wide nodelist.
  270.  
  271. SPECIAL NOTE:  Please be certain you make the proper distinction
  272.                between the HUB`s NetMail directory and the NODE's
  273.                NetMail directory. If you are operating SOLELY as
  274.                a HUB (In other words, you are the National Hub
  275.                and you make NO calls to any other system to
  276.                transfer mail), then specify the directory where
  277.                NETDOOR.EXE resides as your 5th parameter.
  278.  
  279.  
  280.  
  281. Please note that with release 2.0 of NetMail, the HUB system no longer
  282. performs manual IMPORT or EXPORT. These functions are now written into
  283. the NetDoor and are performed automatically each time a node calls.
  284.  
  285.  
  286.  
  287. 2.5    Other Required Programs.
  288.  
  289. HUB systems MUST have PKZIP, PKUNZIP and DSZ in one of the
  290. directories included in the DOS PATH specification. NetMail
  291. and NetDoor use PKZIP and PKUNZIP at various points and NetDoor
  292. calls DSZ to receive and transmit mail packets.
  293.  
  294. YOU MUST HAVE A REGISTERED VERSION OF DSZ IN ORDER FOR THE DOOR
  295. TO FUNCTION PROPERLY!
  296.  
  297.  
  298. NOTE: Please make an effort to coordinate similar versions of
  299.       DSZ between the HUB and NODE systems. This has been
  300.       found to be a problem when DSZ versions were too far
  301.       apart between some HUB and NODE systems.
  302.  
  303.  
  304. 2.6    Before Running NetDoor.
  305.  
  306. Prior to running NetDoor for the first time, you must insure
  307. that you have completed the HUB configuration process through
  308. NETMAIL and that all GLOBAL.NET and CONF.NET information
  309. (created by the global and conference configuration process)
  310. is complete. This includes the creation and verification of
  311. directories and the assignment of a unique conference names
  312. to every conference that will be processed through your HUB
  313. regardless of whether you intend on carrying the conference
  314. or not.
  315.  
  316.  
  317.  
  318. 3.0    Running NetDoor.
  319.  
  320. You are now ready to receive NODE callers. As an initial test
  321. of your NetDoor configuration, you should attempt entering
  322. the door locally from PCBoard. If your configuration is
  323. correct, you will enter the door, and, because there are at
  324. present no local functions available, be returned to PCBoard.
  325.  
  326. If this happens as described, you are ready to receive
  327. calling NODES.
  328.  
  329.  
  330.  
  331.  
  332. 3.1    When a NODE calls.
  333.  
  334. NetDoor provides several prompts to the NODE caller, either
  335. helping to direct operations or simply notifying the NODE of
  336. the current activity. All messages are echoed to the local
  337. HUB screen as well.
  338.  
  339. One of the most important prompts your caller will receive is
  340. "Do You Wish to Re-Receive your Previous Mail Packet?".
  341. This is NetDoor's way of allowing a node to re-receive mail
  342. which might have already been successfully received during
  343. the last call. If the user answers the prompt with "N", or
  344. simply waits the ten seconds the prompt takes to time out,
  345. then mail processing will continue as normal, with the user
  346. receiving any new messages. If the user types "Y", then any mail
  347. successfully received during the previous call, as well as new
  348. awaiting the user for the current call, are packed up for the user.
  349.  
  350. Another feature of NetDoor (which the caller has no direct control
  351. over) is Netdoor's ability to determine if a caller's session
  352. is abnormally terminated (loss of carrier etc.) or if a file
  353. transfer (either upload or download) was successful or not. In
  354. the case of any problems mentioned above, the caller is returned
  355. to PCBoard and no message pointers on the BBS.NET file are
  356. updated. This allows the user to call again and attempt a transfer.
  357. NetDoor is able to recognize errors in file transfers through the
  358. use of the DSZ LOG file which is defined through the use of the
  359. SET statement in each NETDOOR batch file. (See sample NETDOOR
  360. batch file below).
  361.  
  362.  
  363.  
  364. 3.2    Security : BBS.NET
  365.  
  366. NetDoor provides security through the use of the NetDoor
  367. Verification of Callers option from the NetMail Configuration
  368. Menu. (Global Information). If the HUB sysop specifies "Y" in
  369. the "Verify NetDoor Callers" option of the Global Configuration,
  370. NetDoor will, after determining the identity of a NODE calling
  371. for the first time, verify that NODEs authority by scanning
  372. BBS.NET in the main NetMail executable directory. BBS.NET is
  373. created when the HUB system is first configured through NetMail.
  374. If the security option is on and NetDoor does not find the
  375. NODE's BBS-Code in BBS.NET, the calling NODE will be notified
  376. and will not be permitted to carry on the mail transfer process
  377. within NetDoor and will be returned to PCBoard. Appropriate
  378. entries will also be made in the PCBoard Caller Log.
  379.  
  380. On the other hand, the HUB system could conceiveably be
  381. configured to allow ANY AND ALL new NODE callers immediate
  382. access to the NetMail system by specifiying "N" in the
  383. "Verify NetDoor Callers" entry. When this occurs, NetDoor
  384. scans BBS.NET for the NODE entry, but if not found, automatically
  385. adds the new NODE's configuration information to BBS.NET for
  386. subsequent use. If the HUB sysop maintains a bulletin listing all
  387. conferences in the network and their conference number, and
  388. specifies a security allowing ANYONE into the NetDoor through
  389. PCBSetup, AND specifies "N" in the "Verify NetDoor Callers"
  390. field, AND configures the NETDOOR batch file for automatic
  391. non-attended HUB operation (See Sample Batch File), the HUB system
  392. could actually operate a network allowing new NODES to enter
  393. and participate in the network, without ever having made
  394. contact with the new NODE or ever needing to!
  395.  
  396. While this scenario is not necessarily an ideal or suggested
  397. one, it does illustrate NetMail's power and gives you some
  398. idea for the flexibility and options you have as a HUB sysop.
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405. 3.3    PCBoard Caller Log.
  406.  
  407. NetDoor reports to you on the activity of the calling NODE,
  408. not only on screen while the caller is online, but also to
  409. the PCBoard caller log for your review at a later time.
  410. Included in each entry in the caller log is:
  411.  
  412. Time and Date of entry to NetDoor
  413. Calling BBS identity
  414. File transfer completions
  415. Various Error Messages
  416. Time and Date of NetDoor termination.
  417.  
  418.  
  419.  
  420. 3.4    When a NODE changes configuration.
  421.  
  422. When the NODE system calls and transfers its mail, BBS.NET is
  423. automatically updated by NetDoor with the current NODE
  424. configuration. (Which conferences the NODE is networking).
  425. This allows the NODE system to freely change the conferences
  426. it carries at any time and be insured of receiving only the
  427. conferences it is currently carrying. At no time does the HUB
  428. sysop need to make any alterations to NetDoor.
  429.  
  430.  
  431.  
  432.  
  433. 3.5    Deleting a NODE from the Network.
  434.  
  435. When a NODE system is no longer part of the network run by
  436. the HUB, the HUB sysop must delete the NODE information
  437. record from the BBS.NET information file to stop any further
  438. holding or creation of that NODE's mail.
  439.  
  440. This is accomplished by executing the ALT-D function from
  441. the BBS Maintenance function from within the NetMail
  442. Configuration program. After entering the BBS Maintenance
  443. screen, page through the available entries until you
  444. come to the bbs you wish to delete. Press ALT-D and confirm.
  445. A backup of the BBS.NET file will be maintained by NetMail
  446. each time you perform a DELETE of a NODE.
  447.  
  448.  
  449.  
  450.  
  451. 3.8   Unattended Logging of NetDoor Operations.
  452.  
  453.     Incorporated into NetMail are many ProKit routines. This means that
  454.     as a HUB, you may log all NetDoor screen display activity to a collection
  455.     file for later review. This can be useful if you wish to review to
  456.     message activity of a node over a period of time, or wish to review the
  457.     NetDoor activity which occurred while you were away from the terminal.
  458.     Everything that is normally displayed by NetDoor will be written to the
  459.     collection file in the NetDoor directory. The collection filename will
  460.     be DEBUG1.OUT. In order to turn this function on, you must set the
  461.     ENVIRONMENT variable "PRODEBUG" on by using the following command either
  462.     from the DOS prompt or in your autoexec.bat:
  463.  
  464.                            SET PRODEBUG=ON
  465.  
  466.     Keep in mind that with prodebug set to on, ALL programs written with
  467.     ProKit routines will begin the detailed logging process. This could have
  468.     a profound effect on your disk space, as well as the overall performance
  469.     of your system, which is now writing to disk, nearly everthing that
  470.     scrolls across the user's screen.
  471.  
  472.  
  473.     WITH PRODEBUG SET TO ON, ALL PROGRAMS WRITTEN WITH PROKIT ROUTINES WILL
  474.     BEGIN THE DETAILED LOGGING PROCESS. THIS COULD HAVE A PROFOUND EFFECT
  475.     ON YOUR DISK SPACE, AS WELL AS OVERALL SYSTEM PERFORMANCE.
  476.  
  477.     In order to counter the effects of the disk utilization of the various
  478.     ProKit program logging, you should periodically enter the subdirectories
  479.     that the programs using ProKit reside, and delete the DEBUG1.OUT files
  480.     that are created.
  481.  
  482.     By far the greatest impact will be seen by the ProDoor program. All
  483.     screens displayed to the user by ProDoor will also be logged to disk!
  484.     Therefore, a user browsing 100K of messages during a session would
  485.     also result in an additional 100K being added to your log file. Multiply
  486.     this by several callers and you can easily see the impact this
  487.     environment variable can have.
  488.  
  489.     In order to remove the PRODEBUG=ON variable, you must either remove the
  490.     SET PRODEBUG=ON command from your autoexec.bat and reboot your system,
  491.     or, you may turn the variable off from the DOS command line:
  492.  
  493.  
  494.                            SET PRODEBUG=
  495.  
  496.  
  497.     Keep in mind that just turning the prodebug variable off from the DOS
  498.     command line will be ineffective if you still have the PRODEBUG=ON
  499.     command in your autoexec.bat file. The next time you booted your
  500.     system, the prodebug variable would be reset to ON and you would
  501.     again be logging all ProKit program activity.
  502.  
  503.  
  504. 3.9   PCBoard Events.
  505.  
  506. If a calling Node attempts to enter the NetDoor within 15 minutes of
  507. a scheduled PCBoard event, NetDoor will first check to see if the
  508. event can "slide" (that is, if the upcoming event has been defined as
  509. being able to wait until the caller logs off before starting) and if
  510. so, will let the calling Node proceed with the mail transfer. if an
  511. event is scheduled and the slide indicator has been set to "N" and
  512. the caller is within 15 mintutes of the upcoming event, the caller
  513. will be informed of this by NetDoor and will be returned to PCBoard.
  514.  
  515.  
  516.  
  517.  
  518. 4.0    How to Get Additional Help.
  519.  
  520.  
  521. If at any time you happen to run into problems you cannot
  522. solve or need additional information on any of NetMail's
  523. functions or simply wish to learn more about NetMail or any
  524. other Home Dba Software program, you may call our Support
  525. Board - HOME DBA BBS at (206) 789-9302 (WASEA).
  526.  
  527.  
  528. PLEASE MAKE ALL INQUIRIES IN THE SUPPORT CONFERENCE!
  529.  
  530.  
  531. When calling with problems, please upload as many
  532. NetMail files related to the problem as possible;
  533. (CONF.NET, BBS.NET etc), as well as CONFIG.SYS and
  534. AUTOEXEC.BAT
  535.  
  536.  
  537.  
  538.  
  539. 5.0    Help in Finding/Joining a NetMail Network.
  540.  
  541. The support conference on Home Dba will maintain a bulletin
  542. listing all known bulletin boards networking with NetMail. You
  543. may browse and/or download this list and contact the BBS most
  544. conveniently located, for more information in joining that BBS's
  545. network.  If you are already a member of a NetMail network, you
  546. may fill out the support conference questionnaire and your BBS
  547. will be added to the Nationwide NetMail Users List.
  548.  
  549.  
  550.  
  551.  
  552. 6.0    Other Programs Available from Home Dba Software.
  553.  
  554.  
  555.  
  556.  NetMail - This is the counterpart to NetDoor. This program
  557.            provides both HUB and node with everthing required for
  558.            complete setup and configuration into a NetMail
  559.            Network.
  560.  
  561.  TuDoor  - This DOOR allows users to view ansi/ascii tutorials
  562.            forward and backwards.  It was put together to get
  563.            information to users who never seemed to get around
  564.            to reading bulletins...  know any users like
  565.            that?...
  566.  
  567.  AnsiView - Interactive Ansi Viewing Door that allows
  568.            users to view ansi screen creations interactively
  569.            without having to download them first.  Comes with
  570.            a starter set of ansi screens....
  571.  
  572.  WallyBil - Calculates and maintains shared expenses among
  573.            groups of people like roommates in college etc.
  574.            Maintains individual entries, allows update of
  575.            entries, calculates each person's debt to the other
  576.            etc.
  577.  
  578.  Assorted tutorials for TuDoor Door.
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590. 7.0    Acknowledgements.
  591.  
  592. Special thanks and program dedication to Yani, whose patience
  593. and encouragement are outdone only by her Indian cooking!
  594.  
  595. I also wish to thank all those who have helped to make NetMail the
  596. program it is today, through their many comments and suggestions
  597. for improvement.
  598.