Configuration
32
Avira AntiVir UNIX Server
Avira GmbH
Configuration File avguard.conf
This section provides a short description of the entries in
avguard.conf
. The settings
affect only the behavior of AntiVir UNIX Server and no other AntiVir programs. You can
also learn how to make these settings using a graphical user interface in
Configuring
AntiVir Guard Using the GUI
– Page 72.
Num
Daemons
Number of daemons:
The number of simultaneous AntiVir Guard daemons can be set between 3 and 20. The
default is 3 and it is appropriate for smaller standard computers. For servers with high
traffic, a larger number would be necessary:
NumDaemons 3
If the value is 0, AntiVir Guard is deactivated.
AccessMask
Access mask:
This option sets the access type of AntiVir Guard, when scanning files for viruses or
unwanted programs:
•
1: Scanning a file when opened
•
2: Scanning a file when closed
•
4: Scanning a file when executed
For setting more access types at the same time, you have to add the above values. For
example, to scan files when opened and when closed, the value has to be 3. This is the
default value.
AccessMask 3
Repair
Concerning
Files
Repairing files:
AntiVir Guard is able to repair files immediately after access. If this fails, access is
blocked. The following option must be active:
RepairConcerningFiles yes
It is deactivated by default.
LogOnly,
Rename...
Move...
Action when detecting viruses or unwanted programs:
If
RepairConcerningFiles
is not set or repair is not possible, access to the file is
blocked and the action is logged. The following three options define further actions of
AntiVir Guard:
You must restart the Internet Update Daemon and the AntiVir Guard
if you modify any values manually in the configuration files. The
changes only take effect after a restart.
Type:
/usr/lib/AntiVir/avupdater restart
/usr/lib/AntiVir/avguard restart
Please note that AntiVir Guard is able to react to these situations and
to scan files, only if the kernel module supports these events. Not
every operating system supports all events in every kernel version.
Moreover, some kernel modules offer the possibility to activate or
deactivate certain events. Independent from the use of the other
events, we recommend that you always keep the option
Scanning
files when opened
activated.