Operating Principles

Top  Previous  Next

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, and the anti-spam component. 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 19. Diagram of the components’ operation

When updates become available on the servers, they are downloaded to the <var_dir>/cache directory (for Linuxvar/opt/drweb.com/cache), after that they are moved to the working directories of Dr.Web for UNIX Mail Servers.

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 categories(these files are grouped according to the component which is updated—virus databases and anti-virus engine, the anti-spam component).Upon 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 content of the files with server lists is signed, so that the files cannot be modified. If you need to create a special list of update servers, contact technical support.

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 Mail Servers for managing the solution from the Dr.Web Ctl command line (it is run by drweb-ctl command).