G1. Dr.Web Server Configuration File |
The drwcsd.conf Server configuration file resides by default in the etc subfolder of the Server root folder. If the Server is run with a command line parameter, a non-standard location and name of the configuration file can be set (for more read Appendix H4. Dr.Web Server). To manage Dr.Web Server configuration file manually, do the following: 1.Stop the Server (see , p. Start and Stop Dr.Web Server). 2.Disable self-protection (in case of installed Agent with the active self-protection—in the Agent context menu). 3.Manage the Server configuration file. 4.Start the Server (see , p. Start and Stop Dr.Web Server). Dr.Web Server Configuration File Format Server configuration file is in XML format. Description of Dr.Web Server configuration file parameters: <version value=''> Current version of the configuration file. •<name value=''/> The name of Dr.Web Server or a cluster of Dr.Web Servers, which is used during the search by Agent, Agent installers and Control Center. Leave the value blank ('' is used by default), to use the name of the computer where Dr.Web Server software is installed. •<id value=''/> The Server unique identifier. In the previous versions was placed in the Server license key. Starting from version 10, is stored in the Server configuration file. •<location city='' country='' department='' floor='' latitude='' longitude='' organization='' province='' room='' street=''/> The Server geographic location. Attributes description:
•<threads count=''/> The threads number processing data from the Agents. Minimal value is 5. Default is 5. This parameter affects Server performance. Change the default setting on advice of the technical support only. •<newbie approve-to-group='' default-rate='' mode=''/> Access mode for new stations. Attributes description:
For more details see , p. New Stations Approval Policy. •<unauthorized-to-newbie enabled=''/> Policy of actions on unauthorized stations. Allowed values of enabled: ▫yes—stations authorisation of which is failed (e.g., if the database is corrupted), will be automatically reset to newbies, ▫no (default)—normal operation mode. •<maximum-authorization-queue size=''/> Maximal number of stations in the queue for authorization on the Server. Change the default setting on advice of the technical support only. •<reverse-resolve enabled=''/> Replace IP address with DNS names in Dr.Web Server log file. Allowed values of enabled: ▫yes—show DNS names. ▫no (Default)—show IP addresses. •<replace-netbios-names enabled=''/> Replace NetBIOS names of computers with DNS names. Allowed values of enabled: ▫yes—show DNS names. ▫no (Default)—show NetBIOS names. •<dns> DNS settings. <timeout value=''/> Timeout in seconds for resolving DNS direct/reverse queries. Leave the value blank to disable restriction on wait time until the end of the resolution <retry value=''/> Maximum number of repeated DNS queries on fail while resolving the DNS query. <cache enabled='' negative-ttl='' positive-ttl=''/> Time for storing responses from DNS server in the cache. Attributes description:
<servers> List of DNS servers, which replaces default system list. Contains one or several <server address=""/> child elements, the address parameter of which defines IP address of the server. <domains> List of DNS domains, which replaces default system list. Contains one or several <domain name=""> child elements, the name parameter of which defines the domain name. •<cache> Caching settings. The <cache /> element contains the following child elements: ▫<interval value=''/> Period of full cache flush in seconds. ▫<quarantine ttl=''/> Cleanup interval of Server quarantined files in seconds. Default is 604800 (one week). ▫<download ttl=''/> Cleanup interval of personal installation packages. Default is 604800 (one week). ▫<repository ttl=''/> Cleanup interval of files in the Server repository in seconds. ▫<file ttl=''/> Cleanup interval of file cache in seconds. Default is 604800 (one week). •<replace-station-description enabled=''/> Synchronize stations descriptions on Dr.Web Server with the field at the page on the station. Allowed values of enabled: ▫yes—replace description on the Server with description on the station. ▫no (default)—ignore description on station. •<time-discrepancy value=''/> Allowed difference between system time at Dr.Web Server and Dr.Web Agents in minutes. If the difference is larger than specified value, it will be noted in the status of the station at Dr.Web Server. 3 minutes are allowed by default. The empty value or the 0 value means that checking is disabled. •<encryption mode=''/> Traffic encryption mode. Allowed values of mode: ▫yes—use encryption, ▫no—do not use encryption, ▫possible—encryption is allowed. Default is yes. For more details see , p. Traffic Encryption and Compression. •<compression level='' mode=''/> Traffic compression mode. Attributes description:
For more details see , p. Traffic Encryption and Compression. •<track-agent-jobs enabled=''/> Allow monitoring ans storing into the Server database the results of tasks execution on workstations. Allowed values of enabled: yes or no. •<track-agent-status enabled=''/> Allow monitoring of changes in the stations state ans storing the information into the Server database. Allowed values of enabled: yes or no. •<track-virus-bases enabled=''/> Allow monitoring of changes in the state (compound, changes) of virus bases on stations and storing the information into the Server database. Allowed values of enabled: yes or no. Parameter is ignored for <track-agent-status enabled='no'/>. •<track-agent-modules enabled=''/> Allow monitoring of modules versions on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<track-agent-components enabled=''/> Allow monitoring of the list of installed components on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<track-agent-userlogon enabled=''/> Allow monitoring of user sessions on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<track-agent-environment enabled=''/> Allow monitoring of compound of hardware and software on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<keep-run-information enabled=''/> Allow monitoring of information on start and stop of anti-virus components operating on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<keep-infection enabled=''/> Allow monitoring of threats detection on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<keep-scan-errors enabled=''/> Allow monitoring of scan errors on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<keep-scan-statistics enabled=''/> Allow monitoring of scan statistics on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<keep-installation enabled=''/> Allow monitoring of information on Agent installations on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<quarantine enabled=''/> Allow monitoring of information on the Quarantine state on stations and storing the information into the Server database. Allowed values of enabled: yes or no. •<update-bandwidth queue-size='' value=''/> Maximal network traffic bandwidth in KB/sec. for transmitting updates from Server to Agents. Attributes description:
•<install-bandwidth queue-size='' value=''/> Maximal network traffic bandwidth in KB/sec. for transmitting data during Dr.Web Agent installation on stations. Attributes description:
•<geolocation enabled='' startup-sync=''/> Enable synchronization of stations geolocation between Dr.Web Servers. Attributes description:
•<audit enabled=''/> Allow monitoring of administrator operations in Dr.Web Security Control Center and storing the information into the Server database. Allowed values of enabled: yes or no. •<audit-internals enabled=''/> Allow monitoring of internal operations in Dr.Web Server and storing the information into the Server database. Allowed values of enabled: yes or no. •<audit-xml-api enabled=''/> Allow monitoring of operations via Web API in Dr.Web Server and storing the information into the Server database. Allowed values of enabled: yes or no. •<proxy auth-list='any' enabled='no' host='' password='' user=''/> Parameters of connections to Dr.Web Server via HTTP proxy server. Attributes description:
•<statistics enabled='' id='' interval=''/> Parameters of sending of the statistics on virus events to the Doctor Web company to the stat.drweb.com section. Attributes description:
•<cluster> Parameters of Dr.Web Servers cluster for data exchange in multiserver anti-virus network configuration Contains one or several <on multicast-group="" port="" interface=""/> child elements. Attributes description:
•<mcast-updates enabled=""> Configuration of updates transmission on workstations via the multicast protocol. Allowed values of enabled: yes or no. The <mcast-updates /> element contains one or several <on multicast-group="" port="" interface=""/> child elements. Attributes description:
The <mcast-updates /> element contains the <trandfer datagram-size="" assembly-timeout="" updates-interval="" chunks-interval="" resend-interval="" silence-interval="" accumulate-interval="" /> child element. Attributes description:
•<database connections=''> Database definition. The connections parameter specifies the number of connections of database with the Server. Default is 2. Change the default setting on advice of the technical support only. The <database /> element contains on of the following child elements:
•<sqlite dbfile="database.sqlite" cache="SHARED" cachesize="2048" mmapsize="0" readuncommitted="off" precompiledcache="1024" serialyze="yes" synchronous="FULL" openmutex="FULL" debug="no" /> Defines SQLite3 embedded database. Attributes description:
•<intdb dbfile="database.dbs" cachesize="2048" synchronous="FULL" /> Defines InitDB embedded database (based on SQLite2). Attributes description:
•<pgsql dbname="drwcs" host="localhost" port="5432" options="" requiressl="" user="" password="" temp_tablespaces="" default_transaction_isolation="" debugproto ="yes"/> Defines PostgreSQL external database. Attributes description:
•<oracle connectionstring="" user="" password="" client="" /> Defines Oracle external database. Attributes description:
•<odbc dsn="drwcs" user="" pass="" transaction="DEFAULT" /> Defines connection to an external database via ODBC. Attributes description:
•<acl> Access control lists. Allows to configure restrictions for network addresses from which Agents, network installers and other (neighboring) Dr.Web Servers will be able to access the Server. The <acl /> element contains the following child elements into which limitations for corresponding connection types are configured: ▫<install />—the list of limitations on IP addresses from which Dr.Web Agents installers can connect to this Server. ▫<agent />—the list of limitations on IP addresses from which Dr.Web Agents can connect to this Server. ▫<links />—the list of limitations on IP addresses from which neighbor Dr.Web Servers can connect to this Server. ▫<discovery />—the list of limitations on IP addresses from which broadcast queries can be received by the Server Detection Service. All child elements contain the same structure of nested elements that defines the following limitations: ▫<priority mode=""> Lists priority. Allowed values of mode: "allow" or "deny". For the <priority mode="deny"> value, the <deny /> list has a higher priority than the <allow /> list. Addresses not included in any of the lists or included into both of them are denied. Allowed only addresses that are included in the <allow /> list and not included in the <deny /> list. ▫<allow /> The list of TCP addresses from which the access is allowed. The <allow /> element contains one or several <ip address="" /> child elements to specify allowed addresses in the IPv4 format and <ip6 address="" /> to specify allowed addresses in the IPv6 format. The attribute address defines network addresses in the following format: <IP address>/[<prefix>]. ▫<deny /> The list of TCP addresses from which the access is denied. The <deny /> element contains one or several <ip address="" /> child elements to specify denied addresses in the IPv4 format and <ip6 address="" /> to specify denied addresses in the IPv6 format. The attribute address defines network addresses in the following format: <IP address>/[<prefix>]. •<scripts profile='' stack='' trace=''/> Scripts profiling parameters configuration. Attributes description:
•<lua-module-path> Lua interpreter paths.
The <lua-module-path /> element contains the following child elements: ▫<cpath root=''/>—path to the binary modules folder. Allowed values of root: home (default), var, bin, lib. ▫<path value=''/>—path to the scripts folder. If it is not a child of the <jobs /> or <hooks /> elements, when it is used by both. Paths specified in the value attribute, are relative from paths in the root attribute of the <cpath /> element. ▫<jobs />—paths for tasks from the Server schedule. The <jobs /> element contains one or several <path value=''/> child elements to specify the path to the scrips folder. ▫<hooks />—paths for the user hooks of the Server. The <hooks /> element contains one or several <path value=''/> child elements to specify the path to the scrips folder. •<trandports> Configuration of transport protocols parameters used by the Server to connect with clients. Contains one or several <trandport discovery='' ip='' name='' multicast='' multicast-group='' port=''/> child elements. Attributes description:
•<protocols> The list of disabled protocols. Contains one or several <protocol enabled='' name=''/> child elements. Attributes description:
•<plugins> The list of disabled extensions. Contains one or several <plugin enabled='' name=''/> child elements. Attributes description:
•<license-exchange> Settings of licenses propagation between Dr.Web Servers. The <license-exchange /> element contains the following child elements: ▫<expiration-interval value=''/> ▫<prolong-preact value=''/> ▫<check-interval value=''/> Elements description:
•<email from="" debug=""> Parameters of sending emails from the Control Center, e.g., as administrative notifications or when mailing installation packages of the stations. Attributes description:
The <email /> element contains the following child elements: ▫<smtp server="" user="" pass="" port="" start_tls="" auth_plain="" auth_login="" auth_cram_md5="" auth_digest_md5="" auth_ntlm="" conn_timeout=""/> SMTP server parameters configuration to send emails. Attributes description:
▫<ssl enabled="" verify_cert="" ca_certs=""/> SSL traffic encryption parameters configuration for sending emails. Attributes description:
•<track-epidemic enabled='' period='' threshold=''/> Configuration of parameters for tracking virus epidemic in the network. Attributes description:
•<default-lang value=""/> Default language which is used by components and systems of Dr.Web Servers if failed to get language settings from the Server database. Particularly used by Dr.Web Security Control Center and administrator notification system if the database has been corrupted and the language settings cannot be obtained. |