program which provides continuous monitoring and control over the le system. Every le
systemobject is scanned based on customizable le accesseventtypes.The followingevent
types are supported by the current version:
Open events
Thisleaccesstypeisactivatediftheword'open'ispresentinthe'event_mask‘parameterin
theeset.cfgle([dac]section).Inthiscase,theON_OPENbitofDazukoaccessmaskissettoon.
Close events
Thisleaccesstypeisactivatediftheword'close'ispresentinthe'event_mask‘parameterin
theeset.cfgle([dac]section).Inthiscase,theON_CLOSEbitandON_CLOSE_MODIFIEDbitof
Dazuko access mask is set to on.
NOTE:SomeOSkernelversionsdonotsupporttheinterceptionofON_CLOSEevents.Inthese
cases,closeeventswillnotbemonitoredbyesets_dac.
Exec events
Thisleaccesstypeisactivatediftheword'exec'ispresentinthe'event_mask'parameterin
theeset.cfgle([dac]section).InthiscasetheON_EXECbitofDazukoaccessmaskissettoon.
In summary,theOn-accessscannerensuresthat all opened, closed and executedlesare
scannedbytheesets_daemonforviruses.Basedontheresultofsuchscans,accesstogivenles
is denied or allowed.
5.2.2. Installation and configuration
As mentioned previously, the Dazuko kernel module must be compiled and installed within
the running kernel before esets_dac can be initialized. To compile and install Dazuko, please see:
http://www.dazuko.org/howto-install.shtml.
Once Dazuko is installed, review and edit the [global] and [dac] sections of the ESETS
configuration file (esets.cfg). Note that the proper functioning of the On-access scanner is
dependent upon configuration of the‘agent_enabled’ option within the [dac] section of this
le.Additionally,youmustdefinethefilesystemobjects(i.e.directoriesandfiles)thataretobe
monitored by the On-access scanner. This can be accomplished by defining the parameters of
the‘ctl_incl’and‘ctl_excl’options,whicharealsolocatedwithinthe[dac]section.Aftermaking
changes to the esets.cfg le, you can forcethe newly createdconfiguration to be re-read by
reloading the ESETS daemon.
5.2.3. Tips
To ensure that the Dazuko module loads prior to initialization of the esets_dac daemon,
follow these steps:
Place a copy of the Dazuko module in either of the following directories, which are reserved
for kernel modules:
/lib/modules
or
/modules
Use the kernel utilities ‘depmod’ and ‘modprobe’ (For BSD OS, use ‘kldconfig’ and ‘kldload’) to
handle dependencies and successful initialization of the newly added Dazuko module.
In the esets_daemon initialization script ‘/etc/init.d/esets_daemon’, before the daemon
chapter 5 Integration with File System services