User manual
Avira GmbH Avira AntiVir Server/ Professional (UNIX) 29
You can use macros (preceded by %) to pass the results as arguments to the external
program. Thus the data can be treated differently and adjusted to the local conditions.
The following table shows the supported macros and their significance:
ExternalProgram /bin/sh /usr/lib/AntiVir/guard/popup_message.sh
[%Sn] %p
LogFile
Logfile:
AntiVir logs all important operations via the syslog daemon. It can also create an
additional logfile. There is no default setting. You must enter the full path to the logfile in
order to use this option:
LogFile /var/log/avscan.log
Syslog...
Syslog settings:
AntiVir Server/ Professional sends messages for all important operations to the syslog
daemon. You may specify the facility and priority for these messages. Default is:
SyslogFacility user
SyslogPriority notice
With the SyslogPriority you specify that all those messages are logged which have an
equal or higher priority than the one specified.
These values apply even if the LogFile option is not active.
Option Function
%h Path to file (may contain special characters)
%f Filename only (may contain special characters)
%p Full path and filename (such as %h/%f), may contain special
characters
%U UID of file (owner identifier )
%G GID of file (UNIX group identifier)
%s File size
%m File access mode (octal)
%De Event type
%DF File system or partition (device) on which the file is located
(hexadecimal)
%Dp PID of the process
%Du UID of the process
%Df Flag of file operation (hexadecimal)
%Dm Access mode of file operation (hexadecimal)
%Sn Name of the detected virus / unwanted program
%Sa Extra information about the alert (if available)
%SU Alert URL.
Some of these parameters are not checked by AntiVir but are taken
from the file properties and forwarded to the running process, so
they must be checked before further processing.