www.grisoft.com
Copyright (c) 1992-2006 GRISOFT, s.r.o. All rights reserved.
AVG Linux Email Server / User Manual
40
7.3.
On-access Scanner
The DAZUKO kernel interface for file access control must be inserted as a module
into your kernel in order to enable the on-access scanning using the AVG for Linux
E-mail Server engine. You can download the latest version of DAZUKO at
http://www.dazuko.org
. It is recommended to download the latest version available
especially if you are running the kernel of major version 2.6 (or higher)!
To install the DAZUKO kernel module, follow these instructions:
a)
Get your Kernel Source Code
It is highly recommended to build and install a kernel from the actual kernel
sources first. Then it is certain that the kernel source code you use to build
DAZUKO matches the running kernel. Many Linux distributions provide
packages with the kernel source code. If you do not plan building a completely
new customized kernel, make sure you install the proper kernel source
packages for your distribution.
Note: If you do not have any experience with building the Linux kernel, you
should not attempt to install DAZUKO unless you get some information and
practice in hacking the Linux kernel internals!
b)
Compile DAZUKO
Once the source code for your running kernel is available, you can build
DAZUKO. You can download the latest version of DAZUKO at
http://www.dazuko.org
. Unpack the downloaded file using the
$ tar –xvzf dazuko-{version}.tar.gz
command and switch to the unpacked directory.
Edit the configure file and change the 0 value to 1 for the
ON_CLOSE_MODIFIED parameter in the MAIN section. Generate a Makefile
by running the
$ ./configure
command in the directory with the DAZUKO source files. This will determine
the features of your system needing to be specified in the generated Makefile.
Then you can compile DAZUKO with the
$ make
command. This will create the device driver as well as a couple of example
programs. Under Linux 2.2-2.4 the device driver is named dazuko.o. Under
Linux 2.6 it is named dazuko.ko.
c)
Insert DAZUKO
Having compiled DAZUKO successfully, the final step is to insert the module
into the kernel.