home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / vdocs.zip / VC8 < prev    next >
Text File  |  1993-12-21  |  9KB  |  186 lines

  1. .TOPIC:                                             
  2. Optimizing VBBS
  3.  
  4.                          VBBS 6.12 Documentation -- 8-1
  5.  
  6.  
  7.      ╔════════════════════════════════════════════════════════════════╗
  8.      ║ CHAPTER EIGHT     OPTIMIZING VBBS                              ║
  9.      ╚════════════════════════════════════════════════════════════════╝
  10.  
  11.         Running a BBS -- and VBBS is no exception here -- is a
  12.      major source of hard-drive wear and tear.  This is not to put
  13.      down any BBS software; it's just the nature of the beast.  There
  14.      are several steps you can take to optimize VBBS so as to minimize
  15.      hard-drive abuse.
  16.  
  17.      "Defragging" Your Hard Drive
  18.      ════════════════════════════
  19.  
  20.         One piece of maintenance you should run periodically is a
  21.      program designed to de-fragment files on your hard drive.  Daily
  22.      maintenance erases the oldest messages on your hard drive, lea-
  23.      ving "gaps" where those messages used to be.  After several days
  24.      of this, a map of your hard drive utilization can look like some-
  25.      one took a shotgun to it -- empty sectors/clusters scattered all
  26.      through your data.
  27.         "Defragging" your hard drive puts your data into contigu-
  28.      ous (adjacent) sectors/clusters, thereby reducing the amount of
  29.      time it takes the read/write heads to access a particular piece
  30.      of information.  Utilities such as Norton's SPEEDISK accomplish
  31.      this quite well; be prepared, though, to spend several minutes
  32.      watching the process when you run it the first time.
  33.  
  34.      --> IMPORTANT NOTE:  Just to be on the safe side, you SHOULD NOT
  35.                   run a disk defragmentation program from
  36.                   within VBBS or from WFC; always EXIT the
  37.                   BBS prior to running the program.
  38.  
  39.      Using a RAMdrive
  40.      ════════════════
  41.  
  42.         Another means of optimization is to place the most fre-
  43.      quently accessed files -- menus and such -- into a RAMdrive
  44.      (virtual disk).  By loading the most frequently accessed files
  45.      into RAM, many systems will realize system speedup ranging from
  46.      modest to substantial.
  47.         VBBS textfiles and menus within the \TXT directory pro-
  48.      bably benefit most from being placed in a RAMdrive; these would
  49.      be the .MNU, .ANS/.ASC, and .TXT files.  Because they are acces-
  50.      sed often, having them in RAM can substantially decrease hard-
  51.      drive access.  Another group of files suitable for placing in a
  52.      RAMdrive are your script files -- the .V, .COD and .LIT files.
  53.      This speeds the process of loading the scripts, since no disk
  54.      access is performed.
  55.         To install a RAMdrive, include the following in your
  56.      CONFIG.SYS file:
  57.  
  58.         DEVICE=RAMDRIVE.SYS 80 /E
  59.  
  60.      This command line creates an 80-kilobyte RAMdrive; the "/E"
  61.      switch tells DOS to place the RAMdrive in EXTENDED memory.
  62.  
  63.                          VBBS 6.12 Documentation -- 8-2
  64.  
  65.  
  66.      In addition, the default limit on the number of files that can
  67.      be placed in a RAMdrive (as would be the case in the above ex-
  68.      ample) is 64; if you want to place more files than that in the
  69.      RAMdrive, you need a command line similar to this:
  70.  
  71.         DEVICE=RAMDRIVE.SYS 128 128 /E
  72.  
  73.      The above command line would create a 128K RAMdrive with a maxi-
  74.      mum of 128 files in extended memory.  For more information,
  75.      please consult your DOS manual or reference book.
  76.         To make the best use of a RAMdrive, you need to be run-
  77.      ning a 286 or 386 computer with at least 1 Mb of RAM and the
  78.      DOS device HIMEM.SYS (an extended memory manager) loaded.  If
  79.      you're running a 386, you might consider QEMM386 as your exten-
  80.      ded memory manager.
  81.  
  82.      --> IMPORTANT NOTE:  It is recommended that you do NOT assign
  83.                   your VBBS \TEMP directory to a RAMdrive.
  84. .TOPIC:
  85. Security
  86.      ╔════════════════════════════════════════════════════════════════╗
  87.      ║ SECURITY                                                       ║
  88.      ╚════════════════════════════════════════════════════════════════╝
  89.  
  90.         VBBS provides a high level of security.  One of the most
  91.      significant security features of VBBS is that it will not allow a
  92.      remote user to drop to DOS through internal functions.  If you
  93.      would like to enable a remote drop-to-DOS capability, you will
  94.      need to install DOORWAY or V-SHELL (both shareware programs)
  95.      as a door from VBBS.  This is generally a much safer method, and
  96.      in the case of using DOORWAY, provides a much more powerful re-
  97.      mote interface than a built-in remote DOS access routine could.
  98.      By using a program such as this, you may also run VBBS utilities
  99.      such as VCONFIG remotely.
  100.         In VCONFIG, you have the option of allowing remote sysops.
  101.      Allowing a remote sysop will let a user with a SL of 255 who 
  102.      knows the system password to access the sysop functions of VBBS.
  103.      Pressing [S] from the sysop menu will show all users on the sys-
  104.      tem who have security level access.  Although a user may view
  105.      an archive, there is no function that will allow him or her to
  106.      extract an archive.  As with all BBS software, it is recommended
  107.      that you register DSZ (ZModem) for maximum security.
  108.         VBBS uses a \SYSOP directory which stores all files up-
  109.      loaded to the system and files sent that were attached to E-mail.
  110.      Here, the sysop has the ability to view, scan and move the files
  111.      and file listings to the appropriate directory after review.  Be
  112.      sure to leave the maximum settings for this database at 0 (zero)
  113.      and make sure that DSZ.COM is in your path (a common mistake
  114.      when setting up for the first time).
  115.         VBBS features a special exclusion file, EXCLUDE.TXT, in
  116.      which you define whole filenames, partial filenames, or DOS
  117.      extensions that you wish VBBS to NOT allow upload of (such as
  118.      .GIF).  It is highly recommended that you do NOT delete any of
  119.      the lines in the default EXCLUDE.TXT provided.
  120.  
  121.                          VBBS 6.12 Documentation -- 8-3
  122.  
  123.  
  124.         VBBS allows you to automatically check for archive
  125.      integrity and viruses. See Automatic New Upload Scanner
  126.  
  127.      Upload Security
  128.      ═══════════════
  129.  
  130.      Traditionally, virused programs or hackers attempt to access
  131.      a bbs by uploading a bogus file.  Batch upload protocols are
  132.      especially useful to hackers due to their inherent structure
  133.      for handling uploads.  To prevent this, take the following
  134.      advice:
  135.  
  136.      1. Don't allow users to upload to your main VBBS directory;
  137.  
  138.      2. Don't put upload directories in your PATH;
  139.  
  140.      3. VBBS runs from its main directory at all times except during
  141.         non-VXY uploads.  If VXY is being used, VBBS stays at its main
  142.         directory.  If DSZ (for example) is being used, VBBS will CD
  143.         to the target upload directory just long enough to run
  144.         DSZ.COM to do the upload, and then CD back to the main VBBS
  145.         directory immedaitely thereafter.  It is important that the full
  146.         path to DSZ be specified in one's upload configuration.
  147.         Eg: c:\dos\DSZ.COM etc etc
  148.  
  149.      4. If using DSZ, use the 'restrict' command on its command line
  150.         to prevent redirection of directories, and install it in its
  151.         own directory off of your root directory, e.g. c:\dsz, but
  152.         do not put it in your path statement.
  153.  
  154.         IMPORTANT NOTE --> Full paths for download protocols is not
  155.                            required, only for uploads.  Do not specify
  156.                            the full path for VXY.EXE as this will confuse
  157.                            VBBS, and is not needed anyway since VBBS stays
  158.                            at its main directory during VXY execution.
  159.  
  160.  
  161.                          VBBS 6.12 Documentation -- 8-4
  162.  
  163.  
  164.      ╔════════════════════════════════════════════════════════════════╗
  165.      ║ MAINTENANCE                                                    ║
  166.      ╚════════════════════════════════════════════════════════════════╝
  167.  
  168.         Much of your system's maintenance is performed automatic-
  169.      ally by VBBS each day.  Database "packing" occurs as the primary
  170.      event where your system's databases are compacted and old mes-
  171.      sages are removed according to the limits you set in VCONFIG.
  172.      System logs are then compacted as well and the daily log cycles
  173.      into another log file that shows a log of the last five days of
  174.      system activity.  Many sysops run other maintenance as well.  
  175.      Backing up certain important system files each day is common.
  176.         There are several VBBS-specific utilities as well as
  177.      several general-use utilities that can be valuable for the VBBS
  178.      sysop.  Some of these utilities, such as those by Neil J. Mar-
  179.      shall and other VBBS freeware utility programmers, perform such
  180.      tasks as searching out duplicate posts and files, removing users
  181.      who have not called for a specific time, printing reports, etc.
  182.         There are several shareware utilities available that will
  183.      allow you to automate periodic batchfile events so that they run
  184.      on a daily or weekly (or other interval) basis.
  185.  
  186.