OpenSolaris 2008.11 ZFS with ‘on access’ virus scan
Although at home I only work with Macintosh and OpenSolaris computers and the risk for virusses and malware are rather slim, my files could be infected with pc virusses and I could send pc virusses to friends without me knowing. It is also very stupid to think that Macintosh computer are just safe and don’t need a virus scanner. So this is where this article came from, I installed ClamXav on my MacBooks and then started to look at my NAS. It’s running OpenSolaris so.. there must be a great way to secure that! (and there is!!)
We need a few ingredients to get this running, here are my steps:
- First of al the SUNW packages for vscan (you should be able to install them if you haven’t got them)
# pkginfo |grep -i vscan
system SUNWvscankr Virus Scan Service Kernel (Root)
system SUNWvscanr Virus Scan Service (Root)
system SUNWvscanu Virus Scan Service (Usr)
- Install an antivirus daemon, I chose for clamav available from blastwave (i’m not gonna explain how to install this, but in the end you should have a running daemon)
- We need to download c-icap from sourceforge and extract it and then compile it
# export LDFLAGS=”-L/opt/csw/lib -R/opt/csw/lib -lclamav”
# export CC=gcc
# export CXX=g++# ./configure –prefix=/opt/icap –with-clamav=/opt/csw –with-perl=/bin/perl –with-zlib=/usr/lib –enable-large-files
# make
# make install
Tags: OpenSolaris, ZFS
Posted in Sun | No Comments »











