home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 02 / 0031 / gt_cbv.doc < prev    next >
Encoding:
Text File  |  1991-12-02  |  14.5 KB  |  396 lines

  1.  
  2.                     GT_CBV Version 1.4a
  3.  
  4.    Call Back Validation Door for GT Power Comm 14 and 15
  5.    =====================================================
  6.  
  7.                           Purpose
  8.                           -------
  9.  
  10.    The name says it all. With this you can offer a door  for 
  11. your users to Validate themselves. It will call them back to 
  12. confirm  that the phone number given is correct. It  however 
  13. has no way of confirming the name.
  14.  
  15.  
  16.                     Functional Overview
  17.                     -------------------
  18.  
  19. -   GT_CBV  was  intended to be as  simple  as  possible  to 
  20. implement (for the Sysop) and to use (for the user). It gets 
  21. all  the  information required from the  GT  control  files, 
  22. including  Modem  Settings, Result codes,  Passwords,  Phone 
  23. numbers  etc. Thus it is almost pre-setup by setting  up  GT 
  24. for  Host  mode.  There are  many  command  line  parameters 
  25. available to deal with special situations but in most  cases 
  26. their use is not required.
  27.  
  28. - It will not allow long distance call back (different  area 
  29. code  or  starting with 1) and will block  numbers  starting 
  30. with 911, 411 or 611.
  31.  
  32. -  It keeps a file of validated numbers with the users  name 
  33. and  checks new numbers against this file to avoid  multiple 
  34. alias's. This will pose a problem for members living in  the 
  35. same  household but I saw no way to solve that problem.  You 
  36. can  edit this file manually to add numbers you wish  to  be 
  37. blocked  or remove previously entered numbers. Do Not use  a 
  38. word  processor  or  other  program  that  inserts   special 
  39. characters in the file.
  40.  
  41. -  Messages to the user are in separate text files to  allow 
  42. the sysop to customize his door.
  43.  
  44. -  A  Call back that could not be completed the  first  time 
  45. will not be attempted again, in case of a prank. The reasons 
  46. for  not  being able to complete the call are:  NO  CARRIER, 
  47. BUSY,  VOICE  and NO ANSWER. These will use  the  equivalent 
  48. strings  or  numbers  as entered  in  the  GT  configuration 
  49. result-code  area. RINGING will be handled properly and  any 
  50. other result (other than the various connect messages)  will 
  51. cause it to try again, most commonly ERROR and NO  DIALTONE. 
  52. A  caller connecting while the system is trying to call  out 
  53. will be hung up on. There is no easy way of trapping this to 
  54. give them a message. 
  55.  
  56. -  Access level increases are based on a table  provided  by 
  57. the sysop.
  58.  
  59. - The user has a five minute time limit in the door  program 
  60. to  prevent unusually long connect times, while  sitting  in 
  61. it.  When the time expires he is merely sent back to the  GT 
  62. main menu.
  63.  
  64.  
  65.  
  66.                            Page 1
  67.  
  68.  
  69.  
  70.                      File Explanations
  71.                      -----------------
  72.  
  73. You Should have received these files:
  74.  
  75. GT_CBV.EXE  The actual Program.
  76. GT_CBV.DOC  This Document.
  77. GT_CBV.PHN  Phone number cross reference file.
  78. GT_CBV.VAL  Access level table for upgrades.
  79. GT_CBV.MB1  Text - Welcome to door message.
  80. GT_CBV.MB2  Text - Ready to Go... What to do.
  81. GT_CBV.MB3  Text - Completed and Upgraded
  82. GT_CBV.MB4  Text - Your level doesn't have an upgrade.
  83. GT_CBV.MB5  Text - Your phone number already in file.
  84.  
  85. GTCBCVT2.ZIP   Mark  Street's utility to help setup  a  file 
  86.                based on the users you have validated by hand.
  87.  
  88. The program will create these files as needed:
  89.  
  90. GT_CBV.LOG  Log of door use.
  91. GT_CBV.FLG  Data for Call Back (Will be deleted after call).
  92.  
  93.                            Setup
  94.                            -----
  95.  
  96. GT_CBV.*  files  should all be in the directory  defined  by 
  97. your GTPATH= command. 
  98.  
  99. GT_CBV.VAL  - This is the access level table file.  It  must 
  100. have  two characters per line. The first one is  the  access 
  101. level  that is allowed to use the door and the next  is  the 
  102. level  to raise to after successful completion of  the  Call 
  103. Back.
  104.  
  105. e.g.
  106.  
  107. Ef
  108. A1
  109. cS
  110.  
  111. This  table would allow access levels E, A and c to use  the 
  112. door  and raise them to the level in the second column.  The 
  113. access levels should exist in the GTPASSWD.BBS file!
  114.  
  115. AUTOEXEC.BAT - You have to add one line to this file  BEFORE 
  116. the Bulletin Board is started up. The line should be:
  117.  
  118.                 GT_CBV /CHECK 
  119.  
  120. This  will check to see if a "call back" is  required  every 
  121. time the computer resets.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.                            Page 2
  133.  
  134.  
  135.  
  136. GTDOORn.BAT  - This file (n = door number) should look  like 
  137. this
  138.            
  139.                ECHO OFF
  140.                GT_CBV
  141.                 
  142. Do  NOT redirect output via the CTTY, GATEWAY or DOORWAY  or 
  143. any  other  driver or programs designed  to  redirect  video 
  144. output or watch the carrier. The door program will NOT  WORK 
  145. PROPERLY. It takes care of local echoing etc. by itself.  Do 
  146. Not use any carrier loss detection programs with this  door. 
  147. Since it is the purpose of this door to drop the carrier  it 
  148. will interfere with its normal operation. GT_CBV will  watch 
  149. for  abnormal carrier loss and reset  accordingly.  (version 
  150. 1.1 and up does, anyway)
  151.  
  152. GT_CBV.MSn  -  These are the message text  files.  They  are 
  153. provided  with vanilla messages and therefore don't have  to 
  154. be modified unless desired.
  155.  
  156. GT_CBV.PHN - This file contains the phone numbers not to  be 
  157. allowed  for call back. You should add into this  file  your 
  158. own  phone  number  and any other numbers  you  wish  to  be 
  159. blocked.  The  program will add the phone numbers  of  users 
  160. that  have successfully completed the door procedure. If  at 
  161. anytime you upgrade a user by hand for any reason you should 
  162. add his phone number to the list manually to prevent re-use.
  163.  
  164.    That's it!
  165.  
  166.  
  167.              Additional Command Line Parameters
  168.              ----------------------------------
  169.  
  170. All  parameters must begin with a / and should be  separated 
  171. by spaces. If you enter the same parameter more than once on 
  172. the command line, only the last one will be used. 
  173.  
  174.  
  175. /ANY    - This is for our international friends. It will not 
  176.           enforce  the seven digit  scheme of phone  numbers.
  177.           It  will  still  block 911  611  411  and  numbers 
  178.           starting  with 0 or 1. I do not wish to release  a 
  179.           program  that  can call 911 in any  way  shape  or 
  180.           form. 
  181.  
  182. /BASE   - Use this parameter to force it to use a  different 
  183.           base  address for the serial port. The default  is 
  184.           the  standard address for the port defined  in  GT 
  185.           config.  The address defined must be  the  decimal 
  186.           value (Not HEX).
  187.  
  188.           BASE:1016  (Standard Com1 hex 03f8)
  189.           BASE:760   (Standard Com2 hex 02f8)
  190.           BASE:744   (normal Com3 hex 02e8)
  191.           BASE:736   (normal Com4 hex 02e0)
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.                            Page 3
  199.  
  200.  
  201.  
  202. /BOOT   - This allows you to change the method  the  program 
  203.           re-boots.  The  default  is  a  Cold  Boot.  Valid 
  204.           parameters are:
  205.  
  206.           BOOT=WARM  Do a warm boot whenever required.
  207.           BOOT=COLD  Do a cold boot when req.
  208.           BOOT=NONE  Do  NOT  re-boot. Returns  control  to 
  209.                      batch file. See Warning below.
  210.  
  211. /DELAY  - This  will delay the startup of the program for  X 
  212.           number of seconds. The format is:
  213.  
  214.           DELAY=x   Where x is the number of seconds, from 1 
  215.                     to 300 (five minutes).  
  216.  
  217.           It  would  only  be necessary to  add  it  to  the 
  218.           Autoexec  portion  of GT_cbv but it will  work  on           
  219.           both.
  220.  
  221. /DTR    - Tells  the program to ignore GT's  hang-up  string           
  222.           and simply lower the DTR signal in order to  hang-          
  223.           up on the caller. Use this if you prefer it or  if           
  224.           it  is having trouble hanging up. This is  also  a 
  225.           little faster if it works with your modem.
  226.  
  227. /INT    - Use this to over-ride the standard interrupt.  The           
  228.           default  is  the standard interrupt for  the  port           
  229.           defined in GT config.
  230.  
  231.           INT:4   (Standard Interrupt for Com1)
  232.           INT:3   (Standard Interrupt for Com2)
  233.           INT:4   (normal Interrupt for Com3)
  234.           INT:3   (normal Interrupt for Com4)
  235.  
  236. WARNING: GT_CBV will not work properly with BOOT=NONE unless 
  237. the batch files involved are setup to handle it. Also if the 
  238. door is not overlaid GT Power will reset anyway when it sees 
  239. the  carrier drop. Its really only intended for  people  who 
  240. are running some kind of multi-tasking software.
  241.  
  242. They should try something like this in the Gtdoorn.bat:
  243.  
  244. ECHO OFF
  245. GT_CBV /BOOT=NONE
  246. IF ERRORLEVEL=0 CONTINUE
  247. GOTO ABORT
  248. :CONTINUE
  249. GT_CBV /CHECK /BOOT=NONE
  250. IF ERRORLEVEL=0 GOOD
  251. :ABORT
  252.   [  re-load  GT. The caller is still connected.  He  either 
  253.       quit the door or something was wrong. ]
  254. :GOOD
  255.   [  re-load GT for incoming calls. The caller  is  upgraded 
  256.       and gone. ]
  257.  
  258. I can't really try this myself and so would appreciate feed-
  259. back  about  this. GT Power WILL NOT handle a  user  upgrade 
  260. properly   if  the  door  program  returns  to  GT   without 
  261. disconnecting  the user! Allowing this to occur could  cause 
  262. irreparable damage to GT data files!
  263.  
  264.                            Page 4
  265.  
  266.  
  267.  
  268.                     Some Considerations
  269.                     -------------------
  270.  
  271.    There  are some valid reasons that someone would  not  be 
  272. able to use this door successfully. Including... two  family 
  273. members or roommates wanting to use your system, Someone who 
  274. has  a switchboard or other service that prevents them  from 
  275. getting  a  direct  call etc. If you  modify  the  rejection 
  276. message file please keep this in mind.
  277.  
  278.    There  are also still ways to get a multiple  membership. 
  279. Anyone who has more than one line in the household or  work, 
  280. someone who has a portable computer and others. This program 
  281. will  merely  make  this sort of thing harder.  It  was  not 
  282. intended  as  a  security program as much  as  a  convenient 
  283. method for legitimate new users to gain access quickly.  The 
  284. BBS that I run is a lot of fun but it was taking me far  too 
  285. long to attend to the needs of a new user.
  286.  
  287.    Any Suggestions as to how to solve some of these problems 
  288. or others not yet conceived are welcome for future versions.
  289.  
  290.    Long-Distance  Call  backs  are not  supported.  I  can't 
  291. figure  out a good way of controlling these so that  Ma-Bell 
  292. doesn't  make  huge profits from you. Any  ideas  with  this 
  293. aspect are greatly welcome. Keep in mind that it has to work 
  294. in different locations.
  295.  
  296.                  Some Notes on Compatibility
  297.                  ---------------------------
  298.  
  299. GT_CBV is written and compiled using TurboC 2.0. As well  as 
  300. others  it uses the include files CONIO, BIOS and DOS.  This 
  301. makes  it  somewhat dependent on the compatibility  of  your 
  302. computer. It also makes use of some pretty specific code for 
  303. the 8250 serial chip. I can't guaranty that I can solve  all 
  304. compatibility problems but I would like to try.
  305.  
  306.  
  307.                             Me!
  308.                             ---
  309.  
  310.    If  you  wish to contact me for support there  are  three 
  311. ways: at the address below via Post, Net/Node 053/004 on the 
  312. GT  Network  or directly at "The Hotel Essentia  BBS"  (416) 
  313. 785-9376 (Toronto, Canada).
  314.  
  315. Cheers
  316. Max Schwade
  317.  
  318. P.S.  About registration... It will get you a notice of  new 
  319. versions  and a entry on a list of registered BBS  users  on 
  320. The Hotel Essentia BBS. I won't bore you with all the  other 
  321. reasons.
  322.  
  323. Please send $ 5.00 to:
  324.  
  325.     Max Schwade
  326.     458 Cranbrooke Ave
  327.     Toronto, Ontario
  328.     Canada
  329.     M5M 1N7
  330.                            Page 5
  331.  
  332.  
  333.  
  334.                       Version History
  335.                       ---------------
  336.  
  337. v1.4a  - Opps! I screwed up the BackSpace logic for entering 
  338.          a new phone number. Fixed it, sorry 'bout that one.
  339.  
  340. v1.4   - Bryan Pike discovered a BUG! GT_CBV would abort  if 
  341.          the  user  logged on with ANSI  graphics  mode  and 
  342.          there  is no GTWELCOME.CBS file. It  also  wouldn't 
  343.          report this properly in the log. It will now simply 
  344.          load GTWELCOME.BBS as it should have in this case. 
  345.        - The parameter  /BOOT has been added for people  who 
  346.          want to modify the way your system is rebooted. See 
  347.          the command line parameters section for details.   
  348.        - Mark  Street's  Utility  to aid the  setup  of  the 
  349.          initial phone file is included with his permission.
  350.        - The  /ANY  parameter has been added to  allow  this 
  351.          utility  to work in countries which do not use  the 
  352.          seven  digit  phone number scheme.  It  will  still 
  353.          block 911 611 411 and numbers starting with 0 or 1.
  354.        - The /DELAY  parameter has been added if your  (high 
  355.          speed "do-it-all-in-a-sec" computer phones the user 
  356.          back too quickly 
  357.        - The  /BASE:xxxx has been added if you are  using  a 
  358.          non-standard serial port base address
  359.        - The /INT:x  has been added if you are using a  non-
  360.          standard interrupt.
  361.  
  362. v1.3a  - My  attempts to  make  DTR or  the  hang-up  string 
  363.          detection automatic have been fruitless. The choice 
  364.          is now on the command line. The parameter /dtr will 
  365.          tell the system to ignore the hang-up String in  GT          
  366.          and drop DTR only. Default is "use hang-up". 
  367.  
  368. v1.3   - 12/04/89 Added  options  to quit  at  all  relevant 
  369.          prompts.
  370.        - Program  will   try   to   hang   up   only   three          
  371.          times now, and then assume it has hung up. This  is          
  372.          for people who are not making use of the GT hang-up                   
  373.          string.
  374.        - The   DTR  lowering problem has  been  straightened 
  375.          out.  This  problem was only  apparent  on  certain 
  376.          modems (mostly 1200 baud)
  377.        - A  Five  minute time limit has been  added  to  the 
  378.          door. Although this is relatively short. Its not so 
  379.          bad  because  it merely kicks them back to  GT  and 
  380.          the user is able to reopen the door.
  381.  
  382. v1.2   - <Full Release version 11/21/89>
  383.          Added code for GT15. Program will assume version 15 
  384.          based on presence of USER.CTL file automatically.
  385.        - Added date and time to log file.
  386.  
  387. v1.1   - Corrected (ahem) a little oversight that caused the 
  388.          program to hang when the phone number was  rejected 
  389.          and then the carrier was lost.
  390.  
  391. v1.0   - This is the initial BETA release for GT Power  Comm          
  392.          v14.03 only.
  393.  
  394.  
  395.  
  396.                            Page 6