GETMAC v1.0

How to update F-Secure Anti-Virus to your whole company every day
=================================================================

This package shows you how to automatically fetch a new FSMACRO.DEF
antivirus definition file from Data Fellows ftp site and distribute it
company-wide with F-Secure Anti-Virus/F-PROT Professional's
communication directory.

The following versions are supported:
- F-Secure Anti-Virus for Windows 3.x
- F-Secure Anti-Virus for Windows 95
- F-Secure Anti-Virus for Windows NT
- F-Secure Anti-Virus for Windows NT Server
- F-Secure Anti-Virus for OS/2 2.x or 3.x
- F-MACRO for DOS

The system consists of the following components
-----------------------------------------------
1. An existing and working F-Secure Anti-Virus network installation.
Network communication should be up and running and the communication
directory should be known.

2. One scheduling machine. Preferably, this should be a NT machine.

3. GETMAC.BAT batch file. The scheduling machine will run this batch
file every night. It will do the actual job of getting the new files.

4. FTP program. FTP.EXE included with Windows NT and Windows 95 is the
recommended one

5. Admin rights. Since the update directory can be written to only by
the administrator, the scheduling should be done by admin.

How does it work?
-----------------
The scheduling machine runs GETMAC.BAT every night at, say, 1:00
o'clock. GETMAC will change to the F-Secure Anti-Virus communication
directorys UPDATE directory (for example, S:\F-PROT\COMM\UPDATE) and
retrieve with FTP program two files from ftp server
ftp.europe.datafellows.com. These files are FSMACRO.DEF and
UPDATE.INI. These files are updated daily. FSMACRO.DEF contains the
latest MACRO virus definitions, UPDATE.INI tells to local F-Secure
Anti-Viruss it's time to copy the update from the communication
directory to the local hard drive.

As a result, users will get new FSMACRO.DEF definition file every day and
are always protected against the latest viruses.

NOTE!
If your workstation is running during the update procedure, you need to
reboot. Gatekeeper will initialise FSMACRO.DEF only during startup.

How do I install?
-----------------
Pick a scheduling machine. On that machine, make a directory for GETMAC.BAT
and GETMAC.SCR. By default, this is C:\GETMAC\. Make sure the communication
directory is visible and mounted on this machine.

Modify the GETMAC.BAT file. It contains three places you may need to modify.

First:

  REM *** Modify the path below to point to your communication directory
  s:
  cd \f-prot\comm\update

If your communication directory is X:\F-COMM, change the above to:

  REM *** Modify the path below to point to your communication directory
  x:
  cd \f-comm\update

Second:

  REM *** Modify the path below to point to GETMAC directory
  ftp -s:c:\getmac\getmac.scr

If GETMAC.BAT and GETMAC.SCR are located in X:\TOOLS\GETMAC, change the
above to:

  REM *** Modify the path below to point to GETMAC directory
  ftp -s:x:\tools\getmac\getmac.scr

Third:

  REM *** Modify the path below to point to the directory containing crc32.exe
  REM "Insert path to crc32.exe here"\crc32 winnt_up\fsmacro.def >>winnt_up\update.lst
  REM "Insert path to crc32.exe here"\crc32 ntsrv_up\fsmacro.def >>ntsrv_up\update.lst
  REM "Insert path to crc32.exe here"\crc32 winnt_up\update.ini >>winnt_up\update.lst

If crc32.exe located in your GETMAC folder X:\TOOLS\GETMAC, change the above to:

  REM *** Modify the path below to point to the directory containing crc32.exe
  x:\tools\getmac\crc32 winnt_up\fsmacro.def >>winnt_up\update.lst
  x:\tools\getmac\crc32 ntsrv_up\fsmacro.def >>ntsrv_up\update.lst
  x:\tools\getmac\crc32 winnt_up\update.ini >>winnt_up\update.lst

Next, delete the old updates from the update directory. If it has been
more than a week since you sent the latest update, everybody should
have received them by now. We want to delete unnecessary files, so
users don't need download the full F-Secure Anti-Virus package when
only FSMACRO.DEF has been updated. To do this, issue command
"DEL S:\F-PROT\COMM\UPDATE /S". Make sure you don't delete files in
other subdirectories except UPDATE. Don't remove empty subdirectories.
Don't use DELTREE. Don't use Explorer.

Next, test-drive the system. Run GETMAC.BAT. After it has finished,
check that you have files FSMACRO.DEF and UPDATE.INI in S:\F-
PROT\COMM\UPDATE and in every subdirectory beneath it (such as WIN95_UP
or WINNT_UP). Also check that UPDATE.INI contains the current date, like
this:

   [LastChange]
   LastChange=97-06-13

Next, go to any workstation and execute F-Secure Anti-Virus for
Windows. It should automatically copy the latest FSMACRO.DEF to it's
hard drive during start- up and start to use it immediatly. Check the
date of FSMACRO.DEF after starting F-Secure Anti-Virus to make sure
this happened.

If everything worked, you're almost done. Last thing to do is to
schedule the system to run GETMAC.BAT automatically.

Under NT, this is done with the AT system command, like this:

   AT 01:00 /every:m,t,w,th,f,s,su c:\getmac\getmac.bat

This would run GETMAC.BAT every day. To run it every Monday at 11
o'clock, do this:

   AT 11:00 /every:m c:\getmac\getmac.bat

To automatically schedule GETMAC to be run every night, run once the
SCH-GET.BAT file included in the package.

If you get an error from the AT command, you might need to start the
Schedule service from Control Panel/Services.

You might also need to modify the GETMAC.BAT to mount the communication
directory with NET USE, in case you're logging off from the machine and
dismounting the drives.


For support, contact Anti-Virus-Support@DataFellows.com.


HISTORY

v1.0, May 1997 - Initial release
v1.1, December 1997 - Updated release. New version uses FSMACRO.DEF
      instead of the old MACRO.DEF. Modified scripts and docs accordingly.
      Also changed product references from F-PROT Professional to F-Secure
      Anti-Virus.
v1.2, June, 1998 - Updated release. Added a checksum check to the file.
v1.3, March, 1999 - Updated release. Added a support for crc32 and deletion
      of temporary files.

[MHH//DF]
