2.1 Configuration file errors. Sophos SAV Dynamic Interface
Reklaam
Reklaam
SAV Dynamic Interface user manual
scanner {
type: SAVI
savigrp: GrpInternet 1
deny: /dev
# etc
}
} channel {
# etc
}
2.1 Configuration file errors
When savdid starts it will do some checks on the configuration and may display one or more errors. The errors have the following format:
<lineno>: <option name>: <option value>: <error message>
The <option name> will include the sub-configurations, if any, where the option is located. So for example "channel[3]-scanner[1]-deny" specifies the deny option in the first scanner sub-configuration of the third channel.
2.2 Options Summary
In the following tables, the columns are:
Option - the option name and the format of the option.
N - the cardinality of the option, ie how many there can or should be. A single number (usually
'1') indicates that there must be that number of options present. A range, 0..1 for example, indicates the minimum and maximum number of occurrences. The example, 0..1 is for something that can occur at most once. 1..N means that it must occur at least once but there is otherwise no limit.
Default - the default value if there is one. '-' indicates that there is no default.
Comment - self-explanatory.
2.3 Daemon
Option pidfile: <filename>
N
0..1
Default
/var/run/savdid.pid
Comment
For *nix systems, Where savdid will store the process ID of the controlling process. If a pidfile is specified on the command line, the
13
SAV Interface Developer Toolkit
Option N user: <user name> 0..1
group: <group name> 0..1
threadcount: N 0..1
maxqueuedsessions 0..1
virusdatadir: <dir name> 0..1
virusdataname <name> 0..1
idedir: <dir name> log
0..1
onexception:
"DONTWAIT"|
"REQUEST"|SESSION"
0..1
onrequest: "DONTWAIT"|
"REQUEST"|SESSION"
0..1
0..1
-
Default Comment command line will take precedence.
For Unix systems. The user to switch to on start up. See note 1.
-
3
For Unix systems. The group to switch to on start up. See note 1.
The number of threads to use and hence the maximum number of concurrent scans.
0 The maximum number of connections/sessions to queue to be queued internally. 0 means there will be no queueing.
Defaults to SAVI default Where to find the virus data. See note 2.
-
Defaults to SAVI default The name of the main virus data file, without its extension. See note 2.
Defaults to SAVI default Where to find the IDE files. See note 3.
"REQUEST"
"SESSION"
What to do when exiting as a result of an exception. See note 3.
What to do when exiting as a result of a request to exit. See note 3.
The sub-configuration for logging.. See note 4.
14
Laadi alla
Reklaam