14
4.2.1.2. Installation and conguration
It has been already discussed that prior any ‘nod32dac’ initialization, so-called Dazuko kernel module has to
be compiled and installed within the running kernel. Note that the following text contains only brief description
of the Dazuko kernel module installation. Therefore it is highly recommended to read the Dazuko how-to-install
documentation (see http://www.dazuko.org/howto-install.shtml) in order to compile and load the Dazuko module
properly into the kernel.
Download Dazuko tarball from (http://www.dazuko.org/downloads.shtml). Note that the NOD32 on-access scanner
is compatible with the Dazuko kernel module whose version is equal or higher than 2.1.0. Therefore the proper behavior
of NOD32 on-access scanner running with the older versions of Dazuko kernel module is not guaranteed. Before
compilation of the Dazuko it is necessary to have a source code of currently running kernel stored in the kernel source
code directory:
/usr/src/linux*
resp. in BSD OS the appropriate directory is:
/usr/src/sys
Note that it is important to have a version of the kernel source code exactlymatching the version of the kernel that is
currently running on the operating system. Even if the kernel source code is present in the kernel source code directory,
make sure that it is properly congured. Read the Dazuko FAQ related to this topic (http://www.dazuko.org/faq.shtml).
Notes (for administrators running Linux OS kernel 2.6.x): When running multiple security modules, make sure the
„Enable dierent security modules“ is enabled and the dazuko module is the rst security module loaded into kernel.
To get more information what has to be done during kernel conguration, please read the Dazuko FAQ related to this
topic (http://www.dazuko.org/faq.shtml). Note also that the ’commoncap’ kernel module has to be loaded into kernel
prior ’dazuko’ module.
Generate the Makele by running:
./congure
within the Dazuko source code directory. Compile Dazuko code with:
make
which will create the ’dazuko.o’ le (note that for Linux 2.6 kernel and for BSD OS an appropriate le ’dazuko.ko’ is
created). If any warnings or errors appeared as a consequence of the above steps, the Dazuko module was not compiled
properly. In this case it is not recommended to go further over the next steps of this section but rather refer to the
appropriate Dazuko documentation (http://www.dazuko.org/faq.shtml).
Insert the dazuko module into kernel by typing
/sbin/insmod dazuko.o
resp. in BSD OS an appropriate command to insert the module is
/sbin/kldload dazuko.ko
and check that themodule is properly loaded. In the Linux OS the check can be done for instance by using:
/sbin/lsmod
or:
cat /proc/modules
In BSD OS the check can be done using command
NOD32 for Linux/BSD File Server