next up previous contents
Next: Testing Up: Installation Previous: Installation   Contents

Configuration

If you are going to use the daemon, you need to configure it.

	$ clamd
	ERROR: Please edit the example config file
	       /etc/clamav.conf.

Now you know, where the configuration file is located ;). The format and options of this file are fully described in the clamav.conf(5) manual. clamd configuration is rather easy, the config file is well commented. Remember, you must remove the "Example" directive.

Another feature of clamd is on-access scanning based on the Dazuko module, available from http://dazuko.org. This is not required to run clamd, furthermore you shouldn't run Dazuko on production systems. A special thread in clamd responsible for the communication with Dazuko is called "Clamuko" (it's due to the funny name of Dazuko - I don't know what Clamuko means). Clamuko is supported on Linux 2.2 and 2.4 only. Dazuko instalation:

	$ tar zxpvf dazuko-a.b.c.tar.gz
	$ cd dazuko-a.b.c
	$ make dazuko
	or
	$ make dazuko-smp (for smp kernels)
	$ su
	# insmod dazuko.o
	# cp dazuko.o /lib/modules/`uname -r`/misc
	# depmod -a

Depending on your Linux distribution you have to add "dazuko" entry to
/etc/modules or the following line:

	modprobe dazuko
to some startup file to load dazuko at the boot time. You must also create the /dev/dazuko device:
	$ cat /proc/devices | grep dazuko
	254 dazuko
	$ su -c "mknod -m 600 /dev/dazuko c 254 0"
Now you must configure Clamuko in clamav.conf. Please check 3.2 section.


next up previous contents
Next: Testing Up: Installation Previous: Installation   Contents
Tomasz Kojm 2003-06-21