15
/sbin/kldstat
In all cases there should be Dazuko listed in the output of these commands. Unless the device node is created
automatically, create it with:
mknod -m 600 /dev/dazuko c $(grep dazuko /proc/devices | sed “s/ .*//“) 0
chown root:root /dev/dazuko
resp. in BSD OS by using command
mknod /dev/dazuko c 33 0
Read and edit [global] and [dac] sections of NOD32 main conguration le.
Note also that for the proper functioning of on-access scanner it is necessary to enable nod32dac agent using
‚agent_enabled‘ parameter within a [dac] section of main NOD32 conguration le. Furthermore it is necessary to
dene le system objects (i.e. directories and les) that are required to be under control of dazuko kernel module.
This can be achieved via ’ctl_incl’ and ’ctl_excl’ conguration options dened within [dac] section of the main NOD32
conguration le.
IMPORTANT: Please, do not remove ‚/dev‘ directory from the control of on-access scanner (e.g. ctl_excl = “/dev“)
unless you know exactly what you are doing, otherwise system can hang up.
For reread of newly created NOD32 conguration, enter the following command.
/etc/init.d/nod32d reload
4.2.1.3. Tips
To provide Dazuko module loading prior each nod32dac daemon initialization, follow the next steps:
Provide copy of Dazukomodule in some of the directories located within the directory reserved for the kernel
modules
/lib/modules
or
/modules
Use the kernel utilities ’depmod’ and ’modprobe’ (resp. in BSD OS ‚kldcong‘ and ‚kldload‘) to handle dependencies
and proper loading of the newly added Dazuko module.
Insert the following line into initialization script for main NOD32 scanning daemon ’/etc/init.d/nod32d’ before the
daemon initialization statement.
/sbin/modprobe dazuko
Note that in BSD OS an appropriate line for inserting module is
/sbin/kldcong dazuko
IMPORTANT: It is highly important to execute the individual steps above exactly in order as they are written. The
reason is that in case of kernel module not located within the kernel modules directory, ’modprobe’ (resp. ’kldload’ in
BSD OS) will not be able to handle loading of the module and the system can hang-up.
4.2.2. On-access scanner using preload LIBC library
Note that this section is relevant only for users of NOD32LFS product. This section contains information concernedwith
operation, installation and conguration of on-access scanner using preload library ‘libnod32pac.so’.
chapter 4 / Integration with Linux/BSD File System