How to compile the DazukoFS module for an unsupported kernel version
Security for Virtualized Environments (SVE) is the first comprehensive security solution for virtualized datacenters. The solution protects virtualized Windows, Linux, and Solaris systems, both servers and desktops. While integrated with VMware vShield, the unique architecture of the solution allows it to be leveraged when using any system virtualization offering.
This article describes how to compile the DazukoFS module shipped with Silent Agent for an unsupported kernel version. DazukoFS enables Silent Agent to perform on-access scanning on Linux. For information on enabling on-access scanning and specifying the directories to be scanned, refer to the administrator documentation.
Overview
Starting with SVE 1.2.4, the Linux version of Silent Agent includes a beta on-access scanning module that works with specific Linux distributions and kernel versions.
| Linux Distribution | Kernel version |
|---|---|
| Ubuntu 10.04 | 2.6.32-44 |
| RHEL/CentOS 5.7, 5.6 | 2.6.18-308 |
| RHEL/CentOS 6.2, 6.1 | 2.6.32-279 |
On-access scanning requires the DazukoFS loadable kernel module. DazukoFS is a stackable file system that enables third-party applications to control file access on Linux systems.
The Silent Agent installation package includes and automatically installs DazukoFS. The DazukoFS package shipped with Silent Agent is compiled for the supported kernel versions. To use on-access scanning on supported Linux distributions with different kernel versions, you must compile the DazukoFS package for the corresponding kernel.
Important
Silent Agent is exclusively compatible with the DazukoFS version included in the installation package. If DazukoFS is already installed on the system, remove it prior to installing Silent Agent.
Compiling and Loading DazukoFS for Other Kernel Versions
After installing Silent Agent, follow the steps below to compile DazukoFS for the system's kernel version and then load the module.
-
Download the proper kernel headers.
-
On Ubuntu systems, run this command:
# sudo apt-get install linux-headers-`uname -r` -
On RHEL/CentOS systems, run this command:
# sudo yum install kernel-devel kernel-headers
-
On Ubuntu systems, run this command:
-
On Ubuntu systems, you need build-essential:
# sudo apt-get install build-essential -
Copy and extract the DazukoFS source code in a preferred directory:
# mkdir temp
# cd temp
# cp /opt/BitDefender/share/src/dazukofs-source.tar.gz
# tar -xzvf dazukofs-source.tar.gz
# cd dazukofs-3.1.4 -
Compile the module:
# make -
Install and load the module:
# make dazukofs_install
Australia: (+61) 2801 48283, (+61) 2801 44572, (+61) 1300 954 574 (English - 24 hour service)
Brasil: (+55) 11 395 88 765
Canada: (+1) 647 955 1197 , (+1) 647 847 3405
Deutschland: (+49) 2319 8928 017, (+49) 2318 868 043
Espańa: (+34) 902 190 765
France: (+33) 8 92 561 161 (0,34€ TTC / min)
Italiano: (+39) 0699 268 342
New Zealand: (+64) 998 535 51
Osterreich: (+49) 2319 8928 017, (+49) 2318 868 043
Romania: (+40) 21 300 1226, (+40) 21 300 1227
Schweiz: (+49) 2319 8928 017, (+49) 2318 868 043
United States: (+1) 954 928 2780
United Kingdom: (+44) 208 819 2649
WorldWide: (+40) 21 264 1794 