NethServer Version: 7.3.1611
Module: N/A
I managed to install ESET File Security for Linux (hooray).
Dependencies:
yum install glibc.i686
yum install ed
I have installed ESET File Security by using the RPM file:
esets.x86_64.rpm.bin
Now I would like to have real-time protection enabled for certain folders.
I have my reasons, because the results of my first on-demand scan is as follows:
Scan completed at: Sat 15 Jul 2017 08:01:11 PM CEST
Scan time: 16697 sec (4:38:17)
Total: files - 593850, objects 3216526
Infected: files - 91, objects 113
Cleaned: files - 452, objects 694
The above files consist of the shares and mail folders. I have copied all these from the previous SME Server (which was running for over six years without any anti malware protection on the server itself…).
I decided to preload libesets_pac.so (the other option is using dazuko - but that’s just not feasible).
Source: https://forum.eset.com/topic/12326-real-time-protection-on-file-security-for-linux-server/
What I have done is just adding the following directories to the esets.cfg (the config file).
# ctl_incl = "directory"
# Colon separated list of directories to scan files in.
ctl_incl = "/var/lib/nethserver/ibay:/var/lib/nethserver/home:/var/lib/nethserver/vmail"
The next thing I need to do is to preload libesets_pac.so for smb and mail, by adding the following line:
LD_PRELOAD=/opt/eset/esets/lib64/libesets_pac.so
I would like to know where I can find the files which start samba and mail.
This would allow me to add the required line to preload libesets_pac.so when these services are being started.
Many thanks.