Operating Principles |
The component is designed to establish connections to Doctor Web update servers to check for updates for virus databases and anti-virus engine Dr.Web Virus-Finding Engine , database of web resource categories. The lists of servers which constitute an available update zone are stored in a special file (the file is signed to prevent modification). If the product is not connected to the central protection server or it is connected to the server in mobile mode, Dr.Web Updater is automatically started by the Dr.Web ConfigD configuration daemon. Startup is performed at periods specified in the settings. The component can be also started by the configuration daemon if the appropriate command is received from a user (unscheduled update). The component operation scheme is shown in the figure below. Figure 17. Diagram of the components’ operation When updates become available on the servers, they are downloaded to the <var_dir>/cache directory (for —var/opt/drweb.com/cache), after that they are moved to the working directories of Dr.Web for UNIX Internet Gateways. By default, all updates are performed from the updating zone which is common for all Dr.Web products. The list of the servers used by default, which are included to the updating zone, is specified in the files which are located in directories, defined in *DrlDir parameters, grouped by the update type: for virus databases and anti-virus engine, database of web resource categoriesUpon user request the special update zone can be created (for each update type), the server list which is specified in separate file (named custom.drl, by default), located in directory specified in *CustomDrlDir parameter. In this case, the update component will receive updates only from these servers, without using servers from the default zone. If you do not want to use the special updating zone, clear the *CustomDrlDir value of the corresponding parameter in the component settings.
The component can back up the updated files for the next rollback of the updates, performed at user request. You can specify the location and the detail level of the backed up files in the settings. To roll back updates, use the command-line tool for Dr.Web for UNIX Internet Gateways for managing the solution from the Dr.Web Ctl command line (it is run by command). |